adduser autopkgtests failed due to shadow 1:4.15.3-3ubuntu2 in 24.10 proposed

Bug #2077862 reported by Hector CAO
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fink
New
Unknown
adduser (Ubuntu)
Fix Released
Undecided
Unassigned
shadow (Ubuntu)
New
Undecided
Unassigned

Bug Description

ADT of adduser fails due to the merge of shadow on 24.10 to the version 1:4.15.3-3ubuntu2 in 24.10

Logs of the ADT : https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-oracular/oracular/amd64/a/adduser/20240814_214718_33c7b@/log.gz

The failing tests:
---

650s Test Summary Report
650s -------------------
650s debian/tests/f/valid_username.t (Wstat: 5120 (exited 20) Tests: 669 Failed: 20)
650s Failed tests: 209-212, 214-217, 245-248, 250-253, 321-324
650s Non-zero exit status: 20
650s Files=20, Tests=2631, 142 wallclock secs ( 0.44 usr 0.11 sys + 79.95 cusr 41.69 csys = 122.19 CPU)
650s Result: FAIL

Logs:
---

670s # Failed test 'command success: /usr/sbin/adduser --quiet --ingroup nogroup --system --disabled-password --home '/home/\}' --allow-all-names '\}''
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '82'
670s # expected: '0'
670s
670s # Failed test 'user exists: \}'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 247.
670s # got: undef
670s # expected: anything else
670s
670s # Failed test 'path exists: /home/\}'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 176.
670s
670s # Failed test 'command success: /usr/sbin/deluser --quiet --remove-home '\}''
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '12'
670s # expected: '0'
670s
670s # Failed test 'command success: /usr/sbin/adduser --quiet --ingroup nogroup --system --disabled-password --home '/home/\}' '\}''
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '82'
670s # expected: '0'
670s
670s # Failed test 'user exists: \}'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 247.
670s # got: undef
670s # expected: anything else
670s
670s # Failed test 'path exists: /home/\}'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 176.
670s
670s # Failed test 'command success: /usr/sbin/deluser --quiet --remove-home '\}''
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '12'
670s # expected: '0'
670s
670s # Failed test 'command success: /usr/sbin/adduser --quiet --ingroup nogroup --system --disabled-password --home '/home/DOMAIN\user' --allow-all-names 'DOMAIN\user''
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '82'
670s # expected: '0'
670s
670s # Failed test 'user exists: DOMAIN\user'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 247.
670s # got: undef
670s # expected: anything else
670s
670s # Failed test 'path exists: /home/DOMAIN\user'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 176.
670s
670s # Failed test 'command success: /usr/sbin/deluser --quiet --remove-home 'DOMAIN\user''
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '12'
670s # expected: '0'
670s
670s # Failed test 'command success: /usr/sbin/adduser --quiet --ingroup nogroup --system --disabled-password --home '/home/DOMAIN\user' 'DOMAIN\user''
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '82'
670s # expected: '0'
670s
670s # Failed test 'user exists: DOMAIN\user'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 247.
670s # got: undef
670s # expected: anything else
670s
670s # Failed test 'path exists: /home/DOMAIN\user'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 176.
670s
670s # Failed test 'command success: /usr/sbin/deluser --quiet --remove-home 'DOMAIN\user''
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '12'
670s # expected: '0'
670s
670s # Failed test 'command success: /usr/sbin/adduser --quiet --ingroup nogroup --system --disabled-password --home "/home/'c4\$h\\M0n3y\"'==>@" --allow-all-names "'c4\$h\\M0n3y\"'==>@"'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '82'
670s # expected: '0'
670s
670s # Failed test 'user exists: 'c4$h\M0n3y"'==>@'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 247.
670s # got: undef
670s # expected: anything else
670s
670s # Failed test 'path exists: /home/'c4$h\M0n3y"'==>@'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 176.
670s
670s # Failed test 'command success: /usr/sbin/deluser --quiet --remove-home "'c4\$h\\M0n3y\"'==>@"'
670s # at debian/tests/lib/AdduserTestsCommon.pm line 50.
670s # got: '12'
670s # expected: '0'
670s # Looks like you failed 20 tests of 669.

Hector CAO (hectorcao)
description: updated
Hector CAO (hectorcao)
description: updated
Revision history for this message
Hector CAO (hectorcao) wrote :

I run the ADT for adduser in 24.10 against the version 4.13+dfsg1-4ubuntu5 of shadow and also have the failure for the test : debian/tests/f/valid_username.t

I assume that the ADT failure is not solely caused by the merge of new version for shadow,

Changed in fink:
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package adduser - 3.137ubuntu2

---------------
adduser (3.137ubuntu2) oracular; urgency=medium

  * Fix testsuite against newer shadow username restrictions
    (LP: #2077862, Closes: #1077804)

 -- Simon Chopin <email address hidden> Mon, 26 Aug 2024 19:00:25 +0200

Changed in adduser (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.