Package: pipewalker
Version: 0.9.4-5
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu kinetic ubuntu-patch
X-Debbugs-Cc: [email protected]
Hello David,
The autopkgtests for pipewalker fail if they are executed in a qemu/KVM
environment, like Ubuntu's autopkgtest.ubuntu.com infrastructure or a image
produced via "autopkgtest-build-qemu sid ..." and executed via:
"autopkgtest pipewalker -- qemu /data/autopkgtest-sid.img"
The error message looks like this:
Critical error
SDL_Init failed: Couldn't open X11 display
This seems to be due to the xvfb Xserver resetting during the test, which can
be avoided by passing a "-s -noreset" parameter to xvfb-run.
In Ubuntu, the attached patch was applied to solve the issue.
* Keep xvfb server running during test, to avoid failure in qemu autopkgtest
+ d/test/control: use "-s -noreset" argument to xvfb-run
Thanks for considering the patch.
Cheers,
Lukas
-- System Information:
Debian Release: bookworm/sid
APT prefers jammy-updates
APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.15.0-27-generic (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru pipewalker-0.9.4/debian/tests/control
pipewalker-0.9.4/debian/tests/control
--- pipewalker-0.9.4/debian/tests/control 2021-10-03 02:37:59.000000000
+0200
+++ pipewalker-0.9.4/debian/tests/control 2022-05-17 12:19:53.000000000
+0200
@@ -4,10 +4,10 @@
Test-Command: pipewalker -version
Restrictions: superficial
-Test-Command: xvfb-run -a timeout --preserve-status 5 pipewalker
+Test-Command: xvfb-run -a -s -noreset timeout --preserve-status 5 pipewalker
Depends: @, xauth, xvfb
Restrictions: allow-stderr
-Test-Command: xvfb-run -a timeout --preserve-status 5 pipewalker -id=1234
-wrap=0 -size=big
+Test-Command: xvfb-run -a -s -noreset timeout --preserve-status 5 pipewalker
-id=1234 -wrap=0 -size=big
Depends: @, xauth, xvfb
Restrictions: allow-stderr