Closed alex-tee closed 3 years ago
@bonzini, this looks like a possible regression from the switch to asyncio.
A likely issue is that 755412b5261c448025d40214e3f2c0197e2e27bc awaits stdout before stderr---but the program hangs on a write to stderr, and therefore won't close stdout yet.
If so, #8200 fixes it by virtue of calling asyncio.ensure_future
around stdo_task
and stde_task
, turning them into tasks rather than coroutines.
@alex-tee Could you test the #8225 pull request, please?
@bonzini looks like it passed
1/1 zrythm:actions / actions_arranger_selections OK 156.17s
Fixed in master, please close.
Describe the bug
meson test
times out when it shouldn't, butmeson 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.27smeson 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
meson --version
Commit ea2f34e2860680bab82aa7c2538971ab788209ceninja --version
if it's a Ninja build: 1.10.0