0s autopkgtest [23:14:59]: starting date and time: 2024-07-18 23:14:59+0000 0s autopkgtest [23:14:59]: git checkout: fd3bed09 nova: allow more retries for quota issues 0s autopkgtest [23:14:59]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.40e7wuc5/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-upgrade wsl-pro-service --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=migration-reference/0 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-39.secgroup --name adt-noble-amd64-wsl-pro-service-20240718-231459-juju-7f2275-prod-proposed-migration-environment-2-980ae85b-9d04-4dc7-8bf9-e26ac9490633 --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/ 38s autopkgtest [23:15:37]: testbed dpkg architecture: amd64 38s autopkgtest [23:15:37]: testbed apt version: 2.7.14build2 38s autopkgtest [23:15:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 39s Reading package lists... 39s Building dependency tree... 39s Reading state information... 39s Calculating upgrade... 39s The following packages will be upgraded: 39s xkb-data 39s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 39s Need to get 397 kB of archives. 39s After this operation, 12.3 kB of additional disk space will be used. 39s Get:1 http://ftpmaster.internal/ubuntu noble-updates/main amd64 xkb-data all 2.41-2ubuntu1.1 [397 kB] 40s Fetched 397 kB in 0s (13.7 MB/s) 40s (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.) 40s Preparing to unpack .../xkb-data_2.41-2ubuntu1.1_all.deb ... 40s Unpacking xkb-data (2.41-2ubuntu1.1) over (2.41-2ubuntu1) ... 40s Setting up xkb-data (2.41-2ubuntu1.1) ... 40s Processing triggers for man-db (2.12.0-4build2) ... 41s Reading package lists... 41s Building dependency tree... 41s Reading state information... 41s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 41s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 41s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 41s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 42s Reading package lists... 42s Reading package lists... 43s Building dependency tree... 43s Reading state information... 43s Calculating upgrade... 43s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 43s Reading package lists... 43s Building dependency tree... 43s Reading state information... 44s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 45s autopkgtest [23:15:44]: testbed running kernel: Linux 6.8.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:25:01 UTC 2024 45s autopkgtest [23:15:44]: @@@@@@@@@@@@@@@@@@@@ apt-source wsl-pro-service 45s Get:1 http://ftpmaster.internal/ubuntu noble/main wsl-pro-service 0.1.4 (dsc) [1420 B] 45s Get:2 http://ftpmaster.internal/ubuntu noble/main wsl-pro-service 0.1.4 (tar) [1762 kB] 45s gpgv: Signature made Fri Apr 19 05:59:17 2024 UTC 45s gpgv: using DSA key DD00EF8F4D23C30D78EC990998B24A9CE4AC208E 45s gpgv: Can't check signature: No public key 45s dpkg-source: warning: cannot verify inline signature for ./wsl-pro-service_0.1.4.dsc: no acceptable signature found 46s autopkgtest [23:15:45]: testing package wsl-pro-service version 0.1.4 46s autopkgtest [23:15:45]: build not needed 46s autopkgtest [23:15:45]: test command1: preparing testbed 46s Reading package lists... 47s Building dependency tree... 47s Reading state information... 47s Starting pkgProblemResolver with broken count: 0 47s Starting 2 pkgProblemResolver with broken count: 0 47s Done 47s The following additional packages will be installed: 47s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 47s cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit dh-apport 47s dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ g++-13 47s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 47s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext golang-1.22-go 47s golang-1.22-src golang-go golang-src intltool-debian libarchive-zip-perl 47s libasan8 libatomic1 libcc1-0 libdebhelper-perl 47s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 47s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libsub-override-perl 47s libtool libtsan2 libubsan1 m4 po-debconf 47s Suggested packages: 47s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-13-locales 47s cpp-13-doc dh-make g++-multilib g++-13-multilib gcc-13-doc gcc-multilib 47s manpages-dev flex bison gdb gcc-doc gcc-13-multilib gdb-x86-64-linux-gnu 47s gettext-doc libasprintf-dev libgettextpo-dev bzr | brz git mercurial 47s subversion libstdc++-13-doc libtool-doc gfortran | fortran95-compiler 47s gcj-jdk m4-doc libmail-box-perl 47s Recommended packages: 47s pkg-config libarchive-cpio-perl libltdl-dev libmail-sendmail-perl 48s The following NEW packages will be installed: 48s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 48s cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 48s dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ g++-13 48s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 48s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext golang-1.22-go 48s golang-1.22-src golang-go golang-src intltool-debian libarchive-zip-perl 48s libasan8 libatomic1 libcc1-0 libdebhelper-perl 48s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 48s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libsub-override-perl 48s libtool libtsan2 libubsan1 m4 po-debconf 48s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 48s Need to get 112 MB/112 MB of archives. 48s After this operation, 462 MB of additional disk space will be used. 48s Get:1 /tmp/autopkgtest.iVR79L/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [764 B] 48s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 48s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 autoconf all 2.71-3 [339 kB] 48s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 autotools-dev all 20220109.1 [44.9 kB] 48s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 48s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 autopoint all 0.21-14ubuntu2 [422 kB] 48s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13-base amd64 13.2.0-23ubuntu4 [49.0 kB] 48s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 libisl23 amd64 0.26-3build1 [680 kB] 48s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 libmpc3 amd64 1.3.1-1build1 [54.5 kB] 48s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [11.2 MB] 48s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13 amd64 13.2.0-23ubuntu4 [1032 B] 48s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B] 48s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB] 48s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 libcc1-0 amd64 14-20240412-0ubuntu1 [47.7 kB] 48s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 libgomp1 amd64 14-20240412-0ubuntu1 [147 kB] 48s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 libitm1 amd64 14-20240412-0ubuntu1 [28.9 kB] 48s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 libatomic1 amd64 14-20240412-0ubuntu1 [10.4 kB] 48s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 libasan8 amd64 14-20240412-0ubuntu1 [3024 kB] 48s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 liblsan0 amd64 14-20240412-0ubuntu1 [1313 kB] 48s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 libtsan2 amd64 14-20240412-0ubuntu1 [2736 kB] 48s Get:21 http://ftpmaster.internal/ubuntu noble/main amd64 libubsan1 amd64 14-20240412-0ubuntu1 [1175 kB] 48s Get:22 http://ftpmaster.internal/ubuntu noble/main amd64 libhwasan0 amd64 14-20240412-0ubuntu1 [1632 kB] 48s Get:23 http://ftpmaster.internal/ubuntu noble/main amd64 libquadmath0 amd64 14-20240412-0ubuntu1 [153 kB] 48s Get:24 http://ftpmaster.internal/ubuntu noble/main amd64 libgcc-13-dev amd64 13.2.0-23ubuntu4 [2688 kB] 48s Get:25 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [21.9 MB] 48s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13 amd64 13.2.0-23ubuntu4 [482 kB] 48s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B] 48s Get:28 http://ftpmaster.internal/ubuntu noble/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B] 48s Get:29 http://ftpmaster.internal/ubuntu noble/main amd64 libstdc++-13-dev amd64 13.2.0-23ubuntu4 [2399 kB] 48s Get:30 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [12.5 MB] 48s Get:31 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13 amd64 13.2.0-23ubuntu4 [14.5 kB] 48s Get:32 http://ftpmaster.internal/ubuntu noble/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B] 48s Get:33 http://ftpmaster.internal/ubuntu noble/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B] 48s Get:34 http://ftpmaster.internal/ubuntu noble/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 48s Get:35 http://ftpmaster.internal/ubuntu noble/main amd64 libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 48s Get:36 http://ftpmaster.internal/ubuntu noble/main amd64 libtool all 2.4.7-7build1 [166 kB] 48s Get:37 http://ftpmaster.internal/ubuntu noble/main amd64 dh-autoreconf all 20 [16.1 kB] 48s Get:38 http://ftpmaster.internal/ubuntu noble/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 48s Get:39 http://ftpmaster.internal/ubuntu noble/main amd64 libsub-override-perl all 0.10-1 [10.0 kB] 48s Get:40 http://ftpmaster.internal/ubuntu noble/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 48s Get:41 http://ftpmaster.internal/ubuntu noble/main amd64 dh-strip-nondeterminism all 1.13.1-1 [5362 B] 48s Get:42 http://ftpmaster.internal/ubuntu noble/main amd64 debugedit amd64 1:5.0-5build2 [46.1 kB] 48s Get:43 http://ftpmaster.internal/ubuntu noble/main amd64 dwz amd64 0.15-1build6 [115 kB] 48s Get:44 http://ftpmaster.internal/ubuntu noble/main amd64 gettext amd64 0.21-14ubuntu2 [864 kB] 48s Get:45 http://ftpmaster.internal/ubuntu noble/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 48s Get:46 http://ftpmaster.internal/ubuntu noble/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 48s Get:47 http://ftpmaster.internal/ubuntu noble/main amd64 debhelper all 13.14.1ubuntu5 [869 kB] 48s Get:48 http://ftpmaster.internal/ubuntu noble-updates/universe amd64 dh-apport all 2.28.1-0ubuntu3 [17.2 kB] 48s Get:49 http://ftpmaster.internal/ubuntu noble-updates/main amd64 golang-1.22-src all 1.22.2-2ubuntu0.1 [19.7 MB] 48s Get:50 http://ftpmaster.internal/ubuntu noble-updates/main amd64 golang-1.22-go amd64 1.22.2-2ubuntu0.1 [25.9 MB] 49s Get:51 http://ftpmaster.internal/ubuntu noble/main amd64 golang-src all 2:1.22~2build1 [5078 B] 49s Get:52 http://ftpmaster.internal/ubuntu noble/main amd64 golang-go amd64 2:1.22~2build1 [43.9 kB] 49s Get:53 http://ftpmaster.internal/ubuntu noble/main amd64 dh-golang all 1.62 [25.2 kB] 49s Fetched 112 MB in 1s (112 MB/s) 49s Selecting previously unselected package m4. 49s (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.) 49s Preparing to unpack .../00-m4_1.4.19-4build1_amd64.deb ... 49s Unpacking m4 (1.4.19-4build1) ... 49s Selecting previously unselected package autoconf. 49s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 49s Unpacking autoconf (2.71-3) ... 49s Selecting previously unselected package autotools-dev. 49s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 49s Unpacking autotools-dev (20220109.1) ... 49s Selecting previously unselected package automake. 49s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 49s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 49s Selecting previously unselected package autopoint. 49s Preparing to unpack .../04-autopoint_0.21-14ubuntu2_all.deb ... 49s Unpacking autopoint (0.21-14ubuntu2) ... 49s Selecting previously unselected package gcc-13-base:amd64. 49s Preparing to unpack .../05-gcc-13-base_13.2.0-23ubuntu4_amd64.deb ... 49s Unpacking gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 49s Selecting previously unselected package libisl23:amd64. 49s Preparing to unpack .../06-libisl23_0.26-3build1_amd64.deb ... 49s Unpacking libisl23:amd64 (0.26-3build1) ... 49s Selecting previously unselected package libmpc3:amd64. 49s Preparing to unpack .../07-libmpc3_1.3.1-1build1_amd64.deb ... 49s Unpacking libmpc3:amd64 (1.3.1-1build1) ... 49s Selecting previously unselected package cpp-13-x86-64-linux-gnu. 49s Preparing to unpack .../08-cpp-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 49s Unpacking cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 50s Selecting previously unselected package cpp-13. 50s Preparing to unpack .../09-cpp-13_13.2.0-23ubuntu4_amd64.deb ... 50s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 50s Selecting previously unselected package cpp-x86-64-linux-gnu. 50s Preparing to unpack .../10-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 50s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 50s Selecting previously unselected package cpp. 50s Preparing to unpack .../11-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ... 50s Unpacking cpp (4:13.2.0-7ubuntu1) ... 50s Selecting previously unselected package libcc1-0:amd64. 50s Preparing to unpack .../12-libcc1-0_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking libcc1-0:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package libgomp1:amd64. 50s Preparing to unpack .../13-libgomp1_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking libgomp1:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package libitm1:amd64. 50s Preparing to unpack .../14-libitm1_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking libitm1:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package libatomic1:amd64. 50s Preparing to unpack .../15-libatomic1_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking libatomic1:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package libasan8:amd64. 50s Preparing to unpack .../16-libasan8_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking libasan8:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package liblsan0:amd64. 50s Preparing to unpack .../17-liblsan0_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking liblsan0:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package libtsan2:amd64. 50s Preparing to unpack .../18-libtsan2_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking libtsan2:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package libubsan1:amd64. 50s Preparing to unpack .../19-libubsan1_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking libubsan1:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package libhwasan0:amd64. 50s Preparing to unpack .../20-libhwasan0_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking libhwasan0:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package libquadmath0:amd64. 50s Preparing to unpack .../21-libquadmath0_14-20240412-0ubuntu1_amd64.deb ... 50s Unpacking libquadmath0:amd64 (14-20240412-0ubuntu1) ... 50s Selecting previously unselected package libgcc-13-dev:amd64. 50s Preparing to unpack .../22-libgcc-13-dev_13.2.0-23ubuntu4_amd64.deb ... 50s Unpacking libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 50s Selecting previously unselected package gcc-13-x86-64-linux-gnu. 50s Preparing to unpack .../23-gcc-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 50s Unpacking gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 51s Selecting previously unselected package gcc-13. 51s Preparing to unpack .../24-gcc-13_13.2.0-23ubuntu4_amd64.deb ... 51s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 51s Selecting previously unselected package gcc-x86-64-linux-gnu. 51s Preparing to unpack .../25-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 51s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 51s Selecting previously unselected package gcc. 51s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ... 51s Unpacking gcc (4:13.2.0-7ubuntu1) ... 51s Selecting previously unselected package libstdc++-13-dev:amd64. 51s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-23ubuntu4_amd64.deb ... 51s Unpacking libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 51s Selecting previously unselected package g++-13-x86-64-linux-gnu. 51s Preparing to unpack .../28-g++-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 51s Unpacking g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 51s Selecting previously unselected package g++-13. 51s Preparing to unpack .../29-g++-13_13.2.0-23ubuntu4_amd64.deb ... 51s Unpacking g++-13 (13.2.0-23ubuntu4) ... 51s Selecting previously unselected package g++-x86-64-linux-gnu. 51s Preparing to unpack .../30-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 51s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 51s Selecting previously unselected package g++. 51s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_amd64.deb ... 51s Unpacking g++ (4:13.2.0-7ubuntu1) ... 51s Selecting previously unselected package build-essential. 51s Preparing to unpack .../32-build-essential_12.10ubuntu1_amd64.deb ... 51s Unpacking build-essential (12.10ubuntu1) ... 51s Selecting previously unselected package libdebhelper-perl. 51s Preparing to unpack .../33-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 51s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 51s Selecting previously unselected package libtool. 51s Preparing to unpack .../34-libtool_2.4.7-7build1_all.deb ... 51s Unpacking libtool (2.4.7-7build1) ... 51s Selecting previously unselected package dh-autoreconf. 51s Preparing to unpack .../35-dh-autoreconf_20_all.deb ... 51s Unpacking dh-autoreconf (20) ... 52s Selecting previously unselected package libarchive-zip-perl. 52s Preparing to unpack .../36-libarchive-zip-perl_1.68-1_all.deb ... 52s Unpacking libarchive-zip-perl (1.68-1) ... 52s Selecting previously unselected package libsub-override-perl. 52s Preparing to unpack .../37-libsub-override-perl_0.10-1_all.deb ... 52s Unpacking libsub-override-perl (0.10-1) ... 52s Selecting previously unselected package libfile-stripnondeterminism-perl. 52s Preparing to unpack .../38-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 52s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 52s Selecting previously unselected package dh-strip-nondeterminism. 52s Preparing to unpack .../39-dh-strip-nondeterminism_1.13.1-1_all.deb ... 52s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 52s Selecting previously unselected package debugedit. 52s Preparing to unpack .../40-debugedit_1%3a5.0-5build2_amd64.deb ... 52s Unpacking debugedit (1:5.0-5build2) ... 52s Selecting previously unselected package dwz. 52s Preparing to unpack .../41-dwz_0.15-1build6_amd64.deb ... 52s Unpacking dwz (0.15-1build6) ... 52s Selecting previously unselected package gettext. 52s Preparing to unpack .../42-gettext_0.21-14ubuntu2_amd64.deb ... 52s Unpacking gettext (0.21-14ubuntu2) ... 52s Selecting previously unselected package intltool-debian. 52s Preparing to unpack .../43-intltool-debian_0.35.0+20060710.6_all.deb ... 52s Unpacking intltool-debian (0.35.0+20060710.6) ... 52s Selecting previously unselected package po-debconf. 52s Preparing to unpack .../44-po-debconf_1.0.21+nmu1_all.deb ... 52s Unpacking po-debconf (1.0.21+nmu1) ... 52s Selecting previously unselected package debhelper. 52s Preparing to unpack .../45-debhelper_13.14.1ubuntu5_all.deb ... 52s Unpacking debhelper (13.14.1ubuntu5) ... 52s Selecting previously unselected package dh-apport. 52s Preparing to unpack .../46-dh-apport_2.28.1-0ubuntu3_all.deb ... 52s Unpacking dh-apport (2.28.1-0ubuntu3) ... 52s Selecting previously unselected package golang-1.22-src. 52s Preparing to unpack .../47-golang-1.22-src_1.22.2-2ubuntu0.1_all.deb ... 52s Unpacking golang-1.22-src (1.22.2-2ubuntu0.1) ... 54s Selecting previously unselected package golang-1.22-go. 54s Preparing to unpack .../48-golang-1.22-go_1.22.2-2ubuntu0.1_amd64.deb ... 54s Unpacking golang-1.22-go (1.22.2-2ubuntu0.1) ... 55s Selecting previously unselected package golang-src. 55s Preparing to unpack .../49-golang-src_2%3a1.22~2build1_all.deb ... 55s Unpacking golang-src (2:1.22~2build1) ... 55s Selecting previously unselected package golang-go:amd64. 55s Preparing to unpack .../50-golang-go_2%3a1.22~2build1_amd64.deb ... 55s Unpacking golang-go:amd64 (2:1.22~2build1) ... 55s Selecting previously unselected package dh-golang. 55s Preparing to unpack .../51-dh-golang_1.62_all.deb ... 55s Unpacking dh-golang (1.62) ... 55s Selecting previously unselected package autopkgtest-satdep. 55s Preparing to unpack .../52-1-autopkgtest-satdep.deb ... 55s Unpacking autopkgtest-satdep (0) ... 55s Setting up libarchive-zip-perl (1.68-1) ... 55s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 55s Setting up m4 (1.4.19-4build1) ... 55s Setting up libgomp1:amd64 (14-20240412-0ubuntu1) ... 55s Setting up dh-apport (2.28.1-0ubuntu3) ... 55s Setting up autotools-dev (20220109.1) ... 55s Setting up gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 55s Setting up golang-1.22-src (1.22.2-2ubuntu0.1) ... 55s Setting up libquadmath0:amd64 (14-20240412-0ubuntu1) ... 55s Setting up libmpc3:amd64 (1.3.1-1build1) ... 55s Setting up libatomic1:amd64 (14-20240412-0ubuntu1) ... 55s Setting up autopoint (0.21-14ubuntu2) ... 55s Setting up autoconf (2.71-3) ... 55s Setting up libubsan1:amd64 (14-20240412-0ubuntu1) ... 55s Setting up dwz (0.15-1build6) ... 55s Setting up libhwasan0:amd64 (14-20240412-0ubuntu1) ... 55s Setting up libasan8:amd64 (14-20240412-0ubuntu1) ... 55s Setting up debugedit (1:5.0-5build2) ... 55s Setting up libsub-override-perl (0.10-1) ... 55s Setting up libtsan2:amd64 (14-20240412-0ubuntu1) ... 55s Setting up libisl23:amd64 (0.26-3build1) ... 55s Setting up golang-src (2:1.22~2build1) ... 55s Setting up libcc1-0:amd64 (14-20240412-0ubuntu1) ... 55s Setting up liblsan0:amd64 (14-20240412-0ubuntu1) ... 55s Setting up libitm1:amd64 (14-20240412-0ubuntu1) ... 55s Setting up automake (1:1.16.5-1.3ubuntu1) ... 55s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 55s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 55s Setting up gettext (0.21-14ubuntu2) ... 55s Setting up cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 55s Setting up golang-1.22-go (1.22.2-2ubuntu0.1) ... 55s Setting up intltool-debian (0.35.0+20060710.6) ... 55s Setting up dh-strip-nondeterminism (1.13.1-1) ... 55s Setting up libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 55s Setting up libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 55s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 55s Setting up cpp-13 (13.2.0-23ubuntu4) ... 55s Setting up golang-go:amd64 (2:1.22~2build1) ... 55s Setting up gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 55s Setting up po-debconf (1.0.21+nmu1) ... 55s Setting up gcc-13 (13.2.0-23ubuntu4) ... 55s Setting up cpp (4:13.2.0-7ubuntu1) ... 55s Setting up g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 55s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 55s Setting up libtool (2.4.7-7build1) ... 55s Setting up gcc (4:13.2.0-7ubuntu1) ... 55s Setting up dh-autoreconf (20) ... 55s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 55s Setting up g++-13 (13.2.0-23ubuntu4) ... 55s Setting up debhelper (13.14.1ubuntu5) ... 55s Setting up g++ (4:13.2.0-7ubuntu1) ... 55s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 55s Setting up build-essential (12.10ubuntu1) ... 55s Setting up dh-golang (1.62) ... 55s Setting up autopkgtest-satdep (0) ... 55s Processing triggers for man-db (2.12.0-4build2) ... 56s Processing triggers for install-info (7.1-3build2) ... 56s Processing triggers for libc-bin (2.39-0ubuntu8.2) ... 58s (Reading database ... 122231 files and directories currently installed.) 58s Removing autopkgtest-satdep (0) ... 58s autopkgtest [23:15:57]: test command1: ./debian/tests/test 58s autopkgtest [23:15:57]: test command1: [----------------------- 94s === RUN TestRunSignal 94s === RUN TestRunSignal/Send_SIGINT_exits 94s INFO Starting WSL Pro Service version Dev 94s === RUN TestRunSignal/Send_SIGTERM_exits 94s INFO Starting WSL Pro Service version Dev 94s --- PASS: TestRunSignal (0.20s) 94s --- PASS: TestRunSignal/Send_SIGINT_exits (0.10s) 94s --- PASS: TestRunSignal/Send_SIGTERM_exits (0.10s) 94s === RUN TestRun 94s === PAUSE TestRun 94s === CONT TestRun 94s === RUN TestRun/Run_and_exit_successfully 94s === PAUSE TestRun/Run_and_exit_successfully 94s === RUN TestRun/Run_and_return_error 94s === PAUSE TestRun/Run_and_return_error 94s === RUN TestRun/Run_and_return_usage_error 94s === PAUSE TestRun/Run_and_return_usage_error 94s === RUN TestRun/Run_and_usage_error_only_does_not_fail 94s === PAUSE TestRun/Run_and_usage_error_only_does_not_fail 94s === CONT TestRun/Run_and_exit_successfully 94s === CONT TestRun/Run_and_return_usage_error 94s INFO Starting WSL Pro Service version Dev 94s INFO Starting WSL Pro Service version Dev 94s ERROR context.Background Error requested 94s === CONT TestRun/Run_and_usage_error_only_does_not_fail 94s INFO Starting WSL Pro Service version Dev 94s === CONT TestRun/Run_and_return_error 94s INFO Starting WSL Pro Service version Dev 94s ERROR context.Background Error requested 94s --- PASS: TestRun (0.00s) 94s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 94s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 94s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 94s --- PASS: TestRun/Run_and_return_error (0.10s) 94s PASS 94s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/cmd/wsl-pro-service 0.415s 94s ? github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/generate/doc [no test files] 104s ? github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/consts [no test files] 105s === RUN TestHelp 105s --- PASS: TestHelp (0.00s) 105s === RUN TestCompletion 105s --- PASS: TestCompletion (0.00s) 105s === RUN TestVersion 105s --- PASS: TestVersion (0.00s) 105s === RUN TestNoUsageError 105s --- PASS: TestNoUsageError (0.00s) 105s === RUN TestUsageError 105s === PAUSE TestUsageError 105s === RUN TestCanQuitWhenExecute 105s === PAUSE TestCanQuitWhenExecute 105s === RUN TestCanQuitTwice 105s === PAUSE TestCanQuitTwice 105s === RUN TestAppCanQuitWithoutExecute 105s === PAUSE TestAppCanQuitWithoutExecute 105s === RUN TestAppRunFailsOnComponentsCreationAndQuit 105s === PAUSE TestAppRunFailsOnComponentsCreationAndQuit 105s === RUN TestAppGetRootCmd 105s === PAUSE TestAppGetRootCmd 105s === RUN TestWithProMock 105s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 105s --- SKIP: TestWithProMock (0.00s) 105s === RUN TestWithWslPathMock 105s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 105s --- SKIP: TestWithWslPathMock (0.00s) 105s === RUN TestWithWslInfoMock 105s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 105s --- SKIP: TestWithWslInfoMock (0.00s) 105s === RUN TestWithCmdExeMock 105s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 105s --- SKIP: TestWithCmdExeMock (0.00s) 105s === CONT TestUsageError 105s === CONT TestAppCanQuitWithoutExecute 105s service_test.go:140: This test is skipped because it is flaky. There is no way to guarantee Quit has been called before run. 105s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 105s === CONT TestAppGetRootCmd 105s --- PASS: TestAppGetRootCmd (0.00s) 105s === CONT TestCanQuitTwice 105s --- PASS: TestUsageError (0.00s) 105s === CONT TestCanQuitWhenExecute 105s time="2024-07-18T23:16:33Z" level=debug msg="/tmp/autopkgtest.iVR79L/build.RcF/src/cmd/wsl-pro-service/service/service.go:66 New.func1() Debug mode is enabled" 105s time="2024-07-18T23:16:33Z" level=debug msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:75 New() Building new daemon" 105s time="2024-07-18T23:16:33Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/testutils/mock_agent.go:76 NewMockWindowsAgent.func1() MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:43385" 105s time="2024-07-18T23:16:33Z" level=debug msg="/tmp/autopkgtest.iVR79L/build.RcF/src/cmd/wsl-pro-service/service/service.go:66 New.func1() Debug mode is enabled" 105s time="2024-07-18T23:16:33Z" level=debug msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:75 New() Building new daemon" 105s time="2024-07-18T23:16:37Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:153 (*Daemon).Serve.func1() Daemon: connecting to Windows Agent" 105s time="2024-07-18T23:16:37Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:153 (*Daemon).Serve.func1() Daemon: connecting to Windows Agent" 105s time="2024-07-18T23:16:37Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 105s time="2024-07-18T23:16:37Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 105s time="2024-07-18T23:16:38Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 105s time="2024-07-18T23:16:38Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 105s time="2024-07-18T23:16:39Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:288 (*Daemon).connect() Daemon: starting connection to Windows Agent via 127.0.0.1:36177" 105s time="2024-07-18T23:16:39Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:173 (*Daemon).Serve.func1() Daemon: completed connection to Windows Agent" 105s time="2024-07-18T23:16:39Z" level=debug msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/streams/server.go:196 (*handlingLoop[...]).run() Started serving agentapi.ProAttachCmd requests" 105s time="2024-07-18T23:16:39Z" level=debug msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/streams/server.go:196 (*handlingLoop[...]).run() Started serving agentapi.LandscapeConfigCmd requests" 105s time="2024-07-18T23:16:39Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:288 (*Daemon).connect() Daemon: starting connection to Windows Agent via 127.0.0.1:43385" 105s time="2024-07-18T23:16:39Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:173 (*Daemon).Serve.func1() Daemon: completed connection to Windows Agent" 105s time="2024-07-18T23:16:39Z" level=warning msg="/tmp/autopkgtest.iVR79L/build.RcF/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:43385: connect: connection refused\"" 105s time="2024-07-18T23:16:39Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:209 (*Daemon).Serve() Reconnecting to Windows host in 1 seconds" 105s time="2024-07-18T23:16:39Z" level=debug msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 105s time="2024-07-18T23:16:39Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 105s time="2024-07-18T23:16:39Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 105s time="2024-07-18T23:16:39Z" level=debug msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 105s --- PASS: TestCanQuitWhenExecute (6.28s) 105s === CONT TestAppRunFailsOnComponentsCreationAndQuit 105s time="2024-07-18T23:16:39Z" level=info msg="/tmp/autopkgtest.iVR79L/build.RcF/src/internal/testutils/mock_agent.go:76 NewMockWindowsAgent.func1() MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:45897" 105s time="2024-07-18T23:16:41Z" level=warning msg="Daemon: disconnected from Windows host" 105s time="2024-07-18T23:16:41Z" level=warning msg="context.Background rpc error: code = Canceled desc = context canceled" 105s --- PASS: TestCanQuitTwice (8.24s) 105s time="2024-07-18T23:16:41Z" level=warning msg="context.Background rpc error: code = Canceled desc = context canceled" 105s time="2024-07-18T23:16:41Z" level=warning msg="context.Background rpc error: code = Canceled desc = context canceled" 105s --- PASS: TestAppRunFailsOnComponentsCreationAndQuit (4.85s) 105s PASS 105s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/cmd/wsl-pro-service/service 11.141s 105s === RUN TestApplyProToken 105s === PAUSE TestApplyProToken 105s === RUN TestApplyLandscapeConfig 105s === PAUSE TestApplyLandscapeConfig 105s === RUN TestWithProMock 105s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 105s --- SKIP: TestWithProMock (0.00s) 105s === RUN TestWithLandscapeConfigMock 105s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 105s --- SKIP: TestWithLandscapeConfigMock (0.00s) 105s === RUN TestWithWslPathMock 105s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 105s --- SKIP: TestWithWslPathMock (0.00s) 105s === RUN TestWithWslInfoMock 105s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 105s --- SKIP: TestWithWslInfoMock (0.00s) 105s === RUN TestWithCmdExeMock 105s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 105s --- SKIP: TestWithCmdExeMock (0.00s) 105s === CONT TestApplyProToken 105s === RUN TestApplyProToken/Success_attaching 105s === PAUSE TestApplyProToken/Success_attaching 105s === CONT TestApplyLandscapeConfig 105s === RUN TestApplyLandscapeConfig/Success_enabling_Landscape 105s === PAUSE TestApplyLandscapeConfig/Success_enabling_Landscape 105s === RUN TestApplyLandscapeConfig/Success_disabling_Landscape 105s === PAUSE TestApplyLandscapeConfig/Success_disabling_Landscape 105s === RUN TestApplyLandscapeConfig/Error_calling_landscape_disable 105s === PAUSE TestApplyLandscapeConfig/Error_calling_landscape_disable 105s === RUN TestApplyLandscapeConfig/Error_calling_landscape_enable 105s === PAUSE TestApplyLandscapeConfig/Error_calling_landscape_enable 105s === CONT TestApplyLandscapeConfig/Success_enabling_Landscape 105s time="2024-07-18T23:16:34Z" level=info msg="ApplyLandscapeConfig: received config: registering" 105s === RUN TestApplyProToken/Success_detaching 105s === PAUSE TestApplyProToken/Success_detaching 105s === RUN TestApplyProToken/Error_calling_pro_detach 105s === PAUSE TestApplyProToken/Error_calling_pro_detach 105s === RUN TestApplyProToken/Error_calling_pro_attach 105s === PAUSE TestApplyProToken/Error_calling_pro_attach 105s === CONT TestApplyLandscapeConfig/Error_calling_landscape_enable 105s time="2024-07-18T23:16:34Z" level=info msg="ApplyLandscapeConfig: received config: registering" 105s === CONT TestApplyLandscapeConfig/Error_calling_landscape_disable 105s time="2024-07-18T23:16:36Z" level=info msg="ApplyLandscapeConfig: received empty config: disabling" 105s === CONT TestApplyLandscapeConfig/Success_disabling_Landscape 105s time="2024-07-18T23:16:36Z" level=info msg="ApplyLandscapeConfig: received empty config: disabling" 105s === CONT TestApplyProToken/Success_attaching 105s time="2024-07-18T23:16:38Z" level=info msg="ApplyProToken: Received token \"12**bc\": attaching" 105s === CONT TestApplyProToken/Error_calling_pro_detach 105s time="2024-07-18T23:16:38Z" level=info msg="ApplyProToken: Received token \"12**bc\": attaching" 105s --- PASS: TestApplyLandscapeConfig (0.00s) 105s --- PASS: TestApplyLandscapeConfig/Error_calling_landscape_enable (1.91s) 105s --- PASS: TestApplyLandscapeConfig/Success_enabling_Landscape (1.94s) 105s --- PASS: TestApplyLandscapeConfig/Success_disabling_Landscape (1.60s) 105s --- PASS: TestApplyLandscapeConfig/Error_calling_landscape_disable (1.90s) 105s === CONT TestApplyProToken/Error_calling_pro_attach 105s time="2024-07-18T23:16:40Z" level=info msg="ApplyProToken: Received token \"12**bc\": attaching" 105s === CONT TestApplyProToken/Success_detaching 105s time="2024-07-18T23:16:42Z" level=info msg="ApplyProToken: Received empty token: detaching" 105s --- PASS: TestApplyProToken (0.00s) 105s --- PASS: TestApplyProToken/Error_calling_pro_detach (1.81s) 105s --- PASS: TestApplyProToken/Success_attaching (3.87s) 105s --- PASS: TestApplyProToken/Error_calling_pro_attach (3.07s) 105s --- PASS: TestApplyProToken/Success_detaching (1.37s) 105s PASS 105s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/commandservice 8.785s 171s ? github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/testutils [no test files] 217s === RUN TestNew 217s === PAUSE TestNew 217s === RUN TestServe 217s === PAUSE TestServe 217s === RUN TestServeAndQuit 217s === PAUSE TestServeAndQuit 217s === RUN TestReconnection 217s === PAUSE TestReconnection 217s === RUN TestWithProMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithProMock (0.00s) 217s === RUN TestWithWslPathMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithWslPathMock (0.00s) 217s === RUN TestWithWslInfoMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithWslInfoMock (0.00s) 217s === RUN TestWithCmdExeMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithCmdExeMock (0.00s) 217s === CONT TestNew 217s === CONT TestServeAndQuit 217s === RUN TestServeAndQuit/Success_with_graceful_quit 217s === PAUSE TestServeAndQuit/Success_with_graceful_quit 217s === RUN TestServeAndQuit/Success_with_forceful_quit 217s === PAUSE TestServeAndQuit/Success_with_forceful_quit 217s === RUN TestServeAndQuit/Success_with_double_quit 217s === PAUSE TestServeAndQuit/Success_with_double_quit 217s === RUN TestServeAndQuit/Error_due_to_quitting_before_serving 217s === PAUSE TestServeAndQuit/Error_due_to_quitting_before_serving 217s === RUN TestNew/Error_when_WslPath_returns_error 217s === PAUSE TestNew/Error_when_WslPath_returns_error 217s === RUN TestNew/Success 217s === PAUSE TestNew/Success 217s === CONT TestServe 217s === RUN TestServe/No_connection_because_the_port_file_is_empty 217s === PAUSE TestServe/No_connection_because_the_port_file_is_empty 217s === RUN TestServe/No_connection_because_the_port_file_has_a_bad_port 217s === PAUSE TestServe/No_connection_because_the_port_file_has_a_bad_port 217s === RUN TestServe/No_connection_because_the_port_file_has_port_0 217s === PAUSE TestServe/No_connection_because_the_port_file_has_port_0 217s === RUN TestServe/No_connection_because_the_port_file_has_a_negative_port 217s === PAUSE TestServe/No_connection_because_the_port_file_has_a_negative_port 217s === RUN TestServe/No_connection_because_there_is_no_server 217s === PAUSE TestServe/No_connection_because_there_is_no_server 217s === RUN TestServe/Success 217s === PAUSE TestServe/Success 217s === RUN TestServe/Success_with_systemd_notifier_returning_true 217s === PAUSE TestServe/Success_with_systemd_notifier_returning_true 217s === RUN TestServe/No_connection_because_the_port_file_does_not_exist 217s === PAUSE TestServe/No_connection_because_the_port_file_does_not_exist 217s === RUN TestServe/No_connection_because_there_are_no_certificates 217s === PAUSE TestServe/No_connection_because_there_are_no_certificates 217s === RUN TestServe/Error_because_the_notifier_returns_an_error 217s === PAUSE TestServe/Error_because_the_notifier_returns_an_error 217s === RUN TestServe/Error_because_WindowsHostAddress_returns_an_error 217s === PAUSE TestServe/Error_because_WindowsHostAddress_returns_an_error 217s === RUN TestServe/No_connection_because_cannot_read_root_CA_certificate_file 217s === PAUSE TestServe/No_connection_because_cannot_read_root_CA_certificate_file 217s === RUN TestServe/Error_because_the_context_is_pre-cancelled 217s === PAUSE TestServe/Error_because_the_context_is_pre-cancelled 217s === CONT TestReconnection 217s === RUN TestReconnection/Success_connecting_after_failing_to_connect 217s === PAUSE TestReconnection/Success_connecting_after_failing_to_connect 217s === RUN TestReconnection/Success_connecting_after_previous_connection_dropped 217s === PAUSE TestReconnection/Success_connecting_after_previous_connection_dropped 217s === RUN TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped 217s === PAUSE TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped 217s === CONT TestServeAndQuit/Success_with_graceful_quit 217s === CONT TestNew/Error_when_WslPath_returns_error 217s time="2024-07-18T23:16:44Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:16:44Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:46327" 217s time="2024-07-18T23:16:44Z" level=debug msg="Building new daemon" 217s === CONT TestServe/No_connection_because_the_port_file_is_empty 217s time="2024-07-18T23:16:47Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:33163" 217s time="2024-07-18T23:16:47Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:16:47Z" level=debug msg="Ready state sent to systemd" 217s time="2024-07-18T23:16:47Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:16:47Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:16:49Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:46327" 217s time="2024-07-18T23:16:49Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:16:49Z" level=debug msg="Updated systemd status to \"Connected\"" 217s time="2024-07-18T23:16:49Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:16:49Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:16:50Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:16:50Z" 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" 217s time="2024-07-18T23:16:50Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:16:50Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:16:50Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:16:50Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:16:50Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:16:50Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:16:50Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:16:50Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:16:50Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:16:50Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:16:50Z" level=debug msg="Updated systemd status to \"Stopped\"" 217s time="2024-07-18T23:16:50Z" level=debug msg="All connections have now ended." 217s time="2024-07-18T23:16:50Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:50Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:50Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s === CONT TestServeAndQuit/Error_due_to_quitting_before_serving 217s time="2024-07-18T23:16:50Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:36043" 217s time="2024-07-18T23:16:50Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:16:51Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:16:51Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:16:51Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:16:51Z" 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" 217s time="2024-07-18T23:16:51Z" level=info msg="Reconnecting to Windows host in 2 seconds" 217s time="2024-07-18T23:16:51Z" level=debug msg="All connections have now ended." 217s === CONT TestServeAndQuit/Success_with_double_quit 217s time="2024-07-18T23:16:51Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:45941" 217s time="2024-07-18T23:16:51Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:16:53Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:16:53Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:16:53Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:16:53Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:16:53Z" level=debug msg="All connections have now ended." 217s time="2024-07-18T23:16:53Z" level=debug msg="Updated systemd status to \"Stopped\"" 217s === CONT TestServeAndQuit/Success_with_forceful_quit 217s time="2024-07-18T23:16:53Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:34587" 217s time="2024-07-18T23:16:53Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:16:54Z" level=debug msg="Ready state sent to systemd" 217s time="2024-07-18T23:16:54Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:16:54Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:16:55Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:45941" 217s time="2024-07-18T23:16:55Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:16:55Z" level=debug msg="Updated systemd status to \"Connected\"" 217s time="2024-07-18T23:16:55Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:16:55Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:16:56Z" level=debug msg="Ready state sent to systemd" 217s time="2024-07-18T23:16:56Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:16:56Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:16:56Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:16:56Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:16:56Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:16:56Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:16:56Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:16:56Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:16:56Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:16:56Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:16:56Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:16:56Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:56Z" level=debug msg="Updated systemd status to \"Stopped\"" 217s time="2024-07-18T23:16:56Z" level=debug msg="All connections have now ended." 217s time="2024-07-18T23:16:56Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:56Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:56Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:16:56Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:16:56Z" level=debug msg="All connections have now ended." 217s === CONT TestReconnection/Success_connecting_after_failing_to_connect 217s time="2024-07-18T23:16:56Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:16:56Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:34587" 217s time="2024-07-18T23:16:56Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:16:56Z" level=debug msg="Updated systemd status to \"Connected\"" 217s time="2024-07-18T23:16:56Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:16:56Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:16:57Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:16:57Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:16:57Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:16:57Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:16:57Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:16:57Z" level=info msg="Stopping active requests." 217s time="2024-07-18T23:16:57Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:16:57Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:16:57Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:16:57Z" level=debug msg="Updated systemd status to \"Stopped\"" 217s time="2024-07-18T23:16:57Z" level=debug msg="All connections have now ended." 217s time="2024-07-18T23:16:57Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:57Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:57Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s --- PASS: TestServeAndQuit (0.00s) 217s --- PASS: TestServeAndQuit/Success_with_graceful_quit (6.27s) 217s --- PASS: TestServeAndQuit/Error_due_to_quitting_before_serving (3.13s) 217s --- PASS: TestServeAndQuit/Success_with_double_quit (5.04s) 217s --- PASS: TestServeAndQuit/Success_with_forceful_quit (4.18s) 217s === CONT TestNew/Success 217s time="2024-07-18T23:16:58Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:16:58Z" level=debug msg="Ready state sent to systemd" 217s time="2024-07-18T23:16:58Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:16:58Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:16:58Z" 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_connect1888475567/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestReconnectionSuccess_connecting_after_failing_to_connect1888475567/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 217s time="2024-07-18T23:16:58Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:16:58Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:16:58Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:34259" 217s --- PASS: TestNew (0.00s) 217s --- PASS: TestNew/Error_when_WslPath_returns_error (2.82s) 217s --- PASS: TestNew/Success (1.52s) 217s === CONT TestServe/Success 217s time="2024-07-18T23:16:59Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:45979" 217s time="2024-07-18T23:16:59Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:16:59Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:16:59Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:17:00Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:34259" 217s time="2024-07-18T23:17:00Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:17:00Z" level=debug msg="Updated systemd status to \"Connected\"" 217s time="2024-07-18T23:17:00Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:17:00Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:17:01Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:01Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:17:01Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:17:01Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:17:01Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:17:01Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:01Z" level=info msg="Stopping active requests." 217s time="2024-07-18T23:17:01Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:01Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:01Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:01Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:17:01Z" level=info msg="Reconnecting to Windows host in 2 seconds" 217s time="2024-07-18T23:17:01Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:17:01Z" level=debug msg="Updated systemd status to \"Stopped\"" 217s time="2024-07-18T23:17:01Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/Error_because_the_context_is_pre-cancelled 217s time="2024-07-18T23:17:01Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:38447" 217s time="2024-07-18T23:17:01Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:02Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:45979" 217s time="2024-07-18T23:17:02Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:17:02Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:17:02Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:17:03Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:17:03Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:17:03Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:17:03Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:17:03Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:03Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:03Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/No_connection_because_cannot_read_root_CA_certificate_file 217s time="2024-07-18T23:17:03Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:46395" 217s time="2024-07-18T23:17:03Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:04Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:05Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:05Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:05Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:17:05Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:05Z" level=debug msg="All connections have now ended." 217s time="2024-07-18T23:17:05Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:05Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:05Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s === CONT TestServe/Error_because_WindowsHostAddress_returns_an_error 217s time="2024-07-18T23:17:05Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:35581" 217s time="2024-07-18T23:17:05Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:05Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:46395" 217s time="2024-07-18T23:17:05Z" level=warning msg="Daemon: could not connect to Windows Agent: open /tmp/TestServeNo_connection_because_cannot_read_root_CA_certificate_file305878845/001/mnt/d/Users/TestUser/.ubuntupro/certs/ca_cert.pem: no such file or directory" 217s time="2024-07-18T23:17:05Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:05Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:05Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:05Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/Error_because_the_notifier_returns_an_error 217s time="2024-07-18T23:17:06Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:33245" 217s time="2024-07-18T23:17:06Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:07Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:07Z" level=warning msg="Daemon: couldn't update systemd status to \"Stopped\": mock error" 217s time="2024-07-18T23:17:07Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:07Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:07Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/No_connection_because_there_are_no_certificates 217s time="2024-07-18T23:17:07Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:38605" 217s time="2024-07-18T23:17:07Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:08Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:08Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:08Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/No_connection_because_the_port_file_does_not_exist 217s time="2024-07-18T23:17:08Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:39227" 217s time="2024-07-18T23:17:08Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:09Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:10Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:10Z" 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_exist2715233923/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestServeNo_connection_because_the_port_file_does_not_exist2715233923/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 217s time="2024-07-18T23:17:10Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:10Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:38605" 217s time="2024-07-18T23:17:10Z" level=warning msg="Daemon: could not connect to Windows Agent: open /tmp/TestServeNo_connection_because_there_are_no_certificates1847141938/001/mnt/d/Users/TestUser/.ubuntupro/certs/client_cert.pem: no such file or directory" 217s time="2024-07-18T23:17:10Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:10Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:10Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:10Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/Success_with_systemd_notifier_returning_true 217s time="2024-07-18T23:17:10Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:45125" 217s time="2024-07-18T23:17:10Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:11Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:11Z" 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_exist2715233923/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestServeNo_connection_because_the_port_file_does_not_exist2715233923/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 217s time="2024-07-18T23:17:11Z" level=info msg="Reconnecting to Windows host in 2 seconds" 217s time="2024-07-18T23:17:12Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:12Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:12Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/No_connection_because_the_port_file_has_a_bad_port 217s time="2024-07-18T23:17:12Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:39697" 217s time="2024-07-18T23:17:12Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:12Z" level=debug msg="Ready state sent to systemd" 217s time="2024-07-18T23:17:12Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:12Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:17:13Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:45125" 217s time="2024-07-18T23:17:13Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:17:13Z" level=debug msg="Updated systemd status to \"Connected\"" 217s time="2024-07-18T23:17:13Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:17:13Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:17:13Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:13Z" 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" 217s time="2024-07-18T23:17:13Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:14Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:17:14Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:17:14Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:17:14Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:17:14Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:14Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:14Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/No_connection_because_there_is_no_server 217s time="2024-07-18T23:17:14Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:44729" 217s time="2024-07-18T23:17:14Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:15Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:15Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:15Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:17:15Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:15Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:17:15Z" level=debug msg="Updated systemd status to \"Stopped\"" 217s time="2024-07-18T23:17:15Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:15Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:15Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:15Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/No_connection_because_the_port_file_has_a_negative_port 217s time="2024-07-18T23:17:15Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:34733" 217s time="2024-07-18T23:17:15Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:19Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:19Z" 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" 217s time="2024-07-18T23:17:19Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:19Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:20Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:20Z" 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" 217s time="2024-07-18T23:17:20Z" level=info msg="Reconnecting to Windows host in 2 seconds" 217s time="2024-07-18T23:17:20Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:20Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:20Z" level=debug msg="All connections have now ended." 217s === CONT TestServe/No_connection_because_the_port_file_has_port_0 217s time="2024-07-18T23:17:20Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:44447" 217s time="2024-07-18T23:17:20Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:20Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:44729" 217s time="2024-07-18T23:17:20Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:17:20Z" 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:44729: connect: connection refused\"" 217s time="2024-07-18T23:17:20Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:21Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:21Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:21Z" level=debug msg="All connections have now ended." 217s === CONT TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped 217s time="2024-07-18T23:17:21Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:24Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17: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" 217s time="2024-07-18T23:17:24Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:24Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:42899" 217s time="2024-07-18T23:17:24Z" level=debug msg="Ready state sent to systemd" 217s time="2024-07-18T23:17:24Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:24Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:17:25Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:25Z" level=info msg="Waiting for active requests to close." 217s time="2024-07-18T23:17:25Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:25Z" 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" 217s time="2024-07-18T23:17:25Z" level=info msg="Reconnecting to Windows host in 2 seconds" 217s time="2024-07-18T23:17:25Z" level=debug msg="All connections have now ended." 217s --- PASS: TestServe (0.00s) 217s --- PASS: TestServe/No_connection_because_the_port_file_is_empty (4.33s) 217s --- PASS: TestServe/Error_because_the_context_is_pre-cancelled (2.10s) 217s --- PASS: TestServe/Success (6.00s) 217s --- PASS: TestServe/No_connection_because_cannot_read_root_CA_certificate_file (2.25s) 217s --- PASS: TestServe/Error_because_the_notifier_returns_an_error (1.94s) 217s --- PASS: TestServe/Error_because_WindowsHostAddress_returns_an_error (2.66s) 217s --- PASS: TestServe/No_connection_because_there_are_no_certificates (2.96s) 217s --- PASS: TestServe/No_connection_because_the_port_file_does_not_exist (3.78s) 217s --- PASS: TestServe/No_connection_because_the_port_file_has_a_bad_port (2.93s) 217s --- PASS: TestServe/Success_with_systemd_notifier_returning_true (4.37s) 217s --- PASS: TestServe/No_connection_because_the_port_file_has_a_negative_port (4.76s) 217s --- PASS: TestServe/No_connection_because_there_is_no_server (6.13s) 217s --- PASS: TestServe/No_connection_because_the_port_file_has_port_0 (5.17s) 217s === CONT TestReconnection/Success_connecting_after_previous_connection_dropped 217s time="2024-07-18T23:17:25Z" level=debug msg="Building new daemon" 217s time="2024-07-18T23:17:26Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:42899" 217s time="2024-07-18T23:17:26Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:17:26Z" level=debug msg="Updated systemd status to \"Connected\"" 217s time="2024-07-18T23:17:26Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:17:26Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:17:28Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:17:28Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:17:28Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:17:28Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:17:29Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:43853" 217s time="2024-07-18T23:17:29Z" level=debug msg="Ready state sent to systemd" 217s time="2024-07-18T23:17:29Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:29Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:17:30Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:43853" 217s time="2024-07-18T23:17:30Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:17:30Z" level=debug msg="Updated systemd status to \"Connected\"" 217s time="2024-07-18T23:17:30Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:17:30Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:17:31Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:17:31Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:17:31Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:17:31Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:17:31Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:31Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:17:31Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:17:31Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:17:31Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:31Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:31Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:40313" 217s time="2024-07-18T23:17:32Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:17:32Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:17:34Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:40313" 217s time="2024-07-18T23:17:34Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:17:34Z" level=debug msg="Updated systemd status to \"Connected\"" 217s time="2024-07-18T23:17:34Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:17:34Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:17:36Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:17:36Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:17:36Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:17:36Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:17:36Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:36Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:17:36Z" level=info msg="Stopping active requests." 217s time="2024-07-18T23:17:36Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:36Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:17:36Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:17:36Z" level=info msg="Reconnecting to Windows host in 2 seconds" 217s time="2024-07-18T23:17:36Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:17:36Z" level=debug msg="Updated systemd status to \"Stopped\"" 217s time="2024-07-18T23:17:36Z" level=debug msg="All connections have now ended." 217s time="2024-07-18T23:18:33Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:18:33Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:18:33Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:18:33Z" level=warning msg="Daemon: could not connect to Windows Agent: could not get address: could not read agent port file \"/tmp/TestReconnectionSuccess_connecting_after_previous_long-lived_connection_dropped1446584753/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestReconnectionSuccess_connecting_after_previous_long-lived_connection_dropped1446584753/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 217s time="2024-07-18T23:18:33Z" level=info msg="Reconnecting to Windows host in 1 seconds" 217s time="2024-07-18T23:18:33Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:18:33Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:18:33Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:18:33Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:18:33Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:34331" 217s time="2024-07-18T23:18:34Z" level=info msg="Daemon: connecting to Windows Agent" 217s time="2024-07-18T23:18:34Z" level=debug msg="Updated systemd status to \"Connecting\"" 217s time="2024-07-18T23:18:35Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:34331" 217s time="2024-07-18T23:18:35Z" level=info msg="Daemon: completed connection to Windows Agent" 217s time="2024-07-18T23:18:35Z" level=debug msg="Updated systemd status to \"Connected\"" 217s time="2024-07-18T23:18:35Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 217s time="2024-07-18T23:18:35Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 217s time="2024-07-18T23:18:36Z" level=debug msg="Server: sent preface messages to all streams" 217s time="2024-07-18T23:18:36Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:18:36Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:18:36Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:18:36Z" level=info msg="Stopping daemon requested." 217s time="2024-07-18T23:18:36Z" level=info msg="Stopping active requests." 217s time="2024-07-18T23:18:36Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:18:36Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:18:36Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:18:36Z" level=warning msg="Daemon: disconnected from Windows host" 217s time="2024-07-18T23:18:36Z" level=info msg="Reconnecting to Windows host in 2 seconds" 217s time="2024-07-18T23:18:36Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 217s time="2024-07-18T23:18:36Z" level=debug msg="Updated systemd status to \"Stopped\"" 217s time="2024-07-18T23:18:36Z" level=debug msg="All connections have now ended." 217s --- PASS: TestReconnection (0.00s) 217s --- PASS: TestReconnection/Success_connecting_after_failing_to_connect (4.97s) 217s --- PASS: TestReconnection/Success_connecting_after_previous_connection_dropped (10.83s) 217s --- PASS: TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped (75.02s) 217s PASS 217s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/daemon 111.630s 217s === RUN TestConnect 217s === PAUSE TestConnect 217s === RUN TestSendAndRecv 217s --- PASS: TestSendAndRecv (0.41s) 217s === RUN TestServe 217s === PAUSE TestServe 217s === RUN TestStop 217s === PAUSE TestStop 217s === RUN TestWithProMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithProMock (0.00s) 217s === RUN TestWithWslPathMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithWslPathMock (0.00s) 217s === RUN TestWithWslInfoMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithWslInfoMock (0.00s) 217s === RUN TestWithCmdExeMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithCmdExeMock (0.00s) 217s === CONT TestConnect 217s === RUN TestConnect/Success 217s === PAUSE TestConnect/Success 217s === CONT TestStop 217s === RUN TestConnect/Error_dialing_an_address_that_is_not_serving 217s === PAUSE TestConnect/Error_dialing_an_address_that_is_not_serving 217s === CONT TestConnect/Success 217s time="2024-07-18T23:16:46Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:35819" 217s === CONT TestServe 217s time="2024-07-18T23:16:47Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:34199" 217s time="2024-07-18T23:16:48Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:16:48Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:16:48Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:16:49Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 217s time="2024-07-18T23:16:49Z" level=info msg="MockWindowsAgent: Connected ready" 217s time="2024-07-18T23:16:49Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 217s time="2024-07-18T23:16:54Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:54Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:54Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s --- PASS: TestServe (7.05s) 217s === CONT TestConnect/Error_dialing_an_address_that_is_not_serving 217s time="2024-07-18T23:16:58Z" 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: " 217s time="2024-07-18T23:16:58Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:58Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 217s time="2024-07-18T23:16:58Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 217s --- PASS: TestStop (12.21s) 217s --- PASS: TestConnect (0.00s) 217s --- PASS: TestConnect/Success (0.30s) 217s --- PASS: TestConnect/Error_dialing_an_address_that_is_not_serving (20.01s) 217s PASS 217s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/streams 27.783s 217s === RUN TestInfo 217s === PAUSE TestInfo 217s === RUN TestWslDistroName 217s === PAUSE TestWslDistroName 217s === RUN TestUserProfileDir 217s === PAUSE TestUserProfileDir 217s === RUN TestProStatus 217s === PAUSE TestProStatus 217s === RUN TestProAttach 217s === PAUSE TestProAttach 217s === RUN TestProDetach 217s === PAUSE TestProDetach 217s === RUN TestLandscapeEnable 217s === PAUSE TestLandscapeEnable 217s === RUN TestWindowsHostAddress 217s === PAUSE TestWindowsHostAddress 217s === RUN TestLandscapeDisable 217s === PAUSE TestLandscapeDisable 217s === RUN TestRealBackend 217s === PAUSE TestRealBackend 217s === RUN TestWithProMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithProMock (0.00s) 217s === RUN TestWithLandscapeConfigMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithLandscapeConfigMock (0.00s) 217s === RUN TestWithWslPathMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithWslPathMock (0.00s) 217s === RUN TestWithWslInfoMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithWslInfoMock (0.00s) 217s === RUN TestWithCmdExeMock 217s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 217s --- SKIP: TestWithCmdExeMock (0.00s) 217s === CONT TestInfo 217s === CONT TestProDetach 217s === RUN TestInfo/Error_when_pro_status_output_cannot_be_parsed 217s === PAUSE TestInfo/Error_when_pro_status_output_cannot_be_parsed 217s === RUN TestInfo/Error_when_/etc/os-release_cannot_be_read 217s === PAUSE TestInfo/Error_when_/etc/os-release_cannot_be_read 217s === RUN TestInfo/Error_whem_/etc/os-release_returns_bad_contents 217s === PAUSE TestInfo/Error_whem_/etc/os-release_returns_bad_contents 217s === RUN TestInfo/Error_when_hostname_cannot_be_obtained 217s === PAUSE TestInfo/Error_when_hostname_cannot_be_obtained 217s === RUN TestInfo/Success 217s === PAUSE TestInfo/Success 217s === RUN TestInfo/Error_when_WslDistroName_fails 217s === RUN TestProDetach/error_on_'pro_detach'_error_and_some_reason 217s === PAUSE TestProDetach/error_on_'pro_detach'_error_and_some_reason 217s === RUN TestProDetach/error_on_'pro_detach'_error_with_bad_JSON 217s === PAUSE TestProDetach/error_on_'pro_detach'_error_with_bad_JSON 217s === RUN TestProDetach/success_on_unattached_distro 217s === PAUSE TestProDetach/success_on_unattached_distro 217s === RUN TestProDetach/success_on_attached_distro 217s === PAUSE TestProDetach/success_on_attached_distro 217s === RUN TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason 217s === PAUSE TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason 217s === CONT TestRealBackend 217s --- PASS: TestRealBackend (0.00s) 217s === CONT TestLandscapeDisable 217s === RUN TestLandscapeDisable/Success 217s === PAUSE TestLandscapeDisable/Success 217s === RUN TestLandscapeDisable/Error_when_the_landscape-config_command_fails 217s === PAUSE TestLandscapeDisable/Error_when_the_landscape-config_command_fails 217s === CONT TestWindowsHostAddress 217s === RUN TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP 217s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP 217s === RUN TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP 217s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP 217s === RUN TestWindowsHostAddress/Success_without_NAT 217s === PAUSE TestWindowsHostAddress/Success_without_NAT 217s === RUN TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback 217s === PAUSE TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback 217s === RUN TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist 217s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist 217s === RUN TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed 217s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed 217s === RUN TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist 217s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist 217s === RUN TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed 217s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed 217s === RUN TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback 217s === PAUSE TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback 217s === RUN TestWindowsHostAddress/Error_when_wslinfo_returns_an_error 217s === PAUSE TestWindowsHostAddress/Error_when_wslinfo_returns_an_error 217s === CONT TestLandscapeEnable 217s === RUN TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path 217s === PAUSE TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path 217s === RUN TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist 217s === PAUSE TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist 217s === RUN TestLandscapeEnable/Success_overriding_computer_title 217s === PAUSE TestLandscapeEnable/Success_overriding_computer_title 217s === RUN TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 217s === PAUSE TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 217s === RUN TestLandscapeEnable/Error_when_the_config_file_cannot_be_written 217s === PAUSE TestLandscapeEnable/Error_when_the_config_file_cannot_be_written 217s === RUN TestLandscapeEnable/Error_when_the_landscape-config_command_fails 217s === PAUSE TestLandscapeEnable/Error_when_the_landscape-config_command_fails 217s === RUN TestLandscapeEnable/Success 217s === PAUSE TestLandscapeEnable/Success 217s === RUN TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 217s === PAUSE TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 217s === RUN TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 217s === PAUSE TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 217s === RUN TestLandscapeEnable/Error_when_the_file_cannot_be_parsed 217s === PAUSE TestLandscapeEnable/Error_when_the_file_cannot_be_parsed 217s === CONT TestProStatus 217s === RUN TestProStatus/error_on_'pro_attach'_returning_bad_output 217s === PAUSE TestProStatus/error_on_'pro_attach'_returning_bad_output 217s === RUN TestProStatus/error_on_'pro_attach'_error 217s === PAUSE TestProStatus/error_on_'pro_attach'_error 217s === RUN TestProStatus/success_on_unattached_distro 217s === PAUSE TestProStatus/success_on_unattached_distro 217s === RUN TestProStatus/success_on_attached_distro 217s === PAUSE TestProStatus/success_on_attached_distro 217s === CONT TestProAttach 217s === RUN TestProAttach/success 217s === PAUSE TestProAttach/success 217s === RUN TestProAttach/error_on_'pro_attach'_error 217s === PAUSE TestProAttach/error_on_'pro_attach'_error 217s === CONT TestUserProfileDir 217s === RUN TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts 217s === PAUSE TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts 217s === RUN TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts 217s === PAUSE TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts 217s === RUN TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts 217s === PAUSE TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts 217s === RUN TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts 217s === PAUSE TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts 217s === RUN TestUserProfileDir/Error_on_wslpath_error 217s === PAUSE TestUserProfileDir/Error_on_wslpath_error 217s === RUN TestUserProfileDir/Error_when_wslpath_returns_a_bad_path 217s === PAUSE TestUserProfileDir/Error_when_wslpath_returns_a_bad_path 217s === RUN TestUserProfileDir/Success_with_cached_cmd.exe_path 217s === PAUSE TestUserProfileDir/Success_with_cached_cmd.exe_path 217s === RUN TestUserProfileDir/Success_with_a_single_9P_filesystem_mount 217s === PAUSE TestUserProfileDir/Success_with_a_single_9P_filesystem_mount 217s === RUN TestUserProfileDir/Error_when_cmd.exe_does_not_exist 217s === PAUSE TestUserProfileDir/Error_when_cmd.exe_does_not_exist 217s === RUN TestUserProfileDir/Error_on_cmd.exe_error 217s === PAUSE TestUserProfileDir/Error_on_cmd.exe_error 217s === CONT TestWslDistroName 217s === RUN TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME 217s === PAUSE TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME 217s === RUN TestWslDistroName/Success_using_wslpath 217s === PAUSE TestWslDistroName/Success_using_wslpath 217s === RUN TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails 217s === PAUSE TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails 217s === RUN TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text 217s === PAUSE TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text 217s === CONT TestProDetach/error_on_'pro_detach'_error_and_some_reason 217s === PAUSE TestInfo/Error_when_WslDistroName_fails 217s === RUN TestInfo/Error_when_pro_status_command_fails 217s === PAUSE TestInfo/Error_when_pro_status_command_fails 217s === CONT TestLandscapeDisable/Success 217s === CONT TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason 217s === CONT TestProDetach/success_on_attached_distro 217s === CONT TestProDetach/success_on_unattached_distro 217s === CONT TestProDetach/error_on_'pro_detach'_error_with_bad_JSON 217s === CONT TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP 217s --- PASS: TestProDetach (0.00s) 217s --- PASS: TestProDetach/error_on_'pro_detach'_error_and_some_reason (2.37s) 217s --- PASS: TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason (1.98s) 217s --- PASS: TestProDetach/success_on_attached_distro (1.74s) 217s --- PASS: TestProDetach/success_on_unattached_distro (1.76s) 217s --- PASS: TestProDetach/error_on_'pro_detach'_error_with_bad_JSON (1.74s) 217s === CONT TestLandscapeDisable/Error_when_the_landscape-config_command_fails 217s === CONT TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path 217s --- PASS: TestLandscapeDisable (0.00s) 217s --- PASS: TestLandscapeDisable/Success (1.99s) 217s --- PASS: TestLandscapeDisable/Error_when_the_landscape-config_command_fails (2.10s) 217s === CONT TestWindowsHostAddress/Error_when_wslinfo_returns_an_error 217s === CONT TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback 217s === CONT TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed 217s === CONT TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist 217s === CONT TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed 217s === CONT TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist 217s === CONT TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback 217s === CONT TestWindowsHostAddress/Success_without_NAT 217s === CONT TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP 217s === CONT TestProStatus/error_on_'pro_attach'_returning_bad_output 217s --- PASS: TestWindowsHostAddress (0.00s) 217s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP (2.06s) 217s --- PASS: TestWindowsHostAddress/Error_when_wslinfo_returns_an_error (1.78s) 217s --- PASS: TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback (1.86s) 217s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed (2.03s) 217s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist (2.07s) 217s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed (1.99s) 217s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist (1.49s) 217s --- PASS: TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback (1.39s) 217s --- PASS: TestWindowsHostAddress/Success_without_NAT (1.51s) 217s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP (1.51s) 217s === CONT TestLandscapeEnable/Error_when_the_file_cannot_be_parsed 217s === CONT TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 217s time="2024-07-18T23:17:31Z" level=info msg="Landscape config contains key \"tags\". Its value will not be overridden." 217s === CONT TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 217s === NAME TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 217s system_test.go:456: testdata/TestLandscapeEnable/golden/do_not_append_wsl_tag_when_config_tag_is_provided 217s === CONT TestLandscapeEnable/Success 217s system_test.go:456: testdata/TestLandscapeEnable/golden/success 217s === CONT TestLandscapeEnable/Error_when_the_landscape-config_command_fails 217s === NAME TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 217s system_test.go:456: testdata/TestLandscapeEnable/golden/success_overriding_the_ssl_certficate_path 217s === CONT TestLandscapeEnable/Error_when_the_config_file_cannot_be_written 217s === CONT TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 217s time="2024-07-18T23:17:35Z" level=info msg="Landscape config contains key \"tags\". Its value will not be overridden." 217s === CONT TestLandscapeEnable/Success_overriding_computer_title 217s time="2024-07-18T23:17:35Z" level=info msg="Landscape config contains key \"computer_title\". Its value will be overridden." 217s === NAME TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 217s system_test.go:456: testdata/TestLandscapeEnable/golden/do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 217s === CONT TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist 217s === CONT TestProAttach/success 217s === NAME TestLandscapeEnable/Success_overriding_computer_title 217s system_test.go:456: testdata/TestLandscapeEnable/golden/success_overriding_computer_title 217s --- PASS: TestLandscapeEnable (0.00s) 217s --- PASS: TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path (1.67s) 217s --- PASS: TestLandscapeEnable/Error_when_the_file_cannot_be_parsed (0.00s) 217s --- PASS: TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided (0.92s) 217s --- PASS: TestLandscapeEnable/Success (1.51s) 217s --- PASS: TestLandscapeEnable/Success_overriding_the_SSL_certficate_path (2.76s) 217s --- PASS: TestLandscapeEnable/Error_when_the_config_file_cannot_be_written (0.00s) 217s --- PASS: TestLandscapeEnable/Error_when_the_landscape-config_command_fails (1.43s) 217s --- PASS: TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty (1.07s) 217s --- PASS: TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist (0.00s) 217s --- PASS: TestLandscapeEnable/Success_overriding_computer_title (1.13s) 217s === CONT TestProStatus/success_on_attached_distro 217s === CONT TestProStatus/success_on_unattached_distro 217s === CONT TestProStatus/error_on_'pro_attach'_error 217s === CONT TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts 217s === CONT TestProAttach/error_on_'pro_attach'_error 217s --- PASS: TestProStatus (0.00s) 217s --- PASS: TestProStatus/error_on_'pro_attach'_returning_bad_output (1.07s) 217s --- PASS: TestProStatus/success_on_attached_distro (0.99s) 217s --- PASS: TestProStatus/success_on_unattached_distro (0.90s) 217s --- PASS: TestProStatus/error_on_'pro_attach'_error (0.95s) 217s === CONT TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME 217s === CONT TestUserProfileDir/Error_on_cmd.exe_error 217s --- PASS: TestProAttach (0.00s) 217s --- PASS: TestProAttach/success (0.89s) 217s --- PASS: TestProAttach/error_on_'pro_attach'_error (0.91s) 217s === CONT TestUserProfileDir/Error_when_cmd.exe_does_not_exist 217s === CONT TestUserProfileDir/Success_with_a_single_9P_filesystem_mount 217s === CONT TestUserProfileDir/Success_with_cached_cmd.exe_path 217s === CONT TestUserProfileDir/Error_when_wslpath_returns_a_bad_path 217s === CONT TestUserProfileDir/Error_on_wslpath_error 217s === CONT TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts 217s system_test.go:205: Removing default proc/mounts 217s === CONT TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts 217s system_test.go:205: Removing default proc/mounts 217s === CONT TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts 217s === CONT TestInfo/Error_when_pro_status_output_cannot_be_parsed 217s === CONT TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text 217s --- PASS: TestUserProfileDir (0.00s) 217s --- PASS: TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts (2.04s) 217s --- PASS: TestUserProfileDir/Error_when_cmd.exe_does_not_exist (0.00s) 217s --- PASS: TestUserProfileDir/Error_on_cmd.exe_error (0.92s) 217s --- PASS: TestUserProfileDir/Success_with_a_single_9P_filesystem_mount (1.97s) 217s --- PASS: TestUserProfileDir/Success_with_cached_cmd.exe_path (1.94s) 217s --- PASS: TestUserProfileDir/Error_when_wslpath_returns_a_bad_path (1.82s) 217s --- PASS: TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts (0.00s) 217s --- PASS: TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts (0.00s) 217s --- PASS: TestUserProfileDir/Error_on_wslpath_error (2.05s) 217s --- PASS: TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts (1.87s) 217s === CONT TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails 217s === CONT TestWslDistroName/Success_using_wslpath 217s === CONT TestInfo/Success 217s --- PASS: TestWslDistroName (0.00s) 217s --- PASS: TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME (0.00s) 217s --- PASS: TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text (1.02s) 217s --- PASS: TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails (0.85s) 217s --- PASS: TestWslDistroName/Success_using_wslpath (0.92s) 217s === CONT TestInfo/Error_when_pro_status_command_fails 217s === CONT TestInfo/Error_when_WslDistroName_fails 217s === CONT TestInfo/Error_whem_/etc/os-release_returns_bad_contents 217s === CONT TestInfo/Error_when_hostname_cannot_be_obtained 217s === CONT TestInfo/Error_when_/etc/os-release_cannot_be_read 217s --- PASS: TestInfo (0.00s) 217s --- PASS: TestInfo/Error_when_pro_status_output_cannot_be_parsed (0.98s) 217s --- PASS: TestInfo/Success (1.00s) 217s --- PASS: TestInfo/Error_when_pro_status_command_fails (0.95s) 217s --- PASS: TestInfo/Error_when_WslDistroName_fails (0.95s) 217s --- PASS: TestInfo/Error_whem_/etc/os-release_returns_bad_contents (0.92s) 217s --- PASS: TestInfo/Error_when_hostname_cannot_be_obtained (1.02s) 217s --- PASS: TestInfo/Error_when_/etc/os-release_cannot_be_read (0.78s) 217s PASS 217s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/system 34.980s 217s autopkgtest [23:18:36]: test command1: -----------------------] 217s command1 PASS 217s autopkgtest [23:18:36]: test command1: - - - - - - - - - - results - - - - - - - - - - 217s autopkgtest [23:18:36]: @@@@@@@@@@@@@@@@@@@@ summary 217s command1 PASS 227s nova [W] Skipping flock for amd64 227s Creating nova instance adt-noble-amd64-wsl-pro-service-20240718-231459-juju-7f2275-prod-proposed-migration-environment-2-980ae85b-9d04-4dc7-8bf9-e26ac9490633 from image adt/ubuntu-noble-amd64-server-20240718.img (UUID 207d8ee6-df2e-49f4-9f7e-6e29f925b503)...