0s autopkgtest [20:31:06]: starting date and time: 2024-11-29 20:31:06+0000 0s autopkgtest [20:31:06]: git checkout: be626eda Fix armhf LXD image generation for plucky 0s autopkgtest [20:31:06]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ot__a3bm/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:pam --apt-upgrade adsys --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pam/1.4.0-11ubuntu2.5 -- lxd -r lxd-armhf-10.145.243.171 lxd-armhf-10.145.243.171:autopkgtest/ubuntu/jammy/armhf 32s autopkgtest [20:31:38]: testbed dpkg architecture: armhf 35s autopkgtest [20:31:41]: testbed apt version: 2.4.13 41s autopkgtest [20:31:47]: @@@@@@@@@@@@@@@@@@@@ test bed setup 43s autopkgtest [20:31:49]: testbed release detected to be: None 55s autopkgtest [20:32:01]: updating testbed package index (apt update) 59s Hit:1 http://ftpmaster.internal/ubuntu jammy InRelease 59s Get:2 http://ftpmaster.internal/ubuntu jammy-updates InRelease [128 kB] 60s Get:3 http://ftpmaster.internal/ubuntu jammy-security InRelease [129 kB] 60s Get:4 http://ftpmaster.internal/ubuntu jammy-proposed InRelease [279 kB] 60s Get:5 http://ftpmaster.internal/ubuntu jammy-updates/main Sources [527 kB] 60s Get:6 http://ftpmaster.internal/ubuntu jammy-updates/universe Sources [428 kB] 60s Get:7 http://ftpmaster.internal/ubuntu jammy-updates/main armhf Packages [1006 kB] 60s Get:8 http://ftpmaster.internal/ubuntu jammy-updates/universe armhf Packages [909 kB] 60s Get:9 http://ftpmaster.internal/ubuntu jammy-security/universe Sources [277 kB] 60s Get:10 http://ftpmaster.internal/ubuntu jammy-security/main Sources [305 kB] 60s Get:11 http://ftpmaster.internal/ubuntu jammy-security/main armhf Packages [805 kB] 60s Get:12 http://ftpmaster.internal/ubuntu jammy-security/universe armhf Packages [697 kB] 60s Get:13 http://ftpmaster.internal/ubuntu jammy-proposed/restricted Sources [25.8 kB] 60s Get:14 http://ftpmaster.internal/ubuntu jammy-proposed/universe Sources [26.3 kB] 60s Get:15 http://ftpmaster.internal/ubuntu jammy-proposed/main Sources [116 kB] 60s Get:16 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse Sources [6196 B] 60s Get:17 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf Packages [167 kB] 60s Get:18 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf c-n-f Metadata [1748 B] 60s Get:19 http://ftpmaster.internal/ubuntu jammy-proposed/restricted armhf Packages [2056 B] 60s Get:20 http://ftpmaster.internal/ubuntu jammy-proposed/restricted armhf c-n-f Metadata [116 B] 60s Get:21 http://ftpmaster.internal/ubuntu jammy-proposed/universe armhf Packages [47.3 kB] 60s Get:22 http://ftpmaster.internal/ubuntu jammy-proposed/universe armhf c-n-f Metadata [1320 B] 60s Get:23 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse armhf Packages [728 B] 60s Get:24 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse armhf c-n-f Metadata [116 B] 63s Fetched 5886 kB in 1s (4308 kB/s) 64s Reading package lists... 73s autopkgtest [20:32:19]: upgrading testbed (apt dist-upgrade and autopurge) 75s Reading package lists... 76s Building dependency tree... 76s Reading state information... 76s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 76s Starting 2 pkgProblemResolver with broken count: 0 76s Done 77s Entering ResolveByKeep 77s 78s The following packages will be upgraded: 78s libnetplan0 libpam-modules libpam-modules-bin libpam-runtime libpam0g 78s netplan-generator netplan.io python3-netplan vim-common vim-tiny xxd 78s 11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 78s Need to get 1387 kB of archives. 78s After this operation, 16.4 kB of additional disk space will be used. 78s Get:1 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf libpam0g armhf 1.4.0-11ubuntu2.5 [54.4 kB] 78s Get:2 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf libpam-modules-bin armhf 1.4.0-11ubuntu2.5 [35.6 kB] 78s Get:3 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf libpam-modules armhf 1.4.0-11ubuntu2.5 [263 kB] 78s Get:4 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf libpam-runtime all 1.4.0-11ubuntu2.5 [40.2 kB] 78s Get:5 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf netplan-generator armhf 0.107.1-3ubuntu0.22.04.2 [56.6 kB] 78s Get:6 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf python3-netplan armhf 0.107.1-3ubuntu0.22.04.2 [22.5 kB] 78s Get:7 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf netplan.io armhf 0.107.1-3ubuntu0.22.04.2 [55.1 kB] 78s Get:8 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf libnetplan0 armhf 0.107.1-3ubuntu0.22.04.2 [108 kB] 78s Get:9 http://ftpmaster.internal/ubuntu jammy-updates/main armhf vim-tiny armhf 2:8.2.3995-1ubuntu2.21 [618 kB] 78s Get:10 http://ftpmaster.internal/ubuntu jammy-updates/main armhf xxd armhf 2:8.2.3995-1ubuntu2.21 [52.2 kB] 78s Get:11 http://ftpmaster.internal/ubuntu jammy-updates/main armhf vim-common all 2:8.2.3995-1ubuntu2.21 [81.5 kB] 79s Preconfiguring packages ... 79s Fetched 1387 kB in 1s (2193 kB/s) 79s (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 ... 56488 files and directories currently installed.) 79s Preparing to unpack .../libpam0g_1.4.0-11ubuntu2.5_armhf.deb ... 79s Unpacking libpam0g:armhf (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 79s Setting up libpam0g:armhf (1.4.0-11ubuntu2.5) ... 79s (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 ... 56488 files and directories currently installed.) 79s Preparing to unpack .../libpam-modules-bin_1.4.0-11ubuntu2.5_armhf.deb ... 79s Unpacking libpam-modules-bin (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 79s Setting up libpam-modules-bin (1.4.0-11ubuntu2.5) ... 80s (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 ... 56488 files and directories currently installed.) 80s Preparing to unpack .../libpam-modules_1.4.0-11ubuntu2.5_armhf.deb ... 80s Unpacking libpam-modules:armhf (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 80s Setting up libpam-modules:armhf (1.4.0-11ubuntu2.5) ... 80s (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 ... 56488 files and directories currently installed.) 80s Preparing to unpack .../libpam-runtime_1.4.0-11ubuntu2.5_all.deb ... 80s Unpacking libpam-runtime (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 80s Setting up libpam-runtime (1.4.0-11ubuntu2.5) ... 80s (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 ... 56488 files and directories currently installed.) 80s Preparing to unpack .../0-netplan-generator_0.107.1-3ubuntu0.22.04.2_armhf.deb ... 80s Unpacking netplan-generator (0.107.1-3ubuntu0.22.04.2) over (0.107.1-3ubuntu0.22.04.1) ... 80s Preparing to unpack .../1-python3-netplan_0.107.1-3ubuntu0.22.04.2_armhf.deb ... 80s Unpacking python3-netplan (0.107.1-3ubuntu0.22.04.2) over (0.107.1-3ubuntu0.22.04.1) ... 80s Preparing to unpack .../2-netplan.io_0.107.1-3ubuntu0.22.04.2_armhf.deb ... 80s Unpacking netplan.io (0.107.1-3ubuntu0.22.04.2) over (0.107.1-3ubuntu0.22.04.1) ... 80s Preparing to unpack .../3-libnetplan0_0.107.1-3ubuntu0.22.04.2_armhf.deb ... 80s Unpacking libnetplan0:armhf (0.107.1-3ubuntu0.22.04.2) over (0.107.1-3ubuntu0.22.04.1) ... 80s Preparing to unpack .../4-vim-tiny_2%3a8.2.3995-1ubuntu2.21_armhf.deb ... 80s Unpacking vim-tiny (2:8.2.3995-1ubuntu2.21) over (2:8.2.3995-1ubuntu2.20) ... 80s Preparing to unpack .../5-xxd_2%3a8.2.3995-1ubuntu2.21_armhf.deb ... 80s Unpacking xxd (2:8.2.3995-1ubuntu2.21) over (2:8.2.3995-1ubuntu2.20) ... 80s Preparing to unpack .../6-vim-common_2%3a8.2.3995-1ubuntu2.21_all.deb ... 80s Unpacking vim-common (2:8.2.3995-1ubuntu2.21) over (2:8.2.3995-1ubuntu2.20) ... 80s Setting up libnetplan0:armhf (0.107.1-3ubuntu0.22.04.2) ... 80s Setting up xxd (2:8.2.3995-1ubuntu2.21) ... 80s Setting up vim-common (2:8.2.3995-1ubuntu2.21) ... 80s Setting up python3-netplan (0.107.1-3ubuntu0.22.04.2) ... 80s Setting up netplan-generator (0.107.1-3ubuntu0.22.04.2) ... 80s Setting up vim-tiny (2:8.2.3995-1ubuntu2.21) ... 81s Setting up netplan.io (0.107.1-3ubuntu0.22.04.2) ... 81s Processing triggers for libc-bin (2.35-0ubuntu3.8) ... 81s Processing triggers for man-db (2.10.2-1) ... 81s Processing triggers for dbus (1.12.20-2ubuntu4.1) ... 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Starting pkgProblemResolver with broken count: 0 84s Starting 2 pkgProblemResolver with broken count: 0 84s Done 85s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 88s autopkgtest [20:32:34]: rebooting testbed after setup commands that affected boot 142s autopkgtest [20:33:28]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 179s autopkgtest [20:34:05]: @@@@@@@@@@@@@@@@@@@@ apt-source adsys 194s Get:1 http://ftpmaster.internal/ubuntu jammy-updates/main adsys 0.14.2~22.04ubuntu0.1 (dsc) [2174 B] 194s Get:2 http://ftpmaster.internal/ubuntu jammy-updates/main adsys 0.14.2~22.04ubuntu0.1 (tar) [7045 kB] 194s gpgv: Signature made Fri Oct 25 05:37:19 2024 UTC 194s gpgv: using RSA key 00F6164E9C2D21BAFBC47E0E58DAD120A6939167 194s gpgv: Can't check signature: No public key 194s dpkg-source: warning: cannot verify signature ./adsys_0.14.2~22.04ubuntu0.1.dsc 195s autopkgtest [20:34:21]: testing package adsys version 0.14.2~22.04ubuntu0.1 199s autopkgtest [20:34:25]: build not needed 204s autopkgtest [20:34:30]: test command1: preparing testbed 206s Reading package lists... 207s Building dependency tree... 207s Reading state information... 207s Starting pkgProblemResolver with broken count: 0 207s Starting 2 pkgProblemResolver with broken count: 0 207s Done 208s The following NEW packages will be installed: 208s autoconf automake autopoint autotools-dev build-essential comerr-dev cpp 208s cpp-11 debhelper debugedit dh-apport dh-autoreconf dh-golang 208s dh-strip-nondeterminism dwz g++ g++-11 gcc gcc-11 gcc-11-base gettext 208s golang-1.22-go golang-1.22-src intltool-debian krb5-multidev 208s libarchive-zip-perl libasan6 libatomic1 libavahi-client3 208s libavahi-common-data libavahi-common3 libblkid-dev libc-dev-bin libc6-dev 208s libcc1-0 libcrypt-dev libcups2 libdbus-1-dev libdebhelper-perl libffi-dev 208s libfile-stripnondeterminism-perl libgcc-11-dev libglib2.0-dev 208s libglib2.0-dev-bin libgomp1 libgssrpc4 libisl23 libkadm5clnt-mit12 208s libkadm5srv-mit12 libkdb5-10 libkrb5-dev libldb2 libmount-dev libmpc3 208s libnsl-dev libpam0g-dev libpcre16-3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 208s libpcre2-posix3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpython3.10 208s libselinux1-dev libsepol-dev libsmbclient libsmbclient-dev libstdc++-11-dev 208s libsub-override-perl libtalloc2 libtdb1 libtevent0 libtirpc-dev libtool 208s libubsan1 libwbclient-dev libwbclient0 linux-libc-dev m4 pkg-config 208s po-debconf python3-dnspython python3-ldb python3-samba python3-talloc 208s python3-tdb rpcsvc-proto samba samba-common samba-common-bin 208s samba-dsdb-modules samba-libs tdb-tools uuid-dev zlib1g-dev 208s 0 upgraded, 97 newly installed, 0 to remove and 0 not upgraded. 208s Need to get 109 MB of archives. 208s After this operation, 440 MB of additional disk space will be used. 208s Get:1 http://ftpmaster.internal/ubuntu jammy/main armhf libtalloc2 armhf 2.3.3-2build1 [24.0 kB] 208s Get:2 http://ftpmaster.internal/ubuntu jammy/main armhf libtevent0 armhf 0.11.0-1build1 [33.2 kB] 208s Get:3 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libwbclient0 armhf 2:4.15.13+dfsg-0ubuntu1.6 [250 kB] 208s Get:4 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libwbclient-dev armhf 2:4.15.13+dfsg-0ubuntu1.6 [16.1 kB] 208s Get:5 http://ftpmaster.internal/ubuntu jammy/main armhf python3-dnspython all 2.1.0-1ubuntu1 [123 kB] 209s Get:6 http://ftpmaster.internal/ubuntu jammy/main armhf libtdb1 armhf 1.4.5-2build1 [42.7 kB] 209s Get:7 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libldb2 armhf 2:2.4.4-0ubuntu0.22.04.2 [129 kB] 209s Get:8 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpython3.10 armhf 3.10.12-1~22.04.7 [1731 kB] 209s Get:9 http://ftpmaster.internal/ubuntu jammy-updates/main armhf python3-ldb armhf 2:2.4.4-0ubuntu0.22.04.2 [37.9 kB] 209s Get:10 http://ftpmaster.internal/ubuntu jammy/main armhf python3-tdb armhf 1.4.5-2build1 [14.3 kB] 209s Get:11 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libavahi-common-data armhf 0.8-5ubuntu5.2 [23.8 kB] 209s Get:12 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libavahi-common3 armhf 0.8-5ubuntu5.2 [20.3 kB] 209s Get:13 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libavahi-client3 armhf 0.8-5ubuntu5.2 [24.4 kB] 209s Get:14 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libcups2 armhf 2.4.1op1-1ubuntu4.11 [233 kB] 209s Get:15 http://ftpmaster.internal/ubuntu jammy/main armhf python3-talloc armhf 2.3.3-2build1 [11.9 kB] 209s Get:16 http://ftpmaster.internal/ubuntu jammy-updates/main armhf samba-libs armhf 2:4.15.13+dfsg-0ubuntu1.6 [5828 kB] 209s Get:17 http://ftpmaster.internal/ubuntu jammy-updates/main armhf python3-samba armhf 2:4.15.13+dfsg-0ubuntu1.6 [2758 kB] 209s Get:18 http://ftpmaster.internal/ubuntu jammy-updates/main armhf samba-common all 2:4.15.13+dfsg-0ubuntu1.6 [75.7 kB] 209s Get:19 http://ftpmaster.internal/ubuntu jammy-updates/main armhf samba-common-bin armhf 2:4.15.13+dfsg-0ubuntu1.6 [589 kB] 209s Get:20 http://ftpmaster.internal/ubuntu jammy/main armhf tdb-tools armhf 1.4.5-2build1 [25.0 kB] 209s Get:21 http://ftpmaster.internal/ubuntu jammy-updates/main armhf samba armhf 2:4.15.13+dfsg-0ubuntu1.6 [1163 kB] 209s Get:22 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libsmbclient armhf 2:4.15.13+dfsg-0ubuntu1.6 [59.7 kB] 209s Get:23 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libsmbclient-dev armhf 2:4.15.13+dfsg-0ubuntu1.6 [41.1 kB] 209s Get:24 http://ftpmaster.internal/ubuntu jammy/main armhf m4 armhf 1.4.18-5ubuntu2 [191 kB] 209s Get:25 http://ftpmaster.internal/ubuntu jammy/main armhf autoconf all 2.71-2 [338 kB] 209s Get:26 http://ftpmaster.internal/ubuntu jammy/main armhf autotools-dev all 20220109.1 [44.9 kB] 209s Get:27 http://ftpmaster.internal/ubuntu jammy/main armhf automake all 1:1.16.5-1.3 [558 kB] 209s Get:28 http://ftpmaster.internal/ubuntu jammy/main armhf autopoint all 0.21-4ubuntu4 [422 kB] 209s Get:29 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libc-dev-bin armhf 2.35-0ubuntu3.8 [19.0 kB] 209s Get:30 http://ftpmaster.internal/ubuntu jammy-updates/main armhf linux-libc-dev armhf 5.15.0-126.136 [1297 kB] 209s Get:31 http://ftpmaster.internal/ubuntu jammy/main armhf libcrypt-dev armhf 1:4.4.27-1 [122 kB] 209s Get:32 http://ftpmaster.internal/ubuntu jammy/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu6 [63.7 kB] 209s Get:33 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libtirpc-dev armhf 1.3.2-2ubuntu0.1 [184 kB] 209s Get:34 http://ftpmaster.internal/ubuntu jammy/main armhf libnsl-dev armhf 1.3.0-2build2 [66.1 kB] 209s Get:35 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libc6-dev armhf 2.35-0ubuntu3.8 [1332 kB] 209s Get:36 http://ftpmaster.internal/ubuntu jammy-updates/main armhf gcc-11-base armhf 11.4.0-1ubuntu1~22.04 [20.2 kB] 209s Get:37 http://ftpmaster.internal/ubuntu jammy/main armhf libisl23 armhf 0.24-2build1 [581 kB] 209s Get:38 http://ftpmaster.internal/ubuntu jammy/main armhf libmpc3 armhf 1.2.1-2build1 [39.5 kB] 209s Get:39 http://ftpmaster.internal/ubuntu jammy-updates/main armhf cpp-11 armhf 11.4.0-1ubuntu1~22.04 [7852 kB] 209s Get:40 http://ftpmaster.internal/ubuntu jammy/main armhf cpp armhf 4:11.2.0-1ubuntu1 [27.7 kB] 209s Get:41 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libcc1-0 armhf 12.3.0-1ubuntu1~22.04 [39.0 kB] 209s Get:42 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libgomp1 armhf 12.3.0-1ubuntu1~22.04 [110 kB] 209s Get:43 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libatomic1 armhf 12.3.0-1ubuntu1~22.04 [7636 B] 209s Get:44 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libasan6 armhf 11.4.0-1ubuntu1~22.04 [2242 kB] 210s Get:45 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libubsan1 armhf 12.3.0-1ubuntu1~22.04 [958 kB] 210s Get:46 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libgcc-11-dev armhf 11.4.0-1ubuntu1~22.04 [839 kB] 210s Get:47 http://ftpmaster.internal/ubuntu jammy-updates/main armhf gcc-11 armhf 11.4.0-1ubuntu1~22.04 [15.8 MB] 210s Get:48 http://ftpmaster.internal/ubuntu jammy/main armhf gcc armhf 4:11.2.0-1ubuntu1 [5126 B] 210s Get:49 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libstdc++-11-dev armhf 11.4.0-1ubuntu1~22.04 [2154 kB] 210s Get:50 http://ftpmaster.internal/ubuntu jammy-updates/main armhf g++-11 armhf 11.4.0-1ubuntu1~22.04 [9040 kB] 210s Get:51 http://ftpmaster.internal/ubuntu jammy/main armhf g++ armhf 4:11.2.0-1ubuntu1 [1400 B] 210s Get:52 http://ftpmaster.internal/ubuntu jammy/main armhf build-essential armhf 12.9ubuntu3 [4744 B] 210s Get:53 http://ftpmaster.internal/ubuntu jammy/main armhf libdebhelper-perl all 13.6ubuntu1 [67.2 kB] 210s Get:54 http://ftpmaster.internal/ubuntu jammy/main armhf libtool all 2.4.6-15build2 [164 kB] 210s Get:55 http://ftpmaster.internal/ubuntu jammy/main armhf dh-autoreconf all 20 [16.1 kB] 210s Get:56 http://ftpmaster.internal/ubuntu jammy/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 210s Get:57 http://ftpmaster.internal/ubuntu jammy/main armhf libsub-override-perl all 0.09-2 [9532 B] 210s Get:58 http://ftpmaster.internal/ubuntu jammy/main armhf libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] 210s Get:59 http://ftpmaster.internal/ubuntu jammy/main armhf dh-strip-nondeterminism all 1.13.0-1 [5344 B] 210s Get:60 http://ftpmaster.internal/ubuntu jammy/main armhf debugedit armhf 1:5.0-4build1 [43.3 kB] 210s Get:61 http://ftpmaster.internal/ubuntu jammy/main armhf dwz armhf 0.14-1build2 [99.2 kB] 210s Get:62 http://ftpmaster.internal/ubuntu jammy/main armhf gettext armhf 0.21-4ubuntu4 [805 kB] 210s Get:63 http://ftpmaster.internal/ubuntu jammy/main armhf intltool-debian all 0.35.0+20060710.5 [24.9 kB] 210s Get:64 http://ftpmaster.internal/ubuntu jammy/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 210s Get:65 http://ftpmaster.internal/ubuntu jammy/main armhf debhelper all 13.6ubuntu1 [923 kB] 210s Get:66 http://ftpmaster.internal/ubuntu jammy-updates/universe armhf dh-apport all 2.20.11-0ubuntu82.6 [7812 B] 210s Get:67 http://ftpmaster.internal/ubuntu jammy-updates/universe armhf golang-1.22-src all 1.22.2-2~22.04.2 [19.8 MB] 211s Get:68 http://ftpmaster.internal/ubuntu jammy-updates/universe armhf golang-1.22-go armhf 1.22.2-2~22.04.2 [23.9 MB] 212s Get:69 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libgssrpc4 armhf 1.19.2-2ubuntu0.4 [52.6 kB] 212s Get:70 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libkdb5-10 armhf 1.19.2-2ubuntu0.4 [35.4 kB] 212s Get:71 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libkadm5srv-mit12 armhf 1.19.2-2ubuntu0.4 [47.5 kB] 212s Get:72 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libkadm5clnt-mit12 armhf 1.19.2-2ubuntu0.4 [36.5 kB] 212s Get:73 http://ftpmaster.internal/ubuntu jammy-updates/main armhf comerr-dev armhf 2.1-1.46.5-2ubuntu1.2 [40.3 kB] 212s Get:74 http://ftpmaster.internal/ubuntu jammy-updates/main armhf krb5-multidev armhf 1.19.2-2ubuntu0.4 [125 kB] 212s Get:75 http://ftpmaster.internal/ubuntu jammy/main armhf pkg-config armhf 0.29.2-1ubuntu3 [46.0 kB] 212s Get:76 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libdbus-1-dev armhf 1.12.20-2ubuntu4.1 [167 kB] 212s Get:77 http://ftpmaster.internal/ubuntu jammy/main armhf libffi-dev armhf 3.4.2-4 [58.5 kB] 212s Get:78 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libglib2.0-dev-bin armhf 2.72.4-0ubuntu2.4 [116 kB] 212s Get:79 http://ftpmaster.internal/ubuntu jammy-updates/main armhf uuid-dev armhf 2.37.2-4ubuntu3.4 [31.8 kB] 212s Get:80 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libblkid-dev armhf 2.37.2-4ubuntu3.4 [176 kB] 212s Get:81 http://ftpmaster.internal/ubuntu jammy/main armhf libsepol-dev armhf 3.3-1build1 [357 kB] 212s Get:82 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpcre2-16-0 armhf 10.39-3ubuntu0.1 [174 kB] 212s Get:83 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpcre2-32-0 armhf 10.39-3ubuntu0.1 [164 kB] 212s Get:84 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpcre2-posix3 armhf 10.39-3ubuntu0.1 [5528 B] 212s Get:85 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpcre2-dev armhf 10.39-3ubuntu0.1 [647 kB] 212s Get:86 http://ftpmaster.internal/ubuntu jammy/main armhf libselinux1-dev armhf 3.3-1build2 [153 kB] 212s Get:87 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libmount-dev armhf 2.37.2-4ubuntu3.4 [14.6 kB] 212s Get:88 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpcre16-3 armhf 2:8.39-13ubuntu0.22.04.1 [144 kB] 212s Get:89 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpcre32-3 armhf 2:8.39-13ubuntu0.22.04.1 [135 kB] 212s Get:90 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpcrecpp0v5 armhf 2:8.39-13ubuntu0.22.04.1 [14.0 kB] 212s Get:91 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpcre3-dev armhf 2:8.39-13ubuntu0.22.04.1 [514 kB] 212s Get:92 http://ftpmaster.internal/ubuntu jammy-updates/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-2ubuntu9.2 [157 kB] 212s Get:93 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libglib2.0-dev armhf 2.72.4-0ubuntu2.4 [1642 kB] 212s Get:94 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf libpam0g-dev armhf 1.4.0-11ubuntu2.5 [112 kB] 212s Get:95 http://ftpmaster.internal/ubuntu jammy-updates/main armhf samba-dsdb-modules armhf 2:4.15.13+dfsg-0ubuntu1.6 [292 kB] 212s Get:96 http://ftpmaster.internal/ubuntu jammy/main armhf dh-golang all 1.53 [21.4 kB] 212s Get:97 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libkrb5-dev armhf 1.19.2-2ubuntu0.4 [12.0 kB] 213s Preconfiguring packages ... 213s Fetched 109 MB in 4s (28.1 MB/s) 213s Selecting previously unselected package libtalloc2:armhf. 213s (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 ... 56488 files and directories currently installed.) 213s Preparing to unpack .../00-libtalloc2_2.3.3-2build1_armhf.deb ... 213s Unpacking libtalloc2:armhf (2.3.3-2build1) ... 213s Selecting previously unselected package libtevent0:armhf. 213s Preparing to unpack .../01-libtevent0_0.11.0-1build1_armhf.deb ... 213s Unpacking libtevent0:armhf (0.11.0-1build1) ... 213s Selecting previously unselected package libwbclient0:armhf. 213s Preparing to unpack .../02-libwbclient0_2%3a4.15.13+dfsg-0ubuntu1.6_armhf.deb ... 213s Unpacking libwbclient0:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 213s Selecting previously unselected package libwbclient-dev:armhf. 213s Preparing to unpack .../03-libwbclient-dev_2%3a4.15.13+dfsg-0ubuntu1.6_armhf.deb ... 213s Unpacking libwbclient-dev:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 213s Selecting previously unselected package python3-dnspython. 213s Preparing to unpack .../04-python3-dnspython_2.1.0-1ubuntu1_all.deb ... 213s Unpacking python3-dnspython (2.1.0-1ubuntu1) ... 213s Selecting previously unselected package libtdb1:armhf. 213s Preparing to unpack .../05-libtdb1_1.4.5-2build1_armhf.deb ... 213s Unpacking libtdb1:armhf (1.4.5-2build1) ... 213s Selecting previously unselected package libldb2:armhf. 213s Preparing to unpack .../06-libldb2_2%3a2.4.4-0ubuntu0.22.04.2_armhf.deb ... 213s Unpacking libldb2:armhf (2:2.4.4-0ubuntu0.22.04.2) ... 214s Selecting previously unselected package libpython3.10:armhf. 214s Preparing to unpack .../07-libpython3.10_3.10.12-1~22.04.7_armhf.deb ... 214s Unpacking libpython3.10:armhf (3.10.12-1~22.04.7) ... 214s Selecting previously unselected package python3-ldb. 214s Preparing to unpack .../08-python3-ldb_2%3a2.4.4-0ubuntu0.22.04.2_armhf.deb ... 214s Unpacking python3-ldb (2:2.4.4-0ubuntu0.22.04.2) ... 214s Selecting previously unselected package python3-tdb. 214s Preparing to unpack .../09-python3-tdb_1.4.5-2build1_armhf.deb ... 214s Unpacking python3-tdb (1.4.5-2build1) ... 214s Selecting previously unselected package libavahi-common-data:armhf. 214s Preparing to unpack .../10-libavahi-common-data_0.8-5ubuntu5.2_armhf.deb ... 214s Unpacking libavahi-common-data:armhf (0.8-5ubuntu5.2) ... 214s Selecting previously unselected package libavahi-common3:armhf. 214s Preparing to unpack .../11-libavahi-common3_0.8-5ubuntu5.2_armhf.deb ... 214s Unpacking libavahi-common3:armhf (0.8-5ubuntu5.2) ... 214s Selecting previously unselected package libavahi-client3:armhf. 214s Preparing to unpack .../12-libavahi-client3_0.8-5ubuntu5.2_armhf.deb ... 214s Unpacking libavahi-client3:armhf (0.8-5ubuntu5.2) ... 214s Selecting previously unselected package libcups2:armhf. 214s Preparing to unpack .../13-libcups2_2.4.1op1-1ubuntu4.11_armhf.deb ... 214s Unpacking libcups2:armhf (2.4.1op1-1ubuntu4.11) ... 214s Selecting previously unselected package python3-talloc:armhf. 214s Preparing to unpack .../14-python3-talloc_2.3.3-2build1_armhf.deb ... 214s Unpacking python3-talloc:armhf (2.3.3-2build1) ... 214s Selecting previously unselected package samba-libs:armhf. 214s Preparing to unpack .../15-samba-libs_2%3a4.15.13+dfsg-0ubuntu1.6_armhf.deb ... 214s Unpacking samba-libs:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 214s Selecting previously unselected package python3-samba. 214s Preparing to unpack .../16-python3-samba_2%3a4.15.13+dfsg-0ubuntu1.6_armhf.deb ... 214s Unpacking python3-samba (2:4.15.13+dfsg-0ubuntu1.6) ... 214s Selecting previously unselected package samba-common. 214s Preparing to unpack .../17-samba-common_2%3a4.15.13+dfsg-0ubuntu1.6_all.deb ... 214s Unpacking samba-common (2:4.15.13+dfsg-0ubuntu1.6) ... 214s Selecting previously unselected package samba-common-bin. 214s Preparing to unpack .../18-samba-common-bin_2%3a4.15.13+dfsg-0ubuntu1.6_armhf.deb ... 214s Unpacking samba-common-bin (2:4.15.13+dfsg-0ubuntu1.6) ... 215s Selecting previously unselected package tdb-tools. 215s Preparing to unpack .../19-tdb-tools_1.4.5-2build1_armhf.deb ... 215s Unpacking tdb-tools (1.4.5-2build1) ... 215s Selecting previously unselected package samba. 215s Preparing to unpack .../20-samba_2%3a4.15.13+dfsg-0ubuntu1.6_armhf.deb ... 215s Unpacking samba (2:4.15.13+dfsg-0ubuntu1.6) ... 215s Selecting previously unselected package libsmbclient:armhf. 215s Preparing to unpack .../21-libsmbclient_2%3a4.15.13+dfsg-0ubuntu1.6_armhf.deb ... 215s Unpacking libsmbclient:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 215s Selecting previously unselected package libsmbclient-dev:armhf. 215s Preparing to unpack .../22-libsmbclient-dev_2%3a4.15.13+dfsg-0ubuntu1.6_armhf.deb ... 215s Unpacking libsmbclient-dev:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 215s Selecting previously unselected package m4. 215s Preparing to unpack .../23-m4_1.4.18-5ubuntu2_armhf.deb ... 215s Unpacking m4 (1.4.18-5ubuntu2) ... 215s Selecting previously unselected package autoconf. 215s Preparing to unpack .../24-autoconf_2.71-2_all.deb ... 215s Unpacking autoconf (2.71-2) ... 215s Selecting previously unselected package autotools-dev. 215s Preparing to unpack .../25-autotools-dev_20220109.1_all.deb ... 215s Unpacking autotools-dev (20220109.1) ... 215s Selecting previously unselected package automake. 215s Preparing to unpack .../26-automake_1%3a1.16.5-1.3_all.deb ... 215s Unpacking automake (1:1.16.5-1.3) ... 215s Selecting previously unselected package autopoint. 215s Preparing to unpack .../27-autopoint_0.21-4ubuntu4_all.deb ... 215s Unpacking autopoint (0.21-4ubuntu4) ... 215s Selecting previously unselected package libc-dev-bin. 215s Preparing to unpack .../28-libc-dev-bin_2.35-0ubuntu3.8_armhf.deb ... 215s Unpacking libc-dev-bin (2.35-0ubuntu3.8) ... 215s Selecting previously unselected package linux-libc-dev:armhf. 215s Preparing to unpack .../29-linux-libc-dev_5.15.0-126.136_armhf.deb ... 215s Unpacking linux-libc-dev:armhf (5.15.0-126.136) ... 216s Selecting previously unselected package libcrypt-dev:armhf. 216s Preparing to unpack .../30-libcrypt-dev_1%3a4.4.27-1_armhf.deb ... 216s Unpacking libcrypt-dev:armhf (1:4.4.27-1) ... 216s Selecting previously unselected package rpcsvc-proto. 216s Preparing to unpack .../31-rpcsvc-proto_1.4.2-0ubuntu6_armhf.deb ... 216s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 216s Selecting previously unselected package libtirpc-dev:armhf. 216s Preparing to unpack .../32-libtirpc-dev_1.3.2-2ubuntu0.1_armhf.deb ... 216s Unpacking libtirpc-dev:armhf (1.3.2-2ubuntu0.1) ... 216s Selecting previously unselected package libnsl-dev:armhf. 216s Preparing to unpack .../33-libnsl-dev_1.3.0-2build2_armhf.deb ... 216s Unpacking libnsl-dev:armhf (1.3.0-2build2) ... 216s Selecting previously unselected package libc6-dev:armhf. 216s Preparing to unpack .../34-libc6-dev_2.35-0ubuntu3.8_armhf.deb ... 216s Unpacking libc6-dev:armhf (2.35-0ubuntu3.8) ... 216s Selecting previously unselected package gcc-11-base:armhf. 216s Preparing to unpack .../35-gcc-11-base_11.4.0-1ubuntu1~22.04_armhf.deb ... 216s Unpacking gcc-11-base:armhf (11.4.0-1ubuntu1~22.04) ... 216s Selecting previously unselected package libisl23:armhf. 216s Preparing to unpack .../36-libisl23_0.24-2build1_armhf.deb ... 216s Unpacking libisl23:armhf (0.24-2build1) ... 216s Selecting previously unselected package libmpc3:armhf. 216s Preparing to unpack .../37-libmpc3_1.2.1-2build1_armhf.deb ... 216s Unpacking libmpc3:armhf (1.2.1-2build1) ... 216s Selecting previously unselected package cpp-11. 216s Preparing to unpack .../38-cpp-11_11.4.0-1ubuntu1~22.04_armhf.deb ... 216s Unpacking cpp-11 (11.4.0-1ubuntu1~22.04) ... 216s Selecting previously unselected package cpp. 216s Preparing to unpack .../39-cpp_4%3a11.2.0-1ubuntu1_armhf.deb ... 216s Unpacking cpp (4:11.2.0-1ubuntu1) ... 216s Selecting previously unselected package libcc1-0:armhf. 216s Preparing to unpack .../40-libcc1-0_12.3.0-1ubuntu1~22.04_armhf.deb ... 216s Unpacking libcc1-0:armhf (12.3.0-1ubuntu1~22.04) ... 216s Selecting previously unselected package libgomp1:armhf. 216s Preparing to unpack .../41-libgomp1_12.3.0-1ubuntu1~22.04_armhf.deb ... 216s Unpacking libgomp1:armhf (12.3.0-1ubuntu1~22.04) ... 216s Selecting previously unselected package libatomic1:armhf. 216s Preparing to unpack .../42-libatomic1_12.3.0-1ubuntu1~22.04_armhf.deb ... 216s Unpacking libatomic1:armhf (12.3.0-1ubuntu1~22.04) ... 216s Selecting previously unselected package libasan6:armhf. 216s Preparing to unpack .../43-libasan6_11.4.0-1ubuntu1~22.04_armhf.deb ... 216s Unpacking libasan6:armhf (11.4.0-1ubuntu1~22.04) ... 217s Selecting previously unselected package libubsan1:armhf. 217s Preparing to unpack .../44-libubsan1_12.3.0-1ubuntu1~22.04_armhf.deb ... 217s Unpacking libubsan1:armhf (12.3.0-1ubuntu1~22.04) ... 217s Selecting previously unselected package libgcc-11-dev:armhf. 217s Preparing to unpack .../45-libgcc-11-dev_11.4.0-1ubuntu1~22.04_armhf.deb ... 217s Unpacking libgcc-11-dev:armhf (11.4.0-1ubuntu1~22.04) ... 217s Selecting previously unselected package gcc-11. 217s Preparing to unpack .../46-gcc-11_11.4.0-1ubuntu1~22.04_armhf.deb ... 217s Unpacking gcc-11 (11.4.0-1ubuntu1~22.04) ... 217s Selecting previously unselected package gcc. 217s Preparing to unpack .../47-gcc_4%3a11.2.0-1ubuntu1_armhf.deb ... 217s Unpacking gcc (4:11.2.0-1ubuntu1) ... 217s Selecting previously unselected package libstdc++-11-dev:armhf. 217s Preparing to unpack .../48-libstdc++-11-dev_11.4.0-1ubuntu1~22.04_armhf.deb ... 217s Unpacking libstdc++-11-dev:armhf (11.4.0-1ubuntu1~22.04) ... 217s Selecting previously unselected package g++-11. 217s Preparing to unpack .../49-g++-11_11.4.0-1ubuntu1~22.04_armhf.deb ... 217s Unpacking g++-11 (11.4.0-1ubuntu1~22.04) ... 218s Selecting previously unselected package g++. 218s Preparing to unpack .../50-g++_4%3a11.2.0-1ubuntu1_armhf.deb ... 218s Unpacking g++ (4:11.2.0-1ubuntu1) ... 218s Selecting previously unselected package build-essential. 218s Preparing to unpack .../51-build-essential_12.9ubuntu3_armhf.deb ... 218s Unpacking build-essential (12.9ubuntu3) ... 218s Selecting previously unselected package libdebhelper-perl. 218s Preparing to unpack .../52-libdebhelper-perl_13.6ubuntu1_all.deb ... 218s Unpacking libdebhelper-perl (13.6ubuntu1) ... 218s Selecting previously unselected package libtool. 218s Preparing to unpack .../53-libtool_2.4.6-15build2_all.deb ... 218s Unpacking libtool (2.4.6-15build2) ... 218s Selecting previously unselected package dh-autoreconf. 218s Preparing to unpack .../54-dh-autoreconf_20_all.deb ... 218s Unpacking dh-autoreconf (20) ... 218s Selecting previously unselected package libarchive-zip-perl. 218s Preparing to unpack .../55-libarchive-zip-perl_1.68-1_all.deb ... 218s Unpacking libarchive-zip-perl (1.68-1) ... 218s Selecting previously unselected package libsub-override-perl. 218s Preparing to unpack .../56-libsub-override-perl_0.09-2_all.deb ... 218s Unpacking libsub-override-perl (0.09-2) ... 218s Selecting previously unselected package libfile-stripnondeterminism-perl. 218s Preparing to unpack .../57-libfile-stripnondeterminism-perl_1.13.0-1_all.deb ... 218s Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ... 218s Selecting previously unselected package dh-strip-nondeterminism. 218s Preparing to unpack .../58-dh-strip-nondeterminism_1.13.0-1_all.deb ... 218s Unpacking dh-strip-nondeterminism (1.13.0-1) ... 218s Selecting previously unselected package debugedit. 218s Preparing to unpack .../59-debugedit_1%3a5.0-4build1_armhf.deb ... 218s Unpacking debugedit (1:5.0-4build1) ... 218s Selecting previously unselected package dwz. 218s Preparing to unpack .../60-dwz_0.14-1build2_armhf.deb ... 218s Unpacking dwz (0.14-1build2) ... 218s Selecting previously unselected package gettext. 218s Preparing to unpack .../61-gettext_0.21-4ubuntu4_armhf.deb ... 218s Unpacking gettext (0.21-4ubuntu4) ... 218s Selecting previously unselected package intltool-debian. 218s Preparing to unpack .../62-intltool-debian_0.35.0+20060710.5_all.deb ... 218s Unpacking intltool-debian (0.35.0+20060710.5) ... 218s Selecting previously unselected package po-debconf. 218s Preparing to unpack .../63-po-debconf_1.0.21+nmu1_all.deb ... 218s Unpacking po-debconf (1.0.21+nmu1) ... 218s Selecting previously unselected package debhelper. 218s Preparing to unpack .../64-debhelper_13.6ubuntu1_all.deb ... 218s Unpacking debhelper (13.6ubuntu1) ... 218s Selecting previously unselected package dh-apport. 218s Preparing to unpack .../65-dh-apport_2.20.11-0ubuntu82.6_all.deb ... 218s Unpacking dh-apport (2.20.11-0ubuntu82.6) ... 218s Selecting previously unselected package golang-1.22-src. 218s Preparing to unpack .../66-golang-1.22-src_1.22.2-2~22.04.2_all.deb ... 218s Unpacking golang-1.22-src (1.22.2-2~22.04.2) ... 221s Selecting previously unselected package golang-1.22-go. 221s Preparing to unpack .../67-golang-1.22-go_1.22.2-2~22.04.2_armhf.deb ... 221s Unpacking golang-1.22-go (1.22.2-2~22.04.2) ... 221s Selecting previously unselected package libgssrpc4:armhf. 221s Preparing to unpack .../68-libgssrpc4_1.19.2-2ubuntu0.4_armhf.deb ... 221s Unpacking libgssrpc4:armhf (1.19.2-2ubuntu0.4) ... 221s Selecting previously unselected package libkdb5-10:armhf. 221s Preparing to unpack .../69-libkdb5-10_1.19.2-2ubuntu0.4_armhf.deb ... 221s Unpacking libkdb5-10:armhf (1.19.2-2ubuntu0.4) ... 221s Selecting previously unselected package libkadm5srv-mit12:armhf. 221s Preparing to unpack .../70-libkadm5srv-mit12_1.19.2-2ubuntu0.4_armhf.deb ... 221s Unpacking libkadm5srv-mit12:armhf (1.19.2-2ubuntu0.4) ... 221s Selecting previously unselected package libkadm5clnt-mit12:armhf. 221s Preparing to unpack .../71-libkadm5clnt-mit12_1.19.2-2ubuntu0.4_armhf.deb ... 221s Unpacking libkadm5clnt-mit12:armhf (1.19.2-2ubuntu0.4) ... 221s Selecting previously unselected package comerr-dev:armhf. 221s Preparing to unpack .../72-comerr-dev_2.1-1.46.5-2ubuntu1.2_armhf.deb ... 221s Unpacking comerr-dev:armhf (2.1-1.46.5-2ubuntu1.2) ... 221s Selecting previously unselected package krb5-multidev:armhf. 221s Preparing to unpack .../73-krb5-multidev_1.19.2-2ubuntu0.4_armhf.deb ... 221s Unpacking krb5-multidev:armhf (1.19.2-2ubuntu0.4) ... 222s Selecting previously unselected package pkg-config. 222s Preparing to unpack .../74-pkg-config_0.29.2-1ubuntu3_armhf.deb ... 222s Unpacking pkg-config (0.29.2-1ubuntu3) ... 222s Selecting previously unselected package libdbus-1-dev:armhf. 222s Preparing to unpack .../75-libdbus-1-dev_1.12.20-2ubuntu4.1_armhf.deb ... 222s Unpacking libdbus-1-dev:armhf (1.12.20-2ubuntu4.1) ... 222s Selecting previously unselected package libffi-dev:armhf. 222s Preparing to unpack .../76-libffi-dev_3.4.2-4_armhf.deb ... 222s Unpacking libffi-dev:armhf (3.4.2-4) ... 222s Selecting previously unselected package libglib2.0-dev-bin. 222s Preparing to unpack .../77-libglib2.0-dev-bin_2.72.4-0ubuntu2.4_armhf.deb ... 222s Unpacking libglib2.0-dev-bin (2.72.4-0ubuntu2.4) ... 222s Selecting previously unselected package uuid-dev:armhf. 222s Preparing to unpack .../78-uuid-dev_2.37.2-4ubuntu3.4_armhf.deb ... 222s Unpacking uuid-dev:armhf (2.37.2-4ubuntu3.4) ... 222s Selecting previously unselected package libblkid-dev:armhf. 222s Preparing to unpack .../79-libblkid-dev_2.37.2-4ubuntu3.4_armhf.deb ... 222s Unpacking libblkid-dev:armhf (2.37.2-4ubuntu3.4) ... 222s Selecting previously unselected package libsepol-dev:armhf. 222s Preparing to unpack .../80-libsepol-dev_3.3-1build1_armhf.deb ... 222s Unpacking libsepol-dev:armhf (3.3-1build1) ... 222s Selecting previously unselected package libpcre2-16-0:armhf. 222s Preparing to unpack .../81-libpcre2-16-0_10.39-3ubuntu0.1_armhf.deb ... 222s Unpacking libpcre2-16-0:armhf (10.39-3ubuntu0.1) ... 222s Selecting previously unselected package libpcre2-32-0:armhf. 222s Preparing to unpack .../82-libpcre2-32-0_10.39-3ubuntu0.1_armhf.deb ... 222s Unpacking libpcre2-32-0:armhf (10.39-3ubuntu0.1) ... 222s Selecting previously unselected package libpcre2-posix3:armhf. 222s Preparing to unpack .../83-libpcre2-posix3_10.39-3ubuntu0.1_armhf.deb ... 222s Unpacking libpcre2-posix3:armhf (10.39-3ubuntu0.1) ... 222s Selecting previously unselected package libpcre2-dev:armhf. 222s Preparing to unpack .../84-libpcre2-dev_10.39-3ubuntu0.1_armhf.deb ... 222s Unpacking libpcre2-dev:armhf (10.39-3ubuntu0.1) ... 222s Selecting previously unselected package libselinux1-dev:armhf. 222s Preparing to unpack .../85-libselinux1-dev_3.3-1build2_armhf.deb ... 222s Unpacking libselinux1-dev:armhf (3.3-1build2) ... 222s Selecting previously unselected package libmount-dev:armhf. 222s Preparing to unpack .../86-libmount-dev_2.37.2-4ubuntu3.4_armhf.deb ... 222s Unpacking libmount-dev:armhf (2.37.2-4ubuntu3.4) ... 222s Selecting previously unselected package libpcre16-3:armhf. 222s Preparing to unpack .../87-libpcre16-3_2%3a8.39-13ubuntu0.22.04.1_armhf.deb ... 222s Unpacking libpcre16-3:armhf (2:8.39-13ubuntu0.22.04.1) ... 222s Selecting previously unselected package libpcre32-3:armhf. 222s Preparing to unpack .../88-libpcre32-3_2%3a8.39-13ubuntu0.22.04.1_armhf.deb ... 222s Unpacking libpcre32-3:armhf (2:8.39-13ubuntu0.22.04.1) ... 222s Selecting previously unselected package libpcrecpp0v5:armhf. 222s Preparing to unpack .../89-libpcrecpp0v5_2%3a8.39-13ubuntu0.22.04.1_armhf.deb ... 222s Unpacking libpcrecpp0v5:armhf (2:8.39-13ubuntu0.22.04.1) ... 222s Selecting previously unselected package libpcre3-dev:armhf. 222s Preparing to unpack .../90-libpcre3-dev_2%3a8.39-13ubuntu0.22.04.1_armhf.deb ... 222s Unpacking libpcre3-dev:armhf (2:8.39-13ubuntu0.22.04.1) ... 222s Selecting previously unselected package zlib1g-dev:armhf. 222s Preparing to unpack .../91-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_armhf.deb ... 222s Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-2ubuntu9.2) ... 223s Selecting previously unselected package libglib2.0-dev:armhf. 223s Preparing to unpack .../92-libglib2.0-dev_2.72.4-0ubuntu2.4_armhf.deb ... 223s Unpacking libglib2.0-dev:armhf (2.72.4-0ubuntu2.4) ... 223s Selecting previously unselected package libpam0g-dev:armhf. 223s Preparing to unpack .../93-libpam0g-dev_1.4.0-11ubuntu2.5_armhf.deb ... 223s Unpacking libpam0g-dev:armhf (1.4.0-11ubuntu2.5) ... 223s Selecting previously unselected package samba-dsdb-modules:armhf. 223s Preparing to unpack .../94-samba-dsdb-modules_2%3a4.15.13+dfsg-0ubuntu1.6_armhf.deb ... 223s Unpacking samba-dsdb-modules:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 223s Selecting previously unselected package dh-golang. 223s Preparing to unpack .../95-dh-golang_1.53_all.deb ... 223s Unpacking dh-golang (1.53) ... 223s Selecting previously unselected package libkrb5-dev:armhf. 223s Preparing to unpack .../96-libkrb5-dev_1.19.2-2ubuntu0.4_armhf.deb ... 223s Unpacking libkrb5-dev:armhf (1.19.2-2ubuntu0.4) ... 223s Setting up libpcrecpp0v5:armhf (2:8.39-13ubuntu0.22.04.1) ... 223s Setting up libglib2.0-dev-bin (2.72.4-0ubuntu2.4) ... 223s Setting up gcc-11-base:armhf (11.4.0-1ubuntu1~22.04) ... 223s Setting up libpython3.10:armhf (3.10.12-1~22.04.7) ... 223s Setting up libpcre16-3:armhf (2:8.39-13ubuntu0.22.04.1) ... 223s Setting up libarchive-zip-perl (1.68-1) ... 223s Setting up libtdb1:armhf (1.4.5-2build1) ... 223s Setting up libdebhelper-perl (13.6ubuntu1) ... 223s Setting up linux-libc-dev:armhf (5.15.0-126.136) ... 223s Setting up m4 (1.4.18-5ubuntu2) ... 223s Setting up samba-common (2:4.15.13+dfsg-0ubuntu1.6) ... 223s 223s Creating config file /etc/samba/smb.conf with new version 223s Setting up libgomp1:armhf (12.3.0-1ubuntu1~22.04) ... 223s Setting up libffi-dev:armhf (3.4.2-4) ... 223s Setting up dh-apport (2.20.11-0ubuntu82.6) ... 223s Setting up libpcre2-16-0:armhf (10.39-3ubuntu0.1) ... 223s Setting up libasan6:armhf (11.4.0-1ubuntu1~22.04) ... 223s Setting up libtalloc2:armhf (2.3.3-2build1) ... 223s Setting up libgssrpc4:armhf (1.19.2-2ubuntu0.4) ... 223s Setting up python3-tdb (1.4.5-2build1) ... 224s Setting up autotools-dev (20220109.1) ... 224s Setting up libpcre2-32-0:armhf (10.39-3ubuntu0.1) ... 224s Setting up libtirpc-dev:armhf (1.3.2-2ubuntu0.1) ... 224s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 224s Setting up libtevent0:armhf (0.11.0-1build1) ... 224s Setting up libavahi-common-data:armhf (0.8-5ubuntu5.2) ... 224s Setting up golang-1.22-src (1.22.2-2~22.04.2) ... 224s Setting up tdb-tools (1.4.5-2build1) ... 224s update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode 224s Setting up libpcre32-3:armhf (2:8.39-13ubuntu0.22.04.1) ... 224s Setting up libmpc3:armhf (1.2.1-2build1) ... 224s Setting up libatomic1:armhf (12.3.0-1ubuntu1~22.04) ... 224s Setting up autopoint (0.21-4ubuntu4) ... 224s Setting up pkg-config (0.29.2-1ubuntu3) ... 224s Setting up libsepol-dev:armhf (3.3-1build1) ... 224s Setting up autoconf (2.71-2) ... 224s Setting up libubsan1:armhf (12.3.0-1ubuntu1~22.04) ... 224s Setting up libpcre2-posix3:armhf (10.39-3ubuntu0.1) ... 224s Setting up libgcc-11-dev:armhf (11.4.0-1ubuntu1~22.04) ... 224s Setting up dwz (0.14-1build2) ... 224s Setting up libnsl-dev:armhf (1.3.0-2build2) ... 224s Setting up python3-dnspython (2.1.0-1ubuntu1) ... 224s Setting up libcrypt-dev:armhf (1:4.4.27-1) ... 224s Setting up debugedit (1:5.0-4build1) ... 224s Setting up libsub-override-perl (0.09-2) ... 224s Setting up libisl23:armhf (0.24-2build1) ... 224s Setting up libc-dev-bin (2.35-0ubuntu3.8) ... 224s Setting up libldb2:armhf (2:2.4.4-0ubuntu0.22.04.2) ... 224s Setting up libcc1-0:armhf (12.3.0-1ubuntu1~22.04) ... 224s Setting up libkadm5clnt-mit12:armhf (1.19.2-2ubuntu0.4) ... 224s Setting up automake (1:1.16.5-1.3) ... 224s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 224s Setting up libfile-stripnondeterminism-perl (1.13.0-1) ... 224s Setting up cpp-11 (11.4.0-1ubuntu1~22.04) ... 224s Setting up gettext (0.21-4ubuntu4) ... 224s Setting up libkdb5-10:armhf (1.19.2-2ubuntu0.4) ... 224s Setting up python3-talloc:armhf (2.3.3-2build1) ... 224s Setting up libavahi-common3:armhf (0.8-5ubuntu5.2) ... 224s Setting up golang-1.22-go (1.22.2-2~22.04.2) ... 224s Setting up libwbclient0:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 224s Setting up libwbclient-dev:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 224s Setting up intltool-debian (0.35.0+20060710.5) ... 224s Setting up libdbus-1-dev:armhf (1.12.20-2ubuntu4.1) ... 224s Setting up python3-ldb (2:2.4.4-0ubuntu0.22.04.2) ... 224s Setting up dh-strip-nondeterminism (1.13.0-1) ... 224s Setting up gcc-11 (11.4.0-1ubuntu1~22.04) ... 224s Setting up cpp (4:11.2.0-1ubuntu1) ... 224s Setting up libkadm5srv-mit12:armhf (1.19.2-2ubuntu0.4) ... 224s Setting up libc6-dev:armhf (2.35-0ubuntu3.8) ... 224s Setting up libavahi-client3:armhf (0.8-5ubuntu5.2) ... 224s Setting up libpcre2-dev:armhf (10.39-3ubuntu0.1) ... 224s Setting up libtool (2.4.6-15build2) ... 224s Setting up libpam0g-dev:armhf (1.4.0-11ubuntu2.5) ... 224s Setting up libselinux1-dev:armhf (3.3-1build2) ... 224s Setting up libpcre3-dev:armhf (2:8.39-13ubuntu0.22.04.1) ... 224s Setting up po-debconf (1.0.21+nmu1) ... 224s Setting up gcc (4:11.2.0-1ubuntu1) ... 224s Setting up dh-autoreconf (20) ... 224s Setting up uuid-dev:armhf (2.37.2-4ubuntu3.4) ... 224s Setting up comerr-dev:armhf (2.1-1.46.5-2ubuntu1.2) ... 224s Setting up libstdc++-11-dev:armhf (11.4.0-1ubuntu1~22.04) ... 224s Setting up libcups2:armhf (2.4.1op1-1ubuntu4.11) ... 224s Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-2ubuntu9.2) ... 224s Setting up krb5-multidev:armhf (1.19.2-2ubuntu0.4) ... 224s Setting up libblkid-dev:armhf (2.37.2-4ubuntu3.4) ... 224s Setting up g++-11 (11.4.0-1ubuntu1~22.04) ... 224s Setting up samba-libs:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 224s Setting up debhelper (13.6ubuntu1) ... 224s Setting up libkrb5-dev:armhf (1.19.2-2ubuntu0.4) ... 224s Setting up libsmbclient:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 224s Setting up libsmbclient-dev:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 224s Setting up g++ (4:11.2.0-1ubuntu1) ... 224s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 224s Setting up build-essential (12.9ubuntu3) ... 224s Setting up samba-dsdb-modules:armhf (2:4.15.13+dfsg-0ubuntu1.6) ... 224s Setting up libmount-dev:armhf (2.37.2-4ubuntu3.4) ... 224s Setting up python3-samba (2:4.15.13+dfsg-0ubuntu1.6) ... 225s Setting up dh-golang (1.53) ... 225s Setting up libglib2.0-dev:armhf (2.72.4-0ubuntu2.4) ... 225s Setting up samba-common-bin (2:4.15.13+dfsg-0ubuntu1.6) ... 225s Checking smb.conf with testparm 225s Load smb config files from /etc/samba/smb.conf 225s Loaded services file OK. 225s Weak crypto is allowed 225s 225s WARNING: The 'netbios name' is too long (max. 15 chars). 225s 225s Server role: ROLE_STANDALONE 225s 225s Done 225s Setting up samba (2:4.15.13+dfsg-0ubuntu1.6) ... 226s Adding group `sambashare' (GID 116) ... 226s Done. 226s Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service 226s Please ignore the following error about deb-systemd-helper not finding those services. 226s (samba-ad-dc.service masked) 227s Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service. 227s Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. 227s /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory 227s Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service. 228s samba-ad-dc.service is a disabled or a static unit, not starting it. 228s Processing triggers for libc-bin (2.35-0ubuntu3.8) ... 228s Processing triggers for ufw (0.36.1-4ubuntu0.1) ... 228s Processing triggers for man-db (2.10.2-1) ... 228s Processing triggers for install-info (6.8-4build1) ... 229s Processing triggers for libglib2.0-0:armhf (2.72.4-0ubuntu2.4) ... 229s No schema files found: doing nothing. 243s autopkgtest [20:35:09]: test command1: ./debian/tests/test no-sudo 243s autopkgtest [20:35:09]: test command1: [----------------------- 246s Running non-root tests... 276s ? github.com/ubuntu/adsys [no test files] 276s ? github.com/ubuntu/adsys/cmd/admxgen [no test files] 285s === RUN TestRun 285s === RUN TestRun/Run_and_usage_error_only_does_not_fail 285s === RUN TestRun/Send_SIGINT_exits 285s === RUN TestRun/Send_SIGTERM_exits 285s === RUN TestRun/Send_SIGHUP_without_exiting 285s === RUN TestRun/Send_SIGHUP_with_exit 285s === RUN TestRun/Run_and_exit_successfully 285s === RUN TestRun/Run_and_return_error 285s level=error msg="Error requested" 285s === RUN TestRun/Run_and_return_usage_error 285s level=error msg="Error requested" 285s --- PASS: TestRun (0.86s) 285s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 285s --- PASS: TestRun/Send_SIGINT_exits (0.10s) 285s --- PASS: TestRun/Send_SIGTERM_exits (0.10s) 285s --- PASS: TestRun/Send_SIGHUP_without_exiting (0.15s) 285s --- PASS: TestRun/Send_SIGHUP_with_exit (0.10s) 285s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 285s --- PASS: TestRun/Run_and_return_error (0.10s) 285s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 285s PASS 285s ok github.com/ubuntu/adsys/cmd/adsysd 0.957s 289s === RUN TestColorizePolicies 289s --- PASS: TestColorizePolicies (0.00s) 289s === RUN TestInitApp 289s === PAUSE TestInitApp 289s === RUN TestAppHelp 289s === PAUSE TestAppHelp 289s === RUN TestAppCompletion 289s === PAUSE TestAppCompletion 289s === RUN TestAppNoUsageError 289s === PAUSE TestAppNoUsageError 289s === RUN TestAppUsageError 289s === PAUSE TestAppUsageError 289s === RUN TestAppCanQuitWhenExecute 289s === PAUSE TestAppCanQuitWhenExecute 289s === RUN TestAppCanQuitAfterExecute 289s === PAUSE TestAppCanQuitAfterExecute 289s === RUN TestAppCanQuitWithoutExecute 289s === PAUSE TestAppCanQuitWithoutExecute 289s === RUN TestAppCanSigHupWhenExecute 289s === PAUSE TestAppCanSigHupWhenExecute 289s === RUN TestAppCanSigHupAfterExecute 289s === PAUSE TestAppCanSigHupAfterExecute 289s === RUN TestAppGetRootCmd 289s === PAUSE TestAppGetRootCmd 289s === CONT TestInitApp 289s === CONT TestAppCanQuitAfterExecute 289s === CONT TestAppCanSigHupWhenExecute 289s === CONT TestAppCanQuitWithoutExecute 289s === CONT TestAppGetRootCmd 289s === CONT TestAppNoUsageError 289s === CONT TestAppCanQuitWhenExecute 289s === CONT TestAppUsageError 289s # bash completion V2 for adsysctl -*- shell-script -*- 289s 289s __adsysctl_debug() 289s { 289s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 289s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 289s fi 289s } 289s 289s # Macs have bash3 for which the bash-completion package doesn't include 289s # _init_completion. This is a minimal version of that function. 289s __adsysctl_init_completion() 289s { 289s COMPREPLY=() 289s _get_comp_words_by_ref "$@" cur prev words cword 289s } 289s 289s # This function calls the adsysctl program to obtain the completion 289s # results and the directive. It fills the 'out' and 'directive' vars. 289s __adsysctl_get_completion_results() { 289s local requestComp lastParam lastChar args 289s 289s # Prepare the command to request completions for the program. 289s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 289s args=("${words[@]:1}") 289s requestComp="${words[0]} __complete ${args[*]}" 289s 289s lastParam=${words[$((${#words[@]}-1))]} 289s lastChar=${lastParam:$((${#lastParam}-1)):1} 289s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 289s 289s if [[ -z ${cur} && ${lastChar} != = ]]; then 289s # If the last parameter is complete (there is a space following it) 289s # We add an extra empty parameter so we can indicate this to the go method. 289s __adsysctl_debug "Adding extra empty parameter" 289s requestComp="${requestComp} ''" 289s fi 289s 289s # When completing a flag with an = (e.g., adsysctl -n=) 289s # bash focuses on the part after the =, so we need to remove 289s # the flag part from $cur 289s if [[ ${cur} == -*=* ]]; then 289s cur="${cur#*=}" 289s fi 289s 289s __adsysctl_debug "Calling ${requestComp}" 289s # Use eval to handle any environment variables and such 289s out=$(eval "${requestComp}" 2>/dev/null) 289s 289s # Extract the directive integer at the very end of the output following a colon (:) 289s directive=${out##*:} 289s # Remove the directive 289s out=${out%:*} 289s if [[ ${directive} == "${out}" ]]; then 289s # There is not directive specified 289s directive=0 289s fi 289s __adsysctl_debug "The completion directive is: ${directive}" 289s __adsysctl_debug "The completions are: ${out}" 289s } 289s 289s __adsysctl_process_completion_results() { 289s local shellCompDirectiveError=1 289s local shellCompDirectiveNoSpace=2 289s local shellCompDirectiveNoFileComp=4 289s local shellCompDirectiveFilterFileExt=8 289s local shellCompDirectiveFilterDirs=16 289s local shellCompDirectiveKeepOrder=32 289s 289s if (((directive & shellCompDirectiveError) != 0)); then 289s # Error code. No completion. 289s __adsysctl_debug "Received error from custom completion go code" 289s return 289s else 289s if (((directive & shellCompDirectiveNoSpace) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s __adsysctl_debug "Activating no space" 289s compopt -o nospace 289s else 289s __adsysctl_debug "No space directive not supported in this version of bash" 289s fi 289s fi 289s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s # no sort isn't supported for bash less than < 4.4 289s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 289s __adsysctl_debug "No sort directive not supported in this version of bash" 289s else 289s __adsysctl_debug "Activating keep order" 289s compopt -o nosort 289s fi 289s else 289s __adsysctl_debug "No sort directive not supported in this version of bash" 289s fi 289s fi 289s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s __adsysctl_debug "Activating no file completion" 289s compopt +o default 289s else 289s __adsysctl_debug "No file completion directive not supported in this version of bash" 289s fi 289s fi 289s fi 289s 289s # Separate activeHelp from normal completions 289s local completions=() 289s local activeHelp=() 289s __adsysctl_extract_activeHelp 289s 289s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 289s # File extension filtering 289s local fullFilter filter filteringCmd 289s 289s # Do not use quotes around the $completions variable or else newline 289s # characters will be kept. 289s for filter in ${completions[*]}; do 289s fullFilter+="$filter|" 289s done 289s 289s filteringCmd="_filedir $fullFilter" 289s __adsysctl_debug "File filtering command: $filteringCmd" 289s $filteringCmd 289s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 289s # File completion for directories only 289s 289s local subdir 289s subdir=${completions[0]} 289s if [[ -n $subdir ]]; then 289s __adsysctl_debug "Listing directories in $subdir" 289s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 289s else 289s __adsysctl_debug "Listing directories in ." 289s _filedir -d 289s fi 289s else 289s __adsysctl_handle_completion_types 289s fi 289s 289s __adsysctl_handle_special_char "$cur" : 289s __adsysctl_handle_special_char "$cur" = 289s 289s # Print the activeHelp statements before we finish 289s if ((${#activeHelp[*]} != 0)); then 289s printf "\n"; 289s printf "%s\n" "${activeHelp[@]}" 289s printf "\n" 289s 289s # The prompt format is only available from bash 4.4. 289s # We test if it is available before using it. 289s if (x=${PS1@P}) 2> /dev/null; then 289s printf "%s" "${PS1@P}${COMP_LINE[@]}" 289s else 289s # Can't print the prompt. Just print the 289s # text the user had typed, it is workable enough. 289s printf "%s" "${COMP_LINE[@]}" 289s fi 289s fi 289s } 289s 289s # Separate activeHelp lines from real completions. 289s # Fills the $activeHelp and $completions arrays. 289s __adsysctl_extract_activeHelp() { 289s local activeHelpMarker="_activeHelp_ " 289s local endIndex=${#activeHelpMarker} 289s 289s while IFS='' read -r comp; do 289s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 289s comp=${comp:endIndex} 289s __adsysctl_debug "ActiveHelp found: $comp" 289s if [[ -n $comp ]]; then 289s activeHelp+=("$comp") 289s fi 289s else 289s # Not an activeHelp line but a normal completion 289s completions+=("$comp") 289s fi 289s done <<<"${out}" 289s } 289s 289s __adsysctl_handle_completion_types() { 289s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 289s 289s case $COMP_TYPE in 289s 37|42) 289s # Type: menu-complete/menu-complete-backward and insert-completions 289s # If the user requested inserting one completion at a time, or all 289s # completions at once on the command-line we must remove the descriptions. 289s # https://github.com/spf13/cobra/issues/1508 289s local tab=$'\t' comp 289s while IFS='' read -r comp; do 289s [[ -z $comp ]] && continue 289s # Strip any description 289s comp=${comp%%$tab*} 289s # Only consider the completions that match 289s if [[ $comp == "$cur"* ]]; then 289s COMPREPLY+=("$comp") 289s fi 289s done < <(printf "%s\n" "${completions[@]}") 289s ;; 289s 289s *) 289s # Type: complete (normal completion) 289s __adsysctl_handle_standard_completion_case 289s ;; 289s esac 289s } 289s 289s __adsysctl_handle_standard_completion_case() { 289s local tab=$'\t' comp 289s 289s # Short circuit to optimize if we don't have descriptions 289s if [[ "${completions[*]}" != *$tab* ]]; then 289s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 289s return 0 289s fi 289s 289s local longest=0 289s local compline 289s # Look for the longest completion so that we can format things nicely 289s while IFS='' read -r compline; do 289s [[ -z $compline ]] && continue 289s # Strip any description before checking the length 289s comp=${compline%%$tab*} 289s # Only consider the completions that match 289s [[ $comp == "$cur"* ]] || continue 289s COMPREPLY+=("$compline") 289s if ((${#comp}>longest)); then 289s longest=${#comp} 289s fi 289s done < <(printf "%s\n" "${completions[@]}") 289s 289s # If there is a single completion left, remove the description text 289s if ((${#COMPREPLY[*]} == 1)); then 289s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 289s comp="${COMPREPLY[0]%%$tab*}" 289s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 289s COMPREPLY[0]=$comp 289s else # Format the descriptions 289s __adsysctl_format_comp_descriptions $longest 289s fi 289s } 289s 289s __adsysctl_handle_special_char() 289s { 289s local comp="$1" 289s local char=$2 289s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 289s local word=${comp%"${comp##*${char}}"} 289s local idx=${#COMPREPLY[*]} 289s while ((--idx >= 0)); do 289s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 289s done 289s fi 289s } 289s 289s __adsysctl_format_comp_descriptions() 289s { 289s local tab=$'\t' 289s local comp desc maxdesclength 289s local longest=$1 289s 289s local i ci 289s for ci in ${!COMPREPLY[*]}; do 289s comp=${COMPREPLY[ci]} 289s # Properly format the description string which follows a tab character if there is one 289s if [[ "$comp" == *$tab* ]]; then 289s __adsysctl_debug "Original comp: $comp" 289s desc=${comp#*$tab} 289s comp=${comp%%$tab*} 289s 289s # $COLUMNS stores the current shell width. 289s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 289s maxdesclength=$(( COLUMNS - longest - 4 )) 289s 289s # Make sure we can fit a description of at least 8 characters 289s # if we are to align the descriptions. 289s if ((maxdesclength > 8)); then 289s # Add the proper number of spaces to align the descriptions 289s for ((i = ${#comp} ; i < longest ; i++)); do 289s comp+=" " 289s done 289s else 289s # Don't pad the descriptions so we can fit more text after the completion 289s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 289s fi 289s 289s # If there is enough space for any description text, 289s # truncate the descriptions that are too long for the shell width 289s if ((maxdesclength > 0)); then 289s if ((${#desc} > maxdesclength)); then 289s desc=${desc:0:$(( maxdesclength - 1 ))} 289s desc+="…" 289s fi 289s comp+=" ($desc)" 289s fi 289s COMPREPLY[ci]=$comp 289s __adsysctl_debug "Final comp: $comp" 289s fi 289s done 289s } 289s 289s __start_adsysctl() 289s { 289s local cur prev words cword split 289s 289s COMPREPLY=() 289s 289s # Call _init_completion from the bash-completion package 289s # to prepare the arguments properly 289s if declare -F _init_completion >/dev/null 2>&1; then 289s _init_completion -n =: || return 289s else 289s __adsysctl_init_completion -n =: || return 289s fi 289s 289s __adsysctl_debug 289s __adsysctl_debug "========= starting completion logic ==========" 289s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 289s 289s # The user could have moved the cursor backwards on the command-line. 289s # We need to trigger completion from the $cword location, so we need 289s # to truncate the command-line ($words) up to the $cword location. 289s words=("${words[@]:0:$cword+1}") 289s __adsysctl_debug "Truncated words[*]: ${words[*]}," 289s 289s local out directive 289s __adsysctl_get_completion_results 289s __adsysctl_process_completion_results 289s } 289s 289s if [[ $(type -t compopt) = "builtin" ]]; then 289s complete -o default -F __start_adsysctl adsysctl 289s else 289s complete -o default -o nospace -F __start_adsysctl adsysctl 289s fi 289s 289s # ex: ts=4 sw=4 et filetype=sh 289s --- PASS: TestAppCanQuitAfterExecute (0.02s) 289s === CONT TestAppCompletion 289s Usage: 289s adsysctl COMMAND [flags] 289s adsysctl [command] 289s 289s Available Commands: 289s applied Print last applied GPOs for current or given user/machine 289s completion Generate the autocompletion script for the specified shell 289s doc Documentation 289s help Help about any command 289s policy Policy management 289s service Service management 289s update Updates/Create a policy for current user or given user with its kerberos ticket 289s version Returns version of client and service 289s 289s Flags: 289s -c, --config string use a specific configuration file 289s -h, --help help for adsysctl 289s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 289s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 289s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 289s 289s Use "adsysctl [command] --help" for more information about a command. 289s 289s --- PASS: TestInitApp (0.03s) 289s === CONT TestAppHelp 289s # bash completion V2 for adsysctl -*- shell-script -*- 289s 289s __adsysctl_debug() 289s { 289s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 289s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 289s fi 289s } 289s 289s # Macs have bash3 for which the bash-completion package doesn't include 289s # _init_completion. This is a minimal version of that function. 289s __adsysctl_init_completion() 289s { 289s COMPREPLY=() 289s _get_comp_words_by_ref "$@" cur prev words cword 289s } 289s 289s # This function calls the adsysctl program to obtain the completion 289s # results and the directive. It fills the 'out' and 'directive' vars. 289s __adsysctl_get_completion_results() { 289s local requestComp lastParam lastChar args 289s 289s # Prepare the command to request completions for the program. 289s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 289s args=("${words[@]:1}") 289s requestComp="${words[0]} __complete ${args[*]}" 289s 289s lastParam=${words[$((${#words[@]}-1))]} 289s lastChar=${lastParam:$((${#lastParam}-1)):1} 289s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 289s 289s if [[ -z ${cur} && ${lastChar} != = ]]; then 289s # If the last parameter is complete (there is a space following it) 289s # We add an extra empty parameter so we can indicate this to the go method. 289s __adsysctl_debug "Adding extra empty parameter" 289s requestComp="${requestComp} ''" 289s fi 289s 289s # When completing a flag with an = (e.g., adsysctl -n=) 289s # bash focuses on the part after the =, so we need to remove 289s # the flag part from $cur 289s if [[ ${cur} == -*=* ]]; then 289s cur="${cur#*=}" 289s fi 289s 289s __adsysctl_debug "Calling ${requestComp}" 289s # Use eval to handle any environment variables and such 289s out=$(eval "${requestComp}" 2>/dev/null) 289s 289s # Extract the directive integer at the very end of the output following a colon (:) 289s directive=${out##*:} 289s # Remove the directive 289s out=${out%:*} 289s if [[ ${directive} == "${out}" ]]; then 289s # There is not directive specified 289s directive=0 289s fi 289s __adsysctl_debug "The completion directive is: ${directive}" 289s __adsysctl_debug "The completions are: ${out}" 289s } 289s 289s __adsysctl_process_completion_results() { 289s local shellCompDirectiveError=1 289s local shellCompDirectiveNoSpace=2 289s local shellCompDirectiveNoFileComp=4 289s local shellCompDirectiveFilterFileExt=8 289s local shellCompDirectiveFilterDirs=16 289s local shellCompDirectiveKeepOrder=32 289s 289s if (((directive & shellCompDirectiveError) != 0)); then 289s # Error code. No completion. 289s __adsysctl_debug "Received error from custom completion go code" 289s return 289s else 289s if (((directive & shellCompDirectiveNoSpace) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s __adsysctl_debug "Activating no space" 289s compopt -o nospace 289s else 289s __adsysctl_debug "No space directive not supported in this version of bash" 289s fi 289s fi 289s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s # no sort isn't supported for bash less than < 4.4 289s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 289s __adsysctl_debug "No sort directive not supported in this version of bash" 289s else 289s __adsysctl_debug "Activating keep order" 289s compopt -o nosort 289s fi 289s else 289s __adsysctl_debug "No sort directive not supported in this version of bash" 289s fi 289s fi 289s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s __adsysctl_debug "Activating no file completion" 289s compopt +o default 289s else 289s __adsysctl_debug "No file completion directive not supported in this version of bash" 289s fi 289s fi 289s fi 289s 289s # Separate activeHelp from normal completions 289s local completions=() 289s local activeHelp=() 289s __adsysctl_extract_activeHelp 289s 289s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 289s # File extension filtering 289s local fullFilter filter filteringCmd 289s 289s # Do not use quotes around the $completions variable or else newline 289s # characters will be kept. 289s for filter in ${completions[*]}; do 289s fullFilter+="$filter|" 289s done 289s 289s filteringCmd="_filedir $fullFilter" 289s __adsysctl_debug "File filtering command: $filteringCmd" 289s $filteringCmd 289s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 289s # File completion for directories only 289s 289s local subdir 289s subdir=${completions[0]} 289s if [[ -n $subdir ]]; then 289s __adsysctl_debug "Listing directories in $subdir" 289s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 289s else 289s __adsysctl_debug "Listing directories in ." 289s _filedir -d 289s fi 289s else 289s __adsysctl_handle_completion_types 289s fi 289s 289s __adsysctl_handle_special_char "$cur" : 289s __adsysctl_handle_special_char "$cur" = 289s 289s # Print the activeHelp statements before we finish 289s if ((${#activeHelp[*]} != 0)); then 289s printf "\n"; 289s printf "%s\n" "${activeHelp[@]}" 289s printf "\n" 289s 289s # The prompt format is only available from bash 4.4. 289s # We test if it is available before using it. 289s if (x=${PS1@P}) 2> /dev/null; then 289s printf "%s" "${PS1@P}${COMP_LINE[@]}" 289s else 289s # Can't print the prompt. Just print the 289s # text the user had typed, it is workable enough. 289s printf "%s" "${COMP_LINE[@]}" 289s fi 289s fi 289s } 289s 289s # Separate activeHelp lines from real completions. 289s # Fills the $activeHelp and $completions arrays. 289s __adsysctl_extract_activeHelp() { 289s local activeHelpMarker="_activeHelp_ " 289s local endIndex=${#activeHelpMarker} 289s 289s while IFS='' read -r comp; do 289s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 289s comp=${comp:endIndex} 289s __adsysctl_debug "ActiveHelp found: $comp" 289s if [[ -n $comp ]]; then 289s activeHelp+=("$comp") 289s fi 289s else 289s # Not an activeHelp line but a normal completion 289s completions+=("$comp") 289s fi 289s done <<<"${out}" 289s } 289s 289s __adsysctl_handle_completion_types() { 289s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 289s 289s case $COMP_TYPE in 289s 37|42) 289s # Type: menu-complete/menu-complete-backward and insert-completions 289s # If the user requested inserting one completion at a time, or all 289s # completions at once on the command-line we must remove the descriptions. 289s # https://github.com/spf13/cobra/issues/1508 289s local tab=$'\t' comp 289s while IFS='' read -r comp; do 289s [[ -z $comp ]] && continue 289s # Strip any description 289s comp=${comp%%$tab*} 289s # Only consider the completions that match 289s if [[ $comp == "$cur"* ]]; then 289s COMPREPLY+=("$comp") 289s fi 289s done < <(printf "%s\n" "${completions[@]}") 289s ;; 289s 289s *) 289s # Type: complete (normal completion) 289s __adsysctl_handle_standard_completion_case 289s ;; 289s esac 289s } 289s 289s __adsysctl_handle_standard_completion_case() { 289s local tab=$'\t' comp 289s 289s # Short circuit to optimize if we don't have descriptions 289s if [[ "${completions[*]}" != *$tab* ]]; then 289s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 289s return 0 289s fi 289s 289s local longest=0 289s local compline 289s # Look for the longest completion so that we can format things nicely 289s while IFS='' read -r compline; do 289s [[ -z $compline ]] && continue 289s # Strip any description before checking the length 289s comp=${compline%%$tab*} 289s # Only consider the completions that match 289s [[ $comp == "$cur"* ]] || continue 289s COMPREPLY+=("$compline") 289s if ((${#comp}>longest)); then 289s longest=${#comp} 289s fi 289s done < <(printf "%s\n" "${completions[@]}") 289s 289s # If there is a single completion left, remove the description text 289s if ((${#COMPREPLY[*]} == 1)); then 289s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 289s comp="${COMPREPLY[0]%%$tab*}" 289s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 289s COMPREPLY[0]=$comp 289s else # Format the descriptions 289s __adsysctl_format_comp_descriptions $longest 289s fi 289s } 289s 289s __adsysctl_handle_special_char() 289s { 289s local comp="$1" 289s local char=$2 289s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 289s local word=${comp%"${comp##*${char}}"} 289s local idx=${#COMPREPLY[*]} 289s while ((--idx >= 0)); do 289s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 289s done 289s fi 289s } 289s 289s __adsysctl_format_comp_descriptions() 289s { 289s local tab=$'\t' 289s local comp desc maxdesclength 289s local longest=$1 289s 289s local i ci 289s for ci in ${!COMPREPLY[*]}; do 289s comp=${COMPREPLY[ci]} 289s # Properly format the description string which follows a tab character if there is one 289s if [[ "$comp" == *$tab* ]]; then 289s __adsysctl_debug "Original comp: $comp" 289s desc=${comp#*$tab} 289s comp=${comp%%$tab*} 289s 289s # $COLUMNS stores the current shell width. 289s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 289s maxdesclength=$(( COLUMNS - longest - 4 )) 289s 289s # Make sure we can fit a description of at least 8 characters 289s # if we are to align the descriptions. 289s if ((maxdesclength > 8)); then 289s # Add the proper number of spaces to align the descriptions 289s for ((i = ${#comp} ; i < longest ; i++)); do 289s comp+=" " 289s done 289s else 289s # Don't pad the descriptions so we can fit more text after the completion 289s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 289s fi 289s 289s # If there is enough space for any description text, 289s # truncate the descriptions that are too long for the shell width 289s if ((maxdesclength > 0)); then 289s if ((${#desc} > maxdesclength)); then 289s desc=${desc:0:$(( maxdesclength - 1 ))} 289s desc+="…" 289s fi 289s comp+=" ($desc)" 289s fi 289s COMPREPLY[ci]=$comp 289s __adsysctl_debug "Final comp: $comp" 289s fi 289s done 289s } 289s 289s __start_adsysctl() 289s { 289s local cur prev words cword split 289s 289s COMPREPLY=() 289s 289s # Call _init_completion from the bash-completion package 289s # to prepare the arguments properly 289s if declare -F _init_completion >/dev/null 2>&1; then 289s _init_completion -n =: || return 289s else 289s __adsysctl_init_completion -n =: || return 289s fi 289s 289s __adsysctl_debug 289s __adsysctl_debug "========= starting completion logic ==========" 289s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 289s 289s # The user could have moved the cursor backwards on the command-line. 289s # We need to trigger completion from the $cword location, so we need 289s # to truncate the command-line ($words) up to the $cword location. 289s words=("${words[@]:0:$cword+1}") 289s __adsysctl_debug "Truncated words[*]: ${words[*]}," 289s 289s local out directive 289s __adsysctl_get_completion_results 289s __adsysctl_process_completion_results 289s } 289s 289s if [[ $(type -t compopt) = "builtin" ]]; then 289s complete -o default -F __start_adsysctl adsysctl 289s else 289s complete -o default -o nospace -F __start_adsysctl adsysctl 289s fi 289s 289s # ex: ts=4 sw=4 et filetype=sh 289s --- PASS: TestAppNoUsageError (0.03s) 289s === CONT TestAppCanSigHupAfterExecute 289s Usage: 289s adsysctl COMMAND [flags] 289s adsysctl [command] 289s 289s Available Commands: 289s applied Print last applied GPOs for current or given user/machine 289s completion Generate the autocompletion script for the specified shell 289s doc Documentation 289s help Help about any command 289s policy Policy management 289s service Service management 289s update Updates/Create a policy for current user or given user with its kerberos ticket 289s version Returns version of client and service 289s 289s Flags: 289s -c, --config string use a specific configuration file 289s -h, --help help for adsysctl 289s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 289s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 289s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 289s 289s Use "adsysctl [command] --help" for more information about a command. 289s 289s --- PASS: TestAppUsageError (0.04s) 289s --- PASS: TestAppCanSigHupWhenExecute (0.04s) 289s --- PASS: TestAppCanQuitWhenExecute (0.04s) 289s --- PASS: TestAppGetRootCmd (0.04s) 289s --- PASS: TestAppCanQuitWithoutExecute (0.04s) 289s # bash completion V2 for adsysctl -*- shell-script -*- 289s 289s __adsysctl_debug() 289s { 289s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 289s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 289s fi 289s } 289s 289s # Macs have bash3 for which the bash-completion package doesn't include 289s # _init_completion. This is a minimal version of that function. 289s __adsysctl_init_completion() 289s { 289s COMPREPLY=() 289s _get_comp_words_by_ref "$@" cur prev words cword 289s } 289s 289s # This function calls the adsysctl program to obtain the completion 289s # results and the directive. It fills the 'out' and 'directive' vars. 289s __adsysctl_get_completion_results() { 289s local requestComp lastParam lastChar args 289s 289s # Prepare the command to request completions for the program. 289s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 289s args=("${words[@]:1}") 289s requestComp="${words[0]} __complete ${args[*]}" 289s 289s lastParam=${words[$((${#words[@]}-1))]} 289s lastChar=${lastParam:$((${#lastParam}-1)):1} 289s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 289s 289s if [[ -z ${cur} && ${lastChar} != = ]]; then 289s # If the last parameter is complete (there is a space following it) 289s # We add an extra empty parameter so we can indicate this to the go method. 289s __adsysctl_debug "Adding extra empty parameter" 289s requestComp="${requestComp} ''" 289s fi 289s 289s # When completing a flag with an = (e.g., adsysctl -n=) 289s # bash focuses on the part after the =, so we need to remove 289s # the flag part from $cur 289s if [[ ${cur} == -*=* ]]; then 289s cur="${cur#*=}" 289s fi 289s 289s __adsysctl_debug "Calling ${requestComp}" 289s # Use eval to handle any environment variables and such 289s out=$(eval "${requestComp}" 2>/dev/null) 289s 289s # Extract the directive integer at the very end of the output following a colon (:) 289s directive=${out##*:} 289s # Remove the directive 289s out=${out%:*} 289s if [[ ${directive} == "${out}" ]]; then 289s # There is not directive specified 289s directive=0 289s fi 289s __adsysctl_debug "The completion directive is: ${directive}" 289s __adsysctl_debug "The completions are: ${out}" 289s } 289s 289s __adsysctl_process_completion_results() { 289s local shellCompDirectiveError=1 289s local shellCompDirectiveNoSpace=2 289s local shellCompDirectiveNoFileComp=4 289s local shellCompDirectiveFilterFileExt=8 289s local shellCompDirectiveFilterDirs=16 289s local shellCompDirectiveKeepOrder=32 289s 289s if (((directive & shellCompDirectiveError) != 0)); then 289s # Error code. No completion. 289s __adsysctl_debug "Received error from custom completion go code" 289s return 289s else 289s if (((directive & shellCompDirectiveNoSpace) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s __adsysctl_debug "Activating no space" 289s compopt -o nospace 289s else 289s __adsysctl_debug "No space directive not supported in this version of bash" 289s fi 289s fi 289s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s # no sort isn't supported for bash less than < 4.4 289s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 289s __adsysctl_debug "No sort directive not supported in this version of bash" 289s else 289s __adsysctl_debug "Activating keep order" 289s compopt -o nosort 289s fi 289s else 289s __adsysctl_debug "No sort directive not supported in this version of bash" 289s fi 289s fi 289s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s __adsysctl_debug "Activating no file completion" 289s compopt +o default 289s else 289s __adsysctl_debug "No file completion directive not supported in this version of bash" 289s fi 289s fi 289s fi 289s 289s # Separate activeHelp from normal completions 289s local completions=() 289s local activeHelp=() 289s __adsysctl_extract_activeHelp 289s 289s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 289s # File extension filtering 289s local fullFilter filter filteringCmd 289s 289s # Do not use quotes around the $completions variable or else newline 289s # characters will be kept. 289s for filter in ${completions[*]}; do 289s fullFilter+="$filter|" 289s done 289s 289s filteringCmd="_filedir $fullFilter" 289s __adsysctl_debug "File filtering command: $filteringCmd" 289s $filteringCmd 289s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 289s # File completion for directories only 289s 289s local subdir 289s subdir=${completions[0]} 289s if [[ -n $subdir ]]; then 289s __adsysctl_debug "Listing directories in $subdir" 289s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 289s else 289s __adsysctl_debug "Listing directories in ." 289s _filedir -d 289s fi 289s else 289s __adsysctl_handle_completion_types 289s fi 289s 289s __adsysctl_handle_special_char "$cur" : 289s __adsysctl_handle_special_char "$cur" = 289s 289s # Print the activeHelp statements before we finish 289s if ((${#activeHelp[*]} != 0)); then 289s printf "\n"; 289s printf "%s\n" "${activeHelp[@]}" 289s printf "\n" 289s 289s # The prompt format is only available from bash 4.4. 289s # We test if it is available before using it. 289s if (x=${PS1@P}) 2> /dev/null; then 289s printf "%s" "${PS1@P}${COMP_LINE[@]}" 289s else 289s # Can't print the prompt. Just print the 289s # text the user had typed, it is workable enough. 289s printf "%s" "${COMP_LINE[@]}" 289s fi 289s fi 289s } 289s 289s # Separate activeHelp lines from real completions. 289s # Fills the $activeHelp and $completions arrays. 289s __adsysctl_extract_activeHelp() { 289s local activeHelpMarker="_activeHelp_ " 289s local endIndex=${#activeHelpMarker} 289s 289s while IFS='' read -r comp; do 289s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 289s comp=${comp:endIndex} 289s __adsysctl_debug "ActiveHelp found: $comp" 289s if [[ -n $comp ]]; then 289s activeHelp+=("$comp") 289s fi 289s else 289s # Not an activeHelp line but a normal completion 289s completions+=("$comp") 289s fi 289s done <<<"${out}" 289s } 289s 289s __adsysctl_handle_completion_types() { 289s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 289s 289s case $COMP_TYPE in 289s 37|42) 289s # Type: menu-complete/menu-complete-backward and insert-completions 289s # If the user requested inserting one completion at a time, or all 289s # completions at once on the command-line we must remove the descriptions. 289s # https://github.com/spf13/cobra/issues/1508 289s local tab=$'\t' comp 289s while IFS='' read -r comp; do 289s [[ -z $comp ]] && continue 289s # Strip any description 289s comp=${comp%%$tab*} 289s # Only consider the completions that match 289s if [[ $comp == "$cur"* ]]; then 289s COMPREPLY+=("$comp") 289s fi 289s done < <(printf "%s\n" "${completions[@]}") 289s ;; 289s 289s *) 289s # Type: complete (normal completion) 289s __adsysctl_handle_standard_completion_case 289s ;; 289s esac 289s } 289s 289s __adsysctl_handle_standard_completion_case() { 289s local tab=$'\t' comp 289s 289s # Short circuit to optimize if we don't have descriptions 289s if [[ "${completions[*]}" != *$tab* ]]; then 289s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 289s return 0 289s fi 289s 289s local longest=0 289s local compline 289s # Look for the longest completion so that we can format things nicely 289s while IFS='' read -r compline; do 289s [[ -z $compline ]] && continue 289s # Strip any description before checking the length 289s comp=${compline%%$tab*} 289s # Only consider the completions that match 289s [[ $comp == "$cur"* ]] || continue 289s COMPREPLY+=("$compline") 289s if ((${#comp}>longest)); then 289s longest=${#comp} 289s fi 289s done < <(printf "%s\n" "${completions[@]}") 289s 289s # If there is a single completion left, remove the description text 289s if ((${#COMPREPLY[*]} == 1)); then 289s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 289s comp="${COMPREPLY[0]%%$tab*}" 289s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 289s COMPREPLY[0]=$comp 289s else # Format the descriptions 289s __adsysctl_format_comp_descriptions $longest 289s fi 289s } 289s 289s __adsysctl_handle_special_char() 289s { 289s local comp="$1" 289s local char=$2 289s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 289s local word=${comp%"${comp##*${char}}"} 289s local idx=${#COMPREPLY[*]} 289s while ((--idx >= 0)); do 289s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 289s done 289s fi 289s } 289s 289s __adsysctl_format_comp_descriptions() 289s { 289s local tab=$'\t' 289s local comp desc maxdesclength 289s local longest=$1 289s 289s local i ci 289s for ci in ${!COMPREPLY[*]}; do 289s comp=${COMPREPLY[ci]} 289s # Properly format the description string which follows a tab character if there is one 289s if [[ "$comp" == *$tab* ]]; then 289s __adsysctl_debug "Original comp: $comp" 289s desc=${comp#*$tab} 289s comp=${comp%%$tab*} 289s 289s # $COLUMNS stores the current shell width. 289s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 289s maxdesclength=$(( COLUMNS - longest - 4 )) 289s 289s # Make sure we can fit a description of at least 8 characters 289s # if we are to align the descriptions. 289s if ((maxdesclength > 8)); then 289s # Add the proper number of spaces to align the descriptions 289s for ((i = ${#comp} ; i < longest ; i++)); do 289s comp+=" " 289s done 289s else 289s # Don't pad the descriptions so we can fit more text after the completion 289s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 289s fi 289s 289s # If there is enough space for any description text, 289s # truncate the descriptions that are too long for the shell width 289s if ((maxdesclength > 0)); then 289s if ((${#desc} > maxdesclength)); then 289s desc=${desc:0:$(( maxdesclength - 1 ))} 289s desc+="…" 289s fi 289s comp+=" ($desc)" 289s fi 289s COMPREPLY[ci]=$comp 289s __adsysctl_debug "Final comp: $comp" 289s fi 289s done 289s } 289s 289s __start_adsysctl() 289s { 289s local cur prev words cword split 289s 289s COMPREPLY=() 289s 289s # Call _init_completion from the bash-completion package 289s # to prepare the arguments properly 289s if declare -F _init_completion >/dev/null 2>&1; then 289s _init_completion -n =: || return 289s else 289s __adsysctl_init_completion -n =: || return 289s fi 289s 289s __adsysctl_debug 289s __adsysctl_debug "========= starting completion logic ==========" 289s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 289s 289s # The user could have moved the cursor backwards on the command-line. 289s # We need to trigger completion from the $cword location, so we need 289s # to truncate the command-line ($words) up to the $cword location. 289s words=("${words[@]:0:$cword+1}") 289s __adsysctl_debug "Truncated words[*]: ${words[*]}," 289s 289s local out directive 289s __adsysctl_get_completion_results 289s __adsysctl_process_completion_results 289s } 289s 289s if [[ $(type -t compopt) = "builtin" ]]; then 289s complete -o default -F __start_adsysctl adsysctl 289s else 289s complete -o default -o nospace -F __start_adsysctl adsysctl 289s fi 289s 289s # ex: ts=4 sw=4 et filetype=sh 289s --- PASS: TestAppCompletion (0.02s) 289s Active Directory integration bridging toolset command line tool. 289s 289s Usage: 289s adsysctl COMMAND [flags] 289s adsysctl [command] 289s 289s Available Commands: 289s applied Print last applied GPOs for current or given user/machine 289s completion Generate the autocompletion script for the specified shell 289s doc Documentation 289s help Help about any command 289s policy Policy management 289s service Service management 289s update Updates/Create a policy for current user or given user with its kerberos ticket 289s version Returns version of client and service 289s 289s Flags: 289s -c, --config string use a specific configuration file 289s -h, --help help for adsysctl 289s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 289s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 289s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 289s 289s Use "adsysctl [command] --help" for more information about a command. 289s --- PASS: TestAppHelp (0.01s) 289s # bash completion V2 for adsysctl -*- shell-script -*- 289s 289s __adsysctl_debug() 289s { 289s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 289s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 289s fi 289s } 289s 289s # Macs have bash3 for which the bash-completion package doesn't include 289s # _init_completion. This is a minimal version of that function. 289s __adsysctl_init_completion() 289s { 289s COMPREPLY=() 289s _get_comp_words_by_ref "$@" cur prev words cword 289s } 289s 289s # This function calls the adsysctl program to obtain the completion 289s # results and the directive. It fills the 'out' and 'directive' vars. 289s __adsysctl_get_completion_results() { 289s local requestComp lastParam lastChar args 289s 289s # Prepare the command to request completions for the program. 289s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 289s args=("${words[@]:1}") 289s requestComp="${words[0]} __complete ${args[*]}" 289s 289s lastParam=${words[$((${#words[@]}-1))]} 289s lastChar=${lastParam:$((${#lastParam}-1)):1} 289s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 289s 289s if [[ -z ${cur} && ${lastChar} != = ]]; then 289s # If the last parameter is complete (there is a space following it) 289s # We add an extra empty parameter so we can indicate this to the go method. 289s __adsysctl_debug "Adding extra empty parameter" 289s requestComp="${requestComp} ''" 289s fi 289s 289s # When completing a flag with an = (e.g., adsysctl -n=) 289s # bash focuses on the part after the =, so we need to remove 289s # the flag part from $cur 289s if [[ ${cur} == -*=* ]]; then 289s cur="${cur#*=}" 289s fi 289s 289s __adsysctl_debug "Calling ${requestComp}" 289s # Use eval to handle any environment variables and such 289s out=$(eval "${requestComp}" 2>/dev/null) 289s 289s # Extract the directive integer at the very end of the output following a colon (:) 289s directive=${out##*:} 289s # Remove the directive 289s out=${out%:*} 289s if [[ ${directive} == "${out}" ]]; then 289s # There is not directive specified 289s directive=0 289s fi 289s __adsysctl_debug "The completion directive is: ${directive}" 289s __adsysctl_debug "The completions are: ${out}" 289s } 289s 289s __adsysctl_process_completion_results() { 289s local shellCompDirectiveError=1 289s local shellCompDirectiveNoSpace=2 289s local shellCompDirectiveNoFileComp=4 289s local shellCompDirectiveFilterFileExt=8 289s local shellCompDirectiveFilterDirs=16 289s local shellCompDirectiveKeepOrder=32 289s 289s if (((directive & shellCompDirectiveError) != 0)); then 289s # Error code. No completion. 289s __adsysctl_debug "Received error from custom completion go code" 289s return 289s else 289s if (((directive & shellCompDirectiveNoSpace) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s __adsysctl_debug "Activating no space" 289s compopt -o nospace 289s else 289s __adsysctl_debug "No space directive not supported in this version of bash" 289s fi 289s fi 289s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s # no sort isn't supported for bash less than < 4.4 289s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 289s __adsysctl_debug "No sort directive not supported in this version of bash" 289s else 289s __adsysctl_debug "Activating keep order" 289s compopt -o nosort 289s fi 289s else 289s __adsysctl_debug "No sort directive not supported in this version of bash" 289s fi 289s fi 289s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 289s if [[ $(type -t compopt) == builtin ]]; then 289s __adsysctl_debug "Activating no file completion" 289s compopt +o default 289s else 289s __adsysctl_debug "No file completion directive not supported in this version of bash" 289s fi 289s fi 289s fi 289s 289s # Separate activeHelp from normal completions 289s local completions=() 289s local activeHelp=() 289s __adsysctl_extract_activeHelp 289s 289s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 289s # File extension filtering 289s local fullFilter filter filteringCmd 289s 289s # Do not use quotes around the $completions variable or else newline 289s # characters will be kept. 289s for filter in ${completions[*]}; do 289s fullFilter+="$filter|" 289s done 289s 289s filteringCmd="_filedir $fullFilter" 289s __adsysctl_debug "File filtering command: $filteringCmd" 289s $filteringCmd 289s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 289s # File completion for directories only 289s 289s local subdir 289s subdir=${completions[0]} 289s if [[ -n $subdir ]]; then 289s __adsysctl_debug "Listing directories in $subdir" 289s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 289s else 289s __adsysctl_debug "Listing directories in ." 289s _filedir -d 289s fi 289s else 289s __adsysctl_handle_completion_types 289s fi 289s 289s __adsysctl_handle_special_char "$cur" : 289s __adsysctl_handle_special_char "$cur" = 289s 289s # Print the activeHelp statements before we finish 289s if ((${#activeHelp[*]} != 0)); then 289s printf "\n"; 289s printf "%s\n" "${activeHelp[@]}" 289s printf "\n" 289s 289s # The prompt format is only available from bash 4.4. 289s # We test if it is available before using it. 289s if (x=${PS1@P}) 2> /dev/null; then 289s printf "%s" "${PS1@P}${COMP_LINE[@]}" 289s else 289s # Can't print the prompt. Just print the 289s # text the user had typed, it is workable enough. 289s printf "%s" "${COMP_LINE[@]}" 289s fi 289s fi 289s } 289s 289s # Separate activeHelp lines from real completions. 289s # Fills the $activeHelp and $completions arrays. 289s __adsysctl_extract_activeHelp() { 289s local activeHelpMarker="_activeHelp_ " 289s local endIndex=${#activeHelpMarker} 289s 289s while IFS='' read -r comp; do 289s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 289s comp=${comp:endIndex} 289s __adsysctl_debug "ActiveHelp found: $comp" 289s if [[ -n $comp ]]; then 289s activeHelp+=("$comp") 289s fi 289s else 289s # Not an activeHelp line but a normal completion 289s completions+=("$comp") 289s fi 289s done <<<"${out}" 289s } 289s 289s __adsysctl_handle_completion_types() { 289s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 289s 289s case $COMP_TYPE in 289s 37|42) 289s # Type: menu-complete/menu-complete-backward and insert-completions 289s # If the user requested inserting one completion at a time, or all 289s # completions at once on the command-line we must remove the descriptions. 289s # https://github.com/spf13/cobra/issues/1508 289s local tab=$'\t' comp 289s while IFS='' read -r comp; do 289s [[ -z $comp ]] && continue 289s # Strip any description 289s comp=${comp%%$tab*} 289s # Only consider the completions that match 289s if [[ $comp == "$cur"* ]]; then 289s COMPREPLY+=("$comp") 289s fi 289s done < <(printf "%s\n" "${completions[@]}") 289s ;; 289s 289s *) 289s # Type: complete (normal completion) 289s __adsysctl_handle_standard_completion_case 289s ;; 289s esac 289s } 289s 289s __adsysctl_handle_standard_completion_case() { 289s local tab=$'\t' comp 289s 289s # Short circuit to optimize if we don't have descriptions 289s if [[ "${completions[*]}" != *$tab* ]]; then 289s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 289s return 0 289s fi 289s 289s local longest=0 289s local compline 289s # Look for the longest completion so that we can format things nicely 289s while IFS='' read -r compline; do 289s [[ -z $compline ]] && continue 289s # Strip any description before checking the length 289s comp=${compline%%$tab*} 289s # Only consider the completions that match 289s [[ $comp == "$cur"* ]] || continue 289s COMPREPLY+=("$compline") 289s if ((${#comp}>longest)); then 289s longest=${#comp} 289s fi 289s done < <(printf "%s\n" "${completions[@]}") 289s 289s # If there is a single completion left, remove the description text 289s if ((${#COMPREPLY[*]} == 1)); then 289s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 289s comp="${COMPREPLY[0]%%$tab*}" 289s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 289s COMPREPLY[0]=$comp 289s else # Format the descriptions 289s __adsysctl_format_comp_descriptions $longest 289s fi 289s } 289s 289s __adsysctl_handle_special_char() 289s { 289s local comp="$1" 289s local char=$2 289s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 289s local word=${comp%"${comp##*${char}}"} 289s local idx=${#COMPREPLY[*]} 289s while ((--idx >= 0)); do 289s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 289s done 289s fi 289s } 289s 289s __adsysctl_format_comp_descriptions() 289s { 289s local tab=$'\t' 289s local comp desc maxdesclength 289s local longest=$1 289s 289s local i ci 289s for ci in ${!COMPREPLY[*]}; do 289s comp=${COMPREPLY[ci]} 289s # Properly format the description string which follows a tab character if there is one 289s if [[ "$comp" == *$tab* ]]; then 289s __adsysctl_debug "Original comp: $comp" 289s desc=${comp#*$tab} 289s comp=${comp%%$tab*} 289s 289s # $COLUMNS stores the current shell width. 289s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 289s maxdesclength=$(( COLUMNS - longest - 4 )) 289s 289s # Make sure we can fit a description of at least 8 characters 289s # if we are to align the descriptions. 289s if ((maxdesclength > 8)); then 289s # Add the proper number of spaces to align the descriptions 289s for ((i = ${#comp} ; i < longest ; i++)); do 289s comp+=" " 289s done 289s else 289s # Don't pad the descriptions so we can fit more text after the completion 289s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 289s fi 289s 289s # If there is enough space for any description text, 289s # truncate the descriptions that are too long for the shell width 289s if ((maxdesclength > 0)); then 289s if ((${#desc} > maxdesclength)); then 289s desc=${desc:0:$(( maxdesclength - 1 ))} 289s desc+="…" 289s fi 289s comp+=" ($desc)" 289s fi 289s COMPREPLY[ci]=$comp 289s __adsysctl_debug "Final comp: $comp" 289s fi 289s done 289s } 289s 289s __start_adsysctl() 289s { 289s local cur prev words cword split 289s 289s COMPREPLY=() 289s 289s # Call _init_completion from the bash-completion package 289s # to prepare the arguments properly 289s if declare -F _init_completion >/dev/null 2>&1; then 289s _init_completion -n =: || return 289s else 289s __adsysctl_init_completion -n =: || return 289s fi 289s 289s __adsysctl_debug 289s __adsysctl_debug "========= starting completion logic ==========" 289s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 289s 289s # The user could have moved the cursor backwards on the command-line. 289s # We need to trigger completion from the $cword location, so we need 289s # to truncate the command-line ($words) up to the $cword location. 289s words=("${words[@]:0:$cword+1}") 289s __adsysctl_debug "Truncated words[*]: ${words[*]}," 289s 289s local out directive 289s __adsysctl_get_completion_results 289s __adsysctl_process_completion_results 289s } 289s 289s if [[ $(type -t compopt) = "builtin" ]]; then 289s complete -o default -F __start_adsysctl adsysctl 289s else 289s complete -o default -o nospace -F __start_adsysctl adsysctl 289s fi 289s 289s # ex: ts=4 sw=4 et filetype=sh 289s --- PASS: TestAppCanSigHupAfterExecute (0.02s) 289s PASS 289s ok github.com/ubuntu/adsys/cmd/adsysd/client 0.163s 295s === RUN TestAppHelp 295s === PAUSE TestAppHelp 295s === RUN TestAppCompletion 295s === PAUSE TestAppCompletion 295s === RUN TestAppVersion 295s --- PASS: TestAppVersion (0.00s) 295s === RUN TestAppNoUsageError 295s === PAUSE TestAppNoUsageError 295s === RUN TestAppUsageError 295s === PAUSE TestAppUsageError 295s === RUN TestAppCanQuitWhenExecute 295s time="2024-11-29T20:35:57Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 295s --- PASS: TestAppCanQuitWhenExecute (0.07s) 295s === RUN TestAppCanQuitAfterExecute 295s time="2024-11-29T20:35:57Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 295s --- PASS: TestAppCanQuitAfterExecute (1.01s) 295s === RUN TestAppCanQuitWithoutExecute 295s === PAUSE TestAppCanQuitWithoutExecute 295s === RUN TestAppRunFailsOnDaemonCreationAndQuit 295s time="2024-11-29T20:35:58Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 295s --- PASS: TestAppRunFailsOnDaemonCreationAndQuit (0.01s) 295s === RUN TestAppRunFailsOnServiceCreationAndQuit 295s --- PASS: TestAppRunFailsOnServiceCreationAndQuit (0.00s) 295s === RUN TestAppCanSigHupWhenExecute 295s time="2024-11-29T20:35:58Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 295s --- PASS: TestAppCanSigHupWhenExecute (0.06s) 295s === RUN TestAppCanSigHupAfterExecute 295s time="2024-11-29T20:35:59Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 295s --- PASS: TestAppCanSigHupAfterExecute (1.01s) 295s === RUN TestAppCanSigHupWithoutExecute 295s --- PASS: TestAppCanSigHupWithoutExecute (0.00s) 295s === RUN TestAppTimeout 295s time="2024-11-29T20:36:00Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 295s --- PASS: TestAppTimeout (1.01s) 295s === RUN TestAppGetRootCmd 295s === PAUSE TestAppGetRootCmd 295s === RUN TestConfigLoad 295s time="2024-11-29T20:36:01Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 295s time="2024-11-29T20:36:01Z" level=info msg="Serving on /tmp/TestConfigLoad1057191143/001/adsys.socket" 295s time="2024-11-29T20:36:01Z" level=info msg="Stopping daemon requested." 295s time="2024-11-29T20:36:01Z" level=info msg="Wait for active requests to close." 295s --- PASS: TestConfigLoad (0.06s) 295s === RUN TestConfigChange 295s time="2024-11-29T20:36:01Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 295s time="2024-11-29T20:36:01Z" level=info msg="Serving on /tmp/TestConfigChange3163448339/001/adsys.socket" 295s time="2024-11-29T20:36:01Z" level=info msg="Stopping daemon requested." 295s time="2024-11-29T20:36:01Z" level=info msg="Wait for active requests to close." 295s time="2024-11-29T20:36:01Z" level=debug msg="All connections have now ended." 295s time="2024-11-29T20:36:01Z" level=debug msg=Quitting 295s --- PASS: TestConfigChange (0.16s) 295s === CONT TestAppHelp 295s === CONT TestAppUsageError 295s === CONT TestAppGetRootCmd 295s === CONT TestAppCanQuitWithoutExecute 295s daemon_test.go:104: We need to initialize the daemon first, so this is not possible and will hang forever (ready not closed) 295s === CONT TestAppNoUsageError 295s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 295s === CONT TestAppCompletion 295s --- PASS: TestAppGetRootCmd (0.00s) 295s --- PASS: TestAppUsageError (0.01s) 295s # bash completion V2 for adsysd -*- shell-script -*- 295s 295s __adsysd_debug() 295s { 295s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 295s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 295s fi 295s } 295s 295s # Macs have bash3 for which the bash-completion package doesn't include 295s # _init_completion. This is a minimal version of that function. 295s __adsysd_init_completion() 295s { 295s COMPREPLY=() 295s _get_comp_words_by_ref "$@" cur prev words cword 295s } 295s 295s # This function calls the adsysd program to obtain the completion 295s # results and the directive. It fills the 'out' and 'directive' vars. 295s __adsysd_get_completion_results() { 295s local requestComp lastParam lastChar args 295s 295s # Prepare the command to request completions for the program. 295s # Calling ${words[0]} instead of directly adsysd allows handling aliases 295s args=("${words[@]:1}") 295s requestComp="${words[0]} __complete ${args[*]}" 295s 295s lastParam=${words[$((${#words[@]}-1))]} 295s lastChar=${lastParam:$((${#lastParam}-1)):1} 295s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 295s 295s if [[ -z ${cur} && ${lastChar} != = ]]; then 295s # If the last parameter is complete (there is a space following it) 295s # We add an extra empty parameter so we can indicate this to the go method. 295s __adsysd_debug "Adding extra empty parameter" 295s requestComp="${requestComp} ''" 295s fi 295s 295s # When completing a flag with an = (e.g., adsysd -n=) 295s # bash focuses on the part after the =, so we need to remove 295s # the flag part from $cur 295s if [[ ${cur} == -*=* ]]; then 295s cur="${cur#*=}" 295s fi 295s 295s __adsysd_debug "Calling ${requestComp}" 295s # Use eval to handle any environment variables and such 295s out=$(eval "${requestComp}" 2>/dev/null) 295s 295s # Extract the directive integer at the very end of the output following a colon (:) 295s directive=${out##*:} 295s # Remove the directive 295s out=${out%:*} 295s if [[ ${directive} == "${out}" ]]; then 295s # There is not directive specified 295s directive=0 295s fi 295s __adsysd_debug "The completion directive is: ${directive}" 295s __adsysd_debug "The completions are: ${out}" 295s } 295s 295s __adsysd_process_completion_results() { 295s local shellCompDirectiveError=1 295s local shellCompDirectiveNoSpace=2 295s local shellCompDirectiveNoFileComp=4 295s local shellCompDirectiveFilterFileExt=8 295s local shellCompDirectiveFilterDirs=16 295s local shellCompDirectiveKeepOrder=32 295s 295s if (((directive & shellCompDirectiveError) != 0)); then 295s # Error code. No completion. 295s __adsysd_debug "Received error from custom completion go code" 295s return 295s else 295s if (((directive & shellCompDirectiveNoSpace) != 0)); then 295s if [[ $(type -t compopt) == builtin ]]; then 295s __adsysd_debug "Activating no space" 295s compopt -o nospace 295s else 295s __adsysd_debug "No space directive not supported in this version of bash" 295s fi 295s fi 295s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 295s if [[ $(type -t compopt) == builtin ]]; then 295s # no sort isn't supported for bash less than < 4.4 295s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 295s __adsysd_debug "No sort directive not supported in this version of bash" 295s else 295s __adsysd_debug "Activating keep order" 295s compopt -o nosort 295s fi 295s else 295s __adsysd_debug "No sort directive not supported in this version of bash" 295s fi 295s fi 295s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 295s if [[ $(type -t compopt) == builtin ]]; then 295s __adsysd_debug "Activating no file completion" 295s compopt +o default 295s else 295s __adsysd_debug "No file completion directive not supported in this version of bash" 295s fi 295s fi 295s fi 295s 295s # Separate activeHelp from normal completions 295s local completions=() 295s local activeHelp=() 295s __adsysd_extract_activeHelp 295s 295s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 295s # File extension filtering 295s local fullFilter filter filteringCmd 295s 295s # Do not use quotes around the $completions variable or else newline 295s # characters will be kept. 295s for filter in ${completions[*]}; do 295s fullFilter+="$filter|" 295s done 295s 295s filteringCmd="_filedir $fullFilter" 295s __adsysd_debug "File filtering command: $filteringCmd" 295s $filteringCmd 295s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 295s # File completion for directories only 295s 295s local subdir 295s subdir=${completions[0]} 295s if [[ -n $subdir ]]; then 295s __adsysd_debug "Listing directories in $subdir" 295s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 295s else 295s __adsysd_debug "Listing directories in ." 295s _filedir -d 295s fi 295s else 295s __adsysd_handle_completion_types 295s fi 295s 295s __adsysd_handle_special_char "$cur" : 295s __adsysd_handle_special_char "$cur" = 295s 295s # Print the activeHelp statements before we finish 295s if ((${#activeHelp[*]} != 0)); then 295s printf "\n"; 295s printf "%s\n" "${activeHelp[@]}" 295s printf "\n" 295s 295s # The prompt format is only available from bash 4.4. 295s # We test if it is available before using it. 295s if (x=${PS1@P}) 2> /dev/null; then 295s printf "%s" "${PS1@P}${COMP_LINE[@]}" 295s else 295s # Can't print the prompt. Just print the 295s # text the user had typed, it is workable enough. 295s printf "%s" "${COMP_LINE[@]}" 295s fi 295s fi 295s } 295s 295s # Separate activeHelp lines from real completions. 295s # Fills the $activeHelp and $completions arrays. 295s __adsysd_extract_activeHelp() { 295s local activeHelpMarker="_activeHelp_ " 295s local endIndex=${#activeHelpMarker} 295s 295s while IFS='' read -r comp; do 295s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 295s comp=${comp:endIndex} 295s __adsysd_debug "ActiveHelp found: $comp" 295s if [[ -n $comp ]]; then 295s activeHelp+=("$comp") 295s fi 295s else 295s # Not an activeHelp line but a normal completion 295s completions+=("$comp") 295s fi 295s done <<<"${out}" 295s } 295s 295s __adsysd_handle_completion_types() { 295s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 295s 295s case $COMP_TYPE in 295s 37|42) 295s # Type: menu-complete/menu-complete-backward and insert-completions 295s # If the user requested inserting one completion at a time, or all 295s # completions at once on the command-line we must remove the descriptions. 295s # https://github.com/spf13/cobra/issues/1508 295s local tab=$'\t' comp 295s while IFS='' read -r comp; do 295s [[ -z $comp ]] && continue 295s # Strip any description 295s comp=${comp%%$tab*} 295s # Only consider the completions that match 295s if [[ $comp == "$cur"* ]]; then 295s COMPREPLY+=("$comp") 295s fi 295s done < <(printf "%s\n" "${completions[@]}") 295s ;; 295s 295s *) 295s # Type: complete (normal completion) 295s __adsysd_handle_standard_completion_case 295s ;; 295s esac 295s } 295s 295s __adsysd_handle_standard_completion_case() { 295s local tab=$'\t' comp 295s 295s # Short circuit to optimize if we don't have descriptions 295s if [[ "${completions[*]}" != *$tab* ]]; then 295s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 295s return 0 295s fi 295s 295s local longest=0 295s local compline 295s # Look for the longest completion so that we can format things nicely 295s while IFS='' read -r compline; do 295s [[ -z $compline ]] && continue 295s # Strip any description before checking the length 295s comp=${compline%%$tab*} 295s # Only consider the completions that match 295s [[ $comp == "$cur"* ]] || continue 295s COMPREPLY+=("$compline") 295s if ((${#comp}>longest)); then 295s longest=${#comp} 295s fi 295s done < <(printf "%s\n" "${completions[@]}") 295s 295s # If there is a single completion left, remove the description text 295s if ((${#COMPREPLY[*]} == 1)); then 295s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 295s comp="${COMPREPLY[0]%%$tab*}" 295s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 295s COMPREPLY[0]=$comp 295s else # Format the descriptions 295s __adsysd_format_comp_descriptions $longest 295s fi 295s } 295s 295s __adsysd_handle_special_char() 295s { 295s local comp="$1" 295s local char=$2 295s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 295s local word=${comp%"${comp##*${char}}"} 295s local idx=${#COMPREPLY[*]} 295s while ((--idx >= 0)); do 295s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 295s done 295s fi 295s } 295s 295s __adsysd_format_comp_descriptions() 295s { 295s local tab=$'\t' 295s local comp desc maxdesclength 295s local longest=$1 295s 295s local i ci 295s for ci in ${!COMPREPLY[*]}; do 295s comp=${COMPREPLY[ci]} 295s # Properly format the description string which follows a tab character if there is one 295s if [[ "$comp" == *$tab* ]]; then 295s __adsysd_debug "Original comp: $comp" 295s desc=${comp#*$tab} 295s comp=${comp%%$tab*} 295s 295s # $COLUMNS stores the current shell width. 295s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 295s maxdesclength=$(( COLUMNS - longest - 4 )) 295s 295s # Make sure we can fit a description of at least 8 characters 295s # if we are to align the descriptions. 295s if ((maxdesclength > 8)); then 295s # Add the proper number of spaces to align the descriptions 295s for ((i = ${#comp} ; i < longest ; i++)); do 295s comp+=" " 295s done 295s else 295s # Don't pad the descriptions so we can fit more text after the completion 295s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 295s fi 295s 295s # If there is enough space for any description text, 295s # truncate the descriptions that are too long for the shell width 295s if ((maxdesclength > 0)); then 295s if ((${#desc} > maxdesclength)); then 295s desc=${desc:0:$(( maxdesclength - 1 ))} 295s desc+="…" 295s fi 295s comp+=" ($desc)" 295s fi 295s COMPREPLY[ci]=$comp 295s __adsysd_debug "Final comp: $comp" 295s fi 295s done 295s } 295s 295s __start_adsysd() 295s { 295s local cur prev words cword split 295s 295s COMPREPLY=() 295s 295s # Call _init_completion from the bash-completion package 295s # to prepare the arguments properly 295s if declare -F _init_completion >/dev/null 2>&1; then 295s _init_completion -n =: || return 295s else 295s __adsysd_init_completion -n =: || return 295s fi 295s 295s __adsysd_debug 295s __adsysd_debug "========= starting completion logic ==========" 295s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 295s 295s # The user could have moved the cursor backwards on the command-line. 295s # We need to trigger completion from the $cword location, so we need 295s # to truncate the command-line ($words) up to the $cword location. 295s words=("${words[@]:0:$cword+1}") 295s __adsysd_debug "Truncated words[*]: ${words[*]}," 295s 295s local out directive 295s __adsysd_get_completion_results 295s __adsysd_process_completion_results 295s } 295s 295s if [[ $(type -t compopt) = "builtin" ]]; then 295s complete -o default -F __start_adsysd adsysd 295s else 295s complete -o default -o nospace -F __start_adsysd adsysd 295s fi 295s 295s # ex: ts=4 sw=4 et filetype=sh 295s --- PASS: TestAppCompletion (0.01s) 295s # bash completion V2 for adsysd -*- shell-script -*- 295s 295s __adsysd_debug() 295s { 295s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 295s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 295s fi 295s } 295s 295s # Macs have bash3 for which the bash-completion package doesn't include 295s # _init_completion. This is a minimal version of that function. 295s __adsysd_init_completion() 295s { 295s COMPREPLY=() 295s _get_comp_words_by_ref "$@" cur prev words cword 295s } 295s 295s # This function calls the adsysd program to obtain the completion 295s # results and the directive. It fills the 'out' and 'directive' vars. 295s __adsysd_get_completion_results() { 295s local requestComp lastParam lastChar args 295s 295s # Prepare the command to request completions for the program. 295s # Calling ${words[0]} instead of directly adsysd allows handling aliases 295s args=("${words[@]:1}") 295s requestComp="${words[0]} __complete ${args[*]}" 295s 295s lastParam=${words[$((${#words[@]}-1))]} 295s lastChar=${lastParam:$((${#lastParam}-1)):1} 295s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 295s 295s if [[ -z ${cur} && ${lastChar} != = ]]; then 295s # If the last parameter is complete (there is a space following it) 295s # We add an extra empty parameter so we can indicate this to the go method. 295s __adsysd_debug "Adding extra empty parameter" 295s requestComp="${requestComp} ''" 295s fi 295s 295s # When completing a flag with an = (e.g., adsysd -n=) 295s # bash focuses on the part after the =, so we need to remove 295s # the flag part from $cur 295s if [[ ${cur} == -*=* ]]; then 295s cur="${cur#*=}" 295s fi 295s 295s __adsysd_debug "Calling ${requestComp}" 295s # Use eval to handle any environment variables and such 295s out=$(eval "${requestComp}" 2>/dev/null) 295s 295s # Extract the directive integer at the very end of the output following a colon (:) 295s directive=${out##*:} 295s # Remove the directive 295s out=${out%:*} 295s if [[ ${directive} == "${out}" ]]; then 295s # There is not directive specified 295s directive=0 295s fi 295s __adsysd_debug "The completion directive is: ${directive}" 295s __adsysd_debug "The completions are: ${out}" 295s } 295s 295s __adsysd_process_completion_results() { 295s local shellCompDirectiveError=1 295s local shellCompDirectiveNoSpace=2 295s local shellCompDirectiveNoFileComp=4 295s local shellCompDirectiveFilterFileExt=8 295s local shellCompDirectiveFilterDirs=16 295s local shellCompDirectiveKeepOrder=32 295s 295s if (((directive & shellCompDirectiveError) != 0)); then 295s # Error code. No completion. 295s __adsysd_debug "Received error from custom completion go code" 295s return 295s else 295s if (((directive & shellCompDirectiveNoSpace) != 0)); then 295s if [[ $(type -t compopt) == builtin ]]; then 295s __adsysd_debug "Activating no space" 295s compopt -o nospace 295s else 295s __adsysd_debug "No space directive not supported in this version of bash" 295s fi 295s fi 295s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 295s if [[ $(type -t compopt) == builtin ]]; then 295s # no sort isn't supported for bash less than < 4.4 295s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 295s __adsysd_debug "No sort directive not supported in this version of bash" 295s else 295s __adsysd_debug "Activating keep order" 295s compopt -o nosort 295s fi 295s else 295s __adsysd_debug "No sort directive not supported in this version of bash" 295s fi 295s fi 295s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 295s if [[ $(type -t compopt) == builtin ]]; then 295s __adsysd_debug "Activating no file completion" 295s compopt +o default 295s else 295s __adsysd_debug "No file completion directive not supported in this version of bash" 295s fi 295s fi 295s fi 295s 295s # Separate activeHelp from normal completions 295s local completions=() 295s local activeHelp=() 295s __adsysd_extract_activeHelp 295s 295s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 295s # File extension filtering 295s local fullFilter filter filteringCmd 295s 295s # Do not use quotes around the $completions variable or else newline 295s # characters will be kept. 295s for filter in ${completions[*]}; do 295s fullFilter+="$filter|" 295s done 295s 295s filteringCmd="_filedir $fullFilter" 295s __adsysd_debug "File filtering command: $filteringCmd" 295s $filteringCmd 295s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 295s # File completion for directories only 295s 295s local subdir 295s subdir=${completions[0]} 295s if [[ -n $subdir ]]; then 295s __adsysd_debug "Listing directories in $subdir" 295s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 295s else 295s __adsysd_debug "Listing directories in ." 295s _filedir -d 295s fi 295s else 295s __adsysd_handle_completion_types 295s fi 295s 295s __adsysd_handle_special_char "$cur" : 295s __adsysd_handle_special_char "$cur" = 295s 295s # Print the activeHelp statements before we finish 295s if ((${#activeHelp[*]} != 0)); then 295s printf "\n"; 295s printf "%s\n" "${activeHelp[@]}" 295s printf "\n" 295s 295s # The prompt format is only available from bash 4.4. 295s # We test if it is available before using it. 295s if (x=${PS1@P}) 2> /dev/null; then 295s printf "%s" "${PS1@P}${COMP_LINE[@]}" 295s else 295s # Can't print the prompt. Just print the 295s # text the user had typed, it is workable enough. 295s printf "%s" "${COMP_LINE[@]}" 295s fi 295s fi 295s } 295s 295s # Separate activeHelp lines from real completions. 295s # Fills the $activeHelp and $completions arrays. 295s __adsysd_extract_activeHelp() { 295s local activeHelpMarker="_activeHelp_ " 295s local endIndex=${#activeHelpMarker} 295s 295s while IFS='' read -r comp; do 295s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 295s comp=${comp:endIndex} 295s __adsysd_debug "ActiveHelp found: $comp" 295s if [[ -n $comp ]]; then 295s activeHelp+=("$comp") 295s fi 295s else 295s # Not an activeHelp line but a normal completion 295s completions+=("$comp") 295s fi 295s done <<<"${out}" 295s } 295s 295s __adsysd_handle_completion_types() { 295s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 295s 295s case $COMP_TYPE in 295s 37|42) 295s # Type: menu-complete/menu-complete-backward and insert-completions 295s # If the user requested inserting one completion at a time, or all 295s # completions at once on the command-line we must remove the descriptions. 295s # https://github.com/spf13/cobra/issues/1508 295s local tab=$'\t' comp 295s while IFS='' read -r comp; do 295s [[ -z $comp ]] && continue 295s # Strip any description 295s comp=${comp%%$tab*} 295s # Only consider the completions that match 295s if [[ $comp == "$cur"* ]]; then 295s COMPREPLY+=("$comp") 295s fi 295s done < <(printf "%s\n" "${completions[@]}") 295s ;; 295s 295s *) 295s # Type: complete (normal completion) 295s __adsysd_handle_standard_completion_case 295s ;; 295s esac 295s } 295s 295s __adsysd_handle_standard_completion_case() { 295s local tab=$'\t' comp 295s 295s # Short circuit to optimize if we don't have descriptions 295s if [[ "${completions[*]}" != *$tab* ]]; then 295s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 295s return 0 295s fi 295s 295s local longest=0 295s local compline 295s # Look for the longest completion so that we can format things nicely 295s while IFS='' read -r compline; do 295s [[ -z $compline ]] && continue 295s # Strip any description before checking the length 295s comp=${compline%%$tab*} 295s # Only consider the completions that match 295s [[ $comp == "$cur"* ]] || continue 295s COMPREPLY+=("$compline") 295s if ((${#comp}>longest)); then 295s longest=${#comp} 295s fi 295s done < <(printf "%s\n" "${completions[@]}") 295s 295s # If there is a single completion left, remove the description text 295s if ((${#COMPREPLY[*]} == 1)); then 295s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 295s comp="${COMPREPLY[0]%%$tab*}" 295s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 295s COMPREPLY[0]=$comp 295s else # Format the descriptions 295s __adsysd_format_comp_descriptions $longest 295s fi 295s } 295s 295s __adsysd_handle_special_char() 295s { 295s local comp="$1" 295s local char=$2 295s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 295s local word=${comp%"${comp##*${char}}"} 295s local idx=${#COMPREPLY[*]} 295s while ((--idx >= 0)); do 295s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 295s done 295s fi 295s } 295s 295s __adsysd_format_comp_descriptions() 295s { 295s local tab=$'\t' 295s local comp desc maxdesclength 295s local longest=$1 295s 295s local i ci 295s for ci in ${!COMPREPLY[*]}; do 295s comp=${COMPREPLY[ci]} 295s # Properly format the description string which follows a tab character if there is one 295s if [[ "$comp" == *$tab* ]]; then 295s __adsysd_debug "Original comp: $comp" 295s desc=${comp#*$tab} 295s comp=${comp%%$tab*} 295s 295s # $COLUMNS stores the current shell width. 295s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 295s maxdesclength=$(( COLUMNS - longest - 4 )) 295s 295s # Make sure we can fit a description of at least 8 characters 295s # if we are to align the descriptions. 295s if ((maxdesclength > 8)); then 295s # Add the proper number of spaces to align the descriptions 295s for ((i = ${#comp} ; i < longest ; i++)); do 295s comp+=" " 295s done 295s else 295s # Don't pad the descriptions so we can fit more text after the completion 295s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 295s fi 295s 295s # If there is enough space for any description text, 295s # truncate the descriptions that are too long for the shell width 295s if ((maxdesclength > 0)); then 295s if ((${#desc} > maxdesclength)); then 295s desc=${desc:0:$(( maxdesclength - 1 ))} 295s desc+="…" 295s fi 295s comp+=" ($desc)" 295s fi 295s COMPREPLY[ci]=$comp 295s __adsysd_debug "Final comp: $comp" 295s fi 295s done 295s } 295s 295s __start_adsysd() 295s { 295s local cur prev words cword split 295s 295s COMPREPLY=() 295s 295s # Call _init_completion from the bash-completion package 295s # to prepare the arguments properly 295s if declare -F _init_completion >/dev/null 2>&1; then 295s _init_completion -n =: || return 295s else 295s __adsysd_init_completion -n =: || return 295s fi 295s 295s __adsysd_debug 295s __adsysd_debug "========= starting completion logic ==========" 295s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 295s 295s # The user could have moved the cursor backwards on the command-line. 295s # We need to trigger completion from the $cword location, so we need 295s # to truncate the command-line ($words) up to the $cword location. 295s words=("${words[@]:0:$cword+1}") 295s __adsysd_debug "Truncated words[*]: ${words[*]}," 295s 295s local out directive 295s __adsysd_get_completion_results 295s __adsysd_process_completion_results 295s } 295s 295s if [[ $(type -t compopt) = "builtin" ]]; then 295s complete -o default -F __start_adsysd adsysd 295s else 295s complete -o default -o nospace -F __start_adsysd adsysd 295s fi 295s 295s # ex: ts=4 sw=4 et filetype=sh 295s --- PASS: TestAppNoUsageError (0.01s) 295s Active Directory integration bridging toolset daemon. 295s 295s Usage: 295s adsysd COMMAND [flags] 295s adsysd [command] 295s 295s Available Commands: 295s completion Generate the autocompletion script for the specified shell 295s help Help about any command 295s version Returns version of service and exits 295s 295s Flags: 295s --ad-backend string Active Directory authentication backend (default "sssd") 295s --cache-dir string directory where ADSys caches GPOs downloads and policies. (default "/var/cache/adsys") 295s -c, --config string use a specific configuration file 295s -h, --help help for adsysd 295s --run-dir string directory where ADSys stores transient information erased on reboot. (default "/run/adsys") 295s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 295s --sssd.cache-dir string SSSd cache directory (default "/var/lib/sss/db") 295s --sssd.config string SSSd config file path (default "/etc/sssd/sssd.conf") 295s -t, --timeout int time in seconds without activity before the service exists. 0 for no timeout. (default 120) 295s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 295s 295s Use "adsysd [command] --help" for more information about a command. 295s --- PASS: TestAppHelp (0.01s) 295s PASS 295s ok github.com/ubuntu/adsys/cmd/adsysd/daemon 3.507s 298s ? github.com/ubuntu/adsys/cmd/adwatchd [no test files] 298s ? github.com/ubuntu/adsys/cmd/adwatchd/commands [no test files] 298s ? github.com/ubuntu/adsys/docs [no test files] 298s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/00_check_vm_image [no test files] 298s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/01_prepare_base_vm [no test files] 298s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/02_create_vm_template [no test files] 298s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/00_build_adsys_deb [no test files] 298s Integration tests skipped as requested 298s ok github.com/ubuntu/adsys/cmd/adsysd/integration_tests 0.103s 298s Test has to be run as root, skipping... 298s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 0.039s 298s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/01_provision_client [no test files] 298s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/02_provision_ad [no test files] 298s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/03_test_non_pro_managers [no test files] 298s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/04_test_pro_managers [no test files] 298s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/05_test_pam_krb5cc [no test files] 298s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/99_deprovision [no test files] 298s ? github.com/ubuntu/adsys/e2e/internal/az [no test files] 299s ? github.com/ubuntu/adsys/e2e/internal/inventory [no test files] 299s ? github.com/ubuntu/adsys/e2e/internal/remote [no test files] 299s ? github.com/ubuntu/adsys/e2e/scripts [no test files] 299s === RUN TestAddFlags 299s --- PASS: TestAddFlags (0.00s) 299s === RUN TestInventory 299s === RUN TestInventory/From_existing_state_requires_existing_data 299s === RUN TestInventory/To_null_state_doesn't_write_data 299s === RUN TestInventory/Multiple_from_states_requires_at_least_one 299s === RUN TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist 299s time="2024-11-29T20:36:05Z" level=error msg="Failed to read inventory file required by the current script: failed to read inventory file: open /tmp/TestInventoryError_if_inventory_file_is_required_and_doesnt_exist1461227229/001/inventory/inventory.yaml: no such file or directory. Please refer to the previous script in the series" 299s === RUN TestInventory/Error_if_inventory_state_does_not_match_expected_state 299s time="2024-11-29T20:36:05Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 299s === RUN TestInventory/Error_if_inventory_state_does_not_match_any_expected_state 299s time="2024-11-29T20:36:05Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 299s === RUN TestInventory/From_null_state_doesn't_require_existing_data 299s --- PASS: TestInventory (0.02s) 299s --- PASS: TestInventory/From_existing_state_requires_existing_data (0.00s) 299s --- PASS: TestInventory/To_null_state_doesn't_write_data (0.01s) 299s --- PASS: TestInventory/Multiple_from_states_requires_at_least_one (0.01s) 299s --- PASS: TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist (0.00s) 299s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_expected_state (0.00s) 299s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_any_expected_state (0.00s) 299s --- PASS: TestInventory/From_null_state_doesn't_require_existing_data (0.00s) 299s === RUN TestExecute 299s === RUN TestExecute/Error_when_both_action_and_validation_fail 299s time="2024-11-29T20:36:05Z" level=error msg="requested error" 299s === RUN TestExecute/Action_succeeds 299s === RUN TestExecute/Action_and_validation_succeed 299s === RUN TestExecute/Error_when_action_fails 299s time="2024-11-29T20:36:05Z" level=error msg="requested error" 299s === RUN TestExecute/Error_when_validation_fails 299s time="2024-11-29T20:36:05Z" level=error msg="requested error" 299s --- PASS: TestExecute (0.01s) 299s --- PASS: TestExecute/Error_when_both_action_and_validation_fail (0.00s) 299s --- PASS: TestExecute/Action_succeeds (0.00s) 299s --- PASS: TestExecute/Action_and_validation_succeed (0.00s) 299s --- PASS: TestExecute/Error_when_action_fails (0.00s) 299s --- PASS: TestExecute/Error_when_validation_fails (0.00s) 299s PASS 299s ok github.com/ubuntu/adsys/e2e/internal/command 0.048s 301s ? github.com/ubuntu/adsys/internal/ad/admxgen/common [no test files] 301s ? github.com/ubuntu/adsys/internal/ad/backends [no test files] 301s ? github.com/ubuntu/adsys/internal/ad/backends/mock [no test files] 304s ? github.com/ubuntu/adsys/internal/adsysservice/actions [no test files] 304s ? github.com/ubuntu/adsys/internal/cmdhandler [no test files] 304s ? github.com/ubuntu/adsys/internal/consts [no test files] 307s ? github.com/ubuntu/adsys/internal/grpc/logstreamer/test [no test files] 309s ? github.com/ubuntu/adsys/internal/policies/entry [no test files] 314s ? github.com/ubuntu/adsys/internal/testutils [no test files] 314s ? github.com/ubuntu/adsys/internal/watchdservice [no test files] 315s === RUN TestFetch 315s === PAUSE TestFetch 315s === RUN TestFetchWithUnreadableFile 315s === PAUSE TestFetchWithUnreadableFile 315s === RUN TestFetchTweakSysvolCacheDir 315s === PAUSE TestFetchTweakSysvolCacheDir 315s === RUN TestFetchOneGPOWhileParsingItConcurrently 315s === PAUSE TestFetchOneGPOWhileParsingItConcurrently 315s === RUN TestParseGPOConcurrent 315s === PAUSE TestParseGPOConcurrent 315s === RUN TestNew 315s === PAUSE TestNew 315s === RUN TestGetPolicies 315s === PAUSE TestGetPolicies 315s === RUN TestGetPoliciesOffline 315s === PAUSE TestGetPoliciesOffline 315s === RUN TestGetPoliciesWorkflows 315s === PAUSE TestGetPoliciesWorkflows 315s === RUN TestGetPoliciesConcurrently 315s === PAUSE TestGetPoliciesConcurrently 315s === RUN TestListUsers 315s === PAUSE TestListUsers 315s === RUN TestGetInfo 315s === PAUSE TestGetInfo 315s === RUN TestNormalizeTargetName 315s === PAUSE TestNormalizeTargetName 315s === RUN TestMockGPOList 315s --- PASS: TestMockGPOList (0.00s) 315s === RUN TestAdsysGPOList 315s === RUN TestAdsysGPOList/Security_descriptor_missing_ignores_GPO 315s === RUN TestAdsysGPOList/Fail_on_security_descriptor_access_failure 315s === RUN TestAdsysGPOList/Error_on_non_existent_account 315s === RUN TestAdsysGPOList/Return_hierarchy 315s === RUN TestAdsysGPOList/Block_inheritance 315s === RUN TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing 315s === RUN TestAdsysGPOList/Error_on_invalid_ticket 315s === RUN TestAdsysGPOList/Disabled_GPOs 315s === RUN TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order 315s === RUN TestAdsysGPOList/Forced_GPO_and_blocked_inheritance 315s === RUN TestAdsysGPOList/No_gPOptions_fallbacks_to_0 315s === RUN TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings 315s === RUN TestAdsysGPOList/Error_on_ldap_connection_refused 315s === RUN TestAdsysGPOList/Error_invalid_GPO_link 315s === RUN TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user 315s === RUN TestAdsysGPOList/Error_on_machine_with_no_ldap 315s === RUN TestAdsysGPOList/Return_one_gpo 315s === RUN TestAdsysGPOList/Multiple_GPOs_in_same_OU 315s === RUN TestAdsysGPOList/No_GPO_on_OU_-_string 315s === RUN TestAdsysGPOList/Long_computer_name,_not_truncated 315s === RUN TestAdsysGPOList/Error_on_no_network 315s === RUN TestAdsysGPOList/Error_on_unreachable_ldap_host 315s === RUN TestAdsysGPOList/Error_on_dangling_ticket_symlink 315s === RUN TestAdsysGPOList/Machine_GPOs 315s === RUN TestAdsysGPOList/No_GPO_on_OU_-_bytes 315s === RUN TestAdsysGPOList/Filter_user_only_GPOs 315s === RUN TestAdsysGPOList/Filter_machine_only_GPOs 315s === RUN TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO 315s === RUN TestAdsysGPOList/Computers_truncated_at_15_characters 315s === RUN TestAdsysGPOList/Error_on_computer_requested_but_found_user 315s === RUN TestAdsysGPOList/Error_on_user_requested_but_found_machine 315s === RUN TestAdsysGPOList/Error_on_KRB5CCNAME_unset 315s --- PASS: TestAdsysGPOList (1.84s) 315s --- PASS: TestAdsysGPOList/Security_descriptor_missing_ignores_GPO (0.08s) 315s --- PASS: TestAdsysGPOList/Fail_on_security_descriptor_access_failure (0.07s) 315s --- PASS: TestAdsysGPOList/Error_on_non_existent_account (0.07s) 315s --- PASS: TestAdsysGPOList/Return_hierarchy (0.05s) 315s --- PASS: TestAdsysGPOList/Block_inheritance (0.06s) 315s --- PASS: TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing (0.06s) 315s --- PASS: TestAdsysGPOList/Error_on_invalid_ticket (0.09s) 315s --- PASS: TestAdsysGPOList/Disabled_GPOs (0.05s) 315s --- PASS: TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order (0.05s) 315s --- PASS: TestAdsysGPOList/Forced_GPO_and_blocked_inheritance (0.05s) 315s --- PASS: TestAdsysGPOList/No_gPOptions_fallbacks_to_0 (0.06s) 315s --- PASS: TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings (0.10s) 315s --- PASS: TestAdsysGPOList/Error_on_ldap_connection_refused (0.06s) 315s --- PASS: TestAdsysGPOList/Error_invalid_GPO_link (0.05s) 315s --- PASS: TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user (0.06s) 315s --- PASS: TestAdsysGPOList/Error_on_machine_with_no_ldap (0.08s) 315s --- PASS: TestAdsysGPOList/Return_one_gpo (0.08s) 315s --- PASS: TestAdsysGPOList/Multiple_GPOs_in_same_OU (0.06s) 315s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_string (0.06s) 315s --- PASS: TestAdsysGPOList/Long_computer_name,_not_truncated (0.05s) 315s --- PASS: TestAdsysGPOList/Error_on_no_network (0.05s) 315s --- PASS: TestAdsysGPOList/Error_on_unreachable_ldap_host (0.05s) 315s --- PASS: TestAdsysGPOList/Error_on_dangling_ticket_symlink (0.05s) 315s --- PASS: TestAdsysGPOList/Machine_GPOs (0.05s) 315s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_bytes (0.05s) 315s --- PASS: TestAdsysGPOList/Filter_user_only_GPOs (0.05s) 315s --- PASS: TestAdsysGPOList/Filter_machine_only_GPOs (0.05s) 315s --- PASS: TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO (0.04s) 315s --- PASS: TestAdsysGPOList/Computers_truncated_at_15_characters (0.05s) 315s --- PASS: TestAdsysGPOList/Error_on_computer_requested_but_found_user (0.05s) 315s --- PASS: TestAdsysGPOList/Error_on_user_requested_but_found_machine (0.05s) 315s --- PASS: TestAdsysGPOList/Error_on_KRB5CCNAME_unset (0.05s) 315s === RUN TestGetPolicyDefinitions 315s === PAUSE TestGetPolicyDefinitions 315s === RUN TestTicketPath 315s krb5_test.go:23: Running subprocess with [/tmp/go-build3164681574/b546/ad.test -test.testlogfile=/tmp/go-build3164681574/b546/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestTicketPath] 315s === RUN TestTicketPath 315s === RUN TestTicketPath/Error_when_ccache_is_a_directory 315s === RUN TestTicketPath/Error_when_initializing_context 315s === RUN TestTicketPath/Error_on_empty_ticket_path 315s === RUN TestTicketPath/Error_on_NULL_ticket_path 315s === RUN TestTicketPath/Error_on_non-FILE_ccache 315s === RUN TestTicketPath/Lookup_is_successful 315s === RUN TestTicketPath/Allow_ccache_without_FILE_identifier 315s === RUN TestTicketPath/Error_when_ccache_not_present_on_disk 315s --- PASS: TestTicketPath (0.00s) 315s --- PASS: TestTicketPath/Error_when_ccache_is_a_directory (0.00s) 315s --- PASS: TestTicketPath/Error_when_initializing_context (0.00s) 315s --- PASS: TestTicketPath/Error_on_empty_ticket_path (0.00s) 315s --- PASS: TestTicketPath/Error_on_NULL_ticket_path (0.00s) 315s --- PASS: TestTicketPath/Error_on_non-FILE_ccache (0.00s) 315s --- PASS: TestTicketPath/Lookup_is_successful (0.00s) 315s --- PASS: TestTicketPath/Allow_ccache_without_FILE_identifier (0.00s) 315s --- PASS: TestTicketPath/Error_when_ccache_not_present_on_disk (0.00s) 315s PASS 315s --- PASS: TestTicketPath (0.62s) 315s === CONT TestFetch 315s === CONT TestGetPoliciesOffline 315s === RUN TestFetch/assets_are_not_updated_if_version_matches 315s === CONT TestGetInfo 315s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 315s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 315s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 315s === CONT TestGetPolicyDefinitions 315s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 315s === CONT TestGetPoliciesConcurrently 315s === RUN TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 315s === PAUSE TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 315s === RUN TestGetPoliciesConcurrently/Same_user,_same_GPO 315s === PAUSE TestGetPoliciesConcurrently/Same_user,_same_GPO 315s === RUN TestGetPoliciesConcurrently/Different_users,_same_GPO 315s === PAUSE TestGetPoliciesConcurrently/Different_users,_same_GPO 315s === RUN TestGetPoliciesConcurrently/Different_users,_different_GPO 315s === PAUSE TestGetPoliciesConcurrently/Different_users,_different_GPO 315s === RUN TestGetPoliciesConcurrently/One_machine,_one_user 315s === PAUSE TestGetPoliciesConcurrently/One_machine,_one_user 315s === CONT TestGetPolicies 315s === RUN TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 315s === PAUSE TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 315s === RUN TestGetPolicies/Corrupted_policy_file 315s === PAUSE TestGetPolicies/Corrupted_policy_file 315s === RUN TestGetPolicies/Policy_machine_directory_is_uppercase 315s === PAUSE TestGetPolicies/Policy_machine_directory_is_uppercase 315s === RUN TestGetPolicies/Unexisting_CC_original_file_for_user 315s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_user 315s === RUN TestGetPolicies/Error_on_user_without_@_in_name 315s === PAUSE TestGetPolicies/Error_on_user_without_@_in_name 315s === RUN TestGetPolicies/Standard_policy,_user_object 315s === PAUSE TestGetPolicies/Standard_policy,_user_object 315s === RUN TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 315s === PAUSE TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 315s === RUN TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 315s === PAUSE TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 315s === RUN TestGetPolicies/More_policies,_with_multiple_overrides 315s === PAUSE TestGetPolicies/More_policies,_with_multiple_overrides 315s === RUN TestGetPolicies/Filter_non_Ubuntu_keys 315s === PAUSE TestGetPolicies/Filter_non_Ubuntu_keys 315s === RUN TestGetPolicies/Symlinks_can’t_be_created 315s === PAUSE TestGetPolicies/Symlinks_can’t_be_created 315s === RUN TestGetPolicies/Unsupported_type_for_unfiltered_entry 315s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 315s === RUN TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 315s === PAUSE TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 315s === PAUSE TestFetch/assets_are_not_updated_if_version_matches 315s === CONT TestListUsers 315s === CONT TestGetPoliciesWorkflows 315s === CONT TestParseGPOConcurrent 315s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 315s === PAUSE TestGetPolicies/Unsupported_type_for_unfiltered_entry 315s === RUN TestFetch/gpo_is_refreshed 315s === RUN TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 315s === PAUSE TestFetch/gpo_is_refreshed 315s === RUN TestGetPolicies/Standard_policy_with_assets,_downloads_assets 315s === PAUSE TestGetPolicies/Standard_policy_with_assets,_downloads_assets 315s === PAUSE TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 315s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 315s === RUN TestGetInfo/Info_reported_from_backend,_online 315s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 315s === RUN TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 315s === RUN TestListUsers/Error_on_policy_cache_directory_not_existing 315s === PAUSE TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 315s === RUN TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 315s === RUN TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 315s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 315s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 315s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 315s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 315s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 315s === RUN TestGetPoliciesWorkflows/Second_call_after_service_restarted 315s === PAUSE TestGetPoliciesWorkflows/Second_call_after_service_restarted 315s === RUN TestGetPoliciesWorkflows/Second_call_with_different_user 315s === PAUSE TestGetInfo/Info_reported_from_backend,_online 315s === PAUSE TestGetPoliciesWorkflows/Second_call_with_different_user 315s === RUN TestGetInfo/Info_reported_from_backend,_offline 315s === RUN TestGetPoliciesWorkflows/Second_call_after_a_relogin 315s === PAUSE TestGetInfo/Info_reported_from_backend,_offline 315s === PAUSE TestListUsers/Error_on_policy_cache_directory_not_existing 315s === RUN TestListUsers/None 315s === PAUSE TestGetPoliciesWorkflows/Second_call_after_a_relogin 315s === PAUSE TestListUsers/None 315s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 315s === RUN TestListUsers/Machine_Only,_from_policy_cache 315s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 315s === CONT TestNew 315s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 315s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 315s === RUN TestGetPoliciesOffline/Error_offline_with_no_cache 315s === PAUSE TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 315s === PAUSE TestGetPoliciesOffline/Error_offline_with_no_cache 315s === RUN TestNew/create_KRB5_and_Sysvol_cache_directory 315s === RUN TestFetch/concurrent_different_gpos 315s === PAUSE TestNew/create_KRB5_and_Sysvol_cache_directory 315s === RUN TestNew/failed_to_create_KRB5_cache_directory 315s === PAUSE TestFetch/concurrent_different_gpos 315s === PAUSE TestNew/failed_to_create_KRB5_cache_directory 315s === CONT TestFetchTweakSysvolCacheDir 315s === RUN TestFetch/concurrent_same_gpos 315s === PAUSE TestFetch/concurrent_same_gpos 315s === RUN TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 315s === RUN TestFetch/remote_version_entry_missing_treated_as_0 315s === PAUSE TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 315s === PAUSE TestFetch/remote_version_entry_missing_treated_as_0 315s === RUN TestGetPoliciesOffline/Offline,_with_assets 315s === RUN TestFetch/Error_remote_version_NaN 315s === PAUSE TestGetPoliciesOffline/Offline,_with_assets 315s === PAUSE TestFetch/Error_remote_version_NaN 315s === RUN TestNew/failed_to_create_Sysvol_cache_directory 315s === RUN TestFetch/assets_is_a_file_is_not_downloaded 315s === PAUSE TestFetch/assets_is_a_file_is_not_downloaded 315s === RUN TestFetch/assets_are_updated_to_latest_version 315s === PAUSE TestFetch/assets_are_updated_to_latest_version 315s === PAUSE TestNew/failed_to_create_Sysvol_cache_directory 315s === RUN TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 315s === RUN TestNew/failed_to_create_Policies_cache_directory 315s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 315s === PAUSE TestNew/failed_to_create_Policies_cache_directory 315s === RUN TestFetch/two_gpos,_one_should_be_refreshed,_one_new 315s === RUN TestNew/no_active_server_in_backend_does_not_fail_ad_creation 315s === PAUSE TestFetch/two_gpos,_one_should_be_refreshed,_one_new 315s === PAUSE TestNew/no_active_server_in_backend_does_not_fail_ad_creation 315s === RUN TestFetch/assets_only_are_downloaded 315s === RUN TestNew/error_on_backend_ServerFQDN_random_failure 315s === PAUSE TestFetch/assets_only_are_downloaded 315s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 315s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 315s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 315s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 315s === RUN TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 315s === PAUSE TestNew/error_on_backend_ServerFQDN_random_failure 315s === CONT TestFetchOneGPOWhileParsingItConcurrently 315s === PAUSE TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 315s === RUN TestFetch/Error_missing_remote_GPT.INI 315s === PAUSE TestFetch/Error_missing_remote_GPT.INI 315s === RUN TestFetch/Error_keeps_downloading_other_GPOS 315s === PAUSE TestFetch/Error_keeps_downloading_other_GPOS 315s === RUN TestFetch/two_new_gpos 315s === PAUSE TestFetch/two_new_gpos 315s === RUN TestFetch/Error_unexistant_remote_gpo 315s === PAUSE TestFetch/Error_unexistant_remote_gpo 315s === RUN TestFetch/two_gpos,_one_more_recent,_one_up_to_date 315s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_up_to_date 315s === RUN TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 315s === PAUSE TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 315s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_new 315s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_new 315s === RUN TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 315s === PAUSE TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 315s === PAUSE TestListUsers/Machine_Only,_from_policy_cache 315s === RUN TestListUsers/Two_users,_dangling_symlink_for_one 315s === PAUSE TestListUsers/Two_users,_dangling_symlink_for_one 315s === RUN TestListUsers/Machines_are_ignored 315s === PAUSE TestListUsers/Machines_are_ignored 315s === RUN TestListUsers/Two_users,_from_policy_cache 315s === PAUSE TestListUsers/Two_users,_from_policy_cache 315s === RUN TestListUsers/None,_from_policy_cache 315s === PAUSE TestListUsers/None,_from_policy_cache 315s === RUN TestListUsers/Machines_are_ignored,_from_policy_cache 315s === PAUSE TestListUsers/Machines_are_ignored,_from_policy_cache 315s === RUN TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 315s === PAUSE TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 315s === RUN TestListUsers/Error_on_Krb5_directory_not_existing 315s === PAUSE TestListUsers/Error_on_Krb5_directory_not_existing 315s === CONT TestFetchWithUnreadableFile 315s === RUN TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 315s === RUN TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 315s === PAUSE TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 315s === PAUSE TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 315s === RUN TestListUsers/Machine_Only 315s === RUN TestGetPolicies/Enabled_override 315s === PAUSE TestGetPolicies/Enabled_override 315s === PAUSE TestListUsers/Machine_Only 315s === RUN TestFetchWithUnreadableFile/existing_gpo_is_preserved 315s === PAUSE TestFetchWithUnreadableFile/existing_gpo_is_preserved 315s === CONT TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 315s === CONT TestNormalizeTargetName 315s === RUN TestListUsers/One_user 315s === PAUSE TestListUsers/One_user 315s === RUN TestListUsers/Two_users 315s === PAUSE TestListUsers/Two_users 315s === RUN TestListUsers/One_user,_from_policy_cache 315s === RUN TestGetPolicies/Two_policies,_with_overrides 315s === RUN TestNormalizeTargetName/One_user_without_explicit_domain_suffix 315s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 315s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 315s === PAUSE TestNormalizeTargetName/One_user_without_explicit_domain_suffix 315s === PAUSE TestGetPolicies/Two_policies,_with_overrides 315s === RUN TestFetch/one_new_gpo 315s === PAUSE TestListUsers/One_user,_from_policy_cache 315s === PAUSE TestFetch/one_new_gpo 315s === CONT TestGetPoliciesConcurrently/Different_users,_different_GPO 315s === RUN TestFetch/gpo_already_up_to_date 315s === PAUSE TestFetch/gpo_already_up_to_date 315s === RUN TestFetch/local_gpo_is_more_recent_than_AD_one 315s === PAUSE TestFetch/local_gpo_is_more_recent_than_AD_one 315s === RUN TestFetch/keep_existing_gpos_intact 315s === PAUSE TestFetch/keep_existing_gpos_intact 315s === RUN TestGetPolicyDefinitions/Load_ADMX_and_ADML 315s === RUN TestGetPolicies/Two_policies,_no_overrides 315s === PAUSE TestGetPolicies/Two_policies,_no_overrides 315s === RUN TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 315s === PAUSE TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 315s === RUN TestNormalizeTargetName/Computer_is_left_as_such 315s === RUN TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 315s === PAUSE TestNormalizeTargetName/Computer_is_left_as_such 315s === RUN TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 315s === PAUSE TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 315s === RUN TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 315s === PAUSE TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 315s === RUN TestNormalizeTargetName/Computer_name_without_objectClass 315s === PAUSE TestNormalizeTargetName/Computer_name_without_objectClass 315s === RUN TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 315s === PAUSE TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 315s === RUN TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 315s === PAUSE TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 315s === RUN TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 315s === PAUSE TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 315s === RUN TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 315s === PAUSE TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 315s === RUN TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 315s === PAUSE TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 315s === RUN TestFetch/gpos_and_assets 315s === PAUSE TestFetch/gpos_and_assets 315s === RUN TestFetch/two_gpos,_one_more_recent,_one_new 315s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_new 315s === PAUSE TestGetPolicyDefinitions/Load_ADMX_and_ADML 315s === CONT TestGetPoliciesConcurrently/One_machine,_one_user 315s === CONT TestGetPoliciesConcurrently/Different_users,_same_GPO 315s === PAUSE TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 315s === RUN TestGetPolicies/Policy_user_directory_is_uppercase 315s === PAUSE TestGetPolicies/Policy_user_directory_is_uppercase 315s === RUN TestGetPolicies/Machine_doesn’t_match 315s === PAUSE TestGetPolicies/Machine_doesn’t_match 315s === RUN TestGetPolicies/User_only_policy,_user_object 315s === PAUSE TestGetPolicies/User_only_policy,_user_object 315s === RUN TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 315s === PAUSE TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 315s === RUN TestGetPolicies/Multiple_domains,_same_GPO 315s === PAUSE TestGetPolicies/Multiple_domains,_same_GPO 315s === RUN TestGetPolicies/Two_policies,_with_reversed_overrides 315s === PAUSE TestGetPolicies/Two_policies,_with_reversed_overrides 315s === RUN TestGetPolicies/Disabled_value_is_overridden 315s === PAUSE TestGetPolicies/Disabled_value_is_overridden 315s === RUN TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 315s === PAUSE TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 315s === RUN TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 315s === PAUSE TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 315s === RUN TestGetPolicies/Empty_value_for_unfiltered_entry 315s === PAUSE TestGetPolicies/Empty_value_for_unfiltered_entry 315s === RUN TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 315s === PAUSE TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 315s === RUN TestGetPolicies/Error_on_backend_IsOnline_call_failed 315s === PAUSE TestGetPolicies/Error_on_backend_IsOnline_call_failed 315s === RUN TestGetPolicies/Disabled_override 315s === PAUSE TestGetPolicies/Disabled_override 315s === RUN TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 315s === PAUSE TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 315s === RUN TestGetPolicies/No_override_for_this_release,_takes_default_value 315s === PAUSE TestGetPolicies/No_override_for_this_release,_takes_default_value 315s === RUN TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 315s === PAUSE TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 315s === RUN TestGetPolicies/Unexisting_CC_original_file_for_machine 315s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_machine 315s === RUN TestGetPolicies/Same_key_in_different_domains_are_kept_separated 315s === PAUSE TestGetPolicies/Same_key_in_different_domains_are_kept_separated 315s === RUN TestGetPolicies/Two_policies,_no_overrides,_reversed 315s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_reversed 315s === RUN TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 315s === PAUSE TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 315s === RUN TestGetPolicies/Policy_can’t_be_downloaded 315s === PAUSE TestGetPolicies/Policy_can’t_be_downloaded 315s === RUN TestGetPolicies/Standard_policy,_computer_object 315s === PAUSE TestGetPolicies/Standard_policy,_computer_object 315s === RUN TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 315s === PAUSE TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 315s === RUN TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 315s === PAUSE TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 315s === RUN TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 315s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 315s === RUN TestNormalizeTargetName/One_valid_user 315s === PAUSE TestNormalizeTargetName/One_valid_user 315s === RUN TestNormalizeTargetName/One_valid_user_with_mixed_case 315s === PAUSE TestNormalizeTargetName/One_valid_user_with_mixed_case 315s === RUN TestNormalizeTargetName/One_valid_user_with_domain\user 315s === RUN TestGetPolicies/Disabled_value_overrides_non_disabled_one 315s === PAUSE TestGetPolicies/Disabled_value_overrides_non_disabled_one 315s === PAUSE TestNormalizeTargetName/One_valid_user_with_domain\user 315s === RUN TestNormalizeTargetName/User_name_fqdn_matching_computer 315s === CONT TestGetPoliciesConcurrently/Same_user,_same_GPO 315s === PAUSE TestNormalizeTargetName/User_name_fqdn_matching_computer 315s === RUN TestNormalizeTargetName/Computer_with_@_is_left_as_such 315s === PAUSE TestNormalizeTargetName/Computer_with_@_is_left_as_such 315s === RUN TestNormalizeTargetName/Error_on_multiple_\_in_name 315s === PAUSE TestNormalizeTargetName/Error_on_multiple_\_in_name 315s === RUN TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 315s === PAUSE TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 315s === CONT TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 315s time="2024-11-29T20:36:10Z" level=warning msg="IsOnline returned an error" 315s === CONT TestGetInfo/Info_reported_from_backend,_offline 315s === CONT TestGetInfo/Info_reported_from_backend,_online 315s === CONT TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 315s --- PASS: TestGetInfo (0.00s) 315s --- PASS: TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail (0.03s) 315s --- PASS: TestGetInfo/Info_reported_from_backend,_offline (0.00s) 315s --- PASS: TestGetInfo/Info_reported_from_backend,_online (0.00s) 315s --- PASS: TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail (0.01s) 315s === CONT TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:10Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:10Z" level=info msg="Downloading \"standard-name\"" 315s --- PASS: TestFetchOneGPOWhileParsingItConcurrently (0.19s) 315s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 315s --- PASS: TestParseGPOConcurrent (0.47s) 315s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"one-value-name\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"standard-name\"" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:11Z" level=info msg="GPO \"standard-name\" is already up to date" 315s time="2024-11-29T20:36:11Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:11Z" level=info msg="GPO \"standard-name\" is already up to date" 315s time="2024-11-29T20:36:11Z" level=info msg="Assets directory is already up to date" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s === CONT TestGetPoliciesWorkflows/Second_call_after_a_relogin 315s time="2024-11-29T20:36:11Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:11Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:11Z" level=info msg="GPO \"standard-name\" is already up to date" 315s time="2024-11-29T20:36:11Z" level=info msg="Assets directory is already up to date" 315s === CONT TestGetPoliciesWorkflows/Second_call_with_different_user 315s === CONT TestGetPoliciesWorkflows/Second_call_after_service_restarted 315s time="2024-11-29T20:36:11Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:11Z" level=info msg="GPO \"standard-name\" is already up to date" 315s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 315s --- PASS: TestGetPoliciesConcurrently (0.00s) 315s --- PASS: TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time (1.25s) 315s --- PASS: TestGetPoliciesConcurrently/Same_user,_same_GPO (1.26s) 315s --- PASS: TestGetPoliciesConcurrently/Different_users,_same_GPO (1.27s) 315s --- PASS: TestGetPoliciesConcurrently/One_machine,_one_user (1.28s) 315s --- PASS: TestGetPoliciesConcurrently/Different_users,_different_GPO (1.32s) 315s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:12Z" level=info msg="GPO \"standard-name\" is already up to date" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"standard-name\"" 315s === CONT TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 315s time="2024-11-29T20:36:12Z" level=info msg="GPO \"standard-name\" is already up to date" 315s time="2024-11-29T20:36:12Z" level=info msg="Assets directory is already up to date" 315s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"gpo1-name\"" 315s === CONT TestNew/create_KRB5_and_Sysvol_cache_directory 315s === CONT TestNew/error_on_backend_ServerFQDN_random_failure 315s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:12Z" level=info msg="Downloading \"gpo1-name\"" 315s --- PASS: TestFetchTweakSysvolCacheDir (0.00s) 315s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist (0.11s) 315s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only (0.12s) 315s === CONT TestNew/failed_to_create_Policies_cache_directory 315s === CONT TestNew/no_active_server_in_backend_does_not_fail_ad_creation 315s === CONT TestNew/failed_to_create_KRB5_cache_directory 315s === CONT TestNew/failed_to_create_Sysvol_cache_directory 315s --- PASS: TestNew (0.00s) 315s --- PASS: TestNew/create_KRB5_and_Sysvol_cache_directory (0.00s) 315s --- PASS: TestNew/error_on_backend_ServerFQDN_random_failure (0.00s) 315s --- PASS: TestNew/failed_to_create_Policies_cache_directory (0.00s) 315s --- PASS: TestNew/no_active_server_in_backend_does_not_fail_ad_creation (0.00s) 315s --- PASS: TestNew/failed_to_create_KRB5_cache_directory (0.00s) 315s --- PASS: TestNew/failed_to_create_Sysvol_cache_directory (0.00s) 315s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:13Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:13Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:13Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="GPO \"standard-name\" is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="GPO \"standard-name\" is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="GPO \"standard-name\" is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="GPO \"standard-name\" is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:13Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="GPO \"standard-name\" is already up to date" 315s time="2024-11-29T20:36:13Z" level=info msg="GPO \"standard-name\" is already up to date" 315s === CONT TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 315s === CONT TestGetPoliciesOffline/Offline,_with_assets 315s === CONT TestGetPoliciesOffline/Error_offline_with_no_cache 315s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 315s === CONT TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 315s === CONT TestFetchWithUnreadableFile/existing_gpo_is_preserved 315s === CONT TestListUsers/Error_on_policy_cache_directory_not_existing 315s === CONT TestListUsers/Machines_are_ignored,_from_policy_cache 315s === CONT TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 315s === CONT TestListUsers/None,_from_policy_cache 315s === CONT TestListUsers/Two_users,_from_policy_cache 315s === CONT TestListUsers/Machines_are_ignored 315s === CONT TestListUsers/Two_users,_dangling_symlink_for_one 315s === CONT TestListUsers/Machine_Only,_from_policy_cache 315s === CONT TestListUsers/None 315s === CONT TestListUsers/One_user 315s === CONT TestListUsers/One_user,_from_policy_cache 315s === CONT TestListUsers/Two_users 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s === CONT TestListUsers/Machine_Only 315s === CONT TestListUsers/Error_on_Krb5_directory_not_existing 315s --- PASS: TestListUsers (0.00s) 315s --- PASS: TestListUsers/Error_on_policy_cache_directory_not_existing (0.00s) 315s --- PASS: TestListUsers/Machines_are_ignored,_from_policy_cache (0.00s) 315s --- PASS: TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested (0.00s) 315s --- PASS: TestListUsers/None,_from_policy_cache (0.00s) 315s --- PASS: TestListUsers/Two_users,_from_policy_cache (0.00s) 315s --- PASS: TestListUsers/Machines_are_ignored (0.00s) 315s --- PASS: TestListUsers/Two_users,_dangling_symlink_for_one (0.00s) 315s --- PASS: TestListUsers/Machine_Only,_from_policy_cache (0.00s) 315s --- PASS: TestListUsers/None (0.00s) 315s --- PASS: TestListUsers/One_user (0.00s) 315s --- PASS: TestListUsers/One_user,_from_policy_cache (0.00s) 315s --- PASS: TestListUsers/Two_users (0.00s) 315s --- PASS: TestListUsers/Machine_Only (0.00s) 315s --- PASS: TestListUsers/Error_on_Krb5_directory_not_existing (0.00s) 315s === CONT TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"gpo1-name\"" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"gpo1-name\"" 315s time="2024-11-29T20:36:13Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 315s === CONT TestFetch/assets_are_not_updated_if_version_matches 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:13Z" level=info msg="Assets directory is already up to date" 315s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 315s === CONT TestFetch/Error_missing_remote_GPT.INI 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s === CONT TestFetch/two_gpos,_one_more_recent,_one_new 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"gpo1-name\"" 315s time="2024-11-29T20:36:13Z" level=info msg="GPO \"gpo2-name\" is already up to date" 315s === CONT TestFetch/gpos_and_assets 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s --- PASS: TestFetchWithUnreadableFile (0.00s) 315s --- PASS: TestFetchWithUnreadableFile/existing_gpo_is_preserved (0.36s) 315s --- PASS: TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO (0.42s) 315s === CONT TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"gpo1-name\"" 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"assets\"" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:13Z" level=info msg="Assets directory is already up to date" 315s === CONT TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 315s time="2024-11-29T20:36:13Z" level=info msg="No version key found in GPT.INI for gpo1-name, assuming 0" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"gpo1-name\"" 315s === CONT TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:13Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s === CONT TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:13Z" level=info msg="Assets directory is already up to date" 315s === CONT TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:13Z" level=info msg="Downloading \"gpo1-name\"" 315s === CONT TestFetch/keep_existing_gpos_intact 315s === CONT TestFetch/local_gpo_is_more_recent_than_AD_one 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:14Z" level=info msg="GPO \"gpo1-name\" is already up to date" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:14Z" level=info msg="GPO \"gpo2-name\" is already up to date" 315s === CONT TestFetch/gpo_already_up_to_date 315s === CONT TestFetch/one_new_gpo 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:14Z" level=info msg="GPO \"gpo1-name\" is already up to date" 315s time="2024-11-29T20:36:14Z" level=info msg="Downloading \"gpo1-name\"" 315s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_new 315s === CONT TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:14Z" level=warning msg="Invalid local GPT.INI for gpo1-name: invalid remote GPT.INI: strconv.ParseInt: parsing \"NaN\": invalid syntax\nDownloading it again…" 315s time="2024-11-29T20:36:14Z" level=info msg="Downloading \"gpo2-name\"" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:14Z" level=info msg="GPO \"gpo1-name\" is already up to date" 315s time="2024-11-29T20:36:14Z" level=info msg="Downloading \"gpo1-name\"" 315s === CONT TestFetch/two_gpos,_one_more_recent,_one_up_to_date 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:14Z" level=info msg="GPO \"gpo1-name\" is already up to date" 315s time="2024-11-29T20:36:14Z" level=info msg="GPO \"gpo2-name\" is already up to date" 315s === CONT TestFetch/Error_unexistant_remote_gpo 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s === CONT TestFetch/two_new_gpos 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:14Z" level=info msg="Downloading \"gpo2-name\"" 315s time="2024-11-29T20:36:14Z" level=info msg="Downloading \"gpo1-name\"" 315s === CONT TestFetch/Error_keeps_downloading_other_GPOS 315s === CONT TestFetch/concurrent_same_gpos 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:14Z" level=info msg="Downloading \"gpo1-name\"" 315s time="2024-11-29T20:36:14Z" level=info msg="Downloading \"gpo2-name\"" 315s === CONT TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 315s === CONT TestFetch/assets_only_are_downloaded 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:15Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:15Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:15Z" level=info msg="GPO \"gpo1-name\" is already up to date" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s === CONT TestFetch/two_gpos,_one_should_be_refreshed,_one_new 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:15Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:15Z" level=info msg="GPO \"standard-name\" is already up to date" 315s === CONT TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 315s --- PASS: TestGetPoliciesWorkflows (0.00s) 315s --- PASS: TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) (1.74s) 315s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path (1.69s) 315s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed (2.15s) 315s --- PASS: TestGetPoliciesWorkflows/Second_call_with_different_user (1.38s) 315s --- PASS: TestGetPoliciesWorkflows/Second_call_after_service_restarted (1.39s) 315s --- PASS: TestGetPoliciesWorkflows/Second_call_after_a_relogin (1.42s) 315s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted (1.36s) 315s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_a_restart (1.40s) 315s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) (3.32s) 315s === CONT TestFetch/assets_are_updated_to_latest_version 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"assets\"" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"gpo1-name\"" 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"gpo2-name\"" 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"gpo1-name\"" 315s time="2024-11-29T20:36:15Z" level=info msg="GPO \"gpo2-name\" is already up to date" 315s time="2024-11-29T20:36:15Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:16Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 315s === CONT TestFetch/assets_is_a_file_is_not_downloaded 315s time="2024-11-29T20:36:16Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 315s === CONT TestFetch/Error_remote_version_NaN 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:16Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:16Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 315s === CONT TestFetch/remote_version_entry_missing_treated_as_0 315s === CONT TestFetch/gpo_is_refreshed 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s === CONT TestFetch/concurrent_different_gpos 315s time="2024-11-29T20:36:16Z" level=info msg="No version key found in GPT.INI for gpt_ini_version_missing-name, assuming 0" 315s === CONT TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 315s time="2024-11-29T20:36:16Z" level=info msg="Downloading \"gpo1-name\"" 315s time="2024-11-29T20:36:16Z" level=info msg="GPO \"gpt_ini_version_missing-name\" is already up to date" 315s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s === CONT TestGetPolicyDefinitions/Load_ADMX_and_ADML 315s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 315s --- PASS: TestGetPolicyDefinitions (0.00s) 315s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format (0.00s) 315s --- PASS: TestGetPolicyDefinitions/Load_ADMX_and_ADML (0.01s) 315s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro (0.00s) 315s === CONT TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 315s === CONT TestGetPolicies/Empty_value_for_unfiltered_entry 315s time="2024-11-29T20:36:16Z" level=info msg="Downloading \"gpo2-name\"" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:16Z" level=info msg="GPO \"gpo2-name\" is already up to date" 315s time="2024-11-29T20:36:16Z" level=info msg="Downloading \"gpo1-name\"" 315s === CONT TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 315s === CONT TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 315s === CONT TestGetPolicies/Disabled_value_is_overridden 315s === CONT TestGetPolicies/Two_policies,_with_reversed_overrides 315s === CONT TestGetPolicies/Multiple_domains,_same_GPO 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:16Z" level=info msg="Downloading \"gpo1-name\"" 315s === CONT TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 315s --- PASS: TestFetch (0.01s) 315s --- PASS: TestFetch/assets_are_not_updated_if_version_matches (0.07s) 315s --- PASS: TestFetch/Error_missing_remote_GPT.INI (0.04s) 315s --- PASS: TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing (0.05s) 315s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_new (0.34s) 315s --- PASS: TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only (0.02s) 315s --- PASS: TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing (0.06s) 315s --- PASS: TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI (0.27s) 315s --- PASS: TestFetch/gpos_and_assets (0.44s) 315s --- PASS: TestFetch/keep_existing_gpos_intact (0.24s) 315s --- PASS: TestFetch/local_gpo_is_more_recent_than_AD_one (0.19s) 315s --- PASS: TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI (0.45s) 315s --- PASS: TestFetch/gpo_already_up_to_date (0.22s) 315s --- PASS: TestFetch/one_new_gpo (0.34s) 315s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_up_to_date (0.10s) 315s --- PASS: TestFetch/Error_unexistant_remote_gpo (0.04s) 315s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_new (0.46s) 315s --- PASS: TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI (0.42s) 315s --- PASS: TestFetch/two_new_gpos (0.41s) 315s --- PASS: TestFetch/Error_keeps_downloading_other_GPOS (0.40s) 315s --- PASS: TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL (0.46s) 315s --- PASS: TestFetch/concurrent_same_gpos (0.77s) 315s --- PASS: TestFetch/assets_is_a_file_is_not_downloaded (0.06s) 315s --- PASS: TestFetch/assets_only_are_downloaded (1.03s) 315s --- PASS: TestFetch/Error_remote_version_NaN (0.11s) 315s --- PASS: TestFetch/remote_version_entry_missing_treated_as_0 (0.09s) 315s --- PASS: TestFetch/assets_are_updated_to_latest_version (0.66s) 315s --- PASS: TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided (0.07s) 315s --- PASS: TestFetch/two_gpos,_one_should_be_refreshed,_one_new (0.86s) 315s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed (0.88s) 315s --- PASS: TestFetch/gpo_is_refreshed (0.36s) 315s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed (0.32s) 315s --- PASS: TestFetch/concurrent_different_gpos (0.38s) 315s === CONT TestGetPolicies/User_only_policy,_user_object 315s --- PASS: TestGetPoliciesOffline (0.00s) 315s --- PASS: TestGetPoliciesOffline/Error_offline_with_no_cache (0.01s) 315s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only (0.72s) 315s --- PASS: TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list (2.96s) 315s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets (2.94s) 315s --- PASS: TestGetPoliciesOffline/Offline,_with_assets (3.00s) 315s --- PASS: TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache (3.45s) 315s === CONT TestGetPolicies/Machine_doesn’t_match 315s === CONT TestGetPolicies/Policy_user_directory_is_uppercase 315s === CONT TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 315s === CONT TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:16Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:16Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:16Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:16Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:16Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:16Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:16Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:16Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"disabled-value-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"uppercase-class-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"user-only-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"one-value-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"multiple-domains-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"empty-value-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"unsupported-with-errors-name\"" 315s === CONT TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 315s === CONT TestGetPolicies/Two_policies,_no_overrides 315s === CONT TestGetPolicies/Two_policies,_with_overrides 315s === CONT TestGetPolicies/Enabled_override 315s === CONT TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 315s === CONT TestGetPolicies/Standard_policy_with_assets,_downloads_assets 315s === CONT TestGetPolicies/Unsupported_type_for_unfiltered_entry 315s === CONT TestGetPolicies/Symlinks_can’t_be_created 315s === CONT TestGetPolicies/Filter_non_Ubuntu_keys 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"user-only-name\"" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"one-value-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"multiple-releases-one-enabled-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"assets\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"lowercase-class-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"bad-entry-type-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"one-value-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:17Z" level=info msg="Downloading \"filtered-name\"" 315s === CONT TestGetPolicies/More_policies,_with_multiple_overrides 315s === CONT TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 315s === CONT TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 315s === CONT TestGetPolicies/Standard_policy,_user_object 315s === CONT TestGetPolicies/Error_on_user_without_@_in_name 315s === CONT TestGetPolicies/Unexisting_CC_original_file_for_user 315s === CONT TestGetPolicies/Policy_machine_directory_is_uppercase 315s === CONT TestGetPolicies/Corrupted_policy_file 315s === CONT TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 315s === CONT TestGetPolicies/Two_policies,_no_overrides,_reversed 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:17Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"corrupted-policy-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"machine-only-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"user-only-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"uppercase-class-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"multiple-releases-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"one-value-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"filtered-with-certificate-autoenrollment-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"user-only-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"one-value-name\"" 315s === CONT TestGetPolicies/Same_key_in_different_domains_are_kept_separated 315s === CONT TestGetPolicies/Unexisting_CC_original_file_for_machine 315s === CONT TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 315s === CONT TestNormalizeTargetName/One_user_without_explicit_domain_suffix 315s === CONT TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 315s === CONT TestGetPolicies/No_override_for_this_release,_takes_default_value 315s === CONT TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 315s === CONT TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 315s === CONT TestGetPolicies/Standard_policy,_computer_object 315s === CONT TestGetPolicies/Disabled_override 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"other-domain-name\"" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:18Z" level=info msg="Assets directory is already up to date" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"multiple-releases-one-disabled-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"multiple-releases-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"user-only-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"one-value-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"lowercase-class-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"multiple-releases-name\"" 315s === CONT TestGetPolicies/Error_on_backend_IsOnline_call_failed 315s === CONT TestGetPolicies/Policy_can’t_be_downloaded 315s === CONT TestGetPolicies/Disabled_value_overrides_non_disabled_one 315s === CONT TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 315s === CONT TestNormalizeTargetName/One_valid_user_with_mixed_case 315s === CONT TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 315s === CONT TestNormalizeTargetName/Error_on_multiple_\_in_name 315s === CONT TestNormalizeTargetName/Computer_with_@_is_left_as_such 315s === CONT TestNormalizeTargetName/User_name_fqdn_matching_computer 315s === CONT TestNormalizeTargetName/One_valid_user_with_domain\user 315s === CONT TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 315s === CONT TestNormalizeTargetName/One_valid_user 315s === CONT TestNormalizeTargetName/Computer_name_without_objectClass 315s === CONT TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 315s === CONT TestNormalizeTargetName/Computer_is_left_as_such 315s --- PASS: TestNormalizeTargetName (0.00s) 315s --- PASS: TestNormalizeTargetName/One_user_without_explicit_domain_suffix (0.01s) 315s --- PASS: TestNormalizeTargetName/One_valid_user_with_mixed_case (0.00s) 315s --- PASS: TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user (0.01s) 315s --- PASS: TestNormalizeTargetName/Error_on_multiple_\_in_name (0.01s) 315s --- PASS: TestNormalizeTargetName/Computer_with_@_is_left_as_such (0.01s) 315s --- PASS: TestNormalizeTargetName/User_name_matching_computer,_setting_as_user (0.02s) 315s --- PASS: TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such (0.00s) 315s --- PASS: TestNormalizeTargetName/One_valid_user (0.02s) 315s --- PASS: TestNormalizeTargetName/Computer_is_left_as_such (0.00s) 315s --- PASS: TestNormalizeTargetName/One_valid_user_with_domain\user (0.03s) 315s --- PASS: TestNormalizeTargetName/User_name_fqdn_matching_computer (0.03s) 315s --- PASS: TestNormalizeTargetName/Computer_name_without_objectClass (0.01s) 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:18Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"disabled-value-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"machine-only-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"standard-name\"" 315s time="2024-11-29T20:36:18Z" level=info msg="Downloading \"standard-name\"" 315s --- PASS: TestGetPolicies (0.01s) 315s --- PASS: TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed (0.00s) 315s --- PASS: TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName (0.00s) 315s --- PASS: TestGetPolicies/Machine_doesn’t_match (0.00s) 315s --- PASS: TestGetPolicies/Assets_can’t_be_downloaded_without_GPO (0.42s) 315s --- PASS: TestGetPolicies/Error_on_backend_ServerFQDN_call_failed (0.00s) 315s --- PASS: TestGetPolicies/Empty_value_for_unfiltered_entry (0.91s) 315s --- PASS: TestGetPolicies/User_only_policy,_user_object (0.63s) 315s --- PASS: TestGetPolicies/Multiple_domains,_same_GPO (0.73s) 315s --- PASS: TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys (0.55s) 315s --- PASS: TestGetPolicies/Policy_user_directory_is_uppercase (0.60s) 315s --- PASS: TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db (0.72s) 315s --- PASS: TestGetPolicies/Disabled_value_is_overridden (0.89s) 315s --- PASS: TestGetPolicies/Two_policies,_with_reversed_overrides (0.84s) 315s --- PASS: TestGetPolicies/Symlinks_can’t_be_created (0.00s) 315s --- PASS: TestGetPolicies/Unsupported_type_for_unfiltered_entry (0.48s) 315s --- PASS: TestGetPolicies/Filter_non_Ubuntu_keys (0.50s) 315s --- PASS: TestGetPolicies/Enabled_override (0.54s) 315s --- PASS: TestGetPolicies/Two_policies,_with_overrides (0.56s) 315s --- PASS: TestGetPolicies/Two_policies,_no_overrides (0.57s) 315s --- PASS: TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.60s) 315s --- PASS: TestGetPolicies/Error_on_user_without_@_in_name (0.01s) 315s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_user (0.00s) 315s --- PASS: TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol (0.56s) 315s --- PASS: TestGetPolicies/Standard_policy_with_assets,_downloads_assets (0.56s) 315s --- PASS: TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty (0.58s) 315s --- PASS: TestGetPolicies/Corrupted_policy_file (0.60s) 315s --- PASS: TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment (0.59s) 315s --- PASS: TestGetPolicies/Policy_machine_directory_is_uppercase (0.61s) 315s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_machine (0.01s) 315s --- PASS: TestGetPolicies/Standard_policy,_user_object (0.63s) 315s --- PASS: TestGetPolicies/More_policies,_with_multiple_overrides (0.67s) 315s --- PASS: TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored (0.65s) 315s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_reversed (0.61s) 315s --- PASS: TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty (0.36s) 315s --- PASS: TestGetPolicies/Error_on_backend_IsOnline_call_failed (0.00s) 315s --- PASS: TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.38s) 315s --- PASS: TestGetPolicies/Standard_policy,_computer_object (0.37s) 315s --- PASS: TestGetPolicies/Same_key_in_different_domains_are_kept_separated (0.44s) 315s --- PASS: TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored (0.40s) 315s --- PASS: TestGetPolicies/Disabled_override (0.40s) 315s --- PASS: TestGetPolicies/No_override_for_this_release,_takes_default_value (0.42s) 315s --- PASS: TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed (0.45s) 315s --- PASS: TestGetPolicies/Policy_can’t_be_downloaded (0.18s) 315s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user (0.23s) 315s --- PASS: TestGetPolicies/Disabled_value_overrides_non_disabled_one (0.24s) 315s PASS 315s Setup: samba output: [2024/11/29 20:36:08, 0] ../../lib/util/debug.c:1100(reopen_one_log) 315s reopen_one_log: Unable to open new log file '/var/log/samba/log.samba-bgqd': Permission denied 315s [2024/11/29 20:36:08, 2] ../../source3/lib/interface.c:344(add_interface) 315s added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 315s [2024/11/29 20:36:08, 2] ../../source3/lib/interface.c:344(add_interface) 315s added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 315s [2024/11/29 20:36:08, 2] ../../source3/lib/interface.c:584(interpret_interface) 315s interpret_interface: using netmask value 8 from config file on interface lo 315s [2024/11/29 20:36:08, 0] ../../lib/util/become_daemon.c:150(daemon_status) 315s daemon_status: daemon 'samba-bgqd' : Starting process ... 315s [2024/11/29 20:36:08, 0] ../../source3/lib/dumpcore.c:59(get_default_corepath) 315s Failed to create /var/log/samba/cores for user 1000 with mode 0700 315s [2024/11/29 20:36:08, 0] ../../source3/lib/dumpcore.c:256(dump_core_setup) 315s Unable to setup corepath for samba-bgqd: File exists 315s [2024/11/29 20:36:08, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage) 315s Registered MSG_REQ_POOL_USAGE 315s [2024/11/29 20:36:08, 2] ../../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs) 315s Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED 315s 315s ok github.com/ubuntu/adsys/internal/ad 11.655s 315s === RUN TestGenerateExpandedCategories 315s === PAUSE TestGenerateExpandedCategories 315s === RUN TestExpandedCategoriesToADMX 315s === PAUSE TestExpandedCategoriesToADMX 315s === RUN TestExpandedCategoriesToMD 315s === PAUSE TestExpandedCategoriesToMD 315s === RUN TestExpand 315s === PAUSE TestExpand 315s === RUN TestGenerateAD 315s === PAUSE TestGenerateAD 315s === RUN TestGenerateDoc 315s === PAUSE TestGenerateDoc 315s === CONT TestGenerateExpandedCategories 315s === RUN TestGenerateExpandedCategories/same_default 315s === PAUSE TestGenerateExpandedCategories/same_default 315s === RUN TestGenerateExpandedCategories/no_meta_disabled 315s === PAUSE TestGenerateExpandedCategories/no_meta_disabled 315s === RUN TestGenerateExpandedCategories/category_definition_doesn't_exist 315s === PAUSE TestGenerateExpandedCategories/category_definition_doesn't_exist 315s === RUN TestGenerateExpandedCategories/different_choices 315s === PAUSE TestGenerateExpandedCategories/different_choices 315s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 315s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 315s === RUN TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 315s === PAUSE TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 315s === RUN TestGenerateExpandedCategories/error_on_missing_release 315s === PAUSE TestGenerateExpandedCategories/error_on_missing_release 315s === RUN TestGenerateExpandedCategories/error_on_invalid_default_policy_class 315s === PAUSE TestGenerateExpandedCategories/error_on_invalid_default_policy_class 315s === RUN TestGenerateExpandedCategories/simple 315s === PAUSE TestGenerateExpandedCategories/simple 315s === RUN TestGenerateExpandedCategories/basic 315s === PAUSE TestGenerateExpandedCategories/basic 315s === RUN TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 315s === PAUSE TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 315s === RUN TestGenerateExpandedCategories/applicable_to_all_releases 315s === PAUSE TestGenerateExpandedCategories/applicable_to_all_releases 315s === RUN TestGenerateExpandedCategories/no_note 315s === PAUSE TestGenerateExpandedCategories/no_note 315s === RUN TestGenerateExpandedCategories/no_meta_enabled 315s === PAUSE TestGenerateExpandedCategories/no_meta_enabled 315s === RUN TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 315s === PAUSE TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 315s === RUN TestGenerateExpandedCategories/different_defaults 315s === PAUSE TestGenerateExpandedCategories/different_defaults 315s === RUN TestGenerateExpandedCategories/multiple_top_categories 315s === PAUSE TestGenerateExpandedCategories/multiple_top_categories 315s === RUN TestGenerateExpandedCategories/requires_ubuntu_pro 315s === PAUSE TestGenerateExpandedCategories/requires_ubuntu_pro 315s === RUN TestGenerateExpandedCategories/no_meta_at_all 315s === PAUSE TestGenerateExpandedCategories/no_meta_at_all 315s === RUN TestGenerateExpandedCategories/error_on_empty_default_policy_class 315s === PAUSE TestGenerateExpandedCategories/error_on_empty_default_policy_class 315s === RUN TestGenerateExpandedCategories/nested_categories 315s === PAUSE TestGenerateExpandedCategories/nested_categories 315s === RUN TestGenerateExpandedCategories/no_defaults 315s === PAUSE TestGenerateExpandedCategories/no_defaults 315s === RUN TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 315s === PAUSE TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 315s === RUN TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 315s === PAUSE TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 315s === RUN TestGenerateExpandedCategories/available_on_one_release_only 315s === PAUSE TestGenerateExpandedCategories/available_on_one_release_only 315s === RUN TestGenerateExpandedCategories/with_prefix 315s === PAUSE TestGenerateExpandedCategories/with_prefix 315s === RUN TestGenerateExpandedCategories/default_policy_class_is_capitalized 315s === PAUSE TestGenerateExpandedCategories/default_policy_class_is_capitalized 315s === RUN TestGenerateExpandedCategories/different_range 315s === PAUSE TestGenerateExpandedCategories/different_range 315s === RUN TestGenerateExpandedCategories/meta_entry_only 315s === PAUSE TestGenerateExpandedCategories/meta_entry_only 315s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 315s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 315s === RUN TestGenerateExpandedCategories/error_on_nested_category 315s === PAUSE TestGenerateExpandedCategories/error_on_nested_category 315s === RUN TestGenerateExpandedCategories/two_policies 315s === PAUSE TestGenerateExpandedCategories/two_policies 315s === RUN TestGenerateExpandedCategories/different_explain_text 315s === PAUSE TestGenerateExpandedCategories/different_explain_text 315s === RUN TestGenerateExpandedCategories/different_display_name 315s === PAUSE TestGenerateExpandedCategories/different_display_name 315s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories 315s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories 315s === RUN TestGenerateExpandedCategories/no_note_strategy_append 315s === PAUSE TestGenerateExpandedCategories/no_note_strategy_append 315s === RUN TestGenerateExpandedCategories/different_element_type 315s === PAUSE TestGenerateExpandedCategories/different_element_type 315s === RUN TestGenerateExpandedCategories/error_on_one_policy_not_used 315s === PAUSE TestGenerateExpandedCategories/error_on_one_policy_not_used 315s === RUN TestGenerateExpandedCategories/error_on_different_class 315s === PAUSE TestGenerateExpandedCategories/error_on_different_class 315s === RUN TestGenerateExpandedCategories/policy_directory_doesn't_exist 315s === PAUSE TestGenerateExpandedCategories/policy_directory_doesn't_exist 315s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 315s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 315s === RUN TestGenerateExpandedCategories/range 315s === PAUSE TestGenerateExpandedCategories/range 315s === RUN TestGenerateExpandedCategories/choices 315s === CONT TestExpand 315s === CONT TestGenerateAD 315s === RUN TestGenerateAD/autodetect_overrides_releases_from_yaml 315s === PAUSE TestGenerateAD/autodetect_overrides_releases_from_yaml 315s === RUN TestGenerateAD/invalid_definition_file 315s === PAUSE TestGenerateAD/invalid_definition_file 315s === RUN TestGenerateAD/category_expansion_fails 315s === PAUSE TestGenerateAD/category_expansion_fails 315s === RUN TestGenerateAD/admx_generation_fails 315s === PAUSE TestGenerateAD/admx_generation_fails 315s === RUN TestGenerateAD/releases_from_yaml 315s === PAUSE TestGenerateAD/releases_from_yaml 315s === CONT TestGenerateAD/autodetect_overrides_releases_from_yaml 315s === RUN TestExpand/unsupported_policy_type 315s === PAUSE TestExpand/unsupported_policy_type 315s === RUN TestExpand/no_source_directory 315s === PAUSE TestExpand/no_source_directory 315s === RUN TestExpand/dconf_generation_fails 315s === PAUSE TestExpand/dconf_generation_fails 315s === RUN TestExpand/dconf 315s === PAUSE TestExpand/dconf 315s === RUN TestExpand/expanded_policy 315s === PAUSE TestExpand/expanded_policy 315s === RUN TestExpand/expanded_policy_with_release_any 315s === PAUSE TestExpand/expanded_policy_with_release_any 315s === RUN TestExpand/no_version_id 315s === PAUSE TestExpand/no_version_id 315s === RUN TestExpand/expanded_policy_with_meta 315s === PAUSE TestExpand/expanded_policy_with_meta 315s === RUN TestExpand/ignore_categories_and_non_yaml_files 315s === PAUSE TestExpand/ignore_categories_and_non_yaml_files 315s === RUN TestExpand/no_release_file 315s === PAUSE TestExpand/no_release_file 315s === RUN TestExpand/invalid_dconf.yaml 315s === PAUSE TestExpand/invalid_dconf.yaml 315s === CONT TestExpand/unsupported_policy_type 315s === PAUSE TestGenerateExpandedCategories/choices 315s === RUN TestGenerateExpandedCategories/different_meta 315s === PAUSE TestGenerateExpandedCategories/different_meta 315s === RUN TestGenerateExpandedCategories/error_on_different_policy_type 315s === PAUSE TestGenerateExpandedCategories/error_on_different_policy_type 315s === CONT TestGenerateExpandedCategories/same_default 315s === CONT TestGenerateAD/admx_generation_fails 315s === CONT TestGenerateAD/category_expansion_fails 315s === CONT TestGenerateAD/releases_from_yaml 315s === CONT TestExpandedCategoriesToMD 315s === RUN TestExpandedCategoriesToMD/decimal_with_max_only 315s === PAUSE TestExpandedCategoriesToMD/decimal_with_max_only 315s === RUN TestExpandedCategoriesToMD/basic_key 315s === PAUSE TestExpandedCategoriesToMD/basic_key 315s === RUN TestExpandedCategoriesToMD/boolean 315s === PAUSE TestExpandedCategoriesToMD/boolean 315s === RUN TestExpandedCategoriesToMD/long_decimal 315s === PAUSE TestExpandedCategoriesToMD/long_decimal 315s === RUN TestExpandedCategoriesToMD/choices 315s === PAUSE TestExpandedCategoriesToMD/choices 315s === RUN TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 315s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 315s === RUN TestExpandedCategoriesToMD/no_meta_disabled 315s === PAUSE TestExpandedCategoriesToMD/no_meta_disabled 315s === RUN TestExpandedCategoriesToMD/simple 315s === PAUSE TestExpandedCategoriesToMD/simple 315s === RUN TestExpandedCategoriesToMD/decimal_with_range 315s === PAUSE TestExpandedCategoriesToMD/decimal_with_range 315s === RUN TestExpandedCategoriesToMD/choices_with_default 315s === PAUSE TestExpandedCategoriesToMD/choices_with_default 315s === RUN TestExpandedCategoriesToMD/double 315s === PAUSE TestExpandedCategoriesToMD/double 315s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 315s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 315s === RUN TestExpandedCategoriesToMD/no_meta_at_all 315s === PAUSE TestExpandedCategoriesToMD/no_meta_at_all 315s === RUN TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 315s === PAUSE TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 315s === RUN TestExpandedCategoriesToMD/decimal 315s === PAUSE TestExpandedCategoriesToMD/decimal 315s === RUN TestExpandedCategoriesToMD/array_of_strings 315s === PAUSE TestExpandedCategoriesToMD/array_of_strings 315s === RUN TestExpandedCategoriesToMD/no_meta_enabled 315s === PAUSE TestExpandedCategoriesToMD/no_meta_enabled 315s === RUN TestExpandedCategoriesToMD/nested_categories 315s === PAUSE TestExpandedCategoriesToMD/nested_categories 315s === RUN TestExpandedCategoriesToMD/multiple_categories 315s === PAUSE TestExpandedCategoriesToMD/multiple_categories 315s === RUN TestExpandedCategoriesToMD/error_on_destination_creation 315s === PAUSE TestExpandedCategoriesToMD/error_on_destination_creation 315s === RUN TestExpandedCategoriesToMD/user_policy 315s === PAUSE TestExpandedCategoriesToMD/user_policy 315s === RUN TestExpandedCategoriesToMD/array_of_integers 315s === PAUSE TestExpandedCategoriesToMD/array_of_integers 315s === RUN TestExpandedCategoriesToMD/double_with_range 315s === PAUSE TestExpandedCategoriesToMD/double_with_range 315s === RUN TestExpandedCategoriesToMD/multiple_releases_for_one_key 315s === PAUSE TestExpandedCategoriesToMD/multiple_releases_for_one_key 315s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_choices 315s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_choices 315s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 315s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 315s === RUN TestExpandedCategoriesToMD/decimal_with_min_only 315s === PAUSE TestExpandedCategoriesToMD/decimal_with_min_only 315s === CONT TestExpandedCategoriesToADMX 315s === RUN TestExpandedCategoriesToADMX/array_of_strings 315s === PAUSE TestExpandedCategoriesToADMX/array_of_strings 315s === RUN TestExpandedCategoriesToADMX/choices_with_default 315s === PAUSE TestExpandedCategoriesToADMX/choices_with_default 315s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 315s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 315s === RUN TestExpandedCategoriesToADMX/simple 315s === PAUSE TestExpandedCategoriesToADMX/simple 315s === RUN TestExpandedCategoriesToADMX/boolean 315s === PAUSE TestExpandedCategoriesToADMX/boolean 315s === RUN TestExpandedCategoriesToADMX/decimal 315s === PAUSE TestExpandedCategoriesToADMX/decimal 315s === RUN TestExpandedCategoriesToADMX/decimal_with_min_only 315s === PAUSE TestExpandedCategoriesToADMX/decimal_with_min_only 315s === RUN TestExpandedCategoriesToADMX/array_of_integers 315s === PAUSE TestExpandedCategoriesToADMX/array_of_integers 315s === RUN TestExpandedCategoriesToADMX/choices 315s === PAUSE TestExpandedCategoriesToADMX/choices 315s === RUN TestExpandedCategoriesToADMX/no_meta_enabled 315s === PAUSE TestExpandedCategoriesToADMX/no_meta_enabled 315s === RUN TestExpandedCategoriesToADMX/error_on_destination_creation 315s === PAUSE TestExpandedCategoriesToADMX/error_on_destination_creation 315s === RUN TestExpandedCategoriesToADMX/multiple_categories 315s === PAUSE TestExpandedCategoriesToADMX/multiple_categories 315s === RUN TestExpandedCategoriesToADMX/other_distro 315s === PAUSE TestExpandedCategoriesToADMX/other_distro 315s === RUN TestExpandedCategoriesToADMX/basic_key 315s === PAUSE TestExpandedCategoriesToADMX/basic_key 315s === RUN TestExpandedCategoriesToADMX/long_decimal 315s === PAUSE TestExpandedCategoriesToADMX/long_decimal 315s === RUN TestExpandedCategoriesToADMX/double 315s === PAUSE TestExpandedCategoriesToADMX/double 315s === RUN TestExpandedCategoriesToADMX/double_with_range 315s === PAUSE TestExpandedCategoriesToADMX/double_with_range 315s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 315s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 315s === RUN TestExpandedCategoriesToADMX/no_meta_disabled 315s === PAUSE TestExpandedCategoriesToADMX/no_meta_disabled 315s === RUN TestExpandedCategoriesToADMX/nested_categories 315s === PAUSE TestExpandedCategoriesToADMX/nested_categories 315s === RUN TestExpandedCategoriesToADMX/decimal_with_range 315s === CONT TestGenerateAD/invalid_definition_file 315s === PAUSE TestExpandedCategoriesToADMX/decimal_with_range 315s === RUN TestExpandedCategoriesToADMX/decimal_with_max_only 315s === PAUSE TestExpandedCategoriesToADMX/decimal_with_max_only 315s === RUN TestExpandedCategoriesToADMX/no_meta_at_all 315s === PAUSE TestExpandedCategoriesToADMX/no_meta_at_all 315s === RUN TestExpandedCategoriesToADMX/multiple_releases_for_one_key 315s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_for_one_key 315s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 315s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 315s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 315s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 315s === CONT TestGenerateDoc 315s === RUN TestGenerateDoc/autodetect_overrides_releases_from_yaml 315s === PAUSE TestGenerateDoc/autodetect_overrides_releases_from_yaml 315s === RUN TestGenerateDoc/invalid_definition_file 315s === PAUSE TestGenerateDoc/invalid_definition_file 315s === RUN TestGenerateDoc/category_expansion_fails 315s === PAUSE TestGenerateDoc/category_expansion_fails 315s === RUN TestGenerateDoc/doc_generation_fails 315s === PAUSE TestGenerateDoc/doc_generation_fails 315s === RUN TestGenerateDoc/releases_from_yaml 315s === PAUSE TestGenerateDoc/releases_from_yaml 315s === CONT TestGenerateExpandedCategories/meta_entry_only 315s === NAME TestGenerateExpandedCategories/same_default 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestExpand/no_release_file 315s === CONT TestExpand/invalid_dconf.yaml 315s === CONT TestExpand/ignore_categories_and_non_yaml_files 315s === NAME TestGenerateExpandedCategories/meta_entry_only 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestExpand/expanded_policy_with_meta 315s === CONT TestExpand/no_version_id 315s === CONT TestExpand/expanded_policy_with_release_any 315s === CONT TestExpand/expanded_policy 315s === NAME TestExpand/expanded_policy_with_meta 315s admxgen_test.go:78: Serializing object for golden file 315s === CONT TestExpand/dconf 315s === CONT TestExpand/dconf_generation_fails 315s === CONT TestExpand/no_source_directory 315s === CONT TestExpandedCategoriesToMD/decimal_with_max_only 315s === CONT TestGenerateExpandedCategories/error_on_different_policy_type 315s --- PASS: TestGenerateAD (0.00s) 315s --- PASS: TestGenerateAD/releases_from_yaml (0.00s) 315s --- PASS: TestGenerateAD/autodetect_overrides_releases_from_yaml (0.01s) 315s --- PASS: TestGenerateAD/admx_generation_fails (0.01s) 315s --- PASS: TestGenerateAD/category_expansion_fails (0.01s) 315s --- PASS: TestGenerateAD/invalid_definition_file (0.02s) 315s === CONT TestGenerateExpandedCategories/choices 315s === CONT TestGenerateExpandedCategories/different_meta 315s === CONT TestGenerateExpandedCategories/range 315s === NAME TestExpand/expanded_policy 315s admxgen_test.go:78: Serializing object for golden file 315s === NAME TestGenerateExpandedCategories/range 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 315s === CONT TestGenerateExpandedCategories/error_on_different_class 315s === NAME TestExpand/expanded_policy_with_release_any 315s admxgen_test.go:78: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/error_on_one_policy_not_used 315s === CONT TestGenerateExpandedCategories/policy_directory_doesn't_exist 315s === CONT TestGenerateExpandedCategories/no_note_strategy_append 315s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/different_element_type 315s === NAME TestExpand/dconf 315s admxgen_test.go:78: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/different_display_name 315s === CONT TestGenerateExpandedCategories/different_explain_text 315s === NAME TestGenerateExpandedCategories/choices 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/two_policies 315s === NAME TestGenerateExpandedCategories/different_explain_text 315s internal_test.go:112: Serializing object for golden file 315s === NAME TestGenerateExpandedCategories/different_element_type 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/error_on_nested_category 315s === NAME TestGenerateExpandedCategories/no_note_strategy_append 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 315s === NAME TestExpand/ignore_categories_and_non_yaml_files 315s admxgen_test.go:78: Serializing object for golden file 315s --- PASS: TestExpand (0.00s) 315s --- PASS: TestExpand/unsupported_policy_type (0.00s) 315s --- PASS: TestExpand/no_release_file (0.00s) 315s --- PASS: TestExpand/expanded_policy_with_meta (0.01s) 315s --- PASS: TestExpand/no_version_id (0.01s) 315s --- PASS: TestExpand/invalid_dconf.yaml (0.01s) 315s --- PASS: TestExpand/no_source_directory (0.00s) 315s --- PASS: TestExpand/dconf_generation_fails (0.01s) 315s --- PASS: TestExpand/expanded_policy (0.02s) 315s --- PASS: TestExpand/expanded_policy_with_release_any (0.02s) 315s --- PASS: TestExpand/dconf (0.02s) 315s --- PASS: TestExpand/ignore_categories_and_non_yaml_files (0.04s) 315s === CONT TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 315s === NAME TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/different_range 315s === CONT TestGenerateExpandedCategories/default_policy_class_is_capitalized 315s === CONT TestGenerateExpandedCategories/with_prefix 315s === NAME TestGenerateExpandedCategories/different_display_name 315s internal_test.go:112: Serializing object for golden file 315s === NAME TestGenerateExpandedCategories/with_prefix 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/available_on_one_release_only 315s === CONT TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 315s === CONT TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 315s time="2024-11-29T20:36:07Z" level=warning msg="policy /org/gnome/desktop/policy-doesnotexit referenced in \"Category1 Display Name\" does not exist in any supported releases" 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/no_defaults 315s === NAME TestGenerateExpandedCategories/two_policies 315s internal_test.go:112: Serializing object for golden file 315s === NAME TestGenerateExpandedCategories/different_meta 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/nested_categories 315s === CONT TestGenerateExpandedCategories/error_on_empty_default_policy_class 315s === NAME TestGenerateExpandedCategories/different_range 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/no_meta_at_all 315s === NAME TestGenerateExpandedCategories/no_defaults 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/requires_ubuntu_pro 315s === NAME TestGenerateExpandedCategories/available_on_one_release_only 315s internal_test.go:112: Serializing object for golden file 315s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 315s internal_test.go:112: Serializing object for golden file 315s === NAME TestGenerateExpandedCategories/default_policy_class_is_capitalized 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/different_defaults 315s === CONT TestGenerateExpandedCategories/multiple_top_categories 315s === CONT TestGenerateExpandedCategories/error_on_invalid_default_policy_class 315s === CONT TestGenerateExpandedCategories/no_meta_enabled 315s === NAME TestGenerateExpandedCategories/nested_categories 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/no_note 315s === NAME TestGenerateExpandedCategories/no_meta_at_all 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/applicable_to_all_releases 315s === CONT TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 315s === NAME TestGenerateExpandedCategories/no_note 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/basic 315s === CONT TestGenerateExpandedCategories/simple 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestExpandedCategoriesToMD/decimal 315s === NAME TestGenerateExpandedCategories/applicable_to_all_releases 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 315s === NAME TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 315s internal_test.go:112: Serializing object for golden file 315s === NAME TestGenerateExpandedCategories/multiple_top_categories 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestExpandedCategoriesToMD/no_meta_at_all 315s === NAME TestGenerateExpandedCategories/requires_ubuntu_pro 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 315s === NAME TestGenerateExpandedCategories/no_meta_enabled 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestExpandedCategoriesToMD/double 315s === CONT TestExpandedCategoriesToMD/choices_with_default 315s === NAME TestGenerateExpandedCategories/different_defaults 315s internal_test.go:112: Serializing object for golden file 315s === NAME TestGenerateExpandedCategories/basic 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestExpandedCategoriesToMD/decimal_with_range 315s === CONT TestExpandedCategoriesToMD/simple 315s === CONT TestExpandedCategoriesToMD/no_meta_disabled 315s === CONT TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 315s === CONT TestExpandedCategoriesToMD/choices 315s === CONT TestExpandedCategoriesToMD/long_decimal 315s === CONT TestExpandedCategoriesToMD/boolean 315s === CONT TestExpandedCategoriesToMD/basic_key 315s === CONT TestExpandedCategoriesToMD/array_of_integers 315s === CONT TestExpandedCategoriesToMD/decimal_with_min_only 315s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 315s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_choices 315s === CONT TestExpandedCategoriesToMD/multiple_releases_for_one_key 315s === CONT TestExpandedCategoriesToMD/double_with_range 315s === CONT TestGenerateExpandedCategories/different_choices 315s === CONT TestGenerateExpandedCategories/error_on_missing_release 315s === CONT TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 315s === NAME TestGenerateExpandedCategories/different_choices 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 315s === CONT TestGenerateExpandedCategories/no_meta_disabled 315s === CONT TestGenerateExpandedCategories/category_definition_doesn't_exist 315s === CONT TestExpandedCategoriesToMD/multiple_categories 315s === CONT TestExpandedCategoriesToMD/user_policy 315s === CONT TestExpandedCategoriesToMD/error_on_destination_creation 315s === NAME TestGenerateExpandedCategories/no_meta_disabled 315s internal_test.go:112: Serializing object for golden file 315s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 315s internal_test.go:112: Serializing object for golden file 315s === CONT TestExpandedCategoriesToMD/no_meta_enabled 315s === CONT TestExpandedCategoriesToMD/nested_categories 315s === CONT TestExpandedCategoriesToMD/array_of_strings 315s --- PASS: TestGenerateExpandedCategories (0.00s) 315s --- PASS: TestGenerateExpandedCategories/same_default (0.01s) 315s --- PASS: TestGenerateExpandedCategories/meta_entry_only (0.00s) 315s --- PASS: TestGenerateExpandedCategories/range (0.00s) 315s --- PASS: TestGenerateExpandedCategories/error_on_different_policy_type (0.01s) 315s --- PASS: TestGenerateExpandedCategories/policy_directory_doesn't_exist (0.00s) 315s --- PASS: TestGenerateExpandedCategories/error_on_one_policy_not_used (0.00s) 315s --- PASS: TestGenerateExpandedCategories/error_on_different_class (0.00s) 315s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories (0.00s) 315s --- PASS: TestGenerateExpandedCategories/choices (0.02s) 315s --- PASS: TestGenerateExpandedCategories/different_element_type (0.01s) 315s --- PASS: TestGenerateExpandedCategories/no_note_strategy_append (0.02s) 315s --- PASS: TestGenerateExpandedCategories/different_explain_text (0.02s) 315s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class (0.02s) 315s --- PASS: TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases (0.00s) 315s --- PASS: TestGenerateExpandedCategories/with_prefix (0.00s) 315s --- PASS: TestGenerateExpandedCategories/different_display_name (0.02s) 315s --- PASS: TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified (0.00s) 315s --- PASS: TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases (0.00s) 315s --- PASS: TestGenerateExpandedCategories/two_policies (0.02s) 315s --- PASS: TestGenerateExpandedCategories/different_meta (0.03s) 315s --- PASS: TestGenerateExpandedCategories/different_range (0.03s) 315s --- PASS: TestGenerateExpandedCategories/no_defaults (0.02s) 315s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key (0.03s) 315s --- PASS: TestGenerateExpandedCategories/available_on_one_release_only (0.03s) 315s --- PASS: TestGenerateExpandedCategories/default_policy_class_is_capitalized (0.03s) 315s --- PASS: TestGenerateExpandedCategories/error_on_empty_default_policy_class (0.02s) 315s --- PASS: TestGenerateExpandedCategories/nested_categories (0.02s) 315s --- PASS: TestGenerateExpandedCategories/no_meta_at_all (0.01s) 315s --- PASS: TestGenerateExpandedCategories/error_on_invalid_default_policy_class (0.01s) 315s --- PASS: TestGenerateExpandedCategories/error_on_nested_category (0.05s) 315s --- PASS: TestGenerateExpandedCategories/no_note (0.01s) 315s --- PASS: TestGenerateExpandedCategories/simple (0.00s) 315s --- PASS: TestGenerateExpandedCategories/applicable_to_all_releases (0.01s) 315s --- PASS: TestGenerateExpandedCategories/use_policy_class_instead_of_category_default (0.01s) 315s --- PASS: TestGenerateExpandedCategories/requires_ubuntu_pro (0.02s) 315s --- PASS: TestGenerateExpandedCategories/multiple_top_categories (0.02s) 315s --- PASS: TestGenerateExpandedCategories/no_meta_enabled (0.02s) 315s --- PASS: TestGenerateExpandedCategories/basic (0.01s) 315s --- PASS: TestGenerateExpandedCategories/different_defaults (0.02s) 315s --- PASS: TestGenerateExpandedCategories/different_choices (0.00s) 315s --- PASS: TestGenerateExpandedCategories/error_on_unexisting_policy_referenced (0.01s) 315s --- PASS: TestGenerateExpandedCategories/no_meta_disabled (0.01s) 315s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key (0.01s) 315s --- PASS: TestGenerateExpandedCategories/error_on_missing_release (0.01s) 315s --- PASS: TestGenerateExpandedCategories/category_definition_doesn't_exist (0.01s) 315s === CONT TestExpandedCategoriesToADMX/array_of_strings 315s === CONT TestGenerateDoc/autodetect_overrides_releases_from_yaml 315s === CONT TestExpandedCategoriesToADMX/error_on_destination_creation 315s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 315s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 315s === CONT TestExpandedCategoriesToADMX/multiple_releases_for_one_key 315s === CONT TestExpandedCategoriesToADMX/no_meta_at_all 315s === CONT TestExpandedCategoriesToADMX/decimal_with_max_only 315s === CONT TestExpandedCategoriesToADMX/decimal_with_range 315s === CONT TestExpandedCategoriesToADMX/nested_categories 315s === CONT TestExpandedCategoriesToADMX/no_meta_disabled 315s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 315s === CONT TestExpandedCategoriesToADMX/double_with_range 315s --- PASS: TestExpandedCategoriesToMD (0.00s) 315s --- PASS: TestExpandedCategoriesToMD/decimal_with_max_only (0.01s) 315s --- PASS: TestExpandedCategoriesToMD/simple (0.02s) 315s --- PASS: TestExpandedCategoriesToMD/double (0.03s) 315s --- PASS: TestExpandedCategoriesToMD/decimal_with_range (0.03s) 315s --- PASS: TestExpandedCategoriesToMD/decimal (0.04s) 315s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults (0.01s) 315s --- PASS: TestExpandedCategoriesToMD/choices_with_default (0.06s) 315s --- PASS: TestExpandedCategoriesToMD/nested_categories,_classes_and_empty (0.07s) 315s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype (0.08s) 315s --- PASS: TestExpandedCategoriesToMD/array_of_integers (0.01s) 315s --- PASS: TestExpandedCategoriesToMD/no_meta_at_all (0.08s) 315s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_ranges (0.01s) 315s --- PASS: TestExpandedCategoriesToMD/no_meta_disabled (0.07s) 315s --- PASS: TestExpandedCategoriesToMD/boolean (0.06s) 315s --- PASS: TestExpandedCategoriesToMD/multiple_releases_for_one_key (0.01s) 315s --- PASS: TestExpandedCategoriesToMD/decimal_with_min_only (0.02s) 315s --- PASS: TestExpandedCategoriesToMD/double_with_range (0.00s) 315s --- PASS: TestExpandedCategoriesToMD/basic_key (0.04s) 315s --- PASS: TestExpandedCategoriesToMD/choices (0.06s) 315s --- PASS: TestExpandedCategoriesToMD/long_decimal (0.06s) 315s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_choices (0.03s) 315s --- PASS: TestExpandedCategoriesToMD/error_on_destination_creation (0.03s) 315s --- PASS: TestExpandedCategoriesToMD/user_policy (0.04s) 315s --- PASS: TestExpandedCategoriesToMD/nested_categories (0.03s) 315s --- PASS: TestExpandedCategoriesToMD/multiple_categories (0.04s) 315s --- PASS: TestExpandedCategoriesToMD/no_meta_enabled (0.04s) 315s --- PASS: TestExpandedCategoriesToMD/array_of_strings (0.04s) 315s === CONT TestExpandedCategoriesToADMX/double 315s === CONT TestExpandedCategoriesToADMX/long_decimal 315s === CONT TestExpandedCategoriesToADMX/basic_key 315s === CONT TestExpandedCategoriesToADMX/other_distro 315s === CONT TestExpandedCategoriesToADMX/multiple_categories 315s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 315s === CONT TestExpandedCategoriesToADMX/decimal_with_min_only 315s === CONT TestExpandedCategoriesToADMX/decimal 315s === CONT TestExpandedCategoriesToADMX/no_meta_enabled 315s === CONT TestExpandedCategoriesToADMX/boolean 315s === CONT TestExpandedCategoriesToADMX/choices 315s === CONT TestExpandedCategoriesToADMX/simple 315s === CONT TestExpandedCategoriesToADMX/array_of_integers 315s === CONT TestGenerateDoc/releases_from_yaml 315s === CONT TestGenerateDoc/category_expansion_fails 315s === CONT TestGenerateDoc/doc_generation_fails 315s === CONT TestExpandedCategoriesToADMX/choices_with_default 315s === CONT TestGenerateDoc/invalid_definition_file 315s --- PASS: TestExpandedCategoriesToADMX (0.00s) 315s --- PASS: TestExpandedCategoriesToADMX/error_on_destination_creation (0.01s) 315s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges (0.00s) 315s --- PASS: TestExpandedCategoriesToADMX/array_of_strings (0.04s) 315s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_for_one_key (0.01s) 315s --- PASS: TestExpandedCategoriesToADMX/no_meta_at_all (0.01s) 315s --- PASS: TestExpandedCategoriesToADMX/decimal_with_max_only (0.01s) 315s --- PASS: TestExpandedCategoriesToADMX/double_with_range (0.02s) 315s --- PASS: TestExpandedCategoriesToADMX/decimal_with_range (0.02s) 315s --- PASS: TestExpandedCategoriesToADMX/no_meta_disabled (0.02s) 315s --- PASS: TestExpandedCategoriesToADMX/nested_categories (0.02s) 315s --- PASS: TestExpandedCategoriesToADMX/basic_key (0.01s) 315s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_choices (0.03s) 315s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults (0.04s) 315s --- PASS: TestExpandedCategoriesToADMX/other_distro (0.01s) 315s --- PASS: TestExpandedCategoriesToADMX/decimal_with_min_only (0.01s) 315s --- PASS: TestExpandedCategoriesToADMX/long_decimal (0.03s) 315s --- PASS: TestExpandedCategoriesToADMX/boolean (0.01s) 315s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype (0.02s) 315s --- PASS: TestExpandedCategoriesToADMX/choices (0.01s) 315s --- PASS: TestExpandedCategoriesToADMX/decimal (0.02s) 315s --- PASS: TestExpandedCategoriesToADMX/no_meta_enabled (0.03s) 315s --- PASS: TestExpandedCategoriesToADMX/simple (0.03s) 315s --- PASS: TestExpandedCategoriesToADMX/multiple_categories (0.05s) 315s --- PASS: TestExpandedCategoriesToADMX/array_of_integers (0.03s) 315s --- PASS: TestExpandedCategoriesToADMX/double (0.07s) 315s --- PASS: TestExpandedCategoriesToADMX/choices_with_default (0.02s) 315s --- PASS: TestGenerateDoc (0.00s) 315s --- PASS: TestGenerateDoc/autodetect_overrides_releases_from_yaml (0.02s) 315s --- PASS: TestGenerateDoc/doc_generation_fails (0.02s) 315s --- PASS: TestGenerateDoc/category_expansion_fails (0.03s) 315s --- PASS: TestGenerateDoc/releases_from_yaml (0.03s) 315s --- PASS: TestGenerateDoc/invalid_definition_file (0.01s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/ad/admxgen 0.378s 315s === RUN TestGenerate 315s === PAUSE TestGenerate 315s === CONT TestGenerate 315s === RUN TestGenerate/One_decimal_key_with_max_only 315s === PAUSE TestGenerate/One_decimal_key_with_max_only 315s === RUN TestGenerate/Override_without_session_takes_default 315s === PAUSE TestGenerate/Override_without_session_takes_default 315s === RUN TestGenerate/Overridden_by_multiple_files,_last_wins 315s === PAUSE TestGenerate/Overridden_by_multiple_files,_last_wins 315s === RUN TestGenerate/Relocatable_key_overridden 315s === PAUSE TestGenerate/Relocatable_key_overridden 315s === RUN TestGenerate/Description_starting_with_obsolete_is_ignored 315s === PAUSE TestGenerate/Description_starting_with_obsolete_is_ignored 315s === RUN TestGenerate/Invalid_schema_files 315s === PAUSE TestGenerate/Invalid_schema_files 315s === RUN TestGenerate/One_text_key 315s === PAUSE TestGenerate/One_text_key 315s === RUN TestGenerate/Double_key 315s === PAUSE TestGenerate/Double_key 315s === RUN TestGenerate/Override_takes_first_session 315s === PAUSE TestGenerate/Override_takes_first_session 315s === RUN TestGenerate/Invalid_override_files_are_skipped 315s === PAUSE TestGenerate/Invalid_override_files_are_skipped 315s === RUN TestGenerate/Valid_class_should_be_capitalized 315s === PAUSE TestGenerate/Valid_class_should_be_capitalized 315s === RUN TestGenerate/Long_decimal_key 315s === PAUSE TestGenerate/Long_decimal_key 315s === RUN TestGenerate/Choices_are_loaded 315s === PAUSE TestGenerate/Choices_are_loaded 315s === RUN TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 315s === PAUSE TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 315s === RUN TestGenerate/Unsupported_key_type 315s === PAUSE TestGenerate/Unsupported_key_type 315s === RUN TestGenerate/Same_key_relocated_twice 315s === PAUSE TestGenerate/Same_key_relocated_twice 315s === RUN TestGenerate/One_decimal_key_with_min_only 315s === PAUSE TestGenerate/One_decimal_key_with_min_only 315s === RUN TestGenerate/Override_without_session 315s === PAUSE TestGenerate/Override_without_session 315s === RUN TestGenerate/Invalid_class 315s === PAUSE TestGenerate/Invalid_class 315s === RUN TestGenerate/One_decimal_key_with_range 315s === PAUSE TestGenerate/One_decimal_key_with_range 315s === RUN TestGenerate/One_decimal_key 315s === PAUSE TestGenerate/One_decimal_key 315s === RUN TestGenerate/Array_of_integers 315s === PAUSE TestGenerate/Array_of_integers 315s === RUN TestGenerate/Override_with_no_matching_session_defaults_to_root_override 315s === PAUSE TestGenerate/Override_with_no_matching_session_defaults_to_root_override 315s === RUN TestGenerate/Override_default_to_second_if_first_not_present 315s === PAUSE TestGenerate/Override_default_to_second_if_first_not_present 315s === RUN TestGenerate/Description_starting_with_deprecated_is_ignored 315s === PAUSE TestGenerate/Description_starting_with_deprecated_is_ignored 315s === RUN TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 315s === PAUSE TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 315s === RUN TestGenerate/Enum_does_not_exist 315s === PAUSE TestGenerate/Enum_does_not_exist 315s === RUN TestGenerate/One_boolean_key 315s === PAUSE TestGenerate/One_boolean_key 315s === RUN TestGenerate/NaN_min 315s === PAUSE TestGenerate/NaN_min 315s === RUN TestGenerate/Array_of_strings 315s === PAUSE TestGenerate/Array_of_strings 315s === RUN TestGenerate/No_key_on_system 315s === PAUSE TestGenerate/No_key_on_system 315s === RUN TestGenerate/Invalid_min 315s === PAUSE TestGenerate/Invalid_min 315s === RUN TestGenerate/Relocatable_key 315s === PAUSE TestGenerate/Relocatable_key 315s === RUN TestGenerate/Long_decimal_key_with_range_min_lt_0 315s === PAUSE TestGenerate/Long_decimal_key_with_range_min_lt_0 315s === RUN TestGenerate/Long_decimal_key_with_range_min_gt_0 315s === PAUSE TestGenerate/Long_decimal_key_with_range_min_gt_0 315s === RUN TestGenerate/Override_with_session_takes_session_override 315s === PAUSE TestGenerate/Override_with_session_takes_session_override 315s === RUN TestGenerate/Inlined_Enums_are_converted_to_choices 315s === PAUSE TestGenerate/Inlined_Enums_are_converted_to_choices 315s === RUN TestGenerate/Empty 315s === PAUSE TestGenerate/Empty 315s === RUN TestGenerate/Key_with_class 315s === PAUSE TestGenerate/Key_with_class 315s === RUN TestGenerate/Enums_in_other_files_are_converted_to_choices 315s === PAUSE TestGenerate/Enums_in_other_files_are_converted_to_choices 315s === RUN TestGenerate/Double_key_with_range 315s === PAUSE TestGenerate/Double_key_with_range 315s === CONT TestGenerate/One_decimal_key_with_max_only 315s === CONT TestGenerate/Double_key_with_range 315s === CONT TestGenerate/One_decimal_key 315s === CONT TestGenerate/No_key_on_system 315s === CONT TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 315s === CONT TestGenerate/Override_default_to_second_if_first_not_present 315s === CONT TestGenerate/Valid_class_should_be_capitalized 315s === NAME TestGenerate/One_decimal_key_with_max_only 315s dconf_test.go:103: Serializing object for golden file 315s time="2024-11-29T20:36:07Z" level=warning msg="dconf entry \"/com/ubuntu/simple/non-existent\" is not available on this machine" 315s === CONT TestGenerate/Override_with_no_matching_session_defaults_to_root_override 315s === CONT TestGenerate/One_decimal_key_with_range 315s === NAME TestGenerate/No_key_on_system 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Invalid_class 315s === NAME TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/Override_default_to_second_if_first_not_present 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Override_without_session 315s === NAME TestGenerate/Double_key_with_range 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/One_decimal_key 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Same_key_relocated_twice 315s === CONT TestGenerate/Unsupported_key_type 315s === NAME TestGenerate/One_decimal_key_with_range 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 315s === CONT TestGenerate/One_decimal_key_with_min_only 315s === NAME TestGenerate/Valid_class_should_be_capitalized 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Choices_are_loaded 315s === CONT TestGenerate/Long_decimal_key 315s === NAME TestGenerate/Override_without_session 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Array_of_integers 315s === NAME TestGenerate/Override_with_no_matching_session_defaults_to_root_override 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Description_starting_with_deprecated_is_ignored 315s === NAME TestGenerate/Choices_are_loaded 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/NaN_min 315s === CONT TestGenerate/Array_of_strings 315s === NAME TestGenerate/Array_of_integers 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Override_with_session_takes_session_override 315s === NAME TestGenerate/Array_of_strings 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Enums_in_other_files_are_converted_to_choices 315s === NAME TestGenerate/Override_with_session_takes_session_override 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Key_with_class 315s time="2024-11-29T20:36:07Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated-different-cases\" is deprecated. Ignoring" 315s === NAME TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/Same_key_relocated_twice 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Empty 315s === CONT TestGenerate/Inlined_Enums_are_converted_to_choices 315s === NAME TestGenerate/Enums_in_other_files_are_converted_to_choices 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/One_decimal_key_with_min_only 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Invalid_schema_files 315s === CONT TestGenerate/Invalid_override_files_are_skipped 315s === NAME TestGenerate/Key_with_class 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Override_takes_first_session 315s === NAME TestGenerate/Long_decimal_key 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Double_key 315s time="2024-11-29T20:36:07Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated\" is deprecated. Ignoring" 315s === NAME TestGenerate/Description_starting_with_deprecated_is_ignored 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/One_text_key 315s === CONT TestGenerate/Relocatable_key_overridden 315s time="2024-11-29T20:36:07Z" level=warning msg="testdata/TestGenerate/system/broken_override/usr/share/glib-2.0/schemas/broken.gschema.override is an invalid override file: unclosed section: [com.ubuntu.simple.overridden\n" 315s === NAME TestGenerate/Double_key 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Description_starting_with_obsolete_is_ignored 315s time="2024-11-29T20:36:07Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/obsolete\" is deprecated. Ignoring" 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/One_boolean_key 315s === NAME TestGenerate/One_text_key 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Enum_does_not_exist 315s === CONT TestGenerate/Overridden_by_multiple_files,_last_wins 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/Inlined_Enums_are_converted_to_choices 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Override_without_session_takes_default 315s === CONT TestGenerate/Long_decimal_key_with_range_min_lt_0 315s === NAME TestGenerate/Empty 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Long_decimal_key_with_range_min_gt_0 315s === CONT TestGenerate/Relocatable_key 315s === NAME TestGenerate/Invalid_override_files_are_skipped 315s dconf_test.go:103: Serializing object for golden file 315s === CONT TestGenerate/Invalid_min 315s === NAME TestGenerate/Relocatable_key_overridden 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/One_boolean_key 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/Override_without_session_takes_default 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/Relocatable_key 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/Override_takes_first_session 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/Long_decimal_key_with_range_min_gt_0 315s dconf_test.go:103: Serializing object for golden file 315s === NAME TestGenerate/Long_decimal_key_with_range_min_lt_0 315s dconf_test.go:103: Serializing object for golden file 315s --- PASS: TestGenerate (0.00s) 315s --- PASS: TestGenerate/One_decimal_key_with_max_only (0.00s) 315s --- PASS: TestGenerate/No_key_on_system (0.00s) 315s --- PASS: TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored (0.00s) 315s --- PASS: TestGenerate/Override_default_to_second_if_first_not_present (0.01s) 315s --- PASS: TestGenerate/One_decimal_key (0.01s) 315s --- PASS: TestGenerate/Double_key_with_range (0.01s) 315s --- PASS: TestGenerate/One_decimal_key_with_range (0.01s) 315s --- PASS: TestGenerate/Valid_class_should_be_capitalized (0.01s) 315s --- PASS: TestGenerate/Invalid_class (0.02s) 315s --- PASS: TestGenerate/Unsupported_key_type (0.01s) 315s --- PASS: TestGenerate/Override_without_session (0.01s) 315s --- PASS: TestGenerate/Override_with_no_matching_session_defaults_to_root_override (0.02s) 315s --- PASS: TestGenerate/Choices_are_loaded (0.00s) 315s --- PASS: TestGenerate/Array_of_integers (0.00s) 315s --- PASS: TestGenerate/Array_of_strings (0.00s) 315s --- PASS: TestGenerate/Override_with_session_takes_session_override (0.00s) 315s --- PASS: TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored (0.01s) 315s --- PASS: TestGenerate/Same_key_relocated_twice (0.01s) 315s --- PASS: TestGenerate/Enums_in_other_files_are_converted_to_choices (0.01s) 315s --- PASS: TestGenerate/One_decimal_key_with_min_only (0.02s) 315s --- PASS: TestGenerate/Key_with_class (0.01s) 315s --- PASS: TestGenerate/NaN_min (0.01s) 315s --- PASS: TestGenerate/Long_decimal_key (0.02s) 315s --- PASS: TestGenerate/Description_starting_with_deprecated_is_ignored (0.02s) 315s --- PASS: TestGenerate/Double_key (0.00s) 315s --- PASS: TestGenerate/Description_starting_with_obsolete_is_ignored (0.00s) 315s --- PASS: TestGenerate/One_text_key (0.00s) 315s --- PASS: TestGenerate/Enum_does_not_exist (0.00s) 315s --- PASS: TestGenerate/Inlined_Enums_are_converted_to_choices (0.02s) 315s --- PASS: TestGenerate/Invalid_schema_files (0.01s) 315s --- PASS: TestGenerate/Overridden_by_multiple_files,_last_wins (0.01s) 315s --- PASS: TestGenerate/Empty (0.03s) 315s --- PASS: TestGenerate/Invalid_override_files_are_skipped (0.03s) 315s --- PASS: TestGenerate/Relocatable_key_overridden (0.02s) 315s --- PASS: TestGenerate/Invalid_min (0.00s) 315s --- PASS: TestGenerate/One_boolean_key (0.02s) 315s --- PASS: TestGenerate/Relocatable_key (0.01s) 315s --- PASS: TestGenerate/Long_decimal_key_with_range_min_gt_0 (0.01s) 315s --- PASS: TestGenerate/Override_without_session_takes_default (0.02s) 315s --- PASS: TestGenerate/Override_takes_first_session (0.03s) 315s --- PASS: TestGenerate/Long_decimal_key_with_range_min_lt_0 (0.02s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/ad/admxgen/dconf 0.089s 315s === RUN TestSSSD 315s === PAUSE TestSSSD 315s === CONT TestSSSD 315s === RUN TestSSSD/Regular_config,_with_cache_dir 315s === PAUSE TestSSSD/Regular_config,_with_cache_dir 315s === RUN TestSSSD/Error_on_sssd_conf_does_not_exists 315s === PAUSE TestSSSD/Error_on_sssd_conf_does_not_exists 315s === RUN TestSSSD/Error_on_no_domains_field 315s === PAUSE TestSSSD/Error_on_no_domains_field 315s === RUN TestSSSD/Error_on_sssd_domain_section_missing 315s === PAUSE TestSSSD/Error_on_sssd_domain_section_missing 315s === RUN TestSSSD/Error_on_sssd_domain_empty_section 315s === PAUSE TestSSSD/Error_on_sssd_domain_empty_section 315s === RUN TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 315s === PAUSE TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 315s === RUN TestSSSD/Is_not_online 315s === PAUSE TestSSSD/Is_not_online 315s === RUN TestSSSD/SSSd_domain_can_not_match_ad_domain 315s === PAUSE TestSSSD/SSSd_domain_can_not_match_ad_domain 315s === RUN TestSSSD/No_sssd_conf_loads_the_default 315s === PAUSE TestSSSD/No_sssd_conf_loads_the_default 315s === RUN TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 315s === PAUSE TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 315s === RUN TestSSSD/Error_on_empty_domains_field 315s === PAUSE TestSSSD/Error_on_empty_domains_field 315s === RUN TestSSSD/Regular_config 315s === PAUSE TestSSSD/Regular_config 315s === RUN TestSSSD/Can_handle_special_DNS_domain_characters 315s === PAUSE TestSSSD/Can_handle_special_DNS_domain_characters 315s === RUN TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 315s === PAUSE TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 315s === RUN TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 315s === PAUSE TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 315s === RUN TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 315s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 315s === RUN TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 315s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 315s === RUN TestSSSD/Error_on_no_sssd_section 315s === PAUSE TestSSSD/Error_on_no_sssd_section 315s === RUN TestSSSD/Multiple_domains,_pick_first 315s === PAUSE TestSSSD/Multiple_domains,_pick_first 315s === RUN TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 315s === PAUSE TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 315s === RUN TestSSSD/Ignore_upper_cases_in_domain_name 315s === PAUSE TestSSSD/Ignore_upper_cases_in_domain_name 315s === RUN TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 315s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 315s === RUN TestSSSD/Default_domain_suffix_is_read 315s === PAUSE TestSSSD/Default_domain_suffix_is_read 315s === RUN TestSSSD/Use_domain_from_section_if_no_ad_domain 315s === PAUSE TestSSSD/Use_domain_from_section_if_no_ad_domain 315s === CONT TestSSSD/Regular_config,_with_cache_dir 315s === CONT TestSSSD/Use_domain_from_section_if_no_ad_domain 315s === CONT TestSSSD/Can_handle_special_DNS_domain_characters 315s === CONT TestSSSD/Is_not_online 315s === CONT TestSSSD/Default_domain_suffix_is_read 315s === CONT TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 315s === CONT TestSSSD/Ignore_upper_cases_in_domain_name 315s === CONT TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 315s === CONT TestSSSD/Error_on_no_sssd_section 315s === CONT TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 315s === CONT TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 315s === CONT TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 315s === CONT TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 315s === CONT TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 315s === CONT TestSSSD/Regular_config 315s === CONT TestSSSD/Error_on_empty_domains_field 315s === CONT TestSSSD/Multiple_domains,_pick_first 315s === CONT TestSSSD/No_sssd_conf_loads_the_default 315s === CONT TestSSSD/SSSd_domain_can_not_match_ad_domain 315s === CONT TestSSSD/Error_on_sssd_domain_section_missing 315s === CONT TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 315s === CONT TestSSSD/Error_on_sssd_domain_empty_section 315s === CONT TestSSSD/Error_on_no_domains_field 315s === CONT TestSSSD/Error_on_sssd_conf_does_not_exists 315s --- PASS: TestSSSD (0.01s) 315s --- PASS: TestSSSD/Regular_config,_with_cache_dir (0.01s) 315s --- PASS: TestSSSD/Use_domain_from_section_if_no_ad_domain (0.01s) 315s --- PASS: TestSSSD/Error_on_no_sssd_section (0.00s) 315s --- PASS: TestSSSD/Ad_server_defined_in_config_does_not_need_active_server (0.01s) 315s --- PASS: TestSSSD/Ignore_upper_cases_in_domain_name (0.01s) 315s --- PASS: TestSSSD/Default_domain_suffix_is_read (0.01s) 315s --- PASS: TestSSSD/Can_handle_special_DNS_domain_characters (0.01s) 315s --- PASS: TestSSSD/Is_not_online (0.01s) 315s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out (0.01s) 315s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object (0.01s) 315s --- PASS: TestSSSD/Error_on_empty_domains_field (0.01s) 315s --- PASS: TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server (0.01s) 315s --- PASS: TestSSSD/No_sssd_conf_loads_the_default (0.00s) 315s --- PASS: TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter (0.02s) 315s --- PASS: TestSSSD/Error_on_sssd_domain_empty_section (0.00s) 315s --- PASS: TestSSSD/Error_on_sssd_domain_section_missing (0.00s) 315s --- PASS: TestSSSD/Error_on_sssd_conf_does_not_exists (0.00s) 315s --- PASS: TestSSSD/Error_on_no_domains_field (0.00s) 315s --- PASS: TestSSSD/Multiple_domains,_pick_first (0.02s) 315s --- PASS: TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out (0.02s) 315s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided (0.02s) 315s --- PASS: TestSSSD/Regular_config (0.02s) 315s --- PASS: TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server (0.00s) 315s --- PASS: TestSSSD/SSSd_domain_can_not_match_ad_domain (0.01s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/ad/backends/sss 0.094s 315s === RUN TestWinbind 315s winbind_test.go:25: Running subprocess with [/tmp/go-build3164681574/b564/winbind.test -test.testlogfile=/tmp/go-build3164681574/b564/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestWinbind] 315s === RUN TestWinbind 315s === RUN TestWinbind/Lookup_with_overridden_ad_server 315s === RUN TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix 315s === RUN TestWinbind/Error_when_domain_is_offline 315s === RUN TestWinbind/Error_when_looking_up_DC_name 315s === RUN TestWinbind/Error_when_getting_online_status 315s === RUN TestWinbind/Error_when_requesting_krb5cc 315s === RUN TestWinbind/Lookup_is_successful 315s === RUN TestWinbind/Lookup_with_different_hostname_is_successful 315s === RUN TestWinbind/Lookup_with_overridden_ad_domain 315s === RUN TestWinbind/Error_when_looking_up_domain 315s --- PASS: TestWinbind (0.18s) 315s --- PASS: TestWinbind/Lookup_with_overridden_ad_server (0.03s) 315s --- PASS: TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix (0.02s) 315s --- PASS: TestWinbind/Error_when_domain_is_offline (0.02s) 315s --- PASS: TestWinbind/Error_when_looking_up_DC_name (0.03s) 315s --- PASS: TestWinbind/Error_when_getting_online_status (0.03s) 315s --- PASS: TestWinbind/Error_when_requesting_krb5cc (0.01s) 315s --- PASS: TestWinbind/Lookup_is_successful (0.01s) 315s --- PASS: TestWinbind/Lookup_with_different_hostname_is_successful (0.01s) 315s --- PASS: TestWinbind/Lookup_with_overridden_ad_domain (0.02s) 315s --- PASS: TestWinbind/Error_when_looking_up_domain (0.00s) 315s PASS 315s --- PASS: TestWinbind (0.34s) 315s === RUN TestExecuteKinitCommand 315s --- PASS: TestExecuteKinitCommand (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/ad/backends/winbind 0.382s 315s === RUN TestGetVersionID 315s === PAUSE TestGetVersionID 315s === CONT TestGetVersionID 315s === RUN TestGetVersionID/Read_VERSION_ID 315s === PAUSE TestGetVersionID/Read_VERSION_ID 315s === RUN TestGetVersionID/No_VERSION_ID_in_file 315s === PAUSE TestGetVersionID/No_VERSION_ID_in_file 315s === RUN TestGetVersionID/No_os-release_file 315s === PAUSE TestGetVersionID/No_os-release_file 315s === CONT TestGetVersionID/Read_VERSION_ID 315s === CONT TestGetVersionID/No_os-release_file 315s === CONT TestGetVersionID/No_VERSION_ID_in_file 315s --- PASS: TestGetVersionID (0.00s) 315s --- PASS: TestGetVersionID/Read_VERSION_ID (0.00s) 315s --- PASS: TestGetVersionID/No_os-release_file (0.00s) 315s --- PASS: TestGetVersionID/No_VERSION_ID_in_file (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/ad/common 0.014s 315s === RUN TestReadPolicy 315s === PAUSE TestReadPolicy 315s === RUN TestDecodePolicy 315s === PAUSE TestDecodePolicy 315s === CONT TestReadPolicy 315s === RUN TestReadPolicy/invalid_header,_header_too_short 315s === PAUSE TestReadPolicy/invalid_header,_header_too_short 315s === RUN TestReadPolicy/empty_file 315s === PAUSE TestReadPolicy/empty_file 315s === RUN TestReadPolicy/value_is_not_utf16 315s === PAUSE TestReadPolicy/value_is_not_utf16 315s === RUN TestReadPolicy/semicolon_in_data 315s === PAUSE TestReadPolicy/semicolon_in_data 315s === RUN TestReadPolicy/section_separators_in_data 315s === PAUSE TestReadPolicy/section_separators_in_data 315s === RUN TestReadPolicy/empty_value 315s === PAUSE TestReadPolicy/empty_value 315s === RUN TestReadPolicy/invalid_header,_header_doesnt_match 315s === PAUSE TestReadPolicy/invalid_header,_header_doesnt_match 315s === RUN TestReadPolicy/key_is_not_utf16 315s === PAUSE TestReadPolicy/key_is_not_utf16 315s === RUN TestReadPolicy/memory_on_multiple_elements_dont_overlap 315s === PAUSE TestReadPolicy/memory_on_multiple_elements_dont_overlap 315s === RUN TestReadPolicy/exotic_return_type 315s === PAUSE TestReadPolicy/exotic_return_type 315s === RUN TestReadPolicy/one_element,_string_value 315s === PAUSE TestReadPolicy/one_element,_string_value 315s === RUN TestReadPolicy/header_only 315s === PAUSE TestReadPolicy/header_only 315s === RUN TestReadPolicy/invalid_header,_file_truncated 315s === PAUSE TestReadPolicy/invalid_header,_file_truncated 315s === RUN TestReadPolicy/no_header 315s === PAUSE TestReadPolicy/no_header 315s === RUN TestReadPolicy/section_not_closed 315s === PAUSE TestReadPolicy/section_not_closed 315s === RUN TestReadPolicy/missing_field 315s === PAUSE TestReadPolicy/missing_field 315s === RUN TestReadPolicy/empty_key 315s === CONT TestDecodePolicy 315s === RUN TestDecodePolicy/one_element,_decimal_value 315s === PAUSE TestReadPolicy/empty_key 315s === RUN TestReadPolicy/one_element,_decimal_value 315s === PAUSE TestDecodePolicy/one_element,_decimal_value 315s === RUN TestDecodePolicy/one_element,_multitext_value 315s === PAUSE TestDecodePolicy/one_element,_multitext_value 315s === RUN TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 315s === PAUSE TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 315s === RUN TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 315s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 315s === RUN TestDecodePolicy/empty_data 315s === PAUSE TestDecodePolicy/empty_data 315s === RUN TestDecodePolicy/disabled_container_with_disabled_option_values 315s === PAUSE TestDecodePolicy/disabled_container_with_disabled_option_values 315s === RUN TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 315s === PAUSE TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 315s === RUN TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 315s === PAUSE TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 315s === RUN TestDecodePolicy/invalid_header,_header_too_short 315s === PAUSE TestDecodePolicy/invalid_header,_header_too_short 315s === RUN TestDecodePolicy/one_element,_string_value 315s === PAUSE TestDecodePolicy/one_element,_string_value 315s === RUN TestDecodePolicy/basic_type,_enabled 315s === PAUSE TestDecodePolicy/basic_type,_enabled 315s === RUN TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 315s === PAUSE TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 315s === RUN TestDecodePolicy/container_strategy_is_reflected_on_child 315s === PAUSE TestDecodePolicy/container_strategy_is_reflected_on_child 315s === RUN TestDecodePolicy/section_separators_in_data 315s === PAUSE TestReadPolicy/one_element,_decimal_value 315s === RUN TestReadPolicy/two_elements 315s === PAUSE TestDecodePolicy/section_separators_in_data 315s === PAUSE TestReadPolicy/two_elements 315s === RUN TestDecodePolicy/invalid_header,_header_doesnt_match 315s === CONT TestReadPolicy/invalid_header,_header_too_short 315s === PAUSE TestDecodePolicy/invalid_header,_header_doesnt_match 315s === RUN TestDecodePolicy/empty_key 315s === PAUSE TestDecodePolicy/empty_key 315s === RUN TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 315s === PAUSE TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 315s === RUN TestDecodePolicy/exotic_return_type 315s === PAUSE TestDecodePolicy/exotic_return_type 315s === RUN TestDecodePolicy/invalid_decimal_value 315s === PAUSE TestDecodePolicy/invalid_decimal_value 315s === RUN TestDecodePolicy/no_header 315s === PAUSE TestDecodePolicy/no_header 315s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 315s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 315s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 315s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 315s === RUN TestDecodePolicy/container_with_meta_elements_and_value_on_options 315s === PAUSE TestDecodePolicy/container_with_meta_elements_and_value_on_options 315s === RUN TestDecodePolicy/container_without_metavalues 315s === PAUSE TestDecodePolicy/container_without_metavalues 315s === RUN TestDecodePolicy/invalid_container_default_values 315s === PAUSE TestDecodePolicy/invalid_container_default_values 315s === RUN TestDecodePolicy/value_is_not_utf16 315s === PAUSE TestDecodePolicy/value_is_not_utf16 315s === RUN TestDecodePolicy/two_elements 315s === PAUSE TestDecodePolicy/two_elements 315s === RUN TestDecodePolicy/basic_type_with_strategy 315s === PAUSE TestDecodePolicy/basic_type_with_strategy 315s === RUN TestDecodePolicy/disabled_container_disables_its_option_values 315s === CONT TestReadPolicy/one_element,_string_value 315s === CONT TestReadPolicy/missing_field 315s === PAUSE TestDecodePolicy/disabled_container_disables_its_option_values 315s === CONT TestReadPolicy/empty_value 315s === CONT TestReadPolicy/exotic_return_type 315s === CONT TestReadPolicy/memory_on_multiple_elements_dont_overlap 315s === CONT TestReadPolicy/key_is_not_utf16 315s === CONT TestReadPolicy/invalid_header,_header_doesnt_match 315s === RUN TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 315s === PAUSE TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 315s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 315s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 315s === RUN TestDecodePolicy/header_only 315s === PAUSE TestDecodePolicy/header_only 315s === RUN TestDecodePolicy/invalid_header,_file_truncated 315s === PAUSE TestDecodePolicy/invalid_header,_file_truncated 315s === RUN TestDecodePolicy/section_not_closed 315s === PAUSE TestDecodePolicy/section_not_closed 315s === RUN TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 315s === PAUSE TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 315s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 315s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 315s === RUN TestDecodePolicy/empty_value 315s === PAUSE TestDecodePolicy/empty_value 315s === RUN TestDecodePolicy/empty_file 315s === PAUSE TestDecodePolicy/empty_file 315s === RUN TestDecodePolicy/missing_field 315s === PAUSE TestDecodePolicy/missing_field 315s === RUN TestDecodePolicy/one_element,_disabled 315s === PAUSE TestDecodePolicy/one_element,_disabled 315s === RUN TestDecodePolicy/container_with_default_elements_override_empty_option_values 315s === PAUSE TestDecodePolicy/container_with_default_elements_override_empty_option_values 315s === RUN TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 315s === PAUSE TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 315s === RUN TestDecodePolicy/semicolon_in_data 315s === PAUSE TestDecodePolicy/semicolon_in_data 315s === RUN TestDecodePolicy/key_is_not_utf16 315s === PAUSE TestDecodePolicy/key_is_not_utf16 315s === RUN TestDecodePolicy/basic_type,_disabled 315s === PAUSE TestDecodePolicy/basic_type,_disabled 315s === RUN TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 315s === PAUSE TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 315s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 315s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 315s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 315s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 315s === RUN TestDecodePolicy/null_character_in_data 315s === PAUSE TestDecodePolicy/null_character_in_data 315s === CONT TestReadPolicy/one_element,_decimal_value 315s === CONT TestReadPolicy/two_elements 315s === CONT TestReadPolicy/empty_key 315s === CONT TestReadPolicy/no_header 315s === CONT TestReadPolicy/section_not_closed 315s === CONT TestReadPolicy/semicolon_in_data 315s === CONT TestReadPolicy/section_separators_in_data 315s === CONT TestReadPolicy/invalid_header,_file_truncated 315s === CONT TestReadPolicy/value_is_not_utf16 315s === CONT TestReadPolicy/empty_file 315s === CONT TestReadPolicy/header_only 315s === CONT TestDecodePolicy/one_element,_decimal_value 315s === CONT TestDecodePolicy/null_character_in_data 315s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 315s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 315s === CONT TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 315s === CONT TestDecodePolicy/basic_type,_disabled 315s === CONT TestDecodePolicy/key_is_not_utf16 315s === CONT TestDecodePolicy/semicolon_in_data 315s === CONT TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 315s === CONT TestDecodePolicy/container_with_default_elements_override_empty_option_values 315s === CONT TestDecodePolicy/one_element,_disabled 315s === CONT TestDecodePolicy/missing_field 315s === CONT TestDecodePolicy/empty_file 315s === CONT TestDecodePolicy/empty_value 315s --- PASS: TestReadPolicy (0.00s) 315s --- PASS: TestReadPolicy/invalid_header,_header_too_short (0.00s) 315s --- PASS: TestReadPolicy/one_element,_string_value (0.00s) 315s --- PASS: TestReadPolicy/empty_value (0.00s) 315s --- PASS: TestReadPolicy/empty_key (0.00s) 315s --- PASS: TestReadPolicy/no_header (0.00s) 315s --- PASS: TestReadPolicy/section_not_closed (0.00s) 315s --- PASS: TestReadPolicy/memory_on_multiple_elements_dont_overlap (0.00s) 315s --- PASS: TestReadPolicy/exotic_return_type (0.00s) 315s --- PASS: TestReadPolicy/two_elements (0.00s) 315s --- PASS: TestReadPolicy/key_is_not_utf16 (0.00s) 315s --- PASS: TestReadPolicy/invalid_header,_header_doesnt_match (0.00s) 315s --- PASS: TestReadPolicy/one_element,_decimal_value (0.00s) 315s --- PASS: TestReadPolicy/semicolon_in_data (0.00s) 315s --- PASS: TestReadPolicy/missing_field (0.01s) 315s --- PASS: TestReadPolicy/invalid_header,_file_truncated (0.00s) 315s --- PASS: TestReadPolicy/section_separators_in_data (0.00s) 315s --- PASS: TestReadPolicy/empty_file (0.00s) 315s --- PASS: TestReadPolicy/header_only (0.00s) 315s --- PASS: TestReadPolicy/value_is_not_utf16 (0.00s) 315s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 315s === CONT TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 315s === CONT TestDecodePolicy/section_not_closed 315s === CONT TestDecodePolicy/invalid_header,_file_truncated 315s === CONT TestDecodePolicy/header_only 315s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 315s === CONT TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 315s === CONT TestDecodePolicy/disabled_container_disables_its_option_values 315s === CONT TestDecodePolicy/basic_type_with_strategy 315s === CONT TestDecodePolicy/two_elements 315s === CONT TestDecodePolicy/value_is_not_utf16 315s === CONT TestDecodePolicy/invalid_container_default_values 315s === CONT TestDecodePolicy/container_without_metavalues 315s === CONT TestDecodePolicy/container_with_meta_elements_and_value_on_options 315s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 315s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 315s === CONT TestDecodePolicy/no_header 315s === CONT TestDecodePolicy/invalid_decimal_value 315s === CONT TestDecodePolicy/exotic_return_type 315s === CONT TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 315s === CONT TestDecodePolicy/empty_key 315s === CONT TestDecodePolicy/invalid_header,_header_doesnt_match 315s === CONT TestDecodePolicy/section_separators_in_data 315s === CONT TestDecodePolicy/container_strategy_is_reflected_on_child 315s === CONT TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 315s === CONT TestDecodePolicy/basic_type,_enabled 315s === CONT TestDecodePolicy/one_element,_string_value 315s === CONT TestDecodePolicy/invalid_header,_header_too_short 315s === CONT TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 315s === CONT TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 315s === CONT TestDecodePolicy/disabled_container_with_disabled_option_values 315s === CONT TestDecodePolicy/empty_data 315s === CONT TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 315s === CONT TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 315s === CONT TestDecodePolicy/one_element,_multitext_value 315s --- PASS: TestDecodePolicy (0.00s) 315s --- PASS: TestDecodePolicy/basic_type_with_default_value_has_value_filed_in (0.00s) 315s --- PASS: TestDecodePolicy/basic_type,_disabled (0.00s) 315s --- PASS: TestDecodePolicy/key_is_not_utf16 (0.00s) 315s --- PASS: TestDecodePolicy/semicolon_in_data (0.00s) 315s --- PASS: TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type (0.00s) 315s --- PASS: TestDecodePolicy/container_with_default_elements_override_empty_option_values (0.00s) 315s --- PASS: TestDecodePolicy/null_character_in_data (0.00s) 315s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined (0.00s) 315s --- PASS: TestDecodePolicy/one_element,_decimal_value (0.00s) 315s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values (0.00s) 315s --- PASS: TestDecodePolicy/empty_value (0.00s) 315s --- PASS: TestDecodePolicy/invalid_header,_file_truncated (0.00s) 315s --- PASS: TestDecodePolicy/section_not_closed (0.00s) 315s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none (0.00s) 315s --- PASS: TestDecodePolicy/one_element,_disabled (0.00s) 315s --- PASS: TestDecodePolicy/header_only (0.00s) 315s --- PASS: TestDecodePolicy/two_elements (0.00s) 315s --- PASS: TestDecodePolicy/value_is_not_utf16 (0.00s) 315s --- PASS: TestDecodePolicy/invalid_container_default_values (0.00s) 315s --- PASS: TestDecodePolicy/container_without_metavalues (0.00s) 315s --- PASS: TestDecodePolicy/container_with_meta_elements_and_value_on_options (0.00s) 315s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) (0.00s) 315s --- PASS: TestDecodePolicy/missing_field (0.01s) 315s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values (0.00s) 315s --- PASS: TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy (0.01s) 315s --- PASS: TestDecodePolicy/no_header (0.00s) 315s --- PASS: TestDecodePolicy/empty_file (0.01s) 315s --- PASS: TestDecodePolicy/empty_key (0.00s) 315s --- PASS: TestDecodePolicy/invalid_header,_header_doesnt_match (0.00s) 315s --- PASS: TestDecodePolicy/section_separators_in_data (0.00s) 315s --- PASS: TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker (0.00s) 315s --- PASS: TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker (0.00s) 315s --- PASS: TestDecodePolicy/basic_type,_enabled (0.00s) 315s --- PASS: TestDecodePolicy/one_element,_string_value (0.00s) 315s --- PASS: TestDecodePolicy/invalid_header,_header_too_short (0.00s) 315s --- PASS: TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type (0.00s) 315s --- PASS: TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker (0.00s) 315s --- PASS: TestDecodePolicy/disabled_container_with_disabled_option_values (0.00s) 315s --- PASS: TestDecodePolicy/empty_data (0.00s) 315s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values (0.01s) 315s --- PASS: TestDecodePolicy/invalid_decimal_value (0.00s) 315s --- PASS: TestDecodePolicy/container_strategy_is_reflected_on_child (0.00s) 315s --- PASS: TestDecodePolicy/disabled_container_disables_its_option_values (0.01s) 315s --- PASS: TestDecodePolicy/exotic_return_type (0.00s) 315s --- PASS: TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options (0.01s) 315s --- PASS: TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings (0.00s) 315s --- PASS: TestDecodePolicy/one_element,_multitext_value (0.00s) 315s --- PASS: TestDecodePolicy/basic_type_with_strategy (0.01s) 315s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none (0.00s) 315s === RUN FuzzDecodePolicy 315s === RUN FuzzDecodePolicy/seed#0 315s === RUN FuzzDecodePolicy/seed#1 315s === RUN FuzzDecodePolicy/seed#2 315s === RUN FuzzDecodePolicy/seed#3 315s === RUN FuzzDecodePolicy/seed#4 315s === RUN FuzzDecodePolicy/seed#5 315s === RUN FuzzDecodePolicy/seed#6 315s === RUN FuzzDecodePolicy/seed#7 315s === RUN FuzzDecodePolicy/seed#8 315s === RUN FuzzDecodePolicy/seed#9 315s === RUN FuzzDecodePolicy/seed#10 315s === RUN FuzzDecodePolicy/seed#11 315s === RUN FuzzDecodePolicy/seed#12 315s === RUN FuzzDecodePolicy/seed#13 315s === RUN FuzzDecodePolicy/seed#14 315s === RUN FuzzDecodePolicy/seed#15 315s === RUN FuzzDecodePolicy/seed#16 315s === RUN FuzzDecodePolicy/seed#17 315s === RUN FuzzDecodePolicy/seed#18 315s === RUN FuzzDecodePolicy/seed#19 315s === RUN FuzzDecodePolicy/seed#20 315s === RUN FuzzDecodePolicy/seed#21 315s === RUN FuzzDecodePolicy/seed#22 315s === RUN FuzzDecodePolicy/seed#23 315s === RUN FuzzDecodePolicy/seed#24 315s === RUN FuzzDecodePolicy/seed#25 315s === RUN FuzzDecodePolicy/seed#26 315s === RUN FuzzDecodePolicy/seed#27 315s === RUN FuzzDecodePolicy/seed#28 315s === RUN FuzzDecodePolicy/seed#29 315s === RUN FuzzDecodePolicy/seed#30 315s === RUN FuzzDecodePolicy/seed#31 315s === RUN FuzzDecodePolicy/seed#32 315s === RUN FuzzDecodePolicy/seed#33 315s === RUN FuzzDecodePolicy/seed#34 315s === RUN FuzzDecodePolicy/seed#35 315s === RUN FuzzDecodePolicy/seed#36 315s === RUN FuzzDecodePolicy/seed#37 315s === RUN FuzzDecodePolicy/seed#38 315s === RUN FuzzDecodePolicy/seed#39 315s === RUN FuzzDecodePolicy/seed#40 315s === RUN FuzzDecodePolicy/seed#41 315s === RUN FuzzDecodePolicy/seed#42 315s === RUN FuzzDecodePolicy/seed#43 315s === RUN FuzzDecodePolicy/seed#44 315s === RUN FuzzDecodePolicy/seed#45 315s === RUN FuzzDecodePolicy/seed#46 315s === RUN FuzzDecodePolicy/seed#47 315s === RUN FuzzDecodePolicy/seed#48 315s === RUN FuzzDecodePolicy/seed#49 315s === RUN FuzzDecodePolicy/seed#50 315s === RUN FuzzDecodePolicy/seed#51 315s === RUN FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 315s --- PASS: FuzzDecodePolicy (0.01s) 315s --- PASS: FuzzDecodePolicy/seed#0 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#1 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#2 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#3 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#4 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#5 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#6 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#7 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#8 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#9 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#10 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#11 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#12 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#13 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#14 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#15 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#16 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#17 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#18 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#19 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#20 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#21 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#22 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#23 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#24 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#25 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#26 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#27 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#28 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#29 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#30 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#31 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#32 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#33 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#34 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#35 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#36 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#37 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#38 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#39 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#40 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#41 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#42 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#43 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#44 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#45 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#46 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#47 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#48 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#49 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#50 (0.00s) 315s --- PASS: FuzzDecodePolicy/seed#51 (0.00s) 315s --- PASS: FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/ad/registry 0.060s 315s === RUN TestNew 315s === PAUSE TestNew 315s === CONT TestNew 315s === RUN TestNew/Unknown_backend_defaults_to_sssd 315s === PAUSE TestNew/Unknown_backend_defaults_to_sssd 315s === RUN TestNew/Select_winbind_backend_explicitly 315s === PAUSE TestNew/Select_winbind_backend_explicitly 315s === RUN TestNew/Error_on_failure_to_create_cache_directory 315s === PAUSE TestNew/Error_on_failure_to_create_cache_directory 315s === RUN TestNew/Error_on_nonexistent_sssd.conf 315s === PAUSE TestNew/Error_on_nonexistent_sssd.conf 315s === RUN TestNew/Error_on_ad.New_prevents_adsysservice_creation 315s === PAUSE TestNew/Error_on_ad.New_prevents_adsysservice_creation 315s === RUN TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 315s === PAUSE TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 315s === RUN TestNew/Adsys_directory_can_already_exists 315s === PAUSE TestNew/Adsys_directory_can_already_exists 315s === RUN TestNew/Select_sssd_backend_explicitly 315s === PAUSE TestNew/Select_sssd_backend_explicitly 315s === RUN TestNew/Error_on_failure_to_create_run_directory 315s === PAUSE TestNew/Error_on_failure_to_create_run_directory 315s === CONT TestNew/Unknown_backend_defaults_to_sssd 315s === CONT TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 315s === CONT TestNew/Error_on_ad.New_prevents_adsysservice_creation 315s === CONT TestNew/Error_on_failure_to_create_run_directory 315s === CONT TestNew/Error_on_failure_to_create_cache_directory 315s === CONT TestNew/Select_winbind_backend_explicitly 315s === CONT TestNew/Select_sssd_backend_explicitly 315s === CONT TestNew/Error_on_nonexistent_sssd.conf 315s === CONT TestNew/Adsys_directory_can_already_exists 315s time="2024-11-29T20:36:10Z" level=warning msg="Unknown configured backend \"unknown-backend\". Defaulting to sssd." 315s time="2024-11-29T20:36:10Z" level=warning msg="could not get online status for domain \"example.com\": status code 6" 315s --- PASS: TestNew (0.00s) 315s --- PASS: TestNew/Error_on_failure_to_create_cache_directory (0.03s) 315s --- PASS: TestNew/Error_on_failure_to_create_run_directory (0.03s) 315s --- PASS: TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run (0.03s) 315s --- PASS: TestNew/Select_winbind_backend_explicitly (0.04s) 315s --- PASS: TestNew/Error_on_nonexistent_sssd.conf (0.04s) 315s --- PASS: TestNew/Error_on_ad.New_prevents_adsysservice_creation (0.05s) 315s --- PASS: TestNew/Adsys_directory_can_already_exists (0.02s) 315s --- PASS: TestNew/Select_sssd_backend_explicitly (0.05s) 315s --- PASS: TestNew/Unknown_backend_defaults_to_sssd (0.06s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/adsysservice 0.230s 315s === RUN TestIsAllowed 315s === PAUSE TestIsAllowed 315s === RUN TestPeerCredsInfoAuthType 315s === PAUSE TestPeerCredsInfoAuthType 315s === RUN TestServerPeerCredsHandshake 315s === PAUSE TestServerPeerCredsHandshake 315s === RUN TestServerPeerCredsInvalidSocket 315s === PAUSE TestServerPeerCredsInvalidSocket 315s === RUN TestIsAllowedFromContext 315s === PAUSE TestIsAllowedFromContext 315s === RUN TestIsAllowedFromContextWithoutPeer 315s === PAUSE TestIsAllowedFromContextWithoutPeer 315s === RUN TestIsAllowedFromContextWithInvalidPeerCreds 315s === PAUSE TestIsAllowedFromContextWithInvalidPeerCreds 315s === RUN TestIsAllowedFromContextWithoutUserKey 315s === PAUSE TestIsAllowedFromContextWithoutUserKey 315s === CONT TestIsAllowed 315s === CONT TestIsAllowedFromContextWithoutUserKey 315s === CONT TestIsAllowedFromContextWithInvalidPeerCreds 315s === CONT TestIsAllowedFromContextWithoutPeer 315s === CONT TestIsAllowedFromContext 315s === CONT TestServerPeerCredsInvalidSocket 315s --- PASS: TestServerPeerCredsInvalidSocket (0.00s) 315s === CONT TestServerPeerCredsHandshake 315s === CONT TestPeerCredsInfoAuthType 315s --- PASS: TestPeerCredsInfoAuthType (0.00s) 315s --- PASS: TestServerPeerCredsHandshake (0.00s) 315s --- PASS: TestIsAllowedFromContextWithoutPeer (0.03s) 315s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 315s === RUN TestIsAllowedFromContext/Root_is_always_authorized 315s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 315s === RUN TestIsAllowed/Polkit_dbus_call_errors_out 315s === PAUSE TestIsAllowedFromContext/Root_is_always_authorized 315s === PAUSE TestIsAllowed/Polkit_dbus_call_errors_out 315s === RUN TestIsAllowedFromContext/Valid_process_and_ACK 315s --- PASS: TestIsAllowedFromContextWithInvalidPeerCreds (0.03s) 315s === PAUSE TestIsAllowedFromContext/Valid_process_and_ACK 315s === RUN TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 315s === RUN TestIsAllowedFromContext/Valid_process_and_NACK 315s === PAUSE TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 315s === RUN TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 315s === PAUSE TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 315s === RUN TestIsAllowed/Valid_process_and_ACK 315s === PAUSE TestIsAllowed/Valid_process_and_ACK 315s === RUN TestIsAllowed/Valid_process_and_NACK 315s === PAUSE TestIsAllowed/Valid_process_and_NACK 315s === RUN TestIsAllowed/Invalid_process_stat_file:_missing_) 315s === PAUSE TestIsAllowed/Invalid_process_stat_file:_missing_) 315s === PAUSE TestIsAllowedFromContext/Valid_process_and_NACK 315s === RUN TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 315s === PAUSE TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 315s === RUN TestIsAllowedFromContext/Extract_current_user_action_from_request 315s === RUN TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 315s === PAUSE TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 315s === PAUSE TestIsAllowedFromContext/Extract_current_user_action_from_request 315s === RUN TestIsAllowed/Root_is_always_authorized 315s === RUN TestIsAllowedFromContext/Extract_other_user_action_from_request 315s === PAUSE TestIsAllowed/Root_is_always_authorized 315s === PAUSE TestIsAllowedFromContext/Extract_other_user_action_from_request 315s === RUN TestIsAllowed/Process_doesn't_exists 315s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 315s === PAUSE TestIsAllowed/Process_doesn't_exists 315s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 315s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 315s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 315s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 315s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 315s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 315s === CONT TestIsAllowedFromContext/Root_is_always_authorized 315s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 315s --- PASS: TestIsAllowedFromContextWithoutUserKey (0.03s) 315s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 315s === CONT TestIsAllowed/Invalid_process_stat_file:_missing_) 315s === CONT TestIsAllowedFromContext/Valid_process_and_NACK 315s === CONT TestIsAllowedFromContext/Extract_other_user_action_from_request 315s === CONT TestIsAllowedFromContext/Extract_current_user_action_from_request 315s === CONT TestIsAllowedFromContext/Valid_process_and_ACK 315s === CONT TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 315s === CONT TestIsAllowed/Valid_process_and_NACK 315s === CONT TestIsAllowed/Valid_process_and_ACK 315s === CONT TestIsAllowed/Polkit_dbus_call_errors_out 315s === CONT TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 315s === CONT TestIsAllowed/Root_is_always_authorized 315s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 315s === CONT TestIsAllowed/Process_doesn't_exists 315s === CONT TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 315s === CONT TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 315s --- PASS: TestIsAllowedFromContext (0.03s) 315s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid (0.00s) 315s --- PASS: TestIsAllowedFromContext/Valid_process_and_ACK (0.00s) 315s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error (0.00s) 315s --- PASS: TestIsAllowedFromContext/Root_is_always_authorized (0.00s) 315s --- PASS: TestIsAllowedFromContext/Valid_process_and_NACK (0.00s) 315s --- PASS: TestIsAllowedFromContext/Extract_other_user_action_from_request (0.00s) 315s --- PASS: TestIsAllowedFromContext/Extract_current_user_action_from_request (0.00s) 315s --- PASS: TestIsAllowed (0.04s) 315s --- PASS: TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID (0.00s) 315s --- PASS: TestIsAllowed/Valid_process_and_NACK (0.00s) 315s --- PASS: TestIsAllowed/Valid_process_and_ACK (0.00s) 315s --- PASS: TestIsAllowed/ActionAlwaysAllowed_is_always_allowed (0.00s) 315s --- PASS: TestIsAllowed/Invalid_process_stat_file:_missing_) (0.00s) 315s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_present (0.00s) 315s --- PASS: TestIsAllowed/Process_doesn't_exists (0.00s) 315s --- PASS: TestIsAllowed/Invalid_process_stat_file:_)_at_the_end (0.00s) 315s --- PASS: TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID (0.00s) 315s --- PASS: TestIsAllowed/Root_is_always_authorized (0.00s) 315s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int (0.00s) 315s --- PASS: TestIsAllowed/Polkit_dbus_call_errors_out (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/authorizer 0.100s 315s === RUN TestSetVerboseMode 315s === RUN TestSetVerboseMode/Default_level_is_warning 315s === RUN TestSetVerboseMode/1_is_for_info 315s === RUN TestSetVerboseMode/2_is_for_debug 315s === RUN TestSetVerboseMode/3_is_debug_printing_callers 315s --- PASS: TestSetVerboseMode (0.00s) 315s --- PASS: TestSetVerboseMode/Default_level_is_warning (0.00s) 315s --- PASS: TestSetVerboseMode/1_is_for_info (0.00s) 315s --- PASS: TestSetVerboseMode/2_is_for_debug (0.00s) 315s --- PASS: TestSetVerboseMode/3_is_debug_printing_callers (0.00s) 315s === RUN TestInit 315s === RUN TestInit/Load_configuration_with_file 315s === RUN TestInit/Configuration_flag,_not_in_config_dir 315s === RUN TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand 315s === RUN TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account 315s === RUN TestInit/Callback_in_error_on_refresh_only_prints_warning 315s time="2024-11-29T20:36:17Z" level=warning msg="Error while refreshing configuration: Error from callback" 315s === RUN TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand 315s === RUN TestInit/Configuration_flag_has_precedence_over_local_file 315s === RUN TestInit/Error_on_invalid_configuration_file 315s === RUN TestInit/Error_on_config_flag_points_to_unexisting_path 315s === RUN TestInit/Load_configuration,_no_file,_no_flag,_no_env 315s === RUN TestInit/Load_configuration_from_executable_dir 315s === RUN TestInit/No_config_flag_set_before_Init_is_call_is_ignored 315s === RUN TestInit/Empty_configuration_file_is_supported 315s === RUN TestInit/Flag_is_supported 315s === RUN TestInit/Environment_is_supported 315s === RUN TestInit/Configuration_changed_directly 315s === RUN TestInit/Configuration_file_overwritten 315s === RUN TestInit/Flag_has_precedence_over_env 315s === RUN TestInit/Env_has_precedence_over_configuration 315s === RUN TestInit/Error_on_no_verbose_flag_set_before_Init_is_call 315s === RUN TestInit/Error_on_callback_returning_error_on_first_call 315s --- PASS: TestInit (11.60s) 315s --- PASS: TestInit/Load_configuration_with_file (0.45s) 315s --- PASS: TestInit/Configuration_flag,_not_in_config_dir (0.13s) 315s --- PASS: TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand (0.02s) 315s --- PASS: TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account (4.36s) 315s --- PASS: TestInit/Callback_in_error_on_refresh_only_prints_warning (2.25s) 315s --- PASS: TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand (0.02s) 315s --- PASS: TestInit/Configuration_flag_has_precedence_over_local_file (0.02s) 315s --- PASS: TestInit/Error_on_invalid_configuration_file (0.02s) 315s --- PASS: TestInit/Error_on_config_flag_points_to_unexisting_path (0.02s) 315s --- PASS: TestInit/Load_configuration,_no_file,_no_flag,_no_env (0.02s) 315s --- PASS: TestInit/Load_configuration_from_executable_dir (0.04s) 315s --- PASS: TestInit/No_config_flag_set_before_Init_is_call_is_ignored (0.01s) 315s --- PASS: TestInit/Empty_configuration_file_is_supported (0.01s) 315s --- PASS: TestInit/Flag_is_supported (0.01s) 315s --- PASS: TestInit/Environment_is_supported (0.01s) 315s --- PASS: TestInit/Configuration_changed_directly (2.08s) 315s --- PASS: TestInit/Configuration_file_overwritten (2.07s) 315s --- PASS: TestInit/Flag_has_precedence_over_env (0.01s) 315s --- PASS: TestInit/Env_has_precedence_over_configuration (0.01s) 315s --- PASS: TestInit/Error_on_no_verbose_flag_set_before_Init_is_call (0.00s) 315s --- PASS: TestInit/Error_on_callback_returning_error_on_first_call (0.01s) 315s === RUN TestLoadConfig 315s === PAUSE TestLoadConfig 315s === CONT TestLoadConfig 315s === RUN TestLoadConfig/Empty_configuration_is_supported 315s === PAUSE TestLoadConfig/Empty_configuration_is_supported 315s === RUN TestLoadConfig/Load_configuration_deserialize_its 315s === PAUSE TestLoadConfig/Load_configuration_deserialize_its 315s === CONT TestLoadConfig/Empty_configuration_is_supported 315s === CONT TestLoadConfig/Load_configuration_deserialize_its 315s --- PASS: TestLoadConfig (0.00s) 315s --- PASS: TestLoadConfig/Empty_configuration_is_supported (0.00s) 315s --- PASS: TestLoadConfig/Load_configuration_deserialize_its (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/config 11.651s 315s === RUN TestConfigFileFromArgs 315s === PAUSE TestConfigFileFromArgs 315s === RUN TestDirsFromConfigFile 315s === PAUSE TestDirsFromConfigFile 315s === RUN TestWriteConfig 315s === RUN TestWriteConfig/Error_on_empty_dirs 315s === RUN TestWriteConfig/With_relative_config_path 315s === RUN TestWriteConfig/With_nested_config_path 315s === RUN TestWriteConfig/Error_on_absent_dirs 315s --- PASS: TestWriteConfig (0.00s) 315s --- PASS: TestWriteConfig/Error_on_empty_dirs (0.00s) 315s --- PASS: TestWriteConfig/With_relative_config_path (0.00s) 315s --- PASS: TestWriteConfig/With_nested_config_path (0.00s) 315s --- PASS: TestWriteConfig/Error_on_absent_dirs (0.00s) 315s === CONT TestConfigFileFromArgs 315s === CONT TestDirsFromConfigFile 315s === RUN TestDirsFromConfigFile/No_config_file 315s === PAUSE TestDirsFromConfigFile/No_config_file 315s === RUN TestDirsFromConfigFile/Empty_config_file 315s === PAUSE TestDirsFromConfigFile/Empty_config_file 315s === RUN TestDirsFromConfigFile/No_dirs_in_config_file 315s === PAUSE TestDirsFromConfigFile/No_dirs_in_config_file 315s === RUN TestDirsFromConfigFile/Config_dirs_is_not_an_array 315s === PAUSE TestDirsFromConfigFile/Config_dirs_is_not_an_array 315s === RUN TestDirsFromConfigFile/Config_dirs_is_an_array 315s === PAUSE TestDirsFromConfigFile/Config_dirs_is_an_array 315s === RUN TestConfigFileFromArgs/Short_config_argument_with_quotes 315s === PAUSE TestConfigFileFromArgs/Short_config_argument_with_quotes 315s === RUN TestConfigFileFromArgs/Error_on_empty_args 315s === PAUSE TestConfigFileFromArgs/Error_on_empty_args 315s === RUN TestConfigFileFromArgs/Error_on_no_config_argument 315s === PAUSE TestConfigFileFromArgs/Error_on_no_config_argument 315s === RUN TestConfigFileFromArgs/Error_on_config_argument_with_no_value 315s === PAUSE TestConfigFileFromArgs/Error_on_config_argument_with_no_value 315s === RUN TestConfigFileFromArgs/Short_config_argument 315s === PAUSE TestConfigFileFromArgs/Short_config_argument 315s === CONT TestConfigFileFromArgs/Short_config_argument_with_quotes 315s === CONT TestDirsFromConfigFile/No_config_file 315s === CONT TestConfigFileFromArgs/Short_config_argument 315s === CONT TestConfigFileFromArgs/Error_on_config_argument_with_no_value 315s === CONT TestConfigFileFromArgs/Error_on_no_config_argument 315s === CONT TestConfigFileFromArgs/Error_on_empty_args 315s --- PASS: TestConfigFileFromArgs (0.00s) 315s --- PASS: TestConfigFileFromArgs/Short_config_argument_with_quotes (0.00s) 315s --- PASS: TestConfigFileFromArgs/Short_config_argument (0.00s) 315s --- PASS: TestConfigFileFromArgs/Error_on_config_argument_with_no_value (0.00s) 315s --- PASS: TestConfigFileFromArgs/Error_on_no_config_argument (0.00s) 315s --- PASS: TestConfigFileFromArgs/Error_on_empty_args (0.00s) 315s === CONT TestDirsFromConfigFile/Config_dirs_is_an_array 315s === CONT TestDirsFromConfigFile/Config_dirs_is_not_an_array 315s === CONT TestDirsFromConfigFile/No_dirs_in_config_file 315s === CONT TestDirsFromConfigFile/Empty_config_file 315s --- PASS: TestDirsFromConfigFile (0.00s) 315s --- PASS: TestDirsFromConfigFile/No_config_file (0.00s) 315s --- PASS: TestDirsFromConfigFile/Config_dirs_is_an_array (0.00s) 315s --- PASS: TestDirsFromConfigFile/Config_dirs_is_not_an_array (0.00s) 315s --- PASS: TestDirsFromConfigFile/Empty_config_file (0.00s) 315s --- PASS: TestDirsFromConfigFile/No_dirs_in_config_file (0.01s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/config/watchd 0.057s 315s === RUN TestStartStop 315s === PAUSE TestStartStop 315s === RUN TestStopBeforeServe 315s === PAUSE TestStopBeforeServe 315s === RUN TestChangeSocket 315s === PAUSE TestChangeSocket 315s === RUN TestSocketActivation 315s === PAUSE TestSocketActivation 315s === RUN TestUseSocketIgnoredWithSocketActivation 315s === PAUSE TestUseSocketIgnoredWithSocketActivation 315s === RUN TestSdNotifier 315s === PAUSE TestSdNotifier 315s === RUN TestFailingOption 315s === PAUSE TestFailingOption 315s === RUN TestCannotCreateSocket 315s === PAUSE TestCannotCreateSocket 315s === RUN TestServerStartListenTimeout 315s === PAUSE TestServerStartListenTimeout 315s === RUN TestServerDontTimeoutWithActiveRequest 315s === PAUSE TestServerDontTimeoutWithActiveRequest 315s === RUN TestServerDontTimeoutWithMultipleActiveRequests 315s === PAUSE TestServerDontTimeoutWithMultipleActiveRequests 315s === RUN TestServerChangeTimeout 315s === PAUSE TestServerChangeTimeout 315s === RUN TestServerDoubleQuit 315s === PAUSE TestServerDoubleQuit 315s === CONT TestStartStop 315s === CONT TestCannotCreateSocket 315s === CONT TestUseSocketIgnoredWithSocketActivation 315s === CONT TestChangeSocket 315s === CONT TestSocketActivation 315s --- PASS: TestCannotCreateSocket (0.00s) 315s === CONT TestStopBeforeServe 315s === RUN TestSocketActivation/Error_when_Listeners()_fails 315s === PAUSE TestSocketActivation/Error_when_Listeners()_fails 315s === RUN TestSocketActivation/Success_with_one_socket 315s === PAUSE TestSocketActivation/Success_with_one_socket 315s === RUN TestSocketActivation/Error_when_provided_with_many_sockets 315s === PAUSE TestSocketActivation/Error_when_provided_with_many_sockets 315s === CONT TestSocketActivation/Error_when_Listeners()_fails 315s === CONT TestServerDontTimeoutWithActiveRequest 315s === CONT TestServerDoubleQuit 315s === CONT TestServerChangeTimeout 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestStartStop3115811478/001/test.sock" 315s === CONT TestServerDontTimeoutWithMultipleActiveRequests 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestChangeSocket3100749792/001/test.sock" 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestUseSocketIgnoredWithSocketActivation877511541/001/socket" 315s --- PASS: TestStopBeforeServe (0.00s) 315s === CONT TestSocketActivation/Error_when_provided_with_many_sockets 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s === CONT TestServerStartListenTimeout 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithMultipleActiveRequests3262691079/001/test.sock" 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithActiveRequest2530952372/001/test.sock" 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestServerDoubleQuit1148768287/001/test.sock" 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestServerChangeTimeout603909803/001/test.sock" 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestServerStartListenTimeout1683121221/001/test.sock" 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s --- PASS: TestStartStop (0.01s) 315s === CONT TestSdNotifier 315s === RUN TestSdNotifier/Sends_signal 315s === PAUSE TestSdNotifier/Sends_signal 315s === RUN TestSdNotifier/Doesn't_fail_when_not_under_systemd 315s === PAUSE TestSdNotifier/Doesn't_fail_when_not_under_systemd 315s === RUN TestSdNotifier/Error_when_notifier_fails 315s === PAUSE TestSdNotifier/Error_when_notifier_fails 315s === CONT TestSocketActivation/Success_with_one_socket 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestSocketActivationSuccess_with_one_socket1228733740/001/sock1" 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestChangeSocket3100749792/001/test2.sock" 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s --- PASS: TestServerStartListenTimeout (0.01s) 315s === CONT TestFailingOption 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s --- PASS: TestServerDoubleQuit (0.02s) 315s === CONT TestSdNotifier/Sends_signal 315s --- PASS: TestFailingOption (0.00s) 315s === CONT TestSdNotifier/Error_when_notifier_fails 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestSdNotifierSends_signal4274419091/001/socket" 315s === CONT TestSdNotifier/Doesn't_fail_when_not_under_systemd 315s time="2024-11-29T20:36:11Z" level=info msg="Serving on /tmp/TestSdNotifierDoesnt_fail_when_not_under_systemd3118850758/001/socket" 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s --- PASS: TestSocketActivation (0.00s) 315s --- PASS: TestSocketActivation/Error_when_Listeners()_fails (0.00s) 315s --- PASS: TestSocketActivation/Error_when_provided_with_many_sockets (0.00s) 315s --- PASS: TestSocketActivation/Success_with_one_socket (0.01s) 315s --- PASS: TestUseSocketIgnoredWithSocketActivation (0.03s) 315s --- PASS: TestChangeSocket (0.03s) 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Wait for active requests to close." 315s --- PASS: TestSdNotifier (0.00s) 315s --- PASS: TestSdNotifier/Error_when_notifier_fails (0.00s) 315s --- PASS: TestSdNotifier/Sends_signal (0.01s) 315s --- PASS: TestSdNotifier/Doesn't_fail_when_not_under_systemd (0.01s) 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s --- PASS: TestServerChangeTimeout (0.05s) 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s time="2024-11-29T20:36:11Z" level=info msg="Stopping daemon requested." 315s --- PASS: TestServerDontTimeoutWithActiveRequest (0.12s) 315s --- PASS: TestServerDontTimeoutWithMultipleActiveRequests (0.12s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/daemon 0.160s 315s === RUN TestCleanDirectory 315s === PAUSE TestCleanDirectory 315s === RUN TestCleanDirectoryNoDirectoryExists 315s === PAUSE TestCleanDirectoryNoDirectoryExists 315s === RUN TestCleanDirectoryCantRemoveDirectory 315s === PAUSE TestCleanDirectoryCantRemoveDirectory 315s === RUN TestInstallOnlyMode 315s --- PASS: TestInstallOnlyMode (0.00s) 315s === RUN TestDestDirectory 315s --- PASS: TestDestDirectory (0.00s) 315s === CONT TestCleanDirectory 315s === CONT TestCleanDirectoryCantRemoveDirectory 315s === CONT TestCleanDirectoryNoDirectoryExists 315s --- PASS: TestCleanDirectoryCantRemoveDirectory (0.00s) 315s --- PASS: TestCleanDirectory (0.00s) 315s --- PASS: TestCleanDirectoryNoDirectoryExists (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/generators 0.026s 315s === RUN TestNoNotification 315s === PAUSE TestNoNotification 315s === RUN TestNewConnectionNotification 315s === PAUSE TestNewConnectionNotification 315s === RUN TestDoneConnectionNotification 315s === PAUSE TestDoneConnectionNotification 315s === RUN TestErrorFromHandlerReturned 315s === PAUSE TestErrorFromHandlerReturned 315s === RUN TestErrorOnNilStream 315s === PAUSE TestErrorOnNilStream 315s === CONT TestNoNotification 315s --- PASS: TestNoNotification (0.00s) 315s === CONT TestErrorOnNilStream 315s --- PASS: TestErrorOnNilStream (0.00s) 315s === CONT TestErrorFromHandlerReturned 315s --- PASS: TestErrorFromHandlerReturned (0.00s) 315s === CONT TestDoneConnectionNotification 315s --- PASS: TestDoneConnectionNotification (0.00s) 315s === CONT TestNewConnectionNotification 315s --- PASS: TestNewConnectionNotification (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/grpc/connectionnotify 0.049s 315s === RUN TestActiveConnection 315s === PAUSE TestActiveConnection 315s === RUN TestTimeoutOnInactiveConnection 315s === PAUSE TestTimeoutOnInactiveConnection 315s === RUN TestCancelOnClientSide 315s === PAUSE TestCancelOnClientSide 315s === RUN TestClientInterceptorFailed 315s === PAUSE TestClientInterceptorFailed 315s === RUN TestRecvMessageError 315s === PAUSE TestRecvMessageError 315s === CONT TestActiveConnection 315s === CONT TestRecvMessageError 315s --- PASS: TestRecvMessageError (0.00s) 315s === CONT TestClientInterceptorFailed 315s --- PASS: TestClientInterceptorFailed (0.00s) 315s === CONT TestCancelOnClientSide 315s --- PASS: TestCancelOnClientSide (0.00s) 315s === CONT TestTimeoutOnInactiveConnection 315s --- PASS: TestTimeoutOnInactiveConnection (0.05s) 315s --- PASS: TestActiveConnection (0.15s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/grpc/contextidler 0.200s 315s === RUN TestFormat 315s === PAUSE TestFormat 315s === CONT TestFormat 315s === RUN TestFormat/GRPC_Unavailable_errors_prints_daemon_name 315s === PAUSE TestFormat/GRPC_Unavailable_errors_prints_daemon_name 315s === RUN TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 315s === PAUSE TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 315s === RUN TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 315s === PAUSE TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 315s === RUN TestFormat/GRPC_Random_errors_prints_status_and_message 315s === PAUSE TestFormat/GRPC_Random_errors_prints_status_and_message 315s === RUN TestFormat/Nil_returns_nil 315s === PAUSE TestFormat/Nil_returns_nil 315s === RUN TestFormat/Non_GRPC_errors_are_returned_as_is 315s === PAUSE TestFormat/Non_GRPC_errors_are_returned_as_is 315s === CONT TestFormat/GRPC_Unavailable_errors_prints_daemon_name 315s === CONT TestFormat/Non_GRPC_errors_are_returned_as_is 315s === CONT TestFormat/Nil_returns_nil 315s === CONT TestFormat/GRPC_Random_errors_prints_status_and_message 315s === CONT TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 315s === CONT TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 315s --- PASS: TestFormat (0.00s) 315s --- PASS: TestFormat/GRPC_Unavailable_errors_prints_daemon_name (0.00s) 315s --- PASS: TestFormat/Non_GRPC_errors_are_returned_as_is (0.00s) 315s --- PASS: TestFormat/Nil_returns_nil (0.00s) 315s --- PASS: TestFormat/GRPC_Random_errors_prints_status_and_message (0.00s) 315s --- PASS: TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message (0.00s) 315s --- PASS: TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/grpc/grpcerror 0.057s 315s === RUN TestStreamServer 315s === PAUSE TestStreamServer 315s === RUN TestStreamClient 315s === PAUSE TestStreamClient 315s === CONT TestStreamServer 315s === CONT TestStreamClient 315s --- PASS: TestStreamServer (0.00s) 315s --- PASS: TestStreamClient (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/grpc/interceptorschain 0.036s 315s === RUN TestChildRecvMsgAndHandlerCalled 315s === PAUSE TestChildRecvMsgAndHandlerCalled 315s === CONT TestChildRecvMsgAndHandlerCalled 315s === RUN TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 315s === PAUSE TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 315s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 315s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 315s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 315s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 315s === RUN TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 315s === PAUSE TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 315s === CONT TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 315s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 315s === CONT TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 315s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 315s time="2024-11-29T20:36:12Z" level=info msg="Error sent to client: Failing handler" 315s --- PASS: TestChildRecvMsgAndHandlerCalled (0.00s) 315s --- PASS: TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact (0.00s) 315s --- PASS: TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called (0.00s) 315s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out (0.00s) 315s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/grpc/logconnections 0.030s 315s === RUN TestRecvLogMsg 315s === PAUSE TestRecvLogMsg 315s === RUN TestAddStreamToForwardLocalLogs 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:421900]]" 315s time="2024-11-29T20:36:13Z" level=warning msg=something 315s --- PASS: TestAddStreamToForwardLocalLogs (0.00s) 315s === RUN TestAddStreamToForwardOtherStream 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:613904]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:065744]]" 315s --- PASS: TestAddStreamToForwardOtherStream (0.00s) 315s === RUN TestAddStreamToForwardAfterClientIsConnected 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:716486]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:027634]]" 315s --- PASS: TestAddStreamToForwardAfterClientIsConnected (0.00s) 315s === RUN TestAddStreamToForwardDisconnect 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:398268]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:335936]]" 315s --- PASS: TestAddStreamToForwardDisconnect (0.00s) 315s === RUN TestAddStreamToForwardTwoClients 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:142836]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:031811]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:496425]]" 315s --- PASS: TestAddStreamToForwardTwoClients (0.00s) 315s === RUN TestAddStreamToForwardWithListenerCaller 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:131574]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:942278]]" 315s --- PASS: TestAddStreamToForwardWithListenerCaller (0.00s) 315s === RUN TestAddStreamMultipleForwarders 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:022670]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:247141]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:029549]]" 315s --- PASS: TestAddStreamMultipleForwarders (0.00s) 315s === RUN TestAddStreamMultipleForwardersOneWithCaller 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:040566]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:210361]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:937462]]" 315s --- PASS: TestAddStreamMultipleForwardersOneWithCaller (0.00s) 315s === RUN TestAddStreamToForwardFailSend 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:352589]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:130840]]" 315s time="2024-11-29T20:36:13Z" level=warning msg="Couldn't send log to one or more listener: SendMsg failed" 315s --- PASS: TestAddStreamToForwardFailSend (0.00s) 315s === RUN TestRemoveAllStreams 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:898452]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:990105]]" 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:843853]]" 315s time="2024-11-29T20:36:13Z" level=warning msg="[[123456:843853]] else" 315s --- PASS: TestRemoveAllStreams (0.00s) 315s === RUN TestLogWarningOnly 315s === PAUSE TestLogWarningOnly 315s === RUN TestMultipleLogs 315s === PAUSE TestMultipleLogs 315s === RUN TestAllLogLevels 315s === PAUSE TestAllLogLevels 315s === RUN TestDebugSentToRemoteEvenIfLocalIsWarning 315s === PAUSE TestDebugSentToRemoteEvenIfLocalIsWarning 315s === RUN TestLogWarningWithLocalCaller 315s === PAUSE TestLogWarningWithLocalCaller 315s === RUN TestLogWarningWithRemoteCaller 315s === PAUSE TestLogWarningWithRemoteCaller 315s === RUN TestLogWithNoCaller 315s === PAUSE TestLogWithNoCaller 315s === RUN TestSetReportCaller 315s === RUN TestSetReportCaller/Disable_caller 315s === RUN TestSetReportCaller/Report_caller 315s --- PASS: TestSetReportCaller (0.00s) 315s --- PASS: TestSetReportCaller/Disable_caller (0.00s) 315s --- PASS: TestSetReportCaller/Report_caller (0.00s) 315s === RUN TestLogSendingFail 315s === PAUSE TestLogSendingFail 315s === RUN TestLogStreamsAreSeparated 315s === PAUSE TestLogStreamsAreSeparated 315s === RUN TestLogAddHook 315s time="2024-11-29T20:36:13Z" level=info 315s --- PASS: TestLogAddHook (0.00s) 315s === RUN TestStreamServerInterceptor 315s === PAUSE TestStreamServerInterceptor 315s === RUN TestStreamServerInterceptorSendLogsFails 315s === PAUSE TestStreamServerInterceptorSendLogsFails 315s === RUN TestStreamServerInterceptorLoggerInvalidMetadata 315s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata 315s === CONT TestRecvLogMsg 315s === RUN TestRecvLogMsg/One_message,_no_log 315s === PAUSE TestRecvLogMsg/One_message,_no_log 315s === RUN TestRecvLogMsg/No_caller_on_any_logs 315s === PAUSE TestRecvLogMsg/No_caller_on_any_logs 315s === RUN TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 315s === PAUSE TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 315s === RUN TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 315s === PAUSE TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 315s === RUN TestRecvLogMsg/One_log_(and_one_closing_empty_message) 315s === PAUSE TestRecvLogMsg/One_log_(and_one_closing_empty_message) 315s === RUN TestRecvLogMsg/Two_logs_with_different_debug_level 315s === PAUSE TestRecvLogMsg/Two_logs_with_different_debug_level 315s === RUN TestRecvLogMsg/Log_with_caller 315s === PAUSE TestRecvLogMsg/Log_with_caller 315s === RUN TestRecvLogMsg/No_caller_when_not_requested 315s === CONT TestLogWithNoCaller 315s === PAUSE TestRecvLogMsg/No_caller_when_not_requested 315s === RUN TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 315s === PAUSE TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 315s === RUN TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 315s === PAUSE TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 315s === CONT TestLogWarningWithRemoteCaller 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:930003]]" 315s Failed to fire hook: hook fired 315s --- PASS: TestLogWithNoCaller (0.00s) 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:826520]]" 315s === CONT TestStreamServerInterceptorLoggerInvalidMetadata 315s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 315s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 315s --- PASS: TestLogWarningWithRemoteCaller (0.00s) 315s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 315s === CONT TestStreamServerInterceptorSendLogsFails 315s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 315s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 315s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 315s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 315s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 315s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 315s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 315s === CONT TestLogStreamsAreSeparated 315s time="2024-11-29T20:36:13Z" level=warning msg="[[123456:662703]] Couldn't send initial connection log to client" 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:662703]]" 315s --- PASS: TestStreamServerInterceptorSendLogsFails (0.00s) 315s === CONT TestLogSendingFail 315s === CONT TestStreamServerInterceptor 315s === CONT TestLogWarningWithLocalCaller 315s === CONT TestDebugSentToRemoteEvenIfLocalIsWarning 315s === CONT TestAllLogLevels 315s === CONT TestMultipleLogs 315s === CONT TestLogWarningOnly 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:728410]]" 315s --- PASS: TestLogWarningWithLocalCaller (0.00s) 315s === CONT TestRecvLogMsg/One_message,_no_log 315s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:676553]]" 315s --- PASS: TestMultipleLogs (0.00s) 315s === CONT TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 315s === CONT TestRecvLogMsg/No_caller_when_not_requested 315s === CONT TestRecvLogMsg/Log_with_caller 315s Failed to fire hook: hook fired 315s === CONT TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:635775]]" 315s --- PASS: TestStreamServerInterceptor (0.00s) 315s === CONT TestRecvLogMsg/Two_logs_with_different_debug_level 315s === CONT TestRecvLogMsg/One_log_(and_one_closing_empty_message) 315s === CONT TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:622181]]" 315s === CONT TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 315s === CONT TestRecvLogMsg/No_caller_on_any_logs 315s --- PASS: TestAllLogLevels (0.00s) 315s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 315s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 315s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 315s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 315s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata (0.00s) 315s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent (0.00s) 315s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas (0.00s) 315s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean (0.00s) 315s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key (0.00s) 315s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID (0.00s) 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:688374]]" 315s --- PASS: TestDebugSentToRemoteEvenIfLocalIsWarning (0.00s) 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:141302]]" 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:069291]]" 315s --- PASS: TestLogSendingFail (0.00s) 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:337347]]" 315s Failed to fire hook: hook fired 315s time="2024-11-29T20:36:13Z" level=info msg="New connection from client [[123456:289421]]" 315s --- PASS: TestLogWarningOnly (0.00s) 315s --- PASS: TestLogStreamsAreSeparated (0.00s) 315s --- PASS: TestRecvLogMsg (0.00s) 315s --- PASS: TestRecvLogMsg/One_message,_no_log (0.00s) 315s --- PASS: TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved (0.00s) 315s --- PASS: TestRecvLogMsg/No_caller_when_not_requested (0.00s) 315s --- PASS: TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved (0.00s) 315s --- PASS: TestRecvLogMsg/Two_logs_with_different_debug_level (0.00s) 315s --- PASS: TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped (0.00s) 315s --- PASS: TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) (0.00s) 315s --- PASS: TestRecvLogMsg/Log_with_caller (0.00s) 315s --- PASS: TestRecvLogMsg/One_log_(and_one_closing_empty_message) (0.00s) 315s --- PASS: TestRecvLogMsg/No_caller_on_any_logs (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/grpc/logstreamer 0.043s 315s === RUN TestEventLogHook 315s === RUN TestEventLogHook/error_level 315s time="2024-11-29T20:36:13Z" level=error msg="Error msg" 315s === RUN TestEventLogHook/warn_level 315s time="2024-11-29T20:36:13Z" level=warning msg="Warning msg" 315s time="2024-11-29T20:36:13Z" level=error msg="Error msg" 315s === RUN TestEventLogHook/info_level 315s time="2024-11-29T20:36:13Z" level=info msg="Info msg" 315s time="2024-11-29T20:36:13Z" level=warning msg="Warning msg" 315s time="2024-11-29T20:36:13Z" level=error msg="Error msg" 315s === RUN TestEventLogHook/debug_level 315s time="2024-11-29T20:36:13Z" level=debug msg="Debug msg" 315s time="2024-11-29T20:36:13Z" level=info msg="Info msg" 315s time="2024-11-29T20:36:13Z" level=warning msg="Warning msg" 315s time="2024-11-29T20:36:13Z" level=error msg="Error msg" 315s --- PASS: TestEventLogHook (0.00s) 315s --- PASS: TestEventLogHook/error_level (0.00s) 315s --- PASS: TestEventLogHook/warn_level (0.00s) 315s --- PASS: TestEventLogHook/info_level (0.00s) 315s --- PASS: TestEventLogHook/debug_level (0.00s) 315s PASS 315s ok github.com/ubuntu/adsys/internal/loghooks 0.016s 315s === RUN TestFormat 315s === PAUSE TestFormat 315s === RUN TestApplyPolicies 315s === RUN TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error 315s === RUN TestApplyPolicies/Second_call_with_no_rules_deletes_everything 315s time="2024-11-29T20:36:14Z" level=info msg="Unloading policies for hostname (machine: true)" 315s === RUN TestApplyPolicies/Error_when_applying_proxy_policy 315s === RUN TestApplyPolicies/Error_when_applying_scripts_policy 315s === RUN TestApplyPolicies/Succeed 315s === RUN TestApplyPolicies/No_subscription_is_only_dconf_content 315s === RUN TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content 315s time="2024-11-29T20:36:14Z" level=info msg="Applying policies for hostname (machine: true)" 315s time="2024-11-29T20:36:14Z" level=warning msg="Rules from the following policy types will be filtered out as the machine is not enrolled to Ubuntu Pro: privilege, scripts, mount, apparmor, proxy, certificate" 315s === RUN TestApplyPolicies/Error_when_applying_apparmor_policy 315s === RUN TestApplyPolicies/Error_when_applying_certificate_policy 315s === RUN TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended 315s time="2024-11-29T20:36:14Z" level=info msg="Unloading policies for hostname (machine: true)" 315s time="2024-11-29T20:36:14Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_rules_dont_remove_scripts_if_session_hasnt_ended3219839146/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 315s === RUN TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended 315s time="2024-11-29T20:36:14Z" level=info msg="Applying policies for hostname (machine: true)" 315s time="2024-11-29T20:36:14Z" level=warning msg="Rules from the following policy types will be filtered out as the machine is not enrolled to Ubuntu Pro: privilege, scripts, mount, apparmor, proxy, certificate" 315s time="2024-11-29T20:36:14Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_subscription_dont_remove_scripts_if_session_hasnt_ended868676585/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 315s === RUN TestApplyPolicies/Error_when_applying_dconf_policy 315s === RUN TestApplyPolicies/Error_when_applying_privilege_policy 315s === RUN TestApplyPolicies/Error_when_applying_mount_policy 315s --- PASS: TestApplyPolicies (0.96s) 315s --- PASS: TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error (0.29s) 315s --- PASS: TestApplyPolicies/Second_call_with_no_rules_deletes_everything (0.27s) 315s --- PASS: TestApplyPolicies/Error_when_applying_proxy_policy (0.09s) 315s --- PASS: TestApplyPolicies/Error_when_applying_scripts_policy (0.02s) 315s --- PASS: TestApplyPolicies/Succeed (0.04s) 315s --- PASS: TestApplyPolicies/No_subscription_is_only_dconf_content (0.02s) 315s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content (0.05s) 315s --- PASS: TestApplyPolicies/Error_when_applying_apparmor_policy (0.02s) 315s --- PASS: TestApplyPolicies/Error_when_applying_certificate_policy (0.01s) 315s --- PASS: TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended (0.06s) 315s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended (0.03s) 315s --- PASS: TestApplyPolicies/Error_when_applying_dconf_policy (0.01s) 315s --- PASS: TestApplyPolicies/Error_when_applying_privilege_policy (0.02s) 315s --- PASS: TestApplyPolicies/Error_when_applying_mount_policy (0.02s) 315s === RUN TestDumpPolicies 315s === PAUSE TestDumpPolicies 315s === RUN TestLastUpdateFor 315s === PAUSE TestLastUpdateFor 315s === RUN TestGetSubscriptionState 315s === RUN TestGetSubscriptionState/Returns_enablement_status_(enabled) 315s === RUN TestGetSubscriptionState/Returns_enablement_status_(disabled) 315s --- PASS: TestGetSubscriptionState (0.01s) 315s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(enabled) (0.00s) 315s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(disabled) (0.00s) 315s === RUN TestNew 315s === PAUSE TestNew 315s === RUN TestNewFromCache 315s === PAUSE TestNewFromCache 315s === RUN TestSave 315s === PAUSE TestSave 315s === RUN TestCachePolicies 315s === PAUSE TestCachePolicies 315s === RUN TestSaveAssetsTo 315s === PAUSE TestSaveAssetsTo 315s === RUN TestCompressAssets 315s === PAUSE TestCompressAssets 315s === RUN TestGetUniqueRules 315s === PAUSE TestGetUniqueRules 315s === CONT TestFormat 315s === CONT TestSave 315s === RUN TestFormat/GPO_summary 315s === PAUSE TestFormat/GPO_summary 315s === CONT TestGetUniqueRules 315s === RUN TestSave/Can_refresh_on_existing_read_only_asset_file 315s === PAUSE TestSave/Can_refresh_on_existing_read_only_asset_file 315s === RUN TestSave/Error_on_can’t_write_to_dest_dir 315s === PAUSE TestSave/Error_on_can’t_write_to_dest_dir 315s === RUN TestSave/Error_on_can’t_remove_existing_assets 315s === PAUSE TestSave/Error_on_can’t_remove_existing_assets 315s === CONT TestNewFromCache 315s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 315s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 315s === RUN TestNewFromCache/gpos_only 315s === CONT TestSaveAssetsTo 315s === CONT TestCachePolicies 315s === RUN TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 315s === CONT TestCompressAssets 315s === PAUSE TestNewFromCache/gpos_only 315s === RUN TestSave/gpos_only 315s === PAUSE TestSave/gpos_only 315s === CONT TestDumpPolicies 315s === RUN TestNewFromCache/With_assets 315s === PAUSE TestNewFromCache/With_assets 315s === RUN TestNewFromCache/Error_on_invalid_policies_cache 315s === PAUSE TestNewFromCache/Error_on_invalid_policies_cache 315s === RUN TestNewFromCache/Error_on_invalid_assets_db 315s === PAUSE TestNewFromCache/Error_on_invalid_assets_db 315s === RUN TestNewFromCache/Error_on_no_policies_cache 315s === PAUSE TestNewFromCache/Error_on_no_policies_cache 315s === CONT TestNewFromCache/gpos_only 315s === RUN TestSave/With_assets 315s === RUN TestSaveAssetsTo/Error_on_empty_relSrc 315s === PAUSE TestSave/With_assets 315s === RUN TestSave/Existing_policies_cache_is_refreshed 315s === PAUSE TestSave/Existing_policies_cache_is_refreshed 315s === RUN TestSave/Save_assets_on_existing_opened_file_does_not_segfault 315s === PAUSE TestSave/Save_assets_on_existing_opened_file_does_not_segfault 315s === RUN TestSave/Existing_assets_cache_is_refreshed 315s === PAUSE TestSave/Existing_assets_cache_is_refreshed 315s === RUN TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 315s === PAUSE TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 315s === RUN TestSave/Destdir_does_not_exists 315s === PAUSE TestSave/Destdir_does_not_exists 315s === RUN TestSave/Error_on_can’t_write_to_policies_base_dir 315s === PAUSE TestSave/Error_on_can’t_write_to_policies_base_dir 315s === RUN TestCompressAssets/No_db 315s === PAUSE TestCompressAssets/No_db 315s === RUN TestCompressAssets/Existing_db 315s === PAUSE TestCompressAssets/Existing_db 315s === RUN TestCompressAssets/Error_on_can’t_remove_existing_db 315s === PAUSE TestCompressAssets/Error_on_can’t_remove_existing_db 315s === RUN TestCompressAssets/Error_on_non_existing_directory 315s === PAUSE TestCompressAssets/Error_on_non_existing_directory 315s === PAUSE TestSaveAssetsTo/Error_on_empty_relSrc 315s === RUN TestSaveAssetsTo/Error_on_read_only_dest 315s === PAUSE TestSaveAssetsTo/Error_on_read_only_dest 315s === RUN TestSaveAssetsTo/Error_on_dest_already_exists 315s === PAUSE TestSaveAssetsTo/Error_on_dest_already_exists 315s === RUN TestSaveAssetsTo/Error_on_can't_chown_to_user 315s === PAUSE TestSaveAssetsTo/Error_on_can't_chown_to_user 315s === RUN TestSaveAssetsTo/Sub_directory 315s === PAUSE TestSaveAssetsTo/Sub_directory 315s === RUN TestSaveAssetsTo/Sub_directory_ending_with_slash 315s === PAUSE TestSaveAssetsTo/Sub_directory_ending_with_slash 315s === RUN TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 315s === PAUSE TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 315s === RUN TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 315s === PAUSE TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 315s === RUN TestSaveAssetsTo/Chown_directories_and_files_when_requested 315s === PAUSE TestSaveAssetsTo/Chown_directories_and_files_when_requested 315s === RUN TestSaveAssetsTo/All 315s === PAUSE TestSaveAssetsTo/All 315s === RUN TestSaveAssetsTo/File 315s === PAUSE TestSaveAssetsTo/File 315s === RUN TestSaveAssetsTo/Error_on_no_assets 315s === PAUSE TestSaveAssetsTo/Error_on_no_assets 315s === CONT TestNew 315s === RUN TestNew/Error_on_invalid_assets_db 315s === PAUSE TestNew/Error_on_invalid_assets_db 315s === RUN TestNew/Error_on_assets_db_does_not_exists 315s === PAUSE TestNew/Error_on_assets_db_does_not_exists 315s === RUN TestNew/gpos_only 315s === PAUSE TestNew/gpos_only 315s === RUN TestNew/With_assets 315s === PAUSE TestNew/With_assets 315s === RUN TestNew/No_gpos 315s === PAUSE TestNew/No_gpos 315s === CONT TestLastUpdateFor 315s === CONT TestSave/Can_refresh_on_existing_read_only_asset_file 315s === CONT TestCompressAssets/No_db 315s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 315s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 315s === RUN TestGetUniqueRules/Two_policies,_with_overrides 315s === PAUSE TestGetUniqueRules/Two_policies,_with_overrides 315s === RUN TestGetUniqueRules/Two_policies,_no_overrides,_reversed 315s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides,_reversed 315s === RUN TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 315s === PAUSE TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 315s === RUN TestGetUniqueRules/More_policies,_with_multiple_overrides 315s === PAUSE TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 315s === RUN TestFormat/GPO_with_rules,_appending_to_existing_treated_key 315s === PAUSE TestFormat/GPO_with_rules,_appending_to_existing_treated_key 315s === RUN TestFormat/GPO_with_rules,_override_disabled_key 315s === PAUSE TestFormat/GPO_with_rules,_override_disabled_key 315s === RUN TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 315s === PAUSE TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 315s === RUN TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 315s === PAUSE TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 315s === PAUSE TestGetUniqueRules/More_policies,_with_multiple_overrides 315s === RUN TestGetUniqueRules/One_GPO 315s === PAUSE TestGetUniqueRules/One_GPO 315s === RUN TestGetUniqueRules/Two_policies,_with_reversed_overrides 315s === PAUSE TestGetUniqueRules/Two_policies,_with_reversed_overrides 315s === RUN TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 315s === PAUSE TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 315s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 315s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 315s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 315s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 315s === RUN TestGetUniqueRules/Disabled_value_is_overridden 315s === PAUSE TestGetUniqueRules/Disabled_value_is_overridden 315s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO 315s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO 315s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 315s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 315s === RUN TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 315s === PAUSE TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 315s === RUN TestGetUniqueRules/Two_policies,_no_overrides 315s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides 315s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 315s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 315s === RUN TestGetUniqueRules/Order_key_ascii 315s === PAUSE TestGetUniqueRules/Order_key_ascii 315s === RUN TestGetUniqueRules/Multiple_domains,_same_GPOs 315s === PAUSE TestGetUniqueRules/Multiple_domains,_same_GPOs 315s === RUN TestGetUniqueRules/Multiple_domains,_different_GPOs 315s === PAUSE TestGetUniqueRules/Multiple_domains,_different_GPOs 315s === RUN TestFormat/GPO_with_rules 315s === PAUSE TestFormat/GPO_with_rules 315s === RUN TestFormat/GPO_with_rules,_override_hidden 315s === PAUSE TestFormat/GPO_with_rules,_override_hidden 315s === RUN TestFormat/GPO_with_rules,_override_displayed 315s === PAUSE TestFormat/GPO_with_rules,_override_displayed 315s === CONT TestSaveAssetsTo/Error_on_empty_relSrc 315s === CONT TestNew/Error_on_invalid_assets_db 315s === CONT TestSave/Error_on_can’t_write_to_policies_base_dir 315s === RUN TestLastUpdateFor/Returns_user's_last_update_time 315s === PAUSE TestLastUpdateFor/Returns_user's_last_update_time 315s === RUN TestLastUpdateFor/Target_is_ignored_for_machine_request 315s === PAUSE TestLastUpdateFor/Target_is_ignored_for_machine_request 315s === RUN TestLastUpdateFor/Error_when_target_does_not_exist 315s === PAUSE TestLastUpdateFor/Error_when_target_does_not_exist 315s === RUN TestLastUpdateFor/Returns_machine's_last_update_time 315s === PAUSE TestLastUpdateFor/Returns_machine's_last_update_time 315s === CONT TestSave/Destdir_does_not_exists 315s --- PASS: TestCachePolicies (0.00s) 315s === CONT TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 315s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 315s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 315s === RUN TestDumpPolicies/Machine_only_GPO_with_rules 315s === PAUSE TestDumpPolicies/Machine_only_GPO_with_rules 315s === RUN TestDumpPolicies/Multiple_GPOs 315s === PAUSE TestDumpPolicies/Multiple_GPOs 315s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 315s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 315s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 315s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 315s === RUN TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 315s === PAUSE TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 315s === RUN TestDumpPolicies/One_GPO_User_+_Machine 315s === PAUSE TestDumpPolicies/One_GPO_User_+_Machine 315s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 315s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 315s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 315s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 315s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 315s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 315s === RUN TestDumpPolicies/Error_on_missing_target_cache 315s === PAUSE TestDumpPolicies/Error_on_missing_target_cache 315s === RUN TestDumpPolicies/One_GPO_Machine 315s === PAUSE TestDumpPolicies/One_GPO_Machine 315s === RUN TestDumpPolicies/One_GPO_User 315s === PAUSE TestDumpPolicies/One_GPO_User 315s === RUN TestDumpPolicies/One_GPO_with_rules 315s === PAUSE TestDumpPolicies/One_GPO_with_rules 315s === RUN TestDumpPolicies/Same_GPO_Machine_and_User 315s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User 315s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 315s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 315s === CONT TestSave/Existing_assets_cache_is_refreshed 315s === CONT TestSave/Save_assets_on_existing_opened_file_does_not_segfault 315s === CONT TestSave/Existing_policies_cache_is_refreshed 315s === CONT TestSave/With_assets 315s === CONT TestSave/gpos_only 315s === CONT TestSave/Error_on_can’t_remove_existing_assets 315s === CONT TestSave/Error_on_can’t_write_to_dest_dir 315s === CONT TestCompressAssets/Error_on_can’t_remove_existing_db 315s === CONT TestCompressAssets/Existing_db 315s === CONT TestCompressAssets/Error_on_non_existing_directory 315s === CONT TestSaveAssetsTo/Error_on_no_assets 315s === CONT TestSaveAssetsTo/File 315s === CONT TestSaveAssetsTo/All 315s === CONT TestSaveAssetsTo/Chown_directories_and_files_when_requested 315s --- PASS: TestSave (0.00s) 315s --- PASS: TestSave/Existing_cache_with_assets,_new_cache_with_no_assets (0.01s) 315s --- PASS: TestSave/Error_on_can’t_write_to_policies_base_dir (0.01s) 315s --- PASS: TestSave/Can_refresh_on_existing_read_only_asset_file (0.02s) 315s --- PASS: TestSave/Destdir_does_not_exists (0.02s) 315s --- PASS: TestSave/Error_on_can’t_write_to_dest_dir (0.00s) 315s --- PASS: TestSave/gpos_only (0.01s) 315s --- PASS: TestSave/Existing_policies_cache_is_refreshed (0.01s) 315s --- PASS: TestSave/With_assets (0.02s) 315s --- PASS: TestSave/Existing_assets_cache_is_refreshed (0.03s) 315s --- PASS: TestSave/Save_assets_on_existing_opened_file_does_not_segfault (0.03s) 315s --- PASS: TestSave/Error_on_can’t_remove_existing_assets (0.02s) 315s === CONT TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 315s === CONT TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 315s === CONT TestSaveAssetsTo/Sub_directory 315s === CONT TestSaveAssetsTo/Sub_directory_ending_with_slash 315s === CONT TestSaveAssetsTo/Error_on_can't_chown_to_user 315s === CONT TestSaveAssetsTo/Error_on_dest_already_exists 315s === CONT TestSaveAssetsTo/Error_on_read_only_dest 315s === CONT TestNew/With_assets 315s === CONT TestNew/No_gpos 315s === CONT TestNewFromCache/Error_on_invalid_assets_db 315s === CONT TestNewFromCache/Error_on_no_policies_cache 315s === CONT TestNew/gpos_only 315s === CONT TestNewFromCache/Error_on_invalid_policies_cache 315s === CONT TestNewFromCache/With_assets 315s === CONT TestNew/Error_on_assets_db_does_not_exists 315s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 315s === CONT TestFormat/GPO_summary 315s === CONT TestGetUniqueRules/One_GPO 315s === CONT TestGetUniqueRules/Multiple_domains,_different_GPOs 315s === CONT TestGetUniqueRules/Multiple_domains,_same_GPOs 315s === CONT TestGetUniqueRules/Order_key_ascii 315s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 315s === CONT TestGetUniqueRules/Two_policies,_no_overrides 315s === CONT TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 315s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 315s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO 315s === CONT TestGetUniqueRules/Disabled_value_is_overridden 315s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 315s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 315s === CONT TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 315s === CONT TestGetUniqueRules/Two_policies,_with_reversed_overrides 315s === CONT TestFormat/GPO_with_rules,_override_displayed 315s === CONT TestGetUniqueRules/More_policies,_with_multiple_overrides 315s === CONT TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 315s === CONT TestGetUniqueRules/Two_policies,_no_overrides,_reversed 315s === CONT TestGetUniqueRules/Two_policies,_with_overrides 315s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 315s --- PASS: TestGetUniqueRules (0.00s) 315s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override (0.00s) 315s --- PASS: TestGetUniqueRules/One_GPO (0.00s) 315s --- PASS: TestGetUniqueRules/Multiple_domains,_different_GPOs (0.00s) 315s --- PASS: TestGetUniqueRules/Multiple_domains,_same_GPOs (0.00s) 315s --- PASS: TestGetUniqueRules/Order_key_ascii (0.00s) 315s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first (0.00s) 315s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides (0.00s) 315s --- PASS: TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated (0.00s) 315s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored (0.00s) 315s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO (0.00s) 315s --- PASS: TestGetUniqueRules/Disabled_value_is_overridden (0.00s) 315s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second (0.00s) 315s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs (0.00s) 315s --- PASS: TestGetUniqueRules/Disabled_value_overrides_non_disabled_one (0.00s) 315s --- PASS: TestGetUniqueRules/Two_policies,_with_reversed_overrides (0.00s) 315s --- PASS: TestGetUniqueRules/More_policies,_with_multiple_overrides (0.00s) 315s --- PASS: TestGetUniqueRules/Append_policy_entry,_closest_meta_wins (0.00s) 315s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides,_reversed (0.00s) 315s --- PASS: TestGetUniqueRules/Two_policies,_with_overrides (0.00s) 315s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored (0.00s) 315s === CONT TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 316s === CONT TestFormat/GPO_with_rules,_override_hidden 316s === CONT TestFormat/GPO_with_rules 316s === CONT TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 316s === CONT TestFormat/GPO_with_rules,_appending_to_existing_treated_key 316s === CONT TestFormat/GPO_with_rules,_override_disabled_key 316s === CONT TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 316s === CONT TestLastUpdateFor/Returns_user's_last_update_time 316s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 316s === CONT TestLastUpdateFor/Error_when_target_does_not_exist 316s --- PASS: TestFormat (0.00s) 316s --- PASS: TestFormat/GPO_with_rules,_override_displayed (0.00s) 316s --- PASS: TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules (0.00s) 316s --- PASS: TestFormat/GPO_with_rules,_override_hidden (0.00s) 316s --- PASS: TestFormat/GPO_summary (0.01s) 316s --- PASS: TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override (0.00s) 316s --- PASS: TestFormat/GPO_with_rules (0.00s) 316s --- PASS: TestFormat/GPO_with_rules_and_overrides,_no_rules_processed (0.00s) 316s --- PASS: TestFormat/GPO_with_rules,_override_disabled_key (0.01s) 316s --- PASS: TestFormat/GPO_with_rules,_appending_to_existing_treated_key (0.01s) 316s === CONT TestLastUpdateFor/Returns_machine's_last_update_time 316s --- PASS: TestNew (0.00s) 316s --- PASS: TestNew/Error_on_invalid_assets_db (0.00s) 316s --- PASS: TestNew/No_gpos (0.01s) 316s --- PASS: TestNew/gpos_only (0.01s) 316s --- PASS: TestNew/Error_on_assets_db_does_not_exists (0.00s) 316s --- PASS: TestNew/With_assets (0.04s) 316s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s === CONT TestDumpPolicies/Same_GPO_Machine_and_User 316s === CONT TestDumpPolicies/One_GPO_with_rules 316s === CONT TestDumpPolicies/One_GPO_User 316s --- PASS: TestCompressAssets (0.00s) 316s --- PASS: TestCompressAssets/Error_on_non_existing_directory (0.02s) 316s --- PASS: TestCompressAssets/Error_on_can’t_remove_existing_db (0.05s) 316s --- PASS: TestCompressAssets/Existing_db (0.07s) 316s --- PASS: TestCompressAssets/No_db (0.20s) 316s --- PASS: TestSaveAssetsTo (0.00s) 316s --- PASS: TestSaveAssetsTo/Error_on_empty_relSrc (0.01s) 316s --- PASS: TestSaveAssetsTo/Error_on_no_assets (0.00s) 316s --- PASS: TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest (0.01s) 316s --- PASS: TestSaveAssetsTo/File (0.01s) 316s --- PASS: TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache (0.01s) 316s --- PASS: TestSaveAssetsTo/Error_on_can't_chown_to_user (0.00s) 316s --- PASS: TestSaveAssetsTo/Error_on_dest_already_exists (0.01s) 316s --- PASS: TestSaveAssetsTo/Sub_directory_ending_with_slash (0.02s) 316s --- PASS: TestSaveAssetsTo/Sub_directory (0.02s) 316s --- PASS: TestSaveAssetsTo/Error_on_read_only_dest (0.01s) 316s --- PASS: TestSaveAssetsTo/All (0.06s) 316s --- PASS: TestSaveAssetsTo/Chown_directories_and_files_when_requested (0.17s) 316s === CONT TestDumpPolicies/One_GPO_Machine 316s time="2024-11-29T20:36:15Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: false)" 316s === CONT TestDumpPolicies/Error_on_missing_target_cache 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s time="2024-11-29T20:36:15Z" level=info msg="User \"user\" not found on cache." 316s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 316s time="2024-11-29T20:36:15Z" level=info msg="Get policies last update time \"user\" (machine: false)" 316s time="2024-11-29T20:36:15Z" level=info msg="Get policies last update time \"autopkgtest-lxd-giiuqd\" (machine: true)" 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for autopkgtest-lxd-giiuqd" 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s === CONT TestLastUpdateFor/Target_is_ignored_for_machine_request 316s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 316s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 316s --- PASS: TestNewFromCache (0.00s) 316s --- PASS: TestNewFromCache/gpos_only (0.01s) 316s --- PASS: TestNewFromCache/Error_on_invalid_assets_db (0.00s) 316s --- PASS: TestNewFromCache/Error_on_no_policies_cache (0.00s) 316s --- PASS: TestNewFromCache/Error_on_invalid_policies_cache (0.01s) 316s --- PASS: TestNewFromCache/With_assets (0.19s) 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s === CONT TestDumpPolicies/One_GPO_User_+_Machine 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s === CONT TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s === CONT TestDumpPolicies/Multiple_GPOs 316s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 316s === CONT TestDumpPolicies/Machine_only_GPO_with_rules 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for autopkgtest-lxd-giiuqd" 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s time="2024-11-29T20:36:15Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: true)" 316s time="2024-11-29T20:36:15Z" level=info msg="Dumping policies for user" 316s --- PASS: TestLastUpdateFor (0.00s) 316s --- PASS: TestLastUpdateFor/Error_when_target_does_not_exist (0.12s) 316s --- PASS: TestLastUpdateFor/Returns_user's_last_update_time (0.22s) 316s --- PASS: TestLastUpdateFor/Returns_machine's_last_update_time (0.23s) 316s --- PASS: TestLastUpdateFor/Target_is_ignored_for_machine_request (0.13s) 316s --- PASS: TestDumpPolicies (0.00s) 316s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules (0.04s) 316s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown (0.05s) 316s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides (0.05s) 316s --- PASS: TestDumpPolicies/Error_on_missing_target_cache (0.00s) 316s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden (0.04s) 316s --- PASS: TestDumpPolicies/One_GPO_with_rules (0.08s) 316s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User (0.12s) 316s --- PASS: TestDumpPolicies/One_GPO_User (0.13s) 316s --- PASS: TestDumpPolicies/One_GPO_Machine (0.12s) 316s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown (0.08s) 316s --- PASS: TestDumpPolicies/One_GPO_User_+_Machine (0.07s) 316s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden (0.05s) 316s --- PASS: TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user (0.08s) 316s --- PASS: TestDumpPolicies/Machine_only_GPO_with_rules (0.07s) 316s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_no_override (0.16s) 316s --- PASS: TestDumpPolicies/Multiple_GPOs (0.14s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/policies 1.531s 316s === RUN TestApplyPolicy 316s === PAUSE TestApplyPolicy 316s === RUN TestMockApparmorParser 316s --- PASS: TestMockApparmorParser (0.00s) 316s === CONT TestApplyPolicy 316s === RUN TestApplyPolicy/Computer,_only_blank_profiles 316s === PAUSE TestApplyPolicy/Computer,_only_blank_profiles 316s === RUN TestApplyPolicy/Unexpected_entry_key 316s === PAUSE TestApplyPolicy/Unexpected_entry_key 316s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 316s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 316s === RUN TestApplyPolicy/Error_on_unloading_old_profiles_failing 316s === PAUSE TestApplyPolicy/Error_on_unloading_old_profiles_failing 316s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 316s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 316s === RUN TestApplyPolicy/No_apparmor_parser_and_no_entries 316s === PAUSE TestApplyPolicy/No_apparmor_parser_and_no_entries 316s === RUN TestApplyPolicy/No_apparmor_parser_and_entries 316s === PAUSE TestApplyPolicy/No_apparmor_parser_and_entries 316s === RUN TestApplyPolicy/Error_on_loading_profiles_failing 316s === PAUSE TestApplyPolicy/Error_on_loading_profiles_failing 316s === RUN TestApplyPolicy/Error_on_removing_unused_assets_after_dump 316s === PAUSE TestApplyPolicy/Error_on_removing_unused_assets_after_dump 316s === RUN TestApplyPolicy/Error_on_read-only_root_directory_with_entries 316s === PAUSE TestApplyPolicy/Error_on_read-only_root_directory_with_entries 316s === RUN TestApplyPolicy/Computer,_blank_line_profiles 316s === PAUSE TestApplyPolicy/Computer,_blank_line_profiles 316s === RUN TestApplyPolicy/User,_error_on_multiple_profiles 316s === PAUSE TestApplyPolicy/User,_error_on_multiple_profiles 316s === RUN TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 316s === PAUSE TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 316s === RUN TestApplyPolicy/Error_on_absent_loaded_policies_file 316s === PAUSE TestApplyPolicy/Error_on_absent_loaded_policies_file 316s === RUN TestApplyPolicy/Computer,_previous_profiles_are_unloaded 316s === PAUSE TestApplyPolicy/Computer,_previous_profiles_are_unloaded 316s === RUN TestApplyPolicy/Error_on_absent_profile 316s === PAUSE TestApplyPolicy/Error_on_absent_profile 316s === RUN TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 316s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 316s === RUN TestApplyPolicy/Existing_.old_directory_is_removed 316s === PAUSE TestApplyPolicy/Existing_.old_directory_is_removed 316s === RUN TestApplyPolicy/No_profiles,_existing_rules_are_removed 316s === PAUSE TestApplyPolicy/No_profiles,_existing_rules_are_removed 316s === RUN TestApplyPolicy/User,_error_on_empty_user_profile 316s === PAUSE TestApplyPolicy/User,_error_on_empty_user_profile 316s === RUN TestApplyPolicy/Read-only_root_directory_and_no_entries 316s === PAUSE TestApplyPolicy/Read-only_root_directory_and_no_entries 316s === RUN TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 316s === PAUSE TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 316s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 316s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 316s === RUN TestApplyPolicy/Computer,_duplicated_profiles 316s === PAUSE TestApplyPolicy/Computer,_duplicated_profiles 316s === RUN TestApplyPolicy/User,_error_on_save_assets_failing 316s === PAUSE TestApplyPolicy/User,_error_on_save_assets_failing 316s === RUN TestApplyPolicy/Error_on_read-only_machine_directory 316s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory 316s === RUN TestApplyPolicy/Computer,_one_profile 316s === PAUSE TestApplyPolicy/Computer,_one_profile 316s === RUN TestApplyPolicy/Computer,_multiple_profiles, 316s === PAUSE TestApplyPolicy/Computer,_multiple_profiles, 316s === RUN TestApplyPolicy/User,_no_machine_profiles 316s === PAUSE TestApplyPolicy/User,_no_machine_profiles 316s === RUN TestApplyPolicy/Error_on_profile_being_a_directory 316s === PAUSE TestApplyPolicy/Error_on_profile_being_a_directory 316s === RUN TestApplyPolicy/Error_on_file_as_a_directory 316s === PAUSE TestApplyPolicy/Error_on_file_as_a_directory 316s === RUN TestApplyPolicy/Error_on_read-only_.new_directory 316s === PAUSE TestApplyPolicy/Error_on_read-only_.new_directory 316s === RUN TestApplyPolicy/Error_on_unloading_all_profiles_failing 316s === PAUSE TestApplyPolicy/Error_on_unloading_all_profiles_failing 316s === RUN TestApplyPolicy/Computer,_whitespace-only_value 316s === PAUSE TestApplyPolicy/Computer,_whitespace-only_value 316s === RUN TestApplyPolicy/Computer,_user_policies_are_unloaded 316s === PAUSE TestApplyPolicy/Computer,_user_policies_are_unloaded 316s === RUN TestApplyPolicy/Existing_.new_directory_is_removed 316s === PAUSE TestApplyPolicy/Existing_.new_directory_is_removed 316s === RUN TestApplyPolicy/User,_valid_mapping 316s === PAUSE TestApplyPolicy/User,_valid_mapping 316s === RUN TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 316s === PAUSE TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 316s === RUN TestApplyPolicy/User,_error_on_overwriting_profile_contents 316s === PAUSE TestApplyPolicy/User,_error_on_overwriting_profile_contents 316s === RUN TestApplyPolicy/Computer,_profiles_with_whitespace 316s === PAUSE TestApplyPolicy/Computer,_profiles_with_whitespace 316s === RUN TestApplyPolicy/No_profiles,_apparmor_directory_absent 316s === PAUSE TestApplyPolicy/No_profiles,_apparmor_directory_absent 316s === RUN TestApplyPolicy/User,_valid_mapping,_unchanged_content 316s === PAUSE TestApplyPolicy/User,_valid_mapping,_unchanged_content 316s === RUN TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 316s === PAUSE TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 316s === RUN TestApplyPolicy/Error_on_read-only_.old_directory 316s === PAUSE TestApplyPolicy/Error_on_read-only_.old_directory 316s === CONT TestApplyPolicy/Computer,_only_blank_profiles 316s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 316s === CONT TestApplyPolicy/User,_no_machine_profiles 316s === CONT TestApplyPolicy/Computer,_whitespace-only_value 316s === CONT TestApplyPolicy/Error_on_read-only_machine_directory 316s === CONT TestApplyPolicy/User,_error_on_save_assets_failing 316s === CONT TestApplyPolicy/Computer,_multiple_profiles, 316s === CONT TestApplyPolicy/Computer,_duplicated_profiles 316s === CONT TestApplyPolicy/Error_on_unloading_all_profiles_failing 316s === CONT TestApplyPolicy/Error_on_read-only_.new_directory 316s === CONT TestApplyPolicy/Error_on_file_as_a_directory 316s time="2024-11-29T20:36:14Z" level=warning msg="No apparmor machine profiles configured for this machine, skipping reload" 316s === CONT TestApplyPolicy/Error_on_profile_being_a_directory 316s === CONT TestApplyPolicy/Computer,_profiles_with_whitespace 316s === CONT TestApplyPolicy/Error_on_read-only_.old_directory 316s === CONT TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 316s === CONT TestApplyPolicy/User,_valid_mapping,_unchanged_content 316s === CONT TestApplyPolicy/No_profiles,_apparmor_directory_absent 316s === CONT TestApplyPolicy/User,_valid_mapping 316s === CONT TestApplyPolicy/User,_error_on_overwriting_profile_contents 316s === CONT TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 316s === CONT TestApplyPolicy/Computer,_one_profile 316s === CONT TestApplyPolicy/Existing_.new_directory_is_removed 316s === CONT TestApplyPolicy/User,_error_on_multiple_profiles 316s === CONT TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 316s === CONT TestApplyPolicy/Read-only_root_directory_and_no_entries 316s === CONT TestApplyPolicy/User,_error_on_empty_user_profile 316s === CONT TestApplyPolicy/No_profiles,_existing_rules_are_removed 316s === CONT TestApplyPolicy/Existing_.old_directory_is_removed 316s === CONT TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 316s === CONT TestApplyPolicy/Error_on_absent_profile 316s === CONT TestApplyPolicy/Computer,_previous_profiles_are_unloaded 316s === CONT TestApplyPolicy/Error_on_absent_loaded_policies_file 316s === CONT TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 316s === CONT TestApplyPolicy/Computer,_user_policies_are_unloaded 316s === CONT TestApplyPolicy/No_apparmor_parser_and_entries 316s === CONT TestApplyPolicy/Computer,_blank_line_profiles 316s === CONT TestApplyPolicy/Error_on_read-only_root_directory_with_entries 316s === CONT TestApplyPolicy/Error_on_removing_unused_assets_after_dump 316s === CONT TestApplyPolicy/Error_on_loading_profiles_failing 316s === CONT TestApplyPolicy/Error_on_unloading_old_profiles_failing 316s === CONT TestApplyPolicy/No_apparmor_parser_and_no_entries 316s time="2024-11-29T20:36:14Z" level=warning msg="Apparmor is not available on this system: exec: \"this-definitely-does-not-exist\": executable file not found in $PATH" 316s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 316s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 316s time="2024-11-29T20:36:14Z" level=warning msg="Couldn't remove new apparmor directory: unlinkat /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump2899142471/001/machine/nested/usr.bin.baz: permission denied" 316s time="2024-11-29T20:36:14Z" level=warning msg="Couldn't restore previous apparmor directory: rename /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump2899142471/001/machine.old /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump2899142471/001/machine: file exists" 316s === CONT TestApplyPolicy/Unexpected_entry_key 316s --- PASS: TestApplyPolicy (0.00s) 316s --- PASS: TestApplyPolicy/User,_error_on_save_assets_failing (0.03s) 316s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.10s) 316s --- PASS: TestApplyPolicy/Computer,_only_blank_profiles (0.11s) 316s --- PASS: TestApplyPolicy/Error_on_file_as_a_directory (0.02s) 316s --- PASS: TestApplyPolicy/Computer,_whitespace-only_value (0.14s) 316s --- PASS: TestApplyPolicy/User,_no_machine_profiles (0.17s) 316s --- PASS: TestApplyPolicy/Error_on_profile_being_a_directory (0.04s) 316s --- PASS: TestApplyPolicy/Computer,_multiple_profiles, (0.18s) 316s --- PASS: TestApplyPolicy/Error_on_read-only_.new_directory (0.09s) 316s --- PASS: TestApplyPolicy/No_profiles,_apparmor_directory_absent (0.00s) 316s --- PASS: TestApplyPolicy/Error_on_unloading_all_profiles_failing (0.18s) 316s --- PASS: TestApplyPolicy/Error_on_read-only_.old_directory (0.04s) 316s --- PASS: TestApplyPolicy/User,_valid_mapping,_unchanged_content (0.05s) 316s --- PASS: TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted (0.05s) 316s --- PASS: TestApplyPolicy/User,_error_on_overwriting_profile_contents (0.04s) 316s --- PASS: TestApplyPolicy/Computer,_duplicated_profiles (0.28s) 316s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory (0.29s) 316s --- PASS: TestApplyPolicy/User,_valid_mapping (0.11s) 316s --- PASS: TestApplyPolicy/Read-only_root_directory_and_no_entries (0.02s) 316s --- PASS: TestApplyPolicy/Computer,_one_profile (0.11s) 316s --- PASS: TestApplyPolicy/User,_error_on_multiple_profiles (0.08s) 316s --- PASS: TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded (0.12s) 316s --- PASS: TestApplyPolicy/User,_error_on_empty_user_profile (0.06s) 316s --- PASS: TestApplyPolicy/Computer,_profiles_with_whitespace (0.22s) 316s --- PASS: TestApplyPolicy/Existing_.new_directory_is_removed (0.16s) 316s --- PASS: TestApplyPolicy/No_profiles,_existing_rules_are_removed (0.09s) 316s --- PASS: TestApplyPolicy/Error_on_preprocessing_new_profiles_failing (0.15s) 316s --- PASS: TestApplyPolicy/Error_on_absent_loaded_policies_file (0.10s) 316s --- PASS: TestApplyPolicy/No_apparmor_parser_and_entries (0.04s) 316s --- PASS: TestApplyPolicy/Error_on_absent_profile (0.15s) 316s --- PASS: TestApplyPolicy/Error_on_read-only_root_directory_with_entries (0.02s) 316s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries (0.16s) 316s --- PASS: TestApplyPolicy/Error_on_preprocessing_old_profiles_failing (0.13s) 316s --- PASS: TestApplyPolicy/No_apparmor_parser_and_no_entries (0.02s) 316s --- PASS: TestApplyPolicy/Existing_.old_directory_is_removed (0.23s) 316s --- PASS: TestApplyPolicy/Computer,_user_policies_are_unloaded (0.18s) 316s --- PASS: TestApplyPolicy/Error_on_removing_unused_assets_after_dump (0.12s) 316s --- PASS: TestApplyPolicy/Unexpected_entry_key (0.02s) 316s --- PASS: TestApplyPolicy/Computer,_previous_profiles_are_unloaded (0.29s) 316s --- PASS: TestApplyPolicy/Computer,_blank_line_profiles (0.18s) 316s --- PASS: TestApplyPolicy/Error_on_loading_profiles_failing (0.17s) 316s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous (0.12s) 316s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous (0.11s) 316s --- PASS: TestApplyPolicy/Error_on_unloading_old_profiles_failing (0.19s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/policies/apparmor 0.738s 316s === RUN TestCertAutoenrollScript 316s === RUN TestCertAutoenrollScript/Error_on_enroll_failure 316s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled 316s === RUN TestCertAutoenrollScript/Unenroll 316s === RUN TestCertAutoenrollScript/Error_on_read-only_path 316s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration 316s === RUN TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration 316s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_keys 316s === RUN TestCertAutoenrollScript/Error_on_invalid_flags 316s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON 316s === RUN TestCertAutoenrollScript/Error_on_unenroll_failure 316s === RUN TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration 316s === RUN TestCertAutoenrollScript/Enroll_with_cepces_not_installed 316s === RUN TestCertAutoenrollScript/Error_on_missing_arguments 316s === RUN TestCertAutoenrollScript/Enroll_with_certmonger_not_installed 316s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_structure 316s --- PASS: TestCertAutoenrollScript (2.29s) 316s --- PASS: TestCertAutoenrollScript/Error_on_enroll_failure (0.23s) 316s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled (0.09s) 316s --- PASS: TestCertAutoenrollScript/Unenroll (0.09s) 316s --- PASS: TestCertAutoenrollScript/Error_on_read-only_path (0.31s) 316s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration (0.16s) 316s --- PASS: TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration (0.13s) 316s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_keys (0.20s) 316s --- PASS: TestCertAutoenrollScript/Error_on_invalid_flags (0.07s) 316s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON (0.18s) 316s --- PASS: TestCertAutoenrollScript/Error_on_unenroll_failure (0.21s) 316s --- PASS: TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration (0.08s) 316s --- PASS: TestCertAutoenrollScript/Enroll_with_cepces_not_installed (0.11s) 316s --- PASS: TestCertAutoenrollScript/Error_on_missing_arguments (0.11s) 316s --- PASS: TestCertAutoenrollScript/Enroll_with_certmonger_not_installed (0.14s) 316s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_structure (0.17s) 316s === RUN TestApplyPolicy 316s === RUN TestApplyPolicy/Error_on_invalid_advanced_configuration_value 316s === RUN TestApplyPolicy/Computer,_no_entries 316s === RUN TestApplyPolicy/Computer,_domain_is_offline 316s === RUN TestApplyPolicy/Computer,_configured_to_enroll 316s time="2024-11-29T20:36:16Z" level=info msg="Certificate autoenrollment script ran successfully\n" 316s === RUN TestApplyPolicy/Computer,_configured_to_unenroll 316s time="2024-11-29T20:36:16Z" level=info msg="Certificate autoenrollment script ran successfully\n" 316s === RUN TestApplyPolicy/User,_autoenroll_not_supported 316s === RUN TestApplyPolicy/Error_on_autoenroll_script_failure 316s === RUN TestApplyPolicy/Error_on_invalid_autoenroll_value 316s === RUN TestApplyPolicy/Computer,_no_entries,_Samba_cache_present 316s time="2024-11-29T20:36:16Z" level=info msg="Certificate autoenrollment script ran successfully\n" 316s === RUN TestApplyPolicy/Computer,_autoenroll_disabled 316s === RUN TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration 316s time="2024-11-29T20:36:16Z" level=info msg="Certificate autoenrollment script ran successfully\n" 316s --- PASS: TestApplyPolicy (0.06s) 316s --- PASS: TestApplyPolicy/Error_on_invalid_advanced_configuration_value (0.00s) 316s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 316s --- PASS: TestApplyPolicy/Computer,_domain_is_offline (0.00s) 316s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll (0.01s) 316s --- PASS: TestApplyPolicy/Computer,_configured_to_unenroll (0.01s) 316s --- PASS: TestApplyPolicy/User,_autoenroll_not_supported (0.00s) 316s --- PASS: TestApplyPolicy/Error_on_autoenroll_script_failure (0.01s) 316s --- PASS: TestApplyPolicy/Error_on_invalid_autoenroll_value (0.00s) 316s --- PASS: TestApplyPolicy/Computer,_no_entries,_Samba_cache_present (0.01s) 316s --- PASS: TestApplyPolicy/Computer,_autoenroll_disabled (0.00s) 316s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration (0.01s) 316s === RUN TestMockAutoenrollScript 316s --- PASS: TestMockAutoenrollScript (0.00s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/policies/certificate 2.387s 316s === RUN TestNormalize 316s === PAUSE TestNormalize 316s === RUN TestApplyPolicy 316s === PAUSE TestApplyPolicy 316s === CONT TestNormalize 316s === CONT TestApplyPolicy 316s === RUN TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 316s === PAUSE TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 316s === RUN TestApplyPolicy/Quoted_i 316s === PAUSE TestApplyPolicy/Quoted_i 316s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_as 316s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_as 316s === RUN TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 316s === PAUSE TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 316s === RUN TestApplyPolicy/Error_on_empty_meta 316s === PAUSE TestApplyPolicy/Error_on_empty_meta 316s === RUN TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 316s === PAUSE TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 316s === RUN TestApplyPolicy/First_boot 316s === PAUSE TestApplyPolicy/First_boot 316s === RUN TestApplyPolicy/Multiple_keys_same_category 316s === PAUSE TestApplyPolicy/Multiple_keys_same_category 316s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 316s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 316s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 316s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 316s === RUN TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 316s === PAUSE TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 316s === RUN TestApplyPolicy/User_updates_existing_value 316s === PAUSE TestApplyPolicy/User_updates_existing_value 316s === RUN TestApplyPolicy/Update_user_disabled_key_with_value 316s === PAUSE TestApplyPolicy/Update_user_disabled_key_with_value 316s === RUN TestApplyPolicy/Update_machine_disabled_key_with_value 316s === PAUSE TestApplyPolicy/Update_machine_disabled_key_with_value 316s === RUN TestApplyPolicy/No_update_when_no_change 316s === PAUSE TestApplyPolicy/No_update_when_no_change 316s === RUN TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 316s === PAUSE TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 316s === RUN TestApplyPolicy/No_surrounding_brackets_multiple_ai 316s === PAUSE TestApplyPolicy/No_surrounding_brackets_multiple_ai 316s === RUN TestApplyPolicy/Do_not_update_other_files_from_db 316s === PAUSE TestApplyPolicy/Do_not_update_other_files_from_db 316s === RUN TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 316s === PAUSE TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 316s === RUN TestApplyPolicy/User_updates_key_is_now_disabled 316s === PAUSE TestApplyPolicy/User_updates_key_is_now_disabled 316s === RUN TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 316s === PAUSE TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 316s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_user 316s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_user 316s === RUN TestApplyPolicy/Unquoted_string 316s === PAUSE TestApplyPolicy/Unquoted_string 316s === RUN TestApplyPolicy/No_surrounding_brackets_ai 316s === PAUSE TestApplyPolicy/No_surrounding_brackets_ai 316s === RUN TestApplyPolicy/Error_on_invalid_type 316s === PAUSE TestApplyPolicy/Error_on_invalid_type 316s === RUN TestApplyPolicy/Do_not_interfere_with_other_user_profile 316s === PAUSE TestApplyPolicy/Do_not_interfere_with_other_user_profile 316s === RUN TestApplyPolicy/Error_when_machine_db_does_not_exist 316s === PAUSE TestApplyPolicy/Error_when_machine_db_does_not_exist 316s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 316s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 316s === RUN TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 316s === PAUSE TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 316s === RUN TestApplyPolicy/User_updates_with_different_value 316s === PAUSE TestApplyPolicy/User_updates_with_different_value 316s === RUN TestApplyPolicy/Machine_updates_with_different_value 316s === PAUSE TestApplyPolicy/Machine_updates_with_different_value 316s === RUN TestApplyPolicy/Missing_user_compiled_db_for_user 316s === PAUSE TestApplyPolicy/Missing_user_compiled_db_for_user 316s === RUN TestApplyPolicy/Multi-lines_ai 316s === PAUSE TestApplyPolicy/Multi-lines_ai 316s === RUN TestApplyPolicy/Error_on_invalid_ai 316s === PAUSE TestApplyPolicy/Error_on_invalid_ai 316s === RUN TestApplyPolicy/No_policy_still_generates_a_valid_db 316s === PAUSE TestApplyPolicy/No_policy_still_generates_a_valid_db 316s === RUN TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 316s === PAUSE TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 316s === RUN TestApplyPolicy/Quoted_b 316s === PAUSE TestApplyPolicy/Quoted_b 316s === RUN TestApplyPolicy/Multi-lines_ai_mixed_with_comma 316s === PAUSE TestApplyPolicy/Multi-lines_ai_mixed_with_comma 316s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_machine 316s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_machine 316s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_as 316s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_as 316s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 316s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 316s === RUN TestApplyPolicy/New_user 316s === PAUSE TestApplyPolicy/New_user 316s === RUN TestApplyPolicy/Machine_updates_existing_value 316s === PAUSE TestApplyPolicy/Machine_updates_existing_value 316s === RUN TestApplyPolicy/Machine_updates_key_is_now_disabled 316s === PAUSE TestApplyPolicy/Machine_updates_key_is_now_disabled 316s === RUN TestApplyPolicy/Multiple_sections 316s === PAUSE TestApplyPolicy/Multiple_sections 316s === RUN TestApplyPolicy/Multiple_sections_with_disabled_keys 316s === PAUSE TestApplyPolicy/Multiple_sections_with_disabled_keys 316s === RUN TestApplyPolicy/Multi-lines_as 316s === PAUSE TestApplyPolicy/Multi-lines_as 316s === RUN TestApplyPolicy/Multi-lines_as_mixed_with_comma 316s === PAUSE TestApplyPolicy/Multi-lines_as_mixed_with_comma 316s === CONT TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 316s === CONT TestApplyPolicy/Error_on_invalid_type 316s === RUN TestNormalize/non_supported_is_reported_as_is 316s === PAUSE TestNormalize/non_supported_is_reported_as_is 316s === RUN TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 316s === PAUSE TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 316s === RUN TestNormalize/Multi-lines_as_quoted 316s === PAUSE TestNormalize/Multi-lines_as_quoted 316s === CONT TestApplyPolicy/Update_user_disabled_key_with_value 316s === CONT TestApplyPolicy/Multi-lines_as_mixed_with_comma 316s === CONT TestApplyPolicy/Machine_updates_with_different_value 316s === CONT TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 316s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 316s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 316s === CONT TestApplyPolicy/Quoted_b 316s === RUN TestNormalize/ai_without_leading_[ 316s === PAUSE TestNormalize/ai_without_leading_[ 316s === RUN TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 316s === PAUSE TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 316s === RUN TestNormalize/on_transformed_to_boolean 316s === PAUSE TestNormalize/on_transformed_to_boolean 316s === RUN TestNormalize/weird_case_false 316s === PAUSE TestNormalize/weird_case_false 316s === RUN TestNormalize/as_with_spaces_inside 316s === PAUSE TestNormalize/as_with_spaces_inside 316s === RUN TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 316s === PAUSE TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 316s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 316s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 316s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 316s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 316s === RUN TestNormalize/string_with_two_backslashes_don’t_escape_quotes 316s === PAUSE TestNormalize/string_with_two_backslashes_don’t_escape_quotes 316s === RUN TestNormalize/off_transformed_to_boolean 316s === PAUSE TestNormalize/off_transformed_to_boolean 316s === RUN TestNormalize/Multi-lines_as_with_spaces_inside 316s === PAUSE TestNormalize/Multi-lines_as_with_spaces_inside 316s === RUN TestNormalize/Multi-lines_as_with_explicit_empty_element 316s === PAUSE TestNormalize/Multi-lines_as_with_explicit_empty_element 316s === RUN TestNormalize/Multi-lines_ai_with_spaces_inside 316s === PAUSE TestNormalize/Multi-lines_ai_with_spaces_inside 316s === RUN TestNormalize/n_transformed_to_boolean 316s === PAUSE TestNormalize/n_transformed_to_boolean 316s === RUN TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 316s === PAUSE TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 316s === RUN TestNormalize/as_without_leading_[ 316s === PAUSE TestNormalize/as_without_leading_[ 316s === RUN TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 316s === PAUSE TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 316s === RUN TestNormalize/simple_ai 316s === PAUSE TestNormalize/simple_ai 316s === RUN TestNormalize/empty_quoted_string 316s === PAUSE TestNormalize/empty_quoted_string 316s === RUN TestNormalize/simple_boolean_false 316s === PAUSE TestNormalize/simple_boolean_false 316s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 316s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 316s === RUN TestNormalize/no_transformed_to_boolean 316s === PAUSE TestNormalize/no_transformed_to_boolean 316s === RUN TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 316s === PAUSE TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 316s === RUN TestNormalize/unmanaged_types_are_returned_as_is 316s === PAUSE TestNormalize/unmanaged_types_are_returned_as_is 316s === RUN TestNormalize/simple_quoted_as 316s === PAUSE TestNormalize/simple_quoted_as 316s === RUN TestNormalize/ai_without_ending_] 316s === PAUSE TestNormalize/ai_without_ending_] 316s === RUN TestNormalize/with_spaces 316s === PAUSE TestNormalize/with_spaces 316s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 316s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 316s === RUN TestNormalize/as_without_ending_] 316s === PAUSE TestNormalize/as_without_ending_] 316s === RUN TestNormalize/Multi-lines_ai 316s === PAUSE TestNormalize/Multi-lines_ai 316s === RUN TestNormalize/weird_case_true 316s === PAUSE TestNormalize/weird_case_true 316s === RUN TestNormalize/y_transformed_to_boolean 316s === PAUSE TestNormalize/y_transformed_to_boolean 316s === RUN TestNormalize/as_simple_quoted_as_with_spaces 316s === PAUSE TestNormalize/as_simple_quoted_as_with_spaces 316s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and__[] 316s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and__[] 316s === RUN TestNormalize/ai_empty_elements_separated_with_commas_are_kept 316s === PAUSE TestNormalize/ai_empty_elements_separated_with_commas_are_kept 316s === RUN TestNormalize/one_quote 316s === PAUSE TestNormalize/one_quote 316s === RUN TestNormalize/string_with_multiple_backslashes_escaped_quotes 316s === PAUSE TestNormalize/string_with_multiple_backslashes_escaped_quotes 316s === RUN TestNormalize/as_with_weird_composition_inception_will_be_quoted 316s === PAUSE TestNormalize/as_with_weird_composition_inception_will_be_quoted 316s === RUN TestNormalize/Multi-lines_as_unquoted 316s === PAUSE TestNormalize/Multi-lines_as_unquoted 316s === RUN TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 316s === PAUSE TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 316s === RUN TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 316s === PAUSE TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 316s === RUN TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 316s === PAUSE TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 316s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 316s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 316s === RUN TestNormalize/one_escaped_quote 316s === PAUSE TestNormalize/one_escaped_quote 316s === RUN TestNormalize/quoted_string_with_quotes 316s === PAUSE TestNormalize/quoted_string_with_quotes 316s === RUN TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 316s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 316s === RUN TestNormalize/as_empty_elements_separated_with_commas_are_kept 316s === PAUSE TestNormalize/as_empty_elements_separated_with_commas_are_kept 316s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 316s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 316s === RUN TestNormalize/ai_with_spaces_inside 316s === PAUSE TestNormalize/ai_with_spaces_inside 316s === RUN TestNormalize/unquoted_string_with_quotes 316s === PAUSE TestNormalize/unquoted_string_with_quotes 316s === RUN TestNormalize/yes_transformed_to_boolean 316s === PAUSE TestNormalize/yes_transformed_to_boolean 316s === RUN TestNormalize/as_with_leading_and_ending_spaces_and__[] 316s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and__[] 316s === RUN TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 316s === PAUSE TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 316s === RUN TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 316s === PAUSE TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 316s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 316s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 316s === RUN TestNormalize/simple_quoted_string 316s === PAUSE TestNormalize/simple_quoted_string 316s === RUN TestNormalize/empty_unquoted_string 316s === PAUSE TestNormalize/empty_unquoted_string 316s === RUN TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 316s === PAUSE TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 316s === RUN TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 316s === PAUSE TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 316s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 316s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 316s === RUN TestNormalize/simple_ai_with_no_spaces 316s === PAUSE TestNormalize/simple_ai_with_no_spaces 316s === RUN TestNormalize/simple_unquoted_string 316s === PAUSE TestNormalize/simple_unquoted_string 316s === RUN TestNormalize/string_with_escaped_quotes 316s === PAUSE TestNormalize/string_with_escaped_quotes 316s === RUN TestNormalize/simple_as_with_no_spaces 316s === PAUSE TestNormalize/simple_as_with_no_spaces 316s === RUN TestNormalize/Multi-lines_as_with_quoted_','_is_supported 316s === PAUSE TestNormalize/Multi-lines_as_with_quoted_','_is_supported 316s === RUN TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 316s === PAUSE TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 316s === RUN TestNormalize/simple_boolean_true 316s === PAUSE TestNormalize/simple_boolean_true 316s === RUN TestNormalize/simple_unquoted_as 316s === PAUSE TestNormalize/simple_unquoted_as 316s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 316s === CONT TestApplyPolicy/User_updates_with_different_value 316s === CONT TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 316s === CONT TestApplyPolicy/Error_when_machine_db_does_not_exist 316s === CONT TestApplyPolicy/Do_not_interfere_with_other_user_profile 316s === CONT TestApplyPolicy/Error_on_invalid_ai 316s === CONT TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 316s === CONT TestApplyPolicy/No_policy_still_generates_a_valid_db 316s === CONT TestApplyPolicy/Multi-lines_ai 316s === CONT TestApplyPolicy/First_boot 316s === CONT TestApplyPolicy/User_updates_existing_value 316s === CONT TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 316s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 316s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 316s === CONT TestApplyPolicy/Multiple_keys_same_category 316s === CONT TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 316s === CONT TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 316s === CONT TestApplyPolicy/Error_on_empty_meta 316s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_user 316s === CONT TestApplyPolicy/No_surrounding_brackets_ai 316s === CONT TestApplyPolicy/Unquoted_string 316s === CONT TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 316s === CONT TestApplyPolicy/Machine_updates_existing_value 316s === CONT TestApplyPolicy/Multi-lines_as 316s === CONT TestApplyPolicy/Multiple_sections_with_disabled_keys 316s === CONT TestApplyPolicy/Multiple_sections 316s === CONT TestApplyPolicy/Machine_updates_key_is_now_disabled 316s === CONT TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 316s === CONT TestApplyPolicy/Do_not_update_other_files_from_db 316s === CONT TestApplyPolicy/No_surrounding_brackets_multiple_ai 316s === CONT TestApplyPolicy/User_updates_key_is_now_disabled 316s === CONT TestApplyPolicy/No_update_when_no_change 316s === CONT TestApplyPolicy/Missing_user_compiled_db_for_user 316s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_as 316s === CONT TestApplyPolicy/New_user 316s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 316s === CONT TestApplyPolicy/Update_machine_disabled_key_with_value 316s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_machine 316s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_as 316s === CONT TestApplyPolicy/Multi-lines_ai_mixed_with_comma 316s === CONT TestApplyPolicy/Quoted_i 316s === CONT TestNormalize/non_supported_is_reported_as_is 316s === CONT TestNormalize/as_simple_quoted_as_with_spaces 316s === CONT TestNormalize/simple_unquoted_as 316s === CONT TestNormalize/simple_boolean_true 316s === CONT TestNormalize/Multi-lines_as_with_quoted_','_is_supported 316s === CONT TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 316s === CONT TestNormalize/string_with_escaped_quotes 316s === CONT TestNormalize/simple_unquoted_string 316s === CONT TestNormalize/simple_ai_with_no_spaces 316s === CONT TestNormalize/simple_as_with_no_spaces 316s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 316s === CONT TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 316s === CONT TestNormalize/empty_unquoted_string 316s === CONT TestNormalize/simple_quoted_string 316s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 316s === CONT TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 316s === CONT TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 316s === CONT TestNormalize/as_with_leading_and_ending_spaces_and__[] 316s === CONT TestNormalize/yes_transformed_to_boolean 316s === CONT TestNormalize/unquoted_string_with_quotes 316s === CONT TestNormalize/ai_with_spaces_inside 316s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 316s === CONT TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 316s === CONT TestNormalize/as_empty_elements_separated_with_commas_are_kept 316s === CONT TestNormalize/quoted_string_with_quotes 316s === CONT TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 316s === CONT TestNormalize/one_escaped_quote 316s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 316s === CONT TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 316s === CONT TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 316s === CONT TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 316s === CONT TestNormalize/Multi-lines_as_unquoted 316s === CONT TestNormalize/as_with_weird_composition_inception_will_be_quoted 316s === CONT TestNormalize/string_with_multiple_backslashes_escaped_quotes 316s === CONT TestNormalize/one_quote 316s === CONT TestNormalize/ai_empty_elements_separated_with_commas_are_kept 316s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and__[] 316s === CONT TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 316s === CONT TestNormalize/y_transformed_to_boolean 316s === CONT TestNormalize/Multi-lines_ai 316s === CONT TestNormalize/as_without_ending_] 316s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 316s === CONT TestNormalize/weird_case_true 316s === CONT TestNormalize/with_spaces 316s === CONT TestNormalize/ai_without_ending_] 316s === CONT TestNormalize/simple_quoted_as 316s === CONT TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 316s === CONT TestNormalize/no_transformed_to_boolean 316s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 316s === CONT TestNormalize/simple_boolean_false 316s === CONT TestNormalize/empty_quoted_string 316s === CONT TestNormalize/simple_ai 316s === CONT TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 316s === CONT TestNormalize/as_without_leading_[ 316s === CONT TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 316s === CONT TestNormalize/n_transformed_to_boolean 316s === CONT TestNormalize/Multi-lines_ai_with_spaces_inside 316s === CONT TestNormalize/Multi-lines_as_with_explicit_empty_element 316s === CONT TestNormalize/Multi-lines_as_with_spaces_inside 316s === CONT TestNormalize/off_transformed_to_boolean 316s === CONT TestNormalize/string_with_two_backslashes_don’t_escape_quotes 316s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 316s === CONT TestNormalize/unmanaged_types_are_returned_as_is 316s === CONT TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 316s === CONT TestNormalize/as_with_spaces_inside 316s === CONT TestNormalize/weird_case_false 316s === CONT TestNormalize/on_transformed_to_boolean 316s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 316s === CONT TestNormalize/ai_without_leading_[ 316s === CONT TestNormalize/Multi-lines_as_quoted 316s === CONT TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 316s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 316s --- PASS: TestNormalize (0.01s) 316s --- PASS: TestNormalize/non_supported_is_reported_as_is (0.00s) 316s --- PASS: TestNormalize/as_simple_quoted_as_with_spaces (0.00s) 316s --- PASS: TestNormalize/simple_unquoted_as (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_quoted_','_is_supported (0.00s) 316s --- PASS: TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element (0.00s) 316s --- PASS: TestNormalize/simple_boolean_true (0.00s) 316s --- PASS: TestNormalize/string_with_escaped_quotes (0.00s) 316s --- PASS: TestNormalize/simple_unquoted_string (0.00s) 316s --- PASS: TestNormalize/simple_ai_with_no_spaces (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 316s --- PASS: TestNormalize/simple_as_with_no_spaces (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements (0.00s) 316s --- PASS: TestNormalize/empty_unquoted_string (0.00s) 316s --- PASS: TestNormalize/simple_quoted_string (0.00s) 316s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets (0.00s) 316s --- PASS: TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result (0.00s) 316s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and__[] (0.00s) 316s --- PASS: TestNormalize/yes_transformed_to_boolean (0.00s) 316s --- PASS: TestNormalize/unquoted_string_with_quotes (0.00s) 316s --- PASS: TestNormalize/ai_with_spaces_inside (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_quoted (0.00s) 316s --- PASS: TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result (0.00s) 316s --- PASS: TestNormalize/as_empty_elements_separated_with_commas_are_kept (0.00s) 316s --- PASS: TestNormalize/quoted_string_with_quotes (0.00s) 316s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and_no_[] (0.00s) 316s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 316s --- PASS: TestNormalize/one_escaped_quote (0.00s) 316s --- PASS: TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split (0.00s) 316s --- PASS: TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element (0.00s) 316s --- PASS: TestNormalize/as_with_weird_composition_inception_will_be_quoted (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_unquoted (0.00s) 316s --- PASS: TestNormalize/string_with_multiple_backslashes_escaped_quotes (0.00s) 316s --- PASS: TestNormalize/one_quote (0.00s) 316s --- PASS: TestNormalize/ai_empty_elements_separated_with_commas_are_kept (0.00s) 316s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and__[] (0.00s) 316s --- PASS: TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result (0.00s) 316s --- PASS: TestNormalize/y_transformed_to_boolean (0.00s) 316s --- PASS: TestNormalize/Multi-lines_ai (0.00s) 316s --- PASS: TestNormalize/as_without_ending_] (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted (0.00s) 316s --- PASS: TestNormalize/with_spaces (0.00s) 316s --- PASS: TestNormalize/weird_case_true (0.00s) 316s --- PASS: TestNormalize/ai_without_ending_] (0.00s) 316s --- PASS: TestNormalize/simple_quoted_as (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements (0.00s) 316s --- PASS: TestNormalize/no_transformed_to_boolean (0.00s) 316s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] (0.00s) 316s --- PASS: TestNormalize/simple_boolean_false (0.00s) 316s --- PASS: TestNormalize/empty_quoted_string (0.00s) 316s --- PASS: TestNormalize/simple_ai (0.00s) 316s --- PASS: TestNormalize/as_partially_quoted_can_lead_to_unexpect_result (0.00s) 316s --- PASS: TestNormalize/as_without_leading_[ (0.00s) 316s --- PASS: TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result (0.00s) 316s --- PASS: TestNormalize/n_transformed_to_boolean (0.00s) 316s --- PASS: TestNormalize/Multi-lines_ai_with_spaces_inside (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_explicit_empty_element (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_spaces_inside (0.00s) 316s --- PASS: TestNormalize/off_transformed_to_boolean (0.00s) 316s --- PASS: TestNormalize/string_with_two_backslashes_don’t_escape_quotes (0.00s) 316s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 316s --- PASS: TestNormalize/unmanaged_types_are_returned_as_is (0.00s) 316s --- PASS: TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split (0.00s) 316s --- PASS: TestNormalize/as_with_spaces_inside (0.00s) 316s --- PASS: TestNormalize/weird_case_false (0.00s) 316s --- PASS: TestNormalize/on_transformed_to_boolean (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 316s --- PASS: TestNormalize/ai_without_leading_[ (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_quoted (0.00s) 316s --- PASS: TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string (0.00s) 316s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 316s --- PASS: TestApplyPolicy (0.00s) 316s --- PASS: TestApplyPolicy/Error_on_invalid_type (0.06s) 316s --- PASS: TestApplyPolicy/Multi-lines_as_mixed_with_comma (0.09s) 316s --- PASS: TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions (0.06s) 316s --- PASS: TestApplyPolicy/Error_when_machine_db_does_not_exist (0.00s) 316s --- PASS: TestApplyPolicy/User_updates_with_different_value (0.09s) 316s --- PASS: TestApplyPolicy/Machine_updates_with_different_value (0.17s) 316s --- PASS: TestApplyPolicy/Quoted_b (0.18s) 316s --- PASS: TestApplyPolicy/Update_user_disabled_key_with_value (0.20s) 316s --- PASS: TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order (0.22s) 316s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db_append_them (0.21s) 316s --- PASS: TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition (0.24s) 316s --- PASS: TestApplyPolicy/First_boot (0.07s) 316s --- PASS: TestApplyPolicy/Update_existing_correct_profile_stays_unchanged (0.13s) 316s --- PASS: TestApplyPolicy/Error_on_invalid_ai (0.16s) 316s --- PASS: TestApplyPolicy/Multiple_keys_same_category (0.01s) 316s --- PASS: TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values (0.00s) 316s --- PASS: TestApplyPolicy/No_policy_still_generates_a_valid_db (0.15s) 316s --- PASS: TestApplyPolicy/User_updates_existing_value (0.11s) 316s --- PASS: TestApplyPolicy/Multi-lines_ai (0.13s) 316s --- PASS: TestApplyPolicy/Error_on_empty_meta (0.01s) 316s --- PASS: TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type (0.10s) 316s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as (0.06s) 316s --- PASS: TestApplyPolicy/Do_not_interfere_with_other_user_profile (0.21s) 316s --- PASS: TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections (0.02s) 316s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as (0.08s) 316s --- PASS: TestApplyPolicy/No_surrounding_brackets_ai (0.05s) 316s --- PASS: TestApplyPolicy/Machine_updates_existing_value (0.04s) 316s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_user (0.08s) 316s --- PASS: TestApplyPolicy/Unquoted_string (0.08s) 316s --- PASS: TestApplyPolicy/Machine_updates_key_is_now_disabled (0.03s) 316s --- PASS: TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed (0.12s) 316s --- PASS: TestApplyPolicy/No_update_when_no_change (0.00s) 316s --- PASS: TestApplyPolicy/Multiple_sections (0.07s) 316s --- PASS: TestApplyPolicy/Multi-lines_as (0.11s) 316s --- PASS: TestApplyPolicy/Normalized_canonical_form_for_each_supported_key (0.07s) 316s --- PASS: TestApplyPolicy/No_surrounding_brackets_multiple_ai (0.06s) 316s --- PASS: TestApplyPolicy/Multiple_sections_with_disabled_keys (0.11s) 316s --- PASS: TestApplyPolicy/Do_not_update_other_files_from_db (0.10s) 316s --- PASS: TestApplyPolicy/User_updates_key_is_now_disabled (0.10s) 316s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed (0.05s) 316s --- PASS: TestApplyPolicy/Update_machine_disabled_key_with_value (0.05s) 316s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_as (0.06s) 316s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_machine (0.04s) 316s --- PASS: TestApplyPolicy/Missing_user_compiled_db_for_user (0.08s) 316s --- PASS: TestApplyPolicy/Quoted_i (0.02s) 316s --- PASS: TestApplyPolicy/New_user (0.08s) 316s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_as (0.03s) 316s --- PASS: TestApplyPolicy/Multi-lines_ai_mixed_with_comma (0.03s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/policies/dconf 0.598s 316s === RUN TestApplyPolicy 316s === PAUSE TestApplyPolicy 316s === CONT TestApplyPolicy 316s === RUN TestApplyPolicy/dconf_policy 316s === PAUSE TestApplyPolicy/dconf_policy 316s === CONT TestApplyPolicy/dconf_policy 316s --- PASS: TestApplyPolicy (0.00s) 316s --- PASS: TestApplyPolicy/dconf_policy (0.05s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/policies/gdm 0.096s 316s === RUN TestParseEntryValues 316s === PAUSE TestParseEntryValues 316s === RUN TestWriteFileWithUIDGID 316s === PAUSE TestWriteFileWithUIDGID 316s === RUN TestCreateUnits 316s === PAUSE TestCreateUnits 316s === RUN TestNew 316s === PAUSE TestNew 316s === RUN TestApplyPolicy 316s === PAUSE TestApplyPolicy 316s === CONT TestParseEntryValues 316s === RUN TestParseEntryValues/Parse_values_from_entry_with_one_value 316s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_one_value 316s === RUN TestParseEntryValues/Parse_values_from_entry_with_multiple_values 316s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_multiple_values 316s === RUN TestParseEntryValues/Parse_values_from_entry_with_repeated_values 316s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_repeated_values 316s === RUN TestParseEntryValues/Parse_values_trimming_whitespaces 316s === PAUSE TestParseEntryValues/Parse_values_trimming_whitespaces 316s === RUN TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 316s === PAUSE TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 316s === RUN TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 316s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 316s === RUN TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 316s === PAUSE TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 316s === RUN TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 316s === PAUSE TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 316s === CONT TestParseEntryValues/Parse_values_from_entry_with_one_value 316s === CONT TestApplyPolicy 316s === CONT TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 316s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 316s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 316s === CONT TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 316s === CONT TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 316s === CONT TestParseEntryValues/Parse_values_trimming_whitespaces 316s === CONT TestParseEntryValues/Parse_values_from_entry_with_repeated_values 316s === CONT TestParseEntryValues/Parse_values_from_entry_with_multiple_values 316s === CONT TestWriteFileWithUIDGID 316s === RUN TestWriteFileWithUIDGID/Error_when_invalid_gid 316s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_gid 316s === RUN TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 316s === PAUSE TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 316s === RUN TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 316s === PAUSE TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 316s === RUN TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 316s === PAUSE TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 316s === RUN TestWriteFileWithUIDGID/Error_when_invalid_uid 316s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_uid 316s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 316s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 316s === RUN TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 316s === PAUSE TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 316s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 316s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 316s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 316s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 316s === RUN TestApplyPolicy/Error_when_user_has_invalid_gid 316s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_gid 316s === RUN TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 316s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 316s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 316s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 316s === RUN TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 316s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 316s === RUN TestApplyPolicy/Error_when_entry_is_errored 316s === PAUSE TestApplyPolicy/Error_when_entry_is_errored 316s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 316s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 316s === RUN TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 316s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 316s === RUN TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 316s === PAUSE TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 316s === RUN TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 316s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 316s === RUN TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 316s === PAUSE TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 316s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 316s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 316s === RUN TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 316s === PAUSE TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 316s === RUN TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 316s === PAUSE TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 316s === RUN TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 316s === PAUSE TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 316s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 316s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 316s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 316s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 316s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 316s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 316s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 316s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 316s === RUN TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 316s === PAUSE TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 316s === RUN TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 316s === PAUSE TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 316s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 316s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 316s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 316s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 316s === RUN TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 316s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 316s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 316s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 316s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 316s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 316s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 316s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 316s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 316s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 316s === RUN TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 316s === PAUSE TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 316s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 316s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 316s === CONT TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 316s === RUN TestApplyPolicy/Error_when_user_has_invalid_uid 316s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_uid 316s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 316s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 316s === RUN TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 316s === PAUSE TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 316s === RUN TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 316s === CONT TestCreateUnits 316s === PAUSE TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 316s === RUN TestCreateUnits/Write_single_unit 316s === PAUSE TestCreateUnits/Write_single_unit 316s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 316s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 316s === RUN TestCreateUnits/Write_multiple_units 316s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 316s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 316s === RUN TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 316s === PAUSE TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 316s === RUN TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 316s === PAUSE TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 316s === RUN TestApplyPolicy/Error_when_user_is_not_found 316s === PAUSE TestApplyPolicy/Error_when_user_is_not_found 316s === RUN TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 316s === CONT TestWriteFileWithUIDGID/Error_when_invalid_gid 316s === PAUSE TestCreateUnits/Write_multiple_units 316s === RUN TestCreateUnits/Write_krb5_tagged_unit 316s === PAUSE TestCreateUnits/Write_krb5_tagged_unit 316s === CONT TestWriteFileWithUIDGID/Error_when_invalid_uid 316s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 316s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 316s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 316s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 316s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 316s === RUN TestApplyPolicy/Error_when_daemon-reload_fails 316s === PAUSE TestApplyPolicy/Error_when_daemon-reload_fails 316s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 316s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 316s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 316s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 316s === RUN TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 316s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 316s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 316s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 316s === CONT TestNew 316s === RUN TestNew/Creates_manager_successfully 316s === PAUSE TestNew/Creates_manager_successfully 316s === RUN TestNew/Error_when_runDir_has_invalid_permissions 316s === PAUSE TestNew/Error_when_runDir_has_invalid_permissions 316s === CONT TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 316s === RUN TestNew/Error_when_systemUnitDir_has_invalid_permissions 316s === PAUSE TestNew/Error_when_systemUnitDir_has_invalid_permissions 316s === RUN TestApplyPolicy/Error_when_enabling_new_units_fails 316s === PAUSE TestApplyPolicy/Error_when_enabling_new_units_fails 316s === RUN TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 316s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 316s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 316s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 316s === RUN TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 316s === PAUSE TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 316s === CONT TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 316s === CONT TestCreateUnits/Write_krb5_tagged_unit 316s === CONT TestCreateUnits/Write_single_unit 316s === CONT TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 316s --- PASS: TestParseEntryValues (0.00s) 316s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_one_value (0.00s) 316s --- PASS: TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty (0.00s) 316s --- PASS: TestParseEntryValues/Parse_values_trimming_whitespaces (0.00s) 316s --- PASS: TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values (0.00s) 316s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags (0.00s) 316s --- PASS: TestParseEntryValues/Parse_values_trimming_sequential_linebreaks (0.00s) 316s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_repeated_values (0.00s) 316s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_multiple_values (0.01s) 316s === CONT TestCreateUnits/Write_multiple_units 316s === CONT TestNew/Creates_manager_successfully 316s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 316s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 316s time="2024-11-29T20:36:19Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s time="2024-11-29T20:36:19Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s === CONT TestNew/Error_when_systemUnitDir_has_invalid_permissions 316s === CONT TestNew/Error_when_runDir_has_invalid_permissions 316s === CONT TestApplyPolicy/Error_when_user_is_not_found 316s --- PASS: TestCreateUnits (0.00s) 316s --- PASS: TestCreateUnits/Write_krb5_tagged_unit (0.05s) 316s --- PASS: TestCreateUnits/Write_single_unit (0.08s) 316s --- PASS: TestCreateUnits/Write_multiple_units (0.08s) 316s === CONT TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 316s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 316s === CONT TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 316s === CONT TestApplyPolicy/Error_when_enabling_new_units_fails 316s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 316s --- PASS: TestWriteFileWithUIDGID (0.00s) 316s --- PASS: TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions (0.05s) 316s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_gid (0.06s) 316s --- PASS: TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory (0.08s) 316s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_uid (0.08s) 316s --- PASS: TestWriteFileWithUIDGID/Write_file_with_current_user_ownership (0.15s) 316s === CONT TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 316s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-cifs-authenticated.com-authenticated-mount.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-nfs-krb_domain.com-mount-krb_path.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 316s === CONT TestApplyPolicy/Error_when_daemon-reload_fails 316s --- PASS: TestNew (0.00s) 316s --- PASS: TestNew/Creates_manager_successfully (0.06s) 316s --- PASS: TestNew/Error_when_runDir_has_invalid_permissions (0.05s) 316s --- PASS: TestNew/Error_when_systemUnitDir_has_invalid_permissions (0.17s) 316s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 316s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 316s === CONT TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 316s === CONT TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 316s === CONT TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s === CONT TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 316s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 316s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mounpath.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 316s === CONT TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 316s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 316s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 316s === CONT TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 316s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 316s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 316s === CONT TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s === CONT TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 316s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 316s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 316s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 316s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 316s === CONT TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 316s === CONT TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 316s === CONT TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 316s === CONT TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 316s === CONT TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 316s === CONT TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 316s === CONT TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="The location \"[krb5]nfs://domain/untagged_first\" was already set up to be mounted with different options or authentication. The first provided value \"nfs://domain/untagged_first\" will be used instead." 316s time="2024-11-29T20:36:20Z" level=warning msg="The location \"nfs://domain/tagged_first\" was already set up to be mounted with different options or authentication. The first provided value \"[krb5]nfs://domain/tagged_first\" will be used instead." 316s === CONT TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 316s time="2024-11-29T20:36:20Z" level=warning msg="The location \"[krb5]nfs://domain/untagged_first\" was already set up to be mounted with different options or authentication. The first provided value \"nfs://domain/untagged_first\" will be used instead." 316s time="2024-11-29T20:36:20Z" level=warning msg="The location \"nfs://domain/tagged_first\" was already set up to be mounted with different options or authentication. The first provided value \"[krb5]nfs://domain/tagged_first\" will be used instead." 316s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 316s === CONT TestApplyPolicy/Error_when_entry_is_errored 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-nfs-domain-untagged_first.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-nfs-domain-tagged_first.mount\": failed to start unit" 316s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 316s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 316s === CONT TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 316s === CONT TestApplyPolicy/Error_when_user_has_invalid_gid 316s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 316s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-path-mount.mount\": failed to start unit" 316s === CONT TestApplyPolicy/Error_when_user_has_invalid_uid 316s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 316s === CONT TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 316s === CONT TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 316s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 316s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="Failed to stop unit \"adsys-protocol-domain.com-mountpath.mount\": failed to stop unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 316s time="2024-11-29T20:36:20Z" level=warning msg="failed to start unit \"adsys-fuse-completelydifferent.com-different-path.mount\": failed to start unit" 316s --- PASS: TestApplyPolicy (0.00s) 316s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value (0.10s) 316s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails (0.10s) 316s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags (0.04s) 316s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks (0.11s) 316s --- PASS: TestApplyPolicy/Error_when_user_is_not_found (0.16s) 316s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces (0.09s) 316s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key (0.12s) 316s --- PASS: TestApplyPolicy/Error_when_enabling_new_units_fails (0.12s) 316s --- PASS: TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.19s) 316s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values (0.14s) 316s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values (0.07s) 316s --- PASS: TestApplyPolicy/Error_when_daemon-reload_fails (0.05s) 316s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user (0.08s) 316s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty (0.09s) 316s --- PASS: TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.07s) 316s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys (0.08s) 316s --- PASS: TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled (0.09s) 316s --- PASS: TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored (0.07s) 316s --- PASS: TestApplyPolicy/System,_does_nothing_if_there_are_no_entries (0.04s) 316s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry (0.10s) 316s --- PASS: TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value (0.00s) 316s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry (0.01s) 316s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks (0.12s) 316s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value (0.08s) 316s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries (0.09s) 316s --- PASS: TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry (0.08s) 316s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values (0.10s) 316s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values (0.13s) 316s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.12s) 316s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values (0.07s) 316s --- PASS: TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir (0.03s) 316s --- PASS: TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory (0.03s) 316s --- PASS: TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions (0.02s) 316s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory (0.00s) 316s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.10s) 316s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries (0.10s) 316s --- PASS: TestApplyPolicy/Error_when_creating_units_with_bad_entry_values (0.09s) 316s --- PASS: TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir (0.07s) 316s --- PASS: TestApplyPolicy/Error_when_entry_is_errored (0.07s) 316s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled (0.07s) 316s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry (0.08s) 316s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys (0.11s) 316s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.12s) 316s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory (0.00s) 316s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.13s) 316s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_gid (0.07s) 316s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty (0.08s) 316s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries (0.04s) 316s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces (0.05s) 316s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_uid (0.03s) 316s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry (0.03s) 316s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries (0.03s) 316s --- PASS: TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails (0.03s) 316s --- PASS: TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values (0.03s) 316s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails (0.04s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/policies/mount 0.729s 316s === RUN TestSplitAndNormalizeUsersAndGroups 316s === PAUSE TestSplitAndNormalizeUsersAndGroups 316s === RUN TestGetSystemPolkitAdminIdentities 316s === PAUSE TestGetSystemPolkitAdminIdentities 316s === RUN TestApplyPolicy 316s === PAUSE TestApplyPolicy 316s === CONT TestSplitAndNormalizeUsersAndGroups 316s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 316s === RUN TestSplitAndNormalizeUsersAndGroups/Group_one_value 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Group_one_value 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 316s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value 316s === CONT TestApplyPolicy 316s === CONT TestGetSystemPolkitAdminIdentities 316s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 316s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 316s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 316s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 316s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 316s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 316s === RUN TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 316s === PAUSE TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 316s === RUN TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 316s === PAUSE TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 316s === RUN TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 316s === PAUSE TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 316s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 316s === CONT TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 316s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 316s === CONT TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 316s === RUN TestApplyPolicy/Set_client_group_admins 316s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 316s === CONT TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 316s === PAUSE TestApplyPolicy/Set_client_group_admins 316s === RUN TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 316s === PAUSE TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 316s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 316s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value 316s === RUN TestApplyPolicy/Error_on_writing_to_polkit_conf_file 316s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_conf_file 316s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 316s === RUN TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_< 316s === PAUSE TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_< 316s === RUN TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_= 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_= 316s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 316s === RUN TestSplitAndNormalizeUsersAndGroups/Simple_one_value 316s === RUN TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Simple_one_value 316s === PAUSE TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 316s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 316s === RUN TestApplyPolicy/Disallow_local_admins 316s === PAUSE TestApplyPolicy/Disallow_local_admins 316s === RUN TestApplyPolicy/Set_client_multiple_users_admins 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 316s === PAUSE TestApplyPolicy/Set_client_multiple_users_admins 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 316s === RUN TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_] 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_] 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_: 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_: 316s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 316s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 316s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 316s === RUN TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 316s === RUN TestSplitAndNormalizeUsersAndGroups/User_name_with_space 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/User_name_with_space 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_> 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_> 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_; 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_; 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_? 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_? 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_* 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_* 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_| 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_| 316s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 316s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 316s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_% 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_% 316s === RUN TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 316s === PAUSE TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 316s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 316s === PAUSE TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 316s === RUN TestApplyPolicy/No_client_AD_admins 316s === PAUSE TestApplyPolicy/No_client_AD_admins 316s === RUN TestApplyPolicy/Overwrite_existing_polkit_file 316s === PAUSE TestApplyPolicy/Overwrite_existing_polkit_file 316s === RUN TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 316s === PAUSE TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 316s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 316s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 316s === RUN TestApplyPolicy/No_rules_still_overwrite_those_files 316s === PAUSE TestApplyPolicy/No_rules_still_overwrite_those_files 316s === RUN TestApplyPolicy/Not_a_computer 316s === PAUSE TestApplyPolicy/Not_a_computer 316s === RUN TestApplyPolicy/Set_client_user_admins 316s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 316s === PAUSE TestApplyPolicy/Set_client_user_admins 316s === RUN TestApplyPolicy/Empty_client_AD_admins 316s === PAUSE TestApplyPolicy/Empty_client_AD_admins 316s === RUN TestApplyPolicy/Disallow_local_admins_and_set_client_admins 316s === PAUSE TestApplyPolicy/Disallow_local_admins_and_set_client_admins 316s === RUN TestApplyPolicy/Error_on_writing_to_sudoers_file 316s === PAUSE TestApplyPolicy/Error_on_writing_to_sudoers_file 316s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 316s === CONT TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 316s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 316s === RUN TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 316s === PAUSE TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 316s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 316s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 316s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 316s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 316s === RUN TestApplyPolicy/Overwrite_existing_sudoers_file 316s === PAUSE TestApplyPolicy/Overwrite_existing_sudoers_file 316s === RUN TestApplyPolicy/Don't_overwrite_other_existing_files 316s === PAUSE TestApplyPolicy/Don't_overwrite_other_existing_files 316s === CONT TestApplyPolicy/Set_client_group_admins 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"%g%r%oup@domain\" to \"%group@domain\": Invalid characters or domain\\user format" 316s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_% 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"u%s%er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 316s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"u[s]er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 316s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 316s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 316s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_| 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"u|s|er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 316s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_* 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"u*s*er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 316s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_? 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"u?s?er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 316s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_; 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"u;s;er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 316s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_> 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"u>s>er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 316s === CONT TestSplitAndNormalizeUsersAndGroups/User_name_with_space 316s === CONT TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"domain\\\\user\" to \"user@domain\": Invalid characters or domain\\user format" 316s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 316s time="2024-11-29T20:36:19Z" level=warning msg="testdata/incorrect-policikit-conf-is-dir/polkit-1/localauthority.conf.d/50-this-is-not-a-file.conf is a directory. Ignoring." 316s --- PASS: TestGetSystemPolkitAdminIdentities (0.00s) 316s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities (0.00s) 316s --- PASS: TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists (0.00s) 316s --- PASS: TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure (0.00s) 316s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys (0.00s) 316s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file (0.00s) 316s --- PASS: TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored (0.00s) 316s === CONT TestApplyPolicy/No_client_AD_admins 316s === CONT TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 316s === CONT TestApplyPolicy/Not_a_computer 316s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_< 316s time="2024-11-29T20:36:19Z" level=warning msg="Changed user or group \"u (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/User_name_with_space (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Handle_domain\user (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_< (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_: (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_empty_values (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_] (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Simple_one_value (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_= (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_/ (0.00s) 316s --- PASS: TestSplitAndNormalizeUsersAndGroups/Group_one_value (0.00s) 316s === CONT TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 316s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 316s === CONT TestApplyPolicy/Overwrite_existing_sudoers_file 316s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 316s === CONT TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 316s === CONT TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 316s --- PASS: TestApplyPolicy (0.00s) 316s --- PASS: TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins (0.07s) 316s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file (0.10s) 316s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_conf_file (0.10s) 316s --- PASS: TestApplyPolicy/Set_client_group_admins (0.11s) 316s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation (0.11s) 316s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file (0.11s) 316s --- PASS: TestApplyPolicy/Not_a_computer (0.14s) 316s --- PASS: TestApplyPolicy/No_rules_still_overwrite_those_files (0.04s) 316s --- PASS: TestApplyPolicy/No_client_AD_admins (0.15s) 316s --- PASS: TestApplyPolicy/Error_on_writing_to_sudoers_file (0.07s) 316s --- PASS: TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory (0.03s) 316s --- PASS: TestApplyPolicy/Overwrite_existing_polkit_file (0.02s) 316s --- PASS: TestApplyPolicy/Disallow_local_admins_and_set_client_admins (0.09s) 316s --- PASS: TestApplyPolicy/Set_client_user_admins (0.09s) 316s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.11s) 316s --- PASS: TestApplyPolicy/No_rules_and_no_existing_history_means_no_files (0.07s) 316s --- PASS: TestApplyPolicy/Empty_client_AD_admins (0.12s) 316s --- PASS: TestApplyPolicy/Set_client_multiple_users_admins (0.09s) 316s --- PASS: TestApplyPolicy/Set_client_mixed_with_users_and_group_admins (0.08s) 316s --- PASS: TestApplyPolicy/Disallow_local_admins (0.12s) 316s --- PASS: TestApplyPolicy/Don't_overwrite_other_existing_files (0.14s) 316s --- PASS: TestApplyPolicy/Overwrite_existing_sudoers_file (0.09s) 316s --- PASS: TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop (0.08s) 316s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins (0.10s) 316s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins (0.15s) 316s --- PASS: TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.15s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/policies/privilege 0.462s 316s === RUN TestApplyPolicy 316s === PAUSE TestApplyPolicy 316s === RUN TestWarnOnUnsupportedKeys 316s --- PASS: TestWarnOnUnsupportedKeys (0.01s) 316s === RUN TestWarnOnMissingDBusService 316s --- PASS: TestWarnOnMissingDBusService (0.00s) 316s === CONT TestApplyPolicy 316s === RUN TestApplyPolicy/Computer,_all_entries_set 316s === PAUSE TestApplyPolicy/Computer,_all_entries_set 316s === RUN TestApplyPolicy/User,_non-empty_entries 316s === PAUSE TestApplyPolicy/User,_non-empty_entries 316s === RUN TestApplyPolicy/Error_when_D-Bus_call_fails 316s === PAUSE TestApplyPolicy/Error_when_D-Bus_call_fails 316s === RUN TestApplyPolicy/Computer,_no_entries 316s === PAUSE TestApplyPolicy/Computer,_no_entries 316s === RUN TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 316s === PAUSE TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 316s === RUN TestApplyPolicy/User,_no_entries 316s === PAUSE TestApplyPolicy/User,_no_entries 316s === RUN TestApplyPolicy/Computer,_single_enabled_entry 316s === PAUSE TestApplyPolicy/Computer,_single_enabled_entry 316s === RUN TestApplyPolicy/Computer,_single_disabled_entry 316s === PAUSE TestApplyPolicy/Computer,_single_disabled_entry 316s === CONT TestApplyPolicy/Computer,_all_entries_set 316s === CONT TestApplyPolicy/Computer,_single_disabled_entry 316s === CONT TestApplyPolicy/Computer,_single_enabled_entry 316s === CONT TestApplyPolicy/User,_no_entries 316s === CONT TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 316s === CONT TestApplyPolicy/Computer,_no_entries 316s === CONT TestApplyPolicy/Error_when_D-Bus_call_fails 316s === CONT TestApplyPolicy/User,_non-empty_entries 316s --- PASS: TestApplyPolicy (0.09s) 316s --- PASS: TestApplyPolicy/Computer,_all_entries_set (0.00s) 316s --- PASS: TestApplyPolicy/Computer,_single_disabled_entry (0.00s) 316s --- PASS: TestApplyPolicy/Computer,_single_enabled_entry (0.00s) 316s --- PASS: TestApplyPolicy/User,_no_entries (0.00s) 316s --- PASS: TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error (0.00s) 316s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 316s --- PASS: TestApplyPolicy/Error_when_D-Bus_call_fails (0.00s) 316s --- PASS: TestApplyPolicy/User,_non-empty_entries (0.00s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/policies/proxy 0.173s 316s === RUN TestNew 316s === PAUSE TestNew 316s === RUN TestApplyPolicy 316s === PAUSE TestApplyPolicy 316s === RUN TestRunScripts 316s === PAUSE TestRunScripts 316s === CONT TestNew 316s === RUN TestNew/create_manager 316s === PAUSE TestNew/create_manager 316s === RUN TestNew/error_on_read_only_rundir 316s === PAUSE TestNew/error_on_read_only_rundir 316s === CONT TestNew/create_manager 316s === CONT TestApplyPolicy 316s === CONT TestRunScripts 316s === RUN TestRunScripts/scripts_not_listed_are_not_run 316s === PAUSE TestRunScripts/scripts_not_listed_are_not_run 316s === RUN TestRunScripts/scripts_referenced_in_subdirectories 316s === PAUSE TestRunScripts/scripts_referenced_in_subdirectories 316s === RUN TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 316s === PAUSE TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 316s === RUN TestRunScripts/has_no_session_running_flag_after_machine_shutdown 316s === PAUSE TestRunScripts/has_no_session_running_flag_after_machine_shutdown 316s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 316s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 316s === RUN TestRunScripts/error_on_order_file_not_existing 316s === PAUSE TestRunScripts/error_on_order_file_not_existing 316s === CONT TestNew/error_on_read_only_rundir 316s === RUN TestApplyPolicy/No_entries_is_an_empty_folder 316s === PAUSE TestApplyPolicy/No_entries_is_an_empty_folder 316s === RUN TestApplyPolicy/No_entries_update_existing_non_ready_folder 316s === PAUSE TestApplyPolicy/No_entries_update_existing_non_ready_folder 316s === RUN TestApplyPolicy/Subfolder_with_same_script_name 316s === PAUSE TestApplyPolicy/Subfolder_with_same_script_name 316s === RUN TestApplyPolicy/Destination_is_already_running,_no_change 316s === PAUSE TestApplyPolicy/Destination_is_already_running,_no_change 316s === RUN TestApplyPolicy/Destination_is_not_ready,_refreshing 316s === PAUSE TestApplyPolicy/Destination_is_not_ready,_refreshing 316s === RUN TestApplyPolicy/Error_on_subfolder_listed 316s === PAUSE TestApplyPolicy/Error_on_subfolder_listed 316s === RUN TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 316s === PAUSE TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 316s === RUN TestApplyPolicy/One_directory,_multiple_scripts_in_order 316s === PAUSE TestApplyPolicy/One_directory,_multiple_scripts_in_order 316s === RUN TestApplyPolicy/Multiple_directories: 316s === RUN TestRunScripts/error_on_argument_not_a_file 316s === PAUSE TestApplyPolicy/Multiple_directories: 316s === RUN TestApplyPolicy/Same_script_is_used_multiple_times 316s === PAUSE TestRunScripts/error_on_argument_not_a_file 316s === RUN TestRunScripts/one_script 316s === PAUSE TestApplyPolicy/Same_script_is_used_multiple_times 316s === PAUSE TestRunScripts/one_script 316s === RUN TestApplyPolicy/Empty_entries_are_discared 316s === RUN TestRunScripts/multiple_scripts_are_run_in_order 316s === PAUSE TestApplyPolicy/Empty_entries_are_discared 316s === RUN TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 316s === PAUSE TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 316s === PAUSE TestRunScripts/multiple_scripts_are_run_in_order 316s === RUN TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 316s === RUN TestRunScripts/allow_order_file_missing 316s === PAUSE TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 316s === PAUSE TestRunScripts/allow_order_file_missing 316s === RUN TestRunScripts/spaces_and_empty_lines_are_skipped 316s === PAUSE TestRunScripts/spaces_and_empty_lines_are_skipped 316s --- PASS: TestNew (0.00s) 316s --- PASS: TestNew/create_manager (0.00s) 316s --- PASS: TestNew/error_on_read_only_rundir (0.00s) 316s === RUN TestRunScripts/scripts_that_are_not_executable_are_skipped 316s === RUN TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 316s === PAUSE TestRunScripts/scripts_that_are_not_executable_are_skipped 316s === PAUSE TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 316s === RUN TestApplyPolicy/Error_on_script_does_not_exist 316s === PAUSE TestApplyPolicy/Error_on_script_does_not_exist 316s === RUN TestApplyPolicy/Error_on_invalid_GID 316s === PAUSE TestApplyPolicy/Error_on_invalid_GID 316s === RUN TestApplyPolicy/Error_on_user_lookup_failing 316s === PAUSE TestApplyPolicy/Error_on_user_lookup_failing 316s === RUN TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 316s === PAUSE TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 316s === RUN TestApplyPolicy/Subfolder_with_script 316s === PAUSE TestApplyPolicy/Subfolder_with_script 316s === RUN TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 316s === PAUSE TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 316s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 316s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 316s === RUN TestApplyPolicy/One_script 316s === PAUSE TestApplyPolicy/One_script 316s === RUN TestApplyPolicy/Error_on_users_run_directory_Read_Only 316s === PAUSE TestApplyPolicy/Error_on_users_run_directory_Read_Only 316s === RUN TestApplyPolicy/Error_on_invalid_UID 316s === PAUSE TestApplyPolicy/Error_on_invalid_UID 316s === CONT TestApplyPolicy/No_entries_is_an_empty_folder 316s === CONT TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 316s === CONT TestApplyPolicy/One_directory,_multiple_scripts_in_order 316s === CONT TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 316s === CONT TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 316s === CONT TestApplyPolicy/Empty_entries_are_discared 316s === CONT TestApplyPolicy/Same_script_is_used_multiple_times 316s === RUN TestRunScripts/has_no_session_running_flag_after_user_logoff 316s === PAUSE TestRunScripts/has_no_session_running_flag_after_user_logoff 316s === RUN TestRunScripts/keeps_running_flag_after_non_user_logoff 316s === PAUSE TestRunScripts/keeps_running_flag_after_non_user_logoff 316s === RUN TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 316s === PAUSE TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 316s === RUN TestRunScripts/error_on_not_ready_for_execution 316s === PAUSE TestRunScripts/error_on_not_ready_for_execution 316s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 316s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 316s === RUN TestRunScripts/keeps_running_flag_after_non_machine_shutdown 316s === PAUSE TestRunScripts/keeps_running_flag_after_non_machine_shutdown 316s === CONT TestApplyPolicy/Multiple_directories: 316s === CONT TestApplyPolicy/Destination_is_not_ready,_refreshing 316s === CONT TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 316s === CONT TestApplyPolicy/Error_on_subfolder_listed 316s === CONT TestApplyPolicy/Subfolder_with_same_script_name 316s === CONT TestApplyPolicy/Destination_is_already_running,_no_change 316s === CONT TestApplyPolicy/No_entries_update_existing_non_ready_folder 316s === CONT TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 316s === CONT TestApplyPolicy/Error_on_invalid_UID 316s time="2024-11-29T20:36:20Z" level=info msg="Running machine startup scripts" 316s === CONT TestApplyPolicy/Error_on_users_run_directory_Read_Only 316s time="2024-11-29T20:36:20Z" level=info msg="\"/tmp/TestApplyPolicyDestination_is_already_running,_no_change197773879/001/machine/scripts/.running\" already exists, a session is already running, ignoring." 316s === CONT TestApplyPolicy/One_script 316s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 316s === CONT TestApplyPolicy/Error_on_user_lookup_failing 316s === CONT TestApplyPolicy/Subfolder_with_script 316s === CONT TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 316s === CONT TestApplyPolicy/Error_on_invalid_GID 316s === CONT TestApplyPolicy/Error_on_script_does_not_exist 316s === CONT TestRunScripts/scripts_not_listed_are_not_run 316s === CONT TestRunScripts/allow_order_file_missing 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsallow_order_file_missing1202286461/001/users/foo/scripts/s\"" 316s === CONT TestRunScripts/keeps_running_flag_after_non_machine_shutdown 316s time="2024-11-29T20:36:20Z" level=info msg="\"/tmp/TestRunScriptsallow_order_file_missing1202286461/001/users/foo/scripts/s\" doesn't exist, but allowed to be missing, skipping" 316s time="2024-11-29T20:36:20Z" level=info msg="Running machine startup scripts" 316s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_not_listed_are_not_run3337050374/001/users/foo/scripts/s\"" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_user_logoff1320510160/001/users/foo/scripts/logoff\"" 316s === CONT TestRunScripts/error_on_not_ready_for_execution 316s === CONT TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_machine_shutdown1529093133/001/users/foo/scripts/shutdown\"" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown3668023609/001/machine/foo/scripts/shutdown\"" 316s time="2024-11-29T20:36:20Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown3668023609/001/machine/foo/scripts/shutdown\" doesn't exist, but allowed to be missing, skipping" 316s === CONT TestRunScripts/keeps_running_flag_after_non_user_logoff 316s === CONT TestRunScripts/has_no_session_running_flag_after_user_logoff 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_not_ready_for_execution2639876002/001/users/foo/scripts/s\"" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_user_logoff2810766278/001/machine/foo/scripts/logoff\"" 316s === CONT TestRunScripts/scripts_that_are_not_executable_are_skipped 316s === CONT TestRunScripts/spaces_and_empty_lines_are_skipped 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_user_logoff3055405202/001/users/foo/scripts/logoff\"" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped925593089/001/users/foo/scripts/s\"" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsspaces_and_empty_lines_are_skipped3846285052/001/users/foo/scripts/s\"" 316s === CONT TestRunScripts/error_on_order_file_not_existing 316s time="2024-11-29T20:36:20Z" level=warning msg="\"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped925593089/001/users/foo/scripts/scripts/notexecutable.sh\" failed to run\nfork/exec /tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped925593089/001/users/foo/scripts/scripts/notexecutable.sh: permission denied" 316s --- PASS: TestApplyPolicy (0.00s) 316s --- PASS: TestApplyPolicy/No_entries_is_an_empty_folder (0.05s) 316s --- PASS: TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update (0.07s) 316s --- PASS: TestApplyPolicy/Same_script_is_used_multiple_times (0.15s) 316s --- PASS: TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing (0.16s) 316s --- PASS: TestApplyPolicy/Empty_entries_are_discared (0.16s) 316s --- PASS: TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup (0.16s) 316s --- PASS: TestApplyPolicy/One_directory,_multiple_scripts_in_order (0.16s) 316s --- PASS: TestApplyPolicy/Multiple_directories: (0.16s) 316s --- PASS: TestApplyPolicy/Error_on_subfolder_listed (0.03s) 316s --- PASS: TestApplyPolicy/Error_on_invalid_UID (0.07s) 316s --- PASS: TestApplyPolicy/Destination_is_already_running,_no_change (0.11s) 316s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 316s --- PASS: TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) (0.11s) 316s --- PASS: TestApplyPolicy/Error_on_users_run_directory_Read_Only (0.10s) 316s --- PASS: TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update (0.23s) 316s --- PASS: TestApplyPolicy/Destination_is_not_ready,_refreshing (0.26s) 316s --- PASS: TestApplyPolicy/Subfolder_with_same_script_name (0.15s) 316s --- PASS: TestApplyPolicy/No_entries_update_existing_non_ready_folder (0.16s) 316s --- PASS: TestApplyPolicy/Error_on_user_lookup_failing (0.07s) 316s --- PASS: TestApplyPolicy/Error_on_invalid_GID (0.05s) 316s --- PASS: TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails (0.08s) 316s --- PASS: TestApplyPolicy/One_script (0.17s) 316s --- PASS: TestApplyPolicy/Error_on_script_does_not_exist (0.11s) 316s --- PASS: TestApplyPolicy/Subfolder_with_script (0.21s) 316s === CONT TestRunScripts/multiple_scripts_are_run_in_order 316s === CONT TestRunScripts/one_script 316s === CONT TestRunScripts/error_on_argument_not_a_file 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_order_file_not_existing2357132349/001/users/foo/scripts/s\"" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsone_script2276720979/001/users/foo/scripts/s\"" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_argument_not_a_file3101973777/001/users/foo/scripts/s\"" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsmultiple_scripts_are_run_in_order363946566/001/users/foo/scripts/s\"" 316s === CONT TestRunScripts/has_no_session_running_flag_after_machine_shutdown 316s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 316s === CONT TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_machine_shutdown2673077404/001/machine/foo/scripts/shutdown\"" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_machine_shutdown1058548652/001/machine/foo/scripts/shutdown\"" 316s === CONT TestRunScripts/scripts_referenced_in_subdirectories 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff251801569/001/users/foo/scripts/logoff\"" 316s time="2024-11-29T20:36:20Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff251801569/001/users/foo/scripts/logoff\" doesn't exist, but allowed to be missing, skipping" 316s time="2024-11-29T20:36:20Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_referenced_in_subdirectories1546472099/001/users/foo/scripts/s\"" 316s --- PASS: TestRunScripts (0.01s) 316s --- PASS: TestRunScripts/allow_order_file_missing (0.04s) 316s --- PASS: TestRunScripts/keeps_running_flag_after_non_machine_shutdown (0.09s) 316s --- PASS: TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown (0.08s) 316s --- PASS: TestRunScripts/error_on_not_ready_for_execution (0.11s) 316s --- PASS: TestRunScripts/scripts_not_listed_are_not_run (0.18s) 316s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff (0.14s) 316s --- PASS: TestRunScripts/spaces_and_empty_lines_are_skipped (0.10s) 316s --- PASS: TestRunScripts/has_no_session_running_flag_after_user_logoff (0.14s) 316s --- PASS: TestRunScripts/scripts_that_are_not_executable_are_skipped (0.13s) 316s --- PASS: TestRunScripts/keeps_running_flag_after_non_user_logoff (0.17s) 316s --- PASS: TestRunScripts/error_on_order_file_not_existing (0.13s) 316s --- PASS: TestRunScripts/one_script (0.12s) 316s --- PASS: TestRunScripts/error_on_argument_not_a_file (0.13s) 316s --- PASS: TestRunScripts/multiple_scripts_are_run_in_order (0.15s) 316s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown (0.08s) 316s --- PASS: TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff (0.10s) 316s --- PASS: TestRunScripts/has_no_session_running_flag_after_machine_shutdown (0.12s) 316s --- PASS: TestRunScripts/scripts_referenced_in_subdirectories (0.09s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/policies/scripts 0.725s 316s === RUN TestExclusiveLockExec 316s --- PASS: TestExclusiveLockExec (0.01s) 316s === RUN TestExclusiveLockSmb 316s --- PASS: TestExclusiveLockSmb (0.01s) 316s === RUN TestMultipleExecLocksOnlyReleaseOnLast 316s --- PASS: TestMultipleExecLocksOnlyReleaseOnLast (0.01s) 316s === RUN TestMultipleSmbLocksOnlyReleaseOnLast 316s --- PASS: TestMultipleSmbLocksOnlyReleaseOnLast (0.01s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/smbsafe 0.074s 316s === RUN TestAddStdoutForwarder 316s --- PASS: TestAddStdoutForwarder (0.00s) 316s === RUN TestAddStderrForwarder 316s --- PASS: TestAddStderrForwarder (0.00s) 316s === RUN TestAddStdoutForwarderEnsureStderrNoPolluted 316s --- PASS: TestAddStdoutForwarderEnsureStderrNoPolluted (0.00s) 316s === RUN TestAddForwarderAndDisconnect 316s --- PASS: TestAddForwarderAndDisconnect (0.01s) 316s === RUN TestAddForwardersGraduallyAndDisconnect 316s --- PASS: TestAddForwardersGraduallyAndDisconnect (0.01s) 316s === RUN TestAddForwarderDifferentWriterStdoutStderr 316s --- PASS: TestAddForwarderDifferentWriterStdoutStderr (0.00s) 316s === RUN TestAddForwarderSameWriterStdoutStderr 316s --- PASS: TestAddForwarderSameWriterStdoutStderr (0.00s) 316s === RUN TestAddStdoutForwarderWithBlockedStdout 316s time="2024-11-29T20:36:19Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 316s time="2024-11-29T20:36:19Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 316s time="2024-11-29T20:36:19Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 316s --- PASS: TestAddStdoutForwarderWithBlockedStdout (0.01s) 316s === RUN TestAddStderrForwarderWithBlockedStderr 316s time="2024-11-29T20:36:19Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 316s time="2024-11-29T20:36:19Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 316s time="2024-11-29T20:36:19Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 316s --- PASS: TestAddStderrForwarderWithBlockedStderr (0.01s) 316s === RUN TestAddStdoutForwarderOneWithFailingForwarder 316s time="2024-11-29T20:36:19Z" level=warning msg="Failed to forward log: Error from failedWriter" 316s time="2024-11-29T20:36:19Z" level=warning msg="Failed to forward log: Error from failedWriter" 316s time="2024-11-29T20:36:19Z" level=warning msg="Failed to forward log: Error from failedWriter" 316s --- PASS: TestAddStdoutForwarderOneWithFailingForwarder (0.01s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/stdforward 0.090s 316s === RUN TestManageUnit 316s === PAUSE TestManageUnit 316s === RUN TestDaemonReload 316s === PAUSE TestDaemonReload 316s === CONT TestManageUnit 316s === CONT TestDaemonReload 316s === RUN TestManageUnit/Start_unit_that_exists 316s === PAUSE TestManageUnit/Start_unit_that_exists 316s === RUN TestManageUnit/Enable_unit_that_exists 316s === PAUSE TestManageUnit/Enable_unit_that_exists 316s === RUN TestManageUnit/Error_when_starting_unit_that_doesn't_exist 316s === PAUSE TestManageUnit/Error_when_starting_unit_that_doesn't_exist 316s === RUN TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 316s === PAUSE TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 316s === RUN TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 316s === PAUSE TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 316s === RUN TestManageUnit/Stop_unit_that_exists 316s === PAUSE TestManageUnit/Stop_unit_that_exists 316s === RUN TestManageUnit/Disable_unit_that_exists 316s === PAUSE TestManageUnit/Disable_unit_that_exists 316s === RUN TestManageUnit/Error_when_starting_failing_unit 316s === PAUSE TestManageUnit/Error_when_starting_failing_unit 316s === RUN TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 316s === PAUSE TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 316s === RUN TestManageUnit/Error_when_stopping_failing_unit 316s === PAUSE TestManageUnit/Error_when_stopping_failing_unit 316s === CONT TestManageUnit/Start_unit_that_exists 316s === CONT TestManageUnit/Error_when_stopping_failing_unit 316s === CONT TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 316s === CONT TestManageUnit/Error_when_starting_failing_unit 316s === CONT TestManageUnit/Disable_unit_that_exists 316s === CONT TestManageUnit/Stop_unit_that_exists 316s === CONT TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 316s === CONT TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 316s === CONT TestManageUnit/Error_when_starting_unit_that_doesn't_exist 316s === CONT TestManageUnit/Enable_unit_that_exists 316s --- PASS: TestDaemonReload (0.01s) 316s --- PASS: TestManageUnit (0.00s) 316s --- PASS: TestManageUnit/Error_when_disabling_unit_that_doesn't_exist (0.01s) 316s --- PASS: TestManageUnit/Disable_unit_that_exists (0.01s) 316s --- PASS: TestManageUnit/Error_when_enabling_unit_that_doesn't_exist (0.00s) 316s --- PASS: TestManageUnit/Enable_unit_that_exists (0.00s) 316s --- PASS: TestManageUnit/Error_when_stopping_unit_that_doesn't_exist (0.01s) 316s --- PASS: TestManageUnit/Stop_unit_that_exists (0.01s) 316s --- PASS: TestManageUnit/Start_unit_that_exists (0.01s) 316s --- PASS: TestManageUnit/Error_when_stopping_failing_unit (0.01s) 316s --- PASS: TestManageUnit/Error_when_starting_failing_unit (0.01s) 316s --- PASS: TestManageUnit/Error_when_starting_unit_that_doesn't_exist (0.01s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/systemd 0.055s 316s ? github.com/ubuntu/adsys/po [no test files] 316s ? github.com/ubuntu/adsys/policies [no test files] 316s === RUN TestInteractiveInput 316s === RUN TestInteractiveInput/Config_file_exists 316s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 316s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 316s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 316s === RUN TestInteractiveInput/Submit_with_default_config 316s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 316s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 316s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 316s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 316s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 316s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 316s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 316s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 316s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 316s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 316s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 316s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 316s === RUN TestInteractiveInput/Initial_view 316s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 316s === RUN TestInteractiveInput/Directory_exists 316s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 316s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 316s === RUN TestInteractiveInput/Submit_with_duplicate_directories 316s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 316s === RUN TestInteractiveInput/Other_navigation_tests 316s --- PASS: TestInteractiveInput (0.06s) 316s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 316s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.00s) 316s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.01s) 316s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.01s) 316s --- PASS: TestInteractiveInput/Submit_with_default_config (0.01s) 316s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 316s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 316s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 316s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 316s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 316s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 316s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 316s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 316s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.00s) 316s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 316s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 316s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 316s --- PASS: TestInteractiveInput/Initial_view (0.00s) 316s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 316s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 316s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.00s) 316s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 316s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 316s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 316s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 316s === RUN TestInteractiveInstall 316s watchdtui_test.go:408: Test has to be run as root, skipping... 316s --- SKIP: TestInteractiveInstall (0.00s) 316s === RUN TestInteractiveUpdate 316s watchdtui_test.go:456: Test has to be run as root, skipping... 316s --- SKIP: TestInteractiveUpdate (0.00s) 316s PASS 316s ok github.com/ubuntu/adsys/internal/watchdtui 0.086s 318s === RUN TestWatchDirectory 318s === PAUSE TestWatchDirectory 318s === RUN TestRefreshGracePeriod 318s === PAUSE TestRefreshGracePeriod 318s === RUN TestUpdateDirs 318s === PAUSE TestUpdateDirs 318s === RUN TestUpdateDirsFailing 318s === PAUSE TestUpdateDirsFailing 318s === RUN TestUpdateDirsWithEmptyDirSlice 318s === PAUSE TestUpdateDirsWithEmptyDirSlice 318s === RUN TestUpdateDirsOnStoppedWatcher 318s === PAUSE TestUpdateDirsOnStoppedWatcher 318s === RUN TestStopWithoutStart 318s === PAUSE TestStopWithoutStart 318s === CONT TestWatchDirectory 318s === CONT TestUpdateDirsWithEmptyDirSlice 318s === CONT TestRefreshGracePeriod 318s === CONT TestUpdateDirs 318s === RUN TestWatchDirectory/Update_existing_file 318s === PAUSE TestWatchDirectory/Update_existing_file 318s === CONT TestUpdateDirsFailing 318s === RUN TestWatchDirectory/Updating_gpt.ini_is_a_no-op 318s === PAUSE TestWatchDirectory/Updating_gpt.ini_is_a_no-op 318s === RUN TestWatchDirectory/Remove_file 318s === PAUSE TestWatchDirectory/Remove_file 318s === RUN TestWatchDirectory/Multiple_nested_subdirectories 318s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories 318s === RUN TestWatchDirectory/New_subdir_without_file 318s === CONT TestStopWithoutStart 318s === CONT TestUpdateDirsOnStoppedWatcher 318s === PAUSE TestWatchDirectory/New_subdir_without_file 318s === RUN TestWatchDirectory/No_update,_no_gpt.ini 318s === PAUSE TestWatchDirectory/No_update,_no_gpt.ini 318s === RUN TestWatchDirectory/Existing_file,_subdir 318s === PAUSE TestWatchDirectory/Existing_file,_subdir 318s === RUN TestWatchDirectory/Nested_new_subdirs 318s === PAUSE TestWatchDirectory/Nested_new_subdirs 318s === RUN TestWatchDirectory/Combined_case 318s === PAUSE TestWatchDirectory/Combined_case 318s === RUN TestWatchDirectory/Error_on_updating_malformed_GPT.ini 318s === PAUSE TestWatchDirectory/Error_on_updating_malformed_GPT.ini 318s === RUN TestWatchDirectory/New_file,_subdir 318s === PAUSE TestWatchDirectory/New_file,_subdir 318s === RUN TestWatchDirectory/No_update,_existing_gpt.ini 318s === PAUSE TestWatchDirectory/No_update,_existing_gpt.ini 318s === RUN TestWatchDirectory/Rename_file 318s === PAUSE TestWatchDirectory/Rename_file 318s === RUN TestWatchDirectory/New_subdir 318s === PAUSE TestWatchDirectory/New_subdir 318s === RUN TestWatchDirectory/Multiple_directories,_only_one_is_updated 318s === PAUSE TestWatchDirectory/Multiple_directories,_only_one_is_updated 318s === RUN TestWatchDirectory/Update_with_existing_gpt.ini 318s === PAUSE TestWatchDirectory/Update_with_existing_gpt.ini 318s === RUN TestWatchDirectory/New_file,_no_gpt.ini 318s === PAUSE TestWatchDirectory/New_file,_no_gpt.ini 318s === RUN TestWatchDirectory/Remove_root_directory 318s === PAUSE TestWatchDirectory/Remove_root_directory 318s === RUN TestWatchDirectory/Rename_file_and_update 318s === PAUSE TestWatchDirectory/Rename_file_and_update 318s === RUN TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 318s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 318s === RUN TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 318s === PAUSE TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 318s === RUN TestWatchDirectory/Error_on_non_existing_directory 318s === PAUSE TestWatchDirectory/Error_on_non_existing_directory 318s === RUN TestWatchDirectory/Error_on_listing_no_directory 318s === PAUSE TestWatchDirectory/Error_on_listing_no_directory 318s === CONT TestWatchDirectory/Update_existing_file 318s === CONT TestWatchDirectory/Rename_file 318s --- PASS: TestStopWithoutStart (0.00s) 318s === CONT TestWatchDirectory/Existing_file,_subdir 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestRefreshGracePeriod75309072/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod75309072/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestUpdateDirsWithEmptyDirSlice1805487096/001/watchdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1805487096/001/watchdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_existing_file1571009519/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1805487096/001/watchdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1805487096/001/watchdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1805487096/001/watchdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod75309072/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file1571009519/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1805487096/001/watchdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1805487096/001/watchdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Updating directories to []" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file1571009519/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file1571009519/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file1571009519/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing2415611514/001/remove and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file1571009519/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/remove" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file2213471453/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file2213471453/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file2213471453/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/remove/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/remove/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/remove/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/remove/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/remove/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing2415611514/001/keep and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/keep" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file2213471453/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/keep/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/keep/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/keep/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir]" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file2213471453/001/one_file/alreadyexists\"" 318s --- PASS: TestUpdateDirsWithEmptyDirSlice (0.02s) 318s === CONT TestWatchDirectory/No_update,_existing_gpt.ini 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file2213471453/001/one_file/alreadyexists.bak\"" 318s time="2024-11-29T20:36:22Z" level=warning msg="Error stopping watcher: the service is already stopping or not running" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/keep/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing2415611514/001/keep/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsFailing2415611514/001/keep unexisting]" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2947719599/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2947719599/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing2415611514/001/keep/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing2415611514/001/keep/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing2415611514/001/keep/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing2415611514/001/keep/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing2415611514/001/remove/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing2415611514/001/remove/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing2415611514/001/remove/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2947719599/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2947719599/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing2415611514/001/remove/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestUpdateDirs3748880081/001/remove and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/remove" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/remove/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/remove/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/remove/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/remove/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/remove/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestUpdateDirs3748880081/001/keep and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/remove/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/remove/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/remove/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/remove/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file2213471453/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_existing_file1571009519/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestUpdateDirsOnStoppedWatcher278065294/001/curdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing2415611514/001/keep/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing2415611514/001/remove/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryExisting_file,_subdir1903548408/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirs3748880081/001/keep /tmp/TestUpdateDirs3748880081/001/add]" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestUpdateDirs3748880081/001/remove/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestUpdateDirs3748880081/001/keep and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/keep/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestUpdateDirs3748880081/001/add and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/add" 318s === CONT TestWatchDirectory/New_file,_subdir 318s === CONT TestWatchDirectory/Combined_case 318s === CONT TestWatchDirectory/Error_on_updating_malformed_GPT.ini 318s === CONT TestWatchDirectory/Nested_new_subdirs 318s --- PASS: TestUpdateDirsOnStoppedWatcher (0.27s) 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/add/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/add/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/add/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir" 318s --- PASS: TestUpdateDirsFailing (0.27s) 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/add/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestUpdateDirs3748880081/001/add/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/alreadyexistsDir/alreadyexists" 318s === CONT TestWatchDirectory/Rename_file_and_update 318s === CONT TestWatchDirectory/Error_on_listing_no_directory 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/otherdir\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4249283110/001/malformed and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4249283110/001/malformed" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/otherdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir/alreadyexistsDir/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/otherdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/otherdir/subdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir/alreadyexistsDir/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4249283110/001/malformed/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/otherdir/subdir/file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4249283110/001/malformed/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/dir\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/dir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/dir" 318s === CONT TestWatchDirectory/Error_on_non_existing_directory 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4249283110/001/malformed/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/dir/file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/dir/file\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/dir/file\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_non_existing_directory3219509273/001/doesnotexist and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexistsDir/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/alreadyexistsDir/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/otherdir\"" 318s === CONT TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/otherdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/otherdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/otherdir/subdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/otherdir/subdir/file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/newdir\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/newdir\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file_and_update1385670891/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update1385670891/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update1385670891/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update1385670891/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file_and_update1385670891/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file_and_update1385670891/001/one_file/alreadyexists.bak\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryRename_file_and_update1385670891/001/one_file/alreadyexists.bak\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/keep/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/keep/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/keep/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/keep/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/add/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/add/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/add/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs3748880081/001/add/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNested_new_subdirs687701791/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_subdir41452232/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4249283110/001/malformed/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4249283110/001/malformed/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4249283110/001/malformed/GPT.INI: strconv.ParseInt: parsing \"??\": invalid syntax" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryCombined_case103117614/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file_and_update1385670891/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1079587733/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestUpdateDirs3748880081/001/keep/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestUpdateDirs3748880081/001/add/GPT.INI" 318s === CONT TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s === CONT TestWatchDirectory/Update_with_existing_gpt.ini 318s === CONT TestWatchDirectory/Remove_root_directory 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1442364047/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1442364047/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1442364047/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1442364047/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1442364047/001/one_file/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1442364047/001/one_file/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/GPT.INI\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/GPT.INI\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/GPT.INI\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file" 318s === CONT TestWatchDirectory/New_file,_no_gpt.ini 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_no_gpt.ini194447607/001/no_gpt and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini194447607/001/no_gpt" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini194447607/001/no_gpt/testfile" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini194447607/001/no_gpt/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini194447607/001/no_gpt/new\"" 318s === CONT TestWatchDirectory/Multiple_nested_subdirectories 318s === CONT TestWatchDirectory/No_update,_no_gpt.ini 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_no_gpt.ini3231227725/001/no_gpt and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini3231227725/001/no_gpt" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini3231227725/001/no_gpt/testfile" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/new\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file889330754/001/withsubdir/alreadyexistsDir/GPT.INI" 318s --- PASS: TestUpdateDirs (0.62s) 318s === CONT TestWatchDirectory/New_subdir_without_file 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir/newsubdir\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir/newsubdir\"" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1442364047/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/GPT.INI: no such file or directory, creating a new file" 318s time="2024-11-29T20:36:22Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/GPT.INI: open /tmp/TestWatchDirectoryRemove_root_directory3929525299/001/one_file/GPT.INI: no such file or directory" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_no_gpt.ini194447607/001/no_gpt/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryNew_file,_no_gpt.ini194447607/001/no_gpt/GPT.INI: no such file or directory, creating a new file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/alreadyexistsDir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories1126169290/001/withsubdir/alreadyexistsDir/GPT.INI" 318s === CONT TestWatchDirectory/Remove_file 318s time="2024-11-29T20:36:22Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:22Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir_without_file3583102628/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_file1040740450/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file1040740450/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/alreadyexists" 318s === CONT TestWatchDirectory/Updating_gpt.ini_is_a_no-op 318s === CONT TestWatchDirectory/Multiple_directories,_only_one_is_updated 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op197551784/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op197551784/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op197551784/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op197551784/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/one_file and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/one_file" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/one_file/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op197551784/001/one_file/GPT.INI\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op197551784/001/one_file/GPT.INI\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir/alreadyexists\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir/alreadyexists\"" 318s === CONT TestWatchDirectory/New_subdir 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/alreadyexistsDir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/alreadyexistsDir/GPT.INI" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/alreadyexistsDir/alreadyexists" 318s time="2024-11-29T20:36:22Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/dir\"" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/dir and children" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/dir" 318s time="2024-11-29T20:36:22Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/dir/file" 318s time="2024-11-29T20:36:23Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:23Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_file1040740450/001/one_file/GPT.INI" 318s time="2024-11-29T20:36:23Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:23Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:23Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated2873484090/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:23Z" level=info msg="Watcher stopped" 318s time="2024-11-29T20:36:23Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir4147386816/001/withsubdir/GPT.INI" 318s --- PASS: TestWatchDirectory (0.00s) 318s --- PASS: TestWatchDirectory/Existing_file,_subdir (0.27s) 318s --- PASS: TestWatchDirectory/Rename_file (0.27s) 318s --- PASS: TestWatchDirectory/Update_existing_file (0.27s) 318s --- PASS: TestWatchDirectory/No_update,_existing_gpt.ini (0.26s) 318s --- PASS: TestWatchDirectory/Error_on_listing_no_directory (0.01s) 318s --- PASS: TestWatchDirectory/Error_on_non_existing_directory (0.00s) 318s --- PASS: TestWatchDirectory/Nested_new_subdirs (0.23s) 318s --- PASS: TestWatchDirectory/Error_on_updating_malformed_GPT.ini (0.25s) 318s --- PASS: TestWatchDirectory/New_file,_subdir (0.25s) 318s --- PASS: TestWatchDirectory/Rename_file_and_update (0.25s) 318s --- PASS: TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated (0.24s) 318s --- PASS: TestWatchDirectory/Combined_case (0.27s) 318s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file (0.23s) 318s --- PASS: TestWatchDirectory/Remove_root_directory (0.23s) 318s --- PASS: TestWatchDirectory/Update_with_existing_gpt.ini (0.23s) 318s --- PASS: TestWatchDirectory/New_file,_no_gpt.ini (0.22s) 318s --- PASS: TestWatchDirectory/No_update,_no_gpt.ini (0.22s) 318s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories (0.22s) 318s --- PASS: TestWatchDirectory/New_subdir_without_file (0.23s) 318s --- PASS: TestWatchDirectory/Remove_file (0.22s) 318s --- PASS: TestWatchDirectory/Updating_gpt.ini_is_a_no-op (0.22s) 318s --- PASS: TestWatchDirectory/New_subdir (0.22s) 318s --- PASS: TestWatchDirectory/Multiple_directories,_only_one_is_updated (0.23s) 318s time="2024-11-29T20:36:23Z" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod75309072/001/withsubdir/GPT.INI" 318s time="2024-11-29T20:36:23Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/GPT.INI\"" 318s time="2024-11-29T20:36:23Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/GPT.INI\"" 318s time="2024-11-29T20:36:23Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/GPT.INI\"" 318s time="2024-11-29T20:36:23Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod75309072/001/withsubdir/GPT.INI\"" 318s time="2024-11-29T20:36:24Z" level=info msg="Watcher stopped" 318s --- PASS: TestRefreshGracePeriod (2.00s) 318s PASS 318s ok github.com/ubuntu/adsys/internal/watcher 2.034s 319s autopkgtest [20:36:25]: test command1: -----------------------] 325s autopkgtest [20:36:31]: test command1: - - - - - - - - - - results - - - - - - - - - - 325s command1 PASS 331s autopkgtest [20:36:37]: test command2: preparing testbed 333s Reading package lists... 334s Building dependency tree... 334s Reading state information... 334s Starting pkgProblemResolver with broken count: 0 334s Starting 2 pkgProblemResolver with broken count: 0 335s Done 336s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 345s autopkgtest [20:36:51]: test command2: ./debian/tests/test sudo 345s autopkgtest [20:36:51]: test command2: [----------------------- 348s Skipping root tests for non-amd64/arm64 architecture 348s autopkgtest [20:36:54]: test command2: -----------------------] 354s autopkgtest [20:37:00]: test command2: - - - - - - - - - - results - - - - - - - - - - 354s command2 SKIP exit status 77 and marked as skippable 361s autopkgtest [20:37:07]: @@@@@@@@@@@@@@@@@@@@ summary 361s command1 PASS 361s command2 SKIP exit status 77 and marked as skippable