0s autopkgtest [20:27:34]: starting date and time: 2024-11-29 20:27:34+0000 0s autopkgtest [20:27:34]: git checkout: be626eda Fix armhf LXD image generation for plucky 0s autopkgtest [20:27:34]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.6n23rdie/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 builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-19.secgroup --name adt-jammy-amd64-adsys-20241129-202734-juju-7f2275-prod-proposed-migration-environment-15-c7f567c3-f30b-4dd0-8b2f-4943127c3191 --image adt/ubuntu-jammy-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -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/ 352s autopkgtest [20:33:26]: testbed dpkg architecture: amd64 352s autopkgtest [20:33:26]: testbed apt version: 2.4.13 352s autopkgtest [20:33:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 353s autopkgtest [20:33:27]: testbed release detected to be: None 353s autopkgtest [20:33:27]: updating testbed package index (apt update) 354s Hit:1 http://ftpmaster.internal/ubuntu jammy InRelease 354s Hit:2 http://ftpmaster.internal/ubuntu jammy-updates InRelease 354s Hit:3 http://ftpmaster.internal/ubuntu jammy-security InRelease 354s Get:4 http://ftpmaster.internal/ubuntu jammy-proposed InRelease [279 kB] 354s Get:5 http://ftpmaster.internal/ubuntu jammy-proposed/universe Sources [26.3 kB] 354s Get:6 http://ftpmaster.internal/ubuntu jammy-proposed/restricted Sources [25.8 kB] 354s Get:7 http://ftpmaster.internal/ubuntu jammy-proposed/main Sources [116 kB] 354s Get:8 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse Sources [6196 B] 354s Get:9 http://ftpmaster.internal/ubuntu jammy-proposed/main i386 Packages [107 kB] 354s Get:10 http://ftpmaster.internal/ubuntu jammy-proposed/main amd64 Packages [357 kB] 354s Get:11 http://ftpmaster.internal/ubuntu jammy-proposed/main amd64 c-n-f Metadata [1740 B] 354s Get:12 http://ftpmaster.internal/ubuntu jammy-proposed/restricted i386 Packages [4748 B] 354s Get:13 http://ftpmaster.internal/ubuntu jammy-proposed/restricted amd64 Packages [497 kB] 354s Get:14 http://ftpmaster.internal/ubuntu jammy-proposed/restricted amd64 c-n-f Metadata [420 B] 354s Get:15 http://ftpmaster.internal/ubuntu jammy-proposed/universe amd64 Packages [88.4 kB] 354s Get:16 http://ftpmaster.internal/ubuntu jammy-proposed/universe i386 Packages [33.4 kB] 354s Get:17 http://ftpmaster.internal/ubuntu jammy-proposed/universe amd64 c-n-f Metadata [1344 B] 354s Get:18 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse amd64 Packages [9008 B] 354s Get:19 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse i386 Packages [728 B] 354s Get:20 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse amd64 c-n-f Metadata [208 B] 358s Fetched 1554 kB in 1s (1504 kB/s) 359s Reading package lists... 360s Reading package lists... 360s Building dependency tree... 360s Reading state information... 360s Calculating upgrade... 360s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 361s Reading package lists... 361s Building dependency tree... 361s Reading state information... 361s 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 361s autopkgtest [20:33:35]: upgrading testbed (apt dist-upgrade and autopurge) 361s Reading package lists... 362s Building dependency tree... 362s Reading state information... 362s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 362s Starting 2 pkgProblemResolver with broken count: 0 362s Done 362s Entering ResolveByKeep 363s 363s The following packages will be upgraded: 363s libpam-modules libpam-modules-bin libpam-runtime libpam0g 363s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 363s Need to get 417 kB of archives. 363s After this operation, 3072 B of additional disk space will be used. 363s Get:1 http://ftpmaster.internal/ubuntu jammy-proposed/main amd64 libpam0g amd64 1.4.0-11ubuntu2.5 [59.8 kB] 363s Get:2 http://ftpmaster.internal/ubuntu jammy-proposed/main amd64 libpam-modules-bin amd64 1.4.0-11ubuntu2.5 [37.4 kB] 363s Get:3 http://ftpmaster.internal/ubuntu jammy-proposed/main amd64 libpam-modules amd64 1.4.0-11ubuntu2.5 [280 kB] 363s Get:4 http://ftpmaster.internal/ubuntu jammy-proposed/main amd64 libpam-runtime all 1.4.0-11ubuntu2.5 [40.2 kB] 363s Preconfiguring packages ... 364s Fetched 417 kB in 0s (884 kB/s) 364s (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 ... 97530 files and directories currently installed.) 364s Preparing to unpack .../libpam0g_1.4.0-11ubuntu2.5_amd64.deb ... 364s Unpacking libpam0g:amd64 (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 364s Setting up libpam0g:amd64 (1.4.0-11ubuntu2.5) ... 364s (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 ... 97530 files and directories currently installed.) 364s Preparing to unpack .../libpam-modules-bin_1.4.0-11ubuntu2.5_amd64.deb ... 364s Unpacking libpam-modules-bin (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 364s Setting up libpam-modules-bin (1.4.0-11ubuntu2.5) ... 364s (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 ... 97530 files and directories currently installed.) 364s Preparing to unpack .../libpam-modules_1.4.0-11ubuntu2.5_amd64.deb ... 364s Unpacking libpam-modules:amd64 (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 364s Setting up libpam-modules:amd64 (1.4.0-11ubuntu2.5) ... 364s (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 ... 97530 files and directories currently installed.) 364s Preparing to unpack .../libpam-runtime_1.4.0-11ubuntu2.5_all.deb ... 364s Unpacking libpam-runtime (1.4.0-11ubuntu2.5) over (1.4.0-11ubuntu2.4) ... 364s Setting up libpam-runtime (1.4.0-11ubuntu2.5) ... 364s Processing triggers for man-db (2.10.2-1) ... 364s Processing triggers for libc-bin (2.35-0ubuntu3.8) ... 365s Reading package lists... 365s Building dependency tree... 365s Reading state information... 365s Starting pkgProblemResolver with broken count: 0 365s Starting 2 pkgProblemResolver with broken count: 0 365s Done 365s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 368s autopkgtest [20:33:42]: testbed running kernel: Linux 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 368s autopkgtest [20:33:42]: @@@@@@@@@@@@@@@@@@@@ apt-source adsys 371s Get:1 http://ftpmaster.internal/ubuntu jammy-updates/main adsys 0.14.2~22.04ubuntu0.1 (dsc) [2174 B] 371s Get:2 http://ftpmaster.internal/ubuntu jammy-updates/main adsys 0.14.2~22.04ubuntu0.1 (tar) [7045 kB] 371s gpgv: Signature made Fri Oct 25 05:37:19 2024 UTC 371s gpgv: using RSA key 00F6164E9C2D21BAFBC47E0E58DAD120A6939167 371s gpgv: Can't check signature: No public key 371s dpkg-source: warning: cannot verify signature ./adsys_0.14.2~22.04ubuntu0.1.dsc 371s autopkgtest [20:33:45]: testing package adsys version 0.14.2~22.04ubuntu0.1 372s autopkgtest [20:33:46]: build not needed 374s autopkgtest [20:33:48]: test command1: preparing testbed 374s Reading package lists... 375s Building dependency tree... 375s Reading state information... 375s Starting pkgProblemResolver with broken count: 0 375s Starting 2 pkgProblemResolver with broken count: 0 375s Done 375s The following NEW packages will be installed: 375s autoconf automake autopoint autotools-dev build-essential comerr-dev cpp 375s cpp-11 debhelper debugedit dh-apport dh-autoreconf dh-golang 375s dh-strip-nondeterminism dwz g++ g++-11 gcc gcc-11 gcc-11-base gettext 375s golang-1.22-go golang-1.22-src intltool-debian krb5-multidev 375s libarchive-zip-perl libasan6 libatomic1 libavahi-client3 375s libavahi-common-data libavahi-common3 libblkid-dev libc-dev-bin libc6-dev 375s libcc1-0 libcrypt-dev libcups2 libdbus-1-dev libdebhelper-perl libffi-dev 375s libfile-stripnondeterminism-perl libgcc-11-dev libglib2.0-dev 375s libglib2.0-dev-bin libgomp1 libgssrpc4 libisl23 libitm1 libkadm5clnt-mit12 375s libkadm5srv-mit12 libkdb5-10 libkrb5-dev libldb2 liblsan0 libmount-dev 375s libmpc3 libnsl-dev libpam0g-dev libpcre16-3 libpcre2-16-0 libpcre2-32-0 375s libpcre2-dev libpcre2-posix3 libpcre3-dev libpcre32-3 libpcrecpp0v5 375s libpython3.10 libquadmath0 libselinux1-dev libsepol-dev libsmbclient 375s libsmbclient-dev libstdc++-11-dev libsub-override-perl libtalloc2 libtdb1 375s libtevent0 libtirpc-dev libtool libtsan0 libubsan1 libwbclient-dev 375s libwbclient0 linux-libc-dev m4 pkg-config po-debconf python3-dnspython 375s python3-ldb python3-samba python3-talloc python3-tdb rpcsvc-proto samba 375s samba-common samba-common-bin samba-dsdb-modules samba-libs tdb-tools 375s uuid-dev zlib1g-dev 375s 0 upgraded, 101 newly installed, 0 to remove and 0 not upgraded. 375s Need to get 128 MB of archives. 375s After this operation, 537 MB of additional disk space will be used. 375s Get:1 http://ftpmaster.internal/ubuntu jammy/main amd64 libtalloc2 amd64 2.3.3-2build1 [25.6 kB] 376s Get:2 http://ftpmaster.internal/ubuntu jammy/main amd64 libtevent0 amd64 0.11.0-1build1 [39.2 kB] 376s Get:3 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libwbclient0 amd64 2:4.15.13+dfsg-0ubuntu1.6 [266 kB] 376s Get:4 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libwbclient-dev amd64 2:4.15.13+dfsg-0ubuntu1.6 [16.1 kB] 376s Get:5 http://ftpmaster.internal/ubuntu jammy/main amd64 python3-dnspython all 2.1.0-1ubuntu1 [123 kB] 376s Get:6 http://ftpmaster.internal/ubuntu jammy/main amd64 libtdb1 amd64 1.4.5-2build1 [46.4 kB] 376s Get:7 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libldb2 amd64 2:2.4.4-0ubuntu0.22.04.2 [154 kB] 376s Get:8 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libpython3.10 amd64 3.10.12-1~22.04.7 [1949 kB] 376s Get:9 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 python3-ldb amd64 2:2.4.4-0ubuntu0.22.04.2 [41.7 kB] 376s Get:10 http://ftpmaster.internal/ubuntu jammy/main amd64 python3-tdb amd64 1.4.5-2build1 [15.5 kB] 376s Get:11 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libavahi-common-data amd64 0.8-5ubuntu5.2 [23.8 kB] 376s Get:12 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libavahi-common3 amd64 0.8-5ubuntu5.2 [23.9 kB] 376s Get:13 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libavahi-client3 amd64 0.8-5ubuntu5.2 [28.0 kB] 376s Get:14 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libcups2 amd64 2.4.1op1-1ubuntu4.11 [263 kB] 376s Get:15 http://ftpmaster.internal/ubuntu jammy/main amd64 python3-talloc amd64 2.3.3-2build1 [13.0 kB] 376s Get:16 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 samba-libs amd64 2:4.15.13+dfsg-0ubuntu1.6 [6276 kB] 377s Get:17 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 python3-samba amd64 2:4.15.13+dfsg-0ubuntu1.6 [3115 kB] 377s Get:18 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 samba-common all 2:4.15.13+dfsg-0ubuntu1.6 [75.7 kB] 377s Get:19 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 samba-common-bin amd64 2:4.15.13+dfsg-0ubuntu1.6 [620 kB] 377s Get:20 http://ftpmaster.internal/ubuntu jammy/main amd64 tdb-tools amd64 1.4.5-2build1 [26.2 kB] 377s Get:21 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 samba amd64 2:4.15.13+dfsg-0ubuntu1.6 [1192 kB] 377s Get:22 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libsmbclient amd64 2:4.15.13+dfsg-0ubuntu1.6 [65.9 kB] 377s Get:23 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libsmbclient-dev amd64 2:4.15.13+dfsg-0ubuntu1.6 [41.1 kB] 377s Get:24 http://ftpmaster.internal/ubuntu jammy/main amd64 m4 amd64 1.4.18-5ubuntu2 [199 kB] 377s Get:25 http://ftpmaster.internal/ubuntu jammy/main amd64 autoconf all 2.71-2 [338 kB] 377s Get:26 http://ftpmaster.internal/ubuntu jammy/main amd64 autotools-dev all 20220109.1 [44.9 kB] 377s Get:27 http://ftpmaster.internal/ubuntu jammy/main amd64 automake all 1:1.16.5-1.3 [558 kB] 377s Get:28 http://ftpmaster.internal/ubuntu jammy/main amd64 autopoint all 0.21-4ubuntu4 [422 kB] 377s Get:29 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.8 [20.3 kB] 377s Get:30 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-126.136 [1334 kB] 377s Get:31 http://ftpmaster.internal/ubuntu jammy/main amd64 libcrypt-dev amd64 1:4.4.27-1 [112 kB] 377s Get:32 http://ftpmaster.internal/ubuntu jammy/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB] 377s Get:33 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libtirpc-dev amd64 1.3.2-2ubuntu0.1 [192 kB] 377s Get:34 http://ftpmaster.internal/ubuntu jammy/main amd64 libnsl-dev amd64 1.3.0-2build2 [71.3 kB] 377s Get:35 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.8 [2100 kB] 377s Get:36 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 gcc-11-base amd64 11.4.0-1ubuntu1~22.04 [20.2 kB] 377s Get:37 http://ftpmaster.internal/ubuntu jammy/main amd64 libisl23 amd64 0.24-2build1 [727 kB] 377s Get:38 http://ftpmaster.internal/ubuntu jammy/main amd64 libmpc3 amd64 1.2.1-2build1 [46.9 kB] 377s Get:39 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 cpp-11 amd64 11.4.0-1ubuntu1~22.04 [10.0 MB] 377s Get:40 http://ftpmaster.internal/ubuntu jammy/main amd64 cpp amd64 4:11.2.0-1ubuntu1 [27.7 kB] 377s Get:41 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libcc1-0 amd64 12.3.0-1ubuntu1~22.04 [48.3 kB] 377s Get:42 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libgomp1 amd64 12.3.0-1ubuntu1~22.04 [126 kB] 377s Get:43 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libitm1 amd64 12.3.0-1ubuntu1~22.04 [30.2 kB] 377s Get:44 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libatomic1 amd64 12.3.0-1ubuntu1~22.04 [10.4 kB] 377s Get:45 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libasan6 amd64 11.4.0-1ubuntu1~22.04 [2282 kB] 378s Get:46 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 liblsan0 amd64 12.3.0-1ubuntu1~22.04 [1069 kB] 378s Get:47 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libtsan0 amd64 11.4.0-1ubuntu1~22.04 [2260 kB] 378s Get:48 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libubsan1 amd64 12.3.0-1ubuntu1~22.04 [976 kB] 378s Get:49 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libquadmath0 amd64 12.3.0-1ubuntu1~22.04 [154 kB] 378s Get:50 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libgcc-11-dev amd64 11.4.0-1ubuntu1~22.04 [2517 kB] 378s Get:51 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 gcc-11 amd64 11.4.0-1ubuntu1~22.04 [20.1 MB] 378s Get:52 http://ftpmaster.internal/ubuntu jammy/main amd64 gcc amd64 4:11.2.0-1ubuntu1 [5112 B] 378s Get:53 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libstdc++-11-dev amd64 11.4.0-1ubuntu1~22.04 [2101 kB] 378s Get:54 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 g++-11 amd64 11.4.0-1ubuntu1~22.04 [11.4 MB] 378s Get:55 http://ftpmaster.internal/ubuntu jammy/main amd64 g++ amd64 4:11.2.0-1ubuntu1 [1412 B] 378s Get:56 http://ftpmaster.internal/ubuntu jammy/main amd64 build-essential amd64 12.9ubuntu3 [4744 B] 378s Get:57 http://ftpmaster.internal/ubuntu jammy/main amd64 libdebhelper-perl all 13.6ubuntu1 [67.2 kB] 378s Get:58 http://ftpmaster.internal/ubuntu jammy/main amd64 libtool all 2.4.6-15build2 [164 kB] 378s Get:59 http://ftpmaster.internal/ubuntu jammy/main amd64 dh-autoreconf all 20 [16.1 kB] 378s Get:60 http://ftpmaster.internal/ubuntu jammy/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 379s Get:61 http://ftpmaster.internal/ubuntu jammy/main amd64 libsub-override-perl all 0.09-2 [9532 B] 379s Get:62 http://ftpmaster.internal/ubuntu jammy/main amd64 libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] 379s Get:63 http://ftpmaster.internal/ubuntu jammy/main amd64 dh-strip-nondeterminism all 1.13.0-1 [5344 B] 379s Get:64 http://ftpmaster.internal/ubuntu jammy/main amd64 debugedit amd64 1:5.0-4build1 [47.2 kB] 379s Get:65 http://ftpmaster.internal/ubuntu jammy/main amd64 dwz amd64 0.14-1build2 [105 kB] 379s Get:66 http://ftpmaster.internal/ubuntu jammy/main amd64 gettext amd64 0.21-4ubuntu4 [868 kB] 379s Get:67 http://ftpmaster.internal/ubuntu jammy/main amd64 intltool-debian all 0.35.0+20060710.5 [24.9 kB] 379s Get:68 http://ftpmaster.internal/ubuntu jammy/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 379s Get:69 http://ftpmaster.internal/ubuntu jammy/main amd64 debhelper all 13.6ubuntu1 [923 kB] 379s Get:70 http://ftpmaster.internal/ubuntu jammy-updates/universe amd64 dh-apport all 2.20.11-0ubuntu82.6 [7812 B] 379s Get:71 http://ftpmaster.internal/ubuntu jammy-updates/universe amd64 golang-1.22-src all 1.22.2-2~22.04.2 [19.8 MB] 379s Get:72 http://ftpmaster.internal/ubuntu jammy-updates/universe amd64 golang-1.22-go amd64 1.22.2-2~22.04.2 [26.0 MB] 380s Get:73 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libgssrpc4 amd64 1.19.2-2ubuntu0.4 [58.7 kB] 380s Get:74 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libkdb5-10 amd64 1.19.2-2ubuntu0.4 [40.4 kB] 380s Get:75 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libkadm5srv-mit12 amd64 1.19.2-2ubuntu0.4 [54.7 kB] 380s Get:76 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libkadm5clnt-mit12 amd64 1.19.2-2ubuntu0.4 [41.9 kB] 380s Get:77 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 comerr-dev amd64 2.1-1.46.5-2ubuntu1.2 [41.0 kB] 380s Get:78 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 krb5-multidev amd64 1.19.2-2ubuntu0.4 [125 kB] 380s Get:79 http://ftpmaster.internal/ubuntu jammy/main amd64 pkg-config amd64 0.29.2-1ubuntu3 [48.2 kB] 380s Get:80 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libdbus-1-dev amd64 1.12.20-2ubuntu4.1 [188 kB] 380s Get:81 http://ftpmaster.internal/ubuntu jammy/main amd64 libffi-dev amd64 3.4.2-4 [63.7 kB] 380s Get:82 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libglib2.0-dev-bin amd64 2.72.4-0ubuntu2.4 [117 kB] 380s Get:83 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 uuid-dev amd64 2.37.2-4ubuntu3.4 [33.1 kB] 380s Get:84 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libblkid-dev amd64 2.37.2-4ubuntu3.4 [185 kB] 380s Get:85 http://ftpmaster.internal/ubuntu jammy/main amd64 libsepol-dev amd64 3.3-1build1 [378 kB] 380s Get:86 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libpcre2-16-0 amd64 10.39-3ubuntu0.1 [203 kB] 380s Get:87 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libpcre2-32-0 amd64 10.39-3ubuntu0.1 [194 kB] 380s Get:88 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libpcre2-posix3 amd64 10.39-3ubuntu0.1 [6130 B] 380s Get:89 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libpcre2-dev amd64 10.39-3ubuntu0.1 [730 kB] 380s Get:90 http://ftpmaster.internal/ubuntu jammy/main amd64 libselinux1-dev amd64 3.3-1build2 [158 kB] 380s Get:91 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libmount-dev amd64 2.37.2-4ubuntu3.4 [14.5 kB] 380s Get:92 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libpcre16-3 amd64 2:8.39-13ubuntu0.22.04.1 [164 kB] 380s Get:93 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libpcre32-3 amd64 2:8.39-13ubuntu0.22.04.1 [155 kB] 380s Get:94 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libpcrecpp0v5 amd64 2:8.39-13ubuntu0.22.04.1 [16.5 kB] 380s Get:95 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libpcre3-dev amd64 2:8.39-13ubuntu0.22.04.1 [579 kB] 380s Get:96 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu9.2 [164 kB] 380s Get:97 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libglib2.0-dev amd64 2.72.4-0ubuntu2.4 [1743 kB] 380s Get:98 http://ftpmaster.internal/ubuntu jammy-proposed/main amd64 libpam0g-dev amd64 1.4.0-11ubuntu2.5 [117 kB] 380s Get:99 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 samba-dsdb-modules amd64 2:4.15.13+dfsg-0ubuntu1.6 [313 kB] 380s Get:100 http://ftpmaster.internal/ubuntu jammy/main amd64 dh-golang all 1.53 [21.4 kB] 380s Get:101 http://ftpmaster.internal/ubuntu jammy-updates/main amd64 libkrb5-dev amd64 1.19.2-2ubuntu0.4 [12.0 kB] 381s Preconfiguring packages ... 381s Fetched 128 MB in 5s (26.6 MB/s) 381s Selecting previously unselected package libtalloc2:amd64. 381s (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 ... 97530 files and directories currently installed.) 381s Preparing to unpack .../000-libtalloc2_2.3.3-2build1_amd64.deb ... 381s Unpacking libtalloc2:amd64 (2.3.3-2build1) ... 381s Selecting previously unselected package libtevent0:amd64. 381s Preparing to unpack .../001-libtevent0_0.11.0-1build1_amd64.deb ... 381s Unpacking libtevent0:amd64 (0.11.0-1build1) ... 381s Selecting previously unselected package libwbclient0:amd64. 381s Preparing to unpack .../002-libwbclient0_2%3a4.15.13+dfsg-0ubuntu1.6_amd64.deb ... 381s Unpacking libwbclient0:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 381s Selecting previously unselected package libwbclient-dev:amd64. 381s Preparing to unpack .../003-libwbclient-dev_2%3a4.15.13+dfsg-0ubuntu1.6_amd64.deb ... 381s Unpacking libwbclient-dev:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 381s Selecting previously unselected package python3-dnspython. 381s Preparing to unpack .../004-python3-dnspython_2.1.0-1ubuntu1_all.deb ... 381s Unpacking python3-dnspython (2.1.0-1ubuntu1) ... 381s Selecting previously unselected package libtdb1:amd64. 381s Preparing to unpack .../005-libtdb1_1.4.5-2build1_amd64.deb ... 381s Unpacking libtdb1:amd64 (1.4.5-2build1) ... 381s Selecting previously unselected package libldb2:amd64. 381s Preparing to unpack .../006-libldb2_2%3a2.4.4-0ubuntu0.22.04.2_amd64.deb ... 381s Unpacking libldb2:amd64 (2:2.4.4-0ubuntu0.22.04.2) ... 381s Selecting previously unselected package libpython3.10:amd64. 381s Preparing to unpack .../007-libpython3.10_3.10.12-1~22.04.7_amd64.deb ... 381s Unpacking libpython3.10:amd64 (3.10.12-1~22.04.7) ... 381s Selecting previously unselected package python3-ldb. 381s Preparing to unpack .../008-python3-ldb_2%3a2.4.4-0ubuntu0.22.04.2_amd64.deb ... 381s Unpacking python3-ldb (2:2.4.4-0ubuntu0.22.04.2) ... 381s Selecting previously unselected package python3-tdb. 381s Preparing to unpack .../009-python3-tdb_1.4.5-2build1_amd64.deb ... 381s Unpacking python3-tdb (1.4.5-2build1) ... 381s Selecting previously unselected package libavahi-common-data:amd64. 381s Preparing to unpack .../010-libavahi-common-data_0.8-5ubuntu5.2_amd64.deb ... 381s Unpacking libavahi-common-data:amd64 (0.8-5ubuntu5.2) ... 381s Selecting previously unselected package libavahi-common3:amd64. 381s Preparing to unpack .../011-libavahi-common3_0.8-5ubuntu5.2_amd64.deb ... 381s Unpacking libavahi-common3:amd64 (0.8-5ubuntu5.2) ... 381s Selecting previously unselected package libavahi-client3:amd64. 381s Preparing to unpack .../012-libavahi-client3_0.8-5ubuntu5.2_amd64.deb ... 381s Unpacking libavahi-client3:amd64 (0.8-5ubuntu5.2) ... 381s Selecting previously unselected package libcups2:amd64. 381s Preparing to unpack .../013-libcups2_2.4.1op1-1ubuntu4.11_amd64.deb ... 381s Unpacking libcups2:amd64 (2.4.1op1-1ubuntu4.11) ... 381s Selecting previously unselected package python3-talloc:amd64. 381s Preparing to unpack .../014-python3-talloc_2.3.3-2build1_amd64.deb ... 381s Unpacking python3-talloc:amd64 (2.3.3-2build1) ... 381s Selecting previously unselected package samba-libs:amd64. 381s Preparing to unpack .../015-samba-libs_2%3a4.15.13+dfsg-0ubuntu1.6_amd64.deb ... 381s Unpacking samba-libs:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 381s Selecting previously unselected package python3-samba. 381s Preparing to unpack .../016-python3-samba_2%3a4.15.13+dfsg-0ubuntu1.6_amd64.deb ... 381s Unpacking python3-samba (2:4.15.13+dfsg-0ubuntu1.6) ... 381s Selecting previously unselected package samba-common. 381s Preparing to unpack .../017-samba-common_2%3a4.15.13+dfsg-0ubuntu1.6_all.deb ... 381s Unpacking samba-common (2:4.15.13+dfsg-0ubuntu1.6) ... 381s Selecting previously unselected package samba-common-bin. 381s Preparing to unpack .../018-samba-common-bin_2%3a4.15.13+dfsg-0ubuntu1.6_amd64.deb ... 381s Unpacking samba-common-bin (2:4.15.13+dfsg-0ubuntu1.6) ... 381s Selecting previously unselected package tdb-tools. 381s Preparing to unpack .../019-tdb-tools_1.4.5-2build1_amd64.deb ... 381s Unpacking tdb-tools (1.4.5-2build1) ... 381s Selecting previously unselected package samba. 381s Preparing to unpack .../020-samba_2%3a4.15.13+dfsg-0ubuntu1.6_amd64.deb ... 381s Unpacking samba (2:4.15.13+dfsg-0ubuntu1.6) ... 381s Selecting previously unselected package libsmbclient:amd64. 381s Preparing to unpack .../021-libsmbclient_2%3a4.15.13+dfsg-0ubuntu1.6_amd64.deb ... 381s Unpacking libsmbclient:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 381s Selecting previously unselected package libsmbclient-dev:amd64. 381s Preparing to unpack .../022-libsmbclient-dev_2%3a4.15.13+dfsg-0ubuntu1.6_amd64.deb ... 381s Unpacking libsmbclient-dev:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 381s Selecting previously unselected package m4. 381s Preparing to unpack .../023-m4_1.4.18-5ubuntu2_amd64.deb ... 381s Unpacking m4 (1.4.18-5ubuntu2) ... 381s Selecting previously unselected package autoconf. 381s Preparing to unpack .../024-autoconf_2.71-2_all.deb ... 381s Unpacking autoconf (2.71-2) ... 381s Selecting previously unselected package autotools-dev. 381s Preparing to unpack .../025-autotools-dev_20220109.1_all.deb ... 381s Unpacking autotools-dev (20220109.1) ... 382s Selecting previously unselected package automake. 382s Preparing to unpack .../026-automake_1%3a1.16.5-1.3_all.deb ... 382s Unpacking automake (1:1.16.5-1.3) ... 382s Selecting previously unselected package autopoint. 382s Preparing to unpack .../027-autopoint_0.21-4ubuntu4_all.deb ... 382s Unpacking autopoint (0.21-4ubuntu4) ... 382s Selecting previously unselected package libc-dev-bin. 382s Preparing to unpack .../028-libc-dev-bin_2.35-0ubuntu3.8_amd64.deb ... 382s Unpacking libc-dev-bin (2.35-0ubuntu3.8) ... 382s Selecting previously unselected package linux-libc-dev:amd64. 382s Preparing to unpack .../029-linux-libc-dev_5.15.0-126.136_amd64.deb ... 382s Unpacking linux-libc-dev:amd64 (5.15.0-126.136) ... 382s Selecting previously unselected package libcrypt-dev:amd64. 382s Preparing to unpack .../030-libcrypt-dev_1%3a4.4.27-1_amd64.deb ... 382s Unpacking libcrypt-dev:amd64 (1:4.4.27-1) ... 382s Selecting previously unselected package rpcsvc-proto. 382s Preparing to unpack .../031-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ... 382s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 382s Selecting previously unselected package libtirpc-dev:amd64. 382s Preparing to unpack .../032-libtirpc-dev_1.3.2-2ubuntu0.1_amd64.deb ... 382s Unpacking libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ... 382s Selecting previously unselected package libnsl-dev:amd64. 382s Preparing to unpack .../033-libnsl-dev_1.3.0-2build2_amd64.deb ... 382s Unpacking libnsl-dev:amd64 (1.3.0-2build2) ... 382s Selecting previously unselected package libc6-dev:amd64. 382s Preparing to unpack .../034-libc6-dev_2.35-0ubuntu3.8_amd64.deb ... 382s Unpacking libc6-dev:amd64 (2.35-0ubuntu3.8) ... 382s Selecting previously unselected package gcc-11-base:amd64. 382s Preparing to unpack .../035-gcc-11-base_11.4.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking gcc-11-base:amd64 (11.4.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package libisl23:amd64. 382s Preparing to unpack .../036-libisl23_0.24-2build1_amd64.deb ... 382s Unpacking libisl23:amd64 (0.24-2build1) ... 382s Selecting previously unselected package libmpc3:amd64. 382s Preparing to unpack .../037-libmpc3_1.2.1-2build1_amd64.deb ... 382s Unpacking libmpc3:amd64 (1.2.1-2build1) ... 382s Selecting previously unselected package cpp-11. 382s Preparing to unpack .../038-cpp-11_11.4.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking cpp-11 (11.4.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package cpp. 382s Preparing to unpack .../039-cpp_4%3a11.2.0-1ubuntu1_amd64.deb ... 382s Unpacking cpp (4:11.2.0-1ubuntu1) ... 382s Selecting previously unselected package libcc1-0:amd64. 382s Preparing to unpack .../040-libcc1-0_12.3.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package libgomp1:amd64. 382s Preparing to unpack .../041-libgomp1_12.3.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking libgomp1:amd64 (12.3.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package libitm1:amd64. 382s Preparing to unpack .../042-libitm1_12.3.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking libitm1:amd64 (12.3.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package libatomic1:amd64. 382s Preparing to unpack .../043-libatomic1_12.3.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking libatomic1:amd64 (12.3.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package libasan6:amd64. 382s Preparing to unpack .../044-libasan6_11.4.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking libasan6:amd64 (11.4.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package liblsan0:amd64. 382s Preparing to unpack .../045-liblsan0_12.3.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package libtsan0:amd64. 382s Preparing to unpack .../046-libtsan0_11.4.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package libubsan1:amd64. 382s Preparing to unpack .../047-libubsan1_12.3.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package libquadmath0:amd64. 382s Preparing to unpack .../048-libquadmath0_12.3.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package libgcc-11-dev:amd64. 382s Preparing to unpack .../049-libgcc-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ... 382s Selecting previously unselected package gcc-11. 382s Preparing to unpack .../050-gcc-11_11.4.0-1ubuntu1~22.04_amd64.deb ... 382s Unpacking gcc-11 (11.4.0-1ubuntu1~22.04) ... 383s Selecting previously unselected package gcc. 383s Preparing to unpack .../051-gcc_4%3a11.2.0-1ubuntu1_amd64.deb ... 383s Unpacking gcc (4:11.2.0-1ubuntu1) ... 383s Selecting previously unselected package libstdc++-11-dev:amd64. 383s Preparing to unpack .../052-libstdc++-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ... 383s Unpacking libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ... 383s Selecting previously unselected package g++-11. 383s Preparing to unpack .../053-g++-11_11.4.0-1ubuntu1~22.04_amd64.deb ... 383s Unpacking g++-11 (11.4.0-1ubuntu1~22.04) ... 383s Selecting previously unselected package g++. 383s Preparing to unpack .../054-g++_4%3a11.2.0-1ubuntu1_amd64.deb ... 383s Unpacking g++ (4:11.2.0-1ubuntu1) ... 383s Selecting previously unselected package build-essential. 383s Preparing to unpack .../055-build-essential_12.9ubuntu3_amd64.deb ... 383s Unpacking build-essential (12.9ubuntu3) ... 383s Selecting previously unselected package libdebhelper-perl. 383s Preparing to unpack .../056-libdebhelper-perl_13.6ubuntu1_all.deb ... 383s Unpacking libdebhelper-perl (13.6ubuntu1) ... 383s Selecting previously unselected package libtool. 383s Preparing to unpack .../057-libtool_2.4.6-15build2_all.deb ... 383s Unpacking libtool (2.4.6-15build2) ... 383s Selecting previously unselected package dh-autoreconf. 383s Preparing to unpack .../058-dh-autoreconf_20_all.deb ... 383s Unpacking dh-autoreconf (20) ... 383s Selecting previously unselected package libarchive-zip-perl. 383s Preparing to unpack .../059-libarchive-zip-perl_1.68-1_all.deb ... 383s Unpacking libarchive-zip-perl (1.68-1) ... 383s Selecting previously unselected package libsub-override-perl. 383s Preparing to unpack .../060-libsub-override-perl_0.09-2_all.deb ... 383s Unpacking libsub-override-perl (0.09-2) ... 383s Selecting previously unselected package libfile-stripnondeterminism-perl. 383s Preparing to unpack .../061-libfile-stripnondeterminism-perl_1.13.0-1_all.deb ... 383s Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ... 383s Selecting previously unselected package dh-strip-nondeterminism. 383s Preparing to unpack .../062-dh-strip-nondeterminism_1.13.0-1_all.deb ... 383s Unpacking dh-strip-nondeterminism (1.13.0-1) ... 383s Selecting previously unselected package debugedit. 383s Preparing to unpack .../063-debugedit_1%3a5.0-4build1_amd64.deb ... 383s Unpacking debugedit (1:5.0-4build1) ... 383s Selecting previously unselected package dwz. 383s Preparing to unpack .../064-dwz_0.14-1build2_amd64.deb ... 383s Unpacking dwz (0.14-1build2) ... 383s Selecting previously unselected package gettext. 383s Preparing to unpack .../065-gettext_0.21-4ubuntu4_amd64.deb ... 383s Unpacking gettext (0.21-4ubuntu4) ... 383s Selecting previously unselected package intltool-debian. 383s Preparing to unpack .../066-intltool-debian_0.35.0+20060710.5_all.deb ... 383s Unpacking intltool-debian (0.35.0+20060710.5) ... 383s Selecting previously unselected package po-debconf. 383s Preparing to unpack .../067-po-debconf_1.0.21+nmu1_all.deb ... 383s Unpacking po-debconf (1.0.21+nmu1) ... 383s Selecting previously unselected package debhelper. 383s Preparing to unpack .../068-debhelper_13.6ubuntu1_all.deb ... 383s Unpacking debhelper (13.6ubuntu1) ... 383s Selecting previously unselected package dh-apport. 383s Preparing to unpack .../069-dh-apport_2.20.11-0ubuntu82.6_all.deb ... 383s Unpacking dh-apport (2.20.11-0ubuntu82.6) ... 383s Selecting previously unselected package golang-1.22-src. 383s Preparing to unpack .../070-golang-1.22-src_1.22.2-2~22.04.2_all.deb ... 383s Unpacking golang-1.22-src (1.22.2-2~22.04.2) ... 384s Selecting previously unselected package golang-1.22-go. 384s Preparing to unpack .../071-golang-1.22-go_1.22.2-2~22.04.2_amd64.deb ... 384s Unpacking golang-1.22-go (1.22.2-2~22.04.2) ... 385s Selecting previously unselected package libgssrpc4:amd64. 385s Preparing to unpack .../072-libgssrpc4_1.19.2-2ubuntu0.4_amd64.deb ... 385s Unpacking libgssrpc4:amd64 (1.19.2-2ubuntu0.4) ... 385s Selecting previously unselected package libkdb5-10:amd64. 385s Preparing to unpack .../073-libkdb5-10_1.19.2-2ubuntu0.4_amd64.deb ... 385s Unpacking libkdb5-10:amd64 (1.19.2-2ubuntu0.4) ... 385s Selecting previously unselected package libkadm5srv-mit12:amd64. 385s Preparing to unpack .../074-libkadm5srv-mit12_1.19.2-2ubuntu0.4_amd64.deb ... 385s Unpacking libkadm5srv-mit12:amd64 (1.19.2-2ubuntu0.4) ... 385s Selecting previously unselected package libkadm5clnt-mit12:amd64. 385s Preparing to unpack .../075-libkadm5clnt-mit12_1.19.2-2ubuntu0.4_amd64.deb ... 385s Unpacking libkadm5clnt-mit12:amd64 (1.19.2-2ubuntu0.4) ... 385s Selecting previously unselected package comerr-dev:amd64. 385s Preparing to unpack .../076-comerr-dev_2.1-1.46.5-2ubuntu1.2_amd64.deb ... 385s Unpacking comerr-dev:amd64 (2.1-1.46.5-2ubuntu1.2) ... 385s Selecting previously unselected package krb5-multidev:amd64. 385s Preparing to unpack .../077-krb5-multidev_1.19.2-2ubuntu0.4_amd64.deb ... 385s Unpacking krb5-multidev:amd64 (1.19.2-2ubuntu0.4) ... 385s Selecting previously unselected package pkg-config. 385s Preparing to unpack .../078-pkg-config_0.29.2-1ubuntu3_amd64.deb ... 385s Unpacking pkg-config (0.29.2-1ubuntu3) ... 385s Selecting previously unselected package libdbus-1-dev:amd64. 385s Preparing to unpack .../079-libdbus-1-dev_1.12.20-2ubuntu4.1_amd64.deb ... 385s Unpacking libdbus-1-dev:amd64 (1.12.20-2ubuntu4.1) ... 385s Selecting previously unselected package libffi-dev:amd64. 385s Preparing to unpack .../080-libffi-dev_3.4.2-4_amd64.deb ... 385s Unpacking libffi-dev:amd64 (3.4.2-4) ... 385s Selecting previously unselected package libglib2.0-dev-bin. 385s Preparing to unpack .../081-libglib2.0-dev-bin_2.72.4-0ubuntu2.4_amd64.deb ... 385s Unpacking libglib2.0-dev-bin (2.72.4-0ubuntu2.4) ... 385s Selecting previously unselected package uuid-dev:amd64. 385s Preparing to unpack .../082-uuid-dev_2.37.2-4ubuntu3.4_amd64.deb ... 385s Unpacking uuid-dev:amd64 (2.37.2-4ubuntu3.4) ... 385s Selecting previously unselected package libblkid-dev:amd64. 385s Preparing to unpack .../083-libblkid-dev_2.37.2-4ubuntu3.4_amd64.deb ... 385s Unpacking libblkid-dev:amd64 (2.37.2-4ubuntu3.4) ... 385s Selecting previously unselected package libsepol-dev:amd64. 385s Preparing to unpack .../084-libsepol-dev_3.3-1build1_amd64.deb ... 385s Unpacking libsepol-dev:amd64 (3.3-1build1) ... 385s Selecting previously unselected package libpcre2-16-0:amd64. 385s Preparing to unpack .../085-libpcre2-16-0_10.39-3ubuntu0.1_amd64.deb ... 385s Unpacking libpcre2-16-0:amd64 (10.39-3ubuntu0.1) ... 385s Selecting previously unselected package libpcre2-32-0:amd64. 385s Preparing to unpack .../086-libpcre2-32-0_10.39-3ubuntu0.1_amd64.deb ... 385s Unpacking libpcre2-32-0:amd64 (10.39-3ubuntu0.1) ... 385s Selecting previously unselected package libpcre2-posix3:amd64. 385s Preparing to unpack .../087-libpcre2-posix3_10.39-3ubuntu0.1_amd64.deb ... 385s Unpacking libpcre2-posix3:amd64 (10.39-3ubuntu0.1) ... 385s Selecting previously unselected package libpcre2-dev:amd64. 385s Preparing to unpack .../088-libpcre2-dev_10.39-3ubuntu0.1_amd64.deb ... 385s Unpacking libpcre2-dev:amd64 (10.39-3ubuntu0.1) ... 385s Selecting previously unselected package libselinux1-dev:amd64. 385s Preparing to unpack .../089-libselinux1-dev_3.3-1build2_amd64.deb ... 385s Unpacking libselinux1-dev:amd64 (3.3-1build2) ... 385s Selecting previously unselected package libmount-dev:amd64. 385s Preparing to unpack .../090-libmount-dev_2.37.2-4ubuntu3.4_amd64.deb ... 385s Unpacking libmount-dev:amd64 (2.37.2-4ubuntu3.4) ... 385s Selecting previously unselected package libpcre16-3:amd64. 385s Preparing to unpack .../091-libpcre16-3_2%3a8.39-13ubuntu0.22.04.1_amd64.deb ... 385s Unpacking libpcre16-3:amd64 (2:8.39-13ubuntu0.22.04.1) ... 385s Selecting previously unselected package libpcre32-3:amd64. 385s Preparing to unpack .../092-libpcre32-3_2%3a8.39-13ubuntu0.22.04.1_amd64.deb ... 385s Unpacking libpcre32-3:amd64 (2:8.39-13ubuntu0.22.04.1) ... 385s Selecting previously unselected package libpcrecpp0v5:amd64. 385s Preparing to unpack .../093-libpcrecpp0v5_2%3a8.39-13ubuntu0.22.04.1_amd64.deb ... 385s Unpacking libpcrecpp0v5:amd64 (2:8.39-13ubuntu0.22.04.1) ... 385s Selecting previously unselected package libpcre3-dev:amd64. 385s Preparing to unpack .../094-libpcre3-dev_2%3a8.39-13ubuntu0.22.04.1_amd64.deb ... 385s Unpacking libpcre3-dev:amd64 (2:8.39-13ubuntu0.22.04.1) ... 385s Selecting previously unselected package zlib1g-dev:amd64. 385s Preparing to unpack .../095-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ... 385s Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ... 385s Selecting previously unselected package libglib2.0-dev:amd64. 385s Preparing to unpack .../096-libglib2.0-dev_2.72.4-0ubuntu2.4_amd64.deb ... 385s Unpacking libglib2.0-dev:amd64 (2.72.4-0ubuntu2.4) ... 385s Selecting previously unselected package libpam0g-dev:amd64. 385s Preparing to unpack .../097-libpam0g-dev_1.4.0-11ubuntu2.5_amd64.deb ... 385s Unpacking libpam0g-dev:amd64 (1.4.0-11ubuntu2.5) ... 385s Selecting previously unselected package samba-dsdb-modules:amd64. 385s Preparing to unpack .../098-samba-dsdb-modules_2%3a4.15.13+dfsg-0ubuntu1.6_amd64.deb ... 385s Unpacking samba-dsdb-modules:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 385s Selecting previously unselected package dh-golang. 385s Preparing to unpack .../099-dh-golang_1.53_all.deb ... 385s Unpacking dh-golang (1.53) ... 385s Selecting previously unselected package libkrb5-dev:amd64. 385s Preparing to unpack .../100-libkrb5-dev_1.19.2-2ubuntu0.4_amd64.deb ... 385s Unpacking libkrb5-dev:amd64 (1.19.2-2ubuntu0.4) ... 385s Setting up libpcrecpp0v5:amd64 (2:8.39-13ubuntu0.22.04.1) ... 385s Setting up libglib2.0-dev-bin (2.72.4-0ubuntu2.4) ... 386s Setting up gcc-11-base:amd64 (11.4.0-1ubuntu1~22.04) ... 386s Setting up libpython3.10:amd64 (3.10.12-1~22.04.7) ... 386s Setting up libpcre16-3:amd64 (2:8.39-13ubuntu0.22.04.1) ... 386s Setting up libarchive-zip-perl (1.68-1) ... 386s Setting up libtdb1:amd64 (1.4.5-2build1) ... 386s Setting up libdebhelper-perl (13.6ubuntu1) ... 386s Setting up linux-libc-dev:amd64 (5.15.0-126.136) ... 386s Setting up m4 (1.4.18-5ubuntu2) ... 386s Setting up samba-common (2:4.15.13+dfsg-0ubuntu1.6) ... 386s 386s Creating config file /etc/samba/smb.conf with new version 386s Setting up libgomp1:amd64 (12.3.0-1ubuntu1~22.04) ... 386s Setting up libffi-dev:amd64 (3.4.2-4) ... 386s Setting up dh-apport (2.20.11-0ubuntu82.6) ... 386s Setting up libpcre2-16-0:amd64 (10.39-3ubuntu0.1) ... 386s Setting up libasan6:amd64 (11.4.0-1ubuntu1~22.04) ... 386s Setting up libtalloc2:amd64 (2.3.3-2build1) ... 386s Setting up libgssrpc4:amd64 (1.19.2-2ubuntu0.4) ... 386s Setting up python3-tdb (1.4.5-2build1) ... 386s Setting up autotools-dev (20220109.1) ... 386s Setting up libpcre2-32-0:amd64 (10.39-3ubuntu0.1) ... 386s Setting up libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ... 386s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 386s Setting up libtevent0:amd64 (0.11.0-1build1) ... 386s Setting up libavahi-common-data:amd64 (0.8-5ubuntu5.2) ... 386s Setting up golang-1.22-src (1.22.2-2~22.04.2) ... 386s Setting up tdb-tools (1.4.5-2build1) ... 386s update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode 386s Setting up libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ... 386s Setting up libpcre32-3:amd64 (2:8.39-13ubuntu0.22.04.1) ... 386s Setting up libmpc3:amd64 (1.2.1-2build1) ... 386s Setting up libatomic1:amd64 (12.3.0-1ubuntu1~22.04) ... 386s Setting up autopoint (0.21-4ubuntu4) ... 386s Setting up pkg-config (0.29.2-1ubuntu3) ... 386s Setting up libsepol-dev:amd64 (3.3-1build1) ... 386s Setting up autoconf (2.71-2) ... 386s Setting up libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ... 386s Setting up libpcre2-posix3:amd64 (10.39-3ubuntu0.1) ... 386s Setting up dwz (0.14-1build2) ... 386s Setting up libnsl-dev:amd64 (1.3.0-2build2) ... 386s Setting up python3-dnspython (2.1.0-1ubuntu1) ... 386s Setting up libcrypt-dev:amd64 (1:4.4.27-1) ... 386s Setting up debugedit (1:5.0-4build1) ... 386s Setting up libsub-override-perl (0.09-2) ... 386s Setting up libisl23:amd64 (0.24-2build1) ... 386s Setting up libc-dev-bin (2.35-0ubuntu3.8) ... 386s Setting up libldb2:amd64 (2:2.4.4-0ubuntu0.22.04.2) ... 386s Setting up libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ... 386s Setting up liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ... 386s Setting up libitm1:amd64 (12.3.0-1ubuntu1~22.04) ... 386s Setting up libkadm5clnt-mit12:amd64 (1.19.2-2ubuntu0.4) ... 386s Setting up libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ... 386s Setting up automake (1:1.16.5-1.3) ... 386s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 386s Setting up libfile-stripnondeterminism-perl (1.13.0-1) ... 386s Setting up cpp-11 (11.4.0-1ubuntu1~22.04) ... 386s Setting up gettext (0.21-4ubuntu4) ... 386s Setting up libkdb5-10:amd64 (1.19.2-2ubuntu0.4) ... 386s Setting up python3-talloc:amd64 (2.3.3-2build1) ... 386s Setting up libavahi-common3:amd64 (0.8-5ubuntu5.2) ... 386s Setting up golang-1.22-go (1.22.2-2~22.04.2) ... 386s Setting up libwbclient0:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 386s Setting up libwbclient-dev:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 386s Setting up intltool-debian (0.35.0+20060710.5) ... 386s Setting up libdbus-1-dev:amd64 (1.12.20-2ubuntu4.1) ... 386s Setting up python3-ldb (2:2.4.4-0ubuntu0.22.04.2) ... 386s Setting up dh-strip-nondeterminism (1.13.0-1) ... 386s Setting up libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ... 386s Setting up gcc-11 (11.4.0-1ubuntu1~22.04) ... 386s Setting up cpp (4:11.2.0-1ubuntu1) ... 386s Setting up libkadm5srv-mit12:amd64 (1.19.2-2ubuntu0.4) ... 386s Setting up libc6-dev:amd64 (2.35-0ubuntu3.8) ... 386s Setting up libavahi-client3:amd64 (0.8-5ubuntu5.2) ... 386s Setting up libpcre2-dev:amd64 (10.39-3ubuntu0.1) ... 386s Setting up libtool (2.4.6-15build2) ... 386s Setting up libpam0g-dev:amd64 (1.4.0-11ubuntu2.5) ... 386s Setting up libselinux1-dev:amd64 (3.3-1build2) ... 386s Setting up libpcre3-dev:amd64 (2:8.39-13ubuntu0.22.04.1) ... 386s Setting up po-debconf (1.0.21+nmu1) ... 386s Setting up gcc (4:11.2.0-1ubuntu1) ... 386s Setting up dh-autoreconf (20) ... 386s Setting up uuid-dev:amd64 (2.37.2-4ubuntu3.4) ... 386s Setting up comerr-dev:amd64 (2.1-1.46.5-2ubuntu1.2) ... 386s Setting up libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ... 386s Setting up libcups2:amd64 (2.4.1op1-1ubuntu4.11) ... 386s Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ... 386s Setting up krb5-multidev:amd64 (1.19.2-2ubuntu0.4) ... 386s Setting up libblkid-dev:amd64 (2.37.2-4ubuntu3.4) ... 386s Setting up g++-11 (11.4.0-1ubuntu1~22.04) ... 386s Setting up samba-libs:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 386s Setting up debhelper (13.6ubuntu1) ... 386s Setting up libkrb5-dev:amd64 (1.19.2-2ubuntu0.4) ... 386s Setting up libsmbclient:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 386s Setting up libsmbclient-dev:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 386s Setting up g++ (4:11.2.0-1ubuntu1) ... 386s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 386s Setting up build-essential (12.9ubuntu3) ... 386s Setting up samba-dsdb-modules:amd64 (2:4.15.13+dfsg-0ubuntu1.6) ... 386s Setting up libmount-dev:amd64 (2.37.2-4ubuntu3.4) ... 386s Setting up python3-samba (2:4.15.13+dfsg-0ubuntu1.6) ... 387s Setting up dh-golang (1.53) ... 387s Setting up libglib2.0-dev:amd64 (2.72.4-0ubuntu2.4) ... 387s Setting up samba-common-bin (2:4.15.13+dfsg-0ubuntu1.6) ... 387s Checking smb.conf with testparm 387s Load smb config files from /etc/samba/smb.conf 387s Loaded services file OK. 387s Weak crypto is allowed 387s 387s Server role: ROLE_STANDALONE 387s 387s Done 387s Setting up samba (2:4.15.13+dfsg-0ubuntu1.6) ... 387s Adding group `sambashare' (GID 116) ... 387s Done. 387s Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service 387s Please ignore the following error about deb-systemd-helper not finding those services. 387s (samba-ad-dc.service masked) 388s Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service. 388s Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. 388s /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory 388s Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service. 389s samba-ad-dc.service is a disabled or a static unit, not starting it. 389s Processing triggers for libc-bin (2.35-0ubuntu3.8) ... 389s Processing triggers for ufw (0.36.1-4ubuntu0.1) ... 389s Processing triggers for man-db (2.10.2-1) ... 389s Processing triggers for install-info (6.8-4build1) ... 389s Processing triggers for libglib2.0-0:amd64 (2.72.4-0ubuntu2.4) ... 389s No schema files found: doing nothing. 390s autopkgtest [20:34:04]: test command1: ./debian/tests/test no-sudo 390s autopkgtest [20:34:04]: test command1: [----------------------- 390s Running non-root tests... 411s ? github.com/ubuntu/adsys [no test files] 415s ? github.com/ubuntu/adsys/cmd/admxgen [no test files] 431s === RUN TestRun 431s === RUN TestRun/Run_and_usage_error_only_does_not_fail 431s === RUN TestRun/Send_SIGINT_exits 431s === RUN TestRun/Send_SIGTERM_exits 431s === RUN TestRun/Send_SIGHUP_without_exiting 431s === RUN TestRun/Send_SIGHUP_with_exit 431s === RUN TestRun/Run_and_exit_successfully 431s === RUN TestRun/Run_and_return_error 431s level=error msg="Error requested" 431s === RUN TestRun/Run_and_return_usage_error 431s level=error msg="Error requested" 431s --- PASS: TestRun (0.86s) 431s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 431s --- PASS: TestRun/Send_SIGINT_exits (0.10s) 431s --- PASS: TestRun/Send_SIGTERM_exits (0.10s) 431s --- PASS: TestRun/Send_SIGHUP_without_exiting (0.15s) 431s --- PASS: TestRun/Send_SIGHUP_with_exit (0.10s) 431s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 431s --- PASS: TestRun/Run_and_return_error (0.10s) 431s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 431s PASS 431s ok github.com/ubuntu/adsys/cmd/adsysd 0.895s 431s === RUN TestColorizePolicies 431s --- PASS: TestColorizePolicies (0.00s) 431s === RUN TestInitApp 431s === PAUSE TestInitApp 431s === RUN TestAppHelp 431s === PAUSE TestAppHelp 431s === RUN TestAppCompletion 431s === PAUSE TestAppCompletion 431s === RUN TestAppNoUsageError 431s === PAUSE TestAppNoUsageError 431s === RUN TestAppUsageError 431s === PAUSE TestAppUsageError 431s === RUN TestAppCanQuitWhenExecute 431s === PAUSE TestAppCanQuitWhenExecute 431s === RUN TestAppCanQuitAfterExecute 431s === PAUSE TestAppCanQuitAfterExecute 431s === RUN TestAppCanQuitWithoutExecute 431s === PAUSE TestAppCanQuitWithoutExecute 431s === RUN TestAppCanSigHupWhenExecute 431s === PAUSE TestAppCanSigHupWhenExecute 431s === RUN TestAppCanSigHupAfterExecute 431s === PAUSE TestAppCanSigHupAfterExecute 431s === RUN TestAppGetRootCmd 431s === PAUSE TestAppGetRootCmd 431s === CONT TestInitApp 431s Usage: 431s adsysctl COMMAND [flags] 431s adsysctl [command] 431s 431s Available Commands: 431s applied Print last applied GPOs for current or given user/machine 431s completion Generate the autocompletion script for the specified shell 431s doc Documentation 431s help Help about any command 431s policy Policy management 431s service Service management 431s update Updates/Create a policy for current user or given user with its kerberos ticket 431s version Returns version of client and service 431s 431s Flags: 431s -c, --config string use a specific configuration file 431s -h, --help help for adsysctl 431s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 431s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 431s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 431s 431s Use "adsysctl [command] --help" for more information about a command. 431s 431s --- PASS: TestInitApp (0.00s) 431s === CONT TestAppGetRootCmd 431s --- PASS: TestAppGetRootCmd (0.00s) 431s === CONT TestAppCanSigHupAfterExecute 431s # bash completion V2 for adsysctl -*- shell-script -*- 431s 431s __adsysctl_debug() 431s { 431s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 431s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 431s fi 431s } 431s 431s # Macs have bash3 for which the bash-completion package doesn't include 431s # _init_completion. This is a minimal version of that function. 431s __adsysctl_init_completion() 431s { 431s COMPREPLY=() 431s _get_comp_words_by_ref "$@" cur prev words cword 431s } 431s 431s # This function calls the adsysctl program to obtain the completion 431s # results and the directive. It fills the 'out' and 'directive' vars. 431s __adsysctl_get_completion_results() { 431s local requestComp lastParam lastChar args 431s 431s # Prepare the command to request completions for the program. 431s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 431s args=("${words[@]:1}") 431s requestComp="${words[0]} __complete ${args[*]}" 431s 431s lastParam=${words[$((${#words[@]}-1))]} 431s lastChar=${lastParam:$((${#lastParam}-1)):1} 431s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 431s 431s if [[ -z ${cur} && ${lastChar} != = ]]; then 431s # If the last parameter is complete (there is a space following it) 431s # We add an extra empty parameter so we can indicate this to the go method. 431s __adsysctl_debug "Adding extra empty parameter" 431s requestComp="${requestComp} ''" 431s fi 431s 431s # When completing a flag with an = (e.g., adsysctl -n=) 431s # bash focuses on the part after the =, so we need to remove 431s # the flag part from $cur 431s if [[ ${cur} == -*=* ]]; then 431s cur="${cur#*=}" 431s fi 431s 431s __adsysctl_debug "Calling ${requestComp}" 431s # Use eval to handle any environment variables and such 431s out=$(eval "${requestComp}" 2>/dev/null) 431s 431s # Extract the directive integer at the very end of the output following a colon (:) 431s directive=${out##*:} 431s # Remove the directive 431s out=${out%:*} 431s if [[ ${directive} == "${out}" ]]; then 431s # There is not directive specified 431s directive=0 431s fi 431s __adsysctl_debug "The completion directive is: ${directive}" 431s __adsysctl_debug "The completions are: ${out}" 431s } 431s 431s __adsysctl_process_completion_results() { 431s local shellCompDirectiveError=1 431s local shellCompDirectiveNoSpace=2 431s local shellCompDirectiveNoFileComp=4 431s local shellCompDirectiveFilterFileExt=8 431s local shellCompDirectiveFilterDirs=16 431s local shellCompDirectiveKeepOrder=32 431s 431s if (((directive & shellCompDirectiveError) != 0)); then 431s # Error code. No completion. 431s __adsysctl_debug "Received error from custom completion go code" 431s return 431s else 431s if (((directive & shellCompDirectiveNoSpace) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s __adsysctl_debug "Activating no space" 431s compopt -o nospace 431s else 431s __adsysctl_debug "No space directive not supported in this version of bash" 431s fi 431s fi 431s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s # no sort isn't supported for bash less than < 4.4 431s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 431s __adsysctl_debug "No sort directive not supported in this version of bash" 431s else 431s __adsysctl_debug "Activating keep order" 431s compopt -o nosort 431s fi 431s else 431s __adsysctl_debug "No sort directive not supported in this version of bash" 431s fi 431s fi 431s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s __adsysctl_debug "Activating no file completion" 431s compopt +o default 431s else 431s __adsysctl_debug "No file completion directive not supported in this version of bash" 431s fi 431s fi 431s fi 431s 431s # Separate activeHelp from normal completions 431s local completions=() 431s local activeHelp=() 431s __adsysctl_extract_activeHelp 431s 431s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 431s # File extension filtering 431s local fullFilter filter filteringCmd 431s 431s # Do not use quotes around the $completions variable or else newline 431s # characters will be kept. 431s for filter in ${completions[*]}; do 431s fullFilter+="$filter|" 431s done 431s 431s filteringCmd="_filedir $fullFilter" 431s __adsysctl_debug "File filtering command: $filteringCmd" 431s $filteringCmd 431s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 431s # File completion for directories only 431s 431s local subdir 431s subdir=${completions[0]} 431s if [[ -n $subdir ]]; then 431s __adsysctl_debug "Listing directories in $subdir" 431s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 431s else 431s __adsysctl_debug "Listing directories in ." 431s _filedir -d 431s fi 431s else 431s __adsysctl_handle_completion_types 431s fi 431s 431s __adsysctl_handle_special_char "$cur" : 431s __adsysctl_handle_special_char "$cur" = 431s 431s # Print the activeHelp statements before we finish 431s if ((${#activeHelp[*]} != 0)); then 431s printf "\n"; 431s printf "%s\n" "${activeHelp[@]}" 431s printf "\n" 431s 431s # The prompt format is only available from bash 4.4. 431s # We test if it is available before using it. 431s if (x=${PS1@P}) 2> /dev/null; then 431s printf "%s" "${PS1@P}${COMP_LINE[@]}" 431s else 431s # Can't print the prompt. Just print the 431s # text the user had typed, it is workable enough. 431s printf "%s" "${COMP_LINE[@]}" 431s fi 431s fi 431s } 431s 431s # Separate activeHelp lines from real completions. 431s # Fills the $activeHelp and $completions arrays. 431s __adsysctl_extract_activeHelp() { 431s local activeHelpMarker="_activeHelp_ " 431s local endIndex=${#activeHelpMarker} 431s 431s while IFS='' read -r comp; do 431s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 431s comp=${comp:endIndex} 431s __adsysctl_debug "ActiveHelp found: $comp" 431s if [[ -n $comp ]]; then 431s activeHelp+=("$comp") 431s fi 431s else 431s # Not an activeHelp line but a normal completion 431s completions+=("$comp") 431s fi 431s done <<<"${out}" 431s } 431s 431s __adsysctl_handle_completion_types() { 431s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 431s 431s case $COMP_TYPE in 431s 37|42) 431s # Type: menu-complete/menu-complete-backward and insert-completions 431s # If the user requested inserting one completion at a time, or all 431s # completions at once on the command-line we must remove the descriptions. 431s # https://github.com/spf13/cobra/issues/1508 431s local tab=$'\t' comp 431s while IFS='' read -r comp; do 431s [[ -z $comp ]] && continue 431s # Strip any description 431s comp=${comp%%$tab*} 431s # Only consider the completions that match 431s if [[ $comp == "$cur"* ]]; then 431s COMPREPLY+=("$comp") 431s fi 431s done < <(printf "%s\n" "${completions[@]}") 431s ;; 431s 431s *) 431s # Type: complete (normal completion) 431s __adsysctl_handle_standard_completion_case 431s ;; 431s esac 431s } 431s 431s __adsysctl_handle_standard_completion_case() { 431s local tab=$'\t' comp 431s 431s # Short circuit to optimize if we don't have descriptions 431s if [[ "${completions[*]}" != *$tab* ]]; then 431s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 431s return 0 431s fi 431s 431s local longest=0 431s local compline 431s # Look for the longest completion so that we can format things nicely 431s while IFS='' read -r compline; do 431s [[ -z $compline ]] && continue 431s # Strip any description before checking the length 431s comp=${compline%%$tab*} 431s # Only consider the completions that match 431s [[ $comp == "$cur"* ]] || continue 431s COMPREPLY+=("$compline") 431s if ((${#comp}>longest)); then 431s longest=${#comp} 431s fi 431s done < <(printf "%s\n" "${completions[@]}") 431s 431s # If there is a single completion left, remove the description text 431s if ((${#COMPREPLY[*]} == 1)); then 431s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 431s comp="${COMPREPLY[0]%%$tab*}" 431s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 431s COMPREPLY[0]=$comp 431s else # Format the descriptions 431s __adsysctl_format_comp_descriptions $longest 431s fi 431s } 431s 431s __adsysctl_handle_special_char() 431s { 431s local comp="$1" 431s local char=$2 431s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 431s local word=${comp%"${comp##*${char}}"} 431s local idx=${#COMPREPLY[*]} 431s while ((--idx >= 0)); do 431s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 431s done 431s fi 431s } 431s 431s __adsysctl_format_comp_descriptions() 431s { 431s local tab=$'\t' 431s local comp desc maxdesclength 431s local longest=$1 431s 431s local i ci 431s for ci in ${!COMPREPLY[*]}; do 431s comp=${COMPREPLY[ci]} 431s # Properly format the description string which follows a tab character if there is one 431s if [[ "$comp" == *$tab* ]]; then 431s __adsysctl_debug "Original comp: $comp" 431s desc=${comp#*$tab} 431s comp=${comp%%$tab*} 431s 431s # $COLUMNS stores the current shell width. 431s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 431s maxdesclength=$(( COLUMNS - longest - 4 )) 431s 431s # Make sure we can fit a description of at least 8 characters 431s # if we are to align the descriptions. 431s if ((maxdesclength > 8)); then 431s # Add the proper number of spaces to align the descriptions 431s for ((i = ${#comp} ; i < longest ; i++)); do 431s comp+=" " 431s done 431s else 431s # Don't pad the descriptions so we can fit more text after the completion 431s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 431s fi 431s 431s # If there is enough space for any description text, 431s # truncate the descriptions that are too long for the shell width 431s if ((maxdesclength > 0)); then 431s if ((${#desc} > maxdesclength)); then 431s desc=${desc:0:$(( maxdesclength - 1 ))} 431s desc+="…" 431s fi 431s comp+=" ($desc)" 431s fi 431s COMPREPLY[ci]=$comp 431s __adsysctl_debug "Final comp: $comp" 431s fi 431s done 431s } 431s 431s __start_adsysctl() 431s { 431s local cur prev words cword split 431s 431s COMPREPLY=() 431s 431s # Call _init_completion from the bash-completion package 431s # to prepare the arguments properly 431s if declare -F _init_completion >/dev/null 2>&1; then 431s _init_completion -n =: || return 431s else 431s __adsysctl_init_completion -n =: || return 431s fi 431s 431s __adsysctl_debug 431s __adsysctl_debug "========= starting completion logic ==========" 431s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 431s 431s # The user could have moved the cursor backwards on the command-line. 431s # We need to trigger completion from the $cword location, so we need 431s # to truncate the command-line ($words) up to the $cword location. 431s words=("${words[@]:0:$cword+1}") 431s __adsysctl_debug "Truncated words[*]: ${words[*]}," 431s 431s local out directive 431s __adsysctl_get_completion_results 431s __adsysctl_process_completion_results 431s } 431s 431s if [[ $(type -t compopt) = "builtin" ]]; then 431s complete -o default -F __start_adsysctl adsysctl 431s else 431s complete -o default -o nospace -F __start_adsysctl adsysctl 431s fi 431s 431s # ex: ts=4 sw=4 et filetype=sh 431s === CONT TestAppCanQuitWhenExecute 431s --- PASS: TestAppCanSigHupAfterExecute (0.00s) 431s === CONT TestAppCanSigHupWhenExecute 431s --- PASS: TestAppCanSigHupWhenExecute (0.00s) 431s --- PASS: TestAppCanQuitWhenExecute (0.00s) 431s === CONT TestAppCanQuitWithoutExecute 431s --- PASS: TestAppCanQuitWithoutExecute (0.00s) 431s === CONT TestAppNoUsageError 431s # bash completion V2 for adsysctl -*- shell-script -*- 431s 431s __adsysctl_debug() 431s { 431s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 431s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 431s fi 431s } 431s 431s # Macs have bash3 for which the bash-completion package doesn't include 431s # _init_completion. This is a minimal version of that function. 431s __adsysctl_init_completion() 431s { 431s COMPREPLY=() 431s _get_comp_words_by_ref "$@" cur prev words cword 431s } 431s 431s # This function calls the adsysctl program to obtain the completion 431s # results and the directive. It fills the 'out' and 'directive' vars. 431s __adsysctl_get_completion_results() { 431s local requestComp lastParam lastChar args 431s 431s # Prepare the command to request completions for the program. 431s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 431s args=("${words[@]:1}") 431s requestComp="${words[0]} __complete ${args[*]}" 431s 431s lastParam=${words[$((${#words[@]}-1))]} 431s lastChar=${lastParam:$((${#lastParam}-1)):1} 431s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 431s 431s if [[ -z ${cur} && ${lastChar} != = ]]; then 431s # If the last parameter is complete (there is a space following it) 431s # We add an extra empty parameter so we can indicate this to the go method. 431s __adsysctl_debug "Adding extra empty parameter" 431s requestComp="${requestComp} ''" 431s fi 431s 431s # When completing a flag with an = (e.g., adsysctl -n=) 431s # bash focuses on the part after the =, so we need to remove 431s # the flag part from $cur 431s if [[ ${cur} == -*=* ]]; then 431s cur="${cur#*=}" 431s fi 431s 431s __adsysctl_debug "Calling ${requestComp}" 431s # Use eval to handle any environment variables and such 431s out=$(eval "${requestComp}" 2>/dev/null) 431s 431s # Extract the directive integer at the very end of the output following a colon (:) 431s directive=${out##*:} 431s # Remove the directive 431s out=${out%:*} 431s if [[ ${directive} == "${out}" ]]; then 431s # There is not directive specified 431s directive=0 431s fi 431s __adsysctl_debug "The completion directive is: ${directive}" 431s __adsysctl_debug "The completions are: ${out}" 431s } 431s 431s __adsysctl_process_completion_results() { 431s local shellCompDirectiveError=1 431s local shellCompDirectiveNoSpace=2 431s local shellCompDirectiveNoFileComp=4 431s local shellCompDirectiveFilterFileExt=8 431s local shellCompDirectiveFilterDirs=16 431s local shellCompDirectiveKeepOrder=32 431s 431s if (((directive & shellCompDirectiveError) != 0)); then 431s # Error code. No completion. 431s __adsysctl_debug "Received error from custom completion go code" 431s return 431s else 431s if (((directive & shellCompDirectiveNoSpace) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s __adsysctl_debug "Activating no space" 431s compopt -o nospace 431s else 431s __adsysctl_debug "No space directive not supported in this version of bash" 431s fi 431s fi 431s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s # no sort isn't supported for bash less than < 4.4 431s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 431s __adsysctl_debug "No sort directive not supported in this version of bash" 431s else 431s __adsysctl_debug "Activating keep order" 431s compopt -o nosort 431s fi 431s else 431s __adsysctl_debug "No sort directive not supported in this version of bash" 431s fi 431s fi 431s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s __adsysctl_debug "Activating no file completion" 431s compopt +o default 431s else 431s __adsysctl_debug "No file completion directive not supported in this version of bash" 431s fi 431s fi 431s fi 431s 431s # Separate activeHelp from normal completions 431s local completions=() 431s local activeHelp=() 431s __adsysctl_extract_activeHelp 431s 431s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 431s # File extension filtering 431s local fullFilter filter filteringCmd 431s 431s # Do not use quotes around the $completions variable or else newline 431s # characters will be kept. 431s for filter in ${completions[*]}; do 431s fullFilter+="$filter|" 431s done 431s 431s filteringCmd="_filedir $fullFilter" 431s __adsysctl_debug "File filtering command: $filteringCmd" 431s $filteringCmd 431s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 431s # File completion for directories only 431s 431s local subdir 431s subdir=${completions[0]} 431s if [[ -n $subdir ]]; then 431s __adsysctl_debug "Listing directories in $subdir" 431s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 431s else 431s __adsysctl_debug "Listing directories in ." 431s _filedir -d 431s fi 431s else 431s __adsysctl_handle_completion_types 431s fi 431s 431s __adsysctl_handle_special_char "$cur" : 431s __adsysctl_handle_special_char "$cur" = 431s 431s # Print the activeHelp statements before we finish 431s if ((${#activeHelp[*]} != 0)); then 431s printf "\n"; 431s printf "%s\n" "${activeHelp[@]}" 431s printf "\n" 431s 431s # The prompt format is only available from bash 4.4. 431s # We test if it is available before using it. 431s if (x=${PS1@P}) 2> /dev/null; then 431s printf "%s" "${PS1@P}${COMP_LINE[@]}" 431s else 431s # Can't print the prompt. Just print the 431s # text the user had typed, it is workable enough. 431s printf "%s" "${COMP_LINE[@]}" 431s fi 431s fi 431s } 431s 431s # Separate activeHelp lines from real completions. 431s # Fills the $activeHelp and $completions arrays. 431s __adsysctl_extract_activeHelp() { 431s local activeHelpMarker="_activeHelp_ " 431s local endIndex=${#activeHelpMarker} 431s 431s while IFS='' read -r comp; do 431s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 431s comp=${comp:endIndex} 431s __adsysctl_debug "ActiveHelp found: $comp" 431s if [[ -n $comp ]]; then 431s activeHelp+=("$comp") 431s fi 431s else 431s # Not an activeHelp line but a normal completion 431s completions+=("$comp") 431s fi 431s done <<<"${out}" 431s } 431s 431s __adsysctl_handle_completion_types() { 431s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 431s 431s case $COMP_TYPE in 431s 37|42) 431s # Type: menu-complete/menu-complete-backward and insert-completions 431s # If the user requested inserting one completion at a time, or all 431s # completions at once on the command-line we must remove the descriptions. 431s # https://github.com/spf13/cobra/issues/1508 431s local tab=$'\t' comp 431s while IFS='' read -r comp; do 431s [[ -z $comp ]] && continue 431s # Strip any description 431s comp=${comp%%$tab*} 431s # Only consider the completions that match 431s if [[ $comp == "$cur"* ]]; then 431s COMPREPLY+=("$comp") 431s fi 431s done < <(printf "%s\n" "${completions[@]}") 431s ;; 431s 431s *) 431s # Type: complete (normal completion) 431s __adsysctl_handle_standard_completion_case 431s ;; 431s esac 431s } 431s 431s __adsysctl_handle_standard_completion_case() { 431s local tab=$'\t' comp 431s 431s # Short circuit to optimize if we don't have descriptions 431s if [[ "${completions[*]}" != *$tab* ]]; then 431s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 431s return 0 431s fi 431s 431s local longest=0 431s local compline 431s # Look for the longest completion so that we can format things nicely 431s while IFS='' read -r compline; do 431s [[ -z $compline ]] && continue 431s # Strip any description before checking the length 431s comp=${compline%%$tab*} 431s # Only consider the completions that match 431s [[ $comp == "$cur"* ]] || continue 431s COMPREPLY+=("$compline") 431s if ((${#comp}>longest)); then 431s longest=${#comp} 431s fi 431s done < <(printf "%s\n" "${completions[@]}") 431s 431s # If there is a single completion left, remove the description text 431s if ((${#COMPREPLY[*]} == 1)); then 431s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 431s comp="${COMPREPLY[0]%%$tab*}" 431s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 431s COMPREPLY[0]=$comp 431s else # Format the descriptions 431s __adsysctl_format_comp_descriptions $longest 431s fi 431s } 431s 431s __adsysctl_handle_special_char() 431s { 431s local comp="$1" 431s local char=$2 431s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 431s local word=${comp%"${comp##*${char}}"} 431s local idx=${#COMPREPLY[*]} 431s while ((--idx >= 0)); do 431s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 431s done 431s fi 431s } 431s 431s __adsysctl_format_comp_descriptions() 431s { 431s local tab=$'\t' 431s local comp desc maxdesclength 431s local longest=$1 431s 431s local i ci 431s for ci in ${!COMPREPLY[*]}; do 431s comp=${COMPREPLY[ci]} 431s # Properly format the description string which follows a tab character if there is one 431s if [[ "$comp" == *$tab* ]]; then 431s __adsysctl_debug "Original comp: $comp" 431s desc=${comp#*$tab} 431s comp=${comp%%$tab*} 431s 431s # $COLUMNS stores the current shell width. 431s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 431s maxdesclength=$(( COLUMNS - longest - 4 )) 431s 431s # Make sure we can fit a description of at least 8 characters 431s # if we are to align the descriptions. 431s if ((maxdesclength > 8)); then 431s # Add the proper number of spaces to align the descriptions 431s for ((i = ${#comp} ; i < longest ; i++)); do 431s comp+=" " 431s done 431s else 431s # Don't pad the descriptions so we can fit more text after the completion 431s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 431s fi 431s 431s # If there is enough space for any description text, 431s # truncate the descriptions that are too long for the shell width 431s if ((maxdesclength > 0)); then 431s if ((${#desc} > maxdesclength)); then 431s desc=${desc:0:$(( maxdesclength - 1 ))} 431s desc+="…" 431s fi 431s comp+=" ($desc)" 431s fi 431s COMPREPLY[ci]=$comp 431s __adsysctl_debug "Final comp: $comp" 431s fi 431s done 431s } 431s 431s __start_adsysctl() 431s { 431s local cur prev words cword split 431s 431s COMPREPLY=() 431s 431s # Call _init_completion from the bash-completion package 431s # to prepare the arguments properly 431s if declare -F _init_completion >/dev/null 2>&1; then 431s _init_completion -n =: || return 431s else 431s __adsysctl_init_completion -n =: || return 431s fi 431s 431s __adsysctl_debug 431s __adsysctl_debug "========= starting completion logic ==========" 431s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 431s 431s # The user could have moved the cursor backwards on the command-line. 431s # We need to trigger completion from the $cword location, so we need 431s # to truncate the command-line ($words) up to the $cword location. 431s words=("${words[@]:0:$cword+1}") 431s __adsysctl_debug "Truncated words[*]: ${words[*]}," 431s 431s local out directive 431s __adsysctl_get_completion_results 431s __adsysctl_process_completion_results 431s } 431s 431s if [[ $(type -t compopt) = "builtin" ]]; then 431s complete -o default -F __start_adsysctl adsysctl 431s else 431s complete -o default -o nospace -F __start_adsysctl adsysctl 431s fi 431s 431s # ex: ts=4 sw=4 et filetype=sh 431s === CONT TestAppCanQuitAfterExecute 431s --- PASS: TestAppNoUsageError (0.00s) 431s === CONT TestAppUsageError 431s Usage: 431s adsysctl COMMAND [flags] 431s adsysctl [command] 431s 431s Available Commands: 431s applied Print last applied GPOs for current or given user/machine 431s completion Generate the autocompletion script for the specified shell 431s doc Documentation 431s help Help about any command 431s policy Policy management 431s service Service management 431s update Updates/Create a policy for current user or given user with its kerberos ticket 431s version Returns version of client and service 431s 431s Flags: 431s -c, --config string use a specific configuration file 431s -h, --help help for adsysctl 431s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 431s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 431s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 431s 431s Use "adsysctl [command] --help" for more information about a command. 431s 431s --- PASS: TestAppUsageError (0.00s) 431s === CONT TestAppCompletion 431s # bash completion V2 for adsysctl -*- shell-script -*- 431s 431s __adsysctl_debug() 431s { 431s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 431s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 431s fi 431s } 431s 431s # Macs have bash3 for which the bash-completion package doesn't include 431s # _init_completion. This is a minimal version of that function. 431s __adsysctl_init_completion() 431s { 431s COMPREPLY=() 431s _get_comp_words_by_ref "$@" cur prev words cword 431s } 431s 431s # This function calls the adsysctl program to obtain the completion 431s # results and the directive. It fills the 'out' and 'directive' vars. 431s __adsysctl_get_completion_results() { 431s local requestComp lastParam lastChar args 431s 431s # Prepare the command to request completions for the program. 431s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 431s args=("${words[@]:1}") 431s requestComp="${words[0]} __complete ${args[*]}" 431s 431s lastParam=${words[$((${#words[@]}-1))]} 431s lastChar=${lastParam:$((${#lastParam}-1)):1} 431s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 431s 431s if [[ -z ${cur} && ${lastChar} != = ]]; then 431s # If the last parameter is complete (there is a space following it) 431s # We add an extra empty parameter so we can indicate this to the go method. 431s __adsysctl_debug "Adding extra empty parameter" 431s requestComp="${requestComp} ''" 431s fi 431s 431s # When completing a flag with an = (e.g., adsysctl -n=) 431s # bash focuses on the part after the =, so we need to remove 431s # the flag part from $cur 431s if [[ ${cur} == -*=* ]]; then 431s cur="${cur#*=}" 431s fi 431s 431s __adsysctl_debug "Calling ${requestComp}" 431s # Use eval to handle any environment variables and such 431s out=$(eval "${requestComp}" 2>/dev/null) 431s 431s # Extract the directive integer at the very end of the output following a colon (:) 431s directive=${out##*:} 431s # Remove the directive 431s out=${out%:*} 431s if [[ ${directive} == "${out}" ]]; then 431s # There is not directive specified 431s directive=0 431s fi 431s __adsysctl_debug "The completion directive is: ${directive}" 431s __adsysctl_debug "The completions are: ${out}" 431s } 431s 431s __adsysctl_process_completion_results() { 431s local shellCompDirectiveError=1 431s local shellCompDirectiveNoSpace=2 431s local shellCompDirectiveNoFileComp=4 431s local shellCompDirectiveFilterFileExt=8 431s local shellCompDirectiveFilterDirs=16 431s local shellCompDirectiveKeepOrder=32 431s 431s if (((directive & shellCompDirectiveError) != 0)); then 431s # Error code. No completion. 431s __adsysctl_debug "Received error from custom completion go code" 431s return 431s else 431s if (((directive & shellCompDirectiveNoSpace) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s __adsysctl_debug "Activating no space" 431s compopt -o nospace 431s else 431s __adsysctl_debug "No space directive not supported in this version of bash" 431s fi 431s fi 431s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s # no sort isn't supported for bash less than < 4.4 431s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 431s __adsysctl_debug "No sort directive not supported in this version of bash" 431s else 431s __adsysctl_debug "Activating keep order" 431s compopt -o nosort 431s fi 431s else 431s __adsysctl_debug "No sort directive not supported in this version of bash" 431s fi 431s fi 431s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s __adsysctl_debug "Activating no file completion" 431s compopt +o default 431s else 431s __adsysctl_debug "No file completion directive not supported in this version of bash" 431s fi 431s fi 431s fi 431s 431s # Separate activeHelp from normal completions 431s local completions=() 431s local activeHelp=() 431s __adsysctl_extract_activeHelp 431s 431s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 431s # File extension filtering 431s local fullFilter filter filteringCmd 431s 431s # Do not use quotes around the $completions variable or else newline 431s # characters will be kept. 431s for filter in ${completions[*]}; do 431s fullFilter+="$filter|" 431s done 431s 431s filteringCmd="_filedir $fullFilter" 431s __adsysctl_debug "File filtering command: $filteringCmd" 431s $filteringCmd 431s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 431s # File completion for directories only 431s 431s local subdir 431s subdir=${completions[0]} 431s if [[ -n $subdir ]]; then 431s __adsysctl_debug "Listing directories in $subdir" 431s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 431s else 431s __adsysctl_debug "Listing directories in ." 431s _filedir -d 431s fi 431s else 431s __adsysctl_handle_completion_types 431s fi 431s 431s __adsysctl_handle_special_char "$cur" : 431s __adsysctl_handle_special_char "$cur" = 431s 431s # Print the activeHelp statements before we finish 431s if ((${#activeHelp[*]} != 0)); then 431s printf "\n"; 431s printf "%s\n" "${activeHelp[@]}" 431s printf "\n" 431s 431s # The prompt format is only available from bash 4.4. 431s # We test if it is available before using it. 431s if (x=${PS1@P}) 2> /dev/null; then 431s printf "%s" "${PS1@P}${COMP_LINE[@]}" 431s else 431s # Can't print the prompt. Just print the 431s # text the user had typed, it is workable enough. 431s printf "%s" "${COMP_LINE[@]}" 431s fi 431s fi 431s } 431s 431s # Separate activeHelp lines from real completions. 431s # Fills the $activeHelp and $completions arrays. 431s __adsysctl_extract_activeHelp() { 431s local activeHelpMarker="_activeHelp_ " 431s local endIndex=${#activeHelpMarker} 431s 431s while IFS='' read -r comp; do 431s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 431s comp=${comp:endIndex} 431s __adsysctl_debug "ActiveHelp found: $comp" 431s if [[ -n $comp ]]; then 431s activeHelp+=("$comp") 431s fi 431s else 431s # Not an activeHelp line but a normal completion 431s completions+=("$comp") 431s fi 431s done <<<"${out}" 431s } 431s 431s __adsysctl_handle_completion_types() { 431s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 431s 431s case $COMP_TYPE in 431s 37|42) 431s # Type: menu-complete/menu-complete-backward and insert-completions 431s # If the user requested inserting one completion at a time, or all 431s # completions at once on the command-line we must remove the descriptions. 431s # https://github.com/spf13/cobra/issues/1508 431s local tab=$'\t' comp 431s while IFS='' read -r comp; do 431s [[ -z $comp ]] && continue 431s # Strip any description 431s comp=${comp%%$tab*} 431s # Only consider the completions that match 431s if [[ $comp == "$cur"* ]]; then 431s COMPREPLY+=("$comp") 431s fi 431s done < <(printf "%s\n" "${completions[@]}") 431s ;; 431s 431s *) 431s # Type: complete (normal completion) 431s __adsysctl_handle_standard_completion_case 431s ;; 431s esac 431s } 431s 431s __adsysctl_handle_standard_completion_case() { 431s local tab=$'\t' comp 431s 431s # Short circuit to optimize if we don't have descriptions 431s if [[ "${completions[*]}" != *$tab* ]]; then 431s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 431s return 0 431s fi 431s 431s local longest=0 431s local compline 431s # Look for the longest completion so that we can format things nicely 431s while IFS='' read -r compline; do 431s [[ -z $compline ]] && continue 431s # Strip any description before checking the length 431s comp=${compline%%$tab*} 431s # Only consider the completions that match 431s [[ $comp == "$cur"* ]] || continue 431s COMPREPLY+=("$compline") 431s if ((${#comp}>longest)); then 431s longest=${#comp} 431s fi 431s done < <(printf "%s\n" "${completions[@]}") 431s 431s # If there is a single completion left, remove the description text 431s if ((${#COMPREPLY[*]} == 1)); then 431s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 431s comp="${COMPREPLY[0]%%$tab*}" 431s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 431s COMPREPLY[0]=$comp 431s else # Format the descriptions 431s __adsysctl_format_comp_descriptions $longest 431s fi 431s } 431s 431s __adsysctl_handle_special_char() 431s { 431s local comp="$1" 431s local char=$2 431s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 431s local word=${comp%"${comp##*${char}}"} 431s local idx=${#COMPREPLY[*]} 431s while ((--idx >= 0)); do 431s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 431s done 431s fi 431s } 431s 431s __adsysctl_format_comp_descriptions() 431s { 431s local tab=$'\t' 431s local comp desc maxdesclength 431s local longest=$1 431s 431s local i ci 431s for ci in ${!COMPREPLY[*]}; do 431s comp=${COMPREPLY[ci]} 431s # Properly format the description string which follows a tab character if there is one 431s if [[ "$comp" == *$tab* ]]; then 431s __adsysctl_debug "Original comp: $comp" 431s desc=${comp#*$tab} 431s comp=${comp%%$tab*} 431s 431s # $COLUMNS stores the current shell width. 431s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 431s maxdesclength=$(( COLUMNS - longest - 4 )) 431s 431s # Make sure we can fit a description of at least 8 characters 431s # if we are to align the descriptions. 431s if ((maxdesclength > 8)); then 431s # Add the proper number of spaces to align the descriptions 431s for ((i = ${#comp} ; i < longest ; i++)); do 431s comp+=" " 431s done 431s else 431s # Don't pad the descriptions so we can fit more text after the completion 431s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 431s fi 431s 431s # If there is enough space for any description text, 431s # truncate the descriptions that are too long for the shell width 431s if ((maxdesclength > 0)); then 431s if ((${#desc} > maxdesclength)); then 431s desc=${desc:0:$(( maxdesclength - 1 ))} 431s desc+="…" 431s fi 431s comp+=" ($desc)" 431s fi 431s COMPREPLY[ci]=$comp 431s __adsysctl_debug "Final comp: $comp" 431s fi 431s done 431s } 431s 431s __start_adsysctl() 431s { 431s local cur prev words cword split 431s 431s COMPREPLY=() 431s 431s # Call _init_completion from the bash-completion package 431s # to prepare the arguments properly 431s if declare -F _init_completion >/dev/null 2>&1; then 431s _init_completion -n =: || return 431s else 431s __adsysctl_init_completion -n =: || return 431s fi 431s 431s __adsysctl_debug 431s __adsysctl_debug "========= starting completion logic ==========" 431s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 431s 431s # The user could have moved the cursor backwards on the command-line. 431s # We need to trigger completion from the $cword location, so we need 431s # to truncate the command-line ($words) up to the $cword location. 431s words=("${words[@]:0:$cword+1}") 431s __adsysctl_debug "Truncated words[*]: ${words[*]}," 431s 431s local out directive 431s __adsysctl_get_completion_results 431s __adsysctl_process_completion_results 431s } 431s 431s if [[ $(type -t compopt) = "builtin" ]]; then 431s complete -o default -F __start_adsysctl adsysctl 431s else 431s complete -o default -o nospace -F __start_adsysctl adsysctl 431s fi 431s 431s # ex: ts=4 sw=4 et filetype=sh 431s --- PASS: TestAppCompletion (0.00s) 431s === CONT TestAppHelp 431s Active Directory integration bridging toolset command line tool. 431s 431s Usage: 431s adsysctl COMMAND [flags] 431s adsysctl [command] 431s 431s Available Commands: 431s applied Print last applied GPOs for current or given user/machine 431s completion Generate the autocompletion script for the specified shell 431s doc Documentation 431s help Help about any command 431s policy Policy management 431s service Service management 431s update Updates/Create a policy for current user or given user with its kerberos ticket 431s version Returns version of client and service 431s 431s Flags: 431s -c, --config string use a specific configuration file 431s -h, --help help for adsysctl 431s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 431s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 431s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 431s 431s Use "adsysctl [command] --help" for more information about a command. 431s --- PASS: TestAppHelp (0.00s) 431s # bash completion V2 for adsysctl -*- shell-script -*- 431s 431s __adsysctl_debug() 431s { 431s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 431s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 431s fi 431s } 431s 431s # Macs have bash3 for which the bash-completion package doesn't include 431s # _init_completion. This is a minimal version of that function. 431s __adsysctl_init_completion() 431s { 431s COMPREPLY=() 431s _get_comp_words_by_ref "$@" cur prev words cword 431s } 431s 431s # This function calls the adsysctl program to obtain the completion 431s # results and the directive. It fills the 'out' and 'directive' vars. 431s __adsysctl_get_completion_results() { 431s local requestComp lastParam lastChar args 431s 431s # Prepare the command to request completions for the program. 431s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 431s args=("${words[@]:1}") 431s requestComp="${words[0]} __complete ${args[*]}" 431s 431s lastParam=${words[$((${#words[@]}-1))]} 431s lastChar=${lastParam:$((${#lastParam}-1)):1} 431s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 431s 431s if [[ -z ${cur} && ${lastChar} != = ]]; then 431s # If the last parameter is complete (there is a space following it) 431s # We add an extra empty parameter so we can indicate this to the go method. 431s __adsysctl_debug "Adding extra empty parameter" 431s requestComp="${requestComp} ''" 431s fi 431s 431s # When completing a flag with an = (e.g., adsysctl -n=) 431s # bash focuses on the part after the =, so we need to remove 431s # the flag part from $cur 431s if [[ ${cur} == -*=* ]]; then 431s cur="${cur#*=}" 431s fi 431s 431s __adsysctl_debug "Calling ${requestComp}" 431s # Use eval to handle any environment variables and such 431s out=$(eval "${requestComp}" 2>/dev/null) 431s 431s # Extract the directive integer at the very end of the output following a colon (:) 431s directive=${out##*:} 431s # Remove the directive 431s out=${out%:*} 431s if [[ ${directive} == "${out}" ]]; then 431s # There is not directive specified 431s directive=0 431s fi 431s __adsysctl_debug "The completion directive is: ${directive}" 431s __adsysctl_debug "The completions are: ${out}" 431s } 431s 431s __adsysctl_process_completion_results() { 431s local shellCompDirectiveError=1 431s local shellCompDirectiveNoSpace=2 431s local shellCompDirectiveNoFileComp=4 431s local shellCompDirectiveFilterFileExt=8 431s local shellCompDirectiveFilterDirs=16 431s local shellCompDirectiveKeepOrder=32 431s 431s if (((directive & shellCompDirectiveError) != 0)); then 431s # Error code. No completion. 431s __adsysctl_debug "Received error from custom completion go code" 431s return 431s else 431s if (((directive & shellCompDirectiveNoSpace) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s __adsysctl_debug "Activating no space" 431s compopt -o nospace 431s else 431s __adsysctl_debug "No space directive not supported in this version of bash" 431s fi 431s fi 431s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s # no sort isn't supported for bash less than < 4.4 431s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 431s __adsysctl_debug "No sort directive not supported in this version of bash" 431s else 431s __adsysctl_debug "Activating keep order" 431s compopt -o nosort 431s fi 431s else 431s __adsysctl_debug "No sort directive not supported in this version of bash" 431s fi 431s fi 431s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 431s if [[ $(type -t compopt) == builtin ]]; then 431s __adsysctl_debug "Activating no file completion" 431s compopt +o default 431s else 431s __adsysctl_debug "No file completion directive not supported in this version of bash" 431s fi 431s fi 431s fi 431s 431s # Separate activeHelp from normal completions 431s local completions=() 431s local activeHelp=() 431s __adsysctl_extract_activeHelp 431s 431s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 431s # File extension filtering 431s local fullFilter filter filteringCmd 431s 431s # Do not use quotes around the $completions variable or else newline 431s # characters will be kept. 431s for filter in ${completions[*]}; do 431s fullFilter+="$filter|" 431s done 431s 431s filteringCmd="_filedir $fullFilter" 431s __adsysctl_debug "File filtering command: $filteringCmd" 431s $filteringCmd 431s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 431s # File completion for directories only 431s 431s local subdir 431s subdir=${completions[0]} 431s if [[ -n $subdir ]]; then 431s __adsysctl_debug "Listing directories in $subdir" 431s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 431s else 431s __adsysctl_debug "Listing directories in ." 431s _filedir -d 431s fi 431s else 431s __adsysctl_handle_completion_types 431s fi 431s 431s __adsysctl_handle_special_char "$cur" : 431s __adsysctl_handle_special_char "$cur" = 431s 431s # Print the activeHelp statements before we finish 431s if ((${#activeHelp[*]} != 0)); then 431s printf "\n"; 431s printf "%s\n" "${activeHelp[@]}" 431s printf "\n" 431s 431s # The prompt format is only available from bash 4.4. 431s # We test if it is available before using it. 431s if (x=${PS1@P}) 2> /dev/null; then 431s printf "%s" "${PS1@P}${COMP_LINE[@]}" 431s else 431s # Can't print the prompt. Just print the 431s # text the user had typed, it is workable enough. 431s printf "%s" "${COMP_LINE[@]}" 431s fi 431s fi 431s } 431s 431s # Separate activeHelp lines from real completions. 431s # Fills the $activeHelp and $completions arrays. 431s __adsysctl_extract_activeHelp() { 431s local activeHelpMarker="_activeHelp_ " 431s local endIndex=${#activeHelpMarker} 431s 431s while IFS='' read -r comp; do 431s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 431s comp=${comp:endIndex} 431s __adsysctl_debug "ActiveHelp found: $comp" 431s if [[ -n $comp ]]; then 431s activeHelp+=("$comp") 431s fi 431s else 431s # Not an activeHelp line but a normal completion 431s completions+=("$comp") 431s fi 431s done <<<"${out}" 431s } 431s 431s __adsysctl_handle_completion_types() { 431s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 431s 431s case $COMP_TYPE in 431s 37|42) 431s # Type: menu-complete/menu-complete-backward and insert-completions 431s # If the user requested inserting one completion at a time, or all 431s # completions at once on the command-line we must remove the descriptions. 431s # https://github.com/spf13/cobra/issues/1508 431s local tab=$'\t' comp 431s while IFS='' read -r comp; do 431s [[ -z $comp ]] && continue 431s # Strip any description 431s comp=${comp%%$tab*} 431s # Only consider the completions that match 431s if [[ $comp == "$cur"* ]]; then 431s COMPREPLY+=("$comp") 431s fi 431s done < <(printf "%s\n" "${completions[@]}") 431s ;; 431s 431s *) 431s # Type: complete (normal completion) 431s __adsysctl_handle_standard_completion_case 431s ;; 431s esac 431s } 431s 431s __adsysctl_handle_standard_completion_case() { 431s local tab=$'\t' comp 431s 431s # Short circuit to optimize if we don't have descriptions 431s if [[ "${completions[*]}" != *$tab* ]]; then 431s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 431s return 0 431s fi 431s 431s local longest=0 431s local compline 431s # Look for the longest completion so that we can format things nicely 431s while IFS='' read -r compline; do 431s [[ -z $compline ]] && continue 431s # Strip any description before checking the length 431s comp=${compline%%$tab*} 431s # Only consider the completions that match 431s [[ $comp == "$cur"* ]] || continue 431s COMPREPLY+=("$compline") 431s if ((${#comp}>longest)); then 431s longest=${#comp} 431s fi 431s done < <(printf "%s\n" "${completions[@]}") 431s 431s # If there is a single completion left, remove the description text 431s if ((${#COMPREPLY[*]} == 1)); then 431s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 431s comp="${COMPREPLY[0]%%$tab*}" 431s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 431s COMPREPLY[0]=$comp 431s else # Format the descriptions 431s __adsysctl_format_comp_descriptions $longest 431s fi 431s } 431s 431s __adsysctl_handle_special_char() 431s { 431s local comp="$1" 431s local char=$2 431s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 431s local word=${comp%"${comp##*${char}}"} 431s local idx=${#COMPREPLY[*]} 431s while ((--idx >= 0)); do 431s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 431s done 431s fi 431s } 431s 431s __adsysctl_format_comp_descriptions() 431s { 431s local tab=$'\t' 431s local comp desc maxdesclength 431s local longest=$1 431s 431s local i ci 431s for ci in ${!COMPREPLY[*]}; do 431s comp=${COMPREPLY[ci]} 431s # Properly format the description string which follows a tab character if there is one 431s if [[ "$comp" == *$tab* ]]; then 431s __adsysctl_debug "Original comp: $comp" 431s desc=${comp#*$tab} 431s comp=${comp%%$tab*} 431s 431s # $COLUMNS stores the current shell width. 431s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 431s maxdesclength=$(( COLUMNS - longest - 4 )) 431s 431s # Make sure we can fit a description of at least 8 characters 431s # if we are to align the descriptions. 431s if ((maxdesclength > 8)); then 431s # Add the proper number of spaces to align the descriptions 431s for ((i = ${#comp} ; i < longest ; i++)); do 431s comp+=" " 431s done 431s else 431s # Don't pad the descriptions so we can fit more text after the completion 431s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 431s fi 431s 431s # If there is enough space for any description text, 431s # truncate the descriptions that are too long for the shell width 431s if ((maxdesclength > 0)); then 431s if ((${#desc} > maxdesclength)); then 431s desc=${desc:0:$(( maxdesclength - 1 ))} 431s desc+="…" 431s fi 431s comp+=" ($desc)" 431s fi 431s COMPREPLY[ci]=$comp 431s __adsysctl_debug "Final comp: $comp" 431s fi 431s done 431s } 431s 431s __start_adsysctl() 431s { 431s local cur prev words cword split 431s 431s COMPREPLY=() 431s 431s # Call _init_completion from the bash-completion package 431s # to prepare the arguments properly 431s if declare -F _init_completion >/dev/null 2>&1; then 431s _init_completion -n =: || return 431s else 431s __adsysctl_init_completion -n =: || return 431s fi 431s 431s __adsysctl_debug 431s __adsysctl_debug "========= starting completion logic ==========" 431s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 431s 431s # The user could have moved the cursor backwards on the command-line. 431s # We need to trigger completion from the $cword location, so we need 431s # to truncate the command-line ($words) up to the $cword location. 431s words=("${words[@]:0:$cword+1}") 431s __adsysctl_debug "Truncated words[*]: ${words[*]}," 431s 431s local out directive 431s __adsysctl_get_completion_results 431s __adsysctl_process_completion_results 431s } 431s 431s if [[ $(type -t compopt) = "builtin" ]]; then 431s complete -o default -F __start_adsysctl adsysctl 431s else 431s complete -o default -o nospace -F __start_adsysctl adsysctl 431s fi 431s 431s # ex: ts=4 sw=4 et filetype=sh 431s --- PASS: TestAppCanQuitAfterExecute (0.01s) 431s PASS 431s ok github.com/ubuntu/adsys/cmd/adsysd/client 0.037s 434s ? github.com/ubuntu/adsys/cmd/adwatchd [no test files] 434s ? github.com/ubuntu/adsys/cmd/adwatchd/commands [no test files] 434s ? github.com/ubuntu/adsys/docs [no test files] 434s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/00_check_vm_image [no test files] 435s === RUN TestAppHelp 435s === PAUSE TestAppHelp 435s === RUN TestAppCompletion 435s === PAUSE TestAppCompletion 435s === RUN TestAppVersion 435s --- PASS: TestAppVersion (0.00s) 435s === RUN TestAppNoUsageError 435s === PAUSE TestAppNoUsageError 435s === RUN TestAppUsageError 435s === PAUSE TestAppUsageError 435s === RUN TestAppCanQuitWhenExecute 435s time="2024-11-29T20:34:46Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 435s --- PASS: TestAppCanQuitWhenExecute (0.05s) 435s === RUN TestAppCanQuitAfterExecute 435s time="2024-11-29T20:34:46Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 435s --- PASS: TestAppCanQuitAfterExecute (1.00s) 435s === RUN TestAppCanQuitWithoutExecute 435s === PAUSE TestAppCanQuitWithoutExecute 435s === RUN TestAppRunFailsOnDaemonCreationAndQuit 435s time="2024-11-29T20:34:47Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 435s --- PASS: TestAppRunFailsOnDaemonCreationAndQuit (0.00s) 435s === RUN TestAppRunFailsOnServiceCreationAndQuit 435s --- PASS: TestAppRunFailsOnServiceCreationAndQuit (0.00s) 435s === RUN TestAppCanSigHupWhenExecute 435s time="2024-11-29T20:34:47Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 435s --- PASS: TestAppCanSigHupWhenExecute (0.05s) 435s === RUN TestAppCanSigHupAfterExecute 435s time="2024-11-29T20:34:47Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 435s --- PASS: TestAppCanSigHupAfterExecute (1.01s) 435s === RUN TestAppCanSigHupWithoutExecute 435s --- PASS: TestAppCanSigHupWithoutExecute (0.00s) 435s === RUN TestAppTimeout 435s time="2024-11-29T20:34:48Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 435s --- PASS: TestAppTimeout (1.00s) 435s === RUN TestAppGetRootCmd 435s === PAUSE TestAppGetRootCmd 435s === RUN TestConfigLoad 435s time="2024-11-29T20:34:49Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 435s time="2024-11-29T20:34:49Z" level=info msg="Serving on /tmp/TestConfigLoad2021243151/001/adsys.socket" 435s time="2024-11-29T20:34:49Z" level=info msg="Stopping daemon requested." 435s time="2024-11-29T20:34:49Z" level=info msg="Wait for active requests to close." 435s --- PASS: TestConfigLoad (0.07s) 435s === RUN TestConfigChange 435s time="2024-11-29T20:34:49Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 435s time="2024-11-29T20:34:49Z" level=info msg="Serving on /tmp/TestConfigChange2742226788/001/adsys.socket" 435s time="2024-11-29T20:34:49Z" level=info msg="Stopping daemon requested." 435s time="2024-11-29T20:34:49Z" level=info msg="Wait for active requests to close." 435s time="2024-11-29T20:34:49Z" level=debug msg="All connections have now ended." 435s time="2024-11-29T20:34:49Z" level=debug msg=Quitting 435s --- PASS: TestConfigChange (0.17s) 435s === CONT TestAppHelp 435s Active Directory integration bridging toolset daemon. 435s 435s Usage: 435s adsysd COMMAND [flags] 435s adsysd [command] 435s 435s Available Commands: 435s completion Generate the autocompletion script for the specified shell 435s help Help about any command 435s version Returns version of service and exits 435s 435s Flags: 435s --ad-backend string Active Directory authentication backend (default "sssd") 435s --cache-dir string directory where ADSys caches GPOs downloads and policies. (default "/var/cache/adsys") 435s -c, --config string use a specific configuration file 435s -h, --help help for adsysd 435s --run-dir string directory where ADSys stores transient information erased on reboot. (default "/run/adsys") 435s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 435s --sssd.cache-dir string SSSd cache directory (default "/var/lib/sss/db") 435s --sssd.config string SSSd config file path (default "/etc/sssd/sssd.conf") 435s -t, --timeout int time in seconds without activity before the service exists. 0 for no timeout. (default 120) 435s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 435s 435s Use "adsysd [command] --help" for more information about a command. 435s --- PASS: TestAppHelp (0.00s) 435s === CONT TestAppGetRootCmd 435s --- PASS: TestAppGetRootCmd (0.00s) 435s === CONT TestAppCanQuitWithoutExecute 435s daemon_test.go:104: We need to initialize the daemon first, so this is not possible and will hang forever (ready not closed) 435s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 435s === CONT TestAppUsageError 435s --- PASS: TestAppUsageError (0.00s) 435s === CONT TestAppCompletion 435s # bash completion V2 for adsysd -*- shell-script -*- 435s 435s __adsysd_debug() 435s { 435s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 435s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 435s fi 435s } 435s 435s # Macs have bash3 for which the bash-completion package doesn't include 435s # _init_completion. This is a minimal version of that function. 435s __adsysd_init_completion() 435s { 435s COMPREPLY=() 435s _get_comp_words_by_ref "$@" cur prev words cword 435s } 435s 435s # This function calls the adsysd program to obtain the completion 435s # results and the directive. It fills the 'out' and 'directive' vars. 435s __adsysd_get_completion_results() { 435s local requestComp lastParam lastChar args 435s 435s # Prepare the command to request completions for the program. 435s # Calling ${words[0]} instead of directly adsysd allows handling aliases 435s args=("${words[@]:1}") 435s requestComp="${words[0]} __complete ${args[*]}" 435s 435s lastParam=${words[$((${#words[@]}-1))]} 435s lastChar=${lastParam:$((${#lastParam}-1)):1} 435s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 435s 435s if [[ -z ${cur} && ${lastChar} != = ]]; then 435s # If the last parameter is complete (there is a space following it) 435s # We add an extra empty parameter so we can indicate this to the go method. 435s __adsysd_debug "Adding extra empty parameter" 435s requestComp="${requestComp} ''" 435s fi 435s 435s # When completing a flag with an = (e.g., adsysd -n=) 435s # bash focuses on the part after the =, so we need to remove 435s # the flag part from $cur 435s if [[ ${cur} == -*=* ]]; then 435s cur="${cur#*=}" 435s fi 435s 435s __adsysd_debug "Calling ${requestComp}" 435s # Use eval to handle any environment variables and such 435s out=$(eval "${requestComp}" 2>/dev/null) 435s 435s # Extract the directive integer at the very end of the output following a colon (:) 435s directive=${out##*:} 435s # Remove the directive 435s out=${out%:*} 435s if [[ ${directive} == "${out}" ]]; then 435s # There is not directive specified 435s directive=0 435s fi 435s __adsysd_debug "The completion directive is: ${directive}" 435s __adsysd_debug "The completions are: ${out}" 435s } 435s 435s __adsysd_process_completion_results() { 435s local shellCompDirectiveError=1 435s local shellCompDirectiveNoSpace=2 435s local shellCompDirectiveNoFileComp=4 435s local shellCompDirectiveFilterFileExt=8 435s local shellCompDirectiveFilterDirs=16 435s local shellCompDirectiveKeepOrder=32 435s 435s if (((directive & shellCompDirectiveError) != 0)); then 435s # Error code. No completion. 435s __adsysd_debug "Received error from custom completion go code" 435s return 435s else 435s if (((directive & shellCompDirectiveNoSpace) != 0)); then 435s if [[ $(type -t compopt) == builtin ]]; then 435s __adsysd_debug "Activating no space" 435s compopt -o nospace 435s else 435s __adsysd_debug "No space directive not supported in this version of bash" 435s fi 435s fi 435s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 435s if [[ $(type -t compopt) == builtin ]]; then 435s # no sort isn't supported for bash less than < 4.4 435s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 435s __adsysd_debug "No sort directive not supported in this version of bash" 435s else 435s __adsysd_debug "Activating keep order" 435s compopt -o nosort 435s fi 435s else 435s __adsysd_debug "No sort directive not supported in this version of bash" 435s fi 435s fi 435s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 435s if [[ $(type -t compopt) == builtin ]]; then 435s __adsysd_debug "Activating no file completion" 435s compopt +o default 435s else 435s __adsysd_debug "No file completion directive not supported in this version of bash" 435s fi 435s fi 435s fi 435s 435s # Separate activeHelp from normal completions 435s local completions=() 435s local activeHelp=() 435s __adsysd_extract_activeHelp 435s 435s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 435s # File extension filtering 435s local fullFilter filter filteringCmd 435s 435s # Do not use quotes around the $completions variable or else newline 435s # characters will be kept. 435s for filter in ${completions[*]}; do 435s fullFilter+="$filter|" 435s done 435s 435s filteringCmd="_filedir $fullFilter" 435s __adsysd_debug "File filtering command: $filteringCmd" 435s $filteringCmd 435s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 435s # File completion for directories only 435s 435s local subdir 435s subdir=${completions[0]} 435s if [[ -n $subdir ]]; then 435s __adsysd_debug "Listing directories in $subdir" 435s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 435s else 435s __adsysd_debug "Listing directories in ." 435s _filedir -d 435s fi 435s else 435s __adsysd_handle_completion_types 435s fi 435s 435s __adsysd_handle_special_char "$cur" : 435s __adsysd_handle_special_char "$cur" = 435s 435s # Print the activeHelp statements before we finish 435s if ((${#activeHelp[*]} != 0)); then 435s printf "\n"; 435s printf "%s\n" "${activeHelp[@]}" 435s printf "\n" 435s 435s # The prompt format is only available from bash 4.4. 435s # We test if it is available before using it. 435s if (x=${PS1@P}) 2> /dev/null; then 435s printf "%s" "${PS1@P}${COMP_LINE[@]}" 435s else 435s # Can't print the prompt. Just print the 435s # text the user had typed, it is workable enough. 435s printf "%s" "${COMP_LINE[@]}" 435s fi 435s fi 435s } 435s 435s # Separate activeHelp lines from real completions. 435s # Fills the $activeHelp and $completions arrays. 435s __adsysd_extract_activeHelp() { 435s local activeHelpMarker="_activeHelp_ " 435s local endIndex=${#activeHelpMarker} 435s 435s while IFS='' read -r comp; do 435s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 435s comp=${comp:endIndex} 435s __adsysd_debug "ActiveHelp found: $comp" 435s if [[ -n $comp ]]; then 435s activeHelp+=("$comp") 435s fi 435s else 435s # Not an activeHelp line but a normal completion 435s completions+=("$comp") 435s fi 435s done <<<"${out}" 435s } 435s 435s __adsysd_handle_completion_types() { 435s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 435s 435s case $COMP_TYPE in 435s 37|42) 435s # Type: menu-complete/menu-complete-backward and insert-completions 435s # If the user requested inserting one completion at a time, or all 435s # completions at once on the command-line we must remove the descriptions. 435s # https://github.com/spf13/cobra/issues/1508 435s local tab=$'\t' comp 435s while IFS='' read -r comp; do 435s [[ -z $comp ]] && continue 435s # Strip any description 435s comp=${comp%%$tab*} 435s # Only consider the completions that match 435s if [[ $comp == "$cur"* ]]; then 435s COMPREPLY+=("$comp") 435s fi 435s done < <(printf "%s\n" "${completions[@]}") 435s ;; 435s 435s *) 435s # Type: complete (normal completion) 435s __adsysd_handle_standard_completion_case 435s ;; 435s esac 435s } 435s 435s __adsysd_handle_standard_completion_case() { 435s local tab=$'\t' comp 435s 435s # Short circuit to optimize if we don't have descriptions 435s if [[ "${completions[*]}" != *$tab* ]]; then 435s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 435s return 0 435s fi 435s 435s local longest=0 435s local compline 435s # Look for the longest completion so that we can format things nicely 435s while IFS='' read -r compline; do 435s [[ -z $compline ]] && continue 435s # Strip any description before checking the length 435s comp=${compline%%$tab*} 435s # Only consider the completions that match 435s [[ $comp == "$cur"* ]] || continue 435s COMPREPLY+=("$compline") 435s if ((${#comp}>longest)); then 435s longest=${#comp} 435s fi 435s done < <(printf "%s\n" "${completions[@]}") 435s 435s # If there is a single completion left, remove the description text 435s if ((${#COMPREPLY[*]} == 1)); then 435s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 435s comp="${COMPREPLY[0]%%$tab*}" 435s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 435s COMPREPLY[0]=$comp 435s else # Format the descriptions 435s __adsysd_format_comp_descriptions $longest 435s fi 435s } 435s 435s __adsysd_handle_special_char() 435s { 435s local comp="$1" 435s local char=$2 435s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 435s local word=${comp%"${comp##*${char}}"} 435s local idx=${#COMPREPLY[*]} 435s while ((--idx >= 0)); do 435s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 435s done 435s fi 435s } 435s 435s __adsysd_format_comp_descriptions() 435s { 435s local tab=$'\t' 435s local comp desc maxdesclength 435s local longest=$1 435s 435s local i ci 435s for ci in ${!COMPREPLY[*]}; do 435s comp=${COMPREPLY[ci]} 435s # Properly format the description string which follows a tab character if there is one 435s if [[ "$comp" == *$tab* ]]; then 435s __adsysd_debug "Original comp: $comp" 435s desc=${comp#*$tab} 435s comp=${comp%%$tab*} 435s 435s # $COLUMNS stores the current shell width. 435s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 435s maxdesclength=$(( COLUMNS - longest - 4 )) 435s 435s # Make sure we can fit a description of at least 8 characters 435s # if we are to align the descriptions. 435s if ((maxdesclength > 8)); then 435s # Add the proper number of spaces to align the descriptions 435s for ((i = ${#comp} ; i < longest ; i++)); do 435s comp+=" " 435s done 435s else 435s # Don't pad the descriptions so we can fit more text after the completion 435s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 435s fi 435s 435s # If there is enough space for any description text, 435s # truncate the descriptions that are too long for the shell width 435s if ((maxdesclength > 0)); then 435s if ((${#desc} > maxdesclength)); then 435s desc=${desc:0:$(( maxdesclength - 1 ))} 435s desc+="…" 435s fi 435s comp+=" ($desc)" 435s fi 435s COMPREPLY[ci]=$comp 435s __adsysd_debug "Final comp: $comp" 435s fi 435s done 435s } 435s 435s __start_adsysd() 435s { 435s local cur prev words cword split 435s 435s COMPREPLY=() 435s 435s # Call _init_completion from the bash-completion package 435s # to prepare the arguments properly 435s if declare -F _init_completion >/dev/null 2>&1; then 435s _init_completion -n =: || return 435s else 435s __adsysd_init_completion -n =: || return 435s fi 435s 435s __adsysd_debug 435s __adsysd_debug "========= starting completion logic ==========" 435s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 435s 435s # The user could have moved the cursor backwards on the command-line. 435s # We need to trigger completion from the $cword location, so we need 435s # to truncate the command-line ($words) up to the $cword location. 435s words=("${words[@]:0:$cword+1}") 435s __adsysd_debug "Truncated words[*]: ${words[*]}," 435s 435s local out directive 435s __adsysd_get_completion_results 435s __adsysd_process_completion_results 435s } 435s 435s if [[ $(type -t compopt) = "builtin" ]]; then 435s complete -o default -F __start_adsysd adsysd 435s else 435s complete -o default -o nospace -F __start_adsysd adsysd 435s fi 435s 435s # ex: ts=4 sw=4 et filetype=sh 435s --- PASS: TestAppCompletion (0.00s) 435s === CONT TestAppNoUsageError 435s # bash completion V2 for adsysd -*- shell-script -*- 435s 435s __adsysd_debug() 435s { 435s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 435s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 435s fi 435s } 435s 435s # Macs have bash3 for which the bash-completion package doesn't include 435s # _init_completion. This is a minimal version of that function. 435s __adsysd_init_completion() 435s { 435s COMPREPLY=() 435s _get_comp_words_by_ref "$@" cur prev words cword 435s } 435s 435s # This function calls the adsysd program to obtain the completion 435s # results and the directive. It fills the 'out' and 'directive' vars. 435s __adsysd_get_completion_results() { 435s local requestComp lastParam lastChar args 435s 435s # Prepare the command to request completions for the program. 435s # Calling ${words[0]} instead of directly adsysd allows handling aliases 435s args=("${words[@]:1}") 435s requestComp="${words[0]} __complete ${args[*]}" 435s 435s lastParam=${words[$((${#words[@]}-1))]} 435s lastChar=${lastParam:$((${#lastParam}-1)):1} 435s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 435s 435s if [[ -z ${cur} && ${lastChar} != = ]]; then 435s # If the last parameter is complete (there is a space following it) 435s # We add an extra empty parameter so we can indicate this to the go method. 435s __adsysd_debug "Adding extra empty parameter" 435s requestComp="${requestComp} ''" 435s fi 435s 435s # When completing a flag with an = (e.g., adsysd -n=) 435s # bash focuses on the part after the =, so we need to remove 435s # the flag part from $cur 435s if [[ ${cur} == -*=* ]]; then 435s cur="${cur#*=}" 435s fi 435s 435s __adsysd_debug "Calling ${requestComp}" 435s # Use eval to handle any environment variables and such 435s out=$(eval "${requestComp}" 2>/dev/null) 435s 435s # Extract the directive integer at the very end of the output following a colon (:) 435s directive=${out##*:} 435s # Remove the directive 435s out=${out%:*} 435s if [[ ${directive} == "${out}" ]]; then 435s # There is not directive specified 435s directive=0 435s fi 435s __adsysd_debug "The completion directive is: ${directive}" 435s __adsysd_debug "The completions are: ${out}" 435s } 435s 435s __adsysd_process_completion_results() { 435s local shellCompDirectiveError=1 435s local shellCompDirectiveNoSpace=2 435s local shellCompDirectiveNoFileComp=4 435s local shellCompDirectiveFilterFileExt=8 435s local shellCompDirectiveFilterDirs=16 435s local shellCompDirectiveKeepOrder=32 435s 435s if (((directive & shellCompDirectiveError) != 0)); then 435s # Error code. No completion. 435s __adsysd_debug "Received error from custom completion go code" 435s return 435s else 435s if (((directive & shellCompDirectiveNoSpace) != 0)); then 435s if [[ $(type -t compopt) == builtin ]]; then 435s __adsysd_debug "Activating no space" 435s compopt -o nospace 435s else 435s __adsysd_debug "No space directive not supported in this version of bash" 435s fi 435s fi 435s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 435s if [[ $(type -t compopt) == builtin ]]; then 435s # no sort isn't supported for bash less than < 4.4 435s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 435s __adsysd_debug "No sort directive not supported in this version of bash" 435s else 435s __adsysd_debug "Activating keep order" 435s compopt -o nosort 435s fi 435s else 435s __adsysd_debug "No sort directive not supported in this version of bash" 435s fi 435s fi 435s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 435s if [[ $(type -t compopt) == builtin ]]; then 435s __adsysd_debug "Activating no file completion" 435s compopt +o default 435s else 435s __adsysd_debug "No file completion directive not supported in this version of bash" 435s fi 435s fi 435s fi 435s 435s # Separate activeHelp from normal completions 435s local completions=() 435s local activeHelp=() 435s __adsysd_extract_activeHelp 435s 435s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 435s # File extension filtering 435s local fullFilter filter filteringCmd 435s 435s # Do not use quotes around the $completions variable or else newline 435s # characters will be kept. 435s for filter in ${completions[*]}; do 435s fullFilter+="$filter|" 435s done 435s 435s filteringCmd="_filedir $fullFilter" 435s __adsysd_debug "File filtering command: $filteringCmd" 435s $filteringCmd 435s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 435s # File completion for directories only 435s 435s local subdir 435s subdir=${completions[0]} 435s if [[ -n $subdir ]]; then 435s __adsysd_debug "Listing directories in $subdir" 435s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 435s else 435s __adsysd_debug "Listing directories in ." 435s _filedir -d 435s fi 435s else 435s __adsysd_handle_completion_types 435s fi 435s 435s __adsysd_handle_special_char "$cur" : 435s __adsysd_handle_special_char "$cur" = 435s 435s # Print the activeHelp statements before we finish 435s if ((${#activeHelp[*]} != 0)); then 435s printf "\n"; 435s printf "%s\n" "${activeHelp[@]}" 435s printf "\n" 435s 435s # The prompt format is only available from bash 4.4. 435s # We test if it is available before using it. 435s if (x=${PS1@P}) 2> /dev/null; then 435s printf "%s" "${PS1@P}${COMP_LINE[@]}" 435s else 435s # Can't print the prompt. Just print the 435s # text the user had typed, it is workable enough. 435s printf "%s" "${COMP_LINE[@]}" 435s fi 435s fi 435s } 435s 435s # Separate activeHelp lines from real completions. 435s # Fills the $activeHelp and $completions arrays. 435s __adsysd_extract_activeHelp() { 435s local activeHelpMarker="_activeHelp_ " 435s local endIndex=${#activeHelpMarker} 435s 435s while IFS='' read -r comp; do 435s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 435s comp=${comp:endIndex} 435s __adsysd_debug "ActiveHelp found: $comp" 435s if [[ -n $comp ]]; then 435s activeHelp+=("$comp") 435s fi 435s else 435s # Not an activeHelp line but a normal completion 435s completions+=("$comp") 435s fi 435s done <<<"${out}" 435s } 435s 435s __adsysd_handle_completion_types() { 435s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 435s 435s case $COMP_TYPE in 435s 37|42) 435s # Type: menu-complete/menu-complete-backward and insert-completions 435s # If the user requested inserting one completion at a time, or all 435s # completions at once on the command-line we must remove the descriptions. 435s # https://github.com/spf13/cobra/issues/1508 435s local tab=$'\t' comp 435s while IFS='' read -r comp; do 435s [[ -z $comp ]] && continue 435s # Strip any description 435s comp=${comp%%$tab*} 435s # Only consider the completions that match 435s if [[ $comp == "$cur"* ]]; then 435s COMPREPLY+=("$comp") 435s fi 435s done < <(printf "%s\n" "${completions[@]}") 435s ;; 435s 435s *) 435s # Type: complete (normal completion) 435s __adsysd_handle_standard_completion_case 435s ;; 435s esac 435s } 435s 435s __adsysd_handle_standard_completion_case() { 435s local tab=$'\t' comp 435s 435s # Short circuit to optimize if we don't have descriptions 435s if [[ "${completions[*]}" != *$tab* ]]; then 435s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 435s return 0 435s fi 435s 435s local longest=0 435s local compline 435s # Look for the longest completion so that we can format things nicely 435s while IFS='' read -r compline; do 435s [[ -z $compline ]] && continue 435s # Strip any description before checking the length 435s comp=${compline%%$tab*} 435s # Only consider the completions that match 435s [[ $comp == "$cur"* ]] || continue 435s COMPREPLY+=("$compline") 435s if ((${#comp}>longest)); then 435s longest=${#comp} 435s fi 435s done < <(printf "%s\n" "${completions[@]}") 435s 435s # If there is a single completion left, remove the description text 435s if ((${#COMPREPLY[*]} == 1)); then 435s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 435s comp="${COMPREPLY[0]%%$tab*}" 435s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 435s COMPREPLY[0]=$comp 435s else # Format the descriptions 435s __adsysd_format_comp_descriptions $longest 435s fi 435s } 435s 435s __adsysd_handle_special_char() 435s { 435s local comp="$1" 435s local char=$2 435s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 435s local word=${comp%"${comp##*${char}}"} 435s local idx=${#COMPREPLY[*]} 435s while ((--idx >= 0)); do 435s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 435s done 435s fi 435s } 435s 435s __adsysd_format_comp_descriptions() 435s { 435s local tab=$'\t' 435s local comp desc maxdesclength 435s local longest=$1 435s 435s local i ci 435s for ci in ${!COMPREPLY[*]}; do 435s comp=${COMPREPLY[ci]} 435s # Properly format the description string which follows a tab character if there is one 435s if [[ "$comp" == *$tab* ]]; then 435s __adsysd_debug "Original comp: $comp" 435s desc=${comp#*$tab} 435s comp=${comp%%$tab*} 435s 435s # $COLUMNS stores the current shell width. 435s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 435s maxdesclength=$(( COLUMNS - longest - 4 )) 435s 435s # Make sure we can fit a description of at least 8 characters 435s # if we are to align the descriptions. 435s if ((maxdesclength > 8)); then 435s # Add the proper number of spaces to align the descriptions 435s for ((i = ${#comp} ; i < longest ; i++)); do 435s comp+=" " 435s done 435s else 435s # Don't pad the descriptions so we can fit more text after the completion 435s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 435s fi 435s 435s # If there is enough space for any description text, 435s # truncate the descriptions that are too long for the shell width 435s if ((maxdesclength > 0)); then 435s if ((${#desc} > maxdesclength)); then 435s desc=${desc:0:$(( maxdesclength - 1 ))} 435s desc+="…" 435s fi 435s comp+=" ($desc)" 435s fi 435s COMPREPLY[ci]=$comp 435s __adsysd_debug "Final comp: $comp" 435s fi 435s done 435s } 435s 435s __start_adsysd() 435s { 435s local cur prev words cword split 435s 435s COMPREPLY=() 435s 435s # Call _init_completion from the bash-completion package 435s # to prepare the arguments properly 435s if declare -F _init_completion >/dev/null 2>&1; then 435s _init_completion -n =: || return 435s else 435s __adsysd_init_completion -n =: || return 435s fi 435s 435s __adsysd_debug 435s __adsysd_debug "========= starting completion logic ==========" 435s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 435s 435s # The user could have moved the cursor backwards on the command-line. 435s # We need to trigger completion from the $cword location, so we need 435s # to truncate the command-line ($words) up to the $cword location. 435s words=("${words[@]:0:$cword+1}") 435s __adsysd_debug "Truncated words[*]: ${words[*]}," 435s 435s local out directive 435s __adsysd_get_completion_results 435s __adsysd_process_completion_results 435s } 435s 435s if [[ $(type -t compopt) = "builtin" ]]; then 435s complete -o default -F __start_adsysd adsysd 435s else 435s complete -o default -o nospace -F __start_adsysd adsysd 435s fi 435s 435s # ex: ts=4 sw=4 et filetype=sh 435s --- PASS: TestAppNoUsageError (0.00s) 435s PASS 435s ok github.com/ubuntu/adsys/cmd/adsysd/daemon 3.426s 435s Integration tests skipped as requested 435s ok github.com/ubuntu/adsys/cmd/adsysd/integration_tests 0.024s 435s Test has to be run as root, skipping... 435s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 0.004s 436s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/01_prepare_base_vm [no test files] 436s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/02_create_vm_template [no test files] 436s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/00_build_adsys_deb [no test files] 436s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/01_provision_client [no test files] 436s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/02_provision_ad [no test files] 436s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/03_test_non_pro_managers [no test files] 436s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/04_test_pro_managers [no test files] 436s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/05_test_pam_krb5cc [no test files] 436s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/99_deprovision [no test files] 436s ? github.com/ubuntu/adsys/e2e/internal/az [no test files] 436s ? github.com/ubuntu/adsys/e2e/internal/inventory [no test files] 436s ? github.com/ubuntu/adsys/e2e/internal/remote [no test files] 436s ? github.com/ubuntu/adsys/e2e/scripts [no test files] 436s === RUN TestAddFlags 436s --- PASS: TestAddFlags (0.00s) 436s === RUN TestInventory 436s === RUN TestInventory/From_existing_state_requires_existing_data 436s === RUN TestInventory/To_null_state_doesn't_write_data 436s === RUN TestInventory/Multiple_from_states_requires_at_least_one 436s === RUN TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist 436s time="2024-11-29T20:34:50Z" 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_exist1329148272/001/inventory/inventory.yaml: no such file or directory. Please refer to the previous script in the series" 436s === RUN TestInventory/Error_if_inventory_state_does_not_match_expected_state 436s time="2024-11-29T20:34:50Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 436s === RUN TestInventory/Error_if_inventory_state_does_not_match_any_expected_state 436s time="2024-11-29T20:34:50Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 436s === RUN TestInventory/From_null_state_doesn't_require_existing_data 436s --- PASS: TestInventory (0.00s) 436s --- PASS: TestInventory/From_existing_state_requires_existing_data (0.00s) 436s --- PASS: TestInventory/To_null_state_doesn't_write_data (0.00s) 436s --- PASS: TestInventory/Multiple_from_states_requires_at_least_one (0.00s) 436s --- PASS: TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist (0.00s) 436s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_expected_state (0.00s) 436s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_any_expected_state (0.00s) 436s --- PASS: TestInventory/From_null_state_doesn't_require_existing_data (0.00s) 436s === RUN TestExecute 436s === RUN TestExecute/Action_succeeds 436s === RUN TestExecute/Action_and_validation_succeed 436s === RUN TestExecute/Error_when_action_fails 436s time="2024-11-29T20:34:50Z" level=error msg="requested error" 436s === RUN TestExecute/Error_when_validation_fails 436s time="2024-11-29T20:34:50Z" level=error msg="requested error" 436s === RUN TestExecute/Error_when_both_action_and_validation_fail 436s time="2024-11-29T20:34:50Z" level=error msg="requested error" 436s --- PASS: TestExecute (0.00s) 436s --- PASS: TestExecute/Action_succeeds (0.00s) 436s --- PASS: TestExecute/Action_and_validation_succeed (0.00s) 436s --- PASS: TestExecute/Error_when_action_fails (0.00s) 436s --- PASS: TestExecute/Error_when_validation_fails (0.00s) 436s --- PASS: TestExecute/Error_when_both_action_and_validation_fail (0.00s) 436s PASS 436s ok github.com/ubuntu/adsys/e2e/internal/command 0.016s 438s ? github.com/ubuntu/adsys/internal/ad/admxgen/common [no test files] 438s ? github.com/ubuntu/adsys/internal/ad/backends [no test files] 438s ? github.com/ubuntu/adsys/internal/ad/backends/mock [no test files] 442s ? github.com/ubuntu/adsys/internal/adsysservice/actions [no test files] 443s ? github.com/ubuntu/adsys/internal/cmdhandler [no test files] 443s === RUN TestFetch 443s === PAUSE TestFetch 443s === RUN TestFetchWithUnreadableFile 443s === PAUSE TestFetchWithUnreadableFile 443s === RUN TestFetchTweakSysvolCacheDir 443s === PAUSE TestFetchTweakSysvolCacheDir 443s === RUN TestFetchOneGPOWhileParsingItConcurrently 443s === PAUSE TestFetchOneGPOWhileParsingItConcurrently 443s === RUN TestParseGPOConcurrent 443s === PAUSE TestParseGPOConcurrent 443s === RUN TestNew 443s === PAUSE TestNew 443s === RUN TestGetPolicies 443s === PAUSE TestGetPolicies 443s === RUN TestGetPoliciesOffline 443s === PAUSE TestGetPoliciesOffline 443s === RUN TestGetPoliciesWorkflows 443s === PAUSE TestGetPoliciesWorkflows 443s === RUN TestGetPoliciesConcurrently 443s === PAUSE TestGetPoliciesConcurrently 443s === RUN TestListUsers 443s === PAUSE TestListUsers 443s === RUN TestGetInfo 443s === PAUSE TestGetInfo 443s === RUN TestNormalizeTargetName 443s === PAUSE TestNormalizeTargetName 443s === RUN TestMockGPOList 443s --- PASS: TestMockGPOList (0.00s) 443s === RUN TestAdsysGPOList 443s === RUN TestAdsysGPOList/Security_descriptor_missing_ignores_GPO 443s === RUN TestAdsysGPOList/Error_on_invalid_ticket 443s === RUN TestAdsysGPOList/Error_on_KRB5CCNAME_unset 443s === RUN TestAdsysGPOList/Error_on_dangling_ticket_symlink 443s === RUN TestAdsysGPOList/Return_one_gpo 443s === RUN TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order 443s === RUN TestAdsysGPOList/Fail_on_security_descriptor_access_failure 443s === RUN TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing 443s === RUN TestAdsysGPOList/Error_on_machine_with_no_ldap 443s === RUN TestAdsysGPOList/Block_inheritance 443s === RUN TestAdsysGPOList/Error_on_unreachable_ldap_host 443s === RUN TestAdsysGPOList/Error_on_ldap_connection_refused 443s === RUN TestAdsysGPOList/Error_on_user_requested_but_found_machine 443s === RUN TestAdsysGPOList/Return_hierarchy 443s === RUN TestAdsysGPOList/No_GPO_on_OU_-_bytes 443s === RUN TestAdsysGPOList/No_GPO_on_OU_-_string 443s === RUN TestAdsysGPOList/Error_on_non_existent_account 443s === RUN TestAdsysGPOList/Disabled_GPOs 443s === RUN TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user 443s === RUN TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings 443s === RUN TestAdsysGPOList/Error_invalid_GPO_link 443s === RUN TestAdsysGPOList/No_gPOptions_fallbacks_to_0 443s === RUN TestAdsysGPOList/Computers_truncated_at_15_characters 443s === RUN TestAdsysGPOList/Long_computer_name,_not_truncated 443s === RUN TestAdsysGPOList/Error_on_computer_requested_but_found_user 443s === RUN TestAdsysGPOList/Multiple_GPOs_in_same_OU 443s === RUN TestAdsysGPOList/Machine_GPOs 443s === RUN TestAdsysGPOList/Filter_machine_only_GPOs 443s === RUN TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO 443s === RUN TestAdsysGPOList/Filter_user_only_GPOs 443s === RUN TestAdsysGPOList/Forced_GPO_and_blocked_inheritance 443s === RUN TestAdsysGPOList/Error_on_no_network 443s --- PASS: TestAdsysGPOList (0.87s) 443s --- PASS: TestAdsysGPOList/Security_descriptor_missing_ignores_GPO (0.03s) 443s --- PASS: TestAdsysGPOList/Error_on_invalid_ticket (0.03s) 443s --- PASS: TestAdsysGPOList/Error_on_KRB5CCNAME_unset (0.03s) 443s --- PASS: TestAdsysGPOList/Error_on_dangling_ticket_symlink (0.03s) 443s --- PASS: TestAdsysGPOList/Return_one_gpo (0.03s) 443s --- PASS: TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order (0.03s) 443s --- PASS: TestAdsysGPOList/Fail_on_security_descriptor_access_failure (0.03s) 443s --- PASS: TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing (0.04s) 443s --- PASS: TestAdsysGPOList/Error_on_machine_with_no_ldap (0.05s) 443s --- PASS: TestAdsysGPOList/Block_inheritance (0.03s) 443s --- PASS: TestAdsysGPOList/Error_on_unreachable_ldap_host (0.03s) 443s --- PASS: TestAdsysGPOList/Error_on_ldap_connection_refused (0.03s) 443s --- PASS: TestAdsysGPOList/Error_on_user_requested_but_found_machine (0.03s) 443s --- PASS: TestAdsysGPOList/Return_hierarchy (0.03s) 443s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_bytes (0.03s) 443s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_string (0.02s) 443s --- PASS: TestAdsysGPOList/Error_on_non_existent_account (0.02s) 443s --- PASS: TestAdsysGPOList/Disabled_GPOs (0.03s) 443s --- PASS: TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user (0.03s) 443s --- PASS: TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings (0.03s) 443s --- PASS: TestAdsysGPOList/Error_invalid_GPO_link (0.03s) 443s --- PASS: TestAdsysGPOList/No_gPOptions_fallbacks_to_0 (0.03s) 443s --- PASS: TestAdsysGPOList/Computers_truncated_at_15_characters (0.03s) 443s --- PASS: TestAdsysGPOList/Long_computer_name,_not_truncated (0.03s) 443s --- PASS: TestAdsysGPOList/Error_on_computer_requested_but_found_user (0.03s) 443s --- PASS: TestAdsysGPOList/Multiple_GPOs_in_same_OU (0.03s) 443s --- PASS: TestAdsysGPOList/Machine_GPOs (0.03s) 443s --- PASS: TestAdsysGPOList/Filter_machine_only_GPOs (0.03s) 443s --- PASS: TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO (0.03s) 443s --- PASS: TestAdsysGPOList/Filter_user_only_GPOs (0.03s) 443s --- PASS: TestAdsysGPOList/Forced_GPO_and_blocked_inheritance (0.03s) 443s --- PASS: TestAdsysGPOList/Error_on_no_network (0.03s) 443s === RUN TestGetPolicyDefinitions 443s === PAUSE TestGetPolicyDefinitions 443s === RUN TestTicketPath 443s krb5_test.go:23: Running subprocess with [/tmp/go-build2456386404/b547/ad.test -test.testlogfile=/tmp/go-build2456386404/b547/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestTicketPath] 443s === RUN TestTicketPath 443s === RUN TestTicketPath/Error_when_ccache_not_present_on_disk 443s === RUN TestTicketPath/Error_when_ccache_is_a_directory 443s === RUN TestTicketPath/Error_when_initializing_context 443s === RUN TestTicketPath/Error_on_empty_ticket_path 443s === RUN TestTicketPath/Error_on_NULL_ticket_path 443s === RUN TestTicketPath/Error_on_non-FILE_ccache 443s === RUN TestTicketPath/Lookup_is_successful 443s === RUN TestTicketPath/Allow_ccache_without_FILE_identifier 443s --- PASS: TestTicketPath (0.00s) 443s --- PASS: TestTicketPath/Error_when_ccache_not_present_on_disk (0.00s) 443s --- PASS: TestTicketPath/Error_when_ccache_is_a_directory (0.00s) 443s --- PASS: TestTicketPath/Error_when_initializing_context (0.00s) 443s --- PASS: TestTicketPath/Error_on_empty_ticket_path (0.00s) 443s --- PASS: TestTicketPath/Error_on_NULL_ticket_path (0.00s) 443s --- PASS: TestTicketPath/Error_on_non-FILE_ccache (0.00s) 443s --- PASS: TestTicketPath/Lookup_is_successful (0.00s) 443s --- PASS: TestTicketPath/Allow_ccache_without_FILE_identifier (0.00s) 443s PASS 443s --- PASS: TestTicketPath (0.12s) 443s === CONT TestFetch 443s === RUN TestFetch/two_new_gpos 443s === PAUSE TestFetch/two_new_gpos 443s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_new 443s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_new 443s === RUN TestFetch/two_gpos,_one_more_recent,_one_up_to_date 443s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_up_to_date 443s === RUN TestFetch/assets_are_not_updated_if_version_matches 443s === PAUSE TestFetch/assets_are_not_updated_if_version_matches 443s === RUN TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 443s === PAUSE TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 443s === RUN TestFetch/Error_keeps_downloading_other_GPOS 443s === PAUSE TestFetch/Error_keeps_downloading_other_GPOS 443s === RUN TestFetch/gpo_already_up_to_date 443s === PAUSE TestFetch/gpo_already_up_to_date 443s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 443s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 443s === RUN TestFetch/local_gpo_is_more_recent_than_AD_one 443s === PAUSE TestFetch/local_gpo_is_more_recent_than_AD_one 443s === RUN TestFetch/assets_only_are_downloaded 443s === PAUSE TestFetch/assets_only_are_downloaded 443s === RUN TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 443s === PAUSE TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 443s === RUN TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 443s === PAUSE TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 443s === RUN TestFetch/Error_missing_remote_GPT.INI 443s === PAUSE TestFetch/Error_missing_remote_GPT.INI 443s === RUN TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 443s === PAUSE TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 443s === RUN TestFetch/two_gpos,_one_should_be_refreshed,_one_new 443s === PAUSE TestFetch/two_gpos,_one_should_be_refreshed,_one_new 443s === RUN TestFetch/two_gpos,_one_more_recent,_one_new 443s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_new 443s === RUN TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 443s === PAUSE TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 443s === RUN TestFetch/remote_version_entry_missing_treated_as_0 443s === PAUSE TestFetch/remote_version_entry_missing_treated_as_0 443s === RUN TestFetch/one_new_gpo 443s === PAUSE TestFetch/one_new_gpo 443s === RUN TestFetch/assets_are_updated_to_latest_version 443s === PAUSE TestFetch/assets_are_updated_to_latest_version 443s === RUN TestFetch/Error_unexistant_remote_gpo 443s === PAUSE TestFetch/Error_unexistant_remote_gpo 443s === RUN TestFetch/gpo_is_refreshed 443s === PAUSE TestFetch/gpo_is_refreshed 443s === RUN TestFetch/keep_existing_gpos_intact 443s === PAUSE TestFetch/keep_existing_gpos_intact 443s === RUN TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 443s === PAUSE TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 443s === RUN TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 443s === PAUSE TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 443s === RUN TestFetch/concurrent_same_gpos 443s === PAUSE TestFetch/concurrent_same_gpos 443s === RUN TestFetch/assets_is_a_file_is_not_downloaded 443s === PAUSE TestFetch/assets_is_a_file_is_not_downloaded 443s === RUN TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 443s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 443s === RUN TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 443s === PAUSE TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 443s === RUN TestFetch/gpos_and_assets 443s === PAUSE TestFetch/gpos_and_assets 443s === RUN TestFetch/concurrent_different_gpos 443s === PAUSE TestFetch/concurrent_different_gpos 443s === RUN TestFetch/Error_remote_version_NaN 443s === PAUSE TestFetch/Error_remote_version_NaN 443s === CONT TestFetch/two_new_gpos 443s === CONT TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 443s time="2024-11-29T20:34:53Z" level=info msg="No version key found in GPT.INI for gpo1-name, assuming 0" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo2-name\"" 443s === CONT TestFetch/keep_existing_gpos_intact 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s === CONT TestFetch/gpo_is_refreshed 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo1-name\" is already up to date" 443s === CONT TestFetch/Error_unexistant_remote_gpo 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s === CONT TestFetch/assets_are_updated_to_latest_version 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s === CONT TestFetch/one_new_gpo 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s === CONT TestFetch/remote_version_entry_missing_treated_as_0 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="No version key found in GPT.INI for gpt_ini_version_missing-name, assuming 0" 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpt_ini_version_missing-name\" is already up to date" 443s === CONT TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 443s === CONT TestFetch/two_gpos,_one_more_recent,_one_new 443s time="2024-11-29T20:34:53Z" level=warning msg="Invalid local GPT.INI for gpo1-name: invalid remote GPT.INI: strconv.ParseInt: parsing \"NaN\": invalid syntax\nDownloading it again…" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo2-name\" is already up to date" 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s === CONT TestFetch/two_gpos,_one_should_be_refreshed,_one_new 443s === CONT TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo2-name\"" 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s === CONT TestFetch/Error_missing_remote_GPT.INI 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s === CONT TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Assets directory is already up to date" 443s === CONT TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s === CONT TestFetch/assets_only_are_downloaded 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"assets\"" 443s === CONT TestFetch/local_gpo_is_more_recent_than_AD_one 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo2-name\" is already up to date" 443s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s === CONT TestFetch/gpo_already_up_to_date 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo2-name\" is already up to date" 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo1-name\" is already up to date" 443s === CONT TestFetch/Error_keeps_downloading_other_GPOS 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo2-name\"" 443s === CONT TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 443s === CONT TestFetch/assets_are_not_updated_if_version_matches 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Assets directory is already up to date" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s === CONT TestFetch/two_gpos,_one_more_recent,_one_up_to_date 443s time="2024-11-29T20:34:53Z" level=info msg="Assets directory is already up to date" 443s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_new 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo1-name\" is already up to date" 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo2-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo2-name\" is already up to date" 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo1-name\" is already up to date" 443s === CONT TestFetchOneGPOWhileParsingItConcurrently 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"standard-name\"" 443s --- PASS: TestFetchOneGPOWhileParsingItConcurrently (0.03s) 443s === CONT TestGetPolicyDefinitions 443s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 443s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 443s === RUN TestGetPolicyDefinitions/Load_ADMX_and_ADML 443s === PAUSE TestGetPolicyDefinitions/Load_ADMX_and_ADML 443s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 443s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 443s === CONT TestNormalizeTargetName 443s === RUN TestNormalizeTargetName/One_valid_user 443s === PAUSE TestNormalizeTargetName/One_valid_user 443s === RUN TestNormalizeTargetName/Computer_is_left_as_such 443s === PAUSE TestNormalizeTargetName/Computer_is_left_as_such 443s === RUN TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 443s === PAUSE TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 443s === RUN TestNormalizeTargetName/User_name_fqdn_matching_computer 443s === PAUSE TestNormalizeTargetName/User_name_fqdn_matching_computer 443s === RUN TestNormalizeTargetName/Computer_name_without_objectClass 443s === PAUSE TestNormalizeTargetName/Computer_name_without_objectClass 443s === RUN TestNormalizeTargetName/Error_on_multiple_\_in_name 443s === PAUSE TestNormalizeTargetName/Error_on_multiple_\_in_name 443s === RUN TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 443s === PAUSE TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 443s === RUN TestNormalizeTargetName/One_valid_user_with_mixed_case 443s === PAUSE TestNormalizeTargetName/One_valid_user_with_mixed_case 443s === RUN TestNormalizeTargetName/One_valid_user_with_domain\user 443s === PAUSE TestNormalizeTargetName/One_valid_user_with_domain\user 443s === RUN TestNormalizeTargetName/One_user_without_explicit_domain_suffix 443s === PAUSE TestNormalizeTargetName/One_user_without_explicit_domain_suffix 443s === RUN TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 443s === PAUSE TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 443s === RUN TestNormalizeTargetName/Computer_with_@_is_left_as_such 443s === PAUSE TestNormalizeTargetName/Computer_with_@_is_left_as_such 443s === CONT TestGetInfo 443s === RUN TestGetInfo/Info_reported_from_backend,_offline 443s === PAUSE TestGetInfo/Info_reported_from_backend,_offline 443s === RUN TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 443s === PAUSE TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 443s === RUN TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 443s === PAUSE TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 443s === RUN TestGetInfo/Info_reported_from_backend,_online 443s === PAUSE TestGetInfo/Info_reported_from_backend,_online 443s === CONT TestListUsers 443s === RUN TestListUsers/One_user,_from_policy_cache 443s === PAUSE TestListUsers/One_user,_from_policy_cache 443s === RUN TestListUsers/Two_users,_from_policy_cache 443s === PAUSE TestListUsers/Two_users,_from_policy_cache 443s === RUN TestListUsers/Two_users 443s === PAUSE TestListUsers/Two_users 443s === RUN TestListUsers/Machines_are_ignored 443s === PAUSE TestListUsers/Machines_are_ignored 443s === RUN TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 443s === PAUSE TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 443s === RUN TestListUsers/None 443s === PAUSE TestListUsers/None 443s === RUN TestListUsers/Machines_are_ignored,_from_policy_cache 443s === PAUSE TestListUsers/Machines_are_ignored,_from_policy_cache 443s === RUN TestListUsers/Machine_Only,_from_policy_cache 443s === PAUSE TestListUsers/Machine_Only,_from_policy_cache 443s === RUN TestListUsers/Error_on_Krb5_directory_not_existing 443s === PAUSE TestListUsers/Error_on_Krb5_directory_not_existing 443s === RUN TestListUsers/None,_from_policy_cache 443s === PAUSE TestListUsers/None,_from_policy_cache 443s === RUN TestListUsers/Two_users,_dangling_symlink_for_one 443s === PAUSE TestListUsers/Two_users,_dangling_symlink_for_one 443s === RUN TestListUsers/Machine_Only 443s === PAUSE TestListUsers/Machine_Only 443s === RUN TestListUsers/Error_on_policy_cache_directory_not_existing 443s === PAUSE TestListUsers/Error_on_policy_cache_directory_not_existing 443s === RUN TestListUsers/One_user 443s === PAUSE TestListUsers/One_user 443s === CONT TestGetPoliciesConcurrently 443s === RUN TestGetPoliciesConcurrently/Same_user,_same_GPO 443s === PAUSE TestGetPoliciesConcurrently/Same_user,_same_GPO 443s === RUN TestGetPoliciesConcurrently/Different_users,_same_GPO 443s === PAUSE TestGetPoliciesConcurrently/Different_users,_same_GPO 443s === RUN TestGetPoliciesConcurrently/Different_users,_different_GPO 443s === PAUSE TestGetPoliciesConcurrently/Different_users,_different_GPO 443s === RUN TestGetPoliciesConcurrently/One_machine,_one_user 443s === PAUSE TestGetPoliciesConcurrently/One_machine,_one_user 443s === RUN TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 443s === PAUSE TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 443s === CONT TestGetPoliciesWorkflows 443s === RUN TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 443s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 443s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 443s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 443s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 443s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 443s === RUN TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 443s === PAUSE TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 443s === RUN TestGetPoliciesWorkflows/Second_call_after_service_restarted 443s === PAUSE TestGetPoliciesWorkflows/Second_call_after_service_restarted 443s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 443s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 443s === RUN TestGetPoliciesWorkflows/Second_call_with_different_user 443s === PAUSE TestGetPoliciesWorkflows/Second_call_with_different_user 443s === RUN TestGetPoliciesWorkflows/Second_call_after_a_relogin 443s === PAUSE TestGetPoliciesWorkflows/Second_call_after_a_relogin 443s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 443s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 443s === CONT TestGetPoliciesOffline 443s === RUN TestGetPoliciesOffline/Offline,_with_assets 443s === PAUSE TestGetPoliciesOffline/Offline,_with_assets 443s === RUN TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 443s === PAUSE TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 443s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 443s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 443s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 443s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 443s === RUN TestGetPoliciesOffline/Error_offline_with_no_cache 443s === PAUSE TestGetPoliciesOffline/Error_offline_with_no_cache 443s === RUN TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 443s === PAUSE TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 443s === CONT TestGetPolicies 443s === RUN TestGetPolicies/Empty_value_for_unfiltered_entry 443s === CONT TestNew 443s === RUN TestNew/failed_to_create_KRB5_cache_directory 443s === PAUSE TestNew/failed_to_create_KRB5_cache_directory 443s === RUN TestNew/failed_to_create_Sysvol_cache_directory 443s === PAUSE TestNew/failed_to_create_Sysvol_cache_directory 443s === RUN TestNew/failed_to_create_Policies_cache_directory 443s === PAUSE TestNew/failed_to_create_Policies_cache_directory 443s === RUN TestNew/no_active_server_in_backend_does_not_fail_ad_creation 443s === PAUSE TestNew/no_active_server_in_backend_does_not_fail_ad_creation 443s === RUN TestNew/error_on_backend_ServerFQDN_random_failure 443s === PAUSE TestNew/error_on_backend_ServerFQDN_random_failure 443s === RUN TestNew/create_KRB5_and_Sysvol_cache_directory 443s === PAUSE TestNew/create_KRB5_and_Sysvol_cache_directory 443s === PAUSE TestGetPolicies/Empty_value_for_unfiltered_entry 443s === CONT TestParseGPOConcurrent 443s === RUN TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 443s === PAUSE TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 443s === RUN TestGetPolicies/No_override_for_this_release,_takes_default_value 443s === PAUSE TestGetPolicies/No_override_for_this_release,_takes_default_value 443s === RUN TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 443s === PAUSE TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 443s === RUN TestGetPolicies/Unsupported_type_for_unfiltered_entry 443s === PAUSE TestGetPolicies/Unsupported_type_for_unfiltered_entry 443s === RUN TestGetPolicies/User_only_policy,_user_object 443s === PAUSE TestGetPolicies/User_only_policy,_user_object 443s === RUN TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 443s === PAUSE TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 443s === RUN TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 443s === PAUSE TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 443s === RUN TestGetPolicies/Error_on_user_without_@_in_name 443s === PAUSE TestGetPolicies/Error_on_user_without_@_in_name 443s === RUN TestGetPolicies/Two_policies,_with_overrides 443s === PAUSE TestGetPolicies/Two_policies,_with_overrides 443s === RUN TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 443s === PAUSE TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 443s === RUN TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 443s === PAUSE TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 443s === RUN TestGetPolicies/Standard_policy,_user_object 443s === PAUSE TestGetPolicies/Standard_policy,_user_object 443s === RUN TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 443s === PAUSE TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 443s === RUN TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 443s === PAUSE TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 443s === RUN TestGetPolicies/Enabled_override 443s === PAUSE TestGetPolicies/Enabled_override 443s === RUN TestGetPolicies/Standard_policy,_computer_object 443s === PAUSE TestGetPolicies/Standard_policy,_computer_object 443s === RUN TestGetPolicies/Unexisting_CC_original_file_for_user 443s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_user 443s === RUN TestGetPolicies/Error_on_backend_IsOnline_call_failed 443s === PAUSE TestGetPolicies/Error_on_backend_IsOnline_call_failed 443s === RUN TestGetPolicies/Corrupted_policy_file 443s === PAUSE TestGetPolicies/Corrupted_policy_file 443s === RUN TestGetPolicies/Policy_user_directory_is_uppercase 443s === PAUSE TestGetPolicies/Policy_user_directory_is_uppercase 443s === RUN TestGetPolicies/Policy_machine_directory_is_uppercase 443s === PAUSE TestGetPolicies/Policy_machine_directory_is_uppercase 443s === RUN TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 443s === PAUSE TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 443s === RUN TestGetPolicies/Policy_can’t_be_downloaded 443s === PAUSE TestGetPolicies/Policy_can’t_be_downloaded 443s === RUN TestGetPolicies/Standard_policy_with_assets,_downloads_assets 443s === PAUSE TestGetPolicies/Standard_policy_with_assets,_downloads_assets 443s === RUN TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 443s === PAUSE TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 443s === RUN TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 443s === PAUSE TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 443s === RUN TestGetPolicies/Disabled_value_is_overridden 443s === PAUSE TestGetPolicies/Disabled_value_is_overridden 443s === RUN TestGetPolicies/Machine_doesn’t_match 443s === PAUSE TestGetPolicies/Machine_doesn’t_match 443s === RUN TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 443s === PAUSE TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 443s === RUN TestGetPolicies/Multiple_domains,_same_GPO 443s === PAUSE TestGetPolicies/Multiple_domains,_same_GPO 443s === RUN TestGetPolicies/Same_key_in_different_domains_are_kept_separated 443s === PAUSE TestGetPolicies/Same_key_in_different_domains_are_kept_separated 443s === RUN TestGetPolicies/Two_policies,_with_reversed_overrides 443s === PAUSE TestGetPolicies/Two_policies,_with_reversed_overrides 443s === RUN TestGetPolicies/Filter_non_Ubuntu_keys 443s === PAUSE TestGetPolicies/Filter_non_Ubuntu_keys 443s === RUN TestGetPolicies/Disabled_override 443s === PAUSE TestGetPolicies/Disabled_override 443s === RUN TestGetPolicies/Two_policies,_no_overrides 443s === PAUSE TestGetPolicies/Two_policies,_no_overrides 443s === RUN TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 443s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 443s === RUN TestGetPolicies/More_policies,_with_multiple_overrides 443s === PAUSE TestGetPolicies/More_policies,_with_multiple_overrides 443s === RUN TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 443s === PAUSE TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 443s === RUN TestGetPolicies/Unexisting_CC_original_file_for_machine 443s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_machine 443s === RUN TestGetPolicies/Symlinks_can’t_be_created 443s === PAUSE TestGetPolicies/Symlinks_can’t_be_created 443s === RUN TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 443s === PAUSE TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 443s === RUN TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 443s === PAUSE TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 443s === RUN TestGetPolicies/Two_policies,_no_overrides,_reversed 443s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_reversed 443s === RUN TestGetPolicies/Disabled_value_overrides_non_disabled_one 443s === PAUSE TestGetPolicies/Disabled_value_overrides_non_disabled_one 443s === CONT TestFetch/gpos_and_assets 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s --- PASS: TestParseGPOConcurrent (0.19s) 443s === CONT TestFetchTweakSysvolCacheDir 443s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 443s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 443s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 443s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 443s === CONT TestFetchWithUnreadableFile 443s === RUN TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 443s === PAUSE TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 443s === RUN TestFetchWithUnreadableFile/existing_gpo_is_preserved 443s === PAUSE TestFetchWithUnreadableFile/existing_gpo_is_preserved 443s === CONT TestFetch/Error_remote_version_NaN 443s === CONT TestFetch/concurrent_different_gpos 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s === CONT TestFetch/assets_is_a_file_is_not_downloaded 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo2-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s === CONT TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s === CONT TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 443s === CONT TestFetch/concurrent_same_gpos 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="Downloading \"gpo1-name\"" 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo2-name\" is already up to date" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:53Z" level=info msg="GPO \"gpo1-name\" is already up to date" 443s === CONT TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 443s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 443s === CONT TestNormalizeTargetName/One_valid_user 443s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 443s === CONT TestGetPolicyDefinitions/Load_ADMX_and_ADML 443s === CONT TestGetInfo/Info_reported_from_backend,_offline 443s === CONT TestListUsers/One_user,_from_policy_cache 443s === CONT TestNormalizeTargetName/Computer_with_@_is_left_as_such 443s === CONT TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 443s === CONT TestNormalizeTargetName/One_user_without_explicit_domain_suffix 443s === CONT TestNormalizeTargetName/One_valid_user_with_domain\user 443s --- PASS: TestGetPolicyDefinitions (0.00s) 443s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro (0.00s) 443s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format (0.00s) 443s --- PASS: TestGetPolicyDefinitions/Load_ADMX_and_ADML (0.00s) 443s === CONT TestNormalizeTargetName/One_valid_user_with_mixed_case 443s === CONT TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 443s === CONT TestNormalizeTargetName/Error_on_multiple_\_in_name 443s === CONT TestNormalizeTargetName/Computer_name_without_objectClass 443s === CONT TestNormalizeTargetName/User_name_fqdn_matching_computer 443s === CONT TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 443s === CONT TestNormalizeTargetName/Computer_is_left_as_such 443s --- PASS: TestNormalizeTargetName (0.00s) 443s --- PASS: TestNormalizeTargetName/One_valid_user (0.00s) 443s --- PASS: TestNormalizeTargetName/Computer_with_@_is_left_as_such (0.00s) 443s --- PASS: TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such (0.00s) 443s --- PASS: TestNormalizeTargetName/One_user_without_explicit_domain_suffix (0.00s) 443s --- PASS: TestNormalizeTargetName/One_valid_user_with_domain\user (0.00s) 443s --- PASS: TestNormalizeTargetName/One_valid_user_with_mixed_case (0.00s) 443s --- PASS: TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user (0.00s) 443s --- PASS: TestNormalizeTargetName/Error_on_multiple_\_in_name (0.00s) 443s --- PASS: TestNormalizeTargetName/Computer_name_without_objectClass (0.00s) 443s --- PASS: TestNormalizeTargetName/User_name_fqdn_matching_computer (0.00s) 443s --- PASS: TestNormalizeTargetName/User_name_matching_computer,_setting_as_user (0.00s) 443s --- PASS: TestNormalizeTargetName/Computer_is_left_as_such (0.00s) 443s === CONT TestGetPoliciesConcurrently/Same_user,_same_GPO 443s --- PASS: TestFetch (0.00s) 443s --- PASS: TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI (0.06s) 443s --- PASS: TestFetch/two_new_gpos (0.07s) 443s --- PASS: TestFetch/keep_existing_gpos_intact (0.01s) 443s --- PASS: TestFetch/Error_unexistant_remote_gpo (0.01s) 443s --- PASS: TestFetch/gpo_is_refreshed (0.04s) 443s --- PASS: TestFetch/assets_are_updated_to_latest_version (0.04s) 443s --- PASS: TestFetch/remote_version_entry_missing_treated_as_0 (0.01s) 443s --- PASS: TestFetch/one_new_gpo (0.02s) 443s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_new (0.03s) 443s --- PASS: TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI (0.04s) 443s --- PASS: TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only (0.01s) 443s --- PASS: TestFetch/Error_missing_remote_GPT.INI (0.01s) 443s --- PASS: TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing (0.02s) 443s --- PASS: TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL (0.01s) 443s --- PASS: TestFetch/two_gpos,_one_should_be_refreshed,_one_new (0.07s) 443s --- PASS: TestFetch/local_gpo_is_more_recent_than_AD_one (0.01s) 443s --- PASS: TestFetch/assets_only_are_downloaded (0.04s) 443s --- PASS: TestFetch/gpo_already_up_to_date (0.01s) 443s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed (0.06s) 443s --- PASS: TestFetch/Error_keeps_downloading_other_GPOS (0.03s) 443s --- PASS: TestFetch/assets_are_not_updated_if_version_matches (0.02s) 443s --- PASS: TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing (0.02s) 443s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_up_to_date (0.02s) 443s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_new (0.05s) 443s --- PASS: TestFetch/gpos_and_assets (0.20s) 443s --- PASS: TestFetch/Error_remote_version_NaN (0.01s) 443s --- PASS: TestFetch/assets_is_a_file_is_not_downloaded (0.01s) 443s --- PASS: TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI (0.05s) 443s --- PASS: TestFetch/concurrent_different_gpos (0.07s) 443s --- PASS: TestFetch/concurrent_same_gpos (0.04s) 443s --- PASS: TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided (0.00s) 443s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed (0.06s) 443s === CONT TestGetInfo/Info_reported_from_backend,_online 443s === CONT TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 443s === CONT TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 443s time="2024-11-29T20:34:53Z" level=warning msg="IsOnline returned an error" 443s --- PASS: TestGetInfo (0.00s) 443s --- PASS: TestGetInfo/Info_reported_from_backend,_offline (0.00s) 443s --- PASS: TestGetInfo/Info_reported_from_backend,_online (0.00s) 443s --- PASS: TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail (0.00s) 443s --- PASS: TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail (0.00s) 443s === CONT TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s === CONT TestListUsers/One_user 443s === CONT TestListUsers/Error_on_policy_cache_directory_not_existing 443s === CONT TestListUsers/Machine_Only 443s === CONT TestListUsers/Two_users,_dangling_symlink_for_one 443s === CONT TestListUsers/None,_from_policy_cache 443s === CONT TestListUsers/Error_on_Krb5_directory_not_existing 443s === CONT TestListUsers/Machine_Only,_from_policy_cache 443s === CONT TestListUsers/Machines_are_ignored,_from_policy_cache 443s === CONT TestListUsers/None 443s === CONT TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 443s === CONT TestListUsers/Machines_are_ignored 443s === CONT TestListUsers/Two_users 443s === CONT TestListUsers/Two_users,_from_policy_cache 443s === CONT TestGetPoliciesOffline/Offline,_with_assets 443s --- PASS: TestListUsers (0.00s) 443s --- PASS: TestListUsers/One_user,_from_policy_cache (0.00s) 443s --- PASS: TestListUsers/One_user (0.00s) 443s --- PASS: TestListUsers/Error_on_policy_cache_directory_not_existing (0.00s) 443s --- PASS: TestListUsers/Machine_Only (0.00s) 443s --- PASS: TestListUsers/Two_users,_dangling_symlink_for_one (0.00s) 443s --- PASS: TestListUsers/None,_from_policy_cache (0.00s) 443s --- PASS: TestListUsers/Error_on_Krb5_directory_not_existing (0.00s) 443s --- PASS: TestListUsers/Machine_Only,_from_policy_cache (0.00s) 443s --- PASS: TestListUsers/Machines_are_ignored,_from_policy_cache (0.00s) 443s --- PASS: TestListUsers/None (0.00s) 443s --- PASS: TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested (0.00s) 443s --- PASS: TestListUsers/Machines_are_ignored (0.00s) 443s --- PASS: TestListUsers/Two_users (0.00s) 443s --- PASS: TestListUsers/Two_users,_from_policy_cache (0.00s) 443s === CONT TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 443s === CONT TestGetPoliciesConcurrently/One_machine,_one_user 443s === CONT TestGetPoliciesConcurrently/Different_users,_different_GPO 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"one-value-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s === CONT TestGetPoliciesConcurrently/Different_users,_same_GPO 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s --- PASS: TestGetPoliciesConcurrently (0.00s) 443s --- PASS: TestGetPoliciesConcurrently/Same_user,_same_GPO (0.16s) 443s --- PASS: TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time (0.11s) 443s --- PASS: TestGetPoliciesConcurrently/One_machine,_one_user (0.11s) 443s --- PASS: TestGetPoliciesConcurrently/Different_users,_different_GPO (0.20s) 443s --- PASS: TestGetPoliciesConcurrently/Different_users,_same_GPO (0.10s) 443s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s === CONT TestGetPoliciesWorkflows/Second_call_after_a_relogin 443s === CONT TestGetPoliciesWorkflows/Second_call_with_different_user 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s === CONT TestGetPoliciesWorkflows/Second_call_after_service_restarted 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s === CONT TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s === CONT TestGetPoliciesOffline/Error_offline_with_no_cache 443s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:54Z" level=info msg="Downloading \"standard-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:54Z" level=info msg="GPO \"standard-name\" is already up to date" 443s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 443s --- PASS: TestGetPoliciesWorkflows (0.00s) 443s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) (0.16s) 443s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path (0.15s) 443s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_a_restart (0.15s) 443s --- PASS: TestGetPoliciesWorkflows/Second_call_after_a_relogin (0.12s) 443s --- PASS: TestGetPoliciesWorkflows/Second_call_with_different_user (0.12s) 443s --- PASS: TestGetPoliciesWorkflows/Second_call_after_service_restarted (0.14s) 443s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed (0.14s) 443s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted (0.13s) 443s --- PASS: TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) (0.14s) 443s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 443s === CONT TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 443s time="2024-11-29T20:34:55Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 443s === CONT TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"assets\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 443s === CONT TestNew/failed_to_create_KRB5_cache_directory 443s === CONT TestNew/no_active_server_in_backend_does_not_fail_ad_creation 443s === CONT TestNew/failed_to_create_Policies_cache_directory 443s === CONT TestNew/failed_to_create_Sysvol_cache_directory 443s === CONT TestNew/error_on_backend_ServerFQDN_random_failure 443s === CONT TestNew/create_KRB5_and_Sysvol_cache_directory 443s --- PASS: TestNew (0.00s) 443s --- PASS: TestNew/failed_to_create_KRB5_cache_directory (0.00s) 443s --- PASS: TestNew/no_active_server_in_backend_does_not_fail_ad_creation (0.00s) 443s --- PASS: TestNew/failed_to_create_Policies_cache_directory (0.00s) 443s --- PASS: TestNew/failed_to_create_Sysvol_cache_directory (0.00s) 443s --- PASS: TestNew/error_on_backend_ServerFQDN_random_failure (0.00s) 443s --- PASS: TestNew/create_KRB5_and_Sysvol_cache_directory (0.00s) 443s === CONT TestGetPolicies/Empty_value_for_unfiltered_entry 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s === CONT TestGetPolicies/Disabled_value_overrides_non_disabled_one 443s --- PASS: TestGetPoliciesOffline (0.00s) 443s --- PASS: TestGetPoliciesOffline/Offline,_with_assets (0.11s) 443s --- PASS: TestGetPoliciesOffline/Error_offline_with_no_cache (0.00s) 443s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only (0.10s) 443s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets (0.11s) 443s --- PASS: TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list (0.08s) 443s --- PASS: TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache (0.13s) 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"empty-value-name\"" 443s === CONT TestGetPolicies/Two_policies,_no_overrides,_reversed 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"one-value-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"user-only-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"disabled-value-name\"" 443s === CONT TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 443s === CONT TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"machine-only-name\"" 443s === CONT TestGetPolicies/Symlinks_can’t_be_created 443s === CONT TestGetPolicies/Unexisting_CC_original_file_for_machine 443s === CONT TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 443s === CONT TestGetPolicies/More_policies,_with_multiple_overrides 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"unsupported-with-errors-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"user-only-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"one-value-name\"" 443s === CONT TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 443s === CONT TestGetPolicies/Two_policies,_no_overrides 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"machine-only-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"user-only-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"one-value-name\"" 443s === CONT TestGetPolicies/Disabled_override 443s === CONT TestGetPolicies/Filter_non_Ubuntu_keys 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"multiple-releases-one-disabled-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"filtered-name\"" 443s === CONT TestGetPolicies/Two_policies,_with_reversed_overrides 443s === CONT TestGetPolicies/Same_key_in_different_domains_are_kept_separated 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"one-value-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"one-value-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"other-domain-name\"" 443s === CONT TestGetPolicies/Multiple_domains,_same_GPO 443s === CONT TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"multiple-domains-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"multiple-releases-name\"" 443s === CONT TestGetPolicies/Machine_doesn’t_match 443s === CONT TestGetPolicies/Disabled_value_is_overridden 443s === CONT TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"disabled-value-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"multiple-releases-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s === CONT TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 443s === CONT TestGetPolicies/Standard_policy_with_assets,_downloads_assets 443s === CONT TestGetPolicies/Policy_can’t_be_downloaded 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s === CONT TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 443s === CONT TestGetPolicies/Policy_machine_directory_is_uppercase 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"assets\"" 443s === CONT TestGetPolicies/Policy_user_directory_is_uppercase 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"uppercase-class-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"uppercase-class-name\"" 443s === CONT TestGetPolicies/Corrupted_policy_file 443s === CONT TestGetPolicies/Error_on_backend_IsOnline_call_failed 443s === CONT TestGetPolicies/Unexisting_CC_original_file_for_user 443s === CONT TestGetPolicies/Standard_policy,_computer_object 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:55Z" level=info msg="Downloading \"corrupted-policy-name\"" 443s === CONT TestGetPolicies/Enabled_override 443s === CONT TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"multiple-releases-one-enabled-name\"" 443s === CONT TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 443s === CONT TestGetPolicies/Standard_policy,_user_object 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"user-only-name\"" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"standard-name\"" 443s === CONT TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 443s === CONT TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"lowercase-class-name\"" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"lowercase-class-name\"" 443s === CONT TestGetPolicies/Two_policies,_with_overrides 443s === CONT TestGetPolicies/Error_on_user_without_@_in_name 443s === CONT TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 443s === CONT TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 443s === CONT TestGetPolicies/User_only_policy,_user_object 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"standard-name\"" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"one-value-name\"" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"user-only-name\"" 443s === CONT TestGetPolicies/Unsupported_type_for_unfiltered_entry 443s === CONT TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"bad-entry-type-name\"" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"filtered-with-certificate-autoenrollment-name\"" 443s === CONT TestGetPolicies/No_override_for_this_release,_takes_default_value 443s === CONT TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="Assets directory is already up to date" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"multiple-releases-name\"" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"standard-name\"" 443s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 443s --- PASS: TestGetPolicies (0.00s) 443s --- PASS: TestGetPolicies/Empty_value_for_unfiltered_entry (0.05s) 443s --- PASS: TestGetPolicies/Disabled_value_overrides_non_disabled_one (0.09s) 443s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_reversed (0.08s) 443s --- PASS: TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol (0.08s) 443s --- PASS: TestGetPolicies/Symlinks_can’t_be_created (0.00s) 443s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_machine (0.00s) 443s --- PASS: TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty (0.08s) 443s --- PASS: TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys (0.07s) 443s --- PASS: TestGetPolicies/More_policies,_with_multiple_overrides (0.08s) 443s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user (0.09s) 443s --- PASS: TestGetPolicies/Two_policies,_no_overrides (0.08s) 443s --- PASS: TestGetPolicies/Disabled_override (0.06s) 443s --- PASS: TestGetPolicies/Filter_non_Ubuntu_keys (0.06s) 443s --- PASS: TestGetPolicies/Two_policies,_with_reversed_overrides (0.07s) 443s --- PASS: TestGetPolicies/Same_key_in_different_domains_are_kept_separated (0.06s) 443s --- PASS: TestGetPolicies/Multiple_domains,_same_GPO (0.08s) 443s --- PASS: TestGetPolicies/Machine_doesn’t_match (0.00s) 443s --- PASS: TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored (0.08s) 443s --- PASS: TestGetPolicies/Disabled_value_is_overridden (0.08s) 443s --- PASS: TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored (0.08s) 443s --- PASS: TestGetPolicies/Assets_can’t_be_downloaded_without_GPO (0.04s) 443s --- PASS: TestGetPolicies/Policy_can’t_be_downloaded (0.03s) 443s --- PASS: TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed (0.00s) 443s --- PASS: TestGetPolicies/Standard_policy_with_assets,_downloads_assets (0.09s) 443s --- PASS: TestGetPolicies/Policy_machine_directory_is_uppercase (0.07s) 443s --- PASS: TestGetPolicies/Policy_user_directory_is_uppercase (0.06s) 443s --- PASS: TestGetPolicies/Error_on_backend_IsOnline_call_failed (0.00s) 443s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_user (0.00s) 443s --- PASS: TestGetPolicies/Standard_policy,_computer_object (0.06s) 443s --- PASS: TestGetPolicies/Corrupted_policy_file (0.07s) 443s --- PASS: TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db (0.06s) 443s --- PASS: TestGetPolicies/Enabled_override (0.08s) 443s --- PASS: TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty (0.06s) 443s --- PASS: TestGetPolicies/Standard_policy,_user_object (0.06s) 443s --- PASS: TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.06s) 443s --- PASS: TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.06s) 443s --- PASS: TestGetPolicies/Error_on_user_without_@_in_name (0.00s) 443s --- PASS: TestGetPolicies/Error_on_backend_ServerFQDN_call_failed (0.00s) 443s --- PASS: TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName (0.00s) 443s --- PASS: TestGetPolicies/User_only_policy,_user_object (0.08s) 443s --- PASS: TestGetPolicies/Two_policies,_with_overrides (0.10s) 443s --- PASS: TestGetPolicies/Unsupported_type_for_unfiltered_entry (0.08s) 443s --- PASS: TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment (0.07s) 443s --- PASS: TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed (0.09s) 443s --- PASS: TestGetPolicies/No_override_for_this_release,_takes_default_value (0.09s) 443s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"gpo1-name\"" 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"gpo1-name\"" 443s === CONT TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 443s --- PASS: TestFetchTweakSysvolCacheDir (0.00s) 443s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist (0.02s) 443s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only (0.02s) 443s === CONT TestFetchWithUnreadableFile/existing_gpo_is_preserved 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"gpo1-name\"" 443s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 443s time="2024-11-29T20:34:56Z" level=info msg="Downloading \"gpo1-name\"" 443s --- PASS: TestFetchWithUnreadableFile (0.00s) 443s --- PASS: TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO (0.05s) 443s --- PASS: TestFetchWithUnreadableFile/existing_gpo_is_preserved (0.05s) 443s PASS 443s Setup: samba output: [2024/11/29 20:34:52, 0] ../../lib/util/debug.c:1100(reopen_one_log) 443s reopen_one_log: Unable to open new log file '/var/log/samba/log.samba-bgqd': Permission denied 443s [2024/11/29 20:34:52, 2] ../../source3/lib/interface.c:344(add_interface) 443s added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 443s [2024/11/29 20:34:52, 2] ../../source3/lib/interface.c:344(add_interface) 443s added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 443s [2024/11/29 20:34:52, 2] ../../source3/lib/interface.c:584(interpret_interface) 443s interpret_interface: using netmask value 8 from config file on interface lo 443s [2024/11/29 20:34:52, 0] ../../lib/util/become_daemon.c:150(daemon_status) 443s daemon_status: daemon 'samba-bgqd' : Starting process ... 443s [2024/11/29 20:34:52, 0] ../../source3/lib/dumpcore.c:59(get_default_corepath) 443s Failed to create /var/log/samba/cores for user 1000 with mode 0700 443s [2024/11/29 20:34:52, 0] ../../source3/lib/dumpcore.c:256(dump_core_setup) 443s Unable to setup corepath for samba-bgqd: File exists 443s [2024/11/29 20:34:52, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage) 443s Registered MSG_REQ_POOL_USAGE 443s [2024/11/29 20:34:52, 2] ../../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs) 443s Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED 443s 443s ok github.com/ubuntu/adsys/internal/ad 4.503s 443s === RUN TestGenerateExpandedCategories 443s === PAUSE TestGenerateExpandedCategories 443s === RUN TestExpandedCategoriesToADMX 443s === PAUSE TestExpandedCategoriesToADMX 443s === RUN TestExpandedCategoriesToMD 443s === PAUSE TestExpandedCategoriesToMD 443s === RUN TestExpand 443s === PAUSE TestExpand 443s === RUN TestGenerateAD 443s === PAUSE TestGenerateAD 443s === RUN TestGenerateDoc 443s === PAUSE TestGenerateDoc 443s === CONT TestGenerateExpandedCategories 443s === RUN TestGenerateExpandedCategories/different_defaults 443s === PAUSE TestGenerateExpandedCategories/different_defaults 443s === RUN TestGenerateExpandedCategories/no_defaults 443s === PAUSE TestGenerateExpandedCategories/no_defaults 443s === RUN TestGenerateExpandedCategories/default_policy_class_is_capitalized 443s === PAUSE TestGenerateExpandedCategories/default_policy_class_is_capitalized 443s === RUN TestGenerateExpandedCategories/requires_ubuntu_pro 443s === PAUSE TestGenerateExpandedCategories/requires_ubuntu_pro 443s === RUN TestGenerateExpandedCategories/different_choices 443s === PAUSE TestGenerateExpandedCategories/different_choices 443s === RUN TestGenerateExpandedCategories/meta_entry_only 443s === PAUSE TestGenerateExpandedCategories/meta_entry_only 443s === RUN TestGenerateExpandedCategories/no_meta_at_all 443s === PAUSE TestGenerateExpandedCategories/no_meta_at_all 443s === RUN TestGenerateExpandedCategories/simple 443s === PAUSE TestGenerateExpandedCategories/simple 443s === RUN TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 443s === PAUSE TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 443s === RUN TestGenerateExpandedCategories/same_default 443s === PAUSE TestGenerateExpandedCategories/same_default 443s === RUN TestGenerateExpandedCategories/available_on_one_release_only 443s === PAUSE TestGenerateExpandedCategories/available_on_one_release_only 443s === RUN TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 443s === PAUSE TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 443s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 443s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 443s === RUN TestGenerateExpandedCategories/different_display_name 443s === PAUSE TestGenerateExpandedCategories/different_display_name 443s === RUN TestGenerateExpandedCategories/different_element_type 443s === PAUSE TestGenerateExpandedCategories/different_element_type 443s === RUN TestGenerateExpandedCategories/basic 443s === PAUSE TestGenerateExpandedCategories/basic 443s === RUN TestGenerateExpandedCategories/applicable_to_all_releases 443s === PAUSE TestGenerateExpandedCategories/applicable_to_all_releases 443s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories 443s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories 443s === RUN TestGenerateExpandedCategories/error_on_different_class 443s === PAUSE TestGenerateExpandedCategories/error_on_different_class 443s === RUN TestGenerateExpandedCategories/two_policies 443s === PAUSE TestGenerateExpandedCategories/two_policies 443s === RUN TestGenerateExpandedCategories/different_explain_text 443s === PAUSE TestGenerateExpandedCategories/different_explain_text 443s === RUN TestGenerateExpandedCategories/nested_categories 443s === PAUSE TestGenerateExpandedCategories/nested_categories 443s === RUN TestGenerateExpandedCategories/choices 443s === PAUSE TestGenerateExpandedCategories/choices 443s === RUN TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 443s === PAUSE TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 443s === RUN TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 443s === PAUSE TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 443s === RUN TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 443s === PAUSE TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 443s === RUN TestGenerateExpandedCategories/no_note 443s === PAUSE TestGenerateExpandedCategories/no_note 443s === RUN TestGenerateExpandedCategories/no_note_strategy_append 443s === PAUSE TestGenerateExpandedCategories/no_note_strategy_append 443s === RUN TestGenerateExpandedCategories/range 443s === PAUSE TestGenerateExpandedCategories/range 443s === RUN TestGenerateExpandedCategories/different_meta 443s === PAUSE TestGenerateExpandedCategories/different_meta 443s === RUN TestGenerateExpandedCategories/error_on_one_policy_not_used 443s === PAUSE TestGenerateExpandedCategories/error_on_one_policy_not_used 443s === RUN TestGenerateExpandedCategories/with_prefix 443s === PAUSE TestGenerateExpandedCategories/with_prefix 443s === RUN TestGenerateExpandedCategories/different_range 443s === PAUSE TestGenerateExpandedCategories/different_range 443s === RUN TestGenerateExpandedCategories/no_meta_disabled 443s === PAUSE TestGenerateExpandedCategories/no_meta_disabled 443s === RUN TestGenerateExpandedCategories/error_on_nested_category 443s === PAUSE TestGenerateExpandedCategories/error_on_nested_category 443s === RUN TestGenerateExpandedCategories/error_on_invalid_default_policy_class 443s === PAUSE TestGenerateExpandedCategories/error_on_invalid_default_policy_class 443s === RUN TestGenerateExpandedCategories/error_on_empty_default_policy_class 443s === PAUSE TestGenerateExpandedCategories/error_on_empty_default_policy_class 443s === RUN TestGenerateExpandedCategories/policy_directory_doesn't_exist 443s === PAUSE TestGenerateExpandedCategories/policy_directory_doesn't_exist 443s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 443s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 443s === RUN TestGenerateExpandedCategories/multiple_top_categories 443s === PAUSE TestGenerateExpandedCategories/multiple_top_categories 443s === RUN TestGenerateExpandedCategories/no_meta_enabled 443s === PAUSE TestGenerateExpandedCategories/no_meta_enabled 443s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 443s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 443s === RUN TestGenerateExpandedCategories/error_on_different_policy_type 443s === PAUSE TestGenerateExpandedCategories/error_on_different_policy_type 443s === RUN TestGenerateExpandedCategories/error_on_missing_release 443s === PAUSE TestGenerateExpandedCategories/error_on_missing_release 443s === RUN TestGenerateExpandedCategories/category_definition_doesn't_exist 443s === PAUSE TestGenerateExpandedCategories/category_definition_doesn't_exist 443s === CONT TestGenerateExpandedCategories/different_defaults 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateDoc 443s === RUN TestGenerateDoc/autodetect_overrides_releases_from_yaml 443s === PAUSE TestGenerateDoc/autodetect_overrides_releases_from_yaml 443s === RUN TestGenerateDoc/invalid_definition_file 443s === PAUSE TestGenerateDoc/invalid_definition_file 443s === RUN TestGenerateDoc/category_expansion_fails 443s === PAUSE TestGenerateDoc/category_expansion_fails 443s === RUN TestGenerateDoc/doc_generation_fails 443s === PAUSE TestGenerateDoc/doc_generation_fails 443s === RUN TestGenerateDoc/releases_from_yaml 443s === PAUSE TestGenerateDoc/releases_from_yaml 443s === CONT TestGenerateDoc/autodetect_overrides_releases_from_yaml 443s === CONT TestGenerateAD 443s === RUN TestGenerateAD/category_expansion_fails 443s === PAUSE TestGenerateAD/category_expansion_fails 443s === RUN TestGenerateAD/admx_generation_fails 443s === PAUSE TestGenerateAD/admx_generation_fails 443s === RUN TestGenerateAD/releases_from_yaml 443s === PAUSE TestGenerateAD/releases_from_yaml 443s === RUN TestGenerateAD/autodetect_overrides_releases_from_yaml 443s === PAUSE TestGenerateAD/autodetect_overrides_releases_from_yaml 443s === RUN TestGenerateAD/invalid_definition_file 443s === PAUSE TestGenerateAD/invalid_definition_file 443s === CONT TestGenerateAD/category_expansion_fails 443s === CONT TestExpand 443s === RUN TestExpand/expanded_policy_with_meta 443s === PAUSE TestExpand/expanded_policy_with_meta 443s === RUN TestExpand/no_release_file 443s === PAUSE TestExpand/no_release_file 443s === RUN TestExpand/no_version_id 443s === PAUSE TestExpand/no_version_id 443s === RUN TestExpand/no_source_directory 443s === PAUSE TestExpand/no_source_directory 443s === RUN TestExpand/dconf_generation_fails 443s === PAUSE TestExpand/dconf_generation_fails 443s === RUN TestExpand/dconf 443s === PAUSE TestExpand/dconf 443s === RUN TestExpand/expanded_policy 443s === PAUSE TestExpand/expanded_policy 443s === RUN TestExpand/expanded_policy_with_release_any 443s === PAUSE TestExpand/expanded_policy_with_release_any 443s === RUN TestExpand/ignore_categories_and_non_yaml_files 443s === PAUSE TestExpand/ignore_categories_and_non_yaml_files 443s === RUN TestExpand/unsupported_policy_type 443s === PAUSE TestExpand/unsupported_policy_type 443s === RUN TestExpand/invalid_dconf.yaml 443s === PAUSE TestExpand/invalid_dconf.yaml 443s === CONT TestExpand/expanded_policy_with_meta 443s admxgen_test.go:78: Serializing object for golden file 443s === CONT TestExpandedCategoriesToMD 443s === RUN TestExpandedCategoriesToMD/decimal 443s === PAUSE TestExpandedCategoriesToMD/decimal 443s === RUN TestExpandedCategoriesToMD/decimal_with_min_only 443s === PAUSE TestExpandedCategoriesToMD/decimal_with_min_only 443s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 443s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 443s === RUN TestExpandedCategoriesToMD/no_meta_enabled 443s === PAUSE TestExpandedCategoriesToMD/no_meta_enabled 443s === RUN TestExpandedCategoriesToMD/no_meta_at_all 443s === PAUSE TestExpandedCategoriesToMD/no_meta_at_all 443s === RUN TestExpandedCategoriesToMD/boolean 443s === PAUSE TestExpandedCategoriesToMD/boolean 443s === RUN TestExpandedCategoriesToMD/double 443s === PAUSE TestExpandedCategoriesToMD/double 443s === RUN TestExpandedCategoriesToMD/double_with_range 443s === PAUSE TestExpandedCategoriesToMD/double_with_range 443s === RUN TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 443s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 443s === RUN TestExpandedCategoriesToMD/error_on_destination_creation 443s === PAUSE TestExpandedCategoriesToMD/error_on_destination_creation 443s === RUN TestExpandedCategoriesToMD/decimal_with_range 443s === PAUSE TestExpandedCategoriesToMD/decimal_with_range 443s === RUN TestExpandedCategoriesToMD/multiple_categories 443s === PAUSE TestExpandedCategoriesToMD/multiple_categories 443s === RUN TestExpandedCategoriesToMD/long_decimal 443s === PAUSE TestExpandedCategoriesToMD/long_decimal 443s === RUN TestExpandedCategoriesToMD/choices 443s === PAUSE TestExpandedCategoriesToMD/choices 443s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 443s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 443s === RUN TestExpandedCategoriesToMD/no_meta_disabled 443s === PAUSE TestExpandedCategoriesToMD/no_meta_disabled 443s === RUN TestExpandedCategoriesToMD/simple 443s === PAUSE TestExpandedCategoriesToMD/simple 443s === RUN TestExpandedCategoriesToMD/nested_categories 443s === PAUSE TestExpandedCategoriesToMD/nested_categories 443s === RUN TestExpandedCategoriesToMD/user_policy 443s === PAUSE TestExpandedCategoriesToMD/user_policy 443s === RUN TestExpandedCategoriesToMD/decimal_with_max_only 443s === PAUSE TestExpandedCategoriesToMD/decimal_with_max_only 443s === RUN TestExpandedCategoriesToMD/choices_with_default 443s === PAUSE TestExpandedCategoriesToMD/choices_with_default 443s === RUN TestExpandedCategoriesToMD/array_of_integers 443s === PAUSE TestExpandedCategoriesToMD/array_of_integers 443s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_choices 443s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_choices 443s === RUN TestExpandedCategoriesToMD/basic_key 443s === PAUSE TestExpandedCategoriesToMD/basic_key 443s === RUN TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 443s === PAUSE TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 443s === RUN TestExpandedCategoriesToMD/array_of_strings 443s === PAUSE TestExpandedCategoriesToMD/array_of_strings 443s === RUN TestExpandedCategoriesToMD/multiple_releases_for_one_key 443s === PAUSE TestExpandedCategoriesToMD/multiple_releases_for_one_key 443s === CONT TestExpandedCategoriesToMD/decimal 443s === CONT TestExpandedCategoriesToADMX 443s === RUN TestExpandedCategoriesToADMX/simple 443s === CONT TestGenerateExpandedCategories/no_defaults 443s === PAUSE TestExpandedCategoriesToADMX/simple 443s === RUN TestExpandedCategoriesToADMX/nested_categories 443s === PAUSE TestExpandedCategoriesToADMX/nested_categories 443s === RUN TestExpandedCategoriesToADMX/other_distro 443s === PAUSE TestExpandedCategoriesToADMX/other_distro 443s === RUN TestExpandedCategoriesToADMX/boolean 443s === PAUSE TestExpandedCategoriesToADMX/boolean 443s === RUN TestExpandedCategoriesToADMX/long_decimal 443s === PAUSE TestExpandedCategoriesToADMX/long_decimal 443s === RUN TestExpandedCategoriesToADMX/double 443s === PAUSE TestExpandedCategoriesToADMX/double 443s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 443s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 443s === NAME TestGenerateExpandedCategories/no_defaults 443s internal_test.go:112: Serializing object for golden file 443s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 443s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 443s === RUN TestExpandedCategoriesToADMX/no_meta_enabled 443s === PAUSE TestExpandedCategoriesToADMX/no_meta_enabled 443s === RUN TestExpandedCategoriesToADMX/error_on_destination_creation 443s === PAUSE TestExpandedCategoriesToADMX/error_on_destination_creation 443s === RUN TestExpandedCategoriesToADMX/decimal_with_min_only 443s === PAUSE TestExpandedCategoriesToADMX/decimal_with_min_only 443s === CONT TestGenerateExpandedCategories/category_definition_doesn't_exist 443s === RUN TestExpandedCategoriesToADMX/choices 443s === PAUSE TestExpandedCategoriesToADMX/choices 443s === RUN TestExpandedCategoriesToADMX/choices_with_default 443s === PAUSE TestExpandedCategoriesToADMX/choices_with_default 443s === RUN TestExpandedCategoriesToADMX/multiple_releases_for_one_key 443s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_for_one_key 443s === RUN TestExpandedCategoriesToADMX/multiple_categories 443s === PAUSE TestExpandedCategoriesToADMX/multiple_categories 443s === CONT TestGenerateExpandedCategories/error_on_missing_release 443s === RUN TestExpandedCategoriesToADMX/decimal 443s === PAUSE TestExpandedCategoriesToADMX/decimal 443s === RUN TestExpandedCategoriesToADMX/decimal_with_range 443s === PAUSE TestExpandedCategoriesToADMX/decimal_with_range 443s === RUN TestExpandedCategoriesToADMX/array_of_integers 443s === PAUSE TestExpandedCategoriesToADMX/array_of_integers 443s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 443s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 443s === RUN TestExpandedCategoriesToADMX/no_meta_disabled 443s === PAUSE TestExpandedCategoriesToADMX/no_meta_disabled 443s === RUN TestExpandedCategoriesToADMX/basic_key 443s === PAUSE TestExpandedCategoriesToADMX/basic_key 443s === RUN TestExpandedCategoriesToADMX/decimal_with_max_only 443s === PAUSE TestExpandedCategoriesToADMX/decimal_with_max_only 443s === RUN TestExpandedCategoriesToADMX/array_of_strings 443s === CONT TestGenerateExpandedCategories/error_on_different_policy_type 443s === PAUSE TestExpandedCategoriesToADMX/array_of_strings 443s === RUN TestExpandedCategoriesToADMX/double_with_range 443s === PAUSE TestExpandedCategoriesToADMX/double_with_range 443s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 443s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 443s === RUN TestExpandedCategoriesToADMX/no_meta_at_all 443s === PAUSE TestExpandedCategoriesToADMX/no_meta_at_all 443s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 443s === CONT TestGenerateExpandedCategories/no_meta_enabled 443s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 443s internal_test.go:112: Serializing object for golden file 443s === NAME TestGenerateExpandedCategories/no_meta_enabled 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/multiple_top_categories 443s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 443s === NAME TestGenerateExpandedCategories/multiple_top_categories 443s internal_test.go:112: Serializing object for golden file 443s === NAME TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/policy_directory_doesn't_exist 443s === CONT TestGenerateExpandedCategories/error_on_empty_default_policy_class 443s === CONT TestGenerateExpandedCategories/error_on_invalid_default_policy_class 443s === CONT TestGenerateExpandedCategories/error_on_nested_category 443s === CONT TestGenerateExpandedCategories/no_meta_disabled 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/different_range 443s === CONT TestGenerateExpandedCategories/with_prefix 443s === NAME TestGenerateExpandedCategories/different_range 443s internal_test.go:112: Serializing object for golden file 443s === NAME TestGenerateExpandedCategories/with_prefix 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/error_on_one_policy_not_used 443s === CONT TestGenerateExpandedCategories/different_meta 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/range 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/no_note_strategy_append 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/no_note 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 443s === CONT TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 443s === CONT TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 443s === CONT TestGenerateExpandedCategories/choices 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/nested_categories 443s === CONT TestGenerateExpandedCategories/different_explain_text 443s internal_test.go:112: Serializing object for golden file 443s === NAME TestGenerateExpandedCategories/nested_categories 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/error_on_different_class 443s === CONT TestGenerateExpandedCategories/two_policies 443s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories 443s === NAME TestGenerateExpandedCategories/two_policies 443s internal_test.go:112: Serializing object for golden file 443s === NAME TestGenerateExpandedCategories/same_policy_used_in_two_categories 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/applicable_to_all_releases 443s === CONT TestGenerateExpandedCategories/basic 443s === NAME TestGenerateExpandedCategories/applicable_to_all_releases 443s internal_test.go:112: Serializing object for golden file 443s === NAME TestGenerateExpandedCategories/basic 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/different_element_type 443s === CONT TestGenerateExpandedCategories/different_display_name 443s internal_test.go:112: Serializing object for golden file 443s === NAME TestGenerateExpandedCategories/different_element_type 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 443s === CONT TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 443s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/available_on_one_release_only 443s time="2024-11-29T20:34:52Z" level=warning msg="policy /org/gnome/desktop/policy-doesnotexit referenced in \"Category1 Display Name\" does not exist in any supported releases" 443s === NAME TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 443s internal_test.go:112: Serializing object for golden file 443s === NAME TestGenerateExpandedCategories/available_on_one_release_only 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/same_default 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/simple 443s === CONT TestGenerateExpandedCategories/no_meta_at_all 443s === NAME TestGenerateExpandedCategories/simple 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/meta_entry_only 443s === NAME TestGenerateExpandedCategories/no_meta_at_all 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/different_choices 443s === NAME TestGenerateExpandedCategories/meta_entry_only 443s internal_test.go:112: Serializing object for golden file 443s === NAME TestGenerateExpandedCategories/different_choices 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestGenerateExpandedCategories/requires_ubuntu_pro 443s === CONT TestGenerateExpandedCategories/default_policy_class_is_capitalized 443s internal_test.go:112: Serializing object for golden file 443s === CONT TestExpandedCategoriesToMD/basic_key 443s === NAME TestGenerateExpandedCategories/requires_ubuntu_pro 443s internal_test.go:112: Serializing object for golden file 443s --- PASS: TestGenerateExpandedCategories (0.00s) 443s --- PASS: TestGenerateExpandedCategories/different_defaults (0.00s) 443s --- PASS: TestGenerateExpandedCategories/no_defaults (0.00s) 443s --- PASS: TestGenerateExpandedCategories/category_definition_doesn't_exist (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_missing_release (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_different_policy_type (0.00s) 443s --- PASS: TestGenerateExpandedCategories/no_meta_enabled (0.00s) 443s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key (0.00s) 443s --- PASS: TestGenerateExpandedCategories/multiple_top_categories (0.00s) 443s --- PASS: TestGenerateExpandedCategories/policy_directory_doesn't_exist (0.00s) 443s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_invalid_default_policy_class (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_empty_default_policy_class (0.00s) 443s --- PASS: TestGenerateExpandedCategories/no_meta_disabled (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_nested_category (0.00s) 443s --- PASS: TestGenerateExpandedCategories/with_prefix (0.00s) 443s --- PASS: TestGenerateExpandedCategories/different_range (0.00s) 443s --- PASS: TestGenerateExpandedCategories/different_meta (0.00s) 443s --- PASS: TestGenerateExpandedCategories/range (0.00s) 443s --- PASS: TestGenerateExpandedCategories/no_note_strategy_append (0.00s) 443s --- PASS: TestGenerateExpandedCategories/no_note (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_unexisting_policy_referenced (0.00s) 443s --- PASS: TestGenerateExpandedCategories/choices (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_one_policy_not_used (0.00s) 443s --- PASS: TestGenerateExpandedCategories/different_explain_text (0.00s) 443s --- PASS: TestGenerateExpandedCategories/nested_categories (0.00s) 443s --- PASS: TestGenerateExpandedCategories/error_on_different_class (0.00s) 443s --- PASS: TestGenerateExpandedCategories/two_policies (0.00s) 443s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories (0.00s) 443s --- PASS: TestGenerateExpandedCategories/applicable_to_all_releases (0.00s) 443s --- PASS: TestGenerateExpandedCategories/basic (0.00s) 443s --- PASS: TestGenerateExpandedCategories/different_display_name (0.00s) 443s --- PASS: TestGenerateExpandedCategories/different_element_type (0.00s) 443s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key (0.00s) 443s --- PASS: TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases (0.00s) 443s --- PASS: TestGenerateExpandedCategories/available_on_one_release_only (0.00s) 443s --- PASS: TestGenerateExpandedCategories/same_default (0.00s) 443s --- PASS: TestGenerateExpandedCategories/use_policy_class_instead_of_category_default (0.00s) 443s --- PASS: TestGenerateExpandedCategories/simple (0.00s) 443s --- PASS: TestGenerateExpandedCategories/no_meta_at_all (0.00s) 443s --- PASS: TestGenerateExpandedCategories/meta_entry_only (0.00s) 443s --- PASS: TestGenerateExpandedCategories/different_choices (0.00s) 443s --- PASS: TestGenerateExpandedCategories/default_policy_class_is_capitalized (0.00s) 443s --- PASS: TestGenerateExpandedCategories/requires_ubuntu_pro (0.00s) 443s === CONT TestGenerateDoc/releases_from_yaml 443s === CONT TestGenerateDoc/doc_generation_fails 443s === CONT TestGenerateDoc/category_expansion_fails 443s === CONT TestGenerateDoc/invalid_definition_file 443s === CONT TestGenerateAD/invalid_definition_file 443s === CONT TestGenerateAD/autodetect_overrides_releases_from_yaml 443s --- PASS: TestGenerateDoc (0.00s) 443s --- PASS: TestGenerateDoc/autodetect_overrides_releases_from_yaml (0.00s) 443s --- PASS: TestGenerateDoc/doc_generation_fails (0.00s) 443s --- PASS: TestGenerateDoc/category_expansion_fails (0.00s) 443s --- PASS: TestGenerateDoc/invalid_definition_file (0.00s) 443s --- PASS: TestGenerateDoc/releases_from_yaml (0.00s) 443s === CONT TestGenerateAD/releases_from_yaml 443s === CONT TestGenerateAD/admx_generation_fails 443s === CONT TestExpand/invalid_dconf.yaml 443s --- PASS: TestGenerateAD (0.00s) 443s --- PASS: TestGenerateAD/category_expansion_fails (0.00s) 443s --- PASS: TestGenerateAD/invalid_definition_file (0.00s) 443s --- PASS: TestGenerateAD/releases_from_yaml (0.00s) 443s --- PASS: TestGenerateAD/admx_generation_fails (0.00s) 443s --- PASS: TestGenerateAD/autodetect_overrides_releases_from_yaml (0.00s) 443s === CONT TestExpand/unsupported_policy_type 443s === CONT TestExpand/ignore_categories_and_non_yaml_files 443s === CONT TestExpand/expanded_policy_with_release_any 443s === NAME TestExpand/ignore_categories_and_non_yaml_files 443s admxgen_test.go:78: Serializing object for golden file 443s === CONT TestExpand/expanded_policy 443s admxgen_test.go:78: Serializing object for golden file 443s === CONT TestExpand/dconf 443s admxgen_test.go:78: Serializing object for golden file 443s === CONT TestExpand/dconf_generation_fails 443s === CONT TestExpand/no_source_directory 443s === CONT TestExpand/no_version_id 443s === CONT TestExpand/no_release_file 443s === CONT TestExpandedCategoriesToMD/multiple_releases_for_one_key 443s === NAME TestExpand/expanded_policy_with_release_any 443s admxgen_test.go:78: Serializing object for golden file 443s --- PASS: TestExpand (0.00s) 443s --- PASS: TestExpand/expanded_policy_with_meta (0.00s) 443s --- PASS: TestExpand/unsupported_policy_type (0.00s) 443s --- PASS: TestExpand/invalid_dconf.yaml (0.00s) 443s --- PASS: TestExpand/ignore_categories_and_non_yaml_files (0.00s) 443s --- PASS: TestExpand/expanded_policy (0.00s) 443s --- PASS: TestExpand/dconf (0.00s) 443s --- PASS: TestExpand/dconf_generation_fails (0.00s) 443s --- PASS: TestExpand/no_source_directory (0.00s) 443s --- PASS: TestExpand/no_version_id (0.00s) 443s --- PASS: TestExpand/no_release_file (0.00s) 443s --- PASS: TestExpand/expanded_policy_with_release_any (0.00s) 443s === CONT TestExpandedCategoriesToMD/array_of_strings 443s === CONT TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 443s === CONT TestExpandedCategoriesToMD/long_decimal 443s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_choices 443s === CONT TestExpandedCategoriesToMD/array_of_integers 443s === CONT TestExpandedCategoriesToMD/choices_with_default 443s === CONT TestExpandedCategoriesToMD/decimal_with_max_only 443s === CONT TestExpandedCategoriesToMD/user_policy 443s === CONT TestExpandedCategoriesToMD/nested_categories 443s === CONT TestExpandedCategoriesToMD/simple 443s === CONT TestExpandedCategoriesToMD/no_meta_disabled 443s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 443s === CONT TestExpandedCategoriesToMD/choices 443s === CONT TestExpandedCategoriesToMD/double 443s === CONT TestExpandedCategoriesToMD/multiple_categories 443s === CONT TestExpandedCategoriesToMD/decimal_with_range 443s === CONT TestExpandedCategoriesToMD/error_on_destination_creation 443s === CONT TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 443s === CONT TestExpandedCategoriesToMD/double_with_range 443s === CONT TestExpandedCategoriesToMD/no_meta_enabled 443s === CONT TestExpandedCategoriesToMD/boolean 443s === CONT TestExpandedCategoriesToMD/no_meta_at_all 443s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 443s === CONT TestExpandedCategoriesToMD/decimal_with_min_only 443s === CONT TestExpandedCategoriesToADMX/simple 443s === CONT TestExpandedCategoriesToADMX/multiple_releases_for_one_key 443s --- PASS: TestExpandedCategoriesToMD (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/decimal (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/basic_key (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/multiple_releases_for_one_key (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/array_of_strings (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/long_decimal (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_choices (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/nested_categories,_classes_and_empty (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/array_of_integers (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/decimal_with_max_only (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/choices_with_default (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/nested_categories (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/simple (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/no_meta_disabled (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/choices (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/double (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/user_policy (0.01s) 443s --- PASS: TestExpandedCategoriesToMD/decimal_with_range (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/multiple_categories (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/error_on_destination_creation (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/double_with_range (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/no_meta_enabled (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/boolean (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/no_meta_at_all (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_ranges (0.00s) 443s --- PASS: TestExpandedCategoriesToMD/decimal_with_min_only (0.00s) 443s === CONT TestExpandedCategoriesToADMX/no_meta_at_all 443s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 443s === CONT TestExpandedCategoriesToADMX/double_with_range 443s === CONT TestExpandedCategoriesToADMX/array_of_strings 443s === CONT TestExpandedCategoriesToADMX/decimal_with_max_only 443s === CONT TestExpandedCategoriesToADMX/basic_key 443s === CONT TestExpandedCategoriesToADMX/no_meta_disabled 443s === CONT TestExpandedCategoriesToADMX/array_of_integers 443s === CONT TestExpandedCategoriesToADMX/decimal_with_range 443s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 443s === CONT TestExpandedCategoriesToADMX/decimal 443s === CONT TestExpandedCategoriesToADMX/multiple_categories 443s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 443s === CONT TestExpandedCategoriesToADMX/choices_with_default 443s === CONT TestExpandedCategoriesToADMX/choices 443s === CONT TestExpandedCategoriesToADMX/error_on_destination_creation 443s === CONT TestExpandedCategoriesToADMX/decimal_with_min_only 443s === CONT TestExpandedCategoriesToADMX/long_decimal 443s === CONT TestExpandedCategoriesToADMX/no_meta_enabled 443s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 443s === CONT TestExpandedCategoriesToADMX/double 443s === CONT TestExpandedCategoriesToADMX/other_distro 443s === CONT TestExpandedCategoriesToADMX/boolean 443s === CONT TestExpandedCategoriesToADMX/nested_categories 443s --- PASS: TestExpandedCategoriesToADMX (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/simple (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/no_meta_at_all (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_for_one_key (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/double_with_range (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/array_of_strings (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/decimal_with_max_only (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/basic_key (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/no_meta_disabled (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/array_of_integers (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/decimal_with_range (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/decimal (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/multiple_categories (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/choices_with_default (0.01s) 443s --- PASS: TestExpandedCategoriesToADMX/choices (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/error_on_destination_creation (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/decimal_with_min_only (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/long_decimal (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/no_meta_enabled (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/double (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_choices (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/other_distro (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/boolean (0.00s) 443s --- PASS: TestExpandedCategoriesToADMX/nested_categories (0.00s) 443s PASS 443s ok github.com/ubuntu/adsys/internal/ad/admxgen 0.083s 443s === RUN TestGenerate 443s === PAUSE TestGenerate 443s === CONT TestGenerate 443s === RUN TestGenerate/Invalid_min 443s === PAUSE TestGenerate/Invalid_min 443s === RUN TestGenerate/Same_key_relocated_twice 443s === PAUSE TestGenerate/Same_key_relocated_twice 443s === RUN TestGenerate/Long_decimal_key_with_range_min_lt_0 443s === PAUSE TestGenerate/Long_decimal_key_with_range_min_lt_0 443s === RUN TestGenerate/Double_key 443s === PAUSE TestGenerate/Double_key 443s === RUN TestGenerate/Override_with_no_matching_session_defaults_to_root_override 443s === PAUSE TestGenerate/Override_with_no_matching_session_defaults_to_root_override 443s === RUN TestGenerate/Choices_are_loaded 443s === PAUSE TestGenerate/Choices_are_loaded 443s === RUN TestGenerate/Inlined_Enums_are_converted_to_choices 443s === PAUSE TestGenerate/Inlined_Enums_are_converted_to_choices 443s === RUN TestGenerate/Enum_does_not_exist 443s === PAUSE TestGenerate/Enum_does_not_exist 443s === RUN TestGenerate/One_text_key 443s === PAUSE TestGenerate/One_text_key 443s === RUN TestGenerate/Override_without_session_takes_default 443s === PAUSE TestGenerate/Override_without_session_takes_default 443s === RUN TestGenerate/Enums_in_other_files_are_converted_to_choices 443s === PAUSE TestGenerate/Enums_in_other_files_are_converted_to_choices 443s === RUN TestGenerate/Empty 443s === PAUSE TestGenerate/Empty 443s === RUN TestGenerate/Description_starting_with_obsolete_is_ignored 443s === PAUSE TestGenerate/Description_starting_with_obsolete_is_ignored 443s === RUN TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 443s === PAUSE TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 443s === RUN TestGenerate/Invalid_class 443s === PAUSE TestGenerate/Invalid_class 443s === RUN TestGenerate/One_decimal_key_with_range 443s === PAUSE TestGenerate/One_decimal_key_with_range 443s === RUN TestGenerate/Long_decimal_key_with_range_min_gt_0 443s === PAUSE TestGenerate/Long_decimal_key_with_range_min_gt_0 443s === RUN TestGenerate/Override_takes_first_session 443s === PAUSE TestGenerate/Override_takes_first_session 443s === RUN TestGenerate/Overridden_by_multiple_files,_last_wins 443s === PAUSE TestGenerate/Overridden_by_multiple_files,_last_wins 443s === RUN TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 443s === PAUSE TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 443s === RUN TestGenerate/Unsupported_key_type 443s === PAUSE TestGenerate/Unsupported_key_type 443s === RUN TestGenerate/NaN_min 443s === PAUSE TestGenerate/NaN_min 443s === RUN TestGenerate/One_boolean_key 443s === PAUSE TestGenerate/One_boolean_key 443s === RUN TestGenerate/One_decimal_key_with_min_only 443s === PAUSE TestGenerate/One_decimal_key_with_min_only 443s === RUN TestGenerate/Override_without_session 443s === PAUSE TestGenerate/Override_without_session 443s === RUN TestGenerate/Description_starting_with_deprecated_is_ignored 443s === PAUSE TestGenerate/Description_starting_with_deprecated_is_ignored 443s === RUN TestGenerate/One_decimal_key_with_max_only 443s === PAUSE TestGenerate/One_decimal_key_with_max_only 443s === RUN TestGenerate/Long_decimal_key 443s === PAUSE TestGenerate/Long_decimal_key 443s === RUN TestGenerate/Array_of_integers 443s === PAUSE TestGenerate/Array_of_integers 443s === RUN TestGenerate/Relocatable_key_overridden 443s === PAUSE TestGenerate/Relocatable_key_overridden 443s === RUN TestGenerate/No_key_on_system 443s === PAUSE TestGenerate/No_key_on_system 443s === RUN TestGenerate/Valid_class_should_be_capitalized 443s === PAUSE TestGenerate/Valid_class_should_be_capitalized 443s === RUN TestGenerate/Key_with_class 443s === PAUSE TestGenerate/Key_with_class 443s === RUN TestGenerate/Relocatable_key 443s === PAUSE TestGenerate/Relocatable_key 443s === RUN TestGenerate/One_decimal_key 443s === PAUSE TestGenerate/One_decimal_key 443s === RUN TestGenerate/Double_key_with_range 443s === PAUSE TestGenerate/Double_key_with_range 443s === RUN TestGenerate/Override_with_session_takes_session_override 443s === PAUSE TestGenerate/Override_with_session_takes_session_override 443s === RUN TestGenerate/Override_default_to_second_if_first_not_present 443s === PAUSE TestGenerate/Override_default_to_second_if_first_not_present 443s === RUN TestGenerate/Array_of_strings 443s === PAUSE TestGenerate/Array_of_strings 443s === RUN TestGenerate/Invalid_override_files_are_skipped 443s === PAUSE TestGenerate/Invalid_override_files_are_skipped 443s === RUN TestGenerate/Invalid_schema_files 443s === PAUSE TestGenerate/Invalid_schema_files 443s === CONT TestGenerate/Invalid_min 443s === CONT TestGenerate/Invalid_schema_files 443s === CONT TestGenerate/Invalid_override_files_are_skipped 443s time="2024-11-29T20:34:52Z" 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" 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Array_of_strings 443s === CONT TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 443s time="2024-11-29T20:34:52Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated-different-cases\" is deprecated. Ignoring" 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Overridden_by_multiple_files,_last_wins 443s === NAME TestGenerate/Array_of_strings 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Override_takes_first_session 443s === NAME TestGenerate/Overridden_by_multiple_files,_last_wins 443s dconf_test.go:103: Serializing object for golden file 443s === NAME TestGenerate/Override_takes_first_session 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Long_decimal_key_with_range_min_gt_0 443s === CONT TestGenerate/One_decimal_key_with_range 443s === NAME TestGenerate/Long_decimal_key_with_range_min_gt_0 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Invalid_class 443s === NAME TestGenerate/One_decimal_key_with_range 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 443s === CONT TestGenerate/Description_starting_with_obsolete_is_ignored 443s === NAME TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 443s dconf_test.go:103: Serializing object for golden file 443s time="2024-11-29T20:34:52Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/obsolete\" is deprecated. Ignoring" 443s === NAME TestGenerate/Description_starting_with_obsolete_is_ignored 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Empty 443s === CONT TestGenerate/Enums_in_other_files_are_converted_to_choices 443s === NAME TestGenerate/Empty 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Override_without_session_takes_default 443s === NAME TestGenerate/Enums_in_other_files_are_converted_to_choices 443s dconf_test.go:103: Serializing object for golden file 443s === NAME TestGenerate/Override_without_session_takes_default 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/One_text_key 443s === CONT TestGenerate/Enum_does_not_exist 443s === CONT TestGenerate/Inlined_Enums_are_converted_to_choices 443s === NAME TestGenerate/One_text_key 443s dconf_test.go:103: Serializing object for golden file 443s === NAME TestGenerate/Inlined_Enums_are_converted_to_choices 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Choices_are_loaded 443s === CONT TestGenerate/Override_with_no_matching_session_defaults_to_root_override 443s === NAME TestGenerate/Choices_are_loaded 443s dconf_test.go:103: Serializing object for golden file 443s === NAME TestGenerate/Override_with_no_matching_session_defaults_to_root_override 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Double_key 443s === CONT TestGenerate/Long_decimal_key_with_range_min_lt_0 443s === NAME TestGenerate/Double_key 443s dconf_test.go:103: Serializing object for golden file 443s === NAME TestGenerate/Long_decimal_key_with_range_min_lt_0 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Same_key_relocated_twice 443s === CONT TestGenerate/Relocatable_key_overridden 443s dconf_test.go:103: Serializing object for golden file 443s === NAME TestGenerate/Same_key_relocated_twice 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Override_default_to_second_if_first_not_present 443s === CONT TestGenerate/Override_with_session_takes_session_override 443s === NAME TestGenerate/Override_default_to_second_if_first_not_present 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Double_key_with_range 443s === NAME TestGenerate/Override_with_session_takes_session_override 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/One_decimal_key 443s === NAME TestGenerate/Double_key_with_range 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Relocatable_key 443s === NAME TestGenerate/One_decimal_key 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Key_with_class 443s === NAME TestGenerate/Relocatable_key 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Valid_class_should_be_capitalized 443s === NAME TestGenerate/Key_with_class 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/No_key_on_system 443s === NAME TestGenerate/Valid_class_should_be_capitalized 443s dconf_test.go:103: Serializing object for golden file 443s time="2024-11-29T20:34:52Z" level=warning msg="dconf entry \"/com/ubuntu/simple/non-existent\" is not available on this machine" 443s === NAME TestGenerate/No_key_on_system 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Override_without_session 443s === CONT TestGenerate/Array_of_integers 443s === NAME TestGenerate/Override_without_session 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Long_decimal_key 443s === NAME TestGenerate/Array_of_integers 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/One_decimal_key_with_max_only 443s === NAME TestGenerate/Long_decimal_key 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/Description_starting_with_deprecated_is_ignored 443s time="2024-11-29T20:34:52Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated\" is deprecated. Ignoring" 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/One_boolean_key 443s === NAME TestGenerate/One_decimal_key_with_max_only 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/One_decimal_key_with_min_only 443s === NAME TestGenerate/One_boolean_key 443s dconf_test.go:103: Serializing object for golden file 443s === CONT TestGenerate/NaN_min 443s === CONT TestGenerate/Unsupported_key_type 443s === NAME TestGenerate/One_decimal_key_with_min_only 443s dconf_test.go:103: Serializing object for golden file 443s --- PASS: TestGenerate (0.00s) 443s --- PASS: TestGenerate/Invalid_min (0.00s) 443s --- PASS: TestGenerate/Invalid_schema_files (0.00s) 443s --- PASS: TestGenerate/Invalid_override_files_are_skipped (0.00s) 443s --- PASS: TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored (0.00s) 443s --- PASS: TestGenerate/Array_of_strings (0.00s) 443s --- PASS: TestGenerate/Override_takes_first_session (0.00s) 443s --- PASS: TestGenerate/Overridden_by_multiple_files,_last_wins (0.00s) 443s --- PASS: TestGenerate/Long_decimal_key_with_range_min_gt_0 (0.00s) 443s --- PASS: TestGenerate/One_decimal_key_with_range (0.00s) 443s --- PASS: TestGenerate/Invalid_class (0.00s) 443s --- PASS: TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored (0.00s) 443s --- PASS: TestGenerate/Description_starting_with_obsolete_is_ignored (0.00s) 443s --- PASS: TestGenerate/Empty (0.00s) 443s --- PASS: TestGenerate/Enums_in_other_files_are_converted_to_choices (0.00s) 443s --- PASS: TestGenerate/Override_without_session_takes_default (0.00s) 443s --- PASS: TestGenerate/Enum_does_not_exist (0.00s) 443s --- PASS: TestGenerate/One_text_key (0.00s) 443s --- PASS: TestGenerate/Inlined_Enums_are_converted_to_choices (0.00s) 443s --- PASS: TestGenerate/Override_with_no_matching_session_defaults_to_root_override (0.00s) 443s --- PASS: TestGenerate/Choices_are_loaded (0.00s) 443s --- PASS: TestGenerate/Double_key (0.00s) 443s --- PASS: TestGenerate/Long_decimal_key_with_range_min_lt_0 (0.00s) 443s --- PASS: TestGenerate/Relocatable_key_overridden (0.00s) 443s --- PASS: TestGenerate/Same_key_relocated_twice (0.00s) 443s --- PASS: TestGenerate/Override_default_to_second_if_first_not_present (0.00s) 443s --- PASS: TestGenerate/Override_with_session_takes_session_override (0.00s) 443s --- PASS: TestGenerate/Double_key_with_range (0.00s) 443s --- PASS: TestGenerate/One_decimal_key (0.00s) 443s --- PASS: TestGenerate/Relocatable_key (0.00s) 443s --- PASS: TestGenerate/Key_with_class (0.01s) 443s --- PASS: TestGenerate/No_key_on_system (0.00s) 443s --- PASS: TestGenerate/Valid_class_should_be_capitalized (0.00s) 443s --- PASS: TestGenerate/Override_without_session (0.00s) 443s --- PASS: TestGenerate/Array_of_integers (0.00s) 443s --- PASS: TestGenerate/Long_decimal_key (0.00s) 443s --- PASS: TestGenerate/Description_starting_with_deprecated_is_ignored (0.00s) 443s --- PASS: TestGenerate/One_decimal_key_with_max_only (0.00s) 443s --- PASS: TestGenerate/One_boolean_key (0.00s) 443s --- PASS: TestGenerate/NaN_min (0.00s) 443s --- PASS: TestGenerate/Unsupported_key_type (0.00s) 443s --- PASS: TestGenerate/One_decimal_key_with_min_only (0.00s) 443s PASS 443s ok github.com/ubuntu/adsys/internal/ad/admxgen/dconf 0.029s 443s === RUN TestSSSD 443s === PAUSE TestSSSD 443s === CONT TestSSSD 443s === RUN TestSSSD/Regular_config 443s === PAUSE TestSSSD/Regular_config 443s === RUN TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 443s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 443s === RUN TestSSSD/Error_on_no_domains_field 443s === PAUSE TestSSSD/Error_on_no_domains_field 443s === RUN TestSSSD/Error_on_sssd_domain_section_missing 443s === PAUSE TestSSSD/Error_on_sssd_domain_section_missing 443s === RUN TestSSSD/Error_on_sssd_domain_empty_section 443s === PAUSE TestSSSD/Error_on_sssd_domain_empty_section 443s === RUN TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 443s === PAUSE TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 443s === RUN TestSSSD/SSSd_domain_can_not_match_ad_domain 443s === PAUSE TestSSSD/SSSd_domain_can_not_match_ad_domain 443s === RUN TestSSSD/Use_domain_from_section_if_no_ad_domain 443s === PAUSE TestSSSD/Use_domain_from_section_if_no_ad_domain 443s === RUN TestSSSD/Ignore_upper_cases_in_domain_name 443s === PAUSE TestSSSD/Ignore_upper_cases_in_domain_name 443s === RUN TestSSSD/No_sssd_conf_loads_the_default 443s === PAUSE TestSSSD/No_sssd_conf_loads_the_default 443s === RUN TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 443s === PAUSE TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 443s === RUN TestSSSD/Error_on_no_sssd_section 443s === PAUSE TestSSSD/Error_on_no_sssd_section 443s === RUN TestSSSD/Error_on_sssd_conf_does_not_exists 443s === PAUSE TestSSSD/Error_on_sssd_conf_does_not_exists 443s === RUN TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 443s === PAUSE TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 443s === RUN TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 443s === PAUSE TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 443s === RUN TestSSSD/Can_handle_special_DNS_domain_characters 443s === PAUSE TestSSSD/Can_handle_special_DNS_domain_characters 443s === RUN TestSSSD/Regular_config,_with_cache_dir 443s === PAUSE TestSSSD/Regular_config,_with_cache_dir 443s === RUN TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 443s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 443s === RUN TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 443s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 443s === RUN TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 443s === PAUSE TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 443s === RUN TestSSSD/Error_on_empty_domains_field 443s === PAUSE TestSSSD/Error_on_empty_domains_field 443s === RUN TestSSSD/Multiple_domains,_pick_first 443s === PAUSE TestSSSD/Multiple_domains,_pick_first 443s === RUN TestSSSD/Is_not_online 443s === PAUSE TestSSSD/Is_not_online 443s === RUN TestSSSD/Default_domain_suffix_is_read 443s === PAUSE TestSSSD/Default_domain_suffix_is_read 443s === CONT TestSSSD/Regular_config 443s === CONT TestSSSD/Default_domain_suffix_is_read 443s === CONT TestSSSD/Is_not_online 443s === CONT TestSSSD/Multiple_domains,_pick_first 443s === CONT TestSSSD/Error_on_empty_domains_field 443s === CONT TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 443s === CONT TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 443s === CONT TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 443s === CONT TestSSSD/Regular_config,_with_cache_dir 443s === CONT TestSSSD/Can_handle_special_DNS_domain_characters 443s === CONT TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 443s === CONT TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 443s === CONT TestSSSD/Error_on_sssd_conf_does_not_exists 443s === CONT TestSSSD/Error_on_no_sssd_section 443s === CONT TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 443s === CONT TestSSSD/No_sssd_conf_loads_the_default 443s === CONT TestSSSD/Ignore_upper_cases_in_domain_name 443s === CONT TestSSSD/Use_domain_from_section_if_no_ad_domain 443s === CONT TestSSSD/SSSd_domain_can_not_match_ad_domain 443s === CONT TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 443s === CONT TestSSSD/Error_on_sssd_domain_empty_section 443s === CONT TestSSSD/Error_on_sssd_domain_section_missing 443s === CONT TestSSSD/Error_on_no_domains_field 443s === CONT TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 443s --- PASS: TestSSSD (0.00s) 443s --- PASS: TestSSSD/Regular_config (0.00s) 443s --- PASS: TestSSSD/Default_domain_suffix_is_read (0.00s) 443s --- PASS: TestSSSD/Is_not_online (0.00s) 443s --- PASS: TestSSSD/Error_on_empty_domains_field (0.00s) 443s --- PASS: TestSSSD/Multiple_domains,_pick_first (0.00s) 443s --- PASS: TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out (0.00s) 443s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out (0.00s) 443s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided (0.00s) 443s --- PASS: TestSSSD/Regular_config,_with_cache_dir (0.00s) 443s --- PASS: TestSSSD/Ad_server_defined_in_config_does_not_need_active_server (0.00s) 443s --- PASS: TestSSSD/Can_handle_special_DNS_domain_characters (0.00s) 443s --- PASS: TestSSSD/Error_on_sssd_conf_does_not_exists (0.00s) 443s --- PASS: TestSSSD/Error_on_no_sssd_section (0.00s) 443s --- PASS: TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server (0.00s) 443s --- PASS: TestSSSD/No_sssd_conf_loads_the_default (0.00s) 443s --- PASS: TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server (0.00s) 443s --- PASS: TestSSSD/Ignore_upper_cases_in_domain_name (0.00s) 443s --- PASS: TestSSSD/Use_domain_from_section_if_no_ad_domain (0.00s) 443s --- PASS: TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter (0.00s) 443s --- PASS: TestSSSD/Error_on_sssd_domain_empty_section (0.00s) 443s --- PASS: TestSSSD/Error_on_sssd_domain_section_missing (0.00s) 443s --- PASS: TestSSSD/Error_on_no_domains_field (0.00s) 443s --- PASS: TestSSSD/SSSd_domain_can_not_match_ad_domain (0.00s) 443s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object (0.00s) 443s PASS 443s ok github.com/ubuntu/adsys/internal/ad/backends/sss 0.018s 443s === RUN TestWinbind 443s winbind_test.go:25: Running subprocess with [/tmp/go-build2456386404/b565/winbind.test -test.testlogfile=/tmp/go-build2456386404/b565/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestWinbind] 443s === RUN TestWinbind 443s === RUN TestWinbind/Lookup_with_overridden_ad_server 443s === RUN TestWinbind/Error_when_looking_up_domain 443s === RUN TestWinbind/Error_when_looking_up_DC_name 443s === RUN TestWinbind/Error_when_domain_is_offline 443s === RUN TestWinbind/Lookup_with_different_hostname_is_successful 443s === RUN TestWinbind/Lookup_with_overridden_ad_domain 443s === RUN TestWinbind/Error_when_getting_online_status 443s === RUN TestWinbind/Error_when_requesting_krb5cc 443s === RUN TestWinbind/Lookup_is_successful 443s === RUN TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix 443s --- PASS: TestWinbind (0.09s) 443s --- PASS: TestWinbind/Lookup_with_overridden_ad_server (0.01s) 443s --- PASS: TestWinbind/Error_when_looking_up_domain (0.00s) 443s --- PASS: TestWinbind/Error_when_looking_up_DC_name (0.01s) 443s --- PASS: TestWinbind/Error_when_domain_is_offline (0.01s) 443s --- PASS: TestWinbind/Lookup_with_different_hostname_is_successful (0.01s) 443s --- PASS: TestWinbind/Lookup_with_overridden_ad_domain (0.01s) 443s --- PASS: TestWinbind/Error_when_getting_online_status (0.01s) 443s --- PASS: TestWinbind/Error_when_requesting_krb5cc (0.00s) 443s --- PASS: TestWinbind/Lookup_is_successful (0.01s) 443s --- PASS: TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix (0.01s) 443s PASS 443s --- PASS: TestWinbind (0.15s) 443s === RUN TestExecuteKinitCommand 443s --- PASS: TestExecuteKinitCommand (0.00s) 443s PASS 443s ok github.com/ubuntu/adsys/internal/ad/backends/winbind 0.151s 443s === RUN TestGetVersionID 443s === PAUSE TestGetVersionID 443s === CONT TestGetVersionID 443s === RUN TestGetVersionID/Read_VERSION_ID 443s === PAUSE TestGetVersionID/Read_VERSION_ID 443s === RUN TestGetVersionID/No_VERSION_ID_in_file 443s === PAUSE TestGetVersionID/No_VERSION_ID_in_file 443s === RUN TestGetVersionID/No_os-release_file 443s === PAUSE TestGetVersionID/No_os-release_file 443s === CONT TestGetVersionID/Read_VERSION_ID 443s === CONT TestGetVersionID/No_os-release_file 443s === CONT TestGetVersionID/No_VERSION_ID_in_file 443s --- PASS: TestGetVersionID (0.00s) 443s --- PASS: TestGetVersionID/Read_VERSION_ID (0.00s) 443s --- PASS: TestGetVersionID/No_os-release_file (0.00s) 443s --- PASS: TestGetVersionID/No_VERSION_ID_in_file (0.00s) 443s PASS 443s ok github.com/ubuntu/adsys/internal/ad/common 0.008s 443s === RUN TestReadPolicy 443s === PAUSE TestReadPolicy 443s === RUN TestDecodePolicy 443s === PAUSE TestDecodePolicy 443s === CONT TestReadPolicy 443s === RUN TestReadPolicy/section_not_closed 443s === PAUSE TestReadPolicy/section_not_closed 443s === RUN TestReadPolicy/one_element,_string_value 443s === PAUSE TestReadPolicy/one_element,_string_value 443s === RUN TestReadPolicy/empty_value 443s === PAUSE TestReadPolicy/empty_value 443s === RUN TestReadPolicy/key_is_not_utf16 443s === PAUSE TestReadPolicy/key_is_not_utf16 443s === RUN TestReadPolicy/memory_on_multiple_elements_dont_overlap 443s === PAUSE TestReadPolicy/memory_on_multiple_elements_dont_overlap 443s === RUN TestReadPolicy/section_separators_in_data 443s === PAUSE TestReadPolicy/section_separators_in_data 443s === RUN TestReadPolicy/invalid_header,_header_doesnt_match 443s === PAUSE TestReadPolicy/invalid_header,_header_doesnt_match 443s === RUN TestReadPolicy/no_header 443s === PAUSE TestReadPolicy/no_header 443s === RUN TestReadPolicy/value_is_not_utf16 443s === PAUSE TestReadPolicy/value_is_not_utf16 443s === RUN TestReadPolicy/exotic_return_type 443s === PAUSE TestReadPolicy/exotic_return_type 443s === RUN TestReadPolicy/two_elements 443s === PAUSE TestReadPolicy/two_elements 443s === RUN TestReadPolicy/header_only 443s === PAUSE TestReadPolicy/header_only 443s === RUN TestReadPolicy/invalid_header,_header_too_short 443s === PAUSE TestReadPolicy/invalid_header,_header_too_short 443s === RUN TestReadPolicy/invalid_header,_file_truncated 443s === PAUSE TestReadPolicy/invalid_header,_file_truncated 443s === RUN TestReadPolicy/empty_file 443s === PAUSE TestReadPolicy/empty_file 443s === RUN TestReadPolicy/missing_field 443s === PAUSE TestReadPolicy/missing_field 443s === RUN TestReadPolicy/empty_key 443s === PAUSE TestReadPolicy/empty_key 443s === RUN TestReadPolicy/one_element,_decimal_value 443s === PAUSE TestReadPolicy/one_element,_decimal_value 443s === RUN TestReadPolicy/semicolon_in_data 443s === PAUSE TestReadPolicy/semicolon_in_data 443s === CONT TestReadPolicy/section_not_closed 443s === CONT TestDecodePolicy 443s === RUN TestDecodePolicy/invalid_header,_header_doesnt_match 443s === PAUSE TestDecodePolicy/invalid_header,_header_doesnt_match 443s === RUN TestDecodePolicy/one_element,_multitext_value 443s === PAUSE TestDecodePolicy/one_element,_multitext_value 443s === RUN TestDecodePolicy/two_elements 443s === PAUSE TestDecodePolicy/two_elements 443s === RUN TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 443s === PAUSE TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 443s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 443s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 443s === RUN TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 443s === PAUSE TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 443s === RUN TestDecodePolicy/null_character_in_data 443s === PAUSE TestDecodePolicy/null_character_in_data 443s === RUN TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 443s === PAUSE TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 443s === RUN TestDecodePolicy/missing_field 443s === PAUSE TestDecodePolicy/missing_field 443s === RUN TestDecodePolicy/basic_type,_enabled 443s === PAUSE TestDecodePolicy/basic_type,_enabled 443s === RUN TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 443s === PAUSE TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 443s === RUN TestDecodePolicy/container_without_metavalues 443s === PAUSE TestDecodePolicy/container_without_metavalues 443s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 443s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 443s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 443s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 443s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 443s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 443s === RUN TestDecodePolicy/invalid_header,_header_too_short 443s === PAUSE TestDecodePolicy/invalid_header,_header_too_short 443s === RUN TestDecodePolicy/invalid_header,_file_truncated 443s === PAUSE TestDecodePolicy/invalid_header,_file_truncated 443s === RUN TestDecodePolicy/invalid_container_default_values 443s === PAUSE TestDecodePolicy/invalid_container_default_values 443s === RUN TestDecodePolicy/key_is_not_utf16 443s === PAUSE TestDecodePolicy/key_is_not_utf16 443s === RUN TestDecodePolicy/value_is_not_utf16 443s === PAUSE TestDecodePolicy/value_is_not_utf16 443s === RUN TestDecodePolicy/basic_type,_disabled 443s === PAUSE TestDecodePolicy/basic_type,_disabled 443s === RUN TestDecodePolicy/basic_type_with_strategy 443s === PAUSE TestDecodePolicy/basic_type_with_strategy 443s === RUN TestDecodePolicy/container_with_default_elements_override_empty_option_values 443s === PAUSE TestDecodePolicy/container_with_default_elements_override_empty_option_values 443s === RUN TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 443s === PAUSE TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 443s === RUN TestDecodePolicy/section_separators_in_data 443s === PAUSE TestDecodePolicy/section_separators_in_data 443s === RUN TestDecodePolicy/header_only 443s === PAUSE TestDecodePolicy/header_only 443s === RUN TestDecodePolicy/one_element,_disabled 443s === PAUSE TestDecodePolicy/one_element,_disabled 443s === RUN TestDecodePolicy/container_strategy_is_reflected_on_child 443s === PAUSE TestDecodePolicy/container_strategy_is_reflected_on_child 443s === RUN TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 443s === PAUSE TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 443s === RUN TestDecodePolicy/invalid_decimal_value 443s === PAUSE TestDecodePolicy/invalid_decimal_value 443s === RUN TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 443s === PAUSE TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 443s === RUN TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 443s === PAUSE TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 443s === RUN TestDecodePolicy/disabled_container_disables_its_option_values 443s === PAUSE TestDecodePolicy/disabled_container_disables_its_option_values 443s === RUN TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 443s === PAUSE TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 443s === RUN TestDecodePolicy/container_with_meta_elements_and_value_on_options 443s === PAUSE TestDecodePolicy/container_with_meta_elements_and_value_on_options 443s === RUN TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 443s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 443s === RUN TestDecodePolicy/one_element,_decimal_value 443s === PAUSE TestDecodePolicy/one_element,_decimal_value 443s === RUN TestDecodePolicy/disabled_container_with_disabled_option_values 443s === PAUSE TestDecodePolicy/disabled_container_with_disabled_option_values 443s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 443s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 443s === RUN TestDecodePolicy/no_header 443s === PAUSE TestDecodePolicy/no_header 443s === RUN TestDecodePolicy/empty_file 443s === PAUSE TestDecodePolicy/empty_file 443s === RUN TestDecodePolicy/section_not_closed 443s === PAUSE TestDecodePolicy/section_not_closed 443s === RUN TestDecodePolicy/empty_key 443s === PAUSE TestDecodePolicy/empty_key 443s === RUN TestDecodePolicy/one_element,_string_value 443s === PAUSE TestDecodePolicy/one_element,_string_value 443s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 443s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 443s === RUN TestDecodePolicy/semicolon_in_data 443s === PAUSE TestDecodePolicy/semicolon_in_data 443s === RUN TestDecodePolicy/empty_data 443s === PAUSE TestDecodePolicy/empty_data 443s === RUN TestDecodePolicy/empty_value 443s === PAUSE TestDecodePolicy/empty_value 443s === RUN TestDecodePolicy/exotic_return_type 443s === PAUSE TestDecodePolicy/exotic_return_type 443s === CONT TestDecodePolicy/invalid_header,_header_doesnt_match 443s === CONT TestReadPolicy/semicolon_in_data 443s === CONT TestReadPolicy/one_element,_decimal_value 443s === CONT TestReadPolicy/empty_key 443s === CONT TestReadPolicy/missing_field 443s === CONT TestReadPolicy/empty_file 443s === CONT TestReadPolicy/invalid_header,_file_truncated 443s === CONT TestReadPolicy/invalid_header,_header_too_short 443s === CONT TestReadPolicy/header_only 443s === CONT TestReadPolicy/two_elements 443s === CONT TestReadPolicy/exotic_return_type 443s === CONT TestReadPolicy/value_is_not_utf16 443s === CONT TestReadPolicy/no_header 443s === CONT TestReadPolicy/invalid_header,_header_doesnt_match 443s === CONT TestReadPolicy/section_separators_in_data 443s === CONT TestReadPolicy/memory_on_multiple_elements_dont_overlap 443s === CONT TestReadPolicy/key_is_not_utf16 443s === CONT TestReadPolicy/empty_value 443s === CONT TestReadPolicy/one_element,_string_value 443s --- PASS: TestReadPolicy (0.00s) 443s --- PASS: TestReadPolicy/section_not_closed (0.00s) 443s --- PASS: TestReadPolicy/semicolon_in_data (0.00s) 443s --- PASS: TestReadPolicy/one_element,_decimal_value (0.00s) 443s --- PASS: TestReadPolicy/empty_key (0.00s) 443s --- PASS: TestReadPolicy/missing_field (0.00s) 443s --- PASS: TestReadPolicy/empty_file (0.00s) 443s --- PASS: TestReadPolicy/invalid_header,_file_truncated (0.00s) 443s --- PASS: TestReadPolicy/invalid_header,_header_too_short (0.00s) 443s --- PASS: TestReadPolicy/header_only (0.00s) 443s --- PASS: TestReadPolicy/two_elements (0.00s) 443s --- PASS: TestReadPolicy/exotic_return_type (0.00s) 443s --- PASS: TestReadPolicy/value_is_not_utf16 (0.00s) 443s --- PASS: TestReadPolicy/no_header (0.00s) 443s --- PASS: TestReadPolicy/invalid_header,_header_doesnt_match (0.00s) 443s --- PASS: TestReadPolicy/section_separators_in_data (0.00s) 443s --- PASS: TestReadPolicy/memory_on_multiple_elements_dont_overlap (0.00s) 443s --- PASS: TestReadPolicy/key_is_not_utf16 (0.00s) 443s --- PASS: TestReadPolicy/empty_value (0.00s) 443s --- PASS: TestReadPolicy/one_element,_string_value (0.00s) 443s === CONT TestDecodePolicy/exotic_return_type 443s === CONT TestDecodePolicy/empty_value 443s === CONT TestDecodePolicy/empty_data 443s === CONT TestDecodePolicy/semicolon_in_data 443s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 443s === CONT TestDecodePolicy/one_element,_string_value 443s === CONT TestDecodePolicy/empty_key 443s === CONT TestDecodePolicy/section_not_closed 443s === CONT TestDecodePolicy/empty_file 443s === CONT TestDecodePolicy/no_header 443s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 443s === CONT TestDecodePolicy/disabled_container_with_disabled_option_values 443s === CONT TestDecodePolicy/one_element,_decimal_value 443s === CONT TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 443s === CONT TestDecodePolicy/container_with_meta_elements_and_value_on_options 443s === CONT TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 443s === CONT TestDecodePolicy/disabled_container_disables_its_option_values 443s === CONT TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 443s === CONT TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 443s === CONT TestDecodePolicy/invalid_decimal_value 443s === CONT TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 443s === CONT TestDecodePolicy/container_strategy_is_reflected_on_child 443s === CONT TestDecodePolicy/one_element,_disabled 443s === CONT TestDecodePolicy/header_only 443s === CONT TestDecodePolicy/section_separators_in_data 443s === CONT TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 443s === CONT TestDecodePolicy/container_with_default_elements_override_empty_option_values 443s === CONT TestDecodePolicy/basic_type_with_strategy 443s === CONT TestDecodePolicy/basic_type,_disabled 443s === CONT TestDecodePolicy/value_is_not_utf16 443s === CONT TestDecodePolicy/key_is_not_utf16 443s === CONT TestDecodePolicy/invalid_container_default_values 443s === CONT TestDecodePolicy/invalid_header,_file_truncated 443s === CONT TestDecodePolicy/invalid_header,_header_too_short 443s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 443s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 443s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 443s === CONT TestDecodePolicy/basic_type,_enabled 443s === CONT TestDecodePolicy/container_without_metavalues 443s === CONT TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 443s === CONT TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 443s === CONT TestDecodePolicy/missing_field 443s === CONT TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 443s === CONT TestDecodePolicy/null_character_in_data 443s === CONT TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 443s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 443s === CONT TestDecodePolicy/two_elements 443s === CONT TestDecodePolicy/one_element,_multitext_value 443s --- PASS: TestDecodePolicy (0.00s) 443s --- PASS: TestDecodePolicy/invalid_header,_header_doesnt_match (0.00s) 443s --- PASS: TestDecodePolicy/exotic_return_type (0.00s) 443s --- PASS: TestDecodePolicy/empty_value (0.00s) 443s --- PASS: TestDecodePolicy/empty_data (0.00s) 443s --- PASS: TestDecodePolicy/semicolon_in_data (0.00s) 443s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) (0.00s) 443s --- PASS: TestDecodePolicy/one_element,_string_value (0.00s) 443s --- PASS: TestDecodePolicy/empty_key (0.00s) 443s --- PASS: TestDecodePolicy/section_not_closed (0.00s) 443s --- PASS: TestDecodePolicy/empty_file (0.00s) 443s --- PASS: TestDecodePolicy/no_header (0.00s) 443s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values (0.00s) 443s --- PASS: TestDecodePolicy/disabled_container_with_disabled_option_values (0.00s) 443s --- PASS: TestDecodePolicy/one_element,_decimal_value (0.00s) 443s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none (0.00s) 443s --- PASS: TestDecodePolicy/container_with_meta_elements_and_value_on_options (0.00s) 443s --- PASS: TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker (0.00s) 443s --- PASS: TestDecodePolicy/disabled_container_disables_its_option_values (0.00s) 443s --- PASS: TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings (0.00s) 443s --- PASS: TestDecodePolicy/basic_type_with_default_value_has_value_filed_in (0.00s) 443s --- PASS: TestDecodePolicy/invalid_decimal_value (0.00s) 443s --- PASS: TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options (0.00s) 443s --- PASS: TestDecodePolicy/container_strategy_is_reflected_on_child (0.00s) 443s --- PASS: TestDecodePolicy/one_element,_disabled (0.00s) 443s --- PASS: TestDecodePolicy/header_only (0.00s) 443s --- PASS: TestDecodePolicy/section_separators_in_data (0.00s) 443s --- PASS: TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type (0.00s) 443s --- PASS: TestDecodePolicy/container_with_default_elements_override_empty_option_values (0.00s) 443s --- PASS: TestDecodePolicy/basic_type_with_strategy (0.00s) 443s --- PASS: TestDecodePolicy/basic_type,_disabled (0.00s) 443s --- PASS: TestDecodePolicy/value_is_not_utf16 (0.00s) 443s --- PASS: TestDecodePolicy/key_is_not_utf16 (0.00s) 443s --- PASS: TestDecodePolicy/invalid_container_default_values (0.00s) 443s --- PASS: TestDecodePolicy/invalid_header,_file_truncated (0.00s) 443s --- PASS: TestDecodePolicy/invalid_header,_header_too_short (0.00s) 443s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none (0.00s) 443s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined (0.00s) 443s --- PASS: TestDecodePolicy/basic_type,_enabled (0.00s) 443s --- PASS: TestDecodePolicy/container_without_metavalues (0.00s) 443s --- PASS: TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy (0.00s) 443s --- PASS: TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker (0.00s) 443s --- PASS: TestDecodePolicy/missing_field (0.00s) 443s --- PASS: TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type (0.00s) 443s --- PASS: TestDecodePolicy/null_character_in_data (0.00s) 443s --- PASS: TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker (0.00s) 443s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values (0.00s) 443s --- PASS: TestDecodePolicy/two_elements (0.00s) 443s --- PASS: TestDecodePolicy/one_element,_multitext_value (0.00s) 443s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values (0.00s) 443s === RUN FuzzDecodePolicy 443s === RUN FuzzDecodePolicy/seed#0 443s === RUN FuzzDecodePolicy/seed#1 443s === RUN FuzzDecodePolicy/seed#2 443s === RUN FuzzDecodePolicy/seed#3 443s === RUN FuzzDecodePolicy/seed#4 443s === RUN FuzzDecodePolicy/seed#5 443s === RUN FuzzDecodePolicy/seed#6 443s === RUN FuzzDecodePolicy/seed#7 443s === RUN FuzzDecodePolicy/seed#8 443s === RUN FuzzDecodePolicy/seed#9 443s === RUN FuzzDecodePolicy/seed#10 443s === RUN FuzzDecodePolicy/seed#11 443s === RUN FuzzDecodePolicy/seed#12 443s === RUN FuzzDecodePolicy/seed#13 443s === RUN FuzzDecodePolicy/seed#14 443s === RUN FuzzDecodePolicy/seed#15 443s === RUN FuzzDecodePolicy/seed#16 443s === RUN FuzzDecodePolicy/seed#17 443s === RUN FuzzDecodePolicy/seed#18 443s === RUN FuzzDecodePolicy/seed#19 443s === RUN FuzzDecodePolicy/seed#20 443s === RUN FuzzDecodePolicy/seed#21 443s === RUN FuzzDecodePolicy/seed#22 443s === RUN FuzzDecodePolicy/seed#23 443s === RUN FuzzDecodePolicy/seed#24 443s === RUN FuzzDecodePolicy/seed#25 443s === RUN FuzzDecodePolicy/seed#26 443s === RUN FuzzDecodePolicy/seed#27 443s === RUN FuzzDecodePolicy/seed#28 443s === RUN FuzzDecodePolicy/seed#29 443s === RUN FuzzDecodePolicy/seed#30 443s === RUN FuzzDecodePolicy/seed#31 443s === RUN FuzzDecodePolicy/seed#32 443s === RUN FuzzDecodePolicy/seed#33 443s === RUN FuzzDecodePolicy/seed#34 443s === RUN FuzzDecodePolicy/seed#35 443s === RUN FuzzDecodePolicy/seed#36 443s === RUN FuzzDecodePolicy/seed#37 443s === RUN FuzzDecodePolicy/seed#38 443s === RUN FuzzDecodePolicy/seed#39 443s === RUN FuzzDecodePolicy/seed#40 443s === RUN FuzzDecodePolicy/seed#41 443s === RUN FuzzDecodePolicy/seed#42 443s === RUN FuzzDecodePolicy/seed#43 443s === RUN FuzzDecodePolicy/seed#44 443s === RUN FuzzDecodePolicy/seed#45 443s === RUN FuzzDecodePolicy/seed#46 443s === RUN FuzzDecodePolicy/seed#47 443s === RUN FuzzDecodePolicy/seed#48 443s === RUN FuzzDecodePolicy/seed#49 443s === RUN FuzzDecodePolicy/seed#50 443s === RUN FuzzDecodePolicy/seed#51 443s === RUN FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 443s --- PASS: FuzzDecodePolicy (0.01s) 443s --- PASS: FuzzDecodePolicy/seed#0 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#1 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#2 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#3 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#4 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#5 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#6 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#7 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#8 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#9 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#10 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#11 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#12 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#13 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#14 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#15 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#16 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#17 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#18 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#19 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#20 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#21 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#22 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#23 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#24 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#25 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#26 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#27 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#28 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#29 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#30 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#31 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#32 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#33 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#34 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#35 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#36 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#37 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#38 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#39 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#40 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#41 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#42 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#43 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#44 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#45 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#46 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#47 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#48 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#49 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#50 (0.00s) 443s --- PASS: FuzzDecodePolicy/seed#51 (0.00s) 443s --- PASS: FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 (0.00s) 443s PASS 443s ok github.com/ubuntu/adsys/internal/ad/registry 0.019s 443s === RUN TestNew 443s === PAUSE TestNew 443s === CONT TestNew 443s === RUN TestNew/Adsys_directory_can_already_exists 443s === PAUSE TestNew/Adsys_directory_can_already_exists 443s === RUN TestNew/Unknown_backend_defaults_to_sssd 443s === PAUSE TestNew/Unknown_backend_defaults_to_sssd 443s === RUN TestNew/Select_sssd_backend_explicitly 443s === PAUSE TestNew/Select_sssd_backend_explicitly 443s === RUN TestNew/Error_on_failure_to_create_run_directory 443s === PAUSE TestNew/Error_on_failure_to_create_run_directory 443s === RUN TestNew/Error_on_nonexistent_sssd.conf 443s === PAUSE TestNew/Error_on_nonexistent_sssd.conf 443s === RUN TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 443s === PAUSE TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 443s === RUN TestNew/Error_on_failure_to_create_cache_directory 443s === PAUSE TestNew/Error_on_failure_to_create_cache_directory 443s === RUN TestNew/Error_on_ad.New_prevents_adsysservice_creation 443s === PAUSE TestNew/Error_on_ad.New_prevents_adsysservice_creation 443s === RUN TestNew/Select_winbind_backend_explicitly 443s === PAUSE TestNew/Select_winbind_backend_explicitly 443s === CONT TestNew/Adsys_directory_can_already_exists 443s === CONT TestNew/Select_winbind_backend_explicitly 443s time="2024-11-29T20:34:56Z" level=warning msg="could not get online status for domain \"example.com\": status code 6" 443s === CONT TestNew/Error_on_ad.New_prevents_adsysservice_creation 443s === CONT TestNew/Error_on_failure_to_create_cache_directory 443s === CONT TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 443s === CONT TestNew/Error_on_nonexistent_sssd.conf 443s === CONT TestNew/Error_on_failure_to_create_run_directory 443s === CONT TestNew/Select_sssd_backend_explicitly 443s === CONT TestNew/Unknown_backend_defaults_to_sssd 443s time="2024-11-29T20:34:56Z" level=warning msg="Unknown configured backend \"unknown-backend\". Defaulting to sssd." 443s --- PASS: TestNew (0.00s) 443s --- PASS: TestNew/Select_winbind_backend_explicitly (0.00s) 443s --- PASS: TestNew/Adsys_directory_can_already_exists (0.00s) 443s --- PASS: TestNew/Error_on_failure_to_create_cache_directory (0.00s) 443s --- PASS: TestNew/Error_on_ad.New_prevents_adsysservice_creation (0.01s) 443s --- PASS: TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run (0.01s) 443s --- PASS: TestNew/Error_on_failure_to_create_run_directory (0.00s) 443s --- PASS: TestNew/Error_on_nonexistent_sssd.conf (0.00s) 443s --- PASS: TestNew/Select_sssd_backend_explicitly (0.02s) 443s --- PASS: TestNew/Unknown_backend_defaults_to_sssd (0.02s) 443s PASS 443s ok github.com/ubuntu/adsys/internal/adsysservice 0.067s 443s === RUN TestIsAllowed 443s === PAUSE TestIsAllowed 443s === RUN TestPeerCredsInfoAuthType 443s === PAUSE TestPeerCredsInfoAuthType 443s === RUN TestServerPeerCredsHandshake 443s === PAUSE TestServerPeerCredsHandshake 443s === RUN TestServerPeerCredsInvalidSocket 443s === PAUSE TestServerPeerCredsInvalidSocket 443s === RUN TestIsAllowedFromContext 443s === PAUSE TestIsAllowedFromContext 443s === RUN TestIsAllowedFromContextWithoutPeer 443s === PAUSE TestIsAllowedFromContextWithoutPeer 443s === RUN TestIsAllowedFromContextWithInvalidPeerCreds 443s === PAUSE TestIsAllowedFromContextWithInvalidPeerCreds 443s === RUN TestIsAllowedFromContextWithoutUserKey 443s === PAUSE TestIsAllowedFromContextWithoutUserKey 443s === CONT TestIsAllowed 443s === CONT TestIsAllowedFromContextWithoutUserKey 443s --- PASS: TestIsAllowedFromContextWithoutUserKey (0.00s) 443s === CONT TestIsAllowedFromContextWithInvalidPeerCreds 443s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 443s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 443s === RUN TestIsAllowed/Root_is_always_authorized 443s === PAUSE TestIsAllowed/Root_is_always_authorized 443s === RUN TestIsAllowed/Process_doesn't_exists 443s === PAUSE TestIsAllowed/Process_doesn't_exists 443s === RUN TestIsAllowed/Invalid_process_stat_file:_missing_) 443s === PAUSE TestIsAllowed/Invalid_process_stat_file:_missing_) 443s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 443s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 443s === RUN TestIsAllowed/Polkit_dbus_call_errors_out 443s === PAUSE TestIsAllowed/Polkit_dbus_call_errors_out 443s === RUN TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 443s === PAUSE TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 443s === RUN TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 443s === PAUSE TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 443s === RUN TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 443s === PAUSE TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 443s === RUN TestIsAllowed/Valid_process_and_ACK 443s === PAUSE TestIsAllowed/Valid_process_and_ACK 443s === RUN TestIsAllowed/Valid_process_and_NACK 443s === PAUSE TestIsAllowed/Valid_process_and_NACK 443s === RUN TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 443s === PAUSE TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 443s === CONT TestIsAllowedFromContextWithoutPeer 443s --- PASS: TestIsAllowedFromContextWithInvalidPeerCreds (0.00s) 443s === CONT TestIsAllowedFromContext 443s --- PASS: TestIsAllowedFromContextWithoutPeer (0.00s) 443s === CONT TestServerPeerCredsInvalidSocket 443s --- PASS: TestServerPeerCredsInvalidSocket (0.00s) 443s === CONT TestServerPeerCredsHandshake 443s --- PASS: TestServerPeerCredsHandshake (0.00s) 443s === CONT TestPeerCredsInfoAuthType 443s --- PASS: TestPeerCredsInfoAuthType (0.00s) 443s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 443s === CONT TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 443s === CONT TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 443s === CONT TestIsAllowed/Valid_process_and_NACK 443s === CONT TestIsAllowed/Valid_process_and_ACK 443s === CONT TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 443s === CONT TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 443s === CONT TestIsAllowed/Invalid_process_stat_file:_missing_) 443s === CONT TestIsAllowed/Polkit_dbus_call_errors_out 443s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 443s === CONT TestIsAllowed/Process_doesn't_exists 443s === CONT TestIsAllowed/Root_is_always_authorized 443s --- PASS: TestIsAllowed (0.00s) 443s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_present (0.00s) 443s --- PASS: TestIsAllowed/ActionAlwaysAllowed_is_always_allowed (0.00s) 443s --- PASS: TestIsAllowed/Invalid_process_stat_file:_)_at_the_end (0.00s) 443s --- PASS: TestIsAllowed/Valid_process_and_NACK (0.00s) 443s --- PASS: TestIsAllowed/Valid_process_and_ACK (0.00s) 443s --- PASS: TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID (0.00s) 443s --- PASS: TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID (0.00s) 443s --- PASS: TestIsAllowed/Invalid_process_stat_file:_missing_) (0.00s) 443s --- PASS: TestIsAllowed/Polkit_dbus_call_errors_out (0.00s) 443s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int (0.00s) 443s --- PASS: TestIsAllowed/Process_doesn't_exists (0.00s) 443s --- PASS: TestIsAllowed/Root_is_always_authorized (0.00s) 443s === RUN TestIsAllowedFromContext/Extract_other_user_action_from_request 443s === PAUSE TestIsAllowedFromContext/Extract_other_user_action_from_request 443s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 443s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 443s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 443s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 443s === RUN TestIsAllowedFromContext/Root_is_always_authorized 443s === PAUSE TestIsAllowedFromContext/Root_is_always_authorized 443s === RUN TestIsAllowedFromContext/Valid_process_and_ACK 443s === PAUSE TestIsAllowedFromContext/Valid_process_and_ACK 443s === RUN TestIsAllowedFromContext/Valid_process_and_NACK 443s === PAUSE TestIsAllowedFromContext/Valid_process_and_NACK 443s === RUN TestIsAllowedFromContext/Extract_current_user_action_from_request 443s === PAUSE TestIsAllowedFromContext/Extract_current_user_action_from_request 443s === CONT TestIsAllowedFromContext/Extract_other_user_action_from_request 443s === CONT TestIsAllowedFromContext/Valid_process_and_ACK 443s === CONT TestIsAllowedFromContext/Extract_current_user_action_from_request 443s === CONT TestIsAllowedFromContext/Valid_process_and_NACK 443s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 443s === CONT TestIsAllowedFromContext/Root_is_always_authorized 443s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 443s --- PASS: TestIsAllowedFromContext (0.00s) 443s --- PASS: TestIsAllowedFromContext/Extract_other_user_action_from_request (0.00s) 443s --- PASS: TestIsAllowedFromContext/Extract_current_user_action_from_request (0.00s) 443s --- PASS: TestIsAllowedFromContext/Valid_process_and_NACK (0.00s) 443s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid (0.00s) 443s --- PASS: TestIsAllowedFromContext/Root_is_always_authorized (0.00s) 443s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error (0.00s) 443s --- PASS: TestIsAllowedFromContext/Valid_process_and_ACK (0.00s) 443s PASS 443s ok github.com/ubuntu/adsys/internal/authorizer 0.028s 444s ? github.com/ubuntu/adsys/internal/consts [no test files] 447s ? github.com/ubuntu/adsys/internal/grpc/logstreamer/test [no test files] 451s ? github.com/ubuntu/adsys/internal/policies/entry [no test files] 454s === RUN TestSetVerboseMode 454s === RUN TestSetVerboseMode/Default_level_is_warning 454s === RUN TestSetVerboseMode/1_is_for_info 454s === RUN TestSetVerboseMode/2_is_for_debug 454s === RUN TestSetVerboseMode/3_is_debug_printing_callers 454s --- PASS: TestSetVerboseMode (0.00s) 454s --- PASS: TestSetVerboseMode/Default_level_is_warning (0.00s) 454s --- PASS: TestSetVerboseMode/1_is_for_info (0.00s) 454s --- PASS: TestSetVerboseMode/2_is_for_debug (0.00s) 454s --- PASS: TestSetVerboseMode/3_is_debug_printing_callers (0.00s) 454s === RUN TestInit 454s === RUN TestInit/Load_configuration,_no_file,_no_flag,_no_env 454s === RUN TestInit/Load_configuration_with_file 454s === RUN TestInit/Empty_configuration_file_is_supported 454s === RUN TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account 454s === RUN TestInit/Configuration_flag_has_precedence_over_local_file 454s === RUN TestInit/Configuration_flag,_not_in_config_dir 454s === RUN TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand 454s === RUN TestInit/Environment_is_supported 454s === RUN TestInit/Configuration_changed_directly 454s === RUN TestInit/Error_on_callback_returning_error_on_first_call 454s === RUN TestInit/Load_configuration_from_executable_dir 454s === RUN TestInit/No_config_flag_set_before_Init_is_call_is_ignored 454s === RUN TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand 454s === RUN TestInit/Env_has_precedence_over_configuration 454s === RUN TestInit/Error_on_invalid_configuration_file 454s === RUN TestInit/Error_on_config_flag_points_to_unexisting_path 454s === RUN TestInit/Flag_is_supported 454s === RUN TestInit/Configuration_file_overwritten 454s === RUN TestInit/Callback_in_error_on_refresh_only_prints_warning 454s time="2024-11-29T20:35:08Z" level=warning msg="Error while refreshing configuration: Error from callback" 454s === RUN TestInit/Flag_has_precedence_over_env 454s === RUN TestInit/Error_on_no_verbose_flag_set_before_Init_is_call 454s --- PASS: TestInit (10.22s) 454s --- PASS: TestInit/Load_configuration,_no_file,_no_flag,_no_env (0.08s) 454s --- PASS: TestInit/Load_configuration_with_file (0.00s) 454s --- PASS: TestInit/Empty_configuration_file_is_supported (0.00s) 454s --- PASS: TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account (4.01s) 454s --- PASS: TestInit/Configuration_flag_has_precedence_over_local_file (0.02s) 454s --- PASS: TestInit/Configuration_flag,_not_in_config_dir (0.01s) 454s --- PASS: TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand (0.01s) 454s --- PASS: TestInit/Environment_is_supported (0.00s) 454s --- PASS: TestInit/Configuration_changed_directly (2.03s) 454s --- PASS: TestInit/Error_on_callback_returning_error_on_first_call (0.00s) 454s --- PASS: TestInit/Load_configuration_from_executable_dir (0.00s) 454s --- PASS: TestInit/No_config_flag_set_before_Init_is_call_is_ignored (0.00s) 454s --- PASS: TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand (0.00s) 454s --- PASS: TestInit/Env_has_precedence_over_configuration (0.00s) 454s --- PASS: TestInit/Error_on_invalid_configuration_file (0.00s) 454s --- PASS: TestInit/Error_on_config_flag_points_to_unexisting_path (0.00s) 454s --- PASS: TestInit/Flag_is_supported (0.00s) 454s --- PASS: TestInit/Configuration_file_overwritten (2.02s) 454s --- PASS: TestInit/Callback_in_error_on_refresh_only_prints_warning (2.02s) 454s --- PASS: TestInit/Flag_has_precedence_over_env (0.00s) 454s --- PASS: TestInit/Error_on_no_verbose_flag_set_before_Init_is_call (0.00s) 454s === RUN TestLoadConfig 454s === PAUSE TestLoadConfig 454s === CONT TestLoadConfig 454s === RUN TestLoadConfig/Empty_configuration_is_supported 454s === PAUSE TestLoadConfig/Empty_configuration_is_supported 454s === RUN TestLoadConfig/Load_configuration_deserialize_its 454s === PAUSE TestLoadConfig/Load_configuration_deserialize_its 454s === CONT TestLoadConfig/Empty_configuration_is_supported 454s === CONT TestLoadConfig/Load_configuration_deserialize_its 454s --- PASS: TestLoadConfig (0.00s) 454s --- PASS: TestLoadConfig/Empty_configuration_is_supported (0.00s) 454s --- PASS: TestLoadConfig/Load_configuration_deserialize_its (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/config 10.234s 454s === RUN TestConfigFileFromArgs 454s === PAUSE TestConfigFileFromArgs 454s === RUN TestDirsFromConfigFile 454s === PAUSE TestDirsFromConfigFile 454s === RUN TestWriteConfig 454s === RUN TestWriteConfig/Error_on_empty_dirs 454s === RUN TestWriteConfig/With_relative_config_path 454s === RUN TestWriteConfig/With_nested_config_path 454s === RUN TestWriteConfig/Error_on_absent_dirs 454s --- PASS: TestWriteConfig (0.00s) 454s --- PASS: TestWriteConfig/Error_on_empty_dirs (0.00s) 454s --- PASS: TestWriteConfig/With_relative_config_path (0.00s) 454s --- PASS: TestWriteConfig/With_nested_config_path (0.00s) 454s --- PASS: TestWriteConfig/Error_on_absent_dirs (0.00s) 454s === CONT TestConfigFileFromArgs 454s === RUN TestConfigFileFromArgs/Short_config_argument 454s === CONT TestDirsFromConfigFile 454s === RUN TestDirsFromConfigFile/Config_dirs_is_not_an_array 454s === PAUSE TestDirsFromConfigFile/Config_dirs_is_not_an_array 454s === RUN TestDirsFromConfigFile/Config_dirs_is_an_array 454s === PAUSE TestDirsFromConfigFile/Config_dirs_is_an_array 454s === RUN TestDirsFromConfigFile/No_config_file 454s === PAUSE TestDirsFromConfigFile/No_config_file 454s === RUN TestDirsFromConfigFile/Empty_config_file 454s === PAUSE TestConfigFileFromArgs/Short_config_argument 454s === RUN TestConfigFileFromArgs/Short_config_argument_with_quotes 454s === PAUSE TestDirsFromConfigFile/Empty_config_file 454s === PAUSE TestConfigFileFromArgs/Short_config_argument_with_quotes 454s === RUN TestDirsFromConfigFile/No_dirs_in_config_file 454s === RUN TestConfigFileFromArgs/Error_on_empty_args 454s === PAUSE TestConfigFileFromArgs/Error_on_empty_args 454s === RUN TestConfigFileFromArgs/Error_on_no_config_argument 454s === PAUSE TestDirsFromConfigFile/No_dirs_in_config_file 454s === CONT TestDirsFromConfigFile/Config_dirs_is_not_an_array 454s === PAUSE TestConfigFileFromArgs/Error_on_no_config_argument 454s === RUN TestConfigFileFromArgs/Error_on_config_argument_with_no_value 454s === PAUSE TestConfigFileFromArgs/Error_on_config_argument_with_no_value 454s === CONT TestConfigFileFromArgs/Short_config_argument 454s === CONT TestConfigFileFromArgs/Error_on_config_argument_with_no_value 454s === CONT TestConfigFileFromArgs/Error_on_no_config_argument 454s === CONT TestDirsFromConfigFile/No_dirs_in_config_file 454s === CONT TestDirsFromConfigFile/Empty_config_file 454s === CONT TestDirsFromConfigFile/No_config_file 454s === CONT TestDirsFromConfigFile/Config_dirs_is_an_array 454s === CONT TestConfigFileFromArgs/Error_on_empty_args 454s === CONT TestConfigFileFromArgs/Short_config_argument_with_quotes 454s --- PASS: TestDirsFromConfigFile (0.00s) 454s --- PASS: TestDirsFromConfigFile/Config_dirs_is_not_an_array (0.00s) 454s --- PASS: TestDirsFromConfigFile/No_dirs_in_config_file (0.00s) 454s --- PASS: TestDirsFromConfigFile/Empty_config_file (0.00s) 454s --- PASS: TestDirsFromConfigFile/No_config_file (0.00s) 454s --- PASS: TestDirsFromConfigFile/Config_dirs_is_an_array (0.00s) 454s --- PASS: TestConfigFileFromArgs (0.00s) 454s --- PASS: TestConfigFileFromArgs/Short_config_argument (0.00s) 454s --- PASS: TestConfigFileFromArgs/Error_on_config_argument_with_no_value (0.00s) 454s --- PASS: TestConfigFileFromArgs/Error_on_no_config_argument (0.00s) 454s --- PASS: TestConfigFileFromArgs/Error_on_empty_args (0.00s) 454s --- PASS: TestConfigFileFromArgs/Short_config_argument_with_quotes (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/config/watchd 0.007s 454s === RUN TestStartStop 454s === PAUSE TestStartStop 454s === RUN TestStopBeforeServe 454s === PAUSE TestStopBeforeServe 454s === RUN TestChangeSocket 454s === PAUSE TestChangeSocket 454s === RUN TestSocketActivation 454s === PAUSE TestSocketActivation 454s === RUN TestUseSocketIgnoredWithSocketActivation 454s === PAUSE TestUseSocketIgnoredWithSocketActivation 454s === RUN TestSdNotifier 454s === PAUSE TestSdNotifier 454s === RUN TestFailingOption 454s === PAUSE TestFailingOption 454s === RUN TestCannotCreateSocket 454s === PAUSE TestCannotCreateSocket 454s === RUN TestServerStartListenTimeout 454s === PAUSE TestServerStartListenTimeout 454s === RUN TestServerDontTimeoutWithActiveRequest 454s === PAUSE TestServerDontTimeoutWithActiveRequest 454s === RUN TestServerDontTimeoutWithMultipleActiveRequests 454s === PAUSE TestServerDontTimeoutWithMultipleActiveRequests 454s === RUN TestServerChangeTimeout 454s === PAUSE TestServerChangeTimeout 454s === RUN TestServerDoubleQuit 454s === PAUSE TestServerDoubleQuit 454s === CONT TestStartStop 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestStartStop16001273/001/test.sock" 454s === CONT TestServerDoubleQuit 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestServerDoubleQuit1567882959/001/test.sock" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s --- PASS: TestServerDoubleQuit (0.01s) 454s === CONT TestServerChangeTimeout 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestServerChangeTimeout4062723427/001/test.sock" 454s --- PASS: TestStartStop (0.01s) 454s === CONT TestServerDontTimeoutWithMultipleActiveRequests 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithMultipleActiveRequests3242988575/001/test.sock" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s --- PASS: TestServerChangeTimeout (0.05s) 454s === CONT TestServerDontTimeoutWithActiveRequest 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithActiveRequest997418783/001/test.sock" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s --- PASS: TestServerDontTimeoutWithMultipleActiveRequests (0.11s) 454s === CONT TestServerStartListenTimeout 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestServerStartListenTimeout30019697/001/test.sock" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s --- PASS: TestServerStartListenTimeout (0.01s) 454s === CONT TestCannotCreateSocket 454s --- PASS: TestCannotCreateSocket (0.00s) 454s === CONT TestFailingOption 454s --- PASS: TestFailingOption (0.00s) 454s === CONT TestSdNotifier 454s === RUN TestSdNotifier/Sends_signal 454s === PAUSE TestSdNotifier/Sends_signal 454s === RUN TestSdNotifier/Doesn't_fail_when_not_under_systemd 454s === PAUSE TestSdNotifier/Doesn't_fail_when_not_under_systemd 454s === RUN TestSdNotifier/Error_when_notifier_fails 454s === PAUSE TestSdNotifier/Error_when_notifier_fails 454s === CONT TestUseSocketIgnoredWithSocketActivation 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestUseSocketIgnoredWithSocketActivation2260024794/001/socket" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s --- PASS: TestUseSocketIgnoredWithSocketActivation (0.02s) 454s === CONT TestSocketActivation 454s === RUN TestSocketActivation/Error_when_provided_with_many_sockets 454s === PAUSE TestSocketActivation/Error_when_provided_with_many_sockets 454s === RUN TestSocketActivation/Error_when_Listeners()_fails 454s === PAUSE TestSocketActivation/Error_when_Listeners()_fails 454s === RUN TestSocketActivation/Success_with_one_socket 454s === PAUSE TestSocketActivation/Success_with_one_socket 454s === CONT TestChangeSocket 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestChangeSocket1231041233/001/test.sock" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestChangeSocket1231041233/001/test2.sock" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s --- PASS: TestServerDontTimeoutWithActiveRequest (0.11s) 454s === CONT TestStopBeforeServe 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s --- PASS: TestStopBeforeServe (0.00s) 454s === CONT TestSdNotifier/Sends_signal 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestSdNotifierSends_signal3344071000/001/socket" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s --- PASS: TestChangeSocket (0.02s) 454s === CONT TestSdNotifier/Error_when_notifier_fails 454s === CONT TestSdNotifier/Doesn't_fail_when_not_under_systemd 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestSdNotifierDoesnt_fail_when_not_under_systemd3284625720/001/socket" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s === CONT TestSocketActivation/Error_when_provided_with_many_sockets 454s === CONT TestSocketActivation/Success_with_one_socket 454s time="2024-11-29T20:34:58Z" level=info msg="Serving on /tmp/TestSocketActivationSuccess_with_one_socket3391071995/001/sock1" 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s --- PASS: TestSdNotifier (0.00s) 454s --- PASS: TestSdNotifier/Error_when_notifier_fails (0.00s) 454s --- PASS: TestSdNotifier/Sends_signal (0.01s) 454s --- PASS: TestSdNotifier/Doesn't_fail_when_not_under_systemd (0.01s) 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s === CONT TestSocketActivation/Error_when_Listeners()_fails 454s time="2024-11-29T20:34:58Z" level=info msg="Stopping daemon requested." 454s time="2024-11-29T20:34:58Z" level=info msg="Wait for active requests to close." 454s --- PASS: TestSocketActivation (0.00s) 454s --- PASS: TestSocketActivation/Error_when_provided_with_many_sockets (0.00s) 454s --- PASS: TestSocketActivation/Error_when_Listeners()_fails (0.00s) 454s --- PASS: TestSocketActivation/Success_with_one_socket (0.01s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/daemon 0.202s 454s === RUN TestCleanDirectory 454s === PAUSE TestCleanDirectory 454s === RUN TestCleanDirectoryNoDirectoryExists 454s === PAUSE TestCleanDirectoryNoDirectoryExists 454s === RUN TestCleanDirectoryCantRemoveDirectory 454s === PAUSE TestCleanDirectoryCantRemoveDirectory 454s === RUN TestInstallOnlyMode 454s --- PASS: TestInstallOnlyMode (0.00s) 454s === RUN TestDestDirectory 454s --- PASS: TestDestDirectory (0.00s) 454s === CONT TestCleanDirectory 454s === CONT TestCleanDirectoryCantRemoveDirectory 454s --- PASS: TestCleanDirectoryCantRemoveDirectory (0.00s) 454s === CONT TestCleanDirectoryNoDirectoryExists 454s --- PASS: TestCleanDirectoryNoDirectoryExists (0.00s) 454s --- PASS: TestCleanDirectory (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/generators 0.006s 454s === RUN TestNoNotification 454s === PAUSE TestNoNotification 454s === RUN TestNewConnectionNotification 454s === PAUSE TestNewConnectionNotification 454s === RUN TestDoneConnectionNotification 454s === PAUSE TestDoneConnectionNotification 454s === RUN TestErrorFromHandlerReturned 454s === PAUSE TestErrorFromHandlerReturned 454s === RUN TestErrorOnNilStream 454s === PAUSE TestErrorOnNilStream 454s === CONT TestNoNotification 454s === CONT TestErrorFromHandlerReturned 454s --- PASS: TestNoNotification (0.00s) 454s --- PASS: TestErrorFromHandlerReturned (0.00s) 454s === CONT TestDoneConnectionNotification 454s === CONT TestNewConnectionNotification 454s --- PASS: TestDoneConnectionNotification (0.00s) 454s === CONT TestErrorOnNilStream 454s --- PASS: TestErrorOnNilStream (0.00s) 454s --- PASS: TestNewConnectionNotification (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/grpc/connectionnotify 0.004s 454s === RUN TestActiveConnection 454s === PAUSE TestActiveConnection 454s === RUN TestTimeoutOnInactiveConnection 454s === PAUSE TestTimeoutOnInactiveConnection 454s === RUN TestCancelOnClientSide 454s === PAUSE TestCancelOnClientSide 454s === RUN TestClientInterceptorFailed 454s === PAUSE TestClientInterceptorFailed 454s === RUN TestRecvMessageError 454s === PAUSE TestRecvMessageError 454s === CONT TestActiveConnection 454s === CONT TestRecvMessageError 454s --- PASS: TestRecvMessageError (0.00s) 454s === CONT TestClientInterceptorFailed 454s --- PASS: TestClientInterceptorFailed (0.00s) 454s === CONT TestCancelOnClientSide 454s --- PASS: TestCancelOnClientSide (0.00s) 454s === CONT TestTimeoutOnInactiveConnection 454s --- PASS: TestTimeoutOnInactiveConnection (0.05s) 454s --- PASS: TestActiveConnection (0.15s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/grpc/contextidler 0.155s 454s === RUN TestFormat 454s === PAUSE TestFormat 454s === CONT TestFormat 454s === RUN TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 454s === PAUSE TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 454s === RUN TestFormat/GRPC_Random_errors_prints_status_and_message 454s === PAUSE TestFormat/GRPC_Random_errors_prints_status_and_message 454s === RUN TestFormat/Nil_returns_nil 454s === PAUSE TestFormat/Nil_returns_nil 454s === RUN TestFormat/Non_GRPC_errors_are_returned_as_is 454s === PAUSE TestFormat/Non_GRPC_errors_are_returned_as_is 454s === RUN TestFormat/GRPC_Unavailable_errors_prints_daemon_name 454s === PAUSE TestFormat/GRPC_Unavailable_errors_prints_daemon_name 454s === RUN TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 454s === PAUSE TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 454s === CONT TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 454s === CONT TestFormat/Non_GRPC_errors_are_returned_as_is 454s === CONT TestFormat/Nil_returns_nil 454s === CONT TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 454s === CONT TestFormat/GRPC_Random_errors_prints_status_and_message 454s === CONT TestFormat/GRPC_Unavailable_errors_prints_daemon_name 454s --- PASS: TestFormat (0.00s) 454s --- PASS: TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon (0.00s) 454s --- PASS: TestFormat/Non_GRPC_errors_are_returned_as_is (0.00s) 454s --- PASS: TestFormat/Nil_returns_nil (0.00s) 454s --- PASS: TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message (0.00s) 454s --- PASS: TestFormat/GRPC_Unavailable_errors_prints_daemon_name (0.00s) 454s --- PASS: TestFormat/GRPC_Random_errors_prints_status_and_message (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/grpc/grpcerror 0.003s 454s === RUN TestStreamServer 454s === PAUSE TestStreamServer 454s === RUN TestStreamClient 454s === PAUSE TestStreamClient 454s === CONT TestStreamServer 454s --- PASS: TestStreamServer (0.00s) 454s === CONT TestStreamClient 454s --- PASS: TestStreamClient (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/grpc/interceptorschain 0.003s 454s === RUN TestChildRecvMsgAndHandlerCalled 454s === PAUSE TestChildRecvMsgAndHandlerCalled 454s === CONT TestChildRecvMsgAndHandlerCalled 454s === RUN TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 454s === PAUSE TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 454s === RUN TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 454s === PAUSE TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 454s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 454s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 454s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 454s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 454s === CONT TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 454s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 454s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 454s time="2024-11-29T20:35:00Z" level=info msg="Error sent to client: Failing handler" 454s === CONT TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 454s --- PASS: TestChildRecvMsgAndHandlerCalled (0.00s) 454s --- PASS: TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called (0.00s) 454s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out (0.00s) 454s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out (0.00s) 454s --- PASS: TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/grpc/logconnections 0.003s 454s === RUN TestRecvLogMsg 454s === PAUSE TestRecvLogMsg 454s === RUN TestAddStreamToForwardLocalLogs 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:218246]]" 454s time="2024-11-29T20:35:01Z" level=warning msg=something 454s --- PASS: TestAddStreamToForwardLocalLogs (0.00s) 454s === RUN TestAddStreamToForwardOtherStream 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:319521]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:791576]]" 454s --- PASS: TestAddStreamToForwardOtherStream (0.00s) 454s === RUN TestAddStreamToForwardAfterClientIsConnected 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:707160]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:210121]]" 454s --- PASS: TestAddStreamToForwardAfterClientIsConnected (0.00s) 454s === RUN TestAddStreamToForwardDisconnect 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:834632]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:702225]]" 454s --- PASS: TestAddStreamToForwardDisconnect (0.00s) 454s === RUN TestAddStreamToForwardTwoClients 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:039292]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:758040]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:967960]]" 454s --- PASS: TestAddStreamToForwardTwoClients (0.00s) 454s === RUN TestAddStreamToForwardWithListenerCaller 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:960477]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:150488]]" 454s --- PASS: TestAddStreamToForwardWithListenerCaller (0.00s) 454s === RUN TestAddStreamMultipleForwarders 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:760087]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:575678]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:133288]]" 454s --- PASS: TestAddStreamMultipleForwarders (0.00s) 454s === RUN TestAddStreamMultipleForwardersOneWithCaller 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:053459]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:154325]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:435709]]" 454s --- PASS: TestAddStreamMultipleForwardersOneWithCaller (0.00s) 454s === RUN TestAddStreamToForwardFailSend 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:557569]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:595814]]" 454s time="2024-11-29T20:35:01Z" level=warning msg="Couldn't send log to one or more listener: SendMsg failed" 454s --- PASS: TestAddStreamToForwardFailSend (0.00s) 454s === RUN TestRemoveAllStreams 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:952970]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:003530]]" 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:960880]]" 454s time="2024-11-29T20:35:01Z" level=warning msg="[[123456:960880]] else" 454s --- PASS: TestRemoveAllStreams (0.00s) 454s === RUN TestLogWarningOnly 454s === PAUSE TestLogWarningOnly 454s === RUN TestMultipleLogs 454s === PAUSE TestMultipleLogs 454s === RUN TestAllLogLevels 454s === PAUSE TestAllLogLevels 454s === RUN TestDebugSentToRemoteEvenIfLocalIsWarning 454s === PAUSE TestDebugSentToRemoteEvenIfLocalIsWarning 454s === RUN TestLogWarningWithLocalCaller 454s === PAUSE TestLogWarningWithLocalCaller 454s === RUN TestLogWarningWithRemoteCaller 454s === PAUSE TestLogWarningWithRemoteCaller 454s === RUN TestLogWithNoCaller 454s === PAUSE TestLogWithNoCaller 454s === RUN TestSetReportCaller 454s === RUN TestSetReportCaller/Report_caller 454s === RUN TestSetReportCaller/Disable_caller 454s --- PASS: TestSetReportCaller (0.00s) 454s --- PASS: TestSetReportCaller/Report_caller (0.00s) 454s --- PASS: TestSetReportCaller/Disable_caller (0.00s) 454s === RUN TestLogSendingFail 454s === PAUSE TestLogSendingFail 454s === RUN TestLogStreamsAreSeparated 454s === PAUSE TestLogStreamsAreSeparated 454s === RUN TestLogAddHook 454s time="2024-11-29T20:35:01Z" level=info 454s --- PASS: TestLogAddHook (0.00s) 454s === RUN TestStreamServerInterceptor 454s === PAUSE TestStreamServerInterceptor 454s === RUN TestStreamServerInterceptorSendLogsFails 454s === PAUSE TestStreamServerInterceptorSendLogsFails 454s === RUN TestStreamServerInterceptorLoggerInvalidMetadata 454s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata 454s === CONT TestRecvLogMsg 454s === RUN TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 454s === PAUSE TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 454s === RUN TestRecvLogMsg/One_message,_no_log 454s === PAUSE TestRecvLogMsg/One_message,_no_log 454s === CONT TestLogWithNoCaller 454s === RUN TestRecvLogMsg/Log_with_caller 454s === PAUSE TestRecvLogMsg/Log_with_caller 454s === RUN TestRecvLogMsg/No_caller_when_not_requested 454s === PAUSE TestRecvLogMsg/No_caller_when_not_requested 454s === RUN TestRecvLogMsg/No_caller_on_any_logs 454s === PAUSE TestRecvLogMsg/No_caller_on_any_logs 454s === RUN TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 454s === PAUSE TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 454s === RUN TestRecvLogMsg/One_log_(and_one_closing_empty_message) 454s === PAUSE TestRecvLogMsg/One_log_(and_one_closing_empty_message) 454s === RUN TestRecvLogMsg/Two_logs_with_different_debug_level 454s Failed to fire hook: hook fired 454s === PAUSE TestRecvLogMsg/Two_logs_with_different_debug_level 454s === RUN TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 454s === PAUSE TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:706540]]" 454s === RUN TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 454s === PAUSE TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 454s === CONT TestLogWarningWithRemoteCaller 454s --- PASS: TestLogWithNoCaller (0.00s) 454s === CONT TestLogWarningWithLocalCaller 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:779190]]" 454s --- PASS: TestLogWarningWithRemoteCaller (0.00s) 454s === CONT TestDebugSentToRemoteEvenIfLocalIsWarning 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:622106]]" 454s --- PASS: TestLogWarningWithLocalCaller (0.00s) 454s === CONT TestAllLogLevels 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:178581]]" 454s --- PASS: TestAllLogLevels (0.00s) 454s === CONT TestMultipleLogs 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:449389]]" 454s --- PASS: TestMultipleLogs (0.00s) 454s === CONT TestLogWarningOnly 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:914328]]" 454s --- PASS: TestLogWarningOnly (0.00s) 454s === CONT TestStreamServerInterceptor 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:135568]]" 454s --- PASS: TestStreamServerInterceptor (0.00s) 454s === CONT TestStreamServerInterceptorLoggerInvalidMetadata 454s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 454s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 454s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 454s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 454s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 454s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 454s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 454s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 454s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 454s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:980173]]" 454s --- PASS: TestDebugSentToRemoteEvenIfLocalIsWarning (0.00s) 454s === CONT TestLogStreamsAreSeparated 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:824815]]" 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:354347]]" 454s --- PASS: TestLogStreamsAreSeparated (0.00s) 454s === CONT TestLogSendingFail 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:451942]]" 454s --- PASS: TestLogSendingFail (0.00s) 454s === CONT TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 454s === CONT TestStreamServerInterceptorSendLogsFails 454s time="2024-11-29T20:35:01Z" level=warning msg="[[123456:469145]] Couldn't send initial connection log to client" 454s Failed to fire hook: hook fired 454s time="2024-11-29T20:35:01Z" level=info msg="New connection from client [[123456:469145]]" 454s --- PASS: TestStreamServerInterceptorSendLogsFails (0.00s) 454s === CONT TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 454s === CONT TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 454s === CONT TestRecvLogMsg/Two_logs_with_different_debug_level 454s === CONT TestRecvLogMsg/One_log_(and_one_closing_empty_message) 454s === CONT TestRecvLogMsg/No_caller_when_not_requested 454s === CONT TestRecvLogMsg/No_caller_on_any_logs 454s === CONT TestRecvLogMsg/Log_with_caller 454s === CONT TestRecvLogMsg/One_message,_no_log 454s === CONT TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 454s --- PASS: TestRecvLogMsg (0.00s) 454s --- PASS: TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped (0.00s) 454s --- PASS: TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved (0.00s) 454s --- PASS: TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved (0.00s) 454s --- PASS: TestRecvLogMsg/Two_logs_with_different_debug_level (0.00s) 454s --- PASS: TestRecvLogMsg/One_log_(and_one_closing_empty_message) (0.00s) 454s --- PASS: TestRecvLogMsg/No_caller_when_not_requested (0.00s) 454s --- PASS: TestRecvLogMsg/No_caller_on_any_logs (0.00s) 454s --- PASS: TestRecvLogMsg/Log_with_caller (0.00s) 454s --- PASS: TestRecvLogMsg/One_message,_no_log (0.00s) 454s --- PASS: TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) (0.00s) 454s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 454s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 454s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 454s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 454s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 454s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata (0.00s) 454s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean (0.00s) 454s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key (0.00s) 454s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent (0.00s) 454s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas (0.00s) 454s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/grpc/logstreamer 0.009s 454s === RUN TestEventLogHook 454s === RUN TestEventLogHook/warn_level 454s time="2024-11-29T20:35:01Z" level=warning msg="Warning msg" 454s time="2024-11-29T20:35:01Z" level=error msg="Error msg" 454s === RUN TestEventLogHook/info_level 454s time="2024-11-29T20:35:01Z" level=info msg="Info msg" 454s time="2024-11-29T20:35:01Z" level=warning msg="Warning msg" 454s time="2024-11-29T20:35:01Z" level=error msg="Error msg" 454s === RUN TestEventLogHook/debug_level 454s time="2024-11-29T20:35:01Z" level=debug msg="Debug msg" 454s time="2024-11-29T20:35:01Z" level=info msg="Info msg" 454s time="2024-11-29T20:35:01Z" level=warning msg="Warning msg" 454s time="2024-11-29T20:35:01Z" level=error msg="Error msg" 454s === RUN TestEventLogHook/error_level 454s time="2024-11-29T20:35:01Z" level=error msg="Error msg" 454s --- PASS: TestEventLogHook (0.00s) 454s --- PASS: TestEventLogHook/warn_level (0.00s) 454s --- PASS: TestEventLogHook/info_level (0.00s) 454s --- PASS: TestEventLogHook/debug_level (0.00s) 454s --- PASS: TestEventLogHook/error_level (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/loghooks 0.002s 454s === RUN TestFormat 454s === PAUSE TestFormat 454s === RUN TestApplyPolicies 454s === RUN TestApplyPolicies/Error_when_applying_mount_policy 454s === RUN TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended 454s time="2024-11-29T20:35:02Z" level=info msg="Unloading policies for hostname (machine: true)" 454s time="2024-11-29T20:35:02Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_rules_dont_remove_scripts_if_session_hasnt_ended2290871185/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 454s === RUN TestApplyPolicies/Error_when_applying_dconf_policy 454s === RUN TestApplyPolicies/Error_when_applying_privilege_policy 454s === RUN TestApplyPolicies/Error_when_applying_apparmor_policy 454s === RUN TestApplyPolicies/Error_when_applying_scripts_policy 454s === RUN TestApplyPolicies/Error_when_applying_proxy_policy 454s === RUN TestApplyPolicies/Succeed 454s === RUN TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended 454s time="2024-11-29T20:35:02Z" level=info msg="Applying policies for hostname (machine: true)" 454s time="2024-11-29T20:35:02Z" 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" 454s time="2024-11-29T20:35:02Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_subscription_dont_remove_scripts_if_session_hasnt_ended4068245386/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 454s === RUN TestApplyPolicies/Error_when_applying_certificate_policy 454s === RUN TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error 454s === RUN TestApplyPolicies/Second_call_with_no_rules_deletes_everything 454s time="2024-11-29T20:35:02Z" level=info msg="Unloading policies for hostname (machine: true)" 454s === RUN TestApplyPolicies/No_subscription_is_only_dconf_content 454s === RUN TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content 454s time="2024-11-29T20:35:02Z" level=info msg="Applying policies for hostname (machine: true)" 454s time="2024-11-29T20:35:02Z" 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" 454s --- PASS: TestApplyPolicies (0.10s) 454s --- PASS: TestApplyPolicies/Error_when_applying_mount_policy (0.01s) 454s --- PASS: TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended (0.01s) 454s --- PASS: TestApplyPolicies/Error_when_applying_dconf_policy (0.00s) 454s --- PASS: TestApplyPolicies/Error_when_applying_privilege_policy (0.01s) 454s --- PASS: TestApplyPolicies/Error_when_applying_apparmor_policy (0.00s) 454s --- PASS: TestApplyPolicies/Error_when_applying_scripts_policy (0.00s) 454s --- PASS: TestApplyPolicies/Error_when_applying_proxy_policy (0.01s) 454s --- PASS: TestApplyPolicies/Succeed (0.01s) 454s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended (0.01s) 454s --- PASS: TestApplyPolicies/Error_when_applying_certificate_policy (0.00s) 454s --- PASS: TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error (0.01s) 454s --- PASS: TestApplyPolicies/Second_call_with_no_rules_deletes_everything (0.01s) 454s --- PASS: TestApplyPolicies/No_subscription_is_only_dconf_content (0.00s) 454s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content (0.01s) 454s === RUN TestDumpPolicies 454s === PAUSE TestDumpPolicies 454s === RUN TestLastUpdateFor 454s === PAUSE TestLastUpdateFor 454s === RUN TestGetSubscriptionState 454s === RUN TestGetSubscriptionState/Returns_enablement_status_(enabled) 454s === RUN TestGetSubscriptionState/Returns_enablement_status_(disabled) 454s --- PASS: TestGetSubscriptionState (0.00s) 454s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(enabled) (0.00s) 454s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(disabled) (0.00s) 454s === RUN TestNew 454s === PAUSE TestNew 454s === RUN TestNewFromCache 454s === PAUSE TestNewFromCache 454s === RUN TestSave 454s === PAUSE TestSave 454s === RUN TestCachePolicies 454s === PAUSE TestCachePolicies 454s === RUN TestSaveAssetsTo 454s === PAUSE TestSaveAssetsTo 454s === RUN TestCompressAssets 454s === PAUSE TestCompressAssets 454s === RUN TestGetUniqueRules 454s === PAUSE TestGetUniqueRules 454s === CONT TestFormat 454s === RUN TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 454s === PAUSE TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 454s === RUN TestFormat/GPO_with_rules,_override_displayed 454s === PAUSE TestFormat/GPO_with_rules,_override_displayed 454s === RUN TestFormat/GPO_with_rules,_override_disabled_key 454s === PAUSE TestFormat/GPO_with_rules,_override_disabled_key 454s === RUN TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 454s === PAUSE TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 454s === RUN TestFormat/GPO_summary 454s === PAUSE TestFormat/GPO_summary 454s === RUN TestFormat/GPO_with_rules 454s === PAUSE TestFormat/GPO_with_rules 454s === RUN TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 454s === PAUSE TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 454s === RUN TestFormat/GPO_with_rules,_appending_to_existing_treated_key 454s === PAUSE TestFormat/GPO_with_rules,_appending_to_existing_treated_key 454s === RUN TestFormat/GPO_with_rules,_override_hidden 454s === PAUSE TestFormat/GPO_with_rules,_override_hidden 454s === CONT TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 454s === CONT TestGetUniqueRules 454s === RUN TestGetUniqueRules/Multiple_domains,_different_GPOs 454s === PAUSE TestGetUniqueRules/Multiple_domains,_different_GPOs 454s === RUN TestGetUniqueRules/Two_policies,_no_overrides 454s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides 454s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 454s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 454s === RUN TestGetUniqueRules/One_GPO 454s === PAUSE TestGetUniqueRules/One_GPO 454s === RUN TestGetUniqueRules/Two_policies,_with_overrides 454s === PAUSE TestGetUniqueRules/Two_policies,_with_overrides 454s === RUN TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 454s === PAUSE TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 454s === RUN TestGetUniqueRules/Order_key_ascii 454s === PAUSE TestGetUniqueRules/Order_key_ascii 454s === RUN TestGetUniqueRules/Two_policies,_with_reversed_overrides 454s === PAUSE TestGetUniqueRules/Two_policies,_with_reversed_overrides 454s === RUN TestGetUniqueRules/Disabled_value_is_overridden 454s === PAUSE TestGetUniqueRules/Disabled_value_is_overridden 454s === RUN TestGetUniqueRules/More_policies,_with_multiple_overrides 454s === PAUSE TestGetUniqueRules/More_policies,_with_multiple_overrides 454s === RUN TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 454s === PAUSE TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 454s === RUN TestGetUniqueRules/Multiple_domains,_same_GPOs 454s === PAUSE TestGetUniqueRules/Multiple_domains,_same_GPOs 454s === RUN TestGetUniqueRules/Two_policies,_no_overrides,_reversed 454s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides,_reversed 454s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO 454s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO 454s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 454s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 454s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 454s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 454s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 454s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 454s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 454s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 454s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 454s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 454s === RUN TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 454s === PAUSE TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 454s === CONT TestGetUniqueRules/Multiple_domains,_different_GPOs 454s === CONT TestCompressAssets 454s === RUN TestCompressAssets/Error_on_non_existing_directory 454s === PAUSE TestCompressAssets/Error_on_non_existing_directory 454s === RUN TestCompressAssets/No_db 454s === PAUSE TestCompressAssets/No_db 454s === RUN TestCompressAssets/Existing_db 454s === PAUSE TestCompressAssets/Existing_db 454s === RUN TestCompressAssets/Error_on_can’t_remove_existing_db 454s === PAUSE TestCompressAssets/Error_on_can’t_remove_existing_db 454s === CONT TestCompressAssets/Error_on_non_existing_directory 454s === CONT TestSaveAssetsTo 454s === RUN TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 454s === PAUSE TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 454s === RUN TestSaveAssetsTo/Error_on_empty_relSrc 454s === PAUSE TestSaveAssetsTo/Error_on_empty_relSrc 454s === RUN TestSaveAssetsTo/Error_on_no_assets 454s === PAUSE TestSaveAssetsTo/Error_on_no_assets 454s === RUN TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 454s === PAUSE TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 454s === RUN TestSaveAssetsTo/Error_on_dest_already_exists 454s === PAUSE TestSaveAssetsTo/Error_on_dest_already_exists 454s === RUN TestSaveAssetsTo/All 454s === PAUSE TestSaveAssetsTo/All 454s === RUN TestSaveAssetsTo/Sub_directory 454s === PAUSE TestSaveAssetsTo/Sub_directory 454s === RUN TestSaveAssetsTo/Sub_directory_ending_with_slash 454s === PAUSE TestSaveAssetsTo/Sub_directory_ending_with_slash 454s === RUN TestSaveAssetsTo/File 454s === PAUSE TestSaveAssetsTo/File 454s === RUN TestSaveAssetsTo/Error_on_read_only_dest 454s === PAUSE TestSaveAssetsTo/Error_on_read_only_dest 454s === RUN TestSaveAssetsTo/Error_on_can't_chown_to_user 454s === PAUSE TestSaveAssetsTo/Error_on_can't_chown_to_user 454s === RUN TestSaveAssetsTo/Chown_directories_and_files_when_requested 454s === PAUSE TestSaveAssetsTo/Chown_directories_and_files_when_requested 454s === CONT TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 454s === CONT TestCachePolicies 454s === CONT TestGetUniqueRules/More_policies,_with_multiple_overrides 454s === CONT TestSave 454s === RUN TestSave/With_assets 454s === PAUSE TestSave/With_assets 454s === RUN TestSave/Can_refresh_on_existing_read_only_asset_file 454s === PAUSE TestSave/Can_refresh_on_existing_read_only_asset_file 454s === RUN TestSave/Error_on_can’t_write_to_policies_base_dir 454s --- PASS: TestCachePolicies (0.00s) 454s === PAUSE TestSave/Error_on_can’t_write_to_policies_base_dir 454s === RUN TestSave/Destdir_does_not_exists 454s === PAUSE TestSave/Destdir_does_not_exists 454s === RUN TestSave/Error_on_can’t_write_to_dest_dir 454s === PAUSE TestSave/Error_on_can’t_write_to_dest_dir 454s === RUN TestSave/Error_on_can’t_remove_existing_assets 454s === PAUSE TestSave/Error_on_can’t_remove_existing_assets 454s === RUN TestSave/gpos_only 454s === PAUSE TestSave/gpos_only 454s === RUN TestSave/Existing_policies_cache_is_refreshed 454s === CONT TestGetUniqueRules/Disabled_value_is_overridden 454s === CONT TestGetUniqueRules/Two_policies,_with_reversed_overrides 454s === CONT TestGetUniqueRules/Order_key_ascii 454s === PAUSE TestSave/Existing_policies_cache_is_refreshed 454s === RUN TestSave/Existing_assets_cache_is_refreshed 454s === PAUSE TestSave/Existing_assets_cache_is_refreshed 454s === RUN TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 454s === PAUSE TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 454s === RUN TestSave/Save_assets_on_existing_opened_file_does_not_segfault 454s === PAUSE TestSave/Save_assets_on_existing_opened_file_does_not_segfault 454s === CONT TestNew 454s === RUN TestNew/With_assets 454s === PAUSE TestNew/With_assets 454s === RUN TestNew/No_gpos 454s === PAUSE TestNew/No_gpos 454s === RUN TestNew/Error_on_invalid_assets_db 454s === PAUSE TestNew/Error_on_invalid_assets_db 454s === RUN TestNew/Error_on_assets_db_does_not_exists 454s === PAUSE TestNew/Error_on_assets_db_does_not_exists 454s === RUN TestNew/gpos_only 454s === PAUSE TestNew/gpos_only 454s === CONT TestNewFromCache 454s === RUN TestNewFromCache/gpos_only 454s === CONT TestLastUpdateFor 454s === PAUSE TestNewFromCache/gpos_only 454s === RUN TestNewFromCache/With_assets 454s === PAUSE TestNewFromCache/With_assets 454s === RUN TestNewFromCache/Error_on_invalid_policies_cache 454s === PAUSE TestNewFromCache/Error_on_invalid_policies_cache 454s === RUN TestNewFromCache/Error_on_invalid_assets_db 454s === PAUSE TestNewFromCache/Error_on_invalid_assets_db 454s === RUN TestNewFromCache/Error_on_no_policies_cache 454s === PAUSE TestNewFromCache/Error_on_no_policies_cache 454s === CONT TestDumpPolicies 454s === RUN TestLastUpdateFor/Returns_user's_last_update_time 454s === PAUSE TestLastUpdateFor/Returns_user's_last_update_time 454s === RUN TestLastUpdateFor/Target_is_ignored_for_machine_request 454s === PAUSE TestLastUpdateFor/Target_is_ignored_for_machine_request 454s === RUN TestLastUpdateFor/Error_when_target_does_not_exist 454s === PAUSE TestLastUpdateFor/Error_when_target_does_not_exist 454s === RUN TestLastUpdateFor/Returns_machine's_last_update_time 454s === PAUSE TestLastUpdateFor/Returns_machine's_last_update_time 454s === CONT TestFormat/GPO_with_rules,_override_hidden 454s === RUN TestDumpPolicies/Multiple_GPOs 454s === PAUSE TestDumpPolicies/Multiple_GPOs 454s === CONT TestFormat/GPO_with_rules,_appending_to_existing_treated_key 454s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 454s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 454s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 454s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 454s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 454s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 454s === RUN TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 454s === PAUSE TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 454s === RUN TestDumpPolicies/One_GPO_User 454s === PAUSE TestDumpPolicies/One_GPO_User 454s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 454s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 454s === CONT TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 454s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 454s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 454s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 454s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 454s === RUN TestDumpPolicies/One_GPO_Machine 454s === PAUSE TestDumpPolicies/One_GPO_Machine 454s === RUN TestDumpPolicies/Machine_only_GPO_with_rules 454s === PAUSE TestDumpPolicies/Machine_only_GPO_with_rules 454s === RUN TestDumpPolicies/One_GPO_User_+_Machine 454s === PAUSE TestDumpPolicies/One_GPO_User_+_Machine 454s === RUN TestDumpPolicies/One_GPO_with_rules 454s === PAUSE TestDumpPolicies/One_GPO_with_rules 454s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 454s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 454s === RUN TestDumpPolicies/Same_GPO_Machine_and_User 454s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User 454s === RUN TestDumpPolicies/Error_on_missing_target_cache 454s === PAUSE TestDumpPolicies/Error_on_missing_target_cache 454s === CONT TestFormat/GPO_with_rules 454s === CONT TestFormat/GPO_summary 454s === CONT TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 454s === CONT TestFormat/GPO_with_rules,_override_displayed 454s === CONT TestFormat/GPO_with_rules,_override_disabled_key 454s --- PASS: TestFormat (0.00s) 454s --- PASS: TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules (0.00s) 454s --- PASS: TestFormat/GPO_with_rules,_override_hidden (0.00s) 454s --- PASS: TestFormat/GPO_with_rules,_appending_to_existing_treated_key (0.00s) 454s --- PASS: TestFormat/GPO_with_rules_and_overrides,_no_rules_processed (0.00s) 454s --- PASS: TestFormat/GPO_with_rules (0.00s) 454s --- PASS: TestFormat/GPO_summary (0.00s) 454s --- PASS: TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override (0.00s) 454s --- PASS: TestFormat/GPO_with_rules,_override_displayed (0.00s) 454s --- PASS: TestFormat/GPO_with_rules,_override_disabled_key (0.00s) 454s === CONT TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 454s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 454s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 454s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 454s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 454s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO 454s === CONT TestGetUniqueRules/Two_policies,_no_overrides,_reversed 454s === CONT TestGetUniqueRules/Multiple_domains,_same_GPOs 454s === CONT TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 454s === CONT TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 454s === CONT TestGetUniqueRules/Two_policies,_with_overrides 454s === CONT TestGetUniqueRules/One_GPO 454s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 454s === CONT TestGetUniqueRules/Two_policies,_no_overrides 454s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 454s --- PASS: TestGetUniqueRules (0.00s) 454s --- PASS: TestGetUniqueRules/Multiple_domains,_different_GPOs (0.00s) 454s --- PASS: TestGetUniqueRules/More_policies,_with_multiple_overrides (0.00s) 454s --- PASS: TestGetUniqueRules/Disabled_value_is_overridden (0.00s) 454s --- PASS: TestGetUniqueRules/Two_policies,_with_reversed_overrides (0.00s) 454s --- PASS: TestGetUniqueRules/Order_key_ascii (0.00s) 454s --- PASS: TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated (0.00s) 454s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second (0.00s) 454s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first (0.00s) 454s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs (0.00s) 454s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored (0.00s) 454s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO (0.00s) 454s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides,_reversed (0.00s) 454s --- PASS: TestGetUniqueRules/Multiple_domains,_same_GPOs (0.00s) 454s --- PASS: TestGetUniqueRules/Append_policy_entry,_closest_meta_wins (0.00s) 454s --- PASS: TestGetUniqueRules/Disabled_value_overrides_non_disabled_one (0.00s) 454s --- PASS: TestGetUniqueRules/Two_policies,_with_overrides (0.00s) 454s --- PASS: TestGetUniqueRules/One_GPO (0.00s) 454s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored (0.00s) 454s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides (0.00s) 454s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override (0.00s) 454s === CONT TestCompressAssets/Error_on_can’t_remove_existing_db 454s === CONT TestCompressAssets/Existing_db 454s === CONT TestCompressAssets/No_db 454s === CONT TestSaveAssetsTo/Chown_directories_and_files_when_requested 454s === CONT TestSaveAssetsTo/Error_on_can't_chown_to_user 454s === CONT TestSaveAssetsTo/Error_on_read_only_dest 454s --- PASS: TestCompressAssets (0.00s) 454s --- PASS: TestCompressAssets/Error_on_non_existing_directory (0.00s) 454s --- PASS: TestCompressAssets/Error_on_can’t_remove_existing_db (0.00s) 454s --- PASS: TestCompressAssets/No_db (0.01s) 454s --- PASS: TestCompressAssets/Existing_db (0.01s) 454s === CONT TestSaveAssetsTo/File 454s === CONT TestSaveAssetsTo/Sub_directory_ending_with_slash 454s === CONT TestSaveAssetsTo/Sub_directory 454s === CONT TestSaveAssetsTo/All 454s === CONT TestSave/With_assets 454s === CONT TestSaveAssetsTo/Error_on_dest_already_exists 454s === CONT TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 454s === CONT TestSaveAssetsTo/Error_on_no_assets 454s === CONT TestSaveAssetsTo/Error_on_empty_relSrc 454s === CONT TestNew/With_assets 454s --- PASS: TestSaveAssetsTo (0.00s) 454s --- PASS: TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache (0.00s) 454s --- PASS: TestSaveAssetsTo/Chown_directories_and_files_when_requested (0.00s) 454s --- PASS: TestSaveAssetsTo/Error_on_can't_chown_to_user (0.00s) 454s --- PASS: TestSaveAssetsTo/Error_on_read_only_dest (0.00s) 454s --- PASS: TestSaveAssetsTo/File (0.00s) 454s --- PASS: TestSaveAssetsTo/Sub_directory_ending_with_slash (0.00s) 454s --- PASS: TestSaveAssetsTo/Sub_directory (0.00s) 454s --- PASS: TestSaveAssetsTo/Error_on_dest_already_exists (0.00s) 454s --- PASS: TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest (0.00s) 454s --- PASS: TestSaveAssetsTo/Error_on_no_assets (0.00s) 454s --- PASS: TestSaveAssetsTo/Error_on_empty_relSrc (0.00s) 454s --- PASS: TestSaveAssetsTo/All (0.00s) 454s === CONT TestSave/Save_assets_on_existing_opened_file_does_not_segfault 454s === CONT TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 454s === CONT TestSave/Existing_assets_cache_is_refreshed 454s === CONT TestSave/Existing_policies_cache_is_refreshed 454s === CONT TestSave/gpos_only 454s === CONT TestSave/Error_on_can’t_remove_existing_assets 454s === CONT TestSave/Error_on_can’t_write_to_dest_dir 454s === CONT TestSave/Destdir_does_not_exists 454s === CONT TestSave/Error_on_can’t_write_to_policies_base_dir 454s === CONT TestSave/Can_refresh_on_existing_read_only_asset_file 454s === CONT TestNew/gpos_only 454s === CONT TestNew/Error_on_assets_db_does_not_exists 454s === CONT TestNew/Error_on_invalid_assets_db 454s === CONT TestNew/No_gpos 454s --- PASS: TestSave (0.00s) 454s --- PASS: TestSave/With_assets (0.00s) 454s --- PASS: TestSave/Save_assets_on_existing_opened_file_does_not_segfault (0.00s) 454s --- PASS: TestSave/Existing_cache_with_assets,_new_cache_with_no_assets (0.00s) 454s --- PASS: TestSave/Existing_assets_cache_is_refreshed (0.00s) 454s --- PASS: TestSave/gpos_only (0.00s) 454s --- PASS: TestSave/Existing_policies_cache_is_refreshed (0.00s) 454s --- PASS: TestSave/Error_on_can’t_write_to_dest_dir (0.00s) 454s --- PASS: TestSave/Error_on_can’t_remove_existing_assets (0.00s) 454s --- PASS: TestSave/Destdir_does_not_exists (0.00s) 454s --- PASS: TestSave/Error_on_can’t_write_to_policies_base_dir (0.00s) 454s --- PASS: TestSave/Can_refresh_on_existing_read_only_asset_file (0.00s) 454s === CONT TestNewFromCache/gpos_only 454s --- PASS: TestNew (0.00s) 454s --- PASS: TestNew/With_assets (0.00s) 454s --- PASS: TestNew/gpos_only (0.00s) 454s --- PASS: TestNew/Error_on_assets_db_does_not_exists (0.00s) 454s --- PASS: TestNew/Error_on_invalid_assets_db (0.00s) 454s --- PASS: TestNew/No_gpos (0.00s) 454s === CONT TestNewFromCache/Error_on_no_policies_cache 454s === CONT TestNewFromCache/Error_on_invalid_assets_db 454s === CONT TestNewFromCache/Error_on_invalid_policies_cache 454s === CONT TestNewFromCache/With_assets 454s === CONT TestLastUpdateFor/Returns_user's_last_update_time 454s --- PASS: TestNewFromCache (0.00s) 454s --- PASS: TestNewFromCache/Error_on_no_policies_cache (0.00s) 454s --- PASS: TestNewFromCache/Error_on_invalid_assets_db (0.00s) 454s --- PASS: TestNewFromCache/Error_on_invalid_policies_cache (0.00s) 454s --- PASS: TestNewFromCache/gpos_only (0.00s) 454s --- PASS: TestNewFromCache/With_assets (0.00s) 454s === CONT TestLastUpdateFor/Returns_machine's_last_update_time 454s time="2024-11-29T20:35:02Z" level=info msg="Get policies last update time \"user\" (machine: false)" 454s === CONT TestLastUpdateFor/Error_when_target_does_not_exist 454s time="2024-11-29T20:35:02Z" level=info msg="Get policies last update time \"autopkgtest\" (machine: true)" 454s === CONT TestLastUpdateFor/Target_is_ignored_for_machine_request 454s time="2024-11-29T20:35:02Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: false)" 454s === CONT TestDumpPolicies/Multiple_GPOs 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/One_GPO_Machine 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for autopkgtest" 454s === CONT TestDumpPolicies/Error_on_missing_target_cache 454s time="2024-11-29T20:35:02Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: true)" 454s --- PASS: TestLastUpdateFor (0.00s) 454s --- PASS: TestLastUpdateFor/Returns_user's_last_update_time (0.10s) 454s --- PASS: TestLastUpdateFor/Returns_machine's_last_update_time (0.10s) 454s --- PASS: TestLastUpdateFor/Error_when_target_does_not_exist (0.10s) 454s --- PASS: TestLastUpdateFor/Target_is_ignored_for_machine_request (0.10s) 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/Same_GPO_Machine_and_User 454s time="2024-11-29T20:35:02Z" level=info msg="User \"user\" not found on cache." 454s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/One_GPO_with_rules 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/One_GPO_User_+_Machine 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/Machine_only_GPO_with_rules 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for autopkgtest" 454s === CONT TestDumpPolicies/One_GPO_User 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 454s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 454s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 454s time="2024-11-29T20:35:02Z" level=info msg="Dumping policies for user" 454s --- PASS: TestDumpPolicies (0.00s) 454s --- PASS: TestDumpPolicies/Multiple_GPOs (0.00s) 454s --- PASS: TestDumpPolicies/One_GPO_Machine (0.00s) 454s --- PASS: TestDumpPolicies/Error_on_missing_target_cache (0.00s) 454s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User (0.00s) 454s --- PASS: TestDumpPolicies/One_GPO_with_rules (0.00s) 454s --- PASS: TestDumpPolicies/One_GPO_User_+_Machine (0.00s) 454s --- PASS: TestDumpPolicies/Machine_only_GPO_with_rules (0.00s) 454s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_no_override (0.00s) 454s --- PASS: TestDumpPolicies/One_GPO_User (0.00s) 454s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules (0.00s) 454s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides (0.00s) 454s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden (0.00s) 454s --- PASS: TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user (0.00s) 454s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown (0.00s) 454s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden (0.00s) 454s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/policies 0.353s 454s === RUN TestApplyPolicy 454s === PAUSE TestApplyPolicy 454s === RUN TestMockApparmorParser 454s --- PASS: TestMockApparmorParser (0.00s) 454s === CONT TestApplyPolicy 454s === RUN TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 454s === PAUSE TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 454s === RUN TestApplyPolicy/Computer,_duplicated_profiles 454s === PAUSE TestApplyPolicy/Computer,_duplicated_profiles 454s === RUN TestApplyPolicy/Computer,_previous_profiles_are_unloaded 454s === PAUSE TestApplyPolicy/Computer,_previous_profiles_are_unloaded 454s === RUN TestApplyPolicy/Existing_.old_directory_is_removed 454s === PAUSE TestApplyPolicy/Existing_.old_directory_is_removed 454s === RUN TestApplyPolicy/No_profiles,_existing_rules_are_removed 454s === PAUSE TestApplyPolicy/No_profiles,_existing_rules_are_removed 454s === RUN TestApplyPolicy/Error_on_absent_profile 454s === PAUSE TestApplyPolicy/Error_on_absent_profile 454s === RUN TestApplyPolicy/Error_on_loading_profiles_failing 454s === PAUSE TestApplyPolicy/Error_on_loading_profiles_failing 454s === RUN TestApplyPolicy/Error_on_read-only_root_directory_with_entries 454s === PAUSE TestApplyPolicy/Error_on_read-only_root_directory_with_entries 454s === RUN TestApplyPolicy/Computer,_blank_line_profiles 454s === PAUSE TestApplyPolicy/Computer,_blank_line_profiles 454s === RUN TestApplyPolicy/Computer,_user_policies_are_unloaded 454s === PAUSE TestApplyPolicy/Computer,_user_policies_are_unloaded 454s === RUN TestApplyPolicy/User,_valid_mapping,_unchanged_content 454s === PAUSE TestApplyPolicy/User,_valid_mapping,_unchanged_content 454s === RUN TestApplyPolicy/Error_on_unloading_old_profiles_failing 454s === PAUSE TestApplyPolicy/Error_on_unloading_old_profiles_failing 454s === RUN TestApplyPolicy/Error_on_removing_unused_assets_after_dump 454s === PAUSE TestApplyPolicy/Error_on_removing_unused_assets_after_dump 454s === RUN TestApplyPolicy/Computer,_profiles_with_whitespace 454s === PAUSE TestApplyPolicy/Computer,_profiles_with_whitespace 454s === RUN TestApplyPolicy/Computer,_whitespace-only_value 454s === PAUSE TestApplyPolicy/Computer,_whitespace-only_value 454s === RUN TestApplyPolicy/No_profiles,_apparmor_directory_absent 454s === PAUSE TestApplyPolicy/No_profiles,_apparmor_directory_absent 454s === RUN TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 454s === PAUSE TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 454s === RUN TestApplyPolicy/User,_error_on_multiple_profiles 454s === PAUSE TestApplyPolicy/User,_error_on_multiple_profiles 454s === RUN TestApplyPolicy/Error_on_unloading_all_profiles_failing 454s === PAUSE TestApplyPolicy/Error_on_unloading_all_profiles_failing 454s === RUN TestApplyPolicy/Unexpected_entry_key 454s === PAUSE TestApplyPolicy/Unexpected_entry_key 454s === RUN TestApplyPolicy/User,_error_on_save_assets_failing 454s === PAUSE TestApplyPolicy/User,_error_on_save_assets_failing 454s === RUN TestApplyPolicy/Read-only_root_directory_and_no_entries 454s === PAUSE TestApplyPolicy/Read-only_root_directory_and_no_entries 454s === RUN TestApplyPolicy/Error_on_absent_loaded_policies_file 454s === PAUSE TestApplyPolicy/Error_on_absent_loaded_policies_file 454s === RUN TestApplyPolicy/Error_on_file_as_a_directory 454s === PAUSE TestApplyPolicy/Error_on_file_as_a_directory 454s === RUN TestApplyPolicy/Error_on_read-only_machine_directory 454s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory 454s === RUN TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 454s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 454s === RUN TestApplyPolicy/Computer,_one_profile 454s === PAUSE TestApplyPolicy/Computer,_one_profile 454s === RUN TestApplyPolicy/Existing_.new_directory_is_removed 454s === PAUSE TestApplyPolicy/Existing_.new_directory_is_removed 454s === RUN TestApplyPolicy/User,_no_machine_profiles 454s === PAUSE TestApplyPolicy/User,_no_machine_profiles 454s === RUN TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 454s === PAUSE TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 454s === RUN TestApplyPolicy/Error_on_read-only_.old_directory 454s === PAUSE TestApplyPolicy/Error_on_read-only_.old_directory 454s === RUN TestApplyPolicy/Error_on_read-only_.new_directory 454s === PAUSE TestApplyPolicy/Error_on_read-only_.new_directory 454s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 454s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 454s === RUN TestApplyPolicy/User,_valid_mapping 454s === PAUSE TestApplyPolicy/User,_valid_mapping 454s === RUN TestApplyPolicy/User,_error_on_overwriting_profile_contents 454s === PAUSE TestApplyPolicy/User,_error_on_overwriting_profile_contents 454s === RUN TestApplyPolicy/No_apparmor_parser_and_no_entries 454s === PAUSE TestApplyPolicy/No_apparmor_parser_and_no_entries 454s === RUN TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 454s === PAUSE TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 454s === RUN TestApplyPolicy/No_apparmor_parser_and_entries 454s === PAUSE TestApplyPolicy/No_apparmor_parser_and_entries 454s === RUN TestApplyPolicy/Computer,_multiple_profiles, 454s === PAUSE TestApplyPolicy/Computer,_multiple_profiles, 454s === RUN TestApplyPolicy/User,_error_on_empty_user_profile 454s === PAUSE TestApplyPolicy/User,_error_on_empty_user_profile 454s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 454s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 454s === RUN TestApplyPolicy/Error_on_profile_being_a_directory 454s === PAUSE TestApplyPolicy/Error_on_profile_being_a_directory 454s === RUN TestApplyPolicy/Computer,_only_blank_profiles 454s === PAUSE TestApplyPolicy/Computer,_only_blank_profiles 454s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 454s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 454s === CONT TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 454s === CONT TestApplyPolicy/Error_on_absent_loaded_policies_file 454s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 454s === CONT TestApplyPolicy/Computer,_only_blank_profiles 454s === CONT TestApplyPolicy/Error_on_profile_being_a_directory 454s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 454s === CONT TestApplyPolicy/User,_error_on_empty_user_profile 454s === CONT TestApplyPolicy/Computer,_multiple_profiles, 454s === CONT TestApplyPolicy/No_apparmor_parser_and_entries 454s === CONT TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 454s === CONT TestApplyPolicy/No_apparmor_parser_and_no_entries 454s time="2024-11-29T20:35:03Z" level=warning msg="Apparmor is not available on this system: exec: \"this-definitely-does-not-exist\": executable file not found in $PATH" 454s === CONT TestApplyPolicy/User,_error_on_overwriting_profile_contents 454s === CONT TestApplyPolicy/User,_valid_mapping 454s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 454s === CONT TestApplyPolicy/Error_on_read-only_.new_directory 454s === CONT TestApplyPolicy/Error_on_read-only_.old_directory 454s === CONT TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 454s === CONT TestApplyPolicy/User,_no_machine_profiles 454s time="2024-11-29T20:35:03Z" level=warning msg="No apparmor machine profiles configured for this machine, skipping reload" 454s === CONT TestApplyPolicy/Existing_.new_directory_is_removed 454s === CONT TestApplyPolicy/Computer,_one_profile 454s === CONT TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 454s === CONT TestApplyPolicy/Error_on_read-only_machine_directory 454s === CONT TestApplyPolicy/Error_on_file_as_a_directory 454s === CONT TestApplyPolicy/Error_on_unloading_old_profiles_failing 454s === CONT TestApplyPolicy/Read-only_root_directory_and_no_entries 454s === CONT TestApplyPolicy/User,_error_on_save_assets_failing 454s === CONT TestApplyPolicy/Unexpected_entry_key 454s === CONT TestApplyPolicy/Error_on_unloading_all_profiles_failing 454s === CONT TestApplyPolicy/User,_error_on_multiple_profiles 454s === CONT TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 454s === CONT TestApplyPolicy/No_profiles,_apparmor_directory_absent 454s === CONT TestApplyPolicy/Computer,_whitespace-only_value 454s === CONT TestApplyPolicy/Computer,_profiles_with_whitespace 454s === CONT TestApplyPolicy/Error_on_removing_unused_assets_after_dump 454s time="2024-11-29T20:35:03Z" level=warning msg="Couldn't remove new apparmor directory: unlinkat /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump4179983592/001/machine/usr.bin.bar: permission denied" 454s time="2024-11-29T20:35:03Z" level=warning msg="Couldn't restore previous apparmor directory: rename /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump4179983592/001/machine.old /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump4179983592/001/machine: file exists" 454s === CONT TestApplyPolicy/Error_on_loading_profiles_failing 454s === CONT TestApplyPolicy/User,_valid_mapping,_unchanged_content 454s === CONT TestApplyPolicy/Computer,_user_policies_are_unloaded 454s === CONT TestApplyPolicy/Computer,_blank_line_profiles 454s === CONT TestApplyPolicy/Error_on_read-only_root_directory_with_entries 454s === CONT TestApplyPolicy/Existing_.old_directory_is_removed 454s === CONT TestApplyPolicy/Error_on_absent_profile 454s === CONT TestApplyPolicy/No_profiles,_existing_rules_are_removed 454s === CONT TestApplyPolicy/Computer,_previous_profiles_are_unloaded 454s === CONT TestApplyPolicy/Computer,_duplicated_profiles 454s --- PASS: TestApplyPolicy (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_absent_loaded_policies_file (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_preprocessing_new_profiles_failing (0.01s) 454s --- PASS: TestApplyPolicy/Computer,_only_blank_profiles (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_profile_being_a_directory (0.00s) 454s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous (0.01s) 454s --- PASS: TestApplyPolicy/User,_error_on_empty_user_profile (0.00s) 454s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous (0.01s) 454s --- PASS: TestApplyPolicy/No_apparmor_parser_and_entries (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_preprocessing_old_profiles_failing (0.01s) 454s --- PASS: TestApplyPolicy/No_apparmor_parser_and_no_entries (0.00s) 454s --- PASS: TestApplyPolicy/User,_error_on_overwriting_profile_contents (0.00s) 454s --- PASS: TestApplyPolicy/User,_valid_mapping (0.01s) 454s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_read-only_.new_directory (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_read-only_.old_directory (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_multiple_profiles, (0.03s) 454s --- PASS: TestApplyPolicy/User,_no_machine_profiles (0.00s) 454s --- PASS: TestApplyPolicy/Existing_.new_directory_is_removed (0.02s) 454s --- PASS: TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded (0.02s) 454s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries (0.01s) 454s --- PASS: TestApplyPolicy/Computer,_one_profile (0.01s) 454s --- PASS: TestApplyPolicy/Error_on_file_as_a_directory (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_unloading_old_profiles_failing (0.02s) 454s --- PASS: TestApplyPolicy/Read-only_root_directory_and_no_entries (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory (0.03s) 454s --- PASS: TestApplyPolicy/User,_error_on_save_assets_failing (0.00s) 454s --- PASS: TestApplyPolicy/Unexpected_entry_key (0.00s) 454s --- PASS: TestApplyPolicy/User,_error_on_multiple_profiles (0.00s) 454s --- PASS: TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted (0.00s) 454s --- PASS: TestApplyPolicy/No_profiles,_apparmor_directory_absent (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_whitespace-only_value (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_unloading_all_profiles_failing (0.02s) 454s --- PASS: TestApplyPolicy/Error_on_removing_unused_assets_after_dump (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_profiles_with_whitespace (0.02s) 454s --- PASS: TestApplyPolicy/User,_valid_mapping,_unchanged_content (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_loading_profiles_failing (0.02s) 454s --- PASS: TestApplyPolicy/Computer,_user_policies_are_unloaded (0.02s) 454s --- PASS: TestApplyPolicy/Error_on_read-only_root_directory_with_entries (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_blank_line_profiles (0.02s) 454s --- PASS: TestApplyPolicy/Error_on_absent_profile (0.00s) 454s --- PASS: TestApplyPolicy/Existing_.old_directory_is_removed (0.02s) 454s --- PASS: TestApplyPolicy/No_profiles,_existing_rules_are_removed (0.01s) 454s --- PASS: TestApplyPolicy/Computer,_duplicated_profiles (0.01s) 454s --- PASS: TestApplyPolicy/Computer,_previous_profiles_are_unloaded (0.02s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/policies/apparmor 0.188s 454s === RUN TestCertAutoenrollScript 454s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled 454s === RUN TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration 454s === RUN TestCertAutoenrollScript/Enroll_with_certmonger_not_installed 454s === RUN TestCertAutoenrollScript/Error_on_missing_arguments 454s === RUN TestCertAutoenrollScript/Error_on_enroll_failure 454s === RUN TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration 454s === RUN TestCertAutoenrollScript/Unenroll 454s === RUN TestCertAutoenrollScript/Error_on_invalid_flags 454s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON 454s === RUN TestCertAutoenrollScript/Error_on_unenroll_failure 454s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration 454s === RUN TestCertAutoenrollScript/Enroll_with_cepces_not_installed 454s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_keys 454s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_structure 454s === RUN TestCertAutoenrollScript/Error_on_read-only_path 454s --- PASS: TestCertAutoenrollScript (0.83s) 454s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled (0.04s) 454s --- PASS: TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration (0.04s) 454s --- PASS: TestCertAutoenrollScript/Enroll_with_certmonger_not_installed (0.04s) 454s --- PASS: TestCertAutoenrollScript/Error_on_missing_arguments (0.04s) 454s --- PASS: TestCertAutoenrollScript/Error_on_enroll_failure (0.09s) 454s --- PASS: TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration (0.04s) 454s --- PASS: TestCertAutoenrollScript/Unenroll (0.04s) 454s --- PASS: TestCertAutoenrollScript/Error_on_invalid_flags (0.04s) 454s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON (0.08s) 454s --- PASS: TestCertAutoenrollScript/Error_on_unenroll_failure (0.08s) 454s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration (0.04s) 454s --- PASS: TestCertAutoenrollScript/Enroll_with_cepces_not_installed (0.04s) 454s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_keys (0.08s) 454s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_structure (0.09s) 454s --- PASS: TestCertAutoenrollScript/Error_on_read-only_path (0.08s) 454s === RUN TestApplyPolicy 454s === RUN TestApplyPolicy/Computer,_configured_to_enroll 454s time="2024-11-29T20:35:04Z" level=info msg="Certificate autoenrollment script ran successfully\n" 454s === RUN TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration 454s time="2024-11-29T20:35:04Z" level=info msg="Certificate autoenrollment script ran successfully\n" 454s === RUN TestApplyPolicy/Error_on_invalid_advanced_configuration_value 454s === RUN TestApplyPolicy/Computer,_no_entries,_Samba_cache_present 454s time="2024-11-29T20:35:04Z" level=info msg="Certificate autoenrollment script ran successfully\n" 454s === RUN TestApplyPolicy/Computer,_autoenroll_disabled 454s === RUN TestApplyPolicy/Computer,_domain_is_offline 454s === RUN TestApplyPolicy/Computer,_configured_to_unenroll 454s time="2024-11-29T20:35:04Z" level=info msg="Certificate autoenrollment script ran successfully\n" 454s === RUN TestApplyPolicy/User,_autoenroll_not_supported 454s === RUN TestApplyPolicy/Error_on_autoenroll_script_failure 454s === RUN TestApplyPolicy/Error_on_invalid_autoenroll_value 454s === RUN TestApplyPolicy/Computer,_no_entries 454s --- PASS: TestApplyPolicy (0.02s) 454s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll (0.01s) 454s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_invalid_advanced_configuration_value (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_no_entries,_Samba_cache_present (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_autoenroll_disabled (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_domain_is_offline (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_configured_to_unenroll (0.00s) 454s --- PASS: TestApplyPolicy/User,_autoenroll_not_supported (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_autoenroll_script_failure (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_invalid_autoenroll_value (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 454s === RUN TestMockAutoenrollScript 454s --- PASS: TestMockAutoenrollScript (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/policies/certificate 0.858s 454s === RUN TestNormalize 454s === PAUSE TestNormalize 454s === RUN TestApplyPolicy 454s === PAUSE TestApplyPolicy 454s === CONT TestNormalize 454s === CONT TestApplyPolicy 454s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and__[] 454s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and__[] 454s === RUN TestNormalize/as_without_ending_] 454s === PAUSE TestNormalize/as_without_ending_] 454s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 454s === RUN TestNormalize/Multi-lines_as_with_explicit_empty_element 454s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 454s === PAUSE TestNormalize/Multi-lines_as_with_explicit_empty_element 454s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 454s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 454s === RUN TestApplyPolicy/Update_machine_disabled_key_with_value 454s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 454s === PAUSE TestApplyPolicy/Update_machine_disabled_key_with_value 454s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 454s === RUN TestApplyPolicy/Unquoted_string 454s === RUN TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 454s === PAUSE TestApplyPolicy/Unquoted_string 454s === PAUSE TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 454s === RUN TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 454s === RUN TestNormalize/simple_ai 454s === PAUSE TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 454s === PAUSE TestNormalize/simple_ai 454s === RUN TestNormalize/ai_without_ending_] 454s === RUN TestApplyPolicy/First_boot 454s === PAUSE TestNormalize/ai_without_ending_] 454s === PAUSE TestApplyPolicy/First_boot 454s === RUN TestNormalize/empty_quoted_string 454s === RUN TestApplyPolicy/Missing_user_compiled_db_for_user 454s === PAUSE TestNormalize/empty_quoted_string 454s === PAUSE TestApplyPolicy/Missing_user_compiled_db_for_user 454s === RUN TestNormalize/quoted_string_with_quotes 454s === RUN TestApplyPolicy/Multi-lines_ai_mixed_with_comma 454s === PAUSE TestNormalize/quoted_string_with_quotes 454s === PAUSE TestApplyPolicy/Multi-lines_ai_mixed_with_comma 454s === RUN TestNormalize/off_transformed_to_boolean 454s === RUN TestApplyPolicy/Do_not_interfere_with_other_user_profile 454s === PAUSE TestNormalize/off_transformed_to_boolean 454s === PAUSE TestApplyPolicy/Do_not_interfere_with_other_user_profile 454s === RUN TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 454s === RUN TestNormalize/simple_unquoted_as 454s === PAUSE TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 454s === PAUSE TestNormalize/simple_unquoted_as 454s === RUN TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 454s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 454s === PAUSE TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 454s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 454s === RUN TestApplyPolicy/User_updates_with_different_value 454s === RUN TestNormalize/one_quote 454s === PAUSE TestApplyPolicy/User_updates_with_different_value 454s === PAUSE TestNormalize/one_quote 454s === RUN TestApplyPolicy/User_updates_key_is_now_disabled 454s === PAUSE TestApplyPolicy/User_updates_key_is_now_disabled 454s === RUN TestNormalize/one_escaped_quote 454s === RUN TestApplyPolicy/New_user 454s === PAUSE TestNormalize/one_escaped_quote 454s === RUN TestNormalize/string_with_two_backslashes_don’t_escape_quotes 454s === PAUSE TestNormalize/string_with_two_backslashes_don’t_escape_quotes 454s === RUN TestNormalize/as_with_leading_and_ending_spaces_and__[] 454s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and__[] 454s === PAUSE TestApplyPolicy/New_user 454s === RUN TestApplyPolicy/User_updates_existing_value 454s === PAUSE TestApplyPolicy/User_updates_existing_value 454s === RUN TestNormalize/weird_case_true 454s === PAUSE TestNormalize/weird_case_true 454s === RUN TestNormalize/yes_transformed_to_boolean 454s === PAUSE TestNormalize/yes_transformed_to_boolean 454s === RUN TestNormalize/non_supported_is_reported_as_is 454s === PAUSE TestNormalize/non_supported_is_reported_as_is 454s === RUN TestNormalize/Multi-lines_ai 454s === PAUSE TestNormalize/Multi-lines_ai 454s === RUN TestApplyPolicy/Machine_updates_with_different_value 454s === RUN TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 454s === PAUSE TestApplyPolicy/Machine_updates_with_different_value 454s === PAUSE TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 454s === RUN TestApplyPolicy/Multi-lines_as_mixed_with_comma 454s === RUN TestNormalize/simple_unquoted_string 454s === PAUSE TestApplyPolicy/Multi-lines_as_mixed_with_comma 454s === PAUSE TestNormalize/simple_unquoted_string 454s === RUN TestApplyPolicy/Multi-lines_ai 454s === RUN TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 454s === PAUSE TestApplyPolicy/Multi-lines_ai 454s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 454s === RUN TestApplyPolicy/No_policy_still_generates_a_valid_db 454s === RUN TestNormalize/Multi-lines_as_with_spaces_inside 454s === PAUSE TestApplyPolicy/No_policy_still_generates_a_valid_db 454s === PAUSE TestNormalize/Multi-lines_as_with_spaces_inside 454s === RUN TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 454s === RUN TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 454s === PAUSE TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 454s === PAUSE TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 454s === RUN TestNormalize/simple_as_with_no_spaces 454s === PAUSE TestNormalize/simple_as_with_no_spaces 454s === RUN TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 454s === PAUSE TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 454s === RUN TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 454s === RUN TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 454s === PAUSE TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 454s === RUN TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 454s === PAUSE TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 454s === PAUSE TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 454s === RUN TestApplyPolicy/Machine_updates_key_is_now_disabled 454s === RUN TestNormalize/simple_quoted_as 454s === PAUSE TestApplyPolicy/Machine_updates_key_is_now_disabled 454s === PAUSE TestNormalize/simple_quoted_as 454s === RUN TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 454s === PAUSE TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 454s === RUN TestNormalize/string_with_escaped_quotes 454s === PAUSE TestNormalize/string_with_escaped_quotes 454s === RUN TestNormalize/y_transformed_to_boolean 454s === PAUSE TestNormalize/y_transformed_to_boolean 454s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_user 454s === RUN TestNormalize/as_with_weird_composition_inception_will_be_quoted 454s === PAUSE TestNormalize/as_with_weird_composition_inception_will_be_quoted 454s === RUN TestNormalize/on_transformed_to_boolean 454s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_user 454s === PAUSE TestNormalize/on_transformed_to_boolean 454s === RUN TestApplyPolicy/No_surrounding_brackets_ai 454s === RUN TestNormalize/Multi-lines_ai_with_spaces_inside 454s === PAUSE TestApplyPolicy/No_surrounding_brackets_ai 454s === PAUSE TestNormalize/Multi-lines_ai_with_spaces_inside 454s === RUN TestApplyPolicy/Error_when_machine_db_does_not_exist 454s === RUN TestNormalize/with_spaces 454s === PAUSE TestApplyPolicy/Error_when_machine_db_does_not_exist 454s === PAUSE TestNormalize/with_spaces 454s === RUN TestApplyPolicy/Error_on_invalid_ai 454s === RUN TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 454s === PAUSE TestApplyPolicy/Error_on_invalid_ai 454s === RUN TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 454s === PAUSE TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 454s === PAUSE TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 454s === RUN TestNormalize/simple_ai_with_no_spaces 454s === RUN TestApplyPolicy/Update_user_disabled_key_with_value 454s === PAUSE TestNormalize/simple_ai_with_no_spaces 454s === PAUSE TestApplyPolicy/Update_user_disabled_key_with_value 454s === RUN TestApplyPolicy/Multiple_sections 454s === RUN TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 454s === PAUSE TestApplyPolicy/Multiple_sections 454s === PAUSE TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 454s === RUN TestApplyPolicy/Multiple_sections_with_disabled_keys 454s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 454s === PAUSE TestApplyPolicy/Multiple_sections_with_disabled_keys 454s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 454s === RUN TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 454s === RUN TestNormalize/ai_without_leading_[ 454s === PAUSE TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 454s === PAUSE TestNormalize/ai_without_leading_[ 454s === RUN TestApplyPolicy/Quoted_b 454s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 454s === PAUSE TestApplyPolicy/Quoted_b 454s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 454s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_as 454s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_as 454s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 454s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 454s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 454s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 454s === RUN TestNormalize/simple_boolean_true 454s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 454s === PAUSE TestNormalize/simple_boolean_true 454s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 454s === RUN TestNormalize/n_transformed_to_boolean 454s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 454s === PAUSE TestNormalize/n_transformed_to_boolean 454s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 454s === RUN TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 454s === RUN TestNormalize/as_empty_elements_separated_with_commas_are_kept 454s === PAUSE TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 454s === PAUSE TestNormalize/as_empty_elements_separated_with_commas_are_kept 454s === RUN TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 454s === RUN TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 454s === PAUSE TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 454s === PAUSE TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 454s === RUN TestNormalize/string_with_multiple_backslashes_escaped_quotes 454s === RUN TestApplyPolicy/Quoted_i 454s === PAUSE TestNormalize/string_with_multiple_backslashes_escaped_quotes 454s === PAUSE TestApplyPolicy/Quoted_i 454s === RUN TestNormalize/ai_with_spaces_inside 454s === RUN TestApplyPolicy/Multi-lines_as 454s === PAUSE TestApplyPolicy/Multi-lines_as 454s === PAUSE TestNormalize/ai_with_spaces_inside 454s === RUN TestApplyPolicy/Do_not_update_other_files_from_db 454s === RUN TestNormalize/unmanaged_types_are_returned_as_is 454s === PAUSE TestApplyPolicy/Do_not_update_other_files_from_db 454s === PAUSE TestNormalize/unmanaged_types_are_returned_as_is 454s === RUN TestApplyPolicy/Error_on_empty_meta 454s === RUN TestNormalize/simple_quoted_string 454s === PAUSE TestNormalize/simple_quoted_string 454s === RUN TestNormalize/weird_case_false 454s === PAUSE TestApplyPolicy/Error_on_empty_meta 454s === PAUSE TestNormalize/weird_case_false 454s === RUN TestApplyPolicy/Machine_updates_existing_value 454s === RUN TestNormalize/as_simple_quoted_as_with_spaces 454s === PAUSE TestApplyPolicy/Machine_updates_existing_value 454s === PAUSE TestNormalize/as_simple_quoted_as_with_spaces 454s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_as 454s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_as 454s === RUN TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 454s === PAUSE TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 454s === RUN TestNormalize/empty_unquoted_string 454s === PAUSE TestNormalize/empty_unquoted_string 454s === RUN TestNormalize/unquoted_string_with_quotes 454s === PAUSE TestNormalize/unquoted_string_with_quotes 454s === RUN TestNormalize/simple_boolean_false 454s === PAUSE TestNormalize/simple_boolean_false 454s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 454s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 454s === RUN TestApplyPolicy/Error_on_invalid_type 454s === PAUSE TestApplyPolicy/Error_on_invalid_type 454s === RUN TestApplyPolicy/Multiple_keys_same_category 454s === PAUSE TestApplyPolicy/Multiple_keys_same_category 454s === RUN TestNormalize/ai_empty_elements_separated_with_commas_are_kept 454s === RUN TestApplyPolicy/No_update_when_no_change 454s === PAUSE TestNormalize/ai_empty_elements_separated_with_commas_are_kept 454s === RUN TestNormalize/as_without_leading_[ 454s === PAUSE TestApplyPolicy/No_update_when_no_change 454s === PAUSE TestNormalize/as_without_leading_[ 454s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_machine 454s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_machine 454s === RUN TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 454s === PAUSE TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 454s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 454s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 454s === RUN TestNormalize/Multi-lines_as_with_quoted_','_is_supported 454s === RUN TestApplyPolicy/No_surrounding_brackets_multiple_ai 454s === PAUSE TestApplyPolicy/No_surrounding_brackets_multiple_ai 454s === PAUSE TestNormalize/Multi-lines_as_with_quoted_','_is_supported 454s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 454s === RUN TestNormalize/Multi-lines_as_unquoted 454s === PAUSE TestNormalize/Multi-lines_as_unquoted 454s === RUN TestNormalize/Multi-lines_as_quoted 454s === PAUSE TestNormalize/Multi-lines_as_quoted 454s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 454s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 454s === RUN TestNormalize/no_transformed_to_boolean 454s === PAUSE TestNormalize/no_transformed_to_boolean 454s === RUN TestNormalize/as_with_spaces_inside 454s === PAUSE TestNormalize/as_with_spaces_inside 454s === RUN TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 454s === PAUSE TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 454s === RUN TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 454s === PAUSE TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 454s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and__[] 454s === CONT TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 454s === CONT TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 454s === CONT TestNormalize/as_with_spaces_inside 454s === CONT TestNormalize/no_transformed_to_boolean 454s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 454s === CONT TestNormalize/Multi-lines_as_quoted 454s === CONT TestNormalize/Multi-lines_as_unquoted 454s === CONT TestNormalize/Multi-lines_as_with_quoted_','_is_supported 454s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 454s === CONT TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 454s === CONT TestNormalize/as_without_leading_[ 454s === CONT TestNormalize/ai_empty_elements_separated_with_commas_are_kept 454s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 454s === CONT TestNormalize/simple_boolean_false 454s === CONT TestNormalize/unquoted_string_with_quotes 454s === CONT TestNormalize/empty_unquoted_string 454s === CONT TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 454s === CONT TestNormalize/as_simple_quoted_as_with_spaces 454s === CONT TestNormalize/weird_case_false 454s === CONT TestNormalize/simple_quoted_string 454s === CONT TestNormalize/unmanaged_types_are_returned_as_is 454s === CONT TestNormalize/ai_with_spaces_inside 454s === CONT TestNormalize/string_with_multiple_backslashes_escaped_quotes 454s === CONT TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 454s === CONT TestNormalize/as_empty_elements_separated_with_commas_are_kept 454s === CONT TestNormalize/n_transformed_to_boolean 454s === CONT TestNormalize/simple_boolean_true 454s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 454s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 454s === CONT TestNormalize/ai_without_leading_[ 454s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 454s === CONT TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 454s === CONT TestNormalize/simple_ai_with_no_spaces 454s === CONT TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 454s === CONT TestNormalize/with_spaces 454s === CONT TestNormalize/Multi-lines_ai_with_spaces_inside 454s === CONT TestNormalize/on_transformed_to_boolean 454s === CONT TestNormalize/as_with_weird_composition_inception_will_be_quoted 454s === CONT TestNormalize/y_transformed_to_boolean 454s === CONT TestNormalize/string_with_escaped_quotes 454s === CONT TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 454s === CONT TestNormalize/simple_quoted_as 454s === CONT TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 454s === CONT TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 454s === CONT TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 454s === CONT TestNormalize/simple_as_with_no_spaces 454s === CONT TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 454s === CONT TestNormalize/Multi-lines_as_with_spaces_inside 454s === CONT TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 454s === CONT TestNormalize/simple_unquoted_string 454s === CONT TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 454s === CONT TestNormalize/Multi-lines_ai 454s === CONT TestNormalize/non_supported_is_reported_as_is 454s === CONT TestNormalize/yes_transformed_to_boolean 454s === CONT TestNormalize/weird_case_true 454s === CONT TestNormalize/as_with_leading_and_ending_spaces_and__[] 454s === CONT TestNormalize/string_with_two_backslashes_don’t_escape_quotes 454s === CONT TestNormalize/one_escaped_quote 454s === CONT TestNormalize/one_quote 454s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 454s === CONT TestNormalize/simple_unquoted_as 454s === CONT TestNormalize/off_transformed_to_boolean 454s === CONT TestNormalize/quoted_string_with_quotes 454s === CONT TestNormalize/empty_quoted_string 454s === CONT TestNormalize/ai_without_ending_] 454s === CONT TestNormalize/simple_ai 454s === CONT TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 454s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 454s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 454s === CONT TestNormalize/Multi-lines_as_with_explicit_empty_element 454s === CONT TestNormalize/as_without_ending_] 454s --- PASS: TestNormalize (0.00s) 454s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and__[] (0.00s) 454s --- PASS: TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result (0.00s) 454s --- PASS: TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result (0.00s) 454s --- PASS: TestNormalize/as_with_spaces_inside (0.00s) 454s --- PASS: TestNormalize/no_transformed_to_boolean (0.00s) 454s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_quoted (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_unquoted (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_quoted_','_is_supported (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_quoted (0.00s) 454s --- PASS: TestNormalize/as_partially_quoted_can_lead_to_unexpect_result (0.00s) 454s --- PASS: TestNormalize/as_without_leading_[ (0.00s) 454s --- PASS: TestNormalize/ai_empty_elements_separated_with_commas_are_kept (0.00s) 454s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 454s --- PASS: TestNormalize/simple_boolean_false (0.00s) 454s --- PASS: TestNormalize/unquoted_string_with_quotes (0.00s) 454s --- PASS: TestNormalize/empty_unquoted_string (0.00s) 454s --- PASS: TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result (0.00s) 454s --- PASS: TestNormalize/as_simple_quoted_as_with_spaces (0.00s) 454s --- PASS: TestNormalize/weird_case_false (0.00s) 454s --- PASS: TestNormalize/simple_quoted_string (0.00s) 454s --- PASS: TestNormalize/unmanaged_types_are_returned_as_is (0.00s) 454s --- PASS: TestNormalize/ai_with_spaces_inside (0.00s) 454s --- PASS: TestNormalize/string_with_multiple_backslashes_escaped_quotes (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets (0.00s) 454s --- PASS: TestNormalize/as_empty_elements_separated_with_commas_are_kept (0.00s) 454s --- PASS: TestNormalize/n_transformed_to_boolean (0.00s) 454s --- PASS: TestNormalize/simple_boolean_true (0.00s) 454s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 454s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] (0.00s) 454s --- PASS: TestNormalize/ai_without_leading_[ (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted (0.00s) 454s --- PASS: TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element (0.00s) 454s --- PASS: TestNormalize/simple_ai_with_no_spaces (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements (0.00s) 454s --- PASS: TestNormalize/with_spaces (0.00s) 454s --- PASS: TestNormalize/Multi-lines_ai_with_spaces_inside (0.00s) 454s --- PASS: TestNormalize/on_transformed_to_boolean (0.00s) 454s --- PASS: TestNormalize/as_with_weird_composition_inception_will_be_quoted (0.00s) 454s --- PASS: TestNormalize/y_transformed_to_boolean (0.00s) 454s --- PASS: TestNormalize/string_with_escaped_quotes (0.00s) 454s --- PASS: TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets (0.00s) 454s --- PASS: TestNormalize/simple_quoted_as (0.00s) 454s --- PASS: TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements (0.00s) 454s --- PASS: TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string (0.00s) 454s --- PASS: TestNormalize/simple_as_with_no_spaces (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_spaces_inside (0.00s) 454s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and_no_[] (0.00s) 454s --- PASS: TestNormalize/simple_unquoted_string (0.00s) 454s --- PASS: TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split (0.00s) 454s --- PASS: TestNormalize/Multi-lines_ai (0.00s) 454s --- PASS: TestNormalize/non_supported_is_reported_as_is (0.00s) 454s --- PASS: TestNormalize/yes_transformed_to_boolean (0.00s) 454s --- PASS: TestNormalize/weird_case_true (0.00s) 454s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and__[] (0.00s) 454s --- PASS: TestNormalize/string_with_two_backslashes_don’t_escape_quotes (0.00s) 454s --- PASS: TestNormalize/one_escaped_quote (0.00s) 454s --- PASS: TestNormalize/one_quote (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 454s --- PASS: TestNormalize/simple_unquoted_as (0.00s) 454s --- PASS: TestNormalize/off_transformed_to_boolean (0.00s) 454s --- PASS: TestNormalize/quoted_string_with_quotes (0.00s) 454s --- PASS: TestNormalize/empty_quoted_string (0.00s) 454s --- PASS: TestNormalize/ai_without_ending_] (0.00s) 454s --- PASS: TestNormalize/simple_ai (0.00s) 454s --- PASS: TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 454s --- PASS: TestNormalize/Multi-lines_as_with_explicit_empty_element (0.00s) 454s --- PASS: TestNormalize/as_without_ending_] (0.00s) 454s === CONT TestApplyPolicy/Error_on_invalid_ai 454s === CONT TestApplyPolicy/No_surrounding_brackets_multiple_ai 454s === CONT TestApplyPolicy/Error_when_machine_db_does_not_exist 454s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_machine 454s === CONT TestApplyPolicy/No_update_when_no_change 454s === CONT TestApplyPolicy/Multiple_keys_same_category 454s === CONT TestApplyPolicy/Error_on_invalid_type 454s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_as 454s === CONT TestApplyPolicy/Machine_updates_existing_value 454s === CONT TestApplyPolicy/Error_on_empty_meta 454s === CONT TestApplyPolicy/Do_not_update_other_files_from_db 454s === CONT TestApplyPolicy/Multi-lines_as 454s === CONT TestApplyPolicy/Quoted_i 454s === CONT TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 454s === CONT TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 454s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 454s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 454s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 454s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_as 454s === CONT TestApplyPolicy/Quoted_b 454s === CONT TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 454s === CONT TestApplyPolicy/Multiple_sections_with_disabled_keys 454s === CONT TestApplyPolicy/Multiple_sections 454s === CONT TestApplyPolicy/Update_user_disabled_key_with_value 454s === CONT TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 454s === CONT TestApplyPolicy/New_user 454s === CONT TestApplyPolicy/No_surrounding_brackets_ai 454s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_user 454s === CONT TestApplyPolicy/Machine_updates_key_is_now_disabled 454s === CONT TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 454s === CONT TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 454s === CONT TestApplyPolicy/No_policy_still_generates_a_valid_db 454s === CONT TestApplyPolicy/Multi-lines_ai 454s === CONT TestApplyPolicy/Multi-lines_as_mixed_with_comma 454s === CONT TestApplyPolicy/Machine_updates_with_different_value 454s === CONT TestApplyPolicy/User_updates_existing_value 454s === CONT TestApplyPolicy/Multi-lines_ai_mixed_with_comma 454s === CONT TestApplyPolicy/User_updates_key_is_now_disabled 454s === CONT TestApplyPolicy/User_updates_with_different_value 454s === CONT TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 454s === CONT TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 454s === CONT TestApplyPolicy/Do_not_interfere_with_other_user_profile 454s === CONT TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 454s === CONT TestApplyPolicy/Missing_user_compiled_db_for_user 454s === CONT TestApplyPolicy/First_boot 454s === CONT TestApplyPolicy/Unquoted_string 454s === CONT TestApplyPolicy/Update_machine_disabled_key_with_value 454s --- PASS: TestApplyPolicy (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_invalid_ai (0.00s) 454s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db_append_them (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_machine_db_does_not_exist (0.00s) 454s --- PASS: TestApplyPolicy/No_surrounding_brackets_multiple_ai (0.00s) 454s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_machine (0.00s) 454s --- PASS: TestApplyPolicy/No_update_when_no_change (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_invalid_type (0.00s) 454s --- PASS: TestApplyPolicy/Multiple_keys_same_category (0.00s) 454s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_as (0.00s) 454s --- PASS: TestApplyPolicy/Machine_updates_existing_value (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_empty_meta (0.00s) 454s --- PASS: TestApplyPolicy/Do_not_update_other_files_from_db (0.00s) 454s --- PASS: TestApplyPolicy/Multi-lines_as (0.00s) 454s --- PASS: TestApplyPolicy/Quoted_i (0.00s) 454s --- PASS: TestApplyPolicy/Normalized_canonical_form_for_each_supported_key (0.00s) 454s --- PASS: TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections (0.00s) 454s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed (0.00s) 454s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as (0.00s) 454s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as (0.00s) 454s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_as (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type (0.00s) 454s --- PASS: TestApplyPolicy/Quoted_b (0.00s) 454s --- PASS: TestApplyPolicy/Multiple_sections_with_disabled_keys (0.00s) 454s --- PASS: TestApplyPolicy/Multiple_sections (0.00s) 454s --- PASS: TestApplyPolicy/Update_existing_correct_profile_stays_unchanged (0.00s) 454s --- PASS: TestApplyPolicy/New_user (0.00s) 454s --- PASS: TestApplyPolicy/No_surrounding_brackets_ai (0.00s) 454s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_user (0.00s) 454s --- PASS: TestApplyPolicy/Machine_updates_key_is_now_disabled (0.00s) 454s --- PASS: TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition (0.00s) 454s --- PASS: TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed (0.00s) 454s --- PASS: TestApplyPolicy/Update_user_disabled_key_with_value (0.01s) 454s --- PASS: TestApplyPolicy/No_policy_still_generates_a_valid_db (0.00s) 454s --- PASS: TestApplyPolicy/Multi-lines_ai (0.00s) 454s --- PASS: TestApplyPolicy/Multi-lines_as_mixed_with_comma (0.00s) 454s --- PASS: TestApplyPolicy/Machine_updates_with_different_value (0.00s) 454s --- PASS: TestApplyPolicy/User_updates_existing_value (0.00s) 454s --- PASS: TestApplyPolicy/Multi-lines_ai_mixed_with_comma (0.00s) 454s --- PASS: TestApplyPolicy/User_updates_key_is_now_disabled (0.00s) 454s --- PASS: TestApplyPolicy/User_updates_with_different_value (0.00s) 454s --- PASS: TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order (0.00s) 454s --- PASS: TestApplyPolicy/Do_not_interfere_with_other_user_profile (0.00s) 454s --- PASS: TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions (0.01s) 454s --- PASS: TestApplyPolicy/Missing_user_compiled_db_for_user (0.00s) 454s --- PASS: TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values (0.00s) 454s --- PASS: TestApplyPolicy/First_boot (0.00s) 454s --- PASS: TestApplyPolicy/Update_machine_disabled_key_with_value (0.00s) 454s --- PASS: TestApplyPolicy/Unquoted_string (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/policies/dconf 0.059s 454s === RUN TestApplyPolicy 454s === PAUSE TestApplyPolicy 454s === CONT TestApplyPolicy 454s === RUN TestApplyPolicy/dconf_policy 454s === PAUSE TestApplyPolicy/dconf_policy 454s === CONT TestApplyPolicy/dconf_policy 454s --- PASS: TestApplyPolicy (0.00s) 454s --- PASS: TestApplyPolicy/dconf_policy (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/policies/gdm 0.005s 454s === RUN TestParseEntryValues 454s === PAUSE TestParseEntryValues 454s === RUN TestWriteFileWithUIDGID 454s === PAUSE TestWriteFileWithUIDGID 454s === RUN TestCreateUnits 454s === PAUSE TestCreateUnits 454s === RUN TestNew 454s === PAUSE TestNew 454s === RUN TestApplyPolicy 454s === PAUSE TestApplyPolicy 454s === CONT TestParseEntryValues 454s === RUN TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 454s === PAUSE TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 454s === RUN TestParseEntryValues/Parse_values_from_entry_with_one_value 454s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_one_value 454s === RUN TestParseEntryValues/Parse_values_from_entry_with_multiple_values 454s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_multiple_values 454s === RUN TestParseEntryValues/Parse_values_from_entry_with_repeated_values 454s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_repeated_values 454s === RUN TestParseEntryValues/Parse_values_trimming_whitespaces 454s === PAUSE TestParseEntryValues/Parse_values_trimming_whitespaces 454s === RUN TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 454s === PAUSE TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 454s === RUN TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 454s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 454s === RUN TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 454s === PAUSE TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 454s === CONT TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 454s === CONT TestApplyPolicy 454s === RUN TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 454s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 454s === RUN TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 454s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 454s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 454s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 454s === RUN TestApplyPolicy/Error_when_user_has_invalid_gid 454s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_gid 454s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 454s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 454s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 454s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 454s === RUN TestApplyPolicy/Error_when_user_has_invalid_uid 454s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_uid 454s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 454s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 454s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 454s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 454s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 454s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 454s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 454s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 454s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 454s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 454s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 454s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 454s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 454s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 454s === RUN TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 454s === PAUSE TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 454s === RUN TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 454s === PAUSE TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 454s === RUN TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 454s === PAUSE TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 454s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 454s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 454s === RUN TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 454s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 454s === RUN TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 454s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 454s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 454s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 454s === RUN TestApplyPolicy/Error_when_user_is_not_found 454s === PAUSE TestApplyPolicy/Error_when_user_is_not_found 454s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 454s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 454s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 454s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 454s === RUN TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 454s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 454s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 454s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 454s === RUN TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 454s === PAUSE TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 454s === RUN TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 454s === PAUSE TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 454s === RUN TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 454s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 454s === RUN TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 454s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 454s === RUN TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 454s === PAUSE TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 454s === RUN TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 454s === PAUSE TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 454s === RUN TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 454s === PAUSE TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 454s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 454s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 454s === RUN TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 454s === PAUSE TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 454s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 454s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 454s === RUN TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 454s === PAUSE TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 454s === RUN TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 454s === PAUSE TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 454s === RUN TestApplyPolicy/Error_when_entry_is_errored 454s === PAUSE TestApplyPolicy/Error_when_entry_is_errored 454s === RUN TestApplyPolicy/Error_when_daemon-reload_fails 454s === PAUSE TestApplyPolicy/Error_when_daemon-reload_fails 454s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 454s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 454s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 454s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 454s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 454s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 454s === RUN TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 454s === PAUSE TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 454s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 454s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 454s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 454s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 454s === RUN TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 454s === PAUSE TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 454s === RUN TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 454s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 454s === RUN TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 454s === PAUSE TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 454s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 454s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 454s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 454s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 454s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 454s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 454s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 454s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 454s === RUN TestApplyPolicy/Error_when_enabling_new_units_fails 454s === PAUSE TestApplyPolicy/Error_when_enabling_new_units_fails 454s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 454s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 454s === CONT TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 454s === CONT TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 454s === CONT TestParseEntryValues/Parse_values_trimming_whitespaces 454s === CONT TestParseEntryValues/Parse_values_from_entry_with_repeated_values 454s === CONT TestParseEntryValues/Parse_values_from_entry_with_multiple_values 454s === CONT TestParseEntryValues/Parse_values_from_entry_with_one_value 454s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 454s === CONT TestApplyPolicy/Error_when_enabling_new_units_fails 454s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 454s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 454s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 454s === CONT TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 454s === CONT TestNew 454s === RUN TestNew/Creates_manager_successfully 454s === PAUSE TestNew/Creates_manager_successfully 454s === RUN TestNew/Error_when_runDir_has_invalid_permissions 454s === PAUSE TestNew/Error_when_runDir_has_invalid_permissions 454s === RUN TestNew/Error_when_systemUnitDir_has_invalid_permissions 454s === PAUSE TestNew/Error_when_systemUnitDir_has_invalid_permissions 454s === CONT TestCreateUnits 454s === RUN TestCreateUnits/Write_single_unit 454s === PAUSE TestCreateUnits/Write_single_unit 454s === RUN TestCreateUnits/Write_multiple_units 454s === PAUSE TestCreateUnits/Write_multiple_units 454s === RUN TestCreateUnits/Write_krb5_tagged_unit 454s === PAUSE TestCreateUnits/Write_krb5_tagged_unit 454s === CONT TestWriteFileWithUIDGID 454s === RUN TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 454s === PAUSE TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 454s === RUN TestWriteFileWithUIDGID/Error_when_invalid_uid 454s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_uid 454s === RUN TestWriteFileWithUIDGID/Error_when_invalid_gid 454s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_gid 454s === RUN TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 454s === PAUSE TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 454s === RUN TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 454s === PAUSE TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 454s === CONT TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 454s --- PASS: TestParseEntryValues (0.00s) 454s --- PASS: TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values (0.00s) 454s --- PASS: TestParseEntryValues/Parse_values_trimming_sequential_linebreaks (0.00s) 454s --- PASS: TestParseEntryValues/Parse_values_trimming_whitespaces (0.00s) 454s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_repeated_values (0.00s) 454s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_multiple_values (0.00s) 454s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_one_value (0.00s) 454s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags (0.00s) 454s --- PASS: TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty (0.00s) 454s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="Failed to stop unit \"adsys-protocol-domain.com-mountpath.mount\": failed to stop unit" 454s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s === CONT TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s === CONT TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 454s === CONT TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 454s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 454s === CONT TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 454s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 454s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 454s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 454s === CONT TestApplyPolicy/Error_when_daemon-reload_fails 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mounpath.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 454s === CONT TestApplyPolicy/Error_when_entry_is_errored 454s === CONT TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 454s === CONT TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 454s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s === CONT TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 454s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 454s === CONT TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 454s === CONT TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s === CONT TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 454s === CONT TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 454s === CONT TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 454s === CONT TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 454s === CONT TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 454s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 454s === CONT TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 454s time="2024-11-29T20:35:08Z" 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." 454s time="2024-11-29T20:35:08Z" 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." 454s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 454s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 454s === CONT TestApplyPolicy/Error_when_user_is_not_found 454s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-path-mount.mount\": failed to start unit" 454s === CONT TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-cifs-authenticated.com-authenticated-mount.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-nfs-krb_domain.com-mount-krb_path.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s === CONT TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 454s === CONT TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 454s === CONT TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 454s === CONT TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 454s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 454s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 454s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-fuse-completelydifferent.com-different-path.mount\": failed to start unit" 454s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 454s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 454s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 454s === CONT TestApplyPolicy/Error_when_user_has_invalid_uid 454s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 454s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 454s === CONT TestApplyPolicy/Error_when_user_has_invalid_gid 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 454s === CONT TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 454s time="2024-11-29T20:35:08Z" 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." 454s time="2024-11-29T20:35:08Z" 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." 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-nfs-domain-untagged_first.mount\": failed to start unit" 454s time="2024-11-29T20:35:08Z" level=warning msg="failed to start unit \"adsys-nfs-domain-tagged_first.mount\": failed to start unit" 454s === CONT TestNew/Creates_manager_successfully 454s --- PASS: TestApplyPolicy (0.00s) 454s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries (0.00s) 454s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_enabling_new_units_fails (0.00s) 454s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values (0.00s) 454s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails (0.00s) 454s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails (0.00s) 454s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user (0.01s) 454s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value (0.00s) 454s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_creating_units_with_bad_entry_values (0.00s) 454s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key (0.00s) 454s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_daemon-reload_fails (0.00s) 454s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_entry_is_errored (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir (0.00s) 454s --- PASS: TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled (0.00s) 454s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry (0.00s) 454s --- PASS: TestApplyPolicy/System,_does_nothing_if_there_are_no_entries (0.00s) 454s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values (0.01s) 454s --- PASS: TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions (0.01s) 454s --- PASS: TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry (0.00s) 454s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags (0.00s) 454s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory (0.00s) 454s --- PASS: TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value (0.00s) 454s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.00s) 454s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.00s) 454s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_user_is_not_found (0.00s) 454s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces (0.00s) 454s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values (0.00s) 454s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys (0.00s) 454s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored (0.00s) 454s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled (0.01s) 454s --- PASS: TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.00s) 454s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry (0.00s) 454s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value (0.00s) 454s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry (0.00s) 454s --- PASS: TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values (0.01s) 454s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty (0.00s) 454s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces (0.00s) 454s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_uid (0.00s) 454s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory (0.00s) 454s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries (0.00s) 454s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_gid (0.00s) 454s === CONT TestCreateUnits/Write_single_unit 454s === CONT TestNew/Error_when_systemUnitDir_has_invalid_permissions 454s === CONT TestNew/Error_when_runDir_has_invalid_permissions 454s === CONT TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 454s === CONT TestCreateUnits/Write_krb5_tagged_unit 454s === CONT TestCreateUnits/Write_multiple_units 454s --- PASS: TestCreateUnits (0.00s) 454s --- PASS: TestCreateUnits/Write_single_unit (0.00s) 454s --- PASS: TestCreateUnits/Write_krb5_tagged_unit (0.00s) 454s --- PASS: TestCreateUnits/Write_multiple_units (0.00s) 454s === CONT TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 454s === CONT TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 454s === CONT TestWriteFileWithUIDGID/Error_when_invalid_gid 454s === CONT TestWriteFileWithUIDGID/Error_when_invalid_uid 454s --- PASS: TestWriteFileWithUIDGID (0.00s) 454s --- PASS: TestWriteFileWithUIDGID/Write_file_with_current_user_ownership (0.00s) 454s --- PASS: TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory (0.00s) 454s --- PASS: TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions (0.00s) 454s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_gid (0.00s) 454s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_uid (0.00s) 454s --- PASS: TestNew (0.00s) 454s --- PASS: TestNew/Creates_manager_successfully (0.00s) 454s --- PASS: TestNew/Error_when_runDir_has_invalid_permissions (0.00s) 454s --- PASS: TestNew/Error_when_systemUnitDir_has_invalid_permissions (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/policies/mount 0.071s 454s === RUN TestSplitAndNormalizeUsersAndGroups 454s === PAUSE TestSplitAndNormalizeUsersAndGroups 454s === RUN TestGetSystemPolkitAdminIdentities 454s === PAUSE TestGetSystemPolkitAdminIdentities 454s === RUN TestApplyPolicy 454s === PAUSE TestApplyPolicy 454s === CONT TestSplitAndNormalizeUsersAndGroups 454s === RUN TestSplitAndNormalizeUsersAndGroups/Group_one_value 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Group_one_value 454s === CONT TestApplyPolicy 454s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_< 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_< 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_* 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_* 454s === RUN TestSplitAndNormalizeUsersAndGroups/User_name_with_space 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/User_name_with_space 454s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_> 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_> 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_% 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_% 454s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 454s === RUN TestSplitAndNormalizeUsersAndGroups/Simple_one_value 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Simple_one_value 454s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_= 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_= 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_? 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_? 454s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_] 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_] 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_; 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_; 454s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 454s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 454s === RUN TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 454s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 454s === RUN TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 454s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_: 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_: 454s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_| 454s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_| 454s === CONT TestGetSystemPolkitAdminIdentities 454s === RUN TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 454s === PAUSE TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 454s === RUN TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 454s === PAUSE TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 454s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 454s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 454s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 454s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 454s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 454s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 454s === RUN TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 454s === PAUSE TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 454s === CONT TestSplitAndNormalizeUsersAndGroups/Group_one_value 454s === CONT TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_| 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u|s|er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_: 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u:s:er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 454s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"domain\\\\user\\\\foo\" to \"userfoo@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"domain\\\\user\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 454s === CONT TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"%g%r%oup@domain\" to \"%group@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 454s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_; 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u;s;er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_] 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u]s]er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u[s]er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_? 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u?s?er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_= 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u=s=er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 454s === CONT TestSplitAndNormalizeUsersAndGroups/Simple_one_value 454s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_% 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u%s%er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_> 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u>s>er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value 454s === CONT TestSplitAndNormalizeUsersAndGroups/User_name_with_space 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_* 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u*s*er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 454s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_< 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"u (0.00s) 454s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value (0.00s) 454s --- PASS: TestSplitAndNormalizeUsersAndGroups/User_name_with_space (0.00s) 454s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_* (0.00s) 454s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_< (0.00s) 454s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_/ (0.00s) 454s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL (0.00s) 454s === CONT TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 454s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 454s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 454s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 454s === CONT TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 454s time="2024-11-29T20:35:08Z" 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." 454s --- PASS: TestGetSystemPolkitAdminIdentities (0.00s) 454s --- PASS: TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists (0.00s) 454s --- PASS: TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure (0.00s) 454s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys (0.00s) 454s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file (0.00s) 454s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities (0.00s) 454s --- PASS: TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored (0.00s) 454s === RUN TestApplyPolicy/Disallow_local_admins_and_set_client_admins 454s === PAUSE TestApplyPolicy/Disallow_local_admins_and_set_client_admins 454s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 454s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 454s === RUN TestApplyPolicy/Disallow_local_admins 454s === PAUSE TestApplyPolicy/Disallow_local_admins 454s === RUN TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 454s === PAUSE TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 454s === RUN TestApplyPolicy/Set_client_group_admins 454s === PAUSE TestApplyPolicy/Set_client_group_admins 454s === RUN TestApplyPolicy/Overwrite_existing_sudoers_file 454s === PAUSE TestApplyPolicy/Overwrite_existing_sudoers_file 454s === RUN TestApplyPolicy/Overwrite_existing_polkit_file 454s === PAUSE TestApplyPolicy/Overwrite_existing_polkit_file 454s === RUN TestApplyPolicy/Not_a_computer 454s === PAUSE TestApplyPolicy/Not_a_computer 454s === RUN TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 454s === PAUSE TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 454s === RUN TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 454s === PAUSE TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 454s === RUN TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 454s === PAUSE TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 454s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 454s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 454s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 454s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 454s === RUN TestApplyPolicy/Don't_overwrite_other_existing_files 454s === PAUSE TestApplyPolicy/Don't_overwrite_other_existing_files 454s === RUN TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 454s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 454s === RUN TestApplyPolicy/No_rules_still_overwrite_those_files 454s === PAUSE TestApplyPolicy/No_rules_still_overwrite_those_files 454s === RUN TestApplyPolicy/Set_client_multiple_users_admins 454s === PAUSE TestApplyPolicy/Set_client_multiple_users_admins 454s === RUN TestApplyPolicy/No_client_AD_admins 454s === PAUSE TestApplyPolicy/No_client_AD_admins 454s === RUN TestApplyPolicy/Error_on_writing_to_polkit_conf_file 454s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_conf_file 454s === RUN TestApplyPolicy/Error_on_writing_to_sudoers_file 454s === PAUSE TestApplyPolicy/Error_on_writing_to_sudoers_file 454s === RUN TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 454s === PAUSE TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 454s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 454s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 454s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 454s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 454s === RUN TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 454s === PAUSE TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 454s === RUN TestApplyPolicy/Set_client_user_admins 454s === PAUSE TestApplyPolicy/Set_client_user_admins 454s === RUN TestApplyPolicy/Empty_client_AD_admins 454s === PAUSE TestApplyPolicy/Empty_client_AD_admins 454s === CONT TestApplyPolicy/Disallow_local_admins_and_set_client_admins 454s === CONT TestApplyPolicy/Error_on_writing_to_sudoers_file 454s === CONT TestApplyPolicy/Empty_client_AD_admins 454s === CONT TestApplyPolicy/Set_client_user_admins 454s === CONT TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 454s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 454s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 454s time="2024-11-29T20:35:08Z" level=warning msg="/tmp/TestApplyPolicyError_if_cant_rename_to_destination_for_polkit_conf_file1860652768/001/polkit-1/localauthority.conf.d/99-adsys-privilege-enforcement.conf is a directory. Ignoring." 454s === CONT TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 454s === CONT TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 454s === CONT TestApplyPolicy/Error_on_writing_to_polkit_conf_file 454s === CONT TestApplyPolicy/No_client_AD_admins 454s === CONT TestApplyPolicy/Set_client_multiple_users_admins 454s time="2024-11-29T20:35:08Z" level=warning msg="Changed user or group \"domain\\\\bob\" to \"bob@domain\": Invalid characters or domain\\user format" 454s === CONT TestApplyPolicy/No_rules_still_overwrite_those_files 454s === CONT TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 454s === CONT TestApplyPolicy/Don't_overwrite_other_existing_files 454s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 454s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 454s === CONT TestApplyPolicy/Overwrite_existing_sudoers_file 454s === CONT TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 454s === CONT TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 454s === CONT TestApplyPolicy/Not_a_computer 454s === CONT TestApplyPolicy/Overwrite_existing_polkit_file 454s === CONT TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 454s === CONT TestApplyPolicy/Set_client_group_admins 454s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 454s === CONT TestApplyPolicy/Disallow_local_admins 454s --- PASS: TestApplyPolicy (0.00s) 454s --- PASS: TestApplyPolicy/Disallow_local_admins_and_set_client_admins (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_writing_to_sudoers_file (0.00s) 454s --- PASS: TestApplyPolicy/Empty_client_AD_admins (0.00s) 454s --- PASS: TestApplyPolicy/Set_client_user_admins (0.00s) 454s --- PASS: TestApplyPolicy/No_rules_and_no_existing_history_means_no_files (0.00s) 454s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file (0.00s) 454s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory (0.00s) 454s --- PASS: TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_conf_file (0.00s) 454s --- PASS: TestApplyPolicy/Set_client_multiple_users_admins (0.00s) 454s --- PASS: TestApplyPolicy/No_client_AD_admins (0.00s) 454s --- PASS: TestApplyPolicy/No_rules_still_overwrite_those_files (0.00s) 454s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation (0.00s) 454s --- PASS: TestApplyPolicy/Don't_overwrite_other_existing_files (0.00s) 454s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.00s) 454s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins (0.00s) 454s --- PASS: TestApplyPolicy/Overwrite_existing_sudoers_file (0.00s) 454s --- PASS: TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins (0.00s) 454s --- PASS: TestApplyPolicy/Not_a_computer (0.00s) 454s --- PASS: TestApplyPolicy/Set_client_mixed_with_users_and_group_admins (0.00s) 454s --- PASS: TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop (0.00s) 454s --- PASS: TestApplyPolicy/Overwrite_existing_polkit_file (0.00s) 454s --- PASS: TestApplyPolicy/Set_client_group_admins (0.00s) 454s --- PASS: TestApplyPolicy/Disallow_local_admins (0.00s) 454s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/policies/privilege 0.027s 454s === RUN TestApplyPolicy 454s === PAUSE TestApplyPolicy 454s === RUN TestWarnOnUnsupportedKeys 454s --- PASS: TestWarnOnUnsupportedKeys (0.00s) 454s === RUN TestWarnOnMissingDBusService 454s --- PASS: TestWarnOnMissingDBusService (0.00s) 454s === CONT TestApplyPolicy 454s === RUN TestApplyPolicy/Computer,_all_entries_set 454s === PAUSE TestApplyPolicy/Computer,_all_entries_set 454s === RUN TestApplyPolicy/User,_non-empty_entries 454s === PAUSE TestApplyPolicy/User,_non-empty_entries 454s === RUN TestApplyPolicy/Error_when_D-Bus_call_fails 454s === PAUSE TestApplyPolicy/Error_when_D-Bus_call_fails 454s === RUN TestApplyPolicy/Computer,_no_entries 454s === PAUSE TestApplyPolicy/Computer,_no_entries 454s === RUN TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 454s === PAUSE TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 454s === RUN TestApplyPolicy/User,_no_entries 454s === PAUSE TestApplyPolicy/User,_no_entries 454s === RUN TestApplyPolicy/Computer,_single_enabled_entry 454s === PAUSE TestApplyPolicy/Computer,_single_enabled_entry 454s === RUN TestApplyPolicy/Computer,_single_disabled_entry 454s === PAUSE TestApplyPolicy/Computer,_single_disabled_entry 454s === CONT TestApplyPolicy/Computer,_all_entries_set 454s === CONT TestApplyPolicy/Computer,_single_disabled_entry 454s === CONT TestApplyPolicy/Computer,_single_enabled_entry 454s === CONT TestApplyPolicy/User,_no_entries 454s === CONT TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 454s === CONT TestApplyPolicy/Computer,_no_entries 454s === CONT TestApplyPolicy/Error_when_D-Bus_call_fails 454s === CONT TestApplyPolicy/User,_non-empty_entries 454s --- PASS: TestApplyPolicy (0.01s) 454s --- PASS: TestApplyPolicy/Computer,_all_entries_set (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_single_disabled_entry (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_single_enabled_entry (0.00s) 454s --- PASS: TestApplyPolicy/User,_no_entries (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error (0.00s) 454s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 454s --- PASS: TestApplyPolicy/Error_when_D-Bus_call_fails (0.00s) 454s --- PASS: TestApplyPolicy/User,_non-empty_entries (0.00s) 454s PASS 454s ok github.com/ubuntu/adsys/internal/policies/proxy 0.019s 455s === RUN TestNew 455s === PAUSE TestNew 455s === RUN TestApplyPolicy 455s === PAUSE TestApplyPolicy 455s === RUN TestRunScripts 455s === PAUSE TestRunScripts 455s === CONT TestNew 455s === RUN TestNew/create_manager 455s === PAUSE TestNew/create_manager 455s === RUN TestNew/error_on_read_only_rundir 455s === PAUSE TestNew/error_on_read_only_rundir 455s === CONT TestNew/create_manager 455s === CONT TestRunScripts 455s === RUN TestRunScripts/has_no_session_running_flag_after_user_logoff 455s === PAUSE TestRunScripts/has_no_session_running_flag_after_user_logoff 455s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 455s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 455s === RUN TestRunScripts/has_no_session_running_flag_after_machine_shutdown 455s === PAUSE TestRunScripts/has_no_session_running_flag_after_machine_shutdown 455s === RUN TestRunScripts/error_on_argument_not_a_file 455s === PAUSE TestRunScripts/error_on_argument_not_a_file 455s === RUN TestRunScripts/scripts_that_are_not_executable_are_skipped 455s === PAUSE TestRunScripts/scripts_that_are_not_executable_are_skipped 455s === RUN TestRunScripts/scripts_not_listed_are_not_run 455s === PAUSE TestRunScripts/scripts_not_listed_are_not_run 455s === RUN TestRunScripts/scripts_referenced_in_subdirectories 455s === PAUSE TestRunScripts/scripts_referenced_in_subdirectories 455s === RUN TestRunScripts/keeps_running_flag_after_non_user_logoff 455s === PAUSE TestRunScripts/keeps_running_flag_after_non_user_logoff 455s === RUN TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 455s === PAUSE TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 455s === RUN TestRunScripts/multiple_scripts_are_run_in_order 455s === PAUSE TestRunScripts/multiple_scripts_are_run_in_order 455s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 455s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 455s === RUN TestRunScripts/keeps_running_flag_after_non_machine_shutdown 455s === PAUSE TestRunScripts/keeps_running_flag_after_non_machine_shutdown 455s === RUN TestRunScripts/allow_order_file_missing 455s === PAUSE TestRunScripts/allow_order_file_missing 455s === RUN TestRunScripts/spaces_and_empty_lines_are_skipped 455s === PAUSE TestRunScripts/spaces_and_empty_lines_are_skipped 455s === RUN TestRunScripts/error_on_not_ready_for_execution 455s === PAUSE TestRunScripts/error_on_not_ready_for_execution 455s === RUN TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 455s === PAUSE TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 455s === RUN TestRunScripts/error_on_order_file_not_existing 455s === PAUSE TestRunScripts/error_on_order_file_not_existing 455s === RUN TestRunScripts/one_script 455s === PAUSE TestRunScripts/one_script 455s === CONT TestRunScripts/has_no_session_running_flag_after_user_logoff 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_user_logoff2734809437/001/users/foo/scripts/logoff\"" 455s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_machine_shutdown2390017794/001/machine/foo/scripts/shutdown\"" 455s === CONT TestRunScripts/multiple_scripts_are_run_in_order 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsmultiple_scripts_are_run_in_order2539960467/001/users/foo/scripts/s\"" 455s === CONT TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown3227071515/001/machine/foo/scripts/shutdown\"" 455s time="2024-11-29T20:35:09Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown3227071515/001/machine/foo/scripts/shutdown\" doesn't exist, but allowed to be missing, skipping" 455s === CONT TestRunScripts/keeps_running_flag_after_non_user_logoff 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_user_logoff4127792559/001/machine/foo/scripts/logoff\"" 455s === CONT TestRunScripts/scripts_referenced_in_subdirectories 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_referenced_in_subdirectories1303156891/001/users/foo/scripts/s\"" 455s === CONT TestRunScripts/scripts_not_listed_are_not_run 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_not_listed_are_not_run612657104/001/users/foo/scripts/s\"" 455s === CONT TestRunScripts/scripts_that_are_not_executable_are_skipped 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped2941498361/001/users/foo/scripts/s\"" 455s === CONT TestRunScripts/error_on_argument_not_a_file 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_argument_not_a_file340464917/001/users/foo/scripts/s\"" 455s === CONT TestRunScripts/has_no_session_running_flag_after_machine_shutdown 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_machine_shutdown1755118573/001/machine/foo/scripts/shutdown\"" 455s time="2024-11-29T20:35:09Z" level=warning msg="\"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped2941498361/001/users/foo/scripts/scripts/notexecutable.sh\" failed to run\nfork/exec /tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped2941498361/001/users/foo/scripts/scripts/notexecutable.sh: permission denied" 455s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_user_logoff2441946588/001/users/foo/scripts/logoff\"" 455s === CONT TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff982030764/001/users/foo/scripts/logoff\"" 455s time="2024-11-29T20:35:09Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff982030764/001/users/foo/scripts/logoff\" doesn't exist, but allowed to be missing, skipping" 455s === CONT TestApplyPolicy 455s === RUN TestApplyPolicy/One_directory,_multiple_scripts_in_order 455s === PAUSE TestApplyPolicy/One_directory,_multiple_scripts_in_order 455s === RUN TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 455s === PAUSE TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 455s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 455s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 455s === RUN TestApplyPolicy/Error_on_user_lookup_failing 455s === PAUSE TestApplyPolicy/Error_on_user_lookup_failing 455s === RUN TestApplyPolicy/Subfolder_with_same_script_name 455s === PAUSE TestApplyPolicy/Subfolder_with_same_script_name 455s === RUN TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 455s === PAUSE TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 455s === RUN TestApplyPolicy/Destination_is_already_running,_no_change 455s === PAUSE TestApplyPolicy/Destination_is_already_running,_no_change 455s === RUN TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 455s === PAUSE TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 455s === RUN TestApplyPolicy/No_entries_update_existing_non_ready_folder 455s === PAUSE TestApplyPolicy/No_entries_update_existing_non_ready_folder 455s === RUN TestApplyPolicy/One_script 455s === PAUSE TestApplyPolicy/One_script 455s === RUN TestApplyPolicy/Same_script_is_used_multiple_times 455s === PAUSE TestApplyPolicy/Same_script_is_used_multiple_times 455s === RUN TestApplyPolicy/Subfolder_with_script 455s === PAUSE TestApplyPolicy/Subfolder_with_script 455s === RUN TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 455s === PAUSE TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 455s === RUN TestApplyPolicy/Error_on_script_does_not_exist 455s === PAUSE TestApplyPolicy/Error_on_script_does_not_exist 455s === RUN TestApplyPolicy/Multiple_directories: 455s === PAUSE TestApplyPolicy/Multiple_directories: 455s === RUN TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 455s === PAUSE TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 455s === RUN TestApplyPolicy/Destination_is_not_ready,_refreshing 455s === PAUSE TestApplyPolicy/Destination_is_not_ready,_refreshing 455s === RUN TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 455s === PAUSE TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 455s === RUN TestApplyPolicy/Error_on_invalid_UID 455s === PAUSE TestApplyPolicy/Error_on_invalid_UID 455s === RUN TestApplyPolicy/Error_on_invalid_GID 455s === PAUSE TestApplyPolicy/Error_on_invalid_GID 455s === RUN TestApplyPolicy/No_entries_is_an_empty_folder 455s === PAUSE TestApplyPolicy/No_entries_is_an_empty_folder 455s === RUN TestApplyPolicy/Empty_entries_are_discared 455s === PAUSE TestApplyPolicy/Empty_entries_are_discared 455s === RUN TestApplyPolicy/Error_on_subfolder_listed 455s === PAUSE TestApplyPolicy/Error_on_subfolder_listed 455s === RUN TestApplyPolicy/Error_on_users_run_directory_Read_Only 455s === PAUSE TestApplyPolicy/Error_on_users_run_directory_Read_Only 455s === CONT TestNew/error_on_read_only_rundir 455s --- PASS: TestNew (0.00s) 455s --- PASS: TestNew/create_manager (0.00s) 455s --- PASS: TestNew/error_on_read_only_rundir (0.00s) 455s === CONT TestRunScripts/one_script 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsone_script4113299762/001/users/foo/scripts/s\"" 455s === CONT TestRunScripts/error_on_order_file_not_existing 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_order_file_not_existing1786625943/001/users/foo/scripts/s\"" 455s === CONT TestRunScripts/spaces_and_empty_lines_are_skipped 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsspaces_and_empty_lines_are_skipped3910988550/001/users/foo/scripts/s\"" 455s === CONT TestRunScripts/error_on_not_ready_for_execution 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_not_ready_for_execution3509929729/001/users/foo/scripts/s\"" 455s === CONT TestRunScripts/allow_order_file_missing 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsallow_order_file_missing3141863965/001/users/foo/scripts/s\"" 455s time="2024-11-29T20:35:09Z" level=info msg="\"/tmp/TestRunScriptsallow_order_file_missing3141863965/001/users/foo/scripts/s\" doesn't exist, but allowed to be missing, skipping" 455s === CONT TestRunScripts/keeps_running_flag_after_non_machine_shutdown 455s time="2024-11-29T20:35:09Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_machine_shutdown1564523761/001/users/foo/scripts/shutdown\"" 455s === CONT TestApplyPolicy/One_directory,_multiple_scripts_in_order 455s === CONT TestApplyPolicy/Error_on_users_run_directory_Read_Only 455s === CONT TestApplyPolicy/Error_on_subfolder_listed 455s === CONT TestApplyPolicy/Empty_entries_are_discared 455s === CONT TestApplyPolicy/No_entries_is_an_empty_folder 455s === CONT TestApplyPolicy/Error_on_invalid_GID 455s === CONT TestApplyPolicy/Error_on_invalid_UID 455s === CONT TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 455s time="2024-11-29T20:35:09Z" level=info msg="Running machine startup scripts" 455s === CONT TestApplyPolicy/Destination_is_not_ready,_refreshing 455s === CONT TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 455s === CONT TestApplyPolicy/Multiple_directories: 455s === CONT TestApplyPolicy/Error_on_script_does_not_exist 455s === CONT TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 455s === CONT TestApplyPolicy/Subfolder_with_script 455s === CONT TestApplyPolicy/Same_script_is_used_multiple_times 455s === CONT TestApplyPolicy/One_script 455s === CONT TestApplyPolicy/No_entries_update_existing_non_ready_folder 455s === CONT TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 455s === CONT TestApplyPolicy/Destination_is_already_running,_no_change 455s time="2024-11-29T20:35:09Z" level=info msg="\"/tmp/TestApplyPolicyDestination_is_already_running,_no_change950425335/001/machine/scripts/.running\" already exists, a session is already running, ignoring." 455s === CONT TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 455s time="2024-11-29T20:35:09Z" level=info msg="Running machine startup scripts" 455s === CONT TestApplyPolicy/Subfolder_with_same_script_name 455s === CONT TestApplyPolicy/Error_on_user_lookup_failing 455s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 455s === CONT TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 455s --- PASS: TestApplyPolicy (0.00s) 455s --- PASS: TestApplyPolicy/One_directory,_multiple_scripts_in_order (0.00s) 455s --- PASS: TestApplyPolicy/Error_on_users_run_directory_Read_Only (0.00s) 455s --- PASS: TestApplyPolicy/Error_on_subfolder_listed (0.00s) 455s --- PASS: TestApplyPolicy/Empty_entries_are_discared (0.00s) 455s --- PASS: TestApplyPolicy/No_entries_is_an_empty_folder (0.00s) 455s --- PASS: TestApplyPolicy/Error_on_invalid_GID (0.00s) 455s --- PASS: TestApplyPolicy/Error_on_invalid_UID (0.00s) 455s --- PASS: TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails (0.00s) 455s --- PASS: TestApplyPolicy/Destination_is_not_ready,_refreshing (0.00s) 455s --- PASS: TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup (0.00s) 455s --- PASS: TestApplyPolicy/Multiple_directories: (0.00s) 455s --- PASS: TestApplyPolicy/Error_on_script_does_not_exist (0.00s) 455s --- PASS: TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update (0.00s) 455s --- PASS: TestApplyPolicy/Subfolder_with_script (0.00s) 455s --- PASS: TestApplyPolicy/Same_script_is_used_multiple_times (0.00s) 455s --- PASS: TestApplyPolicy/One_script (0.00s) 455s --- PASS: TestApplyPolicy/No_entries_update_existing_non_ready_folder (0.00s) 455s --- PASS: TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing (0.00s) 455s --- PASS: TestApplyPolicy/Destination_is_already_running,_no_change (0.00s) 455s --- PASS: TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) (0.00s) 455s --- PASS: TestApplyPolicy/Subfolder_with_same_script_name (0.00s) 455s --- PASS: TestApplyPolicy/Error_on_user_lookup_failing (0.00s) 455s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 455s --- PASS: TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update (0.00s) 455s --- PASS: TestRunScripts (0.00s) 455s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown (0.01s) 455s --- PASS: TestRunScripts/has_no_session_running_flag_after_user_logoff (0.01s) 455s --- PASS: TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown (0.00s) 455s --- PASS: TestRunScripts/multiple_scripts_are_run_in_order (0.01s) 455s --- PASS: TestRunScripts/keeps_running_flag_after_non_user_logoff (0.01s) 455s --- PASS: TestRunScripts/scripts_not_listed_are_not_run (0.01s) 455s --- PASS: TestRunScripts/scripts_referenced_in_subdirectories (0.01s) 455s --- PASS: TestRunScripts/error_on_argument_not_a_file (0.00s) 455s --- PASS: TestRunScripts/scripts_that_are_not_executable_are_skipped (0.01s) 455s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff (0.01s) 455s --- PASS: TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff (0.00s) 455s --- PASS: TestRunScripts/has_no_session_running_flag_after_machine_shutdown (0.04s) 455s --- PASS: TestRunScripts/error_on_order_file_not_existing (0.00s) 455s --- PASS: TestRunScripts/one_script (0.02s) 455s --- PASS: TestRunScripts/error_on_not_ready_for_execution (0.00s) 455s --- PASS: TestRunScripts/allow_order_file_missing (0.00s) 455s --- PASS: TestRunScripts/spaces_and_empty_lines_are_skipped (0.01s) 455s --- PASS: TestRunScripts/keeps_running_flag_after_non_machine_shutdown (0.05s) 455s PASS 455s ok github.com/ubuntu/adsys/internal/policies/scripts 0.132s 455s === RUN TestExclusiveLockExec 455s --- PASS: TestExclusiveLockExec (0.01s) 455s === RUN TestExclusiveLockSmb 455s --- PASS: TestExclusiveLockSmb (0.01s) 455s === RUN TestMultipleExecLocksOnlyReleaseOnLast 455s --- PASS: TestMultipleExecLocksOnlyReleaseOnLast (0.01s) 455s === RUN TestMultipleSmbLocksOnlyReleaseOnLast 455s --- PASS: TestMultipleSmbLocksOnlyReleaseOnLast (0.01s) 455s PASS 455s ok github.com/ubuntu/adsys/internal/smbsafe 0.043s 455s === RUN TestAddStdoutForwarder 455s --- PASS: TestAddStdoutForwarder (0.00s) 455s === RUN TestAddStderrForwarder 455s --- PASS: TestAddStderrForwarder (0.00s) 455s === RUN TestAddStdoutForwarderEnsureStderrNoPolluted 455s --- PASS: TestAddStdoutForwarderEnsureStderrNoPolluted (0.00s) 455s === RUN TestAddForwarderAndDisconnect 455s --- PASS: TestAddForwarderAndDisconnect (0.00s) 455s === RUN TestAddForwardersGraduallyAndDisconnect 455s --- PASS: TestAddForwardersGraduallyAndDisconnect (0.01s) 455s === RUN TestAddForwarderDifferentWriterStdoutStderr 455s --- PASS: TestAddForwarderDifferentWriterStdoutStderr (0.00s) 455s === RUN TestAddForwarderSameWriterStdoutStderr 455s --- PASS: TestAddForwarderSameWriterStdoutStderr (0.00s) 455s === RUN TestAddStdoutForwarderWithBlockedStdout 455s time="2024-11-29T20:35:09Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 455s time="2024-11-29T20:35:09Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 455s time="2024-11-29T20:35:09Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 455s --- PASS: TestAddStdoutForwarderWithBlockedStdout (0.01s) 455s === RUN TestAddStderrForwarderWithBlockedStderr 455s time="2024-11-29T20:35:09Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 455s time="2024-11-29T20:35:09Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 455s time="2024-11-29T20:35:09Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 455s --- PASS: TestAddStderrForwarderWithBlockedStderr (0.01s) 455s === RUN TestAddStdoutForwarderOneWithFailingForwarder 455s time="2024-11-29T20:35:09Z" level=warning msg="Failed to forward log: Error from failedWriter" 455s time="2024-11-29T20:35:09Z" level=warning msg="Failed to forward log: Error from failedWriter" 455s time="2024-11-29T20:35:09Z" level=warning msg="Failed to forward log: Error from failedWriter" 455s --- PASS: TestAddStdoutForwarderOneWithFailingForwarder (0.01s) 455s PASS 455s ok github.com/ubuntu/adsys/internal/stdforward 0.051s 455s ? github.com/ubuntu/adsys/internal/testutils [no test files] 455s ? github.com/ubuntu/adsys/internal/watchdservice [no test files] 455s === RUN TestManageUnit 455s === PAUSE TestManageUnit 455s === RUN TestDaemonReload 455s === PAUSE TestDaemonReload 455s === CONT TestManageUnit 455s === CONT TestDaemonReload 455s === RUN TestManageUnit/Error_when_starting_unit_that_doesn't_exist 455s === PAUSE TestManageUnit/Error_when_starting_unit_that_doesn't_exist 455s === RUN TestManageUnit/Error_when_starting_failing_unit 455s === PAUSE TestManageUnit/Error_when_starting_failing_unit 455s === RUN TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 455s === PAUSE TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 455s === RUN TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 455s === PAUSE TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 455s === RUN TestManageUnit/Start_unit_that_exists 455s === PAUSE TestManageUnit/Start_unit_that_exists 455s === RUN TestManageUnit/Stop_unit_that_exists 455s === PAUSE TestManageUnit/Stop_unit_that_exists 455s === RUN TestManageUnit/Disable_unit_that_exists 455s === PAUSE TestManageUnit/Disable_unit_that_exists 455s === RUN TestManageUnit/Enable_unit_that_exists 455s === PAUSE TestManageUnit/Enable_unit_that_exists 455s === RUN TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 455s === PAUSE TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 455s === RUN TestManageUnit/Error_when_stopping_failing_unit 455s === PAUSE TestManageUnit/Error_when_stopping_failing_unit 455s === CONT TestManageUnit/Error_when_starting_unit_that_doesn't_exist 455s === CONT TestManageUnit/Stop_unit_that_exists 455s --- PASS: TestDaemonReload (0.00s) 455s === CONT TestManageUnit/Error_when_stopping_failing_unit 455s === CONT TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 455s === CONT TestManageUnit/Enable_unit_that_exists 455s === CONT TestManageUnit/Disable_unit_that_exists 455s === CONT TestManageUnit/Start_unit_that_exists 455s === CONT TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 455s === CONT TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 455s === CONT TestManageUnit/Error_when_starting_failing_unit 455s --- PASS: TestManageUnit (0.00s) 455s --- PASS: TestManageUnit/Error_when_starting_unit_that_doesn't_exist (0.00s) 455s --- PASS: TestManageUnit/Error_when_stopping_failing_unit (0.00s) 455s --- PASS: TestManageUnit/Stop_unit_that_exists (0.00s) 455s --- PASS: TestManageUnit/Enable_unit_that_exists (0.00s) 455s --- PASS: TestManageUnit/Error_when_stopping_unit_that_doesn't_exist (0.00s) 455s --- PASS: TestManageUnit/Disable_unit_that_exists (0.00s) 455s --- PASS: TestManageUnit/Start_unit_that_exists (0.00s) 455s --- PASS: TestManageUnit/Error_when_disabling_unit_that_doesn't_exist (0.00s) 455s --- PASS: TestManageUnit/Error_when_enabling_unit_that_doesn't_exist (0.00s) 455s --- PASS: TestManageUnit/Error_when_starting_failing_unit (0.00s) 455s PASS 455s ok github.com/ubuntu/adsys/internal/systemd 0.017s 456s === RUN TestInteractiveInput 456s === RUN TestInteractiveInput/Other_navigation_tests 456s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 456s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 456s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 456s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 456s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 456s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 456s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 456s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 456s === RUN TestInteractiveInput/Submit_with_default_config 456s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 456s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 456s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 456s === RUN TestInteractiveInput/Submit_with_duplicate_directories 456s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 456s === RUN TestInteractiveInput/Initial_view 456s === RUN TestInteractiveInput/Config_file_exists 456s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 456s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 456s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 456s === RUN TestInteractiveInput/Directory_exists 456s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 456s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 456s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 456s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 456s --- PASS: TestInteractiveInput (0.02s) 456s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 456s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 456s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 456s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.00s) 456s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.00s) 456s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 456s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 456s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.00s) 456s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.00s) 456s --- PASS: TestInteractiveInput/Submit_with_default_config (0.00s) 456s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 456s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 456s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 456s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 456s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 456s --- PASS: TestInteractiveInput/Initial_view (0.00s) 456s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 456s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 456s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 456s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.00s) 456s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 456s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 456s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 456s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 456s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 456s === RUN TestInteractiveInstall 456s watchdtui_test.go:408: Test has to be run as root, skipping... 456s --- SKIP: TestInteractiveInstall (0.00s) 456s === RUN TestInteractiveUpdate 456s watchdtui_test.go:456: Test has to be run as root, skipping... 456s --- SKIP: TestInteractiveUpdate (0.00s) 456s PASS 456s ok github.com/ubuntu/adsys/internal/watchdtui 0.022s 456s ? github.com/ubuntu/adsys/po [no test files] 456s ? github.com/ubuntu/adsys/policies [no test files] 460s === RUN TestWatchDirectory 460s === PAUSE TestWatchDirectory 460s === RUN TestRefreshGracePeriod 460s === PAUSE TestRefreshGracePeriod 460s === RUN TestUpdateDirs 460s === PAUSE TestUpdateDirs 460s === RUN TestUpdateDirsFailing 460s === PAUSE TestUpdateDirsFailing 460s === RUN TestUpdateDirsWithEmptyDirSlice 460s === PAUSE TestUpdateDirsWithEmptyDirSlice 460s === RUN TestUpdateDirsOnStoppedWatcher 460s === PAUSE TestUpdateDirsOnStoppedWatcher 460s === RUN TestStopWithoutStart 460s === PAUSE TestStopWithoutStart 460s === CONT TestWatchDirectory 460s === RUN TestWatchDirectory/New_file,_no_gpt.ini 460s === PAUSE TestWatchDirectory/New_file,_no_gpt.ini 460s === RUN TestWatchDirectory/No_update,_no_gpt.ini 460s === PAUSE TestWatchDirectory/No_update,_no_gpt.ini 460s === RUN TestWatchDirectory/New_file,_subdir 460s === PAUSE TestWatchDirectory/New_file,_subdir 460s === RUN TestWatchDirectory/Error_on_non_existing_directory 460s === PAUSE TestWatchDirectory/Error_on_non_existing_directory 460s === RUN TestWatchDirectory/Error_on_listing_no_directory 460s === PAUSE TestWatchDirectory/Error_on_listing_no_directory 460s === RUN TestWatchDirectory/No_update,_existing_gpt.ini 460s === PAUSE TestWatchDirectory/No_update,_existing_gpt.ini 460s === RUN TestWatchDirectory/New_subdir 460s === PAUSE TestWatchDirectory/New_subdir 460s === RUN TestWatchDirectory/Combined_case 460s === PAUSE TestWatchDirectory/Combined_case 460s === RUN TestWatchDirectory/Multiple_directories,_only_one_is_updated 460s === PAUSE TestWatchDirectory/Multiple_directories,_only_one_is_updated 460s === RUN TestWatchDirectory/Error_on_updating_malformed_GPT.ini 460s === PAUSE TestWatchDirectory/Error_on_updating_malformed_GPT.ini 460s === RUN TestWatchDirectory/Existing_file,_subdir 460s === PAUSE TestWatchDirectory/Existing_file,_subdir 460s === RUN TestWatchDirectory/Multiple_nested_subdirectories 460s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories 460s === RUN TestWatchDirectory/Update_with_existing_gpt.ini 460s === PAUSE TestWatchDirectory/Update_with_existing_gpt.ini 460s === RUN TestWatchDirectory/Update_existing_file 460s === PAUSE TestWatchDirectory/Update_existing_file 460s === RUN TestWatchDirectory/Updating_gpt.ini_is_a_no-op 460s === PAUSE TestWatchDirectory/Updating_gpt.ini_is_a_no-op 460s === RUN TestWatchDirectory/Remove_file 460s === PAUSE TestWatchDirectory/Remove_file 460s === RUN TestWatchDirectory/Rename_file 460s === PAUSE TestWatchDirectory/Rename_file 460s === RUN TestWatchDirectory/Rename_file_and_update 460s === PAUSE TestWatchDirectory/Rename_file_and_update 460s === RUN TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 460s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 460s === RUN TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 460s === PAUSE TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 460s === RUN TestWatchDirectory/Remove_root_directory 460s === PAUSE TestWatchDirectory/Remove_root_directory 460s === RUN TestWatchDirectory/Nested_new_subdirs 460s === PAUSE TestWatchDirectory/Nested_new_subdirs 460s === RUN TestWatchDirectory/New_subdir_without_file 460s === PAUSE TestWatchDirectory/New_subdir_without_file 460s === CONT TestWatchDirectory/New_file,_no_gpt.ini 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_no_gpt.ini802282200/001/no_gpt and children" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini802282200/001/no_gpt" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini802282200/001/no_gpt/testfile" 460s === CONT TestStopWithoutStart 460s --- PASS: TestStopWithoutStart (0.00s) 460s === CONT TestUpdateDirsOnStoppedWatcher 460s time="2024-11-29T20:35:10Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir]" 460s time="2024-11-29T20:35:10Z" level=warning msg="Error stopping watcher: the service is already stopping or not running" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir and children" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/alreadyexistsDir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini802282200/001/no_gpt/new\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini802282200/001/no_gpt/new\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:10Z" level=info msg="Bumping version for /tmp/TestUpdateDirsOnStoppedWatcher370838409/001/curdir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:10Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_no_gpt.ini802282200/001/no_gpt/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryNew_file,_no_gpt.ini802282200/001/no_gpt/GPT.INI: no such file or directory, creating a new file" 460s --- PASS: TestUpdateDirsOnStoppedWatcher (0.26s) 460s === CONT TestUpdateDirsWithEmptyDirSlice 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestUpdateDirsWithEmptyDirSlice1972714359/001/watchdir and children" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1972714359/001/watchdir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1972714359/001/watchdir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1972714359/001/watchdir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1972714359/001/watchdir/alreadyexistsDir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1972714359/001/watchdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1972714359/001/watchdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Updating directories to []" 460s time="2024-11-29T20:35:10Z" level=info msg="Watcher stopped" 460s === CONT TestUpdateDirsFailing 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing3745931951/001/remove and children" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/remove" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/remove/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/remove/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/remove/alreadyexistsDir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/remove/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/remove/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing3745931951/001/keep and children" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/keep" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/keep/GPT.INI" 460s --- PASS: TestUpdateDirsWithEmptyDirSlice (0.02s) 460s === CONT TestUpdateDirs 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/keep/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/keep/alreadyexistsDir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/keep/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3745931951/001/keep/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsFailing3745931951/001/keep unexisting]" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3745931951/001/keep/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3745931951/001/keep/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3745931951/001/keep/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3745931951/001/keep/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3745931951/001/remove/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3745931951/001/remove/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3745931951/001/remove/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3745931951/001/remove/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:10Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing3745931951/001/keep/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestUpdateDirs1764791517/001/remove and children" 460s time="2024-11-29T20:35:10Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing3745931951/001/remove/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/remove" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/remove/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/remove/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/remove/alreadyexistsDir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/remove/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/remove/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestUpdateDirs1764791517/001/keep and children" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/alreadyexistsDir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/remove/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/remove/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/remove/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/remove/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirs1764791517/001/keep /tmp/TestUpdateDirs1764791517/001/add]" 460s time="2024-11-29T20:35:10Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:10Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1764791517/001/remove/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestUpdateDirs1764791517/001/keep and children" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/alreadyexistsDir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/keep/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestUpdateDirs1764791517/001/add and children" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/add" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/add/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/add/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/add/alreadyexistsDir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/add/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestUpdateDirs1764791517/001/add/alreadyexistsDir/alreadyexists" 460s --- PASS: TestUpdateDirsFailing (0.23s) 460s === CONT TestRefreshGracePeriod 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching /tmp/TestRefreshGracePeriod2622350527/001/withsubdir and children" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2622350527/001/withsubdir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2622350527/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:10Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexists\"" 460s time="2024-11-29T20:35:10Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/keep/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/keep/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/keep/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/keep/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/add/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/add/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/add/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1764791517/001/add/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:11Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1764791517/001/keep/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1764791517/001/add/GPT.INI" 460s --- PASS: TestUpdateDirs (0.54s) 460s === CONT TestWatchDirectory/New_subdir_without_file 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir and children" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir/newsubdir\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir/newsubdir\"" 460s time="2024-11-29T20:35:11Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:11Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir_without_file1709778045/001/withsubdir/GPT.INI" 460s === CONT TestWatchDirectory/Nested_new_subdirs 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir and children" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/otherdir\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/otherdir and children" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/otherdir" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/otherdir/subdir" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/otherdir/subdir/file" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:11Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNested_new_subdirs2699353270/001/withsubdir/GPT.INI" 460s === CONT TestWatchDirectory/Remove_root_directory 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file and children" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/GPT.INI\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/GPT.INI\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/GPT.INI\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file" 460s time="2024-11-29T20:35:11Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:11Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/GPT.INI: no such file or directory, creating a new file" 460s time="2024-11-29T20:35:11Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/GPT.INI: open /tmp/TestWatchDirectoryRemove_root_directory649552031/001/one_file/GPT.INI: no such file or directory" 460s === CONT TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/one_file and children" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/one_file" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir and children" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:11Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir/alreadyexists\"" 460s time="2024-11-29T20:35:11Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir/alreadyexists\"" 460s time="2024-11-29T20:35:12Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:12Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2762444325/001/withsubdir/GPT.INI" 460s === CONT TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir and children" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir and children" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:12Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:12Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2265003219/001/withsubdir/alreadyexistsDir/GPT.INI" 460s === CONT TestWatchDirectory/Rename_file_and_update 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file_and_update1773724363/001/one_file and children" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update1773724363/001/one_file" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update1773724363/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update1773724363/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file_and_update1773724363/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file_and_update1773724363/001/one_file/alreadyexists.bak\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryRename_file_and_update1773724363/001/one_file/alreadyexists.bak\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryRename_file_and_update1773724363/001/one_file/alreadyexists.bak\"" 460s time="2024-11-29T20:35:12Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:12Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file_and_update1773724363/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod2622350527/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/GPT.INI\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/GPT.INI\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/GPT.INI\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2622350527/001/withsubdir/GPT.INI\"" 460s === CONT TestWatchDirectory/Rename_file 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file3361058121/001/one_file and children" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file3361058121/001/one_file" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file3361058121/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file3361058121/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file3361058121/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file3361058121/001/one_file/alreadyexists.bak\"" 460s time="2024-11-29T20:35:12Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:12Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file3361058121/001/one_file/GPT.INI" 460s === CONT TestWatchDirectory/Remove_file 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_file4193175457/001/one_file and children" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file4193175457/001/one_file" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:12Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:12Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_file4193175457/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=info msg="Watcher stopped" 460s --- PASS: TestRefreshGracePeriod (1.97s) 460s === CONT TestWatchDirectory/Updating_gpt.ini_is_a_no-op 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2100758155/001/one_file and children" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2100758155/001/one_file" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2100758155/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:12Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2100758155/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2100758155/001/one_file/GPT.INI\"" 460s time="2024-11-29T20:35:12Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op2100758155/001/one_file/GPT.INI\"" 460s === CONT TestWatchDirectory/Update_existing_file 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_existing_file3154775950/001/one_file and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3154775950/001/one_file" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3154775950/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3154775950/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file3154775950/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file3154775950/001/one_file/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:13Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_existing_file3154775950/001/one_file/GPT.INI" 460s === CONT TestWatchDirectory/Update_with_existing_gpt.ini 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4119958429/001/one_file and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4119958429/001/one_file" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4119958429/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4119958429/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4119958429/001/one_file/new\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4119958429/001/one_file/new\"" 460s === CONT TestWatchDirectory/Multiple_nested_subdirectories 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/new\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/new\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:13Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4119958429/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:13Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories2513562935/001/withsubdir/alreadyexistsDir/GPT.INI" 460s === CONT TestWatchDirectory/Existing_file,_subdir 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s === CONT TestWatchDirectory/Error_on_updating_malformed_GPT.ini 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2691124257/001/malformed and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2691124257/001/malformed" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2691124257/001/malformed/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2691124257/001/malformed/new\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2691124257/001/malformed/new\"" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:13Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryExisting_file,_subdir1415056148/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:13Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2691124257/001/malformed/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2691124257/001/malformed/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2691124257/001/malformed/GPT.INI: strconv.ParseInt: parsing \"??\": invalid syntax" 460s === CONT TestWatchDirectory/Multiple_directories,_only_one_is_updated 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/one_file and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/one_file" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir/alreadyexists\"" 460s === CONT TestWatchDirectory/Combined_case 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/new\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/new\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/dir\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/dir and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/dir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/dir/file" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexistsDir/alreadyexists\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexistsDir/new\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/alreadyexistsDir/new\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/otherdir\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/otherdir and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/otherdir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/otherdir/subdir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/otherdir/subdir/file" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/newdir\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/newdir\"" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:13Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3407545829/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:13Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryCombined_case2511718706/001/withsubdir/GPT.INI" 460s === CONT TestWatchDirectory/New_subdir 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/dir\"" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/dir and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/dir" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/dir/file" 460s === CONT TestWatchDirectory/No_update,_existing_gpt.ini 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2061005134/001/one_file and children" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2061005134/001/one_file" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2061005134/001/one_file/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2061005134/001/one_file/alreadyexists" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:13Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir1004589229/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:13Z" level=info msg="Watcher stopped" 460s === CONT TestWatchDirectory/Error_on_listing_no_directory 460s === CONT TestWatchDirectory/Error_on_non_existing_directory 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_non_existing_directory3610394064/001/doesnotexist and children" 460s === CONT TestWatchDirectory/New_file,_subdir 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir and children" 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir" 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir/alreadyexists" 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir/alreadyexistsDir" 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir/alreadyexistsDir/GPT.INI" 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir/alreadyexistsDir/alreadyexists" 460s time="2024-11-29T20:35:14Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir/alreadyexistsDir/new\"" 460s time="2024-11-29T20:35:14Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir/alreadyexistsDir/new\"" 460s === CONT TestWatchDirectory/No_update,_no_gpt.ini 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_no_gpt.ini1862186124/001/no_gpt and children" 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini1862186124/001/no_gpt" 460s time="2024-11-29T20:35:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini1862186124/001/no_gpt/testfile" 460s time="2024-11-29T20:35:14Z" level=info msg="Watcher stopped" 460s time="2024-11-29T20:35:14Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_subdir2841737135/001/withsubdir/GPT.INI" 460s time="2024-11-29T20:35:14Z" level=info msg="Watcher stopped" 460s --- PASS: TestWatchDirectory (0.00s) 460s --- PASS: TestWatchDirectory/New_file,_no_gpt.ini (0.27s) 460s --- PASS: TestWatchDirectory/New_subdir_without_file (0.22s) 460s --- PASS: TestWatchDirectory/Nested_new_subdirs (0.23s) 460s --- PASS: TestWatchDirectory/Remove_root_directory (0.21s) 460s --- PASS: TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated (0.21s) 460s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file (0.22s) 460s --- PASS: TestWatchDirectory/Rename_file_and_update (0.22s) 460s --- PASS: TestWatchDirectory/Rename_file (0.22s) 460s --- PASS: TestWatchDirectory/Remove_file (0.22s) 460s --- PASS: TestWatchDirectory/Updating_gpt.ini_is_a_no-op (0.22s) 460s --- PASS: TestWatchDirectory/Update_existing_file (0.21s) 460s --- PASS: TestWatchDirectory/Update_with_existing_gpt.ini (0.22s) 460s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories (0.23s) 460s --- PASS: TestWatchDirectory/Existing_file,_subdir (0.22s) 460s --- PASS: TestWatchDirectory/Error_on_updating_malformed_GPT.ini (0.22s) 460s --- PASS: TestWatchDirectory/Multiple_directories,_only_one_is_updated (0.22s) 460s --- PASS: TestWatchDirectory/Combined_case (0.22s) 460s --- PASS: TestWatchDirectory/New_subdir (0.22s) 460s --- PASS: TestWatchDirectory/Error_on_listing_no_directory (0.00s) 460s --- PASS: TestWatchDirectory/Error_on_non_existing_directory (0.00s) 460s --- PASS: TestWatchDirectory/No_update,_existing_gpt.ini (0.22s) 460s --- PASS: TestWatchDirectory/New_file,_subdir (0.22s) 460s --- PASS: TestWatchDirectory/No_update,_no_gpt.ini (0.22s) 460s PASS 460s ok github.com/ubuntu/adsys/internal/watcher 3.880s 460s autopkgtest [20:35:14]: test command1: -----------------------] 461s command1 PASS 461s autopkgtest [20:35:15]: test command1: - - - - - - - - - - results - - - - - - - - - - 461s autopkgtest [20:35:15]: test command2: preparing testbed 462s Reading package lists... 462s Building dependency tree... 462s Reading state information... 462s Starting pkgProblemResolver with broken count: 0 462s Starting 2 pkgProblemResolver with broken count: 0 462s Done 462s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 463s autopkgtest [20:35:17]: test command2: ./debian/tests/test sudo 463s autopkgtest [20:35:17]: test command2: [----------------------- 463s Running root tests... 614s === RUN TestRunFailsWhenServiceIsRunning 614s --- PASS: TestRunFailsWhenServiceIsRunning (5.57s) 614s === RUN TestRunWithForceWhenServiceIsRunning 614s time="2024-11-29T20:35:56Z" level=warning msg="another instance of the adwatchd service is already running" 614s --- PASS: TestRunWithForceWhenServiceIsRunning (5.81s) 614s === RUN TestRunWithNoDirs 614s === PAUSE TestRunWithNoDirs 614s === RUN TestRunReactsToConfigUpdates 614s time="2024-11-29T20:35:57Z" level=warning msg="Service binary path does not match executable path\nService binary path: /tmp/go-build4128691675/b370/watchdtui.test\nCurrent executable path: /tmp/go-build4128691675/b001/integration_tests.test" 614s time="2024-11-29T20:35:57Z" level=info msg="/tmp/autopkgtest.8y3mPa/build.cgM/src/internal/watchdservice/watchdservice.go:127 (*WatchdService).UpdateDirs() Updating directories to watch" 614s time="2024-11-29T20:35:57Z" level=debug msg="/tmp/autopkgtest.8y3mPa/build.cgM/src/internal/watcher/watcher.go:170 (*Watcher).UpdateDirs() Updating directories to [non-existent-dir]" 614s time="2024-11-29T20:35:57Z" level=warning msg="/tmp/autopkgtest.8y3mPa/build.cgM/src/cmd/adwatchd/commands/main.go:115 New.func1.1() failed to update directories: failed to change directories to watch: can't update directories to watch: directory \"non-existent-dir\" does not exist" 614s time="2024-11-29T20:35:57Z" level=info msg="/tmp/autopkgtest.8y3mPa/build.cgM/src/internal/watcher/watcher.go:300 (*Watcher).watch() Watcher stopped" 614s --- PASS: TestRunReactsToConfigUpdates (0.41s) 614s === RUN TestServiceStateChange 614s === RUN TestServiceStateChange/install 614s === RUN TestServiceStateChange/uninstall_and_install 614s === RUN TestServiceStateChange/uninstall_and_start 614s === RUN TestServiceStateChange/start 614s === RUN TestServiceStateChange/uninstall_and_restart 614s === RUN TestServiceStateChange/uninstall_multiple_times 614s === RUN TestServiceStateChange/uninstall_and_stop 614s === RUN TestServiceStateChange/stop_multiple_times 614s === RUN TestServiceStateChange/uninstall 614s === RUN TestServiceStateChange/start_multiple_times 614s === RUN TestServiceStateChange/start_and_stop 614s === RUN TestServiceStateChange/start_and_restart 614s === RUN TestServiceStateChange/start_and_uninstall 614s === RUN TestServiceStateChange/restart 614s --- PASS: TestServiceStateChange (98.08s) 614s --- PASS: TestServiceStateChange/install (6.62s) 614s --- PASS: TestServiceStateChange/uninstall_and_install (12.03s) 614s --- PASS: TestServiceStateChange/uninstall_and_start (6.60s) 614s --- PASS: TestServiceStateChange/start (6.63s) 614s --- PASS: TestServiceStateChange/uninstall_and_restart (6.69s) 614s --- PASS: TestServiceStateChange/uninstall_multiple_times (6.60s) 614s --- PASS: TestServiceStateChange/uninstall_and_stop (6.62s) 614s --- PASS: TestServiceStateChange/stop_multiple_times (6.57s) 614s --- PASS: TestServiceStateChange/uninstall (6.60s) 614s --- PASS: TestServiceStateChange/start_multiple_times (6.56s) 614s --- PASS: TestServiceStateChange/start_and_stop (6.71s) 614s --- PASS: TestServiceStateChange/start_and_restart (6.57s) 614s --- PASS: TestServiceStateChange/start_and_uninstall (6.68s) 614s --- PASS: TestServiceStateChange/restart (6.61s) 614s === RUN TestServiceStartWithABadDir 614s adwatchd_service_test.go:94: 614s --- SKIP: TestServiceStartWithABadDir (0.00s) 614s === RUN TestInstall 614s --- PASS: TestInstall (5.51s) 614s === RUN TestCreateAndUpdateGPT 614s === PAUSE TestCreateAndUpdateGPT 614s === RUN TestServiceStatusContainsCorrectDirs 614s adwatchd_service_test.go:202: This test is Windows-only 614s --- SKIP: TestServiceStatusContainsCorrectDirs (0.00s) 614s === RUN TestServiceConfigFlagUsage 614s === RUN TestServiceConfigFlagUsage/start 614s Usage: 614s adwatchd service start [flags] 614s 614s Flags: 614s -h, --help help for start 614s 614s Global Flags: 614s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 614s 614s === RUN TestServiceConfigFlagUsage/restart 614s Usage: 614s adwatchd service restart [flags] 614s 614s Flags: 614s -h, --help help for restart 614s 614s Global Flags: 614s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 614s 614s === RUN TestServiceConfigFlagUsage/uninstall 614s Usage: 614s adwatchd service uninstall [flags] 614s 614s Flags: 614s -h, --help help for uninstall 614s 614s Global Flags: 614s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 614s 614s === RUN TestServiceConfigFlagUsage/status 614s Usage: 614s adwatchd service status [flags] 614s 614s Flags: 614s -h, --help help for status 614s 614s Global Flags: 614s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 614s 614s === RUN TestServiceConfigFlagUsage/install 614s --- PASS: TestServiceConfigFlagUsage (0.01s) 614s --- PASS: TestServiceConfigFlagUsage/start (0.00s) 614s --- PASS: TestServiceConfigFlagUsage/restart (0.00s) 614s --- PASS: TestServiceConfigFlagUsage/uninstall (0.00s) 614s --- PASS: TestServiceConfigFlagUsage/status (0.00s) 614s --- PASS: TestServiceConfigFlagUsage/install (0.00s) 614s === CONT TestRunWithNoDirs 614s === CONT TestCreateAndUpdateGPT 614s --- PASS: TestRunWithNoDirs (0.00s) 614s --- PASS: TestCreateAndUpdateGPT (7.22s) 614s PASS 614s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 122.616s 614s === RUN TestInteractiveInput 614s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 614s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 614s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 614s === RUN TestInteractiveInput/Submit_with_default_config 614s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 614s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 614s === RUN TestInteractiveInput/Directory_exists 614s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 614s === RUN TestInteractiveInput/Submit_with_duplicate_directories 614s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 614s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 614s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 614s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 614s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 614s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 614s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 614s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 614s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 614s === RUN TestInteractiveInput/Other_navigation_tests 614s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 614s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 614s === RUN TestInteractiveInput/Initial_view 614s === RUN TestInteractiveInput/Config_file_exists 614s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 614s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 614s --- PASS: TestInteractiveInput (0.02s) 614s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.00s) 614s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 614s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.00s) 614s --- PASS: TestInteractiveInput/Submit_with_default_config (0.00s) 614s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 614s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.00s) 614s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 614s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 614s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 614s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 614s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 614s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 614s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 614s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 614s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 614s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 614s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 614s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 614s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 614s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 614s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 614s --- PASS: TestInteractiveInput/Initial_view (0.00s) 614s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 614s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.00s) 614s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.00s) 614s === RUN TestInteractiveInstall 614s time="2024-11-29T20:35:46Z" level=info msg="Installing watcher service" 614s time="2024-11-29T20:35:53Z" level=info msg="Uninstalling watcher service" 614s --- PASS: TestInteractiveInstall (6.65s) 614s === RUN TestInteractiveUpdate 614s === RUN TestInteractiveUpdate/Change_directories,_same_config_file 614s time="2024-11-29T20:35:53Z" level=info msg="Installing watcher service" 614s time="2024-11-29T20:36:00Z" level=info msg="Uninstalling watcher service" 614s === RUN TestInteractiveUpdate/Change_directories,_different_config_file 614s time="2024-11-29T20:36:01Z" level=info msg="Installing watcher service" 614s time="2024-11-29T20:36:07Z" level=info msg="Uninstalling watcher service" 614s time="2024-11-29T20:36:07Z" level=info msg="Installing watcher service" 614s time="2024-11-29T20:36:13Z" level=info msg="Uninstalling watcher service" 614s --- PASS: TestInteractiveUpdate (20.69s) 614s --- PASS: TestInteractiveUpdate/Change_directories,_same_config_file (7.60s) 614s --- PASS: TestInteractiveUpdate/Change_directories,_different_config_file (13.08s) 614s PASS 614s ok github.com/ubuntu/adsys/internal/watchdtui 27.356s 615s autopkgtest [20:37:49]: test command2: -----------------------] 615s command2 PASS 615s autopkgtest [20:37:49]: test command2: - - - - - - - - - - results - - - - - - - - - - 615s autopkgtest [20:37:49]: @@@@@@@@@@@@@@@@@@@@ summary 615s command1 PASS 615s command2 PASS 627s nova [W] Skipping flock for amd64 627s Creating nova instance adt-jammy-amd64-adsys-20241129-202734-juju-7f2275-prod-proposed-migration-environment-15-c7f567c3-f30b-4dd0-8b2f-4943127c3191 from image adt/ubuntu-jammy-amd64-server-20241129.img (UUID 90346272-7eef-44a7-bc5a-f167752b884d)... 627s nova [W] nova quota exceeded (attempt #0)