0s autopkgtest [20:28:22]: starting date and time: 2024-11-29 20:28:22+0000 0s autopkgtest [20:28:22]: git checkout: be626eda Fix armhf LXD image generation for plucky 0s autopkgtest [20:28:22]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.p2jl43ky/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-31.secgroup --name adt-jammy-s390x-adsys-20241129-202822-juju-7f2275-prod-proposed-migration-environment-15-58d5b2c5-bb18-4689-a7ae-9427d867da05 --image adt/ubuntu-jammy-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 100s autopkgtest [20:30:02]: testbed dpkg architecture: s390x 100s autopkgtest [20:30:02]: testbed apt version: 2.4.13 100s autopkgtest [20:30:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 100s autopkgtest [20:30:02]: testbed release detected to be: None 101s autopkgtest [20:30:03]: updating testbed package index (apt update) 101s Hit:1 http://ftpmaster.internal/ubuntu jammy InRelease 102s Hit:2 http://ftpmaster.internal/ubuntu jammy-updates InRelease 102s Hit:3 http://ftpmaster.internal/ubuntu jammy-security InRelease 102s Get:4 http://ftpmaster.internal/ubuntu jammy-proposed InRelease [279 kB] 102s Get:5 http://ftpmaster.internal/ubuntu jammy-proposed/main Sources [116 kB] 102s Get:6 http://ftpmaster.internal/ubuntu jammy-proposed/restricted Sources [25.8 kB] 102s Get:7 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse Sources [6196 B] 102s Get:8 http://ftpmaster.internal/ubuntu jammy-proposed/universe Sources [26.3 kB] 102s Get:9 http://ftpmaster.internal/ubuntu jammy-proposed/main s390x Packages [154 kB] 102s Get:10 http://ftpmaster.internal/ubuntu jammy-proposed/main s390x c-n-f Metadata [1724 B] 102s Get:11 http://ftpmaster.internal/ubuntu jammy-proposed/restricted s390x Packages [2056 B] 102s Get:12 http://ftpmaster.internal/ubuntu jammy-proposed/restricted s390x c-n-f Metadata [116 B] 102s Get:13 http://ftpmaster.internal/ubuntu jammy-proposed/universe s390x Packages [44.0 kB] 102s Get:14 http://ftpmaster.internal/ubuntu jammy-proposed/universe s390x c-n-f Metadata [1312 B] 102s Get:15 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse s390x Packages [728 B] 102s Get:16 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse s390x c-n-f Metadata [116 B] 104s Fetched 658 kB in 1s (719 kB/s) 105s Reading package lists... 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 106s Calculating upgrade... 106s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 106s 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 106s autopkgtest [20:30:08]: upgrading testbed (apt dist-upgrade and autopurge) 106s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 107s Starting 2 pkgProblemResolver with broken count: 0 107s Done 107s Entering ResolveByKeep 107s 107s The following packages will be upgraded: 107s libpam-modules libpam-modules-bin libpam-runtime libpam0g 107s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 418 kB of archives. 107s After this operation, 3072 B of additional disk space will be used. 107s Get:1 http://ftpmaster.internal/ubuntu jammy-proposed/main s390x libpam0g s390x 1.4.0-11ubuntu2.5 [58.7 kB] 107s Get:2 http://ftpmaster.internal/ubuntu jammy-proposed/main s390x libpam-modules-bin s390x 1.4.0-11ubuntu2.5 [40.1 kB] 107s Get:3 http://ftpmaster.internal/ubuntu jammy-proposed/main s390x libpam-modules s390x 1.4.0-11ubuntu2.5 [279 kB] 107s Get:4 http://ftpmaster.internal/ubuntu jammy-proposed/main s390x libpam-runtime all 1.4.0-11ubuntu2.5 [40.2 kB] 108s Preconfiguring packages ... 108s Fetched 418 kB in 0s (887 kB/s) 108s (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 ... 72980 files and directories currently installed.) 108s Preparing to unpack .../libpam0g_1.4.0-11ubuntu2.5_s390x.deb ... 108s Unpacking libpam0g:s390x (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 108s Setting up libpam0g:s390x (1.4.0-11ubuntu2.5) ... 108s (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 ... 72980 files and directories currently installed.) 108s Preparing to unpack .../libpam-modules-bin_1.4.0-11ubuntu2.5_s390x.deb ... 108s Unpacking libpam-modules-bin (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 108s Setting up libpam-modules-bin (1.4.0-11ubuntu2.5) ... 108s (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 ... 72980 files and directories currently installed.) 108s Preparing to unpack .../libpam-modules_1.4.0-11ubuntu2.5_s390x.deb ... 108s Unpacking libpam-modules:s390x (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 108s Setting up libpam-modules:s390x (1.4.0-11ubuntu2.5) ... 108s (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 ... 72980 files and directories currently installed.) 108s Preparing to unpack .../libpam-runtime_1.4.0-11ubuntu2.5_all.deb ... 108s Unpacking libpam-runtime (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 108s Setting up libpam-runtime (1.4.0-11ubuntu2.5) ... 108s Processing triggers for man-db (2.10.2-1) ... 108s Processing triggers for libc-bin (2.35-0ubuntu3.8) ... 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s Starting pkgProblemResolver with broken count: 0 109s Starting 2 pkgProblemResolver with broken count: 0 109s Done 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 111s autopkgtest [20:30:13]: testbed running kernel: Linux 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 09:59:01 UTC 2024 111s autopkgtest [20:30:13]: @@@@@@@@@@@@@@@@@@@@ apt-source adsys 115s Get:1 http://ftpmaster.internal/ubuntu jammy-updates/main adsys 0.14.2~22.04ubuntu0.1 (dsc) [2174 B] 115s Get:2 http://ftpmaster.internal/ubuntu jammy-updates/main adsys 0.14.2~22.04ubuntu0.1 (tar) [7045 kB] 115s gpgv: Signature made Fri Oct 25 05:37:19 2024 UTC 115s gpgv: using RSA key 00F6164E9C2D21BAFBC47E0E58DAD120A6939167 115s gpgv: Can't check signature: No public key 115s dpkg-source: warning: cannot verify signature ./adsys_0.14.2~22.04ubuntu0.1.dsc 116s autopkgtest [20:30:18]: testing package adsys version 0.14.2~22.04ubuntu0.1 116s autopkgtest [20:30:18]: build not needed 119s autopkgtest [20:30:21]: test command1: preparing testbed 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 119s Starting pkgProblemResolver with broken count: 0 119s Starting 2 pkgProblemResolver with broken count: 0 119s Done 120s The following NEW packages will be installed: 120s autoconf automake autopoint autotools-dev build-essential comerr-dev cpp 120s cpp-11 debhelper debugedit dh-apport dh-autoreconf dh-golang 120s dh-strip-nondeterminism dwz g++ g++-11 gcc gcc-11 gcc-11-base gettext 120s golang-1.22-go golang-1.22-src intltool-debian krb5-multidev 120s libarchive-zip-perl libasan6 libatomic1 libavahi-client3 120s libavahi-common-data libavahi-common3 libblkid-dev libc-dev-bin libc6-dev 120s libcc1-0 libcrypt-dev libcups2 libdbus-1-dev libdebhelper-perl libdw1 120s libffi-dev libfile-stripnondeterminism-perl libgcc-11-dev libglib2.0-dev 120s libglib2.0-dev-bin libgomp1 libgssrpc4 libisl23 libitm1 libkadm5clnt-mit12 120s libkadm5srv-mit12 libkdb5-10 libkrb5-dev libldb2 libmount-dev libmpc3 120s libnsl-dev libpam0g-dev libpcre16-3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 120s libpcre2-posix3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpython3.10 120s libselinux1-dev libsepol-dev libsmbclient libsmbclient-dev libstdc++-11-dev 120s libsub-override-perl libtalloc2 libtdb1 libtevent0 libtirpc-dev libtool 120s libubsan1 libwbclient-dev libwbclient0 linux-libc-dev m4 pkg-config 120s po-debconf python3-dnspython python3-ldb python3-samba python3-talloc 120s python3-tdb rpcsvc-proto samba samba-common samba-common-bin 120s samba-dsdb-modules samba-libs tdb-tools uuid-dev zlib1g-dev 120s 0 upgraded, 99 newly installed, 0 to remove and 0 not upgraded. 120s Need to get 112 MB of archives. 120s After this operation, 498 MB of additional disk space will be used. 120s Get:1 http://ftpmaster.internal/ubuntu jammy/main s390x libtalloc2 s390x 2.3.3-2build1 [25.1 kB] 120s Get:2 http://ftpmaster.internal/ubuntu jammy/main s390x libtevent0 s390x 0.11.0-1build1 [37.9 kB] 120s Get:3 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libwbclient0 s390x 2:4.15.13+dfsg-0ubuntu1.6 [264 kB] 120s Get:4 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libwbclient-dev s390x 2:4.15.13+dfsg-0ubuntu1.6 [16.1 kB] 120s Get:5 http://ftpmaster.internal/ubuntu jammy/main s390x python3-dnspython all 2.1.0-1ubuntu1 [123 kB] 120s Get:6 http://ftpmaster.internal/ubuntu jammy/main s390x libtdb1 s390x 1.4.5-2build1 [46.0 kB] 120s Get:7 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libldb2 s390x 2:2.4.4-0ubuntu0.22.04.2 [150 kB] 120s Get:8 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libpython3.10 s390x 3.10.12-1~22.04.7 [1900 kB] 120s Get:9 http://ftpmaster.internal/ubuntu jammy-updates/main s390x python3-ldb s390x 2:2.4.4-0ubuntu0.22.04.2 [40.8 kB] 120s Get:10 http://ftpmaster.internal/ubuntu jammy/main s390x python3-tdb s390x 1.4.5-2build1 [15.5 kB] 120s Get:11 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libavahi-common-data s390x 0.8-5ubuntu5.2 [23.8 kB] 120s Get:12 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libavahi-common3 s390x 0.8-5ubuntu5.2 [23.2 kB] 121s Get:13 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libavahi-client3 s390x 0.8-5ubuntu5.2 [26.3 kB] 121s Get:14 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libcups2 s390x 2.4.1op1-1ubuntu4.11 [254 kB] 121s Get:15 http://ftpmaster.internal/ubuntu jammy/main s390x python3-talloc s390x 2.3.3-2build1 [12.7 kB] 121s Get:16 http://ftpmaster.internal/ubuntu jammy-updates/main s390x samba-libs s390x 2:4.15.13+dfsg-0ubuntu1.6 [6048 kB] 121s Get:17 http://ftpmaster.internal/ubuntu jammy-updates/main s390x python3-samba s390x 2:4.15.13+dfsg-0ubuntu1.6 [3173 kB] 122s Get:18 http://ftpmaster.internal/ubuntu jammy-updates/main s390x samba-common all 2:4.15.13+dfsg-0ubuntu1.6 [75.7 kB] 122s Get:19 http://ftpmaster.internal/ubuntu jammy-updates/main s390x samba-common-bin s390x 2:4.15.13+dfsg-0ubuntu1.6 [610 kB] 122s Get:20 http://ftpmaster.internal/ubuntu jammy/main s390x tdb-tools s390x 1.4.5-2build1 [26.3 kB] 122s Get:21 http://ftpmaster.internal/ubuntu jammy-updates/main s390x samba s390x 2:4.15.13+dfsg-0ubuntu1.6 [1164 kB] 122s Get:22 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libsmbclient s390x 2:4.15.13+dfsg-0ubuntu1.6 [63.4 kB] 122s Get:23 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libsmbclient-dev s390x 2:4.15.13+dfsg-0ubuntu1.6 [41.1 kB] 122s Get:24 http://ftpmaster.internal/ubuntu jammy/main s390x m4 s390x 1.4.18-5ubuntu2 [197 kB] 122s Get:25 http://ftpmaster.internal/ubuntu jammy/main s390x autoconf all 2.71-2 [338 kB] 122s Get:26 http://ftpmaster.internal/ubuntu jammy/main s390x autotools-dev all 20220109.1 [44.9 kB] 122s Get:27 http://ftpmaster.internal/ubuntu jammy/main s390x automake all 1:1.16.5-1.3 [558 kB] 122s Get:28 http://ftpmaster.internal/ubuntu jammy/main s390x autopoint all 0.21-4ubuntu4 [422 kB] 122s Get:29 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libc-dev-bin s390x 2.35-0ubuntu3.8 [20.0 kB] 122s Get:30 http://ftpmaster.internal/ubuntu jammy-updates/main s390x linux-libc-dev s390x 5.15.0-126.136 [1331 kB] 122s Get:31 http://ftpmaster.internal/ubuntu jammy/main s390x libcrypt-dev s390x 1:4.4.27-1 [114 kB] 122s Get:32 http://ftpmaster.internal/ubuntu jammy/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB] 122s Get:33 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libtirpc-dev s390x 1.3.2-2ubuntu0.1 [189 kB] 122s Get:34 http://ftpmaster.internal/ubuntu jammy/main s390x libnsl-dev s390x 1.3.0-2build2 [70.9 kB] 122s Get:35 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libc6-dev s390x 2.35-0ubuntu3.8 [1501 kB] 122s Get:36 http://ftpmaster.internal/ubuntu jammy-updates/main s390x gcc-11-base s390x 11.4.0-1ubuntu1~22.04 [20.3 kB] 122s Get:37 http://ftpmaster.internal/ubuntu jammy/main s390x libisl23 s390x 0.24-2build1 [701 kB] 122s Get:38 http://ftpmaster.internal/ubuntu jammy/main s390x libmpc3 s390x 1.2.1-2build1 [47.7 kB] 122s Get:39 http://ftpmaster.internal/ubuntu jammy-updates/main s390x cpp-11 s390x 11.4.0-1ubuntu1~22.04 [7871 kB] 123s Get:40 http://ftpmaster.internal/ubuntu jammy/main s390x cpp s390x 4:11.2.0-1ubuntu1 [27.7 kB] 123s Get:41 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libcc1-0 s390x 12.3.0-1ubuntu1~22.04 [46.2 kB] 123s Get:42 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libgomp1 s390x 12.3.0-1ubuntu1~22.04 [123 kB] 123s Get:43 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libitm1 s390x 12.3.0-1ubuntu1~22.04 [29.9 kB] 123s Get:44 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libatomic1 s390x 12.3.0-1ubuntu1~22.04 [9076 B] 123s Get:45 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libasan6 s390x 11.4.0-1ubuntu1~22.04 [2247 kB] 123s Get:46 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libubsan1 s390x 12.3.0-1ubuntu1~22.04 [968 kB] 123s Get:47 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libgcc-11-dev s390x 11.4.0-1ubuntu1~22.04 [829 kB] 123s Get:48 http://ftpmaster.internal/ubuntu jammy-updates/main s390x gcc-11 s390x 11.4.0-1ubuntu1~22.04 [15.8 MB] 123s Get:49 http://ftpmaster.internal/ubuntu jammy/main s390x gcc s390x 4:11.2.0-1ubuntu1 [5118 B] 123s Get:50 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libstdc++-11-dev s390x 11.4.0-1ubuntu1~22.04 [2103 kB] 123s Get:51 http://ftpmaster.internal/ubuntu jammy-updates/main s390x g++-11 s390x 11.4.0-1ubuntu1~22.04 [9204 kB] 124s Get:52 http://ftpmaster.internal/ubuntu jammy/main s390x g++ s390x 4:11.2.0-1ubuntu1 [1408 B] 124s Get:53 http://ftpmaster.internal/ubuntu jammy/main s390x build-essential s390x 12.9ubuntu3 [4748 B] 124s Get:54 http://ftpmaster.internal/ubuntu jammy/main s390x libdebhelper-perl all 13.6ubuntu1 [67.2 kB] 124s Get:55 http://ftpmaster.internal/ubuntu jammy/main s390x libtool all 2.4.6-15build2 [164 kB] 124s Get:56 http://ftpmaster.internal/ubuntu jammy/main s390x dh-autoreconf all 20 [16.1 kB] 124s Get:57 http://ftpmaster.internal/ubuntu jammy/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 124s Get:58 http://ftpmaster.internal/ubuntu jammy/main s390x libsub-override-perl all 0.09-2 [9532 B] 124s Get:59 http://ftpmaster.internal/ubuntu jammy/main s390x libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] 124s Get:60 http://ftpmaster.internal/ubuntu jammy/main s390x dh-strip-nondeterminism all 1.13.0-1 [5344 B] 124s Get:61 http://ftpmaster.internal/ubuntu jammy/main s390x libdw1 s390x 0.186-1build1 [248 kB] 124s Get:62 http://ftpmaster.internal/ubuntu jammy/main s390x debugedit s390x 1:5.0-4build1 [48.3 kB] 124s Get:63 http://ftpmaster.internal/ubuntu jammy/main s390x dwz s390x 0.14-1build2 [104 kB] 124s Get:64 http://ftpmaster.internal/ubuntu jammy/main s390x gettext s390x 0.21-4ubuntu4 [857 kB] 124s Get:65 http://ftpmaster.internal/ubuntu jammy/main s390x intltool-debian all 0.35.0+20060710.5 [24.9 kB] 124s Get:66 http://ftpmaster.internal/ubuntu jammy/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 124s Get:67 http://ftpmaster.internal/ubuntu jammy/main s390x debhelper all 13.6ubuntu1 [923 kB] 124s Get:68 http://ftpmaster.internal/ubuntu jammy-updates/universe s390x dh-apport all 2.20.11-0ubuntu82.6 [7812 B] 124s Get:69 http://ftpmaster.internal/ubuntu jammy-updates/universe s390x golang-1.22-src all 1.22.2-2~22.04.2 [19.8 MB] 124s Get:70 http://ftpmaster.internal/ubuntu jammy-updates/universe s390x golang-1.22-go s390x 1.22.2-2~22.04.2 [24.9 MB] 125s Get:71 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libgssrpc4 s390x 1.19.2-2ubuntu0.4 [57.2 kB] 125s Get:72 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libkdb5-10 s390x 1.19.2-2ubuntu0.4 [40.5 kB] 125s Get:73 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libkadm5srv-mit12 s390x 1.19.2-2ubuntu0.4 [53.6 kB] 125s Get:74 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libkadm5clnt-mit12 s390x 1.19.2-2ubuntu0.4 [40.0 kB] 125s Get:75 http://ftpmaster.internal/ubuntu jammy-updates/main s390x comerr-dev s390x 2.1-1.46.5-2ubuntu1.2 [40.9 kB] 125s Get:76 http://ftpmaster.internal/ubuntu jammy-updates/main s390x krb5-multidev s390x 1.19.2-2ubuntu0.4 [125 kB] 125s Get:77 http://ftpmaster.internal/ubuntu jammy/main s390x pkg-config s390x 0.29.2-1ubuntu3 [47.3 kB] 125s Get:78 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libdbus-1-dev s390x 1.12.20-2ubuntu4.1 [184 kB] 125s Get:79 http://ftpmaster.internal/ubuntu jammy/main s390x libffi-dev s390x 3.4.2-4 [58.8 kB] 125s Get:80 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libglib2.0-dev-bin s390x 2.72.4-0ubuntu2.4 [116 kB] 125s Get:81 http://ftpmaster.internal/ubuntu jammy-updates/main s390x uuid-dev s390x 2.37.2-4ubuntu3.4 [33.2 kB] 125s Get:82 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libblkid-dev s390x 2.37.2-4ubuntu3.4 [182 kB] 125s Get:83 http://ftpmaster.internal/ubuntu jammy/main s390x libsepol-dev s390x 3.3-1build1 [364 kB] 125s Get:84 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libpcre2-16-0 s390x 10.39-3ubuntu0.1 [188 kB] 125s Get:85 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libpcre2-32-0 s390x 10.39-3ubuntu0.1 [178 kB] 125s Get:86 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libpcre2-posix3 s390x 10.39-3ubuntu0.1 [5996 B] 125s Get:87 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libpcre2-dev s390x 10.39-3ubuntu0.1 [694 kB] 125s Get:88 http://ftpmaster.internal/ubuntu jammy/main s390x libselinux1-dev s390x 3.3-1build2 [158 kB] 125s Get:89 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libmount-dev s390x 2.37.2-4ubuntu3.4 [14.6 kB] 125s Get:90 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libpcre16-3 s390x 2:8.39-13ubuntu0.22.04.1 [88.8 kB] 125s Get:91 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libpcre32-3 s390x 2:8.39-13ubuntu0.22.04.1 [83.5 kB] 125s Get:92 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libpcrecpp0v5 s390x 2:8.39-13ubuntu0.22.04.1 [15.6 kB] 125s Get:93 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libpcre3-dev s390x 2:8.39-13ubuntu0.22.04.1 [409 kB] 125s Get:94 http://ftpmaster.internal/ubuntu jammy-updates/main s390x zlib1g-dev s390x 1:1.2.11.dfsg-2ubuntu9.2 [170 kB] 125s Get:95 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libglib2.0-dev s390x 2.72.4-0ubuntu2.4 [1699 kB] 125s Get:96 http://ftpmaster.internal/ubuntu jammy-proposed/main s390x libpam0g-dev s390x 1.4.0-11ubuntu2.5 [115 kB] 125s Get:97 http://ftpmaster.internal/ubuntu jammy-updates/main s390x samba-dsdb-modules s390x 2:4.15.13+dfsg-0ubuntu1.6 [302 kB] 125s Get:98 http://ftpmaster.internal/ubuntu jammy/main s390x dh-golang all 1.53 [21.4 kB] 125s Get:99 http://ftpmaster.internal/ubuntu jammy-updates/main s390x libkrb5-dev s390x 1.19.2-2ubuntu0.4 [12.0 kB] 126s Preconfiguring packages ... 126s Fetched 112 MB in 6s (19.6 MB/s) 126s Selecting previously unselected package libtalloc2:s390x. 126s (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 ... 72980 files and directories currently installed.) 126s Preparing to unpack .../00-libtalloc2_2.3.3-2build1_s390x.deb ... 126s Unpacking libtalloc2:s390x (2.3.3-2build1) ... 126s Selecting previously unselected package libtevent0:s390x. 126s Preparing to unpack .../01-libtevent0_0.11.0-1build1_s390x.deb ... 126s Unpacking libtevent0:s390x (0.11.0-1build1) ... 126s Selecting previously unselected package libwbclient0:s390x. 126s Preparing to unpack .../02-libwbclient0_2%3a4.15.13+dfsg-0ubuntu1.6_s390x.deb ... 126s Unpacking libwbclient0:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 126s Selecting previously unselected package libwbclient-dev:s390x. 126s Preparing to unpack .../03-libwbclient-dev_2%3a4.15.13+dfsg-0ubuntu1.6_s390x.deb ... 126s Unpacking libwbclient-dev:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 126s Selecting previously unselected package python3-dnspython. 126s Preparing to unpack .../04-python3-dnspython_2.1.0-1ubuntu1_all.deb ... 126s Unpacking python3-dnspython (2.1.0-1ubuntu1) ... 126s Selecting previously unselected package libtdb1:s390x. 126s Preparing to unpack .../05-libtdb1_1.4.5-2build1_s390x.deb ... 126s Unpacking libtdb1:s390x (1.4.5-2build1) ... 126s Selecting previously unselected package libldb2:s390x. 126s Preparing to unpack .../06-libldb2_2%3a2.4.4-0ubuntu0.22.04.2_s390x.deb ... 126s Unpacking libldb2:s390x (2:2.4.4-0ubuntu0.22.04.2) ... 126s Selecting previously unselected package libpython3.10:s390x. 126s Preparing to unpack .../07-libpython3.10_3.10.12-1~22.04.7_s390x.deb ... 126s Unpacking libpython3.10:s390x (3.10.12-1~22.04.7) ... 126s Selecting previously unselected package python3-ldb. 126s Preparing to unpack .../08-python3-ldb_2%3a2.4.4-0ubuntu0.22.04.2_s390x.deb ... 126s Unpacking python3-ldb (2:2.4.4-0ubuntu0.22.04.2) ... 126s Selecting previously unselected package python3-tdb. 126s Preparing to unpack .../09-python3-tdb_1.4.5-2build1_s390x.deb ... 126s Unpacking python3-tdb (1.4.5-2build1) ... 126s Selecting previously unselected package libavahi-common-data:s390x. 126s Preparing to unpack .../10-libavahi-common-data_0.8-5ubuntu5.2_s390x.deb ... 126s Unpacking libavahi-common-data:s390x (0.8-5ubuntu5.2) ... 126s Selecting previously unselected package libavahi-common3:s390x. 126s Preparing to unpack .../11-libavahi-common3_0.8-5ubuntu5.2_s390x.deb ... 126s Unpacking libavahi-common3:s390x (0.8-5ubuntu5.2) ... 126s Selecting previously unselected package libavahi-client3:s390x. 126s Preparing to unpack .../12-libavahi-client3_0.8-5ubuntu5.2_s390x.deb ... 126s Unpacking libavahi-client3:s390x (0.8-5ubuntu5.2) ... 126s Selecting previously unselected package libcups2:s390x. 126s Preparing to unpack .../13-libcups2_2.4.1op1-1ubuntu4.11_s390x.deb ... 126s Unpacking libcups2:s390x (2.4.1op1-1ubuntu4.11) ... 126s Selecting previously unselected package python3-talloc:s390x. 126s Preparing to unpack .../14-python3-talloc_2.3.3-2build1_s390x.deb ... 126s Unpacking python3-talloc:s390x (2.3.3-2build1) ... 126s Selecting previously unselected package samba-libs:s390x. 126s Preparing to unpack .../15-samba-libs_2%3a4.15.13+dfsg-0ubuntu1.6_s390x.deb ... 126s Unpacking samba-libs:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 126s Selecting previously unselected package python3-samba. 126s Preparing to unpack .../16-python3-samba_2%3a4.15.13+dfsg-0ubuntu1.6_s390x.deb ... 126s Unpacking python3-samba (2:4.15.13+dfsg-0ubuntu1.6) ... 126s Selecting previously unselected package samba-common. 126s Preparing to unpack .../17-samba-common_2%3a4.15.13+dfsg-0ubuntu1.6_all.deb ... 126s Unpacking samba-common (2:4.15.13+dfsg-0ubuntu1.6) ... 126s Selecting previously unselected package samba-common-bin. 126s Preparing to unpack .../18-samba-common-bin_2%3a4.15.13+dfsg-0ubuntu1.6_s390x.deb ... 126s Unpacking samba-common-bin (2:4.15.13+dfsg-0ubuntu1.6) ... 126s Selecting previously unselected package tdb-tools. 126s Preparing to unpack .../19-tdb-tools_1.4.5-2build1_s390x.deb ... 126s Unpacking tdb-tools (1.4.5-2build1) ... 126s Selecting previously unselected package samba. 126s Preparing to unpack .../20-samba_2%3a4.15.13+dfsg-0ubuntu1.6_s390x.deb ... 126s Unpacking samba (2:4.15.13+dfsg-0ubuntu1.6) ... 126s Selecting previously unselected package libsmbclient:s390x. 126s Preparing to unpack .../21-libsmbclient_2%3a4.15.13+dfsg-0ubuntu1.6_s390x.deb ... 126s Unpacking libsmbclient:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 126s Selecting previously unselected package libsmbclient-dev:s390x. 126s Preparing to unpack .../22-libsmbclient-dev_2%3a4.15.13+dfsg-0ubuntu1.6_s390x.deb ... 126s Unpacking libsmbclient-dev:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 127s Selecting previously unselected package m4. 127s Preparing to unpack .../23-m4_1.4.18-5ubuntu2_s390x.deb ... 127s Unpacking m4 (1.4.18-5ubuntu2) ... 127s Selecting previously unselected package autoconf. 127s Preparing to unpack .../24-autoconf_2.71-2_all.deb ... 127s Unpacking autoconf (2.71-2) ... 127s Selecting previously unselected package autotools-dev. 127s Preparing to unpack .../25-autotools-dev_20220109.1_all.deb ... 127s Unpacking autotools-dev (20220109.1) ... 127s Selecting previously unselected package automake. 127s Preparing to unpack .../26-automake_1%3a1.16.5-1.3_all.deb ... 127s Unpacking automake (1:1.16.5-1.3) ... 127s Selecting previously unselected package autopoint. 127s Preparing to unpack .../27-autopoint_0.21-4ubuntu4_all.deb ... 127s Unpacking autopoint (0.21-4ubuntu4) ... 127s Selecting previously unselected package libc-dev-bin. 127s Preparing to unpack .../28-libc-dev-bin_2.35-0ubuntu3.8_s390x.deb ... 127s Unpacking libc-dev-bin (2.35-0ubuntu3.8) ... 127s Selecting previously unselected package linux-libc-dev:s390x. 127s Preparing to unpack .../29-linux-libc-dev_5.15.0-126.136_s390x.deb ... 127s Unpacking linux-libc-dev:s390x (5.15.0-126.136) ... 127s Selecting previously unselected package libcrypt-dev:s390x. 127s Preparing to unpack .../30-libcrypt-dev_1%3a4.4.27-1_s390x.deb ... 127s Unpacking libcrypt-dev:s390x (1:4.4.27-1) ... 127s Selecting previously unselected package rpcsvc-proto. 127s Preparing to unpack .../31-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ... 127s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 127s Selecting previously unselected package libtirpc-dev:s390x. 127s Preparing to unpack .../32-libtirpc-dev_1.3.2-2ubuntu0.1_s390x.deb ... 127s Unpacking libtirpc-dev:s390x (1.3.2-2ubuntu0.1) ... 127s Selecting previously unselected package libnsl-dev:s390x. 127s Preparing to unpack .../33-libnsl-dev_1.3.0-2build2_s390x.deb ... 127s Unpacking libnsl-dev:s390x (1.3.0-2build2) ... 127s Selecting previously unselected package libc6-dev:s390x. 127s Preparing to unpack .../34-libc6-dev_2.35-0ubuntu3.8_s390x.deb ... 127s Unpacking libc6-dev:s390x (2.35-0ubuntu3.8) ... 127s Selecting previously unselected package gcc-11-base:s390x. 127s Preparing to unpack .../35-gcc-11-base_11.4.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking gcc-11-base:s390x (11.4.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package libisl23:s390x. 127s Preparing to unpack .../36-libisl23_0.24-2build1_s390x.deb ... 127s Unpacking libisl23:s390x (0.24-2build1) ... 127s Selecting previously unselected package libmpc3:s390x. 127s Preparing to unpack .../37-libmpc3_1.2.1-2build1_s390x.deb ... 127s Unpacking libmpc3:s390x (1.2.1-2build1) ... 127s Selecting previously unselected package cpp-11. 127s Preparing to unpack .../38-cpp-11_11.4.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking cpp-11 (11.4.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package cpp. 127s Preparing to unpack .../39-cpp_4%3a11.2.0-1ubuntu1_s390x.deb ... 127s Unpacking cpp (4:11.2.0-1ubuntu1) ... 127s Selecting previously unselected package libcc1-0:s390x. 127s Preparing to unpack .../40-libcc1-0_12.3.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking libcc1-0:s390x (12.3.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package libgomp1:s390x. 127s Preparing to unpack .../41-libgomp1_12.3.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking libgomp1:s390x (12.3.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package libitm1:s390x. 127s Preparing to unpack .../42-libitm1_12.3.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking libitm1:s390x (12.3.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package libatomic1:s390x. 127s Preparing to unpack .../43-libatomic1_12.3.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking libatomic1:s390x (12.3.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package libasan6:s390x. 127s Preparing to unpack .../44-libasan6_11.4.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking libasan6:s390x (11.4.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package libubsan1:s390x. 127s Preparing to unpack .../45-libubsan1_12.3.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking libubsan1:s390x (12.3.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package libgcc-11-dev:s390x. 127s Preparing to unpack .../46-libgcc-11-dev_11.4.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking libgcc-11-dev:s390x (11.4.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package gcc-11. 127s Preparing to unpack .../47-gcc-11_11.4.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking gcc-11 (11.4.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package gcc. 127s Preparing to unpack .../48-gcc_4%3a11.2.0-1ubuntu1_s390x.deb ... 127s Unpacking gcc (4:11.2.0-1ubuntu1) ... 127s Selecting previously unselected package libstdc++-11-dev:s390x. 127s Preparing to unpack .../49-libstdc++-11-dev_11.4.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking libstdc++-11-dev:s390x (11.4.0-1ubuntu1~22.04) ... 127s Selecting previously unselected package g++-11. 127s Preparing to unpack .../50-g++-11_11.4.0-1ubuntu1~22.04_s390x.deb ... 127s Unpacking g++-11 (11.4.0-1ubuntu1~22.04) ... 128s Selecting previously unselected package g++. 128s Preparing to unpack .../51-g++_4%3a11.2.0-1ubuntu1_s390x.deb ... 128s Unpacking g++ (4:11.2.0-1ubuntu1) ... 128s Selecting previously unselected package build-essential. 128s Preparing to unpack .../52-build-essential_12.9ubuntu3_s390x.deb ... 128s Unpacking build-essential (12.9ubuntu3) ... 128s Selecting previously unselected package libdebhelper-perl. 128s Preparing to unpack .../53-libdebhelper-perl_13.6ubuntu1_all.deb ... 128s Unpacking libdebhelper-perl (13.6ubuntu1) ... 128s Selecting previously unselected package libtool. 128s Preparing to unpack .../54-libtool_2.4.6-15build2_all.deb ... 128s Unpacking libtool (2.4.6-15build2) ... 128s Selecting previously unselected package dh-autoreconf. 128s Preparing to unpack .../55-dh-autoreconf_20_all.deb ... 128s Unpacking dh-autoreconf (20) ... 128s Selecting previously unselected package libarchive-zip-perl. 128s Preparing to unpack .../56-libarchive-zip-perl_1.68-1_all.deb ... 128s Unpacking libarchive-zip-perl (1.68-1) ... 128s Selecting previously unselected package libsub-override-perl. 128s Preparing to unpack .../57-libsub-override-perl_0.09-2_all.deb ... 128s Unpacking libsub-override-perl (0.09-2) ... 128s Selecting previously unselected package libfile-stripnondeterminism-perl. 128s Preparing to unpack .../58-libfile-stripnondeterminism-perl_1.13.0-1_all.deb ... 128s Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ... 128s Selecting previously unselected package dh-strip-nondeterminism. 128s Preparing to unpack .../59-dh-strip-nondeterminism_1.13.0-1_all.deb ... 128s Unpacking dh-strip-nondeterminism (1.13.0-1) ... 128s Selecting previously unselected package libdw1:s390x. 128s Preparing to unpack .../60-libdw1_0.186-1build1_s390x.deb ... 128s Unpacking libdw1:s390x (0.186-1build1) ... 128s Selecting previously unselected package debugedit. 128s Preparing to unpack .../61-debugedit_1%3a5.0-4build1_s390x.deb ... 128s Unpacking debugedit (1:5.0-4build1) ... 128s Selecting previously unselected package dwz. 128s Preparing to unpack .../62-dwz_0.14-1build2_s390x.deb ... 128s Unpacking dwz (0.14-1build2) ... 128s Selecting previously unselected package gettext. 128s Preparing to unpack .../63-gettext_0.21-4ubuntu4_s390x.deb ... 128s Unpacking gettext (0.21-4ubuntu4) ... 128s Selecting previously unselected package intltool-debian. 128s Preparing to unpack .../64-intltool-debian_0.35.0+20060710.5_all.deb ... 128s Unpacking intltool-debian (0.35.0+20060710.5) ... 128s Selecting previously unselected package po-debconf. 128s Preparing to unpack .../65-po-debconf_1.0.21+nmu1_all.deb ... 128s Unpacking po-debconf (1.0.21+nmu1) ... 128s Selecting previously unselected package debhelper. 128s Preparing to unpack .../66-debhelper_13.6ubuntu1_all.deb ... 128s Unpacking debhelper (13.6ubuntu1) ... 128s Selecting previously unselected package dh-apport. 128s Preparing to unpack .../67-dh-apport_2.20.11-0ubuntu82.6_all.deb ... 128s Unpacking dh-apport (2.20.11-0ubuntu82.6) ... 128s Selecting previously unselected package golang-1.22-src. 128s Preparing to unpack .../68-golang-1.22-src_1.22.2-2~22.04.2_all.deb ... 128s Unpacking golang-1.22-src (1.22.2-2~22.04.2) ... 129s Selecting previously unselected package golang-1.22-go. 129s Preparing to unpack .../69-golang-1.22-go_1.22.2-2~22.04.2_s390x.deb ... 129s Unpacking golang-1.22-go (1.22.2-2~22.04.2) ... 129s Selecting previously unselected package libgssrpc4:s390x. 129s Preparing to unpack .../70-libgssrpc4_1.19.2-2ubuntu0.4_s390x.deb ... 129s Unpacking libgssrpc4:s390x (1.19.2-2ubuntu0.4) ... 129s Selecting previously unselected package libkdb5-10:s390x. 129s Preparing to unpack .../71-libkdb5-10_1.19.2-2ubuntu0.4_s390x.deb ... 129s Unpacking libkdb5-10:s390x (1.19.2-2ubuntu0.4) ... 129s Selecting previously unselected package libkadm5srv-mit12:s390x. 129s Preparing to unpack .../72-libkadm5srv-mit12_1.19.2-2ubuntu0.4_s390x.deb ... 129s Unpacking libkadm5srv-mit12:s390x (1.19.2-2ubuntu0.4) ... 129s Selecting previously unselected package libkadm5clnt-mit12:s390x. 129s Preparing to unpack .../73-libkadm5clnt-mit12_1.19.2-2ubuntu0.4_s390x.deb ... 129s Unpacking libkadm5clnt-mit12:s390x (1.19.2-2ubuntu0.4) ... 129s Selecting previously unselected package comerr-dev:s390x. 129s Preparing to unpack .../74-comerr-dev_2.1-1.46.5-2ubuntu1.2_s390x.deb ... 129s Unpacking comerr-dev:s390x (2.1-1.46.5-2ubuntu1.2) ... 129s Selecting previously unselected package krb5-multidev:s390x. 129s Preparing to unpack .../75-krb5-multidev_1.19.2-2ubuntu0.4_s390x.deb ... 129s Unpacking krb5-multidev:s390x (1.19.2-2ubuntu0.4) ... 129s Selecting previously unselected package pkg-config. 129s Preparing to unpack .../76-pkg-config_0.29.2-1ubuntu3_s390x.deb ... 129s Unpacking pkg-config (0.29.2-1ubuntu3) ... 129s Selecting previously unselected package libdbus-1-dev:s390x. 129s Preparing to unpack .../77-libdbus-1-dev_1.12.20-2ubuntu4.1_s390x.deb ... 129s Unpacking libdbus-1-dev:s390x (1.12.20-2ubuntu4.1) ... 129s Selecting previously unselected package libffi-dev:s390x. 129s Preparing to unpack .../78-libffi-dev_3.4.2-4_s390x.deb ... 129s Unpacking libffi-dev:s390x (3.4.2-4) ... 129s Selecting previously unselected package libglib2.0-dev-bin. 129s Preparing to unpack .../79-libglib2.0-dev-bin_2.72.4-0ubuntu2.4_s390x.deb ... 129s Unpacking libglib2.0-dev-bin (2.72.4-0ubuntu2.4) ... 129s Selecting previously unselected package uuid-dev:s390x. 129s Preparing to unpack .../80-uuid-dev_2.37.2-4ubuntu3.4_s390x.deb ... 129s Unpacking uuid-dev:s390x (2.37.2-4ubuntu3.4) ... 129s Selecting previously unselected package libblkid-dev:s390x. 129s Preparing to unpack .../81-libblkid-dev_2.37.2-4ubuntu3.4_s390x.deb ... 129s Unpacking libblkid-dev:s390x (2.37.2-4ubuntu3.4) ... 129s Selecting previously unselected package libsepol-dev:s390x. 129s Preparing to unpack .../82-libsepol-dev_3.3-1build1_s390x.deb ... 129s Unpacking libsepol-dev:s390x (3.3-1build1) ... 129s Selecting previously unselected package libpcre2-16-0:s390x. 129s Preparing to unpack .../83-libpcre2-16-0_10.39-3ubuntu0.1_s390x.deb ... 129s Unpacking libpcre2-16-0:s390x (10.39-3ubuntu0.1) ... 129s Selecting previously unselected package libpcre2-32-0:s390x. 129s Preparing to unpack .../84-libpcre2-32-0_10.39-3ubuntu0.1_s390x.deb ... 129s Unpacking libpcre2-32-0:s390x (10.39-3ubuntu0.1) ... 129s Selecting previously unselected package libpcre2-posix3:s390x. 129s Preparing to unpack .../85-libpcre2-posix3_10.39-3ubuntu0.1_s390x.deb ... 129s Unpacking libpcre2-posix3:s390x (10.39-3ubuntu0.1) ... 129s Selecting previously unselected package libpcre2-dev:s390x. 129s Preparing to unpack .../86-libpcre2-dev_10.39-3ubuntu0.1_s390x.deb ... 129s Unpacking libpcre2-dev:s390x (10.39-3ubuntu0.1) ... 129s Selecting previously unselected package libselinux1-dev:s390x. 130s Preparing to unpack .../87-libselinux1-dev_3.3-1build2_s390x.deb ... 130s Unpacking libselinux1-dev:s390x (3.3-1build2) ... 130s Selecting previously unselected package libmount-dev:s390x. 130s Preparing to unpack .../88-libmount-dev_2.37.2-4ubuntu3.4_s390x.deb ... 130s Unpacking libmount-dev:s390x (2.37.2-4ubuntu3.4) ... 130s Selecting previously unselected package libpcre16-3:s390x. 130s Preparing to unpack .../89-libpcre16-3_2%3a8.39-13ubuntu0.22.04.1_s390x.deb ... 130s Unpacking libpcre16-3:s390x (2:8.39-13ubuntu0.22.04.1) ... 130s Selecting previously unselected package libpcre32-3:s390x. 130s Preparing to unpack .../90-libpcre32-3_2%3a8.39-13ubuntu0.22.04.1_s390x.deb ... 130s Unpacking libpcre32-3:s390x (2:8.39-13ubuntu0.22.04.1) ... 130s Selecting previously unselected package libpcrecpp0v5:s390x. 130s Preparing to unpack .../91-libpcrecpp0v5_2%3a8.39-13ubuntu0.22.04.1_s390x.deb ... 130s Unpacking libpcrecpp0v5:s390x (2:8.39-13ubuntu0.22.04.1) ... 130s Selecting previously unselected package libpcre3-dev:s390x. 130s Preparing to unpack .../92-libpcre3-dev_2%3a8.39-13ubuntu0.22.04.1_s390x.deb ... 130s Unpacking libpcre3-dev:s390x (2:8.39-13ubuntu0.22.04.1) ... 130s Selecting previously unselected package zlib1g-dev:s390x. 130s Preparing to unpack .../93-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_s390x.deb ... 130s Unpacking zlib1g-dev:s390x (1:1.2.11.dfsg-2ubuntu9.2) ... 130s Selecting previously unselected package libglib2.0-dev:s390x. 130s Preparing to unpack .../94-libglib2.0-dev_2.72.4-0ubuntu2.4_s390x.deb ... 130s Unpacking libglib2.0-dev:s390x (2.72.4-0ubuntu2.4) ... 130s Selecting previously unselected package libpam0g-dev:s390x. 130s Preparing to unpack .../95-libpam0g-dev_1.4.0-11ubuntu2.5_s390x.deb ... 130s Unpacking libpam0g-dev:s390x (1.4.0-11ubuntu2.5) ... 130s Selecting previously unselected package samba-dsdb-modules:s390x. 130s Preparing to unpack .../96-samba-dsdb-modules_2%3a4.15.13+dfsg-0ubuntu1.6_s390x.deb ... 130s Unpacking samba-dsdb-modules:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 130s Selecting previously unselected package dh-golang. 130s Preparing to unpack .../97-dh-golang_1.53_all.deb ... 130s Unpacking dh-golang (1.53) ... 130s Selecting previously unselected package libkrb5-dev:s390x. 130s Preparing to unpack .../98-libkrb5-dev_1.19.2-2ubuntu0.4_s390x.deb ... 130s Unpacking libkrb5-dev:s390x (1.19.2-2ubuntu0.4) ... 130s Setting up libpcrecpp0v5:s390x (2:8.39-13ubuntu0.22.04.1) ... 130s Setting up libglib2.0-dev-bin (2.72.4-0ubuntu2.4) ... 130s Setting up gcc-11-base:s390x (11.4.0-1ubuntu1~22.04) ... 130s Setting up libpython3.10:s390x (3.10.12-1~22.04.7) ... 130s Setting up libdw1:s390x (0.186-1build1) ... 130s Setting up libpcre16-3:s390x (2:8.39-13ubuntu0.22.04.1) ... 130s Setting up libarchive-zip-perl (1.68-1) ... 130s Setting up libtdb1:s390x (1.4.5-2build1) ... 130s Setting up libdebhelper-perl (13.6ubuntu1) ... 130s Setting up linux-libc-dev:s390x (5.15.0-126.136) ... 130s Setting up m4 (1.4.18-5ubuntu2) ... 130s Setting up samba-common (2:4.15.13+dfsg-0ubuntu1.6) ... 130s 130s Creating config file /etc/samba/smb.conf with new version 130s Setting up libgomp1:s390x (12.3.0-1ubuntu1~22.04) ... 130s Setting up libffi-dev:s390x (3.4.2-4) ... 130s Setting up dh-apport (2.20.11-0ubuntu82.6) ... 130s Setting up libpcre2-16-0:s390x (10.39-3ubuntu0.1) ... 130s Setting up libasan6:s390x (11.4.0-1ubuntu1~22.04) ... 130s Setting up libtalloc2:s390x (2.3.3-2build1) ... 130s Setting up libgssrpc4:s390x (1.19.2-2ubuntu0.4) ... 130s Setting up python3-tdb (1.4.5-2build1) ... 130s Setting up autotools-dev (20220109.1) ... 130s Setting up libpcre2-32-0:s390x (10.39-3ubuntu0.1) ... 130s Setting up libtirpc-dev:s390x (1.3.2-2ubuntu0.1) ... 130s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 130s Setting up libtevent0:s390x (0.11.0-1build1) ... 130s Setting up libavahi-common-data:s390x (0.8-5ubuntu5.2) ... 130s Setting up golang-1.22-src (1.22.2-2~22.04.2) ... 130s Setting up tdb-tools (1.4.5-2build1) ... 130s update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode 130s Setting up libpcre32-3:s390x (2:8.39-13ubuntu0.22.04.1) ... 130s Setting up libmpc3:s390x (1.2.1-2build1) ... 130s Setting up libatomic1:s390x (12.3.0-1ubuntu1~22.04) ... 130s Setting up autopoint (0.21-4ubuntu4) ... 130s Setting up pkg-config (0.29.2-1ubuntu3) ... 130s Setting up libsepol-dev:s390x (3.3-1build1) ... 130s Setting up autoconf (2.71-2) ... 130s Setting up libubsan1:s390x (12.3.0-1ubuntu1~22.04) ... 130s Setting up libpcre2-posix3:s390x (10.39-3ubuntu0.1) ... 130s Setting up dwz (0.14-1build2) ... 130s Setting up libnsl-dev:s390x (1.3.0-2build2) ... 130s Setting up python3-dnspython (2.1.0-1ubuntu1) ... 130s Setting up libcrypt-dev:s390x (1:4.4.27-1) ... 130s Setting up debugedit (1:5.0-4build1) ... 130s Setting up libsub-override-perl (0.09-2) ... 130s Setting up libisl23:s390x (0.24-2build1) ... 130s Setting up libc-dev-bin (2.35-0ubuntu3.8) ... 130s Setting up libldb2:s390x (2:2.4.4-0ubuntu0.22.04.2) ... 130s Setting up libcc1-0:s390x (12.3.0-1ubuntu1~22.04) ... 130s Setting up libitm1:s390x (12.3.0-1ubuntu1~22.04) ... 130s Setting up libkadm5clnt-mit12:s390x (1.19.2-2ubuntu0.4) ... 130s Setting up automake (1:1.16.5-1.3) ... 130s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 130s Setting up libfile-stripnondeterminism-perl (1.13.0-1) ... 130s Setting up cpp-11 (11.4.0-1ubuntu1~22.04) ... 130s Setting up gettext (0.21-4ubuntu4) ... 130s Setting up libkdb5-10:s390x (1.19.2-2ubuntu0.4) ... 130s Setting up python3-talloc:s390x (2.3.3-2build1) ... 130s Setting up libavahi-common3:s390x (0.8-5ubuntu5.2) ... 130s Setting up golang-1.22-go (1.22.2-2~22.04.2) ... 130s Setting up libwbclient0:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 130s Setting up libwbclient-dev:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 130s Setting up intltool-debian (0.35.0+20060710.5) ... 130s Setting up libdbus-1-dev:s390x (1.12.20-2ubuntu4.1) ... 130s Setting up python3-ldb (2:2.4.4-0ubuntu0.22.04.2) ... 130s Setting up dh-strip-nondeterminism (1.13.0-1) ... 130s Setting up libgcc-11-dev:s390x (11.4.0-1ubuntu1~22.04) ... 130s Setting up gcc-11 (11.4.0-1ubuntu1~22.04) ... 130s Setting up cpp (4:11.2.0-1ubuntu1) ... 130s Setting up libkadm5srv-mit12:s390x (1.19.2-2ubuntu0.4) ... 130s Setting up libc6-dev:s390x (2.35-0ubuntu3.8) ... 130s Setting up libavahi-client3:s390x (0.8-5ubuntu5.2) ... 130s Setting up libpcre2-dev:s390x (10.39-3ubuntu0.1) ... 130s Setting up libtool (2.4.6-15build2) ... 130s Setting up libpam0g-dev:s390x (1.4.0-11ubuntu2.5) ... 130s Setting up libselinux1-dev:s390x (3.3-1build2) ... 130s Setting up libpcre3-dev:s390x (2:8.39-13ubuntu0.22.04.1) ... 130s Setting up po-debconf (1.0.21+nmu1) ... 130s Setting up gcc (4:11.2.0-1ubuntu1) ... 130s Setting up dh-autoreconf (20) ... 130s Setting up uuid-dev:s390x (2.37.2-4ubuntu3.4) ... 130s Setting up comerr-dev:s390x (2.1-1.46.5-2ubuntu1.2) ... 130s Setting up libstdc++-11-dev:s390x (11.4.0-1ubuntu1~22.04) ... 130s Setting up libcups2:s390x (2.4.1op1-1ubuntu4.11) ... 130s Setting up zlib1g-dev:s390x (1:1.2.11.dfsg-2ubuntu9.2) ... 130s Setting up krb5-multidev:s390x (1.19.2-2ubuntu0.4) ... 130s Setting up libblkid-dev:s390x (2.37.2-4ubuntu3.4) ... 130s Setting up g++-11 (11.4.0-1ubuntu1~22.04) ... 130s Setting up samba-libs:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 130s Setting up debhelper (13.6ubuntu1) ... 130s Setting up libkrb5-dev:s390x (1.19.2-2ubuntu0.4) ... 130s Setting up libsmbclient:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 130s Setting up libsmbclient-dev:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 130s Setting up g++ (4:11.2.0-1ubuntu1) ... 130s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 130s Setting up build-essential (12.9ubuntu3) ... 130s Setting up samba-dsdb-modules:s390x (2:4.15.13+dfsg-0ubuntu1.6) ... 130s Setting up libmount-dev:s390x (2.37.2-4ubuntu3.4) ... 130s Setting up python3-samba (2:4.15.13+dfsg-0ubuntu1.6) ... 131s Setting up dh-golang (1.53) ... 131s Setting up libglib2.0-dev:s390x (2.72.4-0ubuntu2.4) ... 131s Setting up samba-common-bin (2:4.15.13+dfsg-0ubuntu1.6) ... 131s Checking smb.conf with testparm 131s Load smb config files from /etc/samba/smb.conf 131s Loaded services file OK. 131s Weak crypto is allowed 131s 131s Server role: ROLE_STANDALONE 131s 131s Done 131s Setting up samba (2:4.15.13+dfsg-0ubuntu1.6) ... 131s Adding group `sambashare' (GID 118) ... 131s Done. 131s Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service 131s Please ignore the following error about deb-systemd-helper not finding those services. 131s (samba-ad-dc.service masked) 132s Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service. 133s Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. 133s /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory 133s Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service. 133s samba-ad-dc.service is a disabled or a static unit, not starting it. 133s Processing triggers for libc-bin (2.35-0ubuntu3.8) ... 133s Processing triggers for ufw (0.36.1-4ubuntu0.1) ... 133s Processing triggers for man-db (2.10.2-1) ... 133s Processing triggers for install-info (6.8-4build1) ... 133s Processing triggers for libglib2.0-0:s390x (2.72.4-0ubuntu2.4) ... 133s No schema files found: doing nothing. 134s autopkgtest [20:30:36]: test command1: ./debian/tests/test no-sudo 134s autopkgtest [20:30:36]: test command1: [----------------------- 134s Running non-root tests... 159s ? github.com/ubuntu/adsys [no test files] 164s ? github.com/ubuntu/adsys/cmd/admxgen [no test files] 182s === RUN TestRun 182s === RUN TestRun/Send_SIGINT_exits 182s === RUN TestRun/Send_SIGTERM_exits 182s === RUN TestRun/Send_SIGHUP_without_exiting 182s === RUN TestRun/Send_SIGHUP_with_exit 182s === RUN TestRun/Run_and_exit_successfully 182s === RUN TestRun/Run_and_return_error 182s level=error msg="Error requested" 182s === RUN TestRun/Run_and_return_usage_error 182s level=error msg="Error requested" 182s === RUN TestRun/Run_and_usage_error_only_does_not_fail 182s --- PASS: TestRun (0.85s) 182s --- PASS: TestRun/Send_SIGINT_exits (0.10s) 182s --- PASS: TestRun/Send_SIGTERM_exits (0.10s) 182s --- PASS: TestRun/Send_SIGHUP_without_exiting (0.15s) 182s --- PASS: TestRun/Send_SIGHUP_with_exit (0.10s) 182s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 182s --- PASS: TestRun/Run_and_return_error (0.10s) 182s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 182s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 182s PASS 182s ok github.com/ubuntu/adsys/cmd/adsysd 0.897s 183s === RUN TestColorizePolicies 183s --- PASS: TestColorizePolicies (0.00s) 183s === RUN TestInitApp 183s === PAUSE TestInitApp 183s === RUN TestAppHelp 183s === PAUSE TestAppHelp 183s === RUN TestAppCompletion 183s === PAUSE TestAppCompletion 183s === RUN TestAppNoUsageError 183s === PAUSE TestAppNoUsageError 183s === RUN TestAppUsageError 183s === PAUSE TestAppUsageError 183s === RUN TestAppCanQuitWhenExecute 183s === PAUSE TestAppCanQuitWhenExecute 183s === RUN TestAppCanQuitAfterExecute 183s === PAUSE TestAppCanQuitAfterExecute 183s === RUN TestAppCanQuitWithoutExecute 183s === PAUSE TestAppCanQuitWithoutExecute 183s === RUN TestAppCanSigHupWhenExecute 183s === PAUSE TestAppCanSigHupWhenExecute 183s === RUN TestAppCanSigHupAfterExecute 183s === PAUSE TestAppCanSigHupAfterExecute 183s === RUN TestAppGetRootCmd 183s === PAUSE TestAppGetRootCmd 183s === CONT TestInitApp 183s === CONT TestAppCanQuitAfterExecute 183s Usage: 183s adsysctl COMMAND [flags] 183s adsysctl [command] 183s 183s Available Commands: 183s applied Print last applied GPOs for current or given user/machine 183s completion Generate the autocompletion script for the specified shell 183s doc Documentation 183s help Help about any command 183s policy Policy management 183s service Service management 183s update Updates/Create a policy for current user or given user with its kerberos ticket 183s version Returns version of client and service 183s 183s Flags: 183s -c, --config string use a specific configuration file 183s -h, --help help for adsysctl 183s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 183s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 183s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 183s 183s Use "adsysctl [command] --help" for more information about a command. 183s 183s --- PASS: TestInitApp (0.00s) 183s === CONT TestAppGetRootCmd 183s --- PASS: TestAppGetRootCmd (0.00s) 183s === CONT TestAppCanSigHupAfterExecute 183s # bash completion V2 for adsysctl -*- shell-script -*- 183s 183s __adsysctl_debug() 183s { 183s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 183s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 183s fi 183s } 183s 183s # Macs have bash3 for which the bash-completion package doesn't include 183s # _init_completion. This is a minimal version of that function. 183s __adsysctl_init_completion() 183s { 183s COMPREPLY=() 183s _get_comp_words_by_ref "$@" cur prev words cword 183s } 183s 183s # This function calls the adsysctl program to obtain the completion 183s # results and the directive. It fills the 'out' and 'directive' vars. 183s __adsysctl_get_completion_results() { 183s local requestComp lastParam lastChar args 183s 183s # Prepare the command to request completions for the program. 183s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 183s args=("${words[@]:1}") 183s requestComp="${words[0]} __complete ${args[*]}" 183s 183s lastParam=${words[$((${#words[@]}-1))]} 183s lastChar=${lastParam:$((${#lastParam}-1)):1} 183s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 183s 183s if [[ -z ${cur} && ${lastChar} != = ]]; then 183s # If the last parameter is complete (there is a space following it) 183s # We add an extra empty parameter so we can indicate this to the go method. 183s __adsysctl_debug "Adding extra empty parameter" 183s requestComp="${requestComp} ''" 183s fi 183s 183s # When completing a flag with an = (e.g., adsysctl -n=) 183s # bash focuses on the part after the =, so we need to remove 183s # the flag part from $cur 183s if [[ ${cur} == -*=* ]]; then 183s cur="${cur#*=}" 183s fi 183s 183s __adsysctl_debug "Calling ${requestComp}" 183s # Use eval to handle any environment variables and such 183s out=$(eval "${requestComp}" 2>/dev/null) 183s 183s # Extract the directive integer at the very end of the output following a colon (:) 183s directive=${out##*:} 183s # Remove the directive 183s out=${out%:*} 183s if [[ ${directive} == "${out}" ]]; then 183s # There is not directive specified 183s directive=0 183s fi 183s __adsysctl_debug "The completion directive is: ${directive}" 183s __adsysctl_debug "The completions are: ${out}" 183s } 183s 183s __adsysctl_process_completion_results() { 183s local shellCompDirectiveError=1 183s local shellCompDirectiveNoSpace=2 183s local shellCompDirectiveNoFileComp=4 183s local shellCompDirectiveFilterFileExt=8 183s local shellCompDirectiveFilterDirs=16 183s local shellCompDirectiveKeepOrder=32 183s 183s if (((directive & shellCompDirectiveError) != 0)); then 183s # Error code. No completion. 183s __adsysctl_debug "Received error from custom completion go code" 183s return 183s else 183s if (((directive & shellCompDirectiveNoSpace) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s __adsysctl_debug "Activating no space" 183s compopt -o nospace 183s else 183s __adsysctl_debug "No space directive not supported in this version of bash" 183s fi 183s fi 183s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s # no sort isn't supported for bash less than < 4.4 183s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 183s __adsysctl_debug "No sort directive not supported in this version of bash" 183s else 183s __adsysctl_debug "Activating keep order" 183s compopt -o nosort 183s fi 183s else 183s __adsysctl_debug "No sort directive not supported in this version of bash" 183s fi 183s fi 183s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s __adsysctl_debug "Activating no file completion" 183s compopt +o default 183s else 183s __adsysctl_debug "No file completion directive not supported in this version of bash" 183s fi 183s fi 183s fi 183s 183s # Separate activeHelp from normal completions 183s local completions=() 183s local activeHelp=() 183s __adsysctl_extract_activeHelp 183s 183s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 183s # File extension filtering 183s local fullFilter filter filteringCmd 183s 183s # Do not use quotes around the $completions variable or else newline 183s # characters will be kept. 183s for filter in ${completions[*]}; do 183s fullFilter+="$filter|" 183s done 183s 183s filteringCmd="_filedir $fullFilter" 183s __adsysctl_debug "File filtering command: $filteringCmd" 183s $filteringCmd 183s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 183s # File completion for directories only 183s 183s local subdir 183s subdir=${completions[0]} 183s if [[ -n $subdir ]]; then 183s __adsysctl_debug "Listing directories in $subdir" 183s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 183s else 183s __adsysctl_debug "Listing directories in ." 183s _filedir -d 183s fi 183s else 183s __adsysctl_handle_completion_types 183s fi 183s 183s __adsysctl_handle_special_char "$cur" : 183s __adsysctl_handle_special_char "$cur" = 183s 183s # Print the activeHelp statements before we finish 183s if ((${#activeHelp[*]} != 0)); then 183s printf "\n"; 183s printf "%s\n" "${activeHelp[@]}" 183s printf "\n" 183s 183s # The prompt format is only available from bash 4.4. 183s # We test if it is available before using it. 183s if (x=${PS1@P}) 2> /dev/null; then 183s printf "%s" "${PS1@P}${COMP_LINE[@]}" 183s else 183s # Can't print the prompt. Just print the 183s # text the user had typed, it is workable enough. 183s printf "%s" "${COMP_LINE[@]}" 183s fi 183s fi 183s } 183s 183s # Separate activeHelp lines from real completions. 183s # Fills the $activeHelp and $completions arrays. 183s __adsysctl_extract_activeHelp() { 183s local activeHelpMarker="_activeHelp_ " 183s local endIndex=${#activeHelpMarker} 183s 183s while IFS='' read -r comp; do 183s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 183s comp=${comp:endIndex} 183s __adsysctl_debug "ActiveHelp found: $comp" 183s if [[ -n $comp ]]; then 183s activeHelp+=("$comp") 183s fi 183s else 183s # Not an activeHelp line but a normal completion 183s completions+=("$comp") 183s fi 183s done <<<"${out}" 183s } 183s 183s __adsysctl_handle_completion_types() { 183s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 183s 183s case $COMP_TYPE in 183s 37|42) 183s # Type: menu-complete/menu-complete-backward and insert-completions 183s # If the user requested inserting one completion at a time, or all 183s # completions at once on the command-line we must remove the descriptions. 183s # https://github.com/spf13/cobra/issues/1508 183s local tab=$'\t' comp 183s while IFS='' read -r comp; do 183s [[ -z $comp ]] && continue 183s # Strip any description 183s comp=${comp%%$tab*} 183s # Only consider the completions that match 183s if [[ $comp == "$cur"* ]]; then 183s COMPREPLY+=("$comp") 183s fi 183s done < <(printf "%s\n" "${completions[@]}") 183s ;; 183s 183s *) 183s # Type: complete (normal completion) 183s __adsysctl_handle_standard_completion_case 183s ;; 183s esac 183s } 183s 183s __adsysctl_handle_standard_completion_case() { 183s local tab=$'\t' comp 183s 183s # Short circuit to optimize if we don't have descriptions 183s if [[ "${completions[*]}" != *$tab* ]]; then 183s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 183s return 0 183s fi 183s 183s local longest=0 183s local compline 183s # Look for the longest completion so that we can format things nicely 183s while IFS='' read -r compline; do 183s [[ -z $compline ]] && continue 183s # Strip any description before checking the length 183s comp=${compline%%$tab*} 183s # Only consider the completions that match 183s [[ $comp == "$cur"* ]] || continue 183s COMPREPLY+=("$compline") 183s if ((${#comp}>longest)); then 183s longest=${#comp} 183s fi 183s done < <(printf "%s\n" "${completions[@]}") 183s 183s # If there is a single completion left, remove the description text 183s if ((${#COMPREPLY[*]} == 1)); then 183s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 183s comp="${COMPREPLY[0]%%$tab*}" 183s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 183s COMPREPLY[0]=$comp 183s else # Format the descriptions 183s __adsysctl_format_comp_descriptions $longest 183s fi 183s } 183s 183s __adsysctl_handle_special_char() 183s { 183s local comp="$1" 183s local char=$2 183s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 183s local word=${comp%"${comp##*${char}}"} 183s local idx=${#COMPREPLY[*]} 183s while ((--idx >= 0)); do 183s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 183s done 183s fi 183s } 183s 183s __adsysctl_format_comp_descriptions() 183s { 183s local tab=$'\t' 183s local comp desc maxdesclength 183s local longest=$1 183s 183s local i ci 183s for ci in ${!COMPREPLY[*]}; do 183s comp=${COMPREPLY[ci]} 183s # Properly format the description string which follows a tab character if there is one 183s if [[ "$comp" == *$tab* ]]; then 183s __adsysctl_debug "Original comp: $comp" 183s desc=${comp#*$tab} 183s comp=${comp%%$tab*} 183s 183s # $COLUMNS stores the current shell width. 183s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 183s maxdesclength=$(( COLUMNS - longest - 4 )) 183s 183s # Make sure we can fit a description of at least 8 characters 183s # if we are to align the descriptions. 183s if ((maxdesclength > 8)); then 183s # Add the proper number of spaces to align the descriptions 183s for ((i = ${#comp} ; i < longest ; i++)); do 183s comp+=" " 183s done 183s else 183s # Don't pad the descriptions so we can fit more text after the completion 183s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 183s fi 183s 183s # If there is enough space for any description text, 183s # truncate the descriptions that are too long for the shell width 183s if ((maxdesclength > 0)); then 183s if ((${#desc} > maxdesclength)); then 183s desc=${desc:0:$(( maxdesclength - 1 ))} 183s desc+="…" 183s fi 183s comp+=" ($desc)" 183s fi 183s COMPREPLY[ci]=$comp 183s __adsysctl_debug "Final comp: $comp" 183s fi 183s done 183s } 183s 183s __start_adsysctl() 183s { 183s local cur prev words cword split 183s 183s COMPREPLY=() 183s 183s # Call _init_completion from the bash-completion package 183s # to prepare the arguments properly 183s if declare -F _init_completion >/dev/null 2>&1; then 183s _init_completion -n =: || return 183s else 183s __adsysctl_init_completion -n =: || return 183s fi 183s 183s __adsysctl_debug 183s __adsysctl_debug "========= starting completion logic ==========" 183s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 183s 183s # The user could have moved the cursor backwards on the command-line. 183s # We need to trigger completion from the $cword location, so we need 183s # to truncate the command-line ($words) up to the $cword location. 183s words=("${words[@]:0:$cword+1}") 183s __adsysctl_debug "Truncated words[*]: ${words[*]}," 183s 183s local out directive 183s __adsysctl_get_completion_results 183s __adsysctl_process_completion_results 183s } 183s 183s if [[ $(type -t compopt) = "builtin" ]]; then 183s complete -o default -F __start_adsysctl adsysctl 183s else 183s complete -o default -o nospace -F __start_adsysctl adsysctl 183s fi 183s 183s # ex: ts=4 sw=4 et filetype=sh 183s --- PASS: TestAppCanSigHupAfterExecute (0.00s) 183s === CONT TestAppCanSigHupWhenExecute 183s --- PASS: TestAppCanSigHupWhenExecute (0.00s) 183s === CONT TestAppCanQuitWithoutExecute 183s # bash completion V2 for adsysctl -*- shell-script -*- 183s 183s __adsysctl_debug() 183s { 183s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 183s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 183s fi 183s } 183s 183s # Macs have bash3 for which the bash-completion package doesn't include 183s # _init_completion. This is a minimal version of that function. 183s __adsysctl_init_completion() 183s { 183s COMPREPLY=() 183s _get_comp_words_by_ref "$@" cur prev words cword 183s } 183s 183s # This function calls the adsysctl program to obtain the completion 183s # results and the directive. It fills the 'out' and 'directive' vars. 183s __adsysctl_get_completion_results() { 183s local requestComp lastParam lastChar args 183s 183s # Prepare the command to request completions for the program. 183s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 183s args=("${words[@]:1}") 183s requestComp="${words[0]} __complete ${args[*]}" 183s 183s lastParam=${words[$((${#words[@]}-1))]} 183s lastChar=${lastParam:$((${#lastParam}-1)):1} 183s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 183s 183s if [[ -z ${cur} && ${lastChar} != = ]]; then 183s # If the last parameter is complete (there is a space following it) 183s # We add an extra empty parameter so we can indicate this to the go method. 183s __adsysctl_debug "Adding extra empty parameter" 183s requestComp="${requestComp} ''" 183s fi 183s 183s # When completing a flag with an = (e.g., adsysctl -n=) 183s # bash focuses on the part after the =, so we need to remove 183s # the flag part from $cur 183s if [[ ${cur} == -*=* ]]; then 183s cur="${cur#*=}" 183s fi 183s 183s __adsysctl_debug "Calling ${requestComp}" 183s # Use eval to handle any environment variables and such 183s out=$(eval "${requestComp}" 2>/dev/null) 183s 183s # Extract the directive integer at the very end of the output following a colon (:) 183s directive=${out##*:} 183s # Remove the directive 183s out=${out%:*} 183s if [[ ${directive} == "${out}" ]]; then 183s # There is not directive specified 183s directive=0 183s fi 183s __adsysctl_debug "The completion directive is: ${directive}" 183s __adsysctl_debug "The completions are: ${out}" 183s } 183s 183s __adsysctl_process_completion_results() { 183s local shellCompDirectiveError=1 183s local shellCompDirectiveNoSpace=2 183s local shellCompDirectiveNoFileComp=4 183s local shellCompDirectiveFilterFileExt=8 183s local shellCompDirectiveFilterDirs=16 183s local shellCompDirectiveKeepOrder=32 183s 183s if (((directive & shellCompDirectiveError) != 0)); then 183s # Error code. No completion. 183s __adsysctl_debug "Received error from custom completion go code" 183s return 183s else 183s if (((directive & shellCompDirectiveNoSpace) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s __adsysctl_debug "Activating no space" 183s compopt -o nospace 183s else 183s __adsysctl_debug "No space directive not supported in this version of bash" 183s fi 183s fi 183s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s # no sort isn't supported for bash less than < 4.4 183s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 183s __adsysctl_debug "No sort directive not supported in this version of bash" 183s else 183s __adsysctl_debug "Activating keep order" 183s compopt -o nosort 183s fi 183s else 183s __adsysctl_debug "No sort directive not supported in this version of bash" 183s fi 183s fi 183s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s __adsysctl_debug "Activating no file completion" 183s compopt +o default 183s else 183s __adsysctl_debug "No file completion directive not supported in this version of bash" 183s fi 183s fi 183s fi 183s 183s # Separate activeHelp from normal completions 183s local completions=() 183s local activeHelp=() 183s __adsysctl_extract_activeHelp 183s 183s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 183s # File extension filtering 183s local fullFilter filter filteringCmd 183s 183s # Do not use quotes around the $completions variable or else newline 183s # characters will be kept. 183s for filter in ${completions[*]}; do 183s fullFilter+="$filter|" 183s done 183s 183s filteringCmd="_filedir $fullFilter" 183s __adsysctl_debug "File filtering command: $filteringCmd" 183s $filteringCmd 183s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 183s # File completion for directories only 183s 183s local subdir 183s subdir=${completions[0]} 183s if [[ -n $subdir ]]; then 183s __adsysctl_debug "Listing directories in $subdir" 183s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 183s else 183s __adsysctl_debug "Listing directories in ." 183s _filedir -d 183s fi 183s else 183s __adsysctl_handle_completion_types 183s fi 183s 183s __adsysctl_handle_special_char "$cur" : 183s __adsysctl_handle_special_char "$cur" = 183s 183s # Print the activeHelp statements before we finish 183s if ((${#activeHelp[*]} != 0)); then 183s printf "\n"; 183s printf "%s\n" "${activeHelp[@]}" 183s printf "\n" 183s 183s # The prompt format is only available from bash 4.4. 183s # We test if it is available before using it. 183s if (x=${PS1@P}) 2> /dev/null; then 183s printf "%s" "${PS1@P}${COMP_LINE[@]}" 183s else 183s # Can't print the prompt. Just print the 183s # text the user had typed, it is workable enough. 183s printf "%s" "${COMP_LINE[@]}" 183s fi 183s fi 183s } 183s 183s # Separate activeHelp lines from real completions. 183s # Fills the $activeHelp and $completions arrays. 183s __adsysctl_extract_activeHelp() { 183s local activeHelpMarker="_activeHelp_ " 183s local endIndex=${#activeHelpMarker} 183s 183s while IFS='' read -r comp; do 183s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 183s comp=${comp:endIndex} 183s __adsysctl_debug "ActiveHelp found: $comp" 183s if [[ -n $comp ]]; then 183s activeHelp+=("$comp") 183s fi 183s else 183s # Not an activeHelp line but a normal completion 183s completions+=("$comp") 183s fi 183s done <<<"${out}" 183s } 183s 183s __adsysctl_handle_completion_types() { 183s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 183s 183s case $COMP_TYPE in 183s 37|42) 183s # Type: menu-complete/menu-complete-backward and insert-completions 183s # If the user requested inserting one completion at a time, or all 183s # completions at once on the command-line we must remove the descriptions. 183s # https://github.com/spf13/cobra/issues/1508 183s local tab=$'\t' comp 183s while IFS='' read -r comp; do 183s [[ -z $comp ]] && continue 183s # Strip any description 183s comp=${comp%%$tab*} 183s # Only consider the completions that match 183s if [[ $comp == "$cur"* ]]; then 183s COMPREPLY+=("$comp") 183s fi 183s done < <(printf "%s\n" "${completions[@]}") 183s ;; 183s 183s *) 183s # Type: complete (normal completion) 183s __adsysctl_handle_standard_completion_case 183s ;; 183s esac 183s } 183s 183s __adsysctl_handle_standard_completion_case() { 183s local tab=$'\t' comp 183s 183s # Short circuit to optimize if we don't have descriptions 183s if [[ "${completions[*]}" != *$tab* ]]; then 183s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 183s return 0 183s fi 183s 183s local longest=0 183s local compline 183s # Look for the longest completion so that we can format things nicely 183s while IFS='' read -r compline; do 183s [[ -z $compline ]] && continue 183s # Strip any description before checking the length 183s comp=${compline%%$tab*} 183s # Only consider the completions that match 183s [[ $comp == "$cur"* ]] || continue 183s COMPREPLY+=("$compline") 183s if ((${#comp}>longest)); then 183s longest=${#comp} 183s fi 183s done < <(printf "%s\n" "${completions[@]}") 183s 183s # If there is a single completion left, remove the description text 183s if ((${#COMPREPLY[*]} == 1)); then 183s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 183s comp="${COMPREPLY[0]%%$tab*}" 183s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 183s COMPREPLY[0]=$comp 183s else # Format the descriptions 183s __adsysctl_format_comp_descriptions $longest 183s fi 183s } 183s 183s __adsysctl_handle_special_char() 183s { 183s local comp="$1" 183s local char=$2 183s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 183s local word=${comp%"${comp##*${char}}"} 183s local idx=${#COMPREPLY[*]} 183s while ((--idx >= 0)); do 183s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 183s done 183s fi 183s } 183s 183s __adsysctl_format_comp_descriptions() 183s { 183s local tab=$'\t' 183s local comp desc maxdesclength 183s local longest=$1 183s 183s local i ci 183s for ci in ${!COMPREPLY[*]}; do 183s comp=${COMPREPLY[ci]} 183s # Properly format the description string which follows a tab character if there is one 183s if [[ "$comp" == *$tab* ]]; then 183s __adsysctl_debug "Original comp: $comp" 183s desc=${comp#*$tab} 183s comp=${comp%%$tab*} 183s 183s # $COLUMNS stores the current shell width. 183s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 183s maxdesclength=$(( COLUMNS - longest - 4 )) 183s 183s # Make sure we can fit a description of at least 8 characters 183s # if we are to align the descriptions. 183s if ((maxdesclength > 8)); then 183s # Add the proper number of spaces to align the descriptions 183s for ((i = ${#comp} ; i < longest ; i++)); do 183s comp+=" " 183s done 183s else 183s # Don't pad the descriptions so we can fit more text after the completion 183s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 183s fi 183s 183s # If there is enough space for any description text, 183s # truncate the descriptions that are too long for the shell width 183s if ((maxdesclength > 0)); then 183s if ((${#desc} > maxdesclength)); then 183s desc=${desc:0:$(( maxdesclength - 1 ))} 183s desc+="…" 183s fi 183s comp+=" ($desc)" 183s fi 183s COMPREPLY[ci]=$comp 183s __adsysctl_debug "Final comp: $comp" 183s fi 183s done 183s } 183s 183s __start_adsysctl() 183s { 183s local cur prev words cword split 183s 183s COMPREPLY=() 183s 183s # Call _init_completion from the bash-completion package 183s # to prepare the arguments properly 183s if declare -F _init_completion >/dev/null 2>&1; then 183s _init_completion -n =: || return 183s else 183s __adsysctl_init_completion -n =: || return 183s fi 183s 183s __adsysctl_debug 183s __adsysctl_debug "========= starting completion logic ==========" 183s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 183s 183s # The user could have moved the cursor backwards on the command-line. 183s # We need to trigger completion from the $cword location, so we need 183s # to truncate the command-line ($words) up to the $cword location. 183s words=("${words[@]:0:$cword+1}") 183s __adsysctl_debug "Truncated words[*]: ${words[*]}," 183s 183s local out directive 183s __adsysctl_get_completion_results 183s __adsysctl_process_completion_results 183s } 183s 183s if [[ $(type -t compopt) = "builtin" ]]; then 183s complete -o default -F __start_adsysctl adsysctl 183s else 183s complete -o default -o nospace -F __start_adsysctl adsysctl 183s fi 183s 183s # ex: ts=4 sw=4 et filetype=sh 183s --- PASS: TestAppCanQuitAfterExecute (0.01s) 183s === CONT TestAppNoUsageError 183s # bash completion V2 for adsysctl -*- shell-script -*- 183s 183s __adsysctl_debug() 183s { 183s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 183s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 183s fi 183s } 183s 183s # Macs have bash3 for which the bash-completion package doesn't include 183s # _init_completion. This is a minimal version of that function. 183s __adsysctl_init_completion() 183s { 183s COMPREPLY=() 183s _get_comp_words_by_ref "$@" cur prev words cword 183s } 183s 183s # This function calls the adsysctl program to obtain the completion 183s # results and the directive. It fills the 'out' and 'directive' vars. 183s __adsysctl_get_completion_results() { 183s local requestComp lastParam lastChar args 183s 183s # Prepare the command to request completions for the program. 183s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 183s args=("${words[@]:1}") 183s requestComp="${words[0]} __complete ${args[*]}" 183s 183s lastParam=${words[$((${#words[@]}-1))]} 183s lastChar=${lastParam:$((${#lastParam}-1)):1} 183s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 183s 183s if [[ -z ${cur} && ${lastChar} != = ]]; then 183s # If the last parameter is complete (there is a space following it) 183s # We add an extra empty parameter so we can indicate this to the go method. 183s __adsysctl_debug "Adding extra empty parameter" 183s requestComp="${requestComp} ''" 183s fi 183s 183s # When completing a flag with an = (e.g., adsysctl -n=) 183s # bash focuses on the part after the =, so we need to remove 183s # the flag part from $cur 183s if [[ ${cur} == -*=* ]]; then 183s cur="${cur#*=}" 183s fi 183s 183s __adsysctl_debug "Calling ${requestComp}" 183s # Use eval to handle any environment variables and such 183s out=$(eval "${requestComp}" 2>/dev/null) 183s 183s # Extract the directive integer at the very end of the output following a colon (:) 183s directive=${out##*:} 183s # Remove the directive 183s out=${out%:*} 183s if [[ ${directive} == "${out}" ]]; then 183s # There is not directive specified 183s directive=0 183s fi 183s __adsysctl_debug "The completion directive is: ${directive}" 183s __adsysctl_debug "The completions are: ${out}" 183s } 183s 183s __adsysctl_process_completion_results() { 183s local shellCompDirectiveError=1 183s local shellCompDirectiveNoSpace=2 183s local shellCompDirectiveNoFileComp=4 183s local shellCompDirectiveFilterFileExt=8 183s local shellCompDirectiveFilterDirs=16 183s local shellCompDirectiveKeepOrder=32 183s 183s if (((directive & shellCompDirectiveError) != 0)); then 183s # Error code. No completion. 183s __adsysctl_debug "Received error from custom completion go code" 183s return 183s else 183s if (((directive & shellCompDirectiveNoSpace) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s __adsysctl_debug "Activating no space" 183s compopt -o nospace 183s else 183s __adsysctl_debug "No space directive not supported in this version of bash" 183s fi 183s fi 183s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s # no sort isn't supported for bash less than < 4.4 183s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 183s __adsysctl_debug "No sort directive not supported in this version of bash" 183s else 183s __adsysctl_debug "Activating keep order" 183s compopt -o nosort 183s fi 183s else 183s __adsysctl_debug "No sort directive not supported in this version of bash" 183s fi 183s fi 183s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s __adsysctl_debug "Activating no file completion" 183s compopt +o default 183s else 183s __adsysctl_debug "No file completion directive not supported in this version of bash" 183s fi 183s fi 183s fi 183s 183s # Separate activeHelp from normal completions 183s local completions=() 183s local activeHelp=() 183s __adsysctl_extract_activeHelp 183s 183s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 183s # File extension filtering 183s local fullFilter filter filteringCmd 183s 183s # Do not use quotes around the $completions variable or else newline 183s # characters will be kept. 183s for filter in ${completions[*]}; do 183s fullFilter+="$filter|" 183s done 183s 183s filteringCmd="_filedir $fullFilter" 183s __adsysctl_debug "File filtering command: $filteringCmd" 183s $filteringCmd 183s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 183s # File completion for directories only 183s 183s local subdir 183s subdir=${completions[0]} 183s if [[ -n $subdir ]]; then 183s __adsysctl_debug "Listing directories in $subdir" 183s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 183s else 183s __adsysctl_debug "Listing directories in ." 183s _filedir -d 183s fi 183s else 183s __adsysctl_handle_completion_types 183s fi 183s 183s __adsysctl_handle_special_char "$cur" : 183s __adsysctl_handle_special_char "$cur" = 183s 183s # Print the activeHelp statements before we finish 183s if ((${#activeHelp[*]} != 0)); then 183s printf "\n"; 183s printf "%s\n" "${activeHelp[@]}" 183s printf "\n" 183s 183s # The prompt format is only available from bash 4.4. 183s # We test if it is available before using it. 183s if (x=${PS1@P}) 2> /dev/null; then 183s printf "%s" "${PS1@P}${COMP_LINE[@]}" 183s else 183s # Can't print the prompt. Just print the 183s # text the user had typed, it is workable enough. 183s printf "%s" "${COMP_LINE[@]}" 183s fi 183s fi 183s } 183s 183s # Separate activeHelp lines from real completions. 183s # Fills the $activeHelp and $completions arrays. 183s __adsysctl_extract_activeHelp() { 183s local activeHelpMarker="_activeHelp_ " 183s local endIndex=${#activeHelpMarker} 183s 183s while IFS='' read -r comp; do 183s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 183s comp=${comp:endIndex} 183s __adsysctl_debug "ActiveHelp found: $comp" 183s if [[ -n $comp ]]; then 183s activeHelp+=("$comp") 183s fi 183s else 183s # Not an activeHelp line but a normal completion 183s completions+=("$comp") 183s fi 183s done <<<"${out}" 183s } 183s 183s __adsysctl_handle_completion_types() { 183s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 183s 183s case $COMP_TYPE in 183s 37|42) 183s # Type: menu-complete/menu-complete-backward and insert-completions 183s # If the user requested inserting one completion at a time, or all 183s # completions at once on the command-line we must remove the descriptions. 183s # https://github.com/spf13/cobra/issues/1508 183s local tab=$'\t' comp 183s while IFS='' read -r comp; do 183s [[ -z $comp ]] && continue 183s # Strip any description 183s comp=${comp%%$tab*} 183s # Only consider the completions that match 183s if [[ $comp == "$cur"* ]]; then 183s COMPREPLY+=("$comp") 183s fi 183s done < <(printf "%s\n" "${completions[@]}") 183s ;; 183s 183s *) 183s # Type: complete (normal completion) 183s __adsysctl_handle_standard_completion_case 183s ;; 183s esac 183s } 183s 183s __adsysctl_handle_standard_completion_case() { 183s local tab=$'\t' comp 183s 183s # Short circuit to optimize if we don't have descriptions 183s if [[ "${completions[*]}" != *$tab* ]]; then 183s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 183s return 0 183s fi 183s 183s local longest=0 183s local compline 183s # Look for the longest completion so that we can format things nicely 183s while IFS='' read -r compline; do 183s [[ -z $compline ]] && continue 183s # Strip any description before checking the length 183s comp=${compline%%$tab*} 183s # Only consider the completions that match 183s [[ $comp == "$cur"* ]] || continue 183s COMPREPLY+=("$compline") 183s if ((${#comp}>longest)); then 183s longest=${#comp} 183s fi 183s done < <(printf "%s\n" "${completions[@]}") 183s 183s # If there is a single completion left, remove the description text 183s if ((${#COMPREPLY[*]} == 1)); then 183s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 183s comp="${COMPREPLY[0]%%$tab*}" 183s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 183s COMPREPLY[0]=$comp 183s else # Format the descriptions 183s __adsysctl_format_comp_descriptions $longest 183s fi 183s } 183s 183s __adsysctl_handle_special_char() 183s { 183s local comp="$1" 183s local char=$2 183s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 183s local word=${comp%"${comp##*${char}}"} 183s local idx=${#COMPREPLY[*]} 183s while ((--idx >= 0)); do 183s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 183s done 183s fi 183s } 183s 183s __adsysctl_format_comp_descriptions() 183s { 183s local tab=$'\t' 183s local comp desc maxdesclength 183s local longest=$1 183s 183s local i ci 183s for ci in ${!COMPREPLY[*]}; do 183s comp=${COMPREPLY[ci]} 183s # Properly format the description string which follows a tab character if there is one 183s if [[ "$comp" == *$tab* ]]; then 183s __adsysctl_debug "Original comp: $comp" 183s desc=${comp#*$tab} 183s comp=${comp%%$tab*} 183s 183s # $COLUMNS stores the current shell width. 183s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 183s maxdesclength=$(( COLUMNS - longest - 4 )) 183s 183s # Make sure we can fit a description of at least 8 characters 183s # if we are to align the descriptions. 183s if ((maxdesclength > 8)); then 183s # Add the proper number of spaces to align the descriptions 183s for ((i = ${#comp} ; i < longest ; i++)); do 183s comp+=" " 183s done 183s else 183s # Don't pad the descriptions so we can fit more text after the completion 183s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 183s fi 183s 183s # If there is enough space for any description text, 183s # truncate the descriptions that are too long for the shell width 183s if ((maxdesclength > 0)); then 183s if ((${#desc} > maxdesclength)); then 183s desc=${desc:0:$(( maxdesclength - 1 ))} 183s desc+="…" 183s fi 183s comp+=" ($desc)" 183s fi 183s COMPREPLY[ci]=$comp 183s __adsysctl_debug "Final comp: $comp" 183s fi 183s done 183s } 183s 183s __start_adsysctl() 183s { 183s local cur prev words cword split 183s 183s COMPREPLY=() 183s 183s # Call _init_completion from the bash-completion package 183s # to prepare the arguments properly 183s if declare -F _init_completion >/dev/null 2>&1; then 183s _init_completion -n =: || return 183s else 183s __adsysctl_init_completion -n =: || return 183s fi 183s 183s __adsysctl_debug 183s __adsysctl_debug "========= starting completion logic ==========" 183s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 183s 183s # The user could have moved the cursor backwards on the command-line. 183s # We need to trigger completion from the $cword location, so we need 183s # to truncate the command-line ($words) up to the $cword location. 183s words=("${words[@]:0:$cword+1}") 183s __adsysctl_debug "Truncated words[*]: ${words[*]}," 183s 183s local out directive 183s __adsysctl_get_completion_results 183s __adsysctl_process_completion_results 183s } 183s 183s if [[ $(type -t compopt) = "builtin" ]]; then 183s complete -o default -F __start_adsysctl adsysctl 183s else 183s complete -o default -o nospace -F __start_adsysctl adsysctl 183s fi 183s 183s # ex: ts=4 sw=4 et filetype=sh 183s --- PASS: TestAppNoUsageError (0.00s) 183s === CONT TestAppCanQuitWhenExecute 183s --- PASS: TestAppCanQuitWhenExecute (0.00s) 183s === CONT TestAppUsageError 183s Usage: 183s adsysctl COMMAND [flags] 183s adsysctl [command] 183s 183s Available Commands: 183s applied Print last applied GPOs for current or given user/machine 183s completion Generate the autocompletion script for the specified shell 183s doc Documentation 183s help Help about any command 183s policy Policy management 183s service Service management 183s update Updates/Create a policy for current user or given user with its kerberos ticket 183s version Returns version of client and service 183s 183s Flags: 183s -c, --config string use a specific configuration file 183s -h, --help help for adsysctl 183s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 183s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 183s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 183s 183s Use "adsysctl [command] --help" for more information about a command. 183s 183s --- PASS: TestAppUsageError (0.00s) 183s === CONT TestAppCompletion 183s # bash completion V2 for adsysctl -*- shell-script -*- 183s 183s __adsysctl_debug() 183s { 183s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 183s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 183s fi 183s } 183s 183s # Macs have bash3 for which the bash-completion package doesn't include 183s # _init_completion. This is a minimal version of that function. 183s __adsysctl_init_completion() 183s { 183s COMPREPLY=() 183s _get_comp_words_by_ref "$@" cur prev words cword 183s } 183s 183s # This function calls the adsysctl program to obtain the completion 183s # results and the directive. It fills the 'out' and 'directive' vars. 183s __adsysctl_get_completion_results() { 183s local requestComp lastParam lastChar args 183s 183s # Prepare the command to request completions for the program. 183s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 183s args=("${words[@]:1}") 183s requestComp="${words[0]} __complete ${args[*]}" 183s 183s lastParam=${words[$((${#words[@]}-1))]} 183s lastChar=${lastParam:$((${#lastParam}-1)):1} 183s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 183s 183s if [[ -z ${cur} && ${lastChar} != = ]]; then 183s # If the last parameter is complete (there is a space following it) 183s # We add an extra empty parameter so we can indicate this to the go method. 183s __adsysctl_debug "Adding extra empty parameter" 183s requestComp="${requestComp} ''" 183s fi 183s 183s # When completing a flag with an = (e.g., adsysctl -n=) 183s # bash focuses on the part after the =, so we need to remove 183s # the flag part from $cur 183s if [[ ${cur} == -*=* ]]; then 183s cur="${cur#*=}" 183s fi 183s 183s __adsysctl_debug "Calling ${requestComp}" 183s # Use eval to handle any environment variables and such 183s out=$(eval "${requestComp}" 2>/dev/null) 183s 183s # Extract the directive integer at the very end of the output following a colon (:) 183s directive=${out##*:} 183s # Remove the directive 183s out=${out%:*} 183s if [[ ${directive} == "${out}" ]]; then 183s # There is not directive specified 183s directive=0 183s fi 183s __adsysctl_debug "The completion directive is: ${directive}" 183s __adsysctl_debug "The completions are: ${out}" 183s } 183s 183s __adsysctl_process_completion_results() { 183s local shellCompDirectiveError=1 183s local shellCompDirectiveNoSpace=2 183s local shellCompDirectiveNoFileComp=4 183s local shellCompDirectiveFilterFileExt=8 183s local shellCompDirectiveFilterDirs=16 183s local shellCompDirectiveKeepOrder=32 183s 183s if (((directive & shellCompDirectiveError) != 0)); then 183s # Error code. No completion. 183s __adsysctl_debug "Received error from custom completion go code" 183s return 183s else 183s if (((directive & shellCompDirectiveNoSpace) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s __adsysctl_debug "Activating no space" 183s compopt -o nospace 183s else 183s __adsysctl_debug "No space directive not supported in this version of bash" 183s fi 183s fi 183s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s # no sort isn't supported for bash less than < 4.4 183s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 183s __adsysctl_debug "No sort directive not supported in this version of bash" 183s else 183s __adsysctl_debug "Activating keep order" 183s compopt -o nosort 183s fi 183s else 183s __adsysctl_debug "No sort directive not supported in this version of bash" 183s fi 183s fi 183s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 183s if [[ $(type -t compopt) == builtin ]]; then 183s __adsysctl_debug "Activating no file completion" 183s compopt +o default 183s else 183s __adsysctl_debug "No file completion directive not supported in this version of bash" 183s fi 183s fi 183s fi 183s 183s # Separate activeHelp from normal completions 183s local completions=() 183s local activeHelp=() 183s __adsysctl_extract_activeHelp 183s 183s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 183s # File extension filtering 183s local fullFilter filter filteringCmd 183s 183s # Do not use quotes around the $completions variable or else newline 183s # characters will be kept. 183s for filter in ${completions[*]}; do 183s fullFilter+="$filter|" 183s done 183s 183s filteringCmd="_filedir $fullFilter" 183s __adsysctl_debug "File filtering command: $filteringCmd" 183s $filteringCmd 183s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 183s # File completion for directories only 183s 183s local subdir 183s subdir=${completions[0]} 183s if [[ -n $subdir ]]; then 183s __adsysctl_debug "Listing directories in $subdir" 183s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 183s else 183s __adsysctl_debug "Listing directories in ." 183s _filedir -d 183s fi 183s else 183s __adsysctl_handle_completion_types 183s fi 183s 183s __adsysctl_handle_special_char "$cur" : 183s __adsysctl_handle_special_char "$cur" = 183s 183s # Print the activeHelp statements before we finish 183s if ((${#activeHelp[*]} != 0)); then 183s printf "\n"; 183s printf "%s\n" "${activeHelp[@]}" 183s printf "\n" 183s 183s # The prompt format is only available from bash 4.4. 183s # We test if it is available before using it. 183s if (x=${PS1@P}) 2> /dev/null; then 183s printf "%s" "${PS1@P}${COMP_LINE[@]}" 183s else 183s # Can't print the prompt. Just print the 183s # text the user had typed, it is workable enough. 183s printf "%s" "${COMP_LINE[@]}" 183s fi 183s fi 183s } 183s 183s # Separate activeHelp lines from real completions. 183s # Fills the $activeHelp and $completions arrays. 183s __adsysctl_extract_activeHelp() { 183s local activeHelpMarker="_activeHelp_ " 183s local endIndex=${#activeHelpMarker} 183s 183s while IFS='' read -r comp; do 183s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 183s comp=${comp:endIndex} 183s __adsysctl_debug "ActiveHelp found: $comp" 183s if [[ -n $comp ]]; then 183s activeHelp+=("$comp") 183s fi 183s else 183s # Not an activeHelp line but a normal completion 183s completions+=("$comp") 183s fi 183s done <<<"${out}" 183s } 183s 183s __adsysctl_handle_completion_types() { 183s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 183s 183s case $COMP_TYPE in 183s 37|42) 183s # Type: menu-complete/menu-complete-backward and insert-completions 183s # If the user requested inserting one completion at a time, or all 183s # completions at once on the command-line we must remove the descriptions. 183s # https://github.com/spf13/cobra/issues/1508 183s local tab=$'\t' comp 183s while IFS='' read -r comp; do 183s [[ -z $comp ]] && continue 183s # Strip any description 183s comp=${comp%%$tab*} 183s # Only consider the completions that match 183s if [[ $comp == "$cur"* ]]; then 183s COMPREPLY+=("$comp") 183s fi 183s done < <(printf "%s\n" "${completions[@]}") 183s ;; 183s 183s *) 183s # Type: complete (normal completion) 183s __adsysctl_handle_standard_completion_case 183s ;; 183s esac 183s } 183s 183s __adsysctl_handle_standard_completion_case() { 183s local tab=$'\t' comp 183s 183s # Short circuit to optimize if we don't have descriptions 183s if [[ "${completions[*]}" != *$tab* ]]; then 183s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 183s return 0 183s fi 183s 183s local longest=0 183s local compline 183s # Look for the longest completion so that we can format things nicely 183s while IFS='' read -r compline; do 183s [[ -z $compline ]] && continue 183s # Strip any description before checking the length 183s comp=${compline%%$tab*} 183s # Only consider the completions that match 183s [[ $comp == "$cur"* ]] || continue 183s COMPREPLY+=("$compline") 183s if ((${#comp}>longest)); then 183s longest=${#comp} 183s fi 183s done < <(printf "%s\n" "${completions[@]}") 183s 183s # If there is a single completion left, remove the description text 183s if ((${#COMPREPLY[*]} == 1)); then 183s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 183s comp="${COMPREPLY[0]%%$tab*}" 183s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 183s COMPREPLY[0]=$comp 183s else # Format the descriptions 183s __adsysctl_format_comp_descriptions $longest 183s fi 183s } 183s 183s __adsysctl_handle_special_char() 183s { 183s local comp="$1" 183s local char=$2 183s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 183s local word=${comp%"${comp##*${char}}"} 183s local idx=${#COMPREPLY[*]} 183s while ((--idx >= 0)); do 183s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 183s done 183s fi 183s } 183s 183s __adsysctl_format_comp_descriptions() 183s { 183s local tab=$'\t' 183s local comp desc maxdesclength 183s local longest=$1 183s 183s local i ci 183s for ci in ${!COMPREPLY[*]}; do 183s comp=${COMPREPLY[ci]} 183s # Properly format the description string which follows a tab character if there is one 183s if [[ "$comp" == *$tab* ]]; then 183s __adsysctl_debug "Original comp: $comp" 183s desc=${comp#*$tab} 183s comp=${comp%%$tab*} 183s 183s # $COLUMNS stores the current shell width. 183s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 183s maxdesclength=$(( COLUMNS - longest - 4 )) 183s 183s # Make sure we can fit a description of at least 8 characters 183s # if we are to align the descriptions. 183s if ((maxdesclength > 8)); then 183s # Add the proper number of spaces to align the descriptions 183s for ((i = ${#comp} ; i < longest ; i++)); do 183s comp+=" " 183s done 183s else 183s # Don't pad the descriptions so we can fit more text after the completion 183s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 183s fi 183s 183s # If there is enough space for any description text, 183s # truncate the descriptions that are too long for the shell width 183s if ((maxdesclength > 0)); then 183s if ((${#desc} > maxdesclength)); then 183s desc=${desc:0:$(( maxdesclength - 1 ))} 183s desc+="…" 183s fi 183s comp+=" ($desc)" 183s fi 183s COMPREPLY[ci]=$comp 183s __adsysctl_debug "Final comp: $comp" 183s fi 183s done 183s } 183s 183s __start_adsysctl() 183s { 183s local cur prev words cword split 183s 183s COMPREPLY=() 183s 183s # Call _init_completion from the bash-completion package 183s # to prepare the arguments properly 183s if declare -F _init_completion >/dev/null 2>&1; then 183s _init_completion -n =: || return 183s else 183s __adsysctl_init_completion -n =: || return 183s fi 183s 183s __adsysctl_debug 183s __adsysctl_debug "========= starting completion logic ==========" 183s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 183s 183s # The user could have moved the cursor backwards on the command-line. 183s # We need to trigger completion from the $cword location, so we need 183s # to truncate the command-line ($words) up to the $cword location. 183s words=("${words[@]:0:$cword+1}") 183s __adsysctl_debug "Truncated words[*]: ${words[*]}," 183s 183s local out directive 183s __adsysctl_get_completion_results 183s __adsysctl_process_completion_results 183s } 183s 183s if [[ $(type -t compopt) = "builtin" ]]; then 183s complete -o default -F __start_adsysctl adsysctl 183s else 183s complete -o default -o nospace -F __start_adsysctl adsysctl 183s fi 183s 183s # ex: ts=4 sw=4 et filetype=sh 183s --- PASS: TestAppCompletion (0.00s) 183s === CONT TestAppHelp 183s Active Directory integration bridging toolset command line tool. 183s 183s --- PASS: TestAppCanQuitWithoutExecute (0.01s) 183s Usage: 183s adsysctl COMMAND [flags] 183s adsysctl [command] 183s 183s Available Commands: 183s applied Print last applied GPOs for current or given user/machine 183s completion Generate the autocompletion script for the specified shell 183s doc Documentation 183s help Help about any command 183s policy Policy management 183s service Service management 183s update Updates/Create a policy for current user or given user with its kerberos ticket 183s version Returns version of client and service 183s 183s Flags: 183s -c, --config string use a specific configuration file 183s -h, --help help for adsysctl 183s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 183s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 183s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 183s 183s Use "adsysctl [command] --help" for more information about a command. 183s --- PASS: TestAppHelp (0.00s) 183s PASS 183s ok github.com/ubuntu/adsys/cmd/adsysd/client 0.059s 186s ? github.com/ubuntu/adsys/cmd/adwatchd [no test files] 186s ? github.com/ubuntu/adsys/cmd/adwatchd/commands [no test files] 187s ? github.com/ubuntu/adsys/docs [no test files] 187s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/00_check_vm_image [no test files] 187s === RUN TestAppHelp 187s === PAUSE TestAppHelp 187s === RUN TestAppCompletion 187s === PAUSE TestAppCompletion 187s === RUN TestAppVersion 187s --- PASS: TestAppVersion (0.00s) 187s === RUN TestAppNoUsageError 187s === PAUSE TestAppNoUsageError 187s === RUN TestAppUsageError 187s === PAUSE TestAppUsageError 187s === RUN TestAppCanQuitWhenExecute 187s time="2024-11-29T20:31:26Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 187s --- PASS: TestAppCanQuitWhenExecute (0.05s) 187s === RUN TestAppCanQuitAfterExecute 187s time="2024-11-29T20:31:26Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 187s --- PASS: TestAppCanQuitAfterExecute (1.02s) 187s === RUN TestAppCanQuitWithoutExecute 187s === PAUSE TestAppCanQuitWithoutExecute 187s === RUN TestAppRunFailsOnDaemonCreationAndQuit 187s time="2024-11-29T20:31:27Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 187s --- PASS: TestAppRunFailsOnDaemonCreationAndQuit (0.02s) 187s === RUN TestAppRunFailsOnServiceCreationAndQuit 187s --- PASS: TestAppRunFailsOnServiceCreationAndQuit (0.00s) 187s === RUN TestAppCanSigHupWhenExecute 187s time="2024-11-29T20:31:27Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 187s --- PASS: TestAppCanSigHupWhenExecute (0.05s) 187s === RUN TestAppCanSigHupAfterExecute 187s time="2024-11-29T20:31:27Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 187s --- PASS: TestAppCanSigHupAfterExecute (1.00s) 187s === RUN TestAppCanSigHupWithoutExecute 187s --- PASS: TestAppCanSigHupWithoutExecute (0.00s) 187s === RUN TestAppTimeout 187s time="2024-11-29T20:31:28Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 187s --- PASS: TestAppTimeout (1.00s) 187s === RUN TestAppGetRootCmd 187s === PAUSE TestAppGetRootCmd 187s === RUN TestConfigLoad 187s time="2024-11-29T20:31:29Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 187s time="2024-11-29T20:31:29Z" level=info msg="Serving on /tmp/TestConfigLoad506323945/001/adsys.socket" 187s time="2024-11-29T20:31:29Z" level=info msg="Stopping daemon requested." 187s time="2024-11-29T20:31:29Z" level=info msg="Wait for active requests to close." 187s --- PASS: TestConfigLoad (0.06s) 187s === RUN TestConfigChange 187s time="2024-11-29T20:31:29Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 187s time="2024-11-29T20:31:29Z" level=info msg="Serving on /tmp/TestConfigChange3518851722/001/adsys.socket" 187s time="2024-11-29T20:31:29Z" level=info msg="Stopping daemon requested." 187s time="2024-11-29T20:31:29Z" level=info msg="Wait for active requests to close." 187s time="2024-11-29T20:31:29Z" level=debug msg="All connections have now ended." 187s time="2024-11-29T20:31:29Z" level=debug msg=Quitting 187s --- PASS: TestConfigChange (0.15s) 187s === CONT TestAppHelp 187s Active Directory integration bridging toolset daemon. 187s 187s Usage: 187s adsysd COMMAND [flags] 187s adsysd [command] 187s 187s Available Commands: 187s completion Generate the autocompletion script for the specified shell 187s help Help about any command 187s version Returns version of service and exits 187s 187s Flags: 187s --ad-backend string Active Directory authentication backend (default "sssd") 187s --cache-dir string directory where ADSys caches GPOs downloads and policies. (default "/var/cache/adsys") 187s -c, --config string use a specific configuration file 187s -h, --help help for adsysd 187s --run-dir string directory where ADSys stores transient information erased on reboot. (default "/run/adsys") 187s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 187s --sssd.cache-dir string SSSd cache directory (default "/var/lib/sss/db") 187s --sssd.config string SSSd config file path (default "/etc/sssd/sssd.conf") 187s -t, --timeout int time in seconds without activity before the service exists. 0 for no timeout. (default 120) 187s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 187s 187s Use "adsysd [command] --help" for more information about a command. 187s --- PASS: TestAppHelp (0.00s) 187s === CONT TestAppCanQuitWithoutExecute 187s daemon_test.go:104: We need to initialize the daemon first, so this is not possible and will hang forever (ready not closed) 187s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 187s === CONT TestAppGetRootCmd 187s --- PASS: TestAppGetRootCmd (0.00s) 187s === CONT TestAppCompletion 187s # bash completion V2 for adsysd -*- shell-script -*- 187s 187s __adsysd_debug() 187s { 187s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 187s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 187s fi 187s } 187s 187s # Macs have bash3 for which the bash-completion package doesn't include 187s # _init_completion. This is a minimal version of that function. 187s __adsysd_init_completion() 187s { 187s COMPREPLY=() 187s _get_comp_words_by_ref "$@" cur prev words cword 187s } 187s 187s # This function calls the adsysd program to obtain the completion 187s # results and the directive. It fills the 'out' and 'directive' vars. 187s __adsysd_get_completion_results() { 187s local requestComp lastParam lastChar args 187s 187s # Prepare the command to request completions for the program. 187s # Calling ${words[0]} instead of directly adsysd allows handling aliases 187s args=("${words[@]:1}") 187s requestComp="${words[0]} __complete ${args[*]}" 187s 187s lastParam=${words[$((${#words[@]}-1))]} 187s lastChar=${lastParam:$((${#lastParam}-1)):1} 187s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 187s 187s if [[ -z ${cur} && ${lastChar} != = ]]; then 187s # If the last parameter is complete (there is a space following it) 187s # We add an extra empty parameter so we can indicate this to the go method. 187s __adsysd_debug "Adding extra empty parameter" 187s requestComp="${requestComp} ''" 187s fi 187s 187s # When completing a flag with an = (e.g., adsysd -n=) 187s # bash focuses on the part after the =, so we need to remove 187s # the flag part from $cur 187s if [[ ${cur} == -*=* ]]; then 187s cur="${cur#*=}" 187s fi 187s 187s __adsysd_debug "Calling ${requestComp}" 187s # Use eval to handle any environment variables and such 187s out=$(eval "${requestComp}" 2>/dev/null) 187s 187s # Extract the directive integer at the very end of the output following a colon (:) 187s directive=${out##*:} 187s # Remove the directive 187s out=${out%:*} 187s if [[ ${directive} == "${out}" ]]; then 187s # There is not directive specified 187s directive=0 187s fi 187s __adsysd_debug "The completion directive is: ${directive}" 187s __adsysd_debug "The completions are: ${out}" 187s } 187s 187s __adsysd_process_completion_results() { 187s local shellCompDirectiveError=1 187s local shellCompDirectiveNoSpace=2 187s local shellCompDirectiveNoFileComp=4 187s local shellCompDirectiveFilterFileExt=8 187s local shellCompDirectiveFilterDirs=16 187s local shellCompDirectiveKeepOrder=32 187s 187s if (((directive & shellCompDirectiveError) != 0)); then 187s # Error code. No completion. 187s __adsysd_debug "Received error from custom completion go code" 187s return 187s else 187s if (((directive & shellCompDirectiveNoSpace) != 0)); then 187s if [[ $(type -t compopt) == builtin ]]; then 187s __adsysd_debug "Activating no space" 187s compopt -o nospace 187s else 187s __adsysd_debug "No space directive not supported in this version of bash" 187s fi 187s fi 187s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 187s if [[ $(type -t compopt) == builtin ]]; then 187s # no sort isn't supported for bash less than < 4.4 187s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 187s __adsysd_debug "No sort directive not supported in this version of bash" 187s else 187s __adsysd_debug "Activating keep order" 187s compopt -o nosort 187s fi 187s else 187s __adsysd_debug "No sort directive not supported in this version of bash" 187s fi 187s fi 187s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 187s if [[ $(type -t compopt) == builtin ]]; then 187s __adsysd_debug "Activating no file completion" 187s compopt +o default 187s else 187s __adsysd_debug "No file completion directive not supported in this version of bash" 187s fi 187s fi 187s fi 187s 187s # Separate activeHelp from normal completions 187s local completions=() 187s local activeHelp=() 187s __adsysd_extract_activeHelp 187s 187s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 187s # File extension filtering 187s local fullFilter filter filteringCmd 187s 187s # Do not use quotes around the $completions variable or else newline 187s # characters will be kept. 187s for filter in ${completions[*]}; do 187s fullFilter+="$filter|" 187s done 187s 187s filteringCmd="_filedir $fullFilter" 187s __adsysd_debug "File filtering command: $filteringCmd" 187s $filteringCmd 187s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 187s # File completion for directories only 187s 187s local subdir 187s subdir=${completions[0]} 187s if [[ -n $subdir ]]; then 187s __adsysd_debug "Listing directories in $subdir" 187s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 187s else 187s __adsysd_debug "Listing directories in ." 187s _filedir -d 187s fi 187s else 187s __adsysd_handle_completion_types 187s fi 187s 187s __adsysd_handle_special_char "$cur" : 187s __adsysd_handle_special_char "$cur" = 187s 187s # Print the activeHelp statements before we finish 187s if ((${#activeHelp[*]} != 0)); then 187s printf "\n"; 187s printf "%s\n" "${activeHelp[@]}" 187s printf "\n" 187s 187s # The prompt format is only available from bash 4.4. 187s # We test if it is available before using it. 187s if (x=${PS1@P}) 2> /dev/null; then 187s printf "%s" "${PS1@P}${COMP_LINE[@]}" 187s else 187s # Can't print the prompt. Just print the 187s # text the user had typed, it is workable enough. 187s printf "%s" "${COMP_LINE[@]}" 187s fi 187s fi 187s } 187s 187s # Separate activeHelp lines from real completions. 187s # Fills the $activeHelp and $completions arrays. 187s __adsysd_extract_activeHelp() { 187s local activeHelpMarker="_activeHelp_ " 187s local endIndex=${#activeHelpMarker} 187s 187s while IFS='' read -r comp; do 187s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 187s comp=${comp:endIndex} 187s __adsysd_debug "ActiveHelp found: $comp" 187s if [[ -n $comp ]]; then 187s activeHelp+=("$comp") 187s fi 187s else 187s # Not an activeHelp line but a normal completion 187s completions+=("$comp") 187s fi 187s done <<<"${out}" 187s } 187s 187s __adsysd_handle_completion_types() { 187s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 187s 187s case $COMP_TYPE in 187s 37|42) 187s # Type: menu-complete/menu-complete-backward and insert-completions 187s # If the user requested inserting one completion at a time, or all 187s # completions at once on the command-line we must remove the descriptions. 187s # https://github.com/spf13/cobra/issues/1508 187s local tab=$'\t' comp 187s while IFS='' read -r comp; do 187s [[ -z $comp ]] && continue 187s # Strip any description 187s comp=${comp%%$tab*} 187s # Only consider the completions that match 187s if [[ $comp == "$cur"* ]]; then 187s COMPREPLY+=("$comp") 187s fi 187s done < <(printf "%s\n" "${completions[@]}") 187s ;; 187s 187s *) 187s # Type: complete (normal completion) 187s __adsysd_handle_standard_completion_case 187s ;; 187s esac 187s } 187s 187s __adsysd_handle_standard_completion_case() { 187s local tab=$'\t' comp 187s 187s # Short circuit to optimize if we don't have descriptions 187s if [[ "${completions[*]}" != *$tab* ]]; then 187s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 187s return 0 187s fi 187s 187s local longest=0 187s local compline 187s # Look for the longest completion so that we can format things nicely 187s while IFS='' read -r compline; do 187s [[ -z $compline ]] && continue 187s # Strip any description before checking the length 187s comp=${compline%%$tab*} 187s # Only consider the completions that match 187s [[ $comp == "$cur"* ]] || continue 187s COMPREPLY+=("$compline") 187s if ((${#comp}>longest)); then 187s longest=${#comp} 187s fi 187s done < <(printf "%s\n" "${completions[@]}") 187s 187s # If there is a single completion left, remove the description text 187s if ((${#COMPREPLY[*]} == 1)); then 187s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 187s comp="${COMPREPLY[0]%%$tab*}" 187s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 187s COMPREPLY[0]=$comp 187s else # Format the descriptions 187s __adsysd_format_comp_descriptions $longest 187s fi 187s } 187s 187s __adsysd_handle_special_char() 187s { 187s local comp="$1" 187s local char=$2 187s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 187s local word=${comp%"${comp##*${char}}"} 187s local idx=${#COMPREPLY[*]} 187s while ((--idx >= 0)); do 187s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 187s done 187s fi 187s } 187s 187s __adsysd_format_comp_descriptions() 187s { 187s local tab=$'\t' 187s local comp desc maxdesclength 187s local longest=$1 187s 187s local i ci 187s for ci in ${!COMPREPLY[*]}; do 187s comp=${COMPREPLY[ci]} 187s # Properly format the description string which follows a tab character if there is one 187s if [[ "$comp" == *$tab* ]]; then 187s __adsysd_debug "Original comp: $comp" 187s desc=${comp#*$tab} 187s comp=${comp%%$tab*} 187s 187s # $COLUMNS stores the current shell width. 187s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 187s maxdesclength=$(( COLUMNS - longest - 4 )) 187s 187s # Make sure we can fit a description of at least 8 characters 187s # if we are to align the descriptions. 187s if ((maxdesclength > 8)); then 187s # Add the proper number of spaces to align the descriptions 187s for ((i = ${#comp} ; i < longest ; i++)); do 187s comp+=" " 187s done 187s else 187s # Don't pad the descriptions so we can fit more text after the completion 187s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 187s fi 187s 187s # If there is enough space for any description text, 187s # truncate the descriptions that are too long for the shell width 187s if ((maxdesclength > 0)); then 187s if ((${#desc} > maxdesclength)); then 187s desc=${desc:0:$(( maxdesclength - 1 ))} 187s desc+="…" 187s fi 187s comp+=" ($desc)" 187s fi 187s COMPREPLY[ci]=$comp 187s __adsysd_debug "Final comp: $comp" 187s fi 187s done 187s } 187s 187s __start_adsysd() 187s { 187s local cur prev words cword split 187s 187s COMPREPLY=() 187s 187s # Call _init_completion from the bash-completion package 187s # to prepare the arguments properly 187s if declare -F _init_completion >/dev/null 2>&1; then 187s _init_completion -n =: || return 187s else 187s __adsysd_init_completion -n =: || return 187s fi 187s 187s __adsysd_debug 187s __adsysd_debug "========= starting completion logic ==========" 187s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 187s 187s # The user could have moved the cursor backwards on the command-line. 187s # We need to trigger completion from the $cword location, so we need 187s # to truncate the command-line ($words) up to the $cword location. 187s words=("${words[@]:0:$cword+1}") 187s __adsysd_debug "Truncated words[*]: ${words[*]}," 187s 187s local out directive 187s __adsysd_get_completion_results 187s __adsysd_process_completion_results 187s } 187s 187s if [[ $(type -t compopt) = "builtin" ]]; then 187s complete -o default -F __start_adsysd adsysd 187s else 187s complete -o default -o nospace -F __start_adsysd adsysd 187s fi 187s 187s # ex: ts=4 sw=4 et filetype=sh 187s --- PASS: TestAppCompletion (0.00s) 187s === CONT TestAppUsageError 187s --- PASS: TestAppUsageError (0.00s) 187s === CONT TestAppNoUsageError 187s # bash completion V2 for adsysd -*- shell-script -*- 187s 187s __adsysd_debug() 187s { 187s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 187s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 187s fi 187s } 187s 187s # Macs have bash3 for which the bash-completion package doesn't include 187s # _init_completion. This is a minimal version of that function. 187s __adsysd_init_completion() 187s { 187s COMPREPLY=() 187s _get_comp_words_by_ref "$@" cur prev words cword 187s } 187s 187s # This function calls the adsysd program to obtain the completion 187s # results and the directive. It fills the 'out' and 'directive' vars. 187s __adsysd_get_completion_results() { 187s local requestComp lastParam lastChar args 187s 187s # Prepare the command to request completions for the program. 187s # Calling ${words[0]} instead of directly adsysd allows handling aliases 187s args=("${words[@]:1}") 187s requestComp="${words[0]} __complete ${args[*]}" 187s 187s lastParam=${words[$((${#words[@]}-1))]} 187s lastChar=${lastParam:$((${#lastParam}-1)):1} 187s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 187s 187s if [[ -z ${cur} && ${lastChar} != = ]]; then 187s # If the last parameter is complete (there is a space following it) 187s # We add an extra empty parameter so we can indicate this to the go method. 187s __adsysd_debug "Adding extra empty parameter" 187s requestComp="${requestComp} ''" 187s fi 187s 187s # When completing a flag with an = (e.g., adsysd -n=) 187s # bash focuses on the part after the =, so we need to remove 187s # the flag part from $cur 187s if [[ ${cur} == -*=* ]]; then 187s cur="${cur#*=}" 187s fi 187s 187s __adsysd_debug "Calling ${requestComp}" 187s # Use eval to handle any environment variables and such 187s out=$(eval "${requestComp}" 2>/dev/null) 187s 187s # Extract the directive integer at the very end of the output following a colon (:) 187s directive=${out##*:} 187s # Remove the directive 187s out=${out%:*} 187s if [[ ${directive} == "${out}" ]]; then 187s # There is not directive specified 187s directive=0 187s fi 187s __adsysd_debug "The completion directive is: ${directive}" 187s __adsysd_debug "The completions are: ${out}" 187s } 187s 187s __adsysd_process_completion_results() { 187s local shellCompDirectiveError=1 187s local shellCompDirectiveNoSpace=2 187s local shellCompDirectiveNoFileComp=4 187s local shellCompDirectiveFilterFileExt=8 187s local shellCompDirectiveFilterDirs=16 187s local shellCompDirectiveKeepOrder=32 187s 187s if (((directive & shellCompDirectiveError) != 0)); then 187s # Error code. No completion. 187s __adsysd_debug "Received error from custom completion go code" 187s return 187s else 187s if (((directive & shellCompDirectiveNoSpace) != 0)); then 187s if [[ $(type -t compopt) == builtin ]]; then 187s __adsysd_debug "Activating no space" 187s compopt -o nospace 187s else 187s __adsysd_debug "No space directive not supported in this version of bash" 187s fi 187s fi 187s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 187s if [[ $(type -t compopt) == builtin ]]; then 187s # no sort isn't supported for bash less than < 4.4 187s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 187s __adsysd_debug "No sort directive not supported in this version of bash" 187s else 187s __adsysd_debug "Activating keep order" 187s compopt -o nosort 187s fi 187s else 187s __adsysd_debug "No sort directive not supported in this version of bash" 187s fi 187s fi 187s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 187s if [[ $(type -t compopt) == builtin ]]; then 187s __adsysd_debug "Activating no file completion" 187s compopt +o default 187s else 187s __adsysd_debug "No file completion directive not supported in this version of bash" 187s fi 187s fi 187s fi 187s 187s # Separate activeHelp from normal completions 187s local completions=() 187s local activeHelp=() 187s __adsysd_extract_activeHelp 187s 187s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 187s # File extension filtering 187s local fullFilter filter filteringCmd 187s 187s # Do not use quotes around the $completions variable or else newline 187s # characters will be kept. 187s for filter in ${completions[*]}; do 187s fullFilter+="$filter|" 187s done 187s 187s filteringCmd="_filedir $fullFilter" 187s __adsysd_debug "File filtering command: $filteringCmd" 187s $filteringCmd 187s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 187s # File completion for directories only 187s 187s local subdir 187s subdir=${completions[0]} 187s if [[ -n $subdir ]]; then 187s __adsysd_debug "Listing directories in $subdir" 187s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 187s else 187s __adsysd_debug "Listing directories in ." 187s _filedir -d 187s fi 187s else 187s __adsysd_handle_completion_types 187s fi 187s 187s __adsysd_handle_special_char "$cur" : 187s __adsysd_handle_special_char "$cur" = 187s 187s # Print the activeHelp statements before we finish 187s if ((${#activeHelp[*]} != 0)); then 187s printf "\n"; 187s printf "%s\n" "${activeHelp[@]}" 187s printf "\n" 187s 187s # The prompt format is only available from bash 4.4. 187s # We test if it is available before using it. 187s if (x=${PS1@P}) 2> /dev/null; then 187s printf "%s" "${PS1@P}${COMP_LINE[@]}" 187s else 187s # Can't print the prompt. Just print the 187s # text the user had typed, it is workable enough. 187s printf "%s" "${COMP_LINE[@]}" 187s fi 187s fi 187s } 187s 187s # Separate activeHelp lines from real completions. 187s # Fills the $activeHelp and $completions arrays. 187s __adsysd_extract_activeHelp() { 187s local activeHelpMarker="_activeHelp_ " 187s local endIndex=${#activeHelpMarker} 187s 187s while IFS='' read -r comp; do 187s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 187s comp=${comp:endIndex} 187s __adsysd_debug "ActiveHelp found: $comp" 187s if [[ -n $comp ]]; then 187s activeHelp+=("$comp") 187s fi 187s else 187s # Not an activeHelp line but a normal completion 187s completions+=("$comp") 187s fi 187s done <<<"${out}" 187s } 187s 187s __adsysd_handle_completion_types() { 187s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 187s 187s case $COMP_TYPE in 187s 37|42) 187s # Type: menu-complete/menu-complete-backward and insert-completions 187s # If the user requested inserting one completion at a time, or all 187s # completions at once on the command-line we must remove the descriptions. 187s # https://github.com/spf13/cobra/issues/1508 187s local tab=$'\t' comp 187s while IFS='' read -r comp; do 187s [[ -z $comp ]] && continue 187s # Strip any description 187s comp=${comp%%$tab*} 187s # Only consider the completions that match 187s if [[ $comp == "$cur"* ]]; then 187s COMPREPLY+=("$comp") 187s fi 187s done < <(printf "%s\n" "${completions[@]}") 187s ;; 187s 187s *) 187s # Type: complete (normal completion) 187s __adsysd_handle_standard_completion_case 187s ;; 187s esac 187s } 187s 187s __adsysd_handle_standard_completion_case() { 187s local tab=$'\t' comp 187s 187s # Short circuit to optimize if we don't have descriptions 187s if [[ "${completions[*]}" != *$tab* ]]; then 187s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 187s return 0 187s fi 187s 187s local longest=0 187s local compline 187s # Look for the longest completion so that we can format things nicely 187s while IFS='' read -r compline; do 187s [[ -z $compline ]] && continue 187s # Strip any description before checking the length 187s comp=${compline%%$tab*} 187s # Only consider the completions that match 187s [[ $comp == "$cur"* ]] || continue 187s COMPREPLY+=("$compline") 187s if ((${#comp}>longest)); then 187s longest=${#comp} 187s fi 187s done < <(printf "%s\n" "${completions[@]}") 187s 187s # If there is a single completion left, remove the description text 187s if ((${#COMPREPLY[*]} == 1)); then 187s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 187s comp="${COMPREPLY[0]%%$tab*}" 187s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 187s COMPREPLY[0]=$comp 187s else # Format the descriptions 187s __adsysd_format_comp_descriptions $longest 187s fi 187s } 187s 187s __adsysd_handle_special_char() 187s { 187s local comp="$1" 187s local char=$2 187s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 187s local word=${comp%"${comp##*${char}}"} 187s local idx=${#COMPREPLY[*]} 187s while ((--idx >= 0)); do 187s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 187s done 187s fi 187s } 187s 187s __adsysd_format_comp_descriptions() 187s { 187s local tab=$'\t' 187s local comp desc maxdesclength 187s local longest=$1 187s 187s local i ci 187s for ci in ${!COMPREPLY[*]}; do 187s comp=${COMPREPLY[ci]} 187s # Properly format the description string which follows a tab character if there is one 187s if [[ "$comp" == *$tab* ]]; then 187s __adsysd_debug "Original comp: $comp" 187s desc=${comp#*$tab} 187s comp=${comp%%$tab*} 187s 187s # $COLUMNS stores the current shell width. 187s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 187s maxdesclength=$(( COLUMNS - longest - 4 )) 187s 187s # Make sure we can fit a description of at least 8 characters 187s # if we are to align the descriptions. 187s if ((maxdesclength > 8)); then 187s # Add the proper number of spaces to align the descriptions 187s for ((i = ${#comp} ; i < longest ; i++)); do 187s comp+=" " 187s done 187s else 187s # Don't pad the descriptions so we can fit more text after the completion 187s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 187s fi 187s 187s # If there is enough space for any description text, 187s # truncate the descriptions that are too long for the shell width 187s if ((maxdesclength > 0)); then 187s if ((${#desc} > maxdesclength)); then 187s desc=${desc:0:$(( maxdesclength - 1 ))} 187s desc+="…" 187s fi 187s comp+=" ($desc)" 187s fi 187s COMPREPLY[ci]=$comp 187s __adsysd_debug "Final comp: $comp" 187s fi 187s done 187s } 187s 187s __start_adsysd() 187s { 187s local cur prev words cword split 187s 187s COMPREPLY=() 187s 187s # Call _init_completion from the bash-completion package 187s # to prepare the arguments properly 187s if declare -F _init_completion >/dev/null 2>&1; then 187s _init_completion -n =: || return 187s else 187s __adsysd_init_completion -n =: || return 187s fi 187s 187s __adsysd_debug 187s __adsysd_debug "========= starting completion logic ==========" 187s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 187s 187s # The user could have moved the cursor backwards on the command-line. 187s # We need to trigger completion from the $cword location, so we need 187s # to truncate the command-line ($words) up to the $cword location. 187s words=("${words[@]:0:$cword+1}") 187s __adsysd_debug "Truncated words[*]: ${words[*]}," 187s 187s local out directive 187s __adsysd_get_completion_results 187s __adsysd_process_completion_results 187s } 187s 187s if [[ $(type -t compopt) = "builtin" ]]; then 187s complete -o default -F __start_adsysd adsysd 187s else 187s complete -o default -o nospace -F __start_adsysd adsysd 187s fi 187s 187s # ex: ts=4 sw=4 et filetype=sh 187s --- PASS: TestAppNoUsageError (0.00s) 187s PASS 187s ok github.com/ubuntu/adsys/cmd/adsysd/daemon 3.395s 187s Integration tests skipped as requested 187s ok github.com/ubuntu/adsys/cmd/adsysd/integration_tests 0.033s 187s Test has to be run as root, skipping... 187s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 0.006s 189s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/01_prepare_base_vm [no test files] 189s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/02_create_vm_template [no test files] 189s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/00_build_adsys_deb [no test files] 189s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/01_provision_client [no test files] 189s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/02_provision_ad [no test files] 189s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/03_test_non_pro_managers [no test files] 189s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/04_test_pro_managers [no test files] 189s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/05_test_pam_krb5cc [no test files] 189s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/99_deprovision [no test files] 189s ? github.com/ubuntu/adsys/e2e/internal/az [no test files] 189s ? github.com/ubuntu/adsys/e2e/internal/inventory [no test files] 189s ? github.com/ubuntu/adsys/e2e/internal/remote [no test files] 189s ? github.com/ubuntu/adsys/e2e/scripts [no test files] 189s === RUN TestAddFlags 189s --- PASS: TestAddFlags (0.01s) 189s === RUN TestInventory 189s === RUN TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist 189s time="2024-11-29T20:31:31Z" 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_exist1569902643/001/inventory/inventory.yaml: no such file or directory. Please refer to the previous script in the series" 189s === RUN TestInventory/Error_if_inventory_state_does_not_match_expected_state 189s time="2024-11-29T20:31:31Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 189s === RUN TestInventory/Error_if_inventory_state_does_not_match_any_expected_state 189s time="2024-11-29T20:31:31Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 189s === RUN TestInventory/From_null_state_doesn't_require_existing_data 189s === RUN TestInventory/From_existing_state_requires_existing_data 189s === RUN TestInventory/To_null_state_doesn't_write_data 189s === RUN TestInventory/Multiple_from_states_requires_at_least_one 189s --- PASS: TestInventory (0.00s) 189s --- PASS: TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist (0.00s) 189s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_expected_state (0.00s) 189s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_any_expected_state (0.00s) 189s --- PASS: TestInventory/From_null_state_doesn't_require_existing_data (0.00s) 189s --- PASS: TestInventory/From_existing_state_requires_existing_data (0.00s) 189s --- PASS: TestInventory/To_null_state_doesn't_write_data (0.00s) 189s --- PASS: TestInventory/Multiple_from_states_requires_at_least_one (0.00s) 189s === RUN TestExecute 189s === RUN TestExecute/Action_and_validation_succeed 189s === RUN TestExecute/Error_when_action_fails 189s time="2024-11-29T20:31:31Z" level=error msg="requested error" 189s === RUN TestExecute/Error_when_validation_fails 189s time="2024-11-29T20:31:31Z" level=error msg="requested error" 189s === RUN TestExecute/Error_when_both_action_and_validation_fail 189s time="2024-11-29T20:31:31Z" level=error msg="requested error" 189s === RUN TestExecute/Action_succeeds 189s --- PASS: TestExecute (0.00s) 189s --- PASS: TestExecute/Action_and_validation_succeed (0.00s) 189s --- PASS: TestExecute/Error_when_action_fails (0.00s) 189s --- PASS: TestExecute/Error_when_validation_fails (0.00s) 189s --- PASS: TestExecute/Error_when_both_action_and_validation_fail (0.00s) 189s --- PASS: TestExecute/Action_succeeds (0.00s) 189s PASS 189s ok github.com/ubuntu/adsys/e2e/internal/command 0.015s 191s ? github.com/ubuntu/adsys/internal/ad/admxgen/common [no test files] 191s ? github.com/ubuntu/adsys/internal/ad/backends [no test files] 191s ? github.com/ubuntu/adsys/internal/ad/backends/mock [no test files] 196s ? github.com/ubuntu/adsys/internal/adsysservice/actions [no test files] 197s === RUN TestFetch 197s === PAUSE TestFetch 197s === RUN TestFetchWithUnreadableFile 197s === PAUSE TestFetchWithUnreadableFile 197s === RUN TestFetchTweakSysvolCacheDir 197s === PAUSE TestFetchTweakSysvolCacheDir 197s === RUN TestFetchOneGPOWhileParsingItConcurrently 197s === PAUSE TestFetchOneGPOWhileParsingItConcurrently 197s === RUN TestParseGPOConcurrent 197s === PAUSE TestParseGPOConcurrent 197s === RUN TestNew 197s === PAUSE TestNew 197s === RUN TestGetPolicies 197s === PAUSE TestGetPolicies 197s === RUN TestGetPoliciesOffline 197s === PAUSE TestGetPoliciesOffline 197s === RUN TestGetPoliciesWorkflows 197s === PAUSE TestGetPoliciesWorkflows 197s === RUN TestGetPoliciesConcurrently 197s === PAUSE TestGetPoliciesConcurrently 197s === RUN TestListUsers 197s === PAUSE TestListUsers 197s === RUN TestGetInfo 197s === PAUSE TestGetInfo 197s === RUN TestNormalizeTargetName 197s === PAUSE TestNormalizeTargetName 197s === RUN TestMockGPOList 197s --- PASS: TestMockGPOList (0.00s) 197s === RUN TestAdsysGPOList 197s === RUN TestAdsysGPOList/Error_on_user_requested_but_found_machine 197s === RUN TestAdsysGPOList/Error_on_computer_requested_but_found_user 197s === RUN TestAdsysGPOList/Error_on_dangling_ticket_symlink 197s === RUN TestAdsysGPOList/No_GPO_on_OU_-_bytes 197s === RUN TestAdsysGPOList/Error_on_unreachable_ldap_host 197s === RUN TestAdsysGPOList/Error_on_ldap_connection_refused 197s === RUN TestAdsysGPOList/Disabled_GPOs 197s === RUN TestAdsysGPOList/Fail_on_security_descriptor_access_failure 197s === RUN TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings 197s === RUN TestAdsysGPOList/Filter_machine_only_GPOs 197s === RUN TestAdsysGPOList/Forced_GPO_and_blocked_inheritance 197s === RUN TestAdsysGPOList/Security_descriptor_missing_ignores_GPO 197s === RUN TestAdsysGPOList/Error_on_machine_with_no_ldap 197s === RUN TestAdsysGPOList/Error_invalid_GPO_link 197s === RUN TestAdsysGPOList/Error_on_KRB5CCNAME_unset 197s === RUN TestAdsysGPOList/Multiple_GPOs_in_same_OU 197s === RUN TestAdsysGPOList/No_gPOptions_fallbacks_to_0 197s === RUN TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing 197s === RUN TestAdsysGPOList/Return_hierarchy 197s === RUN TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO 197s === RUN TestAdsysGPOList/Error_on_invalid_ticket 197s === RUN TestAdsysGPOList/Machine_GPOs 197s === RUN TestAdsysGPOList/Filter_user_only_GPOs 197s === RUN TestAdsysGPOList/Long_computer_name,_not_truncated 197s === RUN TestAdsysGPOList/Error_on_no_network 197s === RUN TestAdsysGPOList/Error_on_non_existent_account 197s === RUN TestAdsysGPOList/No_GPO_on_OU_-_string 197s === RUN TestAdsysGPOList/Block_inheritance 197s === RUN TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user 197s === RUN TestAdsysGPOList/Return_one_gpo 197s === RUN TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order 197s === RUN TestAdsysGPOList/Computers_truncated_at_15_characters 197s --- PASS: TestAdsysGPOList (0.95s) 197s --- PASS: TestAdsysGPOList/Error_on_user_requested_but_found_machine (0.03s) 197s --- PASS: TestAdsysGPOList/Error_on_computer_requested_but_found_user (0.03s) 197s --- PASS: TestAdsysGPOList/Error_on_dangling_ticket_symlink (0.03s) 197s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_bytes (0.02s) 197s --- PASS: TestAdsysGPOList/Error_on_unreachable_ldap_host (0.02s) 197s --- PASS: TestAdsysGPOList/Error_on_ldap_connection_refused (0.03s) 197s --- PASS: TestAdsysGPOList/Disabled_GPOs (0.03s) 197s --- PASS: TestAdsysGPOList/Fail_on_security_descriptor_access_failure (0.04s) 197s --- PASS: TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings (0.02s) 197s --- PASS: TestAdsysGPOList/Filter_machine_only_GPOs (0.02s) 197s --- PASS: TestAdsysGPOList/Forced_GPO_and_blocked_inheritance (0.02s) 197s --- PASS: TestAdsysGPOList/Security_descriptor_missing_ignores_GPO (0.02s) 197s --- PASS: TestAdsysGPOList/Error_on_machine_with_no_ldap (0.03s) 197s --- PASS: TestAdsysGPOList/Error_invalid_GPO_link (0.04s) 197s --- PASS: TestAdsysGPOList/Error_on_KRB5CCNAME_unset (0.03s) 197s --- PASS: TestAdsysGPOList/Multiple_GPOs_in_same_OU (0.03s) 197s --- PASS: TestAdsysGPOList/No_gPOptions_fallbacks_to_0 (0.02s) 197s --- PASS: TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing (0.02s) 197s --- PASS: TestAdsysGPOList/Return_hierarchy (0.02s) 197s --- PASS: TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO (0.04s) 197s --- PASS: TestAdsysGPOList/Error_on_invalid_ticket (0.03s) 197s --- PASS: TestAdsysGPOList/Machine_GPOs (0.04s) 197s --- PASS: TestAdsysGPOList/Filter_user_only_GPOs (0.02s) 197s --- PASS: TestAdsysGPOList/Long_computer_name,_not_truncated (0.02s) 197s --- PASS: TestAdsysGPOList/Error_on_no_network (0.03s) 197s --- PASS: TestAdsysGPOList/Error_on_non_existent_account (0.03s) 197s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_string (0.03s) 197s --- PASS: TestAdsysGPOList/Block_inheritance (0.04s) 197s --- PASS: TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user (0.04s) 197s --- PASS: TestAdsysGPOList/Return_one_gpo (0.04s) 197s --- PASS: TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order (0.03s) 197s --- PASS: TestAdsysGPOList/Computers_truncated_at_15_characters (0.04s) 197s === RUN TestGetPolicyDefinitions 197s === PAUSE TestGetPolicyDefinitions 197s === RUN TestTicketPath 197s krb5_test.go:23: Running subprocess with [/tmp/go-build3265892276/b548/ad.test -test.testlogfile=/tmp/go-build3265892276/b548/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestTicketPath] 197s === RUN TestTicketPath 197s === RUN TestTicketPath/Error_when_initializing_context 197s === RUN TestTicketPath/Error_on_empty_ticket_path 197s === RUN TestTicketPath/Error_on_NULL_ticket_path 197s === RUN TestTicketPath/Error_on_non-FILE_ccache 197s === RUN TestTicketPath/Lookup_is_successful 197s === RUN TestTicketPath/Allow_ccache_without_FILE_identifier 197s === RUN TestTicketPath/Error_when_ccache_not_present_on_disk 197s === RUN TestTicketPath/Error_when_ccache_is_a_directory 197s --- PASS: TestTicketPath (0.00s) 197s --- PASS: TestTicketPath/Error_when_initializing_context (0.00s) 197s --- PASS: TestTicketPath/Error_on_empty_ticket_path (0.00s) 197s --- PASS: TestTicketPath/Error_on_NULL_ticket_path (0.00s) 197s --- PASS: TestTicketPath/Error_on_non-FILE_ccache (0.00s) 197s --- PASS: TestTicketPath/Lookup_is_successful (0.00s) 197s --- PASS: TestTicketPath/Allow_ccache_without_FILE_identifier (0.00s) 197s --- PASS: TestTicketPath/Error_when_ccache_not_present_on_disk (0.00s) 197s --- PASS: TestTicketPath/Error_when_ccache_is_a_directory (0.00s) 197s PASS 197s --- PASS: TestTicketPath (0.13s) 197s === CONT TestFetch 197s === RUN TestFetch/keep_existing_gpos_intact 197s === PAUSE TestFetch/keep_existing_gpos_intact 197s === RUN TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 197s === PAUSE TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 197s === RUN TestFetch/Error_missing_remote_GPT.INI 197s === PAUSE TestFetch/Error_missing_remote_GPT.INI 197s === RUN TestFetch/Error_keeps_downloading_other_GPOS 197s === PAUSE TestFetch/Error_keeps_downloading_other_GPOS 197s === RUN TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 197s === PAUSE TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 197s === RUN TestFetch/one_new_gpo 197s === PAUSE TestFetch/one_new_gpo 197s === RUN TestFetch/two_gpos,_one_more_recent,_one_up_to_date 197s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_up_to_date 197s === RUN TestFetch/Error_unexistant_remote_gpo 197s === PAUSE TestFetch/Error_unexistant_remote_gpo 197s === RUN TestFetch/assets_is_a_file_is_not_downloaded 197s === PAUSE TestFetch/assets_is_a_file_is_not_downloaded 197s === RUN TestFetch/two_new_gpos 197s === PAUSE TestFetch/two_new_gpos 197s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_new 197s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_new 197s === RUN TestFetch/assets_are_updated_to_latest_version 197s === PAUSE TestFetch/assets_are_updated_to_latest_version 197s === RUN TestFetch/concurrent_same_gpos 197s === PAUSE TestFetch/concurrent_same_gpos 197s === RUN TestFetch/gpo_is_refreshed 197s === PAUSE TestFetch/gpo_is_refreshed 197s === RUN TestFetch/assets_are_not_updated_if_version_matches 197s === PAUSE TestFetch/assets_are_not_updated_if_version_matches 197s === RUN TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 197s === PAUSE TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 197s === RUN TestFetch/gpos_and_assets 197s === PAUSE TestFetch/gpos_and_assets 197s === RUN TestFetch/remote_version_entry_missing_treated_as_0 197s === PAUSE TestFetch/remote_version_entry_missing_treated_as_0 197s === RUN TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 197s === PAUSE TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 197s === RUN TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 197s === PAUSE TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 197s === RUN TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 197s === PAUSE TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 197s === RUN TestFetch/gpo_already_up_to_date 197s === PAUSE TestFetch/gpo_already_up_to_date 197s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 197s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 197s === RUN TestFetch/two_gpos,_one_should_be_refreshed,_one_new 197s === PAUSE TestFetch/two_gpos,_one_should_be_refreshed,_one_new 197s === RUN TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 197s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 197s === RUN TestFetch/two_gpos,_one_more_recent,_one_new 197s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_new 197s === RUN TestFetch/assets_only_are_downloaded 197s === PAUSE TestFetch/assets_only_are_downloaded 197s === RUN TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 197s === PAUSE TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 197s === RUN TestFetch/concurrent_different_gpos 197s === PAUSE TestFetch/concurrent_different_gpos 197s === RUN TestFetch/Error_remote_version_NaN 197s === PAUSE TestFetch/Error_remote_version_NaN 197s === RUN TestFetch/local_gpo_is_more_recent_than_AD_one 197s === PAUSE TestFetch/local_gpo_is_more_recent_than_AD_one 197s === RUN TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 197s === PAUSE TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 197s === CONT TestFetch/keep_existing_gpos_intact 197s === CONT TestFetch/two_gpos,_one_should_be_refreshed,_one_new 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="GPO \"gpo1-name\" is already up to date" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo2-name\"" 197s === CONT TestGetPolicyDefinitions 197s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 197s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 197s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo1-name\"" 197s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 197s === RUN TestGetPolicyDefinitions/Load_ADMX_and_ADML 197s === PAUSE TestGetPolicyDefinitions/Load_ADMX_and_ADML 197s === CONT TestNormalizeTargetName 197s === RUN TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 197s === PAUSE TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 197s === RUN TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 197s === PAUSE TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 197s === RUN TestNormalizeTargetName/User_name_fqdn_matching_computer 197s === PAUSE TestNormalizeTargetName/User_name_fqdn_matching_computer 197s === RUN TestNormalizeTargetName/One_valid_user_with_mixed_case 197s === PAUSE TestNormalizeTargetName/One_valid_user_with_mixed_case 197s === RUN TestNormalizeTargetName/One_valid_user_with_domain\user 197s === PAUSE TestNormalizeTargetName/One_valid_user_with_domain\user 197s === RUN TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 197s === PAUSE TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 197s === RUN TestNormalizeTargetName/Computer_with_@_is_left_as_such 197s === PAUSE TestNormalizeTargetName/Computer_with_@_is_left_as_such 197s === RUN TestNormalizeTargetName/Computer_name_without_objectClass 197s === PAUSE TestNormalizeTargetName/Computer_name_without_objectClass 197s === RUN TestNormalizeTargetName/One_valid_user 197s === PAUSE TestNormalizeTargetName/One_valid_user 197s === RUN TestNormalizeTargetName/One_user_without_explicit_domain_suffix 197s === PAUSE TestNormalizeTargetName/One_user_without_explicit_domain_suffix 197s === RUN TestNormalizeTargetName/Computer_is_left_as_such 197s === PAUSE TestNormalizeTargetName/Computer_is_left_as_such 197s === RUN TestNormalizeTargetName/Error_on_multiple_\_in_name 197s === PAUSE TestNormalizeTargetName/Error_on_multiple_\_in_name 197s === CONT TestGetInfo 197s === RUN TestGetInfo/Info_reported_from_backend,_online 197s === PAUSE TestGetInfo/Info_reported_from_backend,_online 197s === RUN TestGetInfo/Info_reported_from_backend,_offline 197s === PAUSE TestGetInfo/Info_reported_from_backend,_offline 197s === RUN TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 197s === PAUSE TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 197s === RUN TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 197s === PAUSE TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 197s === CONT TestListUsers 197s === RUN TestListUsers/Two_users,_from_policy_cache 197s === PAUSE TestListUsers/Two_users,_from_policy_cache 197s === RUN TestListUsers/Two_users 197s === PAUSE TestListUsers/Two_users 197s === RUN TestListUsers/Machine_Only 197s === PAUSE TestListUsers/Machine_Only 197s === RUN TestListUsers/One_user 197s === PAUSE TestListUsers/One_user 197s === RUN TestListUsers/Two_users,_dangling_symlink_for_one 197s === PAUSE TestListUsers/Two_users,_dangling_symlink_for_one 197s === RUN TestListUsers/None 197s === PAUSE TestListUsers/None 197s === RUN TestListUsers/None,_from_policy_cache 197s === PAUSE TestListUsers/None,_from_policy_cache 197s === RUN TestListUsers/Machine_Only,_from_policy_cache 197s === PAUSE TestListUsers/Machine_Only,_from_policy_cache 197s === RUN TestListUsers/Error_on_Krb5_directory_not_existing 197s === PAUSE TestListUsers/Error_on_Krb5_directory_not_existing 197s === RUN TestListUsers/Error_on_policy_cache_directory_not_existing 197s === PAUSE TestListUsers/Error_on_policy_cache_directory_not_existing 197s === RUN TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 197s === PAUSE TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 197s === RUN TestListUsers/Machines_are_ignored 197s === PAUSE TestListUsers/Machines_are_ignored 197s === RUN TestListUsers/One_user,_from_policy_cache 197s === PAUSE TestListUsers/One_user,_from_policy_cache 197s === RUN TestListUsers/Machines_are_ignored,_from_policy_cache 197s === PAUSE TestListUsers/Machines_are_ignored,_from_policy_cache 197s === CONT TestGetPoliciesConcurrently 197s === RUN TestGetPoliciesConcurrently/Same_user,_same_GPO 197s === PAUSE TestGetPoliciesConcurrently/Same_user,_same_GPO 197s === RUN TestGetPoliciesConcurrently/Different_users,_same_GPO 197s === PAUSE TestGetPoliciesConcurrently/Different_users,_same_GPO 197s === RUN TestGetPoliciesConcurrently/Different_users,_different_GPO 197s === PAUSE TestGetPoliciesConcurrently/Different_users,_different_GPO 197s === RUN TestGetPoliciesConcurrently/One_machine,_one_user 197s === PAUSE TestGetPoliciesConcurrently/One_machine,_one_user 197s === RUN TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 197s === PAUSE TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 197s === CONT TestGetPoliciesWorkflows 197s === RUN TestGetPoliciesWorkflows/Second_call_after_service_restarted 197s === PAUSE TestGetPoliciesWorkflows/Second_call_after_service_restarted 197s === RUN TestGetPoliciesWorkflows/Second_call_after_a_relogin 197s === PAUSE TestGetPoliciesWorkflows/Second_call_after_a_relogin 197s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 197s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 197s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 197s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 197s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 197s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 197s === RUN TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 197s === PAUSE TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 197s === RUN TestGetPoliciesWorkflows/Second_call_with_different_user 197s === PAUSE TestGetPoliciesWorkflows/Second_call_with_different_user 197s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 197s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 197s === RUN TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 197s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 197s === CONT TestGetPoliciesOffline 197s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 197s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 197s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 197s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 197s === RUN TestGetPoliciesOffline/Error_offline_with_no_cache 197s === PAUSE TestGetPoliciesOffline/Error_offline_with_no_cache 197s === RUN TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 197s === PAUSE TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 197s === RUN TestGetPoliciesOffline/Offline,_with_assets 197s === PAUSE TestGetPoliciesOffline/Offline,_with_assets 197s === RUN TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 197s === PAUSE TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 197s === CONT TestGetPolicies 197s === RUN TestGetPolicies/Standard_policy,_computer_object 197s === PAUSE TestGetPolicies/Standard_policy,_computer_object 197s === RUN TestGetPolicies/No_override_for_this_release,_takes_default_value 197s === PAUSE TestGetPolicies/No_override_for_this_release,_takes_default_value 197s === RUN TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 197s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 197s === RUN TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 197s === PAUSE TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 197s === RUN TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 197s === PAUSE TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 197s === RUN TestGetPolicies/Standard_policy,_user_object 197s === PAUSE TestGetPolicies/Standard_policy,_user_object 197s === RUN TestGetPolicies/Disabled_override 197s === PAUSE TestGetPolicies/Disabled_override 197s === RUN TestGetPolicies/Same_key_in_different_domains_are_kept_separated 197s === PAUSE TestGetPolicies/Same_key_in_different_domains_are_kept_separated 197s === RUN TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 197s === PAUSE TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 197s === RUN TestGetPolicies/Error_on_backend_IsOnline_call_failed 197s === PAUSE TestGetPolicies/Error_on_backend_IsOnline_call_failed 197s === RUN TestGetPolicies/Corrupted_policy_file 197s === PAUSE TestGetPolicies/Corrupted_policy_file 197s === RUN TestGetPolicies/User_only_policy,_user_object 197s === PAUSE TestGetPolicies/User_only_policy,_user_object 197s === RUN TestGetPolicies/Two_policies,_no_overrides,_reversed 197s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_reversed 197s === RUN TestGetPolicies/Disabled_value_is_overridden 197s === PAUSE TestGetPolicies/Disabled_value_is_overridden 197s === RUN TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 197s === PAUSE TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 197s === RUN TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 197s === PAUSE TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 197s === RUN TestGetPolicies/Symlinks_can’t_be_created 197s === PAUSE TestGetPolicies/Symlinks_can’t_be_created 197s === RUN TestGetPolicies/Enabled_override 197s === PAUSE TestGetPolicies/Enabled_override 197s === RUN TestGetPolicies/Two_policies,_with_overrides 197s === PAUSE TestGetPolicies/Two_policies,_with_overrides 197s === RUN TestGetPolicies/Filter_non_Ubuntu_keys 197s === PAUSE TestGetPolicies/Filter_non_Ubuntu_keys 197s === RUN TestGetPolicies/Policy_machine_directory_is_uppercase 197s === PAUSE TestGetPolicies/Policy_machine_directory_is_uppercase 197s === RUN TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 197s === PAUSE TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 197s === RUN TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 197s === PAUSE TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 197s === RUN TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 197s === PAUSE TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 197s === RUN TestGetPolicies/Two_policies,_no_overrides 197s === PAUSE TestGetPolicies/Two_policies,_no_overrides 197s === RUN TestGetPolicies/More_policies,_with_multiple_overrides 197s === PAUSE TestGetPolicies/More_policies,_with_multiple_overrides 197s === RUN TestGetPolicies/Error_on_user_without_@_in_name 197s === PAUSE TestGetPolicies/Error_on_user_without_@_in_name 197s === RUN TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 197s === PAUSE TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 197s === RUN TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 197s === PAUSE TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 197s === RUN TestGetPolicies/Multiple_domains,_same_GPO 197s === PAUSE TestGetPolicies/Multiple_domains,_same_GPO 197s === RUN TestGetPolicies/Two_policies,_with_reversed_overrides 197s === PAUSE TestGetPolicies/Two_policies,_with_reversed_overrides 197s === RUN TestGetPolicies/Unexisting_CC_original_file_for_user 197s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_user 197s === RUN TestGetPolicies/Policy_can’t_be_downloaded 197s === PAUSE TestGetPolicies/Policy_can’t_be_downloaded 197s === RUN TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 197s === PAUSE TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 197s === RUN TestGetPolicies/Disabled_value_overrides_non_disabled_one 197s === PAUSE TestGetPolicies/Disabled_value_overrides_non_disabled_one 197s === RUN TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 197s === PAUSE TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 197s === RUN TestGetPolicies/Policy_user_directory_is_uppercase 197s === PAUSE TestGetPolicies/Policy_user_directory_is_uppercase 197s === RUN TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 197s === PAUSE TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 197s === RUN TestGetPolicies/Standard_policy_with_assets,_downloads_assets 197s === PAUSE TestGetPolicies/Standard_policy_with_assets,_downloads_assets 197s === RUN TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 197s === PAUSE TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 197s === RUN TestGetPolicies/Machine_doesn’t_match 197s === PAUSE TestGetPolicies/Machine_doesn’t_match 197s === RUN TestGetPolicies/Unexisting_CC_original_file_for_machine 197s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_machine 197s === RUN TestGetPolicies/Unsupported_type_for_unfiltered_entry 197s === PAUSE TestGetPolicies/Unsupported_type_for_unfiltered_entry 197s === RUN TestGetPolicies/Empty_value_for_unfiltered_entry 197s === PAUSE TestGetPolicies/Empty_value_for_unfiltered_entry 197s === RUN TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 197s === PAUSE TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 197s === CONT TestNew 197s === RUN TestNew/create_KRB5_and_Sysvol_cache_directory 197s === PAUSE TestNew/create_KRB5_and_Sysvol_cache_directory 197s === RUN TestNew/failed_to_create_KRB5_cache_directory 197s === PAUSE TestNew/failed_to_create_KRB5_cache_directory 197s === RUN TestNew/failed_to_create_Sysvol_cache_directory 197s === PAUSE TestNew/failed_to_create_Sysvol_cache_directory 197s === RUN TestNew/failed_to_create_Policies_cache_directory 197s === PAUSE TestNew/failed_to_create_Policies_cache_directory 197s === RUN TestNew/no_active_server_in_backend_does_not_fail_ad_creation 197s === PAUSE TestNew/no_active_server_in_backend_does_not_fail_ad_creation 197s === RUN TestNew/error_on_backend_ServerFQDN_random_failure 197s === PAUSE TestNew/error_on_backend_ServerFQDN_random_failure 197s === CONT TestParseGPOConcurrent 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s === CONT TestFetchOneGPOWhileParsingItConcurrently 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"standard-name\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"standard-name\"" 197s --- PASS: TestFetchOneGPOWhileParsingItConcurrently (0.23s) 197s === CONT TestFetchTweakSysvolCacheDir 197s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 197s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 197s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 197s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 197s === CONT TestFetchWithUnreadableFile 197s === RUN TestFetchWithUnreadableFile/existing_gpo_is_preserved 197s === PAUSE TestFetchWithUnreadableFile/existing_gpo_is_preserved 197s === RUN TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 197s === PAUSE TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 197s === CONT TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 197s time="2024-11-29T20:31:34Z" level=info msg="No version key found in GPT.INI for gpo1-name, assuming 0" 197s --- PASS: TestParseGPOConcurrent (0.24s) 197s === CONT TestFetch/local_gpo_is_more_recent_than_AD_one 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo1-name\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="GPO \"gpo2-name\" is already up to date" 197s === CONT TestFetch/Error_remote_version_NaN 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s === CONT TestFetch/concurrent_different_gpos 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo2-name\"" 197s === CONT TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo1-name\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo1-name\"" 197s === CONT TestFetch/assets_only_are_downloaded 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s === CONT TestFetch/two_gpos,_one_more_recent,_one_new 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"assets\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo1-name\"" 197s time="2024-11-29T20:31:34Z" level=info msg="GPO \"gpo2-name\" is already up to date" 197s === CONT TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="GPO \"gpo2-name\" is already up to date" 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo1-name\"" 197s === CONT TestFetch/concurrent_same_gpos 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo1-name\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="Downloading \"gpo1-name\"" 197s time="2024-11-29T20:31:34Z" level=info msg="GPO \"gpo2-name\" is already up to date" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:34Z" level=info msg="GPO \"gpo1-name\" is already up to date" 197s === CONT TestFetch/gpo_already_up_to_date 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s === CONT TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"gpo1-name\" is already up to date" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s === CONT TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 197s === CONT TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s === CONT TestFetch/remote_version_entry_missing_treated_as_0 197s === CONT TestFetch/gpos_and_assets 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="No version key found in GPT.INI for gpt_ini_version_missing-name, assuming 0" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"gpt_ini_version_missing-name\" is already up to date" 197s === CONT TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"gpo1-name\"" 197s === CONT TestFetch/assets_are_not_updated_if_version_matches 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s === CONT TestFetch/gpo_is_refreshed 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"gpo1-name\"" 197s === CONT TestFetch/two_gpos,_one_more_recent,_one_up_to_date 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"gpo1-name\" is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"gpo2-name\" is already up to date" 197s === CONT TestFetch/assets_are_updated_to_latest_version 197s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_new 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"gpo1-name\" is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"gpo2-name\"" 197s === CONT TestFetch/two_new_gpos 197s === CONT TestFetch/assets_is_a_file_is_not_downloaded 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"gpo1-name\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"gpo2-name\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s === CONT TestFetch/Error_unexistant_remote_gpo 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s === CONT TestFetch/Error_keeps_downloading_other_GPOS 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"gpo2-name\"" 197s === CONT TestFetch/one_new_gpo 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"gpo1-name\"" 197s === CONT TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s === CONT TestFetch/Error_missing_remote_GPT.INI 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s === CONT TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 197s time="2024-11-29T20:31:35Z" level=warning msg="Invalid local GPT.INI for gpo1-name: invalid remote GPT.INI: strconv.ParseInt: parsing \"NaN\": invalid syntax\nDownloading it again…" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 197s === CONT TestGetPolicyDefinitions/Load_ADMX_and_ADML 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"gpo1-name\"" 197s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 197s === CONT TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 197s --- PASS: TestGetPolicyDefinitions (0.00s) 197s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format (0.00s) 197s --- PASS: TestGetPolicyDefinitions/Load_ADMX_and_ADML (0.00s) 197s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro (0.00s) 197s === CONT TestNormalizeTargetName/Computer_with_@_is_left_as_such 197s === CONT TestNormalizeTargetName/Error_on_multiple_\_in_name 197s === CONT TestNormalizeTargetName/Computer_is_left_as_such 197s === CONT TestNormalizeTargetName/One_user_without_explicit_domain_suffix 197s --- PASS: TestFetch (0.00s) 197s --- PASS: TestFetch/keep_existing_gpos_intact (0.03s) 197s --- PASS: TestFetch/two_gpos,_one_should_be_refreshed,_one_new (0.04s) 197s --- PASS: TestFetch/local_gpo_is_more_recent_than_AD_one (0.02s) 197s --- PASS: TestFetch/Error_remote_version_NaN (0.01s) 197s --- PASS: TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI (0.04s) 197s --- PASS: TestFetch/concurrent_different_gpos (0.04s) 197s --- PASS: TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI (0.04s) 197s --- PASS: TestFetch/assets_only_are_downloaded (0.03s) 197s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_new (0.04s) 197s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed (0.02s) 197s --- PASS: TestFetch/concurrent_same_gpos (0.04s) 197s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed (0.04s) 197s --- PASS: TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL (0.02s) 197s --- PASS: TestFetch/gpo_already_up_to_date (0.03s) 197s --- PASS: TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing (0.02s) 197s --- PASS: TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing (0.02s) 197s --- PASS: TestFetch/remote_version_entry_missing_treated_as_0 (0.02s) 197s --- PASS: TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided (0.01s) 197s --- PASS: TestFetch/assets_are_not_updated_if_version_matches (0.01s) 197s --- PASS: TestFetch/gpos_and_assets (0.05s) 197s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_up_to_date (0.01s) 197s --- PASS: TestFetch/gpo_is_refreshed (0.02s) 197s --- PASS: TestFetch/assets_are_updated_to_latest_version (0.05s) 197s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_new (0.05s) 197s --- PASS: TestFetch/assets_is_a_file_is_not_downloaded (0.01s) 197s --- PASS: TestFetch/Error_unexistant_remote_gpo (0.01s) 197s --- PASS: TestFetch/two_new_gpos (0.05s) 197s --- PASS: TestFetch/Error_keeps_downloading_other_GPOS (0.03s) 197s --- PASS: TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only (0.02s) 197s --- PASS: TestFetch/Error_missing_remote_GPT.INI (0.01s) 197s --- PASS: TestFetch/one_new_gpo (0.05s) 197s --- PASS: TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI (0.03s) 197s === CONT TestNormalizeTargetName/One_valid_user 197s === CONT TestNormalizeTargetName/Computer_name_without_objectClass 197s === CONT TestNormalizeTargetName/One_valid_user_with_mixed_case 197s === CONT TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 197s === CONT TestNormalizeTargetName/One_valid_user_with_domain\user 197s === CONT TestNormalizeTargetName/User_name_fqdn_matching_computer 197s === CONT TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 197s === CONT TestGetInfo/Info_reported_from_backend,_online 197s --- PASS: TestNormalizeTargetName (0.00s) 197s --- PASS: TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user (0.00s) 197s --- PASS: TestNormalizeTargetName/Computer_with_@_is_left_as_such (0.00s) 197s --- PASS: TestNormalizeTargetName/Error_on_multiple_\_in_name (0.02s) 197s --- PASS: TestNormalizeTargetName/Computer_is_left_as_such (0.00s) 197s --- PASS: TestNormalizeTargetName/One_user_without_explicit_domain_suffix (0.00s) 197s --- PASS: TestNormalizeTargetName/One_valid_user (0.00s) 197s --- PASS: TestNormalizeTargetName/Computer_name_without_objectClass (0.00s) 197s --- PASS: TestNormalizeTargetName/One_valid_user_with_mixed_case (0.00s) 197s --- PASS: TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such (0.00s) 197s --- PASS: TestNormalizeTargetName/One_valid_user_with_domain\user (0.00s) 197s --- PASS: TestNormalizeTargetName/User_name_fqdn_matching_computer (0.00s) 197s --- PASS: TestNormalizeTargetName/User_name_matching_computer,_setting_as_user (0.00s) 197s === CONT TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 197s === CONT TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 197s time="2024-11-29T20:31:35Z" level=warning msg="IsOnline returned an error" 197s === CONT TestGetInfo/Info_reported_from_backend,_offline 197s === CONT TestListUsers/Two_users,_from_policy_cache 197s --- PASS: TestGetInfo (0.00s) 197s --- PASS: TestGetInfo/Info_reported_from_backend,_online (0.00s) 197s --- PASS: TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail (0.00s) 197s --- PASS: TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail (0.00s) 197s --- PASS: TestGetInfo/Info_reported_from_backend,_offline (0.00s) 197s === CONT TestListUsers/Machine_Only,_from_policy_cache 197s === CONT TestListUsers/Machines_are_ignored,_from_policy_cache 197s === CONT TestListUsers/One_user,_from_policy_cache 197s === CONT TestListUsers/Machines_are_ignored 197s === CONT TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 197s === CONT TestListUsers/Error_on_policy_cache_directory_not_existing 197s === CONT TestListUsers/Error_on_Krb5_directory_not_existing 197s === CONT TestListUsers/Two_users,_dangling_symlink_for_one 197s === CONT TestListUsers/None,_from_policy_cache 197s === CONT TestListUsers/None 197s === CONT TestListUsers/Machine_Only 197s === CONT TestListUsers/One_user 197s === CONT TestListUsers/Two_users 197s === CONT TestGetPoliciesConcurrently/Same_user,_same_GPO 197s --- PASS: TestListUsers (0.00s) 197s --- PASS: TestListUsers/Two_users,_from_policy_cache (0.00s) 197s --- PASS: TestListUsers/Machine_Only,_from_policy_cache (0.00s) 197s --- PASS: TestListUsers/Machines_are_ignored,_from_policy_cache (0.00s) 197s --- PASS: TestListUsers/Machines_are_ignored (0.00s) 197s --- PASS: TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested (0.00s) 197s --- PASS: TestListUsers/Error_on_policy_cache_directory_not_existing (0.00s) 197s --- PASS: TestListUsers/Error_on_Krb5_directory_not_existing (0.00s) 197s --- PASS: TestListUsers/Two_users,_dangling_symlink_for_one (0.00s) 197s --- PASS: TestListUsers/None,_from_policy_cache (0.00s) 197s --- PASS: TestListUsers/None (0.00s) 197s --- PASS: TestListUsers/Machine_Only (0.00s) 197s --- PASS: TestListUsers/One_user (0.00s) 197s --- PASS: TestListUsers/Two_users (0.00s) 197s --- PASS: TestListUsers/One_user,_from_policy_cache (0.01s) 197s === CONT TestGetPoliciesConcurrently/One_machine,_one_user 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"standard-name\" is already up to date" 197s === CONT TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"standard-name\" is already up to date" 197s === CONT TestGetPoliciesConcurrently/Different_users,_different_GPO 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"one-value-name\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"standard-name\" is already up to date" 197s === CONT TestGetPoliciesConcurrently/Different_users,_same_GPO 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s === CONT TestGetPoliciesWorkflows/Second_call_after_service_restarted 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"standard-name\" is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"standard-name\" is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s --- PASS: TestGetPoliciesConcurrently (0.00s) 197s --- PASS: TestGetPoliciesConcurrently/Same_user,_same_GPO (0.13s) 197s --- PASS: TestGetPoliciesConcurrently/One_machine,_one_user (0.12s) 197s --- PASS: TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time (0.11s) 197s --- PASS: TestGetPoliciesConcurrently/Different_users,_different_GPO (0.12s) 197s --- PASS: TestGetPoliciesConcurrently/Different_users,_same_GPO (0.17s) 197s === CONT TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 197s === CONT TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"standard-name\" is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"standard-name\" is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s === CONT TestGetPoliciesWorkflows/Second_call_with_different_user 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:35Z" level=info msg="Downloading \"standard-name\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"standard-name\" is already up to date" 197s time="2024-11-29T20:31:35Z" level=info msg="GPO \"standard-name\" is already up to date" 197s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 197s time="2024-11-29T20:31:35Z" level=info msg="Assets directory is already up to date" 197s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"assets\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:36Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:36Z" level=info msg="GPO \"standard-name\" is already up to date" 197s time="2024-11-29T20:31:36Z" level=info msg="GPO \"standard-name\" is already up to date" 197s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 197s === CONT TestGetPoliciesWorkflows/Second_call_after_a_relogin 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"assets\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:36Z" level=info msg="GPO \"standard-name\" is already up to date" 197s time="2024-11-29T20:31:36Z" level=info msg="GPO \"standard-name\" is already up to date" 197s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 197s time="2024-11-29T20:31:36Z" level=info msg="Assets directory is already up to date" 197s --- PASS: TestGetPoliciesWorkflows (0.00s) 197s --- PASS: TestGetPoliciesWorkflows/Second_call_after_service_restarted (0.16s) 197s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) (0.12s) 197s --- PASS: TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) (0.13s) 197s --- PASS: TestGetPoliciesWorkflows/Second_call_with_different_user (0.13s) 197s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path (0.13s) 197s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_a_restart (0.17s) 197s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted (0.17s) 197s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed (0.16s) 197s --- PASS: TestGetPoliciesWorkflows/Second_call_after_a_relogin (0.16s) 197s === CONT TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 197s === CONT TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 197s time="2024-11-29T20:31:36Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 197s === CONT TestGetPoliciesOffline/Offline,_with_assets 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 197s === CONT TestGetPoliciesOffline/Error_offline_with_no_cache 197s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 197s === CONT TestGetPolicies/Standard_policy,_computer_object 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"assets\"" 197s === CONT TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 197s time="2024-11-29T20:31:36Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 197s --- PASS: TestGetPoliciesOffline (0.00s) 197s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only (0.09s) 197s --- PASS: TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list (0.08s) 197s --- PASS: TestGetPoliciesOffline/Offline,_with_assets (0.11s) 197s --- PASS: TestGetPoliciesOffline/Error_offline_with_no_cache (0.00s) 197s --- PASS: TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache (0.16s) 197s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets (0.12s) 197s === CONT TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"user-only-name\"" 197s === CONT TestGetPolicies/Empty_value_for_unfiltered_entry 197s === CONT TestGetPolicies/Unsupported_type_for_unfiltered_entry 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"empty-value-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"bad-entry-type-name\"" 197s === CONT TestGetPolicies/Unexisting_CC_original_file_for_machine 197s === CONT TestGetPolicies/Machine_doesn’t_match 197s === CONT TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 197s === CONT TestGetPolicies/Standard_policy_with_assets,_downloads_assets 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"assets\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Assets directory is already up to date" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"standard-name\"" 197s === CONT TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 197s === CONT TestGetPolicies/Policy_user_directory_is_uppercase 197s === CONT TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"filtered-with-certificate-autoenrollment-name\"" 197s time="2024-11-29T20:31:36Z" level=info msg="Downloading \"uppercase-class-name\"" 197s === CONT TestGetPolicies/Disabled_value_overrides_non_disabled_one 197s === CONT TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"disabled-value-name\"" 197s === CONT TestGetPolicies/Policy_can’t_be_downloaded 197s === CONT TestGetPolicies/Unexisting_CC_original_file_for_user 197s === CONT TestGetPolicies/Two_policies,_with_reversed_overrides 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s === CONT TestGetPolicies/Multiple_domains,_same_GPO 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"one-value-name\"" 197s === CONT TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"multiple-releases-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"multiple-domains-name\"" 197s === CONT TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 197s === CONT TestGetPolicies/Error_on_user_without_@_in_name 197s === CONT TestGetPolicies/More_policies,_with_multiple_overrides 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"user-only-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"machine-only-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"one-value-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"standard-name\"" 197s === CONT TestGetPolicies/Two_policies,_no_overrides 197s === CONT TestGetPolicies/Two_policies,_no_overrides,_reversed 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"user-only-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"user-only-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"one-value-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"one-value-name\"" 197s === CONT TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 197s === CONT TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 197s === CONT TestGetPolicies/Policy_machine_directory_is_uppercase 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"multiple-releases-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"uppercase-class-name\"" 197s === CONT TestGetPolicies/Filter_non_Ubuntu_keys 197s === CONT TestGetPolicies/Two_policies,_with_overrides 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"one-value-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"filtered-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"standard-name\"" 197s === CONT TestGetPolicies/Enabled_override 197s === CONT TestGetPolicies/Symlinks_can’t_be_created 197s === CONT TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"multiple-releases-one-enabled-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"lowercase-class-name\"" 197s === CONT TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 197s === CONT TestGetPolicies/Disabled_value_is_overridden 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"disabled-value-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"unsupported-with-errors-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"standard-name\"" 197s === CONT TestGetPolicies/Disabled_override 197s === CONT TestGetPolicies/User_only_policy,_user_object 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"user-only-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"multiple-releases-one-disabled-name\"" 197s === CONT TestGetPolicies/Corrupted_policy_file 197s === CONT TestGetPolicies/Error_on_backend_IsOnline_call_failed 197s === CONT TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 197s === CONT TestGetPolicies/Same_key_in_different_domains_are_kept_separated 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"corrupted-policy-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"one-value-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"other-domain-name\"" 197s === CONT TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 197s === CONT TestGetPolicies/Standard_policy,_user_object 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:37Z" level=info msg="Downloading \"lowercase-class-name\"" 197s === CONT TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 197s === CONT TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 197s === CONT TestGetPolicies/No_override_for_this_release,_takes_default_value 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:38Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:38Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 197s time="2024-11-29T20:31:38Z" level=info msg="Downloading \"standard-name\"" 197s time="2024-11-29T20:31:38Z" level=info msg="Downloading \"machine-only-name\"" 197s time="2024-11-29T20:31:38Z" level=info msg="Downloading \"multiple-releases-name\"" 197s === CONT TestNew/create_KRB5_and_Sysvol_cache_directory 197s === CONT TestNew/failed_to_create_Policies_cache_directory 197s === CONT TestNew/error_on_backend_ServerFQDN_random_failure 197s === CONT TestNew/no_active_server_in_backend_does_not_fail_ad_creation 197s --- PASS: TestGetPolicies (0.00s) 197s --- PASS: TestGetPolicies/Standard_policy,_computer_object (0.07s) 197s --- PASS: TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty (0.09s) 197s --- PASS: TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol (0.10s) 197s --- PASS: TestGetPolicies/Unsupported_type_for_unfiltered_entry (0.09s) 197s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_machine (0.00s) 197s --- PASS: TestGetPolicies/Machine_doesn’t_match (0.00s) 197s --- PASS: TestGetPolicies/Empty_value_for_unfiltered_entry (0.10s) 197s --- PASS: TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed (0.08s) 197s --- PASS: TestGetPolicies/Standard_policy_with_assets,_downloads_assets (0.08s) 197s --- PASS: TestGetPolicies/Assets_can’t_be_downloaded_without_GPO (0.04s) 197s --- PASS: TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment (0.12s) 197s --- PASS: TestGetPolicies/Policy_user_directory_is_uppercase (0.16s) 197s --- PASS: TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db (0.08s) 197s --- PASS: TestGetPolicies/Disabled_value_overrides_non_disabled_one (0.08s) 197s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_user (0.00s) 197s --- PASS: TestGetPolicies/Policy_can’t_be_downloaded (0.06s) 197s --- PASS: TestGetPolicies/Two_policies,_with_reversed_overrides (0.08s) 197s --- PASS: TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored (0.08s) 197s --- PASS: TestGetPolicies/Multiple_domains,_same_GPO (0.10s) 197s --- PASS: TestGetPolicies/Error_on_user_without_@_in_name (0.00s) 197s --- PASS: TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty (0.07s) 197s --- PASS: TestGetPolicies/More_policies,_with_multiple_overrides (0.08s) 197s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_reversed (0.09s) 197s --- PASS: TestGetPolicies/Two_policies,_no_overrides (0.09s) 197s --- PASS: TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed (0.00s) 197s --- PASS: TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored (0.08s) 197s --- PASS: TestGetPolicies/Policy_machine_directory_is_uppercase (0.08s) 197s --- PASS: TestGetPolicies/Two_policies,_with_overrides (0.10s) 197s --- PASS: TestGetPolicies/Filter_non_Ubuntu_keys (0.11s) 197s --- PASS: TestGetPolicies/Symlinks_can’t_be_created (0.00s) 197s --- PASS: TestGetPolicies/Enabled_override (0.11s) 197s --- PASS: TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.11s) 197s --- PASS: TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys (0.09s) 197s --- PASS: TestGetPolicies/Disabled_value_is_overridden (0.09s) 197s --- PASS: TestGetPolicies/User_only_policy,_user_object (0.06s) 197s --- PASS: TestGetPolicies/Disabled_override (0.06s) 197s --- PASS: TestGetPolicies/Error_on_backend_IsOnline_call_failed (0.00s) 197s --- PASS: TestGetPolicies/Error_on_backend_ServerFQDN_call_failed (0.00s) 197s --- PASS: TestGetPolicies/Same_key_in_different_domains_are_kept_separated (0.06s) 197s --- PASS: TestGetPolicies/Corrupted_policy_file (0.06s) 197s --- PASS: TestGetPolicies/Standard_policy,_user_object (0.06s) 197s --- PASS: TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName (0.00s) 197s --- PASS: TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.07s) 197s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user (0.07s) 197s --- PASS: TestGetPolicies/No_override_for_this_release,_takes_default_value (0.07s) 197s === CONT TestNew/failed_to_create_Sysvol_cache_directory 197s === CONT TestNew/failed_to_create_KRB5_cache_directory 197s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 197s --- PASS: TestNew (0.00s) 197s --- PASS: TestNew/create_KRB5_and_Sysvol_cache_directory (0.00s) 197s --- PASS: TestNew/failed_to_create_Policies_cache_directory (0.00s) 197s --- PASS: TestNew/error_on_backend_ServerFQDN_random_failure (0.00s) 197s --- PASS: TestNew/failed_to_create_Sysvol_cache_directory (0.00s) 197s --- PASS: TestNew/failed_to_create_KRB5_cache_directory (0.00s) 197s --- PASS: TestNew/no_active_server_in_backend_does_not_fail_ad_creation (0.00s) 197s === CONT TestFetchWithUnreadableFile/existing_gpo_is_preserved 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:38Z" level=info msg="Downloading \"gpo1-name\"" 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:38Z" level=info msg="Downloading \"gpo1-name\"" 197s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 197s === CONT TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 197s time="2024-11-29T20:31:38Z" level=info msg="Downloading \"gpo1-name\"" 197s --- PASS: TestFetchTweakSysvolCacheDir (0.00s) 197s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only (0.04s) 197s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist (0.01s) 197s time="2024-11-29T20:31:38Z" level=info msg="Downloading \"gpo1-name\"" 197s --- PASS: TestFetchWithUnreadableFile (0.00s) 197s --- PASS: TestFetchWithUnreadableFile/existing_gpo_is_preserved (0.04s) 197s --- PASS: TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO (0.01s) 197s PASS 197s Setup: samba output: [2024/11/29 20:31:33, 0] ../../lib/util/debug.c:1100(reopen_one_log) 197s reopen_one_log: Unable to open new log file '/var/log/samba/log.samba-bgqd': Permission denied 197s [2024/11/29 20:31:33, 2] ../../source3/lib/interface.c:344(add_interface) 197s added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 197s [2024/11/29 20:31:33, 2] ../../source3/lib/interface.c:344(add_interface) 197s added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 197s [2024/11/29 20:31:33, 2] ../../source3/lib/interface.c:584(interpret_interface) 197s interpret_interface: using netmask value 8 from config file on interface lo 197s [2024/11/29 20:31:33, 0] ../../lib/util/become_daemon.c:150(daemon_status) 197s daemon_status: daemon 'samba-bgqd' : Starting process ... 197s [2024/11/29 20:31:33, 0] ../../source3/lib/dumpcore.c:59(get_default_corepath) 197s Failed to create /var/log/samba/cores for user 1000 with mode 0700 197s [2024/11/29 20:31:33, 0] ../../source3/lib/dumpcore.c:256(dump_core_setup) 197s Unable to setup corepath for samba-bgqd: File exists 197s [2024/11/29 20:31:33, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage) 197s Registered MSG_REQ_POOL_USAGE 197s [2024/11/29 20:31:33, 2] ../../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs) 197s Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED 197s 197s ok github.com/ubuntu/adsys/internal/ad 4.842s 197s === RUN TestGenerateExpandedCategories 197s === PAUSE TestGenerateExpandedCategories 197s === RUN TestExpandedCategoriesToADMX 197s === PAUSE TestExpandedCategoriesToADMX 197s === RUN TestExpandedCategoriesToMD 197s === PAUSE TestExpandedCategoriesToMD 197s === RUN TestExpand 197s === PAUSE TestExpand 197s === RUN TestGenerateAD 197s === PAUSE TestGenerateAD 197s === RUN TestGenerateDoc 197s === PAUSE TestGenerateDoc 197s === CONT TestGenerateExpandedCategories 197s === RUN TestGenerateExpandedCategories/default_policy_class_is_capitalized 197s === PAUSE TestGenerateExpandedCategories/default_policy_class_is_capitalized 197s === RUN TestGenerateExpandedCategories/error_on_empty_default_policy_class 197s === PAUSE TestGenerateExpandedCategories/error_on_empty_default_policy_class 197s === CONT TestExpand 197s === RUN TestExpand/dconf 197s === RUN TestGenerateExpandedCategories/no_meta_enabled 197s === PAUSE TestExpand/dconf 197s === PAUSE TestGenerateExpandedCategories/no_meta_enabled 197s === RUN TestExpand/expanded_policy 197s === RUN TestGenerateExpandedCategories/no_meta_at_all 197s === PAUSE TestExpand/expanded_policy 197s === PAUSE TestGenerateExpandedCategories/no_meta_at_all 197s === RUN TestExpand/expanded_policy_with_meta 197s === RUN TestGenerateExpandedCategories/error_on_invalid_default_policy_class 197s === PAUSE TestExpand/expanded_policy_with_meta 197s === PAUSE TestGenerateExpandedCategories/error_on_invalid_default_policy_class 197s === RUN TestExpand/expanded_policy_with_release_any 197s === PAUSE TestExpand/expanded_policy_with_release_any 197s === RUN TestExpand/no_release_file 197s === PAUSE TestExpand/no_release_file 197s === RUN TestExpand/no_source_directory 197s === PAUSE TestExpand/no_source_directory 197s === RUN TestExpand/ignore_categories_and_non_yaml_files 197s === PAUSE TestExpand/ignore_categories_and_non_yaml_files 197s === RUN TestExpand/no_version_id 197s === PAUSE TestExpand/no_version_id 197s === RUN TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 197s === PAUSE TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 197s === RUN TestGenerateExpandedCategories/two_policies 197s === PAUSE TestGenerateExpandedCategories/two_policies 197s === RUN TestGenerateExpandedCategories/different_defaults 197s === PAUSE TestGenerateExpandedCategories/different_defaults 197s === RUN TestGenerateExpandedCategories/applicable_to_all_releases 197s === PAUSE TestGenerateExpandedCategories/applicable_to_all_releases 197s === RUN TestGenerateExpandedCategories/different_choices 197s === PAUSE TestGenerateExpandedCategories/different_choices 197s === RUN TestGenerateExpandedCategories/error_on_missing_release 197s === RUN TestExpand/unsupported_policy_type 197s === PAUSE TestGenerateExpandedCategories/error_on_missing_release 197s === RUN TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 197s === PAUSE TestExpand/unsupported_policy_type 197s === PAUSE TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 197s === RUN TestExpand/invalid_dconf.yaml 197s === RUN TestGenerateExpandedCategories/same_default 197s === PAUSE TestExpand/invalid_dconf.yaml 197s === PAUSE TestGenerateExpandedCategories/same_default 197s === RUN TestExpand/dconf_generation_fails 197s === PAUSE TestExpand/dconf_generation_fails 197s === RUN TestGenerateExpandedCategories/different_meta 197s === CONT TestGenerateDoc 197s === PAUSE TestGenerateExpandedCategories/different_meta 197s === RUN TestGenerateDoc/releases_from_yaml 197s === PAUSE TestGenerateDoc/releases_from_yaml 197s === RUN TestGenerateDoc/autodetect_overrides_releases_from_yaml 197s === PAUSE TestGenerateDoc/autodetect_overrides_releases_from_yaml 197s === RUN TestGenerateDoc/invalid_definition_file 197s === RUN TestGenerateExpandedCategories/error_on_one_policy_not_used 197s === PAUSE TestGenerateExpandedCategories/error_on_one_policy_not_used 197s === PAUSE TestGenerateDoc/invalid_definition_file 197s === RUN TestGenerateExpandedCategories/error_on_different_class 197s === RUN TestGenerateDoc/category_expansion_fails 197s === PAUSE TestGenerateExpandedCategories/error_on_different_class 197s === PAUSE TestGenerateDoc/category_expansion_fails 197s === RUN TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 197s === RUN TestGenerateDoc/doc_generation_fails 197s === PAUSE TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 197s === RUN TestGenerateExpandedCategories/error_on_different_policy_type 197s === PAUSE TestGenerateDoc/doc_generation_fails 197s === PAUSE TestGenerateExpandedCategories/error_on_different_policy_type 197s === CONT TestGenerateAD 197s === RUN TestGenerateExpandedCategories/different_display_name 197s === RUN TestGenerateAD/category_expansion_fails 197s === PAUSE TestGenerateAD/category_expansion_fails 197s === PAUSE TestGenerateExpandedCategories/different_display_name 197s === RUN TestGenerateAD/admx_generation_fails 197s === PAUSE TestGenerateAD/admx_generation_fails 197s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories 197s === RUN TestGenerateAD/releases_from_yaml 197s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories 197s === PAUSE TestGenerateAD/releases_from_yaml 197s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 197s === RUN TestGenerateAD/autodetect_overrides_releases_from_yaml 197s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 197s === PAUSE TestGenerateAD/autodetect_overrides_releases_from_yaml 197s === RUN TestGenerateExpandedCategories/with_prefix 197s === PAUSE TestGenerateExpandedCategories/with_prefix 197s === RUN TestGenerateAD/invalid_definition_file 197s === RUN TestGenerateExpandedCategories/meta_entry_only 197s === PAUSE TestGenerateAD/invalid_definition_file 197s === PAUSE TestGenerateExpandedCategories/meta_entry_only 197s === CONT TestExpandedCategoriesToMD 197s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 197s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 197s === RUN TestGenerateExpandedCategories/error_on_nested_category 197s === PAUSE TestGenerateExpandedCategories/error_on_nested_category 197s === RUN TestGenerateExpandedCategories/available_on_one_release_only 197s === PAUSE TestGenerateExpandedCategories/available_on_one_release_only 197s === RUN TestGenerateExpandedCategories/nested_categories 197s === PAUSE TestGenerateExpandedCategories/nested_categories 197s === RUN TestGenerateExpandedCategories/different_range 197s === PAUSE TestGenerateExpandedCategories/different_range 197s === RUN TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 197s === PAUSE TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 197s === RUN TestGenerateExpandedCategories/different_explain_text 197s === RUN TestExpandedCategoriesToMD/basic_key 197s === PAUSE TestGenerateExpandedCategories/different_explain_text 197s === PAUSE TestExpandedCategoriesToMD/basic_key 197s === RUN TestGenerateExpandedCategories/multiple_top_categories 197s === RUN TestExpandedCategoriesToMD/choices_with_default 197s === PAUSE TestGenerateExpandedCategories/multiple_top_categories 197s === PAUSE TestExpandedCategoriesToMD/choices_with_default 197s === RUN TestGenerateExpandedCategories/no_defaults 197s === RUN TestExpandedCategoriesToMD/boolean 197s === PAUSE TestGenerateExpandedCategories/no_defaults 197s === RUN TestGenerateExpandedCategories/no_meta_disabled 197s === PAUSE TestGenerateExpandedCategories/no_meta_disabled 197s === PAUSE TestExpandedCategoriesToMD/boolean 197s === RUN TestGenerateExpandedCategories/category_definition_doesn't_exist 197s === RUN TestExpandedCategoriesToMD/multiple_releases_for_one_key 197s === PAUSE TestGenerateExpandedCategories/category_definition_doesn't_exist 197s === PAUSE TestExpandedCategoriesToMD/multiple_releases_for_one_key 197s === RUN TestGenerateExpandedCategories/simple 197s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 197s === PAUSE TestGenerateExpandedCategories/simple 197s === RUN TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 197s === PAUSE TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 197s === RUN TestGenerateExpandedCategories/requires_ubuntu_pro 197s === PAUSE TestGenerateExpandedCategories/requires_ubuntu_pro 197s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 197s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 197s === RUN TestGenerateExpandedCategories/choices 197s === PAUSE TestGenerateExpandedCategories/choices 197s === RUN TestGenerateExpandedCategories/different_element_type 197s === PAUSE TestGenerateExpandedCategories/different_element_type 197s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 197s === RUN TestGenerateExpandedCategories/policy_directory_doesn't_exist 197s === RUN TestExpandedCategoriesToMD/no_meta_enabled 197s === PAUSE TestGenerateExpandedCategories/policy_directory_doesn't_exist 197s === RUN TestGenerateExpandedCategories/basic 197s === PAUSE TestExpandedCategoriesToMD/no_meta_enabled 197s === PAUSE TestGenerateExpandedCategories/basic 197s === RUN TestExpandedCategoriesToMD/no_meta_disabled 197s === RUN TestGenerateExpandedCategories/no_note 197s === PAUSE TestGenerateExpandedCategories/no_note 197s === RUN TestGenerateExpandedCategories/no_note_strategy_append 197s === PAUSE TestGenerateExpandedCategories/no_note_strategy_append 197s === PAUSE TestExpandedCategoriesToMD/no_meta_disabled 197s === RUN TestGenerateExpandedCategories/range 197s === RUN TestExpandedCategoriesToMD/no_meta_at_all 197s === PAUSE TestGenerateExpandedCategories/range 197s === PAUSE TestExpandedCategoriesToMD/no_meta_at_all 197s === CONT TestExpandedCategoriesToADMX 197s === RUN TestExpandedCategoriesToADMX/array_of_strings 197s === PAUSE TestExpandedCategoriesToADMX/array_of_strings 197s === RUN TestExpandedCategoriesToADMX/double_with_range 197s === PAUSE TestExpandedCategoriesToADMX/double_with_range 197s === RUN TestExpandedCategoriesToADMX/no_meta_disabled 197s === PAUSE TestExpandedCategoriesToADMX/no_meta_disabled 197s === RUN TestExpandedCategoriesToADMX/error_on_destination_creation 197s === PAUSE TestExpandedCategoriesToADMX/error_on_destination_creation 197s === RUN TestExpandedCategoriesToADMX/simple 197s === PAUSE TestExpandedCategoriesToADMX/simple 197s === RUN TestExpandedCategoriesToADMX/multiple_categories 197s === PAUSE TestExpandedCategoriesToADMX/multiple_categories 197s === RUN TestExpandedCategoriesToMD/simple 197s === RUN TestExpandedCategoriesToADMX/long_decimal 197s === PAUSE TestExpandedCategoriesToMD/simple 197s === PAUSE TestExpandedCategoriesToADMX/long_decimal 197s === RUN TestExpandedCategoriesToMD/nested_categories 197s === PAUSE TestExpandedCategoriesToMD/nested_categories 197s === RUN TestExpandedCategoriesToMD/array_of_strings 197s === PAUSE TestExpandedCategoriesToMD/array_of_strings 197s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 197s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 197s === RUN TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 197s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 197s === RUN TestExpandedCategoriesToMD/decimal 197s === PAUSE TestExpandedCategoriesToMD/decimal 197s === RUN TestExpandedCategoriesToMD/long_decimal 197s === PAUSE TestExpandedCategoriesToMD/long_decimal 197s === RUN TestExpandedCategoriesToADMX/double 197s === PAUSE TestExpandedCategoriesToADMX/double 197s === RUN TestExpandedCategoriesToMD/choices 197s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 197s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 197s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 197s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 197s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 197s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 197s === RUN TestExpandedCategoriesToADMX/decimal 197s === PAUSE TestExpandedCategoriesToADMX/decimal 197s === PAUSE TestExpandedCategoriesToMD/choices 197s === RUN TestExpandedCategoriesToADMX/decimal_with_range 197s === PAUSE TestExpandedCategoriesToADMX/decimal_with_range 197s === RUN TestExpandedCategoriesToMD/user_policy 197s === PAUSE TestExpandedCategoriesToMD/user_policy 197s === RUN TestExpandedCategoriesToMD/decimal_with_min_only 197s === PAUSE TestExpandedCategoriesToMD/decimal_with_min_only 197s === RUN TestExpandedCategoriesToMD/double 197s === PAUSE TestExpandedCategoriesToMD/double 197s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_choices 197s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_choices 197s === RUN TestExpandedCategoriesToADMX/decimal_with_max_only 197s === RUN TestExpandedCategoriesToMD/multiple_categories 197s === PAUSE TestExpandedCategoriesToADMX/decimal_with_max_only 197s === RUN TestExpandedCategoriesToADMX/choices_with_default 197s === PAUSE TestExpandedCategoriesToADMX/choices_with_default 197s === RUN TestExpandedCategoriesToADMX/multiple_releases_for_one_key 197s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_for_one_key 197s === RUN TestExpandedCategoriesToADMX/nested_categories 197s === PAUSE TestExpandedCategoriesToADMX/nested_categories 197s === RUN TestExpandedCategoriesToADMX/other_distro 197s === PAUSE TestExpandedCategoriesToMD/multiple_categories 197s === RUN TestExpandedCategoriesToMD/decimal_with_max_only 197s === PAUSE TestExpandedCategoriesToMD/decimal_with_max_only 197s === RUN TestExpandedCategoriesToMD/array_of_integers 197s === PAUSE TestExpandedCategoriesToMD/array_of_integers 197s === RUN TestExpandedCategoriesToMD/double_with_range 197s === PAUSE TestExpandedCategoriesToMD/double_with_range 197s === RUN TestExpandedCategoriesToMD/error_on_destination_creation 197s === PAUSE TestExpandedCategoriesToMD/error_on_destination_creation 197s === RUN TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 197s === PAUSE TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 197s === RUN TestExpandedCategoriesToMD/decimal_with_range 197s === PAUSE TestExpandedCategoriesToMD/decimal_with_range 197s === PAUSE TestExpandedCategoriesToADMX/other_distro 197s === RUN TestExpandedCategoriesToADMX/basic_key 197s === PAUSE TestExpandedCategoriesToADMX/basic_key 197s === RUN TestExpandedCategoriesToADMX/boolean 197s === PAUSE TestExpandedCategoriesToADMX/boolean 197s === RUN TestExpandedCategoriesToADMX/decimal_with_min_only 197s === PAUSE TestExpandedCategoriesToADMX/decimal_with_min_only 197s === RUN TestExpandedCategoriesToADMX/array_of_integers 197s === PAUSE TestExpandedCategoriesToADMX/array_of_integers 197s === RUN TestExpandedCategoriesToADMX/choices 197s === PAUSE TestExpandedCategoriesToADMX/choices 197s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 197s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 197s === RUN TestExpandedCategoriesToADMX/no_meta_enabled 197s === PAUSE TestExpandedCategoriesToADMX/no_meta_enabled 197s === RUN TestExpandedCategoriesToADMX/no_meta_at_all 197s === PAUSE TestExpandedCategoriesToADMX/no_meta_at_all 197s === CONT TestExpand/dconf 197s admxgen_test.go:78: Serializing object for golden file 197s === CONT TestExpand/dconf_generation_fails 197s === CONT TestExpand/unsupported_policy_type 197s === CONT TestExpand/no_version_id 197s === CONT TestExpand/ignore_categories_and_non_yaml_files 197s === CONT TestExpand/invalid_dconf.yaml 197s === CONT TestExpand/no_source_directory 197s === CONT TestExpand/no_release_file 197s === CONT TestExpand/expanded_policy_with_release_any 197s admxgen_test.go:78: Serializing object for golden file 197s === CONT TestExpand/expanded_policy_with_meta 197s admxgen_test.go:78: Serializing object for golden file 197s === CONT TestExpand/expanded_policy 197s admxgen_test.go:78: Serializing object for golden file 197s === NAME TestExpand/ignore_categories_and_non_yaml_files 197s admxgen_test.go:78: Serializing object for golden file 197s --- PASS: TestExpand (0.00s) 197s --- PASS: TestExpand/dconf (0.00s) 197s --- PASS: TestExpand/dconf_generation_fails (0.00s) 197s --- PASS: TestExpand/unsupported_policy_type (0.00s) 197s --- PASS: TestExpand/no_version_id (0.00s) 197s --- PASS: TestExpand/invalid_dconf.yaml (0.00s) 197s --- PASS: TestExpand/no_source_directory (0.00s) 197s --- PASS: TestExpand/no_release_file (0.00s) 197s --- PASS: TestExpand/expanded_policy_with_release_any (0.00s) 197s --- PASS: TestExpand/expanded_policy_with_meta (0.00s) 197s --- PASS: TestExpand/expanded_policy (0.00s) 197s --- PASS: TestExpand/ignore_categories_and_non_yaml_files (0.00s) 197s === CONT TestGenerateDoc/releases_from_yaml 197s === CONT TestGenerateDoc/category_expansion_fails 197s === CONT TestGenerateDoc/invalid_definition_file 197s === CONT TestGenerateDoc/autodetect_overrides_releases_from_yaml 197s === CONT TestGenerateDoc/doc_generation_fails 197s === CONT TestGenerateAD/category_expansion_fails 197s === CONT TestGenerateAD/invalid_definition_file 197s === CONT TestGenerateAD/autodetect_overrides_releases_from_yaml 197s === CONT TestGenerateAD/releases_from_yaml 197s === CONT TestGenerateAD/admx_generation_fails 197s --- PASS: TestGenerateDoc (0.00s) 197s --- PASS: TestGenerateDoc/releases_from_yaml (0.00s) 197s --- PASS: TestGenerateDoc/category_expansion_fails (0.00s) 197s --- PASS: TestGenerateDoc/invalid_definition_file (0.00s) 197s --- PASS: TestGenerateDoc/doc_generation_fails (0.00s) 197s --- PASS: TestGenerateDoc/autodetect_overrides_releases_from_yaml (0.00s) 197s === CONT TestGenerateExpandedCategories/default_policy_class_is_capitalized 197s internal_test.go:112: Serializing object for golden file 197s --- PASS: TestGenerateAD (0.00s) 197s --- PASS: TestGenerateAD/category_expansion_fails (0.00s) 197s --- PASS: TestGenerateAD/invalid_definition_file (0.00s) 197s --- PASS: TestGenerateAD/autodetect_overrides_releases_from_yaml (0.00s) 197s --- PASS: TestGenerateAD/releases_from_yaml (0.00s) 197s --- PASS: TestGenerateAD/admx_generation_fails (0.00s) 197s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/no_note_strategy_append 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/no_note 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/basic 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/policy_directory_doesn't_exist 197s === CONT TestGenerateExpandedCategories/different_element_type 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/choices 197s === CONT TestGenerateExpandedCategories/range 197s === NAME TestGenerateExpandedCategories/choices 197s internal_test.go:112: Serializing object for golden file 197s === NAME TestGenerateExpandedCategories/range 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 197s === CONT TestGenerateExpandedCategories/requires_ubuntu_pro 197s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 197s internal_test.go:112: Serializing object for golden file 197s === NAME TestGenerateExpandedCategories/requires_ubuntu_pro 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 197s === CONT TestGenerateExpandedCategories/simple 197s === NAME TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 197s internal_test.go:112: Serializing object for golden file 197s === NAME TestGenerateExpandedCategories/simple 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/category_definition_doesn't_exist 197s === CONT TestGenerateExpandedCategories/no_meta_disabled 197s === CONT TestGenerateExpandedCategories/no_defaults 197s === NAME TestGenerateExpandedCategories/no_meta_disabled 197s internal_test.go:112: Serializing object for golden file 197s === NAME TestGenerateExpandedCategories/no_defaults 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/multiple_top_categories 197s === CONT TestGenerateExpandedCategories/different_explain_text 197s === NAME TestGenerateExpandedCategories/multiple_top_categories 197s internal_test.go:112: Serializing object for golden file 197s === NAME TestGenerateExpandedCategories/different_explain_text 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 197s === CONT TestGenerateExpandedCategories/different_range 197s time="2024-11-29T20:31:33Z" level=warning msg="policy /org/gnome/desktop/policy-doesnotexit referenced in \"Category1 Display Name\" does not exist in any supported releases" 197s === NAME TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 197s internal_test.go:112: Serializing object for golden file 197s === NAME TestGenerateExpandedCategories/different_range 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/nested_categories 197s === CONT TestGenerateExpandedCategories/available_on_one_release_only 197s === NAME TestGenerateExpandedCategories/nested_categories 197s internal_test.go:112: Serializing object for golden file 197s === NAME TestGenerateExpandedCategories/available_on_one_release_only 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/error_on_nested_category 197s === CONT TestGenerateExpandedCategories/same_default 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/meta_entry_only 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/with_prefix 197s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 197s internal_test.go:112: Serializing object for golden file 197s === NAME TestGenerateExpandedCategories/with_prefix 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories 197s === CONT TestGenerateExpandedCategories/different_display_name 197s === NAME TestGenerateExpandedCategories/same_policy_used_in_two_categories 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/error_on_different_policy_type 197s === NAME TestGenerateExpandedCategories/different_display_name 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 197s === CONT TestGenerateExpandedCategories/error_on_different_class 197s === CONT TestGenerateExpandedCategories/different_meta 197s === CONT TestGenerateExpandedCategories/error_on_one_policy_not_used 197s === NAME TestGenerateExpandedCategories/different_meta 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/two_policies 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 197s === CONT TestGenerateExpandedCategories/error_on_missing_release 197s === CONT TestGenerateExpandedCategories/different_choices 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/applicable_to_all_releases 197s === CONT TestGenerateExpandedCategories/different_defaults 197s === NAME TestGenerateExpandedCategories/applicable_to_all_releases 197s internal_test.go:112: Serializing object for golden file 197s === NAME TestGenerateExpandedCategories/different_defaults 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/no_meta_at_all 197s === CONT TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 197s === NAME TestGenerateExpandedCategories/no_meta_at_all 197s internal_test.go:112: Serializing object for golden file 197s === CONT TestGenerateExpandedCategories/error_on_invalid_default_policy_class 197s === CONT TestGenerateExpandedCategories/no_meta_enabled 197s === CONT TestGenerateExpandedCategories/error_on_empty_default_policy_class 197s === CONT TestExpandedCategoriesToMD/basic_key 197s === NAME TestGenerateExpandedCategories/no_meta_enabled 197s internal_test.go:112: Serializing object for golden file 197s --- PASS: TestGenerateExpandedCategories (0.00s) 197s --- PASS: TestGenerateExpandedCategories/default_policy_class_is_capitalized (0.00s) 197s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key (0.00s) 197s --- PASS: TestGenerateExpandedCategories/no_note_strategy_append (0.00s) 197s --- PASS: TestGenerateExpandedCategories/no_note (0.00s) 197s --- PASS: TestGenerateExpandedCategories/basic (0.00s) 197s --- PASS: TestGenerateExpandedCategories/policy_directory_doesn't_exist (0.00s) 197s --- PASS: TestGenerateExpandedCategories/different_element_type (0.00s) 197s --- PASS: TestGenerateExpandedCategories/choices (0.00s) 197s --- PASS: TestGenerateExpandedCategories/range (0.00s) 197s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key (0.00s) 197s --- PASS: TestGenerateExpandedCategories/requires_ubuntu_pro (0.00s) 197s --- PASS: TestGenerateExpandedCategories/use_policy_class_instead_of_category_default (0.00s) 197s --- PASS: TestGenerateExpandedCategories/simple (0.00s) 197s --- PASS: TestGenerateExpandedCategories/category_definition_doesn't_exist (0.00s) 197s --- PASS: TestGenerateExpandedCategories/no_meta_disabled (0.00s) 197s --- PASS: TestGenerateExpandedCategories/no_defaults (0.00s) 197s --- PASS: TestGenerateExpandedCategories/multiple_top_categories (0.00s) 197s --- PASS: TestGenerateExpandedCategories/different_explain_text (0.00s) 197s --- PASS: TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases (0.00s) 197s --- PASS: TestGenerateExpandedCategories/different_range (0.00s) 197s --- PASS: TestGenerateExpandedCategories/nested_categories (0.00s) 197s --- PASS: TestGenerateExpandedCategories/available_on_one_release_only (0.00s) 197s --- PASS: TestGenerateExpandedCategories/same_default (0.00s) 197s --- PASS: TestGenerateExpandedCategories/error_on_nested_category (0.00s) 197s --- PASS: TestGenerateExpandedCategories/meta_entry_only (0.00s) 197s --- PASS: TestGenerateExpandedCategories/with_prefix (0.00s) 197s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class (0.00s) 197s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories (0.00s) 197s --- PASS: TestGenerateExpandedCategories/error_on_different_policy_type (0.00s) 197s --- PASS: TestGenerateExpandedCategories/different_display_name (0.00s) 197s --- PASS: TestGenerateExpandedCategories/error_on_different_class (0.00s) 197s --- PASS: TestGenerateExpandedCategories/error_on_unexisting_policy_referenced (0.00s) 197s --- PASS: TestGenerateExpandedCategories/different_meta (0.00s) 197s --- PASS: TestGenerateExpandedCategories/two_policies (0.00s) 197s --- PASS: TestGenerateExpandedCategories/error_on_one_policy_not_used (0.00s) 197s --- PASS: TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified (0.00s) 197s --- PASS: TestGenerateExpandedCategories/error_on_missing_release (0.00s) 197s --- PASS: TestGenerateExpandedCategories/different_choices (0.00s) 197s --- PASS: TestGenerateExpandedCategories/applicable_to_all_releases (0.00s) 197s --- PASS: TestGenerateExpandedCategories/different_defaults (0.00s) 197s --- PASS: TestGenerateExpandedCategories/no_meta_at_all (0.01s) 197s --- PASS: TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases (0.01s) 197s --- PASS: TestGenerateExpandedCategories/error_on_invalid_default_policy_class (0.00s) 197s --- PASS: TestGenerateExpandedCategories/error_on_empty_default_policy_class (0.00s) 197s --- PASS: TestGenerateExpandedCategories/no_meta_enabled (0.00s) 197s === CONT TestExpandedCategoriesToADMX/array_of_strings 197s === CONT TestExpandedCategoriesToMD/decimal_with_range 197s === CONT TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 197s === CONT TestExpandedCategoriesToMD/error_on_destination_creation 197s === CONT TestExpandedCategoriesToMD/double_with_range 197s === CONT TestExpandedCategoriesToMD/array_of_integers 197s === CONT TestExpandedCategoriesToMD/decimal_with_max_only 197s === CONT TestExpandedCategoriesToMD/multiple_categories 197s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_choices 197s === CONT TestExpandedCategoriesToMD/double 197s === CONT TestExpandedCategoriesToMD/decimal_with_min_only 197s === CONT TestExpandedCategoriesToMD/user_policy 197s === CONT TestExpandedCategoriesToMD/choices 197s === CONT TestExpandedCategoriesToMD/long_decimal 197s === CONT TestExpandedCategoriesToMD/decimal 197s === CONT TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 197s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 197s === CONT TestExpandedCategoriesToMD/array_of_strings 197s === CONT TestExpandedCategoriesToMD/nested_categories 197s === CONT TestExpandedCategoriesToMD/simple 197s === CONT TestExpandedCategoriesToMD/no_meta_at_all 197s === CONT TestExpandedCategoriesToMD/no_meta_disabled 197s === CONT TestExpandedCategoriesToMD/no_meta_enabled 197s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 197s === CONT TestExpandedCategoriesToMD/multiple_releases_for_one_key 197s === CONT TestExpandedCategoriesToMD/boolean 197s === CONT TestExpandedCategoriesToMD/choices_with_default 197s === CONT TestExpandedCategoriesToADMX/no_meta_at_all 197s --- PASS: TestExpandedCategoriesToMD (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/basic_key (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/decimal_with_range (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/error_on_destination_creation (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/double_with_range (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/nested_categories,_classes_and_empty (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/array_of_integers (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/decimal_with_max_only (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/multiple_categories (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_choices (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/double (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/decimal_with_min_only (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/user_policy (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/choices (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/long_decimal (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/decimal (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/array_of_strings (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/nested_categories (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/simple (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/no_meta_disabled (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/no_meta_at_all (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/no_meta_enabled (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_ranges (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/multiple_releases_for_one_key (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/boolean (0.00s) 197s --- PASS: TestExpandedCategoriesToMD/choices_with_default (0.00s) 197s === CONT TestExpandedCategoriesToADMX/no_meta_enabled 197s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 197s === CONT TestExpandedCategoriesToADMX/choices 197s === CONT TestExpandedCategoriesToADMX/array_of_integers 197s === CONT TestExpandedCategoriesToADMX/decimal_with_min_only 197s === CONT TestExpandedCategoriesToADMX/boolean 197s === CONT TestExpandedCategoriesToADMX/basic_key 197s === CONT TestExpandedCategoriesToADMX/other_distro 197s === CONT TestExpandedCategoriesToADMX/nested_categories 197s === CONT TestExpandedCategoriesToADMX/multiple_releases_for_one_key 197s === CONT TestExpandedCategoriesToADMX/choices_with_default 197s === CONT TestExpandedCategoriesToADMX/decimal_with_max_only 197s === CONT TestExpandedCategoriesToADMX/decimal_with_range 197s === CONT TestExpandedCategoriesToADMX/decimal 197s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 197s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 197s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 197s === CONT TestExpandedCategoriesToADMX/double 197s === CONT TestExpandedCategoriesToADMX/long_decimal 197s === CONT TestExpandedCategoriesToADMX/multiple_categories 197s === CONT TestExpandedCategoriesToADMX/simple 197s === CONT TestExpandedCategoriesToADMX/error_on_destination_creation 197s === CONT TestExpandedCategoriesToADMX/no_meta_disabled 197s === CONT TestExpandedCategoriesToADMX/double_with_range 197s --- PASS: TestExpandedCategoriesToADMX (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/array_of_strings (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/no_meta_enabled (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/no_meta_at_all (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/choices (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/array_of_integers (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/decimal_with_min_only (0.02s) 197s --- PASS: TestExpandedCategoriesToADMX/basic_key (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/other_distro (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/boolean (0.02s) 197s --- PASS: TestExpandedCategoriesToADMX/nested_categories (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_for_one_key (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/decimal_with_max_only (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/choices_with_default (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/decimal_with_range (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/decimal (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_choices (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/double (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/long_decimal (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/multiple_categories (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/error_on_destination_creation (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/simple (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/no_meta_disabled (0.00s) 197s --- PASS: TestExpandedCategoriesToADMX/double_with_range (0.00s) 197s PASS 197s ok github.com/ubuntu/adsys/internal/ad/admxgen 0.103s 197s === RUN TestGenerate 197s === PAUSE TestGenerate 197s === CONT TestGenerate 197s === RUN TestGenerate/Override_default_to_second_if_first_not_present 197s === PAUSE TestGenerate/Override_default_to_second_if_first_not_present 197s === RUN TestGenerate/Valid_class_should_be_capitalized 197s === PAUSE TestGenerate/Valid_class_should_be_capitalized 197s === RUN TestGenerate/Invalid_class 197s === PAUSE TestGenerate/Invalid_class 197s === RUN TestGenerate/Overridden_by_multiple_files,_last_wins 197s === PAUSE TestGenerate/Overridden_by_multiple_files,_last_wins 197s === RUN TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 197s === PAUSE TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 197s === RUN TestGenerate/Invalid_schema_files 197s === PAUSE TestGenerate/Invalid_schema_files 197s === RUN TestGenerate/Unsupported_key_type 197s === PAUSE TestGenerate/Unsupported_key_type 197s === RUN TestGenerate/Enum_does_not_exist 197s === PAUSE TestGenerate/Enum_does_not_exist 197s === RUN TestGenerate/Array_of_strings 197s === PAUSE TestGenerate/Array_of_strings 197s === RUN TestGenerate/Override_with_no_matching_session_defaults_to_root_override 197s === PAUSE TestGenerate/Override_with_no_matching_session_defaults_to_root_override 197s === RUN TestGenerate/No_key_on_system 197s === PAUSE TestGenerate/No_key_on_system 197s === RUN TestGenerate/Empty 197s === PAUSE TestGenerate/Empty 197s === RUN TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 197s === PAUSE TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 197s === RUN TestGenerate/Relocatable_key_overridden 197s === PAUSE TestGenerate/Relocatable_key_overridden 197s === RUN TestGenerate/Enums_in_other_files_are_converted_to_choices 197s === PAUSE TestGenerate/Enums_in_other_files_are_converted_to_choices 197s === RUN TestGenerate/NaN_min 197s === PAUSE TestGenerate/NaN_min 197s === RUN TestGenerate/One_text_key 197s === PAUSE TestGenerate/One_text_key 197s === RUN TestGenerate/One_boolean_key 197s === PAUSE TestGenerate/One_boolean_key 197s === RUN TestGenerate/Long_decimal_key 197s === PAUSE TestGenerate/Long_decimal_key 197s === RUN TestGenerate/Double_key 197s === PAUSE TestGenerate/Double_key 197s === RUN TestGenerate/Override_takes_first_session 197s === PAUSE TestGenerate/Override_takes_first_session 197s === RUN TestGenerate/Inlined_Enums_are_converted_to_choices 197s === PAUSE TestGenerate/Inlined_Enums_are_converted_to_choices 197s === RUN TestGenerate/Invalid_override_files_are_skipped 197s === PAUSE TestGenerate/Invalid_override_files_are_skipped 197s === RUN TestGenerate/Invalid_min 197s === PAUSE TestGenerate/Invalid_min 197s === RUN TestGenerate/One_decimal_key 197s === PAUSE TestGenerate/One_decimal_key 197s === RUN TestGenerate/One_decimal_key_with_max_only 197s === PAUSE TestGenerate/One_decimal_key_with_max_only 197s === RUN TestGenerate/Long_decimal_key_with_range_min_gt_0 197s === PAUSE TestGenerate/Long_decimal_key_with_range_min_gt_0 197s === RUN TestGenerate/Override_with_session_takes_session_override 197s === PAUSE TestGenerate/Override_with_session_takes_session_override 197s === RUN TestGenerate/Override_without_session_takes_default 197s === PAUSE TestGenerate/Override_without_session_takes_default 197s === RUN TestGenerate/Description_starting_with_obsolete_is_ignored 197s === PAUSE TestGenerate/Description_starting_with_obsolete_is_ignored 197s === RUN TestGenerate/Same_key_relocated_twice 197s === PAUSE TestGenerate/Same_key_relocated_twice 197s === RUN TestGenerate/Array_of_integers 197s === PAUSE TestGenerate/Array_of_integers 197s === RUN TestGenerate/Double_key_with_range 197s === PAUSE TestGenerate/Double_key_with_range 197s === RUN TestGenerate/Override_without_session 197s === PAUSE TestGenerate/Override_without_session 197s === RUN TestGenerate/Description_starting_with_deprecated_is_ignored 197s === PAUSE TestGenerate/Description_starting_with_deprecated_is_ignored 197s === RUN TestGenerate/One_decimal_key_with_range 197s === PAUSE TestGenerate/One_decimal_key_with_range 197s === RUN TestGenerate/Long_decimal_key_with_range_min_lt_0 197s === PAUSE TestGenerate/Long_decimal_key_with_range_min_lt_0 197s === RUN TestGenerate/Key_with_class 197s === PAUSE TestGenerate/Key_with_class 197s === RUN TestGenerate/Relocatable_key 197s === PAUSE TestGenerate/Relocatable_key 197s === RUN TestGenerate/One_decimal_key_with_min_only 197s === PAUSE TestGenerate/One_decimal_key_with_min_only 197s === RUN TestGenerate/Choices_are_loaded 197s === PAUSE TestGenerate/Choices_are_loaded 197s === CONT TestGenerate/Override_default_to_second_if_first_not_present 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Choices_are_loaded 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/One_decimal_key_with_min_only 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Relocatable_key 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Key_with_class 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Long_decimal_key_with_range_min_lt_0 197s === CONT TestGenerate/Long_decimal_key 197s === NAME TestGenerate/Long_decimal_key_with_range_min_lt_0 197s dconf_test.go:103: Serializing object for golden file 197s === NAME TestGenerate/Long_decimal_key 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/One_boolean_key 197s === CONT TestGenerate/One_text_key 197s dconf_test.go:103: Serializing object for golden file 197s === NAME TestGenerate/One_boolean_key 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Enums_in_other_files_are_converted_to_choices 197s === CONT TestGenerate/NaN_min 197s === CONT TestGenerate/Relocatable_key_overridden 197s === NAME TestGenerate/Enums_in_other_files_are_converted_to_choices 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 197s === NAME TestGenerate/Relocatable_key_overridden 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Empty 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/No_key_on_system 197s time="2024-11-29T20:31:33Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated-different-cases\" is deprecated. Ignoring" 197s === NAME TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Override_with_no_matching_session_defaults_to_root_override 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Array_of_strings 197s time="2024-11-29T20:31:33Z" level=warning msg="dconf entry \"/com/ubuntu/simple/non-existent\" is not available on this machine" 197s === NAME TestGenerate/No_key_on_system 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Enum_does_not_exist 197s === CONT TestGenerate/Unsupported_key_type 197s === NAME TestGenerate/Array_of_strings 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Invalid_schema_files 197s === CONT TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 197s === CONT TestGenerate/Overridden_by_multiple_files,_last_wins 197s === NAME TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Invalid_class 197s === NAME TestGenerate/Overridden_by_multiple_files,_last_wins 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Valid_class_should_be_capitalized 197s === CONT TestGenerate/Override_with_session_takes_session_override 197s === NAME TestGenerate/Valid_class_should_be_capitalized 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/One_decimal_key_with_range 197s === NAME TestGenerate/Override_with_session_takes_session_override 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Description_starting_with_deprecated_is_ignored 197s time="2024-11-29T20:31:33Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated\" is deprecated. Ignoring" 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Override_without_session 197s === NAME TestGenerate/One_decimal_key_with_range 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Double_key_with_range 197s === NAME TestGenerate/Override_without_session 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Array_of_integers 197s === NAME TestGenerate/Double_key_with_range 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Same_key_relocated_twice 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Description_starting_with_obsolete_is_ignored 197s time="2024-11-29T20:31:33Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/obsolete\" is deprecated. Ignoring" 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Override_without_session_takes_default 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Invalid_min 197s === CONT TestGenerate/Long_decimal_key_with_range_min_gt_0 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/One_decimal_key_with_max_only 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/One_decimal_key 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Inlined_Enums_are_converted_to_choices 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Invalid_override_files_are_skipped 197s time="2024-11-29T20:31:33Z" 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" 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Override_takes_first_session 197s dconf_test.go:103: Serializing object for golden file 197s === CONT TestGenerate/Double_key 197s dconf_test.go:103: Serializing object for golden file 197s === NAME TestGenerate/Array_of_integers 197s dconf_test.go:103: Serializing object for golden file 197s --- PASS: TestGenerate (0.00s) 197s --- PASS: TestGenerate/Override_default_to_second_if_first_not_present (0.00s) 197s --- PASS: TestGenerate/Choices_are_loaded (0.00s) 197s --- PASS: TestGenerate/One_decimal_key_with_min_only (0.00s) 197s --- PASS: TestGenerate/Relocatable_key (0.00s) 197s --- PASS: TestGenerate/Key_with_class (0.00s) 197s --- PASS: TestGenerate/Long_decimal_key (0.00s) 197s --- PASS: TestGenerate/Long_decimal_key_with_range_min_lt_0 (0.00s) 197s --- PASS: TestGenerate/One_boolean_key (0.00s) 197s --- PASS: TestGenerate/One_text_key (0.00s) 197s --- PASS: TestGenerate/NaN_min (0.00s) 197s --- PASS: TestGenerate/Enums_in_other_files_are_converted_to_choices (0.00s) 197s --- PASS: TestGenerate/Relocatable_key_overridden (0.01s) 197s --- PASS: TestGenerate/Empty (0.00s) 197s --- PASS: TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored (0.01s) 197s --- PASS: TestGenerate/Override_with_no_matching_session_defaults_to_root_override (0.00s) 197s --- PASS: TestGenerate/No_key_on_system (0.00s) 197s --- PASS: TestGenerate/Enum_does_not_exist (0.00s) 197s --- PASS: TestGenerate/Array_of_strings (0.00s) 197s --- PASS: TestGenerate/Unsupported_key_type (0.00s) 197s --- PASS: TestGenerate/Invalid_schema_files (0.00s) 197s --- PASS: TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored (0.00s) 197s --- PASS: TestGenerate/Overridden_by_multiple_files,_last_wins (0.00s) 197s --- PASS: TestGenerate/Invalid_class (0.00s) 197s --- PASS: TestGenerate/Valid_class_should_be_capitalized (0.00s) 197s --- PASS: TestGenerate/Override_with_session_takes_session_override (0.00s) 197s --- PASS: TestGenerate/Description_starting_with_deprecated_is_ignored (0.00s) 197s --- PASS: TestGenerate/One_decimal_key_with_range (0.00s) 197s --- PASS: TestGenerate/Override_without_session (0.00s) 197s --- PASS: TestGenerate/Double_key_with_range (0.00s) 197s --- PASS: TestGenerate/Same_key_relocated_twice (0.00s) 197s --- PASS: TestGenerate/Description_starting_with_obsolete_is_ignored (0.00s) 197s --- PASS: TestGenerate/Override_without_session_takes_default (0.00s) 197s --- PASS: TestGenerate/Invalid_min (0.00s) 197s --- PASS: TestGenerate/Long_decimal_key_with_range_min_gt_0 (0.00s) 197s --- PASS: TestGenerate/One_decimal_key_with_max_only (0.00s) 197s --- PASS: TestGenerate/One_decimal_key (0.00s) 197s --- PASS: TestGenerate/Inlined_Enums_are_converted_to_choices (0.00s) 197s --- PASS: TestGenerate/Invalid_override_files_are_skipped (0.00s) 197s --- PASS: TestGenerate/Override_takes_first_session (0.00s) 197s --- PASS: TestGenerate/Double_key (0.00s) 197s --- PASS: TestGenerate/Array_of_integers (0.01s) 197s PASS 197s ok github.com/ubuntu/adsys/internal/ad/admxgen/dconf 0.051s 197s === RUN TestSSSD 197s === PAUSE TestSSSD 197s === CONT TestSSSD 197s === RUN TestSSSD/Is_not_online 197s === PAUSE TestSSSD/Is_not_online 197s === RUN TestSSSD/SSSd_domain_can_not_match_ad_domain 197s === PAUSE TestSSSD/SSSd_domain_can_not_match_ad_domain 197s === RUN TestSSSD/Ignore_upper_cases_in_domain_name 197s === PAUSE TestSSSD/Ignore_upper_cases_in_domain_name 197s === RUN TestSSSD/Regular_config,_with_cache_dir 197s === PAUSE TestSSSD/Regular_config,_with_cache_dir 197s === RUN TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 197s === PAUSE TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 197s === RUN TestSSSD/Error_on_no_domains_field 197s === PAUSE TestSSSD/Error_on_no_domains_field 197s === RUN TestSSSD/Default_domain_suffix_is_read 197s === PAUSE TestSSSD/Default_domain_suffix_is_read 197s === RUN TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 197s === PAUSE TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 197s === RUN TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 197s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 197s === RUN TestSSSD/Error_on_no_sssd_section 197s === PAUSE TestSSSD/Error_on_no_sssd_section 197s === RUN TestSSSD/Regular_config 197s === PAUSE TestSSSD/Regular_config 197s === RUN TestSSSD/Multiple_domains,_pick_first 197s === PAUSE TestSSSD/Multiple_domains,_pick_first 197s === RUN TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 197s === PAUSE TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 197s === RUN TestSSSD/Can_handle_special_DNS_domain_characters 197s === PAUSE TestSSSD/Can_handle_special_DNS_domain_characters 197s === RUN TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 197s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 197s === RUN TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 197s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 197s === RUN TestSSSD/Error_on_sssd_conf_does_not_exists 197s === PAUSE TestSSSD/Error_on_sssd_conf_does_not_exists 197s === RUN TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 197s === PAUSE TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 197s === RUN TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 197s === PAUSE TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 197s === RUN TestSSSD/Use_domain_from_section_if_no_ad_domain 197s === PAUSE TestSSSD/Use_domain_from_section_if_no_ad_domain 197s === RUN TestSSSD/No_sssd_conf_loads_the_default 197s === PAUSE TestSSSD/No_sssd_conf_loads_the_default 197s === RUN TestSSSD/Error_on_empty_domains_field 197s === PAUSE TestSSSD/Error_on_empty_domains_field 197s === RUN TestSSSD/Error_on_sssd_domain_section_missing 197s === PAUSE TestSSSD/Error_on_sssd_domain_section_missing 197s === RUN TestSSSD/Error_on_sssd_domain_empty_section 197s === PAUSE TestSSSD/Error_on_sssd_domain_empty_section 197s === CONT TestSSSD/Is_not_online 197s === CONT TestSSSD/Error_on_sssd_domain_empty_section 197s === CONT TestSSSD/Error_on_sssd_domain_section_missing 197s === CONT TestSSSD/Error_on_empty_domains_field 197s === CONT TestSSSD/No_sssd_conf_loads_the_default 197s === CONT TestSSSD/Use_domain_from_section_if_no_ad_domain 197s === CONT TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 197s === CONT TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 197s === CONT TestSSSD/Error_on_sssd_conf_does_not_exists 197s === CONT TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 197s === CONT TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 197s === CONT TestSSSD/Can_handle_special_DNS_domain_characters 197s === CONT TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 197s === CONT TestSSSD/Multiple_domains,_pick_first 197s === CONT TestSSSD/Regular_config 197s === CONT TestSSSD/Error_on_no_sssd_section 197s === CONT TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 197s === CONT TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 197s === CONT TestSSSD/Default_domain_suffix_is_read 197s === CONT TestSSSD/Error_on_no_domains_field 197s === CONT TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 197s === CONT TestSSSD/Regular_config,_with_cache_dir 197s === CONT TestSSSD/Ignore_upper_cases_in_domain_name 197s === CONT TestSSSD/SSSd_domain_can_not_match_ad_domain 197s --- PASS: TestSSSD (0.00s) 197s --- PASS: TestSSSD/Error_on_sssd_domain_empty_section (0.00s) 197s --- PASS: TestSSSD/Error_on_sssd_domain_section_missing (0.00s) 197s --- PASS: TestSSSD/Error_on_empty_domains_field (0.00s) 197s --- PASS: TestSSSD/No_sssd_conf_loads_the_default (0.00s) 197s --- PASS: TestSSSD/Is_not_online (0.00s) 197s --- PASS: TestSSSD/Use_domain_from_section_if_no_ad_domain (0.00s) 197s --- PASS: TestSSSD/Ad_server_defined_in_config_does_not_need_active_server (0.00s) 197s --- PASS: TestSSSD/Error_on_sssd_conf_does_not_exists (0.00s) 197s --- PASS: TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server (0.00s) 197s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object (0.00s) 197s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out (0.00s) 197s --- PASS: TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter (0.00s) 197s --- PASS: TestSSSD/Can_handle_special_DNS_domain_characters (0.00s) 197s --- PASS: TestSSSD/Multiple_domains,_pick_first (0.00s) 197s --- PASS: TestSSSD/Error_on_no_sssd_section (0.00s) 197s --- PASS: TestSSSD/Regular_config (0.00s) 197s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided (0.00s) 197s --- PASS: TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server (0.00s) 197s --- PASS: TestSSSD/Error_on_no_domains_field (0.00s) 197s --- PASS: TestSSSD/Default_domain_suffix_is_read (0.00s) 197s --- PASS: TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out (0.00s) 197s --- PASS: TestSSSD/Regular_config,_with_cache_dir (0.00s) 197s --- PASS: TestSSSD/Ignore_upper_cases_in_domain_name (0.00s) 197s --- PASS: TestSSSD/SSSd_domain_can_not_match_ad_domain (0.00s) 197s PASS 197s ok github.com/ubuntu/adsys/internal/ad/backends/sss 0.026s 197s === RUN TestWinbind 197s winbind_test.go:25: Running subprocess with [/tmp/go-build3265892276/b566/winbind.test -test.testlogfile=/tmp/go-build3265892276/b566/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestWinbind] 197s === RUN TestWinbind 197s === RUN TestWinbind/Lookup_is_successful 197s === RUN TestWinbind/Error_when_requesting_krb5cc 197s === RUN TestWinbind/Error_when_looking_up_domain 197s === RUN TestWinbind/Error_when_looking_up_DC_name 197s === RUN TestWinbind/Error_when_getting_online_status 197s === RUN TestWinbind/Error_when_domain_is_offline 197s === RUN TestWinbind/Lookup_with_different_hostname_is_successful 197s === RUN TestWinbind/Lookup_with_overridden_ad_domain 197s === RUN TestWinbind/Lookup_with_overridden_ad_server 197s === RUN TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix 197s --- PASS: TestWinbind (0.09s) 197s --- PASS: TestWinbind/Lookup_is_successful (0.01s) 197s --- PASS: TestWinbind/Error_when_requesting_krb5cc (0.01s) 197s --- PASS: TestWinbind/Error_when_looking_up_domain (0.00s) 197s --- PASS: TestWinbind/Error_when_looking_up_DC_name (0.01s) 197s --- PASS: TestWinbind/Error_when_getting_online_status (0.02s) 197s --- PASS: TestWinbind/Error_when_domain_is_offline (0.01s) 197s --- PASS: TestWinbind/Lookup_with_different_hostname_is_successful (0.00s) 197s --- PASS: TestWinbind/Lookup_with_overridden_ad_domain (0.00s) 197s --- PASS: TestWinbind/Lookup_with_overridden_ad_server (0.01s) 197s --- PASS: TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix (0.01s) 197s PASS 197s --- PASS: TestWinbind (0.15s) 197s === RUN TestExecuteKinitCommand 197s --- PASS: TestExecuteKinitCommand (0.00s) 197s PASS 197s ok github.com/ubuntu/adsys/internal/ad/backends/winbind 0.163s 197s === RUN TestGetVersionID 197s === PAUSE TestGetVersionID 197s === CONT TestGetVersionID 197s === RUN TestGetVersionID/No_VERSION_ID_in_file 197s === PAUSE TestGetVersionID/No_VERSION_ID_in_file 197s === RUN TestGetVersionID/No_os-release_file 197s === PAUSE TestGetVersionID/No_os-release_file 197s === RUN TestGetVersionID/Read_VERSION_ID 197s === PAUSE TestGetVersionID/Read_VERSION_ID 197s === CONT TestGetVersionID/No_VERSION_ID_in_file 197s === CONT TestGetVersionID/Read_VERSION_ID 197s === CONT TestGetVersionID/No_os-release_file 197s --- PASS: TestGetVersionID (0.00s) 197s --- PASS: TestGetVersionID/No_VERSION_ID_in_file (0.00s) 197s --- PASS: TestGetVersionID/Read_VERSION_ID (0.00s) 197s --- PASS: TestGetVersionID/No_os-release_file (0.00s) 197s PASS 197s ok github.com/ubuntu/adsys/internal/ad/common 0.003s 197s === RUN TestReadPolicy 197s === PAUSE TestReadPolicy 197s === RUN TestDecodePolicy 197s === PAUSE TestDecodePolicy 197s === CONT TestReadPolicy 197s === RUN TestReadPolicy/invalid_header,_header_doesnt_match 197s === PAUSE TestReadPolicy/invalid_header,_header_doesnt_match 197s === RUN TestReadPolicy/one_element,_string_value 197s === PAUSE TestReadPolicy/one_element,_string_value 197s === CONT TestDecodePolicy 197s === RUN TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 197s === PAUSE TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 197s === RUN TestDecodePolicy/section_separators_in_data 197s === PAUSE TestDecodePolicy/section_separators_in_data 197s === RUN TestDecodePolicy/invalid_decimal_value 197s === PAUSE TestDecodePolicy/invalid_decimal_value 197s === RUN TestDecodePolicy/invalid_container_default_values 197s === PAUSE TestDecodePolicy/invalid_container_default_values 197s === RUN TestDecodePolicy/two_elements 197s === PAUSE TestDecodePolicy/two_elements 197s === RUN TestReadPolicy/one_element,_decimal_value 197s === PAUSE TestReadPolicy/one_element,_decimal_value 197s === RUN TestDecodePolicy/disabled_container_disables_its_option_values 197s === RUN TestReadPolicy/empty_value 197s === PAUSE TestReadPolicy/empty_value 197s === PAUSE TestDecodePolicy/disabled_container_disables_its_option_values 197s === RUN TestDecodePolicy/semicolon_in_data 197s === PAUSE TestDecodePolicy/semicolon_in_data 197s === RUN TestDecodePolicy/no_header 197s === PAUSE TestDecodePolicy/no_header 197s === RUN TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 197s === PAUSE TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 197s === RUN TestDecodePolicy/container_strategy_is_reflected_on_child 197s === PAUSE TestDecodePolicy/container_strategy_is_reflected_on_child 197s === RUN TestDecodePolicy/container_without_metavalues 197s === PAUSE TestDecodePolicy/container_without_metavalues 197s === RUN TestDecodePolicy/empty_data 197s === PAUSE TestDecodePolicy/empty_data 197s === RUN TestDecodePolicy/invalid_header,_file_truncated 197s === PAUSE TestDecodePolicy/invalid_header,_file_truncated 197s === RUN TestDecodePolicy/key_is_not_utf16 197s === PAUSE TestDecodePolicy/key_is_not_utf16 197s === RUN TestDecodePolicy/empty_key 197s === PAUSE TestDecodePolicy/empty_key 197s === RUN TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 197s === PAUSE TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 197s === RUN TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 197s === PAUSE TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 197s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 197s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 197s === RUN TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 197s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 197s === RUN TestDecodePolicy/missing_field 197s === PAUSE TestDecodePolicy/missing_field 197s === RUN TestDecodePolicy/one_element,_decimal_value 197s === PAUSE TestDecodePolicy/one_element,_decimal_value 197s === RUN TestDecodePolicy/one_element,_multitext_value 197s === PAUSE TestDecodePolicy/one_element,_multitext_value 197s === RUN TestDecodePolicy/one_element,_disabled 197s === PAUSE TestDecodePolicy/one_element,_disabled 197s === RUN TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 197s === PAUSE TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 197s === RUN TestDecodePolicy/basic_type_with_strategy 197s === PAUSE TestDecodePolicy/basic_type_with_strategy 197s === RUN TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 197s === PAUSE TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 197s === RUN TestDecodePolicy/empty_value 197s === PAUSE TestDecodePolicy/empty_value 197s === RUN TestDecodePolicy/invalid_header,_header_doesnt_match 197s === PAUSE TestDecodePolicy/invalid_header,_header_doesnt_match 197s === RUN TestDecodePolicy/invalid_header,_header_too_short 197s === PAUSE TestDecodePolicy/invalid_header,_header_too_short 197s === RUN TestDecodePolicy/container_with_default_elements_override_empty_option_values 197s === PAUSE TestDecodePolicy/container_with_default_elements_override_empty_option_values 197s === RUN TestDecodePolicy/container_with_meta_elements_and_value_on_options 197s === PAUSE TestDecodePolicy/container_with_meta_elements_and_value_on_options 197s === RUN TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 197s === PAUSE TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 197s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 197s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 197s === RUN TestDecodePolicy/null_character_in_data 197s === RUN TestReadPolicy/empty_file 197s === PAUSE TestReadPolicy/empty_file 197s === RUN TestReadPolicy/key_is_not_utf16 197s === PAUSE TestReadPolicy/key_is_not_utf16 197s === RUN TestReadPolicy/value_is_not_utf16 197s === PAUSE TestReadPolicy/value_is_not_utf16 197s === RUN TestReadPolicy/header_only 197s === PAUSE TestReadPolicy/header_only 197s === RUN TestReadPolicy/invalid_header,_header_too_short 197s === PAUSE TestReadPolicy/invalid_header,_header_too_short 197s === RUN TestReadPolicy/invalid_header,_file_truncated 197s === PAUSE TestReadPolicy/invalid_header,_file_truncated 197s === RUN TestReadPolicy/no_header 197s === PAUSE TestReadPolicy/no_header 197s === RUN TestReadPolicy/section_not_closed 197s === PAUSE TestReadPolicy/section_not_closed 197s === RUN TestReadPolicy/missing_field 197s === PAUSE TestReadPolicy/missing_field 197s === RUN TestReadPolicy/two_elements 197s === PAUSE TestReadPolicy/two_elements 197s === RUN TestReadPolicy/section_separators_in_data 197s === PAUSE TestReadPolicy/section_separators_in_data 197s === PAUSE TestDecodePolicy/null_character_in_data 197s === RUN TestReadPolicy/exotic_return_type 197s === PAUSE TestReadPolicy/exotic_return_type 197s === RUN TestReadPolicy/empty_key 197s === PAUSE TestReadPolicy/empty_key 197s === RUN TestReadPolicy/memory_on_multiple_elements_dont_overlap 197s === PAUSE TestReadPolicy/memory_on_multiple_elements_dont_overlap 197s === RUN TestReadPolicy/semicolon_in_data 197s === PAUSE TestReadPolicy/semicolon_in_data 197s === CONT TestReadPolicy/invalid_header,_header_doesnt_match 197s === RUN TestDecodePolicy/header_only 197s === PAUSE TestDecodePolicy/header_only 197s === RUN TestDecodePolicy/empty_file 197s === PAUSE TestDecodePolicy/empty_file 197s === RUN TestDecodePolicy/basic_type,_disabled 197s === PAUSE TestDecodePolicy/basic_type,_disabled 197s === RUN TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 197s === PAUSE TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 197s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 197s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 197s === RUN TestDecodePolicy/exotic_return_type 197s === PAUSE TestDecodePolicy/exotic_return_type 197s === RUN TestDecodePolicy/disabled_container_with_disabled_option_values 197s === PAUSE TestDecodePolicy/disabled_container_with_disabled_option_values 197s === RUN TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 197s === PAUSE TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 197s === RUN TestDecodePolicy/section_not_closed 197s === PAUSE TestDecodePolicy/section_not_closed 197s === RUN TestDecodePolicy/value_is_not_utf16 197s === PAUSE TestDecodePolicy/value_is_not_utf16 197s === RUN TestDecodePolicy/one_element,_string_value 197s === PAUSE TestDecodePolicy/one_element,_string_value 197s === RUN TestDecodePolicy/basic_type,_enabled 197s === PAUSE TestDecodePolicy/basic_type,_enabled 197s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 197s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 197s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 197s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 197s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 197s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 197s === CONT TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 197s === CONT TestReadPolicy/semicolon_in_data 197s === CONT TestReadPolicy/memory_on_multiple_elements_dont_overlap 197s === CONT TestReadPolicy/empty_key 197s === CONT TestReadPolicy/exotic_return_type 197s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 197s === CONT TestReadPolicy/section_separators_in_data 197s === CONT TestReadPolicy/two_elements 197s === CONT TestReadPolicy/missing_field 197s === CONT TestReadPolicy/section_not_closed 197s === CONT TestReadPolicy/no_header 197s === CONT TestReadPolicy/invalid_header,_file_truncated 197s === CONT TestReadPolicy/invalid_header,_header_too_short 197s === CONT TestReadPolicy/header_only 197s === CONT TestReadPolicy/value_is_not_utf16 197s === CONT TestReadPolicy/key_is_not_utf16 197s === CONT TestReadPolicy/empty_file 197s === CONT TestReadPolicy/empty_value 197s === CONT TestReadPolicy/one_element,_decimal_value 197s === CONT TestReadPolicy/one_element,_string_value 197s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 197s --- PASS: TestReadPolicy (0.00s) 197s --- PASS: TestReadPolicy/invalid_header,_header_doesnt_match (0.00s) 197s --- PASS: TestReadPolicy/semicolon_in_data (0.00s) 197s --- PASS: TestReadPolicy/memory_on_multiple_elements_dont_overlap (0.00s) 197s --- PASS: TestReadPolicy/empty_key (0.00s) 197s --- PASS: TestReadPolicy/exotic_return_type (0.00s) 197s --- PASS: TestReadPolicy/section_separators_in_data (0.00s) 197s --- PASS: TestReadPolicy/two_elements (0.00s) 197s --- PASS: TestReadPolicy/missing_field (0.00s) 197s --- PASS: TestReadPolicy/section_not_closed (0.00s) 197s --- PASS: TestReadPolicy/no_header (0.00s) 197s --- PASS: TestReadPolicy/invalid_header,_file_truncated (0.00s) 197s --- PASS: TestReadPolicy/header_only (0.00s) 197s --- PASS: TestReadPolicy/invalid_header,_header_too_short (0.00s) 197s --- PASS: TestReadPolicy/key_is_not_utf16 (0.00s) 197s --- PASS: TestReadPolicy/value_is_not_utf16 (0.00s) 197s --- PASS: TestReadPolicy/empty_file (0.00s) 197s --- PASS: TestReadPolicy/one_element,_decimal_value (0.00s) 197s --- PASS: TestReadPolicy/one_element,_string_value (0.00s) 197s --- PASS: TestReadPolicy/empty_value (0.00s) 197s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 197s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 197s === CONT TestDecodePolicy/basic_type,_enabled 197s === CONT TestDecodePolicy/one_element,_string_value 197s === CONT TestDecodePolicy/value_is_not_utf16 197s === CONT TestDecodePolicy/section_not_closed 197s === CONT TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 197s === CONT TestDecodePolicy/disabled_container_with_disabled_option_values 197s === CONT TestDecodePolicy/exotic_return_type 197s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 197s === CONT TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 197s === CONT TestDecodePolicy/basic_type,_disabled 197s === CONT TestDecodePolicy/empty_file 197s === CONT TestDecodePolicy/header_only 197s === CONT TestDecodePolicy/null_character_in_data 197s === CONT TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 197s === CONT TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 197s === CONT TestDecodePolicy/container_with_meta_elements_and_value_on_options 197s === CONT TestDecodePolicy/container_with_default_elements_override_empty_option_values 197s === CONT TestDecodePolicy/invalid_header,_header_too_short 197s === CONT TestDecodePolicy/invalid_header,_header_doesnt_match 197s === CONT TestDecodePolicy/empty_value 197s === CONT TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 197s === CONT TestDecodePolicy/basic_type_with_strategy 197s === CONT TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 197s === CONT TestDecodePolicy/one_element,_disabled 197s === CONT TestDecodePolicy/one_element,_multitext_value 197s === CONT TestDecodePolicy/one_element,_decimal_value 197s === CONT TestDecodePolicy/missing_field 197s === CONT TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 197s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 197s === CONT TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 197s === CONT TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 197s === CONT TestDecodePolicy/empty_key 197s === CONT TestDecodePolicy/key_is_not_utf16 197s === CONT TestDecodePolicy/invalid_header,_file_truncated 197s === CONT TestDecodePolicy/empty_data 197s === CONT TestDecodePolicy/container_without_metavalues 197s === CONT TestDecodePolicy/container_strategy_is_reflected_on_child 197s === CONT TestDecodePolicy/two_elements 197s === CONT TestDecodePolicy/no_header 197s === CONT TestDecodePolicy/semicolon_in_data 197s === CONT TestDecodePolicy/disabled_container_disables_its_option_values 197s === CONT TestDecodePolicy/invalid_decimal_value 197s === CONT TestDecodePolicy/invalid_container_default_values 197s === CONT TestDecodePolicy/section_separators_in_data 197s --- PASS: TestDecodePolicy (0.00s) 197s --- PASS: TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker (0.00s) 197s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values (0.00s) 197s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none (0.00s) 197s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) (0.00s) 197s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values (0.00s) 197s --- PASS: TestDecodePolicy/basic_type,_enabled (0.00s) 197s --- PASS: TestDecodePolicy/one_element,_string_value (0.00s) 197s --- PASS: TestDecodePolicy/value_is_not_utf16 (0.00s) 197s --- PASS: TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type (0.00s) 197s --- PASS: TestDecodePolicy/section_not_closed (0.00s) 197s --- PASS: TestDecodePolicy/exotic_return_type (0.00s) 197s --- PASS: TestDecodePolicy/disabled_container_with_disabled_option_values (0.00s) 197s --- PASS: TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings (0.00s) 197s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined (0.00s) 197s --- PASS: TestDecodePolicy/basic_type,_disabled (0.00s) 197s --- PASS: TestDecodePolicy/empty_file (0.00s) 197s --- PASS: TestDecodePolicy/header_only (0.00s) 197s --- PASS: TestDecodePolicy/null_character_in_data (0.00s) 197s --- PASS: TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type (0.00s) 197s --- PASS: TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker (0.00s) 197s --- PASS: TestDecodePolicy/container_with_default_elements_override_empty_option_values (0.00s) 197s --- PASS: TestDecodePolicy/container_with_meta_elements_and_value_on_options (0.00s) 197s --- PASS: TestDecodePolicy/invalid_header,_header_too_short (0.00s) 197s --- PASS: TestDecodePolicy/invalid_header,_header_doesnt_match (0.00s) 197s --- PASS: TestDecodePolicy/empty_value (0.00s) 197s --- PASS: TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options (0.00s) 197s --- PASS: TestDecodePolicy/basic_type_with_default_value_has_value_filed_in (0.00s) 197s --- PASS: TestDecodePolicy/basic_type_with_strategy (0.00s) 197s --- PASS: TestDecodePolicy/one_element,_multitext_value (0.00s) 197s --- PASS: TestDecodePolicy/one_element,_disabled (0.00s) 197s --- PASS: TestDecodePolicy/missing_field (0.00s) 197s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none (0.00s) 197s --- PASS: TestDecodePolicy/one_element,_decimal_value (0.00s) 197s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values (0.00s) 197s --- PASS: TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy (0.00s) 197s --- PASS: TestDecodePolicy/empty_key (0.00s) 197s --- PASS: TestDecodePolicy/key_is_not_utf16 (0.00s) 197s --- PASS: TestDecodePolicy/invalid_header,_file_truncated (0.00s) 197s --- PASS: TestDecodePolicy/empty_data (0.00s) 197s --- PASS: TestDecodePolicy/container_without_metavalues (0.00s) 197s --- PASS: TestDecodePolicy/container_strategy_is_reflected_on_child (0.00s) 197s --- PASS: TestDecodePolicy/two_elements (0.00s) 197s --- PASS: TestDecodePolicy/no_header (0.00s) 197s --- PASS: TestDecodePolicy/semicolon_in_data (0.00s) 197s --- PASS: TestDecodePolicy/disabled_container_disables_its_option_values (0.00s) 197s --- PASS: TestDecodePolicy/invalid_decimal_value (0.00s) 197s --- PASS: TestDecodePolicy/invalid_container_default_values (0.00s) 197s --- PASS: TestDecodePolicy/section_separators_in_data (0.00s) 197s --- PASS: TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker (0.00s) 197s === RUN FuzzDecodePolicy 197s === RUN FuzzDecodePolicy/seed#0 197s === RUN FuzzDecodePolicy/seed#1 197s === RUN FuzzDecodePolicy/seed#2 197s === RUN FuzzDecodePolicy/seed#3 197s === RUN FuzzDecodePolicy/seed#4 197s === RUN FuzzDecodePolicy/seed#5 197s === RUN FuzzDecodePolicy/seed#6 197s === RUN FuzzDecodePolicy/seed#7 197s === RUN FuzzDecodePolicy/seed#8 197s === RUN FuzzDecodePolicy/seed#9 197s === RUN FuzzDecodePolicy/seed#10 197s === RUN FuzzDecodePolicy/seed#11 197s === RUN FuzzDecodePolicy/seed#12 197s === RUN FuzzDecodePolicy/seed#13 197s === RUN FuzzDecodePolicy/seed#14 197s === RUN FuzzDecodePolicy/seed#15 197s === RUN FuzzDecodePolicy/seed#16 197s === RUN FuzzDecodePolicy/seed#17 197s === RUN FuzzDecodePolicy/seed#18 197s === RUN FuzzDecodePolicy/seed#19 197s === RUN FuzzDecodePolicy/seed#20 197s === RUN FuzzDecodePolicy/seed#21 197s === RUN FuzzDecodePolicy/seed#22 197s === RUN FuzzDecodePolicy/seed#23 197s === RUN FuzzDecodePolicy/seed#24 197s === RUN FuzzDecodePolicy/seed#25 197s === RUN FuzzDecodePolicy/seed#26 197s === RUN FuzzDecodePolicy/seed#27 197s === RUN FuzzDecodePolicy/seed#28 197s === RUN FuzzDecodePolicy/seed#29 197s === RUN FuzzDecodePolicy/seed#30 197s === RUN FuzzDecodePolicy/seed#31 197s === RUN FuzzDecodePolicy/seed#32 197s === RUN FuzzDecodePolicy/seed#33 197s === RUN FuzzDecodePolicy/seed#34 197s === RUN FuzzDecodePolicy/seed#35 197s === RUN FuzzDecodePolicy/seed#36 197s === RUN FuzzDecodePolicy/seed#37 197s === RUN FuzzDecodePolicy/seed#38 197s === RUN FuzzDecodePolicy/seed#39 197s === RUN FuzzDecodePolicy/seed#40 197s === RUN FuzzDecodePolicy/seed#41 197s === RUN FuzzDecodePolicy/seed#42 197s === RUN FuzzDecodePolicy/seed#43 197s === RUN FuzzDecodePolicy/seed#44 197s === RUN FuzzDecodePolicy/seed#45 197s === RUN FuzzDecodePolicy/seed#46 197s === RUN FuzzDecodePolicy/seed#47 197s === RUN FuzzDecodePolicy/seed#48 197s === RUN FuzzDecodePolicy/seed#49 197s === RUN FuzzDecodePolicy/seed#50 197s === RUN FuzzDecodePolicy/seed#51 197s === RUN FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 197s --- PASS: FuzzDecodePolicy (0.01s) 197s --- PASS: FuzzDecodePolicy/seed#0 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#1 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#2 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#3 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#4 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#5 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#6 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#7 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#8 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#9 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#10 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#11 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#12 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#13 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#14 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#15 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#16 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#17 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#18 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#19 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#20 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#21 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#22 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#23 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#24 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#25 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#26 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#27 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#28 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#29 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#30 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#31 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#32 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#33 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#34 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#35 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#36 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#37 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#38 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#39 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#40 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#41 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#42 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#43 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#44 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#45 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#46 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#47 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#48 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#49 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#50 (0.00s) 197s --- PASS: FuzzDecodePolicy/seed#51 (0.00s) 197s --- PASS: FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 (0.00s) 197s PASS 197s ok github.com/ubuntu/adsys/internal/ad/registry 0.027s 197s === RUN TestNew 197s === PAUSE TestNew 197s === CONT TestNew 197s === RUN TestNew/Adsys_directory_can_already_exists 197s === PAUSE TestNew/Adsys_directory_can_already_exists 197s === RUN TestNew/Unknown_backend_defaults_to_sssd 197s === PAUSE TestNew/Unknown_backend_defaults_to_sssd 197s === RUN TestNew/Select_sssd_backend_explicitly 197s === PAUSE TestNew/Select_sssd_backend_explicitly 197s === RUN TestNew/Error_on_failure_to_create_run_directory 197s === PAUSE TestNew/Error_on_failure_to_create_run_directory 197s === RUN TestNew/Error_on_failure_to_create_cache_directory 197s === PAUSE TestNew/Error_on_failure_to_create_cache_directory 197s === RUN TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 197s === PAUSE TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 197s === RUN TestNew/Select_winbind_backend_explicitly 197s === PAUSE TestNew/Select_winbind_backend_explicitly 197s === RUN TestNew/Error_on_nonexistent_sssd.conf 197s === PAUSE TestNew/Error_on_nonexistent_sssd.conf 197s === RUN TestNew/Error_on_ad.New_prevents_adsysservice_creation 197s === PAUSE TestNew/Error_on_ad.New_prevents_adsysservice_creation 197s === CONT TestNew/Adsys_directory_can_already_exists 197s === CONT TestNew/Error_on_ad.New_prevents_adsysservice_creation 197s === CONT TestNew/Error_on_nonexistent_sssd.conf 197s === CONT TestNew/Select_winbind_backend_explicitly 197s === CONT TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 197s time="2024-11-29T20:31:38Z" level=warning msg="could not get online status for domain \"example.com\": status code 6" 197s === CONT TestNew/Error_on_failure_to_create_cache_directory 197s === CONT TestNew/Error_on_failure_to_create_run_directory 197s === CONT TestNew/Select_sssd_backend_explicitly 197s === CONT TestNew/Unknown_backend_defaults_to_sssd 197s time="2024-11-29T20:31:38Z" level=warning msg="Unknown configured backend \"unknown-backend\". Defaulting to sssd." 197s --- PASS: TestNew (0.00s) 197s --- PASS: TestNew/Error_on_ad.New_prevents_adsysservice_creation (0.00s) 197s --- PASS: TestNew/Adsys_directory_can_already_exists (0.00s) 197s --- PASS: TestNew/Error_on_nonexistent_sssd.conf (0.00s) 197s --- PASS: TestNew/Select_winbind_backend_explicitly (0.00s) 197s --- PASS: TestNew/Error_on_failure_to_create_cache_directory (0.00s) 197s --- PASS: TestNew/Error_on_failure_to_create_run_directory (0.00s) 197s --- PASS: TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run (0.00s) 197s --- PASS: TestNew/Select_sssd_backend_explicitly (0.00s) 197s --- PASS: TestNew/Unknown_backend_defaults_to_sssd (0.00s) 197s PASS 197s ok github.com/ubuntu/adsys/internal/adsysservice 0.040s 197s ? github.com/ubuntu/adsys/internal/cmdhandler [no test files] 197s === RUN TestIsAllowed 197s === PAUSE TestIsAllowed 197s === RUN TestPeerCredsInfoAuthType 197s === PAUSE TestPeerCredsInfoAuthType 197s === RUN TestServerPeerCredsHandshake 197s === PAUSE TestServerPeerCredsHandshake 197s === RUN TestServerPeerCredsInvalidSocket 197s === PAUSE TestServerPeerCredsInvalidSocket 197s === RUN TestIsAllowedFromContext 197s === PAUSE TestIsAllowedFromContext 197s === RUN TestIsAllowedFromContextWithoutPeer 197s === PAUSE TestIsAllowedFromContextWithoutPeer 197s === RUN TestIsAllowedFromContextWithInvalidPeerCreds 197s === PAUSE TestIsAllowedFromContextWithInvalidPeerCreds 197s === RUN TestIsAllowedFromContextWithoutUserKey 197s === PAUSE TestIsAllowedFromContextWithoutUserKey 197s === CONT TestIsAllowed 197s === CONT TestIsAllowedFromContextWithoutUserKey 197s === RUN TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 197s === PAUSE TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 197s === RUN TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 197s === PAUSE TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 197s === RUN TestIsAllowed/Valid_process_and_ACK 197s === PAUSE TestIsAllowed/Valid_process_and_ACK 197s === RUN TestIsAllowed/Polkit_dbus_call_errors_out 197s === PAUSE TestIsAllowed/Polkit_dbus_call_errors_out 197s === RUN TestIsAllowed/Process_doesn't_exists 197s === PAUSE TestIsAllowed/Process_doesn't_exists 197s === RUN TestIsAllowed/Invalid_process_stat_file:_missing_) 197s === PAUSE TestIsAllowed/Invalid_process_stat_file:_missing_) 197s === RUN TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 197s === PAUSE TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 197s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 197s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 197s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 197s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 197s === RUN TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 197s === PAUSE TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 197s === RUN TestIsAllowed/Root_is_always_authorized 197s === PAUSE TestIsAllowed/Root_is_always_authorized 197s === RUN TestIsAllowed/Valid_process_and_NACK 197s === PAUSE TestIsAllowed/Valid_process_and_NACK 197s === CONT TestIsAllowedFromContextWithInvalidPeerCreds 197s --- PASS: TestIsAllowedFromContextWithoutUserKey (0.00s) 197s === CONT TestIsAllowedFromContextWithoutPeer 197s --- PASS: TestIsAllowedFromContextWithInvalidPeerCreds (0.00s) 197s === CONT TestIsAllowedFromContext 197s --- PASS: TestIsAllowedFromContextWithoutPeer (0.00s) 197s === CONT TestServerPeerCredsInvalidSocket 197s --- PASS: TestServerPeerCredsInvalidSocket (0.00s) 197s === CONT TestServerPeerCredsHandshake 197s --- PASS: TestServerPeerCredsHandshake (0.00s) 197s === CONT TestPeerCredsInfoAuthType 197s --- PASS: TestPeerCredsInfoAuthType (0.00s) 197s === CONT TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 197s === CONT TestIsAllowed/Valid_process_and_NACK 197s === CONT TestIsAllowed/Root_is_always_authorized 197s === CONT TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 197s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 197s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 197s === CONT TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 197s === CONT TestIsAllowed/Invalid_process_stat_file:_missing_) 197s === CONT TestIsAllowed/Process_doesn't_exists 197s === CONT TestIsAllowed/Polkit_dbus_call_errors_out 197s === CONT TestIsAllowed/Valid_process_and_ACK 197s === CONT TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 197s --- PASS: TestIsAllowed (0.00s) 197s --- PASS: TestIsAllowed/ActionAlwaysAllowed_is_always_allowed (0.00s) 197s --- PASS: TestIsAllowed/Valid_process_and_NACK (0.00s) 197s --- PASS: TestIsAllowed/Root_is_always_authorized (0.00s) 197s --- PASS: TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID (0.00s) 197s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int (0.00s) 197s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_present (0.00s) 197s --- PASS: TestIsAllowed/Invalid_process_stat_file:_)_at_the_end (0.00s) 197s --- PASS: TestIsAllowed/Invalid_process_stat_file:_missing_) (0.00s) 197s --- PASS: TestIsAllowed/Process_doesn't_exists (0.00s) 197s --- PASS: TestIsAllowed/Polkit_dbus_call_errors_out (0.00s) 197s --- PASS: TestIsAllowed/Valid_process_and_ACK (0.00s) 197s --- PASS: TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID (0.00s) 197s === RUN TestIsAllowedFromContext/Root_is_always_authorized 197s === PAUSE TestIsAllowedFromContext/Root_is_always_authorized 197s === RUN TestIsAllowedFromContext/Valid_process_and_ACK 197s === PAUSE TestIsAllowedFromContext/Valid_process_and_ACK 197s === RUN TestIsAllowedFromContext/Valid_process_and_NACK 197s === PAUSE TestIsAllowedFromContext/Valid_process_and_NACK 197s === RUN TestIsAllowedFromContext/Extract_current_user_action_from_request 197s === PAUSE TestIsAllowedFromContext/Extract_current_user_action_from_request 197s === RUN TestIsAllowedFromContext/Extract_other_user_action_from_request 197s === PAUSE TestIsAllowedFromContext/Extract_other_user_action_from_request 197s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 197s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 197s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 197s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 197s === CONT TestIsAllowedFromContext/Root_is_always_authorized 197s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 197s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 197s === CONT TestIsAllowedFromContext/Extract_other_user_action_from_request 197s === CONT TestIsAllowedFromContext/Extract_current_user_action_from_request 197s === CONT TestIsAllowedFromContext/Valid_process_and_NACK 197s === CONT TestIsAllowedFromContext/Valid_process_and_ACK 197s --- PASS: TestIsAllowedFromContext (0.00s) 197s --- PASS: TestIsAllowedFromContext/Root_is_always_authorized (0.00s) 197s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid (0.00s) 197s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error (0.00s) 197s --- PASS: TestIsAllowedFromContext/Extract_other_user_action_from_request (0.00s) 197s --- PASS: TestIsAllowedFromContext/Extract_current_user_action_from_request (0.00s) 197s --- PASS: TestIsAllowedFromContext/Valid_process_and_NACK (0.00s) 197s --- PASS: TestIsAllowedFromContext/Valid_process_and_ACK (0.00s) 197s PASS 197s ok github.com/ubuntu/adsys/internal/authorizer 0.010s 197s ? github.com/ubuntu/adsys/internal/consts [no test files] 201s ? github.com/ubuntu/adsys/internal/grpc/logstreamer/test [no test files] 206s ? github.com/ubuntu/adsys/internal/policies/entry [no test files] 207s === RUN TestSetVerboseMode 207s === RUN TestSetVerboseMode/Default_level_is_warning 207s === RUN TestSetVerboseMode/1_is_for_info 207s === RUN TestSetVerboseMode/2_is_for_debug 207s === RUN TestSetVerboseMode/3_is_debug_printing_callers 207s --- PASS: TestSetVerboseMode (0.00s) 207s --- PASS: TestSetVerboseMode/Default_level_is_warning (0.00s) 207s --- PASS: TestSetVerboseMode/1_is_for_info (0.00s) 207s --- PASS: TestSetVerboseMode/2_is_for_debug (0.00s) 207s --- PASS: TestSetVerboseMode/3_is_debug_printing_callers (0.00s) 207s === RUN TestInit 207s === RUN TestInit/Load_configuration,_no_file,_no_flag,_no_env 207s === RUN TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand 207s === RUN TestInit/Configuration_changed_directly 207s === RUN TestInit/Configuration_file_overwritten 207s === RUN TestInit/Env_has_precedence_over_configuration 207s === RUN TestInit/Error_on_config_flag_points_to_unexisting_path 207s === RUN TestInit/Load_configuration_from_executable_dir 207s === RUN TestInit/No_config_flag_set_before_Init_is_call_is_ignored 207s === RUN TestInit/Flag_is_supported 207s === RUN TestInit/Error_on_no_verbose_flag_set_before_Init_is_call 207s === RUN TestInit/Error_on_invalid_configuration_file 207s === RUN TestInit/Configuration_flag,_not_in_config_dir 207s === RUN TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand 207s === RUN TestInit/Environment_is_supported 207s === RUN TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account 207s === RUN TestInit/Flag_has_precedence_over_env 207s === RUN TestInit/Load_configuration_with_file 207s === RUN TestInit/Empty_configuration_file_is_supported 207s === RUN TestInit/Callback_in_error_on_refresh_only_prints_warning 207s time="2024-11-29T20:31:49Z" level=warning msg="Error while refreshing configuration: Error from callback" 207s === RUN TestInit/Configuration_flag_has_precedence_over_local_file 207s === RUN TestInit/Error_on_callback_returning_error_on_first_call 207s --- PASS: TestInit (10.10s) 207s --- PASS: TestInit/Load_configuration,_no_file,_no_flag,_no_env (0.02s) 207s --- PASS: TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand (0.00s) 207s --- PASS: TestInit/Configuration_changed_directly (2.01s) 207s --- PASS: TestInit/Configuration_file_overwritten (2.01s) 207s --- PASS: TestInit/Env_has_precedence_over_configuration (0.00s) 207s --- PASS: TestInit/Error_on_config_flag_points_to_unexisting_path (0.00s) 207s --- PASS: TestInit/Load_configuration_from_executable_dir (0.00s) 207s --- PASS: TestInit/No_config_flag_set_before_Init_is_call_is_ignored (0.00s) 207s --- PASS: TestInit/Flag_is_supported (0.00s) 207s --- PASS: TestInit/Error_on_no_verbose_flag_set_before_Init_is_call (0.00s) 207s --- PASS: TestInit/Error_on_invalid_configuration_file (0.00s) 207s --- PASS: TestInit/Configuration_flag,_not_in_config_dir (0.00s) 207s --- PASS: TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand (0.00s) 207s --- PASS: TestInit/Environment_is_supported (0.00s) 207s --- PASS: TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account (4.01s) 207s --- PASS: TestInit/Flag_has_precedence_over_env (0.01s) 207s --- PASS: TestInit/Load_configuration_with_file (0.00s) 207s --- PASS: TestInit/Empty_configuration_file_is_supported (0.00s) 207s --- PASS: TestInit/Callback_in_error_on_refresh_only_prints_warning (2.01s) 207s --- PASS: TestInit/Configuration_flag_has_precedence_over_local_file (0.00s) 207s --- PASS: TestInit/Error_on_callback_returning_error_on_first_call (0.00s) 207s === RUN TestLoadConfig 207s === PAUSE TestLoadConfig 207s === CONT TestLoadConfig 207s === RUN TestLoadConfig/Load_configuration_deserialize_its 207s === PAUSE TestLoadConfig/Load_configuration_deserialize_its 207s === RUN TestLoadConfig/Empty_configuration_is_supported 207s === PAUSE TestLoadConfig/Empty_configuration_is_supported 207s === CONT TestLoadConfig/Load_configuration_deserialize_its 207s === CONT TestLoadConfig/Empty_configuration_is_supported 207s --- PASS: TestLoadConfig (0.00s) 207s --- PASS: TestLoadConfig/Load_configuration_deserialize_its (0.00s) 207s --- PASS: TestLoadConfig/Empty_configuration_is_supported (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/config 10.122s 207s === RUN TestConfigFileFromArgs 207s === PAUSE TestConfigFileFromArgs 207s === RUN TestDirsFromConfigFile 207s === PAUSE TestDirsFromConfigFile 207s === RUN TestWriteConfig 207s === RUN TestWriteConfig/Error_on_empty_dirs 207s === RUN TestWriteConfig/With_relative_config_path 207s === RUN TestWriteConfig/With_nested_config_path 207s === RUN TestWriteConfig/Error_on_absent_dirs 207s --- PASS: TestWriteConfig (0.01s) 207s --- PASS: TestWriteConfig/Error_on_empty_dirs (0.00s) 207s --- PASS: TestWriteConfig/With_relative_config_path (0.01s) 207s --- PASS: TestWriteConfig/With_nested_config_path (0.00s) 207s --- PASS: TestWriteConfig/Error_on_absent_dirs (0.00s) 207s === CONT TestConfigFileFromArgs 207s === RUN TestConfigFileFromArgs/Error_on_no_config_argument 207s === PAUSE TestConfigFileFromArgs/Error_on_no_config_argument 207s === RUN TestConfigFileFromArgs/Error_on_config_argument_with_no_value 207s === PAUSE TestConfigFileFromArgs/Error_on_config_argument_with_no_value 207s === RUN TestConfigFileFromArgs/Short_config_argument 207s === PAUSE TestConfigFileFromArgs/Short_config_argument 207s === RUN TestConfigFileFromArgs/Short_config_argument_with_quotes 207s === PAUSE TestConfigFileFromArgs/Short_config_argument_with_quotes 207s === RUN TestConfigFileFromArgs/Error_on_empty_args 207s === PAUSE TestConfigFileFromArgs/Error_on_empty_args 207s === CONT TestConfigFileFromArgs/Error_on_no_config_argument 207s === CONT TestDirsFromConfigFile 207s === RUN TestDirsFromConfigFile/No_config_file 207s === PAUSE TestDirsFromConfigFile/No_config_file 207s === RUN TestDirsFromConfigFile/Empty_config_file 207s === PAUSE TestDirsFromConfigFile/Empty_config_file 207s === RUN TestDirsFromConfigFile/No_dirs_in_config_file 207s === PAUSE TestDirsFromConfigFile/No_dirs_in_config_file 207s === RUN TestDirsFromConfigFile/Config_dirs_is_not_an_array 207s === PAUSE TestDirsFromConfigFile/Config_dirs_is_not_an_array 207s === RUN TestDirsFromConfigFile/Config_dirs_is_an_array 207s === PAUSE TestDirsFromConfigFile/Config_dirs_is_an_array 207s === CONT TestConfigFileFromArgs/Short_config_argument_with_quotes 207s === CONT TestConfigFileFromArgs/Error_on_empty_args 207s === CONT TestConfigFileFromArgs/Short_config_argument 207s === CONT TestConfigFileFromArgs/Error_on_config_argument_with_no_value 207s === CONT TestDirsFromConfigFile/No_config_file 207s --- PASS: TestConfigFileFromArgs (0.00s) 207s --- PASS: TestConfigFileFromArgs/Error_on_no_config_argument (0.00s) 207s --- PASS: TestConfigFileFromArgs/Short_config_argument_with_quotes (0.00s) 207s --- PASS: TestConfigFileFromArgs/Error_on_empty_args (0.00s) 207s --- PASS: TestConfigFileFromArgs/Short_config_argument (0.00s) 207s --- PASS: TestConfigFileFromArgs/Error_on_config_argument_with_no_value (0.00s) 207s === CONT TestDirsFromConfigFile/Config_dirs_is_not_an_array 207s === CONT TestDirsFromConfigFile/No_dirs_in_config_file 207s === CONT TestDirsFromConfigFile/Empty_config_file 207s === CONT TestDirsFromConfigFile/Config_dirs_is_an_array 207s --- PASS: TestDirsFromConfigFile (0.00s) 207s --- PASS: TestDirsFromConfigFile/No_config_file (0.00s) 207s --- PASS: TestDirsFromConfigFile/Config_dirs_is_not_an_array (0.00s) 207s --- PASS: TestDirsFromConfigFile/No_dirs_in_config_file (0.00s) 207s --- PASS: TestDirsFromConfigFile/Empty_config_file (0.00s) 207s --- PASS: TestDirsFromConfigFile/Config_dirs_is_an_array (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/config/watchd 0.020s 208s === RUN TestStartStop 208s === PAUSE TestStartStop 208s === RUN TestStopBeforeServe 208s === PAUSE TestStopBeforeServe 208s === RUN TestChangeSocket 208s === PAUSE TestChangeSocket 208s === RUN TestSocketActivation 208s === PAUSE TestSocketActivation 208s === RUN TestUseSocketIgnoredWithSocketActivation 208s === PAUSE TestUseSocketIgnoredWithSocketActivation 208s === RUN TestSdNotifier 208s === PAUSE TestSdNotifier 208s === RUN TestFailingOption 208s === PAUSE TestFailingOption 208s === RUN TestCannotCreateSocket 208s === PAUSE TestCannotCreateSocket 208s === RUN TestServerStartListenTimeout 208s === PAUSE TestServerStartListenTimeout 208s === RUN TestServerDontTimeoutWithActiveRequest 208s === PAUSE TestServerDontTimeoutWithActiveRequest 208s === RUN TestServerDontTimeoutWithMultipleActiveRequests 208s === PAUSE TestServerDontTimeoutWithMultipleActiveRequests 208s === RUN TestServerChangeTimeout 208s === PAUSE TestServerChangeTimeout 208s === RUN TestServerDoubleQuit 208s === PAUSE TestServerDoubleQuit 208s === CONT TestStartStop 208s === CONT TestCannotCreateSocket 208s --- PASS: TestCannotCreateSocket (0.00s) 208s === CONT TestFailingOption 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestStartStop915015002/001/test.sock" 208s --- PASS: TestFailingOption (0.00s) 208s === CONT TestSdNotifier 208s === RUN TestSdNotifier/Sends_signal 208s === PAUSE TestSdNotifier/Sends_signal 208s === RUN TestSdNotifier/Doesn't_fail_when_not_under_systemd 208s === PAUSE TestSdNotifier/Doesn't_fail_when_not_under_systemd 208s === RUN TestSdNotifier/Error_when_notifier_fails 208s === PAUSE TestSdNotifier/Error_when_notifier_fails 208s === CONT TestUseSocketIgnoredWithSocketActivation 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestUseSocketIgnoredWithSocketActivation1095742263/001/socket" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s --- PASS: TestStartStop (0.01s) 208s === CONT TestSocketActivation 208s === RUN TestSocketActivation/Error_when_Listeners()_fails 208s === PAUSE TestSocketActivation/Error_when_Listeners()_fails 208s === RUN TestSocketActivation/Success_with_one_socket 208s === PAUSE TestSocketActivation/Success_with_one_socket 208s === RUN TestSocketActivation/Error_when_provided_with_many_sockets 208s === PAUSE TestSocketActivation/Error_when_provided_with_many_sockets 208s === CONT TestChangeSocket 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestChangeSocket970964432/001/test.sock" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s --- PASS: TestUseSocketIgnoredWithSocketActivation (0.02s) 208s === CONT TestStopBeforeServe 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s --- PASS: TestStopBeforeServe (0.00s) 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s === CONT TestServerDontTimeoutWithMultipleActiveRequests 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestChangeSocket970964432/001/test2.sock" 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithMultipleActiveRequests1555256131/001/test.sock" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s --- PASS: TestChangeSocket (0.02s) 208s === CONT TestServerDoubleQuit 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestServerDoubleQuit2610163848/001/test.sock" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s --- PASS: TestServerDoubleQuit (0.01s) 208s === CONT TestServerChangeTimeout 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestServerChangeTimeout2934026566/001/test.sock" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s --- PASS: TestServerChangeTimeout (0.05s) 208s === CONT TestServerDontTimeoutWithActiveRequest 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithActiveRequest2838423409/001/test.sock" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s --- PASS: TestServerDontTimeoutWithMultipleActiveRequests (0.11s) 208s === CONT TestServerStartListenTimeout 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestServerStartListenTimeout1556373547/001/test.sock" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s --- PASS: TestServerStartListenTimeout (0.01s) 208s === CONT TestSdNotifier/Sends_signal 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestSdNotifierSends_signal2335352180/001/socket" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s === CONT TestSdNotifier/Error_when_notifier_fails 208s === CONT TestSdNotifier/Doesn't_fail_when_not_under_systemd 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestSdNotifierDoesnt_fail_when_not_under_systemd1960802824/001/socket" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s --- PASS: TestSdNotifier (0.00s) 208s --- PASS: TestSdNotifier/Sends_signal (0.01s) 208s --- PASS: TestSdNotifier/Error_when_notifier_fails (0.00s) 208s --- PASS: TestSdNotifier/Doesn't_fail_when_not_under_systemd (0.01s) 208s === CONT TestSocketActivation/Error_when_Listeners()_fails 208s === CONT TestSocketActivation/Error_when_provided_with_many_sockets 208s === CONT TestSocketActivation/Success_with_one_socket 208s time="2024-11-29T20:31:40Z" level=info msg="Serving on /tmp/TestSocketActivationSuccess_with_one_socket2009353130/001/sock1" 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s time="2024-11-29T20:31:40Z" level=info msg="Wait for active requests to close." 208s --- PASS: TestSocketActivation (0.00s) 208s --- PASS: TestSocketActivation/Error_when_Listeners()_fails (0.00s) 208s --- PASS: TestSocketActivation/Error_when_provided_with_many_sockets (0.00s) 208s --- PASS: TestSocketActivation/Success_with_one_socket (0.01s) 208s time="2024-11-29T20:31:40Z" level=info msg="Stopping daemon requested." 208s --- PASS: TestServerDontTimeoutWithActiveRequest (0.11s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/daemon 0.208s 208s === RUN TestCleanDirectory 208s === PAUSE TestCleanDirectory 208s === RUN TestCleanDirectoryNoDirectoryExists 208s === PAUSE TestCleanDirectoryNoDirectoryExists 208s === RUN TestCleanDirectoryCantRemoveDirectory 208s === PAUSE TestCleanDirectoryCantRemoveDirectory 208s === RUN TestInstallOnlyMode 208s --- PASS: TestInstallOnlyMode (0.00s) 208s === RUN TestDestDirectory 208s --- PASS: TestDestDirectory (0.00s) 208s === CONT TestCleanDirectory 208s === CONT TestCleanDirectoryCantRemoveDirectory 208s --- PASS: TestCleanDirectoryCantRemoveDirectory (0.00s) 208s === CONT TestCleanDirectoryNoDirectoryExists 208s --- PASS: TestCleanDirectory (0.00s) 208s --- PASS: TestCleanDirectoryNoDirectoryExists (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/generators 0.003s 208s === RUN TestNoNotification 208s === PAUSE TestNoNotification 208s === RUN TestNewConnectionNotification 208s === PAUSE TestNewConnectionNotification 208s === RUN TestDoneConnectionNotification 208s === PAUSE TestDoneConnectionNotification 208s === RUN TestErrorFromHandlerReturned 208s === PAUSE TestErrorFromHandlerReturned 208s === RUN TestErrorOnNilStream 208s === PAUSE TestErrorOnNilStream 208s === CONT TestNoNotification 208s === CONT TestErrorFromHandlerReturned 208s === CONT TestNewConnectionNotification 208s === CONT TestErrorOnNilStream 208s --- PASS: TestNoNotification (0.00s) 208s === CONT TestDoneConnectionNotification 208s --- PASS: TestDoneConnectionNotification (0.00s) 208s --- PASS: TestErrorFromHandlerReturned (0.00s) 208s --- PASS: TestNewConnectionNotification (0.00s) 208s --- PASS: TestErrorOnNilStream (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/grpc/connectionnotify 0.003s 208s === RUN TestActiveConnection 208s === PAUSE TestActiveConnection 208s === RUN TestTimeoutOnInactiveConnection 208s === PAUSE TestTimeoutOnInactiveConnection 208s === RUN TestCancelOnClientSide 208s === PAUSE TestCancelOnClientSide 208s === RUN TestClientInterceptorFailed 208s === PAUSE TestClientInterceptorFailed 208s === RUN TestRecvMessageError 208s === PAUSE TestRecvMessageError 208s === CONT TestActiveConnection 208s === CONT TestRecvMessageError 208s --- PASS: TestRecvMessageError (0.00s) 208s === CONT TestClientInterceptorFailed 208s --- PASS: TestClientInterceptorFailed (0.00s) 208s === CONT TestCancelOnClientSide 208s --- PASS: TestCancelOnClientSide (0.00s) 208s === CONT TestTimeoutOnInactiveConnection 208s --- PASS: TestTimeoutOnInactiveConnection (0.05s) 208s --- PASS: TestActiveConnection (0.15s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/grpc/contextidler 0.155s 208s === RUN TestFormat 208s === PAUSE TestFormat 208s === CONT TestFormat 208s === RUN TestFormat/Nil_returns_nil 208s === PAUSE TestFormat/Nil_returns_nil 208s === RUN TestFormat/Non_GRPC_errors_are_returned_as_is 208s === PAUSE TestFormat/Non_GRPC_errors_are_returned_as_is 208s === RUN TestFormat/GRPC_Unavailable_errors_prints_daemon_name 208s === PAUSE TestFormat/GRPC_Unavailable_errors_prints_daemon_name 208s === RUN TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 208s === PAUSE TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 208s === RUN TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 208s === PAUSE TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 208s === RUN TestFormat/GRPC_Random_errors_prints_status_and_message 208s === PAUSE TestFormat/GRPC_Random_errors_prints_status_and_message 208s === CONT TestFormat/Nil_returns_nil 208s === CONT TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 208s === CONT TestFormat/GRPC_Unavailable_errors_prints_daemon_name 208s === CONT TestFormat/Non_GRPC_errors_are_returned_as_is 208s === CONT TestFormat/GRPC_Random_errors_prints_status_and_message 208s === CONT TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 208s --- PASS: TestFormat (0.00s) 208s --- PASS: TestFormat/Nil_returns_nil (0.00s) 208s --- PASS: TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message (0.00s) 208s --- PASS: TestFormat/Non_GRPC_errors_are_returned_as_is (0.00s) 208s --- PASS: TestFormat/GRPC_Unavailable_errors_prints_daemon_name (0.00s) 208s --- PASS: TestFormat/GRPC_Random_errors_prints_status_and_message (0.00s) 208s --- PASS: TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/grpc/grpcerror 0.003s 208s === RUN TestStreamServer 208s === PAUSE TestStreamServer 208s === RUN TestStreamClient 208s === PAUSE TestStreamClient 208s === CONT TestStreamServer 208s --- PASS: TestStreamServer (0.00s) 208s === CONT TestStreamClient 208s --- PASS: TestStreamClient (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/grpc/interceptorschain 0.003s 208s === RUN TestChildRecvMsgAndHandlerCalled 208s === PAUSE TestChildRecvMsgAndHandlerCalled 208s === CONT TestChildRecvMsgAndHandlerCalled 208s === RUN TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 208s === PAUSE TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 208s === RUN TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 208s === PAUSE TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 208s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 208s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 208s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 208s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 208s === CONT TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 208s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 208s === CONT TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 208s time="2024-11-29T20:31:43Z" level=info msg="Error sent to client: Failing handler" 208s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 208s --- PASS: TestChildRecvMsgAndHandlerCalled (0.00s) 208s --- PASS: TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called (0.00s) 208s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out (0.00s) 208s --- PASS: TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact (0.00s) 208s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/grpc/logconnections 0.003s 208s === RUN TestRecvLogMsg 208s === PAUSE TestRecvLogMsg 208s === RUN TestAddStreamToForwardLocalLogs 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:265783]]" 208s time="2024-11-29T20:31:43Z" level=warning msg=something 208s --- PASS: TestAddStreamToForwardLocalLogs (0.00s) 208s === RUN TestAddStreamToForwardOtherStream 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:623930]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:859226]]" 208s --- PASS: TestAddStreamToForwardOtherStream (0.00s) 208s === RUN TestAddStreamToForwardAfterClientIsConnected 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:135090]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:977613]]" 208s --- PASS: TestAddStreamToForwardAfterClientIsConnected (0.00s) 208s === RUN TestAddStreamToForwardDisconnect 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:916576]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:259092]]" 208s --- PASS: TestAddStreamToForwardDisconnect (0.00s) 208s === RUN TestAddStreamToForwardTwoClients 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:322125]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:842595]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:307108]]" 208s --- PASS: TestAddStreamToForwardTwoClients (0.00s) 208s === RUN TestAddStreamToForwardWithListenerCaller 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:478013]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:461794]]" 208s --- PASS: TestAddStreamToForwardWithListenerCaller (0.00s) 208s === RUN TestAddStreamMultipleForwarders 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:243138]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:912790]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:803179]]" 208s --- PASS: TestAddStreamMultipleForwarders (0.00s) 208s === RUN TestAddStreamMultipleForwardersOneWithCaller 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:452265]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:083125]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:815818]]" 208s --- PASS: TestAddStreamMultipleForwardersOneWithCaller (0.00s) 208s === RUN TestAddStreamToForwardFailSend 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:331811]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:064319]]" 208s time="2024-11-29T20:31:43Z" level=warning msg="Couldn't send log to one or more listener: SendMsg failed" 208s --- PASS: TestAddStreamToForwardFailSend (0.00s) 208s === RUN TestRemoveAllStreams 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:736908]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:199536]]" 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:092669]]" 208s time="2024-11-29T20:31:43Z" level=warning msg="[[123456:092669]] else" 208s --- PASS: TestRemoveAllStreams (0.00s) 208s === RUN TestLogWarningOnly 208s === PAUSE TestLogWarningOnly 208s === RUN TestMultipleLogs 208s === PAUSE TestMultipleLogs 208s === RUN TestAllLogLevels 208s === PAUSE TestAllLogLevels 208s === RUN TestDebugSentToRemoteEvenIfLocalIsWarning 208s === PAUSE TestDebugSentToRemoteEvenIfLocalIsWarning 208s === RUN TestLogWarningWithLocalCaller 208s === PAUSE TestLogWarningWithLocalCaller 208s === RUN TestLogWarningWithRemoteCaller 208s === PAUSE TestLogWarningWithRemoteCaller 208s === RUN TestLogWithNoCaller 208s === PAUSE TestLogWithNoCaller 208s === RUN TestSetReportCaller 208s === RUN TestSetReportCaller/Report_caller 208s === RUN TestSetReportCaller/Disable_caller 208s --- PASS: TestSetReportCaller (0.00s) 208s --- PASS: TestSetReportCaller/Report_caller (0.00s) 208s --- PASS: TestSetReportCaller/Disable_caller (0.00s) 208s === RUN TestLogSendingFail 208s === PAUSE TestLogSendingFail 208s === RUN TestLogStreamsAreSeparated 208s === PAUSE TestLogStreamsAreSeparated 208s === RUN TestLogAddHook 208s time="2024-11-29T20:31:43Z" level=info 208s --- PASS: TestLogAddHook (0.00s) 208s === RUN TestStreamServerInterceptor 208s === PAUSE TestStreamServerInterceptor 208s === RUN TestStreamServerInterceptorSendLogsFails 208s === PAUSE TestStreamServerInterceptorSendLogsFails 208s === RUN TestStreamServerInterceptorLoggerInvalidMetadata 208s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata 208s === CONT TestRecvLogMsg 208s === RUN TestRecvLogMsg/Two_logs_with_different_debug_level 208s === PAUSE TestRecvLogMsg/Two_logs_with_different_debug_level 208s === RUN TestRecvLogMsg/Log_with_caller 208s === PAUSE TestRecvLogMsg/Log_with_caller 208s === RUN TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 208s === PAUSE TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 208s === RUN TestRecvLogMsg/No_caller_on_any_logs 208s === PAUSE TestRecvLogMsg/No_caller_on_any_logs 208s === RUN TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 208s === PAUSE TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 208s === RUN TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 208s === PAUSE TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 208s === RUN TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 208s === PAUSE TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 208s === RUN TestRecvLogMsg/One_message,_no_log 208s === PAUSE TestRecvLogMsg/One_message,_no_log 208s === RUN TestRecvLogMsg/One_log_(and_one_closing_empty_message) 208s === PAUSE TestRecvLogMsg/One_log_(and_one_closing_empty_message) 208s === RUN TestRecvLogMsg/No_caller_when_not_requested 208s === PAUSE TestRecvLogMsg/No_caller_when_not_requested 208s === CONT TestRecvLogMsg/Two_logs_with_different_debug_level 208s === CONT TestStreamServerInterceptorLoggerInvalidMetadata 208s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 208s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 208s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 208s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 208s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 208s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 208s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 208s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 208s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 208s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 208s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 208s === CONT TestStreamServerInterceptorSendLogsFails 208s time="2024-11-29T20:31:43Z" level=warning msg="[[123456:521590]] Couldn't send initial connection log to client" 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:521590]]" 208s --- PASS: TestStreamServerInterceptorSendLogsFails (0.00s) 208s === CONT TestStreamServerInterceptor 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:264419]]" 208s --- PASS: TestStreamServerInterceptor (0.00s) 208s === CONT TestLogStreamsAreSeparated 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:314093]]" 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:644317]]" 208s --- PASS: TestLogStreamsAreSeparated (0.00s) 208s === CONT TestLogSendingFail 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:235149]]" 208s --- PASS: TestLogSendingFail (0.00s) 208s === CONT TestLogWithNoCaller 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:975591]]" 208s --- PASS: TestLogWithNoCaller (0.00s) 208s === CONT TestLogWarningWithRemoteCaller 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:939902]]" 208s --- PASS: TestLogWarningWithRemoteCaller (0.00s) 208s === CONT TestLogWarningWithLocalCaller 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:771526]]" 208s --- PASS: TestLogWarningWithLocalCaller (0.00s) 208s === CONT TestDebugSentToRemoteEvenIfLocalIsWarning 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:412968]]" 208s --- PASS: TestDebugSentToRemoteEvenIfLocalIsWarning (0.00s) 208s === CONT TestAllLogLevels 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:568676]]" 208s --- PASS: TestAllLogLevels (0.00s) 208s === CONT TestMultipleLogs 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:047081]]" 208s --- PASS: TestMultipleLogs (0.00s) 208s === CONT TestLogWarningOnly 208s Failed to fire hook: hook fired 208s time="2024-11-29T20:31:43Z" level=info msg="New connection from client [[123456:932606]]" 208s --- PASS: TestLogWarningOnly (0.00s) 208s === CONT TestRecvLogMsg/No_caller_when_not_requested 208s === CONT TestRecvLogMsg/One_log_(and_one_closing_empty_message) 208s === CONT TestRecvLogMsg/One_message,_no_log 208s === CONT TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 208s === CONT TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 208s === CONT TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 208s === CONT TestRecvLogMsg/No_caller_on_any_logs 208s === CONT TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 208s === CONT TestRecvLogMsg/Log_with_caller 208s --- PASS: TestRecvLogMsg (0.00s) 208s --- PASS: TestRecvLogMsg/Two_logs_with_different_debug_level (0.00s) 208s --- PASS: TestRecvLogMsg/No_caller_when_not_requested (0.00s) 208s --- PASS: TestRecvLogMsg/One_log_(and_one_closing_empty_message) (0.00s) 208s --- PASS: TestRecvLogMsg/One_message,_no_log (0.00s) 208s --- PASS: TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped (0.00s) 208s --- PASS: TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) (0.00s) 208s --- PASS: TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved (0.00s) 208s --- PASS: TestRecvLogMsg/No_caller_on_any_logs (0.00s) 208s --- PASS: TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved (0.00s) 208s --- PASS: TestRecvLogMsg/Log_with_caller (0.00s) 208s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 208s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 208s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 208s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 208s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata (0.00s) 208s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent (0.00s) 208s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas (0.00s) 208s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean (0.00s) 208s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key (0.00s) 208s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/grpc/logstreamer 0.008s 208s === RUN TestEventLogHook 208s === RUN TestEventLogHook/error_level 208s time="2024-11-29T20:31:43Z" level=error msg="Error msg" 208s === RUN TestEventLogHook/warn_level 208s time="2024-11-29T20:31:43Z" level=warning msg="Warning msg" 208s time="2024-11-29T20:31:43Z" level=error msg="Error msg" 208s === RUN TestEventLogHook/info_level 208s time="2024-11-29T20:31:43Z" level=info msg="Info msg" 208s time="2024-11-29T20:31:43Z" level=warning msg="Warning msg" 208s time="2024-11-29T20:31:43Z" level=error msg="Error msg" 208s === RUN TestEventLogHook/debug_level 208s time="2024-11-29T20:31:43Z" level=debug msg="Debug msg" 208s time="2024-11-29T20:31:43Z" level=info msg="Info msg" 208s time="2024-11-29T20:31:43Z" level=warning msg="Warning msg" 208s time="2024-11-29T20:31:43Z" level=error msg="Error msg" 208s --- PASS: TestEventLogHook (0.00s) 208s --- PASS: TestEventLogHook/error_level (0.00s) 208s --- PASS: TestEventLogHook/warn_level (0.00s) 208s --- PASS: TestEventLogHook/info_level (0.00s) 208s --- PASS: TestEventLogHook/debug_level (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/loghooks 0.002s 208s === RUN TestFormat 208s === PAUSE TestFormat 208s === RUN TestApplyPolicies 208s === RUN TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error 208s === RUN TestApplyPolicies/Error_when_applying_dconf_policy 208s === RUN TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended 208s time="2024-11-29T20:31:44Z" level=info msg="Unloading policies for hostname (machine: true)" 208s time="2024-11-29T20:31:44Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_rules_dont_remove_scripts_if_session_hasnt_ended3731348784/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 208s === RUN TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content 208s time="2024-11-29T20:31:44Z" level=info msg="Applying policies for hostname (machine: true)" 208s time="2024-11-29T20:31:44Z" 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" 208s === RUN TestApplyPolicies/Error_when_applying_mount_policy 208s === RUN TestApplyPolicies/Error_when_applying_proxy_policy 208s === RUN TestApplyPolicies/Second_call_with_no_rules_deletes_everything 208s time="2024-11-29T20:31:44Z" level=info msg="Unloading policies for hostname (machine: true)" 208s === RUN TestApplyPolicies/Error_when_applying_scripts_policy 208s === RUN TestApplyPolicies/Error_when_applying_apparmor_policy 208s === RUN TestApplyPolicies/Error_when_applying_certificate_policy 208s === RUN TestApplyPolicies/Succeed 208s === RUN TestApplyPolicies/No_subscription_is_only_dconf_content 208s === RUN TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended 208s time="2024-11-29T20:31:44Z" level=info msg="Applying policies for hostname (machine: true)" 208s time="2024-11-29T20:31:44Z" 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" 208s time="2024-11-29T20:31:44Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_subscription_dont_remove_scripts_if_session_hasnt_ended1079392574/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 208s === RUN TestApplyPolicies/Error_when_applying_privilege_policy 208s --- PASS: TestApplyPolicies (0.09s) 208s --- PASS: TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error (0.01s) 208s --- PASS: TestApplyPolicies/Error_when_applying_dconf_policy (0.00s) 208s --- PASS: TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended (0.01s) 208s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content (0.01s) 208s --- PASS: TestApplyPolicies/Error_when_applying_mount_policy (0.01s) 208s --- PASS: TestApplyPolicies/Error_when_applying_proxy_policy (0.01s) 208s --- PASS: TestApplyPolicies/Second_call_with_no_rules_deletes_everything (0.01s) 208s --- PASS: TestApplyPolicies/Error_when_applying_scripts_policy (0.00s) 208s --- PASS: TestApplyPolicies/Error_when_applying_apparmor_policy (0.00s) 208s --- PASS: TestApplyPolicies/Error_when_applying_certificate_policy (0.00s) 208s --- PASS: TestApplyPolicies/Succeed (0.01s) 208s --- PASS: TestApplyPolicies/No_subscription_is_only_dconf_content (0.00s) 208s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended (0.01s) 208s --- PASS: TestApplyPolicies/Error_when_applying_privilege_policy (0.01s) 208s === RUN TestDumpPolicies 208s === PAUSE TestDumpPolicies 208s === RUN TestLastUpdateFor 208s === PAUSE TestLastUpdateFor 208s === RUN TestGetSubscriptionState 208s === RUN TestGetSubscriptionState/Returns_enablement_status_(enabled) 208s === RUN TestGetSubscriptionState/Returns_enablement_status_(disabled) 208s --- PASS: TestGetSubscriptionState (0.00s) 208s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(enabled) (0.00s) 208s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(disabled) (0.00s) 208s === RUN TestNew 208s === PAUSE TestNew 208s === RUN TestNewFromCache 208s === PAUSE TestNewFromCache 208s === RUN TestSave 208s === PAUSE TestSave 208s === RUN TestCachePolicies 208s === PAUSE TestCachePolicies 208s === RUN TestSaveAssetsTo 208s === PAUSE TestSaveAssetsTo 208s === RUN TestCompressAssets 208s === PAUSE TestCompressAssets 208s === RUN TestGetUniqueRules 208s === PAUSE TestGetUniqueRules 208s === CONT TestFormat 208s === RUN TestFormat/GPO_with_rules,_override_hidden 208s === PAUSE TestFormat/GPO_with_rules,_override_hidden 208s === RUN TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 208s === PAUSE TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 208s === RUN TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 208s === PAUSE TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 208s === RUN TestFormat/GPO_summary 208s === PAUSE TestFormat/GPO_summary 208s === RUN TestFormat/GPO_with_rules 208s === CONT TestSave 208s === RUN TestSave/With_assets 208s === PAUSE TestSave/With_assets 208s === RUN TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 208s === PAUSE TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 208s === RUN TestSave/Save_assets_on_existing_opened_file_does_not_segfault 208s === PAUSE TestSave/Save_assets_on_existing_opened_file_does_not_segfault 208s === RUN TestSave/Error_on_can’t_write_to_policies_base_dir 208s === PAUSE TestSave/Error_on_can’t_write_to_policies_base_dir 208s === RUN TestSave/Error_on_can’t_write_to_dest_dir 208s === PAUSE TestSave/Error_on_can’t_write_to_dest_dir 208s === RUN TestSave/Error_on_can’t_remove_existing_assets 208s === PAUSE TestSave/Error_on_can’t_remove_existing_assets 208s === RUN TestSave/gpos_only 208s === PAUSE TestSave/gpos_only 208s === RUN TestSave/Existing_policies_cache_is_refreshed 208s === PAUSE TestSave/Existing_policies_cache_is_refreshed 208s === RUN TestSave/Existing_assets_cache_is_refreshed 208s === PAUSE TestSave/Existing_assets_cache_is_refreshed 208s === RUN TestSave/Destdir_does_not_exists 208s === PAUSE TestSave/Destdir_does_not_exists 208s === RUN TestSave/Can_refresh_on_existing_read_only_asset_file 208s === PAUSE TestSave/Can_refresh_on_existing_read_only_asset_file 208s === CONT TestGetUniqueRules 208s === RUN TestGetUniqueRules/Two_policies,_with_overrides 208s === PAUSE TestGetUniqueRules/Two_policies,_with_overrides 208s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 208s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 208s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 208s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 208s === RUN TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 208s === PAUSE TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 208s === RUN TestGetUniqueRules/Multiple_domains,_same_GPOs 208s === PAUSE TestGetUniqueRules/Multiple_domains,_same_GPOs 208s === RUN TestGetUniqueRules/Order_key_ascii 208s === PAUSE TestGetUniqueRules/Order_key_ascii 208s === RUN TestGetUniqueRules/Two_policies,_no_overrides 208s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides 208s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 208s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 208s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 208s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 208s === RUN TestGetUniqueRules/One_GPO 208s === PAUSE TestGetUniqueRules/One_GPO 208s === RUN TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 208s === PAUSE TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 208s === RUN TestGetUniqueRules/Two_policies,_with_reversed_overrides 208s === PAUSE TestGetUniqueRules/Two_policies,_with_reversed_overrides 208s === RUN TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 208s === PAUSE TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 208s === RUN TestGetUniqueRules/Disabled_value_is_overridden 208s === PAUSE TestGetUniqueRules/Disabled_value_is_overridden 208s === RUN TestGetUniqueRules/More_policies,_with_multiple_overrides 208s === PAUSE TestGetUniqueRules/More_policies,_with_multiple_overrides 208s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO 208s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO 208s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 208s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 208s === RUN TestGetUniqueRules/Multiple_domains,_different_GPOs 208s === PAUSE TestGetUniqueRules/Multiple_domains,_different_GPOs 208s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 208s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 208s === RUN TestGetUniqueRules/Two_policies,_no_overrides,_reversed 208s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides,_reversed 208s === CONT TestCompressAssets 208s === RUN TestCompressAssets/No_db 208s === PAUSE TestCompressAssets/No_db 208s === RUN TestCompressAssets/Existing_db 208s === PAUSE TestCompressAssets/Existing_db 208s === RUN TestCompressAssets/Error_on_can’t_remove_existing_db 208s === PAUSE TestCompressAssets/Error_on_can’t_remove_existing_db 208s === RUN TestCompressAssets/Error_on_non_existing_directory 208s === PAUSE TestCompressAssets/Error_on_non_existing_directory 208s === CONT TestSaveAssetsTo 208s === RUN TestSaveAssetsTo/File 208s === PAUSE TestSaveAssetsTo/File 208s === RUN TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 208s === PAUSE TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 208s === RUN TestSaveAssetsTo/Error_on_read_only_dest 208s === PAUSE TestSaveAssetsTo/Error_on_read_only_dest 208s === RUN TestSaveAssetsTo/Error_on_can't_chown_to_user 208s === PAUSE TestSaveAssetsTo/Error_on_can't_chown_to_user 208s === RUN TestSaveAssetsTo/Chown_directories_and_files_when_requested 208s === PAUSE TestSaveAssetsTo/Chown_directories_and_files_when_requested 208s === RUN TestSaveAssetsTo/Sub_directory 208s === PAUSE TestSaveAssetsTo/Sub_directory 208s === RUN TestSaveAssetsTo/Sub_directory_ending_with_slash 208s === PAUSE TestSaveAssetsTo/Sub_directory_ending_with_slash 208s === RUN TestSaveAssetsTo/Error_on_no_assets 208s === PAUSE TestSaveAssetsTo/Error_on_no_assets 208s === RUN TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 208s === PAUSE TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 208s === RUN TestSaveAssetsTo/Error_on_dest_already_exists 208s === PAUSE TestSaveAssetsTo/Error_on_dest_already_exists 208s === RUN TestSaveAssetsTo/All 208s === PAUSE TestSaveAssetsTo/All 208s === RUN TestSaveAssetsTo/Error_on_empty_relSrc 208s === PAUSE TestSaveAssetsTo/Error_on_empty_relSrc 208s === CONT TestCachePolicies 208s === PAUSE TestFormat/GPO_with_rules 208s === RUN TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 208s === PAUSE TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 208s --- PASS: TestCachePolicies (0.00s) 208s === CONT TestNew 208s === RUN TestNew/No_gpos 208s === PAUSE TestNew/No_gpos 208s === RUN TestNew/Error_on_invalid_assets_db 208s === PAUSE TestNew/Error_on_invalid_assets_db 208s === RUN TestNew/Error_on_assets_db_does_not_exists 208s === PAUSE TestNew/Error_on_assets_db_does_not_exists 208s === RUN TestNew/gpos_only 208s === PAUSE TestNew/gpos_only 208s === RUN TestNew/With_assets 208s === PAUSE TestNew/With_assets 208s === CONT TestNewFromCache 208s === RUN TestNewFromCache/Error_on_invalid_policies_cache 208s === PAUSE TestNewFromCache/Error_on_invalid_policies_cache 208s === RUN TestNewFromCache/Error_on_invalid_assets_db 208s === PAUSE TestNewFromCache/Error_on_invalid_assets_db 208s === RUN TestNewFromCache/Error_on_no_policies_cache 208s === PAUSE TestNewFromCache/Error_on_no_policies_cache 208s === RUN TestNewFromCache/gpos_only 208s === PAUSE TestNewFromCache/gpos_only 208s === RUN TestNewFromCache/With_assets 208s === PAUSE TestNewFromCache/With_assets 208s === CONT TestLastUpdateFor 208s === RUN TestLastUpdateFor/Returns_machine's_last_update_time 208s === PAUSE TestLastUpdateFor/Returns_machine's_last_update_time 208s === RUN TestLastUpdateFor/Returns_user's_last_update_time 208s === PAUSE TestLastUpdateFor/Returns_user's_last_update_time 208s === RUN TestLastUpdateFor/Target_is_ignored_for_machine_request 208s === PAUSE TestLastUpdateFor/Target_is_ignored_for_machine_request 208s === RUN TestLastUpdateFor/Error_when_target_does_not_exist 208s === PAUSE TestLastUpdateFor/Error_when_target_does_not_exist 208s === CONT TestDumpPolicies 208s === RUN TestDumpPolicies/One_GPO_with_rules 208s === PAUSE TestDumpPolicies/One_GPO_with_rules 208s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 208s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 208s === RUN TestDumpPolicies/Error_on_missing_target_cache 208s === PAUSE TestDumpPolicies/Error_on_missing_target_cache 208s === RUN TestDumpPolicies/One_GPO_User_+_Machine 208s === PAUSE TestDumpPolicies/One_GPO_User_+_Machine 208s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 208s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 208s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 208s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 208s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 208s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 208s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 208s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 208s === RUN TestDumpPolicies/One_GPO_Machine 208s === PAUSE TestDumpPolicies/One_GPO_Machine 208s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 208s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 208s === RUN TestDumpPolicies/Same_GPO_Machine_and_User 208s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User 208s === RUN TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 208s === PAUSE TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 208s === RUN TestDumpPolicies/One_GPO_User 208s === PAUSE TestDumpPolicies/One_GPO_User 208s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 208s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 208s === RUN TestDumpPolicies/Machine_only_GPO_with_rules 208s === PAUSE TestDumpPolicies/Machine_only_GPO_with_rules 208s === RUN TestDumpPolicies/Multiple_GPOs 208s === PAUSE TestDumpPolicies/Multiple_GPOs 208s === CONT TestSave/With_assets 208s === CONT TestGetUniqueRules/Two_policies,_with_overrides 208s === CONT TestSave/Can_refresh_on_existing_read_only_asset_file 208s === CONT TestSave/Destdir_does_not_exists 208s === RUN TestFormat/GPO_with_rules,_appending_to_existing_treated_key 208s === PAUSE TestFormat/GPO_with_rules,_appending_to_existing_treated_key 208s === RUN TestFormat/GPO_with_rules,_override_displayed 208s === PAUSE TestFormat/GPO_with_rules,_override_displayed 208s === RUN TestFormat/GPO_with_rules,_override_disabled_key 208s === PAUSE TestFormat/GPO_with_rules,_override_disabled_key 208s === CONT TestSave/Existing_assets_cache_is_refreshed 208s === CONT TestSave/Existing_policies_cache_is_refreshed 208s === CONT TestSave/gpos_only 208s === CONT TestSave/Error_on_can’t_remove_existing_assets 208s === CONT TestSave/Error_on_can’t_write_to_dest_dir 208s === CONT TestSave/Error_on_can’t_write_to_policies_base_dir 208s === CONT TestSave/Save_assets_on_existing_opened_file_does_not_segfault 208s === CONT TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 208s === CONT TestCompressAssets/No_db 208s --- PASS: TestSave (0.00s) 208s --- PASS: TestSave/With_assets (0.00s) 208s --- PASS: TestSave/Can_refresh_on_existing_read_only_asset_file (0.00s) 208s --- PASS: TestSave/Destdir_does_not_exists (0.00s) 208s --- PASS: TestSave/Existing_policies_cache_is_refreshed (0.00s) 208s --- PASS: TestSave/gpos_only (0.00s) 208s --- PASS: TestSave/Error_on_can’t_remove_existing_assets (0.00s) 208s --- PASS: TestSave/Error_on_can’t_write_to_dest_dir (0.00s) 208s --- PASS: TestSave/Existing_assets_cache_is_refreshed (0.00s) 208s --- PASS: TestSave/Error_on_can’t_write_to_policies_base_dir (0.00s) 208s --- PASS: TestSave/Existing_cache_with_assets,_new_cache_with_no_assets (0.00s) 208s --- PASS: TestSave/Save_assets_on_existing_opened_file_does_not_segfault (0.00s) 208s === CONT TestGetUniqueRules/Two_policies,_no_overrides,_reversed 208s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 208s === CONT TestGetUniqueRules/Multiple_domains,_different_GPOs 208s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 208s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO 208s === CONT TestGetUniqueRules/More_policies,_with_multiple_overrides 208s === CONT TestGetUniqueRules/Disabled_value_is_overridden 208s === CONT TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 208s === CONT TestGetUniqueRules/Two_policies,_with_reversed_overrides 208s === CONT TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 208s === CONT TestGetUniqueRules/One_GPO 208s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 208s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 208s === CONT TestGetUniqueRules/Two_policies,_no_overrides 208s === CONT TestGetUniqueRules/Order_key_ascii 208s === CONT TestGetUniqueRules/Multiple_domains,_same_GPOs 208s === CONT TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 208s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 208s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 208s --- PASS: TestGetUniqueRules (0.00s) 208s --- PASS: TestGetUniqueRules/Two_policies,_with_overrides (0.00s) 208s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides,_reversed (0.00s) 208s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second (0.00s) 208s --- PASS: TestGetUniqueRules/Multiple_domains,_different_GPOs (0.00s) 208s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override (0.00s) 208s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO (0.00s) 208s --- PASS: TestGetUniqueRules/More_policies,_with_multiple_overrides (0.00s) 208s --- PASS: TestGetUniqueRules/Disabled_value_is_overridden (0.00s) 208s --- PASS: TestGetUniqueRules/Disabled_value_overrides_non_disabled_one (0.00s) 208s --- PASS: TestGetUniqueRules/Two_policies,_with_reversed_overrides (0.00s) 208s --- PASS: TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated (0.00s) 208s --- PASS: TestGetUniqueRules/One_GPO (0.00s) 208s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored (0.00s) 208s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs (0.00s) 208s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides (0.00s) 208s --- PASS: TestGetUniqueRules/Order_key_ascii (0.00s) 208s --- PASS: TestGetUniqueRules/Multiple_domains,_same_GPOs (0.00s) 208s --- PASS: TestGetUniqueRules/Append_policy_entry,_closest_meta_wins (0.00s) 208s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first (0.00s) 208s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored (0.00s) 208s === CONT TestSaveAssetsTo/File 208s === CONT TestCompressAssets/Error_on_non_existing_directory 208s === CONT TestCompressAssets/Error_on_can’t_remove_existing_db 208s === CONT TestCompressAssets/Existing_db 208s === CONT TestNew/No_gpos 208s === CONT TestSaveAssetsTo/Error_on_empty_relSrc 208s === CONT TestSaveAssetsTo/All 208s === CONT TestSaveAssetsTo/Error_on_dest_already_exists 208s === CONT TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 208s === CONT TestSaveAssetsTo/Error_on_no_assets 208s --- PASS: TestCompressAssets (0.00s) 208s --- PASS: TestCompressAssets/Error_on_non_existing_directory (0.00s) 208s --- PASS: TestCompressAssets/Error_on_can’t_remove_existing_db (0.00s) 208s --- PASS: TestCompressAssets/Existing_db (0.01s) 208s --- PASS: TestCompressAssets/No_db (0.01s) 208s === CONT TestSaveAssetsTo/Sub_directory_ending_with_slash 208s === CONT TestSaveAssetsTo/Sub_directory 208s === CONT TestSaveAssetsTo/Chown_directories_and_files_when_requested 208s === CONT TestSaveAssetsTo/Error_on_can't_chown_to_user 208s === CONT TestSaveAssetsTo/Error_on_read_only_dest 208s === CONT TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 208s === CONT TestNewFromCache/Error_on_invalid_policies_cache 208s === CONT TestNew/With_assets 208s --- PASS: TestSaveAssetsTo (0.00s) 208s --- PASS: TestSaveAssetsTo/File (0.00s) 208s --- PASS: TestSaveAssetsTo/Error_on_empty_relSrc (0.00s) 208s --- PASS: TestSaveAssetsTo/All (0.00s) 208s --- PASS: TestSaveAssetsTo/Error_on_dest_already_exists (0.00s) 208s --- PASS: TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest (0.00s) 208s --- PASS: TestSaveAssetsTo/Error_on_no_assets (0.00s) 208s --- PASS: TestSaveAssetsTo/Sub_directory_ending_with_slash (0.00s) 208s --- PASS: TestSaveAssetsTo/Sub_directory (0.00s) 208s --- PASS: TestSaveAssetsTo/Chown_directories_and_files_when_requested (0.00s) 208s --- PASS: TestSaveAssetsTo/Error_on_read_only_dest (0.00s) 208s --- PASS: TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache (0.00s) 208s --- PASS: TestSaveAssetsTo/Error_on_can't_chown_to_user (0.00s) 208s === CONT TestNew/gpos_only 208s === CONT TestNew/Error_on_assets_db_does_not_exists 208s === CONT TestNew/Error_on_invalid_assets_db 208s === CONT TestNewFromCache/With_assets 208s --- PASS: TestNew (0.00s) 208s --- PASS: TestNew/No_gpos (0.00s) 208s --- PASS: TestNew/gpos_only (0.00s) 208s --- PASS: TestNew/Error_on_assets_db_does_not_exists (0.00s) 208s --- PASS: TestNew/Error_on_invalid_assets_db (0.00s) 208s --- PASS: TestNew/With_assets (0.00s) 208s === CONT TestNewFromCache/gpos_only 208s === CONT TestNewFromCache/Error_on_no_policies_cache 208s === CONT TestLastUpdateFor/Returns_machine's_last_update_time 208s === CONT TestNewFromCache/Error_on_invalid_assets_db 208s --- PASS: TestNewFromCache (0.00s) 208s --- PASS: TestNewFromCache/Error_on_invalid_policies_cache (0.00s) 208s --- PASS: TestNewFromCache/gpos_only (0.00s) 208s --- PASS: TestNewFromCache/With_assets (0.00s) 208s --- PASS: TestNewFromCache/Error_on_no_policies_cache (0.00s) 208s --- PASS: TestNewFromCache/Error_on_invalid_assets_db (0.00s) 208s === CONT TestLastUpdateFor/Error_when_target_does_not_exist 208s time="2024-11-29T20:31:45Z" level=info msg="Get policies last update time \"autopkgtest\" (machine: true)" 208s time="2024-11-29T20:31:45Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: false)" 208s === CONT TestLastUpdateFor/Target_is_ignored_for_machine_request 208s === CONT TestLastUpdateFor/Returns_user's_last_update_time 208s time="2024-11-29T20:31:45Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: true)" 208s === CONT TestDumpPolicies/One_GPO_with_rules 208s time="2024-11-29T20:31:45Z" level=info msg="Get policies last update time \"user\" (machine: false)" 208s --- PASS: TestLastUpdateFor (0.00s) 208s --- PASS: TestLastUpdateFor/Returns_machine's_last_update_time (0.10s) 208s --- PASS: TestLastUpdateFor/Error_when_target_does_not_exist (0.10s) 208s --- PASS: TestLastUpdateFor/Target_is_ignored_for_machine_request (0.10s) 208s --- PASS: TestLastUpdateFor/Returns_user's_last_update_time (0.10s) 208s === CONT TestDumpPolicies/Multiple_GPOs 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s === CONT TestDumpPolicies/Machine_only_GPO_with_rules 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for autopkgtest" 208s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 208s === CONT TestDumpPolicies/One_GPO_User 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s === CONT TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s === CONT TestDumpPolicies/Same_GPO_Machine_and_User 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 208s === CONT TestDumpPolicies/One_GPO_Machine 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for autopkgtest" 208s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 208s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s === CONT TestDumpPolicies/One_GPO_User_+_Machine 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s === CONT TestDumpPolicies/Error_on_missing_target_cache 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s time="2024-11-29T20:31:45Z" level=info msg="User \"user\" not found on cache." 208s time="2024-11-29T20:31:45Z" level=info msg="Dumping policies for user" 208s --- PASS: TestDumpPolicies (0.00s) 208s --- PASS: TestDumpPolicies/One_GPO_with_rules (0.00s) 208s --- PASS: TestDumpPolicies/Multiple_GPOs (0.00s) 208s --- PASS: TestDumpPolicies/Machine_only_GPO_with_rules (0.00s) 208s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_no_override (0.00s) 208s --- PASS: TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user (0.00s) 208s --- PASS: TestDumpPolicies/One_GPO_User (0.00s) 208s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User (0.00s) 208s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown (0.00s) 208s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides (0.00s) 208s --- PASS: TestDumpPolicies/One_GPO_Machine (0.00s) 208s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules (0.00s) 208s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden (0.00s) 208s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown (0.00s) 208s --- PASS: TestDumpPolicies/One_GPO_User_+_Machine (0.00s) 208s --- PASS: TestDumpPolicies/Error_on_missing_target_cache (0.00s) 208s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden (0.00s) 208s === CONT TestFormat/GPO_with_rules,_override_hidden 208s === CONT TestFormat/GPO_with_rules,_override_disabled_key 208s === CONT TestFormat/GPO_with_rules,_appending_to_existing_treated_key 208s === CONT TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 208s === CONT TestFormat/GPO_with_rules 208s === CONT TestFormat/GPO_summary 208s === CONT TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 208s === CONT TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 208s === CONT TestFormat/GPO_with_rules,_override_displayed 208s --- PASS: TestFormat (0.00s) 208s --- PASS: TestFormat/GPO_with_rules,_override_hidden (0.00s) 208s --- PASS: TestFormat/GPO_with_rules,_override_disabled_key (0.00s) 208s --- PASS: TestFormat/GPO_with_rules,_appending_to_existing_treated_key (0.00s) 208s --- PASS: TestFormat/GPO_with_rules_and_overrides,_no_rules_processed (0.00s) 208s --- PASS: TestFormat/GPO_with_rules (0.00s) 208s --- PASS: TestFormat/GPO_summary (0.00s) 208s --- PASS: TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override (0.00s) 208s --- PASS: TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules (0.00s) 208s --- PASS: TestFormat/GPO_with_rules,_override_displayed (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/policies 0.352s 208s === RUN TestApplyPolicy 208s === PAUSE TestApplyPolicy 208s === RUN TestMockApparmorParser 208s --- PASS: TestMockApparmorParser (0.00s) 208s === CONT TestApplyPolicy 208s === RUN TestApplyPolicy/Error_on_profile_being_a_directory 208s === PAUSE TestApplyPolicy/Error_on_profile_being_a_directory 208s === RUN TestApplyPolicy/Computer,_whitespace-only_value 208s === PAUSE TestApplyPolicy/Computer,_whitespace-only_value 208s === RUN TestApplyPolicy/User,_error_on_save_assets_failing 208s === PAUSE TestApplyPolicy/User,_error_on_save_assets_failing 208s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 208s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 208s === RUN TestApplyPolicy/Error_on_read-only_machine_directory 208s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory 208s === RUN TestApplyPolicy/Computer,_only_blank_profiles 208s === PAUSE TestApplyPolicy/Computer,_only_blank_profiles 208s === RUN TestApplyPolicy/Unexpected_entry_key 208s === PAUSE TestApplyPolicy/Unexpected_entry_key 208s === RUN TestApplyPolicy/Computer,_user_policies_are_unloaded 208s === PAUSE TestApplyPolicy/Computer,_user_policies_are_unloaded 208s === RUN TestApplyPolicy/Existing_.new_directory_is_removed 208s === PAUSE TestApplyPolicy/Existing_.new_directory_is_removed 208s === RUN TestApplyPolicy/No_profiles,_apparmor_directory_absent 208s === PAUSE TestApplyPolicy/No_profiles,_apparmor_directory_absent 208s === RUN TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 208s === PAUSE TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 208s === RUN TestApplyPolicy/Error_on_unloading_all_profiles_failing 208s === PAUSE TestApplyPolicy/Error_on_unloading_all_profiles_failing 208s === RUN TestApplyPolicy/Error_on_read-only_.new_directory 208s === PAUSE TestApplyPolicy/Error_on_read-only_.new_directory 208s === RUN TestApplyPolicy/Error_on_removing_unused_assets_after_dump 208s === PAUSE TestApplyPolicy/Error_on_removing_unused_assets_after_dump 208s === RUN TestApplyPolicy/Computer,_profiles_with_whitespace 208s === PAUSE TestApplyPolicy/Computer,_profiles_with_whitespace 208s === RUN TestApplyPolicy/Computer,_previous_profiles_are_unloaded 208s === PAUSE TestApplyPolicy/Computer,_previous_profiles_are_unloaded 208s === RUN TestApplyPolicy/User,_no_machine_profiles 208s === PAUSE TestApplyPolicy/User,_no_machine_profiles 208s === RUN TestApplyPolicy/Error_on_absent_loaded_policies_file 208s === PAUSE TestApplyPolicy/Error_on_absent_loaded_policies_file 208s === RUN TestApplyPolicy/Error_on_file_as_a_directory 208s === PAUSE TestApplyPolicy/Error_on_file_as_a_directory 208s === RUN TestApplyPolicy/Error_on_loading_profiles_failing 208s === PAUSE TestApplyPolicy/Error_on_loading_profiles_failing 208s === RUN TestApplyPolicy/Error_on_read-only_root_directory_with_entries 208s === PAUSE TestApplyPolicy/Error_on_read-only_root_directory_with_entries 208s === RUN TestApplyPolicy/User,_error_on_overwriting_profile_contents 208s === PAUSE TestApplyPolicy/User,_error_on_overwriting_profile_contents 208s === RUN TestApplyPolicy/Error_on_absent_profile 208s === PAUSE TestApplyPolicy/Error_on_absent_profile 208s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 208s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 208s === RUN TestApplyPolicy/Existing_.old_directory_is_removed 208s === PAUSE TestApplyPolicy/Existing_.old_directory_is_removed 208s === RUN TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 208s === PAUSE TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 208s === RUN TestApplyPolicy/No_apparmor_parser_and_no_entries 208s === PAUSE TestApplyPolicy/No_apparmor_parser_and_no_entries 208s === RUN TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 208s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 208s === RUN TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 208s === PAUSE TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 208s === RUN TestApplyPolicy/Computer,_blank_line_profiles 208s === PAUSE TestApplyPolicy/Computer,_blank_line_profiles 208s === RUN TestApplyPolicy/Computer,_multiple_profiles, 208s === PAUSE TestApplyPolicy/Computer,_multiple_profiles, 208s === RUN TestApplyPolicy/User,_valid_mapping 208s === PAUSE TestApplyPolicy/User,_valid_mapping 208s === RUN TestApplyPolicy/User,_valid_mapping,_unchanged_content 208s === PAUSE TestApplyPolicy/User,_valid_mapping,_unchanged_content 208s === RUN TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 208s === PAUSE TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 208s === RUN TestApplyPolicy/Read-only_root_directory_and_no_entries 208s === PAUSE TestApplyPolicy/Read-only_root_directory_and_no_entries 208s === RUN TestApplyPolicy/Error_on_unloading_old_profiles_failing 208s === PAUSE TestApplyPolicy/Error_on_unloading_old_profiles_failing 208s === RUN TestApplyPolicy/Computer,_one_profile 208s === PAUSE TestApplyPolicy/Computer,_one_profile 208s === RUN TestApplyPolicy/No_apparmor_parser_and_entries 208s === PAUSE TestApplyPolicy/No_apparmor_parser_and_entries 208s === RUN TestApplyPolicy/User,_error_on_empty_user_profile 208s === PAUSE TestApplyPolicy/User,_error_on_empty_user_profile 208s === RUN TestApplyPolicy/User,_error_on_multiple_profiles 208s === PAUSE TestApplyPolicy/User,_error_on_multiple_profiles 208s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 208s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 208s === RUN TestApplyPolicy/Error_on_read-only_.old_directory 208s === PAUSE TestApplyPolicy/Error_on_read-only_.old_directory 208s === RUN TestApplyPolicy/Computer,_duplicated_profiles 208s === PAUSE TestApplyPolicy/Computer,_duplicated_profiles 208s === RUN TestApplyPolicy/No_profiles,_existing_rules_are_removed 208s === PAUSE TestApplyPolicy/No_profiles,_existing_rules_are_removed 208s === CONT TestApplyPolicy/Error_on_profile_being_a_directory 208s === CONT TestApplyPolicy/No_profiles,_existing_rules_are_removed 208s === CONT TestApplyPolicy/Error_on_absent_profile 208s === CONT TestApplyPolicy/User,_error_on_overwriting_profile_contents 208s === CONT TestApplyPolicy/Error_on_read-only_root_directory_with_entries 208s === CONT TestApplyPolicy/Error_on_loading_profiles_failing 208s === CONT TestApplyPolicy/Error_on_file_as_a_directory 208s === CONT TestApplyPolicy/Error_on_absent_loaded_policies_file 208s === CONT TestApplyPolicy/User,_no_machine_profiles 208s time="2024-11-29T20:31:46Z" level=warning msg="No apparmor machine profiles configured for this machine, skipping reload" 208s === CONT TestApplyPolicy/Computer,_previous_profiles_are_unloaded 208s === CONT TestApplyPolicy/Computer,_profiles_with_whitespace 208s === CONT TestApplyPolicy/Error_on_removing_unused_assets_after_dump 208s time="2024-11-29T20:31:46Z" level=warning msg="Couldn't remove new apparmor directory: unlinkat /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump4224257290/001/machine/usr.bin.bar: permission denied" 208s time="2024-11-29T20:31:46Z" level=warning msg="Couldn't restore previous apparmor directory: rename /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump4224257290/001/machine.old /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump4224257290/001/machine: file exists" 208s === CONT TestApplyPolicy/Error_on_read-only_.new_directory 208s === CONT TestApplyPolicy/Error_on_unloading_all_profiles_failing 208s === CONT TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 208s === CONT TestApplyPolicy/No_profiles,_apparmor_directory_absent 208s === CONT TestApplyPolicy/Existing_.new_directory_is_removed 208s === CONT TestApplyPolicy/Computer,_user_policies_are_unloaded 208s === CONT TestApplyPolicy/Unexpected_entry_key 208s === CONT TestApplyPolicy/Computer,_only_blank_profiles 208s === CONT TestApplyPolicy/Error_on_read-only_machine_directory 208s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 208s === CONT TestApplyPolicy/User,_error_on_save_assets_failing 208s === CONT TestApplyPolicy/Computer,_whitespace-only_value 208s === CONT TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 208s === CONT TestApplyPolicy/Computer,_duplicated_profiles 208s === CONT TestApplyPolicy/Error_on_read-only_.old_directory 208s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 208s === CONT TestApplyPolicy/User,_error_on_multiple_profiles 208s === CONT TestApplyPolicy/User,_error_on_empty_user_profile 208s === CONT TestApplyPolicy/No_apparmor_parser_and_entries 208s === CONT TestApplyPolicy/Computer,_one_profile 208s === CONT TestApplyPolicy/Error_on_unloading_old_profiles_failing 208s === CONT TestApplyPolicy/Read-only_root_directory_and_no_entries 208s === CONT TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 208s === CONT TestApplyPolicy/User,_valid_mapping,_unchanged_content 208s === CONT TestApplyPolicy/User,_valid_mapping 208s === CONT TestApplyPolicy/Computer,_multiple_profiles, 208s === CONT TestApplyPolicy/Computer,_blank_line_profiles 208s === CONT TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 208s === CONT TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 208s === CONT TestApplyPolicy/No_apparmor_parser_and_no_entries 208s time="2024-11-29T20:31:46Z" level=warning msg="Apparmor is not available on this system: exec: \"this-definitely-does-not-exist\": executable file not found in $PATH" 208s === CONT TestApplyPolicy/Existing_.old_directory_is_removed 208s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 208s --- PASS: TestApplyPolicy (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_profile_being_a_directory (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_absent_profile (0.00s) 208s --- PASS: TestApplyPolicy/User,_error_on_overwriting_profile_contents (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_read-only_root_directory_with_entries (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_loading_profiles_failing (0.01s) 208s --- PASS: TestApplyPolicy/Error_on_file_as_a_directory (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_absent_loaded_policies_file (0.00s) 208s --- PASS: TestApplyPolicy/User,_no_machine_profiles (0.00s) 208s --- PASS: TestApplyPolicy/No_profiles,_existing_rules_are_removed (0.02s) 208s --- PASS: TestApplyPolicy/Computer,_profiles_with_whitespace (0.01s) 208s --- PASS: TestApplyPolicy/Error_on_removing_unused_assets_after_dump (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_read-only_.new_directory (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_previous_profiles_are_unloaded (0.03s) 208s --- PASS: TestApplyPolicy/Error_on_unloading_all_profiles_failing (0.01s) 208s --- PASS: TestApplyPolicy/No_profiles,_apparmor_directory_absent (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_preprocessing_old_profiles_failing (0.01s) 208s --- PASS: TestApplyPolicy/Existing_.new_directory_is_removed (0.01s) 208s --- PASS: TestApplyPolicy/Unexpected_entry_key (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_only_blank_profiles (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_user_policies_are_unloaded (0.02s) 208s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous (0.01s) 208s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory (0.02s) 208s --- PASS: TestApplyPolicy/User,_error_on_save_assets_failing (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_whitespace-only_value (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_duplicated_profiles (0.01s) 208s --- PASS: TestApplyPolicy/Error_on_read-only_.old_directory (0.00s) 208s --- PASS: TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded (0.02s) 208s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous (0.00s) 208s --- PASS: TestApplyPolicy/User,_error_on_empty_user_profile (0.00s) 208s --- PASS: TestApplyPolicy/No_apparmor_parser_and_entries (0.00s) 208s --- PASS: TestApplyPolicy/User,_error_on_multiple_profiles (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_one_profile (0.01s) 208s --- PASS: TestApplyPolicy/Read-only_root_directory_and_no_entries (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_unloading_old_profiles_failing (0.02s) 208s --- PASS: TestApplyPolicy/User,_valid_mapping,_unchanged_content (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_preprocessing_new_profiles_failing (0.01s) 208s --- PASS: TestApplyPolicy/User,_valid_mapping (0.01s) 208s --- PASS: TestApplyPolicy/Computer,_blank_line_profiles (0.01s) 208s --- PASS: TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_multiple_profiles, (0.02s) 208s --- PASS: TestApplyPolicy/No_apparmor_parser_and_no_entries (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries (0.01s) 208s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 208s --- PASS: TestApplyPolicy/Existing_.old_directory_is_removed (0.01s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/policies/apparmor 0.142s 208s === RUN TestCertAutoenrollScript 208s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled 208s === RUN TestCertAutoenrollScript/Unenroll 208s === RUN TestCertAutoenrollScript/Enroll_with_certmonger_not_installed 208s === RUN TestCertAutoenrollScript/Enroll_with_cepces_not_installed 208s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_keys 208s === RUN TestCertAutoenrollScript/Error_on_read-only_path 208s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration 208s === RUN TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration 208s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_structure 208s === RUN TestCertAutoenrollScript/Error_on_enroll_failure 208s === RUN TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration 208s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON 208s === RUN TestCertAutoenrollScript/Error_on_unenroll_failure 208s === RUN TestCertAutoenrollScript/Error_on_missing_arguments 208s === RUN TestCertAutoenrollScript/Error_on_invalid_flags 208s --- PASS: TestCertAutoenrollScript (0.78s) 208s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled (0.04s) 208s --- PASS: TestCertAutoenrollScript/Unenroll (0.03s) 208s --- PASS: TestCertAutoenrollScript/Enroll_with_certmonger_not_installed (0.03s) 208s --- PASS: TestCertAutoenrollScript/Enroll_with_cepces_not_installed (0.03s) 208s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_keys (0.08s) 208s --- PASS: TestCertAutoenrollScript/Error_on_read-only_path (0.08s) 208s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration (0.03s) 208s --- PASS: TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration (0.03s) 208s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_structure (0.07s) 208s --- PASS: TestCertAutoenrollScript/Error_on_enroll_failure (0.09s) 208s --- PASS: TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration (0.03s) 208s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON (0.07s) 208s --- PASS: TestCertAutoenrollScript/Error_on_unenroll_failure (0.08s) 208s --- PASS: TestCertAutoenrollScript/Error_on_missing_arguments (0.03s) 208s --- PASS: TestCertAutoenrollScript/Error_on_invalid_flags (0.03s) 208s === RUN TestApplyPolicy 208s === RUN TestApplyPolicy/Computer,_no_entries 208s === RUN TestApplyPolicy/Computer,_configured_to_unenroll 208s time="2024-11-29T20:31:47Z" level=info msg="Certificate autoenrollment script ran successfully\n" 208s === RUN TestApplyPolicy/User,_autoenroll_not_supported 208s === RUN TestApplyPolicy/Error_on_invalid_advanced_configuration_value 208s === RUN TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration 208s time="2024-11-29T20:31:47Z" level=info msg="Certificate autoenrollment script ran successfully\n" 208s === RUN TestApplyPolicy/Error_on_autoenroll_script_failure 208s === RUN TestApplyPolicy/Error_on_invalid_autoenroll_value 208s === RUN TestApplyPolicy/Computer,_no_entries,_Samba_cache_present 208s time="2024-11-29T20:31:47Z" level=info msg="Certificate autoenrollment script ran successfully\n" 208s === RUN TestApplyPolicy/Computer,_autoenroll_disabled 208s === RUN TestApplyPolicy/Computer,_domain_is_offline 208s === RUN TestApplyPolicy/Computer,_configured_to_enroll 208s time="2024-11-29T20:31:47Z" level=info msg="Certificate autoenrollment script ran successfully\n" 208s --- PASS: TestApplyPolicy (0.02s) 208s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_configured_to_unenroll (0.00s) 208s --- PASS: TestApplyPolicy/User,_autoenroll_not_supported (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_invalid_advanced_configuration_value (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_autoenroll_script_failure (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_invalid_autoenroll_value (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_no_entries,_Samba_cache_present (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_autoenroll_disabled (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_domain_is_offline (0.00s) 208s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll (0.00s) 208s === RUN TestMockAutoenrollScript 208s --- PASS: TestMockAutoenrollScript (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/policies/certificate 0.797s 208s === RUN TestNormalize 208s === PAUSE TestNormalize 208s === RUN TestApplyPolicy 208s === PAUSE TestApplyPolicy 208s === CONT TestNormalize 208s === CONT TestApplyPolicy 208s === RUN TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 208s === PAUSE TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 208s === RUN TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 208s === PAUSE TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 208s === RUN TestNormalize/simple_quoted_string 208s === PAUSE TestNormalize/simple_quoted_string 208s === RUN TestNormalize/simple_boolean_true 208s === PAUSE TestNormalize/simple_boolean_true 208s === RUN TestNormalize/simple_quoted_as 208s === RUN TestApplyPolicy/Multi-lines_as_mixed_with_comma 208s === PAUSE TestNormalize/simple_quoted_as 208s === PAUSE TestApplyPolicy/Multi-lines_as_mixed_with_comma 208s === RUN TestNormalize/as_without_leading_[ 208s === RUN TestApplyPolicy/Do_not_update_other_files_from_db 208s === PAUSE TestNormalize/as_without_leading_[ 208s === PAUSE TestApplyPolicy/Do_not_update_other_files_from_db 208s === RUN TestNormalize/as_without_ending_] 208s === RUN TestApplyPolicy/Machine_updates_with_different_value 208s === PAUSE TestApplyPolicy/Machine_updates_with_different_value 208s === PAUSE TestNormalize/as_without_ending_] 208s === RUN TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 208s === RUN TestApplyPolicy/Update_machine_disabled_key_with_value 208s === PAUSE TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 208s === RUN TestNormalize/ai_without_ending_] 208s === PAUSE TestNormalize/ai_without_ending_] 208s === RUN TestNormalize/Multi-lines_ai 208s === PAUSE TestNormalize/Multi-lines_ai 208s === RUN TestNormalize/one_quote 208s === PAUSE TestNormalize/one_quote 208s === RUN TestNormalize/quoted_string_with_quotes 208s === PAUSE TestNormalize/quoted_string_with_quotes 208s === RUN TestNormalize/string_with_two_backslashes_don’t_escape_quotes 208s === PAUSE TestNormalize/string_with_two_backslashes_don’t_escape_quotes 208s === RUN TestNormalize/as_simple_quoted_as_with_spaces 208s === PAUSE TestApplyPolicy/Update_machine_disabled_key_with_value 208s === RUN TestApplyPolicy/Multiple_sections_with_disabled_keys 208s === PAUSE TestApplyPolicy/Multiple_sections_with_disabled_keys 208s === PAUSE TestNormalize/as_simple_quoted_as_with_spaces 208s === RUN TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 208s === PAUSE TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 208s === RUN TestNormalize/Multi-lines_as_with_spaces_inside 208s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 208s === PAUSE TestNormalize/Multi-lines_as_with_spaces_inside 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 208s === RUN TestNormalize/non_supported_is_reported_as_is 208s === RUN TestApplyPolicy/Error_when_machine_db_does_not_exist 208s === PAUSE TestNormalize/non_supported_is_reported_as_is 208s === PAUSE TestApplyPolicy/Error_when_machine_db_does_not_exist 208s === RUN TestNormalize/as_with_weird_composition_inception_will_be_quoted 208s === RUN TestApplyPolicy/Error_on_invalid_ai 208s === PAUSE TestNormalize/as_with_weird_composition_inception_will_be_quoted 208s === PAUSE TestApplyPolicy/Error_on_invalid_ai 208s === RUN TestNormalize/simple_ai_with_no_spaces 208s === RUN TestApplyPolicy/Error_on_empty_meta 208s === PAUSE TestNormalize/simple_ai_with_no_spaces 208s === PAUSE TestApplyPolicy/Error_on_empty_meta 208s === RUN TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 208s === RUN TestApplyPolicy/New_user 208s === PAUSE TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 208s === PAUSE TestApplyPolicy/New_user 208s === RUN TestNormalize/yes_transformed_to_boolean 208s === RUN TestApplyPolicy/First_boot 208s === PAUSE TestNormalize/yes_transformed_to_boolean 208s === PAUSE TestApplyPolicy/First_boot 208s === RUN TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 208s === RUN TestApplyPolicy/Machine_updates_key_is_now_disabled 208s === PAUSE TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 208s === PAUSE TestApplyPolicy/Machine_updates_key_is_now_disabled 208s === RUN TestApplyPolicy/Missing_user_compiled_db_for_user 208s === RUN TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 208s === PAUSE TestApplyPolicy/Missing_user_compiled_db_for_user 208s === RUN TestApplyPolicy/Quoted_b 208s === PAUSE TestApplyPolicy/Quoted_b 208s === PAUSE TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 208s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_user 208s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_user 208s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 208s === RUN TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 208s === RUN TestNormalize/ai_with_spaces_inside 208s === PAUSE TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 208s === RUN TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 208s === PAUSE TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 208s === PAUSE TestNormalize/ai_with_spaces_inside 208s === RUN TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 208s === PAUSE TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 208s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === RUN TestNormalize/simple_unquoted_string 208s === PAUSE TestNormalize/simple_unquoted_string 208s === RUN TestApplyPolicy/User_updates_key_is_now_disabled 208s === PAUSE TestApplyPolicy/User_updates_key_is_now_disabled 208s === RUN TestApplyPolicy/Multiple_sections 208s === PAUSE TestApplyPolicy/Multiple_sections 208s === RUN TestApplyPolicy/No_update_when_no_change 208s === PAUSE TestApplyPolicy/No_update_when_no_change 208s === RUN TestApplyPolicy/Error_on_invalid_type 208s === PAUSE TestApplyPolicy/Error_on_invalid_type 208s === RUN TestApplyPolicy/Do_not_interfere_with_other_user_profile 208s === PAUSE TestApplyPolicy/Do_not_interfere_with_other_user_profile 208s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 208s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 208s === RUN TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 208s === PAUSE TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 208s === RUN TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 208s === PAUSE TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 208s === RUN TestNormalize/simple_boolean_false 208s === PAUSE TestNormalize/simple_boolean_false 208s === RUN TestNormalize/simple_unquoted_as 208s === RUN TestApplyPolicy/No_surrounding_brackets_ai 208s === PAUSE TestNormalize/simple_unquoted_as 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_ai 208s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === RUN TestApplyPolicy/Multi-lines_ai_mixed_with_comma 208s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === PAUSE TestApplyPolicy/Multi-lines_ai_mixed_with_comma 208s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === RUN TestApplyPolicy/No_policy_still_generates_a_valid_db 208s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === PAUSE TestApplyPolicy/No_policy_still_generates_a_valid_db 208s === RUN TestNormalize/empty_quoted_string 208s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_machine 208s === PAUSE TestNormalize/empty_quoted_string 208s === RUN TestNormalize/simple_as_with_no_spaces 208s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_machine 208s === PAUSE TestNormalize/simple_as_with_no_spaces 208s === RUN TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 208s === PAUSE TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 208s === RUN TestNormalize/string_with_escaped_quotes 208s === PAUSE TestNormalize/string_with_escaped_quotes 208s === RUN TestNormalize/no_transformed_to_boolean 208s === PAUSE TestNormalize/no_transformed_to_boolean 208s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 208s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 208s === RUN TestApplyPolicy/Machine_updates_existing_value 208s === PAUSE TestApplyPolicy/Machine_updates_existing_value 208s === RUN TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 208s === PAUSE TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 208s === RUN TestNormalize/with_spaces 208s === PAUSE TestNormalize/with_spaces 208s === RUN TestNormalize/off_transformed_to_boolean 208s === PAUSE TestNormalize/off_transformed_to_boolean 208s === RUN TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 208s === PAUSE TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 208s === RUN TestNormalize/Multi-lines_as_with_quoted_','_is_supported 208s === PAUSE TestNormalize/Multi-lines_as_with_quoted_','_is_supported 208s === RUN TestNormalize/Multi-lines_as_with_explicit_empty_element 208s === RUN TestApplyPolicy/Unquoted_string 208s === PAUSE TestNormalize/Multi-lines_as_with_explicit_empty_element 208s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 208s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 208s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 208s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 208s === RUN TestNormalize/unquoted_string_with_quotes 208s === PAUSE TestNormalize/unquoted_string_with_quotes 208s === RUN TestNormalize/weird_case_true 208s === PAUSE TestApplyPolicy/Unquoted_string 208s === RUN TestApplyPolicy/Quoted_i 208s === PAUSE TestApplyPolicy/Quoted_i 208s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_as 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_as 208s === RUN TestApplyPolicy/Multi-lines_as 208s === PAUSE TestApplyPolicy/Multi-lines_as 208s === RUN TestApplyPolicy/Multi-lines_ai 208s === PAUSE TestApplyPolicy/Multi-lines_ai 208s === RUN TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 208s === PAUSE TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 208s === RUN TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 208s === PAUSE TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 208s === RUN TestApplyPolicy/User_updates_existing_value 208s === PAUSE TestApplyPolicy/User_updates_existing_value 208s === RUN TestApplyPolicy/User_updates_with_different_value 208s === PAUSE TestApplyPolicy/User_updates_with_different_value 208s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_as 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_as 208s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 208s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 208s === RUN TestApplyPolicy/Update_user_disabled_key_with_value 208s === PAUSE TestApplyPolicy/Update_user_disabled_key_with_value 208s === RUN TestApplyPolicy/Multiple_keys_same_category 208s === PAUSE TestApplyPolicy/Multiple_keys_same_category 208s === RUN TestApplyPolicy/No_surrounding_brackets_multiple_ai 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_multiple_ai 208s === RUN TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 208s === PAUSE TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 208s === CONT TestApplyPolicy/Multi-lines_as_mixed_with_comma 208s === CONT TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 208s === CONT TestApplyPolicy/No_surrounding_brackets_multiple_ai 208s === CONT TestApplyPolicy/Multiple_keys_same_category 208s === CONT TestApplyPolicy/Update_user_disabled_key_with_value 208s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 208s === PAUSE TestNormalize/weird_case_true 208s === RUN TestNormalize/n_transformed_to_boolean 208s === PAUSE TestNormalize/n_transformed_to_boolean 208s === RUN TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 208s === PAUSE TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 208s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and__[] 208s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and__[] 208s === RUN TestNormalize/ai_empty_elements_separated_with_commas_are_kept 208s === PAUSE TestNormalize/ai_empty_elements_separated_with_commas_are_kept 208s === RUN TestNormalize/ai_without_leading_[ 208s === PAUSE TestNormalize/ai_without_leading_[ 208s === RUN TestNormalize/as_empty_elements_separated_with_commas_are_kept 208s === PAUSE TestNormalize/as_empty_elements_separated_with_commas_are_kept 208s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 208s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 208s === RUN TestNormalize/empty_unquoted_string 208s === PAUSE TestNormalize/empty_unquoted_string 208s === RUN TestNormalize/one_escaped_quote 208s === PAUSE TestNormalize/one_escaped_quote 208s === RUN TestNormalize/string_with_multiple_backslashes_escaped_quotes 208s === PAUSE TestNormalize/string_with_multiple_backslashes_escaped_quotes 208s === RUN TestNormalize/on_transformed_to_boolean 208s === PAUSE TestNormalize/on_transformed_to_boolean 208s === RUN TestNormalize/unmanaged_types_are_returned_as_is 208s === PAUSE TestNormalize/unmanaged_types_are_returned_as_is 208s === RUN TestNormalize/y_transformed_to_boolean 208s === PAUSE TestNormalize/y_transformed_to_boolean 208s === RUN TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 208s === PAUSE TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 208s === RUN TestNormalize/simple_ai 208s === PAUSE TestNormalize/simple_ai 208s === RUN TestNormalize/as_with_leading_and_ending_spaces_and__[] 208s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and__[] 208s === RUN TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 208s === PAUSE TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 208s === RUN TestNormalize/Multi-lines_as_quoted 208s === PAUSE TestNormalize/Multi-lines_as_quoted 208s === RUN TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 208s === PAUSE TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 208s === RUN TestNormalize/weird_case_false 208s === PAUSE TestNormalize/weird_case_false 208s === RUN TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 208s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 208s === RUN TestNormalize/Multi-lines_as_unquoted 208s === PAUSE TestNormalize/Multi-lines_as_unquoted 208s === RUN TestNormalize/Multi-lines_ai_with_spaces_inside 208s === PAUSE TestNormalize/Multi-lines_ai_with_spaces_inside 208s === RUN TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 208s === PAUSE TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 208s === RUN TestNormalize/as_with_spaces_inside 208s === PAUSE TestNormalize/as_with_spaces_inside 208s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 208s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 208s === CONT TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 208s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 208s === CONT TestNormalize/as_with_spaces_inside 208s === CONT TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 208s === CONT TestNormalize/Multi-lines_ai_with_spaces_inside 208s === CONT TestNormalize/Multi-lines_as_unquoted 208s === CONT TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 208s === CONT TestNormalize/weird_case_false 208s === CONT TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 208s === CONT TestNormalize/Multi-lines_as_quoted 208s === CONT TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 208s === CONT TestNormalize/as_with_leading_and_ending_spaces_and__[] 208s === CONT TestNormalize/simple_ai 208s === CONT TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 208s === CONT TestNormalize/y_transformed_to_boolean 208s === CONT TestNormalize/unmanaged_types_are_returned_as_is 208s === CONT TestNormalize/on_transformed_to_boolean 208s === CONT TestNormalize/string_with_multiple_backslashes_escaped_quotes 208s === CONT TestNormalize/one_escaped_quote 208s === CONT TestNormalize/empty_unquoted_string 208s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 208s === CONT TestNormalize/as_empty_elements_separated_with_commas_are_kept 208s === CONT TestNormalize/ai_without_leading_[ 208s === CONT TestNormalize/ai_empty_elements_separated_with_commas_are_kept 208s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and__[] 208s === CONT TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 208s === CONT TestNormalize/n_transformed_to_boolean 208s === CONT TestNormalize/weird_case_true 208s === CONT TestNormalize/unquoted_string_with_quotes 208s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 208s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 208s === CONT TestNormalize/Multi-lines_as_with_explicit_empty_element 208s === CONT TestNormalize/Multi-lines_as_with_quoted_','_is_supported 208s === CONT TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 208s === CONT TestNormalize/off_transformed_to_boolean 208s === CONT TestNormalize/with_spaces 208s === CONT TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 208s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 208s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === CONT TestNormalize/no_transformed_to_boolean 208s === CONT TestNormalize/string_with_escaped_quotes 208s === CONT TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 208s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_as 208s === CONT TestNormalize/simple_as_with_no_spaces 208s === CONT TestNormalize/empty_quoted_string 208s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === CONT TestNormalize/simple_unquoted_as 208s === CONT TestNormalize/simple_boolean_false 208s === CONT TestNormalize/simple_unquoted_string 208s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === CONT TestNormalize/ai_with_spaces_inside 208s === CONT TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 208s === CONT TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 208s === CONT TestNormalize/yes_transformed_to_boolean 208s === CONT TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 208s === CONT TestNormalize/simple_ai_with_no_spaces 208s === CONT TestNormalize/as_with_weird_composition_inception_will_be_quoted 208s === CONT TestNormalize/non_supported_is_reported_as_is 208s === CONT TestNormalize/Multi-lines_as_with_spaces_inside 208s === CONT TestNormalize/as_simple_quoted_as_with_spaces 208s === CONT TestNormalize/string_with_two_backslashes_don’t_escape_quotes 208s === CONT TestNormalize/quoted_string_with_quotes 208s === CONT TestNormalize/one_quote 208s === CONT TestNormalize/Multi-lines_ai 208s === CONT TestNormalize/ai_without_ending_] 208s === CONT TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 208s === CONT TestNormalize/as_without_ending_] 208s === CONT TestNormalize/as_without_leading_[ 208s === CONT TestNormalize/simple_quoted_as 208s === CONT TestNormalize/simple_boolean_true 208s === CONT TestNormalize/simple_quoted_string 208s === CONT TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 208s --- PASS: TestNormalize (0.01s) 208s --- PASS: TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_quoted (0.00s) 208s --- PASS: TestNormalize/as_with_spaces_inside (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_spaces_inside (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_unquoted (0.00s) 208s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and_no_[] (0.00s) 208s --- PASS: TestNormalize/weird_case_false (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_quoted (0.00s) 208s --- PASS: TestNormalize/as_partially_quoted_can_lead_to_unexpect_result (0.00s) 208s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and__[] (0.00s) 208s --- PASS: TestNormalize/simple_ai (0.00s) 208s --- PASS: TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result (0.00s) 208s --- PASS: TestNormalize/y_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/unmanaged_types_are_returned_as_is (0.00s) 208s --- PASS: TestNormalize/on_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/string_with_multiple_backslashes_escaped_quotes (0.00s) 208s --- PASS: TestNormalize/one_escaped_quote (0.00s) 208s --- PASS: TestNormalize/empty_unquoted_string (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted (0.00s) 208s --- PASS: TestNormalize/as_empty_elements_separated_with_commas_are_kept (0.00s) 208s --- PASS: TestNormalize/ai_without_leading_[ (0.00s) 208s --- PASS: TestNormalize/ai_empty_elements_separated_with_commas_are_kept (0.00s) 208s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and__[] (0.00s) 208s --- PASS: TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result (0.00s) 208s --- PASS: TestNormalize/n_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/weird_case_true (0.00s) 208s --- PASS: TestNormalize/unquoted_string_with_quotes (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_explicit_empty_element (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_quoted_','_is_supported (0.00s) 208s --- PASS: TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result (0.00s) 208s --- PASS: TestNormalize/off_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/with_spaces (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split (0.00s) 208s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 208s --- PASS: TestNormalize/no_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/string_with_escaped_quotes (0.00s) 208s --- PASS: TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result (0.00s) 208s --- PASS: TestNormalize/simple_as_with_no_spaces (0.00s) 208s --- PASS: TestNormalize/empty_quoted_string (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 208s --- PASS: TestNormalize/simple_unquoted_as (0.00s) 208s --- PASS: TestNormalize/simple_boolean_false (0.00s) 208s --- PASS: TestNormalize/simple_unquoted_string (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 208s --- PASS: TestNormalize/ai_with_spaces_inside (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets (0.00s) 208s --- PASS: TestNormalize/yes_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets (0.00s) 208s --- PASS: TestNormalize/simple_ai_with_no_spaces (0.00s) 208s --- PASS: TestNormalize/as_with_weird_composition_inception_will_be_quoted (0.00s) 208s --- PASS: TestNormalize/non_supported_is_reported_as_is (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_spaces_inside (0.00s) 208s --- PASS: TestNormalize/as_simple_quoted_as_with_spaces (0.00s) 208s --- PASS: TestNormalize/string_with_two_backslashes_don’t_escape_quotes (0.00s) 208s --- PASS: TestNormalize/quoted_string_with_quotes (0.00s) 208s --- PASS: TestNormalize/one_quote (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai (0.00s) 208s --- PASS: TestNormalize/ai_without_ending_] (0.00s) 208s --- PASS: TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string (0.00s) 208s --- PASS: TestNormalize/as_without_ending_] (0.00s) 208s --- PASS: TestNormalize/as_without_leading_[ (0.00s) 208s --- PASS: TestNormalize/simple_quoted_as (0.00s) 208s --- PASS: TestNormalize/simple_boolean_true (0.00s) 208s --- PASS: TestNormalize/simple_quoted_string (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements (0.00s) 208s === CONT TestApplyPolicy/Multiple_sections 208s === CONT TestApplyPolicy/User_updates_with_different_value 208s === CONT TestApplyPolicy/User_updates_existing_value 208s === CONT TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 208s === CONT TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 208s === CONT TestApplyPolicy/Multi-lines_ai 208s === CONT TestApplyPolicy/Multi-lines_as 208s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_as 208s === CONT TestApplyPolicy/Quoted_i 208s === CONT TestApplyPolicy/Unquoted_string 208s === CONT TestApplyPolicy/Machine_updates_existing_value 208s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_machine 208s === CONT TestApplyPolicy/No_policy_still_generates_a_valid_db 208s === CONT TestApplyPolicy/Multi-lines_ai_mixed_with_comma 208s === CONT TestApplyPolicy/No_surrounding_brackets_ai 208s === CONT TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 208s === CONT TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 208s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 208s === CONT TestApplyPolicy/Do_not_interfere_with_other_user_profile 208s === CONT TestApplyPolicy/Error_on_invalid_type 208s === CONT TestApplyPolicy/No_update_when_no_change 208s === CONT TestApplyPolicy/First_boot 208s === CONT TestApplyPolicy/User_updates_key_is_now_disabled 208s === CONT TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 208s === CONT TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 208s === CONT TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 208s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 208s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_user 208s === CONT TestApplyPolicy/Quoted_b 208s === CONT TestApplyPolicy/Missing_user_compiled_db_for_user 208s === CONT TestApplyPolicy/Machine_updates_key_is_now_disabled 208s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 208s === CONT TestApplyPolicy/New_user 208s === CONT TestApplyPolicy/Error_on_empty_meta 208s === CONT TestApplyPolicy/Error_on_invalid_ai 208s === CONT TestApplyPolicy/Error_when_machine_db_does_not_exist 208s === CONT TestApplyPolicy/Update_machine_disabled_key_with_value 208s === CONT TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 208s === CONT TestApplyPolicy/Multiple_sections_with_disabled_keys 208s === CONT TestApplyPolicy/Machine_updates_with_different_value 208s === CONT TestApplyPolicy/Do_not_update_other_files_from_db 208s --- PASS: TestApplyPolicy (0.00s) 208s --- PASS: TestApplyPolicy/Multi-lines_as_mixed_with_comma (0.00s) 208s --- PASS: TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_multiple_ai (0.00s) 208s --- PASS: TestApplyPolicy/Multiple_keys_same_category (0.00s) 208s --- PASS: TestApplyPolicy/Update_user_disabled_key_with_value (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db_append_them (0.00s) 208s --- PASS: TestApplyPolicy/Multiple_sections (0.00s) 208s --- PASS: TestApplyPolicy/User_updates_with_different_value (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_as (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition (0.00s) 208s --- PASS: TestApplyPolicy/User_updates_existing_value (0.00s) 208s --- PASS: TestApplyPolicy/Multi-lines_ai (0.00s) 208s --- PASS: TestApplyPolicy/Multi-lines_as (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed (0.00s) 208s --- PASS: TestApplyPolicy/Quoted_i (0.00s) 208s --- PASS: TestApplyPolicy/Unquoted_string (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_as (0.00s) 208s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_machine (0.00s) 208s --- PASS: TestApplyPolicy/Machine_updates_existing_value (0.00s) 208s --- PASS: TestApplyPolicy/No_policy_still_generates_a_valid_db (0.00s) 208s --- PASS: TestApplyPolicy/Multi-lines_ai_mixed_with_comma (0.00s) 208s --- PASS: TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_ai (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_invalid_type (0.00s) 208s --- PASS: TestApplyPolicy/Do_not_interfere_with_other_user_profile (0.00s) 208s --- PASS: TestApplyPolicy/No_update_when_no_change (0.00s) 208s --- PASS: TestApplyPolicy/First_boot (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order (0.00s) 208s --- PASS: TestApplyPolicy/User_updates_key_is_now_disabled (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_correct_profile_stays_unchanged (0.00s) 208s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_user (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as (0.00s) 208s --- PASS: TestApplyPolicy/Missing_user_compiled_db_for_user (0.00s) 208s --- PASS: TestApplyPolicy/Machine_updates_key_is_now_disabled (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as (0.00s) 208s --- PASS: TestApplyPolicy/New_user (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_empty_meta (0.00s) 208s --- PASS: TestApplyPolicy/Quoted_b (0.01s) 208s --- PASS: TestApplyPolicy/Error_when_machine_db_does_not_exist (0.00s) 208s --- PASS: TestApplyPolicy/Update_machine_disabled_key_with_value (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_invalid_ai (0.00s) 208s --- PASS: TestApplyPolicy/Normalized_canonical_form_for_each_supported_key (0.00s) 208s --- PASS: TestApplyPolicy/Multiple_sections_with_disabled_keys (0.00s) 208s --- PASS: TestApplyPolicy/Machine_updates_with_different_value (0.00s) 208s --- PASS: TestApplyPolicy/Do_not_update_other_files_from_db (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/policies/dconf 0.050s 208s === RUN TestApplyPolicy 208s === PAUSE TestApplyPolicy 208s === CONT TestApplyPolicy 208s === RUN TestApplyPolicy/dconf_policy 208s === PAUSE TestApplyPolicy/dconf_policy 208s === CONT TestApplyPolicy/dconf_policy 208s --- PASS: TestApplyPolicy (0.00s) 208s --- PASS: TestApplyPolicy/dconf_policy (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/policies/gdm 0.004s 209s === RUN TestParseEntryValues 209s === PAUSE TestParseEntryValues 209s === RUN TestWriteFileWithUIDGID 209s === PAUSE TestWriteFileWithUIDGID 209s === RUN TestCreateUnits 209s === PAUSE TestCreateUnits 209s === RUN TestNew 209s === PAUSE TestNew 209s === RUN TestApplyPolicy 209s === PAUSE TestApplyPolicy 209s === CONT TestParseEntryValues 209s === RUN TestParseEntryValues/Parse_values_trimming_whitespaces 209s === PAUSE TestParseEntryValues/Parse_values_trimming_whitespaces 209s === RUN TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 209s === PAUSE TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 209s === RUN TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 209s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 209s === CONT TestNew 209s === RUN TestNew/Creates_manager_successfully 209s === RUN TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 209s === PAUSE TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 209s === RUN TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 209s === PAUSE TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 209s === RUN TestParseEntryValues/Parse_values_from_entry_with_one_value 209s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_one_value 209s === RUN TestParseEntryValues/Parse_values_from_entry_with_multiple_values 209s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_multiple_values 209s === RUN TestParseEntryValues/Parse_values_from_entry_with_repeated_values 209s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_repeated_values 209s === CONT TestApplyPolicy 209s === RUN TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 209s === PAUSE TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 209s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 209s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 209s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 209s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 209s === RUN TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 209s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 209s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 209s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 209s === RUN TestApplyPolicy/Error_when_enabling_new_units_fails 209s === PAUSE TestApplyPolicy/Error_when_enabling_new_units_fails 209s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 209s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 209s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 209s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 209s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 209s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 209s === RUN TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 209s === PAUSE TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 209s === RUN TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 209s === PAUSE TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 209s === RUN TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 209s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 209s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 209s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 209s === RUN TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 209s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 209s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 209s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 209s === RUN TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 209s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 209s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 209s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 209s === RUN TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 209s === PAUSE TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 209s === RUN TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 209s === PAUSE TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 209s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 209s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 209s === RUN TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 209s === PAUSE TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 209s === RUN TestApplyPolicy/Error_when_user_is_not_found 209s === PAUSE TestApplyPolicy/Error_when_user_is_not_found 209s === RUN TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 209s === PAUSE TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 209s === RUN TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 209s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 209s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 209s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 209s === RUN TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 209s === PAUSE TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 209s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 209s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 209s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 209s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 209s === RUN TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 209s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 209s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 209s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 209s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 209s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 209s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 209s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 209s === RUN TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 209s === PAUSE TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 209s === RUN TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 209s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 209s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 209s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 209s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 209s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 209s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 209s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 209s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 209s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 209s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 209s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 209s === RUN TestApplyPolicy/Error_when_user_has_invalid_gid 209s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_gid 209s === RUN TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 209s === PAUSE TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 209s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 209s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 209s === RUN TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 209s === PAUSE TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 209s === RUN TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 209s === PAUSE TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 209s === RUN TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 209s === PAUSE TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 209s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 209s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 209s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 209s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 209s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 209s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 209s === RUN TestApplyPolicy/Error_when_daemon-reload_fails 209s === PAUSE TestApplyPolicy/Error_when_daemon-reload_fails 209s === RUN TestApplyPolicy/Error_when_user_has_invalid_uid 209s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_uid 209s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 209s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 209s === RUN TestApplyPolicy/Error_when_entry_is_errored 209s === PAUSE TestApplyPolicy/Error_when_entry_is_errored 209s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 209s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 209s === RUN TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 209s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 209s === RUN TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 209s === PAUSE TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 209s === CONT TestCreateUnits 209s === RUN TestCreateUnits/Write_single_unit 209s === PAUSE TestCreateUnits/Write_single_unit 209s === RUN TestCreateUnits/Write_multiple_units 209s === PAUSE TestCreateUnits/Write_multiple_units 209s === RUN TestCreateUnits/Write_krb5_tagged_unit 209s === PAUSE TestCreateUnits/Write_krb5_tagged_unit 209s === CONT TestWriteFileWithUIDGID 209s === RUN TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 209s === PAUSE TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 209s === RUN TestWriteFileWithUIDGID/Error_when_invalid_uid 209s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_uid 209s === RUN TestWriteFileWithUIDGID/Error_when_invalid_gid 209s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_gid 209s === RUN TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 209s === PAUSE TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 209s === RUN TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 209s === PAUSE TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 209s === CONT TestParseEntryValues/Parse_values_trimming_whitespaces 209s === CONT TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 209s === CONT TestParseEntryValues/Parse_values_from_entry_with_repeated_values 209s === CONT TestParseEntryValues/Parse_values_from_entry_with_multiple_values 209s === CONT TestParseEntryValues/Parse_values_from_entry_with_one_value 209s === CONT TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 209s === CONT TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 209s === CONT TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 209s === CONT TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 209s --- PASS: TestParseEntryValues (0.00s) 209s --- PASS: TestParseEntryValues/Parse_values_trimming_whitespaces (0.00s) 209s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_repeated_values (0.00s) 209s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_multiple_values (0.00s) 209s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_one_value (0.00s) 209s --- PASS: TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values (0.00s) 209s --- PASS: TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty (0.00s) 209s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags (0.00s) 209s --- PASS: TestParseEntryValues/Parse_values_trimming_sequential_linebreaks (0.00s) 209s === CONT TestCreateUnits/Write_single_unit 209s === CONT TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-fuse-completelydifferent.com-different-path.mount\": failed to start unit" 209s === CONT TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 209s === PAUSE TestNew/Creates_manager_successfully 209s === RUN TestNew/Error_when_runDir_has_invalid_permissions 209s === PAUSE TestNew/Error_when_runDir_has_invalid_permissions 209s === RUN TestNew/Error_when_systemUnitDir_has_invalid_permissions 209s === PAUSE TestNew/Error_when_systemUnitDir_has_invalid_permissions 209s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-cifs-authenticated.com-authenticated-mount.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-nfs-krb_domain.com-mount-krb_path.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s === CONT TestApplyPolicy/Error_when_entry_is_errored 209s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s === CONT TestApplyPolicy/Error_when_user_has_invalid_uid 209s === CONT TestApplyPolicy/Error_when_daemon-reload_fails 209s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 209s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 209s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 209s === CONT TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 209s === CONT TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 209s === CONT TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 209s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="Failed to stop unit \"adsys-protocol-domain.com-mountpath.mount\": failed to stop unit" 209s === CONT TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 209s === CONT TestApplyPolicy/Error_when_user_has_invalid_gid 209s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 209s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 209s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 209s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 209s === CONT TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 209s === CONT TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 209s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 209s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 209s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mounpath.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 209s === CONT TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 209s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 209s time="2024-11-29T20:31:51Z" 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." 209s time="2024-11-29T20:31:51Z" 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." 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-nfs-domain-untagged_first.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-nfs-domain-tagged_first.mount\": failed to start unit" 209s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 209s === CONT TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 209s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s === CONT TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s === CONT TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 209s === CONT TestApplyPolicy/Error_when_user_is_not_found 209s === CONT TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 209s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-path-mount.mount\": failed to start unit" 209s === CONT TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 209s === CONT TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 209s === CONT TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 209s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 209s === CONT TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 209s time="2024-11-29T20:31:51Z" 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." 209s time="2024-11-29T20:31:51Z" 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." 209s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 209s === CONT TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 209s === CONT TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s === CONT TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 209s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 209s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 209s === CONT TestApplyPolicy/Error_when_enabling_new_units_fails 209s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 209s === CONT TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 209s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 209s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 209s time="2024-11-29T20:31:51Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 209s === CONT TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 209s === CONT TestCreateUnits/Write_krb5_tagged_unit 209s --- PASS: TestApplyPolicy (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value (0.00s) 209s --- PASS: TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values (0.00s) 209s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_entry_is_errored (0.00s) 209s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_uid (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_daemon-reload_fails (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory (0.00s) 209s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry (0.00s) 209s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_creating_units_with_bad_entry_values (0.00s) 209s --- PASS: TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.01s) 209s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails (0.01s) 209s --- PASS: TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_gid (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory (0.00s) 209s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value (0.00s) 209s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty (0.00s) 209s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces (0.00s) 209s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir (0.00s) 209s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry (0.01s) 209s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries (0.00s) 209s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry (0.00s) 209s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks (0.00s) 209s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.00s) 209s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries (0.00s) 209s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.00s) 209s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails (0.00s) 209s --- PASS: TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_user_is_not_found (0.00s) 209s --- PASS: TestApplyPolicy/System,_does_nothing_if_there_are_no_entries (0.00s) 209s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces (0.00s) 209s --- PASS: TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir (0.00s) 209s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys (0.01s) 209s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.00s) 209s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries (0.00s) 209s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.00s) 209s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks (0.00s) 209s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry (0.00s) 209s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails (0.00s) 209s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key (0.00s) 209s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry (0.00s) 209s --- PASS: TestApplyPolicy/Error_when_enabling_new_units_fails (0.00s) 209s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values (0.01s) 209s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty (0.00s) 209s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value (0.01s) 209s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values (0.00s) 209s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values (0.00s) 209s === CONT TestCreateUnits/Write_multiple_units 209s === CONT TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 209s === CONT TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 209s --- PASS: TestCreateUnits (0.00s) 209s --- PASS: TestCreateUnits/Write_single_unit (0.00s) 209s --- PASS: TestCreateUnits/Write_krb5_tagged_unit (0.00s) 209s --- PASS: TestCreateUnits/Write_multiple_units (0.00s) 209s === CONT TestWriteFileWithUIDGID/Error_when_invalid_gid 209s === CONT TestWriteFileWithUIDGID/Error_when_invalid_uid 209s === CONT TestNew/Creates_manager_successfully 209s --- PASS: TestWriteFileWithUIDGID (0.00s) 209s --- PASS: TestWriteFileWithUIDGID/Write_file_with_current_user_ownership (0.00s) 209s --- PASS: TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory (0.00s) 209s --- PASS: TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions (0.00s) 209s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_gid (0.00s) 209s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_uid (0.00s) 209s === CONT TestNew/Error_when_systemUnitDir_has_invalid_permissions 209s === CONT TestNew/Error_when_runDir_has_invalid_permissions 209s --- PASS: TestNew (0.00s) 209s --- PASS: TestNew/Creates_manager_successfully (0.00s) 209s --- PASS: TestNew/Error_when_systemUnitDir_has_invalid_permissions (0.00s) 209s --- PASS: TestNew/Error_when_runDir_has_invalid_permissions (0.00s) 209s PASS 209s ok github.com/ubuntu/adsys/internal/policies/mount 0.074s 209s === RUN TestSplitAndNormalizeUsersAndGroups 209s === PAUSE TestSplitAndNormalizeUsersAndGroups 209s === RUN TestGetSystemPolkitAdminIdentities 209s === PAUSE TestGetSystemPolkitAdminIdentities 209s === RUN TestApplyPolicy 209s === PAUSE TestApplyPolicy 209s === CONT TestSplitAndNormalizeUsersAndGroups 209s === CONT TestApplyPolicy 209s === RUN TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 209s === RUN TestSplitAndNormalizeUsersAndGroups/Simple_one_value 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Simple_one_value 209s === RUN TestSplitAndNormalizeUsersAndGroups/User_name_with_space 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/User_name_with_space 209s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 209s === RUN TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_: 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_: 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_> 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_> 209s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 209s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_; 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_; 209s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 209s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_% 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_% 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_? 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_? 209s === RUN TestSplitAndNormalizeUsersAndGroups/Group_one_value 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Group_one_value 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_| 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_| 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_= 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_= 209s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_] 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_] 209s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_< 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_< 209s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_* 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_* 209s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 209s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 209s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 209s === RUN TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 209s === PAUSE TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 209s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 209s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 209s === RUN TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 209s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 209s === RUN TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 209s === PAUSE TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 209s === RUN TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 209s === PAUSE TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 209s === RUN TestApplyPolicy/Not_a_computer 209s === PAUSE TestApplyPolicy/Not_a_computer 209s === RUN TestApplyPolicy/No_client_AD_admins 209s === PAUSE TestApplyPolicy/No_client_AD_admins 209s === RUN TestApplyPolicy/Set_client_group_admins 209s === PAUSE TestApplyPolicy/Set_client_group_admins 209s === RUN TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 209s === PAUSE TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 209s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 209s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 209s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 209s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 209s === RUN TestApplyPolicy/Disallow_local_admins 209s === PAUSE TestApplyPolicy/Disallow_local_admins 209s === RUN TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 209s === PAUSE TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 209s === RUN TestApplyPolicy/Set_client_multiple_users_admins 209s === PAUSE TestApplyPolicy/Set_client_multiple_users_admins 209s === RUN TestApplyPolicy/Set_client_user_admins 209s === PAUSE TestApplyPolicy/Set_client_user_admins 209s === RUN TestApplyPolicy/Don't_overwrite_other_existing_files 209s === PAUSE TestApplyPolicy/Don't_overwrite_other_existing_files 209s === RUN TestApplyPolicy/Error_on_writing_to_polkit_conf_file 209s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_conf_file 209s === RUN TestApplyPolicy/Disallow_local_admins_and_set_client_admins 209s === PAUSE TestApplyPolicy/Disallow_local_admins_and_set_client_admins 209s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 209s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 209s === RUN TestApplyPolicy/Overwrite_existing_sudoers_file 209s === PAUSE TestApplyPolicy/Overwrite_existing_sudoers_file 209s === RUN TestApplyPolicy/Overwrite_existing_polkit_file 209s === PAUSE TestApplyPolicy/Overwrite_existing_polkit_file 209s === RUN TestApplyPolicy/Error_on_writing_to_sudoers_file 209s === PAUSE TestApplyPolicy/Error_on_writing_to_sudoers_file 209s === RUN TestApplyPolicy/No_rules_still_overwrite_those_files 209s === PAUSE TestApplyPolicy/No_rules_still_overwrite_those_files 209s === RUN TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 209s === PAUSE TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 209s === RUN TestApplyPolicy/Empty_client_AD_admins 209s === PAUSE TestApplyPolicy/Empty_client_AD_admins 209s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 209s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 209s === CONT TestGetSystemPolkitAdminIdentities 209s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 209s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 209s === RUN TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 209s === PAUSE TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 209s === RUN TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 209s === PAUSE TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 209s === RUN TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 209s === PAUSE TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 209s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 209s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 209s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 209s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 209s === CONT TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 209s time="2024-11-29T20:31:51Z" level=warning msg="Changed user or group \"%g%r%oup@domain\" to \"%group@domain\": Invalid characters or domain\\user format" 209s === CONT TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 209s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 209s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 209s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_* 209s time="2024-11-29T20:31:51Z" level=warning msg="Changed user or group \"u*s*er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 209s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_< 209s time="2024-11-29T20:31:51Z" level=warning msg="Changed user or group \"u 209s time="2024-11-29T20:31:51Z" level=warning msg="Changed user or group \"u>s>er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 209s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_: 209s time="2024-11-29T20:31:51Z" level=warning msg="Changed user or group \"u:s:er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 209s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 209s time="2024-11-29T20:31:51Z" level=warning msg="Changed user or group \"u[s]er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 209s === CONT TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 209s time="2024-11-29T20:31:51Z" level=warning msg="Changed user or group \"domain\\\\user\" to \"user@domain\": Invalid characters or domain\\user format" 209s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 209s === CONT TestSplitAndNormalizeUsersAndGroups/User_name_with_space 209s === CONT TestSplitAndNormalizeUsersAndGroups/Simple_one_value 209s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 209s time="2024-11-29T20:31:51Z" level=warning msg="Changed user or group \"domain\\\\user\\\\foo\" to \"userfoo@domain\": Invalid characters or domain\\user format" 209s --- PASS: TestSplitAndNormalizeUsersAndGroups (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_* (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_< (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_] (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_= (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_| (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_/ (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Group_one_value (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_? (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_% (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_empty_values (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_; (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_> (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_: (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_[ (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Handle_domain\user (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/User_name_with_space (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Simple_one_value (0.00s) 209s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others (0.00s) 209s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 209s === CONT TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 209s === CONT TestApplyPolicy/No_rules_still_overwrite_those_files 209s === CONT TestApplyPolicy/Error_on_writing_to_sudoers_file 209s === CONT TestApplyPolicy/Overwrite_existing_polkit_file 209s === CONT TestApplyPolicy/Empty_client_AD_admins 209s === CONT TestApplyPolicy/Overwrite_existing_sudoers_file 209s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 209s === CONT TestApplyPolicy/Disallow_local_admins_and_set_client_admins 209s === CONT TestApplyPolicy/Error_on_writing_to_polkit_conf_file 209s === CONT TestApplyPolicy/Don't_overwrite_other_existing_files 209s === CONT TestApplyPolicy/Set_client_user_admins 209s === CONT TestApplyPolicy/Set_client_multiple_users_admins 209s time="2024-11-29T20:31:51Z" level=warning msg="Changed user or group \"domain\\\\bob\" to \"bob@domain\": Invalid characters or domain\\user format" 209s === CONT TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 209s === CONT TestApplyPolicy/Disallow_local_admins 209s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 209s time="2024-11-29T20:31:51Z" level=warning msg="/tmp/TestApplyPolicyError_if_cant_rename_to_destination_for_polkit_conf_file570140912/001/polkit-1/localauthority.conf.d/99-adsys-privilege-enforcement.conf is a directory. Ignoring." 209s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 209s === CONT TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 209s === CONT TestApplyPolicy/Set_client_group_admins 209s === CONT TestApplyPolicy/No_client_AD_admins 209s === CONT TestApplyPolicy/Not_a_computer 209s === CONT TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 209s === CONT TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 209s === CONT TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 209s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 209s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 209s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 209s === CONT TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 209s time="2024-11-29T20:31:51Z" 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." 209s === CONT TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 209s === CONT TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 209s --- PASS: TestGetSystemPolkitAdminIdentities (0.00s) 209s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys (0.00s) 209s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file (0.00s) 209s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities (0.00s) 209s --- PASS: TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored (0.00s) 209s --- PASS: TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists (0.00s) 209s --- PASS: TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure (0.00s) 209s --- PASS: TestApplyPolicy (0.00s) 209s --- PASS: TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins (0.00s) 209s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file (0.00s) 209s --- PASS: TestApplyPolicy/Set_client_mixed_with_users_and_group_admins (0.00s) 209s --- PASS: TestApplyPolicy/No_rules_still_overwrite_those_files (0.00s) 209s --- PASS: TestApplyPolicy/Error_on_writing_to_sudoers_file (0.00s) 209s --- PASS: TestApplyPolicy/Overwrite_existing_polkit_file (0.00s) 209s --- PASS: TestApplyPolicy/Empty_client_AD_admins (0.00s) 209s --- PASS: TestApplyPolicy/Overwrite_existing_sudoers_file (0.00s) 209s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins (0.00s) 209s --- PASS: TestApplyPolicy/Disallow_local_admins_and_set_client_admins (0.00s) 209s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_conf_file (0.00s) 209s --- PASS: TestApplyPolicy/Set_client_user_admins (0.00s) 209s --- PASS: TestApplyPolicy/Set_client_multiple_users_admins (0.00s) 209s --- PASS: TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop (0.00s) 209s --- PASS: TestApplyPolicy/Disallow_local_admins (0.00s) 209s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file (0.00s) 209s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.00s) 209s --- PASS: TestApplyPolicy/Don't_overwrite_other_existing_files (0.00s) 209s --- PASS: TestApplyPolicy/Set_client_group_admins (0.00s) 209s --- PASS: TestApplyPolicy/No_client_AD_admins (0.00s) 209s --- PASS: TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.00s) 209s --- PASS: TestApplyPolicy/Not_a_computer (0.00s) 209s --- PASS: TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory (0.00s) 209s --- PASS: TestApplyPolicy/No_rules_and_no_existing_history_means_no_files (0.00s) 209s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation (0.00s) 209s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins (0.00s) 209s PASS 209s ok github.com/ubuntu/adsys/internal/policies/privilege 0.020s 210s === RUN TestApplyPolicy 210s === PAUSE TestApplyPolicy 210s === RUN TestWarnOnUnsupportedKeys 210s --- PASS: TestWarnOnUnsupportedKeys (0.00s) 210s === RUN TestWarnOnMissingDBusService 210s --- PASS: TestWarnOnMissingDBusService (0.00s) 210s === CONT TestApplyPolicy 210s === RUN TestApplyPolicy/User,_non-empty_entries 210s === PAUSE TestApplyPolicy/User,_non-empty_entries 210s === RUN TestApplyPolicy/Error_when_D-Bus_call_fails 210s === PAUSE TestApplyPolicy/Error_when_D-Bus_call_fails 210s === RUN TestApplyPolicy/Computer,_no_entries 210s === PAUSE TestApplyPolicy/Computer,_no_entries 210s === RUN TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 210s === PAUSE TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 210s === RUN TestApplyPolicy/User,_no_entries 210s === PAUSE TestApplyPolicy/User,_no_entries 210s === RUN TestApplyPolicy/Computer,_single_enabled_entry 210s === PAUSE TestApplyPolicy/Computer,_single_enabled_entry 210s === RUN TestApplyPolicy/Computer,_single_disabled_entry 210s === PAUSE TestApplyPolicy/Computer,_single_disabled_entry 210s === RUN TestApplyPolicy/Computer,_all_entries_set 210s === PAUSE TestApplyPolicy/Computer,_all_entries_set 210s === CONT TestApplyPolicy/User,_non-empty_entries 210s === CONT TestApplyPolicy/Computer,_all_entries_set 210s === CONT TestApplyPolicy/Computer,_single_disabled_entry 210s === CONT TestApplyPolicy/Computer,_single_enabled_entry 210s === CONT TestApplyPolicy/User,_no_entries 210s === CONT TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 210s === CONT TestApplyPolicy/Computer,_no_entries 210s === CONT TestApplyPolicy/Error_when_D-Bus_call_fails 210s --- PASS: TestApplyPolicy (0.00s) 210s --- PASS: TestApplyPolicy/User,_non-empty_entries (0.00s) 210s --- PASS: TestApplyPolicy/Computer,_all_entries_set (0.00s) 210s --- PASS: TestApplyPolicy/Computer,_single_disabled_entry (0.00s) 210s --- PASS: TestApplyPolicy/Computer,_single_enabled_entry (0.00s) 210s --- PASS: TestApplyPolicy/User,_no_entries (0.00s) 210s --- PASS: TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error (0.00s) 210s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 210s --- PASS: TestApplyPolicy/Error_when_D-Bus_call_fails (0.00s) 210s PASS 210s ok github.com/ubuntu/adsys/internal/policies/proxy 0.009s 210s === RUN TestNew 210s === PAUSE TestNew 210s === RUN TestApplyPolicy 210s === PAUSE TestApplyPolicy 210s === RUN TestRunScripts 210s === PAUSE TestRunScripts 210s === CONT TestNew 210s === RUN TestNew/create_manager 210s === PAUSE TestNew/create_manager 210s === RUN TestNew/error_on_read_only_rundir 210s === PAUSE TestNew/error_on_read_only_rundir 210s === CONT TestNew/create_manager 210s === CONT TestRunScripts 210s === RUN TestRunScripts/has_no_session_running_flag_after_user_logoff 210s === PAUSE TestRunScripts/has_no_session_running_flag_after_user_logoff 210s === RUN TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 210s === PAUSE TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 210s === RUN TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 210s === PAUSE TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 210s === RUN TestRunScripts/spaces_and_empty_lines_are_skipped 210s === PAUSE TestRunScripts/spaces_and_empty_lines_are_skipped 210s === RUN TestRunScripts/error_on_not_ready_for_execution 210s === PAUSE TestRunScripts/error_on_not_ready_for_execution 210s === RUN TestRunScripts/scripts_not_listed_are_not_run 210s === PAUSE TestRunScripts/scripts_not_listed_are_not_run 210s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 210s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 210s === RUN TestRunScripts/keeps_running_flag_after_non_user_logoff 210s === PAUSE TestRunScripts/keeps_running_flag_after_non_user_logoff 210s === RUN TestRunScripts/allow_order_file_missing 210s === PAUSE TestRunScripts/allow_order_file_missing 210s === RUN TestRunScripts/error_on_argument_not_a_file 210s === PAUSE TestRunScripts/error_on_argument_not_a_file 210s === RUN TestRunScripts/multiple_scripts_are_run_in_order 210s === PAUSE TestRunScripts/multiple_scripts_are_run_in_order 210s === RUN TestRunScripts/has_no_session_running_flag_after_machine_shutdown 210s === PAUSE TestRunScripts/has_no_session_running_flag_after_machine_shutdown 210s === RUN TestRunScripts/keeps_running_flag_after_non_machine_shutdown 210s === PAUSE TestRunScripts/keeps_running_flag_after_non_machine_shutdown 210s === RUN TestRunScripts/one_script 210s === PAUSE TestRunScripts/one_script 210s === RUN TestRunScripts/scripts_that_are_not_executable_are_skipped 210s === PAUSE TestRunScripts/scripts_that_are_not_executable_are_skipped 210s === RUN TestRunScripts/scripts_referenced_in_subdirectories 210s === PAUSE TestRunScripts/scripts_referenced_in_subdirectories 210s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 210s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 210s === RUN TestRunScripts/error_on_order_file_not_existing 210s === PAUSE TestRunScripts/error_on_order_file_not_existing 210s === CONT TestRunScripts/has_no_session_running_flag_after_user_logoff 210s === CONT TestRunScripts/multiple_scripts_are_run_in_order 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_user_logoff1033151219/001/users/foo/scripts/logoff\"" 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsmultiple_scripts_are_run_in_order1768445681/001/users/foo/scripts/s\"" 210s === CONT TestRunScripts/error_on_argument_not_a_file 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_argument_not_a_file3363818646/001/users/foo/scripts/s\"" 210s === CONT TestRunScripts/allow_order_file_missing 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsallow_order_file_missing1346314597/001/users/foo/scripts/s\"" 210s time="2024-11-29T20:31:52Z" level=info msg="\"/tmp/TestRunScriptsallow_order_file_missing1346314597/001/users/foo/scripts/s\" doesn't exist, but allowed to be missing, skipping" 210s === CONT TestRunScripts/keeps_running_flag_after_non_user_logoff 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_user_logoff496646141/001/machine/foo/scripts/logoff\"" 210s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_user_logoff957151123/001/users/foo/scripts/logoff\"" 210s === CONT TestRunScripts/scripts_not_listed_are_not_run 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_not_listed_are_not_run2029316122/001/users/foo/scripts/s\"" 210s === CONT TestRunScripts/error_on_not_ready_for_execution 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_not_ready_for_execution2496806021/001/users/foo/scripts/s\"" 210s === CONT TestRunScripts/spaces_and_empty_lines_are_skipped 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsspaces_and_empty_lines_are_skipped4129121371/001/users/foo/scripts/s\"" 210s === CONT TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown2164387904/001/machine/foo/scripts/shutdown\"" 210s time="2024-11-29T20:31:52Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown2164387904/001/machine/foo/scripts/shutdown\" doesn't exist, but allowed to be missing, skipping" 210s === CONT TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff3828997441/001/users/foo/scripts/logoff\"" 210s time="2024-11-29T20:31:52Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff3828997441/001/users/foo/scripts/logoff\" doesn't exist, but allowed to be missing, skipping" 210s === CONT TestRunScripts/scripts_referenced_in_subdirectories 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_referenced_in_subdirectories820319737/001/users/foo/scripts/s\"" 210s === CONT TestApplyPolicy 210s === RUN TestApplyPolicy/Destination_is_not_ready,_refreshing 210s === PAUSE TestApplyPolicy/Destination_is_not_ready,_refreshing 210s === RUN TestApplyPolicy/Error_on_subfolder_listed 210s === PAUSE TestApplyPolicy/Error_on_subfolder_listed 210s === RUN TestApplyPolicy/Error_on_script_does_not_exist 210s === PAUSE TestApplyPolicy/Error_on_script_does_not_exist 210s === RUN TestApplyPolicy/Error_on_user_lookup_failing 210s === PAUSE TestApplyPolicy/Error_on_user_lookup_failing 210s === RUN TestApplyPolicy/No_entries_update_existing_non_ready_folder 210s === PAUSE TestApplyPolicy/No_entries_update_existing_non_ready_folder 210s === RUN TestApplyPolicy/One_script 210s === PAUSE TestApplyPolicy/One_script 210s === RUN TestApplyPolicy/One_directory,_multiple_scripts_in_order 210s === PAUSE TestApplyPolicy/One_directory,_multiple_scripts_in_order 210s === RUN TestApplyPolicy/Same_script_is_used_multiple_times 210s === PAUSE TestApplyPolicy/Same_script_is_used_multiple_times 210s === RUN TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 210s === PAUSE TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 210s === RUN TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 210s === PAUSE TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 210s === RUN TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 210s === PAUSE TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 210s === RUN TestApplyPolicy/No_entries_is_an_empty_folder 210s === PAUSE TestApplyPolicy/No_entries_is_an_empty_folder 210s === RUN TestApplyPolicy/Subfolder_with_script 210s === PAUSE TestApplyPolicy/Subfolder_with_script 210s === RUN TestApplyPolicy/Empty_entries_are_discared 210s === PAUSE TestApplyPolicy/Empty_entries_are_discared 210s === RUN TestApplyPolicy/Destination_is_already_running,_no_change 210s === PAUSE TestApplyPolicy/Destination_is_already_running,_no_change 210s === RUN TestApplyPolicy/Error_on_invalid_UID 210s === PAUSE TestApplyPolicy/Error_on_invalid_UID 210s === RUN TestApplyPolicy/Error_on_invalid_GID 210s === PAUSE TestApplyPolicy/Error_on_invalid_GID 210s === RUN TestApplyPolicy/Subfolder_with_same_script_name 210s === PAUSE TestApplyPolicy/Subfolder_with_same_script_name 210s === RUN TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 210s === PAUSE TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 210s === RUN TestApplyPolicy/Error_on_users_run_directory_Read_Only 210s === PAUSE TestApplyPolicy/Error_on_users_run_directory_Read_Only 210s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 210s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 210s === RUN TestApplyPolicy/Multiple_directories: 210s === PAUSE TestApplyPolicy/Multiple_directories: 210s === RUN TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 210s === PAUSE TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 210s === RUN TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 210s === PAUSE TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 210s === CONT TestNew/error_on_read_only_rundir 210s --- PASS: TestNew (0.00s) 210s --- PASS: TestNew/create_manager (0.00s) 210s --- PASS: TestNew/error_on_read_only_rundir (0.00s) 210s === CONT TestRunScripts/error_on_order_file_not_existing 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_order_file_not_existing1132214589/001/users/foo/scripts/s\"" 210s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_machine_shutdown3494613952/001/machine/foo/scripts/shutdown\"" 210s === CONT TestRunScripts/one_script 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsone_script1568716797/001/users/foo/scripts/s\"" 210s === CONT TestRunScripts/scripts_that_are_not_executable_are_skipped 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped3214004023/001/users/foo/scripts/s\"" 210s time="2024-11-29T20:31:52Z" level=warning msg="\"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped3214004023/001/users/foo/scripts/scripts/notexecutable.sh\" failed to run\nfork/exec /tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped3214004023/001/users/foo/scripts/scripts/notexecutable.sh: permission denied" 210s === CONT TestRunScripts/keeps_running_flag_after_non_machine_shutdown 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_machine_shutdown2313568344/001/users/foo/scripts/shutdown\"" 210s === CONT TestRunScripts/has_no_session_running_flag_after_machine_shutdown 210s time="2024-11-29T20:31:52Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_machine_shutdown3207784539/001/machine/foo/scripts/shutdown\"" 210s === CONT TestApplyPolicy/Destination_is_not_ready,_refreshing 210s === CONT TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 210s === CONT TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 210s time="2024-11-29T20:31:52Z" level=info msg="Running machine startup scripts" 210s === CONT TestApplyPolicy/Multiple_directories: 210s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 210s === CONT TestApplyPolicy/Error_on_users_run_directory_Read_Only 210s === CONT TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 210s === CONT TestApplyPolicy/Subfolder_with_same_script_name 210s === CONT TestApplyPolicy/Error_on_invalid_GID 210s === CONT TestApplyPolicy/Error_on_invalid_UID 210s === CONT TestApplyPolicy/Destination_is_already_running,_no_change 210s time="2024-11-29T20:31:52Z" level=info msg="\"/tmp/TestApplyPolicyDestination_is_already_running,_no_change4115176565/001/machine/scripts/.running\" already exists, a session is already running, ignoring." 210s === CONT TestApplyPolicy/Empty_entries_are_discared 210s === CONT TestApplyPolicy/Subfolder_with_script 210s === CONT TestApplyPolicy/No_entries_is_an_empty_folder 210s === CONT TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 210s === CONT TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 210s === CONT TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 210s time="2024-11-29T20:31:52Z" level=info msg="Running machine startup scripts" 210s === CONT TestApplyPolicy/Same_script_is_used_multiple_times 210s === CONT TestApplyPolicy/One_directory,_multiple_scripts_in_order 210s === CONT TestApplyPolicy/One_script 210s === CONT TestApplyPolicy/No_entries_update_existing_non_ready_folder 210s === CONT TestApplyPolicy/Error_on_user_lookup_failing 210s === CONT TestApplyPolicy/Error_on_script_does_not_exist 210s === CONT TestApplyPolicy/Error_on_subfolder_listed 210s --- PASS: TestApplyPolicy (0.00s) 210s --- PASS: TestApplyPolicy/Destination_is_not_ready,_refreshing (0.00s) 210s --- PASS: TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update (0.00s) 210s --- PASS: TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) (0.00s) 210s --- PASS: TestApplyPolicy/Multiple_directories: (0.00s) 210s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 210s --- PASS: TestApplyPolicy/Error_on_users_run_directory_Read_Only (0.00s) 210s --- PASS: TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup (0.00s) 210s --- PASS: TestApplyPolicy/Subfolder_with_same_script_name (0.00s) 210s --- PASS: TestApplyPolicy/Error_on_invalid_GID (0.00s) 210s --- PASS: TestApplyPolicy/Error_on_invalid_UID (0.00s) 210s --- PASS: TestApplyPolicy/Destination_is_already_running,_no_change (0.00s) 210s --- PASS: TestApplyPolicy/Empty_entries_are_discared (0.00s) 210s --- PASS: TestApplyPolicy/Subfolder_with_script (0.00s) 210s --- PASS: TestApplyPolicy/No_entries_is_an_empty_folder (0.00s) 210s --- PASS: TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update (0.00s) 210s --- PASS: TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing (0.00s) 210s --- PASS: TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails (0.00s) 210s --- PASS: TestApplyPolicy/Same_script_is_used_multiple_times (0.00s) 210s --- PASS: TestApplyPolicy/One_directory,_multiple_scripts_in_order (0.00s) 210s --- PASS: TestApplyPolicy/One_script (0.00s) 210s --- PASS: TestApplyPolicy/No_entries_update_existing_non_ready_folder (0.00s) 210s --- PASS: TestApplyPolicy/Error_on_user_lookup_failing (0.00s) 210s --- PASS: TestApplyPolicy/Error_on_script_does_not_exist (0.00s) 210s --- PASS: TestApplyPolicy/Error_on_subfolder_listed (0.00s) 210s --- PASS: TestRunScripts (0.00s) 210s --- PASS: TestRunScripts/multiple_scripts_are_run_in_order (0.02s) 210s --- PASS: TestRunScripts/error_on_argument_not_a_file (0.00s) 210s --- PASS: TestRunScripts/allow_order_file_missing (0.00s) 210s --- PASS: TestRunScripts/keeps_running_flag_after_non_user_logoff (0.01s) 210s --- PASS: TestRunScripts/has_no_session_running_flag_after_user_logoff (0.04s) 210s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff (0.01s) 210s --- PASS: TestRunScripts/error_on_not_ready_for_execution (0.00s) 210s --- PASS: TestRunScripts/spaces_and_empty_lines_are_skipped (0.01s) 210s --- PASS: TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown (0.00s) 210s --- PASS: TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff (0.00s) 210s --- PASS: TestRunScripts/scripts_referenced_in_subdirectories (0.01s) 210s --- PASS: TestRunScripts/error_on_order_file_not_existing (0.00s) 210s --- PASS: TestRunScripts/scripts_not_listed_are_not_run (0.03s) 210s --- PASS: TestRunScripts/one_script (0.00s) 210s --- PASS: TestRunScripts/scripts_that_are_not_executable_are_skipped (0.01s) 210s --- PASS: TestRunScripts/keeps_running_flag_after_non_machine_shutdown (0.01s) 210s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown (0.03s) 210s --- PASS: TestRunScripts/has_no_session_running_flag_after_machine_shutdown (0.05s) 210s PASS 210s ok github.com/ubuntu/adsys/internal/policies/scripts 0.157s 210s === RUN TestExclusiveLockExec 210s --- PASS: TestExclusiveLockExec (0.01s) 210s === RUN TestExclusiveLockSmb 210s --- PASS: TestExclusiveLockSmb (0.01s) 210s === RUN TestMultipleExecLocksOnlyReleaseOnLast 210s --- PASS: TestMultipleExecLocksOnlyReleaseOnLast (0.01s) 210s === RUN TestMultipleSmbLocksOnlyReleaseOnLast 210s --- PASS: TestMultipleSmbLocksOnlyReleaseOnLast (0.01s) 210s PASS 210s ok github.com/ubuntu/adsys/internal/smbsafe 0.045s 211s === RUN TestAddStdoutForwarder 211s --- PASS: TestAddStdoutForwarder (0.00s) 211s === RUN TestAddStderrForwarder 211s --- PASS: TestAddStderrForwarder (0.00s) 211s === RUN TestAddStdoutForwarderEnsureStderrNoPolluted 211s --- PASS: TestAddStdoutForwarderEnsureStderrNoPolluted (0.00s) 211s === RUN TestAddForwarderAndDisconnect 211s --- PASS: TestAddForwarderAndDisconnect (0.00s) 211s === RUN TestAddForwardersGraduallyAndDisconnect 211s --- PASS: TestAddForwardersGraduallyAndDisconnect (0.01s) 211s === RUN TestAddForwarderDifferentWriterStdoutStderr 211s --- PASS: TestAddForwarderDifferentWriterStdoutStderr (0.00s) 211s === RUN TestAddForwarderSameWriterStdoutStderr 211s --- PASS: TestAddForwarderSameWriterStdoutStderr (0.00s) 211s === RUN TestAddStdoutForwarderWithBlockedStdout 211s time="2024-11-29T20:31:53Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 211s time="2024-11-29T20:31:53Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 211s time="2024-11-29T20:31:53Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 211s --- PASS: TestAddStdoutForwarderWithBlockedStdout (0.01s) 211s === RUN TestAddStderrForwarderWithBlockedStderr 211s time="2024-11-29T20:31:53Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 211s time="2024-11-29T20:31:53Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 211s time="2024-11-29T20:31:53Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 211s --- PASS: TestAddStderrForwarderWithBlockedStderr (0.01s) 211s === RUN TestAddStdoutForwarderOneWithFailingForwarder 211s time="2024-11-29T20:31:53Z" level=warning msg="Failed to forward log: Error from failedWriter" 211s time="2024-11-29T20:31:53Z" level=warning msg="Failed to forward log: Error from failedWriter" 211s time="2024-11-29T20:31:53Z" level=warning msg="Failed to forward log: Error from failedWriter" 211s --- PASS: TestAddStdoutForwarderOneWithFailingForwarder (0.01s) 211s PASS 211s ok github.com/ubuntu/adsys/internal/stdforward 0.053s 211s ? github.com/ubuntu/adsys/internal/testutils [no test files] 211s ? github.com/ubuntu/adsys/internal/watchdservice [no test files] 211s === RUN TestManageUnit 211s === PAUSE TestManageUnit 211s === RUN TestDaemonReload 211s === PAUSE TestDaemonReload 211s === CONT TestManageUnit 211s === CONT TestDaemonReload 211s === RUN TestManageUnit/Error_when_stopping_failing_unit 211s === PAUSE TestManageUnit/Error_when_stopping_failing_unit 211s === RUN TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 211s === PAUSE TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 211s === RUN TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 211s === PAUSE TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 211s === RUN TestManageUnit/Stop_unit_that_exists 211s === PAUSE TestManageUnit/Stop_unit_that_exists 211s === RUN TestManageUnit/Disable_unit_that_exists 211s === PAUSE TestManageUnit/Disable_unit_that_exists 211s === RUN TestManageUnit/Error_when_starting_failing_unit 211s === PAUSE TestManageUnit/Error_when_starting_failing_unit 211s === RUN TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 211s === PAUSE TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 211s === RUN TestManageUnit/Start_unit_that_exists 211s === PAUSE TestManageUnit/Start_unit_that_exists 211s === RUN TestManageUnit/Enable_unit_that_exists 211s === PAUSE TestManageUnit/Enable_unit_that_exists 211s === RUN TestManageUnit/Error_when_starting_unit_that_doesn't_exist 211s === PAUSE TestManageUnit/Error_when_starting_unit_that_doesn't_exist 211s === CONT TestManageUnit/Error_when_stopping_failing_unit 211s === CONT TestManageUnit/Error_when_starting_unit_that_doesn't_exist 211s === CONT TestManageUnit/Enable_unit_that_exists 211s --- PASS: TestDaemonReload (0.00s) 211s === CONT TestManageUnit/Start_unit_that_exists 211s === CONT TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 211s === CONT TestManageUnit/Error_when_starting_failing_unit 211s === CONT TestManageUnit/Disable_unit_that_exists 211s === CONT TestManageUnit/Stop_unit_that_exists 211s === CONT TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 211s === CONT TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 211s --- PASS: TestManageUnit (0.00s) 211s --- PASS: TestManageUnit/Error_when_stopping_failing_unit (0.00s) 211s --- PASS: TestManageUnit/Error_when_starting_unit_that_doesn't_exist (0.00s) 211s --- PASS: TestManageUnit/Start_unit_that_exists (0.00s) 211s --- PASS: TestManageUnit/Enable_unit_that_exists (0.00s) 211s --- PASS: TestManageUnit/Error_when_stopping_unit_that_doesn't_exist (0.01s) 211s --- PASS: TestManageUnit/Disable_unit_that_exists (0.00s) 211s --- PASS: TestManageUnit/Stop_unit_that_exists (0.00s) 211s --- PASS: TestManageUnit/Error_when_starting_failing_unit (0.01s) 211s --- PASS: TestManageUnit/Error_when_disabling_unit_that_doesn't_exist (0.00s) 211s --- PASS: TestManageUnit/Error_when_enabling_unit_that_doesn't_exist (0.00s) 211s PASS 211s ok github.com/ubuntu/adsys/internal/systemd 0.019s 212s === RUN TestInteractiveInput 212s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 212s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 212s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 212s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 212s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 212s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 212s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 212s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 212s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 212s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 212s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 212s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 212s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 212s === RUN TestInteractiveInput/Directory_exists 212s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 212s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 212s === RUN TestInteractiveInput/Submit_with_duplicate_directories 212s === RUN TestInteractiveInput/Initial_view 212s === RUN TestInteractiveInput/Other_navigation_tests 212s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 212s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 212s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 212s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 212s === RUN TestInteractiveInput/Submit_with_default_config 212s === RUN TestInteractiveInput/Config_file_exists 212s --- PASS: TestInteractiveInput (0.03s) 212s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 212s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.00s) 212s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 212s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 212s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 212s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 212s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 212s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 212s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 212s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.00s) 212s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 212s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.00s) 212s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 212s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 212s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 212s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 212s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 212s --- PASS: TestInteractiveInput/Initial_view (0.00s) 212s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 212s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.01s) 212s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 212s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.00s) 212s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 212s --- PASS: TestInteractiveInput/Submit_with_default_config (0.00s) 212s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 212s === RUN TestInteractiveInstall 212s watchdtui_test.go:408: Test has to be run as root, skipping... 212s --- SKIP: TestInteractiveInstall (0.00s) 212s === RUN TestInteractiveUpdate 212s watchdtui_test.go:456: Test has to be run as root, skipping... 212s --- SKIP: TestInteractiveUpdate (0.00s) 212s PASS 212s ok github.com/ubuntu/adsys/internal/watchdtui 0.037s 212s ? github.com/ubuntu/adsys/po [no test files] 212s ? github.com/ubuntu/adsys/policies [no test files] 216s === RUN TestWatchDirectory 216s === PAUSE TestWatchDirectory 216s === RUN TestRefreshGracePeriod 216s === PAUSE TestRefreshGracePeriod 216s === RUN TestUpdateDirs 216s === PAUSE TestUpdateDirs 216s === RUN TestUpdateDirsFailing 216s === PAUSE TestUpdateDirsFailing 216s === RUN TestUpdateDirsWithEmptyDirSlice 216s === PAUSE TestUpdateDirsWithEmptyDirSlice 216s === RUN TestUpdateDirsOnStoppedWatcher 216s === PAUSE TestUpdateDirsOnStoppedWatcher 216s === RUN TestStopWithoutStart 216s === PAUSE TestStopWithoutStart 216s === CONT TestWatchDirectory 216s === RUN TestWatchDirectory/No_update,_existing_gpt.ini 216s === CONT TestUpdateDirsWithEmptyDirSlice 216s === PAUSE TestWatchDirectory/No_update,_existing_gpt.ini 216s === RUN TestWatchDirectory/Updating_gpt.ini_is_a_no-op 216s === PAUSE TestWatchDirectory/Updating_gpt.ini_is_a_no-op 216s === RUN TestWatchDirectory/Remove_root_directory 216s === PAUSE TestWatchDirectory/Remove_root_directory 216s === RUN TestWatchDirectory/New_subdir 216s === PAUSE TestWatchDirectory/New_subdir 216s === RUN TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 216s === PAUSE TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 216s === RUN TestWatchDirectory/No_update,_no_gpt.ini 216s === PAUSE TestWatchDirectory/No_update,_no_gpt.ini 216s === RUN TestWatchDirectory/Rename_file_and_update 216s === PAUSE TestWatchDirectory/Rename_file_and_update 216s === RUN TestWatchDirectory/New_file,_subdir 216s === PAUSE TestWatchDirectory/New_file,_subdir 216s === RUN TestWatchDirectory/Existing_file,_subdir 216s === PAUSE TestWatchDirectory/Existing_file,_subdir 216s === RUN TestWatchDirectory/Error_on_non_existing_directory 216s === PAUSE TestWatchDirectory/Error_on_non_existing_directory 216s === RUN TestWatchDirectory/Error_on_updating_malformed_GPT.ini 216s === PAUSE TestWatchDirectory/Error_on_updating_malformed_GPT.ini 216s === RUN TestWatchDirectory/Update_existing_file 216s === PAUSE TestWatchDirectory/Update_existing_file 216s === RUN TestWatchDirectory/Update_with_existing_gpt.ini 216s === PAUSE TestWatchDirectory/Update_with_existing_gpt.ini 216s === RUN TestWatchDirectory/Remove_file 216s === PAUSE TestWatchDirectory/Remove_file 216s === RUN TestWatchDirectory/Multiple_nested_subdirectories 216s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories 216s === RUN TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 216s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 216s === RUN TestWatchDirectory/Combined_case 216s === PAUSE TestWatchDirectory/Combined_case 216s === RUN TestWatchDirectory/Error_on_listing_no_directory 216s === PAUSE TestWatchDirectory/Error_on_listing_no_directory 216s === RUN TestWatchDirectory/Rename_file 216s === PAUSE TestWatchDirectory/Rename_file 216s === RUN TestWatchDirectory/Nested_new_subdirs 216s === PAUSE TestWatchDirectory/Nested_new_subdirs 216s === RUN TestWatchDirectory/New_subdir_without_file 216s === PAUSE TestWatchDirectory/New_subdir_without_file 216s === RUN TestWatchDirectory/Multiple_directories,_only_one_is_updated 216s === PAUSE TestWatchDirectory/Multiple_directories,_only_one_is_updated 216s === RUN TestWatchDirectory/New_file,_no_gpt.ini 216s === PAUSE TestWatchDirectory/New_file,_no_gpt.ini 216s === CONT TestWatchDirectory/No_update,_existing_gpt.ini 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini4071327791/001/one_file and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini4071327791/001/one_file" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini4071327791/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestUpdateDirsWithEmptyDirSlice749227454/001/watchdir and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice749227454/001/watchdir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini4071327791/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice749227454/001/watchdir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice749227454/001/watchdir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice749227454/001/watchdir/alreadyexistsDir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice749227454/001/watchdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice749227454/001/watchdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Updating directories to []" 216s time="2024-11-29T20:31:54Z" level=info msg="Watcher stopped" 216s --- PASS: TestUpdateDirsWithEmptyDirSlice (0.02s) 216s === CONT TestUpdateDirsFailing 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing4152603684/001/remove and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/remove" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/remove/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/remove/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/remove/alreadyexistsDir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/remove/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/remove/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing4152603684/001/keep and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/keep" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/keep/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/keep/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/keep/alreadyexistsDir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/keep/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing4152603684/001/keep/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsFailing4152603684/001/keep unexisting]" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing4152603684/001/keep/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing4152603684/001/keep/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing4152603684/001/keep/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing4152603684/001/keep/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing4152603684/001/remove/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing4152603684/001/remove/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing4152603684/001/remove/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing4152603684/001/remove/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:54Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing4152603684/001/keep/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:54Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing4152603684/001/remove/GPT.INI" 216s === CONT TestUpdateDirs 216s --- PASS: TestUpdateDirsFailing (0.26s) 216s === CONT TestRefreshGracePeriod 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestRefreshGracePeriod3416873994/001/withsubdir and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3416873994/001/withsubdir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3416873994/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestUpdateDirs1065728514/001/remove and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/remove" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/remove/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/remove/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/remove/alreadyexistsDir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/remove/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/remove/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestUpdateDirs1065728514/001/keep and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/alreadyexistsDir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/remove/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/remove/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/remove/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/remove/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirs1065728514/001/keep /tmp/TestUpdateDirs1065728514/001/add]" 216s time="2024-11-29T20:31:54Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:54Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1065728514/001/remove/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestUpdateDirs1065728514/001/keep and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/alreadyexistsDir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/keep/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestUpdateDirs1065728514/001/add and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/add" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/add/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/add/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/add/alreadyexistsDir" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/add/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestUpdateDirs1065728514/001/add/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/keep/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/keep/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/keep/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/keep/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/add/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/add/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/add/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1065728514/001/add/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:54Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1065728514/001/keep/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1065728514/001/add/GPT.INI" 216s --- PASS: TestUpdateDirs (0.54s) 216s === CONT TestWatchDirectory/New_file,_no_gpt.ini 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1256614169/001/no_gpt and children" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1256614169/001/no_gpt" 216s time="2024-11-29T20:31:54Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1256614169/001/no_gpt/testfile" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini1256614169/001/no_gpt/new\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini1256614169/001/no_gpt/new\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:54Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:54Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1256614169/001/no_gpt/GPT.INI" 216s time="2024-11-29T20:31:54Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1256614169/001/no_gpt/GPT.INI: no such file or directory, creating a new file" 216s === CONT TestWatchDirectory/Multiple_directories,_only_one_is_updated 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/one_file and children" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/one_file" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir and children" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir/alreadyexists\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir/alreadyexists\"" 216s time="2024-11-29T20:31:55Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:55Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated980395796/001/withsubdir/GPT.INI" 216s === CONT TestWatchDirectory/New_subdir_without_file 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir and children" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir/newsubdir\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir/newsubdir\"" 216s time="2024-11-29T20:31:55Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:55Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir_without_file1487203856/001/withsubdir/GPT.INI" 216s === CONT TestWatchDirectory/Nested_new_subdirs 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir and children" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/otherdir\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/otherdir and children" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/otherdir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/otherdir/subdir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/otherdir/subdir/file" 216s time="2024-11-29T20:31:55Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:55Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNested_new_subdirs381908502/001/withsubdir/GPT.INI" 216s === CONT TestWatchDirectory/Rename_file 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file1631066248/001/one_file and children" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file1631066248/001/one_file" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file1631066248/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file1631066248/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file1631066248/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file1631066248/001/one_file/alreadyexists.bak\"" 216s time="2024-11-29T20:31:55Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:55Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file1631066248/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod3416873994/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/GPT.INI\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/GPT.INI\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/GPT.INI\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3416873994/001/withsubdir/GPT.INI\"" 216s === CONT TestWatchDirectory/Error_on_listing_no_directory 216s === CONT TestWatchDirectory/Combined_case 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir and children" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexists\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexists\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/new\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/new\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/dir\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/dir and children" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/dir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/dir/file" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexistsDir/new\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/alreadyexistsDir/new\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/otherdir\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/otherdir and children" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/otherdir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/otherdir/subdir" 216s time="2024-11-29T20:31:55Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/otherdir/subdir/file" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/newdir\"" 216s time="2024-11-29T20:31:55Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/newdir\"" 216s time="2024-11-29T20:31:56Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:56Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryCombined_case1349292277/001/withsubdir/GPT.INI" 216s === CONT TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir and children" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir and children" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=info msg="Watcher stopped" 216s --- PASS: TestRefreshGracePeriod (1.97s) 216s === CONT TestWatchDirectory/Multiple_nested_subdirectories 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir and children" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir and children" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/new\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/new\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:56Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file682545117/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:56Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories1897637609/001/withsubdir/alreadyexistsDir/GPT.INI" 216s === CONT TestWatchDirectory/Remove_file 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_file1780799430/001/one_file and children" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file1780799430/001/one_file" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/alreadyexists" 216s === CONT TestWatchDirectory/Update_with_existing_gpt.ini 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1747857584/001/one_file and children" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1747857584/001/one_file" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1747857584/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1747857584/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1747857584/001/one_file/new\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1747857584/001/one_file/new\"" 216s time="2024-11-29T20:31:56Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:56Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_file1780799430/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:56Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1747857584/001/one_file/GPT.INI" 216s === CONT TestWatchDirectory/Update_existing_file 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_existing_file3351430951/001/one_file and children" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3351430951/001/one_file" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3351430951/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3351430951/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file3351430951/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file3351430951/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:56Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_existing_file3351430951/001/one_file/GPT.INI" 216s === CONT TestWatchDirectory/Error_on_updating_malformed_GPT.ini 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini3727657263/001/malformed and children" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini3727657263/001/malformed" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini3727657263/001/malformed/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini3727657263/001/malformed/new\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini3727657263/001/malformed/new\"" 216s time="2024-11-29T20:31:56Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:56Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini3727657263/001/malformed/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini3727657263/001/malformed/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini3727657263/001/malformed/GPT.INI: strconv.ParseInt: parsing \"??\": invalid syntax" 216s === CONT TestWatchDirectory/Error_on_non_existing_directory 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_non_existing_directory2443169547/001/doesnotexist and children" 216s === CONT TestWatchDirectory/Existing_file,_subdir 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching /tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir and children" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:56Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s time="2024-11-29T20:31:56Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir/alreadyexistsDir/alreadyexists\"" 216s === CONT TestWatchDirectory/New_file,_subdir 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir/alreadyexistsDir/new\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir/alreadyexistsDir/new\"" 216s time="2024-11-29T20:31:57Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:57Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryExisting_file,_subdir2419688952/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:57Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_subdir2361539032/001/withsubdir/GPT.INI" 216s === CONT TestWatchDirectory/Rename_file_and_update 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file_and_update302889861/001/one_file and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update302889861/001/one_file" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update302889861/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update302889861/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file_and_update302889861/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file_and_update302889861/001/one_file/alreadyexists.bak\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryRename_file_and_update302889861/001/one_file/alreadyexists.bak\"" 216s === CONT TestWatchDirectory/No_update,_no_gpt.ini 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_no_gpt.ini781807797/001/no_gpt and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini781807797/001/no_gpt" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini781807797/001/no_gpt/testfile" 216s time="2024-11-29T20:31:57Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:57Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file_and_update302889861/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=info msg="Watcher stopped" 216s === CONT TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/one_file and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/one_file" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir/alreadyexists\"" 216s === CONT TestWatchDirectory/New_subdir 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/alreadyexistsDir" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/dir\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/dir and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/dir" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/dir/file" 216s time="2024-11-29T20:31:57Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:57Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated1847725778/001/withsubdir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:57Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir443775324/001/withsubdir/GPT.INI" 216s === CONT TestWatchDirectory/Remove_root_directory 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/GPT.INI\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/GPT.INI\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/GPT.INI\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file" 216s time="2024-11-29T20:31:57Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:57Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/GPT.INI: no such file or directory, creating a new file" 216s time="2024-11-29T20:31:57Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/GPT.INI: open /tmp/TestWatchDirectoryRemove_root_directory1911817953/001/one_file/GPT.INI: no such file or directory" 216s === CONT TestWatchDirectory/Updating_gpt.ini_is_a_no-op 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2821151819/001/one_file and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2821151819/001/one_file" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2821151819/001/one_file/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2821151819/001/one_file/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2821151819/001/one_file/GPT.INI\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2821151819/001/one_file/GPT.INI\"" 216s === CONT TestStopWithoutStart 216s --- PASS: TestStopWithoutStart (0.00s) 216s === CONT TestUpdateDirsOnStoppedWatcher 216s time="2024-11-29T20:31:57Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir]" 216s time="2024-11-29T20:31:57Z" level=warning msg="Error stopping watcher: the service is already stopping or not running" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching /tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir and children" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/alreadyexistsDir" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/alreadyexistsDir/GPT.INI" 216s time="2024-11-29T20:31:57Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/alreadyexistsDir/alreadyexists" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/alreadyexists\"" 216s time="2024-11-29T20:31:57Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:57Z" level=info msg="Watcher stopped" 216s time="2024-11-29T20:31:57Z" level=info msg="Bumping version for /tmp/TestUpdateDirsOnStoppedWatcher3190933743/001/curdir/GPT.INI" 216s --- PASS: TestWatchDirectory (0.00s) 216s --- PASS: TestWatchDirectory/No_update,_existing_gpt.ini (0.26s) 216s --- PASS: TestWatchDirectory/New_file,_no_gpt.ini (0.22s) 216s --- PASS: TestWatchDirectory/Multiple_directories,_only_one_is_updated (0.22s) 216s --- PASS: TestWatchDirectory/New_subdir_without_file (0.22s) 216s --- PASS: TestWatchDirectory/Nested_new_subdirs (0.24s) 216s --- PASS: TestWatchDirectory/Rename_file (0.22s) 216s --- PASS: TestWatchDirectory/Error_on_listing_no_directory (0.00s) 216s --- PASS: TestWatchDirectory/Combined_case (0.24s) 216s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file (0.24s) 216s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories (0.25s) 216s --- PASS: TestWatchDirectory/Remove_file (0.22s) 216s --- PASS: TestWatchDirectory/Update_with_existing_gpt.ini (0.24s) 216s --- PASS: TestWatchDirectory/Update_existing_file (0.24s) 216s --- PASS: TestWatchDirectory/Error_on_non_existing_directory (0.00s) 216s --- PASS: TestWatchDirectory/Error_on_updating_malformed_GPT.ini (0.22s) 216s --- PASS: TestWatchDirectory/Existing_file,_subdir (0.24s) 216s --- PASS: TestWatchDirectory/New_file,_subdir (0.22s) 216s --- PASS: TestWatchDirectory/Rename_file_and_update (0.22s) 216s --- PASS: TestWatchDirectory/No_update,_no_gpt.ini (0.24s) 216s --- PASS: TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated (0.24s) 216s --- PASS: TestWatchDirectory/New_subdir (0.25s) 216s --- PASS: TestWatchDirectory/Remove_root_directory (0.20s) 216s --- PASS: TestWatchDirectory/Updating_gpt.ini_is_a_no-op (0.22s) 216s --- PASS: TestUpdateDirsOnStoppedWatcher (0.24s) 216s PASS 216s ok github.com/ubuntu/adsys/internal/watcher 4.013s 216s autopkgtest [20:31:58]: test command1: -----------------------] 217s command1 PASS 217s autopkgtest [20:31:59]: test command1: - - - - - - - - - - results - - - - - - - - - - 217s autopkgtest [20:31:59]: test command2: preparing testbed 217s Reading package lists... 217s Building dependency tree... 217s Reading state information... 218s Starting pkgProblemResolver with broken count: 0 218s Starting 2 pkgProblemResolver with broken count: 0 218s Done 218s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 218s autopkgtest [20:32:00]: test command2: ./debian/tests/test sudo 218s autopkgtest [20:32:00]: test command2: [----------------------- 218s Skipping root tests for non-amd64/arm64 architecture 219s autopkgtest [20:32:01]: test command2: -----------------------] 219s command2 SKIP exit status 77 and marked as skippable 219s autopkgtest [20:32:01]: test command2: - - - - - - - - - - results - - - - - - - - - - 220s autopkgtest [20:32:02]: @@@@@@@@@@@@@@@@@@@@ summary 220s command1 PASS 220s command2 SKIP exit status 77 and marked as skippable 231s nova [W] Using flock in prodstack6-s390x 231s flock: timeout while waiting to get lock 231s Creating nova instance adt-jammy-s390x-adsys-20241129-202822-juju-7f2275-prod-proposed-migration-environment-15-58d5b2c5-bb18-4689-a7ae-9427d867da05 from image adt/ubuntu-jammy-s390x-server-20241129.img (UUID 44690a3c-15ba-4676-b856-25603ac86d33)...