0s autopkgtest [18:04:46]: starting date and time: 2024-04-19 18:04:46+0000 0s autopkgtest [18:04:46]: git checkout: 43bc6cdf gitlab-ci: do not include the salsa pipeline 0s autopkgtest [18:04:46]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9a2q78ex/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:systemd --apt-upgrade dropbear --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=systemd/255.4-1ubuntu8 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-ppc64el-8.secgroup --name adt-noble-ppc64el-dropbear-20240419-180445-juju-7f2275-prod-proposed-migration-environment-3-68fb7bc5-07b8-4391-9d0f-48b0ced40411 --image adt/ubuntu-noble-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 96s autopkgtest [18:06:22]: testbed dpkg architecture: ppc64el 97s autopkgtest [18:06:23]: testbed apt version: 2.7.14build2 97s autopkgtest [18:06:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 97s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 98s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [12.3 kB] 98s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [2340 B] 98s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [48.6 kB] 98s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [264 kB] 98s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [81.4 kB] 98s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 98s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [976 B] 98s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 98s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [236 kB] 99s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 99s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [1376 B] 99s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 101s Fetched 776 kB in 1s (592 kB/s) 101s Reading package lists... 102s sh: 4: dhclient: not found 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 104s Calculating upgrade... 104s The following packages will be upgraded: 104s libnss-systemd libpam-systemd libsystemd-shared libsystemd0 libudev1 systemd 104s systemd-dev systemd-resolved systemd-sysv systemd-timesyncd udev 104s 11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 104s Need to get 9899 kB of archives. 104s After this operation, 6144 B of additional disk space will be used. 104s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-dev all 255.4-1ubuntu8 [104 kB] 104s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-timesyncd ppc64el 255.4-1ubuntu8 [37.9 kB] 104s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-resolved ppc64el 255.4-1ubuntu8 [347 kB] 105s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libsystemd-shared ppc64el 255.4-1ubuntu8 [2351 kB] 106s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libsystemd0 ppc64el 255.4-1ubuntu8 [526 kB] 107s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-sysv ppc64el 255.4-1ubuntu8 [11.9 kB] 107s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libnss-systemd ppc64el 255.4-1ubuntu8 [208 kB] 107s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libpam-systemd ppc64el 255.4-1ubuntu8 [304 kB] 107s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd ppc64el 255.4-1ubuntu8 [3771 kB] 108s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el udev ppc64el 255.4-1ubuntu8 [2038 kB] 109s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libudev1 ppc64el 255.4-1ubuntu8 [201 kB] 109s Fetched 9899 kB in 5s (2033 kB/s) 109s (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 ... 72009 files and directories currently installed.) 109s Preparing to unpack .../systemd-dev_255.4-1ubuntu8_all.deb ... 109s Unpacking systemd-dev (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 109s Preparing to unpack .../systemd-timesyncd_255.4-1ubuntu8_ppc64el.deb ... 109s Unpacking systemd-timesyncd (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 109s Preparing to unpack .../systemd-resolved_255.4-1ubuntu8_ppc64el.deb ... 109s Unpacking systemd-resolved (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 109s Preparing to unpack .../libsystemd-shared_255.4-1ubuntu8_ppc64el.deb ... 109s Unpacking libsystemd-shared:ppc64el (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 109s Preparing to unpack .../libsystemd0_255.4-1ubuntu8_ppc64el.deb ... 109s Unpacking libsystemd0:ppc64el (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 109s Setting up libsystemd0:ppc64el (255.4-1ubuntu8) ... 109s (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 ... 72009 files and directories currently installed.) 109s Preparing to unpack .../0-systemd-sysv_255.4-1ubuntu8_ppc64el.deb ... 109s Unpacking systemd-sysv (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 109s Preparing to unpack .../1-libnss-systemd_255.4-1ubuntu8_ppc64el.deb ... 109s Unpacking libnss-systemd:ppc64el (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 109s Preparing to unpack .../2-libpam-systemd_255.4-1ubuntu8_ppc64el.deb ... 109s Unpacking libpam-systemd:ppc64el (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 109s Preparing to unpack .../3-systemd_255.4-1ubuntu8_ppc64el.deb ... 109s Unpacking systemd (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 110s Preparing to unpack .../4-udev_255.4-1ubuntu8_ppc64el.deb ... 110s Unpacking udev (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 110s Preparing to unpack .../5-libudev1_255.4-1ubuntu8_ppc64el.deb ... 110s Unpacking libudev1:ppc64el (255.4-1ubuntu8) over (255.4-1ubuntu7) ... 110s Setting up libudev1:ppc64el (255.4-1ubuntu8) ... 110s Setting up systemd-dev (255.4-1ubuntu8) ... 110s Setting up libsystemd-shared:ppc64el (255.4-1ubuntu8) ... 110s Setting up systemd (255.4-1ubuntu8) ... 111s Setting up systemd-timesyncd (255.4-1ubuntu8) ... 111s Setting up udev (255.4-1ubuntu8) ... 112s Setting up systemd-resolved (255.4-1ubuntu8) ... 113s Setting up systemd-sysv (255.4-1ubuntu8) ... 113s Setting up libnss-systemd:ppc64el (255.4-1ubuntu8) ... 113s Setting up libpam-systemd:ppc64el (255.4-1ubuntu8) ... 113s Processing triggers for libc-bin (2.39-0ubuntu8) ... 113s Processing triggers for man-db (2.12.0-4build2) ... 114s Processing triggers for dbus (1.14.10-4ubuntu4) ... 114s Processing triggers for initramfs-tools (0.142ubuntu25) ... 114s update-initramfs: Generating /boot/initrd.img-6.8.0-22-generic 114s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 121s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 122s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 122s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 123s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 124s Reading package lists... 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s Calculating upgrade... 124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 125s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s autopkgtest [18:06:51]: rebooting testbed after setup commands that affected boot 169s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 179s autopkgtest [18:07:45]: testbed running kernel: Linux 6.8.0-22-generic #22-Ubuntu SMP Thu Apr 4 22:47:57 UTC 2024 182s autopkgtest [18:07:48]: @@@@@@@@@@@@@@@@@@@@ apt-source dropbear 187s Get:1 http://ftpmaster.internal/ubuntu noble/universe dropbear 2022.83-4 (dsc) [2524 B] 187s Get:2 http://ftpmaster.internal/ubuntu noble/universe dropbear 2022.83-4 (tar) [2323 kB] 187s Get:3 http://ftpmaster.internal/ubuntu noble/universe dropbear 2022.83-4 (asc) [833 B] 187s Get:4 http://ftpmaster.internal/ubuntu noble/universe dropbear 2022.83-4 (diff) [37.3 kB] 187s gpgv: Signature made Thu Jan 25 01:11:53 2024 UTC 187s gpgv: using RSA key 469CBAA776FDB1FCD475B304D39A499C3C21A552 187s gpgv: Can't check signature: No public key 187s dpkg-source: warning: cannot verify inline signature for ./dropbear_2022.83-4.dsc: no acceptable signature found 188s autopkgtest [18:07:54]: testing package dropbear version 2022.83-4 188s remote-unlocking SKIP Test lists explicitly supported architectures, but the current architecture ppc64el isn't listed. 188s autopkgtest [18:07:54]: build not needed 211s remote-unlocking SKIP Test lists explicitly supported architectures, but the current architecture ppc64el isn't listed. 211s autopkgtest [18:08:17]: test upstream-tests: preparing testbed 212s Reading package lists... 212s Building dependency tree... 212s Reading state information... 212s Starting pkgProblemResolver with broken count: 0 212s Starting 2 pkgProblemResolver with broken count: 0 212s Done 212s The following additional packages will be installed: 212s dropbear-bin libtomcrypt1 libtommath1 python3-iniconfig python3-packaging 212s python3-pluggy python3-psutil python3-pytest 212s The following NEW packages will be installed: 212s autopkgtest-satdep dropbear-bin libtomcrypt1 libtommath1 python3-iniconfig 212s python3-packaging python3-pluggy python3-psutil python3-pytest 212s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 212s Need to get 1335 kB/1336 kB of archives. 212s After this operation, 4941 kB of additional disk space will be used. 212s Get:1 /tmp/autopkgtest.uPvest/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [744 B] 213s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el libtommath1 ppc64el 1.2.1-2build1 [76.2 kB] 213s Get:3 http://ftpmaster.internal/ubuntu noble/universe ppc64el libtomcrypt1 ppc64el 1.18.2+dfsg-7build1 [503 kB] 213s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el dropbear-bin ppc64el 2022.83-4 [186 kB] 213s Get:5 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 213s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 213s Get:7 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pluggy all 1.4.0-1 [20.4 kB] 213s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-psutil ppc64el 5.9.8-2build2 [197 kB] 214s Get:9 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 214s Fetched 1335 kB in 1s (974 kB/s) 214s Selecting previously unselected package libtommath1:ppc64el. 214s (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 ... 72009 files and directories currently installed.) 214s Preparing to unpack .../0-libtommath1_1.2.1-2build1_ppc64el.deb ... 214s Unpacking libtommath1:ppc64el (1.2.1-2build1) ... 214s Selecting previously unselected package libtomcrypt1:ppc64el. 214s Preparing to unpack .../1-libtomcrypt1_1.18.2+dfsg-7build1_ppc64el.deb ... 214s Unpacking libtomcrypt1:ppc64el (1.18.2+dfsg-7build1) ... 214s Selecting previously unselected package dropbear-bin. 214s Preparing to unpack .../2-dropbear-bin_2022.83-4_ppc64el.deb ... 214s Unpacking dropbear-bin (2022.83-4) ... 214s Selecting previously unselected package python3-iniconfig. 214s Preparing to unpack .../3-python3-iniconfig_1.1.1-2_all.deb ... 214s Unpacking python3-iniconfig (1.1.1-2) ... 214s Selecting previously unselected package python3-packaging. 214s Preparing to unpack .../4-python3-packaging_24.0-1_all.deb ... 214s Unpacking python3-packaging (24.0-1) ... 214s Selecting previously unselected package python3-pluggy. 214s Preparing to unpack .../5-python3-pluggy_1.4.0-1_all.deb ... 214s Unpacking python3-pluggy (1.4.0-1) ... 214s Selecting previously unselected package python3-psutil. 214s Preparing to unpack .../6-python3-psutil_5.9.8-2build2_ppc64el.deb ... 214s Unpacking python3-psutil (5.9.8-2build2) ... 215s Selecting previously unselected package python3-pytest. 215s Preparing to unpack .../7-python3-pytest_7.4.4-1_all.deb ... 215s Unpacking python3-pytest (7.4.4-1) ... 215s Selecting previously unselected package autopkgtest-satdep. 215s Preparing to unpack .../8-1-autopkgtest-satdep.deb ... 215s Unpacking autopkgtest-satdep (0) ... 215s Setting up python3-iniconfig (1.1.1-2) ... 215s Setting up libtommath1:ppc64el (1.2.1-2build1) ... 215s Setting up python3-psutil (5.9.8-2build2) ... 215s Setting up python3-packaging (24.0-1) ... 215s Setting up python3-pluggy (1.4.0-1) ... 215s Setting up libtomcrypt1:ppc64el (1.18.2+dfsg-7build1) ... 215s Setting up dropbear-bin (2022.83-4) ... 215s Setting up python3-pytest (7.4.4-1) ... 216s Setting up autopkgtest-satdep (0) ... 216s Processing triggers for man-db (2.12.0-4build2) ... 217s Processing triggers for libc-bin (2.39-0ubuntu8) ... 219s (Reading database ... 72283 files and directories currently installed.) 219s Removing autopkgtest-satdep (0) ... 220s autopkgtest [18:08:26]: test upstream-tests: [----------------------- 220s Generating 256 bit ecdsa key, this may take a while... 220s Generating 256 bit ecdsa key, this may take a while... 220s Generating 256 bit ecdsa key, this may take a while... 220s Generating 256 bit ecdsa key, this may take a while... 220s Generating 256 bit ecdsa key, this may take a while... 220s Public key portion is: 220s ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKjKURyrvoQod+nzJ2lEzNfYOP7ci1Z/6D3I7pn+XPEt2TeO3AQVt5VGBgudythcCKtoXHEpy3xajUVUxtfvilg= ubuntu@autopkgtest 220s Fingerprint: SHA256:gZGUGCGEbQcMLGC3ih7KK72phtn2ronzFCi0SebCgv4 220s ============================= test session starts ============================== 220s platform linux -- Python 3.12.3, pytest-7.4.4, pluggy-1.4.0 220s rootdir: /tmp/autopkgtest.uPvest/build.N7W/src/test 220s collected 54 items 220s 221s test_aslr.py . [ 1%] 230s test_channels.py .x...................FFF.. [ 50%] 241s test_dropbearconvert.py .......s................ [ 94%] 241s test_svrauth.py ... [100%] 241s 241s =================================== FAILURES =================================== 241s ___________________________ test_tcpflushout[L-4000] ___________________________ 241s 241s request = > 241s dropbear = 241s size = 4000, fwd_flag = 'L' 241s 241s @pytest.mark.parametrize("size", [1, 4000, 40000]) 241s @pytest.mark.parametrize("fwd_flag", "LR") 241s def test_tcpflushout(request, dropbear, size, fwd_flag): 241s """ Tests that an opened TCP connection prevent a SSH session from being closed 241s until that TCP connection has finished transferring 241s """ 241s opt = request.config.option 241s if opt.remote: 241s pytest.xfail("don't know address for remote") 241s 241s dat1 = os.urandom(size) 241s dat2 = os.urandom(size) 241s q = queue.Queue() 241s with HandleTcp(3344, timeout=1, response=q) as tcp: 241s 241s r = dbclient(request, f"-{fwd_flag}", "7788:localhost:3344", "sleep 1; echo -n done", 241s text=True, background=True, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) 241s # time to let the listener start 241s time.sleep(1) 241s # open a tcp connection 241s c = socket.create_connection(("localhost", 7788)) 241s 241s # wait for the shell to finish. sleep a bit longer in case it exits. 241s assert r.stdout.read(4) == "done" 241s time.sleep(0.1) 241s 241s # now the shell has finished, we can write on the tcp socket 241s c.sendall(dat2) 241s c.shutdown(socket.SHUT_WR) 241s q.put(dat1) 241s 241s # return a tcp response 241s q.put(None) 241s # check hasn't exited 241s > assert r.poll() == None 241s E AssertionError: assert 0 == None 241s E + where 0 = >() 241s E + where > = .poll 241s 241s test_channels.py:126: AssertionError 241s __________________________ test_tcpflushout[L-40000] ___________________________ 241s 241s request = > 241s dropbear = 241s size = 40000, fwd_flag = 'L' 241s 241s @pytest.mark.parametrize("size", [1, 4000, 40000]) 241s @pytest.mark.parametrize("fwd_flag", "LR") 241s def test_tcpflushout(request, dropbear, size, fwd_flag): 241s """ Tests that an opened TCP connection prevent a SSH session from being closed 241s until that TCP connection has finished transferring 241s """ 241s opt = request.config.option 241s if opt.remote: 241s pytest.xfail("don't know address for remote") 241s 241s dat1 = os.urandom(size) 241s dat2 = os.urandom(size) 241s q = queue.Queue() 241s > with HandleTcp(3344, timeout=1, response=q) as tcp: 241s 241s test_channels.py:105: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s test_dropbear.py:85: in __init__ 241s super().__init__(('localhost', port), self.Handler) 241s /usr/lib/python3.12/socketserver.py:457: in __init__ 241s self.server_bind() 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s 241s def server_bind(self): 241s """Called by constructor to bind the socket. 241s 241s May be overridden. 241s 241s """ 241s if self.allow_reuse_address and hasattr(socket, "SO_REUSEADDR"): 241s self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 241s if self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT"): 241s self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) 241s > self.socket.bind(self.server_address) 241s E OSError: [Errno 98] Address already in use 241s 241s /usr/lib/python3.12/socketserver.py:473: OSError 241s ____________________________ test_tcpflushout[R-1] _____________________________ 241s 241s request = > 241s dropbear = 241s size = 1, fwd_flag = 'R' 241s 241s @pytest.mark.parametrize("size", [1, 4000, 40000]) 241s @pytest.mark.parametrize("fwd_flag", "LR") 241s def test_tcpflushout(request, dropbear, size, fwd_flag): 241s """ Tests that an opened TCP connection prevent a SSH session from being closed 241s until that TCP connection has finished transferring 241s """ 241s opt = request.config.option 241s if opt.remote: 241s pytest.xfail("don't know address for remote") 241s 241s dat1 = os.urandom(size) 241s dat2 = os.urandom(size) 241s q = queue.Queue() 241s > with HandleTcp(3344, timeout=1, response=q) as tcp: 241s 241s test_channels.py:105: 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s test_dropbear.py:85: in __init__ 241s super().__init__(('localhost', port), self.Handler) 241s /usr/lib/python3.12/socketserver.py:457: in __init__ 241s self.server_bind() 241s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241s 241s self = 241s 241s def server_bind(self): 241s """Called by constructor to bind the socket. 241s 241s May be overridden. 241s 241s """ 241s if self.allow_reuse_address and hasattr(socket, "SO_REUSEADDR"): 241s self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 241s if self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT"): 241s self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) 241s > self.socket.bind(self.server_address) 241s E OSError: [Errno 98] Address already in use 241s 241s /usr/lib/python3.12/socketserver.py:473: OSError 241s =========================== short test summary info ============================ 241s FAILED test_channels.py::test_tcpflushout[L-4000] - AssertionError: assert 0 ... 241s FAILED test_channels.py::test_tcpflushout[L-40000] - OSError: [Errno 98] Addr... 241s FAILED test_channels.py::test_tcpflushout[R-1] - OSError: [Errno 98] Address ... 241s ============= 3 failed, 49 passed, 1 skipped, 1 xfailed in 21.17s ============== 242s autopkgtest [18:08:48]: test upstream-tests: -----------------------] 242s autopkgtest [18:08:48]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 242s upstream-tests FAIL non-zero exit status 1 243s autopkgtest [18:08:49]: @@@@@@@@@@@@@@@@@@@@ summary 243s remote-unlocking SKIP Test lists explicitly supported architectures, but the current architecture ppc64el isn't listed. 243s remote-unlocking SKIP Test lists explicitly supported architectures, but the current architecture ppc64el isn't listed. 243s upstream-tests FAIL non-zero exit status 1 254s Creating nova instance adt-noble-ppc64el-dropbear-20240419-180445-juju-7f2275-prod-proposed-migration-environment-3-68fb7bc5-07b8-4391-9d0f-48b0ced40411 from image adt/ubuntu-noble-ppc64el-server-20240419.img (UUID b7a0af62-4a88-423a-a98e-eb9a30e958ea)...