0s autopkgtest [11:45:51]: starting date: 2024-03-18 0s autopkgtest [11:45:51]: git checkout: d9c0295b adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [11:45:51]: host juju-7f2275-prod-proposed-migration-environment-4; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.fgwiloc9/out --timeout-copy=6000 --setup-commands 'sed -i "s/ports.ubuntu.com/ftpmaster.internal/; s/ubuntu-ports/ubuntu/" /etc/apt/sources.list `ls /etc/apt/sources.list.d/*.list 2>/dev/null || true`; 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,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:libselinux,src:ruby-defaults --apt-upgrade shadow --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2build3 ruby-defaults/1:3.2~ubuntu1' -- lxd -r lxd-armhf-10.44.124.170 lxd-armhf-10.44.124.170:autopkgtest/ubuntu/noble/armhf 49s autopkgtest [11:46:40]: @@@@@@@@@@@@@@@@@@@@ test bed setup 51s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 53s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 53s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 53s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3727 kB] 55s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 55s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [576 kB] 55s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2492 B] 55s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1372 B] 55s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 55s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [3603 kB] 56s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [7776 B] 56s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf Packages [35.3 kB] 56s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 68s Fetched 8614 kB in 6s (1363 kB/s) 69s Reading package lists... 83s tee: /proc/self/fd/2: Permission denied 118s Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease 118s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 118s Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease 118s Hit:4 http://ftpmaster.internal/ubuntu noble-updates InRelease 118s Hit:5 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease 118s Hit:6 http://ftpmaster.internal/ubuntu noble-security InRelease 118s Hit:7 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease 118s Hit:8 http://ftpmaster.internal/ubuntu noble-proposed InRelease 124s Reading package lists... 124s Reading package lists... 125s Building dependency tree... 125s Reading state information... 127s Calculating upgrade... 128s The following packages will be upgraded: 128s libselinux1 128s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 128s Need to get 70.5 kB of archives. 128s After this operation, 0 B of additional disk space will be used. 128s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libselinux1 armhf 3.5-2build3 [70.5 kB] 130s Fetched 70.5 kB in 0s (227 kB/s) 130s (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 ... 58620 files and directories currently installed.) 130s Preparing to unpack .../libselinux1_3.5-2build3_armhf.deb ... 130s Unpacking libselinux1:armhf (3.5-2build3) over (3.5-2build1) ... 130s Setting up libselinux1:armhf (3.5-2build3) ... 130s Processing triggers for libc-bin (2.39-0ubuntu2) ... 132s Reading package lists... 132s Building dependency tree... 132s Reading state information... 134s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 136s autopkgtest [11:48:07]: rebooting testbed after setup commands that affected boot 165s autopkgtest [11:48:36]: testbed running kernel: Linux 5.4.0-171-generic #189-Ubuntu SMP Fri Jan 5 14:23:34 UTC 2024 169s autopkgtest [11:48:40]: testbed dpkg architecture: armhf 182s autopkgtest [11:48:53]: @@@@@@@@@@@@@@@@@@@@ apt-source shadow 192s Get:1 http://ftpmaster.internal/ubuntu noble/main shadow 1:4.13+dfsg1-4ubuntu1 (dsc) [2543 B] 192s Get:2 http://ftpmaster.internal/ubuntu noble/main shadow 1:4.13+dfsg1-4ubuntu1 (tar) [1812 kB] 192s Get:3 http://ftpmaster.internal/ubuntu noble/main shadow 1:4.13+dfsg1-4ubuntu1 (diff) [94.6 kB] 193s gpgv: Signature made Thu Feb 22 12:32:58 2024 UTC 193s gpgv: using RSA key 4FB588A84C2DDE79A74C77876FA458DD1DB03F71 193s gpgv: issuer "juliank@ubuntu.com" 193s gpgv: Can't check signature: No public key 193s dpkg-source: warning: cannot verify inline signature for ./shadow_4.13+dfsg1-4ubuntu1.dsc: no acceptable signature found 194s autopkgtest [11:49:05]: testing package shadow version 1:4.13+dfsg1-4ubuntu1 194s autopkgtest [11:49:05]: build not needed 202s autopkgtest [11:49:13]: test smoke: preparing testbed 215s Reading package lists... 216s Building dependency tree... 216s Reading state information... 217s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 217s Starting 2 pkgProblemResolver with broken count: 0 217s Done 218s Done 219s Starting pkgProblemResolver with broken count: 0 219s Starting 2 pkgProblemResolver with broken count: 0 219s Done 221s The following additional packages will be installed: 221s libsubid-dev libsubid4 uidmap 221s The following NEW packages will be installed: 221s libsubid-dev libsubid4 uidmap 222s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 222s 1 not fully installed or removed. 222s Need to get 165 kB of archives. 222s After this operation, 542 kB of additional disk space will be used. 222s Get:1 http://ftpmaster.internal/ubuntu noble/main armhf libsubid4 armhf 1:4.13+dfsg1-4ubuntu1 [59.6 kB] 222s Get:2 http://ftpmaster.internal/ubuntu noble/main armhf uidmap armhf 1:4.13+dfsg1-4ubuntu1 [32.3 kB] 222s Get:3 http://ftpmaster.internal/ubuntu noble/main armhf libsubid-dev armhf 1:4.13+dfsg1-4ubuntu1 [73.4 kB] 224s Fetched 165 kB in 1s (182 kB/s) 224s Selecting previously unselected package libsubid4:armhf. 224s (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 ... 58620 files and directories currently installed.) 224s Preparing to unpack .../libsubid4_1%3a4.13+dfsg1-4ubuntu1_armhf.deb ... 224s Unpacking libsubid4:armhf (1:4.13+dfsg1-4ubuntu1) ... 224s Selecting previously unselected package uidmap. 224s Preparing to unpack .../uidmap_1%3a4.13+dfsg1-4ubuntu1_armhf.deb ... 224s Unpacking uidmap (1:4.13+dfsg1-4ubuntu1) ... 224s Selecting previously unselected package libsubid-dev:armhf. 224s Preparing to unpack .../libsubid-dev_1%3a4.13+dfsg1-4ubuntu1_armhf.deb ... 224s Unpacking libsubid-dev:armhf (1:4.13+dfsg1-4ubuntu1) ... 224s Setting up libsubid4:armhf (1:4.13+dfsg1-4ubuntu1) ... 224s Setting up uidmap (1:4.13+dfsg1-4ubuntu1) ... 224s Setting up libsubid-dev:armhf (1:4.13+dfsg1-4ubuntu1) ... 224s Setting up autopkgtest-satdep (0) ... 224s Processing triggers for man-db (2.12.0-3) ... 225s Processing triggers for libc-bin (2.39-0ubuntu2) ... 256s (Reading database ... 58647 files and directories currently installed.) 256s Removing autopkgtest-satdep (0) ... 271s autopkgtest [11:50:22]: test smoke: [----------------------- 274s Adding an user works 274s shadow-test-user:x:1001:1001::/home/shadow-test-user:/bin/sh 274s shadow-test-user:!:19800:0:99999:7::: 274s Removing an user works 274s Adding an extrauser works 274s shadow-test-user:x:1001:1001::/home/shadow-test-user:/bin/sh 274s shadow-test-user:!:19800:0:99999:7::: 274s Removing an extrauser works 275s autopkgtest [11:50:26]: test smoke: -----------------------] 282s smoke PASS (superficial) 282s autopkgtest [11:50:33]: test smoke: - - - - - - - - - - results - - - - - - - - - - 288s autopkgtest [11:50:39]: test numeric-username: preparing testbed 308s Reading package lists... 309s Building dependency tree... 309s Reading state information... 310s Starting pkgProblemResolver with broken count: 0 310s Starting 2 pkgProblemResolver with broken count: 0 310s Done 313s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 313s 1 not fully installed or removed. 313s After this operation, 0 B of additional disk space will be used. 313s Setting up autopkgtest-satdep (0) ... 340s (Reading database ... 58647 files and directories currently installed.) 340s Removing autopkgtest-satdep (0) ... 353s autopkgtest [11:51:44]: test numeric-username: [----------------------- 355s + useradd 0 355s useradd: invalid user name '0': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 00 355s useradd: invalid user name '00': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0123456789 355s useradd: invalid user name '0123456789': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0x0 355s useradd: invalid user name '0x0': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0x0123456789 355s useradd: invalid user name '0x0123456789': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0o0 355s useradd: invalid user name '0o0': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0o01234567 355s useradd: invalid user name '0o01234567': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0xDEADBEEF 355s useradd: invalid user name '0xDEADBEEF': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0xcafe42 355s useradd: invalid user name '0xcafe42': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0xdeadbeef 355s useradd: invalid user name '0xdeadbeef': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0xdeadBEEF 355s useradd: invalid user name '0xdeadBEEF': use --badname to ignore 355s + ret=3 355s + [ 3 -eq 0 ] 355s + useradd 0root 355s + ret=0 355s + [ 0 -ne 0 ] 355s + useradd 0123456789root 355s + ret=0 355s + [ 0 -ne 0 ] 355s + useradd 0-0 355s + ret=0 355s + [ 0 -ne 0 ] 355s + useradd 0_0 355s + ret=0 355s + [ 0 -ne 0 ] 355s + useradd 0.o 355s + ret=0 355s + [ 0 -ne 0 ] 355s + useradd 0xo 355s + ret=0 355s + [ 0 -ne 0 ] 355s + useradd 0-o 355s + ret=0 355s + [ 0 -ne 0 ] 355s + useradd 0_o 356s + ret=0 356s + [ 0 -ne 0 ] 356s + useradd 0x0x0x0 356s + ret=0 356s + [ 0 -ne 0 ] 356s + useradd 0o0123456789 356s + ret=0 356s + [ 0 -ne 0 ] 356s + useradd 0.0.0.0 356s + ret=0 356s + [ 0 -ne 0 ] 356s + useradd 0x123.456.789 356s + ret=0 356s + [ 0 -ne 0 ] 356s + useradd 0o123.456.789 356s + ret=0 356s + [ 0 -ne 0 ] 356s + useradd 123.456 356s + ret=0 356s + [ 0 -ne 0 ] 356s + useradd 0.0 356s + ret=0 356s + [ 0 -ne 0 ] 356s + useradd 0xdeadbeefjawn-smith 356s + ret=0 356s + [ 0 -ne 0 ] 356s + useradd 0o123jawn-smith 356s + ret=0 356s + [ 0 -ne 0 ] 357s autopkgtest [11:51:48]: test numeric-username: -----------------------] 363s numeric-username PASS 363s autopkgtest [11:51:54]: test numeric-username: - - - - - - - - - - results - - - - - - - - - - 368s autopkgtest [11:51:59]: @@@@@@@@@@@@@@@@@@@@ summary 368s smoke PASS (superficial) 368s numeric-username PASS