0s autopkgtest [13:13:54]: starting date and time: 2025-06-17 13:13:54+0000 0s autopkgtest [13:13:54]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [13:13:54]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.j0pxjpac/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:gvfs --apt-upgrade adsys --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=gvfs/1.54.4-0ubuntu1~24.04.1' -- lxd -r lxd-armhf-10.145.243.58 lxd-armhf-10.145.243.58:autopkgtest/ubuntu/noble/armhf 19s autopkgtest [13:14:13]: testbed dpkg architecture: armhf 21s autopkgtest [13:14:15]: testbed apt version: 2.8.3 25s autopkgtest [13:14:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 26s autopkgtest [13:14:20]: testbed release detected to be: None 34s autopkgtest [13:14:28]: updating testbed package index (apt update) 36s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [265 kB] 36s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 36s Get:3 http://ftpmaster.internal/ubuntu noble-updates InRelease [126 kB] 36s Get:4 http://ftpmaster.internal/ubuntu noble-security InRelease [126 kB] 36s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [36.9 kB] 36s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [78.9 kB] 36s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [69.3 kB] 36s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [88.2 kB] 36s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2252 B] 36s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1888 B] 36s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 36s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [284 kB] 36s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [2608 B] 36s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 36s Get:15 http://ftpmaster.internal/ubuntu noble-updates/restricted Sources [38.3 kB] 36s Get:16 http://ftpmaster.internal/ubuntu noble-updates/main Sources [417 kB] 36s Get:17 http://ftpmaster.internal/ubuntu noble-updates/main armhf Packages [584 kB] 36s Get:18 http://ftpmaster.internal/ubuntu noble-updates/universe armhf Packages [844 kB] 36s Get:19 http://ftpmaster.internal/ubuntu noble-security/main Sources [176 kB] 36s Get:20 http://ftpmaster.internal/ubuntu noble-security/main armhf Packages [352 kB] 36s Get:21 http://ftpmaster.internal/ubuntu noble-security/universe armhf Packages [629 kB] 38s Fetched 4123 kB in 1s (3442 kB/s) 39s Reading package lists... 45s autopkgtest [13:14:39]: upgrading testbed (apt dist-upgrade and autopurge) 46s Reading package lists... 47s Building dependency tree... 47s Reading state information... 47s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 47s Starting 2 pkgProblemResolver with broken count: 0 47s Done 48s Entering ResolveByKeep 48s 48s The following packages will be upgraded: 48s libpython3.12-minimal libpython3.12-stdlib python3-requests python3.12 48s python3.12-minimal 49s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49s Need to get 5451 kB of archives. 49s After this operation, 1024 B of additional disk space will be used. 49s Get:1 http://ftpmaster.internal/ubuntu noble-updates/main armhf python3.12 armhf 3.12.3-1ubuntu0.6 [651 kB] 49s Get:2 http://ftpmaster.internal/ubuntu noble-updates/main armhf libpython3.12-stdlib armhf 3.12.3-1ubuntu0.6 [1926 kB] 49s Get:3 http://ftpmaster.internal/ubuntu noble-updates/main armhf python3.12-minimal armhf 3.12.3-1ubuntu0.6 [2005 kB] 49s Get:4 http://ftpmaster.internal/ubuntu noble-updates/main armhf libpython3.12-minimal armhf 3.12.3-1ubuntu0.6 [819 kB] 49s Get:5 http://ftpmaster.internal/ubuntu noble-updates/main armhf python3-requests all 2.31.0+dfsg-1ubuntu1.1 [50.8 kB] 50s Fetched 5451 kB in 1s (6662 kB/s) 50s (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 ... 58040 files and directories currently installed.) 50s Preparing to unpack .../python3.12_3.12.3-1ubuntu0.6_armhf.deb ... 50s Unpacking python3.12 (3.12.3-1ubuntu0.6) over (3.12.3-1ubuntu0.5) ... 50s Preparing to unpack .../libpython3.12-stdlib_3.12.3-1ubuntu0.6_armhf.deb ... 50s Unpacking libpython3.12-stdlib:armhf (3.12.3-1ubuntu0.6) over (3.12.3-1ubuntu0.5) ... 50s Preparing to unpack .../python3.12-minimal_3.12.3-1ubuntu0.6_armhf.deb ... 50s Unpacking python3.12-minimal (3.12.3-1ubuntu0.6) over (3.12.3-1ubuntu0.5) ... 50s Preparing to unpack .../libpython3.12-minimal_3.12.3-1ubuntu0.6_armhf.deb ... 50s Unpacking libpython3.12-minimal:armhf (3.12.3-1ubuntu0.6) over (3.12.3-1ubuntu0.5) ... 50s Preparing to unpack .../python3-requests_2.31.0+dfsg-1ubuntu1.1_all.deb ... 50s Unpacking python3-requests (2.31.0+dfsg-1ubuntu1.1) over (2.31.0+dfsg-1ubuntu1) ... 51s Setting up libpython3.12-minimal:armhf (3.12.3-1ubuntu0.6) ... 51s Setting up python3-requests (2.31.0+dfsg-1ubuntu1.1) ... 51s Setting up python3.12-minimal (3.12.3-1ubuntu0.6) ... 52s Setting up libpython3.12-stdlib:armhf (3.12.3-1ubuntu0.6) ... 52s Setting up python3.12 (3.12.3-1ubuntu0.6) ... 53s Processing triggers for man-db (2.12.0-4build2) ... 53s Processing triggers for systemd (255.4-1ubuntu8.8) ... 55s Reading package lists... 55s Building dependency tree... 55s Reading state information... 56s Starting pkgProblemResolver with broken count: 0 56s Starting 2 pkgProblemResolver with broken count: 0 56s Done 56s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s autopkgtest [13:14:52]: rebooting testbed after setup commands that affected boot 96s autopkgtest [13:15:30]: testbed running kernel: Linux 6.8.0-58-generic #60~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 28 14:48:37 UTC 2 120s autopkgtest [13:15:54]: @@@@@@@@@@@@@@@@@@@@ apt-source adsys 130s Get:1 http://ftpmaster.internal/ubuntu noble-updates/main adsys 0.14.3~24.04ubuntu0.1 (dsc) [2227 B] 130s Get:2 http://ftpmaster.internal/ubuntu noble-updates/main adsys 0.14.3~24.04ubuntu0.1 (tar) [7087 kB] 130s gpgv: Signature made Tue Jan 7 18:28:47 2025 UTC 130s gpgv: using RSA key 2CE2D76441584077125841E2C9F5B69BD2DDBBAB 130s gpgv: issuer "hlib.korzhynskyy@canonical.com" 130s gpgv: Can't check signature: No public key 130s dpkg-source: warning: cannot verify inline signature for ./adsys_0.14.3~24.04ubuntu0.1.dsc: no acceptable signature found 131s autopkgtest [13:16:05]: testing package adsys version 0.14.3~24.04ubuntu0.1 133s autopkgtest [13:16:07]: build not needed 137s autopkgtest [13:16:11]: test command1: preparing testbed 139s Reading package lists... 140s Building dependency tree... 140s Reading state information... 140s Starting pkgProblemResolver with broken count: 0 140s Starting 2 pkgProblemResolver with broken count: 0 140s Done 141s The following NEW packages will be installed: 141s autoconf automake autopoint autotools-dev build-essential comerr-dev cpp 141s cpp-13 cpp-13-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper 141s debugedit dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ 141s g++-13 g++-13-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-13 141s gcc-13-arm-linux-gnueabihf gcc-13-base gcc-arm-linux-gnueabihf gettext 141s golang-1.22-go golang-1.22-src golang-go golang-src intltool-debian 141s krb5-multidev libarchive-zip-perl libasan8 libatomic1 libavahi-client3 141s libavahi-common-data libavahi-common3 libblkid-dev libc-dev-bin libc6-dev 141s libcc1-0 libcrypt-dev libcups2t64 libdbus-1-dev libdebhelper-perl libdw1t64 141s libffi-dev libfile-stripnondeterminism-perl libgcc-13-dev 141s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 141s libgomp1 libgssrpc4t64 libisl23 libkadm5clnt-mit12 libkadm5srv-mit12 141s libkdb5-10t64 libkrb5-dev libldb2 libmount-dev libmpc3 libpam0g-dev 141s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 141s libpython3.12t64 libselinux1-dev libsepol-dev libsmbclient-dev libsmbclient0 141s libstdc++-13-dev libsub-override-perl libtalloc2 libtdb1 libtevent0t64 141s libtool libubsan1 libwbclient-dev libwbclient0 linux-libc-dev m4 pkgconf 141s pkgconf-bin po-debconf python3-dnspython python3-ldb python3-markdown 141s python3-packaging python3-samba python3-talloc python3-tdb rpcsvc-proto 141s samba samba-common samba-common-bin samba-dsdb-modules samba-libs sgml-base 141s tdb-tools uuid-dev xml-core zlib1g-dev 141s 0 upgraded, 108 newly installed, 0 to remove and 0 not upgraded. 141s Need to get 113 MB of archives. 141s After this operation, 442 MB of additional disk space will be used. 141s Get:1 http://ftpmaster.internal/ubuntu noble/main armhf python3-dnspython all 2.6.1-1ubuntu1 [163 kB] 141s Get:2 http://ftpmaster.internal/ubuntu noble/main armhf libtalloc2 armhf 2.4.2-1build2 [25.9 kB] 141s Get:3 http://ftpmaster.internal/ubuntu noble/main armhf libtdb1 armhf 1.4.10-1build1 [43.1 kB] 141s Get:4 http://ftpmaster.internal/ubuntu noble/main armhf libtevent0t64 armhf 0.16.1-2build1 [38.1 kB] 141s Get:5 http://ftpmaster.internal/ubuntu noble/main armhf libldb2 armhf 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 [163 kB] 142s Get:6 http://ftpmaster.internal/ubuntu noble-updates/main armhf libpython3.12t64 armhf 3.12.3-1ubuntu0.6 [2058 kB] 142s Get:7 http://ftpmaster.internal/ubuntu noble/main armhf python3-ldb armhf 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 [38.5 kB] 142s Get:8 http://ftpmaster.internal/ubuntu noble/main armhf python3-tdb armhf 1.4.10-1build1 [14.2 kB] 142s Get:9 http://ftpmaster.internal/ubuntu noble/main armhf python3-markdown all 3.5.2-1 [72.0 kB] 142s Get:10 http://ftpmaster.internal/ubuntu noble/main armhf libavahi-common-data armhf 0.8-13ubuntu6 [29.7 kB] 143s Get:11 http://ftpmaster.internal/ubuntu noble/main armhf libavahi-common3 armhf 0.8-13ubuntu6 [20.2 kB] 143s Get:12 http://ftpmaster.internal/ubuntu noble/main armhf libavahi-client3 armhf 0.8-13ubuntu6 [24.2 kB] 143s Get:13 http://ftpmaster.internal/ubuntu noble/main armhf libwbclient0 armhf 2:4.19.5+dfsg-4ubuntu9 [67.5 kB] 143s Get:14 http://ftpmaster.internal/ubuntu noble/main armhf samba-libs armhf 2:4.19.5+dfsg-4ubuntu9 [5693 kB] 144s Get:15 http://ftpmaster.internal/ubuntu noble/main armhf python3-talloc armhf 2.4.2-1build2 [11.9 kB] 144s Get:16 http://ftpmaster.internal/ubuntu noble/main armhf python3-samba armhf 2:4.19.5+dfsg-4ubuntu9 [2488 kB] 144s Get:17 http://ftpmaster.internal/ubuntu noble/main armhf samba-common all 2:4.19.5+dfsg-4ubuntu9 [64.1 kB] 144s Get:18 http://ftpmaster.internal/ubuntu noble-updates/main armhf libcups2t64 armhf 2.4.7-1.2ubuntu7.3 [237 kB] 144s Get:19 http://ftpmaster.internal/ubuntu noble/main armhf samba-common-bin armhf 2:4.19.5+dfsg-4ubuntu9 [1213 kB] 144s Get:20 http://ftpmaster.internal/ubuntu noble/main armhf tdb-tools armhf 1.4.10-1build1 [25.3 kB] 144s Get:21 http://ftpmaster.internal/ubuntu noble/main armhf samba armhf 2:4.19.5+dfsg-4ubuntu9 [957 kB] 144s Get:22 http://ftpmaster.internal/ubuntu noble/main armhf sgml-base all 1.31 [11.4 kB] 144s Get:23 http://ftpmaster.internal/ubuntu noble/main armhf m4 armhf 1.4.19-4build1 [235 kB] 144s Get:24 http://ftpmaster.internal/ubuntu noble/main armhf autoconf all 2.71-3 [339 kB] 144s Get:25 http://ftpmaster.internal/ubuntu noble/main armhf autotools-dev all 20220109.1 [44.9 kB] 144s Get:26 http://ftpmaster.internal/ubuntu noble/main armhf automake all 1:1.16.5-1.3ubuntu1 [558 kB] 144s Get:27 http://ftpmaster.internal/ubuntu noble/main armhf autopoint all 0.21-14ubuntu2 [422 kB] 144s Get:28 http://ftpmaster.internal/ubuntu noble-updates/main armhf libc-dev-bin armhf 2.39-0ubuntu8.4 [19.1 kB] 144s Get:29 http://ftpmaster.internal/ubuntu noble-updates/main armhf linux-libc-dev armhf 6.8.0-60.63 [1833 kB] 145s Get:30 http://ftpmaster.internal/ubuntu noble/main armhf libcrypt-dev armhf 1:4.4.36-4build1 [120 kB] 145s Get:31 http://ftpmaster.internal/ubuntu noble/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 145s Get:32 http://ftpmaster.internal/ubuntu noble-updates/main armhf libc6-dev armhf 2.39-0ubuntu8.4 [1351 kB] 145s Get:33 http://ftpmaster.internal/ubuntu noble-updates/main armhf gcc-13-base armhf 13.3.0-6ubuntu2~24.04 [51.4 kB] 145s Get:34 http://ftpmaster.internal/ubuntu noble-updates/main armhf libisl23 armhf 0.26-3build1.1 [544 kB] 145s Get:35 http://ftpmaster.internal/ubuntu noble-updates/main armhf libmpc3 armhf 1.3.1-1build1.1 [46.8 kB] 145s Get:36 http://ftpmaster.internal/ubuntu noble-updates/main armhf cpp-13-arm-linux-gnueabihf armhf 13.3.0-6ubuntu2~24.04 [8259 kB] 145s Get:37 http://ftpmaster.internal/ubuntu noble-updates/main armhf cpp-13 armhf 13.3.0-6ubuntu2~24.04 [1038 B] 145s Get:38 http://ftpmaster.internal/ubuntu noble/main armhf cpp-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [5320 B] 145s Get:39 http://ftpmaster.internal/ubuntu noble/main armhf cpp armhf 4:13.2.0-7ubuntu1 [22.4 kB] 145s Get:40 http://ftpmaster.internal/ubuntu noble-updates/main armhf libcc1-0 armhf 14.2.0-4ubuntu2~24.04 [43.4 kB] 145s Get:41 http://ftpmaster.internal/ubuntu noble-updates/main armhf libgomp1 armhf 14.2.0-4ubuntu2~24.04 [125 kB] 145s Get:42 http://ftpmaster.internal/ubuntu noble-updates/main armhf libatomic1 armhf 14.2.0-4ubuntu2~24.04 [7888 B] 145s Get:43 http://ftpmaster.internal/ubuntu noble-updates/main armhf libasan8 armhf 14.2.0-4ubuntu2~24.04 [2941 kB] 145s Get:44 http://ftpmaster.internal/ubuntu noble-updates/main armhf libubsan1 armhf 14.2.0-4ubuntu2~24.04 [1154 kB] 145s Get:45 http://ftpmaster.internal/ubuntu noble-updates/main armhf libgcc-13-dev armhf 13.3.0-6ubuntu2~24.04 [899 kB] 145s Get:46 http://ftpmaster.internal/ubuntu noble-updates/main armhf gcc-13-arm-linux-gnueabihf armhf 13.3.0-6ubuntu2~24.04 [16.1 MB] 146s Get:47 http://ftpmaster.internal/ubuntu noble-updates/main armhf gcc-13 armhf 13.3.0-6ubuntu2~24.04 [465 kB] 146s Get:48 http://ftpmaster.internal/ubuntu noble/main armhf gcc-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1220 B] 146s Get:49 http://ftpmaster.internal/ubuntu noble/main armhf gcc armhf 4:13.2.0-7ubuntu1 [5022 B] 146s Get:50 http://ftpmaster.internal/ubuntu noble-updates/main armhf libstdc++-13-dev armhf 13.3.0-6ubuntu2~24.04 [2509 kB] 146s Get:51 http://ftpmaster.internal/ubuntu noble-updates/main armhf g++-13-arm-linux-gnueabihf armhf 13.3.0-6ubuntu2~24.04 [9441 kB] 146s Get:52 http://ftpmaster.internal/ubuntu noble-updates/main armhf g++-13 armhf 13.3.0-6ubuntu2~24.04 [16.1 kB] 146s Get:53 http://ftpmaster.internal/ubuntu noble/main armhf g++-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [966 B] 146s Get:54 http://ftpmaster.internal/ubuntu noble/main armhf g++ armhf 4:13.2.0-7ubuntu1 [1090 B] 146s Get:55 http://ftpmaster.internal/ubuntu noble/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 146s Get:56 http://ftpmaster.internal/ubuntu noble/main armhf libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 146s Get:57 http://ftpmaster.internal/ubuntu noble/main armhf libtool all 2.4.7-7build1 [166 kB] 146s Get:58 http://ftpmaster.internal/ubuntu noble/main armhf dh-autoreconf all 20 [16.1 kB] 146s Get:59 http://ftpmaster.internal/ubuntu noble/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 146s Get:60 http://ftpmaster.internal/ubuntu noble/main armhf libsub-override-perl all 0.10-1 [10.0 kB] 146s Get:61 http://ftpmaster.internal/ubuntu noble/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 146s Get:62 http://ftpmaster.internal/ubuntu noble/main armhf dh-strip-nondeterminism all 1.13.1-1 [5362 B] 146s Get:63 http://ftpmaster.internal/ubuntu noble-updates/main armhf libdw1t64 armhf 0.190-1.1ubuntu0.1 [235 kB] 146s Get:64 http://ftpmaster.internal/ubuntu noble/main armhf debugedit armhf 1:5.0-5build2 [42.3 kB] 146s Get:65 http://ftpmaster.internal/ubuntu noble/main armhf dwz armhf 0.15-1build6 [116 kB] 146s Get:66 http://ftpmaster.internal/ubuntu noble/main armhf gettext armhf 0.21-14ubuntu2 [800 kB] 146s Get:67 http://ftpmaster.internal/ubuntu noble/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 146s Get:68 http://ftpmaster.internal/ubuntu noble/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 146s Get:69 http://ftpmaster.internal/ubuntu noble/main armhf debhelper all 13.14.1ubuntu5 [869 kB] 146s Get:70 http://ftpmaster.internal/ubuntu noble-updates/universe armhf dh-apport all 2.28.1-0ubuntu3.7 [18.8 kB] 146s Get:71 http://ftpmaster.internal/ubuntu noble-updates/main armhf golang-1.22-src all 1.22.2-2ubuntu0.3 [19.7 MB] 147s Get:72 http://ftpmaster.internal/ubuntu noble-updates/main armhf golang-1.22-go armhf 1.22.2-2ubuntu0.3 [23.7 MB] 148s Get:73 http://ftpmaster.internal/ubuntu noble/main armhf golang-src all 2:1.22~2build1 [5078 B] 148s Get:74 http://ftpmaster.internal/ubuntu noble/main armhf golang-go armhf 2:1.22~2build1 [43.9 kB] 148s Get:75 http://ftpmaster.internal/ubuntu noble-updates/main armhf comerr-dev armhf 2.1-1.47.0-2.4~exp1ubuntu4.1 [43.2 kB] 148s Get:76 http://ftpmaster.internal/ubuntu noble-updates/main armhf libgssrpc4t64 armhf 1.20.1-6ubuntu2.6 [51.5 kB] 148s Get:77 http://ftpmaster.internal/ubuntu noble-updates/main armhf libkadm5clnt-mit12 armhf 1.20.1-6ubuntu2.6 [35.3 kB] 148s Get:78 http://ftpmaster.internal/ubuntu noble-updates/main armhf libkdb5-10t64 armhf 1.20.1-6ubuntu2.6 [35.0 kB] 148s Get:79 http://ftpmaster.internal/ubuntu noble-updates/main armhf libkadm5srv-mit12 armhf 1.20.1-6ubuntu2.6 [45.8 kB] 148s Get:80 http://ftpmaster.internal/ubuntu noble-updates/main armhf krb5-multidev armhf 1.20.1-6ubuntu2.6 [125 kB] 148s Get:81 http://ftpmaster.internal/ubuntu noble/main armhf libpkgconf3 armhf 1.8.1-2build1 [26.3 kB] 148s Get:82 http://ftpmaster.internal/ubuntu noble/main armhf pkgconf-bin armhf 1.8.1-2build1 [20.7 kB] 148s Get:83 http://ftpmaster.internal/ubuntu noble/main armhf pkgconf armhf 1.8.1-2build1 [16.8 kB] 148s Get:84 http://ftpmaster.internal/ubuntu noble/main armhf xml-core all 0.19 [20.3 kB] 148s Get:85 http://ftpmaster.internal/ubuntu noble-updates/main armhf libdbus-1-dev armhf 1.14.10-4ubuntu4.1 [170 kB] 148s Get:86 http://ftpmaster.internal/ubuntu noble-updates/main armhf libgirepository-2.0-0 armhf 2.80.0-6ubuntu3.4 [98.5 kB] 148s Get:87 http://ftpmaster.internal/ubuntu noble-updates/main armhf libglib2.0-bin armhf 2.80.0-6ubuntu3.4 [91.8 kB] 148s Get:88 http://ftpmaster.internal/ubuntu noble/main armhf libffi-dev armhf 3.4.6-1build1 [57.1 kB] 148s Get:89 http://ftpmaster.internal/ubuntu noble/main armhf python3-packaging all 24.0-1 [41.1 kB] 148s Get:90 http://ftpmaster.internal/ubuntu noble-updates/main armhf libglib2.0-dev-bin armhf 2.80.0-6ubuntu3.4 [139 kB] 148s Get:91 http://ftpmaster.internal/ubuntu noble-updates/main armhf uuid-dev armhf 2.39.3-9ubuntu6.2 [32.2 kB] 148s Get:92 http://ftpmaster.internal/ubuntu noble-updates/main armhf libblkid-dev armhf 2.39.3-9ubuntu6.2 [195 kB] 148s Get:93 http://ftpmaster.internal/ubuntu noble/main armhf libsepol-dev armhf 3.5-2build1 [360 kB] 148s Get:94 http://ftpmaster.internal/ubuntu noble-updates/main armhf libpcre2-16-0 armhf 10.42-4ubuntu2.1 [180 kB] 148s Get:95 http://ftpmaster.internal/ubuntu noble-updates/main armhf libpcre2-32-0 armhf 10.42-4ubuntu2.1 [171 kB] 148s Get:96 http://ftpmaster.internal/ubuntu noble-updates/main armhf libpcre2-posix3 armhf 10.42-4ubuntu2.1 [6106 B] 148s Get:97 http://ftpmaster.internal/ubuntu noble-updates/main armhf libpcre2-dev armhf 10.42-4ubuntu2.1 [664 kB] 148s Get:98 http://ftpmaster.internal/ubuntu noble-updates/main armhf libselinux1-dev armhf 3.5-2ubuntu2.1 [158 kB] 148s Get:99 http://ftpmaster.internal/ubuntu noble-updates/main armhf libmount-dev armhf 2.39.3-9ubuntu6.2 [14.9 kB] 148s Get:100 http://ftpmaster.internal/ubuntu noble-updates/main armhf zlib1g-dev armhf 1:1.3.dfsg-3.1ubuntu2.1 [880 kB] 148s Get:101 http://ftpmaster.internal/ubuntu noble-updates/main armhf libglib2.0-dev armhf 2.80.0-6ubuntu3.4 [1773 kB] 148s Get:102 http://ftpmaster.internal/ubuntu noble-updates/main armhf libpam0g-dev armhf 1.5.3-5ubuntu5.1 [110 kB] 149s Get:103 http://ftpmaster.internal/ubuntu noble/main armhf libsmbclient0 armhf 2:4.19.5+dfsg-4ubuntu9 [57.4 kB] 149s Get:104 http://ftpmaster.internal/ubuntu noble/main armhf libwbclient-dev armhf 2:4.19.5+dfsg-4ubuntu9 [16.2 kB] 149s Get:105 http://ftpmaster.internal/ubuntu noble/main armhf samba-dsdb-modules armhf 2:4.19.5+dfsg-4ubuntu9 [299 kB] 149s Get:106 http://ftpmaster.internal/ubuntu noble/main armhf dh-golang all 1.62 [25.2 kB] 149s Get:107 http://ftpmaster.internal/ubuntu noble-updates/main armhf libkrb5-dev armhf 1.20.1-6ubuntu2.6 [11.9 kB] 149s Get:108 http://ftpmaster.internal/ubuntu noble/main armhf libsmbclient-dev armhf 2:4.19.5+dfsg-4ubuntu9 [40.5 kB] 149s Fetched 113 MB in 8s (14.5 MB/s) 149s Selecting previously unselected package python3-dnspython. 149s (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 ... 58040 files and directories currently installed.) 149s Preparing to unpack .../000-python3-dnspython_2.6.1-1ubuntu1_all.deb ... 149s Unpacking python3-dnspython (2.6.1-1ubuntu1) ... 149s Selecting previously unselected package libtalloc2:armhf. 149s Preparing to unpack .../001-libtalloc2_2.4.2-1build2_armhf.deb ... 149s Unpacking libtalloc2:armhf (2.4.2-1build2) ... 150s Selecting previously unselected package libtdb1:armhf. 150s Preparing to unpack .../002-libtdb1_1.4.10-1build1_armhf.deb ... 150s Unpacking libtdb1:armhf (1.4.10-1build1) ... 150s Selecting previously unselected package libtevent0t64:armhf. 150s Preparing to unpack .../003-libtevent0t64_0.16.1-2build1_armhf.deb ... 150s Unpacking libtevent0t64:armhf (0.16.1-2build1) ... 150s Selecting previously unselected package libldb2:armhf. 150s Preparing to unpack .../004-libldb2_2%3a2.8.0+samba4.19.5+dfsg-4ubuntu9_armhf.deb ... 150s Unpacking libldb2:armhf (2:2.8.0+samba4.19.5+dfsg-4ubuntu9) ... 150s Selecting previously unselected package libpython3.12t64:armhf. 150s Preparing to unpack .../005-libpython3.12t64_3.12.3-1ubuntu0.6_armhf.deb ... 150s Unpacking libpython3.12t64:armhf (3.12.3-1ubuntu0.6) ... 150s Selecting previously unselected package python3-ldb. 150s Preparing to unpack .../006-python3-ldb_2%3a2.8.0+samba4.19.5+dfsg-4ubuntu9_armhf.deb ... 150s Unpacking python3-ldb (2:2.8.0+samba4.19.5+dfsg-4ubuntu9) ... 150s Selecting previously unselected package python3-tdb. 150s Preparing to unpack .../007-python3-tdb_1.4.10-1build1_armhf.deb ... 150s Unpacking python3-tdb (1.4.10-1build1) ... 150s Selecting previously unselected package python3-markdown. 150s Preparing to unpack .../008-python3-markdown_3.5.2-1_all.deb ... 150s Unpacking python3-markdown (3.5.2-1) ... 150s Selecting previously unselected package libavahi-common-data:armhf. 150s Preparing to unpack .../009-libavahi-common-data_0.8-13ubuntu6_armhf.deb ... 150s Unpacking libavahi-common-data:armhf (0.8-13ubuntu6) ... 150s Selecting previously unselected package libavahi-common3:armhf. 150s Preparing to unpack .../010-libavahi-common3_0.8-13ubuntu6_armhf.deb ... 150s Unpacking libavahi-common3:armhf (0.8-13ubuntu6) ... 150s Selecting previously unselected package libavahi-client3:armhf. 150s Preparing to unpack .../011-libavahi-client3_0.8-13ubuntu6_armhf.deb ... 150s Unpacking libavahi-client3:armhf (0.8-13ubuntu6) ... 150s Selecting previously unselected package libwbclient0:armhf. 150s Preparing to unpack .../012-libwbclient0_2%3a4.19.5+dfsg-4ubuntu9_armhf.deb ... 150s Unpacking libwbclient0:armhf (2:4.19.5+dfsg-4ubuntu9) ... 150s Selecting previously unselected package samba-libs:armhf. 150s Preparing to unpack .../013-samba-libs_2%3a4.19.5+dfsg-4ubuntu9_armhf.deb ... 150s Unpacking samba-libs:armhf (2:4.19.5+dfsg-4ubuntu9) ... 150s Selecting previously unselected package python3-talloc:armhf. 150s Preparing to unpack .../014-python3-talloc_2.4.2-1build2_armhf.deb ... 150s Unpacking python3-talloc:armhf (2.4.2-1build2) ... 150s Selecting previously unselected package python3-samba. 150s Preparing to unpack .../015-python3-samba_2%3a4.19.5+dfsg-4ubuntu9_armhf.deb ... 150s Unpacking python3-samba (2:4.19.5+dfsg-4ubuntu9) ... 151s Selecting previously unselected package samba-common. 151s Preparing to unpack .../016-samba-common_2%3a4.19.5+dfsg-4ubuntu9_all.deb ... 151s Unpacking samba-common (2:4.19.5+dfsg-4ubuntu9) ... 151s Selecting previously unselected package libcups2t64:armhf. 151s Preparing to unpack .../017-libcups2t64_2.4.7-1.2ubuntu7.3_armhf.deb ... 151s Unpacking libcups2t64:armhf (2.4.7-1.2ubuntu7.3) ... 151s Selecting previously unselected package samba-common-bin. 151s Preparing to unpack .../018-samba-common-bin_2%3a4.19.5+dfsg-4ubuntu9_armhf.deb ... 151s Unpacking samba-common-bin (2:4.19.5+dfsg-4ubuntu9) ... 151s Selecting previously unselected package tdb-tools. 151s Preparing to unpack .../019-tdb-tools_1.4.10-1build1_armhf.deb ... 151s Unpacking tdb-tools (1.4.10-1build1) ... 151s Selecting previously unselected package samba. 151s Preparing to unpack .../020-samba_2%3a4.19.5+dfsg-4ubuntu9_armhf.deb ... 151s Unpacking samba (2:4.19.5+dfsg-4ubuntu9) ... 151s Selecting previously unselected package sgml-base. 151s Preparing to unpack .../021-sgml-base_1.31_all.deb ... 151s Unpacking sgml-base (1.31) ... 151s Selecting previously unselected package m4. 151s Preparing to unpack .../022-m4_1.4.19-4build1_armhf.deb ... 151s Unpacking m4 (1.4.19-4build1) ... 151s Selecting previously unselected package autoconf. 151s Preparing to unpack .../023-autoconf_2.71-3_all.deb ... 151s Unpacking autoconf (2.71-3) ... 151s Selecting previously unselected package autotools-dev. 151s Preparing to unpack .../024-autotools-dev_20220109.1_all.deb ... 151s Unpacking autotools-dev (20220109.1) ... 151s Selecting previously unselected package automake. 151s Preparing to unpack .../025-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 151s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 151s Selecting previously unselected package autopoint. 151s Preparing to unpack .../026-autopoint_0.21-14ubuntu2_all.deb ... 151s Unpacking autopoint (0.21-14ubuntu2) ... 151s Selecting previously unselected package libc-dev-bin. 151s Preparing to unpack .../027-libc-dev-bin_2.39-0ubuntu8.4_armhf.deb ... 152s Unpacking libc-dev-bin (2.39-0ubuntu8.4) ... 152s Selecting previously unselected package linux-libc-dev:armhf. 152s Preparing to unpack .../028-linux-libc-dev_6.8.0-60.63_armhf.deb ... 152s Unpacking linux-libc-dev:armhf (6.8.0-60.63) ... 152s Selecting previously unselected package libcrypt-dev:armhf. 152s Preparing to unpack .../029-libcrypt-dev_1%3a4.4.36-4build1_armhf.deb ... 152s Unpacking libcrypt-dev:armhf (1:4.4.36-4build1) ... 152s Selecting previously unselected package rpcsvc-proto. 152s Preparing to unpack .../030-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 152s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 152s Selecting previously unselected package libc6-dev:armhf. 152s Preparing to unpack .../031-libc6-dev_2.39-0ubuntu8.4_armhf.deb ... 152s Unpacking libc6-dev:armhf (2.39-0ubuntu8.4) ... 152s Selecting previously unselected package gcc-13-base:armhf. 152s Preparing to unpack .../032-gcc-13-base_13.3.0-6ubuntu2~24.04_armhf.deb ... 152s Unpacking gcc-13-base:armhf (13.3.0-6ubuntu2~24.04) ... 152s Selecting previously unselected package libisl23:armhf. 152s Preparing to unpack .../033-libisl23_0.26-3build1.1_armhf.deb ... 152s Unpacking libisl23:armhf (0.26-3build1.1) ... 152s Selecting previously unselected package libmpc3:armhf. 152s Preparing to unpack .../034-libmpc3_1.3.1-1build1.1_armhf.deb ... 152s Unpacking libmpc3:armhf (1.3.1-1build1.1) ... 152s Selecting previously unselected package cpp-13-arm-linux-gnueabihf. 152s Preparing to unpack .../035-cpp-13-arm-linux-gnueabihf_13.3.0-6ubuntu2~24.04_armhf.deb ... 152s Unpacking cpp-13-arm-linux-gnueabihf (13.3.0-6ubuntu2~24.04) ... 153s Selecting previously unselected package cpp-13. 153s Preparing to unpack .../036-cpp-13_13.3.0-6ubuntu2~24.04_armhf.deb ... 153s Unpacking cpp-13 (13.3.0-6ubuntu2~24.04) ... 153s Selecting previously unselected package cpp-arm-linux-gnueabihf. 153s Preparing to unpack .../037-cpp-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 153s Unpacking cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 153s Selecting previously unselected package cpp. 153s Preparing to unpack .../038-cpp_4%3a13.2.0-7ubuntu1_armhf.deb ... 153s Unpacking cpp (4:13.2.0-7ubuntu1) ... 153s Selecting previously unselected package libcc1-0:armhf. 153s Preparing to unpack .../039-libcc1-0_14.2.0-4ubuntu2~24.04_armhf.deb ... 153s Unpacking libcc1-0:armhf (14.2.0-4ubuntu2~24.04) ... 153s Selecting previously unselected package libgomp1:armhf. 153s Preparing to unpack .../040-libgomp1_14.2.0-4ubuntu2~24.04_armhf.deb ... 153s Unpacking libgomp1:armhf (14.2.0-4ubuntu2~24.04) ... 153s Selecting previously unselected package libatomic1:armhf. 153s Preparing to unpack .../041-libatomic1_14.2.0-4ubuntu2~24.04_armhf.deb ... 153s Unpacking libatomic1:armhf (14.2.0-4ubuntu2~24.04) ... 153s Selecting previously unselected package libasan8:armhf. 153s Preparing to unpack .../042-libasan8_14.2.0-4ubuntu2~24.04_armhf.deb ... 153s Unpacking libasan8:armhf (14.2.0-4ubuntu2~24.04) ... 153s Selecting previously unselected package libubsan1:armhf. 153s Preparing to unpack .../043-libubsan1_14.2.0-4ubuntu2~24.04_armhf.deb ... 153s Unpacking libubsan1:armhf (14.2.0-4ubuntu2~24.04) ... 153s Selecting previously unselected package libgcc-13-dev:armhf. 153s Preparing to unpack .../044-libgcc-13-dev_13.3.0-6ubuntu2~24.04_armhf.deb ... 153s Unpacking libgcc-13-dev:armhf (13.3.0-6ubuntu2~24.04) ... 153s Selecting previously unselected package gcc-13-arm-linux-gnueabihf. 153s Preparing to unpack .../045-gcc-13-arm-linux-gnueabihf_13.3.0-6ubuntu2~24.04_armhf.deb ... 153s Unpacking gcc-13-arm-linux-gnueabihf (13.3.0-6ubuntu2~24.04) ... 154s Selecting previously unselected package gcc-13. 154s Preparing to unpack .../046-gcc-13_13.3.0-6ubuntu2~24.04_armhf.deb ... 154s Unpacking gcc-13 (13.3.0-6ubuntu2~24.04) ... 154s Selecting previously unselected package gcc-arm-linux-gnueabihf. 154s Preparing to unpack .../047-gcc-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 154s Unpacking gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 154s Selecting previously unselected package gcc. 154s Preparing to unpack .../048-gcc_4%3a13.2.0-7ubuntu1_armhf.deb ... 154s Unpacking gcc (4:13.2.0-7ubuntu1) ... 154s Selecting previously unselected package libstdc++-13-dev:armhf. 154s Preparing to unpack .../049-libstdc++-13-dev_13.3.0-6ubuntu2~24.04_armhf.deb ... 154s Unpacking libstdc++-13-dev:armhf (13.3.0-6ubuntu2~24.04) ... 154s Selecting previously unselected package g++-13-arm-linux-gnueabihf. 154s Preparing to unpack .../050-g++-13-arm-linux-gnueabihf_13.3.0-6ubuntu2~24.04_armhf.deb ... 154s Unpacking g++-13-arm-linux-gnueabihf (13.3.0-6ubuntu2~24.04) ... 154s Selecting previously unselected package g++-13. 154s Preparing to unpack .../051-g++-13_13.3.0-6ubuntu2~24.04_armhf.deb ... 154s Unpacking g++-13 (13.3.0-6ubuntu2~24.04) ... 154s Selecting previously unselected package g++-arm-linux-gnueabihf. 154s Preparing to unpack .../052-g++-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 154s Unpacking g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 154s Selecting previously unselected package g++. 154s Preparing to unpack .../053-g++_4%3a13.2.0-7ubuntu1_armhf.deb ... 154s Unpacking g++ (4:13.2.0-7ubuntu1) ... 155s Selecting previously unselected package build-essential. 155s Preparing to unpack .../054-build-essential_12.10ubuntu1_armhf.deb ... 155s Unpacking build-essential (12.10ubuntu1) ... 155s Selecting previously unselected package libdebhelper-perl. 155s Preparing to unpack .../055-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 155s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 155s Selecting previously unselected package libtool. 155s Preparing to unpack .../056-libtool_2.4.7-7build1_all.deb ... 155s Unpacking libtool (2.4.7-7build1) ... 155s Selecting previously unselected package dh-autoreconf. 155s Preparing to unpack .../057-dh-autoreconf_20_all.deb ... 155s Unpacking dh-autoreconf (20) ... 155s Selecting previously unselected package libarchive-zip-perl. 155s Preparing to unpack .../058-libarchive-zip-perl_1.68-1_all.deb ... 155s Unpacking libarchive-zip-perl (1.68-1) ... 155s Selecting previously unselected package libsub-override-perl. 155s Preparing to unpack .../059-libsub-override-perl_0.10-1_all.deb ... 155s Unpacking libsub-override-perl (0.10-1) ... 155s Selecting previously unselected package libfile-stripnondeterminism-perl. 155s Preparing to unpack .../060-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 155s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 155s Selecting previously unselected package dh-strip-nondeterminism. 155s Preparing to unpack .../061-dh-strip-nondeterminism_1.13.1-1_all.deb ... 155s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 155s Selecting previously unselected package libdw1t64:armhf. 155s Preparing to unpack .../062-libdw1t64_0.190-1.1ubuntu0.1_armhf.deb ... 155s Unpacking libdw1t64:armhf (0.190-1.1ubuntu0.1) ... 155s Selecting previously unselected package debugedit. 155s Preparing to unpack .../063-debugedit_1%3a5.0-5build2_armhf.deb ... 155s Unpacking debugedit (1:5.0-5build2) ... 155s Selecting previously unselected package dwz. 155s Preparing to unpack .../064-dwz_0.15-1build6_armhf.deb ... 155s Unpacking dwz (0.15-1build6) ... 155s Selecting previously unselected package gettext. 155s Preparing to unpack .../065-gettext_0.21-14ubuntu2_armhf.deb ... 155s Unpacking gettext (0.21-14ubuntu2) ... 155s Selecting previously unselected package intltool-debian. 155s Preparing to unpack .../066-intltool-debian_0.35.0+20060710.6_all.deb ... 155s Unpacking intltool-debian (0.35.0+20060710.6) ... 155s Selecting previously unselected package po-debconf. 155s Preparing to unpack .../067-po-debconf_1.0.21+nmu1_all.deb ... 155s Unpacking po-debconf (1.0.21+nmu1) ... 155s Selecting previously unselected package debhelper. 155s Preparing to unpack .../068-debhelper_13.14.1ubuntu5_all.deb ... 155s Unpacking debhelper (13.14.1ubuntu5) ... 155s Selecting previously unselected package dh-apport. 155s Preparing to unpack .../069-dh-apport_2.28.1-0ubuntu3.7_all.deb ... 155s Unpacking dh-apport (2.28.1-0ubuntu3.7) ... 156s Selecting previously unselected package golang-1.22-src. 156s Preparing to unpack .../070-golang-1.22-src_1.22.2-2ubuntu0.3_all.deb ... 156s Unpacking golang-1.22-src (1.22.2-2ubuntu0.3) ... 158s Selecting previously unselected package golang-1.22-go. 158s Preparing to unpack .../071-golang-1.22-go_1.22.2-2ubuntu0.3_armhf.deb ... 158s Unpacking golang-1.22-go (1.22.2-2ubuntu0.3) ... 159s Selecting previously unselected package golang-src. 159s Preparing to unpack .../072-golang-src_2%3a1.22~2build1_all.deb ... 159s Unpacking golang-src (2:1.22~2build1) ... 159s Selecting previously unselected package golang-go:armhf. 159s Preparing to unpack .../073-golang-go_2%3a1.22~2build1_armhf.deb ... 159s Unpacking golang-go:armhf (2:1.22~2build1) ... 159s Selecting previously unselected package comerr-dev:armhf. 159s Preparing to unpack .../074-comerr-dev_2.1-1.47.0-2.4~exp1ubuntu4.1_armhf.deb ... 159s Unpacking comerr-dev:armhf (2.1-1.47.0-2.4~exp1ubuntu4.1) ... 159s Selecting previously unselected package libgssrpc4t64:armhf. 159s Preparing to unpack .../075-libgssrpc4t64_1.20.1-6ubuntu2.6_armhf.deb ... 159s Unpacking libgssrpc4t64:armhf (1.20.1-6ubuntu2.6) ... 159s Selecting previously unselected package libkadm5clnt-mit12:armhf. 159s Preparing to unpack .../076-libkadm5clnt-mit12_1.20.1-6ubuntu2.6_armhf.deb ... 159s Unpacking libkadm5clnt-mit12:armhf (1.20.1-6ubuntu2.6) ... 159s Selecting previously unselected package libkdb5-10t64:armhf. 159s Preparing to unpack .../077-libkdb5-10t64_1.20.1-6ubuntu2.6_armhf.deb ... 159s Unpacking libkdb5-10t64:armhf (1.20.1-6ubuntu2.6) ... 159s Selecting previously unselected package libkadm5srv-mit12:armhf. 159s Preparing to unpack .../078-libkadm5srv-mit12_1.20.1-6ubuntu2.6_armhf.deb ... 159s Unpacking libkadm5srv-mit12:armhf (1.20.1-6ubuntu2.6) ... 159s Selecting previously unselected package krb5-multidev:armhf. 159s Preparing to unpack .../079-krb5-multidev_1.20.1-6ubuntu2.6_armhf.deb ... 159s Unpacking krb5-multidev:armhf (1.20.1-6ubuntu2.6) ... 159s Selecting previously unselected package libpkgconf3:armhf. 159s Preparing to unpack .../080-libpkgconf3_1.8.1-2build1_armhf.deb ... 159s Unpacking libpkgconf3:armhf (1.8.1-2build1) ... 159s Selecting previously unselected package pkgconf-bin. 159s Preparing to unpack .../081-pkgconf-bin_1.8.1-2build1_armhf.deb ... 159s Unpacking pkgconf-bin (1.8.1-2build1) ... 159s Selecting previously unselected package pkgconf:armhf. 159s Preparing to unpack .../082-pkgconf_1.8.1-2build1_armhf.deb ... 159s Unpacking pkgconf:armhf (1.8.1-2build1) ... 159s Selecting previously unselected package xml-core. 159s Preparing to unpack .../083-xml-core_0.19_all.deb ... 159s Unpacking xml-core (0.19) ... 159s Selecting previously unselected package libdbus-1-dev:armhf. 159s Preparing to unpack .../084-libdbus-1-dev_1.14.10-4ubuntu4.1_armhf.deb ... 159s Unpacking libdbus-1-dev:armhf (1.14.10-4ubuntu4.1) ... 159s Selecting previously unselected package libgirepository-2.0-0:armhf. 159s Preparing to unpack .../085-libgirepository-2.0-0_2.80.0-6ubuntu3.4_armhf.deb ... 159s Unpacking libgirepository-2.0-0:armhf (2.80.0-6ubuntu3.4) ... 159s Selecting previously unselected package libglib2.0-bin. 159s Preparing to unpack .../086-libglib2.0-bin_2.80.0-6ubuntu3.4_armhf.deb ... 159s Unpacking libglib2.0-bin (2.80.0-6ubuntu3.4) ... 159s Selecting previously unselected package libffi-dev:armhf. 159s Preparing to unpack .../087-libffi-dev_3.4.6-1build1_armhf.deb ... 159s Unpacking libffi-dev:armhf (3.4.6-1build1) ... 159s Selecting previously unselected package python3-packaging. 159s Preparing to unpack .../088-python3-packaging_24.0-1_all.deb ... 159s Unpacking python3-packaging (24.0-1) ... 159s Selecting previously unselected package libglib2.0-dev-bin. 159s Preparing to unpack .../089-libglib2.0-dev-bin_2.80.0-6ubuntu3.4_armhf.deb ... 159s Unpacking libglib2.0-dev-bin (2.80.0-6ubuntu3.4) ... 159s Selecting previously unselected package uuid-dev:armhf. 159s Preparing to unpack .../090-uuid-dev_2.39.3-9ubuntu6.2_armhf.deb ... 159s Unpacking uuid-dev:armhf (2.39.3-9ubuntu6.2) ... 159s Selecting previously unselected package libblkid-dev:armhf. 159s Preparing to unpack .../091-libblkid-dev_2.39.3-9ubuntu6.2_armhf.deb ... 159s Unpacking libblkid-dev:armhf (2.39.3-9ubuntu6.2) ... 160s Selecting previously unselected package libsepol-dev:armhf. 160s Preparing to unpack .../092-libsepol-dev_3.5-2build1_armhf.deb ... 160s Unpacking libsepol-dev:armhf (3.5-2build1) ... 160s Selecting previously unselected package libpcre2-16-0:armhf. 160s Preparing to unpack .../093-libpcre2-16-0_10.42-4ubuntu2.1_armhf.deb ... 160s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu2.1) ... 160s Selecting previously unselected package libpcre2-32-0:armhf. 160s Preparing to unpack .../094-libpcre2-32-0_10.42-4ubuntu2.1_armhf.deb ... 160s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu2.1) ... 160s Selecting previously unselected package libpcre2-posix3:armhf. 160s Preparing to unpack .../095-libpcre2-posix3_10.42-4ubuntu2.1_armhf.deb ... 160s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu2.1) ... 160s Selecting previously unselected package libpcre2-dev:armhf. 160s Preparing to unpack .../096-libpcre2-dev_10.42-4ubuntu2.1_armhf.deb ... 160s Unpacking libpcre2-dev:armhf (10.42-4ubuntu2.1) ... 160s Selecting previously unselected package libselinux1-dev:armhf. 160s Preparing to unpack .../097-libselinux1-dev_3.5-2ubuntu2.1_armhf.deb ... 160s Unpacking libselinux1-dev:armhf (3.5-2ubuntu2.1) ... 160s Selecting previously unselected package libmount-dev:armhf. 160s Preparing to unpack .../098-libmount-dev_2.39.3-9ubuntu6.2_armhf.deb ... 160s Unpacking libmount-dev:armhf (2.39.3-9ubuntu6.2) ... 160s Selecting previously unselected package zlib1g-dev:armhf. 160s Preparing to unpack .../099-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2.1_armhf.deb ... 160s Unpacking zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu2.1) ... 160s Selecting previously unselected package libglib2.0-dev:armhf. 160s Preparing to unpack .../100-libglib2.0-dev_2.80.0-6ubuntu3.4_armhf.deb ... 160s Unpacking libglib2.0-dev:armhf (2.80.0-6ubuntu3.4) ... 160s Selecting previously unselected package libpam0g-dev:armhf. 160s Preparing to unpack .../101-libpam0g-dev_1.5.3-5ubuntu5.1_armhf.deb ... 160s Unpacking libpam0g-dev:armhf (1.5.3-5ubuntu5.1) ... 160s Selecting previously unselected package libsmbclient0:armhf. 160s Preparing to unpack .../102-libsmbclient0_2%3a4.19.5+dfsg-4ubuntu9_armhf.deb ... 160s Unpacking libsmbclient0:armhf (2:4.19.5+dfsg-4ubuntu9) ... 160s Selecting previously unselected package libwbclient-dev:armhf. 160s Preparing to unpack .../103-libwbclient-dev_2%3a4.19.5+dfsg-4ubuntu9_armhf.deb ... 160s Unpacking libwbclient-dev:armhf (2:4.19.5+dfsg-4ubuntu9) ... 160s Selecting previously unselected package samba-dsdb-modules:armhf. 160s Preparing to unpack .../104-samba-dsdb-modules_2%3a4.19.5+dfsg-4ubuntu9_armhf.deb ... 160s Unpacking samba-dsdb-modules:armhf (2:4.19.5+dfsg-4ubuntu9) ... 160s Selecting previously unselected package dh-golang. 160s Preparing to unpack .../105-dh-golang_1.62_all.deb ... 160s Unpacking dh-golang (1.62) ... 160s Selecting previously unselected package libkrb5-dev:armhf. 160s Preparing to unpack .../106-libkrb5-dev_1.20.1-6ubuntu2.6_armhf.deb ... 160s Unpacking libkrb5-dev:armhf (1.20.1-6ubuntu2.6) ... 160s Selecting previously unselected package libsmbclient-dev:armhf. 160s Preparing to unpack .../107-libsmbclient-dev_2%3a4.19.5+dfsg-4ubuntu9_armhf.deb ... 160s Unpacking libsmbclient-dev:armhf (2:4.19.5+dfsg-4ubuntu9) ... 160s Setting up libgirepository-2.0-0:armhf (2.80.0-6ubuntu3.4) ... 160s Setting up libarchive-zip-perl (1.68-1) ... 160s Setting up libtdb1:armhf (1.4.10-1build1) ... 160s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 160s Setting up linux-libc-dev:armhf (6.8.0-60.63) ... 160s Setting up libglib2.0-bin (2.80.0-6ubuntu3.4) ... 160s Setting up m4 (1.4.19-4build1) ... 160s Setting up samba-common (2:4.19.5+dfsg-4ubuntu9) ... 161s 161s Creating config file /etc/samba/smb.conf with new version 161s Setting up libgomp1:armhf (14.2.0-4ubuntu2~24.04) ... 161s Setting up libffi-dev:armhf (3.4.6-1build1) ... 161s Setting up dh-apport (2.28.1-0ubuntu3.7) ... 161s Setting up libwbclient0:armhf (2:4.19.5+dfsg-4ubuntu9) ... 161s Setting up libwbclient-dev:armhf (2:4.19.5+dfsg-4ubuntu9) ... 161s Setting up libpcre2-16-0:armhf (10.42-4ubuntu2.1) ... 161s Setting up libdw1t64:armhf (0.190-1.1ubuntu0.1) ... 161s Setting up libtalloc2:armhf (2.4.2-1build2) ... 161s Setting up libpython3.12t64:armhf (3.12.3-1ubuntu0.6) ... 161s Setting up python3-tdb (1.4.10-1build1) ... 161s Setting up autotools-dev (20220109.1) ... 161s Setting up libpcre2-32-0:armhf (10.42-4ubuntu2.1) ... 161s Setting up python3-packaging (24.0-1) ... 161s Setting up libpkgconf3:armhf (1.8.1-2build1) ... 161s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 161s Setting up gcc-13-base:armhf (13.3.0-6ubuntu2~24.04) ... 161s Setting up libgssrpc4t64:armhf (1.20.1-6ubuntu2.6) ... 161s Setting up libavahi-common-data:armhf (0.8-13ubuntu6) ... 161s Setting up golang-1.22-src (1.22.2-2ubuntu0.3) ... 161s Setting up tdb-tools (1.4.10-1build1) ... 161s update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode 161s Setting up libmpc3:armhf (1.3.1-1build1.1) ... 161s Setting up libatomic1:armhf (14.2.0-4ubuntu2~24.04) ... 161s Setting up python3-markdown (3.5.2-1) ... 161s Setting up autopoint (0.21-14ubuntu2) ... 161s Setting up libsepol-dev:armhf (3.5-2build1) ... 161s Setting up pkgconf-bin (1.8.1-2build1) ... 161s Setting up autoconf (2.71-3) ... 161s Setting up libubsan1:armhf (14.2.0-4ubuntu2~24.04) ... 161s Setting up libpcre2-posix3:armhf (10.42-4ubuntu2.1) ... 161s Setting up dwz (0.15-1build6) ... 161s Setting up python3-dnspython (2.6.1-1ubuntu1) ... 162s Setting up libcrypt-dev:armhf (1:4.4.36-4build1) ... 162s Setting up libasan8:armhf (14.2.0-4ubuntu2~24.04) ... 162s Setting up debugedit (1:5.0-5build2) ... 162s Setting up libsub-override-perl (0.10-1) ... 162s Setting up sgml-base (1.31) ... 162s Setting up libisl23:armhf (0.26-3build1.1) ... 162s Setting up libc-dev-bin (2.39-0ubuntu8.4) ... 162s Setting up golang-src (2:1.22~2build1) ... 162s Setting up libcc1-0:armhf (14.2.0-4ubuntu2~24.04) ... 162s Setting up libtevent0t64:armhf (0.16.1-2build1) ... 162s Setting up libkadm5clnt-mit12:armhf (1.20.1-6ubuntu2.6) ... 162s Setting up automake (1:1.16.5-1.3ubuntu1) ... 162s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 162s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 162s Setting up libglib2.0-dev-bin (2.80.0-6ubuntu3.4) ... 162s Setting up gettext (0.21-14ubuntu2) ... 162s Setting up cpp-13-arm-linux-gnueabihf (13.3.0-6ubuntu2~24.04) ... 162s Setting up libkdb5-10t64:armhf (1.20.1-6ubuntu2.6) ... 162s Setting up python3-talloc:armhf (2.4.2-1build2) ... 162s Setting up libavahi-common3:armhf (0.8-13ubuntu6) ... 162s Setting up golang-1.22-go (1.22.2-2ubuntu0.3) ... 162s Setting up pkgconf:armhf (1.8.1-2build1) ... 162s Setting up intltool-debian (0.35.0+20060710.6) ... 162s Setting up dh-strip-nondeterminism (1.13.1-1) ... 162s Setting up libgcc-13-dev:armhf (13.3.0-6ubuntu2~24.04) ... 162s Setting up xml-core (0.19) ... 162s Setting up libkadm5srv-mit12:armhf (1.20.1-6ubuntu2.6) ... 162s Setting up libc6-dev:armhf (2.39-0ubuntu8.4) ... 162s Setting up libldb2:armhf (2:2.8.0+samba4.19.5+dfsg-4ubuntu9) ... 162s Setting up libavahi-client3:armhf (0.8-13ubuntu6) ... 162s Setting up cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 162s Setting up libstdc++-13-dev:armhf (13.3.0-6ubuntu2~24.04) ... 162s Setting up libpcre2-dev:armhf (10.42-4ubuntu2.1) ... 162s Setting up cpp-13 (13.3.0-6ubuntu2~24.04) ... 162s Setting up libpam0g-dev:armhf (1.5.3-5ubuntu5.1) ... 162s Setting up golang-go:armhf (2:1.22~2build1) ... 162s Setting up libselinux1-dev:armhf (3.5-2ubuntu2.1) ... 162s Setting up po-debconf (1.0.21+nmu1) ... 162s Setting up samba-libs:armhf (2:4.19.5+dfsg-4ubuntu9) ... 162s Setting up gcc-13-arm-linux-gnueabihf (13.3.0-6ubuntu2~24.04) ... 162s Setting up uuid-dev:armhf (2.39.3-9ubuntu6.2) ... 162s Setting up comerr-dev:armhf (2.1-1.47.0-2.4~exp1ubuntu4.1) ... 162s Setting up gcc-13 (13.3.0-6ubuntu2~24.04) ... 162s Setting up python3-ldb (2:2.8.0+samba4.19.5+dfsg-4ubuntu9) ... 162s Setting up zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu2.1) ... 162s Setting up cpp (4:13.2.0-7ubuntu1) ... 162s Setting up samba-dsdb-modules:armhf (2:4.19.5+dfsg-4ubuntu9) ... 162s Setting up libsmbclient0:armhf (2:4.19.5+dfsg-4ubuntu9) ... 162s Setting up libcups2t64:armhf (2.4.7-1.2ubuntu7.3) ... 162s Setting up python3-samba (2:4.19.5+dfsg-4ubuntu9) ... 163s Setting up krb5-multidev:armhf (1.20.1-6ubuntu2.6) ... 163s Setting up gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 163s Setting up g++-13-arm-linux-gnueabihf (13.3.0-6ubuntu2~24.04) ... 163s Setting up g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 163s Setting up libblkid-dev:armhf (2.39.3-9ubuntu6.2) ... 163s Setting up g++-13 (13.3.0-6ubuntu2~24.04) ... 163s Setting up libtool (2.4.7-7build1) ... 163s Setting up gcc (4:13.2.0-7ubuntu1) ... 163s Setting up dh-autoreconf (20) ... 163s Setting up libkrb5-dev:armhf (1.20.1-6ubuntu2.6) ... 163s Setting up libsmbclient-dev:armhf (2:4.19.5+dfsg-4ubuntu9) ... 163s Setting up g++ (4:13.2.0-7ubuntu1) ... 163s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 163s Setting up samba-common-bin (2:4.19.5+dfsg-4ubuntu9) ... 163s Setting up build-essential (12.10ubuntu1) ... 163s Setting up libmount-dev:armhf (2.39.3-9ubuntu6.2) ... 163s Setting up samba (2:4.19.5+dfsg-4ubuntu9) ... 164s Created symlink /etc/systemd/system/smb.service → /usr/lib/systemd/system/smbd.service. 164s Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /usr/lib/systemd/system/smbd.service. 165s Created symlink /etc/systemd/system/nmb.service → /usr/lib/systemd/system/nmbd.service. 165s Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /usr/lib/systemd/system/nmbd.service. 165s Created symlink /etc/systemd/system/samba.service → /usr/lib/systemd/system/samba-ad-dc.service. 165s Created symlink /etc/systemd/system/multi-user.target.wants/samba-ad-dc.service → /usr/lib/systemd/system/samba-ad-dc.service. 166s Setting up debhelper (13.14.1ubuntu5) ... 166s Setting up libglib2.0-dev:armhf (2.80.0-6ubuntu3.4) ... 166s Setting up dh-golang (1.62) ... 166s Processing triggers for install-info (7.1-3build2) ... 166s Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 166s Processing triggers for ufw (0.36.2-6) ... 166s Processing triggers for man-db (2.12.0-4build2) ... 168s Processing triggers for libglib2.0-0t64:armhf (2.80.0-6ubuntu3.4) ... 168s No schema files found: doing nothing. 168s Processing triggers for sgml-base (1.31) ... 168s Setting up libdbus-1-dev:armhf (1.14.10-4ubuntu4.1) ... 176s autopkgtest [13:16:50]: test command1: ./debian/tests/test no-sudo 176s autopkgtest [13:16:50]: test command1: [----------------------- 177s Running non-root tests... 201s ? github.com/ubuntu/adsys [no test files] 201s ? github.com/ubuntu/adsys/cmd/admxgen [no test files] 210s === RUN TestRun 210s === RUN TestRun/Send_SIGHUP_with_exit 210s === RUN TestRun/Run_and_exit_successfully 210s === RUN TestRun/Run_and_return_error 210s level=error msg="Error requested" 210s === RUN TestRun/Run_and_return_usage_error 210s level=error msg="Error requested" 210s === RUN TestRun/Run_and_usage_error_only_does_not_fail 210s === RUN TestRun/Send_SIGINT_exits 210s === RUN TestRun/Send_SIGTERM_exits 210s === RUN TestRun/Send_SIGHUP_without_exiting 210s --- PASS: TestRun (0.86s) 210s --- PASS: TestRun/Send_SIGHUP_with_exit (0.10s) 210s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 210s --- PASS: TestRun/Run_and_return_error (0.10s) 210s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 210s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 210s --- PASS: TestRun/Send_SIGINT_exits (0.10s) 210s --- PASS: TestRun/Send_SIGTERM_exits (0.10s) 210s --- PASS: TestRun/Send_SIGHUP_without_exiting (0.15s) 210s PASS 210s ok github.com/ubuntu/adsys/cmd/adsysd 0.950s 213s === RUN TestColorizePolicies 213s --- PASS: TestColorizePolicies (0.00s) 213s === RUN TestInitApp 213s === PAUSE TestInitApp 213s === RUN TestAppHelp 213s === PAUSE TestAppHelp 213s === RUN TestAppCompletion 213s === PAUSE TestAppCompletion 213s === RUN TestAppNoUsageError 213s === PAUSE TestAppNoUsageError 213s === RUN TestAppUsageError 213s === PAUSE TestAppUsageError 213s === RUN TestAppCanQuitWhenExecute 213s === PAUSE TestAppCanQuitWhenExecute 213s === RUN TestAppCanQuitAfterExecute 213s === PAUSE TestAppCanQuitAfterExecute 213s === RUN TestAppCanQuitWithoutExecute 213s === PAUSE TestAppCanQuitWithoutExecute 213s === RUN TestAppCanSigHupWhenExecute 213s === PAUSE TestAppCanSigHupWhenExecute 213s === RUN TestAppCanSigHupAfterExecute 213s === PAUSE TestAppCanSigHupAfterExecute 213s === RUN TestAppGetRootCmd 213s === PAUSE TestAppGetRootCmd 213s === CONT TestInitApp 213s === CONT TestAppCanQuitAfterExecute 213s === CONT TestAppCanSigHupWhenExecute 213s === CONT TestAppCanQuitWithoutExecute 213s === CONT TestAppNoUsageError 213s === CONT TestAppCanQuitWhenExecute 213s === CONT TestAppUsageError 213s === CONT TestAppCompletion 213s --- PASS: TestAppCanQuitWhenExecute (0.02s) 213s === CONT TestAppGetRootCmd 213s Usage: 213s adsysctl COMMAND [flags] 213s adsysctl [command] 213s 213s Available Commands: 213s applied Print last applied GPOs for current or given user/machine 213s completion Generate the autocompletion script for the specified shell 213s doc Documentation 213s help Help about any command 213s policy Policy management 213s service Service management 213s update Updates/Create a policy for current user or given user with its kerberos ticket 213s version Returns version of client and service 213s 213s Flags: 213s -c, --config string use a specific configuration file 213s -h, --help help for adsysctl 213s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 213s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 213s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 213s 213s Use "adsysctl [command] --help" for more information about a command. 213s 213s --- PASS: TestAppUsageError (0.02s) 213s === CONT TestAppHelp 213s Usage: 213s adsysctl COMMAND [flags] 213s adsysctl [command] 213s 213s Available Commands: 213s applied Print last applied GPOs for current or given user/machine 213s completion Generate the autocompletion script for the specified shell 213s doc Documentation 213s help Help about any command 213s policy Policy management 213s service Service management 213s update Updates/Create a policy for current user or given user with its kerberos ticket 213s version Returns version of client and service 213s 213s Flags: 213s -c, --config string use a specific configuration file 213s -h, --help help for adsysctl 213s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 213s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 213s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 213s 213s Use "adsysctl [command] --help" for more information about a command. 213s 213s --- PASS: TestInitApp (0.02s) 213s === CONT TestAppCanSigHupAfterExecute 213s --- PASS: TestAppCanSigHupWhenExecute (0.03s) 213s # bash completion V2 for adsysctl -*- shell-script -*- 213s 213s __adsysctl_debug() 213s { 213s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 213s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 213s fi 213s } 213s 213s # Macs have bash3 for which the bash-completion package doesn't include 213s # _init_completion. This is a minimal version of that function. 213s __adsysctl_init_completion() 213s { 213s COMPREPLY=() 213s _get_comp_words_by_ref "$@" cur prev words cword 213s } 213s 213s # This function calls the adsysctl program to obtain the completion 213s # results and the directive. It fills the 'out' and 'directive' vars. 213s __adsysctl_get_completion_results() { 213s local requestComp lastParam lastChar args 213s 213s # Prepare the command to request completions for the program. 213s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 213s args=("${words[@]:1}") 213s requestComp="${words[0]} __complete ${args[*]}" 213s 213s lastParam=${words[$((${#words[@]}-1))]} 213s lastChar=${lastParam:$((${#lastParam}-1)):1} 213s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 213s 213s if [[ -z ${cur} && ${lastChar} != = ]]; then 213s # If the last parameter is complete (there is a space following it) 213s # We add an extra empty parameter so we can indicate this to the go method. 213s __adsysctl_debug "Adding extra empty parameter" 213s requestComp="${requestComp} ''" 213s fi 213s 213s # When completing a flag with an = (e.g., adsysctl -n=) 213s # bash focuses on the part after the =, so we need to remove 213s # the flag part from $cur 213s if [[ ${cur} == -*=* ]]; then 213s cur="${cur#*=}" 213s fi 213s 213s __adsysctl_debug "Calling ${requestComp}" 213s # Use eval to handle any environment variables and such 213s out=$(eval "${requestComp}" 2>/dev/null) 213s 213s # Extract the directive integer at the very end of the output following a colon (:) 213s directive=${out##*:} 213s # Remove the directive 213s out=${out%:*} 213s if [[ ${directive} == "${out}" ]]; then 213s # There is not directive specified 213s directive=0 213s fi 213s __adsysctl_debug "The completion directive is: ${directive}" 213s __adsysctl_debug "The completions are: ${out}" 213s } 213s 213s __adsysctl_process_completion_results() { 213s local shellCompDirectiveError=1 213s local shellCompDirectiveNoSpace=2 213s local shellCompDirectiveNoFileComp=4 213s local shellCompDirectiveFilterFileExt=8 213s local shellCompDirectiveFilterDirs=16 213s local shellCompDirectiveKeepOrder=32 213s 213s if (((directive & shellCompDirectiveError) != 0)); then 213s # Error code. No completion. 213s __adsysctl_debug "Received error from custom completion go code" 213s return 213s else 213s if (((directive & shellCompDirectiveNoSpace) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s __adsysctl_debug "Activating no space" 213s compopt -o nospace 213s else 213s __adsysctl_debug "No space directive not supported in this version of bash" 213s fi 213s fi 213s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s # no sort isn't supported for bash less than < 4.4 213s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 213s __adsysctl_debug "No sort directive not supported in this version of bash" 213s else 213s __adsysctl_debug "Activating keep order" 213s compopt -o nosort 213s fi 213s else 213s __adsysctl_debug "No sort directive not supported in this version of bash" 213s fi 213s fi 213s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s __adsysctl_debug "Activating no file completion" 213s compopt +o default 213s else 213s __adsysctl_debug "No file completion directive not supported in this version of bash" 213s fi 213s fi 213s fi 213s 213s # Separate activeHelp from normal completions 213s local completions=() 213s local activeHelp=() 213s __adsysctl_extract_activeHelp 213s 213s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 213s # File extension filtering 213s local fullFilter filter filteringCmd 213s 213s # Do not use quotes around the $completions variable or else newline 213s # characters will be kept. 213s for filter in ${completions[*]}; do 213s fullFilter+="$filter|" 213s done 213s 213s filteringCmd="_filedir $fullFilter" 213s __adsysctl_debug "File filtering command: $filteringCmd" 213s $filteringCmd 213s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 213s # File completion for directories only 213s 213s local subdir 213s subdir=${completions[0]} 213s if [[ -n $subdir ]]; then 213s __adsysctl_debug "Listing directories in $subdir" 213s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 213s else 213s __adsysctl_debug "Listing directories in ." 213s _filedir -d 213s fi 213s else 213s __adsysctl_handle_completion_types 213s fi 213s 213s __adsysctl_handle_special_char "$cur" : 213s __adsysctl_handle_special_char "$cur" = 213s 213s # Print the activeHelp statements before we finish 213s if ((${#activeHelp[*]} != 0)); then 213s printf "\n"; 213s printf "%s\n" "${activeHelp[@]}" 213s printf "\n" 213s 213s # The prompt format is only available from bash 4.4. 213s # We test if it is available before using it. 213s if (x=${PS1@P}) 2> /dev/null; then 213s printf "%s" "${PS1@P}${COMP_LINE[@]}" 213s else 213s # Can't print the prompt. Just print the 213s # text the user had typed, it is workable enough. 213s printf "%s" "${COMP_LINE[@]}" 213s fi 213s fi 213s } 213s 213s # Separate activeHelp lines from real completions. 213s # Fills the $activeHelp and $completions arrays. 213s __adsysctl_extract_activeHelp() { 213s local activeHelpMarker="_activeHelp_ " 213s local endIndex=${#activeHelpMarker} 213s 213s while IFS='' read -r comp; do 213s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 213s comp=${comp:endIndex} 213s __adsysctl_debug "ActiveHelp found: $comp" 213s if [[ -n $comp ]]; then 213s activeHelp+=("$comp") 213s fi 213s else 213s # Not an activeHelp line but a normal completion 213s completions+=("$comp") 213s fi 213s done <<<"${out}" 213s } 213s 213s __adsysctl_handle_completion_types() { 213s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 213s 213s case $COMP_TYPE in 213s 37|42) 213s # Type: menu-complete/menu-complete-backward and insert-completions 213s # If the user requested inserting one completion at a time, or all 213s # completions at once on the command-line we must remove the descriptions. 213s # https://github.com/spf13/cobra/issues/1508 213s local tab=$'\t' comp 213s while IFS='' read -r comp; do 213s [[ -z $comp ]] && continue 213s # Strip any description 213s comp=${comp%%$tab*} 213s # Only consider the completions that match 213s if [[ $comp == "$cur"* ]]; then 213s COMPREPLY+=("$comp") 213s fi 213s done < <(printf "%s\n" "${completions[@]}") 213s ;; 213s 213s *) 213s # Type: complete (normal completion) 213s __adsysctl_handle_standard_completion_case 213s ;; 213s esac 213s } 213s 213s __adsysctl_handle_standard_completion_case() { 213s local tab=$'\t' comp 213s 213s # Short circuit to optimize if we don't have descriptions 213s if [[ "${completions[*]}" != *$tab* ]]; then 213s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 213s return 0 213s fi 213s 213s local longest=0 213s local compline 213s # Look for the longest completion so that we can format things nicely 213s while IFS='' read -r compline; do 213s [[ -z $compline ]] && continue 213s # Strip any description before checking the length 213s comp=${compline%%$tab*} 213s # Only consider the completions that match 213s [[ $comp == "$cur"* ]] || continue 213s COMPREPLY+=("$compline") 213s if ((${#comp}>longest)); then 213s longest=${#comp} 213s fi 213s done < <(printf "%s\n" "${completions[@]}") 213s 213s # If there is a single completion left, remove the description text 213s if ((${#COMPREPLY[*]} == 1)); then 213s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 213s comp="${COMPREPLY[0]%%$tab*}" 213s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 213s COMPREPLY[0]=$comp 213s else # Format the descriptions 213s __adsysctl_format_comp_descriptions $longest 213s fi 213s } 213s 213s __adsysctl_handle_special_char() 213s { 213s local comp="$1" 213s local char=$2 213s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 213s local word=${comp%"${comp##*${char}}"} 213s local idx=${#COMPREPLY[*]} 213s while ((--idx >= 0)); do 213s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 213s done 213s fi 213s } 213s 213s __adsysctl_format_comp_descriptions() 213s { 213s local tab=$'\t' 213s local comp desc maxdesclength 213s local longest=$1 213s 213s local i ci 213s for ci in ${!COMPREPLY[*]}; do 213s comp=${COMPREPLY[ci]} 213s # Properly format the description string which follows a tab character if there is one 213s if [[ "$comp" == *$tab* ]]; then 213s __adsysctl_debug "Original comp: $comp" 213s desc=${comp#*$tab} 213s comp=${comp%%$tab*} 213s 213s # $COLUMNS stores the current shell width. 213s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 213s maxdesclength=$(( COLUMNS - longest - 4 )) 213s 213s # Make sure we can fit a description of at least 8 characters 213s # if we are to align the descriptions. 213s if ((maxdesclength > 8)); then 213s # Add the proper number of spaces to align the descriptions 213s for ((i = ${#comp} ; i < longest ; i++)); do 213s comp+=" " 213s done 213s else 213s # Don't pad the descriptions so we can fit more text after the completion 213s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 213s fi 213s 213s # If there is enough space for any description text, 213s # truncate the descriptions that are too long for the shell width 213s if ((maxdesclength > 0)); then 213s if ((${#desc} > maxdesclength)); then 213s desc=${desc:0:$(( maxdesclength - 1 ))} 213s desc+="…" 213s fi 213s comp+=" ($desc)" 213s fi 213s COMPREPLY[ci]=$comp 213s __adsysctl_debug "Final comp: $comp" 213s fi 213s done 213s } 213s 213s __start_adsysctl() 213s { 213s local cur prev words cword split 213s 213s COMPREPLY=() 213s 213s # Call _init_completion from the bash-completion package 213s # to prepare the arguments properly 213s if declare -F _init_completion >/dev/null 2>&1; then 213s _init_completion -n =: || return 213s else 213s __adsysctl_init_completion -n =: || return 213s fi 213s 213s __adsysctl_debug 213s __adsysctl_debug "========= starting completion logic ==========" 213s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 213s 213s # The user could have moved the cursor backwards on the command-line. 213s # We need to trigger completion from the $cword location, so we need 213s # to truncate the command-line ($words) up to the $cword location. 213s words=("${words[@]:0:$cword+1}") 213s __adsysctl_debug "Truncated words[*]: ${words[*]}," 213s 213s local out directive 213s __adsysctl_get_completion_results 213s __adsysctl_process_completion_results 213s } 213s 213s if [[ $(type -t compopt) = "builtin" ]]; then 213s complete -o default -F __start_adsysctl adsysctl 213s else 213s complete -o default -o nospace -F __start_adsysctl adsysctl 213s fi 213s 213s # ex: ts=4 sw=4 et filetype=sh 213s --- PASS: TestAppCompletion (0.03s) 213s # bash completion V2 for adsysctl -*- shell-script -*- 213s 213s __adsysctl_debug() 213s { 213s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 213s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 213s fi 213s } 213s 213s # Macs have bash3 for which the bash-completion package doesn't include 213s # _init_completion. This is a minimal version of that function. 213s __adsysctl_init_completion() 213s { 213s COMPREPLY=() 213s _get_comp_words_by_ref "$@" cur prev words cword 213s } 213s 213s # This function calls the adsysctl program to obtain the completion 213s # results and the directive. It fills the 'out' and 'directive' vars. 213s __adsysctl_get_completion_results() { 213s local requestComp lastParam lastChar args 213s 213s # Prepare the command to request completions for the program. 213s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 213s args=("${words[@]:1}") 213s requestComp="${words[0]} __complete ${args[*]}" 213s 213s lastParam=${words[$((${#words[@]}-1))]} 213s lastChar=${lastParam:$((${#lastParam}-1)):1} 213s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 213s 213s if [[ -z ${cur} && ${lastChar} != = ]]; then 213s # If the last parameter is complete (there is a space following it) 213s # We add an extra empty parameter so we can indicate this to the go method. 213s __adsysctl_debug "Adding extra empty parameter" 213s requestComp="${requestComp} ''" 213s fi 213s 213s # When completing a flag with an = (e.g., adsysctl -n=) 213s # bash focuses on the part after the =, so we need to remove 213s # the flag part from $cur 213s if [[ ${cur} == -*=* ]]; then 213s cur="${cur#*=}" 213s fi 213s 213s __adsysctl_debug "Calling ${requestComp}" 213s # Use eval to handle any environment variables and such 213s out=$(eval "${requestComp}" 2>/dev/null) 213s 213s # Extract the directive integer at the very end of the output following a colon (:) 213s directive=${out##*:} 213s # Remove the directive 213s out=${out%:*} 213s if [[ ${directive} == "${out}" ]]; then 213s # There is not directive specified 213s directive=0 213s fi 213s __adsysctl_debug "The completion directive is: ${directive}" 213s __adsysctl_debug "The completions are: ${out}" 213s } 213s 213s __adsysctl_process_completion_results() { 213s local shellCompDirectiveError=1 213s local shellCompDirectiveNoSpace=2 213s local shellCompDirectiveNoFileComp=4 213s local shellCompDirectiveFilterFileExt=8 213s local shellCompDirectiveFilterDirs=16 213s local shellCompDirectiveKeepOrder=32 213s 213s if (((directive & shellCompDirectiveError) != 0)); then 213s # Error code. No completion. 213s __adsysctl_debug "Received error from custom completion go code" 213s return 213s else 213s if (((directive & shellCompDirectiveNoSpace) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s __adsysctl_debug "Activating no space" 213s compopt -o nospace 213s else 213s __adsysctl_debug "No space directive not supported in this version of bash" 213s fi 213s fi 213s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s # no sort isn't supported for bash less than < 4.4 213s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 213s __adsysctl_debug "No sort directive not supported in this version of bash" 213s else 213s __adsysctl_debug "Activating keep order" 213s compopt -o nosort 213s fi 213s else 213s __adsysctl_debug "No sort directive not supported in this version of bash" 213s fi 213s fi 213s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s __adsysctl_debug "Activating no file completion" 213s compopt +o default 213s else 213s __adsysctl_debug "No file completion directive not supported in this version of bash" 213s fi 213s fi 213s fi 213s 213s # Separate activeHelp from normal completions 213s local completions=() 213s local activeHelp=() 213s __adsysctl_extract_activeHelp 213s 213s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 213s # File extension filtering 213s local fullFilter filter filteringCmd 213s 213s # Do not use quotes around the $completions variable or else newline 213s # characters will be kept. 213s for filter in ${completions[*]}; do 213s fullFilter+="$filter|" 213s done 213s 213s filteringCmd="_filedir $fullFilter" 213s __adsysctl_debug "File filtering command: $filteringCmd" 213s $filteringCmd 213s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 213s # File completion for directories only 213s 213s local subdir 213s subdir=${completions[0]} 213s if [[ -n $subdir ]]; then 213s __adsysctl_debug "Listing directories in $subdir" 213s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 213s else 213s __adsysctl_debug "Listing directories in ." 213s _filedir -d 213s fi 213s else 213s __adsysctl_handle_completion_types 213s fi 213s 213s __adsysctl_handle_special_char "$cur" : 213s __adsysctl_handle_special_char "$cur" = 213s 213s # Print the activeHelp statements before we finish 213s if ((${#activeHelp[*]} != 0)); then 213s printf "\n"; 213s printf "%s\n" "${activeHelp[@]}" 213s printf "\n" 213s 213s # The prompt format is only available from bash 4.4. 213s # We test if it is available before using it. 213s if (x=${PS1@P}) 2> /dev/null; then 213s printf "%s" "${PS1@P}${COMP_LINE[@]}" 213s else 213s # Can't print the prompt. Just print the 213s # text the user had typed, it is workable enough. 213s printf "%s" "${COMP_LINE[@]}" 213s fi 213s fi 213s } 213s 213s # Separate activeHelp lines from real completions. 213s # Fills the $activeHelp and $completions arrays. 213s __adsysctl_extract_activeHelp() { 213s local activeHelpMarker="_activeHelp_ " 213s local endIndex=${#activeHelpMarker} 213s 213s while IFS='' read -r comp; do 213s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 213s comp=${comp:endIndex} 213s __adsysctl_debug "ActiveHelp found: $comp" 213s if [[ -n $comp ]]; then 213s activeHelp+=("$comp") 213s fi 213s else 213s # Not an activeHelp line but a normal completion 213s completions+=("$comp") 213s fi 213s done <<<"${out}" 213s } 213s 213s __adsysctl_handle_completion_types() { 213s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 213s 213s case $COMP_TYPE in 213s 37|42) 213s # Type: menu-complete/menu-complete-backward and insert-completions 213s # If the user requested inserting one completion at a time, or all 213s # completions at once on the command-line we must remove the descriptions. 213s # https://github.com/spf13/cobra/issues/1508 213s local tab=$'\t' comp 213s while IFS='' read -r comp; do 213s [[ -z $comp ]] && continue 213s # Strip any description 213s comp=${comp%%$tab*} 213s # Only consider the completions that match 213s if [[ $comp == "$cur"* ]]; then 213s COMPREPLY+=("$comp") 213s fi 213s done < <(printf "%s\n" "${completions[@]}") 213s ;; 213s 213s *) 213s # Type: complete (normal completion) 213s __adsysctl_handle_standard_completion_case 213s ;; 213s esac 213s } 213s 213s __adsysctl_handle_standard_completion_case() { 213s local tab=$'\t' comp 213s 213s # Short circuit to optimize if we don't have descriptions 213s if [[ "${completions[*]}" != *$tab* ]]; then 213s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 213s return 0 213s fi 213s 213s local longest=0 213s local compline 213s # Look for the longest completion so that we can format things nicely 213s while IFS='' read -r compline; do 213s [[ -z $compline ]] && continue 213s # Strip any description before checking the length 213s comp=${compline%%$tab*} 213s # Only consider the completions that match 213s [[ $comp == "$cur"* ]] || continue 213s COMPREPLY+=("$compline") 213s if ((${#comp}>longest)); then 213s longest=${#comp} 213s fi 213s done < <(printf "%s\n" "${completions[@]}") 213s 213s # If there is a single completion left, remove the description text 213s if ((${#COMPREPLY[*]} == 1)); then 213s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 213s comp="${COMPREPLY[0]%%$tab*}" 213s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 213s COMPREPLY[0]=$comp 213s else # Format the descriptions 213s __adsysctl_format_comp_descriptions $longest 213s fi 213s } 213s 213s __adsysctl_handle_special_char() 213s { 213s local comp="$1" 213s local char=$2 213s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 213s local word=${comp%"${comp##*${char}}"} 213s local idx=${#COMPREPLY[*]} 213s while ((--idx >= 0)); do 213s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 213s done 213s fi 213s } 213s 213s __adsysctl_format_comp_descriptions() 213s { 213s local tab=$'\t' 213s local comp desc maxdesclength 213s local longest=$1 213s 213s local i ci 213s for ci in ${!COMPREPLY[*]}; do 213s comp=${COMPREPLY[ci]} 213s # Properly format the description string which follows a tab character if there is one 213s if [[ "$comp" == *$tab* ]]; then 213s __adsysctl_debug "Original comp: $comp" 213s desc=${comp#*$tab} 213s comp=${comp%%$tab*} 213s 213s # $COLUMNS stores the current shell width. 213s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 213s maxdesclength=$(( COLUMNS - longest - 4 )) 213s 213s # Make sure we can fit a description of at least 8 characters 213s # if we are to align the descriptions. 213s if ((maxdesclength > 8)); then 213s # Add the proper number of spaces to align the descriptions 213s for ((i = ${#comp} ; i < longest ; i++)); do 213s comp+=" " 213s done 213s else 213s # Don't pad the descriptions so we can fit more text after the completion 213s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 213s fi 213s 213s # If there is enough space for any description text, 213s # truncate the descriptions that are too long for the shell width 213s if ((maxdesclength > 0)); then 213s if ((${#desc} > maxdesclength)); then 213s desc=${desc:0:$(( maxdesclength - 1 ))} 213s desc+="…" 213s fi 213s comp+=" ($desc)" 213s fi 213s COMPREPLY[ci]=$comp 213s __adsysctl_debug "Final comp: $comp" 213s fi 213s done 213s } 213s 213s __start_adsysctl() 213s { 213s local cur prev words cword split 213s 213s COMPREPLY=() 213s 213s # Call _init_completion from the bash-completion package 213s # to prepare the arguments properly 213s if declare -F _init_completion >/dev/null 2>&1; then 213s _init_completion -n =: || return 213s else 213s __adsysctl_init_completion -n =: || return 213s fi 213s 213s __adsysctl_debug 213s __adsysctl_debug "========= starting completion logic ==========" 213s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 213s 213s # The user could have moved the cursor backwards on the command-line. 213s # We need to trigger completion from the $cword location, so we need 213s # to truncate the command-line ($words) up to the $cword location. 213s words=("${words[@]:0:$cword+1}") 213s __adsysctl_debug "Truncated words[*]: ${words[*]}," 213s 213s local out directive 213s __adsysctl_get_completion_results 213s __adsysctl_process_completion_results 213s } 213s 213s if [[ $(type -t compopt) = "builtin" ]]; then 213s complete -o default -F __start_adsysctl adsysctl 213s else 213s complete -o default -o nospace -F __start_adsysctl adsysctl 213s fi 213s 213s # ex: ts=4 sw=4 et filetype=sh 213s --- PASS: TestAppNoUsageError (0.03s) 213s # bash completion V2 for adsysctl -*- shell-script -*- 213s 213s __adsysctl_debug() 213s { 213s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 213s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 213s fi 213s } 213s 213s # Macs have bash3 for which the bash-completion package doesn't include 213s # _init_completion. This is a minimal version of that function. 213s __adsysctl_init_completion() 213s { 213s COMPREPLY=() 213s _get_comp_words_by_ref "$@" cur prev words cword 213s } 213s 213s # This function calls the adsysctl program to obtain the completion 213s # results and the directive. It fills the 'out' and 'directive' vars. 213s __adsysctl_get_completion_results() { 213s local requestComp lastParam lastChar args 213s 213s # Prepare the command to request completions for the program. 213s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 213s args=("${words[@]:1}") 213s requestComp="${words[0]} __complete ${args[*]}" 213s 213s lastParam=${words[$((${#words[@]}-1))]} 213s lastChar=${lastParam:$((${#lastParam}-1)):1} 213s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 213s 213s if [[ -z ${cur} && ${lastChar} != = ]]; then 213s # If the last parameter is complete (there is a space following it) 213s # We add an extra empty parameter so we can indicate this to the go method. 213s __adsysctl_debug "Adding extra empty parameter" 213s requestComp="${requestComp} ''" 213s fi 213s 213s # When completing a flag with an = (e.g., adsysctl -n=) 213s # bash focuses on the part after the =, so we need to remove 213s # the flag part from $cur 213s if [[ ${cur} == -*=* ]]; then 213s cur="${cur#*=}" 213s fi 213s 213s __adsysctl_debug "Calling ${requestComp}" 213s # Use eval to handle any environment variables and such 213s out=$(eval "${requestComp}" 2>/dev/null) 213s 213s # Extract the directive integer at the very end of the output following a colon (:) 213s directive=${out##*:} 213s # Remove the directive 213s out=${out%:*} 213s if [[ ${directive} == "${out}" ]]; then 213s # There is not directive specified 213s directive=0 213s fi 213s __adsysctl_debug "The completion directive is: ${directive}" 213s __adsysctl_debug "The completions are: ${out}" 213s } 213s 213s __adsysctl_process_completion_results() { 213s local shellCompDirectiveError=1 213s local shellCompDirectiveNoSpace=2 213s local shellCompDirectiveNoFileComp=4 213s local shellCompDirectiveFilterFileExt=8 213s local shellCompDirectiveFilterDirs=16 213s local shellCompDirectiveKeepOrder=32 213s 213s if (((directive & shellCompDirectiveError) != 0)); then 213s # Error code. No completion. 213s __adsysctl_debug "Received error from custom completion go code" 213s return 213s else 213s if (((directive & shellCompDirectiveNoSpace) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s __adsysctl_debug "Activating no space" 213s compopt -o nospace 213s else 213s __adsysctl_debug "No space directive not supported in this version of bash" 213s fi 213s fi 213s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s # no sort isn't supported for bash less than < 4.4 213s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 213s __adsysctl_debug "No sort directive not supported in this version of bash" 213s else 213s __adsysctl_debug "Activating keep order" 213s compopt -o nosort 213s fi 213s else 213s __adsysctl_debug "No sort directive not supported in this version of bash" 213s fi 213s fi 213s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s __adsysctl_debug "Activating no file completion" 213s compopt +o default 213s else 213s __adsysctl_debug "No file completion directive not supported in this version of bash" 213s fi 213s fi 213s fi 213s 213s # Separate activeHelp from normal completions 213s local completions=() 213s local activeHelp=() 213s __adsysctl_extract_activeHelp 213s 213s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 213s # File extension filtering 213s local fullFilter filter filteringCmd 213s 213s # Do not use quotes around the $completions variable or else newline 213s # characters will be kept. 213s for filter in ${completions[*]}; do 213s fullFilter+="$filter|" 213s done 213s 213s filteringCmd="_filedir $fullFilter" 213s __adsysctl_debug "File filtering command: $filteringCmd" 213s $filteringCmd 213s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 213s # File completion for directories only 213s 213s local subdir 213s subdir=${completions[0]} 213s if [[ -n $subdir ]]; then 213s __adsysctl_debug "Listing directories in $subdir" 213s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 213s else 213s __adsysctl_debug "Listing directories in ." 213s _filedir -d 213s fi 213s else 213s __adsysctl_handle_completion_types 213s fi 213s 213s __adsysctl_handle_special_char "$cur" : 213s __adsysctl_handle_special_char "$cur" = 213s 213s # Print the activeHelp statements before we finish 213s if ((${#activeHelp[*]} != 0)); then 213s printf "\n"; 213s printf "%s\n" "${activeHelp[@]}" 213s printf "\n" 213s 213s # The prompt format is only available from bash 4.4. 213s # We test if it is available before using it. 213s if (x=${PS1@P}) 2> /dev/null; then 213s printf "%s" "${PS1@P}${COMP_LINE[@]}" 213s else 213s # Can't print the prompt. Just print the 213s # text the user had typed, it is workable enough. 213s printf "%s" "${COMP_LINE[@]}" 213s fi 213s fi 213s } 213s 213s # Separate activeHelp lines from real completions. 213s # Fills the $activeHelp and $completions arrays. 213s __adsysctl_extract_activeHelp() { 213s local activeHelpMarker="_activeHelp_ " 213s local endIndex=${#activeHelpMarker} 213s 213s while IFS='' read -r comp; do 213s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 213s comp=${comp:endIndex} 213s __adsysctl_debug "ActiveHelp found: $comp" 213s if [[ -n $comp ]]; then 213s activeHelp+=("$comp") 213s fi 213s else 213s # Not an activeHelp line but a normal completion 213s completions+=("$comp") 213s fi 213s done <<<"${out}" 213s } 213s 213s __adsysctl_handle_completion_types() { 213s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 213s 213s case $COMP_TYPE in 213s 37|42) 213s # Type: menu-complete/menu-complete-backward and insert-completions 213s # If the user requested inserting one completion at a time, or all 213s # completions at once on the command-line we must remove the descriptions. 213s # https://github.com/spf13/cobra/issues/1508 213s local tab=$'\t' comp 213s while IFS='' read -r comp; do 213s [[ -z $comp ]] && continue 213s # Strip any description 213s comp=${comp%%$tab*} 213s # Only consider the completions that match 213s if [[ $comp == "$cur"* ]]; then 213s COMPREPLY+=("$comp") 213s fi 213s done < <(printf "%s\n" "${completions[@]}") 213s ;; 213s 213s *) 213s # Type: complete (normal completion) 213s __adsysctl_handle_standard_completion_case 213s ;; 213s esac 213s } 213s 213s __adsysctl_handle_standard_completion_case() { 213s local tab=$'\t' comp 213s 213s # Short circuit to optimize if we don't have descriptions 213s if [[ "${completions[*]}" != *$tab* ]]; then 213s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 213s return 0 213s fi 213s 213s local longest=0 213s local compline 213s # Look for the longest completion so that we can format things nicely 213s while IFS='' read -r compline; do 213s [[ -z $compline ]] && continue 213s # Strip any description before checking the length 213s comp=${compline%%$tab*} 213s # Only consider the completions that match 213s [[ $comp == "$cur"* ]] || continue 213s COMPREPLY+=("$compline") 213s if ((${#comp}>longest)); then 213s longest=${#comp} 213s fi 213s done < <(printf "%s\n" "${completions[@]}") 213s 213s # If there is a single completion left, remove the description text 213s if ((${#COMPREPLY[*]} == 1)); then 213s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 213s comp="${COMPREPLY[0]%%$tab*}" 213s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 213s COMPREPLY[0]=$comp 213s else # Format the descriptions 213s __adsysctl_format_comp_descriptions $longest 213s fi 213s } 213s 213s __adsysctl_handle_special_char() 213s { 213s local comp="$1" 213s local char=$2 213s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 213s local word=${comp%"${comp##*${char}}"} 213s local idx=${#COMPREPLY[*]} 213s while ((--idx >= 0)); do 213s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 213s done 213s fi 213s } 213s 213s __adsysctl_format_comp_descriptions() 213s { 213s local tab=$'\t' 213s local comp desc maxdesclength 213s local longest=$1 213s 213s local i ci 213s for ci in ${!COMPREPLY[*]}; do 213s comp=${COMPREPLY[ci]} 213s # Properly format the description string which follows a tab character if there is one 213s if [[ "$comp" == *$tab* ]]; then 213s __adsysctl_debug "Original comp: $comp" 213s desc=${comp#*$tab} 213s comp=${comp%%$tab*} 213s 213s # $COLUMNS stores the current shell width. 213s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 213s maxdesclength=$(( COLUMNS - longest - 4 )) 213s 213s # Make sure we can fit a description of at least 8 characters 213s # if we are to align the descriptions. 213s if ((maxdesclength > 8)); then 213s # Add the proper number of spaces to align the descriptions 213s for ((i = ${#comp} ; i < longest ; i++)); do 213s comp+=" " 213s done 213s else 213s # Don't pad the descriptions so we can fit more text after the completion 213s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 213s fi 213s 213s # If there is enough space for any description text, 213s # truncate the descriptions that are too long for the shell width 213s if ((maxdesclength > 0)); then 213s if ((${#desc} > maxdesclength)); then 213s desc=${desc:0:$(( maxdesclength - 1 ))} 213s desc+="…" 213s fi 213s comp+=" ($desc)" 213s fi 213s COMPREPLY[ci]=$comp 213s __adsysctl_debug "Final comp: $comp" 213s fi 213s done 213s } 213s 213s __start_adsysctl() 213s { 213s local cur prev words cword split 213s 213s COMPREPLY=() 213s 213s # Call _init_completion from the bash-completion package 213s # to prepare the arguments properly 213s if declare -F _init_completion >/dev/null 2>&1; then 213s _init_completion -n =: || return 213s else 213s __adsysctl_init_completion -n =: || return 213s fi 213s 213s __adsysctl_debug 213s __adsysctl_debug "========= starting completion logic ==========" 213s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 213s 213s # The user could have moved the cursor backwards on the command-line. 213s # We need to trigger completion from the $cword location, so we need 213s # to truncate the command-line ($words) up to the $cword location. 213s words=("${words[@]:0:$cword+1}") 213s __adsysctl_debug "Truncated words[*]: ${words[*]}," 213s 213s local out directive 213s __adsysctl_get_completion_results 213s __adsysctl_process_completion_results 213s } 213s 213s if [[ $(type -t compopt) = "builtin" ]]; then 213s complete -o default -F __start_adsysctl adsysctl 213s else 213s complete -o default -o nospace -F __start_adsysctl adsysctl 213s fi 213s 213s # ex: ts=4 sw=4 et filetype=sh 213s --- PASS: TestAppCanQuitAfterExecute (0.03s) 213s --- PASS: TestAppCanQuitWithoutExecute (0.03s) 213s Active Directory integration bridging toolset command line tool. 213s 213s --- PASS: TestAppGetRootCmd (0.02s) 213s Usage: 213s adsysctl COMMAND [flags] 213s adsysctl [command] 213s 213s Available Commands: 213s applied Print last applied GPOs for current or given user/machine 213s completion Generate the autocompletion script for the specified shell 213s doc Documentation 213s help Help about any command 213s policy Policy management 213s service Service management 213s update Updates/Create a policy for current user or given user with its kerberos ticket 213s version Returns version of client and service 213s 213s Flags: 213s -c, --config string use a specific configuration file 213s -h, --help help for adsysctl 213s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 213s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 213s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 213s 213s Use "adsysctl [command] --help" for more information about a command. 213s --- PASS: TestAppHelp (0.02s) 213s # bash completion V2 for adsysctl -*- shell-script -*- 213s 213s __adsysctl_debug() 213s { 213s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 213s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 213s fi 213s } 213s 213s # Macs have bash3 for which the bash-completion package doesn't include 213s # _init_completion. This is a minimal version of that function. 213s __adsysctl_init_completion() 213s { 213s COMPREPLY=() 213s _get_comp_words_by_ref "$@" cur prev words cword 213s } 213s 213s # This function calls the adsysctl program to obtain the completion 213s # results and the directive. It fills the 'out' and 'directive' vars. 213s __adsysctl_get_completion_results() { 213s local requestComp lastParam lastChar args 213s 213s # Prepare the command to request completions for the program. 213s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 213s args=("${words[@]:1}") 213s requestComp="${words[0]} __complete ${args[*]}" 213s 213s lastParam=${words[$((${#words[@]}-1))]} 213s lastChar=${lastParam:$((${#lastParam}-1)):1} 213s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 213s 213s if [[ -z ${cur} && ${lastChar} != = ]]; then 213s # If the last parameter is complete (there is a space following it) 213s # We add an extra empty parameter so we can indicate this to the go method. 213s __adsysctl_debug "Adding extra empty parameter" 213s requestComp="${requestComp} ''" 213s fi 213s 213s # When completing a flag with an = (e.g., adsysctl -n=) 213s # bash focuses on the part after the =, so we need to remove 213s # the flag part from $cur 213s if [[ ${cur} == -*=* ]]; then 213s cur="${cur#*=}" 213s fi 213s 213s __adsysctl_debug "Calling ${requestComp}" 213s # Use eval to handle any environment variables and such 213s out=$(eval "${requestComp}" 2>/dev/null) 213s 213s # Extract the directive integer at the very end of the output following a colon (:) 213s directive=${out##*:} 213s # Remove the directive 213s out=${out%:*} 213s if [[ ${directive} == "${out}" ]]; then 213s # There is not directive specified 213s directive=0 213s fi 213s __adsysctl_debug "The completion directive is: ${directive}" 213s __adsysctl_debug "The completions are: ${out}" 213s } 213s 213s __adsysctl_process_completion_results() { 213s local shellCompDirectiveError=1 213s local shellCompDirectiveNoSpace=2 213s local shellCompDirectiveNoFileComp=4 213s local shellCompDirectiveFilterFileExt=8 213s local shellCompDirectiveFilterDirs=16 213s local shellCompDirectiveKeepOrder=32 213s 213s if (((directive & shellCompDirectiveError) != 0)); then 213s # Error code. No completion. 213s __adsysctl_debug "Received error from custom completion go code" 213s return 213s else 213s if (((directive & shellCompDirectiveNoSpace) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s __adsysctl_debug "Activating no space" 213s compopt -o nospace 213s else 213s __adsysctl_debug "No space directive not supported in this version of bash" 213s fi 213s fi 213s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s # no sort isn't supported for bash less than < 4.4 213s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 213s __adsysctl_debug "No sort directive not supported in this version of bash" 213s else 213s __adsysctl_debug "Activating keep order" 213s compopt -o nosort 213s fi 213s else 213s __adsysctl_debug "No sort directive not supported in this version of bash" 213s fi 213s fi 213s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 213s if [[ $(type -t compopt) == builtin ]]; then 213s __adsysctl_debug "Activating no file completion" 213s compopt +o default 213s else 213s __adsysctl_debug "No file completion directive not supported in this version of bash" 213s fi 213s fi 213s fi 213s 213s # Separate activeHelp from normal completions 213s local completions=() 213s local activeHelp=() 213s __adsysctl_extract_activeHelp 213s 213s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 213s # File extension filtering 213s local fullFilter filter filteringCmd 213s 213s # Do not use quotes around the $completions variable or else newline 213s # characters will be kept. 213s for filter in ${completions[*]}; do 213s fullFilter+="$filter|" 213s done 213s 213s filteringCmd="_filedir $fullFilter" 213s __adsysctl_debug "File filtering command: $filteringCmd" 213s $filteringCmd 213s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 213s # File completion for directories only 213s 213s local subdir 213s subdir=${completions[0]} 213s if [[ -n $subdir ]]; then 213s __adsysctl_debug "Listing directories in $subdir" 213s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 213s else 213s __adsysctl_debug "Listing directories in ." 213s _filedir -d 213s fi 213s else 213s __adsysctl_handle_completion_types 213s fi 213s 213s __adsysctl_handle_special_char "$cur" : 213s __adsysctl_handle_special_char "$cur" = 213s 213s # Print the activeHelp statements before we finish 213s if ((${#activeHelp[*]} != 0)); then 213s printf "\n"; 213s printf "%s\n" "${activeHelp[@]}" 213s printf "\n" 213s 213s # The prompt format is only available from bash 4.4. 213s # We test if it is available before using it. 213s if (x=${PS1@P}) 2> /dev/null; then 213s printf "%s" "${PS1@P}${COMP_LINE[@]}" 213s else 213s # Can't print the prompt. Just print the 213s # text the user had typed, it is workable enough. 213s printf "%s" "${COMP_LINE[@]}" 213s fi 213s fi 213s } 213s 213s # Separate activeHelp lines from real completions. 213s # Fills the $activeHelp and $completions arrays. 213s __adsysctl_extract_activeHelp() { 213s local activeHelpMarker="_activeHelp_ " 213s local endIndex=${#activeHelpMarker} 213s 213s while IFS='' read -r comp; do 213s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 213s comp=${comp:endIndex} 213s __adsysctl_debug "ActiveHelp found: $comp" 213s if [[ -n $comp ]]; then 213s activeHelp+=("$comp") 213s fi 213s else 213s # Not an activeHelp line but a normal completion 213s completions+=("$comp") 213s fi 213s done <<<"${out}" 213s } 213s 213s __adsysctl_handle_completion_types() { 213s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 213s 213s case $COMP_TYPE in 213s 37|42) 213s # Type: menu-complete/menu-complete-backward and insert-completions 213s # If the user requested inserting one completion at a time, or all 213s # completions at once on the command-line we must remove the descriptions. 213s # https://github.com/spf13/cobra/issues/1508 213s local tab=$'\t' comp 213s while IFS='' read -r comp; do 213s [[ -z $comp ]] && continue 213s # Strip any description 213s comp=${comp%%$tab*} 213s # Only consider the completions that match 213s if [[ $comp == "$cur"* ]]; then 213s COMPREPLY+=("$comp") 213s fi 213s done < <(printf "%s\n" "${completions[@]}") 213s ;; 213s 213s *) 213s # Type: complete (normal completion) 213s __adsysctl_handle_standard_completion_case 213s ;; 213s esac 213s } 213s 213s __adsysctl_handle_standard_completion_case() { 213s local tab=$'\t' comp 213s 213s # Short circuit to optimize if we don't have descriptions 213s if [[ "${completions[*]}" != *$tab* ]]; then 213s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 213s return 0 213s fi 213s 213s local longest=0 213s local compline 213s # Look for the longest completion so that we can format things nicely 213s while IFS='' read -r compline; do 213s [[ -z $compline ]] && continue 213s # Strip any description before checking the length 213s comp=${compline%%$tab*} 213s # Only consider the completions that match 213s [[ $comp == "$cur"* ]] || continue 213s COMPREPLY+=("$compline") 213s if ((${#comp}>longest)); then 213s longest=${#comp} 213s fi 213s done < <(printf "%s\n" "${completions[@]}") 213s 213s # If there is a single completion left, remove the description text 213s if ((${#COMPREPLY[*]} == 1)); then 213s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 213s comp="${COMPREPLY[0]%%$tab*}" 213s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 213s COMPREPLY[0]=$comp 213s else # Format the descriptions 213s __adsysctl_format_comp_descriptions $longest 213s fi 213s } 213s 213s __adsysctl_handle_special_char() 213s { 213s local comp="$1" 213s local char=$2 213s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 213s local word=${comp%"${comp##*${char}}"} 213s local idx=${#COMPREPLY[*]} 213s while ((--idx >= 0)); do 213s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 213s done 213s fi 213s } 213s 213s __adsysctl_format_comp_descriptions() 213s { 213s local tab=$'\t' 213s local comp desc maxdesclength 213s local longest=$1 213s 213s local i ci 213s for ci in ${!COMPREPLY[*]}; do 213s comp=${COMPREPLY[ci]} 213s # Properly format the description string which follows a tab character if there is one 213s if [[ "$comp" == *$tab* ]]; then 213s __adsysctl_debug "Original comp: $comp" 213s desc=${comp#*$tab} 213s comp=${comp%%$tab*} 213s 213s # $COLUMNS stores the current shell width. 213s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 213s maxdesclength=$(( COLUMNS - longest - 4 )) 213s 213s # Make sure we can fit a description of at least 8 characters 213s # if we are to align the descriptions. 213s if ((maxdesclength > 8)); then 213s # Add the proper number of spaces to align the descriptions 213s for ((i = ${#comp} ; i < longest ; i++)); do 213s comp+=" " 213s done 213s else 213s # Don't pad the descriptions so we can fit more text after the completion 213s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 213s fi 213s 213s # If there is enough space for any description text, 213s # truncate the descriptions that are too long for the shell width 213s if ((maxdesclength > 0)); then 213s if ((${#desc} > maxdesclength)); then 213s desc=${desc:0:$(( maxdesclength - 1 ))} 213s desc+="…" 213s fi 213s comp+=" ($desc)" 213s fi 213s COMPREPLY[ci]=$comp 213s __adsysctl_debug "Final comp: $comp" 213s fi 213s done 213s } 213s 213s __start_adsysctl() 213s { 213s local cur prev words cword split 213s 213s COMPREPLY=() 213s 213s # Call _init_completion from the bash-completion package 213s # to prepare the arguments properly 213s if declare -F _init_completion >/dev/null 2>&1; then 213s _init_completion -n =: || return 213s else 213s __adsysctl_init_completion -n =: || return 213s fi 213s 213s __adsysctl_debug 213s __adsysctl_debug "========= starting completion logic ==========" 213s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 213s 213s # The user could have moved the cursor backwards on the command-line. 213s # We need to trigger completion from the $cword location, so we need 213s # to truncate the command-line ($words) up to the $cword location. 213s words=("${words[@]:0:$cword+1}") 213s __adsysctl_debug "Truncated words[*]: ${words[*]}," 213s 213s local out directive 213s __adsysctl_get_completion_results 213s __adsysctl_process_completion_results 213s } 213s 213s if [[ $(type -t compopt) = "builtin" ]]; then 213s complete -o default -F __start_adsysctl adsysctl 213s else 213s complete -o default -o nospace -F __start_adsysctl adsysctl 213s fi 213s 213s # ex: ts=4 sw=4 et filetype=sh 213s --- PASS: TestAppCanSigHupAfterExecute (0.02s) 213s PASS 213s ok github.com/ubuntu/adsys/cmd/adsysd/client 0.130s 219s === RUN TestAppHelp 219s === PAUSE TestAppHelp 219s === RUN TestAppCompletion 219s === PAUSE TestAppCompletion 219s === RUN TestAppVersion 219s --- PASS: TestAppVersion (0.00s) 219s === RUN TestAppNoUsageError 219s === PAUSE TestAppNoUsageError 219s === RUN TestAppUsageError 219s === PAUSE TestAppUsageError 219s === RUN TestAppCanQuitWhenExecute 219s time="2025-06-17T13:17:29Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 219s --- PASS: TestAppCanQuitWhenExecute (0.07s) 219s === RUN TestAppCanQuitAfterExecute 219s time="2025-06-17T13:17:29Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 219s --- PASS: TestAppCanQuitAfterExecute (1.01s) 219s === RUN TestAppCanQuitWithoutExecute 219s === PAUSE TestAppCanQuitWithoutExecute 219s === RUN TestAppRunFailsOnDaemonCreationAndQuit 219s time="2025-06-17T13:17:30Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 219s --- PASS: TestAppRunFailsOnDaemonCreationAndQuit (0.01s) 219s === RUN TestAppRunFailsOnServiceCreationAndQuit 219s --- PASS: TestAppRunFailsOnServiceCreationAndQuit (0.00s) 219s === RUN TestAppCanSigHupWhenExecute 219s time="2025-06-17T13:17:30Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 219s --- PASS: TestAppCanSigHupWhenExecute (0.06s) 219s === RUN TestAppCanSigHupAfterExecute 219s time="2025-06-17T13:17:30Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 219s --- PASS: TestAppCanSigHupAfterExecute (1.01s) 219s === RUN TestAppCanSigHupWithoutExecute 219s --- PASS: TestAppCanSigHupWithoutExecute (0.00s) 219s === RUN TestAppTimeout 219s time="2025-06-17T13:17:31Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 219s --- PASS: TestAppTimeout (1.01s) 219s === RUN TestAppGetRootCmd 219s === PAUSE TestAppGetRootCmd 219s === RUN TestConfigLoad 219s time="2025-06-17T13:17:32Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 219s time="2025-06-17T13:17:32Z" level=info msg="Serving on /tmp/TestConfigLoad3287243454/001/adsys.socket" 219s time="2025-06-17T13:17:33Z" level=info msg="Stopping daemon requested." 219s time="2025-06-17T13:17:33Z" level=info msg="Wait for active requests to close." 219s --- PASS: TestConfigLoad (0.06s) 219s === RUN TestConfigChange 219s time="2025-06-17T13:17:33Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 219s time="2025-06-17T13:17:33Z" level=info msg="Serving on /tmp/TestConfigChange1409592122/001/adsys.socket" 219s time="2025-06-17T13:17:33Z" level=info msg="Stopping daemon requested." 219s time="2025-06-17T13:17:33Z" level=info msg="Wait for active requests to close." 219s time="2025-06-17T13:17:33Z" level=debug msg="All connections have now ended." 219s time="2025-06-17T13:17:33Z" level=debug msg=Quitting 219s --- PASS: TestConfigChange (0.16s) 219s === CONT TestAppHelp 219s === CONT TestAppUsageError 219s === CONT TestAppGetRootCmd 219s === CONT TestAppNoUsageError 219s === CONT TestAppCompletion 219s === CONT TestAppCanQuitWithoutExecute 219s daemon_test.go:104: We need to initialize the daemon first, so this is not possible and will hang forever (ready not closed) 219s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 219s --- PASS: TestAppGetRootCmd (0.00s) 219s # bash completion V2 for adsysd -*- shell-script -*- 219s 219s __adsysd_debug() 219s { 219s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 219s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 219s fi 219s } 219s 219s # Macs have bash3 for which the bash-completion package doesn't include 219s # _init_completion. This is a minimal version of that function. 219s __adsysd_init_completion() 219s { 219s COMPREPLY=() 219s _get_comp_words_by_ref "$@" cur prev words cword 219s } 219s 219s # This function calls the adsysd program to obtain the completion 219s # results and the directive. It fills the 'out' and 'directive' vars. 219s __adsysd_get_completion_results() { 219s local requestComp lastParam lastChar args 219s 219s # Prepare the command to request completions for the program. 219s # Calling ${words[0]} instead of directly adsysd allows handling aliases 219s args=("${words[@]:1}") 219s requestComp="${words[0]} __complete ${args[*]}" 219s 219s lastParam=${words[$((${#words[@]}-1))]} 219s lastChar=${lastParam:$((${#lastParam}-1)):1} 219s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 219s 219s if [[ -z ${cur} && ${lastChar} != = ]]; then 219s # If the last parameter is complete (there is a space following it) 219s # We add an extra empty parameter so we can indicate this to the go method. 219s __adsysd_debug "Adding extra empty parameter" 219s requestComp="${requestComp} ''" 219s fi 219s 219s # When completing a flag with an = (e.g., adsysd -n=) 219s # bash focuses on the part after the =, so we need to remove 219s # the flag part from $cur 219s if [[ ${cur} == -*=* ]]; then 219s cur="${cur#*=}" 219s fi 219s 219s __adsysd_debug "Calling ${requestComp}" 219s # Use eval to handle any environment variables and such 219s out=$(eval "${requestComp}" 2>/dev/null) 219s 219s # Extract the directive integer at the very end of the output following a colon (:) 219s directive=${out##*:} 219s # Remove the directive 219s out=${out%:*} 219s if [[ ${directive} == "${out}" ]]; then 219s # There is not directive specified 219s directive=0 219s fi 219s __adsysd_debug "The completion directive is: ${directive}" 219s __adsysd_debug "The completions are: ${out}" 219s } 219s 219s __adsysd_process_completion_results() { 219s local shellCompDirectiveError=1 219s local shellCompDirectiveNoSpace=2 219s local shellCompDirectiveNoFileComp=4 219s local shellCompDirectiveFilterFileExt=8 219s local shellCompDirectiveFilterDirs=16 219s local shellCompDirectiveKeepOrder=32 219s 219s if (((directive & shellCompDirectiveError) != 0)); then 219s # Error code. No completion. 219s __adsysd_debug "Received error from custom completion go code" 219s return 219s else 219s if (((directive & shellCompDirectiveNoSpace) != 0)); then 219s if [[ $(type -t compopt) == builtin ]]; then 219s __adsysd_debug "Activating no space" 219s compopt -o nospace 219s else 219s __adsysd_debug "No space directive not supported in this version of bash" 219s fi 219s fi 219s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 219s if [[ $(type -t compopt) == builtin ]]; then 219s # no sort isn't supported for bash less than < 4.4 219s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 219s __adsysd_debug "No sort directive not supported in this version of bash" 219s else 219s __adsysd_debug "Activating keep order" 219s compopt -o nosort 219s fi 219s else 219s __adsysd_debug "No sort directive not supported in this version of bash" 219s fi 219s fi 219s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 219s if [[ $(type -t compopt) == builtin ]]; then 219s __adsysd_debug "Activating no file completion" 219s compopt +o default 219s else 219s __adsysd_debug "No file completion directive not supported in this version of bash" 219s fi 219s fi 219s fi 219s 219s # Separate activeHelp from normal completions 219s local completions=() 219s local activeHelp=() 219s __adsysd_extract_activeHelp 219s 219s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 219s # File extension filtering 219s local fullFilter filter filteringCmd 219s 219s # Do not use quotes around the $completions variable or else newline 219s # characters will be kept. 219s for filter in ${completions[*]}; do 219s fullFilter+="$filter|" 219s done 219s 219s filteringCmd="_filedir $fullFilter" 219s __adsysd_debug "File filtering command: $filteringCmd" 219s $filteringCmd 219s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 219s # File completion for directories only 219s 219s local subdir 219s subdir=${completions[0]} 219s if [[ -n $subdir ]]; then 219s __adsysd_debug "Listing directories in $subdir" 219s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 219s else 219s __adsysd_debug "Listing directories in ." 219s _filedir -d 219s fi 219s else 219s __adsysd_handle_completion_types 219s fi 219s 219s __adsysd_handle_special_char "$cur" : 219s __adsysd_handle_special_char "$cur" = 219s 219s # Print the activeHelp statements before we finish 219s if ((${#activeHelp[*]} != 0)); then 219s printf "\n"; 219s printf "%s\n" "${activeHelp[@]}" 219s printf "\n" 219s 219s # The prompt format is only available from bash 4.4. 219s # We test if it is available before using it. 219s if (x=${PS1@P}) 2> /dev/null; then 219s printf "%s" "${PS1@P}${COMP_LINE[@]}" 219s else 219s # Can't print the prompt. Just print the 219s # text the user had typed, it is workable enough. 219s printf "%s" "${COMP_LINE[@]}" 219s fi 219s fi 219s } 219s 219s # Separate activeHelp lines from real completions. 219s # Fills the $activeHelp and $completions arrays. 219s __adsysd_extract_activeHelp() { 219s local activeHelpMarker="_activeHelp_ " 219s local endIndex=${#activeHelpMarker} 219s 219s while IFS='' read -r comp; do 219s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 219s comp=${comp:endIndex} 219s __adsysd_debug "ActiveHelp found: $comp" 219s if [[ -n $comp ]]; then 219s activeHelp+=("$comp") 219s fi 219s else 219s # Not an activeHelp line but a normal completion 219s completions+=("$comp") 219s fi 219s done <<<"${out}" 219s } 219s 219s __adsysd_handle_completion_types() { 219s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 219s 219s case $COMP_TYPE in 219s 37|42) 219s # Type: menu-complete/menu-complete-backward and insert-completions 219s # If the user requested inserting one completion at a time, or all 219s # completions at once on the command-line we must remove the descriptions. 219s # https://github.com/spf13/cobra/issues/1508 219s local tab=$'\t' comp 219s while IFS='' read -r comp; do 219s [[ -z $comp ]] && continue 219s # Strip any description 219s comp=${comp%%$tab*} 219s # Only consider the completions that match 219s if [[ $comp == "$cur"* ]]; then 219s COMPREPLY+=("$comp") 219s fi 219s done < <(printf "%s\n" "${completions[@]}") 219s ;; 219s 219s *) 219s # Type: complete (normal completion) 219s __adsysd_handle_standard_completion_case 219s ;; 219s esac 219s } 219s 219s __adsysd_handle_standard_completion_case() { 219s local tab=$'\t' comp 219s 219s # Short circuit to optimize if we don't have descriptions 219s if [[ "${completions[*]}" != *$tab* ]]; then 219s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 219s return 0 219s fi 219s 219s local longest=0 219s local compline 219s # Look for the longest completion so that we can format things nicely 219s while IFS='' read -r compline; do 219s [[ -z $compline ]] && continue 219s # Strip any description before checking the length 219s comp=${compline%%$tab*} 219s # Only consider the completions that match 219s [[ $comp == "$cur"* ]] || continue 219s COMPREPLY+=("$compline") 219s if ((${#comp}>longest)); then 219s longest=${#comp} 219s fi 219s done < <(printf "%s\n" "${completions[@]}") 219s 219s # If there is a single completion left, remove the description text 219s if ((${#COMPREPLY[*]} == 1)); then 219s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 219s comp="${COMPREPLY[0]%%$tab*}" 219s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 219s COMPREPLY[0]=$comp 219s else # Format the descriptions 219s __adsysd_format_comp_descriptions $longest 219s fi 219s } 219s 219s __adsysd_handle_special_char() 219s { 219s local comp="$1" 219s local char=$2 219s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 219s local word=${comp%"${comp##*${char}}"} 219s local idx=${#COMPREPLY[*]} 219s while ((--idx >= 0)); do 219s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 219s done 219s fi 219s } 219s 219s __adsysd_format_comp_descriptions() 219s { 219s local tab=$'\t' 219s local comp desc maxdesclength 219s local longest=$1 219s 219s local i ci 219s for ci in ${!COMPREPLY[*]}; do 219s comp=${COMPREPLY[ci]} 219s # Properly format the description string which follows a tab character if there is one 219s if [[ "$comp" == *$tab* ]]; then 219s __adsysd_debug "Original comp: $comp" 219s desc=${comp#*$tab} 219s comp=${comp%%$tab*} 219s 219s # $COLUMNS stores the current shell width. 219s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 219s maxdesclength=$(( COLUMNS - longest - 4 )) 219s 219s # Make sure we can fit a description of at least 8 characters 219s # if we are to align the descriptions. 219s if ((maxdesclength > 8)); then 219s # Add the proper number of spaces to align the descriptions 219s for ((i = ${#comp} ; i < longest ; i++)); do 219s comp+=" " 219s done 219s else 219s # Don't pad the descriptions so we can fit more text after the completion 219s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 219s fi 219s 219s # If there is enough space for any description text, 219s # truncate the descriptions that are too long for the shell width 219s if ((maxdesclength > 0)); then 219s if ((${#desc} > maxdesclength)); then 219s desc=${desc:0:$(( maxdesclength - 1 ))} 219s desc+="…" 219s fi 219s comp+=" ($desc)" 219s fi 219s COMPREPLY[ci]=$comp 219s __adsysd_debug "Final comp: $comp" 219s fi 219s done 219s } 219s 219s __start_adsysd() 219s { 219s local cur prev words cword split 219s 219s COMPREPLY=() 219s 219s # Call _init_completion from the bash-completion package 219s # to prepare the arguments properly 219s if declare -F _init_completion >/dev/null 2>&1; then 219s _init_completion -n =: || return 219s else 219s __adsysd_init_completion -n =: || return 219s fi 219s 219s __adsysd_debug 219s __adsysd_debug "========= starting completion logic ==========" 219s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 219s 219s # The user could have moved the cursor backwards on the command-line. 219s # We need to trigger completion from the $cword location, so we need 219s # to truncate the command-line ($words) up to the $cword location. 219s words=("${words[@]:0:$cword+1}") 219s __adsysd_debug "Truncated words[*]: ${words[*]}," 219s 219s local out directive 219s __adsysd_get_completion_results 219s __adsysd_process_completion_results 219s } 219s 219s if [[ $(type -t compopt) = "builtin" ]]; then 219s complete -o default -F __start_adsysd adsysd 219s else 219s complete -o default -o nospace -F __start_adsysd adsysd 219s fi 219s 219s # ex: ts=4 sw=4 et filetype=sh 219s --- PASS: TestAppCompletion (0.01s) 219s Active Directory integration bridging toolset daemon. 219s 219s --- PASS: TestAppUsageError (0.01s) 219s Usage: 219s adsysd COMMAND [flags] 219s adsysd [command] 219s 219s Available Commands: 219s completion Generate the autocompletion script for the specified shell 219s help Help about any command 219s version Returns version of service and exits 219s 219s Flags: 219s --ad-backend string Active Directory authentication backend (default "sssd") 219s --cache-dir string directory where ADSys caches GPOs downloads and policies. (default "/var/cache/adsys") 219s -c, --config string use a specific configuration file 219s --gpo-list-timeout int time in seconds for the GPO list. 0 for no timeout. (default 10) 219s -h, --help help for adsysd 219s --run-dir string directory where ADSys stores transient information erased on reboot. (default "/run/adsys") 219s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 219s --sssd.cache-dir string SSSd cache directory (default "/var/lib/sss/db") 219s --sssd.config string SSSd config file path (default "/etc/sssd/sssd.conf") 219s -t, --timeout int time in seconds without activity before the service exists. 0 for no timeout. (default 120) 219s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 219s 219s Use "adsysd [command] --help" for more information about a command. 219s --- PASS: TestAppHelp (0.01s) 219s # bash completion V2 for adsysd -*- shell-script -*- 219s 219s __adsysd_debug() 219s { 219s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 219s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 219s fi 219s } 219s 219s # Macs have bash3 for which the bash-completion package doesn't include 219s # _init_completion. This is a minimal version of that function. 219s __adsysd_init_completion() 219s { 219s COMPREPLY=() 219s _get_comp_words_by_ref "$@" cur prev words cword 219s } 219s 219s # This function calls the adsysd program to obtain the completion 219s # results and the directive. It fills the 'out' and 'directive' vars. 219s __adsysd_get_completion_results() { 219s local requestComp lastParam lastChar args 219s 219s # Prepare the command to request completions for the program. 219s # Calling ${words[0]} instead of directly adsysd allows handling aliases 219s args=("${words[@]:1}") 219s requestComp="${words[0]} __complete ${args[*]}" 219s 219s lastParam=${words[$((${#words[@]}-1))]} 219s lastChar=${lastParam:$((${#lastParam}-1)):1} 219s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 219s 219s if [[ -z ${cur} && ${lastChar} != = ]]; then 219s # If the last parameter is complete (there is a space following it) 219s # We add an extra empty parameter so we can indicate this to the go method. 219s __adsysd_debug "Adding extra empty parameter" 219s requestComp="${requestComp} ''" 219s fi 219s 219s # When completing a flag with an = (e.g., adsysd -n=) 219s # bash focuses on the part after the =, so we need to remove 219s # the flag part from $cur 219s if [[ ${cur} == -*=* ]]; then 219s cur="${cur#*=}" 219s fi 219s 219s __adsysd_debug "Calling ${requestComp}" 219s # Use eval to handle any environment variables and such 219s out=$(eval "${requestComp}" 2>/dev/null) 219s 219s # Extract the directive integer at the very end of the output following a colon (:) 219s directive=${out##*:} 219s # Remove the directive 219s out=${out%:*} 219s if [[ ${directive} == "${out}" ]]; then 219s # There is not directive specified 219s directive=0 219s fi 219s __adsysd_debug "The completion directive is: ${directive}" 219s __adsysd_debug "The completions are: ${out}" 219s } 219s 219s __adsysd_process_completion_results() { 219s local shellCompDirectiveError=1 219s local shellCompDirectiveNoSpace=2 219s local shellCompDirectiveNoFileComp=4 219s local shellCompDirectiveFilterFileExt=8 219s local shellCompDirectiveFilterDirs=16 219s local shellCompDirectiveKeepOrder=32 219s 219s if (((directive & shellCompDirectiveError) != 0)); then 219s # Error code. No completion. 219s __adsysd_debug "Received error from custom completion go code" 219s return 219s else 219s if (((directive & shellCompDirectiveNoSpace) != 0)); then 219s if [[ $(type -t compopt) == builtin ]]; then 219s __adsysd_debug "Activating no space" 219s compopt -o nospace 219s else 219s __adsysd_debug "No space directive not supported in this version of bash" 219s fi 219s fi 219s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 219s if [[ $(type -t compopt) == builtin ]]; then 219s # no sort isn't supported for bash less than < 4.4 219s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 219s __adsysd_debug "No sort directive not supported in this version of bash" 219s else 219s __adsysd_debug "Activating keep order" 219s compopt -o nosort 219s fi 219s else 219s __adsysd_debug "No sort directive not supported in this version of bash" 219s fi 219s fi 219s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 219s if [[ $(type -t compopt) == builtin ]]; then 219s __adsysd_debug "Activating no file completion" 219s compopt +o default 219s else 219s __adsysd_debug "No file completion directive not supported in this version of bash" 219s fi 219s fi 219s fi 219s 219s # Separate activeHelp from normal completions 219s local completions=() 219s local activeHelp=() 219s __adsysd_extract_activeHelp 219s 219s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 219s # File extension filtering 219s local fullFilter filter filteringCmd 219s 219s # Do not use quotes around the $completions variable or else newline 219s # characters will be kept. 219s for filter in ${completions[*]}; do 219s fullFilter+="$filter|" 219s done 219s 219s filteringCmd="_filedir $fullFilter" 219s __adsysd_debug "File filtering command: $filteringCmd" 219s $filteringCmd 219s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 219s # File completion for directories only 219s 219s local subdir 219s subdir=${completions[0]} 219s if [[ -n $subdir ]]; then 219s __adsysd_debug "Listing directories in $subdir" 219s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 219s else 219s __adsysd_debug "Listing directories in ." 219s _filedir -d 219s fi 219s else 219s __adsysd_handle_completion_types 219s fi 219s 219s __adsysd_handle_special_char "$cur" : 219s __adsysd_handle_special_char "$cur" = 219s 219s # Print the activeHelp statements before we finish 219s if ((${#activeHelp[*]} != 0)); then 219s printf "\n"; 219s printf "%s\n" "${activeHelp[@]}" 219s printf "\n" 219s 219s # The prompt format is only available from bash 4.4. 219s # We test if it is available before using it. 219s if (x=${PS1@P}) 2> /dev/null; then 219s printf "%s" "${PS1@P}${COMP_LINE[@]}" 219s else 219s # Can't print the prompt. Just print the 219s # text the user had typed, it is workable enough. 219s printf "%s" "${COMP_LINE[@]}" 219s fi 219s fi 219s } 219s 219s # Separate activeHelp lines from real completions. 219s # Fills the $activeHelp and $completions arrays. 219s __adsysd_extract_activeHelp() { 219s local activeHelpMarker="_activeHelp_ " 219s local endIndex=${#activeHelpMarker} 219s 219s while IFS='' read -r comp; do 219s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 219s comp=${comp:endIndex} 219s __adsysd_debug "ActiveHelp found: $comp" 219s if [[ -n $comp ]]; then 219s activeHelp+=("$comp") 219s fi 219s else 219s # Not an activeHelp line but a normal completion 219s completions+=("$comp") 219s fi 219s done <<<"${out}" 219s } 219s 219s __adsysd_handle_completion_types() { 219s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 219s 219s case $COMP_TYPE in 219s 37|42) 219s # Type: menu-complete/menu-complete-backward and insert-completions 219s # If the user requested inserting one completion at a time, or all 219s # completions at once on the command-line we must remove the descriptions. 219s # https://github.com/spf13/cobra/issues/1508 219s local tab=$'\t' comp 219s while IFS='' read -r comp; do 219s [[ -z $comp ]] && continue 219s # Strip any description 219s comp=${comp%%$tab*} 219s # Only consider the completions that match 219s if [[ $comp == "$cur"* ]]; then 219s COMPREPLY+=("$comp") 219s fi 219s done < <(printf "%s\n" "${completions[@]}") 219s ;; 219s 219s *) 219s # Type: complete (normal completion) 219s __adsysd_handle_standard_completion_case 219s ;; 219s esac 219s } 219s 219s __adsysd_handle_standard_completion_case() { 219s local tab=$'\t' comp 219s 219s # Short circuit to optimize if we don't have descriptions 219s if [[ "${completions[*]}" != *$tab* ]]; then 219s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 219s return 0 219s fi 219s 219s local longest=0 219s local compline 219s # Look for the longest completion so that we can format things nicely 219s while IFS='' read -r compline; do 219s [[ -z $compline ]] && continue 219s # Strip any description before checking the length 219s comp=${compline%%$tab*} 219s # Only consider the completions that match 219s [[ $comp == "$cur"* ]] || continue 219s COMPREPLY+=("$compline") 219s if ((${#comp}>longest)); then 219s longest=${#comp} 219s fi 219s done < <(printf "%s\n" "${completions[@]}") 219s 219s # If there is a single completion left, remove the description text 219s if ((${#COMPREPLY[*]} == 1)); then 219s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 219s comp="${COMPREPLY[0]%%$tab*}" 219s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 219s COMPREPLY[0]=$comp 219s else # Format the descriptions 219s __adsysd_format_comp_descriptions $longest 219s fi 219s } 219s 219s __adsysd_handle_special_char() 219s { 219s local comp="$1" 219s local char=$2 219s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 219s local word=${comp%"${comp##*${char}}"} 219s local idx=${#COMPREPLY[*]} 219s while ((--idx >= 0)); do 219s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 219s done 219s fi 219s } 219s 219s __adsysd_format_comp_descriptions() 219s { 219s local tab=$'\t' 219s local comp desc maxdesclength 219s local longest=$1 219s 219s local i ci 219s for ci in ${!COMPREPLY[*]}; do 219s comp=${COMPREPLY[ci]} 219s # Properly format the description string which follows a tab character if there is one 219s if [[ "$comp" == *$tab* ]]; then 219s __adsysd_debug "Original comp: $comp" 219s desc=${comp#*$tab} 219s comp=${comp%%$tab*} 219s 219s # $COLUMNS stores the current shell width. 219s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 219s maxdesclength=$(( COLUMNS - longest - 4 )) 219s 219s # Make sure we can fit a description of at least 8 characters 219s # if we are to align the descriptions. 219s if ((maxdesclength > 8)); then 219s # Add the proper number of spaces to align the descriptions 219s for ((i = ${#comp} ; i < longest ; i++)); do 219s comp+=" " 219s done 219s else 219s # Don't pad the descriptions so we can fit more text after the completion 219s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 219s fi 219s 219s # If there is enough space for any description text, 219s # truncate the descriptions that are too long for the shell width 219s if ((maxdesclength > 0)); then 219s if ((${#desc} > maxdesclength)); then 219s desc=${desc:0:$(( maxdesclength - 1 ))} 219s desc+="…" 219s fi 219s comp+=" ($desc)" 219s fi 219s COMPREPLY[ci]=$comp 219s __adsysd_debug "Final comp: $comp" 219s fi 219s done 219s } 219s 219s __start_adsysd() 219s { 219s local cur prev words cword split 219s 219s COMPREPLY=() 219s 219s # Call _init_completion from the bash-completion package 219s # to prepare the arguments properly 219s if declare -F _init_completion >/dev/null 2>&1; then 219s _init_completion -n =: || return 219s else 219s __adsysd_init_completion -n =: || return 219s fi 219s 219s __adsysd_debug 219s __adsysd_debug "========= starting completion logic ==========" 219s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 219s 219s # The user could have moved the cursor backwards on the command-line. 219s # We need to trigger completion from the $cword location, so we need 219s # to truncate the command-line ($words) up to the $cword location. 219s words=("${words[@]:0:$cword+1}") 219s __adsysd_debug "Truncated words[*]: ${words[*]}," 219s 219s local out directive 219s __adsysd_get_completion_results 219s __adsysd_process_completion_results 219s } 219s 219s if [[ $(type -t compopt) = "builtin" ]]; then 219s complete -o default -F __start_adsysd adsysd 219s else 219s complete -o default -o nospace -F __start_adsysd adsysd 219s fi 219s 219s # ex: ts=4 sw=4 et filetype=sh 219s --- PASS: TestAppNoUsageError (0.01s) 219s PASS 219s ok github.com/ubuntu/adsys/cmd/adsysd/daemon 3.499s 222s ? github.com/ubuntu/adsys/cmd/adwatchd [no test files] 222s ? github.com/ubuntu/adsys/cmd/adwatchd/commands [no test files] 222s ? github.com/ubuntu/adsys/docs [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/00_check_vm_image [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/01_prepare_base_vm [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/02_create_vm_template [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/00_build_adsys_deb [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/01_provision_client [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/02_provision_ad [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/03_test_non_pro_managers [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/04_test_pro_managers [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/05_test_pam_krb5cc [no test files] 222s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/99_deprovision [no test files] 222s ? github.com/ubuntu/adsys/e2e/internal/az [no test files] 222s Integration tests skipped as requested 222s ok github.com/ubuntu/adsys/cmd/adsysd/integration_tests 0.144s 222s Test has to be run as root, skipping... 222s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 0.036s 223s ? github.com/ubuntu/adsys/e2e/internal/inventory [no test files] 223s ? github.com/ubuntu/adsys/e2e/internal/remote [no test files] 223s ? github.com/ubuntu/adsys/e2e/scripts [no test files] 223s === RUN TestAddFlags 223s --- PASS: TestAddFlags (0.00s) 223s === RUN TestInventory 223s === RUN TestInventory/From_null_state_doesn't_require_existing_data 223s === RUN TestInventory/From_existing_state_requires_existing_data 223s === RUN TestInventory/To_null_state_doesn't_write_data 223s === RUN TestInventory/Multiple_from_states_requires_at_least_one 223s === RUN TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist 223s time="2025-06-17T13:17:37Z" 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_exist3693018398/001/inventory/inventory.yaml: no such file or directory. Please refer to the previous script in the series" 223s === RUN TestInventory/Error_if_inventory_state_does_not_match_expected_state 223s time="2025-06-17T13:17:37Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 223s === RUN TestInventory/Error_if_inventory_state_does_not_match_any_expected_state 223s time="2025-06-17T13:17:37Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 223s --- PASS: TestInventory (0.02s) 223s --- PASS: TestInventory/From_null_state_doesn't_require_existing_data (0.01s) 223s --- PASS: TestInventory/From_existing_state_requires_existing_data (0.00s) 223s --- PASS: TestInventory/To_null_state_doesn't_write_data (0.00s) 223s --- PASS: TestInventory/Multiple_from_states_requires_at_least_one (0.00s) 223s --- PASS: TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist (0.00s) 223s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_expected_state (0.00s) 223s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_any_expected_state (0.01s) 223s === RUN TestExecute 223s === RUN TestExecute/Error_when_validation_fails 223s time="2025-06-17T13:17:37Z" level=error msg="requested error" 223s === RUN TestExecute/Error_when_both_action_and_validation_fail 223s time="2025-06-17T13:17:37Z" level=error msg="requested error" 223s === RUN TestExecute/Action_succeeds 223s === RUN TestExecute/Action_and_validation_succeed 223s === RUN TestExecute/Error_when_action_fails 223s time="2025-06-17T13:17:37Z" level=error msg="requested error" 223s --- PASS: TestExecute (0.00s) 223s --- PASS: TestExecute/Error_when_validation_fails (0.00s) 223s --- PASS: TestExecute/Error_when_both_action_and_validation_fail (0.00s) 223s --- PASS: TestExecute/Action_succeeds (0.00s) 223s --- PASS: TestExecute/Action_and_validation_succeed (0.00s) 223s --- PASS: TestExecute/Error_when_action_fails (0.00s) 223s PASS 223s ok github.com/ubuntu/adsys/e2e/internal/command 0.053s 225s ? github.com/ubuntu/adsys/internal/ad/admxgen/common [no test files] 225s ? github.com/ubuntu/adsys/internal/ad/backends [no test files] 225s ? github.com/ubuntu/adsys/internal/ad/backends/mock [no test files] 227s ? github.com/ubuntu/adsys/internal/adsysservice/actions [no test files] 227s ? github.com/ubuntu/adsys/internal/cmdhandler [no test files] 227s ? github.com/ubuntu/adsys/internal/consts [no test files] 230s ? github.com/ubuntu/adsys/internal/grpc/logstreamer/test [no test files] 231s ? github.com/ubuntu/adsys/internal/policies/entry [no test files] 237s ? github.com/ubuntu/adsys/internal/testutils [no test files] 237s ? github.com/ubuntu/adsys/internal/watchdservice [no test files] 237s === RUN TestFetch 237s === PAUSE TestFetch 237s === RUN TestFetchWithUnreadableFile 237s === PAUSE TestFetchWithUnreadableFile 237s === RUN TestFetchTweakSysvolCacheDir 237s === PAUSE TestFetchTweakSysvolCacheDir 237s === RUN TestFetchOneGPOWhileParsingItConcurrently 237s === PAUSE TestFetchOneGPOWhileParsingItConcurrently 237s === RUN TestParseGPOConcurrent 237s === PAUSE TestParseGPOConcurrent 237s === RUN TestNew 237s === PAUSE TestNew 237s === RUN TestGetPolicies 237s === PAUSE TestGetPolicies 237s === RUN TestGetPoliciesOffline 237s === PAUSE TestGetPoliciesOffline 237s === RUN TestGetPoliciesWorkflows 237s === PAUSE TestGetPoliciesWorkflows 237s === RUN TestGetPoliciesConcurrently 237s === PAUSE TestGetPoliciesConcurrently 237s === RUN TestListUsers 237s === PAUSE TestListUsers 237s === RUN TestGetInfo 237s === PAUSE TestGetInfo 237s === RUN TestNormalizeTargetName 237s === PAUSE TestNormalizeTargetName 237s === RUN TestMockGPOList 237s --- PASS: TestMockGPOList (0.00s) 237s === RUN TestAdsysGPOList 237s === RUN TestAdsysGPOList/Machine_GPOs 237s === RUN TestAdsysGPOList/Disabled_GPOs 237s === RUN TestAdsysGPOList/No_GPO_on_OU_-_bytes 237s === RUN TestAdsysGPOList/Error_on_no_network 237s === RUN TestAdsysGPOList/Filter_user_only_GPOs 237s === RUN TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user 237s === RUN TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings 237s === RUN TestAdsysGPOList/Long_computer_name,_not_truncated 237s === RUN TestAdsysGPOList/Error_on_machine_with_no_ldap 237s === RUN TestAdsysGPOList/No_GPO_on_OU_-_string 237s === RUN TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order 237s === RUN TestAdsysGPOList/Fail_on_security_descriptor_access_failure 237s === RUN TestAdsysGPOList/Error_on_non_existent_account 237s === RUN TestAdsysGPOList/Error_on_user_requested_but_found_machine 237s === RUN TestAdsysGPOList/Return_one_gpo 237s === RUN TestAdsysGPOList/Forced_GPO_and_blocked_inheritance 237s === RUN TestAdsysGPOList/Computers_truncated_at_15_characters 237s === RUN TestAdsysGPOList/Error_invalid_GPO_link 237s === RUN TestAdsysGPOList/Return_hierarchy 237s === RUN TestAdsysGPOList/Block_inheritance 237s === RUN TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing 237s === RUN TestAdsysGPOList/Error_on_unreachable_ldap_host 237s === RUN TestAdsysGPOList/Error_on_dangling_ticket_symlink 237s === RUN TestAdsysGPOList/Multiple_GPOs_in_same_OU 237s === RUN TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO 237s === RUN TestAdsysGPOList/Error_on_ldap_connection_refused 237s === RUN TestAdsysGPOList/Error_on_KRB5CCNAME_unset 237s === RUN TestAdsysGPOList/Filter_machine_only_GPOs 237s === RUN TestAdsysGPOList/Security_descriptor_missing_ignores_GPO 237s === RUN TestAdsysGPOList/No_gPOptions_fallbacks_to_0 237s === RUN TestAdsysGPOList/Error_on_computer_requested_but_found_user 237s === RUN TestAdsysGPOList/Error_on_invalid_ticket 237s --- PASS: TestAdsysGPOList (2.06s) 237s --- PASS: TestAdsysGPOList/Machine_GPOs (0.07s) 237s --- PASS: TestAdsysGPOList/Disabled_GPOs (0.05s) 237s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_bytes (0.08s) 237s --- PASS: TestAdsysGPOList/Error_on_no_network (0.11s) 237s --- PASS: TestAdsysGPOList/Filter_user_only_GPOs (0.09s) 237s --- PASS: TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user (0.08s) 237s --- PASS: TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings (0.09s) 237s --- PASS: TestAdsysGPOList/Long_computer_name,_not_truncated (0.05s) 237s --- PASS: TestAdsysGPOList/Error_on_machine_with_no_ldap (0.05s) 237s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_string (0.07s) 237s --- PASS: TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order (0.05s) 237s --- PASS: TestAdsysGPOList/Fail_on_security_descriptor_access_failure (0.05s) 237s --- PASS: TestAdsysGPOList/Error_on_non_existent_account (0.05s) 237s --- PASS: TestAdsysGPOList/Error_on_user_requested_but_found_machine (0.07s) 237s --- PASS: TestAdsysGPOList/Return_one_gpo (0.09s) 237s --- PASS: TestAdsysGPOList/Forced_GPO_and_blocked_inheritance (0.05s) 237s --- PASS: TestAdsysGPOList/Computers_truncated_at_15_characters (0.05s) 237s --- PASS: TestAdsysGPOList/Error_invalid_GPO_link (0.05s) 238s --- PASS: TestAdsysGPOList/Return_hierarchy (0.05s) 238s --- PASS: TestAdsysGPOList/Block_inheritance (0.05s) 238s --- PASS: TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing (0.05s) 238s --- PASS: TestAdsysGPOList/Error_on_unreachable_ldap_host (0.05s) 238s --- PASS: TestAdsysGPOList/Error_on_dangling_ticket_symlink (0.05s) 238s --- PASS: TestAdsysGPOList/Multiple_GPOs_in_same_OU (0.05s) 238s --- PASS: TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO (0.05s) 238s --- PASS: TestAdsysGPOList/Error_on_ldap_connection_refused (0.05s) 238s --- PASS: TestAdsysGPOList/Error_on_KRB5CCNAME_unset (0.08s) 238s --- PASS: TestAdsysGPOList/Filter_machine_only_GPOs (0.06s) 238s --- PASS: TestAdsysGPOList/Security_descriptor_missing_ignores_GPO (0.06s) 238s --- PASS: TestAdsysGPOList/No_gPOptions_fallbacks_to_0 (0.10s) 238s --- PASS: TestAdsysGPOList/Error_on_computer_requested_but_found_user (0.09s) 238s --- PASS: TestAdsysGPOList/Error_on_invalid_ticket (0.06s) 238s === RUN TestGetPolicyDefinitions 238s === PAUSE TestGetPolicyDefinitions 238s === RUN TestTicketPath 238s krb5_test.go:23: Running subprocess with [/tmp/go-build3886853779/b546/ad.test -test.testlogfile=/tmp/go-build3886853779/b546/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestTicketPath] 238s === RUN TestTicketPath 238s === RUN TestTicketPath/Error_when_initializing_context 238s === RUN TestTicketPath/Error_on_empty_ticket_path 238s === RUN TestTicketPath/Error_on_NULL_ticket_path 238s === RUN TestTicketPath/Error_on_non-FILE_ccache 238s === RUN TestTicketPath/Lookup_is_successful 238s === RUN TestTicketPath/Allow_ccache_without_FILE_identifier 238s === RUN TestTicketPath/Error_when_ccache_not_present_on_disk 238s === RUN TestTicketPath/Error_when_ccache_is_a_directory 238s --- PASS: TestTicketPath (0.00s) 238s --- PASS: TestTicketPath/Error_when_initializing_context (0.00s) 238s --- PASS: TestTicketPath/Error_on_empty_ticket_path (0.00s) 238s --- PASS: TestTicketPath/Error_on_NULL_ticket_path (0.00s) 238s --- PASS: TestTicketPath/Error_on_non-FILE_ccache (0.00s) 238s --- PASS: TestTicketPath/Lookup_is_successful (0.00s) 238s --- PASS: TestTicketPath/Allow_ccache_without_FILE_identifier (0.00s) 238s --- PASS: TestTicketPath/Error_when_ccache_not_present_on_disk (0.00s) 238s --- PASS: TestTicketPath/Error_when_ccache_is_a_directory (0.00s) 238s PASS 238s --- PASS: TestTicketPath (0.31s) 238s === CONT TestFetch 238s === CONT TestGetPoliciesOffline 238s === CONT TestGetInfo 238s === CONT TestGetPolicies 238s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 238s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 238s === CONT TestListUsers 238s === RUN TestGetInfo/Info_reported_from_backend,_online 238s === RUN TestListUsers/Error_on_policy_cache_directory_not_existing 238s === CONT TestNormalizeTargetName 238s === PAUSE TestListUsers/Error_on_policy_cache_directory_not_existing 238s === RUN TestListUsers/Two_users 238s === PAUSE TestListUsers/Two_users 238s === CONT TestGetPolicyDefinitions 238s === RUN TestGetPolicyDefinitions/Load_ADMX_and_ADML 238s === PAUSE TestGetPolicyDefinitions/Load_ADMX_and_ADML 238s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 238s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 238s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 238s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 238s === RUN TestListUsers/Two_users,_from_policy_cache 238s === PAUSE TestListUsers/Two_users,_from_policy_cache 238s === RUN TestNormalizeTargetName/One_valid_user 238s === RUN TestListUsers/Error_on_Krb5_directory_not_existing 238s === RUN TestFetch/gpos_and_assets 238s === PAUSE TestGetInfo/Info_reported_from_backend,_online 238s === RUN TestGetPolicies/Machine_doesn’t_match 238s === RUN TestGetPoliciesOffline/Error_offline_with_no_cache 238s === CONT TestGetPoliciesConcurrently 238s === RUN TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 238s === PAUSE TestFetch/gpos_and_assets 238s === RUN TestFetch/Error_missing_remote_GPT.INI 238s === PAUSE TestFetch/Error_missing_remote_GPT.INI 238s === RUN TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 238s === PAUSE TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 238s === RUN TestFetch/two_gpos,_one_more_recent,_one_up_to_date 238s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_up_to_date 238s === RUN TestFetch/keep_existing_gpos_intact 238s === PAUSE TestGetPoliciesOffline/Error_offline_with_no_cache 238s === RUN TestGetInfo/Info_reported_from_backend,_offline 238s === RUN TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 238s === PAUSE TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 238s === PAUSE TestGetPolicies/Machine_doesn’t_match 238s === PAUSE TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 238s === RUN TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 238s === PAUSE TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 238s === RUN TestGetPoliciesConcurrently/Same_user,_same_GPO 238s === PAUSE TestGetPoliciesConcurrently/Same_user,_same_GPO 238s === PAUSE TestFetch/keep_existing_gpos_intact 238s === RUN TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 238s === PAUSE TestGetInfo/Info_reported_from_backend,_offline 238s === RUN TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 238s === PAUSE TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 238s === RUN TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 238s === PAUSE TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 238s === RUN TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 238s === PAUSE TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 238s === RUN TestGetPolicies/Standard_policy,_user_object 238s === PAUSE TestGetPolicies/Standard_policy,_user_object 238s === RUN TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 238s === PAUSE TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 238s === RUN TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 238s === PAUSE TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 238s === RUN TestGetPolicies/Disabled_value_is_overridden 238s === PAUSE TestGetPolicies/Disabled_value_is_overridden 238s === RUN TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 238s === PAUSE TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 238s === RUN TestGetPolicies/Empty_value_for_unfiltered_entry 238s === PAUSE TestGetPolicies/Empty_value_for_unfiltered_entry 238s === RUN TestGetPolicies/Policy_machine_directory_is_uppercase 238s === PAUSE TestGetPolicies/Policy_machine_directory_is_uppercase 238s === RUN TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 238s === PAUSE TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 238s === RUN TestGetPolicies/Error_on_backend_IsOnline_call_failed 238s === PAUSE TestGetPolicies/Error_on_backend_IsOnline_call_failed 238s === RUN TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 238s === PAUSE TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 238s === RUN TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 238s === PAUSE TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 238s === RUN TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 238s === PAUSE TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 238s === RUN TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 238s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 238s === RUN TestGetPolicies/Policy_user_directory_is_uppercase 238s === PAUSE TestGetPolicies/Policy_user_directory_is_uppercase 238s === RUN TestGetPolicies/Two_policies,_no_overrides 238s === PAUSE TestGetPolicies/Two_policies,_no_overrides 238s === RUN TestGetPolicies/Error_on_user_without_@_in_name 238s === PAUSE TestGetPolicies/Error_on_user_without_@_in_name 238s === RUN TestGetPolicies/Symlinks_can’t_be_created 238s === PAUSE TestGetPolicies/Symlinks_can’t_be_created 238s === RUN TestGetPolicies/User_policy_Registry.pol_is_lower_case 238s === PAUSE TestGetPolicies/User_policy_Registry.pol_is_lower_case 238s === RUN TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 238s === PAUSE TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 238s === RUN TestGetPolicies/Disabled_override 238s === PAUSE TestGetPolicies/Disabled_override 238s === RUN TestGetPolicies/Same_key_in_different_domains_are_kept_separated 238s === PAUSE TestGetPolicies/Same_key_in_different_domains_are_kept_separated 238s === RUN TestGetPolicies/Two_policies,_with_reversed_overrides 238s === PAUSE TestGetPolicies/Two_policies,_with_reversed_overrides 238s === RUN TestGetPolicies/Two_policies,_no_overrides,_reversed 238s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_reversed 238s === RUN TestGetPolicies/More_policies,_with_multiple_overrides 238s === PAUSE TestGetPolicies/More_policies,_with_multiple_overrides 238s === RUN TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 238s === PAUSE TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 238s === RUN TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case 238s === PAUSE TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case 238s === RUN TestGetPolicies/Unexisting_CC_original_file_for_machine 238s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_machine 238s === RUN TestGetPolicies/Standard_policy_with_assets,_downloads_assets 238s === PAUSE TestGetPolicies/Standard_policy_with_assets,_downloads_assets 238s === RUN TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 238s === PAUSE TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 238s === RUN TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 238s === PAUSE TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 238s === RUN TestGetPolicies/No_override_for_this_release,_takes_default_value 238s === PAUSE TestGetPolicies/No_override_for_this_release,_takes_default_value 238s === RUN TestGetPolicies/Two_policies,_with_overrides 238s === PAUSE TestGetPolicies/Two_policies,_with_overrides 238s === RUN TestGetPolicies/Policy_can’t_be_downloaded 238s === PAUSE TestGetPolicies/Policy_can’t_be_downloaded 238s === RUN TestGetPolicies/Unsupported_type_for_unfiltered_entry 238s === PAUSE TestGetPolicies/Unsupported_type_for_unfiltered_entry 238s === RUN TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 238s === PAUSE TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 238s === RUN TestGetPolicies/Disabled_value_overrides_non_disabled_one 238s === PAUSE TestGetPolicies/Disabled_value_overrides_non_disabled_one 238s === RUN TestGetPolicies/Computer_policy_Registry.pol_is_lower_case 238s === PAUSE TestGetPolicies/Computer_policy_Registry.pol_is_lower_case 238s === RUN TestGetPolicies/Corrupted_policy_file 238s === PAUSE TestGetPolicies/Corrupted_policy_file 238s === RUN TestGetPolicies/User_only_policy,_user_object 238s === PAUSE TestGetPolicies/User_only_policy,_user_object 238s === RUN TestGetPolicies/Enabled_override 238s === PAUSE TestGetPolicies/Enabled_override 238s === RUN TestGetPolicies/Multiple_domains,_same_GPO 238s === PAUSE TestGetPolicies/Multiple_domains,_same_GPO 238s === RUN TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 238s === PAUSE TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 238s === RUN TestGetPolicies/User_policy_Registry.pol_is_mixed_case 238s === PAUSE TestGetPolicies/User_policy_Registry.pol_is_mixed_case 238s === RUN TestGetPolicies/Standard_policy,_computer_object 238s === PAUSE TestGetPolicies/Standard_policy,_computer_object 238s === RUN TestGetPolicies/Filter_non_Ubuntu_keys 238s === PAUSE TestGetPolicies/Filter_non_Ubuntu_keys 238s === RUN TestGetPolicies/Unexisting_CC_original_file_for_user 238s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_user 238s === CONT TestFetchOneGPOWhileParsingItConcurrently 238s === CONT TestGetPoliciesWorkflows 238s === CONT TestNew 238s === RUN TestGetPoliciesWorkflows/Second_call_after_service_restarted 238s === PAUSE TestGetPoliciesWorkflows/Second_call_after_service_restarted 238s === RUN TestGetPoliciesOffline/Offline,_with_assets 238s === RUN TestGetPoliciesWorkflows/Second_call_with_different_user 238s === PAUSE TestGetPoliciesOffline/Offline,_with_assets 238s === PAUSE TestGetPoliciesWorkflows/Second_call_with_different_user 238s === RUN TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 238s === PAUSE TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 238s === RUN TestNew/no_active_server_in_backend_does_not_fail_ad_creation 238s === PAUSE TestNew/no_active_server_in_backend_does_not_fail_ad_creation 238s === RUN TestGetPoliciesConcurrently/Different_users,_same_GPO 238s === RUN TestNew/error_on_backend_ServerFQDN_random_failure 238s === PAUSE TestGetPoliciesConcurrently/Different_users,_same_GPO 238s === PAUSE TestNew/error_on_backend_ServerFQDN_random_failure 238s === RUN TestGetPoliciesConcurrently/Different_users,_different_GPO 238s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 238s === PAUSE TestGetPoliciesConcurrently/Different_users,_different_GPO 238s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 238s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 238s === RUN TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 238s === PAUSE TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 238s === RUN TestFetch/concurrent_same_gpos 238s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 238s === PAUSE TestFetch/concurrent_same_gpos 238s === RUN TestFetch/assets_is_a_file_is_not_downloaded 238s === RUN TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 238s === PAUSE TestFetch/assets_is_a_file_is_not_downloaded 238s === PAUSE TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 238s === RUN TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 238s === RUN TestGetPoliciesWorkflows/Second_call_after_a_relogin 238s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 238s === PAUSE TestGetPoliciesWorkflows/Second_call_after_a_relogin 238s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 238s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 238s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 238s === RUN TestGetPoliciesConcurrently/One_machine,_one_user 238s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 238s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 238s === PAUSE TestGetPoliciesConcurrently/One_machine,_one_user 238s === PAUSE TestNormalizeTargetName/One_valid_user 238s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 238s === PAUSE TestListUsers/Error_on_Krb5_directory_not_existing 238s === RUN TestNew/create_KRB5_and_Sysvol_cache_directory 238s === RUN TestListUsers/Two_users,_dangling_symlink_for_one 238s === CONT TestFetchTweakSysvolCacheDir 238s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 238s === PAUSE TestListUsers/Two_users,_dangling_symlink_for_one 238s === CONT TestParseGPOConcurrent 238s === RUN TestListUsers/None 238s === PAUSE TestListUsers/None 238s === RUN TestListUsers/One_user,_from_policy_cache 238s === PAUSE TestListUsers/One_user,_from_policy_cache 238s === RUN TestNormalizeTargetName/One_valid_user_with_mixed_case 238s === RUN TestListUsers/Machine_Only,_from_policy_cache 238s === PAUSE TestNormalizeTargetName/One_valid_user_with_mixed_case 238s === PAUSE TestListUsers/Machine_Only,_from_policy_cache 238s === RUN TestNormalizeTargetName/Computer_is_left_as_such 238s === PAUSE TestNew/create_KRB5_and_Sysvol_cache_directory 238s === RUN TestNew/failed_to_create_KRB5_cache_directory 238s === PAUSE TestNormalizeTargetName/Computer_is_left_as_such 238s === PAUSE TestNew/failed_to_create_KRB5_cache_directory 238s === RUN TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 238s === RUN TestNew/failed_to_create_Sysvol_cache_directory 238s === PAUSE TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 238s === PAUSE TestNew/failed_to_create_Sysvol_cache_directory 238s === RUN TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 238s === RUN TestNew/failed_to_create_Policies_cache_directory 238s === PAUSE TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 238s === PAUSE TestNew/failed_to_create_Policies_cache_directory 238s === RUN TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 238s === PAUSE TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 238s === RUN TestFetch/two_gpos,_one_more_recent,_one_new 238s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_new 238s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 238s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 238s === RUN TestNormalizeTargetName/User_name_fqdn_matching_computer 238s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 238s === PAUSE TestNormalizeTargetName/User_name_fqdn_matching_computer 238s === RUN TestNormalizeTargetName/Computer_name_without_objectClass 238s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 238s === PAUSE TestNormalizeTargetName/Computer_name_without_objectClass 238s === RUN TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 238s === CONT TestGetPolicyDefinitions/Load_ADMX_and_ADML 238s === PAUSE TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 238s === RUN TestListUsers/One_user 238s === PAUSE TestListUsers/One_user 238s === RUN TestListUsers/Machines_are_ignored 238s === PAUSE TestListUsers/Machines_are_ignored 238s === RUN TestListUsers/Machine_Only 238s === PAUSE TestListUsers/Machine_Only 238s === RUN TestListUsers/None,_from_policy_cache 238s === PAUSE TestListUsers/None,_from_policy_cache 238s === RUN TestListUsers/Machines_are_ignored,_from_policy_cache 238s === PAUSE TestListUsers/Machines_are_ignored,_from_policy_cache 238s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 238s === CONT TestFetchWithUnreadableFile 238s === RUN TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 238s === PAUSE TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 238s === RUN TestFetchWithUnreadableFile/existing_gpo_is_preserved 238s === CONT TestGetInfo/Info_reported_from_backend,_online 238s === RUN TestNormalizeTargetName/One_valid_user_with_domain\user 238s === PAUSE TestFetchWithUnreadableFile/existing_gpo_is_preserved 238s === PAUSE TestNormalizeTargetName/One_valid_user_with_domain\user 238s === RUN TestNormalizeTargetName/One_user_without_explicit_domain_suffix 238s === PAUSE TestNormalizeTargetName/One_user_without_explicit_domain_suffix 238s === RUN TestNormalizeTargetName/Computer_with_@_is_left_as_such 238s === PAUSE TestNormalizeTargetName/Computer_with_@_is_left_as_such 238s === RUN TestNormalizeTargetName/Error_on_multiple_\_in_name 238s === PAUSE TestNormalizeTargetName/Error_on_multiple_\_in_name 238s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 238s === CONT TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 238s === CONT TestGetPolicies/Machine_doesn’t_match 238s === CONT TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 238s === RUN TestFetch/remote_version_entry_missing_treated_as_0 238s === PAUSE TestFetch/remote_version_entry_missing_treated_as_0 238s === RUN TestFetch/two_new_gpos 238s === PAUSE TestFetch/two_new_gpos 238s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 238s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 238s === RUN TestFetch/assets_are_updated_to_latest_version 238s === PAUSE TestFetch/assets_are_updated_to_latest_version 238s === RUN TestFetch/Error_unexistant_remote_gpo 238s === PAUSE TestFetch/Error_unexistant_remote_gpo 238s === RUN TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 238s === PAUSE TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 238s === RUN TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 238s === PAUSE TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 238s === RUN TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 238s === PAUSE TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 238s === RUN TestFetch/gpo_already_up_to_date 238s === PAUSE TestFetch/gpo_already_up_to_date 238s === RUN TestFetch/Error_remote_version_NaN 238s === PAUSE TestFetch/Error_remote_version_NaN 238s === RUN TestFetch/Error_keeps_downloading_other_GPOS 238s === PAUSE TestFetch/Error_keeps_downloading_other_GPOS 238s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_new 238s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_new 238s === RUN TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 238s === PAUSE TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 238s === RUN TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 238s === PAUSE TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 238s === RUN TestFetch/gpo_is_refreshed 238s === PAUSE TestFetch/gpo_is_refreshed 238s === RUN TestFetch/assets_only_are_downloaded 238s === PAUSE TestFetch/assets_only_are_downloaded 238s === RUN TestFetch/concurrent_different_gpos 238s === PAUSE TestFetch/concurrent_different_gpos 238s === RUN TestFetch/assets_are_not_updated_if_version_matches 238s === PAUSE TestFetch/assets_are_not_updated_if_version_matches 238s === RUN TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 238s === PAUSE TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 238s === RUN TestFetch/one_new_gpo 238s === PAUSE TestFetch/one_new_gpo 238s === RUN TestFetch/two_gpos,_one_should_be_refreshed,_one_new 238s === PAUSE TestFetch/two_gpos,_one_should_be_refreshed,_one_new 238s === RUN TestFetch/local_gpo_is_more_recent_than_AD_one 238s === PAUSE TestFetch/local_gpo_is_more_recent_than_AD_one 238s === CONT TestGetInfo/Info_reported_from_backend,_offline 238s --- PASS: TestGetPolicyDefinitions (0.00s) 238s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro (0.00s) 238s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format (0.00s) 238s --- PASS: TestGetPolicyDefinitions/Load_ADMX_and_ADML (0.01s) 238s === CONT TestGetPolicies/Two_policies,_no_overrides,_reversed 238s === CONT TestGetPolicies/Two_policies,_with_reversed_overrides 238s time="2025-06-17T13:17:42Z" level=warning msg="IsOnline returned an error" 238s === CONT TestGetPolicies/Same_key_in_different_domains_are_kept_separated 238s === CONT TestGetPolicies/Disabled_override 238s --- PASS: TestGetInfo (0.01s) 238s --- PASS: TestGetInfo/Info_reported_from_backend,_online (0.01s) 238s --- PASS: TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail (0.02s) 238s --- PASS: TestGetInfo/Info_reported_from_backend,_offline (0.02s) 238s --- PASS: TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail (0.03s) 238s === CONT TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 238s === CONT TestGetPolicies/User_policy_Registry.pol_is_lower_case 238s === CONT TestGetPolicies/Symlinks_can’t_be_created 238s === CONT TestGetPolicies/Error_on_user_without_@_in_name 238s === CONT TestGetPolicies/Two_policies,_no_overrides 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:42Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:42Z" level=info msg="Downloading \"standard-name\"" 238s --- PASS: TestFetchOneGPOWhileParsingItConcurrently (0.16s) 238s === CONT TestGetPolicies/Policy_user_directory_is_uppercase 238s --- PASS: TestParseGPOConcurrent (0.49s) 238s === CONT TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:42Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:42Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:42Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:42Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:42Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:42Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"user-only-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"one-value-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"one-value-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"other-domain-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"lowercase-registry-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"user-only-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"one-value-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"multiple-releases-one-disabled-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"uppercase-class-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"one-value-name\"" 238s === CONT TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 238s === CONT TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 238s === CONT TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 238s === CONT TestGetPolicies/Error_on_backend_IsOnline_call_failed 238s === CONT TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 238s === CONT TestGetPolicies/Policy_machine_directory_is_uppercase 238s === CONT TestGetPolicies/Empty_value_for_unfiltered_entry 238s === CONT TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 238s === CONT TestGetPolicies/Disabled_value_is_overridden 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"uppercase-class-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"empty-value-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"disabled-value-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"lowercase-class-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"machine-only-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:43Z" level=info msg="Downloading \"filtered-with-certificate-autoenrollment-name\"" 238s === CONT TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 238s === CONT TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 238s === CONT TestGetPolicies/Standard_policy,_user_object 238s === CONT TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 238s === CONT TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 238s === CONT TestGetPolicies/Unsupported_type_for_unfiltered_entry 238s === CONT TestGetPolicies/Unexisting_CC_original_file_for_user 238s === CONT TestGetPolicies/Filter_non_Ubuntu_keys 238s === CONT TestGetPolicies/Standard_policy,_computer_object 238s === CONT TestGetPolicies/User_policy_Registry.pol_is_mixed_case 238s === CONT TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"bad-entry-type-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"multiple-releases-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"mixedcase-registry-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"user-only-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"lowercase-class-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"filtered-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"standard-name\"" 238s === CONT TestGetPolicies/Multiple_domains,_same_GPO 238s === CONT TestGetPolicies/Enabled_override 238s === CONT TestGetPolicies/User_only_policy,_user_object 238s === CONT TestGetPolicies/Corrupted_policy_file 238s === CONT TestGetPolicies/Computer_policy_Registry.pol_is_lower_case 238s === CONT TestGetPolicies/Disabled_value_overrides_non_disabled_one 238s === CONT TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 238s === CONT TestGetPolicies/Unexisting_CC_original_file_for_machine 238s === CONT TestGetPolicies/Policy_can’t_be_downloaded 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s === CONT TestGetPolicies/Two_policies,_with_overrides 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"machine-only-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"multiple-releases-one-enabled-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"lowercase-registry-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"corrupted-policy-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"multiple-domains-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"user-only-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"disabled-value-name\"" 238s time="2025-06-17T13:17:44Z" level=info msg="Downloading \"standard-name\"" 238s === CONT TestGetPolicies/No_override_for_this_release,_takes_default_value 238s === CONT TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 238s === CONT TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 238s === CONT TestGetPolicies/Standard_policy_with_assets,_downloads_assets 238s === CONT TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case 238s === CONT TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 238s === CONT TestGetPolicies/More_policies,_with_multiple_overrides 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"multiple-releases-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"one-value-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"multiple-releases-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"unsupported-with-errors-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"user-only-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"mixedcase-registry-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"one-value-name\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:45Z" level=info msg="Downloading \"standard-name\"" 238s === CONT TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 238s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s === CONT TestGetPoliciesConcurrently/Different_users,_different_GPO 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"standard-name\"" 238s === CONT TestGetPoliciesConcurrently/One_machine,_one_user 238s === CONT TestGetPoliciesOffline/Offline,_with_assets 238s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 238s === CONT TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 238s --- PASS: TestGetPolicies (0.01s) 238s --- PASS: TestGetPolicies/Machine_doesn’t_match (0.03s) 238s --- PASS: TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName (0.00s) 238s --- PASS: TestGetPolicies/Symlinks_can’t_be_created (0.00s) 238s --- PASS: TestGetPolicies/Error_on_user_without_@_in_name (0.00s) 238s --- PASS: TestGetPolicies/Two_policies,_no_overrides (1.00s) 238s --- PASS: TestGetPolicies/Same_key_in_different_domains_are_kept_separated (1.03s) 238s --- PASS: TestGetPolicies/User_policy_Registry.pol_is_lower_case (1.02s) 238s --- PASS: TestGetPolicies/Policy_user_directory_is_uppercase (0.90s) 238s --- PASS: TestGetPolicies/Error_on_backend_IsOnline_call_failed (0.01s) 238s --- PASS: TestGetPolicies/Disabled_override (1.05s) 238s --- PASS: TestGetPolicies/Two_policies,_with_reversed_overrides (1.07s) 238s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_reversed (1.07s) 238s --- PASS: TestGetPolicies/Assets_can’t_be_downloaded_without_GPO (0.07s) 238s --- PASS: TestGetPolicies/Empty_value_for_unfiltered_entry (0.61s) 238s --- PASS: TestGetPolicies/Policy_machine_directory_is_uppercase (0.62s) 238s --- PASS: TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment (0.62s) 238s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user (1.23s) 238s --- PASS: TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed (0.00s) 238s --- PASS: TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db (0.68s) 238s --- PASS: TestGetPolicies/Error_on_backend_ServerFQDN_call_failed (0.00s) 238s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_user (0.00s) 238s --- PASS: TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed (0.71s) 238s --- PASS: TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.70s) 238s --- PASS: TestGetPolicies/Disabled_value_is_overridden (0.65s) 238s --- PASS: TestGetPolicies/Unsupported_type_for_unfiltered_entry (0.58s) 238s --- PASS: TestGetPolicies/User_policy_Registry.pol_is_mixed_case (0.54s) 238s --- PASS: TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty (0.63s) 238s --- PASS: TestGetPolicies/Standard_policy,_computer_object (0.57s) 238s --- PASS: TestGetPolicies/Filter_non_Ubuntu_keys (0.60s) 238s --- PASS: TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.56s) 238s --- PASS: TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored (0.65s) 238s --- PASS: TestGetPolicies/Standard_policy,_user_object (0.64s) 238s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_machine (0.01s) 238s --- PASS: TestGetPolicies/Policy_can’t_be_downloaded (0.24s) 238s --- PASS: TestGetPolicies/User_only_policy,_user_object (0.44s) 238s --- PASS: TestGetPolicies/Multiple_domains,_same_GPO (0.46s) 238s --- PASS: TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty (0.43s) 238s --- PASS: TestGetPolicies/Disabled_value_overrides_non_disabled_one (0.46s) 238s --- PASS: TestGetPolicies/Enabled_override (0.48s) 238s --- PASS: TestGetPolicies/Computer_policy_Registry.pol_is_lower_case (0.47s) 238s --- PASS: TestGetPolicies/Corrupted_policy_file (0.47s) 238s --- PASS: TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys (0.77s) 238s --- PASS: TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol (0.93s) 238s --- PASS: TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored (0.97s) 238s --- PASS: TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case (0.96s) 238s --- PASS: TestGetPolicies/Two_policies,_with_overrides (1.16s) 238s --- PASS: TestGetPolicies/More_policies,_with_multiple_overrides (0.98s) 238s --- PASS: TestGetPolicies/No_override_for_this_release,_takes_default_value (1.02s) 238s --- PASS: TestGetPolicies/Standard_policy_with_assets,_downloads_assets (1.03s) 238s === CONT TestGetPoliciesOffline/Error_offline_with_no_cache 238s === CONT TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:46Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:46Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:46Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:46Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:46Z" level=info msg="Downloading \"standard-name\"" 238s === CONT TestGetPoliciesWorkflows/Second_call_after_service_restarted 238s time="2025-06-17T13:17:47Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 238s === CONT TestNew/no_active_server_in_backend_does_not_fail_ad_creation 238s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 238s time="2025-06-17T13:17:47Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:47Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 238s === CONT TestGetPoliciesConcurrently/Same_user,_same_GPO 238s === CONT TestGetPoliciesConcurrently/Different_users,_same_GPO 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"gpo1-name\"" 238s === CONT TestGetPoliciesWorkflows/Second_call_after_a_relogin 238s time="2025-06-17T13:17:47Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s === CONT TestListUsers/Error_on_policy_cache_directory_not_existing 238s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:47Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:47Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:47Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"one-value-name\"" 238s === CONT TestListUsers/Machines_are_ignored,_from_policy_cache 238s === CONT TestListUsers/None,_from_policy_cache 238s === CONT TestListUsers/Machine_Only 238s === CONT TestListUsers/Machines_are_ignored 238s === CONT TestListUsers/One_user 238s === CONT TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 238s === CONT TestListUsers/Machine_Only,_from_policy_cache 238s === CONT TestListUsers/One_user,_from_policy_cache 238s === CONT TestListUsers/None 238s === CONT TestListUsers/Two_users,_dangling_symlink_for_one 238s === CONT TestListUsers/Error_on_Krb5_directory_not_existing 238s === CONT TestListUsers/Two_users,_from_policy_cache 238s === CONT TestListUsers/Two_users 238s --- PASS: TestListUsers (0.01s) 238s --- PASS: TestListUsers/Error_on_policy_cache_directory_not_existing (0.00s) 238s --- PASS: TestListUsers/Machines_are_ignored,_from_policy_cache (0.00s) 238s --- PASS: TestListUsers/None,_from_policy_cache (0.00s) 238s --- PASS: TestListUsers/Machine_Only (0.00s) 238s --- PASS: TestListUsers/Machines_are_ignored (0.00s) 238s --- PASS: TestListUsers/One_user (0.00s) 238s --- PASS: TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested (0.00s) 238s --- PASS: TestListUsers/Machine_Only,_from_policy_cache (0.00s) 238s --- PASS: TestListUsers/One_user,_from_policy_cache (0.00s) 238s --- PASS: TestListUsers/None (0.00s) 238s --- PASS: TestListUsers/Two_users,_dangling_symlink_for_one (0.00s) 238s --- PASS: TestListUsers/Error_on_Krb5_directory_not_existing (0.00s) 238s --- PASS: TestListUsers/Two_users,_from_policy_cache (0.00s) 238s --- PASS: TestListUsers/Two_users (0.00s) 238s === CONT TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"gpo1-name\"" 238s --- PASS: TestFetchTweakSysvolCacheDir (0.00s) 238s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist (0.09s) 238s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only (0.12s) 238s === CONT TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 238s === CONT TestNew/failed_to_create_KRB5_cache_directory 238s === CONT TestNew/failed_to_create_Policies_cache_directory 238s === CONT TestNew/failed_to_create_Sysvol_cache_directory 238s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 238s --- PASS: TestGetPoliciesOffline (0.01s) 238s --- PASS: TestGetPoliciesOffline/Error_offline_with_no_cache (0.02s) 238s --- PASS: TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list (0.92s) 238s --- PASS: TestGetPoliciesOffline/Offline,_with_assets (1.04s) 238s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only (1.01s) 238s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets (1.16s) 238s --- PASS: TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache (1.38s) 238s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:47Z" level=info msg="Downloading \"standard-name\"" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:48Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Assets directory is already up to date" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:48Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Assets directory is already up to date" 238s === CONT TestNew/error_on_backend_ServerFQDN_random_failure 238s === CONT TestNew/create_KRB5_and_Sysvol_cache_directory 238s --- PASS: TestGetPoliciesConcurrently (0.00s) 238s --- PASS: TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time (0.85s) 238s --- PASS: TestGetPoliciesConcurrently/One_machine,_one_user (1.20s) 238s --- PASS: TestGetPoliciesConcurrently/Different_users,_different_GPO (1.31s) 238s --- PASS: TestGetPoliciesConcurrently/Same_user,_same_GPO (1.19s) 238s --- PASS: TestGetPoliciesConcurrently/Different_users,_same_GPO (1.20s) 238s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 238s --- PASS: TestNew (0.00s) 238s --- PASS: TestNew/no_active_server_in_backend_does_not_fail_ad_creation (0.00s) 238s --- PASS: TestNew/failed_to_create_KRB5_cache_directory (0.00s) 238s --- PASS: TestNew/failed_to_create_Policies_cache_directory (0.00s) 238s --- PASS: TestNew/failed_to_create_Sysvol_cache_directory (0.00s) 238s --- PASS: TestNew/error_on_backend_ServerFQDN_random_failure (0.00s) 238s --- PASS: TestNew/create_KRB5_and_Sysvol_cache_directory (0.00s) 238s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:48Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:48Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:48Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:48Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:48Z" level=info msg="GPO \"standard-name\" is already up to date" 238s === CONT TestGetPoliciesWorkflows/Second_call_with_different_user 238s === CONT TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s === CONT TestNormalizeTargetName/One_valid_user 238s === CONT TestFetchWithUnreadableFile/existing_gpo_is_preserved 238s === CONT TestNormalizeTargetName/User_name_fqdn_matching_computer 238s === CONT TestNormalizeTargetName/Error_on_multiple_\_in_name 238s === CONT TestNormalizeTargetName/Computer_with_@_is_left_as_such 238s === CONT TestNormalizeTargetName/One_user_without_explicit_domain_suffix 238s === CONT TestNormalizeTargetName/One_valid_user_with_domain\user 238s === CONT TestNormalizeTargetName/Computer_name_without_objectClass 238s === CONT TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 238s === CONT TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 238s === CONT TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"gpo1-name\"" 238s === CONT TestNormalizeTargetName/One_valid_user_with_mixed_case 238s === CONT TestNormalizeTargetName/Computer_is_left_as_such 238s === CONT TestFetch/gpos_and_assets 238s === CONT TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 238s --- PASS: TestNormalizeTargetName (0.01s) 238s --- PASS: TestNormalizeTargetName/One_valid_user (0.00s) 238s --- PASS: TestNormalizeTargetName/User_name_fqdn_matching_computer (0.00s) 238s --- PASS: TestNormalizeTargetName/Error_on_multiple_\_in_name (0.00s) 238s --- PASS: TestNormalizeTargetName/Computer_with_@_is_left_as_such (0.00s) 238s --- PASS: TestNormalizeTargetName/One_user_without_explicit_domain_suffix (0.00s) 238s --- PASS: TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such (0.00s) 238s --- PASS: TestNormalizeTargetName/One_valid_user_with_domain\user (0.01s) 238s --- PASS: TestNormalizeTargetName/Computer_name_without_objectClass (0.01s) 238s --- PASS: TestNormalizeTargetName/User_name_matching_computer,_setting_as_user (0.00s) 238s --- PASS: TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user (0.00s) 238s --- PASS: TestNormalizeTargetName/One_valid_user_with_mixed_case (0.00s) 238s --- PASS: TestNormalizeTargetName/Computer_is_left_as_such (0.00s) 238s === CONT TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"gpo1-name\"" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"gpo1-name\"" 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"gpo1-name\"" 238s time="2025-06-17T13:17:48Z" level=info msg="Downloading \"gpo1-name\"" 238s time="2025-06-17T13:17:48Z" level=info msg="GPO \"gpo2-name\" is already up to date" 238s === CONT TestFetch/Error_unexistant_remote_gpo 238s --- PASS: TestFetchWithUnreadableFile (0.00s) 238s --- PASS: TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO (0.41s) 238s --- PASS: TestFetchWithUnreadableFile/existing_gpo_is_preserved (0.40s) 238s === CONT TestFetch/assets_are_updated_to_latest_version 238s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s === CONT TestFetch/two_new_gpos 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"assets\"" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s === CONT TestFetch/remote_version_entry_missing_treated_as_0 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s === CONT TestFetch/two_gpos,_one_more_recent,_one_new 238s time="2025-06-17T13:17:49Z" level=info msg="GPO \"gpo2-name\" is already up to date" 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo2-name\"" 238s time="2025-06-17T13:17:49Z" level=info msg="No version key found in GPT.INI for gpt_ini_version_missing-name, assuming 0" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="GPO \"gpt_ini_version_missing-name\" is already up to date" 238s === CONT TestFetch/gpo_is_refreshed 238s time="2025-06-17T13:17:49Z" level=info msg="GPO \"gpo2-name\" is already up to date" 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s === CONT TestFetch/local_gpo_is_more_recent_than_AD_one 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="GPO \"gpo2-name\" is already up to date" 238s === CONT TestFetch/two_gpos,_one_should_be_refreshed,_one_new 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo2-name\"" 238s === CONT TestFetch/one_new_gpo 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s === CONT TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 238s === CONT TestFetch/assets_are_not_updated_if_version_matches 238s === CONT TestFetch/concurrent_different_gpos 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s === CONT TestFetch/assets_only_are_downloaded 238s time="2025-06-17T13:17:49Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo2-name\"" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s === CONT TestFetch/Error_keeps_downloading_other_GPOS 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"assets\"" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo2-name\"" 238s === CONT TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 238s === CONT TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 238s time="2025-06-17T13:17:49Z" level=info msg="No version key found in GPT.INI for gpo1-name, assuming 0" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_new 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="GPO \"gpo1-name\" is already up to date" 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo2-name\"" 238s === CONT TestFetch/gpo_already_up_to_date 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s === CONT TestFetch/Error_remote_version_NaN 238s time="2025-06-17T13:17:49Z" level=info msg="GPO \"gpo1-name\" is already up to date" 238s === CONT TestFetch/keep_existing_gpos_intact 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="GPO \"gpo1-name\" is already up to date" 238s === CONT TestFetch/assets_is_a_file_is_not_downloaded 238s === CONT TestFetch/concurrent_same_gpos 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s === CONT TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s time="2025-06-17T13:17:49Z" level=info msg="Assets directory is already up to date" 238s === CONT TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 238s === CONT TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Assets directory is already up to date" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 238s === CONT TestFetch/two_gpos,_one_more_recent,_one_up_to_date 238s === CONT TestFetch/Error_missing_remote_GPT.INI 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="GPO \"gpo1-name\" is already up to date" 238s === CONT TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 238s time="2025-06-17T13:17:49Z" level=info msg="GPO \"gpo2-name\" is already up to date" 238s time="2025-06-17T13:17:49Z" level=warning msg="Invalid local GPT.INI for gpo1-name: invalid remote GPT.INI: strconv.ParseInt: parsing \"NaN\": invalid syntax\nDownloading it again…" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:49Z" level=info msg="Downloading \"gpo1-name\"" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:50Z" level=info msg="GPO \"gpo1-name\" is already up to date" 238s --- PASS: TestFetch (0.01s) 238s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed (0.39s) 238s --- PASS: TestFetch/Error_unexistant_remote_gpo (0.04s) 238s --- PASS: TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI (0.44s) 238s --- PASS: TestFetch/gpos_and_assets (0.47s) 238s --- PASS: TestFetch/remote_version_entry_missing_treated_as_0 (0.09s) 238s --- PASS: TestFetch/assets_are_updated_to_latest_version (0.25s) 238s --- PASS: TestFetch/local_gpo_is_more_recent_than_AD_one (0.04s) 238s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed (0.38s) 238s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_new (0.35s) 238s --- PASS: TestFetch/gpo_is_refreshed (0.29s) 238s --- PASS: TestFetch/two_new_gpos (0.41s) 238s --- PASS: TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL (0.05s) 238s --- PASS: TestFetch/assets_are_not_updated_if_version_matches (0.07s) 238s --- PASS: TestFetch/two_gpos,_one_should_be_refreshed,_one_new (0.28s) 238s --- PASS: TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided (0.01s) 238s --- PASS: TestFetch/assets_only_are_downloaded (0.13s) 238s --- PASS: TestFetch/one_new_gpo (0.29s) 238s --- PASS: TestFetch/Error_keeps_downloading_other_GPOS (0.20s) 238s --- PASS: TestFetch/gpo_already_up_to_date (0.04s) 238s --- PASS: TestFetch/Error_remote_version_NaN (0.04s) 238s --- PASS: TestFetch/keep_existing_gpos_intact (0.04s) 238s --- PASS: TestFetch/assets_is_a_file_is_not_downloaded (0.02s) 238s --- PASS: TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing (0.05s) 238s --- PASS: TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI (0.25s) 238s --- PASS: TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing (0.04s) 238s --- PASS: TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only (0.04s) 238s --- PASS: TestFetch/Error_missing_remote_GPT.INI (0.04s) 238s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_up_to_date (0.06s) 238s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_new (0.33s) 238s --- PASS: TestFetch/concurrent_different_gpos (0.53s) 238s --- PASS: TestFetch/concurrent_same_gpos (0.25s) 238s --- PASS: TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI (0.10s) 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:50Z" level=info msg="Downloading \"standard-name\"" 238s time="2025-06-17T13:17:50Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:50Z" level=info msg="Downloading \"assets\"" 238s time="2025-06-17T13:17:50Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:50Z" level=info msg="GPO \"standard-name\" is already up to date" 238s time="2025-06-17T13:17:50Z" level=info msg="Assets directory is already up to date" 238s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 238s time="2025-06-17T13:17:50Z" level=info msg="Assets directory is already up to date" 238s time="2025-06-17T13:17:50Z" level=info msg="GPO \"standard-name\" is already up to date" 238s --- PASS: TestGetPoliciesWorkflows (0.00s) 238s --- PASS: TestGetPoliciesWorkflows/Second_call_after_service_restarted (1.82s) 238s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) (1.28s) 238s --- PASS: TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) (1.26s) 238s --- PASS: TestGetPoliciesWorkflows/Second_call_after_a_relogin (1.42s) 238s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_a_restart (1.11s) 238s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted (1.22s) 238s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path (1.78s) 238s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed (1.78s) 238s --- PASS: TestGetPoliciesWorkflows/Second_call_with_different_user (1.63s) 238s PASS 238s ok github.com/ubuntu/adsys/internal/ad 10.906s 238s === RUN TestGenerateExpandedCategories 238s === PAUSE TestGenerateExpandedCategories 238s === RUN TestExpandedCategoriesToADMX 238s === PAUSE TestExpandedCategoriesToADMX 238s === RUN TestExpandedCategoriesToMD 238s === PAUSE TestExpandedCategoriesToMD 238s === RUN TestExpand 238s === PAUSE TestExpand 238s === RUN TestGenerateAD 238s === PAUSE TestGenerateAD 238s === RUN TestGenerateDoc 238s === PAUSE TestGenerateDoc 238s === CONT TestGenerateExpandedCategories 238s === RUN TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 238s === PAUSE TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 238s === RUN TestGenerateExpandedCategories/no_meta_disabled 238s === PAUSE TestGenerateExpandedCategories/no_meta_disabled 238s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 238s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 238s === RUN TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 238s === PAUSE TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 238s === RUN TestGenerateExpandedCategories/no_defaults 238s === PAUSE TestGenerateExpandedCategories/no_defaults 238s === RUN TestGenerateExpandedCategories/range 238s === PAUSE TestGenerateExpandedCategories/range 238s === RUN TestGenerateExpandedCategories/requires_ubuntu_pro 238s === PAUSE TestGenerateExpandedCategories/requires_ubuntu_pro 238s === RUN TestGenerateExpandedCategories/simple 238s === PAUSE TestGenerateExpandedCategories/simple 238s === RUN TestGenerateExpandedCategories/different_defaults 238s === PAUSE TestGenerateExpandedCategories/different_defaults 238s === RUN TestGenerateExpandedCategories/available_on_one_release_only 238s === PAUSE TestGenerateExpandedCategories/available_on_one_release_only 238s === RUN TestGenerateExpandedCategories/different_explain_text 238s === PAUSE TestGenerateExpandedCategories/different_explain_text 238s === RUN TestGenerateExpandedCategories/different_display_name 238s === PAUSE TestGenerateExpandedCategories/different_display_name 238s === RUN TestGenerateExpandedCategories/no_meta_enabled 238s === PAUSE TestGenerateExpandedCategories/no_meta_enabled 238s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 238s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 238s === RUN TestGenerateExpandedCategories/error_on_invalid_default_policy_class 238s === PAUSE TestGenerateExpandedCategories/error_on_invalid_default_policy_class 238s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories 238s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories 238s === RUN TestGenerateExpandedCategories/with_prefix 238s === PAUSE TestGenerateExpandedCategories/with_prefix 238s === RUN TestGenerateExpandedCategories/different_meta 238s === PAUSE TestGenerateExpandedCategories/different_meta 238s === RUN TestGenerateExpandedCategories/policy_directory_doesn't_exist 238s === PAUSE TestGenerateExpandedCategories/policy_directory_doesn't_exist 238s === RUN TestGenerateExpandedCategories/applicable_to_all_releases 238s === PAUSE TestGenerateExpandedCategories/applicable_to_all_releases 238s === RUN TestGenerateExpandedCategories/meta_entry_only 238s === PAUSE TestGenerateExpandedCategories/meta_entry_only 238s === RUN TestGenerateExpandedCategories/error_on_different_class 238s === PAUSE TestGenerateExpandedCategories/error_on_different_class 238s === RUN TestGenerateExpandedCategories/error_on_empty_default_policy_class 238s === PAUSE TestGenerateExpandedCategories/error_on_empty_default_policy_class 238s === RUN TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 238s === PAUSE TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 238s === RUN TestGenerateExpandedCategories/category_definition_doesn't_exist 238s === PAUSE TestGenerateExpandedCategories/category_definition_doesn't_exist 238s === RUN TestGenerateExpandedCategories/no_note 238s === PAUSE TestGenerateExpandedCategories/no_note 238s === RUN TestGenerateExpandedCategories/no_note_strategy_append 238s === PAUSE TestGenerateExpandedCategories/no_note_strategy_append 238s === RUN TestGenerateExpandedCategories/default_policy_class_is_capitalized 238s === PAUSE TestGenerateExpandedCategories/default_policy_class_is_capitalized 238s === RUN TestGenerateExpandedCategories/different_choices 238s === PAUSE TestGenerateExpandedCategories/different_choices 238s === RUN TestGenerateExpandedCategories/error_on_nested_category 238s === PAUSE TestGenerateExpandedCategories/error_on_nested_category 238s === RUN TestGenerateExpandedCategories/basic 238s === PAUSE TestGenerateExpandedCategories/basic 238s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 238s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 238s === RUN TestGenerateExpandedCategories/multiple_top_categories 238s === PAUSE TestGenerateExpandedCategories/multiple_top_categories 238s === RUN TestGenerateExpandedCategories/error_on_missing_release 238s === PAUSE TestGenerateExpandedCategories/error_on_missing_release 238s === RUN TestGenerateExpandedCategories/choices 238s === PAUSE TestGenerateExpandedCategories/choices 238s === RUN TestGenerateExpandedCategories/different_element_type 238s === PAUSE TestGenerateExpandedCategories/different_element_type 238s === RUN TestGenerateExpandedCategories/error_on_one_policy_not_used 238s === PAUSE TestGenerateExpandedCategories/error_on_one_policy_not_used 238s === RUN TestGenerateExpandedCategories/error_on_different_policy_type 238s === PAUSE TestGenerateExpandedCategories/error_on_different_policy_type 238s === RUN TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 238s === PAUSE TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 238s === RUN TestGenerateExpandedCategories/no_meta_at_all 238s === PAUSE TestGenerateExpandedCategories/no_meta_at_all 238s === RUN TestGenerateExpandedCategories/two_policies 238s === PAUSE TestGenerateExpandedCategories/two_policies 238s === RUN TestGenerateExpandedCategories/same_default 238s === PAUSE TestGenerateExpandedCategories/same_default 238s === RUN TestGenerateExpandedCategories/nested_categories 238s === PAUSE TestGenerateExpandedCategories/nested_categories 238s === RUN TestGenerateExpandedCategories/different_range 238s === PAUSE TestGenerateExpandedCategories/different_range 238s === RUN TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 238s === PAUSE TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 238s === CONT TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 238s === CONT TestGenerateExpandedCategories/no_note 238s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 238s === CONT TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 238s === CONT TestGenerateDoc 238s === CONT TestGenerateExpandedCategories/category_definition_doesn't_exist 238s === CONT TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 238s === RUN TestGenerateDoc/releases_from_yaml 238s === PAUSE TestGenerateDoc/releases_from_yaml 238s === RUN TestGenerateDoc/autodetect_overrides_releases_from_yaml 238s === PAUSE TestGenerateDoc/autodetect_overrides_releases_from_yaml 238s === RUN TestGenerateDoc/invalid_definition_file 238s === PAUSE TestGenerateDoc/invalid_definition_file 238s === RUN TestGenerateDoc/category_expansion_fails 238s === PAUSE TestGenerateDoc/category_expansion_fails 238s === RUN TestGenerateDoc/doc_generation_fails 238s === PAUSE TestGenerateDoc/doc_generation_fails 238s === CONT TestGenerateAD 238s === RUN TestGenerateAD/releases_from_yaml 238s === CONT TestExpand 238s === RUN TestExpand/dconf 238s === PAUSE TestExpand/dconf 238s === CONT TestExpandedCategoriesToMD 238s === RUN TestExpand/expanded_policy 238s === PAUSE TestExpand/expanded_policy 238s === RUN TestExpand/ignore_categories_and_non_yaml_files 238s === PAUSE TestExpand/ignore_categories_and_non_yaml_files 238s === RUN TestExpand/no_release_file 238s === PAUSE TestExpand/no_release_file 238s === RUN TestExpand/unsupported_policy_type 238s === PAUSE TestExpand/unsupported_policy_type 238s === RUN TestExpand/dconf_generation_fails 238s === PAUSE TestExpand/dconf_generation_fails 238s === RUN TestExpand/expanded_policy_with_meta 238s === PAUSE TestExpand/expanded_policy_with_meta 238s === RUN TestExpand/expanded_policy_with_release_any 238s === PAUSE TestExpand/expanded_policy_with_release_any 238s === RUN TestExpand/no_version_id 238s === PAUSE TestExpand/no_version_id 238s === RUN TestExpand/no_source_directory 238s === PAUSE TestExpand/no_source_directory 238s === RUN TestExpand/invalid_dconf.yaml 238s === PAUSE TestExpand/invalid_dconf.yaml 238s === PAUSE TestGenerateAD/releases_from_yaml 238s === RUN TestGenerateAD/autodetect_overrides_releases_from_yaml 238s === PAUSE TestGenerateAD/autodetect_overrides_releases_from_yaml 238s === RUN TestGenerateAD/invalid_definition_file 238s === PAUSE TestGenerateAD/invalid_definition_file 238s === RUN TestGenerateAD/category_expansion_fails 238s === PAUSE TestGenerateAD/category_expansion_fails 238s === RUN TestGenerateAD/admx_generation_fails 238s === PAUSE TestGenerateAD/admx_generation_fails 238s === RUN TestExpandedCategoriesToMD/multiple_categories 238s === PAUSE TestExpandedCategoriesToMD/multiple_categories 238s === RUN TestExpandedCategoriesToMD/array_of_integers 238s === PAUSE TestExpandedCategoriesToMD/array_of_integers 238s === NAME TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestExpandedCategoriesToADMX 238s === RUN TestExpandedCategoriesToADMX/decimal 238s === PAUSE TestExpandedCategoriesToADMX/decimal 238s === RUN TestExpandedCategoriesToADMX/double_with_range 238s === PAUSE TestExpandedCategoriesToADMX/double_with_range 238s === RUN TestExpandedCategoriesToADMX/no_meta_enabled 238s === PAUSE TestExpandedCategoriesToADMX/no_meta_enabled 238s === RUN TestExpandedCategoriesToADMX/simple 238s === PAUSE TestExpandedCategoriesToADMX/simple 238s === RUN TestExpandedCategoriesToADMX/nested_categories 238s === PAUSE TestExpandedCategoriesToADMX/nested_categories 238s === RUN TestExpandedCategoriesToADMX/other_distro 238s === PAUSE TestExpandedCategoriesToADMX/other_distro 238s === RUN TestExpandedCategoriesToADMX/decimal_with_min_only 238s === PAUSE TestExpandedCategoriesToADMX/decimal_with_min_only 238s === RUN TestExpandedCategoriesToADMX/double 238s === PAUSE TestExpandedCategoriesToADMX/double 238s === RUN TestExpandedCategoriesToADMX/multiple_releases_for_one_key 238s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_for_one_key 238s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 238s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 238s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 238s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 238s === RUN TestExpandedCategoriesToADMX/basic_key 238s === PAUSE TestExpandedCategoriesToADMX/basic_key 238s === RUN TestExpandedCategoriesToADMX/boolean 238s === PAUSE TestExpandedCategoriesToADMX/boolean 238s === RUN TestExpandedCategoriesToADMX/decimal_with_range 238s === PAUSE TestExpandedCategoriesToADMX/decimal_with_range 238s === RUN TestExpandedCategoriesToADMX/no_meta_at_all 238s === PAUSE TestExpandedCategoriesToADMX/no_meta_at_all 238s === RUN TestExpandedCategoriesToADMX/choices 238s === PAUSE TestExpandedCategoriesToADMX/choices 238s === RUN TestExpandedCategoriesToADMX/choices_with_default 238s === PAUSE TestExpandedCategoriesToADMX/choices_with_default 238s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 238s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 238s === RUN TestExpandedCategoriesToMD/no_meta_enabled 238s === CONT TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 238s === PAUSE TestExpandedCategoriesToMD/no_meta_enabled 238s === RUN TestExpandedCategoriesToMD/nested_categories 238s === PAUSE TestExpandedCategoriesToMD/nested_categories 238s === RUN TestExpandedCategoriesToMD/decimal_with_max_only 238s === PAUSE TestExpandedCategoriesToMD/decimal_with_max_only 238s === RUN TestExpandedCategoriesToMD/long_decimal 238s === PAUSE TestExpandedCategoriesToMD/long_decimal 238s === RUN TestExpandedCategoriesToMD/double_with_range 238s === PAUSE TestExpandedCategoriesToMD/double_with_range 238s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_choices 238s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_choices 238s === RUN TestExpandedCategoriesToMD/user_policy 238s === PAUSE TestExpandedCategoriesToMD/user_policy 238s === RUN TestExpandedCategoriesToMD/decimal 238s === PAUSE TestExpandedCategoriesToMD/decimal 238s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 238s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 238s === RUN TestExpandedCategoriesToMD/basic_key 238s === PAUSE TestExpandedCategoriesToMD/basic_key 238s === RUN TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 238s === PAUSE TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 238s === RUN TestExpandedCategoriesToMD/double 238s === PAUSE TestExpandedCategoriesToMD/double 238s === RUN TestExpandedCategoriesToMD/multiple_releases_for_one_key 238s === PAUSE TestExpandedCategoriesToMD/multiple_releases_for_one_key 238s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 238s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 238s === RUN TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 238s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 238s === RUN TestExpandedCategoriesToMD/error_on_destination_creation 238s === PAUSE TestExpandedCategoriesToMD/error_on_destination_creation 238s === RUN TestExpandedCategoriesToMD/decimal_with_min_only 238s === PAUSE TestExpandedCategoriesToMD/decimal_with_min_only 238s === RUN TestExpandedCategoriesToMD/simple 238s === PAUSE TestExpandedCategoriesToMD/simple 238s === RUN TestExpandedCategoriesToMD/choices 238s === PAUSE TestExpandedCategoriesToMD/choices 238s === RUN TestExpandedCategoriesToMD/choices_with_default 238s === PAUSE TestExpandedCategoriesToMD/choices_with_default 238s === RUN TestExpandedCategoriesToMD/boolean 238s === PAUSE TestExpandedCategoriesToMD/boolean 238s === RUN TestExpandedCategoriesToMD/decimal_with_range 238s === PAUSE TestExpandedCategoriesToMD/decimal_with_range 238s === RUN TestExpandedCategoriesToMD/array_of_strings 238s === PAUSE TestExpandedCategoriesToMD/array_of_strings 238s === RUN TestExpandedCategoriesToMD/no_meta_disabled 238s === PAUSE TestExpandedCategoriesToMD/no_meta_disabled 238s === RUN TestExpandedCategoriesToMD/no_meta_at_all 238s === PAUSE TestExpandedCategoriesToMD/no_meta_at_all 238s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 238s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 238s === RUN TestExpandedCategoriesToADMX/multiple_categories 238s === PAUSE TestExpandedCategoriesToADMX/multiple_categories 238s === RUN TestExpandedCategoriesToADMX/long_decimal 238s === PAUSE TestExpandedCategoriesToADMX/long_decimal 238s === RUN TestExpandedCategoriesToADMX/array_of_integers 238s === PAUSE TestExpandedCategoriesToADMX/array_of_integers 238s === RUN TestExpandedCategoriesToADMX/error_on_destination_creation 238s === PAUSE TestExpandedCategoriesToADMX/error_on_destination_creation 238s === RUN TestExpandedCategoriesToADMX/decimal_with_max_only 238s === PAUSE TestExpandedCategoriesToADMX/decimal_with_max_only 238s === RUN TestExpandedCategoriesToADMX/array_of_strings 238s === PAUSE TestExpandedCategoriesToADMX/array_of_strings 238s === RUN TestExpandedCategoriesToADMX/no_meta_disabled 238s === PAUSE TestExpandedCategoriesToADMX/no_meta_disabled 238s === CONT TestGenerateExpandedCategories/different_range 238s === CONT TestGenerateExpandedCategories/same_default 238s === NAME TestGenerateExpandedCategories/different_range 238s internal_test.go:112: Serializing object for golden file 238s === NAME TestGenerateExpandedCategories/same_default 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/two_policies 238s === NAME TestGenerateExpandedCategories/no_note 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/nested_categories 238s === CONT TestGenerateExpandedCategories/no_meta_at_all 238s === CONT TestGenerateExpandedCategories/requires_ubuntu_pro 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/no_meta_enabled 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/different_display_name 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/different_explain_text 238s === NAME TestGenerateExpandedCategories/no_meta_at_all 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/available_on_one_release_only 238s === CONT TestGenerateExpandedCategories/different_defaults 238s internal_test.go:112: Serializing object for golden file 238s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/error_on_different_policy_type 238s === CONT TestGenerateExpandedCategories/simple 238s === CONT TestGenerateExpandedCategories/policy_directory_doesn't_exist 238s === CONT TestGenerateExpandedCategories/error_on_empty_default_policy_class 238s === NAME TestGenerateExpandedCategories/two_policies 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/error_on_one_policy_not_used 238s === CONT TestGenerateExpandedCategories/error_on_different_class 238s === CONT TestGenerateExpandedCategories/meta_entry_only 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/applicable_to_all_releases 238s === NAME TestGenerateExpandedCategories/simple 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/different_element_type 238s time="2025-06-17T13:17:39Z" level=warning msg="policy /org/gnome/desktop/policy-doesnotexit referenced in \"Category1 Display Name\" does not exist in any supported releases" 238s === NAME TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/with_prefix 238s === NAME TestGenerateExpandedCategories/available_on_one_release_only 238s internal_test.go:112: Serializing object for golden file 238s === NAME TestGenerateExpandedCategories/nested_categories 238s internal_test.go:112: Serializing object for golden file 238s === NAME TestGenerateExpandedCategories/applicable_to_all_releases 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/choices 238s === CONT TestGenerateExpandedCategories/error_on_missing_release 238s === CONT TestGenerateExpandedCategories/multiple_top_categories 238s === NAME TestGenerateExpandedCategories/choices 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 238s === NAME TestGenerateExpandedCategories/different_element_type 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/basic 238s === CONT TestGenerateExpandedCategories/error_on_nested_category 238s === CONT TestGenerateExpandedCategories/different_choices 238s === NAME TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/default_policy_class_is_capitalized 238s === NAME TestGenerateExpandedCategories/different_explain_text 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/no_note_strategy_append 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 238s === NAME TestGenerateExpandedCategories/multiple_top_categories 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/range 238s === NAME TestGenerateExpandedCategories/with_prefix 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/no_defaults 238s === NAME TestGenerateExpandedCategories/basic 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 238s === CONT TestGenerateExpandedCategories/error_on_invalid_default_policy_class 238s === NAME TestGenerateExpandedCategories/default_policy_class_is_capitalized 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateDoc/releases_from_yaml 238s === CONT TestGenerateExpandedCategories/no_meta_disabled 238s internal_test.go:112: Serializing object for golden file 238s === NAME TestGenerateExpandedCategories/range 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateDoc/category_expansion_fails 238s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestGenerateDoc/invalid_definition_file 238s === CONT TestGenerateDoc/autodetect_overrides_releases_from_yaml 238s === CONT TestExpand/dconf 238s === CONT TestGenerateDoc/doc_generation_fails 238s === NAME TestGenerateExpandedCategories/no_defaults 238s internal_test.go:112: Serializing object for golden file 238s === NAME TestGenerateExpandedCategories/different_choices 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestExpand/no_version_id 238s === CONT TestGenerateExpandedCategories/different_meta 238s === CONT TestExpand/expanded_policy_with_meta 238s === CONT TestExpand/expanded_policy_with_release_any 238s === NAME TestExpand/expanded_policy_with_meta 238s admxgen_test.go:78: Serializing object for golden file 238s === CONT TestExpand/no_source_directory 238s === CONT TestExpand/invalid_dconf.yaml 238s === NAME TestExpand/expanded_policy_with_release_any 238s admxgen_test.go:78: Serializing object for golden file 238s === NAME TestGenerateExpandedCategories/different_meta 238s internal_test.go:112: Serializing object for golden file 238s === CONT TestExpand/no_release_file 238s --- PASS: TestGenerateExpandedCategories (0.00s) 238s --- PASS: TestGenerateExpandedCategories/category_definition_doesn't_exist (0.00s) 238s --- PASS: TestGenerateExpandedCategories/use_policy_class_instead_of_category_default (0.00s) 238s --- PASS: TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases (0.00s) 238s --- PASS: TestGenerateExpandedCategories/different_range (0.00s) 238s --- PASS: TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified (0.01s) 238s --- PASS: TestGenerateExpandedCategories/no_note (0.01s) 238s --- PASS: TestGenerateExpandedCategories/requires_ubuntu_pro (0.00s) 238s --- PASS: TestGenerateExpandedCategories/no_meta_enabled (0.00s) 238s --- PASS: TestGenerateExpandedCategories/different_display_name (0.00s) 238s --- PASS: TestGenerateExpandedCategories/no_meta_at_all (0.01s) 238s --- PASS: TestGenerateExpandedCategories/different_defaults (0.01s) 238s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key (0.02s) 238s --- PASS: TestGenerateExpandedCategories/same_default (0.02s) 238s --- PASS: TestGenerateExpandedCategories/policy_directory_doesn't_exist (0.00s) 238s --- PASS: TestGenerateExpandedCategories/two_policies (0.02s) 238s --- PASS: TestGenerateExpandedCategories/error_on_different_policy_type (0.00s) 238s --- PASS: TestGenerateExpandedCategories/error_on_different_class (0.00s) 238s --- PASS: TestGenerateExpandedCategories/meta_entry_only (0.00s) 238s --- PASS: TestGenerateExpandedCategories/simple (0.01s) 238s --- PASS: TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases (0.03s) 238s --- PASS: TestGenerateExpandedCategories/nested_categories (0.03s) 238s --- PASS: TestGenerateExpandedCategories/available_on_one_release_only (0.03s) 238s --- PASS: TestGenerateExpandedCategories/applicable_to_all_releases (0.01s) 238s --- PASS: TestGenerateExpandedCategories/choices (0.00s) 238s --- PASS: TestGenerateExpandedCategories/error_on_empty_default_policy_class (0.02s) 238s --- PASS: TestGenerateExpandedCategories/error_on_one_policy_not_used (0.01s) 238s --- PASS: TestGenerateExpandedCategories/different_element_type (0.01s) 238s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class (0.01s) 238s --- PASS: TestGenerateExpandedCategories/different_explain_text (0.04s) 238s --- PASS: TestGenerateExpandedCategories/no_note_strategy_append (0.00s) 238s --- PASS: TestGenerateExpandedCategories/multiple_top_categories (0.02s) 238s --- PASS: TestGenerateExpandedCategories/with_prefix (0.03s) 238s --- PASS: TestGenerateExpandedCategories/basic (0.02s) 238s --- PASS: TestGenerateExpandedCategories/error_on_missing_release (0.03s) 238s --- PASS: TestGenerateExpandedCategories/default_policy_class_is_capitalized (0.02s) 238s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories (0.00s) 238s --- PASS: TestGenerateExpandedCategories/error_on_invalid_default_policy_class (0.00s) 238s --- PASS: TestGenerateExpandedCategories/no_meta_disabled (0.00s) 238s --- PASS: TestGenerateExpandedCategories/range (0.01s) 238s --- PASS: TestGenerateExpandedCategories/error_on_nested_category (0.03s) 238s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key (0.02s) 238s --- PASS: TestGenerateExpandedCategories/error_on_unexisting_policy_referenced (0.01s) 238s --- PASS: TestGenerateExpandedCategories/no_defaults (0.02s) 238s --- PASS: TestGenerateExpandedCategories/different_choices (0.04s) 238s --- PASS: TestGenerateExpandedCategories/different_meta (0.02s) 238s === CONT TestExpand/dconf_generation_fails 238s === NAME TestExpand/dconf 238s admxgen_test.go:78: Serializing object for golden file 238s === CONT TestExpand/unsupported_policy_type 238s === CONT TestExpand/expanded_policy 238s === CONT TestExpand/ignore_categories_and_non_yaml_files 238s === NAME TestExpand/expanded_policy 238s admxgen_test.go:78: Serializing object for golden file 238s === CONT TestExpandedCategoriesToMD/multiple_categories 238s === CONT TestExpandedCategoriesToMD/no_meta_at_all 238s --- PASS: TestGenerateDoc (0.00s) 238s --- PASS: TestGenerateDoc/category_expansion_fails (0.00s) 238s --- PASS: TestGenerateDoc/invalid_definition_file (0.00s) 238s --- PASS: TestGenerateDoc/autodetect_overrides_releases_from_yaml (0.01s) 238s --- PASS: TestGenerateDoc/doc_generation_fails (0.04s) 238s --- PASS: TestGenerateDoc/releases_from_yaml (0.05s) 238s === CONT TestExpandedCategoriesToADMX/decimal 238s === CONT TestExpandedCategoriesToMD/no_meta_disabled 238s === NAME TestExpand/ignore_categories_and_non_yaml_files 238s admxgen_test.go:78: Serializing object for golden file 238s === CONT TestExpandedCategoriesToMD/array_of_strings 238s === CONT TestExpandedCategoriesToMD/decimal_with_range 238s === CONT TestExpandedCategoriesToMD/boolean 238s --- PASS: TestExpand (0.00s) 238s --- PASS: TestExpand/no_source_directory (0.00s) 238s --- PASS: TestExpand/expanded_policy_with_meta (0.02s) 238s --- PASS: TestExpand/invalid_dconf.yaml (0.01s) 238s --- PASS: TestExpand/no_version_id (0.03s) 238s --- PASS: TestExpand/dconf (0.04s) 238s --- PASS: TestExpand/expanded_policy (0.00s) 238s --- PASS: TestExpand/expanded_policy_with_release_any (0.03s) 238s --- PASS: TestExpand/no_release_file (0.04s) 238s --- PASS: TestExpand/dconf_generation_fails (0.05s) 238s --- PASS: TestExpand/ignore_categories_and_non_yaml_files (0.03s) 238s --- PASS: TestExpand/unsupported_policy_type (0.07s) 238s === CONT TestExpandedCategoriesToMD/choices_with_default 238s === CONT TestExpandedCategoriesToMD/choices 238s === CONT TestExpandedCategoriesToMD/simple 238s === CONT TestExpandedCategoriesToMD/decimal_with_min_only 238s === CONT TestExpandedCategoriesToMD/error_on_destination_creation 238s === CONT TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 238s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 238s === CONT TestExpandedCategoriesToMD/multiple_releases_for_one_key 238s === CONT TestExpandedCategoriesToMD/double 238s === CONT TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 238s === CONT TestExpandedCategoriesToMD/basic_key 238s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 238s === CONT TestExpandedCategoriesToMD/decimal 238s === CONT TestExpandedCategoriesToMD/user_policy 238s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_choices 238s === CONT TestExpandedCategoriesToMD/double_with_range 238s === CONT TestExpandedCategoriesToMD/long_decimal 238s === CONT TestExpandedCategoriesToMD/decimal_with_max_only 238s === CONT TestExpandedCategoriesToMD/nested_categories 238s === CONT TestExpandedCategoriesToMD/no_meta_enabled 238s === CONT TestExpandedCategoriesToMD/array_of_integers 238s === CONT TestExpandedCategoriesToADMX/no_meta_at_all 238s === CONT TestExpandedCategoriesToADMX/no_meta_disabled 238s === CONT TestExpandedCategoriesToADMX/array_of_strings 238s === CONT TestExpandedCategoriesToADMX/decimal_with_max_only 238s === CONT TestExpandedCategoriesToADMX/error_on_destination_creation 238s === CONT TestExpandedCategoriesToADMX/array_of_integers 238s === CONT TestExpandedCategoriesToADMX/long_decimal 238s === CONT TestExpandedCategoriesToADMX/multiple_categories 238s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 238s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 238s === CONT TestExpandedCategoriesToADMX/choices_with_default 238s === CONT TestExpandedCategoriesToADMX/choices 238s === CONT TestExpandedCategoriesToADMX/decimal_with_range 238s --- PASS: TestExpandedCategoriesToMD (0.00s) 238s --- PASS: TestExpandedCategoriesToMD/no_meta_at_all (0.07s) 238s --- PASS: TestExpandedCategoriesToMD/no_meta_disabled (0.08s) 238s --- PASS: TestExpandedCategoriesToMD/multiple_categories (0.09s) 238s --- PASS: TestExpandedCategoriesToMD/array_of_strings (0.08s) 238s --- PASS: TestExpandedCategoriesToMD/decimal_with_min_only (0.02s) 238s --- PASS: TestExpandedCategoriesToMD/error_on_destination_creation (0.03s) 238s --- PASS: TestExpandedCategoriesToMD/simple (0.04s) 238s --- PASS: TestExpandedCategoriesToMD/decimal_with_range (0.11s) 238s --- PASS: TestExpandedCategoriesToMD/choices_with_default (0.08s) 238s --- PASS: TestExpandedCategoriesToMD/boolean (0.13s) 238s --- PASS: TestExpandedCategoriesToMD/choices (0.09s) 238s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_ranges (0.06s) 238s --- PASS: TestExpandedCategoriesToMD/double (0.05s) 238s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults (0.08s) 238s --- PASS: TestExpandedCategoriesToMD/basic_key (0.05s) 238s --- PASS: TestExpandedCategoriesToMD/multiple_releases_for_one_key (0.06s) 238s --- PASS: TestExpandedCategoriesToMD/decimal (0.03s) 238s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_choices (0.03s) 238s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype (0.06s) 238s --- PASS: TestExpandedCategoriesToMD/user_policy (0.05s) 238s --- PASS: TestExpandedCategoriesToMD/long_decimal (0.03s) 238s --- PASS: TestExpandedCategoriesToMD/nested_categories (0.02s) 238s --- PASS: TestExpandedCategoriesToMD/no_meta_enabled (0.01s) 238s --- PASS: TestExpandedCategoriesToMD/double_with_range (0.05s) 238s --- PASS: TestExpandedCategoriesToMD/nested_categories,_classes_and_empty (0.09s) 238s --- PASS: TestExpandedCategoriesToMD/decimal_with_max_only (0.05s) 238s --- PASS: TestExpandedCategoriesToMD/array_of_integers (0.04s) 238s === CONT TestExpandedCategoriesToADMX/double 238s === CONT TestExpandedCategoriesToADMX/boolean 238s === CONT TestExpandedCategoriesToADMX/basic_key 238s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 238s === CONT TestExpandedCategoriesToADMX/multiple_releases_for_one_key 238s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 238s === CONT TestExpandedCategoriesToADMX/nested_categories 238s === CONT TestExpandedCategoriesToADMX/decimal_with_min_only 238s === CONT TestExpandedCategoriesToADMX/other_distro 238s === CONT TestExpandedCategoriesToADMX/no_meta_enabled 238s === CONT TestExpandedCategoriesToADMX/simple 238s === CONT TestExpandedCategoriesToADMX/double_with_range 238s === CONT TestGenerateAD/releases_from_yaml 238s === CONT TestGenerateAD/admx_generation_fails 238s === CONT TestGenerateAD/category_expansion_fails 238s === CONT TestGenerateAD/invalid_definition_file 238s === CONT TestGenerateAD/autodetect_overrides_releases_from_yaml 238s --- PASS: TestExpandedCategoriesToADMX (0.00s) 238s --- PASS: TestExpandedCategoriesToADMX/decimal (0.09s) 238s --- PASS: TestExpandedCategoriesToADMX/no_meta_disabled (0.00s) 238s --- PASS: TestExpandedCategoriesToADMX/error_on_destination_creation (0.02s) 238s --- PASS: TestExpandedCategoriesToADMX/no_meta_at_all (0.03s) 238s --- PASS: TestExpandedCategoriesToADMX/long_decimal (0.02s) 238s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges (0.00s) 238s --- PASS: TestExpandedCategoriesToADMX/decimal_with_max_only (0.03s) 238s --- PASS: TestExpandedCategoriesToADMX/array_of_strings (0.03s) 238s --- PASS: TestExpandedCategoriesToADMX/array_of_integers (0.03s) 238s --- PASS: TestExpandedCategoriesToADMX/choices (0.01s) 238s --- PASS: TestExpandedCategoriesToADMX/basic_key (0.00s) 238s --- PASS: TestExpandedCategoriesToADMX/choices_with_default (0.01s) 238s --- PASS: TestExpandedCategoriesToADMX/boolean (0.01s) 238s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype (0.01s) 238s --- PASS: TestExpandedCategoriesToADMX/multiple_categories (0.03s) 238s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults (0.03s) 238s --- PASS: TestExpandedCategoriesToADMX/decimal_with_range (0.02s) 238s --- PASS: TestExpandedCategoriesToADMX/double (0.02s) 238s --- PASS: TestExpandedCategoriesToADMX/no_meta_enabled (0.00s) 238s --- PASS: TestExpandedCategoriesToADMX/nested_categories (0.01s) 238s --- PASS: TestExpandedCategoriesToADMX/simple (0.01s) 238s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_choices (0.02s) 238s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_for_one_key (0.02s) 238s --- PASS: TestExpandedCategoriesToADMX/double_with_range (0.01s) 238s --- PASS: TestExpandedCategoriesToADMX/decimal_with_min_only (0.02s) 238s --- PASS: TestExpandedCategoriesToADMX/other_distro (0.02s) 238s --- PASS: TestGenerateAD (0.00s) 238s --- PASS: TestGenerateAD/category_expansion_fails (0.00s) 238s --- PASS: TestGenerateAD/invalid_definition_file (0.00s) 238s --- PASS: TestGenerateAD/admx_generation_fails (0.01s) 238s --- PASS: TestGenerateAD/autodetect_overrides_releases_from_yaml (0.01s) 238s --- PASS: TestGenerateAD/releases_from_yaml (0.02s) 238s PASS 238s ok github.com/ubuntu/adsys/internal/ad/admxgen 0.445s 238s === RUN TestGenerate 238s === PAUSE TestGenerate 238s === CONT TestGenerate 238s === RUN TestGenerate/No_key_on_system 238s === PAUSE TestGenerate/No_key_on_system 238s === RUN TestGenerate/Description_starting_with_obsolete_is_ignored 238s === PAUSE TestGenerate/Description_starting_with_obsolete_is_ignored 238s === RUN TestGenerate/One_boolean_key 238s === PAUSE TestGenerate/One_boolean_key 238s === RUN TestGenerate/One_decimal_key_with_range 238s === PAUSE TestGenerate/One_decimal_key_with_range 238s === RUN TestGenerate/Long_decimal_key 238s === PAUSE TestGenerate/Long_decimal_key 238s === RUN TestGenerate/Array_of_strings 238s === PAUSE TestGenerate/Array_of_strings 238s === RUN TestGenerate/Enums_in_other_files_are_converted_to_choices 238s === PAUSE TestGenerate/Enums_in_other_files_are_converted_to_choices 238s === RUN TestGenerate/Invalid_override_files_are_skipped 238s === PAUSE TestGenerate/Invalid_override_files_are_skipped 238s === RUN TestGenerate/Description_starting_with_deprecated_is_ignored 238s === PAUSE TestGenerate/Description_starting_with_deprecated_is_ignored 238s === RUN TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 238s === PAUSE TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 238s === RUN TestGenerate/Relocatable_key 238s === PAUSE TestGenerate/Relocatable_key 238s === RUN TestGenerate/Array_of_integers 238s === PAUSE TestGenerate/Array_of_integers 238s === RUN TestGenerate/Override_with_session_takes_session_override 238s === PAUSE TestGenerate/Override_with_session_takes_session_override 238s === RUN TestGenerate/Override_takes_first_session 238s === PAUSE TestGenerate/Override_takes_first_session 238s === RUN TestGenerate/Inlined_Enums_are_converted_to_choices 238s === PAUSE TestGenerate/Inlined_Enums_are_converted_to_choices 238s === RUN TestGenerate/Invalid_class 238s === PAUSE TestGenerate/Invalid_class 238s === RUN TestGenerate/One_decimal_key_with_min_only 238s === PAUSE TestGenerate/One_decimal_key_with_min_only 238s === RUN TestGenerate/Long_decimal_key_with_range_min_lt_0 238s === PAUSE TestGenerate/Long_decimal_key_with_range_min_lt_0 238s === RUN TestGenerate/Invalid_schema_files 238s === PAUSE TestGenerate/Invalid_schema_files 238s === RUN TestGenerate/One_text_key 238s === PAUSE TestGenerate/One_text_key 238s === RUN TestGenerate/One_decimal_key 238s === PAUSE TestGenerate/One_decimal_key 238s === RUN TestGenerate/Overridden_by_multiple_files,_last_wins 238s === PAUSE TestGenerate/Overridden_by_multiple_files,_last_wins 238s === RUN TestGenerate/Invalid_min 238s === PAUSE TestGenerate/Invalid_min 238s === RUN TestGenerate/Override_with_no_matching_session_defaults_to_root_override 238s === PAUSE TestGenerate/Override_with_no_matching_session_defaults_to_root_override 238s === RUN TestGenerate/Override_without_session_takes_default 238s === PAUSE TestGenerate/Override_without_session_takes_default 238s === RUN TestGenerate/Relocatable_key_overridden 238s === PAUSE TestGenerate/Relocatable_key_overridden 238s === RUN TestGenerate/Key_with_class 238s === PAUSE TestGenerate/Key_with_class 238s === RUN TestGenerate/One_decimal_key_with_max_only 238s === PAUSE TestGenerate/One_decimal_key_with_max_only 238s === RUN TestGenerate/Long_decimal_key_with_range_min_gt_0 238s === PAUSE TestGenerate/Long_decimal_key_with_range_min_gt_0 238s === RUN TestGenerate/Double_key_with_range 238s === PAUSE TestGenerate/Double_key_with_range 238s === RUN TestGenerate/Override_without_session 238s === PAUSE TestGenerate/Override_without_session 238s === RUN TestGenerate/Choices_are_loaded 238s === PAUSE TestGenerate/Choices_are_loaded 238s === RUN TestGenerate/Enum_does_not_exist 238s === PAUSE TestGenerate/Enum_does_not_exist 238s === RUN TestGenerate/Valid_class_should_be_capitalized 238s === PAUSE TestGenerate/Valid_class_should_be_capitalized 238s === RUN TestGenerate/Unsupported_key_type 238s === PAUSE TestGenerate/Unsupported_key_type 238s === RUN TestGenerate/Override_default_to_second_if_first_not_present 238s === PAUSE TestGenerate/Override_default_to_second_if_first_not_present 238s === RUN TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 238s === PAUSE TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 238s === RUN TestGenerate/Same_key_relocated_twice 238s === PAUSE TestGenerate/Same_key_relocated_twice 238s === RUN TestGenerate/Double_key 238s === PAUSE TestGenerate/Double_key 238s === RUN TestGenerate/Empty 238s === PAUSE TestGenerate/Empty 238s === RUN TestGenerate/NaN_min 238s === PAUSE TestGenerate/NaN_min 238s === CONT TestGenerate/No_key_on_system 238s === CONT TestGenerate/Overridden_by_multiple_files,_last_wins 238s === CONT TestGenerate/Array_of_integers 238s === CONT TestGenerate/NaN_min 238s === CONT TestGenerate/One_decimal_key 238s === CONT TestGenerate/Enums_in_other_files_are_converted_to_choices 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/One_text_key 238s === CONT TestGenerate/Empty 238s === NAME TestGenerate/One_decimal_key 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Invalid_schema_files 238s === CONT TestGenerate/Long_decimal_key_with_range_min_lt_0 238s === NAME TestGenerate/One_text_key 238s dconf_test.go:103: Serializing object for golden file 238s === NAME TestGenerate/Empty 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Double_key 238s === CONT TestGenerate/One_decimal_key_with_min_only 238s === CONT TestGenerate/Same_key_relocated_twice 238s === NAME TestGenerate/Long_decimal_key_with_range_min_lt_0 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Invalid_class 238s === NAME TestGenerate/Overridden_by_multiple_files,_last_wins 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 238s === NAME TestGenerate/Array_of_integers 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Inlined_Enums_are_converted_to_choices 238s time="2025-06-17T13:17:39Z" level=warning msg="dconf entry \"/com/ubuntu/simple/non-existent\" is not available on this machine" 238s === NAME TestGenerate/No_key_on_system 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Override_takes_first_session 238s === CONT TestGenerate/Override_default_to_second_if_first_not_present 238s time="2025-06-17T13:17:39Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated-different-cases\" is deprecated. Ignoring" 238s === NAME TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Override_with_session_takes_session_override 238s === NAME TestGenerate/Override_default_to_second_if_first_not_present 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Unsupported_key_type 238s === CONT TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 238s === NAME TestGenerate/Override_with_session_takes_session_override 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Valid_class_should_be_capitalized 238s === NAME TestGenerate/Inlined_Enums_are_converted_to_choices 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Relocatable_key 238s === NAME TestGenerate/Double_key 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Enum_does_not_exist 238s === NAME TestGenerate/Override_takes_first_session 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Description_starting_with_deprecated_is_ignored 238s === NAME TestGenerate/Relocatable_key 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Choices_are_loaded 238s time="2025-06-17T13:17:39Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated\" is deprecated. Ignoring" 238s === NAME TestGenerate/One_decimal_key_with_min_only 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Override_without_session 238s === NAME TestGenerate/Choices_are_loaded 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/One_boolean_key 238s === NAME TestGenerate/Description_starting_with_deprecated_is_ignored 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Double_key_with_range 238s === NAME TestGenerate/One_boolean_key 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Array_of_strings 238s === NAME TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Long_decimal_key 238s === CONT TestGenerate/Long_decimal_key_with_range_min_gt_0 238s === NAME TestGenerate/Same_key_relocated_twice 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/One_decimal_key_with_range 238s === NAME TestGenerate/Override_without_session 238s dconf_test.go:103: Serializing object for golden file 238s === NAME TestGenerate/Array_of_strings 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Invalid_override_files_are_skipped 238s === CONT TestGenerate/Key_with_class 238s === CONT TestGenerate/One_decimal_key_with_max_only 238s time="2025-06-17T13:17:39Z" 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" 238s === NAME TestGenerate/One_decimal_key_with_range 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Relocatable_key_overridden 238s === NAME TestGenerate/Valid_class_should_be_capitalized 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Override_without_session_takes_default 238s === NAME TestGenerate/Long_decimal_key_with_range_min_gt_0 238s dconf_test.go:103: Serializing object for golden file 238s === NAME TestGenerate/Relocatable_key_overridden 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Description_starting_with_obsolete_is_ignored 238s === CONT TestGenerate/Override_with_no_matching_session_defaults_to_root_override 238s time="2025-06-17T13:17:39Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/obsolete\" is deprecated. Ignoring" 238s === NAME TestGenerate/Description_starting_with_obsolete_is_ignored 238s dconf_test.go:103: Serializing object for golden file 238s === CONT TestGenerate/Invalid_min 238s === NAME TestGenerate/Key_with_class 238s dconf_test.go:103: Serializing object for golden file 238s === NAME TestGenerate/Long_decimal_key 238s dconf_test.go:103: Serializing object for golden file 238s === NAME TestGenerate/Invalid_override_files_are_skipped 238s dconf_test.go:103: Serializing object for golden file 238s === NAME TestGenerate/Double_key_with_range 238s dconf_test.go:103: Serializing object for golden file 238s === NAME TestGenerate/One_decimal_key_with_max_only 238s dconf_test.go:103: Serializing object for golden file 238s === NAME TestGenerate/Override_with_no_matching_session_defaults_to_root_override 238s dconf_test.go:103: Serializing object for golden file 238s === NAME TestGenerate/Override_without_session_takes_default 238s dconf_test.go:103: Serializing object for golden file 238s --- PASS: TestGenerate (0.00s) 238s --- PASS: TestGenerate/One_decimal_key (0.00s) 238s --- PASS: TestGenerate/Enums_in_other_files_are_converted_to_choices (0.00s) 238s --- PASS: TestGenerate/Empty (0.01s) 238s --- PASS: TestGenerate/Invalid_schema_files (0.00s) 238s --- PASS: TestGenerate/One_text_key (0.00s) 238s --- PASS: TestGenerate/Long_decimal_key_with_range_min_lt_0 (0.01s) 238s --- PASS: TestGenerate/Overridden_by_multiple_files,_last_wins (0.01s) 238s --- PASS: TestGenerate/Array_of_integers (0.01s) 238s --- PASS: TestGenerate/No_key_on_system (0.01s) 238s --- PASS: TestGenerate/Invalid_class (0.00s) 238s --- PASS: TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored (0.00s) 238s --- PASS: TestGenerate/Override_default_to_second_if_first_not_present (0.00s) 238s --- PASS: TestGenerate/Unsupported_key_type (0.00s) 238s --- PASS: TestGenerate/Override_with_session_takes_session_override (0.02s) 238s --- PASS: TestGenerate/Inlined_Enums_are_converted_to_choices (0.03s) 238s --- PASS: TestGenerate/Double_key (0.03s) 238s --- PASS: TestGenerate/Override_takes_first_session (0.03s) 238s --- PASS: TestGenerate/Relocatable_key (0.00s) 238s --- PASS: TestGenerate/One_decimal_key_with_min_only (0.03s) 238s --- PASS: TestGenerate/Choices_are_loaded (0.00s) 238s --- PASS: TestGenerate/Description_starting_with_deprecated_is_ignored (0.00s) 238s --- PASS: TestGenerate/One_boolean_key (0.00s) 238s --- PASS: TestGenerate/NaN_min (0.05s) 238s --- PASS: TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored (0.03s) 238s --- PASS: TestGenerate/Same_key_relocated_twice (0.04s) 238s --- PASS: TestGenerate/Override_without_session (0.02s) 238s --- PASS: TestGenerate/Enum_does_not_exist (0.02s) 238s --- PASS: TestGenerate/Array_of_strings (0.01s) 238s --- PASS: TestGenerate/One_decimal_key_with_range (0.02s) 238s --- PASS: TestGenerate/Valid_class_should_be_capitalized (0.03s) 238s --- PASS: TestGenerate/Relocatable_key_overridden (0.01s) 238s --- PASS: TestGenerate/Long_decimal_key_with_range_min_gt_0 (0.03s) 238s --- PASS: TestGenerate/Description_starting_with_obsolete_is_ignored (0.00s) 238s --- PASS: TestGenerate/Key_with_class (0.02s) 238s --- PASS: TestGenerate/Long_decimal_key (0.03s) 238s --- PASS: TestGenerate/Invalid_override_files_are_skipped (0.02s) 238s --- PASS: TestGenerate/Double_key_with_range (0.03s) 238s --- PASS: TestGenerate/Invalid_min (0.01s) 238s --- PASS: TestGenerate/One_decimal_key_with_max_only (0.02s) 238s --- PASS: TestGenerate/Override_with_no_matching_session_defaults_to_root_override (0.02s) 238s --- PASS: TestGenerate/Override_without_session_takes_default (0.02s) 238s PASS 238s ok github.com/ubuntu/adsys/internal/ad/admxgen/dconf 0.130s 238s === RUN TestSSSD 238s === PAUSE TestSSSD 238s === CONT TestSSSD 238s === RUN TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 238s === PAUSE TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 238s === RUN TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 238s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 238s === RUN TestSSSD/Error_on_no_domains_field 238s === PAUSE TestSSSD/Error_on_no_domains_field 238s === RUN TestSSSD/Error_on_no_sssd_section 238s === PAUSE TestSSSD/Error_on_no_sssd_section 238s === RUN TestSSSD/Is_not_online 238s === PAUSE TestSSSD/Is_not_online 238s === RUN TestSSSD/Can_handle_special_DNS_domain_characters 238s === PAUSE TestSSSD/Can_handle_special_DNS_domain_characters 238s === RUN TestSSSD/SSSd_domain_can_not_match_ad_domain 238s === PAUSE TestSSSD/SSSd_domain_can_not_match_ad_domain 238s === RUN TestSSSD/Ignore_upper_cases_in_domain_name 238s === PAUSE TestSSSD/Ignore_upper_cases_in_domain_name 238s === RUN TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 238s === PAUSE TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 238s === RUN TestSSSD/Error_on_sssd_conf_does_not_exists 238s === PAUSE TestSSSD/Error_on_sssd_conf_does_not_exists 238s === RUN TestSSSD/Error_on_sssd_domain_section_missing 238s === PAUSE TestSSSD/Error_on_sssd_domain_section_missing 238s === RUN TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 238s === PAUSE TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 238s === RUN TestSSSD/Error_on_sssd_domain_empty_section 238s === PAUSE TestSSSD/Error_on_sssd_domain_empty_section 238s === RUN TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 238s === PAUSE TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 238s === RUN TestSSSD/Default_domain_suffix_is_read 238s === PAUSE TestSSSD/Default_domain_suffix_is_read 238s === RUN TestSSSD/Regular_config,_with_cache_dir 238s === PAUSE TestSSSD/Regular_config,_with_cache_dir 238s === RUN TestSSSD/No_sssd_conf_loads_the_default 238s === PAUSE TestSSSD/No_sssd_conf_loads_the_default 238s === RUN TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 238s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 238s === RUN TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 238s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 238s === RUN TestSSSD/Regular_config 238s === PAUSE TestSSSD/Regular_config 238s === RUN TestSSSD/Multiple_domains,_pick_first 238s === PAUSE TestSSSD/Multiple_domains,_pick_first 238s === RUN TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 238s === PAUSE TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 238s === RUN TestSSSD/Use_domain_from_section_if_no_ad_domain 238s === PAUSE TestSSSD/Use_domain_from_section_if_no_ad_domain 238s === RUN TestSSSD/Error_on_empty_domains_field 238s === PAUSE TestSSSD/Error_on_empty_domains_field 238s === CONT TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 238s === CONT TestSSSD/Error_on_sssd_domain_empty_section 238s === CONT TestSSSD/Error_on_empty_domains_field 238s === CONT TestSSSD/Use_domain_from_section_if_no_ad_domain 238s === CONT TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 238s === CONT TestSSSD/Multiple_domains,_pick_first 238s === CONT TestSSSD/Regular_config 238s === CONT TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 238s === CONT TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 238s === CONT TestSSSD/No_sssd_conf_loads_the_default 238s === CONT TestSSSD/Regular_config,_with_cache_dir 238s === CONT TestSSSD/Default_domain_suffix_is_read 238s === CONT TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 238s === CONT TestSSSD/Can_handle_special_DNS_domain_characters 238s === CONT TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 238s === CONT TestSSSD/Error_on_sssd_domain_section_missing 238s === CONT TestSSSD/Error_on_sssd_conf_does_not_exists 238s === CONT TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 238s === CONT TestSSSD/Ignore_upper_cases_in_domain_name 238s === CONT TestSSSD/SSSd_domain_can_not_match_ad_domain 238s === CONT TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 238s === CONT TestSSSD/Is_not_online 238s === CONT TestSSSD/Error_on_no_sssd_section 238s === CONT TestSSSD/Error_on_no_domains_field 238s --- PASS: TestSSSD (0.00s) 238s --- PASS: TestSSSD/Error_on_sssd_domain_empty_section (0.00s) 238s --- PASS: TestSSSD/Error_on_empty_domains_field (0.00s) 238s --- PASS: TestSSSD/No_sssd_conf_loads_the_default (0.00s) 238s --- PASS: TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server (0.00s) 238s --- PASS: TestSSSD/Ad_server_defined_in_config_does_not_need_active_server (0.00s) 238s --- PASS: TestSSSD/Use_domain_from_section_if_no_ad_domain (0.00s) 238s --- PASS: TestSSSD/Multiple_domains,_pick_first (0.00s) 238s --- PASS: TestSSSD/Regular_config,_with_cache_dir (0.00s) 238s --- PASS: TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter (0.00s) 238s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided (0.00s) 238s --- PASS: TestSSSD/Regular_config (0.01s) 238s --- PASS: TestSSSD/Error_on_sssd_conf_does_not_exists (0.00s) 238s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out (0.01s) 238s --- PASS: TestSSSD/Error_on_sssd_domain_section_missing (0.00s) 238s --- PASS: TestSSSD/Default_domain_suffix_is_read (0.01s) 238s --- PASS: TestSSSD/Error_on_no_sssd_section (0.00s) 238s --- PASS: TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server (0.01s) 238s --- PASS: TestSSSD/Error_on_no_domains_field (0.00s) 238s --- PASS: TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out (0.01s) 238s --- PASS: TestSSSD/Can_handle_special_DNS_domain_characters (0.01s) 238s --- PASS: TestSSSD/SSSd_domain_can_not_match_ad_domain (0.01s) 238s --- PASS: TestSSSD/Ignore_upper_cases_in_domain_name (0.01s) 238s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object (0.01s) 238s --- PASS: TestSSSD/Is_not_online (0.01s) 238s PASS 238s ok github.com/ubuntu/adsys/internal/ad/backends/sss 0.113s 238s === RUN TestWinbind 238s winbind_test.go:25: Running subprocess with [/tmp/go-build3886853779/b564/winbind.test -test.testlogfile=/tmp/go-build3886853779/b564/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestWinbind] 238s === RUN TestWinbind 238s === RUN TestWinbind/Lookup_is_successful 238s === RUN TestWinbind/Error_when_domain_is_offline 238s === RUN TestWinbind/Error_when_requesting_krb5cc 238s === RUN TestWinbind/Error_when_looking_up_DC_name 238s === RUN TestWinbind/Error_when_getting_online_status 238s === RUN TestWinbind/Lookup_with_different_hostname_is_successful 238s === RUN TestWinbind/Lookup_with_overridden_ad_domain 238s === RUN TestWinbind/Lookup_with_overridden_ad_server 238s === RUN TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix 238s === RUN TestWinbind/Error_when_looking_up_domain 238s --- PASS: TestWinbind (0.20s) 238s --- PASS: TestWinbind/Lookup_is_successful (0.05s) 238s --- PASS: TestWinbind/Error_when_domain_is_offline (0.03s) 238s --- PASS: TestWinbind/Error_when_requesting_krb5cc (0.02s) 238s --- PASS: TestWinbind/Error_when_looking_up_DC_name (0.01s) 238s --- PASS: TestWinbind/Error_when_getting_online_status (0.02s) 238s --- PASS: TestWinbind/Lookup_with_different_hostname_is_successful (0.01s) 238s --- PASS: TestWinbind/Lookup_with_overridden_ad_domain (0.01s) 238s --- PASS: TestWinbind/Lookup_with_overridden_ad_server (0.02s) 238s --- PASS: TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix (0.03s) 238s --- PASS: TestWinbind/Error_when_looking_up_domain (0.00s) 238s PASS 238s --- PASS: TestWinbind (0.45s) 238s === RUN TestExecuteKinitCommand 238s --- PASS: TestExecuteKinitCommand (0.00s) 238s PASS 238s ok github.com/ubuntu/adsys/internal/ad/backends/winbind 0.524s 238s === RUN TestGetVersionID 238s === PAUSE TestGetVersionID 238s === CONT TestGetVersionID 238s === RUN TestGetVersionID/Read_VERSION_ID 238s === PAUSE TestGetVersionID/Read_VERSION_ID 238s === RUN TestGetVersionID/No_VERSION_ID_in_file 238s === PAUSE TestGetVersionID/No_VERSION_ID_in_file 238s === RUN TestGetVersionID/No_os-release_file 238s === PAUSE TestGetVersionID/No_os-release_file 238s === CONT TestGetVersionID/Read_VERSION_ID 238s === CONT TestGetVersionID/No_os-release_file 238s === CONT TestGetVersionID/No_VERSION_ID_in_file 238s --- PASS: TestGetVersionID (0.00s) 238s --- PASS: TestGetVersionID/Read_VERSION_ID (0.00s) 238s --- PASS: TestGetVersionID/No_os-release_file (0.00s) 238s --- PASS: TestGetVersionID/No_VERSION_ID_in_file (0.00s) 238s PASS 238s ok github.com/ubuntu/adsys/internal/ad/common 0.011s 238s === RUN TestReadPolicy 238s === PAUSE TestReadPolicy 238s === RUN TestDecodePolicy 238s === PAUSE TestDecodePolicy 238s === CONT TestReadPolicy 238s === CONT TestDecodePolicy 238s === RUN TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 238s === PAUSE TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 238s === RUN TestDecodePolicy/key_is_not_utf16 238s === PAUSE TestDecodePolicy/key_is_not_utf16 238s === RUN TestDecodePolicy/one_element,_decimal_value 238s === PAUSE TestDecodePolicy/one_element,_decimal_value 238s === RUN TestDecodePolicy/one_element,_disabled 238s === PAUSE TestDecodePolicy/one_element,_disabled 238s === RUN TestDecodePolicy/basic_type_with_strategy 238s === PAUSE TestDecodePolicy/basic_type_with_strategy 238s === RUN TestDecodePolicy/empty_data 238s === PAUSE TestDecodePolicy/empty_data 238s === RUN TestDecodePolicy/invalid_header,_header_too_short 238s === PAUSE TestDecodePolicy/invalid_header,_header_too_short 238s === RUN TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 238s === PAUSE TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 238s === RUN TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 238s === PAUSE TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 238s === RUN TestDecodePolicy/disabled_container_with_disabled_option_values 238s === PAUSE TestDecodePolicy/disabled_container_with_disabled_option_values 238s === RUN TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 238s === PAUSE TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 238s === RUN TestDecodePolicy/empty_value 238s === PAUSE TestDecodePolicy/empty_value 238s === RUN TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 238s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 238s === RUN TestDecodePolicy/exotic_return_type 238s === PAUSE TestDecodePolicy/exotic_return_type 238s === RUN TestDecodePolicy/invalid_container_default_values 238s === PAUSE TestDecodePolicy/invalid_container_default_values 238s === RUN TestDecodePolicy/section_not_closed 238s === PAUSE TestDecodePolicy/section_not_closed 238s === RUN TestDecodePolicy/two_elements 238s === PAUSE TestDecodePolicy/two_elements 238s === RUN TestDecodePolicy/container_with_default_elements_override_empty_option_values 238s === PAUSE TestDecodePolicy/container_with_default_elements_override_empty_option_values 238s === RUN TestDecodePolicy/container_strategy_is_reflected_on_child 238s === PAUSE TestDecodePolicy/container_strategy_is_reflected_on_child 238s === RUN TestDecodePolicy/disabled_container_disables_its_option_values 238s === PAUSE TestDecodePolicy/disabled_container_disables_its_option_values 238s === RUN TestDecodePolicy/invalid_header,_header_doesnt_match 238s === PAUSE TestDecodePolicy/invalid_header,_header_doesnt_match 238s === RUN TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 238s === PAUSE TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 238s === RUN TestDecodePolicy/container_with_meta_elements_and_value_on_options 238s === PAUSE TestDecodePolicy/container_with_meta_elements_and_value_on_options 238s === RUN TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 238s === PAUSE TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 238s === RUN TestDecodePolicy/null_character_in_data 238s === PAUSE TestDecodePolicy/null_character_in_data 238s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 238s === RUN TestReadPolicy/semicolon_in_data 238s === PAUSE TestReadPolicy/semicolon_in_data 238s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 238s === RUN TestReadPolicy/value_is_not_utf16 238s === RUN TestDecodePolicy/semicolon_in_data 238s === PAUSE TestDecodePolicy/semicolon_in_data 238s === RUN TestDecodePolicy/invalid_header,_file_truncated 238s === PAUSE TestDecodePolicy/invalid_header,_file_truncated 238s === RUN TestDecodePolicy/no_header 238s === PAUSE TestDecodePolicy/no_header 238s === RUN TestDecodePolicy/one_element,_string_value 238s === PAUSE TestDecodePolicy/one_element,_string_value 238s === RUN TestDecodePolicy/basic_type,_enabled 238s === PAUSE TestDecodePolicy/basic_type,_enabled 238s === RUN TestDecodePolicy/container_without_metavalues 238s === PAUSE TestDecodePolicy/container_without_metavalues 238s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 238s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 238s === RUN TestDecodePolicy/invalid_decimal_value 238s === PAUSE TestReadPolicy/value_is_not_utf16 238s === PAUSE TestDecodePolicy/invalid_decimal_value 238s === RUN TestDecodePolicy/basic_type,_disabled 238s === PAUSE TestDecodePolicy/basic_type,_disabled 238s === RUN TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 238s === PAUSE TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 238s === RUN TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 238s === PAUSE TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 238s === RUN TestDecodePolicy/value_is_not_utf16 238s === PAUSE TestDecodePolicy/value_is_not_utf16 238s === RUN TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 238s === PAUSE TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 238s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 238s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 238s === RUN TestDecodePolicy/section_separators_in_data 238s === PAUSE TestDecodePolicy/section_separators_in_data 238s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 238s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 238s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 238s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 238s === RUN TestDecodePolicy/header_only 238s === PAUSE TestDecodePolicy/header_only 238s === RUN TestDecodePolicy/empty_file 238s === PAUSE TestDecodePolicy/empty_file 238s === RUN TestReadPolicy/invalid_header,_header_too_short 238s === PAUSE TestReadPolicy/invalid_header,_header_too_short 238s === RUN TestReadPolicy/missing_field 238s === RUN TestDecodePolicy/missing_field 238s === PAUSE TestDecodePolicy/missing_field 238s === PAUSE TestReadPolicy/missing_field 238s === RUN TestDecodePolicy/empty_key 238s === PAUSE TestDecodePolicy/empty_key 238s === RUN TestDecodePolicy/one_element,_multitext_value 238s === PAUSE TestDecodePolicy/one_element,_multitext_value 238s === RUN TestReadPolicy/key_is_not_utf16 238s === PAUSE TestReadPolicy/key_is_not_utf16 238s === RUN TestReadPolicy/two_elements 238s === PAUSE TestReadPolicy/two_elements 238s === RUN TestReadPolicy/exotic_return_type 238s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 238s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 238s === PAUSE TestReadPolicy/exotic_return_type 238s === RUN TestReadPolicy/header_only 238s === PAUSE TestReadPolicy/header_only 238s === RUN TestReadPolicy/invalid_header,_file_truncated 238s === PAUSE TestReadPolicy/invalid_header,_file_truncated 238s === RUN TestReadPolicy/empty_file 238s === PAUSE TestReadPolicy/empty_file 238s === RUN TestReadPolicy/section_not_closed 238s === PAUSE TestReadPolicy/section_not_closed 238s === RUN TestReadPolicy/one_element,_string_value 238s === CONT TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 238s === PAUSE TestReadPolicy/one_element,_string_value 238s === RUN TestReadPolicy/one_element,_decimal_value 238s === PAUSE TestReadPolicy/one_element,_decimal_value 238s === RUN TestReadPolicy/memory_on_multiple_elements_dont_overlap 238s === PAUSE TestReadPolicy/memory_on_multiple_elements_dont_overlap 238s === RUN TestReadPolicy/section_separators_in_data 238s === PAUSE TestReadPolicy/section_separators_in_data 238s === RUN TestReadPolicy/invalid_header,_header_doesnt_match 238s === PAUSE TestReadPolicy/invalid_header,_header_doesnt_match 238s === RUN TestReadPolicy/empty_value 238s === PAUSE TestReadPolicy/empty_value 238s === RUN TestReadPolicy/empty_key 238s === PAUSE TestReadPolicy/empty_key 238s === RUN TestReadPolicy/no_header 238s === PAUSE TestReadPolicy/no_header 238s === CONT TestReadPolicy/semicolon_in_data 238s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 238s === CONT TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 238s === CONT TestReadPolicy/memory_on_multiple_elements_dont_overlap 238s === CONT TestReadPolicy/no_header 238s === CONT TestReadPolicy/empty_key 238s === CONT TestReadPolicy/empty_value 238s === CONT TestReadPolicy/invalid_header,_header_doesnt_match 238s === CONT TestReadPolicy/section_separators_in_data 238s === CONT TestReadPolicy/one_element,_decimal_value 238s === CONT TestReadPolicy/one_element,_string_value 238s === CONT TestReadPolicy/section_not_closed 238s === CONT TestReadPolicy/empty_file 238s === CONT TestReadPolicy/invalid_header,_file_truncated 238s === CONT TestReadPolicy/header_only 238s === CONT TestReadPolicy/exotic_return_type 238s === CONT TestReadPolicy/key_is_not_utf16 238s === CONT TestReadPolicy/two_elements 238s === CONT TestReadPolicy/missing_field 238s === CONT TestReadPolicy/invalid_header,_header_too_short 238s === CONT TestReadPolicy/value_is_not_utf16 238s === CONT TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 238s === CONT TestDecodePolicy/empty_key 238s === CONT TestDecodePolicy/missing_field 238s === CONT TestDecodePolicy/one_element,_multitext_value 238s === CONT TestDecodePolicy/empty_file 238s --- PASS: TestReadPolicy (0.00s) 238s --- PASS: TestReadPolicy/semicolon_in_data (0.00s) 238s --- PASS: TestReadPolicy/empty_key (0.00s) 238s --- PASS: TestReadPolicy/invalid_header,_header_doesnt_match (0.00s) 238s --- PASS: TestReadPolicy/one_element,_string_value (0.00s) 238s --- PASS: TestReadPolicy/memory_on_multiple_elements_dont_overlap (0.00s) 238s --- PASS: TestReadPolicy/section_not_closed (0.00s) 238s --- PASS: TestReadPolicy/empty_file (0.00s) 238s --- PASS: TestReadPolicy/invalid_header,_file_truncated (0.00s) 238s --- PASS: TestReadPolicy/exotic_return_type (0.00s) 238s --- PASS: TestReadPolicy/header_only (0.00s) 238s --- PASS: TestReadPolicy/one_element,_decimal_value (0.00s) 238s --- PASS: TestReadPolicy/two_elements (0.00s) 238s --- PASS: TestReadPolicy/missing_field (0.00s) 238s --- PASS: TestReadPolicy/invalid_header,_header_too_short (0.00s) 238s --- PASS: TestReadPolicy/value_is_not_utf16 (0.00s) 238s --- PASS: TestReadPolicy/empty_value (0.00s) 238s --- PASS: TestReadPolicy/key_is_not_utf16 (0.00s) 238s --- PASS: TestReadPolicy/no_header (0.00s) 238s --- PASS: TestReadPolicy/section_separators_in_data (0.00s) 238s === CONT TestDecodePolicy/header_only 238s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 238s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 238s === CONT TestDecodePolicy/section_separators_in_data 238s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 238s === CONT TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 238s === CONT TestDecodePolicy/value_is_not_utf16 238s === CONT TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 238s === CONT TestDecodePolicy/container_with_meta_elements_and_value_on_options 238s === CONT TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 238s === CONT TestDecodePolicy/null_character_in_data 238s === CONT TestDecodePolicy/invalid_header,_header_doesnt_match 238s === CONT TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 238s === CONT TestDecodePolicy/container_strategy_is_reflected_on_child 238s === CONT TestDecodePolicy/basic_type,_disabled 238s === CONT TestDecodePolicy/disabled_container_disables_its_option_values 238s === CONT TestDecodePolicy/two_elements 238s === CONT TestDecodePolicy/container_with_default_elements_override_empty_option_values 238s === CONT TestDecodePolicy/section_not_closed 238s === CONT TestDecodePolicy/invalid_decimal_value 238s === CONT TestDecodePolicy/invalid_container_default_values 238s === CONT TestDecodePolicy/exotic_return_type 238s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 238s === CONT TestDecodePolicy/container_without_metavalues 238s === CONT TestDecodePolicy/basic_type,_enabled 238s === CONT TestDecodePolicy/one_element,_string_value 238s === CONT TestDecodePolicy/no_header 238s === CONT TestDecodePolicy/invalid_header,_file_truncated 238s === CONT TestDecodePolicy/semicolon_in_data 238s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 238s === CONT TestDecodePolicy/disabled_container_with_disabled_option_values 238s === CONT TestDecodePolicy/empty_value 238s === CONT TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 238s === CONT TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 238s === CONT TestDecodePolicy/one_element,_disabled 238s === CONT TestDecodePolicy/empty_data 238s === CONT TestDecodePolicy/basic_type_with_strategy 238s === CONT TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 238s === CONT TestDecodePolicy/one_element,_decimal_value 238s === CONT TestDecodePolicy/key_is_not_utf16 238s === CONT TestDecodePolicy/invalid_header,_header_too_short 238s --- PASS: TestDecodePolicy (0.00s) 238s --- PASS: TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type (0.00s) 238s --- PASS: TestDecodePolicy/empty_key (0.00s) 238s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values (0.00s) 238s --- PASS: TestDecodePolicy/header_only (0.00s) 238s --- PASS: TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker (0.00s) 238s --- PASS: TestDecodePolicy/section_separators_in_data (0.00s) 238s --- PASS: TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type (0.01s) 238s --- PASS: TestDecodePolicy/missing_field (0.00s) 238s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) (0.00s) 238s --- PASS: TestDecodePolicy/empty_file (0.00s) 238s --- PASS: TestDecodePolicy/one_element,_multitext_value (0.00s) 238s --- PASS: TestDecodePolicy/container_with_meta_elements_and_value_on_options (0.00s) 238s --- PASS: TestDecodePolicy/null_character_in_data (0.00s) 238s --- PASS: TestDecodePolicy/basic_type_with_default_value_has_value_filed_in (0.00s) 238s --- PASS: TestDecodePolicy/container_strategy_is_reflected_on_child (0.00s) 238s --- PASS: TestDecodePolicy/value_is_not_utf16 (0.00s) 238s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none (0.00s) 238s --- PASS: TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings (0.00s) 238s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none (0.01s) 238s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values (0.01s) 238s --- PASS: TestDecodePolicy/section_not_closed (0.00s) 238s --- PASS: TestDecodePolicy/invalid_container_default_values (0.00s) 238s --- PASS: TestDecodePolicy/exotic_return_type (0.00s) 238s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values (0.00s) 238s --- PASS: TestDecodePolicy/container_without_metavalues (0.00s) 238s --- PASS: TestDecodePolicy/basic_type,_enabled (0.00s) 238s --- PASS: TestDecodePolicy/one_element,_string_value (0.00s) 238s --- PASS: TestDecodePolicy/no_header (0.00s) 238s --- PASS: TestDecodePolicy/invalid_header,_file_truncated (0.00s) 238s --- PASS: TestDecodePolicy/semicolon_in_data (0.00s) 238s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined (0.00s) 238s --- PASS: TestDecodePolicy/disabled_container_with_disabled_option_values (0.00s) 238s --- PASS: TestDecodePolicy/empty_value (0.00s) 238s --- PASS: TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options (0.00s) 238s --- PASS: TestDecodePolicy/basic_type,_disabled (0.00s) 238s --- PASS: TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy (0.00s) 238s --- PASS: TestDecodePolicy/invalid_header,_header_doesnt_match (0.01s) 238s --- PASS: TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker (0.01s) 238s --- PASS: TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker (0.00s) 238s --- PASS: TestDecodePolicy/one_element,_decimal_value (0.00s) 238s --- PASS: TestDecodePolicy/key_is_not_utf16 (0.00s) 238s --- PASS: TestDecodePolicy/two_elements (0.01s) 238s --- PASS: TestDecodePolicy/container_with_default_elements_override_empty_option_values (0.01s) 238s --- PASS: TestDecodePolicy/invalid_decimal_value (0.01s) 238s --- PASS: TestDecodePolicy/disabled_container_disables_its_option_values (0.01s) 238s --- PASS: TestDecodePolicy/invalid_header,_header_too_short (0.00s) 238s --- PASS: TestDecodePolicy/basic_type_with_strategy (0.00s) 238s --- PASS: TestDecodePolicy/empty_data (0.00s) 238s --- PASS: TestDecodePolicy/one_element,_disabled (0.00s) 238s === RUN FuzzDecodePolicy 238s === RUN FuzzDecodePolicy/seed#0 238s === RUN FuzzDecodePolicy/seed#1 238s === RUN FuzzDecodePolicy/seed#2 238s === RUN FuzzDecodePolicy/seed#3 238s === RUN FuzzDecodePolicy/seed#4 238s === RUN FuzzDecodePolicy/seed#5 238s === RUN FuzzDecodePolicy/seed#6 238s === RUN FuzzDecodePolicy/seed#7 238s === RUN FuzzDecodePolicy/seed#8 238s === RUN FuzzDecodePolicy/seed#9 238s === RUN FuzzDecodePolicy/seed#10 238s === RUN FuzzDecodePolicy/seed#11 238s === RUN FuzzDecodePolicy/seed#12 238s === RUN FuzzDecodePolicy/seed#13 238s === RUN FuzzDecodePolicy/seed#14 238s === RUN FuzzDecodePolicy/seed#15 238s === RUN FuzzDecodePolicy/seed#16 238s === RUN FuzzDecodePolicy/seed#17 238s === RUN FuzzDecodePolicy/seed#18 238s === RUN FuzzDecodePolicy/seed#19 238s === RUN FuzzDecodePolicy/seed#20 238s === RUN FuzzDecodePolicy/seed#21 238s === RUN FuzzDecodePolicy/seed#22 238s === RUN FuzzDecodePolicy/seed#23 238s === RUN FuzzDecodePolicy/seed#24 238s === RUN FuzzDecodePolicy/seed#25 238s === RUN FuzzDecodePolicy/seed#26 238s === RUN FuzzDecodePolicy/seed#27 238s === RUN FuzzDecodePolicy/seed#28 238s === RUN FuzzDecodePolicy/seed#29 238s === RUN FuzzDecodePolicy/seed#30 238s === RUN FuzzDecodePolicy/seed#31 238s === RUN FuzzDecodePolicy/seed#32 238s === RUN FuzzDecodePolicy/seed#33 238s === RUN FuzzDecodePolicy/seed#34 238s === RUN FuzzDecodePolicy/seed#35 238s === RUN FuzzDecodePolicy/seed#36 238s === RUN FuzzDecodePolicy/seed#37 238s === RUN FuzzDecodePolicy/seed#38 238s === RUN FuzzDecodePolicy/seed#39 238s === RUN FuzzDecodePolicy/seed#40 238s === RUN FuzzDecodePolicy/seed#41 238s === RUN FuzzDecodePolicy/seed#42 238s === RUN FuzzDecodePolicy/seed#43 238s === RUN FuzzDecodePolicy/seed#44 238s === RUN FuzzDecodePolicy/seed#45 238s === RUN FuzzDecodePolicy/seed#46 238s === RUN FuzzDecodePolicy/seed#47 238s === RUN FuzzDecodePolicy/seed#48 238s === RUN FuzzDecodePolicy/seed#49 238s === RUN FuzzDecodePolicy/seed#50 238s === RUN FuzzDecodePolicy/seed#51 238s === RUN FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 238s --- PASS: FuzzDecodePolicy (0.02s) 238s --- PASS: FuzzDecodePolicy/seed#0 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#1 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#2 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#3 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#4 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#5 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#6 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#7 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#8 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#9 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#10 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#11 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#12 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#13 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#14 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#15 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#16 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#17 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#18 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#19 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#20 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#21 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#22 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#23 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#24 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#25 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#26 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#27 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#28 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#29 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#30 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#31 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#32 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#33 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#34 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#35 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#36 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#37 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#38 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#39 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#40 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#41 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#42 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#43 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#44 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#45 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#46 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#47 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#48 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#49 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#50 (0.00s) 238s --- PASS: FuzzDecodePolicy/seed#51 (0.00s) 238s --- PASS: FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 (0.00s) 238s PASS 238s ok github.com/ubuntu/adsys/internal/ad/registry 0.052s 238s === RUN TestNew 238s === PAUSE TestNew 238s === CONT TestNew 238s === RUN TestNew/Select_sssd_backend_explicitly 238s === PAUSE TestNew/Select_sssd_backend_explicitly 238s === RUN TestNew/Error_on_failure_to_create_run_directory 238s === PAUSE TestNew/Error_on_failure_to_create_run_directory 238s === RUN TestNew/Error_on_failure_to_create_cache_directory 238s === PAUSE TestNew/Error_on_failure_to_create_cache_directory 238s === RUN TestNew/Error_on_ad.New_prevents_adsysservice_creation 238s === PAUSE TestNew/Error_on_ad.New_prevents_adsysservice_creation 238s === RUN TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 238s === PAUSE TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 238s === RUN TestNew/Adsys_directory_can_already_exists 238s === PAUSE TestNew/Adsys_directory_can_already_exists 238s === RUN TestNew/Unknown_backend_defaults_to_sssd 238s === PAUSE TestNew/Unknown_backend_defaults_to_sssd 238s === RUN TestNew/Select_winbind_backend_explicitly 238s === PAUSE TestNew/Select_winbind_backend_explicitly 238s === RUN TestNew/Error_on_nonexistent_sssd.conf 238s === PAUSE TestNew/Error_on_nonexistent_sssd.conf 238s === CONT TestNew/Select_sssd_backend_explicitly 238s === CONT TestNew/Adsys_directory_can_already_exists 238s === CONT TestNew/Error_on_ad.New_prevents_adsysservice_creation 238s === CONT TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 238s === CONT TestNew/Select_winbind_backend_explicitly 238s === CONT TestNew/Error_on_failure_to_create_cache_directory 238s === CONT TestNew/Unknown_backend_defaults_to_sssd 238s === CONT TestNew/Error_on_failure_to_create_run_directory 238s time="2025-06-17T13:17:41Z" level=warning msg="Unknown configured backend \"unknown-backend\". Defaulting to sssd." 238s time="2025-06-17T13:17:41Z" level=warning msg="could not get online status for domain \"example.com\": status code 6" 238s === CONT TestNew/Error_on_nonexistent_sssd.conf 238s --- PASS: TestNew (0.00s) 238s --- PASS: TestNew/Error_on_failure_to_create_cache_directory (0.04s) 238s --- PASS: TestNew/Adsys_directory_can_already_exists (0.04s) 238s --- PASS: TestNew/Select_winbind_backend_explicitly (0.04s) 238s --- PASS: TestNew/Unknown_backend_defaults_to_sssd (0.06s) 238s --- PASS: TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run (0.06s) 238s --- PASS: TestNew/Error_on_failure_to_create_run_directory (0.06s) 238s --- PASS: TestNew/Error_on_ad.New_prevents_adsysservice_creation (0.07s) 238s --- PASS: TestNew/Select_sssd_backend_explicitly (0.07s) 238s --- PASS: TestNew/Error_on_nonexistent_sssd.conf (0.03s) 238s PASS 238s ok github.com/ubuntu/adsys/internal/adsysservice 0.232s 238s === RUN TestIsAllowed 238s === PAUSE TestIsAllowed 238s === RUN TestPeerCredsInfoAuthType 238s === PAUSE TestPeerCredsInfoAuthType 238s === RUN TestServerPeerCredsHandshake 238s === PAUSE TestServerPeerCredsHandshake 238s === RUN TestServerPeerCredsInvalidSocket 238s === PAUSE TestServerPeerCredsInvalidSocket 238s === RUN TestIsAllowedFromContext 238s === PAUSE TestIsAllowedFromContext 238s === RUN TestIsAllowedFromContextWithoutPeer 238s === PAUSE TestIsAllowedFromContextWithoutPeer 238s === RUN TestIsAllowedFromContextWithInvalidPeerCreds 238s === PAUSE TestIsAllowedFromContextWithInvalidPeerCreds 238s === RUN TestIsAllowedFromContextWithoutUserKey 238s === PAUSE TestIsAllowedFromContextWithoutUserKey 238s === CONT TestIsAllowed 238s === CONT TestIsAllowedFromContext 238s === CONT TestServerPeerCredsHandshake 238s === CONT TestServerPeerCredsInvalidSocket 238s --- PASS: TestServerPeerCredsInvalidSocket (0.00s) 238s === CONT TestPeerCredsInfoAuthType 238s --- PASS: TestPeerCredsInfoAuthType (0.00s) 238s === CONT TestIsAllowedFromContextWithInvalidPeerCreds 238s --- PASS: TestServerPeerCredsHandshake (0.00s) 238s === CONT TestIsAllowedFromContextWithoutUserKey 238s === CONT TestIsAllowedFromContextWithoutPeer 238s === RUN TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 238s === PAUSE TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 238s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 238s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 238s === RUN TestIsAllowed/Polkit_dbus_call_errors_out 238s === PAUSE TestIsAllowed/Polkit_dbus_call_errors_out 238s === RUN TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 238s === PAUSE TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 238s === RUN TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 238s === PAUSE TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 238s === RUN TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 238s === PAUSE TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 238s === RUN TestIsAllowed/Root_is_always_authorized 238s === PAUSE TestIsAllowed/Root_is_always_authorized 238s === RUN TestIsAllowed/Valid_process_and_ACK 238s === PAUSE TestIsAllowed/Valid_process_and_ACK 238s === RUN TestIsAllowed/Valid_process_and_NACK 238s === PAUSE TestIsAllowed/Valid_process_and_NACK 238s === RUN TestIsAllowed/Process_doesn't_exists 238s === PAUSE TestIsAllowed/Process_doesn't_exists 238s === RUN TestIsAllowed/Invalid_process_stat_file:_missing_) 238s === PAUSE TestIsAllowed/Invalid_process_stat_file:_missing_) 238s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 238s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 238s === CONT TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 238s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 238s === CONT TestIsAllowed/Root_is_always_authorized 238s === CONT TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 238s === CONT TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 238s === CONT TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 238s === CONT TestIsAllowed/Polkit_dbus_call_errors_out 238s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 238s === RUN TestIsAllowedFromContext/Root_is_always_authorized 238s === PAUSE TestIsAllowedFromContext/Root_is_always_authorized 238s === RUN TestIsAllowedFromContext/Valid_process_and_ACK 238s === PAUSE TestIsAllowedFromContext/Valid_process_and_ACK 238s === RUN TestIsAllowedFromContext/Valid_process_and_NACK 238s === PAUSE TestIsAllowedFromContext/Valid_process_and_NACK 238s === RUN TestIsAllowedFromContext/Extract_current_user_action_from_request 238s === PAUSE TestIsAllowedFromContext/Extract_current_user_action_from_request 238s === RUN TestIsAllowedFromContext/Extract_other_user_action_from_request 238s === PAUSE TestIsAllowedFromContext/Extract_other_user_action_from_request 238s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 238s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 238s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 238s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 238s === CONT TestIsAllowed/Invalid_process_stat_file:_missing_) 238s === CONT TestIsAllowed/Valid_process_and_NACK 238s === CONT TestIsAllowed/Process_doesn't_exists 238s === CONT TestIsAllowed/Valid_process_and_ACK 238s === CONT TestIsAllowedFromContext/Root_is_always_authorized 238s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 238s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 238s === CONT TestIsAllowedFromContext/Extract_other_user_action_from_request 238s === CONT TestIsAllowedFromContext/Extract_current_user_action_from_request 238s === CONT TestIsAllowedFromContext/Valid_process_and_NACK 238s === CONT TestIsAllowedFromContext/Valid_process_and_ACK 238s --- PASS: TestIsAllowedFromContextWithoutPeer (0.01s) 238s --- PASS: TestIsAllowedFromContextWithoutUserKey (0.01s) 238s --- PASS: TestIsAllowed (0.01s) 238s --- PASS: TestIsAllowed/Invalid_process_stat_file:_)_at_the_end (0.00s) 238s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int (0.00s) 238s --- PASS: TestIsAllowed/ActionAlwaysAllowed_is_always_allowed (0.00s) 238s --- PASS: TestIsAllowed/Polkit_dbus_call_errors_out (0.00s) 238s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_present (0.00s) 238s --- PASS: TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID (0.00s) 238s --- PASS: TestIsAllowed/Process_doesn't_exists (0.00s) 238s --- PASS: TestIsAllowed/Root_is_always_authorized (0.00s) 238s --- PASS: TestIsAllowed/Valid_process_and_ACK (0.00s) 238s --- PASS: TestIsAllowed/Valid_process_and_NACK (0.00s) 238s --- PASS: TestIsAllowed/Invalid_process_stat_file:_missing_) (0.00s) 238s --- PASS: TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID (0.01s) 238s --- PASS: TestIsAllowedFromContextWithInvalidPeerCreds (0.01s) 238s --- PASS: TestIsAllowedFromContext (0.01s) 238s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid (0.00s) 238s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error (0.00s) 238s --- PASS: TestIsAllowedFromContext/Extract_current_user_action_from_request (0.00s) 238s --- PASS: TestIsAllowedFromContext/Valid_process_and_NACK (0.00s) 238s --- PASS: TestIsAllowedFromContext/Valid_process_and_ACK (0.00s) 238s --- PASS: TestIsAllowedFromContext/Root_is_always_authorized (0.00s) 238s --- PASS: TestIsAllowedFromContext/Extract_other_user_action_from_request (0.00s) 238s PASS 238s ok github.com/ubuntu/adsys/internal/authorizer 0.081s 238s ? github.com/ubuntu/adsys/po [no test files] 238s ? github.com/ubuntu/adsys/policies [no test files] 239s === RUN TestSetVerboseMode 239s === RUN TestSetVerboseMode/Default_level_is_warning 239s === RUN TestSetVerboseMode/1_is_for_info 239s === RUN TestSetVerboseMode/2_is_for_debug 239s === RUN TestSetVerboseMode/3_is_debug_printing_callers 239s --- PASS: TestSetVerboseMode (0.00s) 239s --- PASS: TestSetVerboseMode/Default_level_is_warning (0.00s) 239s --- PASS: TestSetVerboseMode/1_is_for_info (0.00s) 239s --- PASS: TestSetVerboseMode/2_is_for_debug (0.00s) 239s --- PASS: TestSetVerboseMode/3_is_debug_printing_callers (0.00s) 239s === RUN TestInit 239s === RUN TestInit/Load_configuration,_no_file,_no_flag,_no_env 239s === RUN TestInit/No_config_flag_set_before_Init_is_call_is_ignored 239s === RUN TestInit/Configuration_file_overwritten 239s === RUN TestInit/Callback_in_error_on_refresh_only_prints_warning 239s time="2025-06-17T13:17:46Z" level=warning msg="Error while refreshing configuration: Error from callback" 239s === RUN TestInit/Flag_has_precedence_over_env 239s === RUN TestInit/Error_on_invalid_configuration_file 239s === RUN TestInit/Load_configuration_from_executable_dir 239s === RUN TestInit/Empty_configuration_file_is_supported 239s === RUN TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand 239s === RUN TestInit/Flag_is_supported 239s === RUN TestInit/Configuration_changed_directly 239s === RUN TestInit/Error_on_no_verbose_flag_set_before_Init_is_call 239s === RUN TestInit/Error_on_config_flag_points_to_unexisting_path 239s === RUN TestInit/Environment_is_supported 239s === RUN TestInit/Configuration_flag_has_precedence_over_local_file 239s === RUN TestInit/Error_on_callback_returning_error_on_first_call 239s === RUN TestInit/Load_configuration_with_file 239s === RUN TestInit/Configuration_flag,_not_in_config_dir 239s === RUN TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand 239s === RUN TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account 239s === RUN TestInit/Env_has_precedence_over_configuration 239s --- PASS: TestInit (11.35s) 239s --- PASS: TestInit/Load_configuration,_no_file,_no_flag,_no_env (0.40s) 239s --- PASS: TestInit/No_config_flag_set_before_Init_is_call_is_ignored (0.02s) 239s --- PASS: TestInit/Configuration_file_overwritten (2.10s) 239s --- PASS: TestInit/Callback_in_error_on_refresh_only_prints_warning (2.37s) 239s --- PASS: TestInit/Flag_has_precedence_over_env (0.06s) 239s --- PASS: TestInit/Error_on_invalid_configuration_file (0.03s) 239s --- PASS: TestInit/Load_configuration_from_executable_dir (0.03s) 239s --- PASS: TestInit/Empty_configuration_file_is_supported (0.02s) 239s --- PASS: TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand (0.04s) 239s --- PASS: TestInit/Flag_is_supported (0.01s) 239s --- PASS: TestInit/Configuration_changed_directly (2.07s) 239s --- PASS: TestInit/Error_on_no_verbose_flag_set_before_Init_is_call (0.01s) 239s --- PASS: TestInit/Error_on_config_flag_points_to_unexisting_path (0.01s) 239s --- PASS: TestInit/Environment_is_supported (0.01s) 239s --- PASS: TestInit/Configuration_flag_has_precedence_over_local_file (0.02s) 239s --- PASS: TestInit/Error_on_callback_returning_error_on_first_call (0.01s) 239s --- PASS: TestInit/Load_configuration_with_file (0.01s) 239s --- PASS: TestInit/Configuration_flag,_not_in_config_dir (0.01s) 239s --- PASS: TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand (0.01s) 239s --- PASS: TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account (4.09s) 239s --- PASS: TestInit/Env_has_precedence_over_configuration (0.00s) 239s === RUN TestLoadConfig 239s === PAUSE TestLoadConfig 239s === CONT TestLoadConfig 239s === RUN TestLoadConfig/Empty_configuration_is_supported 239s === PAUSE TestLoadConfig/Empty_configuration_is_supported 239s === RUN TestLoadConfig/Load_configuration_deserialize_its 239s === PAUSE TestLoadConfig/Load_configuration_deserialize_its 239s === CONT TestLoadConfig/Empty_configuration_is_supported 239s === CONT TestLoadConfig/Load_configuration_deserialize_its 239s --- PASS: TestLoadConfig (0.00s) 239s --- PASS: TestLoadConfig/Empty_configuration_is_supported (0.00s) 239s --- PASS: TestLoadConfig/Load_configuration_deserialize_its (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/config 11.403s 239s === RUN TestConfigFileFromArgs 239s === PAUSE TestConfigFileFromArgs 239s === RUN TestDirsFromConfigFile 239s === PAUSE TestDirsFromConfigFile 239s === RUN TestWriteConfig 239s === RUN TestWriteConfig/Error_on_absent_dirs 239s === RUN TestWriteConfig/Error_on_empty_dirs 239s === RUN TestWriteConfig/With_relative_config_path 239s === RUN TestWriteConfig/With_nested_config_path 239s --- PASS: TestWriteConfig (0.00s) 239s --- PASS: TestWriteConfig/Error_on_absent_dirs (0.00s) 239s --- PASS: TestWriteConfig/Error_on_empty_dirs (0.00s) 239s --- PASS: TestWriteConfig/With_relative_config_path (0.00s) 239s --- PASS: TestWriteConfig/With_nested_config_path (0.00s) 239s === CONT TestConfigFileFromArgs 239s === RUN TestConfigFileFromArgs/Short_config_argument_with_quotes 239s === PAUSE TestConfigFileFromArgs/Short_config_argument_with_quotes 239s === RUN TestConfigFileFromArgs/Error_on_empty_args 239s === PAUSE TestConfigFileFromArgs/Error_on_empty_args 239s === RUN TestConfigFileFromArgs/Error_on_no_config_argument 239s === PAUSE TestConfigFileFromArgs/Error_on_no_config_argument 239s === RUN TestConfigFileFromArgs/Error_on_config_argument_with_no_value 239s === PAUSE TestConfigFileFromArgs/Error_on_config_argument_with_no_value 239s === RUN TestConfigFileFromArgs/Short_config_argument 239s === PAUSE TestConfigFileFromArgs/Short_config_argument 239s === CONT TestConfigFileFromArgs/Short_config_argument_with_quotes 239s === CONT TestDirsFromConfigFile 239s === RUN TestDirsFromConfigFile/No_config_file 239s === PAUSE TestDirsFromConfigFile/No_config_file 239s === RUN TestDirsFromConfigFile/Empty_config_file 239s === PAUSE TestDirsFromConfigFile/Empty_config_file 239s === RUN TestDirsFromConfigFile/No_dirs_in_config_file 239s === PAUSE TestDirsFromConfigFile/No_dirs_in_config_file 239s === RUN TestDirsFromConfigFile/Config_dirs_is_not_an_array 239s === PAUSE TestDirsFromConfigFile/Config_dirs_is_not_an_array 239s === RUN TestDirsFromConfigFile/Config_dirs_is_an_array 239s === PAUSE TestDirsFromConfigFile/Config_dirs_is_an_array 239s === CONT TestDirsFromConfigFile/No_config_file 239s === CONT TestConfigFileFromArgs/Short_config_argument 239s === CONT TestConfigFileFromArgs/Error_on_config_argument_with_no_value 239s === CONT TestConfigFileFromArgs/Error_on_no_config_argument 239s === CONT TestConfigFileFromArgs/Error_on_empty_args 239s --- PASS: TestConfigFileFromArgs (0.00s) 239s --- PASS: TestConfigFileFromArgs/Short_config_argument_with_quotes (0.00s) 239s --- PASS: TestConfigFileFromArgs/Short_config_argument (0.00s) 239s --- PASS: TestConfigFileFromArgs/Error_on_config_argument_with_no_value (0.00s) 239s --- PASS: TestConfigFileFromArgs/Error_on_no_config_argument (0.00s) 239s --- PASS: TestConfigFileFromArgs/Error_on_empty_args (0.00s) 239s === CONT TestDirsFromConfigFile/Config_dirs_is_an_array 239s === CONT TestDirsFromConfigFile/No_dirs_in_config_file 239s === CONT TestDirsFromConfigFile/Config_dirs_is_not_an_array 239s === CONT TestDirsFromConfigFile/Empty_config_file 239s --- PASS: TestDirsFromConfigFile (0.00s) 239s --- PASS: TestDirsFromConfigFile/No_config_file (0.00s) 239s --- PASS: TestDirsFromConfigFile/Config_dirs_is_an_array (0.00s) 239s --- PASS: TestDirsFromConfigFile/Config_dirs_is_not_an_array (0.00s) 239s --- PASS: TestDirsFromConfigFile/No_dirs_in_config_file (0.00s) 239s --- PASS: TestDirsFromConfigFile/Empty_config_file (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/config/watchd 0.044s 239s === RUN TestStartStop 239s === PAUSE TestStartStop 239s === RUN TestStopBeforeServe 239s === PAUSE TestStopBeforeServe 239s === RUN TestChangeSocket 239s === PAUSE TestChangeSocket 239s === RUN TestSocketActivation 239s === PAUSE TestSocketActivation 239s === RUN TestUseSocketIgnoredWithSocketActivation 239s === PAUSE TestUseSocketIgnoredWithSocketActivation 239s === RUN TestSdNotifier 239s === PAUSE TestSdNotifier 239s === RUN TestFailingOption 239s === PAUSE TestFailingOption 239s === RUN TestCannotCreateSocket 239s === PAUSE TestCannotCreateSocket 239s === RUN TestServerStartListenTimeout 239s === PAUSE TestServerStartListenTimeout 239s === RUN TestServerDontTimeoutWithActiveRequest 239s === PAUSE TestServerDontTimeoutWithActiveRequest 239s === RUN TestServerDontTimeoutWithMultipleActiveRequests 239s === PAUSE TestServerDontTimeoutWithMultipleActiveRequests 239s === RUN TestServerChangeTimeout 239s === PAUSE TestServerChangeTimeout 239s === RUN TestServerDoubleQuit 239s === PAUSE TestServerDoubleQuit 239s === CONT TestStartStop 239s === CONT TestCannotCreateSocket 239s === CONT TestServerDoubleQuit 239s === CONT TestServerChangeTimeout 239s === CONT TestUseSocketIgnoredWithSocketActivation 239s === CONT TestServerDontTimeoutWithMultipleActiveRequests 239s === CONT TestServerDontTimeoutWithActiveRequest 239s === CONT TestServerStartListenTimeout 239s --- PASS: TestCannotCreateSocket (0.00s) 239s === CONT TestChangeSocket 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestServerStartListenTimeout1004984595/001/test.sock" 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithMultipleActiveRequests4258025688/001/test.sock" 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestServerChangeTimeout1247447393/001/test.sock" 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestUseSocketIgnoredWithSocketActivation1702242563/001/socket" 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestStartStop589437323/001/test.sock" 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestServerDoubleQuit1177425394/001/test.sock" 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithActiveRequest922455451/001/test.sock" 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestChangeSocket361993317/001/test.sock" 239s time="2025-06-17T13:17:42Z" level=info msg="Stopping daemon requested." 239s time="2025-06-17T13:17:42Z" level=info msg="Stopping daemon requested." 239s time="2025-06-17T13:17:42Z" level=info msg="Wait for active requests to close." 239s --- PASS: TestServerStartListenTimeout (0.01s) 239s === CONT TestSocketActivation 239s === RUN TestSocketActivation/Error_when_Listeners()_fails 239s === PAUSE TestSocketActivation/Error_when_Listeners()_fails 239s === RUN TestSocketActivation/Success_with_one_socket 239s === PAUSE TestSocketActivation/Success_with_one_socket 239s === RUN TestSocketActivation/Error_when_provided_with_many_sockets 239s === PAUSE TestSocketActivation/Error_when_provided_with_many_sockets 239s === CONT TestStopBeforeServe 239s --- PASS: TestStartStop (0.01s) 239s === CONT TestFailingOption 239s --- PASS: TestFailingOption (0.00s) 239s === CONT TestSdNotifier 239s === RUN TestSdNotifier/Sends_signal 239s === PAUSE TestSdNotifier/Sends_signal 239s === RUN TestSdNotifier/Doesn't_fail_when_not_under_systemd 239s === PAUSE TestSdNotifier/Doesn't_fail_when_not_under_systemd 239s === RUN TestSdNotifier/Error_when_notifier_fails 239s === PAUSE TestSdNotifier/Error_when_notifier_fails 239s === CONT TestSocketActivation/Error_when_Listeners()_fails 239s time="2025-06-17T13:17:42Z" level=info msg="Stopping daemon requested." 239s time="2025-06-17T13:17:42Z" level=info msg="Wait for active requests to close." 239s --- PASS: TestStopBeforeServe (0.00s) 239s time="2025-06-17T13:17:42Z" level=info msg="Stopping daemon requested." 239s === CONT TestSocketActivation/Success_with_one_socket 239s time="2025-06-17T13:17:42Z" level=info msg="Wait for active requests to close." 239s --- PASS: TestServerDoubleQuit (0.02s) 239s === CONT TestSdNotifier/Sends_signal 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestSocketActivationSuccess_with_one_socket1847771943/001/sock1" 239s === CONT TestSocketActivation/Error_when_provided_with_many_sockets 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestSdNotifierSends_signal3740069018/001/socket" 239s time="2025-06-17T13:17:42Z" level=info msg="Stopping daemon requested." 239s time="2025-06-17T13:17:42Z" level=info msg="Wait for active requests to close." 239s === CONT TestSdNotifier/Error_when_notifier_fails 239s time="2025-06-17T13:17:42Z" level=info msg="Serving on /tmp/TestChangeSocket361993317/001/test2.sock" 239s === CONT TestSdNotifier/Doesn't_fail_when_not_under_systemd 239s time="2025-06-17T13:17:43Z" level=info msg="Serving on /tmp/TestSdNotifierDoesnt_fail_when_not_under_systemd3544410062/001/socket" 239s time="2025-06-17T13:17:43Z" level=info msg="Stopping daemon requested." 239s time="2025-06-17T13:17:43Z" level=info msg="Wait for active requests to close." 239s --- PASS: TestUseSocketIgnoredWithSocketActivation (0.02s) 239s time="2025-06-17T13:17:43Z" level=info msg="Stopping daemon requested." 239s time="2025-06-17T13:17:43Z" level=info msg="Wait for active requests to close." 239s time="2025-06-17T13:17:43Z" level=info msg="Stopping daemon requested." 239s --- PASS: TestSocketActivation (0.00s) 239s --- PASS: TestSocketActivation/Error_when_Listeners()_fails (0.00s) 239s --- PASS: TestSocketActivation/Error_when_provided_with_many_sockets (0.00s) 239s --- PASS: TestSocketActivation/Success_with_one_socket (0.01s) 239s time="2025-06-17T13:17:43Z" level=info msg="Wait for active requests to close." 239s time="2025-06-17T13:17:43Z" level=info msg="Stopping daemon requested." 239s time="2025-06-17T13:17:43Z" level=info msg="Stopping daemon requested." 239s time="2025-06-17T13:17:43Z" level=info msg="Stopping daemon requested." 239s time="2025-06-17T13:17:43Z" level=info msg="Wait for active requests to close." 239s time="2025-06-17T13:17:43Z" level=info msg="Wait for active requests to close." 239s time="2025-06-17T13:17:43Z" level=info msg="Wait for active requests to close." 239s --- PASS: TestChangeSocket (0.03s) 239s --- PASS: TestSdNotifier (0.00s) 239s --- PASS: TestSdNotifier/Error_when_notifier_fails (0.00s) 239s --- PASS: TestSdNotifier/Sends_signal (0.01s) 239s --- PASS: TestSdNotifier/Doesn't_fail_when_not_under_systemd (0.01s) 239s time="2025-06-17T13:17:43Z" level=info msg="Stopping daemon requested." 239s --- PASS: TestServerChangeTimeout (0.06s) 239s time="2025-06-17T13:17:43Z" level=info msg="Stopping daemon requested." 239s --- PASS: TestServerDontTimeoutWithMultipleActiveRequests (0.12s) 239s time="2025-06-17T13:17:43Z" level=info msg="Stopping daemon requested." 239s --- PASS: TestServerDontTimeoutWithActiveRequest (0.12s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/daemon 0.170s 239s === RUN TestCleanDirectory 239s === PAUSE TestCleanDirectory 239s === RUN TestCleanDirectoryNoDirectoryExists 239s === PAUSE TestCleanDirectoryNoDirectoryExists 239s === RUN TestCleanDirectoryCantRemoveDirectory 239s === PAUSE TestCleanDirectoryCantRemoveDirectory 239s === RUN TestInstallOnlyMode 239s --- PASS: TestInstallOnlyMode (0.00s) 239s === RUN TestDestDirectory 239s --- PASS: TestDestDirectory (0.00s) 239s === CONT TestCleanDirectory 239s === CONT TestCleanDirectoryCantRemoveDirectory 239s === CONT TestCleanDirectoryNoDirectoryExists 239s --- PASS: TestCleanDirectoryCantRemoveDirectory (0.00s) 239s --- PASS: TestCleanDirectoryNoDirectoryExists (0.00s) 239s --- PASS: TestCleanDirectory (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/generators 0.036s 239s === RUN TestNoNotification 239s === PAUSE TestNoNotification 239s === RUN TestNewConnectionNotification 239s === PAUSE TestNewConnectionNotification 239s === RUN TestDoneConnectionNotification 239s === PAUSE TestDoneConnectionNotification 239s === RUN TestErrorFromHandlerReturned 239s === PAUSE TestErrorFromHandlerReturned 239s === RUN TestErrorOnNilStream 239s === PAUSE TestErrorOnNilStream 239s === CONT TestNoNotification 239s === CONT TestErrorFromHandlerReturned 239s === CONT TestErrorOnNilStream 239s === CONT TestNewConnectionNotification 239s --- PASS: TestErrorFromHandlerReturned (0.00s) 239s === CONT TestDoneConnectionNotification 239s --- PASS: TestErrorOnNilStream (0.00s) 239s --- PASS: TestNewConnectionNotification (0.00s) 239s --- PASS: TestDoneConnectionNotification (0.00s) 239s --- PASS: TestNoNotification (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/grpc/connectionnotify 0.043s 239s === RUN TestActiveConnection 239s === PAUSE TestActiveConnection 239s === RUN TestTimeoutOnInactiveConnection 239s === PAUSE TestTimeoutOnInactiveConnection 239s === RUN TestCancelOnClientSide 239s === PAUSE TestCancelOnClientSide 239s === RUN TestClientInterceptorFailed 239s === PAUSE TestClientInterceptorFailed 239s === RUN TestRecvMessageError 239s === PAUSE TestRecvMessageError 239s === CONT TestActiveConnection 239s === CONT TestRecvMessageError 239s === CONT TestClientInterceptorFailed 239s === CONT TestCancelOnClientSide 239s --- PASS: TestRecvMessageError (0.00s) 239s --- PASS: TestClientInterceptorFailed (0.00s) 239s --- PASS: TestCancelOnClientSide (0.00s) 239s === CONT TestTimeoutOnInactiveConnection 239s --- PASS: TestTimeoutOnInactiveConnection (0.05s) 239s --- PASS: TestActiveConnection (0.15s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/grpc/contextidler 0.198s 239s === RUN TestFormat 239s === PAUSE TestFormat 239s === CONT TestFormat 239s === RUN TestFormat/Nil_returns_nil 239s === PAUSE TestFormat/Nil_returns_nil 239s === RUN TestFormat/Non_GRPC_errors_are_returned_as_is 239s === PAUSE TestFormat/Non_GRPC_errors_are_returned_as_is 239s === RUN TestFormat/GRPC_Unavailable_errors_prints_daemon_name 239s === PAUSE TestFormat/GRPC_Unavailable_errors_prints_daemon_name 239s === RUN TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 239s === PAUSE TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 239s === RUN TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 239s === PAUSE TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 239s === RUN TestFormat/GRPC_Random_errors_prints_status_and_message 239s === PAUSE TestFormat/GRPC_Random_errors_prints_status_and_message 239s === CONT TestFormat/Nil_returns_nil 239s === CONT TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 239s === CONT TestFormat/GRPC_Random_errors_prints_status_and_message 239s === CONT TestFormat/GRPC_Unavailable_errors_prints_daemon_name 239s === CONT TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 239s === CONT TestFormat/Non_GRPC_errors_are_returned_as_is 239s --- PASS: TestFormat (0.00s) 239s --- PASS: TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message (0.00s) 239s --- PASS: TestFormat/GRPC_Random_errors_prints_status_and_message (0.00s) 239s --- PASS: TestFormat/GRPC_Unavailable_errors_prints_daemon_name (0.00s) 239s --- PASS: TestFormat/Non_GRPC_errors_are_returned_as_is (0.00s) 239s --- PASS: TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon (0.00s) 239s --- PASS: TestFormat/Nil_returns_nil (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/grpc/grpcerror 0.040s 239s === RUN TestStreamServer 239s === PAUSE TestStreamServer 239s === RUN TestStreamClient 239s === PAUSE TestStreamClient 239s === CONT TestStreamServer 239s --- PASS: TestStreamServer (0.00s) 239s === CONT TestStreamClient 239s --- PASS: TestStreamClient (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/grpc/interceptorschain 0.035s 239s === RUN TestChildRecvMsgAndHandlerCalled 239s === PAUSE TestChildRecvMsgAndHandlerCalled 239s === CONT TestChildRecvMsgAndHandlerCalled 239s === RUN TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 239s === PAUSE TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 239s === RUN TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 239s === PAUSE TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 239s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 239s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 239s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 239s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 239s === CONT TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 239s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 239s === CONT TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 239s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 239s time="2025-06-17T13:17:44Z" level=info msg="Error sent to client: Failing handler" 239s --- PASS: TestChildRecvMsgAndHandlerCalled (0.00s) 239s --- PASS: TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called (0.00s) 239s --- PASS: TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact (0.00s) 239s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out (0.00s) 239s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/grpc/logconnections 0.032s 239s === RUN TestRecvLogMsg 239s === PAUSE TestRecvLogMsg 239s === RUN TestAddStreamToForwardLocalLogs 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:745901]]" 239s time="2025-06-17T13:17:44Z" level=warning msg=something 239s --- PASS: TestAddStreamToForwardLocalLogs (0.00s) 239s === RUN TestAddStreamToForwardOtherStream 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:704126]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:341447]]" 239s --- PASS: TestAddStreamToForwardOtherStream (0.00s) 239s === RUN TestAddStreamToForwardAfterClientIsConnected 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:634568]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:060552]]" 239s --- PASS: TestAddStreamToForwardAfterClientIsConnected (0.00s) 239s === RUN TestAddStreamToForwardDisconnect 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:337276]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:078765]]" 239s --- PASS: TestAddStreamToForwardDisconnect (0.00s) 239s === RUN TestAddStreamToForwardTwoClients 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:948168]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:455708]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:100388]]" 239s --- PASS: TestAddStreamToForwardTwoClients (0.00s) 239s === RUN TestAddStreamToForwardWithListenerCaller 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:894288]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:780450]]" 239s --- PASS: TestAddStreamToForwardWithListenerCaller (0.00s) 239s === RUN TestAddStreamMultipleForwarders 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:655074]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:961969]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:592104]]" 239s --- PASS: TestAddStreamMultipleForwarders (0.00s) 239s === RUN TestAddStreamMultipleForwardersOneWithCaller 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:892066]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:943042]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:227189]]" 239s --- PASS: TestAddStreamMultipleForwardersOneWithCaller (0.00s) 239s === RUN TestAddStreamToForwardFailSend 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:184232]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:196471]]" 239s time="2025-06-17T13:17:44Z" level=warning msg="Couldn't send log to one or more listener: SendMsg failed" 239s --- PASS: TestAddStreamToForwardFailSend (0.00s) 239s === RUN TestRemoveAllStreams 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:253307]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:103566]]" 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:473342]]" 239s time="2025-06-17T13:17:44Z" level=warning msg="[[123456:473342]] else" 239s --- PASS: TestRemoveAllStreams (0.00s) 239s === RUN TestLogWarningOnly 239s === PAUSE TestLogWarningOnly 239s === RUN TestMultipleLogs 239s === PAUSE TestMultipleLogs 239s === RUN TestAllLogLevels 239s === PAUSE TestAllLogLevels 239s === RUN TestDebugSentToRemoteEvenIfLocalIsWarning 239s === PAUSE TestDebugSentToRemoteEvenIfLocalIsWarning 239s === RUN TestLogWarningWithLocalCaller 239s === PAUSE TestLogWarningWithLocalCaller 239s === RUN TestLogWarningWithRemoteCaller 239s === PAUSE TestLogWarningWithRemoteCaller 239s === RUN TestLogWithNoCaller 239s === PAUSE TestLogWithNoCaller 239s === RUN TestSetReportCaller 239s === RUN TestSetReportCaller/Disable_caller 239s === RUN TestSetReportCaller/Report_caller 239s --- PASS: TestSetReportCaller (0.00s) 239s --- PASS: TestSetReportCaller/Disable_caller (0.00s) 239s --- PASS: TestSetReportCaller/Report_caller (0.00s) 239s === RUN TestLogSendingFail 239s === PAUSE TestLogSendingFail 239s === RUN TestLogStreamsAreSeparated 239s === PAUSE TestLogStreamsAreSeparated 239s === RUN TestLogAddHook 239s time="2025-06-17T13:17:44Z" level=info 239s --- PASS: TestLogAddHook (0.00s) 239s === RUN TestStreamServerInterceptor 239s === PAUSE TestStreamServerInterceptor 239s === RUN TestStreamServerInterceptorSendLogsFails 239s === PAUSE TestStreamServerInterceptorSendLogsFails 239s === RUN TestStreamServerInterceptorLoggerInvalidMetadata 239s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata 239s === CONT TestRecvLogMsg 239s === RUN TestRecvLogMsg/One_message,_no_log 239s === PAUSE TestRecvLogMsg/One_message,_no_log 239s === RUN TestRecvLogMsg/One_log_(and_one_closing_empty_message) 239s === PAUSE TestRecvLogMsg/One_log_(and_one_closing_empty_message) 239s === RUN TestRecvLogMsg/Two_logs_with_different_debug_level 239s === PAUSE TestRecvLogMsg/Two_logs_with_different_debug_level 239s === RUN TestRecvLogMsg/No_caller_on_any_logs 239s === PAUSE TestRecvLogMsg/No_caller_on_any_logs 239s === RUN TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 239s === PAUSE TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 239s === RUN TestRecvLogMsg/Log_with_caller 239s === CONT TestLogWithNoCaller 239s === PAUSE TestRecvLogMsg/Log_with_caller 239s === RUN TestRecvLogMsg/No_caller_when_not_requested 239s === PAUSE TestRecvLogMsg/No_caller_when_not_requested 239s === CONT TestLogWarningWithRemoteCaller 239s Failed to fire hook: hook fired 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:898934]]" 239s --- PASS: TestLogWithNoCaller (0.00s) 239s === CONT TestLogWarningWithLocalCaller 239s Failed to fire hook: hook fired 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:200648]]" 239s === CONT TestAllLogLevels 239s Failed to fire hook: hook fired 239s --- PASS: TestLogWarningWithRemoteCaller (0.00s) 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:855830]]" 239s === CONT TestLogStreamsAreSeparated 239s Failed to fire hook: hook fired 239s === CONT TestMultipleLogs 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:568249]]" 239s --- PASS: TestLogWarningWithLocalCaller (0.00s) 239s === CONT TestLogSendingFail 239s === CONT TestLogWarningOnly 239s === RUN TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 239s === PAUSE TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 239s === CONT TestDebugSentToRemoteEvenIfLocalIsWarning 239s === RUN TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 239s === PAUSE TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 239s === CONT TestStreamServerInterceptorLoggerInvalidMetadata 239s === RUN TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 239s === PAUSE TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 239s --- PASS: TestAllLogLevels (0.00s) 239s === CONT TestStreamServerInterceptorSendLogsFails 239s === CONT TestStreamServerInterceptor 239s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 239s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 239s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 239s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 239s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 239s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 239s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 239s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 239s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 239s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 239s === CONT TestRecvLogMsg/One_message,_no_log 239s Failed to fire hook: hook fired 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:959910]]" 239s Failed to fire hook: hook fired 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:588821]]" 239s --- PASS: TestLogStreamsAreSeparated (0.00s) 239s === CONT TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 239s Failed to fire hook: hook fired 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:967071]]" 239s time="2025-06-17T13:17:44Z" level=warning msg="[[123456:853721]] Couldn't send initial connection log to client" 239s Failed to fire hook: hook fired 239s --- PASS: TestMultipleLogs (0.00s) 239s === CONT TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:552865]]" 239s Failed to fire hook: hook fired 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:043063]]" 239s Failed to fire hook: hook fired 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:827179]]" 239s --- PASS: TestDebugSentToRemoteEvenIfLocalIsWarning (0.00s) 239s === CONT TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 239s --- PASS: TestLogSendingFail (0.00s) 239s === CONT TestRecvLogMsg/No_caller_when_not_requested 239s Failed to fire hook: hook fired 239s === CONT TestRecvLogMsg/Log_with_caller 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:329520]]" 239s --- PASS: TestStreamServerInterceptor (0.00s) 239s === CONT TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 239s === CONT TestRecvLogMsg/No_caller_on_any_logs 239s --- PASS: TestLogWarningOnly (0.00s) 239s Failed to fire hook: hook fired 239s time="2025-06-17T13:17:44Z" level=info msg="New connection from client [[123456:853721]]" 239s --- PASS: TestStreamServerInterceptorSendLogsFails (0.00s) 239s === CONT TestRecvLogMsg/Two_logs_with_different_debug_level 239s === CONT TestRecvLogMsg/One_log_(and_one_closing_empty_message) 239s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 239s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 239s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 239s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 239s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 239s --- PASS: TestRecvLogMsg (0.00s) 239s --- PASS: TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved (0.00s) 239s --- PASS: TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped (0.00s) 239s --- PASS: TestRecvLogMsg/One_message,_no_log (0.00s) 239s --- PASS: TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) (0.00s) 239s --- PASS: TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved (0.00s) 239s --- PASS: TestRecvLogMsg/No_caller_on_any_logs (0.00s) 239s --- PASS: TestRecvLogMsg/Log_with_caller (0.00s) 239s --- PASS: TestRecvLogMsg/No_caller_when_not_requested (0.00s) 239s --- PASS: TestRecvLogMsg/Two_logs_with_different_debug_level (0.00s) 239s --- PASS: TestRecvLogMsg/One_log_(and_one_closing_empty_message) (0.00s) 239s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata (0.00s) 239s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key (0.00s) 239s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID (0.00s) 239s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean (0.00s) 239s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent (0.00s) 239s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/grpc/logstreamer 0.045s 239s === RUN TestEventLogHook 239s === RUN TestEventLogHook/error_level 239s time="2025-06-17T13:17:44Z" level=error msg="Error msg" 239s === RUN TestEventLogHook/warn_level 239s time="2025-06-17T13:17:44Z" level=warning msg="Warning msg" 239s time="2025-06-17T13:17:44Z" level=error msg="Error msg" 239s === RUN TestEventLogHook/info_level 239s time="2025-06-17T13:17:44Z" level=info msg="Info msg" 239s time="2025-06-17T13:17:44Z" level=warning msg="Warning msg" 239s time="2025-06-17T13:17:44Z" level=error msg="Error msg" 239s === RUN TestEventLogHook/debug_level 239s time="2025-06-17T13:17:44Z" level=debug msg="Debug msg" 239s time="2025-06-17T13:17:44Z" level=info msg="Info msg" 239s time="2025-06-17T13:17:44Z" level=warning msg="Warning msg" 239s time="2025-06-17T13:17:44Z" level=error msg="Error msg" 239s --- PASS: TestEventLogHook (0.00s) 239s --- PASS: TestEventLogHook/error_level (0.00s) 239s --- PASS: TestEventLogHook/warn_level (0.00s) 239s --- PASS: TestEventLogHook/info_level (0.00s) 239s --- PASS: TestEventLogHook/debug_level (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/loghooks 0.016s 239s === RUN TestFormat 239s === PAUSE TestFormat 239s === RUN TestApplyPolicies 239s === RUN TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended 239s time="2025-06-17T13:17:45Z" level=info msg="Unloading policies for hostname (machine: true)" 239s time="2025-06-17T13:17:45Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_rules_dont_remove_scripts_if_session_hasnt_ended3825942326/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 239s === RUN TestApplyPolicies/Succeed 239s === RUN TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content 239s time="2025-06-17T13:17:45Z" level=info msg="Applying policies for hostname (machine: true)" 239s time="2025-06-17T13:17:45Z" 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" 239s === RUN TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended 239s time="2025-06-17T13:17:45Z" level=info msg="Applying policies for hostname (machine: true)" 239s time="2025-06-17T13:17:45Z" 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" 239s time="2025-06-17T13:17:45Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_subscription_dont_remove_scripts_if_session_hasnt_ended946614948/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 239s === RUN TestApplyPolicies/Error_when_applying_dconf_policy 239s === RUN TestApplyPolicies/Error_when_applying_mount_policy 239s === RUN TestApplyPolicies/Error_when_applying_certificate_policy 239s === RUN TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error 239s === RUN TestApplyPolicies/No_subscription_is_only_dconf_content 239s === RUN TestApplyPolicies/Second_call_with_no_rules_deletes_everything 239s time="2025-06-17T13:17:46Z" level=info msg="Unloading policies for hostname (machine: true)" 239s === RUN TestApplyPolicies/Error_when_applying_privilege_policy 239s === RUN TestApplyPolicies/Error_when_applying_scripts_policy 239s === RUN TestApplyPolicies/Error_when_applying_apparmor_policy 239s === RUN TestApplyPolicies/Error_when_applying_proxy_policy 239s --- PASS: TestApplyPolicies (1.37s) 239s --- PASS: TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended (0.26s) 239s --- PASS: TestApplyPolicies/Succeed (0.13s) 239s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content (0.06s) 239s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended (0.05s) 239s --- PASS: TestApplyPolicies/Error_when_applying_dconf_policy (0.01s) 239s --- PASS: TestApplyPolicies/Error_when_applying_mount_policy (0.03s) 239s --- PASS: TestApplyPolicies/Error_when_applying_certificate_policy (0.01s) 239s --- PASS: TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error (0.12s) 239s --- PASS: TestApplyPolicies/No_subscription_is_only_dconf_content (0.13s) 239s --- PASS: TestApplyPolicies/Second_call_with_no_rules_deletes_everything (0.40s) 239s --- PASS: TestApplyPolicies/Error_when_applying_privilege_policy (0.08s) 239s --- PASS: TestApplyPolicies/Error_when_applying_scripts_policy (0.03s) 239s --- PASS: TestApplyPolicies/Error_when_applying_apparmor_policy (0.02s) 239s --- PASS: TestApplyPolicies/Error_when_applying_proxy_policy (0.04s) 239s === RUN TestDumpPolicies 239s === PAUSE TestDumpPolicies 239s === RUN TestLastUpdateFor 239s === PAUSE TestLastUpdateFor 239s === RUN TestGetSubscriptionState 239s === RUN TestGetSubscriptionState/Returns_enablement_status_(enabled) 239s === RUN TestGetSubscriptionState/Returns_enablement_status_(disabled) 239s --- PASS: TestGetSubscriptionState (0.01s) 239s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(enabled) (0.00s) 239s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(disabled) (0.01s) 239s === RUN TestNew 239s === PAUSE TestNew 239s === RUN TestNewFromCache 239s === PAUSE TestNewFromCache 239s === RUN TestSave 239s === PAUSE TestSave 239s === RUN TestCachePolicies 239s === PAUSE TestCachePolicies 239s === RUN TestSaveAssetsTo 239s === PAUSE TestSaveAssetsTo 239s === RUN TestCompressAssets 239s === PAUSE TestCompressAssets 239s === RUN TestGetUniqueRules 239s === PAUSE TestGetUniqueRules 239s === CONT TestFormat 239s === RUN TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 239s === PAUSE TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 239s === RUN TestFormat/GPO_with_rules,_override_displayed 239s === PAUSE TestFormat/GPO_with_rules,_override_displayed 239s === RUN TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 239s === PAUSE TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 239s === RUN TestFormat/GPO_summary 239s === PAUSE TestFormat/GPO_summary 239s === RUN TestFormat/GPO_with_rules 239s === PAUSE TestFormat/GPO_with_rules 239s === RUN TestFormat/GPO_with_rules,_appending_to_existing_treated_key 239s === PAUSE TestFormat/GPO_with_rules,_appending_to_existing_treated_key 239s === RUN TestFormat/GPO_with_rules,_override_hidden 239s === PAUSE TestFormat/GPO_with_rules,_override_hidden 239s === RUN TestFormat/GPO_with_rules,_override_disabled_key 239s === PAUSE TestFormat/GPO_with_rules,_override_disabled_key 239s === RUN TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 239s === PAUSE TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 239s === CONT TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 239s === CONT TestGetUniqueRules 239s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 239s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 239s === RUN TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 239s === PAUSE TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 239s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 239s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 239s === RUN TestGetUniqueRules/One_GPO 239s === PAUSE TestGetUniqueRules/One_GPO 239s === RUN TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 239s === PAUSE TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 239s === RUN TestGetUniqueRules/Two_policies,_with_overrides 239s === PAUSE TestGetUniqueRules/Two_policies,_with_overrides 239s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO 239s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO 239s === RUN TestGetUniqueRules/More_policies,_with_multiple_overrides 239s === PAUSE TestGetUniqueRules/More_policies,_with_multiple_overrides 239s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 239s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 239s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 239s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 239s === RUN TestGetUniqueRules/Order_key_ascii 239s === PAUSE TestGetUniqueRules/Order_key_ascii 239s === RUN TestGetUniqueRules/Two_policies,_no_overrides,_reversed 239s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides,_reversed 239s === RUN TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 239s === PAUSE TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 239s === RUN TestGetUniqueRules/Disabled_value_is_overridden 239s === PAUSE TestGetUniqueRules/Disabled_value_is_overridden 239s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 239s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 239s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 239s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 239s === RUN TestGetUniqueRules/Multiple_domains,_same_GPOs 239s === PAUSE TestGetUniqueRules/Multiple_domains,_same_GPOs 239s === RUN TestGetUniqueRules/Multiple_domains,_different_GPOs 239s === PAUSE TestGetUniqueRules/Multiple_domains,_different_GPOs 239s === RUN TestGetUniqueRules/Two_policies,_with_reversed_overrides 239s === PAUSE TestGetUniqueRules/Two_policies,_with_reversed_overrides 239s === RUN TestGetUniqueRules/Two_policies,_no_overrides 239s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides 239s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 239s === CONT TestCompressAssets 239s === RUN TestCompressAssets/No_db 239s === PAUSE TestCompressAssets/No_db 239s === RUN TestCompressAssets/Existing_db 239s === PAUSE TestCompressAssets/Existing_db 239s === RUN TestCompressAssets/Error_on_can’t_remove_existing_db 239s === PAUSE TestCompressAssets/Error_on_can’t_remove_existing_db 239s === RUN TestCompressAssets/Error_on_non_existing_directory 239s === PAUSE TestCompressAssets/Error_on_non_existing_directory 239s === CONT TestCompressAssets/No_db 239s === CONT TestGetUniqueRules/Multiple_domains,_same_GPOs 239s === CONT TestSaveAssetsTo 239s === RUN TestSaveAssetsTo/Error_on_read_only_dest 239s === PAUSE TestSaveAssetsTo/Error_on_read_only_dest 239s === RUN TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 239s === PAUSE TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 239s === RUN TestSaveAssetsTo/Error_on_can't_chown_to_user 239s === PAUSE TestSaveAssetsTo/Error_on_can't_chown_to_user 239s === RUN TestSaveAssetsTo/Chown_directories_and_files_when_requested 239s === PAUSE TestSaveAssetsTo/Chown_directories_and_files_when_requested 239s === RUN TestSaveAssetsTo/All 239s === PAUSE TestSaveAssetsTo/All 239s === RUN TestSaveAssetsTo/Sub_directory 239s === PAUSE TestSaveAssetsTo/Sub_directory 239s === RUN TestSaveAssetsTo/Sub_directory_ending_with_slash 239s === PAUSE TestSaveAssetsTo/Sub_directory_ending_with_slash 239s === RUN TestSaveAssetsTo/Error_on_no_assets 239s === PAUSE TestSaveAssetsTo/Error_on_no_assets 239s === RUN TestSaveAssetsTo/Error_on_dest_already_exists 239s === PAUSE TestSaveAssetsTo/Error_on_dest_already_exists 239s === RUN TestSaveAssetsTo/File 239s === PAUSE TestSaveAssetsTo/File 239s === RUN TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 239s === PAUSE TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 239s === RUN TestSaveAssetsTo/Error_on_empty_relSrc 239s === PAUSE TestSaveAssetsTo/Error_on_empty_relSrc 239s === CONT TestSaveAssetsTo/Error_on_read_only_dest 239s === CONT TestGetUniqueRules/More_policies,_with_multiple_overrides 239s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 239s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 239s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 239s === CONT TestGetUniqueRules/Disabled_value_is_overridden 239s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO 239s === CONT TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 239s === CONT TestGetUniqueRules/Two_policies,_with_overrides 239s === CONT TestGetUniqueRules/Two_policies,_no_overrides,_reversed 239s === CONT TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 239s === CONT TestGetUniqueRules/Order_key_ascii 239s === CONT TestGetUniqueRules/One_GPO 239s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 239s === CONT TestCompressAssets/Error_on_non_existing_directory 239s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 239s === CONT TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 239s === CONT TestCompressAssets/Error_on_can’t_remove_existing_db 239s === CONT TestFormat/GPO_with_rules,_override_displayed 239s === CONT TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 239s === CONT TestFormat/GPO_with_rules,_override_disabled_key 239s === CONT TestGetUniqueRules/Two_policies,_no_overrides 239s === CONT TestGetUniqueRules/Two_policies,_with_reversed_overrides 239s === CONT TestSaveAssetsTo/Error_on_no_assets 239s === CONT TestSaveAssetsTo/Error_on_empty_relSrc 239s === CONT TestGetUniqueRules/Multiple_domains,_different_GPOs 239s --- PASS: TestGetUniqueRules (0.00s) 239s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs (0.00s) 239s --- PASS: TestGetUniqueRules/Multiple_domains,_same_GPOs (0.00s) 239s --- PASS: TestGetUniqueRules/More_policies,_with_multiple_overrides (0.00s) 239s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override (0.00s) 239s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first (0.00s) 239s --- PASS: TestGetUniqueRules/Disabled_value_is_overridden (0.00s) 239s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored (0.00s) 239s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO (0.00s) 239s --- PASS: TestGetUniqueRules/Disabled_value_overrides_non_disabled_one (0.00s) 239s --- PASS: TestGetUniqueRules/Two_policies,_with_overrides (0.00s) 239s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides,_reversed (0.00s) 239s --- PASS: TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated (0.00s) 239s --- PASS: TestGetUniqueRules/Order_key_ascii (0.00s) 239s --- PASS: TestGetUniqueRules/One_GPO (0.00s) 239s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored (0.00s) 239s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second (0.00s) 239s --- PASS: TestGetUniqueRules/Append_policy_entry,_closest_meta_wins (0.00s) 239s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides (0.00s) 239s --- PASS: TestGetUniqueRules/Two_policies,_with_reversed_overrides (0.00s) 239s --- PASS: TestGetUniqueRules/Multiple_domains,_different_GPOs (0.00s) 239s === CONT TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 239s === CONT TestSaveAssetsTo/File 239s === CONT TestFormat/GPO_with_rules 239s === CONT TestSaveAssetsTo/Error_on_dest_already_exists 239s === CONT TestFormat/GPO_with_rules,_override_hidden 239s === CONT TestFormat/GPO_with_rules,_appending_to_existing_treated_key 239s === CONT TestNewFromCache 239s === RUN TestNewFromCache/Error_on_invalid_assets_db 239s === PAUSE TestNewFromCache/Error_on_invalid_assets_db 239s === RUN TestNewFromCache/Error_on_no_policies_cache 239s === PAUSE TestNewFromCache/Error_on_no_policies_cache 239s === RUN TestNewFromCache/gpos_only 239s === PAUSE TestNewFromCache/gpos_only 239s === RUN TestNewFromCache/With_assets 239s === PAUSE TestNewFromCache/With_assets 239s === RUN TestNewFromCache/Error_on_invalid_policies_cache 239s === PAUSE TestNewFromCache/Error_on_invalid_policies_cache 239s === CONT TestCachePolicies 239s === CONT TestSaveAssetsTo/All 239s === CONT TestSave 239s === RUN TestSave/With_assets 239s === PAUSE TestSave/With_assets 239s === RUN TestSave/Destdir_does_not_exists 239s === PAUSE TestSave/Destdir_does_not_exists 239s === RUN TestSave/Error_on_can’t_write_to_policies_base_dir 239s === PAUSE TestSave/Error_on_can’t_write_to_policies_base_dir 239s === RUN TestSave/Error_on_can’t_write_to_dest_dir 239s === PAUSE TestSave/Error_on_can’t_write_to_dest_dir 239s === RUN TestSave/Error_on_can’t_remove_existing_assets 239s === PAUSE TestSave/Error_on_can’t_remove_existing_assets 239s === RUN TestSave/Can_refresh_on_existing_read_only_asset_file 239s === PAUSE TestSave/Can_refresh_on_existing_read_only_asset_file 239s === RUN TestSave/gpos_only 239s === PAUSE TestSave/gpos_only 239s === RUN TestSave/Existing_policies_cache_is_refreshed 239s === PAUSE TestSave/Existing_policies_cache_is_refreshed 239s === RUN TestSave/Existing_assets_cache_is_refreshed 239s === PAUSE TestSave/Existing_assets_cache_is_refreshed 239s === RUN TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 239s === PAUSE TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 239s === RUN TestSave/Save_assets_on_existing_opened_file_does_not_segfault 239s === PAUSE TestSave/Save_assets_on_existing_opened_file_does_not_segfault 239s === CONT TestSaveAssetsTo/Sub_directory_ending_with_slash 239s === CONT TestSaveAssetsTo/Sub_directory 239s === CONT TestSaveAssetsTo/Error_on_can't_chown_to_user 239s === CONT TestSaveAssetsTo/Chown_directories_and_files_when_requested 239s === CONT TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 239s === CONT TestFormat/GPO_summary 239s --- PASS: TestCachePolicies (0.02s) 239s === CONT TestCompressAssets/Existing_db 239s === CONT TestLastUpdateFor 239s === RUN TestLastUpdateFor/Returns_user's_last_update_time 239s === PAUSE TestLastUpdateFor/Returns_user's_last_update_time 239s === RUN TestLastUpdateFor/Target_is_ignored_for_machine_request 239s === PAUSE TestLastUpdateFor/Target_is_ignored_for_machine_request 239s === RUN TestLastUpdateFor/Error_when_target_does_not_exist 239s === PAUSE TestLastUpdateFor/Error_when_target_does_not_exist 239s === RUN TestLastUpdateFor/Returns_machine's_last_update_time 239s === PAUSE TestLastUpdateFor/Returns_machine's_last_update_time 239s === CONT TestNew 239s === RUN TestNew/With_assets 239s === PAUSE TestNew/With_assets 239s === RUN TestNew/No_gpos 239s === PAUSE TestNew/No_gpos 239s === RUN TestNew/Error_on_invalid_assets_db 239s === PAUSE TestNew/Error_on_invalid_assets_db 239s === RUN TestNew/Error_on_assets_db_does_not_exists 239s === PAUSE TestNew/Error_on_assets_db_does_not_exists 239s === RUN TestNew/gpos_only 239s === PAUSE TestNew/gpos_only 239s === CONT TestDumpPolicies 239s === RUN TestDumpPolicies/One_GPO_User_+_Machine 239s === PAUSE TestDumpPolicies/One_GPO_User_+_Machine 239s === RUN TestDumpPolicies/One_GPO_with_rules 239s === PAUSE TestDumpPolicies/One_GPO_with_rules 239s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 239s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 239s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 239s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 239s === RUN TestDumpPolicies/Error_on_missing_target_cache 239s === PAUSE TestDumpPolicies/Error_on_missing_target_cache 239s === RUN TestDumpPolicies/One_GPO_User 239s === PAUSE TestDumpPolicies/One_GPO_User 239s === RUN TestDumpPolicies/Multiple_GPOs 239s === PAUSE TestDumpPolicies/Multiple_GPOs 239s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 239s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 239s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 239s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 239s === RUN TestDumpPolicies/Same_GPO_Machine_and_User 239s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User 239s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 239s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 239s === RUN TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 239s === PAUSE TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 239s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 239s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 239s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 239s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 239s === RUN TestDumpPolicies/One_GPO_Machine 239s === PAUSE TestDumpPolicies/One_GPO_Machine 239s === RUN TestDumpPolicies/Machine_only_GPO_with_rules 239s === PAUSE TestDumpPolicies/Machine_only_GPO_with_rules 239s === CONT TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 239s --- PASS: TestFormat (0.00s) 239s --- PASS: TestFormat/GPO_with_rules_and_overrides,_no_rules_processed (0.00s) 239s --- PASS: TestFormat/GPO_with_rules,_override_displayed (0.00s) 239s --- PASS: TestFormat/GPO_with_rules,_override_disabled_key (0.00s) 239s --- PASS: TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules (0.00s) 239s --- PASS: TestFormat/GPO_with_rules (0.00s) 239s --- PASS: TestFormat/GPO_with_rules,_override_hidden (0.00s) 239s --- PASS: TestFormat/GPO_with_rules,_appending_to_existing_treated_key (0.01s) 239s --- PASS: TestFormat/GPO_summary (0.00s) 239s --- PASS: TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override (0.00s) 239s === CONT TestNewFromCache/Error_on_invalid_assets_db 239s === CONT TestNewFromCache/Error_on_invalid_policies_cache 239s === CONT TestNewFromCache/With_assets 239s === CONT TestNewFromCache/gpos_only 239s === CONT TestNewFromCache/Error_on_no_policies_cache 239s === CONT TestSave/With_assets 239s === CONT TestSave/gpos_only 239s === CONT TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 239s === CONT TestSave/Existing_assets_cache_is_refreshed 239s === CONT TestSave/Save_assets_on_existing_opened_file_does_not_segfault 239s === CONT TestSave/Existing_policies_cache_is_refreshed 239s === CONT TestSave/Error_on_can’t_write_to_dest_dir 239s === CONT TestSave/Can_refresh_on_existing_read_only_asset_file 239s === CONT TestSave/Error_on_can’t_remove_existing_assets 239s === CONT TestSave/Error_on_can’t_write_to_policies_base_dir 239s === CONT TestSave/Destdir_does_not_exists 239s === CONT TestLastUpdateFor/Returns_user's_last_update_time 239s === CONT TestNew/With_assets 239s === CONT TestLastUpdateFor/Returns_machine's_last_update_time 239s --- PASS: TestSaveAssetsTo (0.00s) 239s --- PASS: TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache (0.00s) 239s --- PASS: TestSaveAssetsTo/Error_on_empty_relSrc (0.00s) 239s --- PASS: TestSaveAssetsTo/Error_on_read_only_dest (0.01s) 239s --- PASS: TestSaveAssetsTo/Error_on_no_assets (0.01s) 239s --- PASS: TestSaveAssetsTo/Error_on_dest_already_exists (0.02s) 239s --- PASS: TestSaveAssetsTo/File (0.02s) 239s --- PASS: TestSaveAssetsTo/Error_on_can't_chown_to_user (0.01s) 239s --- PASS: TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest (0.02s) 239s --- PASS: TestSaveAssetsTo/Sub_directory_ending_with_slash (0.04s) 239s --- PASS: TestSaveAssetsTo/Sub_directory (0.04s) 239s --- PASS: TestSaveAssetsTo/All (0.06s) 239s --- PASS: TestSaveAssetsTo/Chown_directories_and_files_when_requested (0.08s) 239s === CONT TestLastUpdateFor/Error_when_target_does_not_exist 239s === CONT TestLastUpdateFor/Target_is_ignored_for_machine_request 239s --- PASS: TestSave (0.00s) 239s --- PASS: TestSave/With_assets (0.01s) 239s --- PASS: TestSave/gpos_only (0.01s) 239s --- PASS: TestSave/Existing_policies_cache_is_refreshed (0.01s) 239s --- PASS: TestSave/Existing_cache_with_assets,_new_cache_with_no_assets (0.01s) 239s --- PASS: TestSave/Error_on_can’t_write_to_dest_dir (0.01s) 239s --- PASS: TestSave/Existing_assets_cache_is_refreshed (0.02s) 239s --- PASS: TestSave/Can_refresh_on_existing_read_only_asset_file (0.01s) 239s --- PASS: TestSave/Error_on_can’t_write_to_policies_base_dir (0.01s) 239s --- PASS: TestSave/Save_assets_on_existing_opened_file_does_not_segfault (0.03s) 239s --- PASS: TestSave/Error_on_can’t_remove_existing_assets (0.03s) 239s --- PASS: TestSave/Destdir_does_not_exists (0.02s) 239s === CONT TestNew/gpos_only 239s --- PASS: TestNewFromCache (0.00s) 239s --- PASS: TestNewFromCache/Error_on_invalid_assets_db (0.00s) 239s --- PASS: TestNewFromCache/Error_on_invalid_policies_cache (0.00s) 239s --- PASS: TestNewFromCache/Error_on_no_policies_cache (0.00s) 239s --- PASS: TestNewFromCache/gpos_only (0.02s) 239s --- PASS: TestNewFromCache/With_assets (0.08s) 239s === CONT TestNew/Error_on_assets_db_does_not_exists 239s === CONT TestNew/Error_on_invalid_assets_db 239s === CONT TestNew/No_gpos 239s === CONT TestDumpPolicies/One_GPO_User_+_Machine 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 239s --- PASS: TestCompressAssets (0.00s) 239s --- PASS: TestCompressAssets/Error_on_non_existing_directory (0.00s) 239s --- PASS: TestCompressAssets/Error_on_can’t_remove_existing_db (0.03s) 239s --- PASS: TestCompressAssets/No_db (0.12s) 239s --- PASS: TestCompressAssets/Existing_db (0.10s) 239s === CONT TestDumpPolicies/Machine_only_GPO_with_rules 239s --- PASS: TestNew (0.00s) 239s --- PASS: TestNew/Error_on_assets_db_does_not_exists (0.00s) 239s --- PASS: TestNew/Error_on_invalid_assets_db (0.00s) 239s --- PASS: TestNew/gpos_only (0.00s) 239s --- PASS: TestNew/No_gpos (0.00s) 239s --- PASS: TestNew/With_assets (0.03s) 239s === CONT TestDumpPolicies/One_GPO_Machine 239s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for autopkgtest-lxd-zhcfgg" 239s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for autopkgtest-lxd-zhcfgg" 239s === CONT TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 239s === CONT TestDumpPolicies/Multiple_GPOs 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s === CONT TestDumpPolicies/One_GPO_User 239s === CONT TestDumpPolicies/Error_on_missing_target_cache 239s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 239s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s === CONT TestDumpPolicies/One_GPO_with_rules 239s time="2025-06-17T13:17:46Z" level=info msg="User \"user\" not found on cache." 239s === CONT TestDumpPolicies/Same_GPO_Machine_and_User 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s time="2025-06-17T13:17:46Z" level=info msg="Dumping policies for user" 239s --- PASS: TestDumpPolicies (0.00s) 239s --- PASS: TestDumpPolicies/One_GPO_User_+_Machine (0.01s) 239s --- PASS: TestDumpPolicies/One_GPO_Machine (0.01s) 239s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden (0.01s) 239s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_no_override (0.01s) 239s --- PASS: TestDumpPolicies/Machine_only_GPO_with_rules (0.02s) 239s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden (0.02s) 239s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown (0.01s) 239s --- PASS: TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user (0.01s) 239s --- PASS: TestDumpPolicies/Multiple_GPOs (0.00s) 239s --- PASS: TestDumpPolicies/One_GPO_User (0.01s) 239s --- PASS: TestDumpPolicies/Error_on_missing_target_cache (0.01s) 239s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides (0.01s) 239s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown (0.01s) 239s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules (0.01s) 239s --- PASS: TestDumpPolicies/One_GPO_with_rules (0.01s) 239s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User (0.01s) 239s time="2025-06-17T13:17:47Z" level=info msg="Get policies last update time \"autopkgtest-lxd-zhcfgg\" (machine: true)" 239s time="2025-06-17T13:17:47Z" level=info msg="Get policies last update time \"user\" (machine: false)" 239s time="2025-06-17T13:17:47Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: false)" 239s time="2025-06-17T13:17:47Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: true)" 239s --- PASS: TestLastUpdateFor (0.00s) 239s --- PASS: TestLastUpdateFor/Returns_machine's_last_update_time (0.11s) 239s --- PASS: TestLastUpdateFor/Returns_user's_last_update_time (0.11s) 239s --- PASS: TestLastUpdateFor/Error_when_target_does_not_exist (0.10s) 239s --- PASS: TestLastUpdateFor/Target_is_ignored_for_machine_request (0.10s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/policies 1.679s 239s === RUN TestApplyPolicy 239s === PAUSE TestApplyPolicy 239s === RUN TestMockApparmorParser 239s --- PASS: TestMockApparmorParser (0.00s) 239s === CONT TestApplyPolicy 239s === RUN TestApplyPolicy/Computer,_duplicated_profiles 239s === PAUSE TestApplyPolicy/Computer,_duplicated_profiles 239s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 239s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 239s === RUN TestApplyPolicy/Computer,_multiple_profiles, 239s === PAUSE TestApplyPolicy/Computer,_multiple_profiles, 239s === RUN TestApplyPolicy/Error_on_loading_profiles_failing 239s === PAUSE TestApplyPolicy/Error_on_loading_profiles_failing 239s === RUN TestApplyPolicy/Computer,_previous_profiles_are_unloaded 239s === PAUSE TestApplyPolicy/Computer,_previous_profiles_are_unloaded 239s === RUN TestApplyPolicy/Unexpected_entry_key 239s === PAUSE TestApplyPolicy/Unexpected_entry_key 239s === RUN TestApplyPolicy/User,_valid_mapping 239s === PAUSE TestApplyPolicy/User,_valid_mapping 239s === RUN TestApplyPolicy/User,_no_machine_profiles 239s === PAUSE TestApplyPolicy/User,_no_machine_profiles 239s === RUN TestApplyPolicy/User,_error_on_overwriting_profile_contents 239s === PAUSE TestApplyPolicy/User,_error_on_overwriting_profile_contents 239s === RUN TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 239s === PAUSE TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 239s === RUN TestApplyPolicy/Computer,_one_profile 239s === PAUSE TestApplyPolicy/Computer,_one_profile 239s === RUN TestApplyPolicy/Error_on_read-only_.new_directory 239s === PAUSE TestApplyPolicy/Error_on_read-only_.new_directory 239s === RUN TestApplyPolicy/Error_on_read-only_root_directory_with_entries 239s === PAUSE TestApplyPolicy/Error_on_read-only_root_directory_with_entries 239s === RUN TestApplyPolicy/Read-only_root_directory_and_no_entries 239s === PAUSE TestApplyPolicy/Read-only_root_directory_and_no_entries 239s === RUN TestApplyPolicy/Error_on_read-only_.old_directory 239s === PAUSE TestApplyPolicy/Error_on_read-only_.old_directory 239s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 239s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 239s === RUN TestApplyPolicy/Existing_.old_directory_is_removed 239s === PAUSE TestApplyPolicy/Existing_.old_directory_is_removed 239s === RUN TestApplyPolicy/No_profiles,_apparmor_directory_absent 239s === PAUSE TestApplyPolicy/No_profiles,_apparmor_directory_absent 239s === RUN TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 239s === PAUSE TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 239s === RUN TestApplyPolicy/User,_error_on_empty_user_profile 239s === PAUSE TestApplyPolicy/User,_error_on_empty_user_profile 239s === RUN TestApplyPolicy/Error_on_unloading_all_profiles_failing 239s === PAUSE TestApplyPolicy/Error_on_unloading_all_profiles_failing 239s === RUN TestApplyPolicy/Error_on_profile_being_a_directory 239s === PAUSE TestApplyPolicy/Error_on_profile_being_a_directory 239s === RUN TestApplyPolicy/Computer,_whitespace-only_value 239s === PAUSE TestApplyPolicy/Computer,_whitespace-only_value 239s === RUN TestApplyPolicy/Error_on_unloading_old_profiles_failing 239s === PAUSE TestApplyPolicy/Error_on_unloading_old_profiles_failing 239s === RUN TestApplyPolicy/User,_error_on_multiple_profiles 239s === PAUSE TestApplyPolicy/User,_error_on_multiple_profiles 239s === RUN TestApplyPolicy/Computer,_profiles_with_whitespace 239s === PAUSE TestApplyPolicy/Computer,_profiles_with_whitespace 239s === RUN TestApplyPolicy/Computer,_user_policies_are_unloaded 239s === PAUSE TestApplyPolicy/Computer,_user_policies_are_unloaded 239s === RUN TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 239s === PAUSE TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 239s === RUN TestApplyPolicy/User,_error_on_save_assets_failing 239s === PAUSE TestApplyPolicy/User,_error_on_save_assets_failing 239s === RUN TestApplyPolicy/No_apparmor_parser_and_no_entries 239s === PAUSE TestApplyPolicy/No_apparmor_parser_and_no_entries 239s === RUN TestApplyPolicy/Computer,_blank_line_profiles 239s === PAUSE TestApplyPolicy/Computer,_blank_line_profiles 239s === RUN TestApplyPolicy/Existing_.new_directory_is_removed 239s === PAUSE TestApplyPolicy/Existing_.new_directory_is_removed 239s === RUN TestApplyPolicy/No_profiles,_existing_rules_are_removed 239s === PAUSE TestApplyPolicy/No_profiles,_existing_rules_are_removed 239s === RUN TestApplyPolicy/User,_valid_mapping,_unchanged_content 239s === PAUSE TestApplyPolicy/User,_valid_mapping,_unchanged_content 239s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 239s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 239s === RUN TestApplyPolicy/Error_on_absent_profile 239s === PAUSE TestApplyPolicy/Error_on_absent_profile 239s === RUN TestApplyPolicy/Error_on_file_as_a_directory 239s === PAUSE TestApplyPolicy/Error_on_file_as_a_directory 239s === RUN TestApplyPolicy/Error_on_read-only_machine_directory 239s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory 239s === RUN TestApplyPolicy/No_apparmor_parser_and_entries 239s === PAUSE TestApplyPolicy/No_apparmor_parser_and_entries 239s === RUN TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 239s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 239s === RUN TestApplyPolicy/Error_on_removing_unused_assets_after_dump 239s === PAUSE TestApplyPolicy/Error_on_removing_unused_assets_after_dump 239s === RUN TestApplyPolicy/Computer,_only_blank_profiles 239s === PAUSE TestApplyPolicy/Computer,_only_blank_profiles 239s === RUN TestApplyPolicy/Error_on_absent_loaded_policies_file 239s === PAUSE TestApplyPolicy/Error_on_absent_loaded_policies_file 239s === RUN TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 239s === PAUSE TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 239s === CONT TestApplyPolicy/Computer,_duplicated_profiles 239s === CONT TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 239s === CONT TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 239s === CONT TestApplyPolicy/Error_on_absent_loaded_policies_file 239s === CONT TestApplyPolicy/Error_on_read-only_root_directory_with_entries 239s === CONT TestApplyPolicy/Read-only_root_directory_and_no_entries 239s === CONT TestApplyPolicy/Error_on_read-only_.new_directory 239s === CONT TestApplyPolicy/Computer,_user_policies_are_unloaded 239s === CONT TestApplyPolicy/User,_error_on_empty_user_profile 239s === CONT TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 239s === CONT TestApplyPolicy/No_profiles,_apparmor_directory_absent 239s === CONT TestApplyPolicy/Existing_.old_directory_is_removed 239s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 239s === CONT TestApplyPolicy/Error_on_read-only_.old_directory 239s === CONT TestApplyPolicy/Error_on_unloading_old_profiles_failing 239s === CONT TestApplyPolicy/Computer,_profiles_with_whitespace 239s === CONT TestApplyPolicy/User,_error_on_multiple_profiles 239s === CONT TestApplyPolicy/Unexpected_entry_key 239s === CONT TestApplyPolicy/Computer,_one_profile 239s === CONT TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 239s === CONT TestApplyPolicy/User,_error_on_overwriting_profile_contents 239s === CONT TestApplyPolicy/User,_no_machine_profiles 239s === CONT TestApplyPolicy/User,_valid_mapping 239s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 239s time="2025-06-17T13:17:45Z" level=warning msg="No apparmor machine profiles configured for this machine, skipping reload" 239s === CONT TestApplyPolicy/Computer,_only_blank_profiles 239s === CONT TestApplyPolicy/Error_on_removing_unused_assets_after_dump 239s === CONT TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 239s === CONT TestApplyPolicy/No_apparmor_parser_and_entries 239s === CONT TestApplyPolicy/Error_on_read-only_machine_directory 239s time="2025-06-17T13:17:45Z" level=warning msg="Couldn't remove new apparmor directory: unlinkat /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump661237134/001/machine/nested/usr.bin.baz: permission denied" 239s time="2025-06-17T13:17:45Z" level=warning msg="Couldn't restore previous apparmor directory: rename /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump661237134/001/machine.old /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump661237134/001/machine: file exists" 239s === CONT TestApplyPolicy/Error_on_file_as_a_directory 239s === CONT TestApplyPolicy/Error_on_absent_profile 239s === CONT TestApplyPolicy/Computer,_whitespace-only_value 239s === CONT TestApplyPolicy/Computer,_blank_line_profiles 239s === CONT TestApplyPolicy/User,_valid_mapping,_unchanged_content 239s === CONT TestApplyPolicy/No_profiles,_existing_rules_are_removed 239s === CONT TestApplyPolicy/Existing_.new_directory_is_removed 239s === CONT TestApplyPolicy/Error_on_unloading_all_profiles_failing 239s === CONT TestApplyPolicy/Computer,_multiple_profiles, 239s === CONT TestApplyPolicy/Computer,_previous_profiles_are_unloaded 239s === CONT TestApplyPolicy/Error_on_profile_being_a_directory 239s === CONT TestApplyPolicy/Error_on_loading_profiles_failing 239s === CONT TestApplyPolicy/User,_error_on_save_assets_failing 239s === CONT TestApplyPolicy/No_apparmor_parser_and_no_entries 239s time="2025-06-17T13:17:45Z" level=warning msg="Apparmor is not available on this system: exec: \"this-definitely-does-not-exist\": executable file not found in $PATH" 239s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 239s --- PASS: TestApplyPolicy (0.00s) 239s --- PASS: TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted (0.01s) 239s --- PASS: TestApplyPolicy/Error_on_read-only_root_directory_with_entries (0.01s) 239s --- PASS: TestApplyPolicy/Read-only_root_directory_and_no_entries (0.02s) 239s --- PASS: TestApplyPolicy/Error_on_read-only_.new_directory (0.02s) 239s --- PASS: TestApplyPolicy/No_profiles,_apparmor_directory_absent (0.01s) 239s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 239s --- PASS: TestApplyPolicy/Error_on_absent_loaded_policies_file (0.04s) 239s --- PASS: TestApplyPolicy/Error_on_read-only_.old_directory (0.02s) 239s --- PASS: TestApplyPolicy/User,_error_on_empty_user_profile (0.06s) 239s --- PASS: TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded (0.07s) 239s --- PASS: TestApplyPolicy/Unexpected_entry_key (0.00s) 239s --- PASS: TestApplyPolicy/Error_on_preprocessing_new_profiles_failing (0.10s) 239s --- PASS: TestApplyPolicy/Computer,_user_policies_are_unloaded (0.10s) 239s --- PASS: TestApplyPolicy/User,_error_on_multiple_profiles (0.07s) 239s --- PASS: TestApplyPolicy/Computer,_duplicated_profiles (0.16s) 239s --- PASS: TestApplyPolicy/User,_error_on_overwriting_profile_contents (0.06s) 239s --- PASS: TestApplyPolicy/Existing_.old_directory_is_removed (0.15s) 239s --- PASS: TestApplyPolicy/Error_on_preprocessing_old_profiles_failing (0.07s) 239s --- PASS: TestApplyPolicy/Computer,_profiles_with_whitespace (0.13s) 239s --- PASS: TestApplyPolicy/Computer,_one_profile (0.11s) 239s --- PASS: TestApplyPolicy/Error_on_unloading_old_profiles_failing (0.15s) 239s --- PASS: TestApplyPolicy/User,_valid_mapping (0.05s) 239s --- PASS: TestApplyPolicy/User,_no_machine_profiles (0.08s) 239s --- PASS: TestApplyPolicy/No_apparmor_parser_and_entries (0.03s) 239s --- PASS: TestApplyPolicy/Computer,_only_blank_profiles (0.06s) 239s --- PASS: TestApplyPolicy/Error_on_removing_unused_assets_after_dump (0.07s) 239s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous (0.09s) 239s --- PASS: TestApplyPolicy/Error_on_file_as_a_directory (0.05s) 239s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries (0.09s) 239s --- PASS: TestApplyPolicy/User,_valid_mapping,_unchanged_content (0.05s) 239s --- PASS: TestApplyPolicy/Error_on_absent_profile (0.07s) 239s --- PASS: TestApplyPolicy/Computer,_blank_line_profiles (0.06s) 239s --- PASS: TestApplyPolicy/Computer,_whitespace-only_value (0.11s) 239s --- PASS: TestApplyPolicy/No_profiles,_existing_rules_are_removed (0.10s) 239s --- PASS: TestApplyPolicy/User,_error_on_save_assets_failing (0.02s) 239s --- PASS: TestApplyPolicy/Error_on_unloading_all_profiles_failing (0.11s) 239s --- PASS: TestApplyPolicy/No_apparmor_parser_and_no_entries (0.01s) 239s --- PASS: TestApplyPolicy/Error_on_profile_being_a_directory (0.09s) 239s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory (0.19s) 239s --- PASS: TestApplyPolicy/Existing_.new_directory_is_removed (0.14s) 239s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous (0.03s) 239s --- PASS: TestApplyPolicy/Computer,_multiple_profiles, (0.14s) 239s --- PASS: TestApplyPolicy/Error_on_loading_profiles_failing (0.09s) 239s --- PASS: TestApplyPolicy/Computer,_previous_profiles_are_unloaded (0.15s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/policies/apparmor 0.488s 239s === RUN TestCertAutoenrollScript 239s === RUN TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration 239s === RUN TestCertAutoenrollScript/Unenroll 239s === RUN TestCertAutoenrollScript/Error_on_invalid_flags 239s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON 239s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_keys 239s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled 239s === RUN TestCertAutoenrollScript/Enroll_with_certmonger_not_installed 239s === RUN TestCertAutoenrollScript/Enroll_with_cepces_not_installed 239s === RUN TestCertAutoenrollScript/Error_on_unenroll_failure 239s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration 239s === RUN TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration 239s === RUN TestCertAutoenrollScript/Error_on_missing_arguments 239s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_structure 239s === RUN TestCertAutoenrollScript/Error_on_read-only_path 239s === RUN TestCertAutoenrollScript/Error_on_enroll_failure 239s --- PASS: TestCertAutoenrollScript (2.59s) 239s --- PASS: TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration (0.13s) 239s --- PASS: TestCertAutoenrollScript/Unenroll (0.08s) 239s --- PASS: TestCertAutoenrollScript/Error_on_invalid_flags (0.15s) 239s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON (0.42s) 239s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_keys (0.37s) 239s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled (0.10s) 239s --- PASS: TestCertAutoenrollScript/Enroll_with_certmonger_not_installed (0.14s) 239s --- PASS: TestCertAutoenrollScript/Enroll_with_cepces_not_installed (0.08s) 239s --- PASS: TestCertAutoenrollScript/Error_on_unenroll_failure (0.31s) 239s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration (0.10s) 239s --- PASS: TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration (0.07s) 239s --- PASS: TestCertAutoenrollScript/Error_on_missing_arguments (0.09s) 239s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_structure (0.17s) 239s --- PASS: TestCertAutoenrollScript/Error_on_read-only_path (0.16s) 239s --- PASS: TestCertAutoenrollScript/Error_on_enroll_failure (0.21s) 239s === RUN TestApplyPolicy 239s === RUN TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration 239s time="2025-06-17T13:17:48Z" level=info msg="Certificate autoenrollment script ran successfully\n" 239s === RUN TestApplyPolicy/User,_autoenroll_not_supported 239s === RUN TestApplyPolicy/Error_on_autoenroll_script_failure 239s === RUN TestApplyPolicy/Computer,_no_entries 239s === RUN TestApplyPolicy/Computer,_no_entries,_Samba_cache_present 239s time="2025-06-17T13:17:48Z" level=info msg="Certificate autoenrollment script ran successfully\n" 239s === RUN TestApplyPolicy/Computer,_domain_is_offline 239s === RUN TestApplyPolicy/Error_on_invalid_autoenroll_value 239s === RUN TestApplyPolicy/Error_on_invalid_advanced_configuration_value 239s === RUN TestApplyPolicy/Computer,_autoenroll_disabled 239s === RUN TestApplyPolicy/Computer,_configured_to_enroll 239s time="2025-06-17T13:17:48Z" level=info msg="Certificate autoenrollment script ran successfully\n" 239s === RUN TestApplyPolicy/Computer,_configured_to_unenroll 239s time="2025-06-17T13:17:48Z" level=info msg="Certificate autoenrollment script ran successfully\n" 239s --- PASS: TestApplyPolicy (0.10s) 239s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration (0.02s) 239s --- PASS: TestApplyPolicy/User,_autoenroll_not_supported (0.00s) 239s --- PASS: TestApplyPolicy/Error_on_autoenroll_script_failure (0.02s) 239s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 239s --- PASS: TestApplyPolicy/Computer,_no_entries,_Samba_cache_present (0.02s) 239s --- PASS: TestApplyPolicy/Computer,_domain_is_offline (0.00s) 239s --- PASS: TestApplyPolicy/Error_on_invalid_autoenroll_value (0.00s) 239s --- PASS: TestApplyPolicy/Error_on_invalid_advanced_configuration_value (0.00s) 239s --- PASS: TestApplyPolicy/Computer,_autoenroll_disabled (0.00s) 239s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll (0.02s) 239s --- PASS: TestApplyPolicy/Computer,_configured_to_unenroll (0.02s) 239s === RUN TestMockAutoenrollScript 239s --- PASS: TestMockAutoenrollScript (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/policies/certificate 2.737s 239s === RUN TestNormalize 239s === PAUSE TestNormalize 239s === RUN TestApplyPolicy 239s === PAUSE TestApplyPolicy 239s === CONT TestNormalize 239s === RUN TestNormalize/as_without_leading_[ 239s === PAUSE TestNormalize/as_without_leading_[ 239s === RUN TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 239s === PAUSE TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 239s === CONT TestApplyPolicy 239s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_machine 239s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_machine 239s === RUN TestApplyPolicy/No_surrounding_brackets_ai 239s === PAUSE TestApplyPolicy/No_surrounding_brackets_ai 239s === RUN TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 239s === PAUSE TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 239s === RUN TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 239s === PAUSE TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 239s === RUN TestApplyPolicy/New_user 239s === PAUSE TestApplyPolicy/New_user 239s === RUN TestApplyPolicy/User_updates_with_different_value 239s === PAUSE TestApplyPolicy/User_updates_with_different_value 239s === RUN TestApplyPolicy/Machine_updates_with_different_value 239s === PAUSE TestApplyPolicy/Machine_updates_with_different_value 239s === RUN TestApplyPolicy/Multiple_sections 239s === PAUSE TestApplyPolicy/Multiple_sections 239s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_as 239s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_as 239s === RUN TestApplyPolicy/Error_on_invalid_ai 239s === PAUSE TestApplyPolicy/Error_on_invalid_ai 239s === RUN TestApplyPolicy/First_boot 239s === PAUSE TestApplyPolicy/First_boot 239s === RUN TestApplyPolicy/No_update_when_no_change 239s === PAUSE TestApplyPolicy/No_update_when_no_change 239s === RUN TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 239s === PAUSE TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 239s === RUN TestApplyPolicy/User_updates_existing_value 239s === PAUSE TestApplyPolicy/User_updates_existing_value 239s === RUN TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 239s === PAUSE TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 239s === RUN TestApplyPolicy/Quoted_b 239s === PAUSE TestApplyPolicy/Quoted_b 239s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 239s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 239s === RUN TestApplyPolicy/Do_not_update_other_files_from_db 239s === PAUSE TestApplyPolicy/Do_not_update_other_files_from_db 239s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 239s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 239s === RUN TestNormalize/ai_without_leading_[ 239s === PAUSE TestNormalize/ai_without_leading_[ 239s === RUN TestNormalize/weird_case_true 239s === PAUSE TestNormalize/weird_case_true 239s === RUN TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 239s === PAUSE TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 239s === RUN TestNormalize/unquoted_string_with_quotes 239s === PAUSE TestNormalize/unquoted_string_with_quotes 239s === RUN TestNormalize/string_with_two_backslashes_don’t_escape_quotes 239s === PAUSE TestNormalize/string_with_two_backslashes_don’t_escape_quotes 239s === RUN TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 239s === PAUSE TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 239s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 239s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 239s === RUN TestNormalize/simple_unquoted_string 239s === PAUSE TestNormalize/simple_unquoted_string 239s === RUN TestNormalize/y_transformed_to_boolean 239s === PAUSE TestNormalize/y_transformed_to_boolean 239s === RUN TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 239s === PAUSE TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 239s === RUN TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 239s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 239s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 239s === RUN TestApplyPolicy/Update_machine_disabled_key_with_value 239s === PAUSE TestApplyPolicy/Update_machine_disabled_key_with_value 239s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_user 239s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_user 239s === RUN TestApplyPolicy/Missing_user_compiled_db_for_user 239s === PAUSE TestApplyPolicy/Missing_user_compiled_db_for_user 239s === RUN TestApplyPolicy/Unquoted_string 239s === PAUSE TestApplyPolicy/Unquoted_string 239s === RUN TestApplyPolicy/No_policy_still_generates_a_valid_db 239s === PAUSE TestApplyPolicy/No_policy_still_generates_a_valid_db 239s === RUN TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 239s === PAUSE TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 239s === RUN TestApplyPolicy/User_updates_key_is_now_disabled 239s === PAUSE TestApplyPolicy/User_updates_key_is_now_disabled 239s === RUN TestApplyPolicy/No_surrounding_brackets_multiple_ai 239s === PAUSE TestApplyPolicy/No_surrounding_brackets_multiple_ai 239s === RUN TestApplyPolicy/Multi-lines_as 239s === PAUSE TestApplyPolicy/Multi-lines_as 239s === RUN TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 239s === PAUSE TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 239s === RUN TestApplyPolicy/Machine_updates_existing_value 239s === PAUSE TestApplyPolicy/Machine_updates_existing_value 239s === RUN TestApplyPolicy/Multiple_keys_same_category 239s === PAUSE TestApplyPolicy/Multiple_keys_same_category 239s === RUN TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 239s === PAUSE TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 239s === RUN TestApplyPolicy/Do_not_interfere_with_other_user_profile 239s === PAUSE TestApplyPolicy/Do_not_interfere_with_other_user_profile 239s === RUN TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 239s === PAUSE TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 239s === RUN TestApplyPolicy/Update_user_disabled_key_with_value 239s === PAUSE TestApplyPolicy/Update_user_disabled_key_with_value 239s === RUN TestApplyPolicy/Machine_updates_key_is_now_disabled 239s === PAUSE TestApplyPolicy/Machine_updates_key_is_now_disabled 239s === RUN TestApplyPolicy/Multiple_sections_with_disabled_keys 239s === PAUSE TestApplyPolicy/Multiple_sections_with_disabled_keys 239s === RUN TestApplyPolicy/Multi-lines_as_mixed_with_comma 239s === PAUSE TestApplyPolicy/Multi-lines_as_mixed_with_comma 239s === RUN TestApplyPolicy/Multi-lines_ai 239s === PAUSE TestApplyPolicy/Multi-lines_ai 239s === RUN TestApplyPolicy/Error_on_invalid_type 239s === PAUSE TestApplyPolicy/Error_on_invalid_type 239s === RUN TestApplyPolicy/Error_on_empty_meta 239s === PAUSE TestApplyPolicy/Error_on_empty_meta 239s === RUN TestApplyPolicy/Quoted_i 239s === PAUSE TestApplyPolicy/Quoted_i 239s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_as 239s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_as 239s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 239s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 239s === RUN TestApplyPolicy/Multi-lines_ai_mixed_with_comma 239s === PAUSE TestApplyPolicy/Multi-lines_ai_mixed_with_comma 239s === RUN TestApplyPolicy/Error_when_machine_db_does_not_exist 239s === PAUSE TestApplyPolicy/Error_when_machine_db_does_not_exist 239s === RUN TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 239s === PAUSE TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 239s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_machine 239s === CONT TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 239s === CONT TestApplyPolicy/Multiple_sections_with_disabled_keys 239s === CONT TestApplyPolicy/No_policy_still_generates_a_valid_db 239s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_as 239s === CONT TestApplyPolicy/Multiple_keys_same_category 239s === CONT TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 239s === PAUSE TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 239s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 239s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 239s === RUN TestNormalize/as_simple_quoted_as_with_spaces 239s === PAUSE TestNormalize/as_simple_quoted_as_with_spaces 239s === RUN TestNormalize/simple_ai 239s === PAUSE TestNormalize/simple_ai 239s === RUN TestNormalize/ai_empty_elements_separated_with_commas_are_kept 239s === PAUSE TestNormalize/ai_empty_elements_separated_with_commas_are_kept 239s === RUN TestNormalize/empty_quoted_string 239s === PAUSE TestNormalize/empty_quoted_string 239s === RUN TestNormalize/n_transformed_to_boolean 239s === PAUSE TestNormalize/n_transformed_to_boolean 239s === RUN TestNormalize/as_with_spaces_inside 239s === PAUSE TestNormalize/as_with_spaces_inside 239s === RUN TestNormalize/as_without_ending_] 239s === PAUSE TestNormalize/as_without_ending_] 239s === RUN TestNormalize/ai_without_ending_] 239s === PAUSE TestNormalize/ai_without_ending_] 239s === RUN TestNormalize/string_with_escaped_quotes 239s === PAUSE TestNormalize/string_with_escaped_quotes 239s === RUN TestNormalize/on_transformed_to_boolean 239s === PAUSE TestNormalize/on_transformed_to_boolean 239s === RUN TestNormalize/simple_boolean_false 239s === PAUSE TestNormalize/simple_boolean_false 239s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 239s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 239s === RUN TestNormalize/simple_boolean_true 239s === PAUSE TestNormalize/simple_boolean_true 239s === RUN TestNormalize/as_empty_elements_separated_with_commas_are_kept 239s === PAUSE TestNormalize/as_empty_elements_separated_with_commas_are_kept 239s === RUN TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 239s === PAUSE TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 239s === RUN TestNormalize/Multi-lines_as_with_quoted_','_is_supported 239s === PAUSE TestNormalize/Multi-lines_as_with_quoted_','_is_supported 239s === RUN TestNormalize/Multi-lines_as_with_explicit_empty_element 239s === PAUSE TestNormalize/Multi-lines_as_with_explicit_empty_element 239s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and__[] 239s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and__[] 239s === RUN TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 239s === PAUSE TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 239s === RUN TestNormalize/simple_quoted_string 239s === PAUSE TestNormalize/simple_quoted_string 239s === RUN TestNormalize/empty_unquoted_string 239s === PAUSE TestNormalize/empty_unquoted_string 239s === RUN TestNormalize/one_quote 239s === PAUSE TestNormalize/one_quote 239s === RUN TestNormalize/one_escaped_quote 239s === PAUSE TestNormalize/one_escaped_quote 239s === RUN TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 239s === PAUSE TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 239s === RUN TestNormalize/weird_case_false 239s === PAUSE TestNormalize/weird_case_false 239s === RUN TestNormalize/simple_unquoted_as 239s === PAUSE TestNormalize/simple_unquoted_as 239s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 239s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 239s === RUN TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 239s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 239s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 239s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 239s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 239s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 239s === RUN TestNormalize/ai_with_spaces_inside 239s === PAUSE TestNormalize/ai_with_spaces_inside 239s === RUN TestNormalize/unmanaged_types_are_returned_as_is 239s === PAUSE TestNormalize/unmanaged_types_are_returned_as_is 239s === RUN TestNormalize/quoted_string_with_quotes 239s === PAUSE TestNormalize/quoted_string_with_quotes 239s === RUN TestNormalize/string_with_multiple_backslashes_escaped_quotes 239s === PAUSE TestNormalize/string_with_multiple_backslashes_escaped_quotes 239s === RUN TestNormalize/with_spaces 239s === PAUSE TestNormalize/with_spaces 239s === RUN TestNormalize/Multi-lines_as_quoted 239s === PAUSE TestNormalize/Multi-lines_as_quoted 239s === RUN TestNormalize/Multi-lines_ai_with_spaces_inside 239s === PAUSE TestNormalize/Multi-lines_ai_with_spaces_inside 239s === RUN TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 239s === PAUSE TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 239s === RUN TestNormalize/Multi-lines_ai 239s === PAUSE TestNormalize/Multi-lines_ai 239s === RUN TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 239s === PAUSE TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 239s === RUN TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 239s === PAUSE TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 239s === RUN TestNormalize/Multi-lines_as_with_spaces_inside 239s === PAUSE TestNormalize/Multi-lines_as_with_spaces_inside 239s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 239s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 239s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 239s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 239s === RUN TestNormalize/no_transformed_to_boolean 239s === PAUSE TestNormalize/no_transformed_to_boolean 239s === RUN TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 239s === PAUSE TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 239s === RUN TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 239s === PAUSE TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 239s === RUN TestNormalize/as_with_weird_composition_inception_will_be_quoted 239s === PAUSE TestNormalize/as_with_weird_composition_inception_will_be_quoted 239s === RUN TestNormalize/Multi-lines_as_unquoted 239s === PAUSE TestNormalize/Multi-lines_as_unquoted 239s === RUN TestNormalize/off_transformed_to_boolean 239s === PAUSE TestNormalize/off_transformed_to_boolean 239s === RUN TestNormalize/non_supported_is_reported_as_is 239s === PAUSE TestNormalize/non_supported_is_reported_as_is 239s === RUN TestNormalize/as_with_leading_and_ending_spaces_and__[] 239s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and__[] 239s === RUN TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 239s === PAUSE TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 239s === RUN TestNormalize/simple_ai_with_no_spaces 239s === PAUSE TestNormalize/simple_ai_with_no_spaces 239s === RUN TestNormalize/yes_transformed_to_boolean 239s === PAUSE TestNormalize/yes_transformed_to_boolean 239s === RUN TestNormalize/simple_quoted_as 239s === PAUSE TestNormalize/simple_quoted_as 239s === RUN TestNormalize/simple_as_with_no_spaces 239s === PAUSE TestNormalize/simple_as_with_no_spaces 239s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 239s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 239s === CONT TestApplyPolicy/Multi-lines_as 239s === CONT TestApplyPolicy/Machine_updates_existing_value 239s === CONT TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 239s === CONT TestApplyPolicy/Error_on_invalid_type 239s === CONT TestApplyPolicy/Quoted_i 239s === CONT TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 239s === CONT TestApplyPolicy/Error_on_empty_meta 239s === CONT TestApplyPolicy/Unquoted_string 239s === CONT TestApplyPolicy/Missing_user_compiled_db_for_user 239s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_user 239s === CONT TestApplyPolicy/Update_machine_disabled_key_with_value 239s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 239s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 239s === CONT TestApplyPolicy/Do_not_update_other_files_from_db 239s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 239s === CONT TestApplyPolicy/Quoted_b 239s === CONT TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 239s === CONT TestApplyPolicy/User_updates_existing_value 239s === CONT TestApplyPolicy/Machine_updates_key_is_now_disabled 239s === CONT TestApplyPolicy/Multi-lines_ai 239s === CONT TestApplyPolicy/No_surrounding_brackets_multiple_ai 239s === CONT TestApplyPolicy/Machine_updates_with_different_value 239s === CONT TestApplyPolicy/No_update_when_no_change 239s === CONT TestApplyPolicy/First_boot 239s === CONT TestApplyPolicy/Error_on_invalid_ai 239s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_as 239s === CONT TestApplyPolicy/Multiple_sections 239s === CONT TestApplyPolicy/Update_user_disabled_key_with_value 239s === CONT TestApplyPolicy/Do_not_interfere_with_other_user_profile 239s === CONT TestApplyPolicy/Multi-lines_as_mixed_with_comma 239s === CONT TestApplyPolicy/User_updates_key_is_now_disabled 239s === CONT TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 239s === CONT TestApplyPolicy/User_updates_with_different_value 239s === CONT TestApplyPolicy/New_user 239s === CONT TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 239s === CONT TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 239s === CONT TestApplyPolicy/No_surrounding_brackets_ai 239s === CONT TestApplyPolicy/Error_when_machine_db_does_not_exist 239s === CONT TestApplyPolicy/Multi-lines_ai_mixed_with_comma 239s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 239s === CONT TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 239s === CONT TestNormalize/as_without_leading_[ 239s === CONT TestNormalize/one_escaped_quote 239s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 239s === CONT TestNormalize/simple_as_with_no_spaces 239s === CONT TestNormalize/simple_quoted_as 239s === CONT TestNormalize/yes_transformed_to_boolean 239s === CONT TestNormalize/simple_ai_with_no_spaces 239s === CONT TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 239s === CONT TestNormalize/as_with_leading_and_ending_spaces_and__[] 239s === CONT TestNormalize/non_supported_is_reported_as_is 239s === CONT TestNormalize/off_transformed_to_boolean 239s === CONT TestNormalize/Multi-lines_as_unquoted 239s === CONT TestNormalize/as_with_weird_composition_inception_will_be_quoted 239s === CONT TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 239s === CONT TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 239s === CONT TestNormalize/no_transformed_to_boolean 239s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 239s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 239s === CONT TestNormalize/Multi-lines_as_with_spaces_inside 239s === CONT TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 239s === CONT TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 239s === CONT TestNormalize/Multi-lines_ai 239s === CONT TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 239s === CONT TestNormalize/Multi-lines_ai_with_spaces_inside 239s === CONT TestNormalize/Multi-lines_as_quoted 239s === CONT TestNormalize/with_spaces 239s === CONT TestNormalize/string_with_multiple_backslashes_escaped_quotes 239s === CONT TestNormalize/quoted_string_with_quotes 239s === CONT TestNormalize/unmanaged_types_are_returned_as_is 239s === CONT TestNormalize/ai_with_spaces_inside 239s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 239s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 239s === CONT TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 239s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 239s === CONT TestNormalize/simple_unquoted_as 239s === CONT TestNormalize/weird_case_false 239s === CONT TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 239s === CONT TestNormalize/n_transformed_to_boolean 239s === CONT TestNormalize/empty_unquoted_string 239s === CONT TestNormalize/one_quote 239s === CONT TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 239s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and__[] 239s === CONT TestNormalize/Multi-lines_as_with_explicit_empty_element 239s === CONT TestNormalize/Multi-lines_as_with_quoted_','_is_supported 239s === CONT TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 239s === CONT TestNormalize/as_empty_elements_separated_with_commas_are_kept 239s === CONT TestNormalize/simple_boolean_true 239s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 239s === CONT TestNormalize/simple_quoted_string 239s === CONT TestNormalize/simple_boolean_false 239s === CONT TestNormalize/on_transformed_to_boolean 239s === CONT TestNormalize/string_with_escaped_quotes 239s === CONT TestNormalize/ai_without_ending_] 239s === CONT TestNormalize/as_without_ending_] 239s === CONT TestNormalize/as_with_spaces_inside 239s === CONT TestNormalize/simple_unquoted_string 239s === CONT TestNormalize/empty_quoted_string 239s === CONT TestNormalize/ai_empty_elements_separated_with_commas_are_kept 239s === CONT TestNormalize/simple_ai 239s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 239s === CONT TestNormalize/as_simple_quoted_as_with_spaces 239s === CONT TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 239s === CONT TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 239s === CONT TestNormalize/y_transformed_to_boolean 239s === CONT TestNormalize/unquoted_string_with_quotes 239s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 239s === CONT TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 239s === CONT TestNormalize/string_with_two_backslashes_don’t_escape_quotes 239s === CONT TestNormalize/weird_case_true 239s === CONT TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 239s === CONT TestNormalize/ai_without_leading_[ 239s === CONT TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 239s --- PASS: TestNormalize (0.01s) 239s --- PASS: TestNormalize/as_without_leading_[ (0.00s) 239s --- PASS: TestNormalize/one_escaped_quote (0.00s) 239s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] (0.00s) 239s --- PASS: TestNormalize/simple_as_with_no_spaces (0.00s) 239s --- PASS: TestNormalize/simple_quoted_as (0.00s) 239s --- PASS: TestNormalize/yes_transformed_to_boolean (0.00s) 239s --- PASS: TestNormalize/simple_ai_with_no_spaces (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split (0.00s) 239s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and__[] (0.00s) 239s --- PASS: TestNormalize/non_supported_is_reported_as_is (0.00s) 239s --- PASS: TestNormalize/off_transformed_to_boolean (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_unquoted (0.00s) 239s --- PASS: TestNormalize/as_with_weird_composition_inception_will_be_quoted (0.00s) 239s --- PASS: TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result (0.00s) 239s --- PASS: TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result (0.00s) 239s --- PASS: TestNormalize/no_transformed_to_boolean (0.00s) 239s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_spaces_inside (0.00s) 239s --- PASS: TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element (0.00s) 239s --- PASS: TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets (0.00s) 239s --- PASS: TestNormalize/Multi-lines_ai (0.00s) 239s --- PASS: TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result (0.00s) 239s --- PASS: TestNormalize/Multi-lines_ai_with_spaces_inside (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_quoted (0.00s) 239s --- PASS: TestNormalize/with_spaces (0.00s) 239s --- PASS: TestNormalize/string_with_multiple_backslashes_escaped_quotes (0.00s) 239s --- PASS: TestNormalize/quoted_string_with_quotes (0.00s) 239s --- PASS: TestNormalize/unmanaged_types_are_returned_as_is (0.00s) 239s --- PASS: TestNormalize/ai_with_spaces_inside (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 239s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and_no_[] (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted (0.00s) 239s --- PASS: TestNormalize/simple_unquoted_as (0.00s) 239s --- PASS: TestNormalize/weird_case_false (0.00s) 239s --- PASS: TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result (0.00s) 239s --- PASS: TestNormalize/n_transformed_to_boolean (0.00s) 239s --- PASS: TestNormalize/empty_unquoted_string (0.00s) 239s --- PASS: TestNormalize/one_quote (0.00s) 239s --- PASS: TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element (0.00s) 239s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and__[] (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_explicit_empty_element (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_quoted_','_is_supported (0.00s) 239s --- PASS: TestNormalize/as_partially_quoted_can_lead_to_unexpect_result (0.00s) 239s --- PASS: TestNormalize/as_empty_elements_separated_with_commas_are_kept (0.00s) 239s --- PASS: TestNormalize/simple_boolean_true (0.00s) 239s --- PASS: TestNormalize/simple_quoted_string (0.00s) 239s --- PASS: TestNormalize/simple_boolean_false (0.00s) 239s --- PASS: TestNormalize/on_transformed_to_boolean (0.00s) 239s --- PASS: TestNormalize/string_with_escaped_quotes (0.00s) 239s --- PASS: TestNormalize/ai_without_ending_] (0.00s) 239s --- PASS: TestNormalize/as_without_ending_] (0.00s) 239s --- PASS: TestNormalize/as_with_spaces_inside (0.00s) 239s --- PASS: TestNormalize/simple_unquoted_string (0.00s) 239s --- PASS: TestNormalize/empty_quoted_string (0.00s) 239s --- PASS: TestNormalize/ai_empty_elements_separated_with_commas_are_kept (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_quoted (0.00s) 239s --- PASS: TestNormalize/simple_ai (0.00s) 239s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 239s --- PASS: TestNormalize/as_simple_quoted_as_with_spaces (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements (0.00s) 239s --- PASS: TestNormalize/y_transformed_to_boolean (0.00s) 239s --- PASS: TestNormalize/unquoted_string_with_quotes (0.00s) 239s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 239s --- PASS: TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string (0.00s) 239s --- PASS: TestNormalize/string_with_two_backslashes_don’t_escape_quotes (0.00s) 239s --- PASS: TestNormalize/weird_case_true (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements (0.00s) 239s --- PASS: TestNormalize/ai_without_leading_[ (0.00s) 239s --- PASS: TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets (0.00s) 239s --- PASS: TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split (0.00s) 239s --- PASS: TestApplyPolicy (0.00s) 239s --- PASS: TestApplyPolicy/Multiple_sections_with_disabled_keys (0.07s) 239s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_as (0.10s) 239s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_machine (0.12s) 239s --- PASS: TestApplyPolicy/No_policy_still_generates_a_valid_db (0.14s) 239s --- PASS: TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition (0.14s) 239s --- PASS: TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order (0.14s) 239s --- PASS: TestApplyPolicy/Error_on_invalid_type (0.03s) 239s --- PASS: TestApplyPolicy/Machine_updates_existing_value (0.08s) 239s --- PASS: TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values (0.07s) 239s --- PASS: TestApplyPolicy/Multiple_keys_same_category (0.18s) 239s --- PASS: TestApplyPolicy/Error_on_empty_meta (0.05s) 239s --- PASS: TestApplyPolicy/Multi-lines_as (0.19s) 239s --- PASS: TestApplyPolicy/Missing_user_compiled_db_for_user (0.06s) 239s --- PASS: TestApplyPolicy/Update_machine_disabled_key_with_value (0.06s) 239s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db_append_them (0.06s) 239s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed (0.07s) 239s --- PASS: TestApplyPolicy/Do_not_update_other_files_from_db (0.06s) 239s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_user (0.12s) 239s --- PASS: TestApplyPolicy/Update_existing_correct_profile_stays_unchanged (0.19s) 239s --- PASS: TestApplyPolicy/Quoted_b (0.08s) 239s --- PASS: TestApplyPolicy/Quoted_i (0.19s) 239s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as (0.13s) 239s --- PASS: TestApplyPolicy/Unquoted_string (0.23s) 239s --- PASS: TestApplyPolicy/Machine_updates_key_is_now_disabled (0.11s) 239s --- PASS: TestApplyPolicy/Machine_updates_with_different_value (0.09s) 239s --- PASS: TestApplyPolicy/User_updates_existing_value (0.17s) 239s --- PASS: TestApplyPolicy/No_surrounding_brackets_multiple_ai (0.12s) 239s --- PASS: TestApplyPolicy/Multi-lines_ai (0.12s) 239s --- PASS: TestApplyPolicy/First_boot (0.08s) 239s --- PASS: TestApplyPolicy/Error_on_invalid_ai (0.06s) 239s --- PASS: TestApplyPolicy/No_update_when_no_change (0.10s) 239s --- PASS: TestApplyPolicy/Normalized_canonical_form_for_each_supported_key (0.22s) 239s --- PASS: TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions (0.10s) 239s --- PASS: TestApplyPolicy/Update_user_disabled_key_with_value (0.13s) 239s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_as (0.16s) 239s --- PASS: TestApplyPolicy/Multiple_sections (0.13s) 239s --- PASS: TestApplyPolicy/User_updates_key_is_now_disabled (0.11s) 239s --- PASS: TestApplyPolicy/Error_when_machine_db_does_not_exist (0.00s) 239s --- PASS: TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections (0.02s) 239s --- PASS: TestApplyPolicy/Do_not_interfere_with_other_user_profile (0.18s) 239s --- PASS: TestApplyPolicy/New_user (0.08s) 239s --- PASS: TestApplyPolicy/User_updates_with_different_value (0.17s) 239s --- PASS: TestApplyPolicy/Multi-lines_as_mixed_with_comma (0.21s) 239s --- PASS: TestApplyPolicy/No_surrounding_brackets_ai (0.10s) 239s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as (0.09s) 239s --- PASS: TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type (0.06s) 239s --- PASS: TestApplyPolicy/Multi-lines_ai_mixed_with_comma (0.10s) 239s --- PASS: TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed (0.11s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/policies/dconf 0.736s 239s === RUN TestApplyPolicy 239s === PAUSE TestApplyPolicy 239s === CONT TestApplyPolicy 239s === RUN TestApplyPolicy/dconf_policy 239s === PAUSE TestApplyPolicy/dconf_policy 239s === CONT TestApplyPolicy/dconf_policy 239s --- PASS: TestApplyPolicy (0.00s) 239s --- PASS: TestApplyPolicy/dconf_policy (0.15s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/policies/gdm 0.188s 239s === RUN TestParseEntryValues 239s === PAUSE TestParseEntryValues 239s === RUN TestWriteFileWithUIDGID 239s === PAUSE TestWriteFileWithUIDGID 239s === RUN TestCreateUnits 239s === PAUSE TestCreateUnits 239s === RUN TestNew 239s === PAUSE TestNew 239s === RUN TestApplyPolicy 239s === PAUSE TestApplyPolicy 239s === CONT TestParseEntryValues 239s === RUN TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 239s === PAUSE TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 239s === RUN TestParseEntryValues/Parse_values_from_entry_with_one_value 239s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_one_value 239s === RUN TestParseEntryValues/Parse_values_from_entry_with_multiple_values 239s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_multiple_values 239s === RUN TestParseEntryValues/Parse_values_from_entry_with_repeated_values 239s === CONT TestNew 239s === RUN TestNew/Creates_manager_successfully 239s === PAUSE TestNew/Creates_manager_successfully 239s === RUN TestNew/Error_when_runDir_has_invalid_permissions 239s === PAUSE TestNew/Error_when_runDir_has_invalid_permissions 239s === RUN TestNew/Error_when_systemUnitDir_has_invalid_permissions 239s === PAUSE TestNew/Error_when_systemUnitDir_has_invalid_permissions 239s === CONT TestNew/Creates_manager_successfully 239s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_repeated_values 239s === CONT TestWriteFileWithUIDGID 239s === CONT TestApplyPolicy 239s === RUN TestParseEntryValues/Parse_values_trimming_whitespaces 239s === PAUSE TestParseEntryValues/Parse_values_trimming_whitespaces 239s === RUN TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 239s === PAUSE TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 239s === RUN TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 239s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 239s === RUN TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 239s === PAUSE TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 239s === CONT TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 239s === CONT TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 239s === CONT TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 239s === CONT TestParseEntryValues/Parse_values_from_entry_with_repeated_values 239s === CONT TestCreateUnits 239s === RUN TestCreateUnits/Write_single_unit 239s === PAUSE TestCreateUnits/Write_single_unit 239s === RUN TestCreateUnits/Write_multiple_units 239s === PAUSE TestCreateUnits/Write_multiple_units 239s === RUN TestCreateUnits/Write_krb5_tagged_unit 239s === PAUSE TestCreateUnits/Write_krb5_tagged_unit 239s === CONT TestParseEntryValues/Parse_values_trimming_whitespaces 239s === RUN TestWriteFileWithUIDGID/Error_when_invalid_gid 239s === CONT TestParseEntryValues/Parse_values_from_entry_with_multiple_values 239s === CONT TestNew/Error_when_runDir_has_invalid_permissions 239s === RUN TestApplyPolicy/Error_when_enabling_new_units_fails 239s === PAUSE TestApplyPolicy/Error_when_enabling_new_units_fails 239s === RUN TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 239s === PAUSE TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 239s === RUN TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 239s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 239s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 239s === CONT TestNew/Error_when_systemUnitDir_has_invalid_permissions 239s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 239s === RUN TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 239s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 239s === RUN TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 239s === PAUSE TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 239s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 239s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 239s === RUN TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 239s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 239s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 239s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 239s === RUN TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 239s === PAUSE TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 239s === RUN TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 239s === PAUSE TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 239s === RUN TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 239s === PAUSE TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 239s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 239s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 239s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 239s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 239s === RUN TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 239s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_gid 239s === RUN TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 239s === PAUSE TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 239s === RUN TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 239s === PAUSE TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 239s === RUN TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 239s === PAUSE TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 239s === RUN TestWriteFileWithUIDGID/Error_when_invalid_uid 239s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_uid 239s === CONT TestParseEntryValues/Parse_values_from_entry_with_one_value 239s === CONT TestCreateUnits/Write_krb5_tagged_unit 239s === CONT TestCreateUnits/Write_single_unit 239s === CONT TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 239s === PAUSE TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 239s --- PASS: TestParseEntryValues (0.00s) 239s --- PASS: TestParseEntryValues/Parse_values_trimming_whitespaces (0.00s) 239s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags (0.00s) 239s --- PASS: TestParseEntryValues/Parse_values_trimming_sequential_linebreaks (0.00s) 239s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_multiple_values (0.00s) 239s --- PASS: TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values (0.00s) 239s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_repeated_values (0.00s) 239s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_one_value (0.00s) 239s --- PASS: TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty (0.00s) 239s === CONT TestCreateUnits/Write_multiple_units 239s === RUN TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 239s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 239s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 239s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 239s === RUN TestApplyPolicy/Error_when_entry_is_errored 239s === PAUSE TestApplyPolicy/Error_when_entry_is_errored 239s === RUN TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 239s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 239s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 239s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 239s === RUN TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 239s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 239s === RUN TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 239s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 239s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 239s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 239s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 239s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 239s === RUN TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 239s === PAUSE TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 239s === RUN TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 239s === PAUSE TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 239s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 239s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 239s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 239s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 239s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 239s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 239s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 239s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 239s === RUN TestApplyPolicy/Error_when_user_is_not_found 239s === PAUSE TestApplyPolicy/Error_when_user_is_not_found 239s === RUN TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 239s === PAUSE TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 239s === RUN TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 239s === PAUSE TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 239s === RUN TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 239s === PAUSE TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 239s === RUN TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 239s === PAUSE TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 239s === RUN TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 239s === PAUSE TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 239s === RUN TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 239s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 239s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 239s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 239s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 239s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 239s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 239s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 239s === RUN TestApplyPolicy/Error_when_user_has_invalid_uid 239s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_uid 239s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 239s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 239s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 239s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 239s === RUN TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 239s === PAUSE TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 239s === RUN TestApplyPolicy/Error_when_daemon-reload_fails 239s === PAUSE TestApplyPolicy/Error_when_daemon-reload_fails 239s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 239s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 239s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 239s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 239s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 239s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 239s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 239s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 239s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 239s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 239s === RUN TestApplyPolicy/Error_when_user_has_invalid_gid 239s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_gid 239s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 239s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 239s === CONT TestWriteFileWithUIDGID/Error_when_invalid_gid 239s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 239s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 239s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 239s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 239s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 239s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 239s === CONT TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 239s === CONT TestWriteFileWithUIDGID/Error_when_invalid_uid 239s === CONT TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 239s === CONT TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 239s === CONT TestApplyPolicy/Error_when_enabling_new_units_fails 239s --- PASS: TestNew (0.00s) 239s --- PASS: TestNew/Creates_manager_successfully (0.07s) 239s --- PASS: TestNew/Error_when_runDir_has_invalid_permissions (0.08s) 239s --- PASS: TestNew/Error_when_systemUnitDir_has_invalid_permissions (0.09s) 239s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 239s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 239s --- PASS: TestCreateUnits (0.00s) 239s --- PASS: TestCreateUnits/Write_krb5_tagged_unit (0.07s) 239s --- PASS: TestCreateUnits/Write_single_unit (0.10s) 239s --- PASS: TestCreateUnits/Write_multiple_units (0.10s) 239s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 239s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 239s === CONT TestApplyPolicy/Error_when_user_has_invalid_gid 239s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 239s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-path-mount.mount\": failed to start unit" 239s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 239s --- PASS: TestWriteFileWithUIDGID (0.00s) 239s --- PASS: TestWriteFileWithUIDGID/Write_file_with_current_user_ownership (0.07s) 239s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_gid (0.09s) 239s --- PASS: TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory (0.03s) 239s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_uid (0.04s) 239s --- PASS: TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions (0.09s) 239s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 239s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 239s === CONT TestApplyPolicy/Error_when_daemon-reload_fails 239s === CONT TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 239s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 239s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 239s === CONT TestApplyPolicy/Error_when_user_has_invalid_uid 239s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 239s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 239s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mounpath.mount\": failed to start unit" 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 239s === CONT TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s === CONT TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 239s === CONT TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 239s === CONT TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 239s === CONT TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 239s === CONT TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 239s === CONT TestApplyPolicy/Error_when_user_is_not_found 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-fuse-completelydifferent.com-different-path.mount\": failed to start unit" 239s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s === CONT TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 239s time="2025-06-17T13:17:50Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="Failed to stop unit \"adsys-protocol-domain.com-mountpath.mount\": failed to stop unit" 239s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 239s === CONT TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s === CONT TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 239s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 239s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s === CONT TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 239s === CONT TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 239s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 239s === CONT TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 239s === CONT TestApplyPolicy/Error_when_entry_is_errored 239s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 239s === CONT TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 239s === CONT TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 239s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 239s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-cifs-authenticated.com-authenticated-mount.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-nfs-krb_domain.com-mount-krb_path.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s === CONT TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 239s === CONT TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 239s === CONT TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 239s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 239s === CONT TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 239s === CONT TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 239s time="2025-06-17T13:17:51Z" level=warning msg="The location \"[krb5]nfs://domain/untagged_first\" was already set up to be mounted with different options or authentication. The first provided value \"nfs://domain/untagged_first\" will be used instead." 239s time="2025-06-17T13:17:51Z" level=warning msg="The location \"nfs://domain/tagged_first\" was already set up to be mounted with different options or authentication. The first provided value \"[krb5]nfs://domain/tagged_first\" will be used instead." 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 239s === CONT TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 239s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-nfs-domain-untagged_first.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="failed to start unit \"adsys-nfs-domain-tagged_first.mount\": failed to start unit" 239s time="2025-06-17T13:17:51Z" level=warning msg="The location \"[krb5]nfs://domain/untagged_first\" was already set up to be mounted with different options or authentication. The first provided value \"nfs://domain/untagged_first\" will be used instead." 239s time="2025-06-17T13:17:51Z" level=warning msg="The location \"nfs://domain/tagged_first\" was already set up to be mounted with different options or authentication. The first provided value \"[krb5]nfs://domain/tagged_first\" will be used instead." 239s === CONT TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 239s --- PASS: TestApplyPolicy (0.00s) 239s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value (0.01s) 239s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_gid (0.01s) 239s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty (0.07s) 239s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values (0.07s) 239s --- PASS: TestApplyPolicy/Error_when_enabling_new_units_fails (0.09s) 239s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks (0.07s) 239s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values (0.01s) 239s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry (0.07s) 239s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory (0.08s) 239s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_uid (0.00s) 239s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces (0.11s) 239s --- PASS: TestApplyPolicy/Error_when_daemon-reload_fails (0.04s) 239s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks (0.00s) 239s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys (0.01s) 239s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory (0.06s) 239s --- PASS: TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored (0.00s) 239s --- PASS: TestApplyPolicy/Error_when_creating_units_with_bad_entry_values (0.00s) 239s --- PASS: TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions (0.06s) 239s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces (0.07s) 239s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.06s) 239s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails (0.00s) 239s --- PASS: TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory (0.05s) 239s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails (0.00s) 239s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry (0.09s) 239s --- PASS: TestApplyPolicy/Error_when_user_is_not_found (0.05s) 239s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry (0.09s) 239s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values (0.12s) 239s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries (0.00s) 239s --- PASS: TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values (0.08s) 239s --- PASS: TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails (0.04s) 239s --- PASS: TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.09s) 239s --- PASS: TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value (0.04s) 239s --- PASS: TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir (0.08s) 239s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key (0.06s) 239s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value (0.04s) 239s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys (0.05s) 239s --- PASS: TestApplyPolicy/Error_when_entry_is_errored (0.04s) 239s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry (0.12s) 239s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries (0.10s) 239s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.04s) 239s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty (0.05s) 239s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries (0.04s) 239s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags (0.10s) 239s --- PASS: TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled (0.02s) 239s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled (0.01s) 239s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values (0.10s) 239s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.03s) 239s --- PASS: TestApplyPolicy/System,_does_nothing_if_there_are_no_entries (0.03s) 239s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user (0.04s) 239s --- PASS: TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry (0.05s) 239s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values (0.09s) 239s --- PASS: TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir (0.01s) 239s --- PASS: TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.05s) 239s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.02s) 239s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries (0.02s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/policies/mount 0.532s 239s === RUN TestSplitAndNormalizeUsersAndGroups 239s === PAUSE TestSplitAndNormalizeUsersAndGroups 239s === RUN TestGetSystemPolkitAdminIdentities 239s === PAUSE TestGetSystemPolkitAdminIdentities 239s === RUN TestApplyPolicy 239s === PAUSE TestApplyPolicy 239s === CONT TestSplitAndNormalizeUsersAndGroups 239s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 239s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_? 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_? 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_< 239s === CONT TestApplyPolicy 239s === CONT TestGetSystemPolkitAdminIdentities 239s === RUN TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 239s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 239s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 239s === RUN TestApplyPolicy/No_rules_still_overwrite_those_files 239s === PAUSE TestApplyPolicy/No_rules_still_overwrite_those_files 239s === RUN TestApplyPolicy/Not_a_computer 239s === PAUSE TestApplyPolicy/Not_a_computer 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_< 239s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 239s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_: 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_: 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_> 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_> 239s === RUN TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 239s === PAUSE TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 239s === RUN TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 239s === PAUSE TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 239s === RUN TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 239s === PAUSE TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 239s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 239s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 239s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 239s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 239s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 239s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 239s === RUN TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 239s === PAUSE TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 239s === CONT TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 239s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 239s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 239s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 239s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 239s === RUN TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 239s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 239s === RUN TestApplyPolicy/Error_on_writing_to_polkit_conf_file 239s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_conf_file 239s === RUN TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 239s === PAUSE TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 239s === RUN TestSplitAndNormalizeUsersAndGroups/Group_one_value 239s === CONT TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Group_one_value 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_= 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_= 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_* 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_* 239s === RUN TestSplitAndNormalizeUsersAndGroups/Simple_one_value 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Simple_one_value 239s === RUN TestSplitAndNormalizeUsersAndGroups/User_name_with_space 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/User_name_with_space 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_% 239s === RUN TestApplyPolicy/Set_client_user_admins 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_% 239s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value 239s === CONT TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value 239s === RUN TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 239s === PAUSE TestApplyPolicy/Set_client_user_admins 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 239s === RUN TestApplyPolicy/No_client_AD_admins 239s === PAUSE TestApplyPolicy/No_client_AD_admins 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_; 239s === RUN TestApplyPolicy/Disallow_local_admins_and_set_client_admins 239s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_; 239s === PAUSE TestApplyPolicy/Disallow_local_admins_and_set_client_admins 239s === RUN TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 239s === PAUSE TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 239s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 239s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 239s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 239s === RUN TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 239s === PAUSE TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 239s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 239s === RUN TestApplyPolicy/Set_client_group_admins 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 239s === PAUSE TestApplyPolicy/Set_client_group_admins 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_] 239s === RUN TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_] 239s === PAUSE TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 239s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_| 239s === RUN TestApplyPolicy/Overwrite_existing_sudoers_file 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_| 239s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 239s === PAUSE TestApplyPolicy/Overwrite_existing_sudoers_file 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 239s === RUN TestApplyPolicy/Overwrite_existing_polkit_file 239s === PAUSE TestApplyPolicy/Overwrite_existing_polkit_file 239s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 239s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 239s === RUN TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 239s === PAUSE TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 239s === RUN TestApplyPolicy/Disallow_local_admins 239s === PAUSE TestApplyPolicy/Disallow_local_admins 239s === RUN TestApplyPolicy/Set_client_multiple_users_admins 239s === PAUSE TestApplyPolicy/Set_client_multiple_users_admins 239s === RUN TestApplyPolicy/Empty_client_AD_admins 239s === PAUSE TestApplyPolicy/Empty_client_AD_admins 239s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 239s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 239s === RUN TestApplyPolicy/Don't_overwrite_other_existing_files 239s === PAUSE TestApplyPolicy/Don't_overwrite_other_existing_files 239s === RUN TestApplyPolicy/Error_on_writing_to_sudoers_file 239s === PAUSE TestApplyPolicy/Error_on_writing_to_sudoers_file 239s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 239s time="2025-06-17T13:17:50Z" 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." 239s --- PASS: TestGetSystemPolkitAdminIdentities (0.00s) 239s --- PASS: TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists (0.00s) 239s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file (0.00s) 239s --- PASS: TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure (0.00s) 239s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys (0.00s) 239s --- PASS: TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored (0.00s) 239s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities (0.00s) 239s === CONT TestApplyPolicy/Set_client_group_admins 239s === CONT TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 239s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 239s === CONT TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 239s === CONT TestApplyPolicy/Disallow_local_admins_and_set_client_admins 239s === CONT TestApplyPolicy/No_client_AD_admins 239s === CONT TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 239s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 239s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 239s === CONT TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 239s === CONT TestApplyPolicy/Set_client_user_admins 239s === CONT TestApplyPolicy/Disallow_local_admins 239s === CONT TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 239s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 239s time="2025-06-17T13:17:50Z" level=warning msg="/tmp/TestApplyPolicyError_if_cant_rename_to_destination_for_polkit_conf_file2639239942/001/polkit-1/localauthority.conf.d/99-adsys-privilege-enforcement.conf is a directory. Ignoring." 239s === CONT TestApplyPolicy/Overwrite_existing_polkit_file 239s === CONT TestApplyPolicy/Overwrite_existing_sudoers_file 239s === CONT TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 239s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 239s === CONT TestApplyPolicy/Empty_client_AD_admins 239s === CONT TestApplyPolicy/Set_client_multiple_users_admins 239s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"domain\\\\bob\" to \"bob@domain\": Invalid characters or domain\\user format" 239s === CONT TestApplyPolicy/Error_on_writing_to_sudoers_file 239s === CONT TestApplyPolicy/Don't_overwrite_other_existing_files 239s === CONT TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 239s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 239s === CONT TestApplyPolicy/Not_a_computer 239s === CONT TestApplyPolicy/No_rules_still_overwrite_those_files 239s === CONT TestApplyPolicy/Error_on_writing_to_polkit_conf_file 239s === CONT TestSplitAndNormalizeUsersAndGroups/User_name_with_space 239s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"domain\\\\user\\\\foo\" to \"userfoo@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 239s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_| 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u|s|er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_] 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u]s]er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 239s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u/s/er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 239s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_; 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u;s;er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"domain\\\\user\" to \"user@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value 239s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_% 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u%s%er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u[s]er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 239s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_: 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u:s:er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 239s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_? 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u?s?er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 239s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_< 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u 239s time="2025-06-17T13:17:50Z" level=warning msg="Changed user or group \"u>s>er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 239s --- PASS: TestSplitAndNormalizeUsersAndGroups (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/User_name_with_space (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_| (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_] (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_/ (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_; (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Handle_domain\user (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_% (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_[ (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_: (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_? (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_< (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_= (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Simple_one_value (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_* (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Group_one_value (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_empty_values (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma (0.00s) 239s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_> (0.00s) 239s --- PASS: TestApplyPolicy (0.00s) 239s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file (0.00s) 239s --- PASS: TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory (0.02s) 239s --- PASS: TestApplyPolicy/No_client_AD_admins (0.03s) 239s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation (0.03s) 239s --- PASS: TestApplyPolicy/Set_client_user_admins (0.00s) 239s --- PASS: TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins (0.03s) 239s --- PASS: TestApplyPolicy/Overwrite_existing_polkit_file (0.00s) 239s --- PASS: TestApplyPolicy/Overwrite_existing_sudoers_file (0.00s) 239s --- PASS: TestApplyPolicy/Set_client_group_admins (0.07s) 239s --- PASS: TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop (0.08s) 239s --- PASS: TestApplyPolicy/Empty_client_AD_admins (0.01s) 239s --- PASS: TestApplyPolicy/No_rules_and_no_existing_history_means_no_files (0.06s) 239s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins (0.09s) 239s --- PASS: TestApplyPolicy/Set_client_mixed_with_users_and_group_admins (0.07s) 239s --- PASS: TestApplyPolicy/Disallow_local_admins (0.09s) 239s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file (0.11s) 239s --- PASS: TestApplyPolicy/Disallow_local_admins_and_set_client_admins (0.14s) 239s --- PASS: TestApplyPolicy/Error_on_writing_to_sudoers_file (0.07s) 239s --- PASS: TestApplyPolicy/Don't_overwrite_other_existing_files (0.09s) 239s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.07s) 239s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins (0.11s) 239s --- PASS: TestApplyPolicy/Set_client_multiple_users_admins (0.11s) 239s --- PASS: TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.09s) 239s --- PASS: TestApplyPolicy/No_rules_still_overwrite_those_files (0.06s) 239s --- PASS: TestApplyPolicy/Not_a_computer (0.06s) 239s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_conf_file (0.04s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/policies/privilege 0.255s 239s === RUN TestApplyPolicy 239s === PAUSE TestApplyPolicy 239s === RUN TestWarnOnUnsupportedKeys 239s --- PASS: TestWarnOnUnsupportedKeys (0.00s) 239s === RUN TestWarnOnMissingDBusService 239s --- PASS: TestWarnOnMissingDBusService (0.00s) 239s === CONT TestApplyPolicy 239s === RUN TestApplyPolicy/Error_when_D-Bus_call_fails 239s === PAUSE TestApplyPolicy/Error_when_D-Bus_call_fails 239s === RUN TestApplyPolicy/Computer,_no_entries 239s === PAUSE TestApplyPolicy/Computer,_no_entries 239s === RUN TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 239s === PAUSE TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 239s === RUN TestApplyPolicy/User,_no_entries 239s === PAUSE TestApplyPolicy/User,_no_entries 239s === RUN TestApplyPolicy/Computer,_single_enabled_entry 239s === PAUSE TestApplyPolicy/Computer,_single_enabled_entry 239s === RUN TestApplyPolicy/Computer,_single_disabled_entry 239s === PAUSE TestApplyPolicy/Computer,_single_disabled_entry 239s === RUN TestApplyPolicy/Computer,_all_entries_set 239s === PAUSE TestApplyPolicy/Computer,_all_entries_set 239s === RUN TestApplyPolicy/User,_non-empty_entries 239s === PAUSE TestApplyPolicy/User,_non-empty_entries 239s === CONT TestApplyPolicy/Error_when_D-Bus_call_fails 239s === CONT TestApplyPolicy/Computer,_single_enabled_entry 239s === CONT TestApplyPolicy/User,_non-empty_entries 239s === CONT TestApplyPolicy/Computer,_all_entries_set 239s === CONT TestApplyPolicy/Computer,_single_disabled_entry 239s === CONT TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 239s === CONT TestApplyPolicy/User,_no_entries 239s === CONT TestApplyPolicy/Computer,_no_entries 239s --- PASS: TestApplyPolicy (0.08s) 239s --- PASS: TestApplyPolicy/Error_when_D-Bus_call_fails (0.00s) 239s --- PASS: TestApplyPolicy/Computer,_single_enabled_entry (0.00s) 239s --- PASS: TestApplyPolicy/Computer,_single_disabled_entry (0.00s) 239s --- PASS: TestApplyPolicy/User,_non-empty_entries (0.00s) 239s --- PASS: TestApplyPolicy/Computer,_all_entries_set (0.00s) 239s --- PASS: TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error (0.00s) 239s --- PASS: TestApplyPolicy/User,_no_entries (0.00s) 239s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/policies/proxy 0.146s 239s === RUN TestNew 239s === PAUSE TestNew 239s === RUN TestApplyPolicy 239s === PAUSE TestApplyPolicy 239s === RUN TestRunScripts 239s === PAUSE TestRunScripts 239s === CONT TestNew 239s === RUN TestNew/create_manager 239s === PAUSE TestNew/create_manager 239s === RUN TestNew/error_on_read_only_rundir 239s === CONT TestRunScripts 239s === RUN TestRunScripts/has_no_session_running_flag_after_user_logoff 239s === PAUSE TestRunScripts/has_no_session_running_flag_after_user_logoff 239s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 239s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 239s === RUN TestRunScripts/error_on_argument_not_a_file 239s === PAUSE TestRunScripts/error_on_argument_not_a_file 239s === RUN TestRunScripts/multiple_scripts_are_run_in_order 239s === PAUSE TestRunScripts/multiple_scripts_are_run_in_order 239s === RUN TestRunScripts/scripts_referenced_in_subdirectories 239s === PAUSE TestRunScripts/scripts_referenced_in_subdirectories 239s === RUN TestRunScripts/keeps_running_flag_after_non_user_logoff 239s === PAUSE TestRunScripts/keeps_running_flag_after_non_user_logoff 239s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 239s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 239s === RUN TestRunScripts/allow_order_file_missing 239s === PAUSE TestRunScripts/allow_order_file_missing 239s === RUN TestRunScripts/one_script 239s === CONT TestApplyPolicy 239s === PAUSE TestRunScripts/one_script 239s === PAUSE TestNew/error_on_read_only_rundir 239s === CONT TestNew/create_manager 239s === RUN TestRunScripts/scripts_that_are_not_executable_are_skipped 239s === PAUSE TestRunScripts/scripts_that_are_not_executable_are_skipped 239s === RUN TestApplyPolicy/Subfolder_with_same_script_name 239s === RUN TestRunScripts/scripts_not_listed_are_not_run 239s === PAUSE TestRunScripts/scripts_not_listed_are_not_run 239s === RUN TestRunScripts/has_no_session_running_flag_after_machine_shutdown 239s === PAUSE TestRunScripts/has_no_session_running_flag_after_machine_shutdown 239s === RUN TestRunScripts/error_on_order_file_not_existing 239s === PAUSE TestRunScripts/error_on_order_file_not_existing 239s === RUN TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 239s === PAUSE TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 239s === RUN TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 239s === PAUSE TestApplyPolicy/Subfolder_with_same_script_name 239s === RUN TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 239s === PAUSE TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 239s === RUN TestApplyPolicy/Error_on_subfolder_listed 239s === PAUSE TestApplyPolicy/Error_on_subfolder_listed 239s === RUN TestApplyPolicy/Error_on_script_does_not_exist 239s === PAUSE TestApplyPolicy/Error_on_script_does_not_exist 239s === RUN TestApplyPolicy/Multiple_directories: 239s === PAUSE TestApplyPolicy/Multiple_directories: 239s === RUN TestApplyPolicy/Same_script_is_used_multiple_times 239s === PAUSE TestApplyPolicy/Same_script_is_used_multiple_times 239s === RUN TestApplyPolicy/One_directory,_multiple_scripts_in_order 239s === PAUSE TestApplyPolicy/One_directory,_multiple_scripts_in_order 239s === CONT TestNew/error_on_read_only_rundir 239s === PAUSE TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 239s === RUN TestRunScripts/keeps_running_flag_after_non_machine_shutdown 239s === PAUSE TestRunScripts/keeps_running_flag_after_non_machine_shutdown 239s === RUN TestRunScripts/spaces_and_empty_lines_are_skipped 239s === PAUSE TestRunScripts/spaces_and_empty_lines_are_skipped 239s === RUN TestRunScripts/error_on_not_ready_for_execution 239s === PAUSE TestRunScripts/error_on_not_ready_for_execution 239s === CONT TestRunScripts/has_no_session_running_flag_after_user_logoff 239s === CONT TestRunScripts/scripts_not_listed_are_not_run 239s === CONT TestRunScripts/keeps_running_flag_after_non_machine_shutdown 239s === RUN TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 239s === PAUSE TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 239s === RUN TestApplyPolicy/Destination_is_already_running,_no_change 239s === PAUSE TestApplyPolicy/Destination_is_already_running,_no_change 239s === RUN TestApplyPolicy/Destination_is_not_ready,_refreshing 239s === PAUSE TestApplyPolicy/Destination_is_not_ready,_refreshing 239s === RUN TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 239s === PAUSE TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 239s === RUN TestApplyPolicy/No_entries_update_existing_non_ready_folder 239s === PAUSE TestApplyPolicy/No_entries_update_existing_non_ready_folder 239s === RUN TestApplyPolicy/One_script 239s === PAUSE TestApplyPolicy/One_script 239s === RUN TestApplyPolicy/Empty_entries_are_discared 239s === PAUSE TestApplyPolicy/Empty_entries_are_discared 239s === RUN TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 239s === PAUSE TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 239s === RUN TestApplyPolicy/Error_on_invalid_UID 239s === PAUSE TestApplyPolicy/Error_on_invalid_UID 239s === RUN TestApplyPolicy/Error_on_user_lookup_failing 239s === PAUSE TestApplyPolicy/Error_on_user_lookup_failing 239s === RUN TestApplyPolicy/No_entries_is_an_empty_folder 239s === CONT TestRunScripts/error_on_not_ready_for_execution 239s === CONT TestRunScripts/spaces_and_empty_lines_are_skipped 239s === PAUSE TestApplyPolicy/No_entries_is_an_empty_folder 239s === RUN TestApplyPolicy/Subfolder_with_script 239s === PAUSE TestApplyPolicy/Subfolder_with_script 239s === RUN TestApplyPolicy/Error_on_users_run_directory_Read_Only 239s === PAUSE TestApplyPolicy/Error_on_users_run_directory_Read_Only 239s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 239s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 239s === RUN TestApplyPolicy/Error_on_invalid_GID 239s === PAUSE TestApplyPolicy/Error_on_invalid_GID 239s === RUN TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 239s === PAUSE TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 239s === RUN TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 239s === PAUSE TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 239s === CONT TestRunScripts/keeps_running_flag_after_non_user_logoff 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_not_ready_for_execution1073657356/001/users/foo/scripts/s\"" 239s === CONT TestRunScripts/scripts_that_are_not_executable_are_skipped 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_user_logoff276763269/001/users/foo/scripts/logoff\"" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsspaces_and_empty_lines_are_skipped2390391987/001/users/foo/scripts/s\"" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_not_listed_are_not_run2626271704/001/users/foo/scripts/s\"" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_user_logoff2453502314/001/machine/foo/scripts/logoff\"" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_machine_shutdown100863671/001/users/foo/scripts/shutdown\"" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped1099200857/001/users/foo/scripts/s\"" 239s time="2025-06-17T13:17:50Z" level=warning msg="\"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped1099200857/001/users/foo/scripts/scripts/notexecutable.sh\" failed to run\nfork/exec /tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped1099200857/001/users/foo/scripts/scripts/notexecutable.sh: permission denied" 239s --- PASS: TestNew (0.00s) 239s --- PASS: TestNew/error_on_read_only_rundir (0.02s) 239s --- PASS: TestNew/create_manager (0.07s) 239s === CONT TestRunScripts/one_script 239s === CONT TestRunScripts/allow_order_file_missing 239s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 239s === CONT TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsone_script3140503161/001/users/foo/scripts/s\"" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsallow_order_file_missing101917818/001/users/foo/scripts/s\"" 239s time="2025-06-17T13:17:50Z" level=info msg="\"/tmp/TestRunScriptsallow_order_file_missing101917818/001/users/foo/scripts/s\" doesn't exist, but allowed to be missing, skipping" 239s === CONT TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown1617363408/001/machine/foo/scripts/shutdown\"" 239s time="2025-06-17T13:17:50Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown1617363408/001/machine/foo/scripts/shutdown\" doesn't exist, but allowed to be missing, skipping" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_machine_shutdown4169438169/001/machine/foo/scripts/shutdown\"" 239s === CONT TestRunScripts/multiple_scripts_are_run_in_order 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsmultiple_scripts_are_run_in_order2531180842/001/users/foo/scripts/s\"" 239s === CONT TestRunScripts/scripts_referenced_in_subdirectories 239s === CONT TestRunScripts/error_on_order_file_not_existing 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_referenced_in_subdirectories3029993101/001/users/foo/scripts/s\"" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_order_file_not_existing4155871799/001/users/foo/scripts/s\"" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff3388575137/001/users/foo/scripts/logoff\"" 239s time="2025-06-17T13:17:50Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff3388575137/001/users/foo/scripts/logoff\" doesn't exist, but allowed to be missing, skipping" 239s === CONT TestRunScripts/has_no_session_running_flag_after_machine_shutdown 239s === CONT TestRunScripts/error_on_argument_not_a_file 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_machine_shutdown4231752024/001/machine/foo/scripts/shutdown\"" 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_argument_not_a_file373515703/001/users/foo/scripts/s\"" 239s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 239s === CONT TestApplyPolicy/Subfolder_with_same_script_name 239s === CONT TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 239s === CONT TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 239s === CONT TestApplyPolicy/Error_on_invalid_GID 239s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 239s time="2025-06-17T13:17:50Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_user_logoff4174692708/001/users/foo/scripts/logoff\"" 239s === CONT TestApplyPolicy/Error_on_users_run_directory_Read_Only 239s === CONT TestApplyPolicy/Subfolder_with_script 239s === CONT TestApplyPolicy/No_entries_is_an_empty_folder 239s === CONT TestApplyPolicy/Destination_is_already_running,_no_change 239s === CONT TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 239s time="2025-06-17T13:17:50Z" level=info msg="\"/tmp/TestApplyPolicyDestination_is_already_running,_no_change2639608171/001/machine/scripts/.running\" already exists, a session is already running, ignoring." 239s === CONT TestApplyPolicy/Destination_is_not_ready,_refreshing 239s === CONT TestApplyPolicy/Error_on_user_lookup_failing 239s === CONT TestApplyPolicy/Error_on_invalid_UID 239s === CONT TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 239s === CONT TestApplyPolicy/Empty_entries_are_discared 239s --- PASS: TestRunScripts (0.00s) 239s --- PASS: TestRunScripts/error_on_not_ready_for_execution (0.09s) 239s --- PASS: TestRunScripts/keeps_running_flag_after_non_machine_shutdown (0.09s) 239s --- PASS: TestRunScripts/scripts_not_listed_are_not_run (0.09s) 239s --- PASS: TestRunScripts/has_no_session_running_flag_after_user_logoff (0.10s) 239s --- PASS: TestRunScripts/spaces_and_empty_lines_are_skipped (0.13s) 239s --- PASS: TestRunScripts/keeps_running_flag_after_non_user_logoff (0.13s) 239s --- PASS: TestRunScripts/scripts_that_are_not_executable_are_skipped (0.12s) 239s --- PASS: TestRunScripts/allow_order_file_missing (0.08s) 239s --- PASS: TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown (0.08s) 239s --- PASS: TestRunScripts/error_on_order_file_not_existing (0.06s) 239s --- PASS: TestRunScripts/one_script (0.12s) 239s --- PASS: TestRunScripts/error_on_argument_not_a_file (0.02s) 239s --- PASS: TestRunScripts/multiple_scripts_are_run_in_order (0.07s) 239s --- PASS: TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff (0.11s) 239s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown (0.12s) 239s --- PASS: TestRunScripts/scripts_referenced_in_subdirectories (0.09s) 239s --- PASS: TestRunScripts/has_no_session_running_flag_after_machine_shutdown (0.07s) 239s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff (0.09s) 239s === CONT TestApplyPolicy/One_script 239s time="2025-06-17T13:17:51Z" level=info msg="Running machine startup scripts" 239s === CONT TestApplyPolicy/No_entries_update_existing_non_ready_folder 239s === CONT TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 239s === CONT TestApplyPolicy/Error_on_script_does_not_exist 239s time="2025-06-17T13:17:51Z" level=info msg="Running machine startup scripts" 239s === CONT TestApplyPolicy/Same_script_is_used_multiple_times 239s === CONT TestApplyPolicy/Multiple_directories: 239s === CONT TestApplyPolicy/Error_on_subfolder_listed 239s === CONT TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 239s === CONT TestApplyPolicy/One_directory,_multiple_scripts_in_order 239s --- PASS: TestApplyPolicy (0.00s) 239s --- PASS: TestApplyPolicy/Error_on_users_run_directory_Read_Only (0.02s) 239s --- PASS: TestApplyPolicy/No_entries_is_an_empty_folder (0.00s) 239s --- PASS: TestApplyPolicy/Error_on_invalid_GID (0.04s) 239s --- PASS: TestApplyPolicy/Destination_is_already_running,_no_change (0.02s) 239s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.07s) 239s --- PASS: TestApplyPolicy/Subfolder_with_same_script_name (0.08s) 239s --- PASS: TestApplyPolicy/Error_on_user_lookup_failing (0.00s) 239s --- PASS: TestApplyPolicy/Error_on_invalid_UID (0.01s) 239s --- PASS: TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update (0.14s) 239s --- PASS: TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) (0.11s) 239s --- PASS: TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing (0.16s) 239s --- PASS: TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails (0.03s) 239s --- PASS: TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update (0.12s) 239s --- PASS: TestApplyPolicy/Subfolder_with_script (0.17s) 239s --- PASS: TestApplyPolicy/Empty_entries_are_discared (0.13s) 239s --- PASS: TestApplyPolicy/Destination_is_not_ready,_refreshing (0.15s) 239s --- PASS: TestApplyPolicy/One_script (0.13s) 239s --- PASS: TestApplyPolicy/No_entries_update_existing_non_ready_folder (0.08s) 239s --- PASS: TestApplyPolicy/Error_on_subfolder_listed (0.05s) 239s --- PASS: TestApplyPolicy/Multiple_directories: (0.07s) 239s --- PASS: TestApplyPolicy/Error_on_script_does_not_exist (0.11s) 239s --- PASS: TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup (0.06s) 239s --- PASS: TestApplyPolicy/Same_script_is_used_multiple_times (0.08s) 239s --- PASS: TestApplyPolicy/One_directory,_multiple_scripts_in_order (0.06s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/policies/scripts 0.532s 239s === RUN TestExclusiveLockExec 239s --- PASS: TestExclusiveLockExec (0.01s) 239s === RUN TestExclusiveLockSmb 239s --- PASS: TestExclusiveLockSmb (0.01s) 239s === RUN TestMultipleExecLocksOnlyReleaseOnLast 239s --- PASS: TestMultipleExecLocksOnlyReleaseOnLast (0.01s) 239s === RUN TestMultipleSmbLocksOnlyReleaseOnLast 239s --- PASS: TestMultipleSmbLocksOnlyReleaseOnLast (0.01s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/smbsafe 0.079s 239s === RUN TestAddStdoutForwarder 239s --- PASS: TestAddStdoutForwarder (0.00s) 239s === RUN TestAddStderrForwarder 239s --- PASS: TestAddStderrForwarder (0.00s) 239s === RUN TestAddStdoutForwarderEnsureStderrNoPolluted 239s --- PASS: TestAddStdoutForwarderEnsureStderrNoPolluted (0.00s) 239s === RUN TestAddForwarderAndDisconnect 239s --- PASS: TestAddForwarderAndDisconnect (0.00s) 239s === RUN TestAddForwardersGraduallyAndDisconnect 239s --- PASS: TestAddForwardersGraduallyAndDisconnect (0.01s) 239s === RUN TestAddForwarderDifferentWriterStdoutStderr 239s --- PASS: TestAddForwarderDifferentWriterStdoutStderr (0.00s) 239s === RUN TestAddForwarderSameWriterStdoutStderr 239s --- PASS: TestAddForwarderSameWriterStdoutStderr (0.01s) 239s === RUN TestAddStdoutForwarderWithBlockedStdout 239s time="2025-06-17T13:17:50Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 239s time="2025-06-17T13:17:50Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 239s time="2025-06-17T13:17:50Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 239s --- PASS: TestAddStdoutForwarderWithBlockedStdout (0.01s) 239s === RUN TestAddStderrForwarderWithBlockedStderr 239s time="2025-06-17T13:17:50Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 239s time="2025-06-17T13:17:50Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 239s time="2025-06-17T13:17:50Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 239s --- PASS: TestAddStderrForwarderWithBlockedStderr (0.01s) 239s === RUN TestAddStdoutForwarderOneWithFailingForwarder 239s time="2025-06-17T13:17:50Z" level=warning msg="Failed to forward log: Error from failedWriter" 239s time="2025-06-17T13:17:50Z" level=warning msg="Failed to forward log: Error from failedWriter" 239s time="2025-06-17T13:17:50Z" level=warning msg="Failed to forward log: Error from failedWriter" 239s --- PASS: TestAddStdoutForwarderOneWithFailingForwarder (0.01s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/stdforward 0.085s 239s === RUN TestManageUnit 239s === PAUSE TestManageUnit 239s === RUN TestDaemonReload 239s === PAUSE TestDaemonReload 239s === CONT TestManageUnit 239s === CONT TestDaemonReload 239s --- PASS: TestDaemonReload (0.00s) 239s === RUN TestManageUnit/Stop_unit_that_exists 239s === PAUSE TestManageUnit/Stop_unit_that_exists 239s === RUN TestManageUnit/Enable_unit_that_exists 239s === PAUSE TestManageUnit/Enable_unit_that_exists 239s === RUN TestManageUnit/Disable_unit_that_exists 239s === PAUSE TestManageUnit/Disable_unit_that_exists 239s === RUN TestManageUnit/Error_when_starting_unit_that_doesn't_exist 239s === PAUSE TestManageUnit/Error_when_starting_unit_that_doesn't_exist 239s === RUN TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 239s === PAUSE TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 239s === RUN TestManageUnit/Start_unit_that_exists 239s === PAUSE TestManageUnit/Start_unit_that_exists 239s === RUN TestManageUnit/Error_when_starting_failing_unit 239s === PAUSE TestManageUnit/Error_when_starting_failing_unit 239s === RUN TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 239s === PAUSE TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 239s === RUN TestManageUnit/Error_when_stopping_failing_unit 239s === PAUSE TestManageUnit/Error_when_stopping_failing_unit 239s === RUN TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 239s === PAUSE TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 239s === CONT TestManageUnit/Stop_unit_that_exists 239s === CONT TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 239s === CONT TestManageUnit/Error_when_stopping_failing_unit 239s === CONT TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 239s === CONT TestManageUnit/Error_when_starting_failing_unit 239s === CONT TestManageUnit/Start_unit_that_exists 239s === CONT TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 239s === CONT TestManageUnit/Error_when_starting_unit_that_doesn't_exist 239s === CONT TestManageUnit/Disable_unit_that_exists 239s === CONT TestManageUnit/Enable_unit_that_exists 239s --- PASS: TestManageUnit (0.00s) 239s --- PASS: TestManageUnit/Error_when_enabling_unit_that_doesn't_exist (0.00s) 239s --- PASS: TestManageUnit/Error_when_disabling_unit_that_doesn't_exist (0.00s) 239s --- PASS: TestManageUnit/Enable_unit_that_exists (0.00s) 239s --- PASS: TestManageUnit/Disable_unit_that_exists (0.00s) 239s --- PASS: TestManageUnit/Error_when_stopping_unit_that_doesn't_exist (0.01s) 239s --- PASS: TestManageUnit/Error_when_starting_unit_that_doesn't_exist (0.01s) 239s --- PASS: TestManageUnit/Start_unit_that_exists (0.01s) 239s --- PASS: TestManageUnit/Stop_unit_that_exists (0.01s) 239s --- PASS: TestManageUnit/Error_when_stopping_failing_unit (0.01s) 239s --- PASS: TestManageUnit/Error_when_starting_failing_unit (0.01s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/systemd 0.045s 239s === RUN TestInteractiveInput 239s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 239s === RUN TestInteractiveInput/Config_file_exists 239s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 239s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 239s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 239s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 239s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 239s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 239s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 239s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 239s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 239s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 239s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 239s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 239s === RUN TestInteractiveInput/Submit_with_duplicate_directories 239s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 239s === RUN TestInteractiveInput/Other_navigation_tests 239s === RUN TestInteractiveInput/Initial_view 239s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 239s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 239s === RUN TestInteractiveInput/Directory_exists 239s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 239s === RUN TestInteractiveInput/Submit_with_default_config 239s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 239s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 239s --- PASS: TestInteractiveInput (0.04s) 239s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 239s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 239s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 239s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 239s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 239s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 239s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 239s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.00s) 239s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 239s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.00s) 239s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 239s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.00s) 239s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 239s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 239s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 239s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 239s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 239s --- PASS: TestInteractiveInput/Initial_view (0.00s) 239s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.00s) 239s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.00s) 239s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 239s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 239s --- PASS: TestInteractiveInput/Submit_with_default_config (0.00s) 239s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 239s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 239s === RUN TestInteractiveInstall 239s watchdtui_test.go:408: Test has to be run as root, skipping... 239s --- SKIP: TestInteractiveInstall (0.00s) 239s === RUN TestInteractiveUpdate 239s watchdtui_test.go:456: Test has to be run as root, skipping... 239s --- SKIP: TestInteractiveUpdate (0.00s) 239s PASS 239s ok github.com/ubuntu/adsys/internal/watchdtui 0.063s 240s === RUN TestWatchDirectory 240s === PAUSE TestWatchDirectory 240s === RUN TestRefreshGracePeriod 240s === PAUSE TestRefreshGracePeriod 240s === RUN TestUpdateDirs 240s === PAUSE TestUpdateDirs 240s === RUN TestUpdateDirsFailing 240s === PAUSE TestUpdateDirsFailing 240s === RUN TestUpdateDirsWithEmptyDirSlice 240s === PAUSE TestUpdateDirsWithEmptyDirSlice 240s === RUN TestUpdateDirsOnStoppedWatcher 240s === PAUSE TestUpdateDirsOnStoppedWatcher 240s === RUN TestStopWithoutStart 240s === PAUSE TestStopWithoutStart 240s === CONT TestWatchDirectory 240s === RUN TestWatchDirectory/Update_with_existing_gpt.ini 240s === PAUSE TestWatchDirectory/Update_with_existing_gpt.ini 240s === CONT TestUpdateDirsOnStoppedWatcher 240s === RUN TestWatchDirectory/Multiple_nested_subdirectories 240s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories 240s === CONT TestUpdateDirsWithEmptyDirSlice 240s === CONT TestUpdateDirsFailing 240s === CONT TestUpdateDirs 240s === CONT TestRefreshGracePeriod 240s === CONT TestStopWithoutStart 240s === RUN TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 240s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 240s === RUN TestWatchDirectory/New_file,_no_gpt.ini 240s === PAUSE TestWatchDirectory/New_file,_no_gpt.ini 240s === RUN TestWatchDirectory/No_update,_no_gpt.ini 240s === PAUSE TestWatchDirectory/No_update,_no_gpt.ini 240s === RUN TestWatchDirectory/Updating_gpt.ini_is_a_no-op 240s === PAUSE TestWatchDirectory/Updating_gpt.ini_is_a_no-op 240s === RUN TestWatchDirectory/Remove_root_directory 240s === PAUSE TestWatchDirectory/Remove_root_directory 240s === RUN TestWatchDirectory/Remove_file 240s === PAUSE TestWatchDirectory/Remove_file 240s === RUN TestWatchDirectory/Rename_file 240s === PAUSE TestWatchDirectory/Rename_file 240s === RUN TestWatchDirectory/Error_on_non_existing_directory 240s === PAUSE TestWatchDirectory/Error_on_non_existing_directory 240s === RUN TestWatchDirectory/Error_on_listing_no_directory 240s === PAUSE TestWatchDirectory/Error_on_listing_no_directory 240s === RUN TestWatchDirectory/Existing_file,_subdir 240s === PAUSE TestWatchDirectory/Existing_file,_subdir 240s === RUN TestWatchDirectory/New_subdir 240s === PAUSE TestWatchDirectory/New_subdir 240s === RUN TestWatchDirectory/Nested_new_subdirs 240s === PAUSE TestWatchDirectory/Nested_new_subdirs 240s === RUN TestWatchDirectory/Combined_case 240s === PAUSE TestWatchDirectory/Combined_case 240s === RUN TestWatchDirectory/Error_on_updating_malformed_GPT.ini 240s === PAUSE TestWatchDirectory/Error_on_updating_malformed_GPT.ini 240s === RUN TestWatchDirectory/Update_existing_file 240s === PAUSE TestWatchDirectory/Update_existing_file 240s === RUN TestWatchDirectory/Rename_file_and_update 240s === PAUSE TestWatchDirectory/Rename_file_and_update 240s === RUN TestWatchDirectory/New_file,_subdir 240s === PAUSE TestWatchDirectory/New_file,_subdir 240s === RUN TestWatchDirectory/New_subdir_without_file 240s === PAUSE TestWatchDirectory/New_subdir_without_file 240s === RUN TestWatchDirectory/Multiple_directories,_only_one_is_updated 240s === PAUSE TestWatchDirectory/Multiple_directories,_only_one_is_updated 240s === RUN TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 240s === PAUSE TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 240s === RUN TestWatchDirectory/No_update,_existing_gpt.ini 240s === PAUSE TestWatchDirectory/No_update,_existing_gpt.ini 240s === CONT TestWatchDirectory/Update_with_existing_gpt.ini 240s === CONT TestWatchDirectory/New_subdir 240s --- PASS: TestStopWithoutStart (0.00s) 240s === CONT TestWatchDirectory/Remove_root_directory 240s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestUpdateDirsWithEmptyDirSlice1517795861/001/watchdir and children" 240s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1517795861/001/watchdir" 240s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir and children" 240s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestRefreshGracePeriod2496075621/001/withsubdir and children" 240s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini143681229/001/one_file and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini143681229/001/one_file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini143681229/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini143681229/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir]" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1517795861/001/watchdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2496075621/001/withsubdir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini143681229/001/one_file/new\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2496075621/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini143681229/001/one_file/new\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=warning msg="Error stopping watcher: the service is already stopping or not running" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/GPT.INI\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/GPT.INI\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/GPT.INI\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/dir\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1517795861/001/watchdir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1517795861/001/watchdir/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing1854760423/001/remove and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/remove" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1517795861/001/watchdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice1517795861/001/watchdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Updating directories to []" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/remove/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/dir and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/dir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir and children" 241s time="2025-06-17T13:17:52Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/dir/file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/remove/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/remove/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/remove/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/remove/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing1854760423/001/keep and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/keep" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/keep/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/keep/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/keep/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/keep/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1854760423/001/keep/alreadyexistsDir/alreadyexists" 241s --- PASS: TestUpdateDirsWithEmptyDirSlice (0.02s) 241s === CONT TestWatchDirectory/Existing_file,_subdir 241s time="2025-06-17T13:17:52Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsFailing1854760423/001/keep unexisting]" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1854760423/001/keep/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1854760423/001/keep/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1854760423/001/keep/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1854760423/001/keep/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1854760423/001/remove/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1854760423/001/remove/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1854760423/001/remove/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1854760423/001/remove/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestUpdateDirs1274400599/001/remove and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/remove" 241s time="2025-06-17T13:17:52Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:52Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:52Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:52Z" level=info msg="Bumping version for /tmp/TestUpdateDirsOnStoppedWatcher1804145944/001/curdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing1854760423/001/keep/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:52Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/GPT.INI: no such file or directory, creating a new file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/remove/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:52Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing1854760423/001/remove/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/remove/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/remove/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini143681229/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/remove/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/remove/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/GPT.INI: open /tmp/TestWatchDirectoryRemove_root_directory1239558831/001/one_file/GPT.INI: no such file or directory" 241s time="2025-06-17T13:17:52Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestUpdateDirs1274400599/001/keep and children" 241s time="2025-06-17T13:17:52Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir1599032635/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryExisting_file,_subdir2920156670/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/remove/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/remove/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/remove/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/remove/alreadyexists\"" 241s --- PASS: TestUpdateDirsOnStoppedWatcher (0.26s) 241s === CONT TestWatchDirectory/Error_on_listing_no_directory 241s --- PASS: TestUpdateDirsFailing (0.26s) 241s === CONT TestWatchDirectory/Error_on_non_existing_directory 241s === CONT TestWatchDirectory/Rename_file 241s === CONT TestWatchDirectory/Remove_file 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_non_existing_directory185330450/001/doesnotexist and children" 241s === CONT TestWatchDirectory/New_file,_subdir 241s === CONT TestWatchDirectory/No_update,_existing_gpt.ini 241s === CONT TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file2476656562/001/one_file and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_file417234747/001/one_file and children" 241s === CONT TestWatchDirectory/Multiple_directories,_only_one_is_updated 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file417234747/001/one_file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirs1274400599/001/keep /tmp/TestUpdateDirs1274400599/001/add]" 241s time="2025-06-17T13:17:52Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file2476656562/001/one_file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file2476656562/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file2476656562/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file2476656562/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/one_file and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/one_file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file417234747/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file2476656562/001/one_file/alreadyexists.bak\"" 241s time="2025-06-17T13:17:52Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1274400599/001/remove/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/one_file and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/one_file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir/alreadyexistsDir/new\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file417234747/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir/alreadyexistsDir/new\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini1669781700/001/one_file and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini1669781700/001/one_file" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_file417234747/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file417234747/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file417234747/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file417234747/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file417234747/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini1669781700/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini1669781700/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file417234747/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file417234747/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestUpdateDirs1274400599/001/keep and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/keep/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching /tmp/TestUpdateDirs1274400599/001/add and children" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/add" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/add/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/add/alreadyexists" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/add/alreadyexistsDir" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/add/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:52Z" level=debug msg="Watching: /tmp/TestUpdateDirs1274400599/001/add/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file2476656562/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_file417234747/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1523313231/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/keep/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_subdir3609855361/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/keep/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/keep/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/keep/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/add/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3256044897/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/add/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/add/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1274400599/001/add/alreadyexists\"" 241s === CONT TestWatchDirectory/New_subdir_without_file 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir/newsubdir\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir/newsubdir\"" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1274400599/001/keep/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1274400599/001/add/GPT.INI" 241s === CONT TestWatchDirectory/Error_on_updating_malformed_GPT.ini 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4033163915/001/malformed and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4033163915/001/malformed" 241s === CONT TestWatchDirectory/Rename_file_and_update 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4033163915/001/malformed/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4033163915/001/malformed/new\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4033163915/001/malformed/new\"" 241s === CONT TestWatchDirectory/Update_existing_file 241s === CONT TestWatchDirectory/Combined_case 241s === CONT TestWatchDirectory/Nested_new_subdirs 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file_and_update751345677/001/one_file and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update751345677/001/one_file" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update751345677/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update751345677/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file_and_update751345677/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file_and_update751345677/001/one_file/alreadyexists.bak\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryRename_file_and_update751345677/001/one_file/alreadyexists.bak\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_existing_file3405470010/001/one_file and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3405470010/001/one_file" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/new\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3405470010/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3405470010/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file3405470010/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file3405470010/001/one_file/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/new\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/dir\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/dir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/dir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/dir/file" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexistsDir/new\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/alreadyexistsDir/new\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/otherdir\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/otherdir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/otherdir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/otherdir/subdir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/otherdir\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/otherdir/subdir/file" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/otherdir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/newdir\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/otherdir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/newdir\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/otherdir/subdir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/otherdir/subdir/file" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir_without_file3372326657/001/withsubdir/GPT.INI" 241s --- PASS: TestUpdateDirs (0.60s) 241s === CONT TestWatchDirectory/New_file,_no_gpt.ini 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4033163915/001/malformed/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4033163915/001/malformed/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini4033163915/001/malformed/GPT.INI: strconv.ParseInt: parsing \"??\": invalid syntax" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3236848565/001/no_gpt and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3236848565/001/no_gpt" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3236848565/001/no_gpt/testfile" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini3236848565/001/no_gpt/new\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini3236848565/001/no_gpt/new\"" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file_and_update751345677/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryCombined_case3210963499/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNested_new_subdirs2033578716/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_existing_file3405470010/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s === CONT TestWatchDirectory/Updating_gpt.ini_is_a_no-op 241s === CONT TestWatchDirectory/No_update,_no_gpt.ini 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1248841249/001/one_file and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1248841249/001/one_file" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_no_gpt.ini459605456/001/no_gpt and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1248841249/001/one_file/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1248841249/001/one_file/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini459605456/001/no_gpt" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini459605456/001/no_gpt/testfile" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1248841249/001/one_file/GPT.INI\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1248841249/001/one_file/GPT.INI\"" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3236848565/001/no_gpt/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3236848565/001/no_gpt/GPT.INI: no such file or directory, creating a new file" 241s === CONT TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 241s === CONT TestWatchDirectory/Multiple_nested_subdirectories 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir and children" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir/alreadyexists" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/new\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/new\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir/alreadyexists\"" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Watcher stopped" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file2564352661/001/withsubdir/alreadyexistsDir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:53Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories4294305708/001/withsubdir/alreadyexistsDir/GPT.INI" 241s --- PASS: TestWatchDirectory (0.00s) 241s --- PASS: TestWatchDirectory/Error_on_listing_no_directory (0.00s) 241s --- PASS: TestWatchDirectory/Remove_root_directory (0.26s) 241s --- PASS: TestWatchDirectory/Update_with_existing_gpt.ini (0.26s) 241s --- PASS: TestWatchDirectory/Existing_file,_subdir (0.25s) 241s --- PASS: TestWatchDirectory/Error_on_non_existing_directory (0.00s) 241s --- PASS: TestWatchDirectory/New_subdir (0.26s) 241s --- PASS: TestWatchDirectory/Rename_file (0.22s) 241s --- PASS: TestWatchDirectory/Remove_file (0.23s) 241s --- PASS: TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated (0.23s) 241s --- PASS: TestWatchDirectory/New_file,_subdir (0.23s) 241s --- PASS: TestWatchDirectory/No_update,_existing_gpt.ini (0.23s) 241s --- PASS: TestWatchDirectory/Multiple_directories,_only_one_is_updated (0.23s) 241s --- PASS: TestWatchDirectory/Error_on_updating_malformed_GPT.ini (0.22s) 241s --- PASS: TestWatchDirectory/New_subdir_without_file (0.23s) 241s --- PASS: TestWatchDirectory/Rename_file_and_update (0.23s) 241s --- PASS: TestWatchDirectory/Combined_case (0.23s) 241s --- PASS: TestWatchDirectory/Update_existing_file (0.23s) 241s --- PASS: TestWatchDirectory/Nested_new_subdirs (0.23s) 241s --- PASS: TestWatchDirectory/New_file,_no_gpt.ini (0.23s) 241s --- PASS: TestWatchDirectory/No_update,_no_gpt.ini (0.22s) 241s --- PASS: TestWatchDirectory/Updating_gpt.ini_is_a_no-op (0.22s) 241s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories (0.22s) 241s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file (0.22s) 241s time="2025-06-17T13:17:54Z" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod2496075621/001/withsubdir/GPT.INI" 241s time="2025-06-17T13:17:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/GPT.INI\"" 241s time="2025-06-17T13:17:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/GPT.INI\"" 241s time="2025-06-17T13:17:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/GPT.INI\"" 241s time="2025-06-17T13:17:54Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod2496075621/001/withsubdir/GPT.INI\"" 241s time="2025-06-17T13:17:54Z" level=info msg="Watcher stopped" 241s --- PASS: TestRefreshGracePeriod (2.00s) 241s PASS 241s ok github.com/ubuntu/adsys/internal/watcher 2.030s 241s autopkgtest [13:17:55]: test command1: -----------------------] 245s autopkgtest [13:17:59]: test command1: - - - - - - - - - - results - - - - - - - - - - 245s command1 PASS 249s autopkgtest [13:18:03]: test command2: preparing testbed 250s Reading package lists... 251s Building dependency tree... 251s Reading state information... 251s Starting pkgProblemResolver with broken count: 0 251s Starting 2 pkgProblemResolver with broken count: 0 251s Done 252s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 257s autopkgtest [13:18:11]: test command2: ./debian/tests/test sudo 257s autopkgtest [13:18:11]: test command2: [----------------------- 259s Skipping root tests for non-amd64/arm64 architecture 259s autopkgtest [13:18:13]: test command2: -----------------------] 263s autopkgtest [13:18:17]: test command2: - - - - - - - - - - results - - - - - - - - - - 263s command2 SKIP exit status 77 and marked as skippable 267s autopkgtest [13:18:21]: @@@@@@@@@@@@@@@@@@@@ summary 267s command1 PASS 267s command2 SKIP exit status 77 and marked as skippable