0s autopkgtest [15:30:49]: starting date and time: 2025-06-27 15:30:49+0000 0s autopkgtest [15:30:49]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [15:30:49]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.hevqvnv6/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:sudo --apt-upgrade sudo --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sudo/1.9.16p2-1ubuntu2 -- lxd -r lxd-armhf-10.145.243.197 lxd-armhf-10.145.243.197:autopkgtest/ubuntu/questing/armhf 28s autopkgtest [15:31:17]: testbed dpkg architecture: armhf 30s autopkgtest [15:31:19]: testbed apt version: 3.1.2 34s autopkgtest [15:31:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 36s autopkgtest [15:31:25]: testbed release detected to be: None 43s autopkgtest [15:31:32]: updating testbed package index (apt update) 45s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 45s Get:2 http://ftpmaster.internal/ubuntu questing InRelease [249 kB] 46s Get:3 http://ftpmaster.internal/ubuntu questing-updates InRelease [110 kB] 46s Get:4 http://ftpmaster.internal/ubuntu questing-security InRelease [110 kB] 46s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [18.2 kB] 46s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [437 kB] 46s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [27.7 kB] 46s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main armhf Packages [33.6 kB] 46s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf Packages [364 kB] 46s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse armhf Packages [4428 B] 46s Get:11 http://ftpmaster.internal/ubuntu questing/main Sources [1383 kB] 46s Get:12 http://ftpmaster.internal/ubuntu questing/universe Sources [21.4 MB] 47s Get:13 http://ftpmaster.internal/ubuntu questing/restricted Sources [13.8 kB] 47s Get:14 http://ftpmaster.internal/ubuntu questing/main armhf Packages [1360 kB] 47s Get:15 http://ftpmaster.internal/ubuntu questing/restricted armhf Packages [1608 B] 47s Get:16 http://ftpmaster.internal/ubuntu questing/universe armhf Packages [15.0 MB] 51s Fetched 40.8 MB in 6s (7189 kB/s) 52s Reading package lists... 58s autopkgtest [15:31:47]: upgrading testbed (apt dist-upgrade and autopurge) 60s Reading package lists... 60s Building dependency tree... 60s Reading state information... 61s Calculating upgrade... 61s The following packages will be upgraded: 61s sudo 62s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s Need to get 956 kB of archives. 62s After this operation, 0 B of additional disk space will be used. 62s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main armhf sudo armhf 1.9.16p2-1ubuntu2 [956 kB] 63s Fetched 956 kB in 1s (1085 kB/s) 63s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59851 files and directories currently installed.) 63s Preparing to unpack .../sudo_1.9.16p2-1ubuntu2_armhf.deb ... 63s Unpacking sudo (1.9.16p2-1ubuntu2) over (1.9.16p2-1ubuntu1) ... 63s Setting up sudo (1.9.16p2-1ubuntu2) ... 64s update-alternatives: using /usr/bin/sudo.ws to provide /usr/bin/sudo (sudo) in auto mode 64s Processing triggers for man-db (2.13.1-1) ... 65s Processing triggers for libc-bin (2.41-6ubuntu2) ... 67s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Solving dependencies... 69s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 71s autopkgtest [15:32:00]: rebooting testbed after setup commands that affected boot 111s autopkgtest [15:32:40]: testbed running kernel: Linux 6.8.0-58-generic #60~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 28 14:48:37 UTC 2 136s autopkgtest [15:33:05]: @@@@@@@@@@@@@@@@@@@@ apt-source sudo 160s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main sudo 1.9.16p2-1ubuntu2 (dsc) [2764 B] 160s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main sudo 1.9.16p2-1ubuntu2 (tar) [5398 kB] 160s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main sudo 1.9.16p2-1ubuntu2 (asc) [833 B] 160s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main sudo 1.9.16p2-1ubuntu2 (diff) [58.9 kB] 160s gpgv: Signature made Fri Jun 13 15:01:28 2025 UTC 160s gpgv: using RSA key 4FB588A84C2DDE79A74C77876FA458DD1DB03F71 160s gpgv: issuer "jak@debian.org" 160s gpgv: Can't check signature: No public key 160s dpkg-source: warning: cannot verify inline signature for ./sudo_1.9.16p2-1ubuntu2.dsc: no acceptable signature found 161s autopkgtest [15:33:30]: testing package sudo version 1.9.16p2-1ubuntu2 164s autopkgtest [15:33:33]: build not needed 168s autopkgtest [15:33:37]: test 01-getroot: preparing testbed 170s Reading package lists... 171s Building dependency tree... 171s Reading state information... 171s Solving dependencies... 172s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 180s autopkgtest [15:33:48]: test 01-getroot: [----------------------- 182s 127.0.1.1 autopkgtest-lxd-dzrbqz 182s ========= test 01\.1: account group member, correct password 182s usermod: no changes 182s trying test01a with correct password 183s test01a with correct password, return value 0 183s ========= test 01\.2: account group member, wrong password 183s trying test01a with wrong password 185s test01a with wrong password, return value 1 185s ==> /home/test01a/stdout <== 185s 185s ==> /home/test01a/stderr <== 185s [sudo] password for test01a: Sorry, try again. 185s [sudo] password for test01a: 185s sudo: no password was provided 185s sudo: 1 incorrect password attempt 185s 185s ------- 185s [sudo] password for test01a: Sorry, try again. 185s [sudo] password for test01a: 185s [sudo] password for test01a: Sorry, try again. 185s sudo: no password was provided 185s sudo: 1 incorrect password attempt 185s ========= test 01\.3: account not group member, correct password 186s usermod: no changes 186s trying test01b (no sudo membership) with correct password 186s test01b with correct password, return value 1 186s ==> /home/test01b/stdout <== 186s 186s ==> /home/test01a/stderr <== 186s [sudo] password for test01a: Sorry, try again. 186s [sudo] password for test01a: 186s sudo: no password was provided 186s sudo: 1 incorrect password attempt 186s 186s ------- 186s [sudo] password for test01b: test01b is not in the sudoers file. 186s [sudo] password for test01b: test01b is not in the sudoers file. 186s test series sucessful, exit 0 188s autopkgtest [15:33:57]: test 01-getroot: -----------------------] 191s 01-getroot PASS 191s autopkgtest [15:34:00]: test 01-getroot: - - - - - - - - - - results - - - - - - - - - - 196s autopkgtest [15:34:05]: test 02-1003969-audit-no-resolve: preparing testbed 228s autopkgtest [15:34:37]: testbed dpkg architecture: armhf 230s autopkgtest [15:34:39]: testbed apt version: 3.1.2 234s autopkgtest [15:34:43]: @@@@@@@@@@@@@@@@@@@@ test bed setup 235s autopkgtest [15:34:44]: testbed release detected to be: questing 243s autopkgtest [15:34:52]: updating testbed package index (apt update) 245s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 245s Get:2 http://ftpmaster.internal/ubuntu questing InRelease [249 kB] 245s Get:3 http://ftpmaster.internal/ubuntu questing-updates InRelease [110 kB] 245s Get:4 http://ftpmaster.internal/ubuntu questing-security InRelease [110 kB] 245s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [437 kB] 246s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [18.2 kB] 246s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [27.7 kB] 246s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main armhf Packages [33.6 kB] 246s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf Packages [364 kB] 246s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse armhf Packages [4428 B] 246s Get:11 http://ftpmaster.internal/ubuntu questing/restricted Sources [13.8 kB] 246s Get:12 http://ftpmaster.internal/ubuntu questing/main Sources [1383 kB] 246s Get:13 http://ftpmaster.internal/ubuntu questing/universe Sources [21.4 MB] 249s Get:14 http://ftpmaster.internal/ubuntu questing/main armhf Packages [1360 kB] 249s Get:15 http://ftpmaster.internal/ubuntu questing/restricted armhf Packages [1608 B] 249s Get:16 http://ftpmaster.internal/ubuntu questing/universe armhf Packages [15.0 MB] 252s Fetched 40.8 MB in 8s (5135 kB/s) 253s Reading package lists... 259s autopkgtest [15:35:08]: upgrading testbed (apt dist-upgrade and autopurge) 260s Reading package lists... 261s Building dependency tree... 261s Reading state information... 261s Calculating upgrade... 261s The following packages will be upgraded: 261s sudo 262s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 262s Need to get 956 kB of archives. 262s After this operation, 0 B of additional disk space will be used. 262s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main armhf sudo armhf 1.9.16p2-1ubuntu2 [956 kB] 262s Fetched 956 kB in 1s (1524 kB/s) 263s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59851 files and directories currently installed.) 263s Preparing to unpack .../sudo_1.9.16p2-1ubuntu2_armhf.deb ... 263s Unpacking sudo (1.9.16p2-1ubuntu2) over (1.9.16p2-1ubuntu1) ... 263s Setting up sudo (1.9.16p2-1ubuntu2) ... 263s update-alternatives: using /usr/bin/sudo.ws to provide /usr/bin/sudo (sudo) in auto mode 263s Processing triggers for man-db (2.13.1-1) ... 264s Processing triggers for libc-bin (2.41-6ubuntu2) ... 266s Reading package lists... 266s Building dependency tree... 266s Reading state information... 266s Solving dependencies... 267s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 268s autopkgtest [15:35:17]: rebooting testbed after setup commands that affected boot 330s Reading package lists... 330s Building dependency tree... 330s Reading state information... 330s Solving dependencies... 330s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 344s autopkgtest [15:36:33]: test 02-1003969-audit-no-resolve: [----------------------- 346s ========= test 02\.1: sudo to nobody 346s trying sudo to nobody 346s sudo to nobody, return value 0 346s test series sucessful, exit 0 346s 346s trap handler 346s autopkgtest [15:36:35]: test 02-1003969-audit-no-resolve: -----------------------] 350s 02-1003969-audit-no-resolve PASS 350s autopkgtest [15:36:39]: test 02-1003969-audit-no-resolve: - - - - - - - - - - results - - - - - - - - - - 354s autopkgtest [15:36:43]: test 03-getroot-ldap: preparing testbed 379s autopkgtest [15:37:08]: testbed dpkg architecture: armhf 381s autopkgtest [15:37:10]: testbed apt version: 3.1.2 384s autopkgtest [15:37:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 386s autopkgtest [15:37:15]: testbed release detected to be: questing 393s autopkgtest [15:37:22]: updating testbed package index (apt update) 395s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 396s Get:2 http://ftpmaster.internal/ubuntu questing InRelease [249 kB] 396s Get:3 http://ftpmaster.internal/ubuntu questing-updates InRelease [110 kB] 396s Get:4 http://ftpmaster.internal/ubuntu questing-security InRelease [110 kB] 396s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [18.2 kB] 396s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [437 kB] 396s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [27.7 kB] 396s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main armhf Packages [33.6 kB] 396s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf Packages [364 kB] 396s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse armhf Packages [4428 B] 396s Get:11 http://ftpmaster.internal/ubuntu questing/universe Sources [21.4 MB] 398s Get:12 http://ftpmaster.internal/ubuntu questing/main Sources [1383 kB] 398s Get:13 http://ftpmaster.internal/ubuntu questing/restricted Sources [13.8 kB] 398s Get:14 http://ftpmaster.internal/ubuntu questing/main armhf Packages [1360 kB] 398s Get:15 http://ftpmaster.internal/ubuntu questing/restricted armhf Packages [1608 B] 398s Get:16 http://ftpmaster.internal/ubuntu questing/universe armhf Packages [15.0 MB] 402s Fetched 40.8 MB in 7s (6029 kB/s) 403s Reading package lists... 408s autopkgtest [15:37:37]: upgrading testbed (apt dist-upgrade and autopurge) 410s Reading package lists... 410s Building dependency tree... 410s Reading state information... 410s Calculating upgrade... 411s The following packages will be upgraded: 411s sudo 411s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 411s Need to get 956 kB of archives. 411s After this operation, 0 B of additional disk space will be used. 411s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main armhf sudo armhf 1.9.16p2-1ubuntu2 [956 kB] 412s Fetched 956 kB in 1s (1754 kB/s) 412s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59851 files and directories currently installed.) 412s Preparing to unpack .../sudo_1.9.16p2-1ubuntu2_armhf.deb ... 412s Unpacking sudo (1.9.16p2-1ubuntu2) over (1.9.16p2-1ubuntu1) ... 412s Setting up sudo (1.9.16p2-1ubuntu2) ... 412s update-alternatives: using /usr/bin/sudo.ws to provide /usr/bin/sudo (sudo) in auto mode 412s Processing triggers for man-db (2.13.1-1) ... 413s Processing triggers for libc-bin (2.41-6ubuntu2) ... 415s Reading package lists... 415s Building dependency tree... 415s Reading state information... 416s Solving dependencies... 416s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 418s autopkgtest [15:37:47]: rebooting testbed after setup commands that affected boot 480s Reading package lists... 480s Building dependency tree... 480s Reading state information... 480s Solving dependencies... 481s The following NEW packages will be installed: 481s ldap-utils libargon2-1 libltdl7 libodbc2 slapd 481s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 481s Need to get 1785 kB of archives. 481s After this operation, 7064 kB of additional disk space will be used. 481s Get:1 http://ftpmaster.internal/ubuntu questing/main armhf libargon2-1 armhf 0~20190702+dfsg-4build1 [22.6 kB] 481s Get:2 http://ftpmaster.internal/ubuntu questing/main armhf libltdl7 armhf 2.5.4-4 [39.8 kB] 481s Get:3 http://ftpmaster.internal/ubuntu questing/main armhf libodbc2 armhf 2.3.12-2ubuntu1 [145 kB] 481s Get:4 http://ftpmaster.internal/ubuntu questing/main armhf slapd armhf 2.6.9+dfsg-2ubuntu1 [1447 kB] 481s Get:5 http://ftpmaster.internal/ubuntu questing/main armhf ldap-utils armhf 2.6.9+dfsg-2ubuntu1 [131 kB] 482s Preconfiguring packages ... 482s Fetched 1785 kB in 1s (2497 kB/s) 482s Selecting previously unselected package libargon2-1:armhf. 482s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59851 files and directories currently installed.) 482s Preparing to unpack .../libargon2-1_0~20190702+dfsg-4build1_armhf.deb ... 482s Unpacking libargon2-1:armhf (0~20190702+dfsg-4build1) ... 482s Selecting previously unselected package libltdl7:armhf. 482s Preparing to unpack .../libltdl7_2.5.4-4_armhf.deb ... 482s Unpacking libltdl7:armhf (2.5.4-4) ... 482s Selecting previously unselected package libodbc2:armhf. 482s Preparing to unpack .../libodbc2_2.3.12-2ubuntu1_armhf.deb ... 482s Unpacking libodbc2:armhf (2.3.12-2ubuntu1) ... 482s Selecting previously unselected package slapd. 482s Preparing to unpack .../slapd_2.6.9+dfsg-2ubuntu1_armhf.deb ... 482s Unpacking slapd (2.6.9+dfsg-2ubuntu1) ... 482s Selecting previously unselected package ldap-utils. 482s Preparing to unpack .../ldap-utils_2.6.9+dfsg-2ubuntu1_armhf.deb ... 482s Unpacking ldap-utils (2.6.9+dfsg-2ubuntu1) ... 482s Setting up libargon2-1:armhf (0~20190702+dfsg-4build1) ... 482s Setting up ldap-utils (2.6.9+dfsg-2ubuntu1) ... 482s Setting up libltdl7:armhf (2.5.4-4) ... 482s Setting up libodbc2:armhf (2.3.12-2ubuntu1) ... 482s Setting up slapd (2.6.9+dfsg-2ubuntu1) ... 483s Creating new user openldap... done. 483s Creating initial configuration... done. 483s Creating LDAP directory... done. 483s Created symlink '/etc/systemd/system/multi-user.target.wants/slapd.service' → '/usr/lib/systemd/system/slapd.service'. 484s Processing triggers for man-db (2.13.1-1) ... 484s Processing triggers for libc-bin (2.41-6ubuntu2) ... 496s autopkgtest [15:39:05]: test 03-getroot-ldap: systemd-detect-virt -q --container || exit 77; env SUDO_FORCE_REMOVE=yes apt-get -y install sudo-ldap && debian/tests/03-getroot-ldap 496s autopkgtest [15:39:05]: test 03-getroot-ldap: [----------------------- 498s Reading package lists... 499s Building dependency tree... 499s Reading state information... 499s Solving dependencies... 499s The following additional packages will be installed: 499s libnss-sudo 499s The following packages will be REMOVED: 499s sudo 499s The following NEW packages will be installed: 499s libnss-sudo sudo-ldap 499s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 499s Need to get 1019 kB of archives. 499s After this operation, 161 kB of additional disk space will be used. 499s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf libnss-sudo all 1.9.16p2-1ubuntu2 [17.0 kB] 500s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf sudo-ldap armhf 1.9.16p2-1ubuntu2 [1002 kB] 500s Preconfiguring packages ... 500s Fetched 1019 kB in 1s (1641 kB/s) 500s Selecting previously unselected package libnss-sudo. 500s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60169 files and directories currently installed.) 500s Preparing to unpack .../libnss-sudo_1.9.16p2-1ubuntu2_all.deb ... 500s Unpacking libnss-sudo (1.9.16p2-1ubuntu2) ... 501s dpkg: sudo: dependency problems, but removing anyway as you requested: 501s ubuntu-minimal depends on sudo. 501s 501s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60171 files and directories currently installed.) 501s Removing sudo (1.9.16p2-1ubuntu2) ... 501s Selecting previously unselected package sudo-ldap. 501s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60112 files and directories currently installed.) 501s Preparing to unpack .../sudo-ldap_1.9.16p2-1ubuntu2_armhf.deb ... 501s Unpacking sudo-ldap (1.9.16p2-1ubuntu2) ... 501s Setting up libnss-sudo (1.9.16p2-1ubuntu2) ... 501s Setting up sudo-ldap (1.9.16p2-1ubuntu2) ... 501s Processing triggers for man-db (2.13.1-1) ... 502s Processing triggers for libc-bin (2.41-6ubuntu2) ... 503s clean up ldap database ... reconfigure slapd ... start slapd ... add sudo schema to slapd ... adding new entry "cn=sudoschema,cn=schema,cn=config" 503s 503s add sudo group ... adding new entry "ou=SUDOers,dc=example,dc=com" 503s 504s reconfigure sudo-ldap (#1001851) ... debian/tests/03-getroot-ldap: 55: cvtsudoers: not found 504s cvtsudoers into sudoers.ldif ... Error: Command not found 504s autopkgtest [15:39:13]: test 03-getroot-ldap: -----------------------] 508s autopkgtest [15:39:17]: test 03-getroot-ldap: - - - - - - - - - - results - - - - - - - - - - 508s 03-getroot-ldap FAIL non-zero exit status 127 508s autopkgtest [15:39:17]: test 03-getroot-ldap: - - - - - - - - - - stderr - - - - - - - - - - 508s debian/tests/03-getroot-ldap: 55: cvtsudoers: not found 511s autopkgtest [15:39:20]: test 04-getroot-sssd: preparing testbed 513s Reading package lists... 514s Building dependency tree... 514s Reading state information... 514s Solving dependencies... 514s The following NEW packages will be installed: 514s libbasicobjects0t64 libcares2 libcollection4t64 libcrack2 libdhash1t64 514s libini-config5t64 libldb2 libnfsidmap1 libnss-sss libpam-pwquality 514s libpam-sss libpath-utils1t64 libpwquality-common libpwquality1 514s libref-array1t64 libsss-certmap0 libsss-idmap0 libsss-nss-idmap0 libtalloc2 514s libtdb1 libtevent0t64 python3-sss sssd-common sssd-krb5-common sssd-ldap 514s 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. 514s Need to get 1991 kB of archives. 514s After this operation, 9129 kB of additional disk space will be used. 514s Get:1 http://ftpmaster.internal/ubuntu questing/main armhf libbasicobjects0t64 armhf 0.6.2-3 [5434 B] 514s Get:2 http://ftpmaster.internal/ubuntu questing/main armhf libcares2 armhf 1.34.5-1 [85.3 kB] 515s Get:3 http://ftpmaster.internal/ubuntu questing/main armhf libcollection4t64 armhf 0.6.2-3 [18.8 kB] 515s Get:4 http://ftpmaster.internal/ubuntu questing/main armhf libcrack2 armhf 2.9.6-5.2build1 [27.1 kB] 515s Get:5 http://ftpmaster.internal/ubuntu questing/main armhf libdhash1t64 armhf 0.6.2-3 [7876 B] 515s Get:6 http://ftpmaster.internal/ubuntu questing/main armhf libpath-utils1t64 armhf 0.6.2-3 [7776 B] 515s Get:7 http://ftpmaster.internal/ubuntu questing/main armhf libref-array1t64 armhf 0.6.2-3 [6382 B] 515s Get:8 http://ftpmaster.internal/ubuntu questing/main armhf libini-config5t64 armhf 0.6.2-3 [37.2 kB] 515s Get:9 http://ftpmaster.internal/ubuntu questing/main armhf libtalloc2 armhf 2:2.4.3+samba4.22.2+dfsg-1ubuntu1 [71.4 kB] 515s Get:10 http://ftpmaster.internal/ubuntu questing/main armhf libtdb1 armhf 2:1.4.13+samba4.22.2+dfsg-1ubuntu1 [89.1 kB] 515s Get:11 http://ftpmaster.internal/ubuntu questing/main armhf libtevent0t64 armhf 2:0.16.2+samba4.22.2+dfsg-1ubuntu1 [36.5 kB] 515s Get:12 http://ftpmaster.internal/ubuntu questing/main armhf libldb2 armhf 2:2.11.0+samba4.22.2+dfsg-1ubuntu1 [126 kB] 515s Get:13 http://ftpmaster.internal/ubuntu questing/main armhf libnfsidmap1 armhf 1:2.8.2-2ubuntu2 [56.6 kB] 515s Get:14 http://ftpmaster.internal/ubuntu questing/main armhf libpwquality-common all 1.4.5-5 [7752 B] 515s Get:15 http://ftpmaster.internal/ubuntu questing/main armhf libpwquality1 armhf 1.4.5-5 [12.3 kB] 515s Get:16 http://ftpmaster.internal/ubuntu questing/main armhf libpam-pwquality armhf 1.4.5-5 [11.4 kB] 515s Get:17 http://ftpmaster.internal/ubuntu questing/main armhf libnss-sss armhf 2.10.1-2ubuntu4 [30.1 kB] 515s Get:18 http://ftpmaster.internal/ubuntu questing/main armhf libpam-sss armhf 2.10.1-2ubuntu4 [46.5 kB] 515s Get:19 http://ftpmaster.internal/ubuntu questing/main armhf libsss-certmap0 armhf 2.10.1-2ubuntu4 [44.4 kB] 515s Get:20 http://ftpmaster.internal/ubuntu questing/main armhf libsss-idmap0 armhf 2.10.1-2ubuntu4 [21.3 kB] 515s Get:21 http://ftpmaster.internal/ubuntu questing/main armhf libsss-nss-idmap0 armhf 2.10.1-2ubuntu4 [28.5 kB] 515s Get:22 http://ftpmaster.internal/ubuntu questing/main armhf python3-sss armhf 2.10.1-2ubuntu4 [45.5 kB] 515s Get:23 http://ftpmaster.internal/ubuntu questing/main armhf sssd-common armhf 2.10.1-2ubuntu4 [1054 kB] 515s Get:24 http://ftpmaster.internal/ubuntu questing/main armhf sssd-krb5-common armhf 2.10.1-2ubuntu4 [82.0 kB] 515s Get:25 http://ftpmaster.internal/ubuntu questing/main armhf sssd-ldap armhf 2.10.1-2ubuntu4 [31.2 kB] 515s Fetched 1991 kB in 1s (2445 kB/s) 515s Selecting previously unselected package libbasicobjects0t64:armhf. 515s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60180 files and directories currently installed.) 515s Preparing to unpack .../00-libbasicobjects0t64_0.6.2-3_armhf.deb ... 515s Unpacking libbasicobjects0t64:armhf (0.6.2-3) ... 515s Selecting previously unselected package libcares2:armhf. 515s Preparing to unpack .../01-libcares2_1.34.5-1_armhf.deb ... 515s Unpacking libcares2:armhf (1.34.5-1) ... 515s Selecting previously unselected package libcollection4t64:armhf. 515s Preparing to unpack .../02-libcollection4t64_0.6.2-3_armhf.deb ... 515s Unpacking libcollection4t64:armhf (0.6.2-3) ... 515s Selecting previously unselected package libcrack2:armhf. 515s Preparing to unpack .../03-libcrack2_2.9.6-5.2build1_armhf.deb ... 515s Unpacking libcrack2:armhf (2.9.6-5.2build1) ... 515s Selecting previously unselected package libdhash1t64:armhf. 516s Preparing to unpack .../04-libdhash1t64_0.6.2-3_armhf.deb ... 516s Unpacking libdhash1t64:armhf (0.6.2-3) ... 516s Selecting previously unselected package libpath-utils1t64:armhf. 516s Preparing to unpack .../05-libpath-utils1t64_0.6.2-3_armhf.deb ... 516s Unpacking libpath-utils1t64:armhf (0.6.2-3) ... 516s Selecting previously unselected package libref-array1t64:armhf. 516s Preparing to unpack .../06-libref-array1t64_0.6.2-3_armhf.deb ... 516s Unpacking libref-array1t64:armhf (0.6.2-3) ... 516s Selecting previously unselected package libini-config5t64:armhf. 516s Preparing to unpack .../07-libini-config5t64_0.6.2-3_armhf.deb ... 516s Unpacking libini-config5t64:armhf (0.6.2-3) ... 516s Selecting previously unselected package libtalloc2:armhf. 516s Preparing to unpack .../08-libtalloc2_2%3a2.4.3+samba4.22.2+dfsg-1ubuntu1_armhf.deb ... 516s Unpacking libtalloc2:armhf (2:2.4.3+samba4.22.2+dfsg-1ubuntu1) ... 516s Selecting previously unselected package libtdb1:armhf. 516s Preparing to unpack .../09-libtdb1_2%3a1.4.13+samba4.22.2+dfsg-1ubuntu1_armhf.deb ... 516s Unpacking libtdb1:armhf (2:1.4.13+samba4.22.2+dfsg-1ubuntu1) ... 516s Selecting previously unselected package libtevent0t64:armhf. 516s Preparing to unpack .../10-libtevent0t64_2%3a0.16.2+samba4.22.2+dfsg-1ubuntu1_armhf.deb ... 516s Unpacking libtevent0t64:armhf (2:0.16.2+samba4.22.2+dfsg-1ubuntu1) ... 516s Selecting previously unselected package libldb2:armhf. 516s Preparing to unpack .../11-libldb2_2%3a2.11.0+samba4.22.2+dfsg-1ubuntu1_armhf.deb ... 516s Unpacking libldb2:armhf (2:2.11.0+samba4.22.2+dfsg-1ubuntu1) ... 516s Selecting previously unselected package libnfsidmap1:armhf. 516s Preparing to unpack .../12-libnfsidmap1_1%3a2.8.2-2ubuntu2_armhf.deb ... 516s Unpacking libnfsidmap1:armhf (1:2.8.2-2ubuntu2) ... 516s Selecting previously unselected package libpwquality-common. 516s Preparing to unpack .../13-libpwquality-common_1.4.5-5_all.deb ... 516s Unpacking libpwquality-common (1.4.5-5) ... 516s Selecting previously unselected package libpwquality1:armhf. 516s Preparing to unpack .../14-libpwquality1_1.4.5-5_armhf.deb ... 516s Unpacking libpwquality1:armhf (1.4.5-5) ... 516s Selecting previously unselected package libpam-pwquality:armhf. 516s Preparing to unpack .../15-libpam-pwquality_1.4.5-5_armhf.deb ... 516s Unpacking libpam-pwquality:armhf (1.4.5-5) ... 516s Selecting previously unselected package libnss-sss:armhf. 516s Preparing to unpack .../16-libnss-sss_2.10.1-2ubuntu4_armhf.deb ... 516s Unpacking libnss-sss:armhf (2.10.1-2ubuntu4) ... 516s Selecting previously unselected package libpam-sss:armhf. 516s Preparing to unpack .../17-libpam-sss_2.10.1-2ubuntu4_armhf.deb ... 516s Unpacking libpam-sss:armhf (2.10.1-2ubuntu4) ... 516s Selecting previously unselected package libsss-certmap0. 516s Preparing to unpack .../18-libsss-certmap0_2.10.1-2ubuntu4_armhf.deb ... 516s Unpacking libsss-certmap0 (2.10.1-2ubuntu4) ... 516s Selecting previously unselected package libsss-idmap0. 516s Preparing to unpack .../19-libsss-idmap0_2.10.1-2ubuntu4_armhf.deb ... 516s Unpacking libsss-idmap0 (2.10.1-2ubuntu4) ... 516s Selecting previously unselected package libsss-nss-idmap0. 516s Preparing to unpack .../20-libsss-nss-idmap0_2.10.1-2ubuntu4_armhf.deb ... 516s Unpacking libsss-nss-idmap0 (2.10.1-2ubuntu4) ... 516s Selecting previously unselected package python3-sss. 516s Preparing to unpack .../21-python3-sss_2.10.1-2ubuntu4_armhf.deb ... 516s Unpacking python3-sss (2.10.1-2ubuntu4) ... 516s Selecting previously unselected package sssd-common. 516s Preparing to unpack .../22-sssd-common_2.10.1-2ubuntu4_armhf.deb ... 516s Unpacking sssd-common (2.10.1-2ubuntu4) ... 516s Selecting previously unselected package sssd-krb5-common. 516s Preparing to unpack .../23-sssd-krb5-common_2.10.1-2ubuntu4_armhf.deb ... 516s Unpacking sssd-krb5-common (2.10.1-2ubuntu4) ... 516s Selecting previously unselected package sssd-ldap. 516s Preparing to unpack .../24-sssd-ldap_2.10.1-2ubuntu4_armhf.deb ... 516s Unpacking sssd-ldap (2.10.1-2ubuntu4) ... 516s Setting up libpwquality-common (1.4.5-5) ... 516s Setting up libnfsidmap1:armhf (1:2.8.2-2ubuntu2) ... 516s Setting up libsss-idmap0 (2.10.1-2ubuntu4) ... 516s Setting up libbasicobjects0t64:armhf (0.6.2-3) ... 516s Setting up libref-array1t64:armhf (0.6.2-3) ... 516s Setting up libtdb1:armhf (2:1.4.13+samba4.22.2+dfsg-1ubuntu1) ... 516s Setting up libcollection4t64:armhf (0.6.2-3) ... 516s Setting up libtalloc2:armhf (2:2.4.3+samba4.22.2+dfsg-1ubuntu1) ... 516s Setting up libpath-utils1t64:armhf (0.6.2-3) ... 516s Setting up libcares2:armhf (1.34.5-1) ... 516s Setting up libdhash1t64:armhf (0.6.2-3) ... 516s Setting up libcrack2:armhf (2.9.6-5.2build1) ... 516s Setting up libsss-nss-idmap0 (2.10.1-2ubuntu4) ... 516s Setting up libini-config5t64:armhf (0.6.2-3) ... 516s Setting up libtevent0t64:armhf (2:0.16.2+samba4.22.2+dfsg-1ubuntu1) ... 516s Setting up libnss-sss:armhf (2.10.1-2ubuntu4) ... 516s Setting up libsss-certmap0 (2.10.1-2ubuntu4) ... 516s Setting up libpwquality1:armhf (1.4.5-5) ... 516s Setting up libldb2:armhf (2:2.11.0+samba4.22.2+dfsg-1ubuntu1) ... 516s Setting up libpam-pwquality:armhf (1.4.5-5) ... 516s Setting up python3-sss (2.10.1-2ubuntu4) ... 517s Setting up libpam-sss:armhf (2.10.1-2ubuntu4) ... 517s Setting up sssd-common (2.10.1-2ubuntu4) ... 517s Creating SSSD system user & group... 517s Warning: found usr.sbin.sssd in /etc/apparmor.d/force-complain, forcing complain mode 517s apparmor_parser: Unable to replace "/usr/sbin/sssd". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 517s 517s Created symlink '/etc/systemd/system/sssd.service.wants/sssd-autofs.socket' → '/usr/lib/systemd/system/sssd-autofs.socket'. 517s Created symlink '/etc/systemd/system/sssd.service.wants/sssd-nss.socket' → '/usr/lib/systemd/system/sssd-nss.socket'. 518s Created symlink '/etc/systemd/system/sssd.service.wants/sssd-pam.socket' → '/usr/lib/systemd/system/sssd-pam.socket'. 518s Created symlink '/etc/systemd/system/sssd.service.wants/sssd-ssh.socket' → '/usr/lib/systemd/system/sssd-ssh.socket'. 518s Created symlink '/etc/systemd/system/sssd.service.wants/sssd-sudo.socket' → '/usr/lib/systemd/system/sssd-sudo.socket'. 519s Created symlink '/etc/systemd/system/multi-user.target.wants/sssd.service' → '/usr/lib/systemd/system/sssd.service'. 519s sssd-autofs.service is a disabled or a static unit, not starting it. 519s sssd-nss.service is a disabled or a static unit, not starting it. 519s sssd-pam.service is a disabled or a static unit, not starting it. 519s sssd-ssh.service is a disabled or a static unit, not starting it. 519s sssd-sudo.service is a disabled or a static unit, not starting it. 519s Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148. 519s Setting up sssd-krb5-common (2.10.1-2ubuntu4) ... 519s Setting up sssd-ldap (2.10.1-2ubuntu4) ... 519s Processing triggers for man-db (2.13.1-1) ... 520s Processing triggers for libc-bin (2.41-6ubuntu2) ... 525s Reading package lists... 525s Building dependency tree... 525s Reading state information... 526s Solving dependencies... 526s The following package was automatically installed and is no longer required: 526s libnss-sudo 526s Use 'apt autoremove' to remove it. 526s Recommended packages: 526s sudo-rs 526s The following packages will be REMOVED: 526s sudo-ldap 526s The following NEW packages will be installed: 526s sudo 527s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 527s Need to get 0 B/956 kB of archives. 527s After this operation, 123 kB disk space will be freed. 527s dpkg: sudo-ldap: dependency problems, but removing anyway as you requested: 527s ubuntu-minimal depends on sudo; however: 527s Package sudo is not installed. 527s Package sudo-ldap which provides sudo is to be removed. 527s 527s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60452 files and directories currently installed.) 527s Removing sudo-ldap (1.9.16p2-1ubuntu2) ... 527s Selecting previously unselected package sudo. 527s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60386 files and directories currently installed.) 527s Preparing to unpack .../sudo_1.9.16p2-1ubuntu2_armhf.deb ... 527s Unpacking sudo (1.9.16p2-1ubuntu2) ... 527s Setting up sudo (1.9.16p2-1ubuntu2) ... 527s update-alternatives: using /usr/bin/sudo.ws to provide /usr/bin/sudo (sudo) in auto mode 527s Processing triggers for man-db (2.13.1-1) ... 527s Processing triggers for libc-bin (2.41-6ubuntu2) ... 533s autopkgtest [15:39:42]: test 04-getroot-sssd: [----------------------- 537s clean up ldap database ... move configuration in place ... reconfigure slapd ... start slapd ... set LDAP passwordsmodifying entry "cn=config" 537s 537s modifying entry "olcDatabase={0}config,cn=config" 537s 537s modifying entry "olcDatabase={1}mdb,cn=config" 537s 537s add users and groups OUs ...adding new entry "ou=users,dc=example,dc=com" 537s 537s adding new entry "ou=groups,dc=example,dc=com" 537s 537s add users ...sssd.conf ... 537s sudoers file ... 538s Aadding new entry "uid=testuser1,ou=users,dc=example,dc=com" 538s 538s adding new entry "uid=testuser2,ou=users,dc=example,dc=com" 538s 538s adding new entry "cn=ldapsudoers,ou=groups,dc=example,dc=com" 538s 538s ========= test 04\.1: account group member, correct password 538s trying testuser1 with correct password 539s testuser1 with correct password, return value 0 539s ========= test 04\.2: account group member, wrong password 539s trying testuser1 with wrong password 541s testuser1 with wrong password, return value 1 541s ==> /home/testuser1/stdout <== 541s 541s ==> /home/testuser1/stderr <== 541s [sudo] password for testuser1: Sorry, try again. 541s [sudo] password for testuser1: 541s sudo: no password was provided 541s sudo: 1 incorrect password attempt 541s 541s ------- 541s [sudo] password for testuser1: Sorry, try again. 541s [sudo] password for testuser1: 541s [sudo] password for testuser1: Sorry, try again. 541s sudo: no password was provided 541s sudo: 1 incorrect password attempt 541s ========= test 04\.3: account not group member, correct password 541s trying testuser2 (no sudo membership) with correct password 541s testuser2 with correct password, return value 1 541s ==> /home/testuser2/stdout <== 541s 541s ==> /home/testuser2/stderr <== 541s [sudo] password for testuser2: testuser2 is not in the sudoers file. 541s 541s ------- 541s test series sucessful, exit 0 541s autopkgtest [15:39:50]: test 04-getroot-sssd: -----------------------] 545s autopkgtest [15:39:54]: test 04-getroot-sssd: - - - - - - - - - - results - - - - - - - - - - 545s 04-getroot-sssd PASS 548s autopkgtest [15:39:57]: @@@@@@@@@@@@@@@@@@@@ summary 548s 01-getroot PASS 548s 02-1003969-audit-no-resolve PASS 548s 03-getroot-ldap FAIL non-zero exit status 127 548s 04-getroot-sssd PASS