Your message dated Sun, 27 Jan 2019 06:49:07 +0000
with message-id <e1gneff-0007lp...@fasolo.debian.org>
and subject line Bug#915311: fixed in dumb-init 1.2.2-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
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.
Dmitry Smirnov <only...@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: SHA256
Format: 1.8
Date: Sun, 27 Jan 2019 17:30:06 +1100
Source: dumb-init
Binary: dumb-init
Architecture: source amd64
Version: 1.2.2-1
Distribution: unstable
Urgency: medium
Maintainer: ChangZhuo Chen (陳昌倬) <czc...@debian.org>
Changed-By: Dmitry Smirnov <only...@debian.org>
Description:
dumb-init - wrapper script which proxies signals to a child
Closes: 915311
Changes:
dumb-init (1.2.2-1) unstable; urgency=medium
.
[ Ondřej Nový ]
* d/copyright: Use https protocol in Format field
* d/control: Deprecating priority extra as per policy 4.0.1
* d/control: Set Vcs-* to salsa.debian.org
.
[ Dmitry Smirnov ]
* New upstream release.
+ fixes test failures on mips* (Closes: #915311).
* Standards-Version: 4.3.0.
Checksums-Sha1:
fd63fa96d5a4b16071606a19d0daf7f65ca549cb 1930 dumb-init_1.2.2-1.dsc
d4873a4234e0f8fd46fa248edb8d150233af4c38 22488 dumb-init_1.2.2.orig.tar.xz
9881f339ea156c8ab5bc9f2a05b9131481a68ea8 3300 dumb-init_1.2.2-1.debian.tar.xz
ad3903967f5b0adeffcc64d8fe37d17fde163f04 6358 dumb-init_1.2.2-1_amd64.buildinfo
9c02016dd521f116d1e87fcd9d499abb3e69d0ef 13456 dumb-init_1.2.2-1_amd64.deb
Checksums-Sha256:
0e7bd33de0ca697da30f7d97d8a16e9a4094f4348149c7aea8bc78d8bbdb490a 1930
dumb-init_1.2.2-1.dsc
c8a00ca238832502c4fdd8914af5a4636c1760bcbe04b18dba353d3ff9571f52 22488
dumb-init_1.2.2.orig.tar.xz
0b694e96c72b9588404f5b016fd000ef1f4c1b58ce23f0ac6bc4c8e84edf4c7b 3300
dumb-init_1.2.2-1.debian.tar.xz
ab19ba8550f6ba001e3a5567a5fb8bab852e35fb120e1a267398c6d305f0c8ca 6358
dumb-init_1.2.2-1_amd64.buildinfo
78e2b7240380241b62af53ad32ddd27f17ef7baba162e7b1c3afe621392e9707 13456
dumb-init_1.2.2-1_amd64.deb
Files:
e6309a07623b7844e82a8227917d51df 1930 utils optional dumb-init_1.2.2-1.dsc
49e171256626ceef7414113b93c167db 22488 utils optional
dumb-init_1.2.2.orig.tar.xz
b686c56f75c41c31048ca3492b9e0c2f 3300 utils optional
dumb-init_1.2.2-1.debian.tar.xz
0b557ad78781cca05b773817d29736f9 6358 utils optional
dumb-init_1.2.2-1_amd64.buildinfo
9b092d7dbf8e49889d60900549991734 13456 utils optional
dumb-init_1.2.2-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEULx8+TnSDCcqawZWUra72VOWjRsFAlxNUdYACgkQUra72VOW
jRsP/Q//Ty+NRyPOpG6za5SjHG2F6fFwTjZXhWEC3vPIcdw6ycbuxJP2RA1GRKhM
idZH6Zi9yCPXNsTNQb7oU1wbhNj2nhmVx9yiiN4a5RHURpzhgPT9ArTWkhzSXhgu
sBFlQaKgmCgmwvyJyCfbvR5xicoVQLEm983DHRLpeh9MalI/8FJsjYOS1fy9lytk
T38/a5QNLANaxl6VnmCd8VLZhj7HFymC6Df8gRK+Kv6tvHqcujgm2n+piYPVVoZX
4J9jGUgC6lW59g8jriNpHcQhsA6HWOYL+WdvPA+kKX6LXCnNELQeON4JgpUUsgHn
GaE3E2/9oi6tyDopV4FgFIp6p7SwJ/ugy/xmxRPu7ozS/G18eS+qd3Qxrv+osFC1
qfoSOT41r7b1dj+bLakH8XTHhfdXmLYxTxwQC4ZdAeOvkZrSbRDqUCHHEOQ5hby2
QSzh9BwOXBg8Jh3XSb7x+fFT2ySeOPhw+twjRLzJCa+IhkqYbiM+1uJULKTmIAfI
3XcFKYIH42fiVsNBSl8yhv1V/N6KZ5RzwE/V65T2rfATpBaS3it5MbJvHR1KpAIv
QS7+IGt+4HnZTZwodBuLsFrBULBEAKzKejPJylAmea60I/+6c7NaBVstkWmG1kwa
V1pTzTipPl5C02tHEoNaLXG2FtviWn4GKLpEWs6QIRodAUtJ87Q=
=3EyK
-----END PGP SIGNATURE-----
--- End Message ---