Your message dated Sun, 17 Feb 2019 19:19:20 +0000
with message-id <e1gvryc-000f8i...@fasolo.debian.org>
and subject line Bug#915311: fixed in dumb-init 1.2.2-1.1
has caused the Debian Bug report #915311,
regarding dumb-init FTBFS on mips*: test failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
915311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915311
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dumb-init
Version: 1.2.0-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=dumb-init

...
=================================== FAILURES ===================================
_____________ test_all_processes_receive_term_on_exit_if_setsid[1] _____________

    @pytest.mark.usefixtures('both_debug_modes', 'setsid_enabled')
    def test_all_processes_receive_term_on_exit_if_setsid():
        """If the child exits for some reason, dumb-init should send TERM to all
        processes in its session if setsid mode is enabled."""
>       child_pid, child_stdout = spawn_process_which_dies_with_children()

tests/child_processes_test.py:109: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def spawn_process_which_dies_with_children():
        """Spawn a process which spawns some children and then dies without
        signaling them, wrapped in dumb-init.
    
        Returns a tuple (child pid, child stdout pipe), where the child is
        print_signals. This is useful because you can signal the PID and see if
        anything gets printed onto the stdout pipe.
        """
        proc = Popen(
            (
                'dumb-init',
                'sh', '-c',
    
                # 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=sys.executable,
                ),
            ),
            stdout=PIPE,
        )
        proc.wait()
        assert proc.returncode == 0
    
        # read a line from print_signals, figure out its pid
        line = proc.stdout.readline()
        match = re.match(b'ready \(pid: ([0-9]+)\)\n', line)
>       assert match, line
E       AssertionError: 
E       assert None

tests/child_processes_test.py:95: AssertionError
----------------------------- Captured stderr call -----------------------------
[dumb-init] Running in debug mode.
[dumb-init] Unable to detach from controlling tty (errno=25 Inappropriate ioctl 
for device).
[dumb-init] Child spawned with PID 7035.
[dumb-init] Unable to attach to controlling tty (errno=25 Inappropriate ioctl 
for device).
[dumb-init] setsid complete.
[dumb-init] Received signal 18.
[dumb-init] A child with PID 7035 exited with exit status 0.
[dumb-init] Forwarded signal 15 to children.
[dumb-init] Child exited with status 0. Goodbye.
_____________ test_all_processes_receive_term_on_exit_if_setsid[0] _____________

    @pytest.mark.usefixtures('both_debug_modes', 'setsid_enabled')
    def test_all_processes_receive_term_on_exit_if_setsid():
        """If the child exits for some reason, dumb-init should send TERM to all
        processes in its session if setsid mode is enabled."""
>       child_pid, child_stdout = spawn_process_which_dies_with_children()

tests/child_processes_test.py:109: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def spawn_process_which_dies_with_children():
        """Spawn a process which spawns some children and then dies without
        signaling them, wrapped in dumb-init.
    
        Returns a tuple (child pid, child stdout pipe), where the child is
        print_signals. This is useful because you can signal the PID and see if
        anything gets printed onto the stdout pipe.
        """
        proc = Popen(
            (
                'dumb-init',
                'sh', '-c',
    
                # 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=sys.executable,
                ),
            ),
            stdout=PIPE,
        )
        proc.wait()
        assert proc.returncode == 0
    
        # read a line from print_signals, figure out its pid
        line = proc.stdout.readline()
        match = re.match(b'ready \(pid: ([0-9]+)\)\n', line)
>       assert match, line
E       AssertionError: 
E       assert None

tests/child_processes_test.py:95: AssertionError
==================== 2 failed, 170 passed in 27.83 seconds =====================
debian/rules:31: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1

--- End Message ---
--- Begin Message ---
Source: dumb-init
Source-Version: 1.2.2-1.1

We believe that the bug you reported is fixed in the latest version of
dumb-init, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 915...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Shengjing Zhu <z...@debian.org> (supplier of updated dumb-init package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 16 Feb 2019 02:46:54 +0800
Source: dumb-init
Architecture: source
Version: 1.2.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: ChangZhuo Chen (陳昌倬) <czc...@debian.org>
Changed-By: Shengjing Zhu <z...@debian.org>
Closes: 915311
Changes:
 dumb-init (1.2.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add increase-test-sleep-time.patch to fix tests on slow
     machines. (Closes: #915311)
Checksums-Sha1:
 20b03b999a92b68122e786eb08acc541efaa2137 1613 dumb-init_1.2.2-1.1.dsc
 8e724107d78b06b3b8eb246a7893cb4dbae9e010 3684 dumb-init_1.2.2-1.1.debian.tar.xz
 1942bb628abeff0d7c90acdbce7723eaf209616c 5650 
dumb-init_1.2.2-1.1_amd64.buildinfo
Checksums-Sha256:
 6e3b3554b27624140fdcec89051de4664cabb07a19d2a15772699d741e833af3 1613 
dumb-init_1.2.2-1.1.dsc
 2968b02f556fe5ba6f68bcbe9f85640324220c0aeaf9f01aa432db124ef1ed70 3684 
dumb-init_1.2.2-1.1.debian.tar.xz
 756a064723cc0eea39ea8f0e91c592952445df863c9e5785114c676e5faf5085 5650 
dumb-init_1.2.2-1.1_amd64.buildinfo
Files:
 4db8052871923940d6725aec276fea5b 1613 utils optional dumb-init_1.2.2-1.1.dsc
 8ef89c416bce609d736f60d4a837419f 3684 utils optional 
dumb-init_1.2.2-1.1.debian.tar.xz
 9046b78239ba6eb1b35727ace07d6d0e 5650 utils optional 
dumb-init_1.2.2-1.1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFEBAEBCgAuFiEE85F2DZP0aJKsSKyHONAPABi+PjUFAlxnCeYQHHpoc2pAZGVi
aWFuLm9yZwAKCRA40A8AGL4+NdlYB/0ZgQ13oAPS1wAtIKl48aB/AUVdMTmL591G
w7mTa2xn9PZAw+oYB53BM0SuiVKd/ZsG8jZ/45mK9dymhWj/LLbDmMGl4cRuNcSg
BgvKvGLJ4oz8M1z5xv9zlYa5ZPMFDo/0Q72Ot3mPBvxLxFHnLdle+bKk4iTD2Yrp
RDBwO2C6VA9B8EYJ9AdeSsUr4ezOes79ek1IyXVmxJlTf4lwj63d512OOcJkP+DR
AZ1MiNr/FpsBSCx39rkONh0b0KyKVJ21avj80fAHkhFmSeXlGPZaMqzJReJolkVc
ji/I+OdspYRg8iw2dBC9VjAbZOgxNjtzYHOL2OAa1NS6wBGVgyfV
=K3Pg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to