0s autopkgtest [01:44:26]: starting date and time: 2025-04-11 01:44:26+0000 0s autopkgtest [01:44:26]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [01:44:26]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.i68uv_v8/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ubuntu-advantage-tools --apt-upgrade wsl-pro-service --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=ubuntu-advantage-tools/35.1ubuntu0~24.04' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-5.secgroup --name adt-noble-amd64-wsl-pro-service-20250411-014426-juju-7f2275-prod-proposed-migration-environment-15-5d6d08ad-31d9-4a44-8b39-2108bfd18c16 --image adt/ubuntu-noble-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 48s autopkgtest [01:45:14]: testbed dpkg architecture: amd64 48s autopkgtest [01:45:14]: testbed apt version: 2.7.14build2 49s autopkgtest [01:45:15]: @@@@@@@@@@@@@@@@@@@@ test bed setup 49s autopkgtest [01:45:15]: testbed release detected to be: None 50s autopkgtest [01:45:16]: updating testbed package index (apt update) 50s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [265 kB] 50s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 50s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 51s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 51s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [65.6 kB] 51s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [61.6 kB] 51s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [25.2 kB] 51s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main i386 Packages [41.0 kB] 51s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 Packages [236 kB] 51s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 c-n-f Metadata [2248 B] 51s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 Packages [337 kB] 51s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/restricted i386 Packages [3028 B] 51s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 c-n-f Metadata [116 B] 51s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe i386 Packages [335 kB] 51s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 Packages [462 kB] 51s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 c-n-f Metadata [7448 B] 51s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 c-n-f Metadata [116 B] 55s Fetched 1843 kB in 1s (1667 kB/s) 56s Reading package lists... 57s autopkgtest [01:45:22]: upgrading testbed (apt dist-upgrade and autopurge) 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 57s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 57s Starting 2 pkgProblemResolver with broken count: 0 57s Done 58s Entering ResolveByKeep 58s 58s The following packages will be upgraded: 58s ubuntu-pro-client ubuntu-pro-client-l10n 58s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Need to get 277 kB of archives. 58s After this operation, 109 kB of additional disk space will be used. 58s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 ubuntu-pro-client-l10n amd64 35.1ubuntu0~24.04 [19.8 kB] 58s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 ubuntu-pro-client amd64 35.1ubuntu0~24.04 [257 kB] 59s Fetched 277 kB in 0s (595 kB/s) 59s (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 ... 74631 files and directories currently installed.) 59s Preparing to unpack .../ubuntu-pro-client-l10n_35.1ubuntu0~24.04_amd64.deb ... 59s Unpacking ubuntu-pro-client-l10n (35.1ubuntu0~24.04) over (34~24.04) ... 59s Preparing to unpack .../ubuntu-pro-client_35.1ubuntu0~24.04_amd64.deb ... 59s Unpacking ubuntu-pro-client (35.1ubuntu0~24.04) over (34~24.04) ... 59s Setting up ubuntu-pro-client (35.1ubuntu0~24.04) ... 59s Installing new version of config file /etc/apparmor.d/ubuntu_pro_apt_news ... 59s Installing new version of config file /etc/apt/apt.conf.d/20apt-esm-hook.conf ... 61s Setting up ubuntu-pro-client-l10n (35.1ubuntu0~24.04) ... 61s Processing triggers for man-db (2.12.0-4build2) ... 62s Reading package lists... 62s Building dependency tree... 62s Reading state information... 62s Starting pkgProblemResolver with broken count: 0 62s Starting 2 pkgProblemResolver with broken count: 0 62s Done 63s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 63s autopkgtest [01:45:29]: rebooting testbed after setup commands that affected boot 76s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 83s autopkgtest [01:45:49]: testbed running kernel: Linux 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 86s autopkgtest [01:45:52]: @@@@@@@@@@@@@@@@@@@@ apt-source wsl-pro-service 88s Get:1 http://ftpmaster.internal/ubuntu noble/main wsl-pro-service 0.1.4 (dsc) [1420 B] 88s Get:2 http://ftpmaster.internal/ubuntu noble/main wsl-pro-service 0.1.4 (tar) [1762 kB] 88s gpgv: Signature made Fri Apr 19 05:59:17 2024 UTC 88s gpgv: using DSA key DD00EF8F4D23C30D78EC990998B24A9CE4AC208E 88s gpgv: Can't check signature: No public key 88s dpkg-source: warning: cannot verify inline signature for ./wsl-pro-service_0.1.4.dsc: no acceptable signature found 88s autopkgtest [01:45:54]: testing package wsl-pro-service version 0.1.4 89s autopkgtest [01:45:55]: build not needed 90s autopkgtest [01:45:56]: test command1: preparing testbed 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 91s Starting pkgProblemResolver with broken count: 0 91s Starting 2 pkgProblemResolver with broken count: 0 91s Done 91s The following NEW packages will be installed: 91s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 91s cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit dh-apport 91s dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ g++-13 91s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 91s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext golang-1.22-go 91s golang-1.22-src golang-go golang-src intltool-debian libarchive-zip-perl 91s libasan8 libatomic1 libcc1-0 libdebhelper-perl 91s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 91s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libsub-override-perl 91s libtool libtsan2 libubsan1 m4 po-debconf 91s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 91s Need to get 111 MB of archives. 91s After this operation, 444 MB of additional disk space will be used. 91s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 92s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 autoconf all 2.71-3 [339 kB] 92s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 autotools-dev all 20220109.1 [44.9 kB] 92s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 92s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 autopoint all 0.21-14ubuntu2 [422 kB] 92s Get:6 http://ftpmaster.internal/ubuntu noble-updates/main amd64 gcc-13-base amd64 13.3.0-6ubuntu2~24.04 [51.5 kB] 92s Get:7 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libisl23 amd64 0.26-3build1.1 [680 kB] 92s Get:8 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libmpc3 amd64 1.3.1-1build1.1 [54.6 kB] 92s Get:9 http://ftpmaster.internal/ubuntu noble-updates/main amd64 cpp-13-x86-64-linux-gnu amd64 13.3.0-6ubuntu2~24.04 [10.7 MB] 93s Get:10 http://ftpmaster.internal/ubuntu noble-updates/main amd64 cpp-13 amd64 13.3.0-6ubuntu2~24.04 [1038 B] 93s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B] 93s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB] 93s Get:13 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libcc1-0 amd64 14.2.0-4ubuntu2~24.04 [48.0 kB] 93s Get:14 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libgomp1 amd64 14.2.0-4ubuntu2~24.04 [148 kB] 93s Get:15 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libitm1 amd64 14.2.0-4ubuntu2~24.04 [29.7 kB] 93s Get:16 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libatomic1 amd64 14.2.0-4ubuntu2~24.04 [10.5 kB] 93s Get:17 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libasan8 amd64 14.2.0-4ubuntu2~24.04 [3031 kB] 94s Get:18 http://ftpmaster.internal/ubuntu noble-updates/main amd64 liblsan0 amd64 14.2.0-4ubuntu2~24.04 [1322 kB] 94s Get:19 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libtsan2 amd64 14.2.0-4ubuntu2~24.04 [2772 kB] 94s Get:20 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libubsan1 amd64 14.2.0-4ubuntu2~24.04 [1184 kB] 94s Get:21 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libhwasan0 amd64 14.2.0-4ubuntu2~24.04 [1641 kB] 94s Get:22 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libquadmath0 amd64 14.2.0-4ubuntu2~24.04 [153 kB] 94s Get:23 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libgcc-13-dev amd64 13.3.0-6ubuntu2~24.04 [2681 kB] 94s Get:24 http://ftpmaster.internal/ubuntu noble-updates/main amd64 gcc-13-x86-64-linux-gnu amd64 13.3.0-6ubuntu2~24.04 [21.1 MB] 95s Get:25 http://ftpmaster.internal/ubuntu noble-updates/main amd64 gcc-13 amd64 13.3.0-6ubuntu2~24.04 [494 kB] 95s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B] 95s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B] 95s Get:28 http://ftpmaster.internal/ubuntu noble-updates/main amd64 libstdc++-13-dev amd64 13.3.0-6ubuntu2~24.04 [2420 kB] 95s Get:29 http://ftpmaster.internal/ubuntu noble-updates/main amd64 g++-13-x86-64-linux-gnu amd64 13.3.0-6ubuntu2~24.04 [12.2 MB] 95s Get:30 http://ftpmaster.internal/ubuntu noble-updates/main amd64 g++-13 amd64 13.3.0-6ubuntu2~24.04 [16.1 kB] 95s Get:31 http://ftpmaster.internal/ubuntu noble/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B] 95s Get:32 http://ftpmaster.internal/ubuntu noble/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B] 95s Get:33 http://ftpmaster.internal/ubuntu noble/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 95s Get:34 http://ftpmaster.internal/ubuntu noble/main amd64 libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 95s Get:35 http://ftpmaster.internal/ubuntu noble/main amd64 libtool all 2.4.7-7build1 [166 kB] 95s Get:36 http://ftpmaster.internal/ubuntu noble/main amd64 dh-autoreconf all 20 [16.1 kB] 95s Get:37 http://ftpmaster.internal/ubuntu noble/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 95s Get:38 http://ftpmaster.internal/ubuntu noble/main amd64 libsub-override-perl all 0.10-1 [10.0 kB] 95s Get:39 http://ftpmaster.internal/ubuntu noble/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 95s Get:40 http://ftpmaster.internal/ubuntu noble/main amd64 dh-strip-nondeterminism all 1.13.1-1 [5362 B] 95s Get:41 http://ftpmaster.internal/ubuntu noble/main amd64 debugedit amd64 1:5.0-5build2 [46.1 kB] 95s Get:42 http://ftpmaster.internal/ubuntu noble/main amd64 dwz amd64 0.15-1build6 [115 kB] 95s Get:43 http://ftpmaster.internal/ubuntu noble/main amd64 gettext amd64 0.21-14ubuntu2 [864 kB] 95s Get:44 http://ftpmaster.internal/ubuntu noble/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 95s Get:45 http://ftpmaster.internal/ubuntu noble/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 95s Get:46 http://ftpmaster.internal/ubuntu noble/main amd64 debhelper all 13.14.1ubuntu5 [869 kB] 95s Get:47 http://ftpmaster.internal/ubuntu noble-updates/universe amd64 dh-apport all 2.28.1-0ubuntu3.5 [18.2 kB] 95s Get:48 http://ftpmaster.internal/ubuntu noble-updates/main amd64 golang-1.22-src all 1.22.2-2ubuntu0.3 [19.7 MB] 96s Get:49 http://ftpmaster.internal/ubuntu noble-updates/main amd64 golang-1.22-go amd64 1.22.2-2ubuntu0.3 [25.9 MB] 97s Get:50 http://ftpmaster.internal/ubuntu noble/main amd64 golang-src all 2:1.22~2build1 [5078 B] 97s Get:51 http://ftpmaster.internal/ubuntu noble/main amd64 golang-go amd64 2:1.22~2build1 [43.9 kB] 97s Get:52 http://ftpmaster.internal/ubuntu noble/main amd64 dh-golang all 1.62 [25.2 kB] 97s Fetched 111 MB in 6s (19.0 MB/s) 97s Selecting previously unselected package m4. 98s (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 ... 74647 files and directories currently installed.) 98s Preparing to unpack .../00-m4_1.4.19-4build1_amd64.deb ... 98s Unpacking m4 (1.4.19-4build1) ... 98s Selecting previously unselected package autoconf. 98s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 98s Unpacking autoconf (2.71-3) ... 98s Selecting previously unselected package autotools-dev. 98s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 98s Unpacking autotools-dev (20220109.1) ... 98s Selecting previously unselected package automake. 98s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 98s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 98s Selecting previously unselected package autopoint. 98s Preparing to unpack .../04-autopoint_0.21-14ubuntu2_all.deb ... 98s Unpacking autopoint (0.21-14ubuntu2) ... 98s Selecting previously unselected package gcc-13-base:amd64. 98s Preparing to unpack .../05-gcc-13-base_13.3.0-6ubuntu2~24.04_amd64.deb ... 98s Unpacking gcc-13-base:amd64 (13.3.0-6ubuntu2~24.04) ... 98s Selecting previously unselected package libisl23:amd64. 98s Preparing to unpack .../06-libisl23_0.26-3build1.1_amd64.deb ... 98s Unpacking libisl23:amd64 (0.26-3build1.1) ... 98s Selecting previously unselected package libmpc3:amd64. 98s Preparing to unpack .../07-libmpc3_1.3.1-1build1.1_amd64.deb ... 98s Unpacking libmpc3:amd64 (1.3.1-1build1.1) ... 98s Selecting previously unselected package cpp-13-x86-64-linux-gnu. 98s Preparing to unpack .../08-cpp-13-x86-64-linux-gnu_13.3.0-6ubuntu2~24.04_amd64.deb ... 98s Unpacking cpp-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 98s Selecting previously unselected package cpp-13. 98s Preparing to unpack .../09-cpp-13_13.3.0-6ubuntu2~24.04_amd64.deb ... 98s Unpacking cpp-13 (13.3.0-6ubuntu2~24.04) ... 98s Selecting previously unselected package cpp-x86-64-linux-gnu. 98s Preparing to unpack .../10-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 98s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 98s Selecting previously unselected package cpp. 98s Preparing to unpack .../11-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ... 98s Unpacking cpp (4:13.2.0-7ubuntu1) ... 98s Selecting previously unselected package libcc1-0:amd64. 98s Preparing to unpack .../12-libcc1-0_14.2.0-4ubuntu2~24.04_amd64.deb ... 98s Unpacking libcc1-0:amd64 (14.2.0-4ubuntu2~24.04) ... 98s Selecting previously unselected package libgomp1:amd64. 98s Preparing to unpack .../13-libgomp1_14.2.0-4ubuntu2~24.04_amd64.deb ... 98s Unpacking libgomp1:amd64 (14.2.0-4ubuntu2~24.04) ... 98s Selecting previously unselected package libitm1:amd64. 98s Preparing to unpack .../14-libitm1_14.2.0-4ubuntu2~24.04_amd64.deb ... 98s Unpacking libitm1:amd64 (14.2.0-4ubuntu2~24.04) ... 98s Selecting previously unselected package libatomic1:amd64. 98s Preparing to unpack .../15-libatomic1_14.2.0-4ubuntu2~24.04_amd64.deb ... 98s Unpacking libatomic1:amd64 (14.2.0-4ubuntu2~24.04) ... 98s Selecting previously unselected package libasan8:amd64. 98s Preparing to unpack .../16-libasan8_14.2.0-4ubuntu2~24.04_amd64.deb ... 98s Unpacking libasan8:amd64 (14.2.0-4ubuntu2~24.04) ... 98s Selecting previously unselected package liblsan0:amd64. 98s Preparing to unpack .../17-liblsan0_14.2.0-4ubuntu2~24.04_amd64.deb ... 98s Unpacking liblsan0:amd64 (14.2.0-4ubuntu2~24.04) ... 99s Selecting previously unselected package libtsan2:amd64. 99s Preparing to unpack .../18-libtsan2_14.2.0-4ubuntu2~24.04_amd64.deb ... 99s Unpacking libtsan2:amd64 (14.2.0-4ubuntu2~24.04) ... 99s Selecting previously unselected package libubsan1:amd64. 99s Preparing to unpack .../19-libubsan1_14.2.0-4ubuntu2~24.04_amd64.deb ... 99s Unpacking libubsan1:amd64 (14.2.0-4ubuntu2~24.04) ... 99s Selecting previously unselected package libhwasan0:amd64. 99s Preparing to unpack .../20-libhwasan0_14.2.0-4ubuntu2~24.04_amd64.deb ... 99s Unpacking libhwasan0:amd64 (14.2.0-4ubuntu2~24.04) ... 99s Selecting previously unselected package libquadmath0:amd64. 99s Preparing to unpack .../21-libquadmath0_14.2.0-4ubuntu2~24.04_amd64.deb ... 99s Unpacking libquadmath0:amd64 (14.2.0-4ubuntu2~24.04) ... 99s Selecting previously unselected package libgcc-13-dev:amd64. 99s Preparing to unpack .../22-libgcc-13-dev_13.3.0-6ubuntu2~24.04_amd64.deb ... 99s Unpacking libgcc-13-dev:amd64 (13.3.0-6ubuntu2~24.04) ... 99s Selecting previously unselected package gcc-13-x86-64-linux-gnu. 99s Preparing to unpack .../23-gcc-13-x86-64-linux-gnu_13.3.0-6ubuntu2~24.04_amd64.deb ... 99s Unpacking gcc-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 99s Selecting previously unselected package gcc-13. 99s Preparing to unpack .../24-gcc-13_13.3.0-6ubuntu2~24.04_amd64.deb ... 99s Unpacking gcc-13 (13.3.0-6ubuntu2~24.04) ... 99s Selecting previously unselected package gcc-x86-64-linux-gnu. 99s Preparing to unpack .../25-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 99s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 99s Selecting previously unselected package gcc. 99s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ... 99s Unpacking gcc (4:13.2.0-7ubuntu1) ... 99s Selecting previously unselected package libstdc++-13-dev:amd64. 99s Preparing to unpack .../27-libstdc++-13-dev_13.3.0-6ubuntu2~24.04_amd64.deb ... 99s Unpacking libstdc++-13-dev:amd64 (13.3.0-6ubuntu2~24.04) ... 99s Selecting previously unselected package g++-13-x86-64-linux-gnu. 99s Preparing to unpack .../28-g++-13-x86-64-linux-gnu_13.3.0-6ubuntu2~24.04_amd64.deb ... 99s Unpacking g++-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 99s Selecting previously unselected package g++-13. 99s Preparing to unpack .../29-g++-13_13.3.0-6ubuntu2~24.04_amd64.deb ... 99s Unpacking g++-13 (13.3.0-6ubuntu2~24.04) ... 99s Selecting previously unselected package g++-x86-64-linux-gnu. 99s Preparing to unpack .../30-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 99s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 100s Selecting previously unselected package g++. 100s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_amd64.deb ... 100s Unpacking g++ (4:13.2.0-7ubuntu1) ... 100s Selecting previously unselected package build-essential. 100s Preparing to unpack .../32-build-essential_12.10ubuntu1_amd64.deb ... 100s Unpacking build-essential (12.10ubuntu1) ... 100s Selecting previously unselected package libdebhelper-perl. 100s Preparing to unpack .../33-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 100s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 100s Selecting previously unselected package libtool. 100s Preparing to unpack .../34-libtool_2.4.7-7build1_all.deb ... 100s Unpacking libtool (2.4.7-7build1) ... 100s Selecting previously unselected package dh-autoreconf. 100s Preparing to unpack .../35-dh-autoreconf_20_all.deb ... 100s Unpacking dh-autoreconf (20) ... 100s Selecting previously unselected package libarchive-zip-perl. 100s Preparing to unpack .../36-libarchive-zip-perl_1.68-1_all.deb ... 100s Unpacking libarchive-zip-perl (1.68-1) ... 100s Selecting previously unselected package libsub-override-perl. 100s Preparing to unpack .../37-libsub-override-perl_0.10-1_all.deb ... 100s Unpacking libsub-override-perl (0.10-1) ... 100s Selecting previously unselected package libfile-stripnondeterminism-perl. 100s Preparing to unpack .../38-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 100s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 100s Selecting previously unselected package dh-strip-nondeterminism. 100s Preparing to unpack .../39-dh-strip-nondeterminism_1.13.1-1_all.deb ... 100s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 100s Selecting previously unselected package debugedit. 100s Preparing to unpack .../40-debugedit_1%3a5.0-5build2_amd64.deb ... 100s Unpacking debugedit (1:5.0-5build2) ... 100s Selecting previously unselected package dwz. 100s Preparing to unpack .../41-dwz_0.15-1build6_amd64.deb ... 100s Unpacking dwz (0.15-1build6) ... 100s Selecting previously unselected package gettext. 100s Preparing to unpack .../42-gettext_0.21-14ubuntu2_amd64.deb ... 100s Unpacking gettext (0.21-14ubuntu2) ... 100s Selecting previously unselected package intltool-debian. 100s Preparing to unpack .../43-intltool-debian_0.35.0+20060710.6_all.deb ... 100s Unpacking intltool-debian (0.35.0+20060710.6) ... 100s Selecting previously unselected package po-debconf. 100s Preparing to unpack .../44-po-debconf_1.0.21+nmu1_all.deb ... 100s Unpacking po-debconf (1.0.21+nmu1) ... 100s Selecting previously unselected package debhelper. 100s Preparing to unpack .../45-debhelper_13.14.1ubuntu5_all.deb ... 100s Unpacking debhelper (13.14.1ubuntu5) ... 100s Selecting previously unselected package dh-apport. 100s Preparing to unpack .../46-dh-apport_2.28.1-0ubuntu3.5_all.deb ... 100s Unpacking dh-apport (2.28.1-0ubuntu3.5) ... 100s Selecting previously unselected package golang-1.22-src. 100s Preparing to unpack .../47-golang-1.22-src_1.22.2-2ubuntu0.3_all.deb ... 100s Unpacking golang-1.22-src (1.22.2-2ubuntu0.3) ... 102s Selecting previously unselected package golang-1.22-go. 102s Preparing to unpack .../48-golang-1.22-go_1.22.2-2ubuntu0.3_amd64.deb ... 102s Unpacking golang-1.22-go (1.22.2-2ubuntu0.3) ... 103s Selecting previously unselected package golang-src. 103s Preparing to unpack .../49-golang-src_2%3a1.22~2build1_all.deb ... 103s Unpacking golang-src (2:1.22~2build1) ... 103s Selecting previously unselected package golang-go:amd64. 103s Preparing to unpack .../50-golang-go_2%3a1.22~2build1_amd64.deb ... 103s Unpacking golang-go:amd64 (2:1.22~2build1) ... 103s Selecting previously unselected package dh-golang. 103s Preparing to unpack .../51-dh-golang_1.62_all.deb ... 103s Unpacking dh-golang (1.62) ... 103s Setting up libarchive-zip-perl (1.68-1) ... 103s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 103s Setting up m4 (1.4.19-4build1) ... 103s Setting up libgomp1:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up dh-apport (2.28.1-0ubuntu3.5) ... 103s Setting up autotools-dev (20220109.1) ... 103s Setting up gcc-13-base:amd64 (13.3.0-6ubuntu2~24.04) ... 103s Setting up golang-1.22-src (1.22.2-2ubuntu0.3) ... 103s Setting up libquadmath0:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up libmpc3:amd64 (1.3.1-1build1.1) ... 103s Setting up libatomic1:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up autopoint (0.21-14ubuntu2) ... 103s Setting up autoconf (2.71-3) ... 103s Setting up libubsan1:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up dwz (0.15-1build6) ... 103s Setting up libhwasan0:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up libasan8:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up debugedit (1:5.0-5build2) ... 103s Setting up libsub-override-perl (0.10-1) ... 103s Setting up libtsan2:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up libisl23:amd64 (0.26-3build1.1) ... 103s Setting up golang-src (2:1.22~2build1) ... 103s Setting up libcc1-0:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up liblsan0:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up libitm1:amd64 (14.2.0-4ubuntu2~24.04) ... 103s Setting up automake (1:1.16.5-1.3ubuntu1) ... 103s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 103s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 103s Setting up gettext (0.21-14ubuntu2) ... 103s Setting up cpp-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 103s Setting up golang-1.22-go (1.22.2-2ubuntu0.3) ... 103s Setting up intltool-debian (0.35.0+20060710.6) ... 103s Setting up dh-strip-nondeterminism (1.13.1-1) ... 103s Setting up libgcc-13-dev:amd64 (13.3.0-6ubuntu2~24.04) ... 103s Setting up libstdc++-13-dev:amd64 (13.3.0-6ubuntu2~24.04) ... 103s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 103s Setting up cpp-13 (13.3.0-6ubuntu2~24.04) ... 103s Setting up golang-go:amd64 (2:1.22~2build1) ... 103s Setting up gcc-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 103s Setting up po-debconf (1.0.21+nmu1) ... 103s Setting up gcc-13 (13.3.0-6ubuntu2~24.04) ... 103s Setting up cpp (4:13.2.0-7ubuntu1) ... 103s Setting up g++-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 103s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 103s Setting up libtool (2.4.7-7build1) ... 103s Setting up gcc (4:13.2.0-7ubuntu1) ... 103s Setting up dh-autoreconf (20) ... 103s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 103s Setting up g++-13 (13.3.0-6ubuntu2~24.04) ... 103s Setting up debhelper (13.14.1ubuntu5) ... 103s Setting up g++ (4:13.2.0-7ubuntu1) ... 103s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 103s Setting up build-essential (12.10ubuntu1) ... 103s Setting up dh-golang (1.62) ... 103s Processing triggers for man-db (2.12.0-4build2) ... 104s Processing triggers for install-info (7.1-3build2) ... 104s Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 105s autopkgtest [01:46:11]: test command1: ./debian/tests/test 105s autopkgtest [01:46:11]: test command1: [----------------------- 135s === RUN TestRunSignal 135s === RUN TestRunSignal/Send_SIGINT_exits 135s INFO Starting WSL Pro Service version Dev 135s === RUN TestRunSignal/Send_SIGTERM_exits 135s INFO Starting WSL Pro Service version Dev 135s --- PASS: TestRunSignal (0.20s) 135s --- PASS: TestRunSignal/Send_SIGINT_exits (0.10s) 135s --- PASS: TestRunSignal/Send_SIGTERM_exits (0.10s) 135s === RUN TestRun 135s === PAUSE TestRun 135s === CONT TestRun 135s === RUN TestRun/Run_and_return_usage_error 135s === PAUSE TestRun/Run_and_return_usage_error 135s === RUN TestRun/Run_and_usage_error_only_does_not_fail 135s === PAUSE TestRun/Run_and_usage_error_only_does_not_fail 135s === RUN TestRun/Run_and_exit_successfully 135s === PAUSE TestRun/Run_and_exit_successfully 135s === RUN TestRun/Run_and_return_error 135s === PAUSE TestRun/Run_and_return_error 135s === CONT TestRun/Run_and_return_usage_error 135s === CONT TestRun/Run_and_exit_successfully 135s INFO Starting WSL Pro Service version Dev 135s INFO Starting WSL Pro Service version Dev 135s ERROR context.Background Error requested 135s === CONT TestRun/Run_and_return_error 135s INFO Starting WSL Pro Service version Dev 135s === CONT TestRun/Run_and_usage_error_only_does_not_fail 135s INFO Starting WSL Pro Service version Dev 135s ERROR context.Background Error requested 135s --- PASS: TestRun (0.00s) 135s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 135s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 135s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 135s --- PASS: TestRun/Run_and_return_error (0.10s) 135s PASS 135s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/cmd/wsl-pro-service 0.409s 136s ? github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/generate/doc [no test files] 145s ? github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/consts [no test files] 146s === RUN TestHelp 146s --- PASS: TestHelp (0.00s) 146s === RUN TestCompletion 146s --- PASS: TestCompletion (0.00s) 146s === RUN TestVersion 146s --- PASS: TestVersion (0.00s) 146s === RUN TestNoUsageError 146s --- PASS: TestNoUsageError (0.00s) 146s === RUN TestUsageError 146s === PAUSE TestUsageError 146s === RUN TestCanQuitWhenExecute 146s === PAUSE TestCanQuitWhenExecute 146s === RUN TestCanQuitTwice 146s === PAUSE TestCanQuitTwice 146s === RUN TestAppCanQuitWithoutExecute 146s === PAUSE TestAppCanQuitWithoutExecute 146s === RUN TestAppRunFailsOnComponentsCreationAndQuit 146s === PAUSE TestAppRunFailsOnComponentsCreationAndQuit 146s === RUN TestAppGetRootCmd 146s === PAUSE TestAppGetRootCmd 146s === RUN TestWithProMock 146s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 146s --- SKIP: TestWithProMock (0.00s) 146s === RUN TestWithWslPathMock 146s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 146s --- SKIP: TestWithWslPathMock (0.00s) 146s === RUN TestWithWslInfoMock 146s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 146s --- SKIP: TestWithWslInfoMock (0.00s) 146s === RUN TestWithCmdExeMock 146s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 146s --- SKIP: TestWithCmdExeMock (0.00s) 146s === CONT TestUsageError 146s === CONT TestAppCanQuitWithoutExecute 146s service_test.go:140: This test is skipped because it is flaky. There is no way to guarantee Quit has been called before run. 146s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 146s === CONT TestAppGetRootCmd 146s --- PASS: TestUsageError (0.00s) 146s === CONT TestCanQuitTwice 146s --- PASS: TestAppGetRootCmd (0.00s) 146s === CONT TestAppRunFailsOnComponentsCreationAndQuit 146s time="2025-04-11T01:46:42Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/cmd/wsl-pro-service/service/service.go:66 New.func1() Debug mode is enabled" 146s time="2025-04-11T01:46:42Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:75 New() Building new daemon" 146s time="2025-04-11T01:46:42Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/testutils/mock_agent.go:76 NewMockWindowsAgent.func1() MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:34089" 146s --- PASS: TestAppRunFailsOnComponentsCreationAndQuit (6.29s) 146s === CONT TestCanQuitWhenExecute 146s time="2025-04-11T01:46:48Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/cmd/wsl-pro-service/service/service.go:66 New.func1() Debug mode is enabled" 146s time="2025-04-11T01:46:48Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:75 New() Building new daemon" 146s time="2025-04-11T01:46:50Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/streams/server.go:141 (*Server).Serve() Server: sent preface messages to all streams" 146s time="2025-04-11T01:46:50Z" level=warning msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:186 (*Daemon).Serve.func1() Daemon: disconnected from Windows host" 146s time="2025-04-11T01:46:50Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:209 (*Daemon).Serve() Reconnecting to Windows host in 1 seconds" 146s time="2025-04-11T01:46:50Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 146s time="2025-04-11T01:46:50Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 146s time="2025-04-11T01:46:50Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 146s time="2025-04-11T01:46:50Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 146s time="2025-04-11T01:46:50Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/testutils/mock_agent.go:326 (*mockWSLInstanceService).LandscapeConfigCommands() MockWindowsAgent: LandscapeConfigCommands ready" 146s time="2025-04-11T01:46:50Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/testutils/mock_agent.go:275 (*mockWSLInstanceService).Connected() MockWindowsAgent: Connected ready" 146s time="2025-04-11T01:46:50Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/testutils/mock_agent.go:300 (*mockWSLInstanceService).ProAttachmentCommands() MockWindowsAgent: ProAttachmentCommands ready" 146s time="2025-04-11T01:46:50Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" func=github.com/ubuntu/decorate.LogOnErrorContext file="/tmp/autopkgtest.10bz0g/build.rGN/src/vendor/github.com/ubuntu/decorate/decorate.go:27" 146s time="2025-04-11T01:46:50Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" func=github.com/ubuntu/decorate.LogOnErrorContext file="/tmp/autopkgtest.10bz0g/build.rGN/src/vendor/github.com/ubuntu/decorate/decorate.go:27" 146s time="2025-04-11T01:46:50Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" func=github.com/ubuntu/decorate.LogOnErrorContext file="/tmp/autopkgtest.10bz0g/build.rGN/src/vendor/github.com/ubuntu/decorate/decorate.go:27" 146s time="2025-04-11T01:46:50Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 146s time="2025-04-11T01:46:50Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 146s time="2025-04-11T01:46:50Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 146s --- PASS: TestCanQuitTwice (8.06s) 146s time="2025-04-11T01:46:51Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:153 (*Daemon).Serve.func1() Daemon: connecting to Windows Agent" 146s time="2025-04-11T01:46:52Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 146s time="2025-04-11T01:46:52Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 146s time="2025-04-11T01:46:52Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:288 (*Daemon).connect() Daemon: starting connection to Windows Agent via 127.0.0.1:33243" 146s time="2025-04-11T01:46:52Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:173 (*Daemon).Serve.func1() Daemon: completed connection to Windows Agent" 146s time="2025-04-11T01:46:52Z" level=warning msg="/tmp/autopkgtest.10bz0g/build.rGN/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:33243: connect: connection refused\"" 146s time="2025-04-11T01:46:52Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:209 (*Daemon).Serve() Reconnecting to Windows host in 1 seconds" 146s time="2025-04-11T01:46:52Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 146s time="2025-04-11T01:46:52Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:220 (*Daemon).Quit() Stopping daemon requested." 146s time="2025-04-11T01:46:52Z" level=info msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:226 (*Daemon).Quit() Waiting for active requests to close." 146s time="2025-04-11T01:46:52Z" level=debug msg="/tmp/autopkgtest.10bz0g/build.rGN/src/internal/daemon/daemon.go:234 (*Daemon).Quit() All connections have now ended." 146s --- PASS: TestCanQuitWhenExecute (4.30s) 146s PASS 146s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/cmd/wsl-pro-service/service 10.617s 146s === RUN TestApplyProToken 146s === PAUSE TestApplyProToken 146s === RUN TestApplyLandscapeConfig 146s === PAUSE TestApplyLandscapeConfig 146s === RUN TestWithProMock 146s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 146s --- SKIP: TestWithProMock (0.00s) 146s === RUN TestWithLandscapeConfigMock 146s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 146s --- SKIP: TestWithLandscapeConfigMock (0.00s) 146s === RUN TestWithWslPathMock 146s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 146s --- SKIP: TestWithWslPathMock (0.00s) 146s === RUN TestWithWslInfoMock 146s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 146s --- SKIP: TestWithWslInfoMock (0.00s) 146s === RUN TestWithCmdExeMock 146s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 146s --- SKIP: TestWithCmdExeMock (0.00s) 146s === CONT TestApplyProToken 146s === RUN TestApplyProToken/Success_attaching 146s === PAUSE TestApplyProToken/Success_attaching 146s === RUN TestApplyProToken/Success_detaching 146s === PAUSE TestApplyProToken/Success_detaching 146s === RUN TestApplyProToken/Error_calling_pro_detach 146s === PAUSE TestApplyProToken/Error_calling_pro_detach 146s === RUN TestApplyProToken/Error_calling_pro_attach 146s === PAUSE TestApplyProToken/Error_calling_pro_attach 146s === CONT TestApplyProToken/Success_attaching 146s time="2025-04-11T01:46:43Z" level=info msg="ApplyProToken: Received token \"12**bc\": attaching" 146s === CONT TestApplyProToken/Error_calling_pro_attach 146s time="2025-04-11T01:46:43Z" level=info msg="ApplyProToken: Received token \"12**bc\": attaching" 146s === CONT TestApplyLandscapeConfig 146s === RUN TestApplyLandscapeConfig/Success_enabling_Landscape 146s === PAUSE TestApplyLandscapeConfig/Success_enabling_Landscape 146s === RUN TestApplyLandscapeConfig/Success_disabling_Landscape 146s === PAUSE TestApplyLandscapeConfig/Success_disabling_Landscape 146s === RUN TestApplyLandscapeConfig/Error_calling_landscape_disable 146s === PAUSE TestApplyLandscapeConfig/Error_calling_landscape_disable 146s === RUN TestApplyLandscapeConfig/Error_calling_landscape_enable 146s === PAUSE TestApplyLandscapeConfig/Error_calling_landscape_enable 146s === CONT TestApplyProToken/Error_calling_pro_detach 146s time="2025-04-11T01:46:46Z" level=info msg="ApplyProToken: Received token \"12**bc\": attaching" 146s === CONT TestApplyProToken/Success_detaching 146s time="2025-04-11T01:46:47Z" level=info msg="ApplyProToken: Received empty token: detaching" 146s === CONT TestApplyLandscapeConfig/Success_enabling_Landscape 146s time="2025-04-11T01:46:48Z" level=info msg="ApplyLandscapeConfig: received config: registering" 146s --- PASS: TestApplyProToken (0.00s) 146s --- PASS: TestApplyProToken/Error_calling_pro_attach (3.64s) 146s --- PASS: TestApplyProToken/Success_attaching (3.71s) 146s --- PASS: TestApplyProToken/Error_calling_pro_detach (1.53s) 146s --- PASS: TestApplyProToken/Success_detaching (1.47s) 146s === CONT TestApplyLandscapeConfig/Error_calling_landscape_disable 146s time="2025-04-11T01:46:48Z" level=info msg="ApplyLandscapeConfig: received empty config: disabling" 146s === CONT TestApplyLandscapeConfig/Error_calling_landscape_enable 146s time="2025-04-11T01:46:50Z" level=info msg="ApplyLandscapeConfig: received config: registering" 146s === CONT TestApplyLandscapeConfig/Success_disabling_Landscape 146s time="2025-04-11T01:46:50Z" level=info msg="ApplyLandscapeConfig: received empty config: disabling" 146s --- PASS: TestApplyLandscapeConfig (0.00s) 146s --- PASS: TestApplyLandscapeConfig/Error_calling_landscape_disable (1.49s) 146s --- PASS: TestApplyLandscapeConfig/Success_enabling_Landscape (1.58s) 146s --- PASS: TestApplyLandscapeConfig/Error_calling_landscape_enable (1.30s) 146s --- PASS: TestApplyLandscapeConfig/Success_disabling_Landscape (1.23s) 146s PASS 146s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/commandservice 7.991s 209s ? github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/testutils [no test files] 229s === RUN TestNew 229s === PAUSE TestNew 229s === RUN TestServe 229s === PAUSE TestServe 229s === RUN TestServeAndQuit 229s === PAUSE TestServeAndQuit 229s === RUN TestReconnection 229s === PAUSE TestReconnection 229s === RUN TestWithProMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithProMock (0.00s) 229s === RUN TestWithWslPathMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithWslPathMock (0.00s) 229s === RUN TestWithWslInfoMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithWslInfoMock (0.00s) 229s === RUN TestWithCmdExeMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithCmdExeMock (0.00s) 229s === CONT TestNew 229s === RUN TestNew/Success 229s === PAUSE TestNew/Success 229s === CONT TestServeAndQuit 229s === RUN TestServeAndQuit/Success_with_graceful_quit 229s === PAUSE TestServeAndQuit/Success_with_graceful_quit 229s === RUN TestServeAndQuit/Success_with_forceful_quit 229s === PAUSE TestServeAndQuit/Success_with_forceful_quit 229s === RUN TestServeAndQuit/Success_with_double_quit 229s === PAUSE TestServeAndQuit/Success_with_double_quit 229s === RUN TestServeAndQuit/Error_due_to_quitting_before_serving 229s === PAUSE TestServeAndQuit/Error_due_to_quitting_before_serving 229s === CONT TestReconnection 229s === RUN TestReconnection/Success_connecting_after_failing_to_connect 229s === PAUSE TestReconnection/Success_connecting_after_failing_to_connect 229s === RUN TestReconnection/Success_connecting_after_previous_connection_dropped 229s === PAUSE TestReconnection/Success_connecting_after_previous_connection_dropped 229s === RUN TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped 229s === PAUSE TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped 229s === CONT TestServe 229s === RUN TestServe/No_connection_because_the_port_file_does_not_exist 229s === PAUSE TestServe/No_connection_because_the_port_file_does_not_exist 229s === RUN TestServe/No_connection_because_the_port_file_has_a_bad_port 229s === PAUSE TestServe/No_connection_because_the_port_file_has_a_bad_port 229s === RUN TestServe/No_connection_because_the_port_file_has_port_0 229s === PAUSE TestServe/No_connection_because_the_port_file_has_port_0 229s === RUN TestServe/No_connection_because_the_port_file_has_a_negative_port 229s === PAUSE TestServe/No_connection_because_the_port_file_has_a_negative_port 229s === RUN TestServe/Error_because_the_notifier_returns_an_error 229s === PAUSE TestServe/Error_because_the_notifier_returns_an_error 229s === RUN TestServe/No_connection_because_cannot_read_root_CA_certificate_file 229s === PAUSE TestServe/No_connection_because_cannot_read_root_CA_certificate_file 229s === RUN TestServe/Error_because_the_context_is_pre-cancelled 229s === PAUSE TestServe/Error_because_the_context_is_pre-cancelled 229s === RUN TestServe/Error_because_WindowsHostAddress_returns_an_error 229s === PAUSE TestServe/Error_because_WindowsHostAddress_returns_an_error 229s === RUN TestServe/Success 229s === PAUSE TestServe/Success 229s === RUN TestServe/Success_with_systemd_notifier_returning_true 229s === PAUSE TestServe/Success_with_systemd_notifier_returning_true 229s === RUN TestServe/No_connection_because_the_port_file_is_empty 229s === PAUSE TestServe/No_connection_because_the_port_file_is_empty 229s === RUN TestServe/No_connection_because_there_is_no_server 229s === PAUSE TestServe/No_connection_because_there_is_no_server 229s === RUN TestServe/No_connection_because_there_are_no_certificates 229s === PAUSE TestServe/No_connection_because_there_are_no_certificates 229s === CONT TestServeAndQuit/Success_with_graceful_quit 229s === RUN TestNew/Error_when_WslPath_returns_error 229s === PAUSE TestNew/Error_when_WslPath_returns_error 229s === CONT TestReconnection/Success_connecting_after_failing_to_connect 229s time="2025-04-11T01:46:52Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:46:52Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:46833" 229s time="2025-04-11T01:46:52Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:46:54Z" level=debug msg="Ready state sent to systemd" 229s time="2025-04-11T01:46:54Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:46:54Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:46:54Z" 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_connect1702313782/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestReconnectionSuccess_connecting_after_failing_to_connect1702313782/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 229s time="2025-04-11T01:46:54Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:46:54Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:46:54Z" level=debug msg="Ready state sent to systemd" 229s time="2025-04-11T01:46:54Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:46:54Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:46:54Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:37525" 229s time="2025-04-11T01:46:55Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:46:55Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:46:56Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:46833" 229s time="2025-04-11T01:46:56Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:46:56Z" level=debug msg="Updated systemd status to \"Connected\"" 229s time="2025-04-11T01:46:56Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:46:56Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:46:57Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:37525" 229s time="2025-04-11T01:46:57Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:46:57Z" level=debug msg="Updated systemd status to \"Connected\"" 229s time="2025-04-11T01:46:57Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:46:57Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:46:57Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:46:57Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:46:57Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:46:57Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:46:58Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:46:58Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:46:58Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:46:58Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:46:58Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:46:58Z" level=debug msg="Updated systemd status to \"Stopped\"" 229s time="2025-04-11T01:46:58Z" level=debug msg="All connections have now ended." 229s time="2025-04-11T01:46:58Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:46:58Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:46:58Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s === CONT TestServeAndQuit/Error_due_to_quitting_before_serving 229s time="2025-04-11T01:46:58Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:40869" 229s time="2025-04-11T01:46:58Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:46:58Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:46:58Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:46:58Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:46:58Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:46:58Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:46:58Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:46:58Z" level=info msg="Stopping active requests." 229s time="2025-04-11T01:46:58Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:46:58Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:46:58Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:46:58Z" level=info msg="Reconnecting to Windows host in 2 seconds" 229s time="2025-04-11T01:46:58Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:46:58Z" level=debug msg="Updated systemd status to \"Stopped\"" 229s time="2025-04-11T01:46:58Z" level=debug msg="All connections have now ended." 229s === CONT TestServeAndQuit/Success_with_double_quit 229s time="2025-04-11T01:46:58Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:35053" 229s time="2025-04-11T01:46:58Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:01Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:01Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:01Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:01Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:01Z" level=debug msg="Updated systemd status to \"Stopped\"" 229s === CONT TestServeAndQuit/Success_with_forceful_quit 229s time="2025-04-11T01:47:01Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:44889" 229s time="2025-04-11T01:47:01Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:01Z" level=debug msg="Ready state sent to systemd" 229s time="2025-04-11T01:47:01Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:01Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:47:02Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:35053" 229s time="2025-04-11T01:47:02Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:47:02Z" level=debug msg="Updated systemd status to \"Connected\"" 229s time="2025-04-11T01:47:02Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:47:02Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:47:03Z" level=debug msg="Ready state sent to systemd" 229s time="2025-04-11T01:47:03Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:03Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:47:03Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:47:03Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:47:03Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:47:03Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:47:03Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:03Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:03Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:47:03Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:03Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:47:03Z" level=debug msg="Updated systemd status to \"Stopped\"" 229s time="2025-04-11T01:47:03Z" level=debug msg="All connections have now ended." 229s time="2025-04-11T01:47:03Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:03Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:03Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:03Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:03Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:03Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/No_connection_because_the_port_file_does_not_exist 229s time="2025-04-11T01:47:03Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:37567" 229s time="2025-04-11T01:47:03Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:04Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:44889" 229s time="2025-04-11T01:47:04Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:47:04Z" level=debug msg="Updated systemd status to \"Connected\"" 229s time="2025-04-11T01:47:04Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:47:04Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:47:05Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:47:05Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:47:05Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:47:05Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:47:05Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:05Z" level=info msg="Stopping active requests." 229s time="2025-04-11T01:47:05Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:47:05Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:05Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:47:05Z" level=debug msg="Updated systemd status to \"Stopped\"" 229s time="2025-04-11T01:47:05Z" level=debug msg="All connections have now ended." 229s time="2025-04-11T01:47:05Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:05Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:05Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s === CONT TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped 229s --- PASS: TestServeAndQuit (0.00s) 229s --- PASS: TestServeAndQuit/Success_with_graceful_quit (5.89s) 229s --- PASS: TestServeAndQuit/Error_due_to_quitting_before_serving (3.27s) 229s --- PASS: TestServeAndQuit/Success_with_double_quit (4.72s) 229s --- PASS: TestServeAndQuit/Success_with_forceful_quit (3.83s) 229s time="2025-04-11T01:47:05Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:05Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:05Z" 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_exist903252995/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestServeNo_connection_because_the_port_file_does_not_exist903252995/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 229s time="2025-04-11T01:47:05Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:06Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:45169" 229s time="2025-04-11T01:47:06Z" level=debug msg="Ready state sent to systemd" 229s time="2025-04-11T01:47:06Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:06Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:47:06Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:06Z" 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_exist903252995/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestServeNo_connection_because_the_port_file_does_not_exist903252995/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 229s time="2025-04-11T01:47:06Z" level=info msg="Reconnecting to Windows host in 2 seconds" 229s time="2025-04-11T01:47:07Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:45169" 229s time="2025-04-11T01:47:07Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:47:07Z" level=debug msg="Updated systemd status to \"Connected\"" 229s time="2025-04-11T01:47:07Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:47:07Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:47:07Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:07Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:07Z" level=debug msg="All connections have now ended." 229s === CONT TestReconnection/Success_connecting_after_previous_connection_dropped 229s time="2025-04-11T01:47:07Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:07Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:47:07Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:47:07Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:47:07Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:47:08Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:38861" 229s time="2025-04-11T01:47:08Z" level=debug msg="Ready state sent to systemd" 229s time="2025-04-11T01:47:08Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:08Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:47:09Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:38861" 229s time="2025-04-11T01:47:09Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:47:09Z" level=debug msg="Updated systemd status to \"Connected\"" 229s time="2025-04-11T01:47:09Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:47:09Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:47:10Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:47:10Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:47:10Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:47:10Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:47:10Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:10Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:47:10Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:10Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:47:10Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:10Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:10Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:38223" 229s time="2025-04-11T01:47:11Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:11Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:47:11Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:38223" 229s time="2025-04-11T01:47:11Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:47:11Z" level=debug msg="Updated systemd status to \"Connected\"" 229s time="2025-04-11T01:47:11Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:47:11Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:47:12Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:47:12Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:47:12Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:47:12Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:47:12Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:12Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:12Z" level=info msg="Stopping active requests." 229s time="2025-04-11T01:47:12Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:12Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:47:12Z" level=info msg="Reconnecting to Windows host in 2 seconds" 229s time="2025-04-11T01:47:12Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:47:12Z" level=debug msg="Updated systemd status to \"Stopped\"" 229s time="2025-04-11T01:47:12Z" level=debug msg="All connections have now ended." 229s time="2025-04-11T01:47:12Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s === CONT TestNew/Success 229s time="2025-04-11T01:47:12Z" level=debug msg="Building new daemon" 229s === CONT TestServe/No_connection_because_there_are_no_certificates 229s time="2025-04-11T01:47:13Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:36267" 229s time="2025-04-11T01:47:13Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:14Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:15Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:36267" 229s time="2025-04-11T01:47:15Z" level=warning msg="Daemon: could not connect to Windows Agent: open /tmp/TestServeNo_connection_because_there_are_no_certificates3126441831/001/mnt/d/Users/TestUser/.ubuntupro/certs/client_cert.pem: no such file or directory" 229s time="2025-04-11T01:47:15Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:15Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:15Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:15Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/No_connection_because_there_is_no_server 229s time="2025-04-11T01:47:15Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:45239" 229s time="2025-04-11T01:47:15Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:17Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:17Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:45239" 229s time="2025-04-11T01:47:17Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:47:17Z" 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:45239: connect: connection refused\"" 229s time="2025-04-11T01:47:17Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:18Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:18Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:18Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/No_connection_because_the_port_file_is_empty 229s time="2025-04-11T01:47:18Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:43413" 229s time="2025-04-11T01:47:18Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:19Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:19Z" 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" 229s time="2025-04-11T01:47:19Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:20Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:20Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:20Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:20Z" 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" 229s time="2025-04-11T01:47:20Z" level=info msg="Reconnecting to Windows host in 2 seconds" 229s time="2025-04-11T01:47:20Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/Success_with_systemd_notifier_returning_true 229s time="2025-04-11T01:47:20Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:45761" 229s time="2025-04-11T01:47:20Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:21Z" level=debug msg="Ready state sent to systemd" 229s time="2025-04-11T01:47:21Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:21Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:47:23Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:45761" 229s time="2025-04-11T01:47:23Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:47:23Z" level=debug msg="Updated systemd status to \"Connected\"" 229s time="2025-04-11T01:47:23Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:47:23Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:47:24Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:47:24Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:47:24Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:47:24Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:47:25Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:25Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:25Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:47:25Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:25Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:47:25Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:25Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:25Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:25Z" level=debug msg="Updated systemd status to \"Stopped\"" 229s time="2025-04-11T01:47:25Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/Success 229s time="2025-04-11T01:47:25Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:42717" 229s time="2025-04-11T01:47:25Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:28Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:30Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:42717" 229s time="2025-04-11T01:47:30Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:47:30Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:47:30Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:47:31Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:47:31Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:47:31Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:47:31Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:47:32Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:32Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:32Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:47:32Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:32Z" level=debug msg="All connections have now ended." 229s time="2025-04-11T01:47:32Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:33Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:33Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s === CONT TestServe/Error_because_WindowsHostAddress_returns_an_error 229s time="2025-04-11T01:47:33Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:44815" 229s time="2025-04-11T01:47:33Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:35Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:37Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:37Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:37Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/Error_because_the_context_is_pre-cancelled 229s time="2025-04-11T01:47:37Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:35489" 229s time="2025-04-11T01:47:37Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:40Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:40Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:40Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/No_connection_because_cannot_read_root_CA_certificate_file 229s time="2025-04-11T01:47:40Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:33531" 229s time="2025-04-11T01:47:40Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:43Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:44Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:33531" 229s time="2025-04-11T01:47:44Z" level=warning msg="Daemon: could not connect to Windows Agent: open /tmp/TestServeNo_connection_because_cannot_read_root_CA_certificate_file600504539/001/mnt/d/Users/TestUser/.ubuntupro/certs/ca_cert.pem: no such file or directory" 229s time="2025-04-11T01:47:44Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:45Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:45Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:45Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/Error_because_the_notifier_returns_an_error 229s time="2025-04-11T01:47:45Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:39075" 229s time="2025-04-11T01:47:45Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:47Z" level=warning msg="Daemon: couldn't update systemd status to \"Stopped\": mock error" 229s time="2025-04-11T01:47:47Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:47Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:47Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/No_connection_because_the_port_file_has_a_negative_port 229s time="2025-04-11T01:47:47Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:34109" 229s time="2025-04-11T01:47:47Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:50Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:50Z" 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" 229s time="2025-04-11T01:47:50Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:51Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:51Z" 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" 229s time="2025-04-11T01:47:51Z" level=info msg="Reconnecting to Windows host in 2 seconds" 229s time="2025-04-11T01:47:52Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:52Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:52Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/No_connection_because_the_port_file_has_port_0 229s time="2025-04-11T01:47:52Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:35431" 229s time="2025-04-11T01:47:52Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:55Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:55Z" 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" 229s time="2025-04-11T01:47:55Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:56Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:56Z" 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" 229s time="2025-04-11T01:47:56Z" level=info msg="Reconnecting to Windows host in 2 seconds" 229s time="2025-04-11T01:47:56Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:56Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:56Z" level=debug msg="All connections have now ended." 229s === CONT TestServe/No_connection_because_the_port_file_has_a_bad_port 229s time="2025-04-11T01:47:56Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:46363" 229s time="2025-04-11T01:47:56Z" level=debug msg="Building new daemon" 229s time="2025-04-11T01:47:57Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:57Z" 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" 229s time="2025-04-11T01:47:57Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:47:58Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:47:58Z" 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" 229s time="2025-04-11T01:47:58Z" level=info msg="Reconnecting to Windows host in 2 seconds" 229s time="2025-04-11T01:47:59Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:47:59Z" level=info msg="Waiting for active requests to close." 229s time="2025-04-11T01:47:59Z" level=debug msg="All connections have now ended." 229s --- PASS: TestServe (0.00s) 229s --- PASS: TestServe/No_connection_because_the_port_file_does_not_exist (3.79s) 229s --- PASS: TestServe/No_connection_because_there_are_no_certificates (2.18s) 229s --- PASS: TestServe/No_connection_because_there_is_no_server (2.26s) 229s --- PASS: TestServe/No_connection_because_the_port_file_is_empty (2.19s) 229s --- PASS: TestServe/Success_with_systemd_notifier_returning_true (5.47s) 229s --- PASS: TestServe/Success (7.11s) 229s --- PASS: TestServe/Error_because_WindowsHostAddress_returns_an_error (4.19s) 229s --- PASS: TestServe/Error_because_the_context_is_pre-cancelled (2.97s) 229s --- PASS: TestServe/No_connection_because_cannot_read_root_CA_certificate_file (4.88s) 229s --- PASS: TestServe/Error_because_the_notifier_returns_an_error (2.93s) 229s --- PASS: TestServe/No_connection_because_the_port_file_has_a_negative_port (4.83s) 229s --- PASS: TestServe/No_connection_because_the_port_file_has_port_0 (3.47s) 229s --- PASS: TestServe/No_connection_because_the_port_file_has_a_bad_port (3.23s) 229s === CONT TestNew/Error_when_WslPath_returns_error 229s time="2025-04-11T01:47:59Z" level=debug msg="Building new daemon" 229s --- PASS: TestNew (0.00s) 229s --- PASS: TestNew/Success (1.28s) 229s --- PASS: TestNew/Error_when_WslPath_returns_error (1.31s) 229s time="2025-04-11T01:48:12Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:48:12Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:48:12Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:48:12Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:48:12Z" 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_dropped4171232152/001/mnt/d/Users/TestUser/.ubuntupro/.address\": open /tmp/TestReconnectionSuccess_connecting_after_previous_long-lived_connection_dropped4171232152/001/mnt/d/Users/TestUser/.ubuntupro/.address: no such file or directory" 229s time="2025-04-11T01:48:12Z" level=info msg="Reconnecting to Windows host in 1 seconds" 229s time="2025-04-11T01:48:12Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:48:12Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:48:12Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:48:12Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:45989" 229s time="2025-04-11T01:48:13Z" level=info msg="Daemon: connecting to Windows Agent" 229s time="2025-04-11T01:48:13Z" level=debug msg="Updated systemd status to \"Connecting\"" 229s time="2025-04-11T01:48:14Z" level=info msg="Daemon: starting connection to Windows Agent via 127.0.0.1:45989" 229s time="2025-04-11T01:48:14Z" level=info msg="Daemon: completed connection to Windows Agent" 229s time="2025-04-11T01:48:14Z" level=debug msg="Updated systemd status to \"Connected\"" 229s time="2025-04-11T01:48:14Z" level=debug msg="Started serving agentapi.ProAttachCmd requests" 229s time="2025-04-11T01:48:14Z" level=debug msg="Started serving agentapi.LandscapeConfigCmd requests" 229s time="2025-04-11T01:48:15Z" level=debug msg="Server: sent preface messages to all streams" 229s time="2025-04-11T01:48:15Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:48:15Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:48:15Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:48:15Z" level=warning msg="Daemon: disconnected from Windows host" 229s time="2025-04-11T01:48:15Z" level=info msg="Reconnecting to Windows host in 2 seconds" 229s time="2025-04-11T01:48:15Z" level=debug msg="Updated systemd status to \"Not connected: waiting to retry\"" 229s time="2025-04-11T01:48:15Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:48:15Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:48:15Z" level=info msg="Stopping daemon requested." 229s time="2025-04-11T01:48:15Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:48:15Z" level=info msg="Stopping active requests." 229s time="2025-04-11T01:48:15Z" level=debug msg="All connections have now ended." 229s time="2025-04-11T01:48:15Z" level=debug msg="Updated systemd status to \"Stopped\"" 229s --- PASS: TestReconnection (0.00s) 229s --- PASS: TestReconnection/Success_connecting_after_failing_to_connect (6.74s) 229s --- PASS: TestReconnection/Success_connecting_after_previous_connection_dropped (5.03s) 229s --- PASS: TestReconnection/Success_connecting_after_previous_long-lived_connection_dropped (69.95s) 229s PASS 229s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/daemon 82.942s 229s === RUN TestConnect 229s === PAUSE TestConnect 229s === RUN TestSendAndRecv 229s --- PASS: TestSendAndRecv (0.40s) 229s === RUN TestServe 229s === PAUSE TestServe 229s === RUN TestStop 229s === PAUSE TestStop 229s === RUN TestWithProMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithProMock (0.00s) 229s === RUN TestWithWslPathMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithWslPathMock (0.00s) 229s === RUN TestWithWslInfoMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithWslInfoMock (0.00s) 229s === RUN TestWithCmdExeMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithCmdExeMock (0.00s) 229s === CONT TestConnect 229s === RUN TestConnect/Success 229s === PAUSE TestConnect/Success 229s === RUN TestConnect/Error_dialing_an_address_that_is_not_serving 229s === PAUSE TestConnect/Error_dialing_an_address_that_is_not_serving 229s === CONT TestConnect/Success 229s === CONT TestStop 229s time="2025-04-11T01:46:54Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:37095" 229s === CONT TestServe 229s time="2025-04-11T01:46:54Z" level=info msg="MockWindowsAgent: Windows-agent mock serving on 127.0.0.1:36967" 229s time="2025-04-11T01:46:56Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:46:56Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:46:56Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:46:56Z" level=info msg="MockWindowsAgent: LandscapeConfigCommands ready" 229s time="2025-04-11T01:46:56Z" level=info msg="MockWindowsAgent: Connected ready" 229s time="2025-04-11T01:46:56Z" level=info msg="MockWindowsAgent: ProAttachmentCommands ready" 229s time="2025-04-11T01:47:01Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:01Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:01Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s --- PASS: TestServe (6.46s) 229s === CONT TestConnect/Error_dialing_an_address_that_is_not_serving 229s time="2025-04-11T01:47:06Z" 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: " 229s time="2025-04-11T01:47:06Z" level=warning msg="Streamserver: could not stream back info after command completion" 229s time="2025-04-11T01:47:06Z" 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: " 229s time="2025-04-11T01:47:06Z" level=warning msg="Streamserver: could not stream back info after command completion" 229s time="2025-04-11T01:47:06Z" level=warning msg="context.Background MockWindowsAgent: Connected stopped: rpc error: code = Canceled desc = context canceled" 229s time="2025-04-11T01:47:06Z" level=warning msg="context.Background MockWindowsAgent: LandscapeConfigCommands stopped: rpc error: code = Canceled desc = context canceled" 229s === NAME TestStop 229s server_test.go:137: 229s Error Trace: /tmp/autopkgtest.10bz0g/build.rGN/src/internal/streams/server_test.go:137 229s Error: An error is expected but got nil. 229s Test: TestStop 229s Messages: Stop should have interrupted the unary calls 229s time="2025-04-11T01:47:06Z" level=warning msg="context.Background MockWindowsAgent: ProAttachmentCommands stopped: rpc error: code = Canceled desc = context canceled" 229s --- FAIL: TestStop (11.91s) 229s --- PASS: TestConnect (0.00s) 229s --- PASS: TestConnect/Success (0.31s) 229s --- PASS: TestConnect/Error_dialing_an_address_that_is_not_serving (20.00s) 229s FAIL 229s FAIL github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/streams 27.190s 229s === RUN TestInfo 229s === PAUSE TestInfo 229s === RUN TestWslDistroName 229s === PAUSE TestWslDistroName 229s === RUN TestUserProfileDir 229s === PAUSE TestUserProfileDir 229s === RUN TestProStatus 229s === PAUSE TestProStatus 229s === RUN TestProAttach 229s === PAUSE TestProAttach 229s === RUN TestProDetach 229s === PAUSE TestProDetach 229s === RUN TestLandscapeEnable 229s === PAUSE TestLandscapeEnable 229s === RUN TestWindowsHostAddress 229s === PAUSE TestWindowsHostAddress 229s === RUN TestLandscapeDisable 229s === PAUSE TestLandscapeDisable 229s === RUN TestRealBackend 229s === PAUSE TestRealBackend 229s === RUN TestWithProMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithProMock (0.00s) 229s === RUN TestWithLandscapeConfigMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithLandscapeConfigMock (0.00s) 229s === RUN TestWithWslPathMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithWslPathMock (0.00s) 229s === RUN TestWithWslInfoMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithWslInfoMock (0.00s) 229s === RUN TestWithCmdExeMock 229s mock_executables.go:629: Skipped because it is not a real test, but rather a mocked executable 229s --- SKIP: TestWithCmdExeMock (0.00s) 229s === CONT TestInfo 229s === RUN TestInfo/Error_whem_/etc/os-release_returns_bad_contents 229s === PAUSE TestInfo/Error_whem_/etc/os-release_returns_bad_contents 229s === RUN TestInfo/Error_when_hostname_cannot_be_obtained 229s === PAUSE TestInfo/Error_when_hostname_cannot_be_obtained 229s === RUN TestInfo/Success 229s === PAUSE TestInfo/Success 229s === RUN TestInfo/Error_when_WslDistroName_fails 229s === PAUSE TestInfo/Error_when_WslDistroName_fails 229s === RUN TestInfo/Error_when_pro_status_command_fails 229s === PAUSE TestInfo/Error_when_pro_status_command_fails 229s === RUN TestInfo/Error_when_pro_status_output_cannot_be_parsed 229s === CONT TestProDetach 229s === RUN TestProDetach/success_on_attached_distro 229s === PAUSE TestProDetach/success_on_attached_distro 229s === RUN TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason 229s === PAUSE TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason 229s === RUN TestProDetach/error_on_'pro_detach'_error_and_some_reason 229s === PAUSE TestProDetach/error_on_'pro_detach'_error_and_some_reason 229s === RUN TestProDetach/error_on_'pro_detach'_error_with_bad_JSON 229s === PAUSE TestProDetach/error_on_'pro_detach'_error_with_bad_JSON 229s === RUN TestProDetach/success_on_unattached_distro 229s === PAUSE TestProDetach/success_on_unattached_distro 229s === CONT TestProDetach/success_on_attached_distro 229s === PAUSE TestInfo/Error_when_pro_status_output_cannot_be_parsed 229s === RUN TestInfo/Error_when_/etc/os-release_cannot_be_read 229s === PAUSE TestInfo/Error_when_/etc/os-release_cannot_be_read 229s === CONT TestInfo/Error_whem_/etc/os-release_returns_bad_contents 229s === CONT TestProAttach 229s === RUN TestProAttach/error_on_'pro_attach'_error 229s === PAUSE TestProAttach/error_on_'pro_attach'_error 229s === RUN TestProAttach/success 229s === PAUSE TestProAttach/success 229s === CONT TestProStatus 229s === RUN TestProStatus/error_on_'pro_attach'_error 229s === PAUSE TestProStatus/error_on_'pro_attach'_error 229s === RUN TestProStatus/success_on_unattached_distro 229s === PAUSE TestProStatus/success_on_unattached_distro 229s === RUN TestProStatus/success_on_attached_distro 229s === PAUSE TestProStatus/success_on_attached_distro 229s === RUN TestProStatus/error_on_'pro_attach'_returning_bad_output 229s === PAUSE TestProStatus/error_on_'pro_attach'_returning_bad_output 229s === CONT TestUserProfileDir 229s === RUN TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts 229s === PAUSE TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts 229s === RUN TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts 229s === PAUSE TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts 229s === RUN TestUserProfileDir/Error_on_wslpath_error 229s === PAUSE TestUserProfileDir/Error_on_wslpath_error 229s === RUN TestUserProfileDir/Success_with_a_single_9P_filesystem_mount 229s === PAUSE TestUserProfileDir/Success_with_a_single_9P_filesystem_mount 229s === RUN TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts 229s === PAUSE TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts 229s === RUN TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts 229s === PAUSE TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts 229s === RUN TestUserProfileDir/Error_when_cmd.exe_does_not_exist 229s === PAUSE TestUserProfileDir/Error_when_cmd.exe_does_not_exist 229s === RUN TestUserProfileDir/Error_on_cmd.exe_error 229s === PAUSE TestUserProfileDir/Error_on_cmd.exe_error 229s === RUN TestUserProfileDir/Error_when_wslpath_returns_a_bad_path 229s === PAUSE TestUserProfileDir/Error_when_wslpath_returns_a_bad_path 229s === RUN TestUserProfileDir/Success_with_cached_cmd.exe_path 229s === PAUSE TestUserProfileDir/Success_with_cached_cmd.exe_path 229s === CONT TestWslDistroName 229s === RUN TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text 229s === PAUSE TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text 229s === RUN TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME 229s === PAUSE TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME 229s === RUN TestWslDistroName/Success_using_wslpath 229s === PAUSE TestWslDistroName/Success_using_wslpath 229s === RUN TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails 229s === PAUSE TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails 229s === CONT TestInfo/Error_when_/etc/os-release_cannot_be_read 229s === CONT TestInfo/Error_when_pro_status_output_cannot_be_parsed 229s === CONT TestInfo/Error_when_pro_status_command_fails 229s === CONT TestInfo/Error_when_WslDistroName_fails 229s === CONT TestInfo/Success 229s === CONT TestInfo/Error_when_hostname_cannot_be_obtained 229s === CONT TestProDetach/success_on_unattached_distro 229s === CONT TestRealBackend 229s --- PASS: TestInfo (0.00s) 229s --- PASS: TestInfo/Error_whem_/etc/os-release_returns_bad_contents (1.52s) 229s --- PASS: TestInfo/Error_when_/etc/os-release_cannot_be_read (1.09s) 229s --- PASS: TestInfo/Error_when_pro_status_output_cannot_be_parsed (0.95s) 229s --- PASS: TestInfo/Error_when_pro_status_command_fails (0.96s) 229s --- PASS: TestInfo/Error_when_WslDistroName_fails (1.03s) 229s --- PASS: TestInfo/Error_when_hostname_cannot_be_obtained (1.19s) 229s --- PASS: TestInfo/Success (1.49s) 229s --- PASS: TestRealBackend (0.00s) 229s === CONT TestLandscapeDisable 229s === RUN TestLandscapeDisable/Success 229s === PAUSE TestLandscapeDisable/Success 229s === RUN TestLandscapeDisable/Error_when_the_landscape-config_command_fails 229s === PAUSE TestLandscapeDisable/Error_when_the_landscape-config_command_fails 229s === CONT TestWindowsHostAddress 229s === RUN TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback 229s === PAUSE TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback 229s === RUN TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback 229s === PAUSE TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback 229s === RUN TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist 229s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist 229s === RUN TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed 229s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed 229s === RUN TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed 229s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed 229s === RUN TestWindowsHostAddress/Success_without_NAT 229s === PAUSE TestWindowsHostAddress/Success_without_NAT 229s === RUN TestWindowsHostAddress/Error_when_wslinfo_returns_an_error 229s === PAUSE TestWindowsHostAddress/Error_when_wslinfo_returns_an_error 229s === RUN TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP 229s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP 229s === RUN TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist 229s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist 229s === RUN TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP 229s === PAUSE TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP 229s === CONT TestLandscapeEnable 229s === RUN TestLandscapeEnable/Success_overriding_computer_title 229s === PAUSE TestLandscapeEnable/Success_overriding_computer_title 229s === RUN TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 229s === PAUSE TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 229s === RUN TestLandscapeEnable/Error_when_the_file_cannot_be_parsed 229s === PAUSE TestLandscapeEnable/Error_when_the_file_cannot_be_parsed 229s === RUN TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path 229s === PAUSE TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path 229s === RUN TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist 229s === PAUSE TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist 229s === RUN TestLandscapeEnable/Success 229s === PAUSE TestLandscapeEnable/Success 229s === RUN TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 229s === PAUSE TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 229s === RUN TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 229s === PAUSE TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 229s === RUN TestLandscapeEnable/Error_when_the_config_file_cannot_be_written 229s === PAUSE TestLandscapeEnable/Error_when_the_config_file_cannot_be_written 229s === RUN TestLandscapeEnable/Error_when_the_landscape-config_command_fails 229s === PAUSE TestLandscapeEnable/Error_when_the_landscape-config_command_fails 229s === CONT TestProDetach/error_on_'pro_detach'_error_and_some_reason 229s === CONT TestProDetach/error_on_'pro_detach'_error_with_bad_JSON 229s === CONT TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason 229s === CONT TestProAttach/error_on_'pro_attach'_error 229s === CONT TestProAttach/success 229s --- PASS: TestProDetach (0.00s) 229s --- PASS: TestProDetach/success_on_attached_distro (1.35s) 229s --- PASS: TestProDetach/error_on_'pro_detach'_error_and_some_reason (1.28s) 229s --- PASS: TestProDetach/success_on_unattached_distro (1.54s) 229s --- PASS: TestProDetach/error_on_'pro_detach'_error_with_bad_JSON (1.32s) 229s --- PASS: TestProDetach/error_on_'pro_detach'_returning_error_and_no_reason (1.39s) 229s === CONT TestProStatus/error_on_'pro_attach'_error 229s === CONT TestProStatus/success_on_attached_distro 229s --- PASS: TestProAttach (0.00s) 229s --- PASS: TestProAttach/success (1.32s) 229s --- PASS: TestProAttach/error_on_'pro_attach'_error (1.53s) 229s === CONT TestProStatus/error_on_'pro_attach'_returning_bad_output 229s === CONT TestProStatus/success_on_unattached_distro 229s === CONT TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts 229s --- PASS: TestProStatus (0.00s) 229s --- PASS: TestProStatus/success_on_attached_distro (0.97s) 229s --- PASS: TestProStatus/error_on_'pro_attach'_error (1.09s) 229s --- PASS: TestProStatus/error_on_'pro_attach'_returning_bad_output (1.26s) 229s --- PASS: TestProStatus/success_on_unattached_distro (1.22s) 229s === CONT TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text 229s === CONT TestUserProfileDir/Success_with_cached_cmd.exe_path 229s === CONT TestUserProfileDir/Error_when_wslpath_returns_a_bad_path 229s === CONT TestUserProfileDir/Error_on_cmd.exe_error 229s === CONT TestUserProfileDir/Error_when_cmd.exe_does_not_exist 229s === CONT TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts 229s system_test.go:205: Removing default proc/mounts 229s === CONT TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts 229s system_test.go:205: Removing default proc/mounts 229s === CONT TestUserProfileDir/Success_with_a_single_9P_filesystem_mount 229s === CONT TestUserProfileDir/Error_on_wslpath_error 229s === CONT TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts 229s === CONT TestWslDistroName/Success_using_wslpath 229s === CONT TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails 229s === CONT TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME 229s --- PASS: TestUserProfileDir (0.00s) 229s --- PASS: TestUserProfileDir/Success_with_multiple_9P_filesystem_mounts (2.87s) 229s --- PASS: TestUserProfileDir/Success_with_cached_cmd.exe_path (2.51s) 229s --- PASS: TestUserProfileDir/Error_when_wslpath_returns_a_bad_path (2.55s) 229s --- PASS: TestUserProfileDir/Error_when_cmd.exe_does_not_exist (0.01s) 229s --- PASS: TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_Windows_FS_in_/proc/mounts (0.00s) 229s --- PASS: TestUserProfileDir/Error_finding_cmd.exe_because_there_is_no_/proc/mounts (0.00s) 229s --- PASS: TestUserProfileDir/Error_on_cmd.exe_error (1.49s) 229s --- PASS: TestUserProfileDir/Success_with_a_single_9P_filesystem_mount (2.50s) 229s --- PASS: TestUserProfileDir/Error_on_wslpath_error (3.10s) 229s --- PASS: TestUserProfileDir/Success_with_multiple_types_of_filesystem_mounts (2.61s) 229s === CONT TestLandscapeDisable/Success 229s --- PASS: TestWslDistroName (0.00s) 229s --- PASS: TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_returns_bad_text (1.42s) 229s --- PASS: TestWslDistroName/Success_using_wslpath (1.16s) 229s --- PASS: TestWslDistroName/Success_reading_from_WSL_DISTRO_NAME (0.00s) 229s --- PASS: TestWslDistroName/Error_when_WSL_DISTRO_NAME_is_empty_and_wslpath_fails (1.19s) 229s === CONT TestLandscapeDisable/Error_when_the_landscape-config_command_fails 229s === CONT TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback 229s === CONT TestWindowsHostAddress/Success_without_NAT 229s --- PASS: TestLandscapeDisable (0.00s) 229s --- PASS: TestLandscapeDisable/Success (1.00s) 229s --- PASS: TestLandscapeDisable/Error_when_the_landscape-config_command_fails (1.17s) 229s === CONT TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP 229s === CONT TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist 229s === CONT TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP 229s === CONT TestWindowsHostAddress/Error_when_wslinfo_returns_an_error 229s === CONT TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed 229s === CONT TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed 229s === CONT TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist 229s === CONT TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback 229s === CONT TestLandscapeEnable/Success_overriding_computer_title 229s time="2025-04-11T01:47:51Z" level=info msg="Landscape config contains key \"computer_title\". Its value will be overridden." 229s === CONT TestLandscapeEnable/Success 229s --- PASS: TestWindowsHostAddress (0.00s) 229s --- PASS: TestWindowsHostAddress/Success_with_NAT,_nameserver_is_not_loopback (1.10s) 229s --- PASS: TestWindowsHostAddress/Success_without_NAT (1.41s) 229s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_has_an_ill-formed_IP (1.20s) 229s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_does_not_exist (1.21s) 229s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_has_an_ill-formed_IP (1.36s) 229s --- PASS: TestWindowsHostAddress/Error_when_wslinfo_returns_an_error (1.16s) 229s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_is_ill-formed (1.28s) 229s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/proc/net/route_is_ill-formed (1.14s) 229s --- PASS: TestWindowsHostAddress/Error_with_NAT_when_/etc/resolv.conf_does_not_exist (0.97s) 229s --- PASS: TestWindowsHostAddress/Success_with_NAT,_nameserver_is_loopback (0.89s) 229s === NAME TestLandscapeEnable/Success_overriding_computer_title 229s system_test.go:456: testdata/TestLandscapeEnable/golden/success_overriding_computer_title 229s === CONT TestLandscapeEnable/Error_when_the_landscape-config_command_fails 229s === NAME TestLandscapeEnable/Success 229s system_test.go:456: testdata/TestLandscapeEnable/golden/success 229s === CONT TestLandscapeEnable/Error_when_the_config_file_cannot_be_written 229s === CONT TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 229s time="2025-04-11T01:47:52Z" level=info msg="Landscape config contains key \"tags\". Its value will not be overridden." 229s === CONT TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 229s time="2025-04-11T01:47:52Z" level=info msg="Landscape config contains key \"tags\". Its value will not be overridden." 229s === NAME TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 229s system_test.go:456: testdata/TestLandscapeEnable/golden/do_not_append_wsl_tag_when_config_tag_is_provided_but_empty 229s === CONT TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path 229s === NAME TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided 229s system_test.go:456: testdata/TestLandscapeEnable/golden/do_not_append_wsl_tag_when_config_tag_is_provided 229s === CONT TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist 229s === CONT TestLandscapeEnable/Error_when_the_file_cannot_be_parsed 229s === CONT TestLandscapeEnable/Success_overriding_the_SSL_certficate_path 229s system_test.go:456: testdata/TestLandscapeEnable/golden/success_overriding_the_ssl_certficate_path 229s --- PASS: TestLandscapeEnable (0.00s) 229s --- PASS: TestLandscapeEnable/Success_overriding_computer_title (0.78s) 229s --- PASS: TestLandscapeEnable/Success (0.89s) 229s --- PASS: TestLandscapeEnable/Error_when_the_config_file_cannot_be_written (0.00s) 229s --- PASS: TestLandscapeEnable/Error_when_the_landscape-config_command_fails (0.79s) 229s --- PASS: TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided_but_empty (1.29s) 229s --- PASS: TestLandscapeEnable/Do_not_append_wsl_tag_when_config_tag_is_provided (1.30s) 229s --- PASS: TestLandscapeEnable/Error_when_the_Landscape_user_does_not_exist (0.00s) 229s --- PASS: TestLandscapeEnable/Error_when_the_file_cannot_be_parsed (0.00s) 229s --- PASS: TestLandscapeEnable/Error_when_failing_to_override_the_SSL_certficate_path (1.30s) 229s --- PASS: TestLandscapeEnable/Success_overriding_the_SSL_certficate_path (1.77s) 229s PASS 229s ok github.com/canonical/ubuntu-pro-for-wsl/wsl-pro-service/internal/system 33.372s 229s FAIL 229s autopkgtest [01:48:15]: test command1: -----------------------] 230s command1 FAIL non-zero exit status 1 230s autopkgtest [01:48:16]: test command1: - - - - - - - - - - results - - - - - - - - - - 230s autopkgtest [01:48:16]: @@@@@@@@@@@@@@@@@@@@ summary 230s command1 FAIL non-zero exit status 1 248s nova [W] Skipping flock for amd64 248s Creating nova instance adt-noble-amd64-wsl-pro-service-20250411-014426-juju-7f2275-prod-proposed-migration-environment-15-5d6d08ad-31d9-4a44-8b39-2108bfd18c16 from image adt/ubuntu-noble-amd64-server-20250410.img (UUID a08ec726-db18-4437-84bf-cda58d05130c)... 248s nova [W] Timed out waiting for a793be5c-4d97-429b-8242-6bca10434274 to get deleted.