Your message dated Sun, 29 Jul 2018 16:03:57 +0000
with message-id <e1fjoan-0002xe...@fasolo.debian.org>
and subject line Bug#904870: fixed in autopkgtest 5.4.2
has caused the Debian Bug report #904870,
regarding autopkgtest: calls su with an empty username, thus fails
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.)


-- 
904870: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904870
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: autopkgtest
Version: 5.4.1
Severity: grave
Justification: renders package unusable

Dear autopkgtest Maintainers,

In various situations autopkgtest calls /bin/su with an empty string for
the username. The old su (from login) ignored this, but newer su
versions (from util-linux 2.32-0.2) do not accept this, and abort.
Personally I think autopkgtest got lucky that this worked before, but
this probably was not a valid thing to do.

One of the affected lines:
   https://sources.debian.org/src/autopkgtest/5.4.1/lib/adt_testbed.py/#L1096

Example output from autopkgtest:

   autopkgtest [15:52:36]: test supported-algos: [-----------------------
   su: user  does not exist
   autopkgtest [15:52:36]: test supported-algos: -----------------------]
   Unexpected error:
   Traceback (most recent call last):
     File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 717, in mainloop
       command()
     File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 646, in command
       r = f(c, ce)
     File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 584, in cmd_copyup
       copyupdown(c, ce, True)
     File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 469, in copyupdown
       copyupdown_internal(ce[0], c[1:], upp)
     File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 494, in 
copyupdown_internal
       copyup_shareddir(sd[0], sd[1], dirsp, downtmp_host)
     File "/usr/share/autopkgtest/lib/VirtSubproc.py", line 408, in 
copyup_shareddir
       shutil.copy(tb, host)
     File "/usr/lib/python3.6/shutil.py", line 241, in copy
       copyfile(src, dst, follow_symlinks=follow_symlinks)
     File "/usr/lib/python3.6/shutil.py", line 120, in copyfile
       with open(src, 'rb') as fsrc:
   FileNotFoundError: [Errno 2] No such file or directory: 
'/tmp/autopkgtest.zwqy11/supported-algos-stdout'
   autopkgtest [15:52:36]: ERROR: testbed failure: cannot send to testbed: 
[Errno 32] Broken pipe
   autopkgtest [15:52:36]: Binaries: resetting testbed apt configuration

Note that tests that say "Restrictions: needs-root" do not appear to hit
those code paths.

I might try to come up with a patch if no one beats me to it.

Chris

--- End Message ---
--- Begin Message ---
Source: autopkgtest
Source-Version: 5.4.2

We believe that the bug you reported is fixed in the latest version of
autopkgtest, 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 904...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <terce...@debian.org> (supplier of updated autopkgtest 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, 29 Jul 2018 12:13:06 -0300
Source: autopkgtest
Binary: autopkgtest
Architecture: source
Version: 5.4.2
Distribution: unstable
Urgency: medium
Maintainer: Debian CI team <team...@tracker.debian.org>
Changed-By: Antonio Terceiro <terce...@debian.org>
Description:
 autopkgtest - automatic as-installed testing for Debian packages
Closes: 903975 904870
Changes:
 autopkgtest (5.4.2) unstable; urgency=medium
 .
   [ Martin Pitt ]
   * doc: Document "test-name" feature
   * doc/README.package-tests.rst: Fix formatting of previous commit
 .
   [ Niko Tyni ]
   * Fix versioned provides test dependency handling
   * Refactor _synthesize_deps() parameters
   * Properly handle virtual packages in alternative test dependencies
     (Closes: #903975)
   * Add test cases for alternative test dependencies improvements
 .
   [ Antonio Terceiro ]
   * Always pass a non-empty user string to `su` (Closes: #904870)
Checksums-Sha1:
 8f6da30231ff30ad0bacd21cbbe5876f71bf705e 1935 autopkgtest_5.4.2.dsc
 74dc2eb0a70991971b95ecf29fd4193e475536b5 175192 autopkgtest_5.4.2.tar.xz
 d5c385553ee76ab09478c9caeafd358a27f90bf6 6745 
autopkgtest_5.4.2_source.buildinfo
Checksums-Sha256:
 14a3c21f7414d170be678f87a771cad71ba62da859ac8053199b96ffd25d3dec 1935 
autopkgtest_5.4.2.dsc
 2ad50f8d4daeb0383a2fb46dac354d4d1d3a265fb660fe3cbd8036fe84cc51c7 175192 
autopkgtest_5.4.2.tar.xz
 28ac63a1104dfed645339d54db24bbfc57a384c2c6309502af8d4ea6fd35fdbe 6745 
autopkgtest_5.4.2_source.buildinfo
Files:
 a50eb8d3ef29cfe0047c04824c04d687 1935 devel optional autopkgtest_5.4.2.dsc
 e3e2a1c8c4c7f81ebc9eb11939b73f4f 175192 devel optional autopkgtest_5.4.2.tar.xz
 5d4eccfe913684083228616e0ec7eac2 6745 devel optional 
autopkgtest_5.4.2_source.buildinfo

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

iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAltd49wACgkQ/A2xu81G
C96BWQ/9Gx/m8zgD+YjisOKwhjhogfj7ZTvXk+mvRtGGHYquVhSbdDm7XfvCE6JK
cOD1+6nv4i8a6+6a00/tOewgbwzdOi0hcfa2lnUbITbCqXKATyu0pjaPpmX/AXf8
eZqHA4J9cbeKMQBeh9JkZBr1/qfADHLYAwUdUwAZF+stmfiOI40VTxflhaHfpVEb
WK/b5pmTc2KLebCB42rt17YZwzlIbRHSrqOJReNyxpbawuutLAqCLrJvCLV/W6jD
RafNvlvOOqV8TOcv5PV4OhsarbjUmwc4PNKBSsROt2IntrI6qPRXcMIv4NQfOH/m
aIVm4EuK44qKeVkW5HHa1aZyNWVIr4yjG7RL0OisinmIhc45CR2o4ia6o1vEbCC4
S0unkhNeVh+J8v1kX/UKGhhTl0ivR8GnrJmpd7wrdChfcg7ONVBjoEzsinv3+COS
9/SpQnrW9I2GE6D+5hHkTRAoYp2glAZNzPB0wzIIUsR7oC2XMgUus+WSHZWjxykJ
C2nks75UzSN39WII2a5pWbjGkQWC5YMiplwC/0REJM+huMm+8JB7M3bb06UctKn3
9RDBe9Hr3MllTD4YM9CZ2ZDprKp/DTV5D78bP1k275EUVw3zPTU//go4SYA5NDJe
s9tUsxwdqyH1tCQcy0+Mvw1NiF3hUlfpp3GzKLkst1XPDjIp9S4=
=TGWW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to