test-cd-emu fails on s390x
While running a scratch-build of yet-to-be-released spice-gtk v0.38, test-cd-emu consistently fails in the s390x. I have yet to check the reason but I'm not sure how much effort should we put in supporting usbredir of emulated devices on s390x
+ cd spice-gtk-0.38
+ /usr/bin/meson test -C s390x-redhat-linux-gnu --num-processes 2 --print-errorlogs
ninja: Entering directory `/builddir/build/BUILD/spice-gtk-0.38/s390x-redhat-linux-gnu'
ninja: no work to do.
1/14 spice-common / test_logging OK 0.05 s
2/14 spice-common / test_region OK 1.83 s
3/14 spice-common / test_ssl_verify OK 0.01 s
4/14 spice-common / test_utils OK 0.00 s
5/14 spice-common / test_marshallers OK 0.01 s
6/14 spice-common / test_quic OK 0.32 s
7/14 spice-gtk / test-util OK 0.01 s
8/14 spice-gtk / test-coroutine OK 0.01 s
9/14 spice-gtk / test-session OK 4.35 s
10/14 spice-gtk / test-uri OK 0.01 s
11/14 spice-gtk / test-file-transfer OK 2.85 s
12/14 spice-gtk / test-pipe OK 0.04 s
13/14 spice-gtk / test-cd-emu TIMEOUT 30.86 s
14/14 spice-gtk / test-usb-acl-helper OK 3.00 s
Ok: 13
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 1
The output from the failed tests:
13/14 spice-gtk / test-cd-emu TIMEOUT 30.86 s
--- command ---
09:19:44 /builddir/build/BUILD/spice-gtk-0.38/s390x-redhat-linux-gnu/tests/test-cd-emu
--- stdout ---
# random seed: R02Sb093839323072df9d4ec27e7ee23844f
1..6
# Start of cd-emu tests
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
ok 1 /cd-emu/simple
ok 2 /cd-emu/multiple
ok 3 /cd-emu/attach_no_auto
Bail out! GSpice:ERROR:../tests/cd-emu.c:189:device_iteration: assertion failed (messages_sent > 1): (1 > 1)
--- stderr ---
**
GSpice:ERROR:../tests/cd-emu.c:189:device_iteration: assertion failed (messages_sent > 1): (1 > 1)
-------
Full log written to /builddir/build/BUILD/spice-gtk-0.38/s390x-redhat-linux-gnu/meson-logs/testlog.txt
error: Bad exit status from /var/tmp/rpm-tmp.30Cz2u (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.30Cz2u (%check)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 95, in trace
result = func(*args, **kw)
File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 746, in do_with_status
raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed:
# bash --login -c /usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/spice-gtk.spec