Control: tags -1 + patch Hi,
I test it on eller and I can reproduce this failure. After increasing the sleep time, the test passed on eller(mipsel). BTW, now the test migration is 10 days, and this package will be removed from testing in 6 days. Maybe the release-team should be contacted to keep this in buster? -- Shengjing Zhu diff -Nru dumb-init-1.2.2/debian/changelog dumb-init-1.2.2/debian/changelog --- dumb-init-1.2.2/debian/changelog 2019-01-27 14:30:06.000000000 +0800 +++ dumb-init-1.2.2/debian/changelog 2019-02-14 00:50:21.000000000 +0800 @@ -1,3 +1,10 @@ +dumb-init (1.2.2-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add patch to fix tests on slow machines. (Closes: #915311) + + -- Shengjing Zhu <z...@debian.org> Thu, 14 Feb 2019 00:50:21 +0800 + dumb-init (1.2.2-1) unstable; urgency=medium [ Ondřej Nový ] diff -Nru dumb-init-1.2.2/debian/patches/increase-test-sleep-time.patch dumb-init-1.2.2/debian/patches/increase-test-sleep-time.patch --- dumb-init-1.2.2/debian/patches/increase-test-sleep-time.patch 1970-01-01 08:00:00.000000000 +0800 +++ dumb-init-1.2.2/debian/patches/increase-test-sleep-time.patch 2019-02-14 00:50:21.000000000 +0800 @@ -0,0 +1,18 @@ +Description: increase test sleep time + The test will fail on some slow machines if the sleep time + is too short. +Author: Shengjing Zhu <z...@debian.org> +Bug-Debian: https://bugs.debian.org/915311 +Last-Update: 2019-02-14 + +--- dumb-init-1.2.2.orig/tests/child_processes_test.py ++++ dumb-init-1.2.2/tests/child_processes_test.py +@@ -80,7 +80,7 @@ def spawn_process_which_dies_with_childr + # we need to sleep before the shell exits, or dumb-init might send + # TERM to print_signals before it has had time to register custom + # signal handlers +- '{python} -m testing.print_signals & sleep 0.1'.format( ++ '{python} -m testing.print_signals & sleep 1'.format( + python=sys.executable, + ), + ), diff -Nru dumb-init-1.2.2/debian/patches/series dumb-init-1.2.2/debian/patches/series --- dumb-init-1.2.2/debian/patches/series 2019-01-27 14:20:28.000000000 +0800 +++ dumb-init-1.2.2/debian/patches/series 2019-02-14 00:46:35.000000000 +0800 @@ -1 +1,2 @@ build.patch +increase-test-sleep-time.patch
signature.asc
Description: PGP signature