0s autopkgtest [22:38:36]: starting date and time: 2024-07-18 22:38:36+0000 0s autopkgtest [22:38:36]: git checkout: fd3bed09 nova: allow more retries for quota issues 0s autopkgtest [22:38:36]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.5svgxg_v/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ubuntu-advantage-tools --apt-upgrade wsl-pro-service --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=ubuntu-advantage-tools/33.2~24.04' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-3.secgroup --name adt-noble-amd64-wsl-pro-service-20240718-223836-juju-7f2275-prod-proposed-migration-environment-2-576629ad-b189-4bd7-b3e4-cd9eae7cbf6f --image adt/ubuntu-noble-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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,keyserver.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/ 48s autopkgtest [22:39:24]: testbed dpkg architecture: amd64 48s autopkgtest [22:39:24]: testbed apt version: 2.7.14build2 48s autopkgtest [22:39:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup 48s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [265 kB] 48s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [9944 B] 48s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [5700 B] 48s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [33.0 kB] 48s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 Packages [74.2 kB] 48s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main i386 Packages [24.4 kB] 48s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 c-n-f Metadata [2480 B] 48s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted i386 Packages [1176 B] 48s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 Packages [44.5 kB] 48s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 c-n-f Metadata [116 B] 48s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe i386 Packages [26.6 kB] 48s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 Packages [42.3 kB] 48s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 c-n-f Metadata [1840 B] 48s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 c-n-f Metadata [116 B] 51s Fetched 532 kB in 0s (1728 kB/s) 51s Reading package lists... 52s Reading package lists... 52s Building dependency tree... 52s Reading state information... 53s Calculating upgrade... 53s The following packages will be upgraded: 53s ubuntu-pro-client ubuntu-pro-client-l10n xkb-data 53s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 53s Need to get 648 kB of archives. 53s After this operation, 25.6 kB of additional disk space will be used. 53s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 ubuntu-pro-client-l10n amd64 33.2~24.04 [19.3 kB] 53s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 ubuntu-pro-client amd64 33.2~24.04 [231 kB] 53s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 xkb-data all 2.41-2ubuntu1.1 [397 kB] 53s Fetched 648 kB in 0s (20.9 MB/s) 54s (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 ... 105550 files and directories currently installed.) 54s Preparing to unpack .../ubuntu-pro-client-l10n_33.2~24.04_amd64.deb ... 54s Unpacking ubuntu-pro-client-l10n (33.2~24.04) over (32.3.1~24.04) ... 54s Preparing to unpack .../ubuntu-pro-client_33.2~24.04_amd64.deb ... 54s Unpacking ubuntu-pro-client (33.2~24.04) over (32.3.1~24.04) ... 54s Preparing to unpack .../xkb-data_2.41-2ubuntu1.1_all.deb ... 54s Unpacking xkb-data (2.41-2ubuntu1.1) over (2.41-2ubuntu1) ... 54s Setting up xkb-data (2.41-2ubuntu1.1) ... 54s Setting up ubuntu-pro-client (33.2~24.04) ... 54s Installing new version of config file /etc/apparmor.d/ubuntu_pro_apt_news ... 56s Setting up ubuntu-pro-client-l10n (33.2~24.04) ... 56s Processing triggers for man-db (2.12.0-4build2) ... 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 57s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 57s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 57s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 59s Reading package lists... 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 60s Calculating upgrade... 60s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 60s Reading package lists... 60s Building dependency tree... 60s Reading state information... 60s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 60s autopkgtest [22:39:36]: rebooting testbed after setup commands that affected boot 64s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 76s autopkgtest [22:39:52]: testbed running kernel: Linux 6.8.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:25:01 UTC 2024 77s autopkgtest [22:39:53]: @@@@@@@@@@@@@@@@@@@@ apt-source wsl-pro-service 78s Get:1 http://ftpmaster.internal/ubuntu noble/main wsl-pro-service 0.1.4 (dsc) [1420 B] 78s Get:2 http://ftpmaster.internal/ubuntu noble/main wsl-pro-service 0.1.4 (tar) [1762 kB] 78s gpgv: Signature made Fri Apr 19 05:59:17 2024 UTC 78s gpgv: using DSA key DD00EF8F4D23C30D78EC990998B24A9CE4AC208E 78s gpgv: Can't check signature: No public key 78s dpkg-source: warning: cannot verify inline signature for ./wsl-pro-service_0.1.4.dsc: no acceptable signature found 78s autopkgtest [22:39:54]: testing package wsl-pro-service version 0.1.4 78s autopkgtest [22:39:54]: build not needed 79s autopkgtest [22:39:55]: test command1: preparing testbed 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 80s Starting pkgProblemResolver with broken count: 0 80s Starting 2 pkgProblemResolver with broken count: 0 80s Done 80s The following additional packages will be installed: 80s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 80s cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit dh-apport 80s dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ g++-13 80s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 80s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext golang-1.22-go 80s golang-1.22-src golang-go golang-src intltool-debian libarchive-zip-perl 80s libasan8 libatomic1 libcc1-0 libdebhelper-perl 80s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 80s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libsub-override-perl 80s libtool libtsan2 libubsan1 m4 po-debconf 80s Suggested packages: 80s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-13-locales 80s cpp-13-doc dh-make g++-multilib g++-13-multilib gcc-13-doc gcc-multilib 80s manpages-dev flex bison gdb gcc-doc gcc-13-multilib gdb-x86-64-linux-gnu 80s gettext-doc libasprintf-dev libgettextpo-dev bzr | brz git mercurial 80s subversion libstdc++-13-doc libtool-doc gfortran | fortran95-compiler 80s gcj-jdk m4-doc libmail-box-perl 80s Recommended packages: 80s pkg-config libarchive-cpio-perl libltdl-dev libmail-sendmail-perl 80s The following NEW packages will be installed: 80s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 80s cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 80s dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ g++-13 80s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 80s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext golang-1.22-go 80s golang-1.22-src golang-go golang-src intltool-debian libarchive-zip-perl 80s libasan8 libatomic1 libcc1-0 libdebhelper-perl 80s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 80s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libsub-override-perl 80s libtool libtsan2 libubsan1 m4 po-debconf 80s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 80s Need to get 112 MB/112 MB of archives. 80s After this operation, 462 MB of additional disk space will be used. 80s Get:1 /tmp/autopkgtest.p9vS67/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [760 B] 80s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 80s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 autoconf all 2.71-3 [339 kB] 80s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 autotools-dev all 20220109.1 [44.9 kB] 80s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 80s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 autopoint all 0.21-14ubuntu2 [422 kB] 80s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13-base amd64 13.2.0-23ubuntu4 [49.0 kB] 80s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 libisl23 amd64 0.26-3build1 [680 kB] 80s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 libmpc3 amd64 1.3.1-1build1 [54.5 kB] 80s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [11.2 MB] 80s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13 amd64 13.2.0-23ubuntu4 [1032 B] 80s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B] 80s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB] 80s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 libcc1-0 amd64 14-20240412-0ubuntu1 [47.7 kB] 80s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 libgomp1 amd64 14-20240412-0ubuntu1 [147 kB] 80s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 libitm1 amd64 14-20240412-0ubuntu1 [28.9 kB] 80s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 libatomic1 amd64 14-20240412-0ubuntu1 [10.4 kB] 80s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 libasan8 amd64 14-20240412-0ubuntu1 [3024 kB] 80s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 liblsan0 amd64 14-20240412-0ubuntu1 [1313 kB] 80s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 libtsan2 amd64 14-20240412-0ubuntu1 [2736 kB] 80s Get:21 http://ftpmaster.internal/ubuntu noble/main amd64 libubsan1 amd64 14-20240412-0ubuntu1 [1175 kB] 80s Get:22 http://ftpmaster.internal/ubuntu noble/main amd64 libhwasan0 amd64 14-20240412-0ubuntu1 [1632 kB] 80s Get:23 http://ftpmaster.internal/ubuntu noble/main amd64 libquadmath0 amd64 14-20240412-0ubuntu1 [153 kB] 80s Get:24 http://ftpmaster.internal/ubuntu noble/main amd64 libgcc-13-dev amd64 13.2.0-23ubuntu4 [2688 kB] 80s Get:25 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [21.9 MB] 81s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13 amd64 13.2.0-23ubuntu4 [482 kB] 81s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B] 81s Get:28 http://ftpmaster.internal/ubuntu noble/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B] 81s Get:29 http://ftpmaster.internal/ubuntu noble/main amd64 libstdc++-13-dev amd64 13.2.0-23ubuntu4 [2399 kB] 81s Get:30 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [12.5 MB] 81s Get:31 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13 amd64 13.2.0-23ubuntu4 [14.5 kB] 81s Get:32 http://ftpmaster.internal/ubuntu noble/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B] 81s Get:33 http://ftpmaster.internal/ubuntu noble/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B] 81s Get:34 http://ftpmaster.internal/ubuntu noble/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 81s Get:35 http://ftpmaster.internal/ubuntu noble/main amd64 libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 81s Get:36 http://ftpmaster.internal/ubuntu noble/main amd64 libtool all 2.4.7-7build1 [166 kB] 81s Get:37 http://ftpmaster.internal/ubuntu noble/main amd64 dh-autoreconf all 20 [16.1 kB] 81s Get:38 http://ftpmaster.internal/ubuntu noble/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 81s Get:39 http://ftpmaster.internal/ubuntu noble/main amd64 libsub-override-perl all 0.10-1 [10.0 kB] 81s Get:40 http://ftpmaster.internal/ubuntu noble/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 81s Get:41 http://ftpmaster.internal/ubuntu noble/main amd64 dh-strip-nondeterminism all 1.13.1-1 [5362 B] 81s Get:42 http://ftpmaster.internal/ubuntu noble/main amd64 debugedit amd64 1:5.0-5build2 [46.1 kB] 81s Get:43 http://ftpmaster.internal/ubuntu noble/main amd64 dwz amd64 0.15-1build6 [115 kB] 81s Get:44 http://ftpmaster.internal/ubuntu noble/main amd64 gettext amd64 0.21-14ubuntu2 [864 kB] 81s Get:45 http://ftpmaster.internal/ubuntu noble/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 81s Get:46 http://ftpmaster.internal/ubuntu noble/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 81s Get:47 http://ftpmaster.internal/ubuntu noble/main amd64 debhelper all 13.14.1ubuntu5 [869 kB] 81s Get:48 http://ftpmaster.internal/ubuntu noble-updates/universe amd64 dh-apport all 2.28.1-0ubuntu3 [17.2 kB] 81s Get:49 http://ftpmaster.internal/ubuntu noble-updates/main amd64 golang-1.22-src all 1.22.2-2ubuntu0.1 [19.7 MB] 81s Get:50 http://ftpmaster.internal/ubuntu noble-updates/main amd64 golang-1.22-go amd64 1.22.2-2ubuntu0.1 [25.9 MB] 81s Get:51 http://ftpmaster.internal/ubuntu noble/main amd64 golang-src all 2:1.22~2build1 [5078 B] 81s Get:52 http://ftpmaster.internal/ubuntu noble/main amd64 golang-go amd64 2:1.22~2build1 [43.9 kB] 81s Get:53 http://ftpmaster.internal/ubuntu noble/main amd64 dh-golang all 1.62 [25.2 kB] 82s Fetched 112 MB in 1s (106 MB/s) 82s Selecting previously unselected package m4. 82s (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 ... 105551 files and directories currently installed.) 82s Preparing to unpack .../00-m4_1.4.19-4build1_amd64.deb ... 82s Unpacking m4 (1.4.19-4build1) ... 82s Selecting previously unselected package autoconf. 82s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 82s Unpacking autoconf (2.71-3) ... 82s Selecting previously unselected package autotools-dev. 82s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 82s Unpacking autotools-dev (20220109.1) ... 82s Selecting previously unselected package automake. 82s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 82s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 82s Selecting previously unselected package autopoint. 82s Preparing to unpack .../04-autopoint_0.21-14ubuntu2_all.deb ... 82s Unpacking autopoint (0.21-14ubuntu2) ... 82s Selecting previously unselected package gcc-13-base:amd64. 82s Preparing to unpack .../05-gcc-13-base_13.2.0-23ubuntu4_amd64.deb ... 82s Unpacking gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 82s Selecting previously unselected package libisl23:amd64. 82s Preparing to unpack .../06-libisl23_0.26-3build1_amd64.deb ... 82s Unpacking libisl23:amd64 (0.26-3build1) ... 82s Selecting previously unselected package libmpc3:amd64. 82s Preparing to unpack .../07-libmpc3_1.3.1-1build1_amd64.deb ... 82s Unpacking libmpc3:amd64 (1.3.1-1build1) ... 82s Selecting previously unselected package cpp-13-x86-64-linux-gnu. 82s Preparing to unpack .../08-cpp-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 82s Unpacking cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 82s Selecting previously unselected package cpp-13. 82s Preparing to unpack .../09-cpp-13_13.2.0-23ubuntu4_amd64.deb ... 82s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 82s Selecting previously unselected package cpp-x86-64-linux-gnu. 82s Preparing to unpack .../10-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 82s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 82s Selecting previously unselected package cpp. 82s Preparing to unpack .../11-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ... 82s Unpacking cpp (4:13.2.0-7ubuntu1) ... 82s Selecting previously unselected package libcc1-0:amd64. 82s Preparing to unpack .../12-libcc1-0_14-20240412-0ubuntu1_amd64.deb ... 82s Unpacking libcc1-0:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package libgomp1:amd64. 83s Preparing to unpack .../13-libgomp1_14-20240412-0ubuntu1_amd64.deb ... 83s Unpacking libgomp1:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package libitm1:amd64. 83s Preparing to unpack .../14-libitm1_14-20240412-0ubuntu1_amd64.deb ... 83s Unpacking libitm1:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package libatomic1:amd64. 83s Preparing to unpack .../15-libatomic1_14-20240412-0ubuntu1_amd64.deb ... 83s Unpacking libatomic1:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package libasan8:amd64. 83s Preparing to unpack .../16-libasan8_14-20240412-0ubuntu1_amd64.deb ... 83s Unpacking libasan8:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package liblsan0:amd64. 83s Preparing to unpack .../17-liblsan0_14-20240412-0ubuntu1_amd64.deb ... 83s Unpacking liblsan0:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package libtsan2:amd64. 83s Preparing to unpack .../18-libtsan2_14-20240412-0ubuntu1_amd64.deb ... 83s Unpacking libtsan2:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package libubsan1:amd64. 83s Preparing to unpack .../19-libubsan1_14-20240412-0ubuntu1_amd64.deb ... 83s Unpacking libubsan1:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package libhwasan0:amd64. 83s Preparing to unpack .../20-libhwasan0_14-20240412-0ubuntu1_amd64.deb ... 83s Unpacking libhwasan0:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package libquadmath0:amd64. 83s Preparing to unpack .../21-libquadmath0_14-20240412-0ubuntu1_amd64.deb ... 83s Unpacking libquadmath0:amd64 (14-20240412-0ubuntu1) ... 83s Selecting previously unselected package libgcc-13-dev:amd64. 83s Preparing to unpack .../22-libgcc-13-dev_13.2.0-23ubuntu4_amd64.deb ... 83s Unpacking libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 83s Selecting previously unselected package gcc-13-x86-64-linux-gnu. 83s Preparing to unpack .../23-gcc-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 83s Unpacking gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 83s Selecting previously unselected package gcc-13. 83s Preparing to unpack .../24-gcc-13_13.2.0-23ubuntu4_amd64.deb ... 83s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 83s Selecting previously unselected package gcc-x86-64-linux-gnu. 83s Preparing to unpack .../25-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 83s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 83s Selecting previously unselected package gcc. 83s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ... 83s Unpacking gcc (4:13.2.0-7ubuntu1) ... 84s Selecting previously unselected package libstdc++-13-dev:amd64. 84s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-23ubuntu4_amd64.deb ... 84s Unpacking libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 84s Selecting previously unselected package g++-13-x86-64-linux-gnu. 84s Preparing to unpack .../28-g++-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 84s Unpacking g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 84s Selecting previously unselected package g++-13. 84s Preparing to unpack .../29-g++-13_13.2.0-23ubuntu4_amd64.deb ... 84s Unpacking g++-13 (13.2.0-23ubuntu4) ... 84s Selecting previously unselected package g++-x86-64-linux-gnu. 84s Preparing to unpack .../30-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 84s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 84s Selecting previously unselected package g++. 84s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_amd64.deb ... 84s Unpacking g++ (4:13.2.0-7ubuntu1) ... 84s Selecting previously unselected package build-essential. 84s Preparing to unpack .../32-build-essential_12.10ubuntu1_amd64.deb ... 84s Unpacking build-essential (12.10ubuntu1) ... 84s Selecting previously unselected package libdebhelper-perl. 84s Preparing to unpack .../33-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 84s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 84s Selecting previously unselected package libtool. 84s Preparing to unpack .../34-libtool_2.4.7-7build1_all.deb ... 84s Unpacking libtool (2.4.7-7build1) ... 84s Selecting previously unselected package dh-autoreconf. 84s Preparing to unpack .../35-dh-autoreconf_20_all.deb ... 84s Unpacking dh-autoreconf (20) ... 84s Selecting previously unselected package libarchive-zip-perl. 84s Preparing to unpack .../36-libarchive-zip-perl_1.68-1_all.deb ... 84s Unpacking libarchive-zip-perl (1.68-1) ... 84s Selecting previously unselected package libsub-override-perl. 84s Preparing to unpack .../37-libsub-override-perl_0.10-1_all.deb ... 84s Unpacking libsub-override-perl (0.10-1) ... 84s Selecting previously unselected package libfile-stripnondeterminism-perl. 84s Preparing to unpack .../38-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 84s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 84s Selecting previously unselected package dh-strip-nondeterminism. 84s Preparing to unpack .../39-dh-strip-nondeterminism_1.13.1-1_all.deb ... 84s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 84s Selecting previously unselected package debugedit. 84s Preparing to unpack .../40-debugedit_1%3a5.0-5build2_amd64.deb ... 84s Unpacking debugedit (1:5.0-5build2) ... 84s Selecting previously unselected package dwz. 84s Preparing to unpack .../41-dwz_0.15-1build6_amd64.deb ... 84s Unpacking dwz (0.15-1build6) ... 84s Selecting previously unselected package gettext. 84s Preparing to unpack .../42-gettext_0.21-14ubuntu2_amd64.deb ... 84s Unpacking gettext (0.21-14ubuntu2) ... 84s Selecting previously unselected package intltool-debian. 84s Preparing to unpack .../43-intltool-debian_0.35.0+20060710.6_all.deb ... 84s Unpacking intltool-debian (0.35.0+20060710.6) ... 84s Selecting previously unselected package po-debconf. 84s Preparing to unpack .../44-po-debconf_1.0.21+nmu1_all.deb ... 84s Unpacking po-debconf (1.0.21+nmu1) ... 85s Selecting previously unselected package debhelper. 85s Preparing to unpack .../45-debhelper_13.14.1ubuntu5_all.deb ... 85s Unpacking debhelper (13.14.1ubuntu5) ... 85s Selecting previously unselected package dh-apport. 85s Preparing to unpack .../46-dh-apport_2.28.1-0ubuntu3_all.deb ... 85s Unpacking dh-apport (2.28.1-0ubuntu3) ... 85s Selecting previously unselected package golang-1.22-src. 85s Preparing to unpack .../47-golang-1.22-src_1.22.2-2ubuntu0.1_all.deb ... 85s Unpacking golang-1.22-src (1.22.2-2ubuntu0.1) ... 87s Selecting previously unselected package golang-1.22-go. 87s Preparing to unpack .../48-golang-1.22-go_1.22.2-2ubuntu0.1_amd64.deb ... 87s Unpacking golang-1.22-go (1.22.2-2ubuntu0.1) ... 87s Selecting previously unselected package golang-src. 87s Preparing to unpack .../49-golang-src_2%3a1.22~2build1_all.deb ... 87s Unpacking golang-src (2:1.22~2build1) ... 87s Selecting previously unselected package golang-go:amd64. 87s Preparing to unpack .../50-golang-go_2%3a1.22~2build1_amd64.deb ... 87s Unpacking golang-go:amd64 (2:1.22~2build1) ... 87s Selecting previously unselected package dh-golang. 87s Preparing to unpack .../51-dh-golang_1.62_all.deb ... 87s Unpacking dh-golang (1.62) ... 88s Selecting previously unselected package autopkgtest-satdep. 88s Preparing to unpack .../52-1-autopkgtest-satdep.deb ... 88s Unpacking autopkgtest-satdep (0) ... 88s Setting up libarchive-zip-perl (1.68-1) ... 88s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 88s Setting up m4 (1.4.19-4build1) ... 88s Setting up libgomp1:amd64 (14-20240412-0ubuntu1) ... 88s Setting up dh-apport (2.28.1-0ubuntu3) ... 88s Setting up autotools-dev (20220109.1) ... 88s Setting up gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 88s Setting up golang-1.22-src (1.22.2-2ubuntu0.1) ... 88s Setting up libquadmath0:amd64 (14-20240412-0ubuntu1) ... 88s Setting up libmpc3:amd64 (1.3.1-1build1) ... 88s Setting up libatomic1:amd64 (14-20240412-0ubuntu1) ... 88s Setting up autopoint (0.21-14ubuntu2) ... 88s Setting up autoconf (2.71-3) ... 88s Setting up libubsan1:amd64 (14-20240412-0ubuntu1) ... 88s Setting up dwz (0.15-1build6) ... 88s Setting up libhwasan0:amd64 (14-20240412-0ubuntu1) ... 88s Setting up libasan8:amd64 (14-20240412-0ubuntu1) ... 88s Setting up debugedit (1:5.0-5build2) ... 88s Setting up libsub-override-perl (0.10-1) ... 88s Setting up libtsan2:amd64 (14-20240412-0ubuntu1) ... 88s Setting up libisl23:amd64 (0.26-3build1) ... 88s Setting up golang-src (2:1.22~2build1) ... 88s Setting up libcc1-0:amd64 (14-20240412-0ubuntu1) ... 88s Setting up liblsan0:amd64 (14-20240412-0ubuntu1) ... 88s Setting up libitm1:amd64 (14-20240412-0ubuntu1) ... 88s Setting up automake (1:1.16.5-1.3ubuntu1) ... 88s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 88s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 88s Setting up gettext (0.21-14ubuntu2) ... 88s Setting up cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 88s Setting up golang-1.22-go (1.22.2-2ubuntu0.1) ... 88s Setting up intltool-debian (0.35.0+20060710.6) ... 88s Setting up dh-strip-nondeterminism (1.13.1-1) ... 88s Setting up libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 88s Setting up libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 88s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 88s Setting up cpp-13 (13.2.0-23ubuntu4) ... 88s Setting up golang-go:amd64 (2:1.22~2build1) ... 88s Setting up gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 88s Setting up po-debconf (1.0.21+nmu1) ... 88s Setting up gcc-13 (13.2.0-23ubuntu4) ... 88s Setting up cpp (4:13.2.0-7ubuntu1) ... 88s Setting up g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 88s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 88s Setting up libtool (2.4.7-7build1) ... 88s Setting up gcc (4:13.2.0-7ubuntu1) ... 88s Setting up dh-autoreconf (20) ... 88s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 88s Setting up g++-13 (13.2.0-23ubuntu4) ... 88s Setting up debhelper (13.14.1ubuntu5) ... 88s Setting up g++ (4:13.2.0-7ubuntu1) ... 88s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 88s Setting up build-essential (12.10ubuntu1) ... 88s Setting up dh-golang (1.62) ... 88s Setting up autopkgtest-satdep (0) ... 88s Processing triggers for man-db (2.12.0-4build2) ... 89s Processing triggers for install-info (7.1-3build2) ... 89s Processing triggers for libc-bin (2.39-0ubuntu8.2) ... 91s (Reading database ... 122232 files and directories currently installed.) 91s Removing autopkgtest-satdep (0) ... 92s autopkgtest [22:40:08]: test command1: ./debian/tests/test 92s autopkgtest [22:40:08]: test command1: [----------------------- 126s === RUN TestRunSignal 126s === RUN TestRunSignal/Send_SIGINT_exits 126s INFO Starting WSL Pro Service version Dev 126s === RUN TestRunSignal/Send_SIGTERM_exits 126s INFO Starting WSL Pro Service version Dev 126s --- PASS: TestRunSignal (0.20s) 126s --- PASS: TestRunSignal/Send_SIGINT_exits (0.10s) 126s --- PASS: TestRunSignal/Send_SIGTERM_exits (0.10s) 126s === RUN TestRun 126s === PAUSE TestRun 126s === CONT TestRun 126s === RUN TestRun/Run_and_usage_error_only_does_not_fail 126s === PAUSE TestRun/Run_and_usage_error_only_does_not_fail 126s === RUN TestRun/Run_and_exit_successfully 126s === PAUSE TestRun/Run_and_exit_successfully 126s === RUN TestRun/Run_and_return_error 126s === PAUSE TestRun/Run_and_return_error 126s === RUN TestRun/Run_and_return_usage_error 126s === PAUSE TestRun/Run_and_return_usage_error 126s === CONT TestRun/Run_and_usage_error_only_does_not_fail 126s INFO Starting WSL Pro Service version Dev 126s === CONT TestRun/Run_and_return_usage_error 126s INFO Starting WSL Pro Service version Dev 126s ERROR context.Background Error requested 126s === CONT TestRun/Run_and_return_error 126s === CONT TestRun/Run_and_exit_successfully 126s INFO Starting WSL Pro Service version Dev 126s INFO Starting WSL Pro Service version Dev 126s ERROR context.Background Error requested 126s --- PASS: TestRun (0.00s) 126s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 126s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 126s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 126s --- PASS: TestRun/Run_and_return_error (0.10s) 126s PASS 126s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/cmd/wsl-pro-service 0.410s 127s ? github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/generate/doc [no test files] 137s ? github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/consts [no test files] 139s === RUN TestHelp 139s --- PASS: TestHelp (0.00s) 139s === RUN TestCompletion 139s --- PASS: TestCompletion (0.00s) 139s === RUN TestVersion 139s --- PASS: TestVersion (0.00s) 139s === RUN TestNoUsageError 139s --- PASS: TestNoUsageError (0.00s) 139s === RUN TestUsageError 139s === PAUSE TestUsageError 139s === RUN TestCanQuitWhenExecute 139s === PAUSE TestCanQuitWhenExecute 139s === RUN TestCanQuitTwice 139s === PAUSE TestCanQuitTwice 139s === RUN TestAppCanQuitWithoutExecute 139s === PAUSE TestAppCanQuitWithoutExecute 139s === RUN TestAppRunFailsOnComponentsCreationAndQuit 139s === PAUSE TestAppRunFailsOnComponentsCreationAndQuit 139s === RUN TestAppGetRootCmd 139s === PAUSE TestAppGetRootCmd 139s === RUN TestWithProMock 139s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 139s --- SKIP: TestWithProMock (0.00s) 139s === RUN TestWithWslPathMock 139s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 139s --- SKIP: TestWithWslPathMock (0.00s) 139s === RUN TestWithWslInfoMock 139s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 139s --- SKIP: TestWithWslInfoMock (0.00s) 139s === RUN TestWithCmdExeMock 139s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 139s --- SKIP: TestWithCmdExeMock (0.00s) 139s === CONT TestUsageError 139s === CONT TestAppCanQuitWithoutExecute 139s service_test.go:140: This test is skipped because it is flaky. There is no way to guarantee Quit has been called before run. 139s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 139s === CONT TestAppGetRootCmd 139s --- PASS: TestUsageError (0.00s) 139s === CONT TestCanQuitTwice 139s --- PASS: TestAppGetRootCmd (0.00s) 139s === CONT TestAppRunFailsOnComponentsCreationAndQuit 139s time="2024-07-18T22:40:43Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/testutils/mock_agent.go:76 NewMockWindowsAgent.func1() MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:33307" 139s time="2024-07-18T22:40:43Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/cmd/wsl-pro-service/service/service.go:66 New.func1() Debug mode is enabled" 139s time="2024-07-18T22:40:43Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:75 New() Building new daemon" 139s --- PASS: TestAppRunFailsOnComponentsCreationAndQuit (6.67s) 139s === CONT TestCanQuitWhenExecute 139s time="2024-07-18T22:40:49Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/cmd/wsl-pro-service/service/service.go:66 New.func1() Debug mode is enabled" 139s time="2024-07-18T22:40:49Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:75 New() Building new daemon" 139s time="2024-07-18T22:40:51Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/streams/server.go:141 (*Server).Serve() Server: sent preface messages to all streams" 139s time="2024-07-18T22:40:51Z" level=warning msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:186 (*Daemon).Serve.func1() Daemon: disconnected from Windows host" 139s time="2024-07-18T22:40:51Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:209 (*Daemon).Serve() Reconnecting to Windows host in 1 seconds" 139s time="2024-07-18T22:40:51Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 139s time="2024-07-18T22:40:51Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 139s time="2024-07-18T22:40:51Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 139s time="2024-07-18T22:40:51Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 139s time="2024-07-18T22:40:51Z" level=warning msg="context.Background rpc error: code = Canceled desc = context canceled" func=github.com/ubuntu/decorate.LogOnErrorContext file="/tmp/autopkgtest.p9vS67/build.Dbv/src/vendor/github.com/ubuntu/decorate/decorate.go:27" 139s time="2024-07-18T22:40:51Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 139s time="2024-07-18T22:40:51Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 139s time="2024-07-18T22:40:51Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 139s time="2024-07-18T22:40:51Z" level=warning msg="context.Background rpc error: code = Canceled desc = context canceled" func=github.com/ubuntu/decorate.LogOnErrorContext file="/tmp/autopkgtest.p9vS67/build.Dbv/src/vendor/github.com/ubuntu/decorate/decorate.go:27" 139s time="2024-07-18T22:40:51Z" level=warning msg="context.Background rpc error: code = Canceled desc = context canceled" func=github.com/ubuntu/decorate.LogOnErrorContext file="/tmp/autopkgtest.p9vS67/build.Dbv/src/vendor/github.com/ubuntu/decorate/decorate.go:27" 139s --- PASS: TestCanQuitTwice (8.89s) 139s time="2024-07-18T22:40:53Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:153 (*Daemon).Serve.func1() Daemon: connecting to Windows Agent" 139s time="2024-07-18T22:40:54Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 139s time="2024-07-18T22:40:54Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 139s time="2024-07-18T22:40:55Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:288 (*Daemon).connect() Daemon: starting connection to Windows Agent via 127.0.0.1:32849" 139s time="2024-07-18T22:40:55Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:173 (*Daemon).Serve.func1() Daemon: completed connection to Windows Agent" 139s time="2024-07-18T22:40:55Z" level=warning msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:184 (*Daemon).Serve.func1() Daemon: disconnected from Windows host: could not start serving: could not connect: could not connect to GRPC service: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:32849: connect: connection refused\"" 139s time="2024-07-18T22:40:55Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:209 (*Daemon).Serve() Reconnecting to Windows host in 1 seconds" 139s time="2024-07-18T22:40:55Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 139s time="2024-07-18T22:40:55Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 139s time="2024-07-18T22:40:55Z" level=info msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 139s time="2024-07-18T22:40:55Z" level=debug msg="/tmp/autopkgtest.p9vS67/build.Dbv/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 139s --- PASS: TestCanQuitWhenExecute (5.26s) 139s PASS 139s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/cmd/wsl-pro-service/service 11.953s 139s === RUN TestApplyProToken 139s === PAUSE TestApplyProToken 139s === RUN TestApplyLandscapeConfig 139s === PAUSE TestApplyLandscapeConfig 139s === RUN TestWithProMock 139s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 139s --- SKIP: TestWithProMock (0.00s) 139s === RUN TestWithLandscapeConfigMock 139s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 139s --- SKIP: TestWithLandscapeConfigMock (0.00s) 139s === RUN TestWithWslPathMock 139s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 139s --- SKIP: TestWithWslPathMock (0.00s) 139s === RUN TestWithWslInfoMock 139s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 139s --- SKIP: TestWithWslInfoMock (0.00s) 139s === RUN TestWithCmdExeMock 139s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 139s --- SKIP: TestWithCmdExeMock (0.00s) 139s === CONT TestApplyProToken 139s === RUN TestApplyProToken/Success_attaching 139s === PAUSE TestApplyProToken/Success_attaching 139s === RUN TestApplyProToken/Success_detaching 139s === PAUSE TestApplyProToken/Success_detaching 139s === RUN TestApplyProToken/Error_calling_pro_detach 139s === PAUSE TestApplyProToken/Error_calling_pro_detach 139s === RUN TestApplyProToken/Error_calling_pro_attach 139s === PAUSE TestApplyProToken/Error_calling_pro_attach 139s === CONT TestApplyProToken/Success_attaching 139s === CONT TestApplyLandscapeConfig 139s === RUN TestApplyLandscapeConfig/Error_calling_landscape_enable 139s === PAUSE TestApplyLandscapeConfig/Error_calling_landscape_enable 139s === RUN TestApplyLandscapeConfig/Success_enabling_Landscape 139s === PAUSE TestApplyLandscapeConfig/Success_enabling_Landscape 139s === RUN TestApplyLandscapeConfig/Success_disabling_Landscape 139s === PAUSE TestApplyLandscapeConfig/Success_disabling_Landscape 139s === RUN TestApplyLandscapeConfig/Error_calling_landscape_disable 139s === PAUSE TestApplyLandscapeConfig/Error_calling_landscape_disable 139s === CONT TestApplyProToken/Error_calling_pro_attach 139s time="2024-07-18T22:40:44Z" level=info msg="ApplyProToken: Received token \"12**bc\": attaching" 139s time="2024-07-18T22:40:44Z" level=info msg="ApplyProToken: Received token \"12**bc\": attaching" 139s === CONT TestApplyProToken/Error_calling_pro_detach 139s time="2024-07-18T22:40:47Z" level=info msg="ApplyProToken: Received token \"12**bc\": attaching" 139s === CONT TestApplyProToken/Success_detaching 139s time="2024-07-18T22:40:48Z" level=info msg="ApplyProToken: Received empty token: detaching" 139s === CONT TestApplyLandscapeConfig/Error_calling_landscape_enable 139s time="2024-07-18T22:40:49Z" level=info msg="ApplyLandscapeConfig: received config: registering" 139s --- PASS: TestApplyProToken (0.00s) 139s --- PASS: TestApplyProToken/Success_attaching (3.57s) 139s --- PASS: TestApplyProToken/Error_calling_pro_attach (3.99s) 139s --- PASS: TestApplyProToken/Error_calling_pro_detach (2.00s) 139s --- PASS: TestApplyProToken/Success_detaching (1.75s) 139s === CONT TestApplyLandscapeConfig/Error_calling_landscape_disable 139s time="2024-07-18T22:40:49Z" level=info msg="ApplyLandscapeConfig: received empty config: disabling" 139s === CONT TestApplyLandscapeConfig/Success_disabling_Landscape 139s time="2024-07-18T22:40:51Z" level=info msg="ApplyLandscapeConfig: received empty config: disabling" 139s === CONT TestApplyLandscapeConfig/Success_enabling_Landscape 139s time="2024-07-18T22:40:51Z" level=info msg="ApplyLandscapeConfig: received config: registering" 139s --- PASS: TestApplyLandscapeConfig (0.00s) 139s --- PASS: TestApplyLandscapeConfig/Error_calling_landscape_enable (1.90s) 139s --- PASS: TestApplyLandscapeConfig/Error_calling_landscape_disable (1.81s) 139s --- PASS: TestApplyLandscapeConfig/Success_enabling_Landscape (1.34s) 139s --- PASS: TestApplyLandscapeConfig/Success_disabling_Landscape (1.44s) 139s PASS 139s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/commandservice 8.922s 202s ? github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/testutils [no test files] 256s === RUN TestNew 256s === PAUSE TestNew 256s === RUN TestServe 256s === PAUSE TestServe 256s === RUN TestServeAndQuit 256s === PAUSE TestServeAndQuit 256s === RUN TestReconnection 256s === PAUSE TestReconnection 256s === RUN TestWithProMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithProMock (0.00s) 256s === RUN TestWithWslPathMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithWslPathMock (0.00s) 256s === RUN TestWithWslInfoMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithWslInfoMock (0.00s) 256s === RUN TestWithCmdExeMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithCmdExeMock (0.00s) 256s === CONT TestNew 256s === RUN TestNew/Error_when_WslPath_returns_error 256s === PAUSE TestNew/Error_when_WslPath_returns_error 256s === RUN TestNew/Success 256s === PAUSE TestNew/Success 256s === CONT TestNew/Error_when_WslPath_returns_error 256s time="2024-07-18T22:40:54Z" level=debug msg="Building new daemon" 256s === CONT TestServeAndQuit 256s === RUN TestServeAndQuit/Success_with_double_quit 256s === PAUSE TestServeAndQuit/Success_with_double_quit 256s === RUN TestServeAndQuit/Error_due_to_quitting_before_serving 256s === PAUSE TestServeAndQuit/Error_due_to_quitting_before_serving 256s === RUN TestServeAndQuit/Success_with_graceful_quit 256s === PAUSE TestServeAndQuit/Success_with_graceful_quit 256s === RUN TestServeAndQuit/Success_with_forceful_quit 256s === PAUSE TestServeAndQuit/Success_with_forceful_quit 256s === CONT TestServeAndQuit/Success_with_double_quit 256s time="2024-07-18T22:40:54Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:40283" 256s time="2024-07-18T22:40:54Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:40:56Z" level=debug msg="Ready state sent to systemd" 256s time="2024-07-18T22:40:56Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:40:56Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s === CONT TestServe 256s === RUN TestServe/No_connection_because_the_port_file_does_not_exist 256s === PAUSE TestServe/No_connection_because_the_port_file_does_not_exist 256s === RUN TestServe/No_connection_because_the_port_file_is_empty 256s === PAUSE TestServe/No_connection_because_the_port_file_is_empty 256s === RUN TestServe/No_connection_because_the_port_file_has_a_bad_port 256s === PAUSE TestServe/No_connection_because_the_port_file_has_a_bad_port 256s === RUN TestServe/No_connection_because_the_port_file_has_port_0 256s === PAUSE TestServe/No_connection_because_the_port_file_has_port_0 256s === RUN TestServe/No_connection_because_the_port_file_has_a_negative_port 256s === PAUSE TestServe/No_connection_because_the_port_file_has_a_negative_port 256s === RUN TestServe/Error_because_the_notifier_returns_an_error 256s === PAUSE TestServe/Error_because_the_notifier_returns_an_error 256s === RUN TestServe/Success 256s === PAUSE TestServe/Success 256s === RUN TestServe/Success_with_systemd_notifier_returning_true 256s === PAUSE TestServe/Success_with_systemd_notifier_returning_true 256s === RUN TestServe/Error_because_WindowsHostAddress_returns_an_error 256s === PAUSE TestServe/Error_because_WindowsHostAddress_returns_an_error 256s === RUN TestServe/No_connection_because_cannot_read_root_CA_certificate_file 256s === PAUSE TestServe/No_connection_because_cannot_read_root_CA_certificate_file 256s === RUN TestServe/Error_because_the_context_is_pre-cancelled 256s === PAUSE TestServe/Error_because_the_context_is_pre-cancelled 256s === RUN TestServe/No_connection_because_there_is_no_server 256s === PAUSE TestServe/No_connection_because_there_is_no_server 256s === RUN TestServe/No_connection_because_there_are_no_certificates 256s === PAUSE TestServe/No_connection_because_there_are_no_certificates 256s === CONT TestNew/Success 256s time="2024-07-18T22:40:56Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:40:58Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:40283" 256s time="2024-07-18T22:40:58Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:40:58Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:40:58Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:40:58Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:41:00Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:41:00Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:41:00Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:41:00Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s --- PASS: TestNew (0.00s) 256s --- PASS: TestNew/Error_when_WslPath_returns_error (2.80s) 256s --- PASS: TestNew/Success (3.52s) 256s === CONT TestServeAndQuit/Success_with_forceful_quit 256s time="2024-07-18T22:41:00Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:45521" 256s time="2024-07-18T22:41:00Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:00Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:00Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:00Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:41:00Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:00Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:41:00Z" level=debug msg="Updated systemd status to \"Stopped\"" 256s time="2024-07-18T22:41:00Z" level=debug msg="All connections have now ended." 256s time="2024-07-18T22:41:00Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:00Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:00Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:00Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:00Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:00Z" level=debug msg="All connections have now ended." 256s === CONT TestReconnection 256s === RUN TestReconnection/Success_connecting_after_previous_connection_dropped 256s === PAUSE TestReconnection/Success_connecting_after_previous_connection_dropped 256s === RUN TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped 256s === PAUSE TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped 256s === RUN TestReconnection/Success_connecting_after_failing_to_connect 256s === PAUSE TestReconnection/Success_connecting_after_failing_to_connect 256s === CONT TestServeAndQuit/Success_with_graceful_quit 256s time="2024-07-18T22:41:00Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:39937" 256s time="2024-07-18T22:41:00Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:03Z" level=debug msg="Ready state sent to systemd" 256s time="2024-07-18T22:41:03Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:03Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:41:03Z" level=debug msg="Ready state sent to systemd" 256s time="2024-07-18T22:41:03Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:03Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:41:04Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:39937" 256s time="2024-07-18T22:41:04Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:41:04Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:41:04Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:41:04Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:41:04Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:45521" 256s time="2024-07-18T22:41:04Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:41:04Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:41:04Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:41:04Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:41:06Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:41:06Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:41:06Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:41:06Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:41:06Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:41:06Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:41:06Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:41:06Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:41:06Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:06Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:06Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:41:06Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:06Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:41:06Z" level=debug msg="Updated systemd status to \"Stopped\"" 256s time="2024-07-18T22:41:06Z" level=debug msg="All connections have now ended." 256s time="2024-07-18T22:41:06Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:06Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:06Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:06Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:06Z" level=info msg="Stopping active requests." 256s time="2024-07-18T22:41:06Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:41:06Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:06Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:41:06Z" level=debug msg="Updated systemd status to \"Stopped\"" 256s time="2024-07-18T22:41:06Z" level=debug msg="All connections have now ended." 256s time="2024-07-18T22:41:06Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:06Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:06Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s === CONT TestServeAndQuit/Error_due_to_quitting_before_serving 256s time="2024-07-18T22:41:06Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:34847" 256s time="2024-07-18T22:41:06Z" level=debug msg="Building new daemon" 256s === CONT TestServe/No_connection_because_the_port_file_does_not_exist 256s time="2024-07-18T22:41:06Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:46779" 256s time="2024-07-18T22:41:06Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:08Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:08Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:08Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:08Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:08Z" level=debug msg="Updated systemd status to \"Stopped\"" 256s === CONT TestServe/No_connection_because_there_are_no_certificates 256s --- PASS: TestServeAndQuit (0.00s) 256s --- PASS: TestServeAndQuit/Success_with_double_quit (6.47s) 256s --- PASS: TestServeAndQuit/Success_with_graceful_quit (5.70s) 256s --- PASS: TestServeAndQuit/Success_with_forceful_quit (5.85s) 256s --- PASS: TestServeAndQuit/Error_due_to_quitting_before_serving (2.08s) 256s time="2024-07-18T22:41:08Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:34325" 256s time="2024-07-18T22:41:08Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:08Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:08Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not read agent port file \"/tmp/TestServeNo_connection_because_the_port_file_does_not_exist3868204120/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestServeNo_connection_because_the_port_file_does_not_exist3868204120/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 256s time="2024-07-18T22:41:08Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:09Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:09Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:09Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/No_connection_because_there_is_no_server 256s time="2024-07-18T22:41:09Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:38765" 256s time="2024-07-18T22:41:09Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:10Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:11Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:34325" 256s time="2024-07-18T22:41:11Z" level=warning msg="Daemon: could not connect to Windows Agent: open /tmp/TestServeNo_connection_because_there_are_no_certificates3438686129/001/mnt/d/Users/TestUser/.ubuntupro/certs/client_cert.pem: no such file or directory" 256s time="2024-07-18T22:41:11Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:11Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:12Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:38765" 256s time="2024-07-18T22:41:12Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:41:12Z" level=warning msg="Daemon: disconnected from Windows host: could not start serving: could not connect: could not connect to GRPC service: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:38765: connect: connection refused\"" 256s time="2024-07-18T22:41:12Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:12Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:12Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:12Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/Error_because_the_context_is_pre-cancelled 256s time="2024-07-18T22:41:12Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:41493" 256s time="2024-07-18T22:41:12Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:12Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:12Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:12Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/No_connection_because_cannot_read_root_CA_certificate_file 256s time="2024-07-18T22:41:12Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:44069" 256s time="2024-07-18T22:41:12Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:14Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:14Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:14Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/Error_because_WindowsHostAddress_returns_an_error 256s time="2024-07-18T22:41:14Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:37791" 256s time="2024-07-18T22:41:14Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:14Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:15Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:44069" 256s time="2024-07-18T22:41:15Z" level=warning msg="Daemon: could not connect to Windows Agent: open /tmp/TestServeNo_connection_because_cannot_read_root_CA_certificate_file3200423408/001/mnt/d/Users/TestUser/.ubuntupro/certs/ca_cert.pem: no such file or directory" 256s time="2024-07-18T22:41:15Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:15Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:15Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:15Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/Success_with_systemd_notifier_returning_true 256s time="2024-07-18T22:41:15Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:44261" 256s time="2024-07-18T22:41:15Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:16Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:17Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:17Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:17Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/Success 256s time="2024-07-18T22:41:17Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:35447" 256s time="2024-07-18T22:41:17Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:17Z" level=debug msg="Ready state sent to systemd" 256s time="2024-07-18T22:41:17Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:17Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:41:18Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:44261" 256s time="2024-07-18T22:41:18Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:41:18Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:41:18Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:41:18Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:41:19Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:19Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:41:19Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:41:19Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:41:19Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:41:19Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:35447" 256s time="2024-07-18T22:41:19Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:41:19Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:41:19Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:41:20Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:20Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:20Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:41:20Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:20Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:41:20Z" level=debug msg="Updated systemd status to \"Stopped\"" 256s time="2024-07-18T22:41:20Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/Error_because_the_notifier_returns_an_error 256s time="2024-07-18T22:41:20Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:20Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:20Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:20Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:42267" 256s time="2024-07-18T22:41:20Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:20Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:41:20Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:41:20Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:41:20Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:41:21Z" level=warning msg="Daemon: couldn't update systemd status to \"Stopped\": mock error" 256s time="2024-07-18T22:41:21Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:21Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:21Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/No_connection_because_the_port_file_has_a_negative_port 256s time="2024-07-18T22:41:21Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:33393" 256s time="2024-07-18T22:41:21Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:22Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:22Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:22Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:41:22Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:22Z" level=debug msg="All connections have now ended." 256s time="2024-07-18T22:41:22Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s === CONT TestServe/No_connection_because_the_port_file_has_port_0 256s time="2024-07-18T22:41:22Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:22Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:22Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:46097" 256s time="2024-07-18T22:41:22Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:23Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:23Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not parse port from \"127.0.0.1:-5\": port cannot be negative" 256s time="2024-07-18T22:41:23Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:23Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:23Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not parse port from \"127.0.0.1:0\": port cannot be zero" 256s time="2024-07-18T22:41:23Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:24Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:24Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not parse port from \"127.0.0.1:-5\": port cannot be negative" 256s time="2024-07-18T22:41:24Z" level=info msg="Reconnecting to Windows host in 2 seconds" 256s time="2024-07-18T22:41:24Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:24Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:24Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/No_connection_because_the_port_file_has_a_bad_port 256s time="2024-07-18T22:41:24Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:42111" 256s time="2024-07-18T22:41:24Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:24Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:24Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not parse port from \"127.0.0.1:0\": port cannot be zero" 256s time="2024-07-18T22:41:24Z" level=info msg="Reconnecting to Windows host in 2 seconds" 256s time="2024-07-18T22:41:24Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:24Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:24Z" level=debug msg="All connections have now ended." 256s === CONT TestServe/No_connection_because_the_port_file_is_empty 256s time="2024-07-18T22:41:24Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:42323" 256s time="2024-07-18T22:41:24Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:27Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:27Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not parse port from \"127.0.0.1:portyMcPortface\": could not parse port as an integer: strconv.Atoi: parsing \"portyMcPortface\": invalid syntax" 256s time="2024-07-18T22:41:27Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:28Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:28Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not parse port from \"\": could not split address: missing port in address" 256s time="2024-07-18T22:41:28Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:28Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:28Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:28Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not parse port from \"127.0.0.1:portyMcPortface\": could not parse port as an integer: strconv.Atoi: parsing \"portyMcPortface\": invalid syntax" 256s time="2024-07-18T22:41:28Z" level=info msg="Reconnecting to Windows host in 2 seconds" 256s time="2024-07-18T22:41:28Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:28Z" level=debug msg="All connections have now ended." 256s === CONT TestReconnection/Success_connecting_after_previous_connection_dropped 256s time="2024-07-18T22:41:28Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:29Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:29Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not parse port from \"\": could not split address: missing port in address" 256s time="2024-07-18T22:41:29Z" level=info msg="Reconnecting to Windows host in 2 seconds" 256s time="2024-07-18T22:41:29Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:29Z" level=info msg="Waiting for active requests to close." 256s time="2024-07-18T22:41:29Z" level=debug msg="All connections have now ended." 256s --- PASS: TestServe (0.00s) 256s --- PASS: TestServe/No_connection_because_the_port_file_does_not_exist (3.13s) 256s --- PASS: TestServe/No_connection_because_there_are_no_certificates (3.69s) 256s --- PASS: TestServe/No_connection_because_there_is_no_server (2.87s) 256s --- PASS: TestServe/Error_because_the_context_is_pre-cancelled (2.02s) 256s --- PASS: TestServe/No_connection_because_cannot_read_root_CA_certificate_file (3.06s) 256s --- PASS: TestServe/Error_because_WindowsHostAddress_returns_an_error (3.12s) 256s --- PASS: TestServe/Success_with_systemd_notifier_returning_true (4.89s) 256s --- PASS: TestServe/Error_because_the_notifier_returns_an_error (1.40s) 256s --- PASS: TestServe/Success (4.96s) 256s --- PASS: TestServe/No_connection_because_the_port_file_has_a_negative_port (2.70s) 256s --- PASS: TestServe/No_connection_because_the_port_file_has_port_0 (2.70s) 256s --- PASS: TestServe/No_connection_because_the_port_file_has_a_bad_port (4.09s) 256s --- PASS: TestServe/No_connection_because_the_port_file_is_empty (4.38s) 256s === CONT TestReconnection/Success_connecting_after_failing_to_connect 256s time="2024-07-18T22:41:29Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:32Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:36137" 256s time="2024-07-18T22:41:32Z" level=debug msg="Ready state sent to systemd" 256s time="2024-07-18T22:41:32Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:32Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:41:32Z" level=debug msg="Ready state sent to systemd" 256s time="2024-07-18T22:41:32Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:32Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:41:32Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not read agent port file \"/tmp/TestReconnectionSuccess_connecting_after_failing_to_connect3716244767/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestReconnectionSuccess_connecting_after_failing_to_connect3716244767/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 256s time="2024-07-18T22:41:32Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:32Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:41:33Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:38065" 256s time="2024-07-18T22:41:33Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:33Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:41:34Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:36137" 256s time="2024-07-18T22:41:34Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:41:34Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:41:34Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:41:34Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:41:35Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:38065" 256s time="2024-07-18T22:41:35Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:41:35Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:41:35Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:41:35Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:41:36Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:41:36Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:41:36Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:41:36Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:41:36Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:41:36Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:41:36Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:41:36Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:36Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:36Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:36Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:41691" 256s time="2024-07-18T22:41:37Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:37Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:41:37Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:41:37Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:41:37Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:41:37Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:41:37Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:37Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:37Z" level=info msg="Stopping active requests." 256s time="2024-07-18T22:41:37Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:37Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:37Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:41:37Z" level=info msg="Reconnecting to Windows host in 2 seconds" 256s time="2024-07-18T22:41:37Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:41:37Z" level=debug msg="Updated systemd status to \"Stopped\"" 256s time="2024-07-18T22:41:37Z" level=debug msg="All connections have now ended." 256s === CONT TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped 256s time="2024-07-18T22:41:37Z" level=debug msg="Building new daemon" 256s time="2024-07-18T22:41:39Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:41691" 256s time="2024-07-18T22:41:39Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:41:39Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:41:39Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:41:39Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:41:41Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:41:41Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:41:41Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:41:41Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:41:41Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:41925" 256s time="2024-07-18T22:41:41Z" level=debug msg="Ready state sent to systemd" 256s time="2024-07-18T22:41:41Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:41:41Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:41:41Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:41Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:41:41Z" level=info msg="Stopping active requests." 256s time="2024-07-18T22:41:41Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:41Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:41Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:41:41Z" level=info msg="Reconnecting to Windows host in 2 seconds" 256s time="2024-07-18T22:41:41Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:41:41Z" level=debug msg="Updated systemd status to \"Stopped\"" 256s time="2024-07-18T22:41:41Z" level=debug msg="All connections have now ended." 256s time="2024-07-18T22:41:42Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:41925" 256s time="2024-07-18T22:41:42Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:41:42Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:41:42Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:41:42Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:41:44Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:41:44Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:41:44Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:41:44Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:42:49Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:42:49Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:42:49Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:42:49Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:33531" 256s time="2024-07-18T22:42:49Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:42:49Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:42:49Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:42:49Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:41925" 256s time="2024-07-18T22:42:49Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:42:49Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:42:49Z" level=warning msg="Daemon: disconnected from Windows host: could not start serving: could not connect: could not connect to GRPC service: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:41925: connect: connection refused\"" 256s time="2024-07-18T22:42:49Z" level=info msg="Reconnecting to Windows host in 1 seconds" 256s time="2024-07-18T22:42:49Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:42:50Z" level=info msg="Daemon: connecting to Windows Agent" 256s time="2024-07-18T22:42:50Z" level=debug msg="Updated systemd status to \"Connecting\"" 256s time="2024-07-18T22:42:51Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:33531" 256s time="2024-07-18T22:42:51Z" level=info msg="Daemon: completed connection to Windows Agent" 256s time="2024-07-18T22:42:51Z" level=debug msg="Updated systemd status to \"Connected\"" 256s time="2024-07-18T22:42:51Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 256s time="2024-07-18T22:42:51Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 256s time="2024-07-18T22:42:52Z" level=debug msg="Server: sent preface messages to all streams" 256s time="2024-07-18T22:42:52Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:42:52Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:42:52Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:42:52Z" level=info msg="Stopping daemon requested." 256s time="2024-07-18T22:42:52Z" level=info msg="Stopping active requests." 256s time="2024-07-18T22:42:52Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:42:52Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:42:52Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:42:52Z" level=warning msg="Daemon: disconnected from Windows host" 256s time="2024-07-18T22:42:52Z" level=info msg="Reconnecting to Windows host in 2 seconds" 256s time="2024-07-18T22:42:52Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 256s time="2024-07-18T22:42:52Z" level=debug msg="Updated systemd status to \"Stopped\"" 256s time="2024-07-18T22:42:52Z" level=debug msg="All connections have now ended." 256s --- PASS: TestReconnection (0.00s) 256s --- PASS: TestReconnection/Success_connecting_after_failing_to_connect (8.48s) 256s --- PASS: TestReconnection/Success_connecting_after_previous_connection_dropped (12.91s) 256s --- PASS: TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped (74.44s) 256s PASS 256s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/daemon 118.034s 256s === RUN TestConnect 256s === PAUSE TestConnect 256s === RUN TestSendAndRecv 256s --- PASS: TestSendAndRecv (0.40s) 256s === RUN TestServe 256s === PAUSE TestServe 256s === RUN TestStop 256s === PAUSE TestStop 256s === RUN TestWithProMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithProMock (0.00s) 256s === RUN TestWithWslPathMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithWslPathMock (0.00s) 256s === RUN TestWithWslInfoMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithWslInfoMock (0.00s) 256s === RUN TestWithCmdExeMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithCmdExeMock (0.00s) 256s === CONT TestConnect 256s === CONT TestStop 256s === RUN TestConnect/Success 256s === PAUSE TestConnect/Success 256s === RUN TestConnect/Error_dialing_an_address_that_is_not_serving 256s === PAUSE TestConnect/Error_dialing_an_address_that_is_not_serving 256s === CONT TestServe 256s time="2024-07-18T22:40:56Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:38491" 256s time="2024-07-18T22:40:56Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:37937" 256s time="2024-07-18T22:40:59Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:40:59Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:40:59Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:40:59Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 256s time="2024-07-18T22:40:59Z" level=info msg="MockWindowsAgent: Connected ready" 256s time="2024-07-18T22:40:59Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 256s time="2024-07-18T22:41:03Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:03Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:03Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s --- PASS: TestServe (6.89s) 256s === CONT TestConnect/Success 256s === CONT TestConnect/Error_dialing_an_address_that_is_not_serving 256s time="2024-07-18T22:41:09Z" level=warning msg="Streamserver: could not gather info after command completion: could not obtain pro status: pro status: /usr/bin/bash: error: context canceled.\n Stdout: \n Stderr: " 256s time="2024-07-18T22:41:09Z" level=warning msg="Streamserver: could not stream back info after command completion" 256s time="2024-07-18T22:41:09Z" level=warning msg="Streamserver: could not gather info after command completion: could not obtain pro status: pro status: /usr/bin/bash: error: context canceled.\n Stdout: \n Stderr: " 256s time="2024-07-18T22:41:09Z" level=warning msg="Streamserver: could not stream back info after command completion" 256s time="2024-07-18T22:41:09Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 256s time="2024-07-18T22:41:09Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 256s === NAME TestStop 256s server_test.go:137: 256s Error Trace: /tmp/autopkgtest.p9vS67/build.Dbv/src/internal/streams/server_test.go:137 256s Error: An error is expected but got nil. 256s Test: TestStop 256s Messages: Stop should have interrupted the unary calls 256s time="2024-07-18T22:41:09Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 256s --- FAIL: TestStop (12.21s) 256s --- PASS: TestConnect (0.00s) 256s --- PASS: TestConnect/Success (0.30s) 256s --- PASS: TestConnect/Error_dialing_an_address_that_is_not_serving (20.01s) 256s FAIL 256s FAIL github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/streams 27.611s 256s === RUN TestInfo 256s === PAUSE TestInfo 256s === RUN TestWslDistroName 256s === PAUSE TestWslDistroName 256s === RUN TestUserProfileDir 256s === PAUSE TestUserProfileDir 256s === RUN TestProStatus 256s === PAUSE TestProStatus 256s === RUN TestProAttach 256s === PAUSE TestProAttach 256s === RUN TestProDetach 256s === PAUSE TestProDetach 256s === RUN TestLandscapeEnable 256s === PAUSE TestLandscapeEnable 256s === RUN TestWindowsHostAddress 256s === PAUSE TestWindowsHostAddress 256s === RUN TestLandscapeDisable 256s === PAUSE TestLandscapeDisable 256s === RUN TestRealBackend 256s === PAUSE TestRealBackend 256s === RUN TestWithProMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithProMock (0.00s) 256s === RUN TestWithLandscapeConfigMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithLandscapeConfigMock (0.00s) 256s === RUN TestWithWslPathMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithWslPathMock (0.00s) 256s === RUN TestWithWslInfoMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithWslInfoMock (0.00s) 256s === RUN TestWithCmdExeMock 256s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 256s --- SKIP: TestWithCmdExeMock (0.00s) 256s === CONT TestInfo 256s === RUN TestInfo/Success 256s === PAUSE TestInfo/Success 256s === RUN TestInfo/Error_when_WslDistroName_fails 256s === CONT TestProDetach 256s === RUN TestProDetach/error_on_'pro_detach'_error_and_some_reason 256s === PAUSE TestProDetach/error_on_'pro_detach'_error_and_some_reason 256s === PAUSE TestInfo/Error_when_WslDistroName_fails 256s === RUN TestInfo/Error_when_pro_status_command_fails 256s === RUN TestProDetach/error_on_'pro_detach'_error_with_bad_JSON 256s === PAUSE TestInfo/Error_when_pro_status_command_fails 256s === PAUSE TestProDetach/error_on_'pro_detach'_error_with_bad_JSON 256s === RUN TestInfo/Error_when_pro_status_output_cannot_be_parsed 256s === PAUSE TestInfo/Error_when_pro_status_output_cannot_be_parsed 256s === RUN TestProDetach/success_on_unattached_distro 256s === PAUSE TestProDetach/success_on_unattached_distro 256s === RUN TestProDetach/success_on_attached_distro 256s === PAUSE TestProDetach/success_on_attached_distro 256s === RUN TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason 256s === PAUSE TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason 256s === CONT TestRealBackend 256s === RUN TestInfo/Error_when_/etc/os-release_cannot_be_read 256s === PAUSE TestInfo/Error_when_/etc/os-release_cannot_be_read 256s === RUN TestInfo/Error_whem_/etc/os-release_returns_bad_contents 256s === PAUSE TestInfo/Error_whem_/etc/os-release_returns_bad_contents 256s === RUN TestInfo/Error_when_hostname_cannot_be_obtained 256s --- PASS: TestRealBackend (0.00s) 256s === PAUSE TestInfo/Error_when_hostname_cannot_be_obtained 256s === CONT TestLandscapeDisable 256s === CONT TestWindowsHostAddress 256s === RUN TestLandscapeDisable/Success 256s === RUN TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback 256s === PAUSE TestLandscapeDisable/Success 256s === PAUSE TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback 256s === RUN TestLandscapeDisable/Error_when_the_landscape-config_command_fails 256s === RUN TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback 256s === PAUSE TestLandscapeDisable/Error_when_the_landscape-config_command_fails 256s === CONT TestLandscapeEnable 256s === RUN TestLandscapeEnable/Success 256s === PAUSE TestLandscapeEnable/Success 256s === RUN TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 256s === PAUSE TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 256s === RUN TestLandscapeEnable/Error_when_the_config_file_cannot_be_written 256s === PAUSE TestLandscapeEnable/Error_when_the_config_file_cannot_be_written 256s === RUN TestLandscapeEnable/Error_when_the_file_cannot_be_parsed 256s === PAUSE TestLandscapeEnable/Error_when_the_file_cannot_be_parsed 256s === RUN TestLandscapeEnable/Error_when_the_landscape-config_command_fails 256s === PAUSE TestLandscapeEnable/Error_when_the_landscape-config_command_fails 256s === PAUSE TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback 256s === RUN TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path 256s === PAUSE TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path 256s === RUN TestWindowsHostAddress/Error_when_wslinfo_returns_an_error 256s === RUN TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist 256s === PAUSE TestWindowsHostAddress/Error_when_wslinfo_returns_an_error 256s === RUN TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed 256s === PAUSE TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist 256s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed 256s === RUN TestLandscapeEnable/Success_overriding_computer_title 256s === RUN TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP 256s === PAUSE TestLandscapeEnable/Success_overriding_computer_title 256s === RUN TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 256s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP 256s === PAUSE TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 256s === RUN TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 256s === RUN TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist 256s === PAUSE TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 256s === CONT TestProStatus 256s === RUN TestProStatus/error_on_'pro_attach'_returning_bad_output 256s === PAUSE TestProStatus/error_on_'pro_attach'_returning_bad_output 256s === RUN TestProStatus/error_on_'pro_attach'_error 256s === PAUSE TestProStatus/error_on_'pro_attach'_error 256s === RUN TestProStatus/success_on_unattached_distro 256s === PAUSE TestProStatus/success_on_unattached_distro 256s === RUN TestProStatus/success_on_attached_distro 256s === PAUSE TestProStatus/success_on_attached_distro 256s === CONT TestProAttach 256s === RUN TestProAttach/success 256s === PAUSE TestProAttach/success 256s === RUN TestProAttach/error_on_'pro_attach'_error 256s === PAUSE TestProAttach/error_on_'pro_attach'_error 256s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist 256s === CONT TestUserProfileDir 256s === RUN TestWindowsHostAddress/Success_without_NAT 256s === RUN TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts 256s === PAUSE TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts 256s === PAUSE TestWindowsHostAddress/Success_without_NAT 256s === RUN TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed 256s === RUN TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts 256s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed 256s === PAUSE TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts 256s === RUN TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP 256s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP 256s === RUN TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts 256s === RUN TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist 256s === PAUSE TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts 256s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist 256s === RUN TestUserProfileDir/Error_on_wslpath_error 256s === CONT TestWslDistroName 256s === PAUSE TestUserProfileDir/Error_on_wslpath_error 256s === RUN TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME 256s === RUN TestUserProfileDir/Error_when_wslpath_returns_a_bad_path 256s === PAUSE TestUserProfileDir/Error_when_wslpath_returns_a_bad_path 256s === RUN TestUserProfileDir/Success_with_cached_cmd.exe_path 256s === PAUSE TestUserProfileDir/Success_with_cached_cmd.exe_path 256s === RUN TestUserProfileDir/Success_with_a_single_9P_filesystem_mount 256s === PAUSE TestUserProfileDir/Success_with_a_single_9P_filesystem_mount 256s === RUN TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts 256s === PAUSE TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME 256s === PAUSE TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts 256s === RUN TestUserProfileDir/Error_when_cmd.exe_does_not_exist 256s === RUN TestWslDistroName/Success_using_wslpath 256s === PAUSE TestUserProfileDir/Error_when_cmd.exe_does_not_exist 256s === RUN TestUserProfileDir/Error_on_cmd.exe_error 256s === PAUSE TestUserProfileDir/Error_on_cmd.exe_error 256s === CONT TestProDetach/error_on_'pro_detach'_error_and_some_reason 256s === PAUSE TestWslDistroName/Success_using_wslpath 256s === RUN TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails 256s === PAUSE TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails 256s === RUN TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text 256s === PAUSE TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text 256s === CONT TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason 256s === CONT TestProDetach/success_on_attached_distro 256s === CONT TestProDetach/success_on_unattached_distro 256s === CONT TestProDetach/error_on_'pro_detach'_error_with_bad_JSON 256s === CONT TestInfo/Success 256s --- PASS: TestProDetach (0.00s) 256s --- PASS: TestProDetach/error_on_'pro_detach'_error_and_some_reason (2.02s) 256s --- PASS: TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason (2.05s) 256s --- PASS: TestProDetach/success_on_attached_distro (1.28s) 256s --- PASS: TestProDetach/success_on_unattached_distro (1.29s) 256s --- PASS: TestProDetach/error_on_'pro_detach'_error_with_bad_JSON (1.74s) 256s === CONT TestLandscapeDisable/Success 256s === CONT TestLandscapeDisable/Error_when_the_landscape-config_command_fails 256s === CONT TestInfo/Error_when_/etc/os-release_cannot_be_read 256s === CONT TestInfo/Error_when_hostname_cannot_be_obtained 256s --- PASS: TestLandscapeDisable (0.00s) 256s --- PASS: TestLandscapeDisable/Success (1.96s) 256s --- PASS: TestLandscapeDisable/Error_when_the_landscape-config_command_fails (2.06s) 256s === CONT TestInfo/Error_whem_/etc/os-release_returns_bad_contents 256s === CONT TestInfo/Error_when_pro_status_command_fails 256s === CONT TestInfo/Error_when_pro_status_output_cannot_be_parsed 256s === CONT TestInfo/Error_when_WslDistroName_fails 256s === CONT TestLandscapeEnable/Success 256s --- PASS: TestInfo (0.00s) 256s --- PASS: TestInfo/Success (1.97s) 256s --- PASS: TestInfo/Error_when_/etc/os-release_cannot_be_read (1.61s) 256s --- PASS: TestInfo/Error_when_hostname_cannot_be_obtained (1.66s) 256s --- PASS: TestInfo/Error_whem_/etc/os-release_returns_bad_contents (1.88s) 256s --- PASS: TestInfo/Error_when_pro_status_command_fails (1.80s) 256s --- PASS: TestInfo/Error_when_pro_status_output_cannot_be_parsed (1.83s) 256s --- PASS: TestInfo/Error_when_WslDistroName_fails (1.59s) 256s === CONT TestProStatus/error_on_'pro_attach'_returning_bad_output 256s === NAME TestLandscapeEnable/Success 256s system_test.go:456: testdata/TestLandscapeEnable/golden/success 256s === CONT TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 256s time="2024-07-18T22:41:39Z" level=info msg="Landscape config contains key \"tags\". Its value will not be overridden." 256s === CONT TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 256s === NAME TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 256s system_test.go:456: testdata/TestLandscapeEnable/golden/do_not_append_wsl_tag_when_config_tag_is_provided 256s === CONT TestLandscapeEnable/Success_overriding_computer_title 256s time="2024-07-18T22:41:41Z" level=info msg="Landscape config contains key \"computer_title\". Its value will be overridden." 256s system_test.go:456: testdata/TestLandscapeEnable/golden/success_overriding_computer_title 256s === CONT TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist 256s === CONT TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path 256s === NAME TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 256s system_test.go:456: testdata/TestLandscapeEnable/golden/success_overriding_the_ssl_certficate_path 256s === CONT TestLandscapeEnable/Error_when_the_landscape-config_command_fails 256s === CONT TestLandscapeEnable/Error_when_the_file_cannot_be_parsed 256s === CONT TestLandscapeEnable/Error_when_the_config_file_cannot_be_written 256s === CONT TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 256s time="2024-07-18T22:41:44Z" level=info msg="Landscape config contains key \"tags\". Its value will not be overridden." 256s === CONT TestProAttach/success 256s === NAME TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 256s system_test.go:456: testdata/TestLandscapeEnable/golden/do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 256s --- PASS: TestLandscapeEnable (0.00s) 256s --- PASS: TestLandscapeEnable/Success (1.60s) 256s --- PASS: TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided (1.83s) 256s --- PASS: TestLandscapeEnable/Success_overriding_computer_title (1.27s) 256s --- PASS: TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist (0.00s) 256s --- PASS: TestLandscapeEnable/Success_overriding_the_SSL_certficate_path (3.26s) 256s --- PASS: TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path (1.43s) 256s --- PASS: TestLandscapeEnable/Error_when_the_config_file_cannot_be_written (0.00s) 256s --- PASS: TestLandscapeEnable/Error_when_the_file_cannot_be_parsed (0.00s) 256s --- PASS: TestLandscapeEnable/Error_when_the_landscape-config_command_fails (1.20s) 256s --- PASS: TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty (0.93s) 256s === CONT TestProStatus/success_on_attached_distro 256s === CONT TestProStatus/success_on_unattached_distro 256s === CONT TestProStatus/error_on_'pro_attach'_error 256s === CONT TestProAttach/error_on_'pro_attach'_error 256s --- PASS: TestProStatus (0.00s) 256s --- PASS: TestProStatus/error_on_'pro_attach'_returning_bad_output (1.89s) 256s --- PASS: TestProStatus/success_on_attached_distro (0.93s) 256s --- PASS: TestProStatus/success_on_unattached_distro (0.81s) 256s --- PASS: TestProStatus/error_on_'pro_attach'_error (0.84s) 256s === CONT TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback 256s --- PASS: TestProAttach (0.00s) 256s --- PASS: TestProAttach/success (0.91s) 256s --- PASS: TestProAttach/error_on_'pro_attach'_error (0.93s) 256s === CONT TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist 256s === CONT TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP 256s === CONT TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed 256s === CONT TestWindowsHostAddress/Success_without_NAT 256s === CONT TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist 256s === CONT TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP 256s === CONT TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed 256s === CONT TestWindowsHostAddress/Error_when_wslinfo_returns_an_error 256s === CONT TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback 256s === CONT TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts 256s --- PASS: TestWindowsHostAddress (0.00s) 256s --- PASS: TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback (0.96s) 256s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist (0.85s) 256s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP (0.92s) 256s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed (0.91s) 256s --- PASS: TestWindowsHostAddress/Success_without_NAT (0.99s) 256s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist (0.88s) 256s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP (0.88s) 256s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed (0.96s) 256s --- PASS: TestWindowsHostAddress/Error_when_wslinfo_returns_an_error (0.85s) 256s --- PASS: TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback (1.05s) 256s === CONT TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME 256s === CONT TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text 256s === CONT TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails 256s === CONT TestWslDistroName/Success_using_wslpath 256s === CONT TestUserProfileDir/Success_with_cached_cmd.exe_path 256s --- PASS: TestWslDistroName (0.00s) 256s --- PASS: TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME (0.00s) 256s --- PASS: TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text (0.95s) 256s --- PASS: TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails (0.94s) 256s --- PASS: TestWslDistroName/Success_using_wslpath (0.91s) 256s === CONT TestUserProfileDir/Error_on_cmd.exe_error 256s === CONT TestUserProfileDir/Error_when_cmd.exe_does_not_exist 256s === CONT TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts 256s === CONT TestUserProfileDir/Success_with_a_single_9P_filesystem_mount 256s === CONT TestUserProfileDir/Error_on_wslpath_error 256s === CONT TestUserProfileDir/Error_when_wslpath_returns_a_bad_path 256s === CONT TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts 256s system_test.go:205: Removing default proc/mounts 256s === CONT TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts 256s system_test.go:205: Removing default proc/mounts 256s --- PASS: TestUserProfileDir (0.00s) 256s --- PASS: TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts (1.76s) 256s --- PASS: TestUserProfileDir/Error_on_cmd.exe_error (0.91s) 256s --- PASS: TestUserProfileDir/Error_when_cmd.exe_does_not_exist (0.00s) 256s --- PASS: TestUserProfileDir/Success_with_cached_cmd.exe_path (1.82s) 256s --- PASS: TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts (1.73s) 256s --- PASS: TestUserProfileDir/Success_with_a_single_9P_filesystem_mount (1.78s) 256s --- PASS: TestUserProfileDir/Error_on_wslpath_error (1.90s) 256s --- PASS: TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts (0.00s) 256s --- PASS: TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts (0.00s) 256s --- PASS: TestUserProfileDir/Error_when_wslpath_returns_a_bad_path (1.68s) 256s PASS 256s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/system 33.276s 256s FAIL 256s autopkgtest [22:42:52]: test command1: -----------------------] 256s autopkgtest [22:42:52]: test command1: - - - - - - - - - - results - - - - - - - - - - 256s command1 FAIL non-zero exit status 1 256s autopkgtest [22:42:52]: @@@@@@@@@@@@@@@@@@@@ summary 256s command1 FAIL non-zero exit status 1 267s nova [W] Skipping flock for amd64 267s Creating nova instance adt-noble-amd64-wsl-pro-service-20240718-223836-juju-7f2275-prod-proposed-migration-environment-2-576629ad-b189-4bd7-b3e4-cd9eae7cbf6f from image adt/ubuntu-noble-amd64-server-20240718.img (UUID 207d8ee6-df2e-49f4-9f7e-6e29f925b503)...