question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Meson test times out unless -v option is passed

See original GitHub issue

Describe the bug meson test times out when it shouldn’t, but meson test -v executes correctly. It looks like the test is somehow suspended and kept in a suspended state until it times out, because my program randomly stops producing output during the test.

To Reproduce This is the test I am running from the Zrythm repository, commit 99697cc5dddfd6584d780839aec7d4c1f6850dba. meson test -C build actions_arranger_selections It times out after 240 seconds.

The same issue occurs when doing ninja -C build test

When running the same test with -v, it finishes in 132.27s meson test -C build -v actions_arranger_selections

note: When using meson 0.55.1 (guix package), I do not experience this bug, and the test finishes without issues.

Expected behavior The test is expected to finish without timing out.

system parameters

  • Is this a cross build or just a plain native build (for the same computer)? Native
  • what operating system (e.g. MacOS Catalina, Windows 10, CentOS 8.0, Ubuntu 18.04, etc.): Tested on GNU GuixSD and Arch Linux
  • what Python version are you using: Python 3.8.2
  • what meson --version Commit ea2f34e2860680bab82aa7c2538971ab788209ce
  • what ninja --version if it’s a Ninja build: 1.10.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
alex-teecommented, Jan 20, 2021

@bonzini looks like it passed

1/1 zrythm:actions / actions_arranger_selections        OK             156.17s
0reactions
bonzinicommented, Jan 20, 2021

Fixed in master, please close.

Read more comments on GitHub >

github_iconTop Results From Across the Web

self-test problems · Issue #695 · mesonbuild/meson - GitHub
I've built meson-0.33.0 on NetBSD-7.99.35/amd64 with python-3.5.2. When running run_tests.py, I see: cd meson-0.33.0 ...
Read more >
Command-line commands - The Meson Build system
There are two different ways of invoking Meson. First, you can run it directly from the source tree with the command /path/to/source/meson.py ....
Read more >
Unit tests - The Meson Build system
Note that testing timeouts are disabled in this case so meson test will not kill gdb while the developer is still debugging it....
Read more >
Running Meson
We invoke Meson with the setup command, giving it the location of the build directory. Meson uses out of source builds. Hint: The...
Read more >
Quickstart Guide - The Meson Build system
Ninja is only needed if you use the Ninja backend. Meson can also generate native VS and Xcode project files. Installation using package...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found