0s autopkgtest [13:51:41]: starting date and time: 2025-06-17 13:51:41+0000 0s autopkgtest [13:51:41]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [13:51:41]: host juju-7f2275-prod-proposed-migration-environment-23; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0wjmr_k1/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-arm64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-23@sto01-arm64-1.secgroup --name adt-noble-arm64-adsys-20250617-131343-juju-7f2275-prod-proposed-migration-environment-23-5ce91da1-ebe7-47e6-8724-d37ccf696b89 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-23 --net-id=net_prod-autopkgtest-workers-arm64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 85s autopkgtest [13:53:06]: testbed dpkg architecture: arm64 85s autopkgtest [13:53:06]: testbed apt version: 2.8.3 86s autopkgtest [13:53:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 86s autopkgtest [13:53:07]: testbed release detected to be: None 87s autopkgtest [13:53:08]: updating testbed package index (apt update) 87s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [265 kB] 87s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 87s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 87s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 87s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [36.9 kB] 87s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [69.3 kB] 87s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [78.9 kB] 87s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [291 kB] 87s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [2180 B] 87s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [611 kB] 87s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 87s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [448 kB] 87s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [5940 B] 87s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [9324 B] 88s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 92s Fetched 1818 kB in 1s (2333 kB/s) 93s Reading package lists... 93s autopkgtest [13:53:14]: upgrading testbed (apt dist-upgrade and autopurge) 93s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 94s Starting 2 pkgProblemResolver with broken count: 0 94s Done 94s Entering ResolveByKeep 95s 95s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 96s Starting pkgProblemResolver with broken count: 0 96s Starting 2 pkgProblemResolver with broken count: 0 96s Done 96s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 98s autopkgtest [13:53:19]: testbed running kernel: Linux 6.8.0-60-generic #63-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 18:51:58 UTC 2025 99s autopkgtest [13:53:20]: @@@@@@@@@@@@@@@@@@@@ apt-source adsys 100s Get:1 http://ftpmaster.internal/ubuntu noble-updates/main adsys 0.14.3~24.04ubuntu0.1 (dsc) [2227 B] 100s Get:2 http://ftpmaster.internal/ubuntu noble-updates/main adsys 0.14.3~24.04ubuntu0.1 (tar) [7087 kB] 100s gpgv: Signature made Tue Jan 7 18:28:47 2025 UTC 100s gpgv: using RSA key 2CE2D76441584077125841E2C9F5B69BD2DDBBAB 100s gpgv: issuer "hlib.korzhynskyy@canonical.com" 100s gpgv: Can't check signature: No public key 100s dpkg-source: warning: cannot verify inline signature for ./adsys_0.14.3~24.04ubuntu0.1.dsc: no acceptable signature found 101s autopkgtest [13:53:22]: testing package adsys version 0.14.3~24.04ubuntu0.1 101s autopkgtest [13:53:22]: build not needed 105s autopkgtest [13:53:26]: test command1: preparing testbed 105s Reading package lists... 105s Building dependency tree... 105s Reading state information... 106s Starting pkgProblemResolver with broken count: 0 106s Starting 2 pkgProblemResolver with broken count: 0 106s Done 106s The following NEW packages will be installed: 106s autoconf automake autopoint autotools-dev build-essential comerr-dev cpp 106s cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 106s dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ g++-13 106s g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 106s gcc-13-aarch64-linux-gnu gcc-13-base gcc-aarch64-linux-gnu gettext 106s golang-1.22-go golang-1.22-src golang-go golang-src intltool-debian 106s krb5-multidev libarchive-zip-perl libasan8 libatomic1 libavahi-client3 106s libavahi-common-data libavahi-common3 libblkid-dev libcc1-0 libcups2t64 106s libdbus-1-dev libdebhelper-perl libffi-dev libfile-stripnondeterminism-perl 106s libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 106s libglib2.0-dev-bin libgomp1 libgssrpc4t64 libhwasan0 libisl23 libitm1 106s libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10t64 libkrb5-dev libldb2 106s liblsan0 libmount-dev libmpc3 libpam0g-dev libpcre2-16-0 libpcre2-32-0 106s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 106s libsmbclient-dev libsmbclient0 libstdc++-13-dev libsub-override-perl 106s libtalloc2 libtdb1 libtevent0t64 libtool libtsan2 libubsan1 libwbclient-dev 106s libwbclient0 m4 pkgconf pkgconf-bin po-debconf python3-dnspython python3-ldb 106s python3-markdown python3-packaging python3-samba python3-talloc python3-tdb 106s samba samba-common samba-common-bin samba-dsdb-modules samba-libs sgml-base 106s tdb-tools uuid-dev xml-core zlib1g-dev 106s 0 upgraded, 105 newly installed, 0 to remove and 0 not upgraded. 106s Need to get 121 MB of archives. 106s After this operation, 526 MB of additional disk space will be used. 106s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 python3-dnspython all 2.6.1-1ubuntu1 [163 kB] 106s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libtalloc2 arm64 2.4.2-1build2 [26.7 kB] 106s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 libtdb1 arm64 1.4.10-1build1 [48.5 kB] 106s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libtevent0t64 arm64 0.16.1-2build1 [42.3 kB] 106s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libldb2 arm64 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 [188 kB] 107s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 python3-ldb arm64 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 [42.4 kB] 107s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 python3-tdb arm64 1.4.10-1build1 [15.1 kB] 107s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 python3-markdown all 3.5.2-1 [72.0 kB] 107s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-common-data arm64 0.8-13ubuntu6 [29.6 kB] 107s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-common3 arm64 0.8-13ubuntu6 [23.3 kB] 107s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-client3 arm64 0.8-13ubuntu6 [27.2 kB] 107s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libwbclient0 arm64 2:4.19.5+dfsg-4ubuntu9 [71.4 kB] 107s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 samba-libs arm64 2:4.19.5+dfsg-4ubuntu9 [6061 kB] 107s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 python3-talloc arm64 2.4.2-1build2 [12.9 kB] 107s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 python3-samba arm64 2:4.19.5+dfsg-4ubuntu9 [2804 kB] 107s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 samba-common all 2:4.19.5+dfsg-4ubuntu9 [64.1 kB] 107s Get:17 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libcups2t64 arm64 2.4.7-1.2ubuntu7.3 [270 kB] 107s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 samba-common-bin arm64 2:4.19.5+dfsg-4ubuntu9 [1269 kB] 107s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 tdb-tools arm64 1.4.10-1build1 [25.9 kB] 107s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 samba arm64 2:4.19.5+dfsg-4ubuntu9 [1000 kB] 107s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 sgml-base all 1.31 [11.4 kB] 107s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 107s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 autoconf all 2.71-3 [339 kB] 107s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 autotools-dev all 20220109.1 [44.9 kB] 107s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 107s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 autopoint all 0.21-14ubuntu2 [422 kB] 107s Get:27 http://ftpmaster.internal/ubuntu noble-updates/main arm64 gcc-13-base arm64 13.3.0-6ubuntu2~24.04 [51.5 kB] 107s Get:28 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libisl23 arm64 0.26-3build1.1 [669 kB] 107s Get:29 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libmpc3 arm64 1.3.1-1build1.1 [56.4 kB] 107s Get:30 http://ftpmaster.internal/ubuntu noble-updates/main arm64 cpp-13-aarch64-linux-gnu arm64 13.3.0-6ubuntu2~24.04 [9556 kB] 107s Get:31 http://ftpmaster.internal/ubuntu noble-updates/main arm64 cpp-13 arm64 13.3.0-6ubuntu2~24.04 [1036 B] 107s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 107s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 107s Get:34 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libcc1-0 arm64 14.2.0-4ubuntu2~24.04 [49.7 kB] 107s Get:35 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libgomp1 arm64 14.2.0-4ubuntu2~24.04 [145 kB] 107s Get:36 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libitm1 arm64 14.2.0-4ubuntu2~24.04 [28.1 kB] 107s Get:37 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libatomic1 arm64 14.2.0-4ubuntu2~24.04 [11.6 kB] 107s Get:38 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libasan8 arm64 14.2.0-4ubuntu2~24.04 [2930 kB] 108s Get:39 http://ftpmaster.internal/ubuntu noble-updates/main arm64 liblsan0 arm64 14.2.0-4ubuntu2~24.04 [1289 kB] 108s Get:40 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libtsan2 arm64 14.2.0-4ubuntu2~24.04 [2696 kB] 108s Get:41 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libubsan1 arm64 14.2.0-4ubuntu2~24.04 [1157 kB] 108s Get:42 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libhwasan0 arm64 14.2.0-4ubuntu2~24.04 [1605 kB] 108s Get:43 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libgcc-13-dev arm64 13.3.0-6ubuntu2~24.04 [2473 kB] 108s Get:44 http://ftpmaster.internal/ubuntu noble-updates/main arm64 gcc-13-aarch64-linux-gnu arm64 13.3.0-6ubuntu2~24.04 [18.7 MB] 108s Get:45 http://ftpmaster.internal/ubuntu noble-updates/main arm64 gcc-13 arm64 13.3.0-6ubuntu2~24.04 [484 kB] 108s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 108s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 108s Get:48 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libstdc++-13-dev arm64 13.3.0-6ubuntu2~24.04 [2397 kB] 108s Get:49 http://ftpmaster.internal/ubuntu noble-updates/main arm64 g++-13-aarch64-linux-gnu arm64 13.3.0-6ubuntu2~24.04 [10.9 MB] 108s Get:50 http://ftpmaster.internal/ubuntu noble-updates/main arm64 g++-13 arm64 13.3.0-6ubuntu2~24.04 [16.0 kB] 108s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 108s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 108s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 108s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 108s Get:55 http://ftpmaster.internal/ubuntu noble/main arm64 libtool all 2.4.7-7build1 [166 kB] 108s Get:56 http://ftpmaster.internal/ubuntu noble/main arm64 dh-autoreconf all 20 [16.1 kB] 108s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 108s Get:58 http://ftpmaster.internal/ubuntu noble/main arm64 libsub-override-perl all 0.10-1 [10.0 kB] 108s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 108s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 dh-strip-nondeterminism all 1.13.1-1 [5362 B] 108s Get:61 http://ftpmaster.internal/ubuntu noble/main arm64 debugedit arm64 1:5.0-5build2 [45.3 kB] 108s Get:62 http://ftpmaster.internal/ubuntu noble/main arm64 dwz arm64 0.15-1build6 [113 kB] 108s Get:63 http://ftpmaster.internal/ubuntu noble/main arm64 gettext arm64 0.21-14ubuntu2 [845 kB] 108s Get:64 http://ftpmaster.internal/ubuntu noble/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 108s Get:65 http://ftpmaster.internal/ubuntu noble/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 108s Get:66 http://ftpmaster.internal/ubuntu noble/main arm64 debhelper all 13.14.1ubuntu5 [869 kB] 108s Get:67 http://ftpmaster.internal/ubuntu noble-updates/universe arm64 dh-apport all 2.28.1-0ubuntu3.7 [18.8 kB] 108s Get:68 http://ftpmaster.internal/ubuntu noble-updates/main arm64 golang-1.22-src all 1.22.2-2ubuntu0.3 [19.7 MB] 109s Get:69 http://ftpmaster.internal/ubuntu noble-updates/main arm64 golang-1.22-go arm64 1.22.2-2ubuntu0.3 [23.6 MB] 109s Get:70 http://ftpmaster.internal/ubuntu noble/main arm64 golang-src all 2:1.22~2build1 [5078 B] 109s Get:71 http://ftpmaster.internal/ubuntu noble/main arm64 golang-go arm64 2:1.22~2build1 [43.9 kB] 109s Get:72 http://ftpmaster.internal/ubuntu noble-updates/main arm64 comerr-dev arm64 2.1-1.47.0-2.4~exp1ubuntu4.1 [44.1 kB] 109s Get:73 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libgssrpc4t64 arm64 1.20.1-6ubuntu2.6 [57.9 kB] 109s Get:74 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libkadm5clnt-mit12 arm64 1.20.1-6ubuntu2.6 [40.0 kB] 109s Get:75 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libkdb5-10t64 arm64 1.20.1-6ubuntu2.6 [40.5 kB] 110s Get:76 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libkadm5srv-mit12 arm64 1.20.1-6ubuntu2.6 [53.4 kB] 110s Get:77 http://ftpmaster.internal/ubuntu noble-updates/main arm64 krb5-multidev arm64 1.20.1-6ubuntu2.6 [125 kB] 110s Get:78 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2build1 [31.2 kB] 110s Get:79 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2build1 [20.5 kB] 110s Get:80 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2build1 [16.8 kB] 110s Get:81 http://ftpmaster.internal/ubuntu noble/main arm64 xml-core all 0.19 [20.3 kB] 110s Get:82 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libdbus-1-dev arm64 1.14.10-4ubuntu4.1 [200 kB] 110s Get:83 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libgirepository-2.0-0 arm64 2.80.0-6ubuntu3.4 [71.5 kB] 110s Get:84 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libglib2.0-bin arm64 2.80.0-6ubuntu3.4 [97.1 kB] 110s Get:85 http://ftpmaster.internal/ubuntu noble/main arm64 libffi-dev arm64 3.4.6-1build1 [59.5 kB] 110s Get:86 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 24.0-1 [41.1 kB] 110s Get:87 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libglib2.0-dev-bin arm64 2.80.0-6ubuntu3.4 [138 kB] 110s Get:88 http://ftpmaster.internal/ubuntu noble-updates/main arm64 uuid-dev arm64 2.39.3-9ubuntu6.2 [34.8 kB] 110s Get:89 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libblkid-dev arm64 2.39.3-9ubuntu6.2 [219 kB] 110s Get:90 http://ftpmaster.internal/ubuntu noble/main arm64 libsepol-dev arm64 3.5-2build1 [395 kB] 110s Get:91 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu2.1 [196 kB] 110s Get:92 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu2.1 [184 kB] 110s Get:93 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu2.1 [6604 B] 110s Get:94 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libpcre2-dev arm64 10.42-4ubuntu2.1 [680 kB] 110s Get:95 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libselinux1-dev arm64 3.5-2ubuntu2.1 [172 kB] 110s Get:96 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libmount-dev arm64 2.39.3-9ubuntu6.2 [14.9 kB] 110s Get:97 http://ftpmaster.internal/ubuntu noble-updates/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3.1ubuntu2.1 [894 kB] 110s Get:98 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libglib2.0-dev arm64 2.80.0-6ubuntu3.4 [1963 kB] 110s Get:99 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libpam0g-dev arm64 1.5.3-5ubuntu5.1 [116 kB] 110s Get:100 http://ftpmaster.internal/ubuntu noble/main arm64 libsmbclient0 arm64 2:4.19.5+dfsg-4ubuntu9 [62.1 kB] 110s Get:101 http://ftpmaster.internal/ubuntu noble/main arm64 libwbclient-dev arm64 2:4.19.5+dfsg-4ubuntu9 [16.2 kB] 110s Get:102 http://ftpmaster.internal/ubuntu noble/main arm64 samba-dsdb-modules arm64 2:4.19.5+dfsg-4ubuntu9 [319 kB] 110s Get:103 http://ftpmaster.internal/ubuntu noble/main arm64 dh-golang all 1.62 [25.2 kB] 110s Get:104 http://ftpmaster.internal/ubuntu noble-updates/main arm64 libkrb5-dev arm64 1.20.1-6ubuntu2.6 [11.9 kB] 110s Get:105 http://ftpmaster.internal/ubuntu noble/main arm64 libsmbclient-dev arm64 2:4.19.5+dfsg-4ubuntu9 [40.5 kB] 110s Fetched 121 MB in 4s (32.8 MB/s) 110s Selecting previously unselected package python3-dnspython. 111s (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 ... 78690 files and directories currently installed.) 111s Preparing to unpack .../000-python3-dnspython_2.6.1-1ubuntu1_all.deb ... 111s Unpacking python3-dnspython (2.6.1-1ubuntu1) ... 111s Selecting previously unselected package libtalloc2:arm64. 111s Preparing to unpack .../001-libtalloc2_2.4.2-1build2_arm64.deb ... 111s Unpacking libtalloc2:arm64 (2.4.2-1build2) ... 111s Selecting previously unselected package libtdb1:arm64. 111s Preparing to unpack .../002-libtdb1_1.4.10-1build1_arm64.deb ... 111s Unpacking libtdb1:arm64 (1.4.10-1build1) ... 111s Selecting previously unselected package libtevent0t64:arm64. 111s Preparing to unpack .../003-libtevent0t64_0.16.1-2build1_arm64.deb ... 111s Unpacking libtevent0t64:arm64 (0.16.1-2build1) ... 111s Selecting previously unselected package libldb2:arm64. 111s Preparing to unpack .../004-libldb2_2%3a2.8.0+samba4.19.5+dfsg-4ubuntu9_arm64.deb ... 111s Unpacking libldb2:arm64 (2:2.8.0+samba4.19.5+dfsg-4ubuntu9) ... 111s Selecting previously unselected package python3-ldb. 111s Preparing to unpack .../005-python3-ldb_2%3a2.8.0+samba4.19.5+dfsg-4ubuntu9_arm64.deb ... 111s Unpacking python3-ldb (2:2.8.0+samba4.19.5+dfsg-4ubuntu9) ... 111s Selecting previously unselected package python3-tdb. 111s Preparing to unpack .../006-python3-tdb_1.4.10-1build1_arm64.deb ... 111s Unpacking python3-tdb (1.4.10-1build1) ... 111s Selecting previously unselected package python3-markdown. 111s Preparing to unpack .../007-python3-markdown_3.5.2-1_all.deb ... 111s Unpacking python3-markdown (3.5.2-1) ... 111s Selecting previously unselected package libavahi-common-data:arm64. 111s Preparing to unpack .../008-libavahi-common-data_0.8-13ubuntu6_arm64.deb ... 111s Unpacking libavahi-common-data:arm64 (0.8-13ubuntu6) ... 111s Selecting previously unselected package libavahi-common3:arm64. 111s Preparing to unpack .../009-libavahi-common3_0.8-13ubuntu6_arm64.deb ... 111s Unpacking libavahi-common3:arm64 (0.8-13ubuntu6) ... 111s Selecting previously unselected package libavahi-client3:arm64. 111s Preparing to unpack .../010-libavahi-client3_0.8-13ubuntu6_arm64.deb ... 111s Unpacking libavahi-client3:arm64 (0.8-13ubuntu6) ... 111s Selecting previously unselected package libwbclient0:arm64. 111s Preparing to unpack .../011-libwbclient0_2%3a4.19.5+dfsg-4ubuntu9_arm64.deb ... 111s Unpacking libwbclient0:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 111s Selecting previously unselected package samba-libs:arm64. 111s Preparing to unpack .../012-samba-libs_2%3a4.19.5+dfsg-4ubuntu9_arm64.deb ... 111s Unpacking samba-libs:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 111s Selecting previously unselected package python3-talloc:arm64. 111s Preparing to unpack .../013-python3-talloc_2.4.2-1build2_arm64.deb ... 111s Unpacking python3-talloc:arm64 (2.4.2-1build2) ... 111s Selecting previously unselected package python3-samba. 111s Preparing to unpack .../014-python3-samba_2%3a4.19.5+dfsg-4ubuntu9_arm64.deb ... 111s Unpacking python3-samba (2:4.19.5+dfsg-4ubuntu9) ... 111s Selecting previously unselected package samba-common. 111s Preparing to unpack .../015-samba-common_2%3a4.19.5+dfsg-4ubuntu9_all.deb ... 111s Unpacking samba-common (2:4.19.5+dfsg-4ubuntu9) ... 111s Selecting previously unselected package libcups2t64:arm64. 111s Preparing to unpack .../016-libcups2t64_2.4.7-1.2ubuntu7.3_arm64.deb ... 111s Unpacking libcups2t64:arm64 (2.4.7-1.2ubuntu7.3) ... 111s Selecting previously unselected package samba-common-bin. 111s Preparing to unpack .../017-samba-common-bin_2%3a4.19.5+dfsg-4ubuntu9_arm64.deb ... 111s Unpacking samba-common-bin (2:4.19.5+dfsg-4ubuntu9) ... 111s Selecting previously unselected package tdb-tools. 111s Preparing to unpack .../018-tdb-tools_1.4.10-1build1_arm64.deb ... 111s Unpacking tdb-tools (1.4.10-1build1) ... 111s Selecting previously unselected package samba. 111s Preparing to unpack .../019-samba_2%3a4.19.5+dfsg-4ubuntu9_arm64.deb ... 111s Unpacking samba (2:4.19.5+dfsg-4ubuntu9) ... 111s Selecting previously unselected package sgml-base. 111s Preparing to unpack .../020-sgml-base_1.31_all.deb ... 111s Unpacking sgml-base (1.31) ... 111s Selecting previously unselected package m4. 111s Preparing to unpack .../021-m4_1.4.19-4build1_arm64.deb ... 111s Unpacking m4 (1.4.19-4build1) ... 111s Selecting previously unselected package autoconf. 111s Preparing to unpack .../022-autoconf_2.71-3_all.deb ... 111s Unpacking autoconf (2.71-3) ... 111s Selecting previously unselected package autotools-dev. 111s Preparing to unpack .../023-autotools-dev_20220109.1_all.deb ... 111s Unpacking autotools-dev (20220109.1) ... 111s Selecting previously unselected package automake. 111s Preparing to unpack .../024-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 111s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 112s Selecting previously unselected package autopoint. 112s Preparing to unpack .../025-autopoint_0.21-14ubuntu2_all.deb ... 112s Unpacking autopoint (0.21-14ubuntu2) ... 112s Selecting previously unselected package gcc-13-base:arm64. 112s Preparing to unpack .../026-gcc-13-base_13.3.0-6ubuntu2~24.04_arm64.deb ... 112s Unpacking gcc-13-base:arm64 (13.3.0-6ubuntu2~24.04) ... 112s Selecting previously unselected package libisl23:arm64. 112s Preparing to unpack .../027-libisl23_0.26-3build1.1_arm64.deb ... 112s Unpacking libisl23:arm64 (0.26-3build1.1) ... 112s Selecting previously unselected package libmpc3:arm64. 112s Preparing to unpack .../028-libmpc3_1.3.1-1build1.1_arm64.deb ... 112s Unpacking libmpc3:arm64 (1.3.1-1build1.1) ... 112s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 112s Preparing to unpack .../029-cpp-13-aarch64-linux-gnu_13.3.0-6ubuntu2~24.04_arm64.deb ... 112s Unpacking cpp-13-aarch64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 112s Selecting previously unselected package cpp-13. 112s Preparing to unpack .../030-cpp-13_13.3.0-6ubuntu2~24.04_arm64.deb ... 112s Unpacking cpp-13 (13.3.0-6ubuntu2~24.04) ... 112s Selecting previously unselected package cpp-aarch64-linux-gnu. 112s Preparing to unpack .../031-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 112s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 112s Selecting previously unselected package cpp. 112s Preparing to unpack .../032-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 112s Unpacking cpp (4:13.2.0-7ubuntu1) ... 112s Selecting previously unselected package libcc1-0:arm64. 112s Preparing to unpack .../033-libcc1-0_14.2.0-4ubuntu2~24.04_arm64.deb ... 112s Unpacking libcc1-0:arm64 (14.2.0-4ubuntu2~24.04) ... 112s Selecting previously unselected package libgomp1:arm64. 112s Preparing to unpack .../034-libgomp1_14.2.0-4ubuntu2~24.04_arm64.deb ... 112s Unpacking libgomp1:arm64 (14.2.0-4ubuntu2~24.04) ... 112s Selecting previously unselected package libitm1:arm64. 112s Preparing to unpack .../035-libitm1_14.2.0-4ubuntu2~24.04_arm64.deb ... 112s Unpacking libitm1:arm64 (14.2.0-4ubuntu2~24.04) ... 112s Selecting previously unselected package libatomic1:arm64. 112s Preparing to unpack .../036-libatomic1_14.2.0-4ubuntu2~24.04_arm64.deb ... 112s Unpacking libatomic1:arm64 (14.2.0-4ubuntu2~24.04) ... 112s Selecting previously unselected package libasan8:arm64. 112s Preparing to unpack .../037-libasan8_14.2.0-4ubuntu2~24.04_arm64.deb ... 112s Unpacking libasan8:arm64 (14.2.0-4ubuntu2~24.04) ... 112s Selecting previously unselected package liblsan0:arm64. 112s Preparing to unpack .../038-liblsan0_14.2.0-4ubuntu2~24.04_arm64.deb ... 112s Unpacking liblsan0:arm64 (14.2.0-4ubuntu2~24.04) ... 112s Selecting previously unselected package libtsan2:arm64. 112s Preparing to unpack .../039-libtsan2_14.2.0-4ubuntu2~24.04_arm64.deb ... 112s Unpacking libtsan2:arm64 (14.2.0-4ubuntu2~24.04) ... 112s Selecting previously unselected package libubsan1:arm64. 112s Preparing to unpack .../040-libubsan1_14.2.0-4ubuntu2~24.04_arm64.deb ... 112s Unpacking libubsan1:arm64 (14.2.0-4ubuntu2~24.04) ... 112s Selecting previously unselected package libhwasan0:arm64. 112s Preparing to unpack .../041-libhwasan0_14.2.0-4ubuntu2~24.04_arm64.deb ... 112s Unpacking libhwasan0:arm64 (14.2.0-4ubuntu2~24.04) ... 112s Selecting previously unselected package libgcc-13-dev:arm64. 112s Preparing to unpack .../042-libgcc-13-dev_13.3.0-6ubuntu2~24.04_arm64.deb ... 112s Unpacking libgcc-13-dev:arm64 (13.3.0-6ubuntu2~24.04) ... 112s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 112s Preparing to unpack .../043-gcc-13-aarch64-linux-gnu_13.3.0-6ubuntu2~24.04_arm64.deb ... 112s Unpacking gcc-13-aarch64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 113s Selecting previously unselected package gcc-13. 113s Preparing to unpack .../044-gcc-13_13.3.0-6ubuntu2~24.04_arm64.deb ... 113s Unpacking gcc-13 (13.3.0-6ubuntu2~24.04) ... 113s Selecting previously unselected package gcc-aarch64-linux-gnu. 113s Preparing to unpack .../045-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 113s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 113s Selecting previously unselected package gcc. 113s Preparing to unpack .../046-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 113s Unpacking gcc (4:13.2.0-7ubuntu1) ... 113s Selecting previously unselected package libstdc++-13-dev:arm64. 113s Preparing to unpack .../047-libstdc++-13-dev_13.3.0-6ubuntu2~24.04_arm64.deb ... 113s Unpacking libstdc++-13-dev:arm64 (13.3.0-6ubuntu2~24.04) ... 113s Selecting previously unselected package g++-13-aarch64-linux-gnu. 113s Preparing to unpack .../048-g++-13-aarch64-linux-gnu_13.3.0-6ubuntu2~24.04_arm64.deb ... 113s Unpacking g++-13-aarch64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 113s Selecting previously unselected package g++-13. 113s Preparing to unpack .../049-g++-13_13.3.0-6ubuntu2~24.04_arm64.deb ... 113s Unpacking g++-13 (13.3.0-6ubuntu2~24.04) ... 113s Selecting previously unselected package g++-aarch64-linux-gnu. 113s Preparing to unpack .../050-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 113s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 113s Selecting previously unselected package g++. 113s Preparing to unpack .../051-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 113s Unpacking g++ (4:13.2.0-7ubuntu1) ... 113s Selecting previously unselected package build-essential. 113s Preparing to unpack .../052-build-essential_12.10ubuntu1_arm64.deb ... 113s Unpacking build-essential (12.10ubuntu1) ... 113s Selecting previously unselected package libdebhelper-perl. 113s Preparing to unpack .../053-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 113s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 113s Selecting previously unselected package libtool. 113s Preparing to unpack .../054-libtool_2.4.7-7build1_all.deb ... 113s Unpacking libtool (2.4.7-7build1) ... 113s Selecting previously unselected package dh-autoreconf. 113s Preparing to unpack .../055-dh-autoreconf_20_all.deb ... 113s Unpacking dh-autoreconf (20) ... 113s Selecting previously unselected package libarchive-zip-perl. 113s Preparing to unpack .../056-libarchive-zip-perl_1.68-1_all.deb ... 113s Unpacking libarchive-zip-perl (1.68-1) ... 113s Selecting previously unselected package libsub-override-perl. 113s Preparing to unpack .../057-libsub-override-perl_0.10-1_all.deb ... 113s Unpacking libsub-override-perl (0.10-1) ... 113s Selecting previously unselected package libfile-stripnondeterminism-perl. 113s Preparing to unpack .../058-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 113s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 113s Selecting previously unselected package dh-strip-nondeterminism. 113s Preparing to unpack .../059-dh-strip-nondeterminism_1.13.1-1_all.deb ... 113s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 113s Selecting previously unselected package debugedit. 113s Preparing to unpack .../060-debugedit_1%3a5.0-5build2_arm64.deb ... 113s Unpacking debugedit (1:5.0-5build2) ... 113s Selecting previously unselected package dwz. 113s Preparing to unpack .../061-dwz_0.15-1build6_arm64.deb ... 113s Unpacking dwz (0.15-1build6) ... 113s Selecting previously unselected package gettext. 113s Preparing to unpack .../062-gettext_0.21-14ubuntu2_arm64.deb ... 113s Unpacking gettext (0.21-14ubuntu2) ... 113s Selecting previously unselected package intltool-debian. 113s Preparing to unpack .../063-intltool-debian_0.35.0+20060710.6_all.deb ... 113s Unpacking intltool-debian (0.35.0+20060710.6) ... 113s Selecting previously unselected package po-debconf. 113s Preparing to unpack .../064-po-debconf_1.0.21+nmu1_all.deb ... 113s Unpacking po-debconf (1.0.21+nmu1) ... 114s Selecting previously unselected package debhelper. 114s Preparing to unpack .../065-debhelper_13.14.1ubuntu5_all.deb ... 114s Unpacking debhelper (13.14.1ubuntu5) ... 114s Selecting previously unselected package dh-apport. 114s Preparing to unpack .../066-dh-apport_2.28.1-0ubuntu3.7_all.deb ... 114s Unpacking dh-apport (2.28.1-0ubuntu3.7) ... 114s Selecting previously unselected package golang-1.22-src. 114s Preparing to unpack .../067-golang-1.22-src_1.22.2-2ubuntu0.3_all.deb ... 114s Unpacking golang-1.22-src (1.22.2-2ubuntu0.3) ... 115s Selecting previously unselected package golang-1.22-go. 115s Preparing to unpack .../068-golang-1.22-go_1.22.2-2ubuntu0.3_arm64.deb ... 115s Unpacking golang-1.22-go (1.22.2-2ubuntu0.3) ... 115s Selecting previously unselected package golang-src. 115s Preparing to unpack .../069-golang-src_2%3a1.22~2build1_all.deb ... 115s Unpacking golang-src (2:1.22~2build1) ... 115s Selecting previously unselected package golang-go:arm64. 115s Preparing to unpack .../070-golang-go_2%3a1.22~2build1_arm64.deb ... 115s Unpacking golang-go:arm64 (2:1.22~2build1) ... 116s Selecting previously unselected package comerr-dev:arm64. 116s Preparing to unpack .../071-comerr-dev_2.1-1.47.0-2.4~exp1ubuntu4.1_arm64.deb ... 116s Unpacking comerr-dev:arm64 (2.1-1.47.0-2.4~exp1ubuntu4.1) ... 116s Selecting previously unselected package libgssrpc4t64:arm64. 116s Preparing to unpack .../072-libgssrpc4t64_1.20.1-6ubuntu2.6_arm64.deb ... 116s Unpacking libgssrpc4t64:arm64 (1.20.1-6ubuntu2.6) ... 116s Selecting previously unselected package libkadm5clnt-mit12:arm64. 116s Preparing to unpack .../073-libkadm5clnt-mit12_1.20.1-6ubuntu2.6_arm64.deb ... 116s Unpacking libkadm5clnt-mit12:arm64 (1.20.1-6ubuntu2.6) ... 116s Selecting previously unselected package libkdb5-10t64:arm64. 116s Preparing to unpack .../074-libkdb5-10t64_1.20.1-6ubuntu2.6_arm64.deb ... 116s Unpacking libkdb5-10t64:arm64 (1.20.1-6ubuntu2.6) ... 116s Selecting previously unselected package libkadm5srv-mit12:arm64. 116s Preparing to unpack .../075-libkadm5srv-mit12_1.20.1-6ubuntu2.6_arm64.deb ... 116s Unpacking libkadm5srv-mit12:arm64 (1.20.1-6ubuntu2.6) ... 116s Selecting previously unselected package krb5-multidev:arm64. 116s Preparing to unpack .../076-krb5-multidev_1.20.1-6ubuntu2.6_arm64.deb ... 116s Unpacking krb5-multidev:arm64 (1.20.1-6ubuntu2.6) ... 116s Selecting previously unselected package libpkgconf3:arm64. 116s Preparing to unpack .../077-libpkgconf3_1.8.1-2build1_arm64.deb ... 116s Unpacking libpkgconf3:arm64 (1.8.1-2build1) ... 116s Selecting previously unselected package pkgconf-bin. 116s Preparing to unpack .../078-pkgconf-bin_1.8.1-2build1_arm64.deb ... 116s Unpacking pkgconf-bin (1.8.1-2build1) ... 116s Selecting previously unselected package pkgconf:arm64. 116s Preparing to unpack .../079-pkgconf_1.8.1-2build1_arm64.deb ... 116s Unpacking pkgconf:arm64 (1.8.1-2build1) ... 116s Selecting previously unselected package xml-core. 116s Preparing to unpack .../080-xml-core_0.19_all.deb ... 116s Unpacking xml-core (0.19) ... 116s Selecting previously unselected package libdbus-1-dev:arm64. 116s Preparing to unpack .../081-libdbus-1-dev_1.14.10-4ubuntu4.1_arm64.deb ... 116s Unpacking libdbus-1-dev:arm64 (1.14.10-4ubuntu4.1) ... 116s Selecting previously unselected package libgirepository-2.0-0:arm64. 116s Preparing to unpack .../082-libgirepository-2.0-0_2.80.0-6ubuntu3.4_arm64.deb ... 116s Unpacking libgirepository-2.0-0:arm64 (2.80.0-6ubuntu3.4) ... 116s Selecting previously unselected package libglib2.0-bin. 116s Preparing to unpack .../083-libglib2.0-bin_2.80.0-6ubuntu3.4_arm64.deb ... 116s Unpacking libglib2.0-bin (2.80.0-6ubuntu3.4) ... 116s Selecting previously unselected package libffi-dev:arm64. 116s Preparing to unpack .../084-libffi-dev_3.4.6-1build1_arm64.deb ... 116s Unpacking libffi-dev:arm64 (3.4.6-1build1) ... 116s Selecting previously unselected package python3-packaging. 116s Preparing to unpack .../085-python3-packaging_24.0-1_all.deb ... 116s Unpacking python3-packaging (24.0-1) ... 116s Selecting previously unselected package libglib2.0-dev-bin. 116s Preparing to unpack .../086-libglib2.0-dev-bin_2.80.0-6ubuntu3.4_arm64.deb ... 116s Unpacking libglib2.0-dev-bin (2.80.0-6ubuntu3.4) ... 116s Selecting previously unselected package uuid-dev:arm64. 116s Preparing to unpack .../087-uuid-dev_2.39.3-9ubuntu6.2_arm64.deb ... 116s Unpacking uuid-dev:arm64 (2.39.3-9ubuntu6.2) ... 116s Selecting previously unselected package libblkid-dev:arm64. 116s Preparing to unpack .../088-libblkid-dev_2.39.3-9ubuntu6.2_arm64.deb ... 116s Unpacking libblkid-dev:arm64 (2.39.3-9ubuntu6.2) ... 116s Selecting previously unselected package libsepol-dev:arm64. 116s Preparing to unpack .../089-libsepol-dev_3.5-2build1_arm64.deb ... 116s Unpacking libsepol-dev:arm64 (3.5-2build1) ... 116s Selecting previously unselected package libpcre2-16-0:arm64. 116s Preparing to unpack .../090-libpcre2-16-0_10.42-4ubuntu2.1_arm64.deb ... 116s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu2.1) ... 116s Selecting previously unselected package libpcre2-32-0:arm64. 116s Preparing to unpack .../091-libpcre2-32-0_10.42-4ubuntu2.1_arm64.deb ... 116s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu2.1) ... 116s Selecting previously unselected package libpcre2-posix3:arm64. 116s Preparing to unpack .../092-libpcre2-posix3_10.42-4ubuntu2.1_arm64.deb ... 116s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu2.1) ... 116s Selecting previously unselected package libpcre2-dev:arm64. 116s Preparing to unpack .../093-libpcre2-dev_10.42-4ubuntu2.1_arm64.deb ... 116s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu2.1) ... 116s Selecting previously unselected package libselinux1-dev:arm64. 116s Preparing to unpack .../094-libselinux1-dev_3.5-2ubuntu2.1_arm64.deb ... 116s Unpacking libselinux1-dev:arm64 (3.5-2ubuntu2.1) ... 116s Selecting previously unselected package libmount-dev:arm64. 116s Preparing to unpack .../095-libmount-dev_2.39.3-9ubuntu6.2_arm64.deb ... 116s Unpacking libmount-dev:arm64 (2.39.3-9ubuntu6.2) ... 116s Selecting previously unselected package zlib1g-dev:arm64. 116s Preparing to unpack .../096-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2.1_arm64.deb ... 116s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3.1ubuntu2.1) ... 116s Selecting previously unselected package libglib2.0-dev:arm64. 116s Preparing to unpack .../097-libglib2.0-dev_2.80.0-6ubuntu3.4_arm64.deb ... 116s Unpacking libglib2.0-dev:arm64 (2.80.0-6ubuntu3.4) ... 116s Selecting previously unselected package libpam0g-dev:arm64. 116s Preparing to unpack .../098-libpam0g-dev_1.5.3-5ubuntu5.1_arm64.deb ... 116s Unpacking libpam0g-dev:arm64 (1.5.3-5ubuntu5.1) ... 117s Selecting previously unselected package libsmbclient0:arm64. 117s Preparing to unpack .../099-libsmbclient0_2%3a4.19.5+dfsg-4ubuntu9_arm64.deb ... 117s Unpacking libsmbclient0:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 117s Selecting previously unselected package libwbclient-dev:arm64. 117s Preparing to unpack .../100-libwbclient-dev_2%3a4.19.5+dfsg-4ubuntu9_arm64.deb ... 117s Unpacking libwbclient-dev:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 117s Selecting previously unselected package samba-dsdb-modules:arm64. 117s Preparing to unpack .../101-samba-dsdb-modules_2%3a4.19.5+dfsg-4ubuntu9_arm64.deb ... 117s Unpacking samba-dsdb-modules:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 117s Selecting previously unselected package dh-golang. 117s Preparing to unpack .../102-dh-golang_1.62_all.deb ... 117s Unpacking dh-golang (1.62) ... 117s Selecting previously unselected package libkrb5-dev:arm64. 117s Preparing to unpack .../103-libkrb5-dev_1.20.1-6ubuntu2.6_arm64.deb ... 117s Unpacking libkrb5-dev:arm64 (1.20.1-6ubuntu2.6) ... 117s Selecting previously unselected package libsmbclient-dev:arm64. 117s Preparing to unpack .../104-libsmbclient-dev_2%3a4.19.5+dfsg-4ubuntu9_arm64.deb ... 117s Unpacking libsmbclient-dev:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 117s Setting up libpam0g-dev:arm64 (1.5.3-5ubuntu5.1) ... 117s Setting up libgirepository-2.0-0:arm64 (2.80.0-6ubuntu3.4) ... 117s Setting up libarchive-zip-perl (1.68-1) ... 117s Setting up libtdb1:arm64 (1.4.10-1build1) ... 117s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 117s Setting up libglib2.0-bin (2.80.0-6ubuntu3.4) ... 117s Setting up m4 (1.4.19-4build1) ... 117s Setting up samba-common (2:4.19.5+dfsg-4ubuntu9) ... 117s 117s Creating config file /etc/samba/smb.conf with new version 117s Setting up libgomp1:arm64 (14.2.0-4ubuntu2~24.04) ... 117s Setting up libffi-dev:arm64 (3.4.6-1build1) ... 117s Setting up dh-apport (2.28.1-0ubuntu3.7) ... 117s Setting up libwbclient0:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 117s Setting up libwbclient-dev:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 117s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu2.1) ... 117s Setting up libtalloc2:arm64 (2.4.2-1build2) ... 117s Setting up python3-tdb (1.4.10-1build1) ... 117s Setting up autotools-dev (20220109.1) ... 117s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu2.1) ... 117s Setting up python3-packaging (24.0-1) ... 117s Setting up libpkgconf3:arm64 (1.8.1-2build1) ... 117s Setting up gcc-13-base:arm64 (13.3.0-6ubuntu2~24.04) ... 117s Setting up libgssrpc4t64:arm64 (1.20.1-6ubuntu2.6) ... 117s Setting up uuid-dev:arm64 (2.39.3-9ubuntu6.2) ... 117s Setting up libavahi-common-data:arm64 (0.8-13ubuntu6) ... 117s Setting up golang-1.22-src (1.22.2-2ubuntu0.3) ... 117s Setting up tdb-tools (1.4.10-1build1) ... 117s update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode 117s Setting up comerr-dev:arm64 (2.1-1.47.0-2.4~exp1ubuntu4.1) ... 117s Setting up libmpc3:arm64 (1.3.1-1build1.1) ... 117s Setting up libatomic1:arm64 (14.2.0-4ubuntu2~24.04) ... 117s Setting up python3-markdown (3.5.2-1) ... 117s Setting up autopoint (0.21-14ubuntu2) ... 117s Setting up libsepol-dev:arm64 (3.5-2build1) ... 117s Setting up pkgconf-bin (1.8.1-2build1) ... 117s Setting up autoconf (2.71-3) ... 117s Setting up libubsan1:arm64 (14.2.0-4ubuntu2~24.04) ... 117s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3.1ubuntu2.1) ... 117s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu2.1) ... 117s Setting up dwz (0.15-1build6) ... 117s Setting up libhwasan0:arm64 (14.2.0-4ubuntu2~24.04) ... 117s Setting up python3-dnspython (2.6.1-1ubuntu1) ... 118s Setting up libasan8:arm64 (14.2.0-4ubuntu2~24.04) ... 118s Setting up debugedit (1:5.0-5build2) ... 118s Setting up libsub-override-perl (0.10-1) ... 118s Setting up sgml-base (1.31) ... 118s Setting up libtsan2:arm64 (14.2.0-4ubuntu2~24.04) ... 118s Setting up libisl23:arm64 (0.26-3build1.1) ... 118s Setting up golang-src (2:1.22~2build1) ... 118s Setting up libcc1-0:arm64 (14.2.0-4ubuntu2~24.04) ... 118s Setting up liblsan0:arm64 (14.2.0-4ubuntu2~24.04) ... 118s Setting up libtevent0t64:arm64 (0.16.1-2build1) ... 118s Setting up libitm1:arm64 (14.2.0-4ubuntu2~24.04) ... 118s Setting up libkadm5clnt-mit12:arm64 (1.20.1-6ubuntu2.6) ... 118s Setting up automake (1:1.16.5-1.3ubuntu1) ... 118s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 118s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 118s Setting up libglib2.0-dev-bin (2.80.0-6ubuntu3.4) ... 118s Setting up libblkid-dev:arm64 (2.39.3-9ubuntu6.2) ... 118s Setting up gettext (0.21-14ubuntu2) ... 118s Setting up libpcre2-dev:arm64 (10.42-4ubuntu2.1) ... 118s Setting up cpp-13-aarch64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 118s Setting up libkdb5-10t64:arm64 (1.20.1-6ubuntu2.6) ... 118s Setting up python3-talloc:arm64 (2.4.2-1build2) ... 118s Setting up libselinux1-dev:arm64 (3.5-2ubuntu2.1) ... 118s Setting up libavahi-common3:arm64 (0.8-13ubuntu6) ... 118s Setting up golang-1.22-go (1.22.2-2ubuntu0.3) ... 118s Setting up pkgconf:arm64 (1.8.1-2build1) ... 118s Setting up intltool-debian (0.35.0+20060710.6) ... 118s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 118s Setting up dh-strip-nondeterminism (1.13.1-1) ... 118s Setting up libgcc-13-dev:arm64 (13.3.0-6ubuntu2~24.04) ... 118s Setting up xml-core (0.19) ... 118s Setting up libkadm5srv-mit12:arm64 (1.20.1-6ubuntu2.6) ... 118s Setting up libldb2:arm64 (2:2.8.0+samba4.19.5+dfsg-4ubuntu9) ... 118s Setting up libavahi-client3:arm64 (0.8-13ubuntu6) ... 118s Setting up libmount-dev:arm64 (2.39.3-9ubuntu6.2) ... 118s Setting up libstdc++-13-dev:arm64 (13.3.0-6ubuntu2~24.04) ... 118s Setting up krb5-multidev:arm64 (1.20.1-6ubuntu2.6) ... 118s Setting up cpp-13 (13.3.0-6ubuntu2~24.04) ... 118s Setting up golang-go:arm64 (2:1.22~2build1) ... 118s Setting up po-debconf (1.0.21+nmu1) ... 118s Setting up samba-libs:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 118s Setting up gcc-13-aarch64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 118s Setting up libkrb5-dev:arm64 (1.20.1-6ubuntu2.6) ... 118s Setting up libglib2.0-dev:arm64 (2.80.0-6ubuntu3.4) ... 118s Setting up gcc-13 (13.3.0-6ubuntu2~24.04) ... 118s Setting up python3-ldb (2:2.8.0+samba4.19.5+dfsg-4ubuntu9) ... 118s Setting up cpp (4:13.2.0-7ubuntu1) ... 118s Setting up samba-dsdb-modules:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 118s Setting up libsmbclient0:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 118s Setting up libcups2t64:arm64 (2.4.7-1.2ubuntu7.3) ... 118s Setting up python3-samba (2:4.19.5+dfsg-4ubuntu9) ... 119s Setting up g++-13-aarch64-linux-gnu (13.3.0-6ubuntu2~24.04) ... 119s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 119s Setting up g++-13 (13.3.0-6ubuntu2~24.04) ... 119s Setting up libtool (2.4.7-7build1) ... 119s Setting up gcc (4:13.2.0-7ubuntu1) ... 119s Setting up dh-autoreconf (20) ... 119s Setting up libsmbclient-dev:arm64 (2:4.19.5+dfsg-4ubuntu9) ... 119s Setting up samba-common-bin (2:4.19.5+dfsg-4ubuntu9) ... 119s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 119s Setting up samba (2:4.19.5+dfsg-4ubuntu9) ... 120s Created symlink /etc/systemd/system/smb.service → /usr/lib/systemd/system/smbd.service. 120s Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /usr/lib/systemd/system/smbd.service. 120s Created symlink /etc/systemd/system/nmb.service → /usr/lib/systemd/system/nmbd.service. 120s Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /usr/lib/systemd/system/nmbd.service. 121s Created symlink /etc/systemd/system/samba.service → /usr/lib/systemd/system/samba-ad-dc.service. 121s Created symlink /etc/systemd/system/multi-user.target.wants/samba-ad-dc.service → /usr/lib/systemd/system/samba-ad-dc.service. 121s Setting up debhelper (13.14.1ubuntu5) ... 121s Setting up g++ (4:13.2.0-7ubuntu1) ... 121s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 121s Setting up build-essential (12.10ubuntu1) ... 121s Setting up dh-golang (1.62) ... 121s Processing triggers for install-info (7.1-3build2) ... 121s Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 121s Processing triggers for ufw (0.36.2-6) ... 121s Processing triggers for man-db (2.12.0-4build2) ... 122s Processing triggers for libglib2.0-0t64:arm64 (2.80.0-6ubuntu3.4) ... 122s No schema files found: doing nothing. 122s Processing triggers for sgml-base (1.31) ... 122s Setting up libdbus-1-dev:arm64 (1.14.10-4ubuntu4.1) ... 123s autopkgtest [13:53:44]: test command1: ./debian/tests/test no-sudo 123s autopkgtest [13:53:44]: test command1: [----------------------- 123s Running non-root tests... 148s ? github.com/ubuntu/adsys [no test files] 154s ? github.com/ubuntu/adsys/cmd/admxgen [no test files] 178s === RUN TestRun 178s === RUN TestRun/Run_and_exit_successfully 178s === RUN TestRun/Run_and_return_error 178s level=error msg="Error requested" 178s === RUN TestRun/Run_and_return_usage_error 178s level=error msg="Error requested" 178s === RUN TestRun/Run_and_usage_error_only_does_not_fail 178s === RUN TestRun/Send_SIGINT_exits 178s === RUN TestRun/Send_SIGTERM_exits 178s === RUN TestRun/Send_SIGHUP_without_exiting 178s === RUN TestRun/Send_SIGHUP_with_exit 178s --- PASS: TestRun (0.86s) 178s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 178s --- PASS: TestRun/Run_and_return_error (0.10s) 178s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 178s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 178s --- PASS: TestRun/Send_SIGINT_exits (0.10s) 178s --- PASS: TestRun/Send_SIGTERM_exits (0.10s) 178s --- PASS: TestRun/Send_SIGHUP_without_exiting (0.15s) 178s --- PASS: TestRun/Send_SIGHUP_with_exit (0.10s) 178s PASS 178s ok github.com/ubuntu/adsys/cmd/adsysd 0.940s 179s === RUN TestColorizePolicies 179s --- PASS: TestColorizePolicies (0.00s) 179s === RUN TestInitApp 179s === PAUSE TestInitApp 179s === RUN TestAppHelp 179s === PAUSE TestAppHelp 179s === RUN TestAppCompletion 179s === PAUSE TestAppCompletion 179s === RUN TestAppNoUsageError 179s === PAUSE TestAppNoUsageError 179s === RUN TestAppUsageError 179s === PAUSE TestAppUsageError 179s === RUN TestAppCanQuitWhenExecute 179s === PAUSE TestAppCanQuitWhenExecute 179s === RUN TestAppCanQuitAfterExecute 179s === PAUSE TestAppCanQuitAfterExecute 179s === RUN TestAppCanQuitWithoutExecute 179s === PAUSE TestAppCanQuitWithoutExecute 179s === RUN TestAppCanSigHupWhenExecute 179s === PAUSE TestAppCanSigHupWhenExecute 179s === RUN TestAppCanSigHupAfterExecute 179s === PAUSE TestAppCanSigHupAfterExecute 179s === RUN TestAppGetRootCmd 179s === PAUSE TestAppGetRootCmd 179s === CONT TestInitApp 179s === CONT TestAppCanQuitAfterExecute 179s Usage: 179s adsysctl COMMAND [flags] 179s adsysctl [command] 179s 179s Available Commands: 179s applied Print last applied GPOs for current or given user/machine 179s completion Generate the autocompletion script for the specified shell 179s doc Documentation 179s help Help about any command 179s policy Policy management 179s service Service management 179s update Updates/Create a policy for current user or given user with its kerberos ticket 179s version Returns version of client and service 179s 179s Flags: 179s -c, --config string use a specific configuration file 179s -h, --help help for adsysctl 179s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 179s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 179s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 179s 179s Use "adsysctl [command] --help" for more information about a command. 179s 179s --- PASS: TestInitApp (0.00s) 179s === CONT TestAppGetRootCmd 179s # bash completion V2 for adsysctl -*- shell-script -*- 179s 179s __adsysctl_debug() 179s { 179s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 179s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 179s fi 179s } 179s 179s # Macs have bash3 for which the bash-completion package doesn't include 179s # _init_completion. This is a minimal version of that function. 179s __adsysctl_init_completion() 179s { 179s COMPREPLY=() 179s _get_comp_words_by_ref "$@" cur prev words cword 179s } 179s 179s # This function calls the adsysctl program to obtain the completion 179s # results and the directive. It fills the 'out' and 'directive' vars. 179s __adsysctl_get_completion_results() { 179s local requestComp lastParam lastChar args 179s 179s # Prepare the command to request completions for the program. 179s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 179s args=("${words[@]:1}") 179s requestComp="${words[0]} __complete ${args[*]}" 179s 179s lastParam=${words[$((${#words[@]}-1))]} 179s lastChar=${lastParam:$((${#lastParam}-1)):1} 179s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 179s 179s if [[ -z ${cur} && ${lastChar} != = ]]; then 179s # If the last parameter is complete (there is a space following it) 179s # We add an extra empty parameter so we can indicate this to the go method. 179s __adsysctl_debug "Adding extra empty parameter" 179s requestComp="${requestComp} ''" 179s fi 179s 179s # When completing a flag with an = (e.g., adsysctl -n=) 179s # bash focuses on the part after the =, so we need to remove 179s # the flag part from $cur 179s if [[ ${cur} == -*=* ]]; then 179s cur="${cur#*=}" 179s fi 179s 179s __adsysctl_debug "Calling ${requestComp}" 179s # Use eval to handle any environment variables and such 179s out=$(eval "${requestComp}" 2>/dev/null) 179s 179s # Extract the directive integer at the very end of the output following a colon (:) 179s directive=${out##*:} 179s # Remove the directive 179s out=${out%:*} 179s if [[ ${directive} == "${out}" ]]; then 179s # There is not directive specified 179s directive=0 179s fi 179s __adsysctl_debug "The completion directive is: ${directive}" 179s __adsysctl_debug "The completions are: ${out}" 179s } 179s 179s __adsysctl_process_completion_results() { 179s local shellCompDirectiveError=1 179s local shellCompDirectiveNoSpace=2 179s local shellCompDirectiveNoFileComp=4 179s local shellCompDirectiveFilterFileExt=8 179s local shellCompDirectiveFilterDirs=16 179s local shellCompDirectiveKeepOrder=32 179s 179s if (((directive & shellCompDirectiveError) != 0)); then 179s # Error code. No completion. 179s __adsysctl_debug "Received error from custom completion go code" 179s return 179s else 179s if (((directive & shellCompDirectiveNoSpace) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s __adsysctl_debug "Activating no space" 179s compopt -o nospace 179s else 179s __adsysctl_debug "No space directive not supported in this version of bash" 179s fi 179s fi 179s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s # no sort isn't supported for bash less than < 4.4 179s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 179s __adsysctl_debug "No sort directive not supported in this version of bash" 179s else 179s __adsysctl_debug "Activating keep order" 179s compopt -o nosort 179s fi 179s else 179s __adsysctl_debug "No sort directive not supported in this version of bash" 179s fi 179s fi 179s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s __adsysctl_debug "Activating no file completion" 179s compopt +o default 179s else 179s __adsysctl_debug "No file completion directive not supported in this version of bash" 179s fi 179s fi 179s fi 179s 179s # Separate activeHelp from normal completions 179s local completions=() 179s local activeHelp=() 179s __adsysctl_extract_activeHelp 179s 179s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 179s # File extension filtering 179s local fullFilter filter filteringCmd 179s 179s # Do not use quotes around the $completions variable or else newline 179s # characters will be kept. 179s for filter in ${completions[*]}; do 179s fullFilter+="$filter|" 179s done 179s 179s filteringCmd="_filedir $fullFilter" 179s __adsysctl_debug "File filtering command: $filteringCmd" 179s $filteringCmd 179s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 179s # File completion for directories only 179s 179s local subdir 179s subdir=${completions[0]} 179s if [[ -n $subdir ]]; then 179s __adsysctl_debug "Listing directories in $subdir" 179s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 179s else 179s __adsysctl_debug "Listing directories in ." 179s _filedir -d 179s fi 179s else 179s __adsysctl_handle_completion_types 179s fi 179s 179s __adsysctl_handle_special_char "$cur" : 179s __adsysctl_handle_special_char "$cur" = 179s 179s # Print the activeHelp statements before we finish 179s if ((${#activeHelp[*]} != 0)); then 179s printf "\n"; 179s printf "%s\n" "${activeHelp[@]}" 179s printf "\n" 179s 179s # The prompt format is only available from bash 4.4. 179s # We test if it is available before using it. 179s if (x=${PS1@P}) 2> /dev/null; then 179s printf "%s" "${PS1@P}${COMP_LINE[@]}" 179s else 179s # Can't print the prompt. Just print the 179s # text the user had typed, it is workable enough. 179s printf "%s" "${COMP_LINE[@]}" 179s fi 179s fi 179s } 179s 179s # Separate activeHelp lines from real completions. 179s # Fills the $activeHelp and $completions arrays. 179s __adsysctl_extract_activeHelp() { 179s local activeHelpMarker="_activeHelp_ " 179s local endIndex=${#activeHelpMarker} 179s 179s while IFS='' read -r comp; do 179s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 179s comp=${comp:endIndex} 179s __adsysctl_debug "ActiveHelp found: $comp" 179s if [[ -n $comp ]]; then 179s activeHelp+=("$comp") 179s fi 179s else 179s # Not an activeHelp line but a normal completion 179s completions+=("$comp") 179s fi 179s done <<<"${out}" 179s } 179s 179s __adsysctl_handle_completion_types() { 179s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 179s 179s case $COMP_TYPE in 179s 37|42) 179s # Type: menu-complete/menu-complete-backward and insert-completions 179s # If the user requested inserting one completion at a time, or all 179s # completions at once on the command-line we must remove the descriptions. 179s # https://github.com/spf13/cobra/issues/1508 179s local tab=$'\t' comp 179s while IFS='' read -r comp; do 179s [[ -z $comp ]] && continue 179s # Strip any description 179s comp=${comp%%$tab*} 179s # Only consider the completions that match 179s if [[ $comp == "$cur"* ]]; then 179s COMPREPLY+=("$comp") 179s fi 179s done < <(printf "%s\n" "${completions[@]}") 179s ;; 179s 179s *) 179s # Type: complete (normal completion) 179s __adsysctl_handle_standard_completion_case 179s ;; 179s esac 179s } 179s 179s __adsysctl_handle_standard_completion_case() { 179s local tab=$'\t' comp 179s 179s # Short circuit to optimize if we don't have descriptions 179s if [[ "${completions[*]}" != *$tab* ]]; then 179s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 179s return 0 179s fi 179s 179s local longest=0 179s local compline 179s # Look for the longest completion so that we can format things nicely 179s while IFS='' read -r compline; do 179s [[ -z $compline ]] && continue 179s # Strip any description before checking the length 179s comp=${compline%%$tab*} 179s # Only consider the completions that match 179s [[ $comp == "$cur"* ]] || continue 179s COMPREPLY+=("$compline") 179s if ((${#comp}>longest)); then 179s longest=${#comp} 179s fi 179s done < <(printf "%s\n" "${completions[@]}") 179s 179s # If there is a single completion left, remove the description text 179s if ((${#COMPREPLY[*]} == 1)); then 179s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 179s comp="${COMPREPLY[0]%%$tab*}" 179s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 179s COMPREPLY[0]=$comp 179s else # Format the descriptions 179s __adsysctl_format_comp_descriptions $longest 179s fi 179s } 179s 179s __adsysctl_handle_special_char() 179s { 179s local comp="$1" 179s local char=$2 179s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 179s local word=${comp%"${comp##*${char}}"} 179s local idx=${#COMPREPLY[*]} 179s while ((--idx >= 0)); do 179s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 179s done 179s fi 179s } 179s 179s __adsysctl_format_comp_descriptions() 179s { 179s local tab=$'\t' 179s local comp desc maxdesclength 179s local longest=$1 179s 179s local i ci 179s for ci in ${!COMPREPLY[*]}; do 179s comp=${COMPREPLY[ci]} 179s # Properly format the description string which follows a tab character if there is one 179s if [[ "$comp" == *$tab* ]]; then 179s __adsysctl_debug "Original comp: $comp" 179s desc=${comp#*$tab} 179s comp=${comp%%$tab*} 179s 179s # $COLUMNS stores the current shell width. 179s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 179s maxdesclength=$(( COLUMNS - longest - 4 )) 179s 179s # Make sure we can fit a description of at least 8 characters 179s # if we are to align the descriptions. 179s if ((maxdesclength > 8)); then 179s # Add the proper number of spaces to align the descriptions 179s for ((i = ${#comp} ; i < longest ; i++)); do 179s comp+=" " 179s done 179s else 179s # Don't pad the descriptions so we can fit more text after the completion 179s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 179s fi 179s 179s # If there is enough space for any description text, 179s # truncate the descriptions that are too long for the shell width 179s if ((maxdesclength > 0)); then 179s if ((${#desc} > maxdesclength)); then 179s desc=${desc:0:$(( maxdesclength - 1 ))} 179s desc+="…" 179s fi 179s comp+=" ($desc)" 179s fi 179s COMPREPLY[ci]=$comp 179s __adsysctl_debug "Final comp: $comp" 179s fi 179s done 179s } 179s 179s __start_adsysctl() 179s { 179s local cur prev words cword split 179s 179s COMPREPLY=() 179s 179s # Call _init_completion from the bash-completion package 179s # to prepare the arguments properly 179s if declare -F _init_completion >/dev/null 2>&1; then 179s _init_completion -n =: || return 179s else 179s __adsysctl_init_completion -n =: || return 179s fi 179s 179s __adsysctl_debug 179s __adsysctl_debug "========= starting completion logic ==========" 179s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 179s 179s # The user could have moved the cursor backwards on the command-line. 179s # We need to trigger completion from the $cword location, so we need 179s # to truncate the command-line ($words) up to the $cword location. 179s words=("${words[@]:0:$cword+1}") 179s __adsysctl_debug "Truncated words[*]: ${words[*]}," 179s 179s local out directive 179s __adsysctl_get_completion_results 179s __adsysctl_process_completion_results 179s } 179s 179s if [[ $(type -t compopt) = "builtin" ]]; then 179s complete -o default -F __start_adsysctl adsysctl 179s else 179s complete -o default -o nospace -F __start_adsysctl adsysctl 179s fi 179s 179s # ex: ts=4 sw=4 et filetype=sh 179s --- PASS: TestAppCanQuitAfterExecute (0.00s) 179s === CONT TestAppCanSigHupAfterExecute 179s --- PASS: TestAppGetRootCmd (0.00s) 179s === CONT TestAppCanSigHupWhenExecute 179s # bash completion V2 for adsysctl -*- shell-script -*- 179s 179s __adsysctl_debug() 179s { 179s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 179s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 179s fi 179s } 179s 179s # Macs have bash3 for which the bash-completion package doesn't include 179s # _init_completion. This is a minimal version of that function. 179s __adsysctl_init_completion() 179s { 179s COMPREPLY=() 179s _get_comp_words_by_ref "$@" cur prev words cword 179s } 179s 179s # This function calls the adsysctl program to obtain the completion 179s # results and the directive. It fills the 'out' and 'directive' vars. 179s __adsysctl_get_completion_results() { 179s local requestComp lastParam lastChar args 179s 179s # Prepare the command to request completions for the program. 179s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 179s args=("${words[@]:1}") 179s requestComp="${words[0]} __complete ${args[*]}" 179s 179s lastParam=${words[$((${#words[@]}-1))]} 179s lastChar=${lastParam:$((${#lastParam}-1)):1} 179s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 179s 179s if [[ -z ${cur} && ${lastChar} != = ]]; then 179s # If the last parameter is complete (there is a space following it) 179s # We add an extra empty parameter so we can indicate this to the go method. 179s __adsysctl_debug "Adding extra empty parameter" 179s requestComp="${requestComp} ''" 179s fi 179s 179s # When completing a flag with an = (e.g., adsysctl -n=) 179s # bash focuses on the part after the =, so we need to remove 179s # the flag part from $cur 179s if [[ ${cur} == -*=* ]]; then 179s cur="${cur#*=}" 179s fi 179s 179s __adsysctl_debug "Calling ${requestComp}" 179s # Use eval to handle any environment variables and such 179s out=$(eval "${requestComp}" 2>/dev/null) 179s 179s # Extract the directive integer at the very end of the output following a colon (:) 179s directive=${out##*:} 179s # Remove the directive 179s out=${out%:*} 179s if [[ ${directive} == "${out}" ]]; then 179s # There is not directive specified 179s directive=0 179s fi 179s __adsysctl_debug "The completion directive is: ${directive}" 179s __adsysctl_debug "The completions are: ${out}" 179s } 179s 179s __adsysctl_process_completion_results() { 179s local shellCompDirectiveError=1 179s local shellCompDirectiveNoSpace=2 179s local shellCompDirectiveNoFileComp=4 179s local shellCompDirectiveFilterFileExt=8 179s local shellCompDirectiveFilterDirs=16 179s local shellCompDirectiveKeepOrder=32 179s 179s if (((directive & shellCompDirectiveError) != 0)); then 179s # Error code. No completion. 179s __adsysctl_debug "Received error from custom completion go code" 179s return 179s else 179s if (((directive & shellCompDirectiveNoSpace) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s __adsysctl_debug "Activating no space" 179s compopt -o nospace 179s else 179s __adsysctl_debug "No space directive not supported in this version of bash" 179s fi 179s fi 179s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s # no sort isn't supported for bash less than < 4.4 179s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 179s __adsysctl_debug "No sort directive not supported in this version of bash" 179s else 179s __adsysctl_debug "Activating keep order" 179s compopt -o nosort 179s fi 179s else 179s __adsysctl_debug "No sort directive not supported in this version of bash" 179s fi 179s fi 179s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s __adsysctl_debug "Activating no file completion" 179s compopt +o default 179s else 179s __adsysctl_debug "No file completion directive not supported in this version of bash" 179s fi 179s fi 179s fi 179s 179s # Separate activeHelp from normal completions 179s local completions=() 179s local activeHelp=() 179s __adsysctl_extract_activeHelp 179s 179s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 179s # File extension filtering 179s local fullFilter filter filteringCmd 179s 179s # Do not use quotes around the $completions variable or else newline 179s # characters will be kept. 179s for filter in ${completions[*]}; do 179s fullFilter+="$filter|" 179s done 179s 179s filteringCmd="_filedir $fullFilter" 179s __adsysctl_debug "File filtering command: $filteringCmd" 179s $filteringCmd 179s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 179s # File completion for directories only 179s 179s local subdir 179s subdir=${completions[0]} 179s if [[ -n $subdir ]]; then 179s __adsysctl_debug "Listing directories in $subdir" 179s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 179s else 179s __adsysctl_debug "Listing directories in ." 179s _filedir -d 179s fi 179s else 179s __adsysctl_handle_completion_types 179s fi 179s 179s __adsysctl_handle_special_char "$cur" : 179s __adsysctl_handle_special_char "$cur" = 179s 179s # Print the activeHelp statements before we finish 179s if ((${#activeHelp[*]} != 0)); then 179s printf "\n"; 179s printf "%s\n" "${activeHelp[@]}" 179s printf "\n" 179s 179s # The prompt format is only available from bash 4.4. 179s # We test if it is available before using it. 179s if (x=${PS1@P}) 2> /dev/null; then 179s printf "%s" "${PS1@P}${COMP_LINE[@]}" 179s else 179s # Can't print the prompt. Just print the 179s # text the user had typed, it is workable enough. 179s printf "%s" "${COMP_LINE[@]}" 179s fi 179s fi 179s } 179s 179s # Separate activeHelp lines from real completions. 179s # Fills the $activeHelp and $completions arrays. 179s __adsysctl_extract_activeHelp() { 179s local activeHelpMarker="_activeHelp_ " 179s local endIndex=${#activeHelpMarker} 179s 179s while IFS='' read -r comp; do 179s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 179s comp=${comp:endIndex} 179s __adsysctl_debug "ActiveHelp found: $comp" 179s if [[ -n $comp ]]; then 179s activeHelp+=("$comp") 179s fi 179s else 179s # Not an activeHelp line but a normal completion 179s completions+=("$comp") 179s fi 179s done <<<"${out}" 179s } 179s 179s __adsysctl_handle_completion_types() { 179s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 179s 179s case $COMP_TYPE in 179s 37|42) 179s # Type: menu-complete/menu-complete-backward and insert-completions 179s # If the user requested inserting one completion at a time, or all 179s # completions at once on the command-line we must remove the descriptions. 179s # https://github.com/spf13/cobra/issues/1508 179s local tab=$'\t' comp 179s while IFS='' read -r comp; do 179s [[ -z $comp ]] && continue 179s # Strip any description 179s comp=${comp%%$tab*} 179s # Only consider the completions that match 179s if [[ $comp == "$cur"* ]]; then 179s COMPREPLY+=("$comp") 179s fi 179s done < <(printf "%s\n" "${completions[@]}") 179s ;; 179s 179s *) 179s # Type: complete (normal completion) 179s __adsysctl_handle_standard_completion_case 179s ;; 179s esac 179s } 179s 179s __adsysctl_handle_standard_completion_case() { 179s local tab=$'\t' comp 179s 179s # Short circuit to optimize if we don't have descriptions 179s if [[ "${completions[*]}" != *$tab* ]]; then 179s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 179s return 0 179s fi 179s 179s local longest=0 179s local compline 179s # Look for the longest completion so that we can format things nicely 179s while IFS='' read -r compline; do 179s [[ -z $compline ]] && continue 179s # Strip any description before checking the length 179s comp=${compline%%$tab*} 179s # Only consider the completions that match 179s [[ $comp == "$cur"* ]] || continue 179s COMPREPLY+=("$compline") 179s if ((${#comp}>longest)); then 179s longest=${#comp} 179s fi 179s done < <(printf "%s\n" "${completions[@]}") 179s 179s # If there is a single completion left, remove the description text 179s if ((${#COMPREPLY[*]} == 1)); then 179s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 179s comp="${COMPREPLY[0]%%$tab*}" 179s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 179s COMPREPLY[0]=$comp 179s else # Format the descriptions 179s __adsysctl_format_comp_descriptions $longest 179s fi 179s } 179s 179s __adsysctl_handle_special_char() 179s { 179s local comp="$1" 179s local char=$2 179s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 179s local word=${comp%"${comp##*${char}}"} 179s local idx=${#COMPREPLY[*]} 179s while ((--idx >= 0)); do 179s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 179s done 179s fi 179s } 179s 179s __adsysctl_format_comp_descriptions() 179s { 179s local tab=$'\t' 179s local comp desc maxdesclength 179s local longest=$1 179s 179s local i ci 179s for ci in ${!COMPREPLY[*]}; do 179s comp=${COMPREPLY[ci]} 179s # Properly format the description string which follows a tab character if there is one 179s if [[ "$comp" == *$tab* ]]; then 179s __adsysctl_debug "Original comp: $comp" 179s desc=${comp#*$tab} 179s comp=${comp%%$tab*} 179s 179s # $COLUMNS stores the current shell width. 179s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 179s maxdesclength=$(( COLUMNS - longest - 4 )) 179s 179s # Make sure we can fit a description of at least 8 characters 179s # if we are to align the descriptions. 179s if ((maxdesclength > 8)); then 179s # Add the proper number of spaces to align the descriptions 179s for ((i = ${#comp} ; i < longest ; i++)); do 179s comp+=" " 179s done 179s else 179s # Don't pad the descriptions so we can fit more text after the completion 179s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 179s fi 179s 179s # If there is enough space for any description text, 179s # truncate the descriptions that are too long for the shell width 179s if ((maxdesclength > 0)); then 179s if ((${#desc} > maxdesclength)); then 179s desc=${desc:0:$(( maxdesclength - 1 ))} 179s desc+="…" 179s fi 179s comp+=" ($desc)" 179s fi 179s COMPREPLY[ci]=$comp 179s __adsysctl_debug "Final comp: $comp" 179s fi 179s done 179s } 179s 179s __start_adsysctl() 179s { 179s local cur prev words cword split 179s 179s COMPREPLY=() 179s 179s # Call _init_completion from the bash-completion package 179s # to prepare the arguments properly 179s if declare -F _init_completion >/dev/null 2>&1; then 179s _init_completion -n =: || return 179s else 179s __adsysctl_init_completion -n =: || return 179s fi 179s 179s __adsysctl_debug 179s __adsysctl_debug "========= starting completion logic ==========" 179s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 179s 179s # The user could have moved the cursor backwards on the command-line. 179s # We need to trigger completion from the $cword location, so we need 179s # to truncate the command-line ($words) up to the $cword location. 179s words=("${words[@]:0:$cword+1}") 179s __adsysctl_debug "Truncated words[*]: ${words[*]}," 179s 179s local out directive 179s __adsysctl_get_completion_results 179s __adsysctl_process_completion_results 179s } 179s 179s if [[ $(type -t compopt) = "builtin" ]]; then 179s complete -o default -F __start_adsysctl adsysctl 179s else 179s complete -o default -o nospace -F __start_adsysctl adsysctl 179s fi 179s 179s # ex: ts=4 sw=4 et filetype=sh 179s --- PASS: TestAppCanSigHupAfterExecute (0.00s) 179s === CONT TestAppCanQuitWithoutExecute 179s --- PASS: TestAppCanSigHupWhenExecute (0.00s) 179s === CONT TestAppNoUsageError 179s --- PASS: TestAppCanQuitWithoutExecute (0.00s) 179s === CONT TestAppCanQuitWhenExecute 179s # bash completion V2 for adsysctl -*- shell-script -*- 179s 179s __adsysctl_debug() 179s { 179s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 179s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 179s fi 179s } 179s 179s # Macs have bash3 for which the bash-completion package doesn't include 179s # _init_completion. This is a minimal version of that function. 179s __adsysctl_init_completion() 179s { 179s COMPREPLY=() 179s _get_comp_words_by_ref "$@" cur prev words cword 179s } 179s 179s # This function calls the adsysctl program to obtain the completion 179s # results and the directive. It fills the 'out' and 'directive' vars. 179s __adsysctl_get_completion_results() { 179s local requestComp lastParam lastChar args 179s 179s # Prepare the command to request completions for the program. 179s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 179s args=("${words[@]:1}") 179s requestComp="${words[0]} __complete ${args[*]}" 179s 179s lastParam=${words[$((${#words[@]}-1))]} 179s lastChar=${lastParam:$((${#lastParam}-1)):1} 179s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 179s 179s if [[ -z ${cur} && ${lastChar} != = ]]; then 179s # If the last parameter is complete (there is a space following it) 179s # We add an extra empty parameter so we can indicate this to the go method. 179s __adsysctl_debug "Adding extra empty parameter" 179s requestComp="${requestComp} ''" 179s fi 179s 179s # When completing a flag with an = (e.g., adsysctl -n=) 179s # bash focuses on the part after the =, so we need to remove 179s # the flag part from $cur 179s if [[ ${cur} == -*=* ]]; then 179s cur="${cur#*=}" 179s fi 179s 179s __adsysctl_debug "Calling ${requestComp}" 179s # Use eval to handle any environment variables and such 179s out=$(eval "${requestComp}" 2>/dev/null) 179s 179s # Extract the directive integer at the very end of the output following a colon (:) 179s directive=${out##*:} 179s # Remove the directive 179s out=${out%:*} 179s if [[ ${directive} == "${out}" ]]; then 179s # There is not directive specified 179s directive=0 179s fi 179s __adsysctl_debug "The completion directive is: ${directive}" 179s __adsysctl_debug "The completions are: ${out}" 179s } 179s 179s __adsysctl_process_completion_results() { 179s local shellCompDirectiveError=1 179s local shellCompDirectiveNoSpace=2 179s local shellCompDirectiveNoFileComp=4 179s local shellCompDirectiveFilterFileExt=8 179s local shellCompDirectiveFilterDirs=16 179s local shellCompDirectiveKeepOrder=32 179s 179s if (((directive & shellCompDirectiveError) != 0)); then 179s # Error code. No completion. 179s __adsysctl_debug "Received error from custom completion go code" 179s return 179s else 179s if (((directive & shellCompDirectiveNoSpace) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s __adsysctl_debug "Activating no space" 179s compopt -o nospace 179s else 179s __adsysctl_debug "No space directive not supported in this version of bash" 179s fi 179s fi 179s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s # no sort isn't supported for bash less than < 4.4 179s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 179s __adsysctl_debug "No sort directive not supported in this version of bash" 179s else 179s __adsysctl_debug "Activating keep order" 179s compopt -o nosort 179s fi 179s else 179s __adsysctl_debug "No sort directive not supported in this version of bash" 179s fi 179s fi 179s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s __adsysctl_debug "Activating no file completion" 179s compopt +o default 179s else 179s __adsysctl_debug "No file completion directive not supported in this version of bash" 179s fi 179s fi 179s fi 179s 179s # Separate activeHelp from normal completions 179s local completions=() 179s local activeHelp=() 179s __adsysctl_extract_activeHelp 179s 179s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 179s # File extension filtering 179s local fullFilter filter filteringCmd 179s 179s # Do not use quotes around the $completions variable or else newline 179s # characters will be kept. 179s for filter in ${completions[*]}; do 179s fullFilter+="$filter|" 179s done 179s 179s filteringCmd="_filedir $fullFilter" 179s __adsysctl_debug "File filtering command: $filteringCmd" 179s $filteringCmd 179s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 179s # File completion for directories only 179s 179s local subdir 179s subdir=${completions[0]} 179s if [[ -n $subdir ]]; then 179s __adsysctl_debug "Listing directories in $subdir" 179s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 179s else 179s __adsysctl_debug "Listing directories in ." 179s _filedir -d 179s fi 179s else 179s __adsysctl_handle_completion_types 179s fi 179s 179s __adsysctl_handle_special_char "$cur" : 179s __adsysctl_handle_special_char "$cur" = 179s 179s # Print the activeHelp statements before we finish 179s if ((${#activeHelp[*]} != 0)); then 179s printf "\n"; 179s printf "%s\n" "${activeHelp[@]}" 179s printf "\n" 179s 179s # The prompt format is only available from bash 4.4. 179s # We test if it is available before using it. 179s if (x=${PS1@P}) 2> /dev/null; then 179s printf "%s" "${PS1@P}${COMP_LINE[@]}" 179s else 179s # Can't print the prompt. Just print the 179s # text the user had typed, it is workable enough. 179s printf "%s" "${COMP_LINE[@]}" 179s fi 179s fi 179s } 179s 179s # Separate activeHelp lines from real completions. 179s # Fills the $activeHelp and $completions arrays. 179s __adsysctl_extract_activeHelp() { 179s local activeHelpMarker="_activeHelp_ " 179s local endIndex=${#activeHelpMarker} 179s 179s while IFS='' read -r comp; do 179s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 179s comp=${comp:endIndex} 179s __adsysctl_debug "ActiveHelp found: $comp" 179s if [[ -n $comp ]]; then 179s activeHelp+=("$comp") 179s fi 179s else 179s # Not an activeHelp line but a normal completion 179s completions+=("$comp") 179s fi 179s done <<<"${out}" 179s } 179s 179s __adsysctl_handle_completion_types() { 179s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 179s 179s case $COMP_TYPE in 179s 37|42) 179s # Type: menu-complete/menu-complete-backward and insert-completions 179s # If the user requested inserting one completion at a time, or all 179s # completions at once on the command-line we must remove the descriptions. 179s # https://github.com/spf13/cobra/issues/1508 179s local tab=$'\t' comp 179s while IFS='' read -r comp; do 179s [[ -z $comp ]] && continue 179s # Strip any description 179s comp=${comp%%$tab*} 179s # Only consider the completions that match 179s if [[ $comp == "$cur"* ]]; then 179s COMPREPLY+=("$comp") 179s fi 179s done < <(printf "%s\n" "${completions[@]}") 179s ;; 179s 179s *) 179s # Type: complete (normal completion) 179s __adsysctl_handle_standard_completion_case 179s ;; 179s esac 179s } 179s 179s __adsysctl_handle_standard_completion_case() { 179s local tab=$'\t' comp 179s 179s # Short circuit to optimize if we don't have descriptions 179s if [[ "${completions[*]}" != *$tab* ]]; then 179s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 179s return 0 179s fi 179s 179s local longest=0 179s local compline 179s # Look for the longest completion so that we can format things nicely 179s while IFS='' read -r compline; do 179s [[ -z $compline ]] && continue 179s # Strip any description before checking the length 179s comp=${compline%%$tab*} 179s # Only consider the completions that match 179s [[ $comp == "$cur"* ]] || continue 179s COMPREPLY+=("$compline") 179s if ((${#comp}>longest)); then 179s longest=${#comp} 179s fi 179s done < <(printf "%s\n" "${completions[@]}") 179s 179s # If there is a single completion left, remove the description text 179s if ((${#COMPREPLY[*]} == 1)); then 179s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 179s comp="${COMPREPLY[0]%%$tab*}" 179s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 179s COMPREPLY[0]=$comp 179s else # Format the descriptions 179s __adsysctl_format_comp_descriptions $longest 179s fi 179s } 179s 179s __adsysctl_handle_special_char() 179s { 179s local comp="$1" 179s local char=$2 179s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 179s local word=${comp%"${comp##*${char}}"} 179s local idx=${#COMPREPLY[*]} 179s while ((--idx >= 0)); do 179s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 179s done 179s fi 179s } 179s 179s __adsysctl_format_comp_descriptions() 179s { 179s local tab=$'\t' 179s local comp desc maxdesclength 179s local longest=$1 179s 179s local i ci 179s for ci in ${!COMPREPLY[*]}; do 179s comp=${COMPREPLY[ci]} 179s # Properly format the description string which follows a tab character if there is one 179s if [[ "$comp" == *$tab* ]]; then 179s __adsysctl_debug "Original comp: $comp" 179s desc=${comp#*$tab} 179s comp=${comp%%$tab*} 179s 179s # $COLUMNS stores the current shell width. 179s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 179s maxdesclength=$(( COLUMNS - longest - 4 )) 179s 179s # Make sure we can fit a description of at least 8 characters 179s # if we are to align the descriptions. 179s if ((maxdesclength > 8)); then 179s # Add the proper number of spaces to align the descriptions 179s for ((i = ${#comp} ; i < longest ; i++)); do 179s comp+=" " 179s done 179s else 179s # Don't pad the descriptions so we can fit more text after the completion 179s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 179s fi 179s 179s # If there is enough space for any description text, 179s # truncate the descriptions that are too long for the shell width 179s if ((maxdesclength > 0)); then 179s if ((${#desc} > maxdesclength)); then 179s desc=${desc:0:$(( maxdesclength - 1 ))} 179s desc+="…" 179s fi 179s comp+=" ($desc)" 179s fi 179s COMPREPLY[ci]=$comp 179s __adsysctl_debug "Final comp: $comp" 179s fi 179s done 179s } 179s 179s __start_adsysctl() 179s { 179s local cur prev words cword split 179s 179s COMPREPLY=() 179s 179s # Call _init_completion from the bash-completion package 179s # to prepare the arguments properly 179s if declare -F _init_completion >/dev/null 2>&1; then 179s _init_completion -n =: || return 179s else 179s __adsysctl_init_completion -n =: || return 179s fi 179s 179s __adsysctl_debug 179s __adsysctl_debug "========= starting completion logic ==========" 179s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 179s 179s # The user could have moved the cursor backwards on the command-line. 179s # We need to trigger completion from the $cword location, so we need 179s # to truncate the command-line ($words) up to the $cword location. 179s words=("${words[@]:0:$cword+1}") 179s __adsysctl_debug "Truncated words[*]: ${words[*]}," 179s 179s local out directive 179s __adsysctl_get_completion_results 179s __adsysctl_process_completion_results 179s } 179s 179s if [[ $(type -t compopt) = "builtin" ]]; then 179s complete -o default -F __start_adsysctl adsysctl 179s else 179s complete -o default -o nospace -F __start_adsysctl adsysctl 179s fi 179s 179s # ex: ts=4 sw=4 et filetype=sh 179s --- PASS: TestAppNoUsageError (0.00s) 179s === CONT TestAppUsageError 179s Usage: 179s adsysctl COMMAND [flags] 179s adsysctl [command] 179s 179s Available Commands: 179s applied Print last applied GPOs for current or given user/machine 179s completion Generate the autocompletion script for the specified shell 179s doc Documentation 179s help Help about any command 179s policy Policy management 179s service Service management 179s update Updates/Create a policy for current user or given user with its kerberos ticket 179s version Returns version of client and service 179s 179s Flags: 179s -c, --config string use a specific configuration file 179s -h, --help help for adsysctl 179s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 179s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 179s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 179s 179s Use "adsysctl [command] --help" for more information about a command. 179s 179s --- PASS: TestAppUsageError (0.00s) 179s === CONT TestAppCompletion 179s --- PASS: TestAppCanQuitWhenExecute (0.01s) 179s === CONT TestAppHelp 179s # bash completion V2 for adsysctl -*- shell-script -*- 179s 179s __adsysctl_debug() 179s { 179s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 179s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 179s fi 179s } 179s 179s # Macs have bash3 for which the bash-completion package doesn't include 179s # _init_completion. This is a minimal version of that function. 179s __adsysctl_init_completion() 179s { 179s COMPREPLY=() 179s _get_comp_words_by_ref "$@" cur prev words cword 179s } 179s 179s # This function calls the adsysctl program to obtain the completion 179s # results and the directive. It fills the 'out' and 'directive' vars. 179s __adsysctl_get_completion_results() { 179s local requestComp lastParam lastChar args 179s 179s # Prepare the command to request completions for the program. 179s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 179s args=("${words[@]:1}") 179s requestComp="${words[0]} __complete ${args[*]}" 179s 179s lastParam=${words[$((${#words[@]}-1))]} 179s lastChar=${lastParam:$((${#lastParam}-1)):1} 179s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 179s 179s if [[ -z ${cur} && ${lastChar} != = ]]; then 179s # If the last parameter is complete (there is a space following it) 179s # We add an extra empty parameter so we can indicate this to the go method. 179s __adsysctl_debug "Adding extra empty parameter" 179s requestComp="${requestComp} ''" 179s fi 179s 179s # When completing a flag with an = (e.g., adsysctl -n=) 179s # bash focuses on the part after the =, so we need to remove 179s # the flag part from $cur 179s if [[ ${cur} == -*=* ]]; then 179s cur="${cur#*=}" 179s fi 179s 179s __adsysctl_debug "Calling ${requestComp}" 179s # Use eval to handle any environment variables and such 179s out=$(eval "${requestComp}" 2>/dev/null) 179s 179s # Extract the directive integer at the very end of the output following a colon (:) 179s directive=${out##*:} 179s # Remove the directive 179s out=${out%:*} 179s if [[ ${directive} == "${out}" ]]; then 179s # There is not directive specified 179s directive=0 179s fi 179s __adsysctl_debug "The completion directive is: ${directive}" 179s __adsysctl_debug "The completions are: ${out}" 179s } 179s 179s __adsysctl_process_completion_results() { 179s local shellCompDirectiveError=1 179s local shellCompDirectiveNoSpace=2 179s local shellCompDirectiveNoFileComp=4 179s local shellCompDirectiveFilterFileExt=8 179s local shellCompDirectiveFilterDirs=16 179s local shellCompDirectiveKeepOrder=32 179s 179s if (((directive & shellCompDirectiveError) != 0)); then 179s # Error code. No completion. 179s __adsysctl_debug "Received error from custom completion go code" 179s return 179s else 179s if (((directive & shellCompDirectiveNoSpace) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s __adsysctl_debug "Activating no space" 179s compopt -o nospace 179s else 179s __adsysctl_debug "No space directive not supported in this version of bash" 179s fi 179s fi 179s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s # no sort isn't supported for bash less than < 4.4 179s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 179s __adsysctl_debug "No sort directive not supported in this version of bash" 179s else 179s __adsysctl_debug "Activating keep order" 179s compopt -o nosort 179s fi 179s else 179s __adsysctl_debug "No sort directive not supported in this version of bash" 179s fi 179s fi 179s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 179s if [[ $(type -t compopt) == builtin ]]; then 179s __adsysctl_debug "Activating no file completion" 179s compopt +o default 179s else 179s __adsysctl_debug "No file completion directive not supported in this version of bash" 179s fi 179s fi 179s fi 179s 179s # Separate activeHelp from normal completions 179s local completions=() 179s local activeHelp=() 179s __adsysctl_extract_activeHelp 179s 179s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 179s # File extension filtering 179s local fullFilter filter filteringCmd 179s 179s # Do not use quotes around the $completions variable or else newline 179s # characters will be kept. 179s for filter in ${completions[*]}; do 179s fullFilter+="$filter|" 179s done 179s 179s filteringCmd="_filedir $fullFilter" 179s __adsysctl_debug "File filtering command: $filteringCmd" 179s $filteringCmd 179s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 179s # File completion for directories only 179s 179s local subdir 179s subdir=${completions[0]} 179s if [[ -n $subdir ]]; then 179s __adsysctl_debug "Listing directories in $subdir" 179s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 179s else 179s __adsysctl_debug "Listing directories in ." 179s _filedir -d 179s fi 179s else 179s __adsysctl_handle_completion_types 179s fi 179s 179s __adsysctl_handle_special_char "$cur" : 179s __adsysctl_handle_special_char "$cur" = 179s 179s # Print the activeHelp statements before we finish 179s if ((${#activeHelp[*]} != 0)); then 179s printf "\n"; 179s printf "%s\n" "${activeHelp[@]}" 179s printf "\n" 179s 179s # The prompt format is only available from bash 4.4. 179s # We test if it is available before using it. 179s if (x=${PS1@P}) 2> /dev/null; then 179s printf "%s" "${PS1@P}${COMP_LINE[@]}" 179s else 179s # Can't print the prompt. Just print the 179s # text the user had typed, it is workable enough. 179s printf "%s" "${COMP_LINE[@]}" 179s fi 179s fi 179s } 179s 179s # Separate activeHelp lines from real completions. 179s # Fills the $activeHelp and $completions arrays. 179s __adsysctl_extract_activeHelp() { 179s local activeHelpMarker="_activeHelp_ " 179s local endIndex=${#activeHelpMarker} 179s 179s while IFS='' read -r comp; do 179s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 179s comp=${comp:endIndex} 179s __adsysctl_debug "ActiveHelp found: $comp" 179s if [[ -n $comp ]]; then 179s activeHelp+=("$comp") 179s fi 179s else 179s # Not an activeHelp line but a normal completion 179s completions+=("$comp") 179s fi 179s done <<<"${out}" 179s } 179s 179s __adsysctl_handle_completion_types() { 179s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 179s 179s case $COMP_TYPE in 179s 37|42) 179s # Type: menu-complete/menu-complete-backward and insert-completions 179s # If the user requested inserting one completion at a time, or all 179s # completions at once on the command-line we must remove the descriptions. 179s # https://github.com/spf13/cobra/issues/1508 179s local tab=$'\t' comp 179s while IFS='' read -r comp; do 179s [[ -z $comp ]] && continue 179s # Strip any description 179s comp=${comp%%$tab*} 179s # Only consider the completions that match 179s if [[ $comp == "$cur"* ]]; then 179s COMPREPLY+=("$comp") 179s fi 179s done < <(printf "%s\n" "${completions[@]}") 179s ;; 179s 179s *) 179s # Type: complete (normal completion) 179s __adsysctl_handle_standard_completion_case 179s ;; 179s esac 179s } 179s 179s __adsysctl_handle_standard_completion_case() { 179s local tab=$'\t' comp 179s 179s # Short circuit to optimize if we don't have descriptions 179s if [[ "${completions[*]}" != *$tab* ]]; then 179s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 179s return 0 179s fi 179s 179s local longest=0 179s local compline 179s # Look for the longest completion so that we can format things nicely 179s while IFS='' read -r compline; do 179s [[ -z $compline ]] && continue 179s # Strip any description before checking the length 179s comp=${compline%%$tab*} 179s # Only consider the completions that match 179s [[ $comp == "$cur"* ]] || continue 179s COMPREPLY+=("$compline") 179s if ((${#comp}>longest)); then 179s longest=${#comp} 179s fi 179s done < <(printf "%s\n" "${completions[@]}") 179s 179s # If there is a single completion left, remove the description text 179s if ((${#COMPREPLY[*]} == 1)); then 179s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 179s comp="${COMPREPLY[0]%%$tab*}" 179s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 179s COMPREPLY[0]=$comp 179s else # Format the descriptions 179s __adsysctl_format_comp_descriptions $longest 179s fi 179s } 179s 179s __adsysctl_handle_special_char() 179s { 179s local comp="$1" 179s local char=$2 179s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 179s local word=${comp%"${comp##*${char}}"} 179s local idx=${#COMPREPLY[*]} 179s while ((--idx >= 0)); do 179s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 179s done 179s fi 179s } 179s 179s __adsysctl_format_comp_descriptions() 179s { 179s local tab=$'\t' 179s local comp desc maxdesclength 179s local longest=$1 179s 179s local i ci 179s for ci in ${!COMPREPLY[*]}; do 179s comp=${COMPREPLY[ci]} 179s # Properly format the description string which follows a tab character if there is one 179s if [[ "$comp" == *$tab* ]]; then 179s __adsysctl_debug "Original comp: $comp" 179s desc=${comp#*$tab} 179s comp=${comp%%$tab*} 179s 179s # $COLUMNS stores the current shell width. 179s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 179s maxdesclength=$(( COLUMNS - longest - 4 )) 179s 179s # Make sure we can fit a description of at least 8 characters 179s # if we are to align the descriptions. 179s if ((maxdesclength > 8)); then 179s # Add the proper number of spaces to align the descriptions 179s for ((i = ${#comp} ; i < longest ; i++)); do 179s comp+=" " 179s done 179s else 179s # Don't pad the descriptions so we can fit more text after the completion 179s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 179s fi 179s 179s # If there is enough space for any description text, 179s # truncate the descriptions that are too long for the shell width 179s if ((maxdesclength > 0)); then 179s if ((${#desc} > maxdesclength)); then 179s desc=${desc:0:$(( maxdesclength - 1 ))} 179s desc+="…" 179s fi 179s comp+=" ($desc)" 179s fi 179s COMPREPLY[ci]=$comp 179s __adsysctl_debug "Final comp: $comp" 179s fi 179s done 179s } 179s 179s __start_adsysctl() 179s { 179s local cur prev words cword split 179s 179s COMPREPLY=() 179s 179s # Call _init_completion from the bash-completion package 179s # to prepare the arguments properly 179s if declare -F _init_completion >/dev/null 2>&1; then 179s _init_completion -n =: || return 179s else 179s __adsysctl_init_completion -n =: || return 179s fi 179s 179s __adsysctl_debug 179s __adsysctl_debug "========= starting completion logic ==========" 179s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 179s 179s # The user could have moved the cursor backwards on the command-line. 179s # We need to trigger completion from the $cword location, so we need 179s # to truncate the command-line ($words) up to the $cword location. 179s words=("${words[@]:0:$cword+1}") 179s __adsysctl_debug "Truncated words[*]: ${words[*]}," 179s 179s local out directive 179s __adsysctl_get_completion_results 179s __adsysctl_process_completion_results 179s } 179s 179s if [[ $(type -t compopt) = "builtin" ]]; then 179s complete -o default -F __start_adsysctl adsysctl 179s else 179s complete -o default -o nospace -F __start_adsysctl adsysctl 179s fi 179s 179s # ex: ts=4 sw=4 et filetype=sh 179s --- PASS: TestAppCompletion (0.00s) 179s Active Directory integration bridging toolset command line tool. 179s 179s Usage: 179s adsysctl COMMAND [flags] 179s adsysctl [command] 179s 179s Available Commands: 179s applied Print last applied GPOs for current or given user/machine 179s completion Generate the autocompletion script for the specified shell 179s doc Documentation 179s help Help about any command 179s policy Policy management 179s service Service management 179s update Updates/Create a policy for current user or given user with its kerberos ticket 179s version Returns version of client and service 179s 179s Flags: 179s -c, --config string use a specific configuration file 179s -h, --help help for adsysctl 179s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 179s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 179s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 179s 179s Use "adsysctl [command] --help" for more information about a command. 179s --- PASS: TestAppHelp (0.01s) 179s PASS 179s ok github.com/ubuntu/adsys/cmd/adsysd/client 0.108s 183s ? github.com/ubuntu/adsys/cmd/adwatchd [no test files] 183s ? github.com/ubuntu/adsys/cmd/adwatchd/commands [no test files] 184s === RUN TestAppHelp 184s === PAUSE TestAppHelp 184s === RUN TestAppCompletion 184s === PAUSE TestAppCompletion 184s === RUN TestAppVersion 184s --- PASS: TestAppVersion (0.00s) 184s === RUN TestAppNoUsageError 184s === PAUSE TestAppNoUsageError 184s === RUN TestAppUsageError 184s === PAUSE TestAppUsageError 184s === RUN TestAppCanQuitWhenExecute 184s time="2025-06-17T13:54:41Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 184s --- PASS: TestAppCanQuitWhenExecute (0.06s) 184s === RUN TestAppCanQuitAfterExecute 184s time="2025-06-17T13:54:41Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 184s --- PASS: TestAppCanQuitAfterExecute (1.01s) 184s === RUN TestAppCanQuitWithoutExecute 184s === PAUSE TestAppCanQuitWithoutExecute 184s === RUN TestAppRunFailsOnDaemonCreationAndQuit 184s time="2025-06-17T13:54:42Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 184s --- PASS: TestAppRunFailsOnDaemonCreationAndQuit (0.01s) 184s === RUN TestAppRunFailsOnServiceCreationAndQuit 184s --- PASS: TestAppRunFailsOnServiceCreationAndQuit (0.00s) 184s === RUN TestAppCanSigHupWhenExecute 184s time="2025-06-17T13:54:42Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 184s --- PASS: TestAppCanSigHupWhenExecute (0.06s) 184s === RUN TestAppCanSigHupAfterExecute 184s time="2025-06-17T13:54:42Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 184s --- PASS: TestAppCanSigHupAfterExecute (1.01s) 184s === RUN TestAppCanSigHupWithoutExecute 184s --- PASS: TestAppCanSigHupWithoutExecute (0.00s) 184s === RUN TestAppTimeout 184s time="2025-06-17T13:54:43Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 184s --- PASS: TestAppTimeout (1.01s) 184s === RUN TestAppGetRootCmd 184s === PAUSE TestAppGetRootCmd 184s === RUN TestConfigLoad 184s time="2025-06-17T13:54:44Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 184s time="2025-06-17T13:54:44Z" level=info msg="Serving on /tmp/TestConfigLoad2546321610/001/adsys.socket" 184s time="2025-06-17T13:54:44Z" level=info msg="Stopping daemon requested." 184s time="2025-06-17T13:54:44Z" level=info msg="Wait for active requests to close." 184s --- PASS: TestConfigLoad (0.06s) 184s === RUN TestConfigChange 184s time="2025-06-17T13:54:44Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 184s time="2025-06-17T13:54:44Z" level=info msg="Serving on /tmp/TestConfigChange832770399/001/adsys.socket" 184s time="2025-06-17T13:54:44Z" level=info msg="Stopping daemon requested." 184s time="2025-06-17T13:54:44Z" level=info msg="Wait for active requests to close." 184s time="2025-06-17T13:54:44Z" level=debug msg="All connections have now ended." 184s time="2025-06-17T13:54:44Z" level=debug msg=Quitting 184s --- PASS: TestConfigChange (0.16s) 184s === CONT TestAppHelp 184s === CONT TestAppUsageError 184s --- PASS: TestAppUsageError (0.00s) 184s === CONT TestAppGetRootCmd 184s --- PASS: TestAppGetRootCmd (0.00s) 184s === CONT TestAppCanQuitWithoutExecute 184s daemon_test.go:104: We need to initialize the daemon first, so this is not possible and will hang forever (ready not closed) 184s Active Directory integration bridging toolset daemon. 184s 184s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 184s === CONT TestAppNoUsageError 184s Usage: 184s adsysd COMMAND [flags] 184s adsysd [command] 184s 184s Available Commands: 184s completion Generate the autocompletion script for the specified shell 184s help Help about any command 184s version Returns version of service and exits 184s 184s Flags: 184s --ad-backend string Active Directory authentication backend (default "sssd") 184s --cache-dir string directory where ADSys caches GPOs downloads and policies. (default "/var/cache/adsys") 184s -c, --config string use a specific configuration file 184s --gpo-list-timeout int time in seconds for the GPO list. 0 for no timeout. (default 10) 184s -h, --help help for adsysd 184s --run-dir string directory where ADSys stores transient information erased on reboot. (default "/run/adsys") 184s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 184s --sssd.cache-dir string SSSd cache directory (default "/var/lib/sss/db") 184s --sssd.config string SSSd config file path (default "/etc/sssd/sssd.conf") 184s -t, --timeout int time in seconds without activity before the service exists. 0 for no timeout. (default 120) 184s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 184s 184s Use "adsysd [command] --help" for more information about a command. 184s --- PASS: TestAppHelp (0.00s) 184s === CONT TestAppCompletion 184s # bash completion V2 for adsysd -*- shell-script -*- 184s 184s __adsysd_debug() 184s { 184s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 184s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 184s fi 184s } 184s 184s # Macs have bash3 for which the bash-completion package doesn't include 184s # _init_completion. This is a minimal version of that function. 184s __adsysd_init_completion() 184s { 184s COMPREPLY=() 184s _get_comp_words_by_ref "$@" cur prev words cword 184s } 184s 184s # This function calls the adsysd program to obtain the completion 184s # results and the directive. It fills the 'out' and 'directive' vars. 184s __adsysd_get_completion_results() { 184s local requestComp lastParam lastChar args 184s 184s # Prepare the command to request completions for the program. 184s # Calling ${words[0]} instead of directly adsysd allows handling aliases 184s args=("${words[@]:1}") 184s requestComp="${words[0]} __complete ${args[*]}" 184s 184s lastParam=${words[$((${#words[@]}-1))]} 184s lastChar=${lastParam:$((${#lastParam}-1)):1} 184s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 184s 184s if [[ -z ${cur} && ${lastChar} != = ]]; then 184s # If the last parameter is complete (there is a space following it) 184s # We add an extra empty parameter so we can indicate this to the go method. 184s __adsysd_debug "Adding extra empty parameter" 184s requestComp="${requestComp} ''" 184s fi 184s 184s # When completing a flag with an = (e.g., adsysd -n=) 184s # bash focuses on the part after the =, so we need to remove 184s # the flag part from $cur 184s if [[ ${cur} == -*=* ]]; then 184s cur="${cur#*=}" 184s fi 184s 184s __adsysd_debug "Calling ${requestComp}" 184s # Use eval to handle any environment variables and such 184s out=$(eval "${requestComp}" 2>/dev/null) 184s 184s # Extract the directive integer at the very end of the output following a colon (:) 184s directive=${out##*:} 184s # Remove the directive 184s out=${out%:*} 184s if [[ ${directive} == "${out}" ]]; then 184s # There is not directive specified 184s directive=0 184s fi 184s __adsysd_debug "The completion directive is: ${directive}" 184s __adsysd_debug "The completions are: ${out}" 184s } 184s 184s __adsysd_process_completion_results() { 184s local shellCompDirectiveError=1 184s local shellCompDirectiveNoSpace=2 184s local shellCompDirectiveNoFileComp=4 184s local shellCompDirectiveFilterFileExt=8 184s local shellCompDirectiveFilterDirs=16 184s local shellCompDirectiveKeepOrder=32 184s 184s if (((directive & shellCompDirectiveError) != 0)); then 184s # Error code. No completion. 184s __adsysd_debug "Received error from custom completion go code" 184s return 184s else 184s if (((directive & shellCompDirectiveNoSpace) != 0)); then 184s if [[ $(type -t compopt) == builtin ]]; then 184s __adsysd_debug "Activating no space" 184s compopt -o nospace 184s else 184s __adsysd_debug "No space directive not supported in this version of bash" 184s fi 184s fi 184s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 184s if [[ $(type -t compopt) == builtin ]]; then 184s # no sort isn't supported for bash less than < 4.4 184s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 184s __adsysd_debug "No sort directive not supported in this version of bash" 184s else 184s __adsysd_debug "Activating keep order" 184s compopt -o nosort 184s fi 184s else 184s __adsysd_debug "No sort directive not supported in this version of bash" 184s fi 184s fi 184s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 184s if [[ $(type -t compopt) == builtin ]]; then 184s __adsysd_debug "Activating no file completion" 184s compopt +o default 184s else 184s __adsysd_debug "No file completion directive not supported in this version of bash" 184s fi 184s fi 184s fi 184s 184s # Separate activeHelp from normal completions 184s local completions=() 184s local activeHelp=() 184s __adsysd_extract_activeHelp 184s 184s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 184s # File extension filtering 184s local fullFilter filter filteringCmd 184s 184s # Do not use quotes around the $completions variable or else newline 184s # characters will be kept. 184s for filter in ${completions[*]}; do 184s fullFilter+="$filter|" 184s done 184s 184s filteringCmd="_filedir $fullFilter" 184s __adsysd_debug "File filtering command: $filteringCmd" 184s $filteringCmd 184s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 184s # File completion for directories only 184s 184s local subdir 184s subdir=${completions[0]} 184s if [[ -n $subdir ]]; then 184s __adsysd_debug "Listing directories in $subdir" 184s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 184s else 184s __adsysd_debug "Listing directories in ." 184s _filedir -d 184s fi 184s else 184s __adsysd_handle_completion_types 184s fi 184s 184s __adsysd_handle_special_char "$cur" : 184s __adsysd_handle_special_char "$cur" = 184s 184s # Print the activeHelp statements before we finish 184s if ((${#activeHelp[*]} != 0)); then 184s printf "\n"; 184s printf "%s\n" "${activeHelp[@]}" 184s printf "\n" 184s 184s # The prompt format is only available from bash 4.4. 184s # We test if it is available before using it. 184s if (x=${PS1@P}) 2> /dev/null; then 184s printf "%s" "${PS1@P}${COMP_LINE[@]}" 184s else 184s # Can't print the prompt. Just print the 184s # text the user had typed, it is workable enough. 184s printf "%s" "${COMP_LINE[@]}" 184s fi 184s fi 184s } 184s 184s # Separate activeHelp lines from real completions. 184s # Fills the $activeHelp and $completions arrays. 184s __adsysd_extract_activeHelp() { 184s local activeHelpMarker="_activeHelp_ " 184s local endIndex=${#activeHelpMarker} 184s 184s while IFS='' read -r comp; do 184s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 184s comp=${comp:endIndex} 184s __adsysd_debug "ActiveHelp found: $comp" 184s if [[ -n $comp ]]; then 184s activeHelp+=("$comp") 184s fi 184s else 184s # Not an activeHelp line but a normal completion 184s completions+=("$comp") 184s fi 184s done <<<"${out}" 184s } 184s 184s __adsysd_handle_completion_types() { 184s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 184s 184s case $COMP_TYPE in 184s 37|42) 184s # Type: menu-complete/menu-complete-backward and insert-completions 184s # If the user requested inserting one completion at a time, or all 184s # completions at once on the command-line we must remove the descriptions. 184s # https://github.com/spf13/cobra/issues/1508 184s local tab=$'\t' comp 184s while IFS='' read -r comp; do 184s [[ -z $comp ]] && continue 184s # Strip any description 184s comp=${comp%%$tab*} 184s # Only consider the completions that match 184s if [[ $comp == "$cur"* ]]; then 184s COMPREPLY+=("$comp") 184s fi 184s done < <(printf "%s\n" "${completions[@]}") 184s ;; 184s 184s *) 184s # Type: complete (normal completion) 184s __adsysd_handle_standard_completion_case 184s ;; 184s esac 184s } 184s 184s __adsysd_handle_standard_completion_case() { 184s local tab=$'\t' comp 184s 184s # Short circuit to optimize if we don't have descriptions 184s if [[ "${completions[*]}" != *$tab* ]]; then 184s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 184s return 0 184s fi 184s 184s local longest=0 184s local compline 184s # Look for the longest completion so that we can format things nicely 184s while IFS='' read -r compline; do 184s [[ -z $compline ]] && continue 184s # Strip any description before checking the length 184s comp=${compline%%$tab*} 184s # Only consider the completions that match 184s [[ $comp == "$cur"* ]] || continue 184s COMPREPLY+=("$compline") 184s if ((${#comp}>longest)); then 184s longest=${#comp} 184s fi 184s done < <(printf "%s\n" "${completions[@]}") 184s 184s # If there is a single completion left, remove the description text 184s if ((${#COMPREPLY[*]} == 1)); then 184s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 184s comp="${COMPREPLY[0]%%$tab*}" 184s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 184s COMPREPLY[0]=$comp 184s else # Format the descriptions 184s __adsysd_format_comp_descriptions $longest 184s fi 184s } 184s 184s __adsysd_handle_special_char() 184s { 184s local comp="$1" 184s local char=$2 184s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 184s local word=${comp%"${comp##*${char}}"} 184s local idx=${#COMPREPLY[*]} 184s while ((--idx >= 0)); do 184s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 184s done 184s fi 184s } 184s 184s __adsysd_format_comp_descriptions() 184s { 184s local tab=$'\t' 184s local comp desc maxdesclength 184s local longest=$1 184s 184s local i ci 184s for ci in ${!COMPREPLY[*]}; do 184s comp=${COMPREPLY[ci]} 184s # Properly format the description string which follows a tab character if there is one 184s if [[ "$comp" == *$tab* ]]; then 184s __adsysd_debug "Original comp: $comp" 184s desc=${comp#*$tab} 184s comp=${comp%%$tab*} 184s 184s # $COLUMNS stores the current shell width. 184s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 184s maxdesclength=$(( COLUMNS - longest - 4 )) 184s 184s # Make sure we can fit a description of at least 8 characters 184s # if we are to align the descriptions. 184s if ((maxdesclength > 8)); then 184s # Add the proper number of spaces to align the descriptions 184s for ((i = ${#comp} ; i < longest ; i++)); do 184s comp+=" " 184s done 184s else 184s # Don't pad the descriptions so we can fit more text after the completion 184s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 184s fi 184s 184s # If there is enough space for any description text, 184s # truncate the descriptions that are too long for the shell width 184s if ((maxdesclength > 0)); then 184s if ((${#desc} > maxdesclength)); then 184s desc=${desc:0:$(( maxdesclength - 1 ))} 184s desc+="…" 184s fi 184s comp+=" ($desc)" 184s fi 184s COMPREPLY[ci]=$comp 184s __adsysd_debug "Final comp: $comp" 184s fi 184s done 184s } 184s 184s __start_adsysd() 184s { 184s local cur prev words cword split 184s 184s COMPREPLY=() 184s 184s # Call _init_completion from the bash-completion package 184s # to prepare the arguments properly 184s if declare -F _init_completion >/dev/null 2>&1; then 184s _init_completion -n =: || return 184s else 184s __adsysd_init_completion -n =: || return 184s fi 184s 184s __adsysd_debug 184s __adsysd_debug "========= starting completion logic ==========" 184s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 184s 184s # The user could have moved the cursor backwards on the command-line. 184s # We need to trigger completion from the $cword location, so we need 184s # to truncate the command-line ($words) up to the $cword location. 184s words=("${words[@]:0:$cword+1}") 184s __adsysd_debug "Truncated words[*]: ${words[*]}," 184s 184s local out directive 184s __adsysd_get_completion_results 184s __adsysd_process_completion_results 184s } 184s 184s if [[ $(type -t compopt) = "builtin" ]]; then 184s complete -o default -F __start_adsysd adsysd 184s else 184s complete -o default -o nospace -F __start_adsysd adsysd 184s fi 184s 184s # ex: ts=4 sw=4 et filetype=sh 184s --- PASS: TestAppNoUsageError (0.00s) 184s # bash completion V2 for adsysd -*- shell-script -*- 184s 184s __adsysd_debug() 184s { 184s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 184s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 184s fi 184s } 184s 184s # Macs have bash3 for which the bash-completion package doesn't include 184s # _init_completion. This is a minimal version of that function. 184s __adsysd_init_completion() 184s { 184s COMPREPLY=() 184s _get_comp_words_by_ref "$@" cur prev words cword 184s } 184s 184s # This function calls the adsysd program to obtain the completion 184s # results and the directive. It fills the 'out' and 'directive' vars. 184s __adsysd_get_completion_results() { 184s local requestComp lastParam lastChar args 184s 184s # Prepare the command to request completions for the program. 184s # Calling ${words[0]} instead of directly adsysd allows handling aliases 184s args=("${words[@]:1}") 184s requestComp="${words[0]} __complete ${args[*]}" 184s 184s lastParam=${words[$((${#words[@]}-1))]} 184s lastChar=${lastParam:$((${#lastParam}-1)):1} 184s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 184s 184s if [[ -z ${cur} && ${lastChar} != = ]]; then 184s # If the last parameter is complete (there is a space following it) 184s # We add an extra empty parameter so we can indicate this to the go method. 184s __adsysd_debug "Adding extra empty parameter" 184s requestComp="${requestComp} ''" 184s fi 184s 184s # When completing a flag with an = (e.g., adsysd -n=) 184s # bash focuses on the part after the =, so we need to remove 184s # the flag part from $cur 184s if [[ ${cur} == -*=* ]]; then 184s cur="${cur#*=}" 184s fi 184s 184s __adsysd_debug "Calling ${requestComp}" 184s # Use eval to handle any environment variables and such 184s out=$(eval "${requestComp}" 2>/dev/null) 184s 184s # Extract the directive integer at the very end of the output following a colon (:) 184s directive=${out##*:} 184s # Remove the directive 184s out=${out%:*} 184s if [[ ${directive} == "${out}" ]]; then 184s # There is not directive specified 184s directive=0 184s fi 184s __adsysd_debug "The completion directive is: ${directive}" 184s __adsysd_debug "The completions are: ${out}" 184s } 184s 184s __adsysd_process_completion_results() { 184s local shellCompDirectiveError=1 184s local shellCompDirectiveNoSpace=2 184s local shellCompDirectiveNoFileComp=4 184s local shellCompDirectiveFilterFileExt=8 184s local shellCompDirectiveFilterDirs=16 184s local shellCompDirectiveKeepOrder=32 184s 184s if (((directive & shellCompDirectiveError) != 0)); then 184s # Error code. No completion. 184s __adsysd_debug "Received error from custom completion go code" 184s return 184s else 184s if (((directive & shellCompDirectiveNoSpace) != 0)); then 184s if [[ $(type -t compopt) == builtin ]]; then 184s __adsysd_debug "Activating no space" 184s compopt -o nospace 184s else 184s __adsysd_debug "No space directive not supported in this version of bash" 184s fi 184s fi 184s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 184s if [[ $(type -t compopt) == builtin ]]; then 184s # no sort isn't supported for bash less than < 4.4 184s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 184s __adsysd_debug "No sort directive not supported in this version of bash" 184s else 184s __adsysd_debug "Activating keep order" 184s compopt -o nosort 184s fi 184s else 184s __adsysd_debug "No sort directive not supported in this version of bash" 184s fi 184s fi 184s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 184s if [[ $(type -t compopt) == builtin ]]; then 184s __adsysd_debug "Activating no file completion" 184s compopt +o default 184s else 184s __adsysd_debug "No file completion directive not supported in this version of bash" 184s fi 184s fi 184s fi 184s 184s # Separate activeHelp from normal completions 184s local completions=() 184s local activeHelp=() 184s __adsysd_extract_activeHelp 184s 184s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 184s # File extension filtering 184s local fullFilter filter filteringCmd 184s 184s # Do not use quotes around the $completions variable or else newline 184s # characters will be kept. 184s for filter in ${completions[*]}; do 184s fullFilter+="$filter|" 184s done 184s 184s filteringCmd="_filedir $fullFilter" 184s __adsysd_debug "File filtering command: $filteringCmd" 184s $filteringCmd 184s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 184s # File completion for directories only 184s 184s local subdir 184s subdir=${completions[0]} 184s if [[ -n $subdir ]]; then 184s __adsysd_debug "Listing directories in $subdir" 184s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 184s else 184s __adsysd_debug "Listing directories in ." 184s _filedir -d 184s fi 184s else 184s __adsysd_handle_completion_types 184s fi 184s 184s __adsysd_handle_special_char "$cur" : 184s __adsysd_handle_special_char "$cur" = 184s 184s # Print the activeHelp statements before we finish 184s if ((${#activeHelp[*]} != 0)); then 184s printf "\n"; 184s printf "%s\n" "${activeHelp[@]}" 184s printf "\n" 184s 184s # The prompt format is only available from bash 4.4. 184s # We test if it is available before using it. 184s if (x=${PS1@P}) 2> /dev/null; then 184s printf "%s" "${PS1@P}${COMP_LINE[@]}" 184s else 184s # Can't print the prompt. Just print the 184s # text the user had typed, it is workable enough. 184s printf "%s" "${COMP_LINE[@]}" 184s fi 184s fi 184s } 184s 184s # Separate activeHelp lines from real completions. 184s # Fills the $activeHelp and $completions arrays. 184s __adsysd_extract_activeHelp() { 184s local activeHelpMarker="_activeHelp_ " 184s local endIndex=${#activeHelpMarker} 184s 184s while IFS='' read -r comp; do 184s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 184s comp=${comp:endIndex} 184s __adsysd_debug "ActiveHelp found: $comp" 184s if [[ -n $comp ]]; then 184s activeHelp+=("$comp") 184s fi 184s else 184s # Not an activeHelp line but a normal completion 184s completions+=("$comp") 184s fi 184s done <<<"${out}" 184s } 184s 184s __adsysd_handle_completion_types() { 184s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 184s 184s case $COMP_TYPE in 184s 37|42) 184s # Type: menu-complete/menu-complete-backward and insert-completions 184s # If the user requested inserting one completion at a time, or all 184s # completions at once on the command-line we must remove the descriptions. 184s # https://github.com/spf13/cobra/issues/1508 184s local tab=$'\t' comp 184s while IFS='' read -r comp; do 184s [[ -z $comp ]] && continue 184s # Strip any description 184s comp=${comp%%$tab*} 184s # Only consider the completions that match 184s if [[ $comp == "$cur"* ]]; then 184s COMPREPLY+=("$comp") 184s fi 184s done < <(printf "%s\n" "${completions[@]}") 184s ;; 184s 184s *) 184s # Type: complete (normal completion) 184s __adsysd_handle_standard_completion_case 184s ;; 184s esac 184s } 184s 184s __adsysd_handle_standard_completion_case() { 184s local tab=$'\t' comp 184s 184s # Short circuit to optimize if we don't have descriptions 184s if [[ "${completions[*]}" != *$tab* ]]; then 184s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 184s return 0 184s fi 184s 184s local longest=0 184s local compline 184s # Look for the longest completion so that we can format things nicely 184s while IFS='' read -r compline; do 184s [[ -z $compline ]] && continue 184s # Strip any description before checking the length 184s comp=${compline%%$tab*} 184s # Only consider the completions that match 184s [[ $comp == "$cur"* ]] || continue 184s COMPREPLY+=("$compline") 184s if ((${#comp}>longest)); then 184s longest=${#comp} 184s fi 184s done < <(printf "%s\n" "${completions[@]}") 184s 184s # If there is a single completion left, remove the description text 184s if ((${#COMPREPLY[*]} == 1)); then 184s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 184s comp="${COMPREPLY[0]%%$tab*}" 184s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 184s COMPREPLY[0]=$comp 184s else # Format the descriptions 184s __adsysd_format_comp_descriptions $longest 184s fi 184s } 184s 184s __adsysd_handle_special_char() 184s { 184s local comp="$1" 184s local char=$2 184s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 184s local word=${comp%"${comp##*${char}}"} 184s local idx=${#COMPREPLY[*]} 184s while ((--idx >= 0)); do 184s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 184s done 184s fi 184s } 184s 184s __adsysd_format_comp_descriptions() 184s { 184s local tab=$'\t' 184s local comp desc maxdesclength 184s local longest=$1 184s 184s local i ci 184s for ci in ${!COMPREPLY[*]}; do 184s comp=${COMPREPLY[ci]} 184s # Properly format the description string which follows a tab character if there is one 184s if [[ "$comp" == *$tab* ]]; then 184s __adsysd_debug "Original comp: $comp" 184s desc=${comp#*$tab} 184s comp=${comp%%$tab*} 184s 184s # $COLUMNS stores the current shell width. 184s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 184s maxdesclength=$(( COLUMNS - longest - 4 )) 184s 184s # Make sure we can fit a description of at least 8 characters 184s # if we are to align the descriptions. 184s if ((maxdesclength > 8)); then 184s # Add the proper number of spaces to align the descriptions 184s for ((i = ${#comp} ; i < longest ; i++)); do 184s comp+=" " 184s done 184s else 184s # Don't pad the descriptions so we can fit more text after the completion 184s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 184s fi 184s 184s # If there is enough space for any description text, 184s # truncate the descriptions that are too long for the shell width 184s if ((maxdesclength > 0)); then 184s if ((${#desc} > maxdesclength)); then 184s desc=${desc:0:$(( maxdesclength - 1 ))} 184s desc+="…" 184s fi 184s comp+=" ($desc)" 184s fi 184s COMPREPLY[ci]=$comp 184s __adsysd_debug "Final comp: $comp" 184s fi 184s done 184s } 184s 184s __start_adsysd() 184s { 184s local cur prev words cword split 184s 184s COMPREPLY=() 184s 184s # Call _init_completion from the bash-completion package 184s # to prepare the arguments properly 184s if declare -F _init_completion >/dev/null 2>&1; then 184s _init_completion -n =: || return 184s else 184s __adsysd_init_completion -n =: || return 184s fi 184s 184s __adsysd_debug 184s __adsysd_debug "========= starting completion logic ==========" 184s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 184s 184s # The user could have moved the cursor backwards on the command-line. 184s # We need to trigger completion from the $cword location, so we need 184s # to truncate the command-line ($words) up to the $cword location. 184s words=("${words[@]:0:$cword+1}") 184s __adsysd_debug "Truncated words[*]: ${words[*]}," 184s 184s local out directive 184s __adsysd_get_completion_results 184s __adsysd_process_completion_results 184s } 184s 184s if [[ $(type -t compopt) = "builtin" ]]; then 184s complete -o default -F __start_adsysd adsysd 184s else 184s complete -o default -o nospace -F __start_adsysd adsysd 184s fi 184s 184s # ex: ts=4 sw=4 et filetype=sh 184s --- PASS: TestAppCompletion (0.00s) 184s PASS 184s ok github.com/ubuntu/adsys/cmd/adsysd/daemon 3.451s 184s Integration tests skipped as requested 184s ok github.com/ubuntu/adsys/cmd/adsysd/integration_tests 0.078s 184s ? github.com/ubuntu/adsys/docs [no test files] 184s Test has to be run as root, skipping... 184s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 0.024s 184s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/00_check_vm_image [no test files] 186s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/01_prepare_base_vm [no test files] 186s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/02_create_vm_template [no test files] 186s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/00_build_adsys_deb [no test files] 186s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/01_provision_client [no test files] 186s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/02_provision_ad [no test files] 186s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/03_test_non_pro_managers [no test files] 186s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/04_test_pro_managers [no test files] 186s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/05_test_pam_krb5cc [no test files] 186s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/99_deprovision [no test files] 186s ? github.com/ubuntu/adsys/e2e/internal/az [no test files] 187s ? github.com/ubuntu/adsys/e2e/internal/inventory [no test files] 187s ? github.com/ubuntu/adsys/e2e/internal/remote [no test files] 187s ? github.com/ubuntu/adsys/e2e/scripts [no test files] 187s === RUN TestAddFlags 187s --- PASS: TestAddFlags (0.00s) 187s === RUN TestInventory 187s === RUN TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist 187s time="2025-06-17T13:54:48Z" 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_exist1505124185/001/inventory/inventory.yaml: no such file or directory. Please refer to the previous script in the series" 187s === RUN TestInventory/Error_if_inventory_state_does_not_match_expected_state 187s time="2025-06-17T13:54:48Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 187s === RUN TestInventory/Error_if_inventory_state_does_not_match_any_expected_state 187s time="2025-06-17T13:54:48Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 187s === RUN TestInventory/From_null_state_doesn't_require_existing_data 187s === RUN TestInventory/From_existing_state_requires_existing_data 187s === RUN TestInventory/To_null_state_doesn't_write_data 187s === RUN TestInventory/Multiple_from_states_requires_at_least_one 187s --- PASS: TestInventory (0.01s) 187s --- PASS: TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist (0.00s) 187s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_expected_state (0.00s) 187s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_any_expected_state (0.00s) 187s --- PASS: TestInventory/From_null_state_doesn't_require_existing_data (0.00s) 187s --- PASS: TestInventory/From_existing_state_requires_existing_data (0.00s) 187s --- PASS: TestInventory/To_null_state_doesn't_write_data (0.00s) 187s --- PASS: TestInventory/Multiple_from_states_requires_at_least_one (0.00s) 187s === RUN TestExecute 187s === RUN TestExecute/Action_and_validation_succeed 187s === RUN TestExecute/Error_when_action_fails 187s time="2025-06-17T13:54:48Z" level=error msg="requested error" 187s === RUN TestExecute/Error_when_validation_fails 187s time="2025-06-17T13:54:48Z" level=error msg="requested error" 187s === RUN TestExecute/Error_when_both_action_and_validation_fail 187s time="2025-06-17T13:54:48Z" level=error msg="requested error" 187s === RUN TestExecute/Action_succeeds 187s --- PASS: TestExecute (0.00s) 187s --- PASS: TestExecute/Action_and_validation_succeed (0.00s) 187s --- PASS: TestExecute/Error_when_action_fails (0.00s) 187s --- PASS: TestExecute/Error_when_validation_fails (0.00s) 187s --- PASS: TestExecute/Error_when_both_action_and_validation_fail (0.00s) 187s --- PASS: TestExecute/Action_succeeds (0.00s) 187s PASS 187s ok github.com/ubuntu/adsys/e2e/internal/command 0.020s 189s ? github.com/ubuntu/adsys/internal/ad/admxgen/common [no test files] 189s ? github.com/ubuntu/adsys/internal/ad/backends [no test files] 189s ? github.com/ubuntu/adsys/internal/ad/backends/mock [no test files] 195s ? github.com/ubuntu/adsys/internal/adsysservice/actions [no test files] 196s ? github.com/ubuntu/adsys/internal/cmdhandler [no test files] 196s === RUN TestFetch 196s === PAUSE TestFetch 196s === RUN TestFetchWithUnreadableFile 196s === PAUSE TestFetchWithUnreadableFile 196s === RUN TestFetchTweakSysvolCacheDir 196s === PAUSE TestFetchTweakSysvolCacheDir 196s === RUN TestFetchOneGPOWhileParsingItConcurrently 196s === PAUSE TestFetchOneGPOWhileParsingItConcurrently 196s === RUN TestParseGPOConcurrent 196s === PAUSE TestParseGPOConcurrent 196s === RUN TestNew 196s === PAUSE TestNew 196s === RUN TestGetPolicies 196s === PAUSE TestGetPolicies 196s === RUN TestGetPoliciesOffline 196s === PAUSE TestGetPoliciesOffline 196s === RUN TestGetPoliciesWorkflows 196s === PAUSE TestGetPoliciesWorkflows 196s === RUN TestGetPoliciesConcurrently 196s === PAUSE TestGetPoliciesConcurrently 196s === RUN TestListUsers 196s === PAUSE TestListUsers 196s === RUN TestGetInfo 196s === PAUSE TestGetInfo 196s === RUN TestNormalizeTargetName 196s === PAUSE TestNormalizeTargetName 196s === RUN TestMockGPOList 196s --- PASS: TestMockGPOList (0.00s) 196s === RUN TestAdsysGPOList 196s === RUN TestAdsysGPOList/Multiple_GPOs_in_same_OU 196s === RUN TestAdsysGPOList/No_GPO_on_OU_-_string 196s === RUN TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO 196s === RUN TestAdsysGPOList/Error_on_non_existent_account 196s === RUN TestAdsysGPOList/Error_on_KRB5CCNAME_unset 196s === RUN TestAdsysGPOList/Filter_user_only_GPOs 196s === RUN TestAdsysGPOList/Filter_machine_only_GPOs 196s === RUN TestAdsysGPOList/Fail_on_security_descriptor_access_failure 196s === RUN TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing 196s === RUN TestAdsysGPOList/Error_on_ldap_connection_refused 196s === RUN TestAdsysGPOList/Error_on_computer_requested_but_found_user 196s === RUN TestAdsysGPOList/Disabled_GPOs 196s === RUN TestAdsysGPOList/Block_inheritance 196s === RUN TestAdsysGPOList/Security_descriptor_missing_ignores_GPO 196s === RUN TestAdsysGPOList/No_gPOptions_fallbacks_to_0 196s === RUN TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings 196s === RUN TestAdsysGPOList/Error_on_no_network 196s === RUN TestAdsysGPOList/Error_on_unreachable_ldap_host 196s === RUN TestAdsysGPOList/Error_on_dangling_ticket_symlink 196s === RUN TestAdsysGPOList/Return_one_gpo 196s === RUN TestAdsysGPOList/Computers_truncated_at_15_characters 196s === RUN TestAdsysGPOList/Error_on_machine_with_no_ldap 196s === RUN TestAdsysGPOList/Machine_GPOs 196s === RUN TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order 196s === RUN TestAdsysGPOList/Long_computer_name,_not_truncated 196s === RUN TestAdsysGPOList/Error_on_user_requested_but_found_machine 196s === RUN TestAdsysGPOList/Error_on_invalid_ticket 196s === RUN TestAdsysGPOList/Return_hierarchy 196s === RUN TestAdsysGPOList/No_GPO_on_OU_-_bytes 196s === RUN TestAdsysGPOList/Error_invalid_GPO_link 196s === RUN TestAdsysGPOList/Forced_GPO_and_blocked_inheritance 196s === RUN TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user 196s --- PASS: TestAdsysGPOList (1.27s) 196s --- PASS: TestAdsysGPOList/Multiple_GPOs_in_same_OU (0.06s) 196s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_string (0.04s) 196s --- PASS: TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO (0.04s) 196s --- PASS: TestAdsysGPOList/Error_on_non_existent_account (0.04s) 196s --- PASS: TestAdsysGPOList/Error_on_KRB5CCNAME_unset (0.04s) 196s --- PASS: TestAdsysGPOList/Filter_user_only_GPOs (0.04s) 196s --- PASS: TestAdsysGPOList/Filter_machine_only_GPOs (0.04s) 196s --- PASS: TestAdsysGPOList/Fail_on_security_descriptor_access_failure (0.04s) 196s --- PASS: TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing (0.05s) 196s --- PASS: TestAdsysGPOList/Error_on_ldap_connection_refused (0.05s) 196s --- PASS: TestAdsysGPOList/Error_on_computer_requested_but_found_user (0.04s) 196s --- PASS: TestAdsysGPOList/Disabled_GPOs (0.04s) 196s --- PASS: TestAdsysGPOList/Block_inheritance (0.04s) 196s --- PASS: TestAdsysGPOList/Security_descriptor_missing_ignores_GPO (0.04s) 196s --- PASS: TestAdsysGPOList/No_gPOptions_fallbacks_to_0 (0.04s) 196s --- PASS: TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings (0.04s) 196s --- PASS: TestAdsysGPOList/Error_on_no_network (0.04s) 196s --- PASS: TestAdsysGPOList/Error_on_unreachable_ldap_host (0.04s) 196s --- PASS: TestAdsysGPOList/Error_on_dangling_ticket_symlink (0.04s) 196s --- PASS: TestAdsysGPOList/Return_one_gpo (0.04s) 196s --- PASS: TestAdsysGPOList/Computers_truncated_at_15_characters (0.04s) 196s --- PASS: TestAdsysGPOList/Error_on_machine_with_no_ldap (0.04s) 196s --- PASS: TestAdsysGPOList/Machine_GPOs (0.04s) 196s --- PASS: TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order (0.04s) 196s --- PASS: TestAdsysGPOList/Long_computer_name,_not_truncated (0.04s) 196s --- PASS: TestAdsysGPOList/Error_on_user_requested_but_found_machine (0.04s) 196s --- PASS: TestAdsysGPOList/Error_on_invalid_ticket (0.04s) 196s --- PASS: TestAdsysGPOList/Return_hierarchy (0.04s) 196s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_bytes (0.04s) 196s --- PASS: TestAdsysGPOList/Error_invalid_GPO_link (0.04s) 196s --- PASS: TestAdsysGPOList/Forced_GPO_and_blocked_inheritance (0.04s) 196s --- PASS: TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user (0.04s) 196s === RUN TestGetPolicyDefinitions 196s === PAUSE TestGetPolicyDefinitions 196s === RUN TestTicketPath 196s krb5_test.go:23: Running subprocess with [/tmp/go-build2034035574/b546/ad.test -test.testlogfile=/tmp/go-build2034035574/b546/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestTicketPath] 196s === RUN TestTicketPath 196s === RUN TestTicketPath/Error_on_NULL_ticket_path 196s === RUN TestTicketPath/Error_on_non-FILE_ccache 196s === RUN TestTicketPath/Lookup_is_successful 196s === RUN TestTicketPath/Allow_ccache_without_FILE_identifier 196s === RUN TestTicketPath/Error_when_ccache_not_present_on_disk 196s === RUN TestTicketPath/Error_when_ccache_is_a_directory 196s === RUN TestTicketPath/Error_when_initializing_context 196s === RUN TestTicketPath/Error_on_empty_ticket_path 196s --- PASS: TestTicketPath (0.00s) 196s --- PASS: TestTicketPath/Error_on_NULL_ticket_path (0.00s) 196s --- PASS: TestTicketPath/Error_on_non-FILE_ccache (0.00s) 196s --- PASS: TestTicketPath/Lookup_is_successful (0.00s) 196s --- PASS: TestTicketPath/Allow_ccache_without_FILE_identifier (0.00s) 196s --- PASS: TestTicketPath/Error_when_ccache_not_present_on_disk (0.00s) 196s --- PASS: TestTicketPath/Error_when_ccache_is_a_directory (0.00s) 196s --- PASS: TestTicketPath/Error_when_initializing_context (0.00s) 196s --- PASS: TestTicketPath/Error_on_empty_ticket_path (0.00s) 196s PASS 196s --- PASS: TestTicketPath (0.19s) 196s === CONT TestFetch 196s === CONT TestGetPoliciesOffline 196s === RUN TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 196s === PAUSE TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 196s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 196s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 196s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 196s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 196s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 196s === RUN TestFetch/assets_are_updated_to_latest_version 196s === PAUSE TestFetch/assets_are_updated_to_latest_version 196s === RUN TestFetch/Error_missing_remote_GPT.INI 196s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 196s === RUN TestGetPoliciesOffline/Error_offline_with_no_cache 196s === PAUSE TestGetPoliciesOffline/Error_offline_with_no_cache 196s === RUN TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 196s === PAUSE TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 196s === RUN TestGetPoliciesOffline/Offline,_with_assets 196s === PAUSE TestGetPoliciesOffline/Offline,_with_assets 196s === PAUSE TestFetch/Error_missing_remote_GPT.INI 196s === RUN TestFetch/remote_version_entry_missing_treated_as_0 196s === PAUSE TestFetch/remote_version_entry_missing_treated_as_0 196s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_new 196s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_new 196s === RUN TestFetch/two_gpos,_one_more_recent,_one_up_to_date 196s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_up_to_date 196s === RUN TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 196s === PAUSE TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 196s === RUN TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 196s === PAUSE TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 196s === RUN TestFetch/Error_unexistant_remote_gpo 196s === PAUSE TestFetch/Error_unexistant_remote_gpo 196s === RUN TestFetch/gpo_is_refreshed 196s === PAUSE TestFetch/gpo_is_refreshed 196s === RUN TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 196s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 196s === RUN TestFetch/two_gpos,_one_more_recent,_one_new 196s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_new 196s === RUN TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 196s === PAUSE TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 196s === RUN TestFetch/Error_remote_version_NaN 196s === PAUSE TestFetch/Error_remote_version_NaN 196s === RUN TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 196s === PAUSE TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 196s === RUN TestFetch/assets_is_a_file_is_not_downloaded 196s === PAUSE TestFetch/assets_is_a_file_is_not_downloaded 196s === RUN TestFetch/two_gpos,_one_should_be_refreshed,_one_new 196s === PAUSE TestFetch/two_gpos,_one_should_be_refreshed,_one_new 196s === RUN TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 196s === PAUSE TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 196s === RUN TestFetch/gpos_and_assets 196s === PAUSE TestFetch/gpos_and_assets 196s === RUN TestFetch/concurrent_different_gpos 196s === PAUSE TestFetch/concurrent_different_gpos 196s === RUN TestFetch/one_new_gpo 196s === PAUSE TestFetch/one_new_gpo 196s === RUN TestFetch/two_new_gpos 196s === PAUSE TestFetch/two_new_gpos 196s === RUN TestFetch/assets_only_are_downloaded 196s === PAUSE TestFetch/assets_only_are_downloaded 196s === RUN TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 196s === PAUSE TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 196s === RUN TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 196s === PAUSE TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 196s === RUN TestFetch/assets_are_not_updated_if_version_matches 196s === PAUSE TestFetch/assets_are_not_updated_if_version_matches 196s === RUN TestFetch/concurrent_same_gpos 196s === PAUSE TestFetch/concurrent_same_gpos 196s === RUN TestFetch/keep_existing_gpos_intact 196s === PAUSE TestFetch/keep_existing_gpos_intact 196s === RUN TestFetch/gpo_already_up_to_date 196s === PAUSE TestFetch/gpo_already_up_to_date 196s === RUN TestFetch/local_gpo_is_more_recent_than_AD_one 196s === PAUSE TestFetch/local_gpo_is_more_recent_than_AD_one 196s === RUN TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 196s === PAUSE TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 196s === RUN TestFetch/Error_keeps_downloading_other_GPOS 196s === PAUSE TestFetch/Error_keeps_downloading_other_GPOS 196s === CONT TestNew 196s === RUN TestNew/error_on_backend_ServerFQDN_random_failure 196s === PAUSE TestNew/error_on_backend_ServerFQDN_random_failure 196s === RUN TestNew/create_KRB5_and_Sysvol_cache_directory 196s === PAUSE TestNew/create_KRB5_and_Sysvol_cache_directory 196s === RUN TestNew/failed_to_create_KRB5_cache_directory 196s === PAUSE TestNew/failed_to_create_KRB5_cache_directory 196s === RUN TestNew/failed_to_create_Sysvol_cache_directory 196s === PAUSE TestNew/failed_to_create_Sysvol_cache_directory 196s === RUN TestNew/failed_to_create_Policies_cache_directory 196s === PAUSE TestNew/failed_to_create_Policies_cache_directory 196s === RUN TestNew/no_active_server_in_backend_does_not_fail_ad_creation 196s === PAUSE TestNew/no_active_server_in_backend_does_not_fail_ad_creation 196s === CONT TestParseGPOConcurrent 196s === CONT TestGetPolicies 196s === RUN TestGetPolicies/User_only_policy,_user_object 196s === PAUSE TestGetPolicies/User_only_policy,_user_object 196s === RUN TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 196s === PAUSE TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 196s === RUN TestGetPolicies/Two_policies,_no_overrides,_reversed 196s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_reversed 196s === RUN TestGetPolicies/Policy_user_directory_is_uppercase 196s === PAUSE TestGetPolicies/Policy_user_directory_is_uppercase 196s === RUN TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case 196s === PAUSE TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case 196s === RUN TestGetPolicies/Unexisting_CC_original_file_for_machine 196s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_machine 196s === RUN TestGetPolicies/Error_on_backend_IsOnline_call_failed 196s === PAUSE TestGetPolicies/Error_on_backend_IsOnline_call_failed 196s === RUN TestGetPolicies/Standard_policy,_user_object 196s === PAUSE TestGetPolicies/Standard_policy,_user_object 196s === RUN TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 196s === PAUSE TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 196s === RUN TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 196s === PAUSE TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 196s === RUN TestGetPolicies/More_policies,_with_multiple_overrides 196s === PAUSE TestGetPolicies/More_policies,_with_multiple_overrides 196s === RUN TestGetPolicies/Filter_non_Ubuntu_keys 196s === PAUSE TestGetPolicies/Filter_non_Ubuntu_keys 196s === RUN TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 196s === PAUSE TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 196s === RUN TestGetPolicies/Machine_doesn’t_match 196s === PAUSE TestGetPolicies/Machine_doesn’t_match 196s === RUN TestGetPolicies/Enabled_override 196s === PAUSE TestGetPolicies/Enabled_override 196s === RUN TestGetPolicies/Same_key_in_different_domains_are_kept_separated 196s === PAUSE TestGetPolicies/Same_key_in_different_domains_are_kept_separated 196s === RUN TestGetPolicies/Two_policies,_with_overrides 196s === PAUSE TestGetPolicies/Two_policies,_with_overrides 196s === RUN TestGetPolicies/Policy_machine_directory_is_uppercase 196s === PAUSE TestGetPolicies/Policy_machine_directory_is_uppercase 196s === RUN TestGetPolicies/Error_on_user_without_@_in_name 196s === PAUSE TestGetPolicies/Error_on_user_without_@_in_name 196s === RUN TestGetPolicies/Symlinks_can’t_be_created 196s === PAUSE TestGetPolicies/Symlinks_can’t_be_created 196s === RUN TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 196s === PAUSE TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 196s === RUN TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 196s === PAUSE TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 196s === RUN TestGetPolicies/Disabled_value_overrides_non_disabled_one 196s === PAUSE TestGetPolicies/Disabled_value_overrides_non_disabled_one 196s === RUN TestGetPolicies/Disabled_value_is_overridden 196s === PAUSE TestGetPolicies/Disabled_value_is_overridden 196s === RUN TestGetPolicies/Unexisting_CC_original_file_for_user 196s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_user 196s === RUN TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 196s === PAUSE TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 196s === RUN TestGetPolicies/Multiple_domains,_same_GPO 196s === PAUSE TestGetPolicies/Multiple_domains,_same_GPO 196s === RUN TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 196s === PAUSE TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 196s === RUN TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 196s === PAUSE TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 196s === RUN TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 196s === PAUSE TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 196s === RUN TestGetPolicies/No_override_for_this_release,_takes_default_value 196s === PAUSE TestGetPolicies/No_override_for_this_release,_takes_default_value 196s === RUN TestGetPolicies/Two_policies,_with_reversed_overrides 196s === PAUSE TestGetPolicies/Two_policies,_with_reversed_overrides 196s === RUN TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 196s === PAUSE TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 196s === RUN TestGetPolicies/User_policy_Registry.pol_is_mixed_case 196s === PAUSE TestGetPolicies/User_policy_Registry.pol_is_mixed_case 196s === RUN TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 196s === PAUSE TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 196s === RUN TestGetPolicies/Empty_value_for_unfiltered_entry 196s === PAUSE TestGetPolicies/Empty_value_for_unfiltered_entry 196s === RUN TestGetPolicies/Standard_policy,_computer_object 196s === PAUSE TestGetPolicies/Standard_policy,_computer_object 196s === RUN TestGetPolicies/Disabled_override 196s === PAUSE TestGetPolicies/Disabled_override 196s === RUN TestGetPolicies/Two_policies,_no_overrides 196s === PAUSE TestGetPolicies/Two_policies,_no_overrides 196s === RUN TestGetPolicies/User_policy_Registry.pol_is_lower_case 196s === PAUSE TestGetPolicies/User_policy_Registry.pol_is_lower_case 196s === RUN TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 196s === PAUSE TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 196s === RUN TestGetPolicies/Corrupted_policy_file 196s === PAUSE TestGetPolicies/Corrupted_policy_file 196s === RUN TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 196s === PAUSE TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 196s === RUN TestGetPolicies/Standard_policy_with_assets,_downloads_assets 196s === PAUSE TestGetPolicies/Standard_policy_with_assets,_downloads_assets 196s === RUN TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 196s === PAUSE TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 196s === RUN TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 196s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 196s === RUN TestGetPolicies/Computer_policy_Registry.pol_is_lower_case 196s === PAUSE TestGetPolicies/Computer_policy_Registry.pol_is_lower_case 196s === RUN TestGetPolicies/Policy_can’t_be_downloaded 196s === PAUSE TestGetPolicies/Policy_can’t_be_downloaded 196s === RUN TestGetPolicies/Unsupported_type_for_unfiltered_entry 196s === PAUSE TestGetPolicies/Unsupported_type_for_unfiltered_entry 196s === CONT TestFetchOneGPOWhileParsingItConcurrently 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:51Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:51Z" level=info msg="Downloading \"standard-name\"" 196s --- PASS: TestFetchOneGPOWhileParsingItConcurrently (0.06s) 196s === CONT TestFetchTweakSysvolCacheDir 196s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 196s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 196s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 196s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 196s === CONT TestFetchWithUnreadableFile 196s === RUN TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 196s === PAUSE TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 196s === RUN TestFetchWithUnreadableFile/existing_gpo_is_preserved 196s === PAUSE TestFetchWithUnreadableFile/existing_gpo_is_preserved 196s === CONT TestGetPolicyDefinitions 196s === RUN TestGetPolicyDefinitions/Load_ADMX_and_ADML 196s === PAUSE TestGetPolicyDefinitions/Load_ADMX_and_ADML 196s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 196s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 196s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 196s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 196s === CONT TestNormalizeTargetName 196s === RUN TestNormalizeTargetName/One_user_without_explicit_domain_suffix 196s === PAUSE TestNormalizeTargetName/One_user_without_explicit_domain_suffix 196s === RUN TestNormalizeTargetName/Computer_is_left_as_such 196s === PAUSE TestNormalizeTargetName/Computer_is_left_as_such 196s === RUN TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 196s === PAUSE TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 196s === RUN TestNormalizeTargetName/Error_on_multiple_\_in_name 196s === PAUSE TestNormalizeTargetName/Error_on_multiple_\_in_name 196s === RUN TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 196s === PAUSE TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 196s === RUN TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 196s === PAUSE TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 196s === RUN TestNormalizeTargetName/One_valid_user 196s === PAUSE TestNormalizeTargetName/One_valid_user 196s === RUN TestNormalizeTargetName/One_valid_user_with_domain\user 196s === PAUSE TestNormalizeTargetName/One_valid_user_with_domain\user 196s === RUN TestNormalizeTargetName/User_name_fqdn_matching_computer 196s === PAUSE TestNormalizeTargetName/User_name_fqdn_matching_computer 196s === RUN TestNormalizeTargetName/Computer_name_without_objectClass 196s === PAUSE TestNormalizeTargetName/Computer_name_without_objectClass 196s === RUN TestNormalizeTargetName/One_valid_user_with_mixed_case 196s === PAUSE TestNormalizeTargetName/One_valid_user_with_mixed_case 196s === RUN TestNormalizeTargetName/Computer_with_@_is_left_as_such 196s === PAUSE TestNormalizeTargetName/Computer_with_@_is_left_as_such 196s === CONT TestGetInfo 196s === RUN TestGetInfo/Info_reported_from_backend,_online 196s === PAUSE TestGetInfo/Info_reported_from_backend,_online 196s === RUN TestGetInfo/Info_reported_from_backend,_offline 196s === PAUSE TestGetInfo/Info_reported_from_backend,_offline 196s === RUN TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 196s === PAUSE TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 196s === RUN TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 196s === PAUSE TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 196s === CONT TestListUsers 196s === RUN TestListUsers/Error_on_policy_cache_directory_not_existing 196s === PAUSE TestListUsers/Error_on_policy_cache_directory_not_existing 196s === RUN TestListUsers/Two_users,_from_policy_cache 196s === PAUSE TestListUsers/Two_users,_from_policy_cache 196s === RUN TestListUsers/Two_users 196s === PAUSE TestListUsers/Two_users 196s === RUN TestListUsers/Two_users,_dangling_symlink_for_one 196s === PAUSE TestListUsers/Two_users,_dangling_symlink_for_one 196s === RUN TestListUsers/None 196s === PAUSE TestListUsers/None 196s === RUN TestListUsers/None,_from_policy_cache 196s === PAUSE TestListUsers/None,_from_policy_cache 196s === RUN TestListUsers/Machine_Only,_from_policy_cache 196s === PAUSE TestListUsers/Machine_Only,_from_policy_cache 196s === RUN TestListUsers/One_user 196s === PAUSE TestListUsers/One_user 196s === RUN TestListUsers/Machines_are_ignored 196s === PAUSE TestListUsers/Machines_are_ignored 196s === RUN TestListUsers/Machine_Only 196s === PAUSE TestListUsers/Machine_Only 196s === RUN TestListUsers/Machines_are_ignored,_from_policy_cache 196s === PAUSE TestListUsers/Machines_are_ignored,_from_policy_cache 196s === RUN TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 196s === PAUSE TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 196s === RUN TestListUsers/Error_on_Krb5_directory_not_existing 196s === PAUSE TestListUsers/Error_on_Krb5_directory_not_existing 196s === RUN TestListUsers/One_user,_from_policy_cache 196s === PAUSE TestListUsers/One_user,_from_policy_cache 196s === CONT TestGetPoliciesConcurrently 196s === RUN TestGetPoliciesConcurrently/Same_user,_same_GPO 196s === PAUSE TestGetPoliciesConcurrently/Same_user,_same_GPO 196s === RUN TestGetPoliciesConcurrently/Different_users,_same_GPO 196s === PAUSE TestGetPoliciesConcurrently/Different_users,_same_GPO 196s === RUN TestGetPoliciesConcurrently/Different_users,_different_GPO 196s === PAUSE TestGetPoliciesConcurrently/Different_users,_different_GPO 196s === RUN TestGetPoliciesConcurrently/One_machine,_one_user 196s === PAUSE TestGetPoliciesConcurrently/One_machine,_one_user 196s === RUN TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 196s === PAUSE TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 196s === CONT TestGetPoliciesWorkflows 196s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 196s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 196s === RUN TestGetPoliciesWorkflows/Second_call_with_different_user 196s === PAUSE TestGetPoliciesWorkflows/Second_call_with_different_user 196s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 196s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 196s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 196s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 196s === RUN TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 196s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 196s === RUN TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 196s === PAUSE TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 196s === RUN TestGetPoliciesWorkflows/Second_call_after_service_restarted 196s === PAUSE TestGetPoliciesWorkflows/Second_call_after_service_restarted 196s === RUN TestGetPoliciesWorkflows/Second_call_after_a_relogin 196s === PAUSE TestGetPoliciesWorkflows/Second_call_after_a_relogin 196s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 196s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 196s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 196s --- PASS: TestParseGPOConcurrent (0.23s) 196s === CONT TestNew/error_on_backend_ServerFQDN_random_failure 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s === CONT TestFetch/Error_keeps_downloading_other_GPOS 196s time="2025-06-17T13:54:51Z" level=info msg="Downloading \"gpo1-name\"" 196s time="2025-06-17T13:54:51Z" level=info msg="GPO \"gpo2-name\" is already up to date" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:51Z" level=info msg="Downloading \"gpo2-name\"" 196s === CONT TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 196s time="2025-06-17T13:54:51Z" level=info msg="No version key found in GPT.INI for gpo1-name, assuming 0" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:51Z" level=info msg="Downloading \"gpo1-name\"" 196s === CONT TestFetch/local_gpo_is_more_recent_than_AD_one 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:51Z" level=info msg="GPO \"gpo2-name\" is already up to date" 196s === CONT TestFetch/gpo_already_up_to_date 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:51Z" level=info msg="GPO \"gpo1-name\" is already up to date" 196s === CONT TestFetch/keep_existing_gpos_intact 196s === CONT TestFetch/concurrent_same_gpos 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:51Z" level=info msg="GPO \"gpo1-name\" is already up to date" 196s === CONT TestFetch/assets_are_not_updated_if_version_matches 196s time="2025-06-17T13:54:51Z" level=info msg="Downloading \"gpo1-name\"" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:51Z" level=info msg="Assets directory is already up to date" 196s === CONT TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 196s time="2025-06-17T13:54:51Z" level=warning msg="Invalid local GPT.INI for gpo1-name: invalid remote GPT.INI: strconv.ParseInt: parsing \"NaN\": invalid syntax\nDownloading it again…" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:51Z" level=info msg="Downloading \"gpo1-name\"" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:51Z" level=info msg="GPO \"gpo1-name\" is already up to date" 196s === CONT TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 196s === CONT TestFetch/assets_only_are_downloaded 196s === CONT TestFetch/two_new_gpos 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo2-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo1-name\"" 196s === CONT TestFetch/one_new_gpo 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo1-name\"" 196s === CONT TestFetch/concurrent_different_gpos 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo2-name\"" 196s === CONT TestFetch/gpos_and_assets 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo1-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"assets\"" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo1-name\"" 196s === CONT TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo1-name\"" 196s === CONT TestFetch/two_gpos,_one_should_be_refreshed,_one_new 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo1-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo2-name\"" 196s === CONT TestFetch/assets_is_a_file_is_not_downloaded 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s === CONT TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s === CONT TestFetch/Error_remote_version_NaN 196s === CONT TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s === CONT TestFetch/two_gpos,_one_more_recent,_one_new 196s === CONT TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo1-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="GPO \"gpo2-name\" is already up to date" 196s time="2025-06-17T13:54:52Z" level=info msg="GPO \"gpo2-name\" is already up to date" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo1-name\"" 196s === CONT TestFetch/gpo_is_refreshed 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo1-name\"" 196s === CONT TestFetch/Error_unexistant_remote_gpo 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s === CONT TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Assets directory is already up to date" 196s === CONT TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Assets directory is already up to date" 196s === CONT TestFetch/two_gpos,_one_more_recent,_one_up_to_date 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="GPO \"gpo2-name\" is already up to date" 196s time="2025-06-17T13:54:52Z" level=info msg="GPO \"gpo1-name\" is already up to date" 196s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_new 196s === CONT TestFetch/remote_version_entry_missing_treated_as_0 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"gpo2-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="No version key found in GPT.INI for gpt_ini_version_missing-name, assuming 0" 196s time="2025-06-17T13:54:52Z" level=info msg="GPO \"gpt_ini_version_missing-name\" is already up to date" 196s time="2025-06-17T13:54:52Z" level=info msg="GPO \"gpo1-name\" is already up to date" 196s === CONT TestFetch/Error_missing_remote_GPT.INI 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s === CONT TestFetch/assets_are_updated_to_latest_version 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"assets\"" 196s === CONT TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 196s --- PASS: TestFetch (0.00s) 196s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed (0.20s) 196s --- PASS: TestFetch/Error_keeps_downloading_other_GPOS (0.07s) 196s --- PASS: TestFetch/local_gpo_is_more_recent_than_AD_one (0.02s) 196s --- PASS: TestFetch/gpo_already_up_to_date (0.02s) 196s --- PASS: TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI (0.07s) 196s --- PASS: TestFetch/keep_existing_gpos_intact (0.04s) 196s --- PASS: TestFetch/assets_are_not_updated_if_version_matches (0.02s) 196s --- PASS: TestFetch/concurrent_same_gpos (0.10s) 196s --- PASS: TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided (0.01s) 196s --- PASS: TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI (0.06s) 196s --- PASS: TestFetch/assets_only_are_downloaded (0.05s) 196s --- PASS: TestFetch/two_new_gpos (0.08s) 196s --- PASS: TestFetch/one_new_gpo (0.05s) 196s --- PASS: TestFetch/gpos_and_assets (0.06s) 196s --- PASS: TestFetch/concurrent_different_gpos (0.11s) 196s --- PASS: TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI (0.06s) 196s --- PASS: TestFetch/assets_is_a_file_is_not_downloaded (0.01s) 196s --- PASS: TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only (0.02s) 196s --- PASS: TestFetch/two_gpos,_one_should_be_refreshed,_one_new (0.08s) 196s --- PASS: TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL (0.02s) 196s --- PASS: TestFetch/Error_remote_version_NaN (0.03s) 196s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_new (0.05s) 196s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed (0.07s) 196s --- PASS: TestFetch/Error_unexistant_remote_gpo (0.01s) 196s --- PASS: TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing (0.01s) 196s --- PASS: TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing (0.02s) 196s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_up_to_date (0.02s) 196s --- PASS: TestFetch/gpo_is_refreshed (0.10s) 196s --- PASS: TestFetch/remote_version_entry_missing_treated_as_0 (0.02s) 196s --- PASS: TestFetch/Error_missing_remote_GPT.INI (0.01s) 196s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_new (0.07s) 196s --- PASS: TestFetch/assets_are_updated_to_latest_version (0.03s) 196s === CONT TestGetPolicies/User_only_policy,_user_object 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"user-only-name\"" 196s === CONT TestGetPoliciesOffline/Offline,_with_assets 196s === CONT TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 196s === CONT TestGetPoliciesOffline/Error_offline_with_no_cache 196s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 196s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 196s time="2025-06-17T13:54:52Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 196s === CONT TestGetPolicies/Unsupported_type_for_unfiltered_entry 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:52Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:52Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:52Z" level=info msg="Downloading \"bad-entry-type-name\"" 196s === CONT TestGetPolicies/Policy_can’t_be_downloaded 196s time="2025-06-17T13:54:52Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 196s --- PASS: TestGetPoliciesOffline (0.00s) 196s --- PASS: TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache (0.18s) 196s --- PASS: TestGetPoliciesOffline/Error_offline_with_no_cache (0.00s) 196s --- PASS: TestGetPoliciesOffline/Offline,_with_assets (0.11s) 196s --- PASS: TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list (0.15s) 196s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets (0.12s) 196s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only (0.12s) 196s === CONT TestGetPolicies/Computer_policy_Registry.pol_is_lower_case 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"lowercase-registry-name\"" 196s === CONT TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 196s === CONT TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"machine-only-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"multiple-releases-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"standard-name\"" 196s === CONT TestGetPolicies/Standard_policy_with_assets,_downloads_assets 196s === CONT TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"user-only-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"standard-name\"" 196s === CONT TestGetPolicies/Corrupted_policy_file 196s === CONT TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 196s === CONT TestGetPolicies/User_policy_Registry.pol_is_lower_case 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"lowercase-registry-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"corrupted-policy-name\"" 196s === CONT TestGetPolicies/Two_policies,_no_overrides 196s === CONT TestGetPolicies/Disabled_override 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"user-only-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"multiple-releases-one-disabled-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"one-value-name\"" 196s === CONT TestGetPolicies/Standard_policy,_computer_object 196s === CONT TestGetPolicies/Empty_value_for_unfiltered_entry 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"empty-value-name\"" 196s === CONT TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 196s === CONT TestGetPolicies/User_policy_Registry.pol_is_mixed_case 196s === CONT TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"filtered-with-certificate-autoenrollment-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"mixedcase-registry-name\"" 196s === CONT TestGetPolicies/Two_policies,_with_reversed_overrides 196s === CONT TestGetPolicies/No_override_for_this_release,_takes_default_value 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"one-value-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"multiple-releases-name\"" 196s === CONT TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 196s === CONT TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 196s === CONT TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"lowercase-class-name\"" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"unsupported-with-errors-name\"" 196s === CONT TestGetPolicies/Multiple_domains,_same_GPO 196s === CONT TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:53Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"multiple-releases-name\"" 196s time="2025-06-17T13:54:53Z" level=info msg="Downloading \"multiple-domains-name\"" 196s === CONT TestGetPolicies/Unexisting_CC_original_file_for_user 196s === CONT TestGetPolicies/Disabled_value_is_overridden 196s === CONT TestGetPolicies/Disabled_value_overrides_non_disabled_one 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"disabled-value-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"disabled-value-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"standard-name\"" 196s === CONT TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 196s === CONT TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"machine-only-name\"" 196s === CONT TestGetPolicies/Symlinks_can’t_be_created 196s === CONT TestGetPolicies/Error_on_user_without_@_in_name 196s === CONT TestGetPolicies/Policy_machine_directory_is_uppercase 196s === CONT TestGetPolicies/Two_policies,_with_overrides 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"uppercase-class-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"one-value-name\"" 196s === CONT TestGetPolicies/Same_key_in_different_domains_are_kept_separated 196s === CONT TestGetPolicies/Enabled_override 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"multiple-releases-one-enabled-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"one-value-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"other-domain-name\"" 196s === CONT TestGetPolicies/Machine_doesn’t_match 196s === CONT TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 196s === CONT TestGetPolicies/Filter_non_Ubuntu_keys 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"filtered-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"lowercase-class-name\"" 196s === CONT TestGetPolicies/More_policies,_with_multiple_overrides 196s === CONT TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 196s === CONT TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"one-value-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"user-only-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"standard-name\"" 196s === CONT TestGetPolicies/Standard_policy,_user_object 196s === CONT TestGetPolicies/Error_on_backend_IsOnline_call_failed 196s === CONT TestGetPolicies/Unexisting_CC_original_file_for_machine 196s === CONT TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"mixedcase-registry-name\"" 196s === CONT TestGetPolicies/Policy_user_directory_is_uppercase 196s === CONT TestGetPolicies/Two_policies,_no_overrides,_reversed 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"one-value-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"uppercase-class-name\"" 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"user-only-name\"" 196s === CONT TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 196s === CONT TestNew/failed_to_create_Sysvol_cache_directory 196s === CONT TestNew/no_active_server_in_backend_does_not_fail_ad_creation 196s === CONT TestNew/failed_to_create_Policies_cache_directory 196s === CONT TestNew/failed_to_create_KRB5_cache_directory 196s === CONT TestNew/create_KRB5_and_Sysvol_cache_directory 196s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 196s --- PASS: TestNew (0.00s) 196s --- PASS: TestNew/error_on_backend_ServerFQDN_random_failure (0.00s) 196s --- PASS: TestNew/failed_to_create_Sysvol_cache_directory (0.00s) 196s --- PASS: TestNew/no_active_server_in_backend_does_not_fail_ad_creation (0.01s) 196s --- PASS: TestNew/failed_to_create_Policies_cache_directory (0.00s) 196s --- PASS: TestNew/failed_to_create_KRB5_cache_directory (0.00s) 196s --- PASS: TestNew/create_KRB5_and_Sysvol_cache_directory (0.00s) 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:54Z" level=info msg="Downloading \"gpo1-name\"" 196s === CONT TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"gpo1-name\"" 196s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 196s --- PASS: TestGetPolicies (0.00s) 196s --- PASS: TestGetPolicies/User_only_policy,_user_object (0.10s) 196s --- PASS: TestGetPolicies/Unsupported_type_for_unfiltered_entry (0.09s) 196s --- PASS: TestGetPolicies/Policy_can’t_be_downloaded (0.08s) 196s --- PASS: TestGetPolicies/Computer_policy_Registry.pol_is_lower_case (0.09s) 196s --- PASS: TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored (0.10s) 196s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user (0.12s) 196s --- PASS: TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty (0.11s) 196s --- PASS: TestGetPolicies/Standard_policy_with_assets,_downloads_assets (0.12s) 196s --- PASS: TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName (0.00s) 196s --- PASS: TestGetPolicies/User_policy_Registry.pol_is_lower_case (0.10s) 196s --- PASS: TestGetPolicies/Corrupted_policy_file (0.12s) 196s --- PASS: TestGetPolicies/Two_policies,_no_overrides (0.11s) 196s --- PASS: TestGetPolicies/Disabled_override (0.11s) 196s --- PASS: TestGetPolicies/Empty_value_for_unfiltered_entry (0.09s) 196s --- PASS: TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed (0.00s) 196s --- PASS: TestGetPolicies/Standard_policy,_computer_object (0.10s) 196s --- PASS: TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment (0.09s) 196s --- PASS: TestGetPolicies/User_policy_Registry.pol_is_mixed_case (0.10s) 196s --- PASS: TestGetPolicies/No_override_for_this_release,_takes_default_value (0.11s) 196s --- PASS: TestGetPolicies/Error_on_backend_ServerFQDN_call_failed (0.01s) 196s --- PASS: TestGetPolicies/Two_policies,_with_reversed_overrides (0.12s) 196s --- PASS: TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys (0.09s) 196s --- PASS: TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.10s) 196s --- PASS: TestGetPolicies/Multiple_domains,_same_GPO (0.09s) 196s --- PASS: TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored (0.09s) 196s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_user (0.01s) 196s --- PASS: TestGetPolicies/Disabled_value_overrides_non_disabled_one (0.16s) 196s --- PASS: TestGetPolicies/Disabled_value_is_overridden (0.17s) 196s --- PASS: TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty (0.10s) 196s --- PASS: TestGetPolicies/Symlinks_can’t_be_created (0.00s) 196s --- PASS: TestGetPolicies/Error_on_user_without_@_in_name (0.00s) 196s --- PASS: TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol (0.11s) 196s --- PASS: TestGetPolicies/Policy_machine_directory_is_uppercase (0.10s) 196s --- PASS: TestGetPolicies/Two_policies,_with_overrides (0.11s) 196s --- PASS: TestGetPolicies/Same_key_in_different_domains_are_kept_separated (0.11s) 196s --- PASS: TestGetPolicies/Machine_doesn’t_match (0.00s) 196s --- PASS: TestGetPolicies/Enabled_override (0.11s) 196s --- PASS: TestGetPolicies/Filter_non_Ubuntu_keys (0.10s) 196s --- PASS: TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.11s) 196s --- PASS: TestGetPolicies/Assets_can’t_be_downloaded_without_GPO (0.04s) 196s --- PASS: TestGetPolicies/More_policies,_with_multiple_overrides (0.13s) 196s --- PASS: TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed (0.09s) 196s --- PASS: TestGetPolicies/Error_on_backend_IsOnline_call_failed (0.00s) 196s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_machine (0.00s) 196s --- PASS: TestGetPolicies/Standard_policy,_user_object (0.11s) 196s --- PASS: TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case (0.11s) 196s --- PASS: TestGetPolicies/Policy_user_directory_is_uppercase (0.13s) 196s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_reversed (0.13s) 196s --- PASS: TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db (0.10s) 196s === CONT TestGetPolicyDefinitions/Load_ADMX_and_ADML 196s === CONT TestFetchWithUnreadableFile/existing_gpo_is_preserved 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"gpo1-name\"" 196s --- PASS: TestFetchTweakSysvolCacheDir (0.00s) 196s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only (0.02s) 196s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist (0.03s) 196s === CONT TestNormalizeTargetName/One_user_without_explicit_domain_suffix 196s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 196s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 196s --- PASS: TestGetPolicyDefinitions (0.00s) 196s --- PASS: TestGetPolicyDefinitions/Load_ADMX_and_ADML (0.01s) 196s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro (0.00s) 196s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format (0.00s) 196s === CONT TestGetInfo/Info_reported_from_backend,_online 196s === CONT TestNormalizeTargetName/Computer_with_@_is_left_as_such 196s === CONT TestNormalizeTargetName/One_valid_user_with_mixed_case 196s === CONT TestNormalizeTargetName/Computer_name_without_objectClass 196s === CONT TestNormalizeTargetName/User_name_fqdn_matching_computer 196s === CONT TestNormalizeTargetName/One_valid_user_with_domain\user 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s === CONT TestNormalizeTargetName/One_valid_user 196s === CONT TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 196s === CONT TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 196s === CONT TestNormalizeTargetName/Error_on_multiple_\_in_name 196s === CONT TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 196s === CONT TestNormalizeTargetName/Computer_is_left_as_such 196s --- PASS: TestNormalizeTargetName (0.00s) 196s --- PASS: TestNormalizeTargetName/One_user_without_explicit_domain_suffix (0.00s) 196s --- PASS: TestNormalizeTargetName/Computer_with_@_is_left_as_such (0.00s) 196s --- PASS: TestNormalizeTargetName/Computer_name_without_objectClass (0.00s) 196s --- PASS: TestNormalizeTargetName/One_valid_user_with_mixed_case (0.00s) 196s --- PASS: TestNormalizeTargetName/User_name_fqdn_matching_computer (0.00s) 196s --- PASS: TestNormalizeTargetName/One_valid_user_with_domain\user (0.00s) 196s --- PASS: TestNormalizeTargetName/One_valid_user (0.00s) 196s --- PASS: TestNormalizeTargetName/User_name_matching_computer,_setting_as_user (0.00s) 196s --- PASS: TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user (0.00s) 196s --- PASS: TestNormalizeTargetName/Error_on_multiple_\_in_name (0.00s) 196s --- PASS: TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such (0.00s) 196s --- PASS: TestNormalizeTargetName/Computer_is_left_as_such (0.00s) 196s === CONT TestListUsers/Error_on_policy_cache_directory_not_existing 196s === CONT TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 196s === CONT TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 196s time="2025-06-17T13:54:55Z" level=warning msg="IsOnline returned an error" 196s === CONT TestGetInfo/Info_reported_from_backend,_offline 196s --- PASS: TestGetInfo (0.00s) 196s --- PASS: TestGetInfo/Info_reported_from_backend,_online (0.00s) 196s --- PASS: TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail (0.00s) 196s --- PASS: TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail (0.00s) 196s --- PASS: TestGetInfo/Info_reported_from_backend,_offline (0.00s) 196s === CONT TestGetPoliciesConcurrently/Same_user,_same_GPO 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"gpo1-name\"" 196s --- PASS: TestFetchWithUnreadableFile (0.00s) 196s --- PASS: TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO (0.07s) 196s --- PASS: TestFetchWithUnreadableFile/existing_gpo_is_preserved (0.04s) 196s === CONT TestListUsers/One_user,_from_policy_cache 196s === CONT TestListUsers/Error_on_Krb5_directory_not_existing 196s === CONT TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 196s === CONT TestListUsers/Machines_are_ignored,_from_policy_cache 196s === CONT TestListUsers/Machine_Only 196s === CONT TestListUsers/Machines_are_ignored 196s === CONT TestListUsers/One_user 196s === CONT TestListUsers/Machine_Only,_from_policy_cache 196s === CONT TestListUsers/None,_from_policy_cache 196s === CONT TestListUsers/None 196s === CONT TestListUsers/Two_users,_dangling_symlink_for_one 196s === CONT TestListUsers/Two_users 196s === CONT TestListUsers/Two_users,_from_policy_cache 196s --- PASS: TestListUsers (0.00s) 196s --- PASS: TestListUsers/Error_on_policy_cache_directory_not_existing (0.00s) 196s --- PASS: TestListUsers/One_user,_from_policy_cache (0.00s) 196s --- PASS: TestListUsers/Error_on_Krb5_directory_not_existing (0.00s) 196s --- PASS: TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested (0.00s) 196s --- PASS: TestListUsers/Machines_are_ignored,_from_policy_cache (0.00s) 196s --- PASS: TestListUsers/Machine_Only (0.00s) 196s --- PASS: TestListUsers/Machines_are_ignored (0.00s) 196s --- PASS: TestListUsers/One_user (0.00s) 196s --- PASS: TestListUsers/Machine_Only,_from_policy_cache (0.00s) 196s --- PASS: TestListUsers/None,_from_policy_cache (0.00s) 196s --- PASS: TestListUsers/None (0.00s) 196s --- PASS: TestListUsers/Two_users,_dangling_symlink_for_one (0.00s) 196s --- PASS: TestListUsers/Two_users (0.00s) 196s --- PASS: TestListUsers/Two_users,_from_policy_cache (0.00s) 196s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:55Z" level=info msg="GPO \"standard-name\" is already up to date" 196s === CONT TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:55Z" level=info msg="GPO \"standard-name\" is already up to date" 196s === CONT TestGetPoliciesConcurrently/One_machine,_one_user 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="GPO \"standard-name\" is already up to date" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"assets\"" 196s === CONT TestGetPoliciesConcurrently/Different_users,_different_GPO 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"one-value-name\"" 196s time="2025-06-17T13:54:55Z" level=info msg="GPO \"standard-name\" is already up to date" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Assets directory is already up to date" 196s === CONT TestGetPoliciesConcurrently/Different_users,_same_GPO 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Assets directory is already up to date" 196s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:55Z" level=info msg="GPO \"standard-name\" is already up to date" 196s --- PASS: TestGetPoliciesConcurrently (0.00s) 196s --- PASS: TestGetPoliciesConcurrently/Same_user,_same_GPO (0.16s) 196s --- PASS: TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time (0.22s) 196s --- PASS: TestGetPoliciesConcurrently/One_machine,_one_user (0.19s) 196s --- PASS: TestGetPoliciesConcurrently/Different_users,_different_GPO (0.20s) 196s --- PASS: TestGetPoliciesConcurrently/Different_users,_same_GPO (0.20s) 196s === CONT TestGetPoliciesWorkflows/Second_call_after_a_relogin 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:55Z" level=info msg="GPO \"standard-name\" is already up to date" 196s === CONT TestGetPoliciesWorkflows/Second_call_after_service_restarted 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:55Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:55Z" level=info msg="GPO \"standard-name\" is already up to date" 196s time="2025-06-17T13:54:55Z" level=info msg="Downloading \"standard-name\"" 196s === CONT TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:56Z" level=info msg="GPO \"standard-name\" is already up to date" 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:56Z" level=info msg="Assets directory is already up to date" 196s === CONT TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:56Z" level=info msg="GPO \"standard-name\" is already up to date" 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:56Z" level=info msg="Assets directory is already up to date" 196s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"standard-name\"" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:56Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:56Z" level=info msg="GPO \"standard-name\" is already up to date" 196s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:56Z" level=info msg="GPO \"standard-name\" is already up to date" 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:56Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"assets\"" 196s === CONT TestGetPoliciesWorkflows/Second_call_with_different_user 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"assets\"" 196s time="2025-06-17T13:54:56Z" level=info msg="Downloading \"standard-name\"" 196s time="2025-06-17T13:54:56Z" level=info msg="Assets directory is already up to date" 196s time="2025-06-17T13:54:56Z" level=info msg="GPO \"standard-name\" is already up to date" 196s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 196s time="2025-06-17T13:54:56Z" level=info msg="GPO \"standard-name\" is already up to date" 196s time="2025-06-17T13:54:56Z" level=info msg="Assets directory is already up to date" 196s --- PASS: TestGetPoliciesWorkflows (0.00s) 196s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_a_restart (0.25s) 196s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted (0.20s) 196s --- PASS: TestGetPoliciesWorkflows/Second_call_after_a_relogin (0.21s) 196s --- PASS: TestGetPoliciesWorkflows/Second_call_after_service_restarted (0.20s) 196s --- PASS: TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) (0.20s) 196s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) (0.21s) 196s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path (0.21s) 196s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed (0.19s) 196s --- PASS: TestGetPoliciesWorkflows/Second_call_with_different_user (0.16s) 196s PASS 196s ok github.com/ubuntu/adsys/internal/ad 6.713s 196s === RUN TestGenerateExpandedCategories 196s === PAUSE TestGenerateExpandedCategories 196s === RUN TestExpandedCategoriesToADMX 196s === PAUSE TestExpandedCategoriesToADMX 196s === RUN TestExpandedCategoriesToMD 196s === PAUSE TestExpandedCategoriesToMD 196s === RUN TestExpand 196s === PAUSE TestExpand 196s === RUN TestGenerateAD 196s === PAUSE TestGenerateAD 196s === RUN TestGenerateDoc 196s === PAUSE TestGenerateDoc 196s === CONT TestGenerateExpandedCategories 196s === RUN TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 196s === PAUSE TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 196s === RUN TestGenerateExpandedCategories/different_explain_text 196s === PAUSE TestGenerateExpandedCategories/different_explain_text 196s === RUN TestGenerateExpandedCategories/choices 196s === PAUSE TestGenerateExpandedCategories/choices 196s === RUN TestGenerateExpandedCategories/different_meta 196s === PAUSE TestGenerateExpandedCategories/different_meta 196s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 196s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 196s === RUN TestGenerateExpandedCategories/error_on_missing_release 196s === PAUSE TestGenerateExpandedCategories/error_on_missing_release 196s === RUN TestGenerateExpandedCategories/same_default 196s === PAUSE TestGenerateExpandedCategories/same_default 196s === RUN TestGenerateExpandedCategories/different_defaults 196s === PAUSE TestGenerateExpandedCategories/different_defaults 196s === RUN TestGenerateExpandedCategories/multiple_top_categories 196s === PAUSE TestGenerateExpandedCategories/multiple_top_categories 196s === RUN TestGenerateExpandedCategories/no_meta_enabled 196s === PAUSE TestGenerateExpandedCategories/no_meta_enabled 196s === RUN TestGenerateExpandedCategories/no_meta_at_all 196s === PAUSE TestGenerateExpandedCategories/no_meta_at_all 196s === RUN TestGenerateExpandedCategories/different_display_name 196s === PAUSE TestGenerateExpandedCategories/different_display_name 196s === RUN TestGenerateExpandedCategories/applicable_to_all_releases 196s === PAUSE TestGenerateExpandedCategories/applicable_to_all_releases 196s === RUN TestGenerateExpandedCategories/different_range 196s === PAUSE TestGenerateExpandedCategories/different_range 196s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 196s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 196s === RUN TestGenerateExpandedCategories/error_on_one_policy_not_used 196s === PAUSE TestGenerateExpandedCategories/error_on_one_policy_not_used 196s === RUN TestGenerateExpandedCategories/error_on_different_class 196s === PAUSE TestGenerateExpandedCategories/error_on_different_class 196s === RUN TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 196s === PAUSE TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 196s === RUN TestGenerateExpandedCategories/policy_directory_doesn't_exist 196s === PAUSE TestGenerateExpandedCategories/policy_directory_doesn't_exist 196s === RUN TestGenerateExpandedCategories/available_on_one_release_only 196s === PAUSE TestGenerateExpandedCategories/available_on_one_release_only 196s === RUN TestGenerateExpandedCategories/no_note 196s === PAUSE TestGenerateExpandedCategories/no_note 196s === RUN TestGenerateExpandedCategories/different_choices 196s === PAUSE TestGenerateExpandedCategories/different_choices 196s === RUN TestGenerateExpandedCategories/no_meta_disabled 196s === PAUSE TestGenerateExpandedCategories/no_meta_disabled 196s === RUN TestGenerateExpandedCategories/meta_entry_only 196s === PAUSE TestGenerateExpandedCategories/meta_entry_only 196s === RUN TestGenerateExpandedCategories/error_on_nested_category 196s === PAUSE TestGenerateExpandedCategories/error_on_nested_category 196s === RUN TestGenerateExpandedCategories/error_on_empty_default_policy_class 196s === PAUSE TestGenerateExpandedCategories/error_on_empty_default_policy_class 196s === RUN TestGenerateExpandedCategories/simple 196s === PAUSE TestGenerateExpandedCategories/simple 196s === RUN TestGenerateExpandedCategories/nested_categories 196s === PAUSE TestGenerateExpandedCategories/nested_categories 196s === RUN TestGenerateExpandedCategories/with_prefix 196s === PAUSE TestGenerateExpandedCategories/with_prefix 196s === RUN TestGenerateExpandedCategories/range 196s === PAUSE TestGenerateExpandedCategories/range 196s === RUN TestGenerateExpandedCategories/default_policy_class_is_capitalized 196s === PAUSE TestGenerateExpandedCategories/default_policy_class_is_capitalized 196s === CONT TestExpand 196s === RUN TestExpand/no_release_file 196s === PAUSE TestExpand/no_release_file 196s === RUN TestExpand/no_version_id 196s === RUN TestGenerateExpandedCategories/two_policies 196s === PAUSE TestGenerateExpandedCategories/two_policies 196s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories 196s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories 196s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 196s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 196s === RUN TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 196s === PAUSE TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 196s === RUN TestGenerateExpandedCategories/requires_ubuntu_pro 196s === PAUSE TestGenerateExpandedCategories/requires_ubuntu_pro 196s === RUN TestGenerateExpandedCategories/different_element_type 196s === PAUSE TestGenerateExpandedCategories/different_element_type 196s === RUN TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 196s === PAUSE TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 196s === RUN TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 196s === PAUSE TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 196s === PAUSE TestExpand/no_version_id 196s === RUN TestExpand/invalid_dconf.yaml 196s === PAUSE TestExpand/invalid_dconf.yaml 196s === RUN TestExpand/dconf_generation_fails 196s === PAUSE TestExpand/dconf_generation_fails 196s === RUN TestExpand/expanded_policy_with_release_any 196s === PAUSE TestExpand/expanded_policy_with_release_any 196s === RUN TestExpand/expanded_policy 196s === PAUSE TestExpand/expanded_policy 196s === RUN TestExpand/expanded_policy_with_meta 196s === PAUSE TestExpand/expanded_policy_with_meta 196s === RUN TestExpand/ignore_categories_and_non_yaml_files 196s === PAUSE TestExpand/ignore_categories_and_non_yaml_files 196s === RUN TestExpand/unsupported_policy_type 196s === PAUSE TestExpand/unsupported_policy_type 196s === RUN TestExpand/no_source_directory 196s === PAUSE TestExpand/no_source_directory 196s === RUN TestExpand/dconf 196s === PAUSE TestExpand/dconf 196s === RUN TestGenerateExpandedCategories/category_definition_doesn't_exist 196s === PAUSE TestGenerateExpandedCategories/category_definition_doesn't_exist 196s === RUN TestGenerateExpandedCategories/basic 196s === PAUSE TestGenerateExpandedCategories/basic 196s === RUN TestGenerateExpandedCategories/no_defaults 196s === PAUSE TestGenerateExpandedCategories/no_defaults 196s === CONT TestGenerateDoc 196s === RUN TestGenerateExpandedCategories/no_note_strategy_append 196s === PAUSE TestGenerateExpandedCategories/no_note_strategy_append 196s === RUN TestGenerateExpandedCategories/error_on_different_policy_type 196s === PAUSE TestGenerateExpandedCategories/error_on_different_policy_type 196s === RUN TestGenerateExpandedCategories/error_on_invalid_default_policy_class 196s === PAUSE TestGenerateExpandedCategories/error_on_invalid_default_policy_class 196s === RUN TestGenerateDoc/category_expansion_fails 196s === PAUSE TestGenerateDoc/category_expansion_fails 196s === RUN TestGenerateDoc/doc_generation_fails 196s === PAUSE TestGenerateDoc/doc_generation_fails 196s === RUN TestGenerateDoc/releases_from_yaml 196s === PAUSE TestGenerateDoc/releases_from_yaml 196s === RUN TestGenerateDoc/autodetect_overrides_releases_from_yaml 196s === PAUSE TestGenerateDoc/autodetect_overrides_releases_from_yaml 196s === RUN TestGenerateDoc/invalid_definition_file 196s === PAUSE TestGenerateDoc/invalid_definition_file 196s === CONT TestGenerateAD 196s === RUN TestGenerateAD/releases_from_yaml 196s === PAUSE TestGenerateAD/releases_from_yaml 196s === RUN TestGenerateAD/autodetect_overrides_releases_from_yaml 196s === PAUSE TestGenerateAD/autodetect_overrides_releases_from_yaml 196s === RUN TestGenerateAD/invalid_definition_file 196s === PAUSE TestGenerateAD/invalid_definition_file 196s === RUN TestGenerateAD/category_expansion_fails 196s === PAUSE TestGenerateAD/category_expansion_fails 196s === RUN TestGenerateAD/admx_generation_fails 196s === PAUSE TestGenerateAD/admx_generation_fails 196s === CONT TestExpandedCategoriesToMD 196s === RUN TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 196s === PAUSE TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 196s === RUN TestExpandedCategoriesToMD/decimal_with_min_only 196s === PAUSE TestExpandedCategoriesToMD/decimal_with_min_only 196s === RUN TestExpandedCategoriesToMD/choices 196s === PAUSE TestExpandedCategoriesToMD/choices 196s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 196s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 196s === RUN TestExpandedCategoriesToMD/simple 196s === PAUSE TestExpandedCategoriesToMD/simple 196s === RUN TestExpandedCategoriesToMD/multiple_categories 196s === PAUSE TestExpandedCategoriesToMD/multiple_categories 196s === RUN TestExpandedCategoriesToMD/user_policy 196s === PAUSE TestExpandedCategoriesToMD/user_policy 196s === RUN TestExpandedCategoriesToMD/array_of_strings 196s === PAUSE TestExpandedCategoriesToMD/array_of_strings 196s === RUN TestExpandedCategoriesToMD/double 196s === PAUSE TestExpandedCategoriesToMD/double 196s === RUN TestExpandedCategoriesToMD/double_with_range 196s === PAUSE TestExpandedCategoriesToMD/double_with_range 196s === RUN TestExpandedCategoriesToMD/decimal_with_max_only 196s === PAUSE TestExpandedCategoriesToMD/decimal_with_max_only 196s === RUN TestExpandedCategoriesToMD/nested_categories 196s === PAUSE TestExpandedCategoriesToMD/nested_categories 196s === RUN TestExpandedCategoriesToMD/decimal 196s === PAUSE TestExpandedCategoriesToMD/decimal 196s === RUN TestExpandedCategoriesToMD/decimal_with_range 196s === PAUSE TestExpandedCategoriesToMD/decimal_with_range 196s === RUN TestExpandedCategoriesToMD/array_of_integers 196s === PAUSE TestExpandedCategoriesToMD/array_of_integers 196s === RUN TestExpandedCategoriesToMD/long_decimal 196s === PAUSE TestExpandedCategoriesToMD/long_decimal 196s === RUN TestExpandedCategoriesToMD/choices_with_default 196s === CONT TestExpandedCategoriesToADMX 196s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 196s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 196s === RUN TestExpandedCategoriesToADMX/simple 196s === PAUSE TestExpandedCategoriesToADMX/simple 196s === RUN TestExpandedCategoriesToADMX/decimal 196s === PAUSE TestExpandedCategoriesToADMX/decimal 196s === RUN TestExpandedCategoriesToADMX/decimal_with_range 196s === PAUSE TestExpandedCategoriesToADMX/decimal_with_range 196s === RUN TestExpandedCategoriesToADMX/long_decimal 196s === PAUSE TestExpandedCategoriesToADMX/long_decimal 196s === RUN TestExpandedCategoriesToADMX/array_of_integers 196s === PAUSE TestExpandedCategoriesToMD/choices_with_default 196s === RUN TestExpandedCategoriesToMD/multiple_releases_for_one_key 196s === PAUSE TestExpandedCategoriesToMD/multiple_releases_for_one_key 196s === RUN TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 196s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 196s === RUN TestExpandedCategoriesToMD/no_meta_enabled 196s === PAUSE TestExpandedCategoriesToMD/no_meta_enabled 196s === RUN TestExpandedCategoriesToMD/no_meta_at_all 196s === PAUSE TestExpandedCategoriesToMD/no_meta_at_all 196s === RUN TestExpandedCategoriesToMD/error_on_destination_creation 196s === PAUSE TestExpandedCategoriesToMD/error_on_destination_creation 196s === RUN TestExpandedCategoriesToMD/basic_key 196s === PAUSE TestExpandedCategoriesToMD/basic_key 196s === RUN TestExpandedCategoriesToMD/boolean 196s === PAUSE TestExpandedCategoriesToMD/boolean 196s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_choices 196s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_choices 196s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 196s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 196s === RUN TestExpandedCategoriesToMD/no_meta_disabled 196s === PAUSE TestExpandedCategoriesToMD/no_meta_disabled 196s === CONT TestExpand/no_release_file 196s === PAUSE TestExpandedCategoriesToADMX/array_of_integers 196s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 196s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 196s === RUN TestExpandedCategoriesToADMX/error_on_destination_creation 196s === PAUSE TestExpandedCategoriesToADMX/error_on_destination_creation 196s === RUN TestExpandedCategoriesToADMX/decimal_with_min_only 196s === PAUSE TestExpandedCategoriesToADMX/decimal_with_min_only 196s === RUN TestExpandedCategoriesToADMX/decimal_with_max_only 196s === PAUSE TestExpandedCategoriesToADMX/decimal_with_max_only 196s === RUN TestExpandedCategoriesToADMX/multiple_releases_for_one_key 196s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_for_one_key 196s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 196s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 196s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 196s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 196s === RUN TestExpandedCategoriesToADMX/double_with_range 196s === PAUSE TestExpandedCategoriesToADMX/double_with_range 196s === RUN TestExpandedCategoriesToADMX/no_meta_disabled 196s === PAUSE TestExpandedCategoriesToADMX/no_meta_disabled 196s === RUN TestExpandedCategoriesToADMX/no_meta_at_all 196s === PAUSE TestExpandedCategoriesToADMX/no_meta_at_all 196s === RUN TestExpandedCategoriesToADMX/nested_categories 196s === PAUSE TestExpandedCategoriesToADMX/nested_categories 196s === RUN TestExpandedCategoriesToADMX/array_of_strings 196s === PAUSE TestExpandedCategoriesToADMX/array_of_strings 196s === RUN TestExpandedCategoriesToADMX/choices 196s === PAUSE TestExpandedCategoriesToADMX/choices 196s === RUN TestExpandedCategoriesToADMX/choices_with_default 196s === PAUSE TestExpandedCategoriesToADMX/choices_with_default 196s === RUN TestExpandedCategoriesToADMX/double 196s === PAUSE TestExpandedCategoriesToADMX/double 196s === RUN TestExpandedCategoriesToADMX/multiple_categories 196s === PAUSE TestExpandedCategoriesToADMX/multiple_categories 196s === RUN TestExpandedCategoriesToADMX/other_distro 196s === PAUSE TestExpandedCategoriesToADMX/other_distro 196s === RUN TestExpandedCategoriesToADMX/basic_key 196s === PAUSE TestExpandedCategoriesToADMX/basic_key 196s === RUN TestExpandedCategoriesToADMX/boolean 196s === PAUSE TestExpandedCategoriesToADMX/boolean 196s === RUN TestExpandedCategoriesToADMX/no_meta_enabled 196s === PAUSE TestExpandedCategoriesToADMX/no_meta_enabled 196s === CONT TestExpand/expanded_policy_with_meta 196s === CONT TestExpand/dconf 196s === NAME TestExpand/expanded_policy_with_meta 196s admxgen_test.go:78: Serializing object for golden file 196s === NAME TestExpand/dconf 196s admxgen_test.go:78: Serializing object for golden file 196s === CONT TestExpand/no_source_directory 196s === CONT TestExpand/unsupported_policy_type 196s === CONT TestExpand/ignore_categories_and_non_yaml_files 196s === CONT TestExpand/dconf_generation_fails 196s === CONT TestExpand/expanded_policy 196s === NAME TestExpand/ignore_categories_and_non_yaml_files 196s admxgen_test.go:78: Serializing object for golden file 196s === NAME TestExpand/expanded_policy 196s admxgen_test.go:78: Serializing object for golden file 196s === CONT TestExpand/expanded_policy_with_release_any 196s admxgen_test.go:78: Serializing object for golden file 196s === CONT TestExpand/invalid_dconf.yaml 196s === CONT TestExpand/no_version_id 196s === CONT TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 196s --- PASS: TestExpand (0.00s) 196s --- PASS: TestExpand/no_release_file (0.00s) 196s --- PASS: TestExpand/dconf (0.00s) 196s --- PASS: TestExpand/expanded_policy_with_meta (0.00s) 196s --- PASS: TestExpand/unsupported_policy_type (0.00s) 196s --- PASS: TestExpand/no_source_directory (0.00s) 196s --- PASS: TestExpand/dconf_generation_fails (0.00s) 196s --- PASS: TestExpand/ignore_categories_and_non_yaml_files (0.00s) 196s --- PASS: TestExpand/expanded_policy_with_release_any (0.00s) 196s --- PASS: TestExpand/invalid_dconf.yaml (0.00s) 196s --- PASS: TestExpand/no_version_id (0.00s) 196s --- PASS: TestExpand/expanded_policy (0.00s) 196s === CONT TestGenerateDoc/category_expansion_fails 196s === CONT TestGenerateAD/releases_from_yaml 196s === NAME TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/error_on_invalid_default_policy_class 196s === CONT TestGenerateExpandedCategories/error_on_different_policy_type 196s === CONT TestGenerateExpandedCategories/no_note_strategy_append 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/no_defaults 196s === CONT TestGenerateExpandedCategories/basic 196s === NAME TestGenerateExpandedCategories/no_defaults 196s internal_test.go:112: Serializing object for golden file 196s === NAME TestGenerateExpandedCategories/basic 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 196s === CONT TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 196s time="2025-06-17T13:54:49Z" level=warning msg="policy /org/gnome/desktop/policy-doesnotexit referenced in \"Category1 Display Name\" does not exist in any supported releases" 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/category_definition_doesn't_exist 196s === CONT TestGenerateExpandedCategories/different_element_type 196s === CONT TestGenerateExpandedCategories/requires_ubuntu_pro 196s internal_test.go:112: Serializing object for golden file 196s === NAME TestGenerateExpandedCategories/different_element_type 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 196s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/two_policies 196s === CONT TestGenerateExpandedCategories/default_policy_class_is_capitalized 196s internal_test.go:112: Serializing object for golden file 196s === NAME TestGenerateExpandedCategories/two_policies 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/range 196s === CONT TestGenerateExpandedCategories/with_prefix 196s internal_test.go:112: Serializing object for golden file 196s === NAME TestGenerateExpandedCategories/range 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/nested_categories 196s === CONT TestGenerateExpandedCategories/simple 196s === NAME TestGenerateExpandedCategories/nested_categories 196s internal_test.go:112: Serializing object for golden file 196s === NAME TestGenerateExpandedCategories/simple 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/error_on_nested_category 196s === CONT TestGenerateExpandedCategories/meta_entry_only 196s === CONT TestGenerateExpandedCategories/error_on_empty_default_policy_class 196s === CONT TestGenerateExpandedCategories/no_meta_disabled 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/different_choices 196s === NAME TestGenerateExpandedCategories/meta_entry_only 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/no_note 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/available_on_one_release_only 196s internal_test.go:112: Serializing object for golden file 196s === NAME TestGenerateExpandedCategories/different_choices 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/policy_directory_doesn't_exist 196s === CONT TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 196s === CONT TestGenerateExpandedCategories/error_on_different_class 196s === CONT TestGenerateExpandedCategories/error_on_one_policy_not_used 196s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 196s === CONT TestGenerateExpandedCategories/different_range 196s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 196s internal_test.go:112: Serializing object for golden file 196s === NAME TestGenerateExpandedCategories/different_range 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/applicable_to_all_releases 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/different_display_name 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/no_meta_at_all 196s === CONT TestGenerateExpandedCategories/no_meta_enabled 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/multiple_top_categories 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/different_defaults 196s === NAME TestGenerateExpandedCategories/no_meta_at_all 196s internal_test.go:112: Serializing object for golden file 196s === NAME TestGenerateExpandedCategories/different_defaults 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/same_default 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/error_on_missing_release 196s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/different_meta 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/choices 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestGenerateExpandedCategories/different_explain_text 196s internal_test.go:112: Serializing object for golden file 196s === CONT TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 196s --- PASS: TestGenerateExpandedCategories (0.00s) 196s --- PASS: TestGenerateExpandedCategories/use_policy_class_instead_of_category_default (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_invalid_default_policy_class (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_different_policy_type (0.00s) 196s --- PASS: TestGenerateExpandedCategories/no_note_strategy_append (0.00s) 196s --- PASS: TestGenerateExpandedCategories/basic (0.00s) 196s --- PASS: TestGenerateExpandedCategories/no_defaults (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_unexisting_policy_referenced (0.00s) 196s --- PASS: TestGenerateExpandedCategories/category_definition_doesn't_exist (0.00s) 196s --- PASS: TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases (0.00s) 196s --- PASS: TestGenerateExpandedCategories/different_element_type (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified (0.00s) 196s --- PASS: TestGenerateExpandedCategories/requires_ubuntu_pro (0.00s) 196s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories (0.00s) 196s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class (0.00s) 196s --- PASS: TestGenerateExpandedCategories/two_policies (0.00s) 196s --- PASS: TestGenerateExpandedCategories/default_policy_class_is_capitalized (0.00s) 196s --- PASS: TestGenerateExpandedCategories/with_prefix (0.00s) 196s --- PASS: TestGenerateExpandedCategories/range (0.00s) 196s --- PASS: TestGenerateExpandedCategories/nested_categories (0.00s) 196s --- PASS: TestGenerateExpandedCategories/simple (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_nested_category (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_empty_default_policy_class (0.00s) 196s --- PASS: TestGenerateExpandedCategories/no_meta_disabled (0.00s) 196s --- PASS: TestGenerateExpandedCategories/meta_entry_only (0.00s) 196s --- PASS: TestGenerateExpandedCategories/no_note (0.00s) 196s --- PASS: TestGenerateExpandedCategories/available_on_one_release_only (0.00s) 196s --- PASS: TestGenerateExpandedCategories/policy_directory_doesn't_exist (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_different_class (0.00s) 196s --- PASS: TestGenerateExpandedCategories/different_choices (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_one_policy_not_used (0.00s) 196s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key (0.00s) 196s --- PASS: TestGenerateExpandedCategories/different_range (0.00s) 196s --- PASS: TestGenerateExpandedCategories/different_display_name (0.00s) 196s --- PASS: TestGenerateExpandedCategories/applicable_to_all_releases (0.00s) 196s --- PASS: TestGenerateExpandedCategories/no_meta_enabled (0.00s) 196s --- PASS: TestGenerateExpandedCategories/multiple_top_categories (0.00s) 196s --- PASS: TestGenerateExpandedCategories/no_meta_at_all (0.00s) 196s --- PASS: TestGenerateExpandedCategories/different_defaults (0.00s) 196s --- PASS: TestGenerateExpandedCategories/same_default (0.00s) 196s --- PASS: TestGenerateExpandedCategories/error_on_missing_release (0.00s) 196s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key (0.00s) 196s --- PASS: TestGenerateExpandedCategories/different_meta (0.00s) 196s --- PASS: TestGenerateExpandedCategories/different_explain_text (0.00s) 196s --- PASS: TestGenerateExpandedCategories/choices (0.00s) 196s === CONT TestGenerateAD/admx_generation_fails 196s === CONT TestGenerateAD/category_expansion_fails 196s === CONT TestGenerateAD/invalid_definition_file 196s === CONT TestGenerateAD/autodetect_overrides_releases_from_yaml 196s === CONT TestExpandedCategoriesToMD/no_meta_disabled 196s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 196s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_choices 196s === CONT TestExpandedCategoriesToMD/boolean 196s --- PASS: TestGenerateAD (0.00s) 196s --- PASS: TestGenerateAD/releases_from_yaml (0.00s) 196s --- PASS: TestGenerateAD/admx_generation_fails (0.00s) 196s --- PASS: TestGenerateAD/category_expansion_fails (0.00s) 196s --- PASS: TestGenerateAD/invalid_definition_file (0.00s) 196s --- PASS: TestGenerateAD/autodetect_overrides_releases_from_yaml (0.01s) 196s === CONT TestExpandedCategoriesToMD/basic_key 196s === CONT TestExpandedCategoriesToMD/error_on_destination_creation 196s === CONT TestExpandedCategoriesToMD/no_meta_at_all 196s === CONT TestExpandedCategoriesToMD/no_meta_enabled 196s === CONT TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 196s === CONT TestExpandedCategoriesToMD/multiple_releases_for_one_key 196s === CONT TestExpandedCategoriesToMD/choices_with_default 196s === CONT TestExpandedCategoriesToMD/long_decimal 196s === CONT TestExpandedCategoriesToMD/array_of_integers 196s === CONT TestExpandedCategoriesToMD/decimal_with_range 196s === CONT TestExpandedCategoriesToMD/decimal 196s === CONT TestExpandedCategoriesToMD/nested_categories 196s === CONT TestExpandedCategoriesToMD/decimal_with_max_only 196s === CONT TestExpandedCategoriesToMD/double_with_range 196s === CONT TestExpandedCategoriesToMD/double 196s === CONT TestExpandedCategoriesToMD/array_of_strings 196s === CONT TestExpandedCategoriesToMD/user_policy 196s === CONT TestExpandedCategoriesToMD/multiple_categories 196s === CONT TestExpandedCategoriesToMD/simple 196s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 196s === CONT TestExpandedCategoriesToMD/choices 196s === CONT TestExpandedCategoriesToMD/decimal_with_min_only 196s === CONT TestGenerateDoc/autodetect_overrides_releases_from_yaml 196s --- PASS: TestExpandedCategoriesToMD (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/nested_categories,_classes_and_empty (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/no_meta_disabled (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_ranges (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_choices (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/basic_key (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/boolean (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/no_meta_at_all (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/error_on_destination_creation (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/multiple_releases_for_one_key (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/no_meta_enabled (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/choices_with_default (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/long_decimal (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/array_of_integers (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/decimal_with_range (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/decimal (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/decimal_with_max_only (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/double_with_range (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/nested_categories (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/double (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/array_of_strings (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/user_policy (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/simple (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/choices (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/multiple_categories (0.00s) 196s --- PASS: TestExpandedCategoriesToMD/decimal_with_min_only (0.00s) 196s === CONT TestGenerateDoc/invalid_definition_file 196s === CONT TestGenerateDoc/releases_from_yaml 196s === CONT TestGenerateDoc/doc_generation_fails 196s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 196s --- PASS: TestGenerateDoc (0.00s) 196s --- PASS: TestGenerateDoc/category_expansion_fails (0.00s) 196s --- PASS: TestGenerateDoc/invalid_definition_file (0.00s) 196s --- PASS: TestGenerateDoc/autodetect_overrides_releases_from_yaml (0.00s) 196s --- PASS: TestGenerateDoc/doc_generation_fails (0.00s) 196s --- PASS: TestGenerateDoc/releases_from_yaml (0.00s) 196s === CONT TestExpandedCategoriesToADMX/no_meta_disabled 196s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 196s === CONT TestExpandedCategoriesToADMX/double_with_range 196s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 196s === CONT TestExpandedCategoriesToADMX/multiple_releases_for_one_key 196s === CONT TestExpandedCategoriesToADMX/decimal_with_max_only 196s === CONT TestExpandedCategoriesToADMX/decimal_with_min_only 196s === CONT TestExpandedCategoriesToADMX/error_on_destination_creation 196s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 196s === CONT TestExpandedCategoriesToADMX/array_of_integers 196s === CONT TestExpandedCategoriesToADMX/long_decimal 196s === CONT TestExpandedCategoriesToADMX/decimal_with_range 196s === CONT TestExpandedCategoriesToADMX/decimal 196s === CONT TestExpandedCategoriesToADMX/simple 196s === CONT TestExpandedCategoriesToADMX/double 196s === CONT TestExpandedCategoriesToADMX/no_meta_enabled 196s === CONT TestExpandedCategoriesToADMX/boolean 196s === CONT TestExpandedCategoriesToADMX/basic_key 196s === CONT TestExpandedCategoriesToADMX/other_distro 196s === CONT TestExpandedCategoriesToADMX/multiple_categories 196s === CONT TestExpandedCategoriesToADMX/array_of_strings 196s === CONT TestExpandedCategoriesToADMX/choices_with_default 196s === CONT TestExpandedCategoriesToADMX/choices 196s === CONT TestExpandedCategoriesToADMX/nested_categories 196s === CONT TestExpandedCategoriesToADMX/no_meta_at_all 196s --- PASS: TestExpandedCategoriesToADMX (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/no_meta_disabled (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/double_with_range (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_choices (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/decimal_with_max_only (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_for_one_key (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/error_on_destination_creation (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/decimal_with_min_only (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/array_of_integers (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/long_decimal (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/decimal_with_range (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/decimal (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults (0.01s) 196s --- PASS: TestExpandedCategoriesToADMX/double (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/simple (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/boolean (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/no_meta_enabled (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/other_distro (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/basic_key (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/array_of_strings (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/multiple_categories (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/choices (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/nested_categories (0.00s) 196s --- PASS: TestExpandedCategoriesToADMX/choices_with_default (0.01s) 196s --- PASS: TestExpandedCategoriesToADMX/no_meta_at_all (0.00s) 196s PASS 196s ok github.com/ubuntu/adsys/internal/ad/admxgen 0.138s 196s === RUN TestGenerate 196s === PAUSE TestGenerate 196s === CONT TestGenerate 196s === RUN TestGenerate/One_boolean_key 196s === PAUSE TestGenerate/One_boolean_key 196s === RUN TestGenerate/One_decimal_key_with_min_only 196s === PAUSE TestGenerate/One_decimal_key_with_min_only 196s === RUN TestGenerate/Overridden_by_multiple_files,_last_wins 196s === PAUSE TestGenerate/Overridden_by_multiple_files,_last_wins 196s === RUN TestGenerate/Relocatable_key_overridden 196s === PAUSE TestGenerate/Relocatable_key_overridden 196s === RUN TestGenerate/Enums_in_other_files_are_converted_to_choices 196s === PAUSE TestGenerate/Enums_in_other_files_are_converted_to_choices 196s === RUN TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 196s === PAUSE TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 196s === RUN TestGenerate/Relocatable_key 196s === PAUSE TestGenerate/Relocatable_key 196s === RUN TestGenerate/One_decimal_key_with_range 196s === PAUSE TestGenerate/One_decimal_key_with_range 196s === RUN TestGenerate/Array_of_integers 196s === PAUSE TestGenerate/Array_of_integers 196s === RUN TestGenerate/Double_key 196s === PAUSE TestGenerate/Double_key 196s === RUN TestGenerate/Override_with_no_matching_session_defaults_to_root_override 196s === PAUSE TestGenerate/Override_with_no_matching_session_defaults_to_root_override 196s === RUN TestGenerate/Invalid_min 196s === PAUSE TestGenerate/Invalid_min 196s === RUN TestGenerate/One_decimal_key 196s === PAUSE TestGenerate/One_decimal_key 196s === RUN TestGenerate/Double_key_with_range 196s === PAUSE TestGenerate/Double_key_with_range 196s === RUN TestGenerate/Override_without_session 196s === PAUSE TestGenerate/Override_without_session 196s === RUN TestGenerate/No_key_on_system 196s === PAUSE TestGenerate/No_key_on_system 196s === RUN TestGenerate/Unsupported_key_type 196s === PAUSE TestGenerate/Unsupported_key_type 196s === RUN TestGenerate/Override_takes_first_session 196s === PAUSE TestGenerate/Override_takes_first_session 196s === RUN TestGenerate/Override_without_session_takes_default 196s === PAUSE TestGenerate/Override_without_session_takes_default 196s === RUN TestGenerate/Inlined_Enums_are_converted_to_choices 196s === PAUSE TestGenerate/Inlined_Enums_are_converted_to_choices 196s === RUN TestGenerate/Key_with_class 196s === PAUSE TestGenerate/Key_with_class 196s === RUN TestGenerate/Same_key_relocated_twice 196s === PAUSE TestGenerate/Same_key_relocated_twice 196s === RUN TestGenerate/One_decimal_key_with_max_only 196s === PAUSE TestGenerate/One_decimal_key_with_max_only 196s === RUN TestGenerate/Long_decimal_key 196s === PAUSE TestGenerate/Long_decimal_key 196s === RUN TestGenerate/Long_decimal_key_with_range_min_gt_0 196s === PAUSE TestGenerate/Long_decimal_key_with_range_min_gt_0 196s === RUN TestGenerate/Invalid_override_files_are_skipped 196s === PAUSE TestGenerate/Invalid_override_files_are_skipped 196s === RUN TestGenerate/Description_starting_with_deprecated_is_ignored 196s === PAUSE TestGenerate/Description_starting_with_deprecated_is_ignored 196s === RUN TestGenerate/Description_starting_with_obsolete_is_ignored 196s === PAUSE TestGenerate/Description_starting_with_obsolete_is_ignored 196s === RUN TestGenerate/Enum_does_not_exist 196s === PAUSE TestGenerate/Enum_does_not_exist 196s === RUN TestGenerate/Array_of_strings 196s === PAUSE TestGenerate/Array_of_strings 196s === RUN TestGenerate/Choices_are_loaded 196s === PAUSE TestGenerate/Choices_are_loaded 196s === RUN TestGenerate/One_text_key 196s === PAUSE TestGenerate/One_text_key 196s === RUN TestGenerate/Override_with_session_takes_session_override 196s === PAUSE TestGenerate/Override_with_session_takes_session_override 196s === RUN TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 196s === PAUSE TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 196s === RUN TestGenerate/NaN_min 196s === PAUSE TestGenerate/NaN_min 196s === RUN TestGenerate/Long_decimal_key_with_range_min_lt_0 196s === PAUSE TestGenerate/Long_decimal_key_with_range_min_lt_0 196s === RUN TestGenerate/Override_default_to_second_if_first_not_present 196s === PAUSE TestGenerate/Override_default_to_second_if_first_not_present 196s === RUN TestGenerate/Empty 196s === PAUSE TestGenerate/Empty 196s === RUN TestGenerate/Valid_class_should_be_capitalized 196s === PAUSE TestGenerate/Valid_class_should_be_capitalized 196s === RUN TestGenerate/Invalid_class 196s === PAUSE TestGenerate/Invalid_class 196s === RUN TestGenerate/Invalid_schema_files 196s === PAUSE TestGenerate/Invalid_schema_files 196s === CONT TestGenerate/One_boolean_key 196s === CONT TestGenerate/Same_key_relocated_twice 196s === NAME TestGenerate/One_boolean_key 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Key_with_class 196s === NAME TestGenerate/Same_key_relocated_twice 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Invalid_schema_files 196s === CONT TestGenerate/Invalid_class 196s === CONT TestGenerate/Valid_class_should_be_capitalized 196s === NAME TestGenerate/Key_with_class 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Inlined_Enums_are_converted_to_choices 196s dconf_test.go:103: Serializing object for golden file 196s === NAME TestGenerate/Valid_class_should_be_capitalized 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Override_without_session_takes_default 196s === CONT TestGenerate/Override_takes_first_session 196s === NAME TestGenerate/Override_without_session_takes_default 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Unsupported_key_type 196s === NAME TestGenerate/Override_takes_first_session 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/No_key_on_system 196s === CONT TestGenerate/Override_without_session 196s time="2025-06-17T13:54:50Z" level=warning msg="dconf entry \"/com/ubuntu/simple/non-existent\" is not available on this machine" 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Double_key_with_range 196s === NAME TestGenerate/No_key_on_system 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/One_decimal_key 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Invalid_min 196s === CONT TestGenerate/Override_with_no_matching_session_defaults_to_root_override 196s === NAME TestGenerate/Double_key_with_range 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Double_key 196s === NAME TestGenerate/Override_with_no_matching_session_defaults_to_root_override 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Array_of_integers 196s === NAME TestGenerate/Double_key 196s dconf_test.go:103: Serializing object for golden file 196s === NAME TestGenerate/Array_of_integers 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/One_decimal_key_with_range 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Relocatable_key 196s === CONT TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 196s dconf_test.go:103: Serializing object for golden file 196s === NAME TestGenerate/Relocatable_key 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Enums_in_other_files_are_converted_to_choices 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Relocatable_key_overridden 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Overridden_by_multiple_files,_last_wins 196s === CONT TestGenerate/One_decimal_key_with_min_only 196s === NAME TestGenerate/Overridden_by_multiple_files,_last_wins 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Choices_are_loaded 196s === NAME TestGenerate/One_decimal_key_with_min_only 196s dconf_test.go:103: Serializing object for golden file 196s === NAME TestGenerate/Choices_are_loaded 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Empty 196s === CONT TestGenerate/Override_default_to_second_if_first_not_present 196s === NAME TestGenerate/Empty 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Long_decimal_key_with_range_min_lt_0 196s === NAME TestGenerate/Override_default_to_second_if_first_not_present 196s dconf_test.go:103: Serializing object for golden file 196s === NAME TestGenerate/Long_decimal_key_with_range_min_lt_0 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/NaN_min 196s === CONT TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 196s === CONT TestGenerate/Override_with_session_takes_session_override 196s time="2025-06-17T13:54:50Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated-different-cases\" is deprecated. Ignoring" 196s === NAME TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/One_text_key 196s === NAME TestGenerate/Override_with_session_takes_session_override 196s dconf_test.go:103: Serializing object for golden file 196s === NAME TestGenerate/One_text_key 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Description_starting_with_deprecated_is_ignored 196s === CONT TestGenerate/Array_of_strings 196s dconf_test.go:103: Serializing object for golden file 196s time="2025-06-17T13:54:50Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated\" is deprecated. Ignoring" 196s === NAME TestGenerate/Description_starting_with_deprecated_is_ignored 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Enum_does_not_exist 196s === CONT TestGenerate/Description_starting_with_obsolete_is_ignored 196s === CONT TestGenerate/Long_decimal_key_with_range_min_gt_0 196s time="2025-06-17T13:54:50Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/obsolete\" is deprecated. Ignoring" 196s === NAME TestGenerate/Description_starting_with_obsolete_is_ignored 196s dconf_test.go:103: Serializing object for golden file 196s === NAME TestGenerate/Long_decimal_key_with_range_min_gt_0 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/Invalid_override_files_are_skipped 196s === CONT TestGenerate/Long_decimal_key 196s time="2025-06-17T13:54:50Z" 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" 196s === NAME TestGenerate/Invalid_override_files_are_skipped 196s dconf_test.go:103: Serializing object for golden file 196s === NAME TestGenerate/Long_decimal_key 196s dconf_test.go:103: Serializing object for golden file 196s === CONT TestGenerate/One_decimal_key_with_max_only 196s dconf_test.go:103: Serializing object for golden file 196s --- PASS: TestGenerate (0.00s) 196s --- PASS: TestGenerate/One_boolean_key (0.00s) 196s --- PASS: TestGenerate/Same_key_relocated_twice (0.00s) 196s --- PASS: TestGenerate/Invalid_schema_files (0.00s) 196s --- PASS: TestGenerate/Invalid_class (0.00s) 196s --- PASS: TestGenerate/Key_with_class (0.00s) 196s --- PASS: TestGenerate/Valid_class_should_be_capitalized (0.00s) 196s --- PASS: TestGenerate/Inlined_Enums_are_converted_to_choices (0.00s) 196s --- PASS: TestGenerate/Override_without_session_takes_default (0.00s) 196s --- PASS: TestGenerate/Override_takes_first_session (0.00s) 196s --- PASS: TestGenerate/Unsupported_key_type (0.00s) 196s --- PASS: TestGenerate/Override_without_session (0.00s) 196s --- PASS: TestGenerate/No_key_on_system (0.00s) 196s --- PASS: TestGenerate/One_decimal_key (0.00s) 196s --- PASS: TestGenerate/Invalid_min (0.00s) 196s --- PASS: TestGenerate/Double_key_with_range (0.00s) 196s --- PASS: TestGenerate/Override_with_no_matching_session_defaults_to_root_override (0.00s) 196s --- PASS: TestGenerate/Array_of_integers (0.00s) 196s --- PASS: TestGenerate/One_decimal_key_with_range (0.00s) 196s --- PASS: TestGenerate/Double_key (0.00s) 196s --- PASS: TestGenerate/Relocatable_key (0.00s) 196s --- PASS: TestGenerate/Enums_in_other_files_are_converted_to_choices (0.00s) 196s --- PASS: TestGenerate/Relocatable_key_overridden (0.00s) 196s --- PASS: TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored (0.00s) 196s --- PASS: TestGenerate/Overridden_by_multiple_files,_last_wins (0.00s) 196s --- PASS: TestGenerate/Choices_are_loaded (0.00s) 196s --- PASS: TestGenerate/One_decimal_key_with_min_only (0.00s) 196s --- PASS: TestGenerate/Empty (0.00s) 196s --- PASS: TestGenerate/Override_default_to_second_if_first_not_present (0.00s) 196s --- PASS: TestGenerate/Long_decimal_key_with_range_min_lt_0 (0.00s) 196s --- PASS: TestGenerate/NaN_min (0.00s) 196s --- PASS: TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored (0.00s) 196s --- PASS: TestGenerate/Override_with_session_takes_session_override (0.00s) 196s --- PASS: TestGenerate/One_text_key (0.00s) 196s --- PASS: TestGenerate/Array_of_strings (0.00s) 196s --- PASS: TestGenerate/Description_starting_with_deprecated_is_ignored (0.00s) 196s --- PASS: TestGenerate/Enum_does_not_exist (0.00s) 196s --- PASS: TestGenerate/Long_decimal_key_with_range_min_gt_0 (0.00s) 196s --- PASS: TestGenerate/Description_starting_with_obsolete_is_ignored (0.00s) 196s --- PASS: TestGenerate/Invalid_override_files_are_skipped (0.00s) 196s --- PASS: TestGenerate/Long_decimal_key (0.00s) 196s --- PASS: TestGenerate/One_decimal_key_with_max_only (0.00s) 196s PASS 196s ok github.com/ubuntu/adsys/internal/ad/admxgen/dconf 0.049s 196s === RUN TestSSSD 196s === PAUSE TestSSSD 196s === CONT TestSSSD 196s === RUN TestSSSD/Regular_config 196s === PAUSE TestSSSD/Regular_config 196s === RUN TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 196s === PAUSE TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 196s === RUN TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 196s === PAUSE TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 196s === RUN TestSSSD/SSSd_domain_can_not_match_ad_domain 196s === PAUSE TestSSSD/SSSd_domain_can_not_match_ad_domain 196s === RUN TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 196s === PAUSE TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 196s === RUN TestSSSD/Error_on_empty_domains_field 196s === PAUSE TestSSSD/Error_on_empty_domains_field 196s === RUN TestSSSD/Multiple_domains,_pick_first 196s === PAUSE TestSSSD/Multiple_domains,_pick_first 196s === RUN TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 196s === PAUSE TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 196s === RUN TestSSSD/Can_handle_special_DNS_domain_characters 196s === PAUSE TestSSSD/Can_handle_special_DNS_domain_characters 196s === RUN TestSSSD/Default_domain_suffix_is_read 196s === PAUSE TestSSSD/Default_domain_suffix_is_read 196s === RUN TestSSSD/Regular_config,_with_cache_dir 196s === PAUSE TestSSSD/Regular_config,_with_cache_dir 196s === RUN TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 196s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 196s === RUN TestSSSD/Error_on_sssd_conf_does_not_exists 196s === PAUSE TestSSSD/Error_on_sssd_conf_does_not_exists 196s === RUN TestSSSD/Error_on_sssd_domain_section_missing 196s === PAUSE TestSSSD/Error_on_sssd_domain_section_missing 196s === RUN TestSSSD/Is_not_online 196s === PAUSE TestSSSD/Is_not_online 196s === RUN TestSSSD/Use_domain_from_section_if_no_ad_domain 196s === PAUSE TestSSSD/Use_domain_from_section_if_no_ad_domain 196s === RUN TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 196s === PAUSE TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 196s === RUN TestSSSD/Error_on_no_domains_field 196s === PAUSE TestSSSD/Error_on_no_domains_field 196s === RUN TestSSSD/Error_on_sssd_domain_empty_section 196s === PAUSE TestSSSD/Error_on_sssd_domain_empty_section 196s === RUN TestSSSD/Ignore_upper_cases_in_domain_name 196s === PAUSE TestSSSD/Ignore_upper_cases_in_domain_name 196s === RUN TestSSSD/No_sssd_conf_loads_the_default 196s === PAUSE TestSSSD/No_sssd_conf_loads_the_default 196s === RUN TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 196s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 196s === RUN TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 196s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 196s === RUN TestSSSD/Error_on_no_sssd_section 196s === PAUSE TestSSSD/Error_on_no_sssd_section 196s === CONT TestSSSD/Regular_config 196s === CONT TestSSSD/Error_on_sssd_conf_does_not_exists 196s === CONT TestSSSD/Error_on_no_sssd_section 196s === CONT TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 196s === CONT TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 196s === CONT TestSSSD/No_sssd_conf_loads_the_default 196s === CONT TestSSSD/Ignore_upper_cases_in_domain_name 196s === CONT TestSSSD/Error_on_sssd_domain_empty_section 196s === CONT TestSSSD/Error_on_no_domains_field 196s === CONT TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 196s === CONT TestSSSD/Use_domain_from_section_if_no_ad_domain 196s === CONT TestSSSD/Is_not_online 196s === CONT TestSSSD/Error_on_sssd_domain_section_missing 196s === CONT TestSSSD/Multiple_domains,_pick_first 196s === CONT TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 196s === CONT TestSSSD/Regular_config,_with_cache_dir 196s === CONT TestSSSD/Default_domain_suffix_is_read 196s === CONT TestSSSD/Can_handle_special_DNS_domain_characters 196s === CONT TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 196s === CONT TestSSSD/SSSd_domain_can_not_match_ad_domain 196s === CONT TestSSSD/Error_on_empty_domains_field 196s === CONT TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 196s === CONT TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 196s === CONT TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 196s --- PASS: TestSSSD (0.00s) 196s --- PASS: TestSSSD/Error_on_sssd_conf_does_not_exists (0.00s) 196s --- PASS: TestSSSD/Error_on_no_sssd_section (0.00s) 196s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object (0.00s) 196s --- PASS: TestSSSD/Regular_config (0.00s) 196s --- PASS: TestSSSD/No_sssd_conf_loads_the_default (0.00s) 196s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out (0.00s) 196s --- PASS: TestSSSD/Error_on_sssd_domain_empty_section (0.00s) 196s --- PASS: TestSSSD/Error_on_no_domains_field (0.00s) 196s --- PASS: TestSSSD/Ignore_upper_cases_in_domain_name (0.00s) 196s --- PASS: TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out (0.00s) 196s --- PASS: TestSSSD/Use_domain_from_section_if_no_ad_domain (0.00s) 196s --- PASS: TestSSSD/Error_on_sssd_domain_section_missing (0.00s) 196s --- PASS: TestSSSD/Is_not_online (0.00s) 196s --- PASS: TestSSSD/Multiple_domains,_pick_first (0.00s) 196s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided (0.00s) 196s --- PASS: TestSSSD/Regular_config,_with_cache_dir (0.00s) 196s --- PASS: TestSSSD/Default_domain_suffix_is_read (0.00s) 196s --- PASS: TestSSSD/Can_handle_special_DNS_domain_characters (0.00s) 196s --- PASS: TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter (0.00s) 196s --- PASS: TestSSSD/Error_on_empty_domains_field (0.00s) 196s --- PASS: TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server (0.00s) 196s --- PASS: TestSSSD/SSSd_domain_can_not_match_ad_domain (0.00s) 196s --- PASS: TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server (0.00s) 196s --- PASS: TestSSSD/Ad_server_defined_in_config_does_not_need_active_server (0.00s) 196s PASS 196s ok github.com/ubuntu/adsys/internal/ad/backends/sss 0.039s 196s === RUN TestWinbind 196s winbind_test.go:25: Running subprocess with [/tmp/go-build2034035574/b564/winbind.test -test.testlogfile=/tmp/go-build2034035574/b564/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestWinbind] 196s === RUN TestWinbind 196s === RUN TestWinbind/Lookup_with_overridden_ad_domain 196s === RUN TestWinbind/Lookup_with_overridden_ad_server 196s === RUN TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix 196s === RUN TestWinbind/Error_when_looking_up_DC_name 196s === RUN TestWinbind/Error_when_getting_online_status 196s === RUN TestWinbind/Lookup_is_successful 196s === RUN TestWinbind/Lookup_with_different_hostname_is_successful 196s === RUN TestWinbind/Error_when_looking_up_domain 196s === RUN TestWinbind/Error_when_domain_is_offline 196s === RUN TestWinbind/Error_when_requesting_krb5cc 196s --- PASS: TestWinbind (0.06s) 196s --- PASS: TestWinbind/Lookup_with_overridden_ad_domain (0.01s) 196s --- PASS: TestWinbind/Lookup_with_overridden_ad_server (0.01s) 196s --- PASS: TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix (0.01s) 196s --- PASS: TestWinbind/Error_when_looking_up_DC_name (0.01s) 196s --- PASS: TestWinbind/Error_when_getting_online_status (0.01s) 196s --- PASS: TestWinbind/Lookup_is_successful (0.01s) 196s --- PASS: TestWinbind/Lookup_with_different_hostname_is_successful (0.01s) 196s --- PASS: TestWinbind/Error_when_looking_up_domain (0.00s) 196s --- PASS: TestWinbind/Error_when_domain_is_offline (0.01s) 196s --- PASS: TestWinbind/Error_when_requesting_krb5cc (0.01s) 196s PASS 196s --- PASS: TestWinbind (0.12s) 196s === RUN TestExecuteKinitCommand 196s --- PASS: TestExecuteKinitCommand (0.00s) 196s PASS 196s ok github.com/ubuntu/adsys/internal/ad/backends/winbind 0.146s 196s === RUN TestGetVersionID 196s === PAUSE TestGetVersionID 196s === CONT TestGetVersionID 196s === RUN TestGetVersionID/Read_VERSION_ID 196s === PAUSE TestGetVersionID/Read_VERSION_ID 196s === RUN TestGetVersionID/No_VERSION_ID_in_file 196s === PAUSE TestGetVersionID/No_VERSION_ID_in_file 196s === RUN TestGetVersionID/No_os-release_file 196s === PAUSE TestGetVersionID/No_os-release_file 196s === CONT TestGetVersionID/Read_VERSION_ID 196s === CONT TestGetVersionID/No_os-release_file 196s === CONT TestGetVersionID/No_VERSION_ID_in_file 196s --- PASS: TestGetVersionID (0.00s) 196s --- PASS: TestGetVersionID/No_os-release_file (0.00s) 196s --- PASS: TestGetVersionID/No_VERSION_ID_in_file (0.00s) 196s --- PASS: TestGetVersionID/Read_VERSION_ID (0.00s) 196s PASS 196s ok github.com/ubuntu/adsys/internal/ad/common 0.008s 196s === RUN TestReadPolicy 196s === PAUSE TestReadPolicy 196s === RUN TestDecodePolicy 196s === PAUSE TestDecodePolicy 196s === CONT TestReadPolicy 196s === CONT TestDecodePolicy 196s === RUN TestDecodePolicy/exotic_return_type 196s === PAUSE TestDecodePolicy/exotic_return_type 196s === RUN TestDecodePolicy/key_is_not_utf16 196s === PAUSE TestDecodePolicy/key_is_not_utf16 196s === RUN TestDecodePolicy/empty_key 196s === PAUSE TestDecodePolicy/empty_key 196s === RUN TestDecodePolicy/basic_type,_enabled 196s === PAUSE TestDecodePolicy/basic_type,_enabled 196s === RUN TestDecodePolicy/container_with_default_elements_override_empty_option_values 196s === PAUSE TestDecodePolicy/container_with_default_elements_override_empty_option_values 196s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 196s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 196s === RUN TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 196s === PAUSE TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 196s === RUN TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 196s === PAUSE TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 196s === RUN TestDecodePolicy/invalid_decimal_value 196s === PAUSE TestDecodePolicy/invalid_decimal_value 196s === RUN TestDecodePolicy/one_element,_string_value 196s === PAUSE TestDecodePolicy/one_element,_string_value 196s === RUN TestDecodePolicy/one_element,_multitext_value 196s === PAUSE TestDecodePolicy/one_element,_multitext_value 196s === RUN TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 196s === PAUSE TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 196s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 196s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 196s === RUN TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 196s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 196s === RUN TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 196s === PAUSE TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 196s === RUN TestDecodePolicy/invalid_header,_header_doesnt_match 196s === PAUSE TestDecodePolicy/invalid_header,_header_doesnt_match 196s === RUN TestDecodePolicy/one_element,_decimal_value 196s === PAUSE TestDecodePolicy/one_element,_decimal_value 196s === RUN TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 196s === PAUSE TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 196s === RUN TestDecodePolicy/basic_type_with_strategy 196s === PAUSE TestDecodePolicy/basic_type_with_strategy 196s === RUN TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 196s === PAUSE TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 196s === RUN TestDecodePolicy/container_without_metavalues 196s === PAUSE TestDecodePolicy/container_without_metavalues 196s === RUN TestDecodePolicy/semicolon_in_data 196s === PAUSE TestDecodePolicy/semicolon_in_data 196s === RUN TestDecodePolicy/header_only 196s === PAUSE TestDecodePolicy/header_only 196s === RUN TestDecodePolicy/section_not_closed 196s === PAUSE TestDecodePolicy/section_not_closed 196s === RUN TestDecodePolicy/two_elements 196s === PAUSE TestDecodePolicy/two_elements 196s === RUN TestDecodePolicy/container_strategy_is_reflected_on_child 196s === PAUSE TestDecodePolicy/container_strategy_is_reflected_on_child 196s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 196s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 196s === RUN TestDecodePolicy/null_character_in_data 196s === PAUSE TestDecodePolicy/null_character_in_data 196s === RUN TestDecodePolicy/container_with_meta_elements_and_value_on_options 196s === PAUSE TestDecodePolicy/container_with_meta_elements_and_value_on_options 196s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 196s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 196s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 196s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 196s === RUN TestDecodePolicy/invalid_header,_header_too_short 196s === PAUSE TestDecodePolicy/invalid_header,_header_too_short 196s === RUN TestDecodePolicy/empty_file 196s === PAUSE TestDecodePolicy/empty_file 196s === RUN TestDecodePolicy/missing_field 196s === PAUSE TestDecodePolicy/missing_field 196s === RUN TestDecodePolicy/disabled_container_with_disabled_option_values 196s === PAUSE TestDecodePolicy/disabled_container_with_disabled_option_values 196s === RUN TestDecodePolicy/empty_data 196s === PAUSE TestDecodePolicy/empty_data 196s === RUN TestDecodePolicy/invalid_container_default_values 196s === PAUSE TestDecodePolicy/invalid_container_default_values 196s === RUN TestDecodePolicy/no_header 196s === PAUSE TestDecodePolicy/no_header 196s === RUN TestDecodePolicy/basic_type,_disabled 196s === PAUSE TestDecodePolicy/basic_type,_disabled 196s === RUN TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 196s === PAUSE TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 196s === RUN TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 196s === PAUSE TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 196s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 196s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 196s === RUN TestDecodePolicy/section_separators_in_data 196s === PAUSE TestDecodePolicy/section_separators_in_data 196s === RUN TestDecodePolicy/invalid_header,_file_truncated 196s === PAUSE TestDecodePolicy/invalid_header,_file_truncated 196s === RUN TestDecodePolicy/value_is_not_utf16 196s === PAUSE TestDecodePolicy/value_is_not_utf16 196s === RUN TestDecodePolicy/one_element,_disabled 196s === PAUSE TestDecodePolicy/one_element,_disabled 196s === RUN TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 196s === PAUSE TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 196s === RUN TestDecodePolicy/disabled_container_disables_its_option_values 196s === PAUSE TestDecodePolicy/disabled_container_disables_its_option_values 196s === RUN TestDecodePolicy/empty_value 196s === PAUSE TestDecodePolicy/empty_value 196s === CONT TestDecodePolicy/exotic_return_type 196s === CONT TestDecodePolicy/empty_value 196s === CONT TestDecodePolicy/disabled_container_disables_its_option_values 196s === CONT TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 196s === CONT TestDecodePolicy/one_element,_disabled 196s === CONT TestDecodePolicy/value_is_not_utf16 196s === CONT TestDecodePolicy/invalid_header,_file_truncated 196s === CONT TestDecodePolicy/section_separators_in_data 196s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 196s === CONT TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 196s === CONT TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 196s === CONT TestDecodePolicy/basic_type,_disabled 196s === CONT TestDecodePolicy/no_header 196s === CONT TestDecodePolicy/invalid_container_default_values 196s === CONT TestDecodePolicy/empty_data 196s === RUN TestReadPolicy/header_only 196s === PAUSE TestReadPolicy/header_only 196s === RUN TestReadPolicy/invalid_header,_header_doesnt_match 196s === PAUSE TestReadPolicy/invalid_header,_header_doesnt_match 196s === RUN TestReadPolicy/invalid_header,_header_too_short 196s === PAUSE TestReadPolicy/invalid_header,_header_too_short 196s === RUN TestReadPolicy/section_not_closed 196s === PAUSE TestReadPolicy/section_not_closed 196s === RUN TestReadPolicy/two_elements 196s === PAUSE TestReadPolicy/two_elements 196s === RUN TestReadPolicy/memory_on_multiple_elements_dont_overlap 196s === PAUSE TestReadPolicy/memory_on_multiple_elements_dont_overlap 196s === RUN TestReadPolicy/section_separators_in_data 196s === PAUSE TestReadPolicy/section_separators_in_data 196s === RUN TestReadPolicy/empty_file 196s === PAUSE TestReadPolicy/empty_file 196s === RUN TestReadPolicy/one_element,_decimal_value 196s === PAUSE TestReadPolicy/one_element,_decimal_value 196s === RUN TestReadPolicy/semicolon_in_data 196s === PAUSE TestReadPolicy/semicolon_in_data 196s === RUN TestReadPolicy/invalid_header,_file_truncated 196s === PAUSE TestReadPolicy/invalid_header,_file_truncated 196s === RUN TestReadPolicy/no_header 196s === PAUSE TestReadPolicy/no_header 196s === RUN TestReadPolicy/key_is_not_utf16 196s === PAUSE TestReadPolicy/key_is_not_utf16 196s === RUN TestReadPolicy/value_is_not_utf16 196s === PAUSE TestReadPolicy/value_is_not_utf16 196s === RUN TestReadPolicy/one_element,_string_value 196s === PAUSE TestReadPolicy/one_element,_string_value 196s === RUN TestReadPolicy/exotic_return_type 196s === PAUSE TestReadPolicy/exotic_return_type 196s === RUN TestReadPolicy/empty_value 196s === PAUSE TestReadPolicy/empty_value 196s === RUN TestReadPolicy/missing_field 196s === PAUSE TestReadPolicy/missing_field 196s === RUN TestReadPolicy/empty_key 196s === PAUSE TestReadPolicy/empty_key 196s === CONT TestReadPolicy/header_only 196s === CONT TestReadPolicy/empty_key 196s === CONT TestReadPolicy/missing_field 196s === CONT TestReadPolicy/empty_value 196s === CONT TestReadPolicy/exotic_return_type 196s === CONT TestReadPolicy/one_element,_string_value 196s === CONT TestReadPolicy/value_is_not_utf16 196s === CONT TestReadPolicy/key_is_not_utf16 196s === CONT TestReadPolicy/no_header 196s === CONT TestReadPolicy/invalid_header,_file_truncated 196s === CONT TestReadPolicy/semicolon_in_data 196s === CONT TestReadPolicy/one_element,_decimal_value 196s === CONT TestReadPolicy/empty_file 196s === CONT TestReadPolicy/section_separators_in_data 196s === CONT TestReadPolicy/memory_on_multiple_elements_dont_overlap 196s === CONT TestReadPolicy/two_elements 196s === CONT TestReadPolicy/section_not_closed 196s === CONT TestReadPolicy/invalid_header,_header_too_short 196s === CONT TestReadPolicy/invalid_header,_header_doesnt_match 196s --- PASS: TestReadPolicy (0.00s) 196s --- PASS: TestReadPolicy/header_only (0.00s) 196s --- PASS: TestReadPolicy/empty_key (0.00s) 196s --- PASS: TestReadPolicy/missing_field (0.00s) 196s --- PASS: TestReadPolicy/empty_value (0.00s) 196s --- PASS: TestReadPolicy/exotic_return_type (0.00s) 196s --- PASS: TestReadPolicy/one_element,_string_value (0.00s) 196s --- PASS: TestReadPolicy/value_is_not_utf16 (0.00s) 196s --- PASS: TestReadPolicy/key_is_not_utf16 (0.00s) 196s --- PASS: TestReadPolicy/no_header (0.00s) 196s --- PASS: TestReadPolicy/invalid_header,_file_truncated (0.00s) 196s --- PASS: TestReadPolicy/semicolon_in_data (0.00s) 196s --- PASS: TestReadPolicy/one_element,_decimal_value (0.00s) 196s --- PASS: TestReadPolicy/empty_file (0.00s) 196s --- PASS: TestReadPolicy/section_separators_in_data (0.00s) 196s --- PASS: TestReadPolicy/memory_on_multiple_elements_dont_overlap (0.00s) 196s --- PASS: TestReadPolicy/two_elements (0.00s) 196s --- PASS: TestReadPolicy/section_not_closed (0.00s) 196s --- PASS: TestReadPolicy/invalid_header,_header_too_short (0.00s) 196s --- PASS: TestReadPolicy/invalid_header,_header_doesnt_match (0.00s) 196s === CONT TestDecodePolicy/basic_type_with_strategy 196s === CONT TestDecodePolicy/disabled_container_with_disabled_option_values 196s === CONT TestDecodePolicy/missing_field 196s === CONT TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 196s === CONT TestDecodePolicy/one_element,_decimal_value 196s === CONT TestDecodePolicy/invalid_header,_header_doesnt_match 196s === CONT TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 196s === CONT TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 196s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 196s === CONT TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 196s === CONT TestDecodePolicy/one_element,_multitext_value 196s === CONT TestDecodePolicy/one_element,_string_value 196s === CONT TestDecodePolicy/invalid_decimal_value 196s === CONT TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 196s === CONT TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 196s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 196s === CONT TestDecodePolicy/container_with_default_elements_override_empty_option_values 196s === CONT TestDecodePolicy/basic_type,_enabled 196s === CONT TestDecodePolicy/empty_key 196s === CONT TestDecodePolicy/key_is_not_utf16 196s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 196s === CONT TestDecodePolicy/empty_file 196s === CONT TestDecodePolicy/invalid_header,_header_too_short 196s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 196s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 196s === CONT TestDecodePolicy/container_with_meta_elements_and_value_on_options 196s === CONT TestDecodePolicy/null_character_in_data 196s === CONT TestDecodePolicy/header_only 196s === CONT TestDecodePolicy/container_strategy_is_reflected_on_child 196s === CONT TestDecodePolicy/two_elements 196s === CONT TestDecodePolicy/section_not_closed 196s === CONT TestDecodePolicy/container_without_metavalues 196s === CONT TestDecodePolicy/semicolon_in_data 196s === CONT TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 196s --- PASS: TestDecodePolicy (0.00s) 196s --- PASS: TestDecodePolicy/exotic_return_type (0.00s) 196s --- PASS: TestDecodePolicy/empty_value (0.00s) 196s --- PASS: TestDecodePolicy/disabled_container_disables_its_option_values (0.00s) 196s --- PASS: TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings (0.00s) 196s --- PASS: TestDecodePolicy/one_element,_disabled (0.00s) 196s --- PASS: TestDecodePolicy/value_is_not_utf16 (0.00s) 196s --- PASS: TestDecodePolicy/invalid_header,_file_truncated (0.00s) 196s --- PASS: TestDecodePolicy/section_separators_in_data (0.00s) 196s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none (0.00s) 196s --- PASS: TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type (0.00s) 196s --- PASS: TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy (0.00s) 196s --- PASS: TestDecodePolicy/basic_type,_disabled (0.00s) 196s --- PASS: TestDecodePolicy/no_header (0.00s) 196s --- PASS: TestDecodePolicy/invalid_container_default_values (0.00s) 196s --- PASS: TestDecodePolicy/basic_type_with_strategy (0.00s) 196s --- PASS: TestDecodePolicy/disabled_container_with_disabled_option_values (0.00s) 196s --- PASS: TestDecodePolicy/empty_data (0.00s) 196s --- PASS: TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker (0.00s) 196s --- PASS: TestDecodePolicy/one_element,_decimal_value (0.00s) 196s --- PASS: TestDecodePolicy/invalid_header,_header_doesnt_match (0.00s) 196s --- PASS: TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type (0.00s) 196s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none (0.00s) 196s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values (0.00s) 196s --- PASS: TestDecodePolicy/basic_type_with_default_value_has_value_filed_in (0.00s) 196s --- PASS: TestDecodePolicy/one_element,_multitext_value (0.00s) 196s --- PASS: TestDecodePolicy/one_element,_string_value (0.00s) 196s --- PASS: TestDecodePolicy/invalid_decimal_value (0.00s) 196s --- PASS: TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options (0.00s) 196s --- PASS: TestDecodePolicy/missing_field (0.00s) 196s --- PASS: TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker (0.00s) 196s --- PASS: TestDecodePolicy/container_with_default_elements_override_empty_option_values (0.00s) 196s --- PASS: TestDecodePolicy/basic_type,_enabled (0.00s) 196s --- PASS: TestDecodePolicy/empty_key (0.00s) 196s --- PASS: TestDecodePolicy/key_is_not_utf16 (0.00s) 196s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) (0.00s) 196s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values (0.00s) 196s --- PASS: TestDecodePolicy/empty_file (0.00s) 196s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values (0.00s) 196s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined (0.00s) 196s --- PASS: TestDecodePolicy/container_with_meta_elements_and_value_on_options (0.00s) 196s --- PASS: TestDecodePolicy/null_character_in_data (0.00s) 196s --- PASS: TestDecodePolicy/header_only (0.00s) 196s --- PASS: TestDecodePolicy/container_strategy_is_reflected_on_child (0.00s) 196s --- PASS: TestDecodePolicy/two_elements (0.00s) 196s --- PASS: TestDecodePolicy/section_not_closed (0.00s) 196s --- PASS: TestDecodePolicy/container_without_metavalues (0.00s) 196s --- PASS: TestDecodePolicy/semicolon_in_data (0.00s) 196s --- PASS: TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker (0.00s) 196s --- PASS: TestDecodePolicy/invalid_header,_header_too_short (0.00s) 196s === RUN FuzzDecodePolicy 196s === RUN FuzzDecodePolicy/seed#0 196s === RUN FuzzDecodePolicy/seed#1 196s === RUN FuzzDecodePolicy/seed#2 196s === RUN FuzzDecodePolicy/seed#3 196s === RUN FuzzDecodePolicy/seed#4 196s === RUN FuzzDecodePolicy/seed#5 196s === RUN FuzzDecodePolicy/seed#6 196s === RUN FuzzDecodePolicy/seed#7 196s === RUN FuzzDecodePolicy/seed#8 196s === RUN FuzzDecodePolicy/seed#9 196s === RUN FuzzDecodePolicy/seed#10 196s === RUN FuzzDecodePolicy/seed#11 196s === RUN FuzzDecodePolicy/seed#12 196s === RUN FuzzDecodePolicy/seed#13 196s === RUN FuzzDecodePolicy/seed#14 196s === RUN FuzzDecodePolicy/seed#15 196s === RUN FuzzDecodePolicy/seed#16 196s === RUN FuzzDecodePolicy/seed#17 196s === RUN FuzzDecodePolicy/seed#18 196s === RUN FuzzDecodePolicy/seed#19 196s === RUN FuzzDecodePolicy/seed#20 196s === RUN FuzzDecodePolicy/seed#21 196s === RUN FuzzDecodePolicy/seed#22 196s === RUN FuzzDecodePolicy/seed#23 196s === RUN FuzzDecodePolicy/seed#24 196s === RUN FuzzDecodePolicy/seed#25 196s === RUN FuzzDecodePolicy/seed#26 196s === RUN FuzzDecodePolicy/seed#27 196s === RUN FuzzDecodePolicy/seed#28 196s === RUN FuzzDecodePolicy/seed#29 196s === RUN FuzzDecodePolicy/seed#30 196s === RUN FuzzDecodePolicy/seed#31 196s === RUN FuzzDecodePolicy/seed#32 196s === RUN FuzzDecodePolicy/seed#33 196s === RUN FuzzDecodePolicy/seed#34 196s === RUN FuzzDecodePolicy/seed#35 196s === RUN FuzzDecodePolicy/seed#36 196s === RUN FuzzDecodePolicy/seed#37 196s === RUN FuzzDecodePolicy/seed#38 196s === RUN FuzzDecodePolicy/seed#39 196s === RUN FuzzDecodePolicy/seed#40 196s === RUN FuzzDecodePolicy/seed#41 196s === RUN FuzzDecodePolicy/seed#42 196s === RUN FuzzDecodePolicy/seed#43 196s === RUN FuzzDecodePolicy/seed#44 196s === RUN FuzzDecodePolicy/seed#45 196s === RUN FuzzDecodePolicy/seed#46 196s === RUN FuzzDecodePolicy/seed#47 196s === RUN FuzzDecodePolicy/seed#48 196s === RUN FuzzDecodePolicy/seed#49 196s === RUN FuzzDecodePolicy/seed#50 196s === RUN FuzzDecodePolicy/seed#51 196s === RUN FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 196s --- PASS: FuzzDecodePolicy (0.02s) 196s --- PASS: FuzzDecodePolicy/seed#0 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#1 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#2 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#3 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#4 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#5 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#6 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#7 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#8 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#9 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#10 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#11 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#12 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#13 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#14 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#15 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#16 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#17 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#18 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#19 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#20 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#21 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#22 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#23 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#24 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#25 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#26 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#27 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#28 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#29 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#30 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#31 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#32 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#33 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#34 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#35 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#36 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#37 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#38 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#39 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#40 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#41 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#42 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#43 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#44 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#45 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#46 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#47 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#48 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#49 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#50 (0.00s) 196s --- PASS: FuzzDecodePolicy/seed#51 (0.00s) 196s --- PASS: FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 (0.00s) 196s PASS 196s ok github.com/ubuntu/adsys/internal/ad/registry 0.035s 196s === RUN TestNew 196s === PAUSE TestNew 196s === CONT TestNew 196s === RUN TestNew/Select_winbind_backend_explicitly 196s === PAUSE TestNew/Select_winbind_backend_explicitly 196s === RUN TestNew/Error_on_failure_to_create_cache_directory 196s === PAUSE TestNew/Error_on_failure_to_create_cache_directory 196s === RUN TestNew/Error_on_ad.New_prevents_adsysservice_creation 196s === PAUSE TestNew/Error_on_ad.New_prevents_adsysservice_creation 196s === RUN TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 196s === PAUSE TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 196s === RUN TestNew/Adsys_directory_can_already_exists 196s === PAUSE TestNew/Adsys_directory_can_already_exists 196s === RUN TestNew/Unknown_backend_defaults_to_sssd 196s === PAUSE TestNew/Unknown_backend_defaults_to_sssd 196s === RUN TestNew/Select_sssd_backend_explicitly 196s === PAUSE TestNew/Select_sssd_backend_explicitly 196s === RUN TestNew/Error_on_failure_to_create_run_directory 196s === PAUSE TestNew/Error_on_failure_to_create_run_directory 196s === RUN TestNew/Error_on_nonexistent_sssd.conf 196s === PAUSE TestNew/Error_on_nonexistent_sssd.conf 196s === CONT TestNew/Select_winbind_backend_explicitly 196s === CONT TestNew/Unknown_backend_defaults_to_sssd 196s time="2025-06-17T13:54:56Z" level=warning msg="Unknown configured backend \"unknown-backend\". Defaulting to sssd." 196s time="2025-06-17T13:54:56Z" level=warning msg="could not get online status for domain \"example.com\": status code 6" 196s === CONT TestNew/Error_on_nonexistent_sssd.conf 196s === CONT TestNew/Error_on_failure_to_create_run_directory 196s === CONT TestNew/Select_sssd_backend_explicitly 196s === CONT TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 196s === CONT TestNew/Adsys_directory_can_already_exists 196s === CONT TestNew/Error_on_ad.New_prevents_adsysservice_creation 196s === CONT TestNew/Error_on_failure_to_create_cache_directory 196s --- PASS: TestNew (0.00s) 196s --- PASS: TestNew/Select_winbind_backend_explicitly (0.01s) 196s --- PASS: TestNew/Unknown_backend_defaults_to_sssd (0.01s) 196s --- PASS: TestNew/Error_on_failure_to_create_run_directory (0.00s) 196s --- PASS: TestNew/Error_on_nonexistent_sssd.conf (0.00s) 196s --- PASS: TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run (0.01s) 196s --- PASS: TestNew/Select_sssd_backend_explicitly (0.01s) 196s --- PASS: TestNew/Error_on_ad.New_prevents_adsysservice_creation (0.00s) 196s --- PASS: TestNew/Error_on_failure_to_create_cache_directory (0.00s) 196s --- PASS: TestNew/Adsys_directory_can_already_exists (0.01s) 196s PASS 196s ok github.com/ubuntu/adsys/internal/adsysservice 0.105s 196s === RUN TestIsAllowed 196s === PAUSE TestIsAllowed 196s === RUN TestPeerCredsInfoAuthType 196s === PAUSE TestPeerCredsInfoAuthType 196s === RUN TestServerPeerCredsHandshake 196s === PAUSE TestServerPeerCredsHandshake 196s === RUN TestServerPeerCredsInvalidSocket 196s === PAUSE TestServerPeerCredsInvalidSocket 196s === RUN TestIsAllowedFromContext 196s === PAUSE TestIsAllowedFromContext 196s === RUN TestIsAllowedFromContextWithoutPeer 196s === PAUSE TestIsAllowedFromContextWithoutPeer 196s === RUN TestIsAllowedFromContextWithInvalidPeerCreds 196s === PAUSE TestIsAllowedFromContextWithInvalidPeerCreds 196s === RUN TestIsAllowedFromContextWithoutUserKey 196s === PAUSE TestIsAllowedFromContextWithoutUserKey 196s === CONT TestIsAllowed 196s === CONT TestIsAllowedFromContext 196s === RUN TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 196s === PAUSE TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 196s === RUN TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 196s === PAUSE TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 196s === RUN TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 196s === PAUSE TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 196s === RUN TestIsAllowed/Process_doesn't_exists 196s === PAUSE TestIsAllowed/Process_doesn't_exists 196s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 196s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 196s === RUN TestIsAllowed/Valid_process_and_NACK 196s === PAUSE TestIsAllowed/Valid_process_and_NACK 196s === RUN TestIsAllowed/Invalid_process_stat_file:_missing_) 196s === PAUSE TestIsAllowed/Invalid_process_stat_file:_missing_) 196s === RUN TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 196s === PAUSE TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 196s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 196s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 196s === RUN TestIsAllowed/Polkit_dbus_call_errors_out 196s === PAUSE TestIsAllowed/Polkit_dbus_call_errors_out 196s === RUN TestIsAllowed/Root_is_always_authorized 196s === PAUSE TestIsAllowed/Root_is_always_authorized 196s === RUN TestIsAllowed/Valid_process_and_ACK 196s === PAUSE TestIsAllowed/Valid_process_and_ACK 196s === CONT TestServerPeerCredsInvalidSocket 196s --- PASS: TestServerPeerCredsInvalidSocket (0.00s) 196s === CONT TestServerPeerCredsHandshake 196s === RUN TestIsAllowedFromContext/Root_is_always_authorized 196s === PAUSE TestIsAllowedFromContext/Root_is_always_authorized 196s === RUN TestIsAllowedFromContext/Valid_process_and_ACK 196s === PAUSE TestIsAllowedFromContext/Valid_process_and_ACK 196s === RUN TestIsAllowedFromContext/Valid_process_and_NACK 196s === PAUSE TestIsAllowedFromContext/Valid_process_and_NACK 196s === RUN TestIsAllowedFromContext/Extract_current_user_action_from_request 196s === PAUSE TestIsAllowedFromContext/Extract_current_user_action_from_request 196s === RUN TestIsAllowedFromContext/Extract_other_user_action_from_request 196s === PAUSE TestIsAllowedFromContext/Extract_other_user_action_from_request 196s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 196s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 196s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 196s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 196s === CONT TestPeerCredsInfoAuthType 196s --- PASS: TestPeerCredsInfoAuthType (0.00s) 196s === CONT TestIsAllowedFromContextWithInvalidPeerCreds 196s --- PASS: TestServerPeerCredsHandshake (0.00s) 196s === CONT TestIsAllowedFromContextWithoutUserKey 196s --- PASS: TestIsAllowedFromContextWithInvalidPeerCreds (0.00s) 196s === CONT TestIsAllowedFromContextWithoutPeer 196s --- PASS: TestIsAllowedFromContextWithoutUserKey (0.00s) 196s === CONT TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 196s === CONT TestIsAllowed/Invalid_process_stat_file:_missing_) 196s === CONT TestIsAllowed/Valid_process_and_ACK 196s === CONT TestIsAllowed/Root_is_always_authorized 196s === CONT TestIsAllowed/Polkit_dbus_call_errors_out 196s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 196s === CONT TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 196s === CONT TestIsAllowed/Process_doesn't_exists 196s === CONT TestIsAllowed/Valid_process_and_NACK 196s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 196s === CONT TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 196s === CONT TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 196s === CONT TestIsAllowedFromContext/Root_is_always_authorized 196s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 196s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 196s === CONT TestIsAllowedFromContext/Extract_other_user_action_from_request 196s === CONT TestIsAllowedFromContext/Extract_current_user_action_from_request 196s === CONT TestIsAllowedFromContext/Valid_process_and_NACK 196s === CONT TestIsAllowedFromContext/Valid_process_and_ACK 196s --- PASS: TestIsAllowedFromContext (0.00s) 196s --- PASS: TestIsAllowedFromContext/Root_is_always_authorized (0.00s) 196s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid (0.00s) 196s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error (0.00s) 196s --- PASS: TestIsAllowedFromContext/Extract_other_user_action_from_request (0.00s) 196s --- PASS: TestIsAllowedFromContext/Extract_current_user_action_from_request (0.00s) 196s --- PASS: TestIsAllowedFromContext/Valid_process_and_NACK (0.00s) 196s --- PASS: TestIsAllowedFromContext/Valid_process_and_ACK (0.00s) 196s --- PASS: TestIsAllowedFromContextWithoutPeer (0.00s) 196s --- PASS: TestIsAllowed (0.00s) 196s --- PASS: TestIsAllowed/ActionAlwaysAllowed_is_always_allowed (0.00s) 196s --- PASS: TestIsAllowed/Invalid_process_stat_file:_missing_) (0.00s) 196s --- PASS: TestIsAllowed/Valid_process_and_ACK (0.00s) 196s --- PASS: TestIsAllowed/Root_is_always_authorized (0.00s) 196s --- PASS: TestIsAllowed/Polkit_dbus_call_errors_out (0.00s) 196s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_present (0.00s) 196s --- PASS: TestIsAllowed/Invalid_process_stat_file:_)_at_the_end (0.00s) 196s --- PASS: TestIsAllowed/Process_doesn't_exists (0.00s) 196s --- PASS: TestIsAllowed/Valid_process_and_NACK (0.00s) 196s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int (0.00s) 196s --- PASS: TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID (0.00s) 196s --- PASS: TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID (0.00s) 196s PASS 196s ok github.com/ubuntu/adsys/internal/authorizer 0.029s 197s ? github.com/ubuntu/adsys/internal/consts [no test files] 201s ? github.com/ubuntu/adsys/internal/grpc/logstreamer/test [no test files] 207s === RUN TestSetVerboseMode 207s === RUN TestSetVerboseMode/2_is_for_debug 207s === RUN TestSetVerboseMode/3_is_debug_printing_callers 207s === RUN TestSetVerboseMode/Default_level_is_warning 207s === RUN TestSetVerboseMode/1_is_for_info 207s --- PASS: TestSetVerboseMode (0.00s) 207s --- PASS: TestSetVerboseMode/2_is_for_debug (0.00s) 207s --- PASS: TestSetVerboseMode/3_is_debug_printing_callers (0.00s) 207s --- PASS: TestSetVerboseMode/Default_level_is_warning (0.00s) 207s --- PASS: TestSetVerboseMode/1_is_for_info (0.00s) 207s === RUN TestInit 207s === RUN TestInit/Empty_configuration_file_is_supported 207s === RUN TestInit/Flag_is_supported 207s === RUN TestInit/Env_has_precedence_over_configuration 207s === RUN TestInit/Configuration_flag_has_precedence_over_local_file 207s === RUN TestInit/No_config_flag_set_before_Init_is_call_is_ignored 207s === RUN TestInit/Configuration_flag,_not_in_config_dir 207s === RUN TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand 207s === RUN TestInit/Configuration_changed_directly 207s === RUN TestInit/Configuration_file_overwritten 207s === RUN TestInit/Error_on_no_verbose_flag_set_before_Init_is_call 207s === RUN TestInit/Error_on_callback_returning_error_on_first_call 207s === RUN TestInit/Load_configuration_with_file 207s === RUN TestInit/Load_configuration_from_executable_dir 207s === RUN TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account 207s === RUN TestInit/Flag_has_precedence_over_env 207s === RUN TestInit/Error_on_invalid_configuration_file 207s === RUN TestInit/Error_on_config_flag_points_to_unexisting_path 207s === RUN TestInit/Load_configuration,_no_file,_no_flag,_no_env 207s === RUN TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand 207s === RUN TestInit/Environment_is_supported 207s === RUN TestInit/Callback_in_error_on_refresh_only_prints_warning 207s time="2025-06-17T13:55:07Z" level=warning msg="Error while refreshing configuration: Error from callback" 207s --- PASS: TestInit (10.32s) 207s --- PASS: TestInit/Empty_configuration_file_is_supported (0.14s) 207s --- PASS: TestInit/Flag_is_supported (0.01s) 207s --- PASS: TestInit/Env_has_precedence_over_configuration (0.00s) 207s --- PASS: TestInit/Configuration_flag_has_precedence_over_local_file (0.00s) 207s --- PASS: TestInit/No_config_flag_set_before_Init_is_call_is_ignored (0.01s) 207s --- PASS: TestInit/Configuration_flag,_not_in_config_dir (0.01s) 207s --- PASS: TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand (0.00s) 207s --- PASS: TestInit/Configuration_changed_directly (2.01s) 207s --- PASS: TestInit/Configuration_file_overwritten (2.02s) 207s --- PASS: TestInit/Error_on_no_verbose_flag_set_before_Init_is_call (0.00s) 207s --- PASS: TestInit/Error_on_callback_returning_error_on_first_call (0.00s) 207s --- PASS: TestInit/Load_configuration_with_file (0.01s) 207s --- PASS: TestInit/Load_configuration_from_executable_dir (0.01s) 207s --- PASS: TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account (4.03s) 207s --- PASS: TestInit/Flag_has_precedence_over_env (0.01s) 207s --- PASS: TestInit/Error_on_invalid_configuration_file (0.00s) 207s --- PASS: TestInit/Error_on_config_flag_points_to_unexisting_path (0.00s) 207s --- PASS: TestInit/Load_configuration,_no_file,_no_flag,_no_env (0.00s) 207s --- PASS: TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand (0.00s) 207s --- PASS: TestInit/Environment_is_supported (0.00s) 207s --- PASS: TestInit/Callback_in_error_on_refresh_only_prints_warning (2.01s) 207s === RUN TestLoadConfig 207s === PAUSE TestLoadConfig 207s === CONT TestLoadConfig 207s === RUN TestLoadConfig/Load_configuration_deserialize_its 207s === PAUSE TestLoadConfig/Load_configuration_deserialize_its 207s === RUN TestLoadConfig/Empty_configuration_is_supported 207s === PAUSE TestLoadConfig/Empty_configuration_is_supported 207s === CONT TestLoadConfig/Load_configuration_deserialize_its 207s === CONT TestLoadConfig/Empty_configuration_is_supported 207s --- PASS: TestLoadConfig (0.00s) 207s --- PASS: TestLoadConfig/Load_configuration_deserialize_its (0.00s) 207s --- PASS: TestLoadConfig/Empty_configuration_is_supported (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/config 10.337s 207s === RUN TestConfigFileFromArgs 207s === PAUSE TestConfigFileFromArgs 207s === RUN TestDirsFromConfigFile 207s === PAUSE TestDirsFromConfigFile 207s === RUN TestWriteConfig 207s === RUN TestWriteConfig/With_relative_config_path 207s === RUN TestWriteConfig/With_nested_config_path 207s === RUN TestWriteConfig/Error_on_absent_dirs 207s === RUN TestWriteConfig/Error_on_empty_dirs 207s --- PASS: TestWriteConfig (0.00s) 207s --- PASS: TestWriteConfig/With_relative_config_path (0.00s) 207s --- PASS: TestWriteConfig/With_nested_config_path (0.00s) 207s --- PASS: TestWriteConfig/Error_on_absent_dirs (0.00s) 207s --- PASS: TestWriteConfig/Error_on_empty_dirs (0.00s) 207s === CONT TestConfigFileFromArgs 207s === RUN TestConfigFileFromArgs/Short_config_argument_with_quotes 207s === PAUSE TestConfigFileFromArgs/Short_config_argument_with_quotes 207s === RUN TestConfigFileFromArgs/Error_on_empty_args 207s === PAUSE TestConfigFileFromArgs/Error_on_empty_args 207s === RUN TestConfigFileFromArgs/Error_on_no_config_argument 207s === PAUSE TestConfigFileFromArgs/Error_on_no_config_argument 207s === RUN TestConfigFileFromArgs/Error_on_config_argument_with_no_value 207s === PAUSE TestConfigFileFromArgs/Error_on_config_argument_with_no_value 207s === CONT TestDirsFromConfigFile 207s === RUN TestDirsFromConfigFile/No_config_file 207s === PAUSE TestDirsFromConfigFile/No_config_file 207s === RUN TestConfigFileFromArgs/Short_config_argument 207s === PAUSE TestConfigFileFromArgs/Short_config_argument 207s === CONT TestConfigFileFromArgs/Short_config_argument_with_quotes 207s === RUN TestDirsFromConfigFile/Empty_config_file 207s === CONT TestConfigFileFromArgs/Error_on_config_argument_with_no_value 207s === CONT TestConfigFileFromArgs/Error_on_no_config_argument 207s === PAUSE TestDirsFromConfigFile/Empty_config_file 207s === CONT TestConfigFileFromArgs/Error_on_empty_args 207s === RUN TestDirsFromConfigFile/No_dirs_in_config_file 207s === PAUSE TestDirsFromConfigFile/No_dirs_in_config_file 207s === CONT TestConfigFileFromArgs/Short_config_argument 207s === RUN TestDirsFromConfigFile/Config_dirs_is_not_an_array 207s --- PASS: TestConfigFileFromArgs (0.00s) 207s --- PASS: TestConfigFileFromArgs/Short_config_argument_with_quotes (0.00s) 207s --- PASS: TestConfigFileFromArgs/Error_on_config_argument_with_no_value (0.00s) 207s --- PASS: TestConfigFileFromArgs/Error_on_no_config_argument (0.00s) 207s --- PASS: TestConfigFileFromArgs/Error_on_empty_args (0.00s) 207s --- PASS: TestConfigFileFromArgs/Short_config_argument (0.00s) 207s === PAUSE TestDirsFromConfigFile/Config_dirs_is_not_an_array 207s === RUN TestDirsFromConfigFile/Config_dirs_is_an_array 207s === PAUSE TestDirsFromConfigFile/Config_dirs_is_an_array 207s === CONT TestDirsFromConfigFile/No_config_file 207s === CONT TestDirsFromConfigFile/Config_dirs_is_not_an_array 207s === CONT TestDirsFromConfigFile/Config_dirs_is_an_array 207s === CONT TestDirsFromConfigFile/No_dirs_in_config_file 207s === CONT TestDirsFromConfigFile/Empty_config_file 207s --- PASS: TestDirsFromConfigFile (0.00s) 207s --- PASS: TestDirsFromConfigFile/No_config_file (0.00s) 207s --- PASS: TestDirsFromConfigFile/Config_dirs_is_not_an_array (0.00s) 207s --- PASS: TestDirsFromConfigFile/Config_dirs_is_an_array (0.00s) 207s --- PASS: TestDirsFromConfigFile/No_dirs_in_config_file (0.00s) 207s --- PASS: TestDirsFromConfigFile/Empty_config_file (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/config/watchd 0.019s 207s === RUN TestStartStop 207s === PAUSE TestStartStop 207s === RUN TestStopBeforeServe 207s === PAUSE TestStopBeforeServe 207s === RUN TestChangeSocket 207s === PAUSE TestChangeSocket 207s === RUN TestSocketActivation 207s === PAUSE TestSocketActivation 207s === RUN TestUseSocketIgnoredWithSocketActivation 207s === PAUSE TestUseSocketIgnoredWithSocketActivation 207s === RUN TestSdNotifier 207s === PAUSE TestSdNotifier 207s === RUN TestFailingOption 207s === PAUSE TestFailingOption 207s === RUN TestCannotCreateSocket 207s === PAUSE TestCannotCreateSocket 207s === RUN TestServerStartListenTimeout 207s === PAUSE TestServerStartListenTimeout 207s === RUN TestServerDontTimeoutWithActiveRequest 207s === PAUSE TestServerDontTimeoutWithActiveRequest 207s === RUN TestServerDontTimeoutWithMultipleActiveRequests 207s === PAUSE TestServerDontTimeoutWithMultipleActiveRequests 207s === RUN TestServerChangeTimeout 207s === PAUSE TestServerChangeTimeout 207s === RUN TestServerDoubleQuit 207s === PAUSE TestServerDoubleQuit 207s === CONT TestStartStop 207s === CONT TestCannotCreateSocket 207s --- PASS: TestCannotCreateSocket (0.00s) 207s === CONT TestFailingOption 207s --- PASS: TestFailingOption (0.00s) 207s === CONT TestSdNotifier 207s === RUN TestSdNotifier/Sends_signal 207s === PAUSE TestSdNotifier/Sends_signal 207s === RUN TestSdNotifier/Doesn't_fail_when_not_under_systemd 207s === PAUSE TestSdNotifier/Doesn't_fail_when_not_under_systemd 207s === RUN TestSdNotifier/Error_when_notifier_fails 207s === PAUSE TestSdNotifier/Error_when_notifier_fails 207s === CONT TestUseSocketIgnoredWithSocketActivation 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestStartStop2220969587/001/test.sock" 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestUseSocketIgnoredWithSocketActivation3413127521/001/socket" 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:58Z" level=info msg="Wait for active requests to close." 207s --- PASS: TestStartStop (0.01s) 207s === CONT TestSocketActivation 207s === RUN TestSocketActivation/Error_when_provided_with_many_sockets 207s === PAUSE TestSocketActivation/Error_when_provided_with_many_sockets 207s === RUN TestSocketActivation/Error_when_Listeners()_fails 207s === PAUSE TestSocketActivation/Error_when_Listeners()_fails 207s === RUN TestSocketActivation/Success_with_one_socket 207s === PAUSE TestSocketActivation/Success_with_one_socket 207s === CONT TestChangeSocket 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestChangeSocket3322100755/001/test.sock" 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:58Z" level=info msg="Wait for active requests to close." 207s --- PASS: TestUseSocketIgnoredWithSocketActivation (0.02s) 207s === CONT TestStopBeforeServe 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:58Z" level=info msg="Wait for active requests to close." 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestChangeSocket3322100755/001/test2.sock" 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:58Z" level=info msg="Wait for active requests to close." 207s --- PASS: TestStopBeforeServe (0.00s) 207s === CONT TestServerDontTimeoutWithMultipleActiveRequests 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithMultipleActiveRequests3293933259/001/test.sock" 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:58Z" level=info msg="Wait for active requests to close." 207s --- PASS: TestChangeSocket (0.02s) 207s === CONT TestServerDoubleQuit 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestServerDoubleQuit2361698683/001/test.sock" 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:58Z" level=info msg="Wait for active requests to close." 207s --- PASS: TestServerDoubleQuit (0.01s) 207s === CONT TestServerChangeTimeout 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestServerChangeTimeout3767491420/001/test.sock" 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s --- PASS: TestServerChangeTimeout (0.05s) 207s === CONT TestServerDontTimeoutWithActiveRequest 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithActiveRequest218005522/001/test.sock" 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s --- PASS: TestServerDontTimeoutWithMultipleActiveRequests (0.11s) 207s === CONT TestServerStartListenTimeout 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestServerStartListenTimeout1799100182/001/test.sock" 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s --- PASS: TestServerStartListenTimeout (0.01s) 207s === CONT TestSdNotifier/Sends_signal 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestSdNotifierSends_signal1866088461/001/socket" 207s time="2025-06-17T13:54:58Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:58Z" level=info msg="Wait for active requests to close." 207s === CONT TestSdNotifier/Error_when_notifier_fails 207s === CONT TestSdNotifier/Doesn't_fail_when_not_under_systemd 207s time="2025-06-17T13:54:58Z" level=info msg="Serving on /tmp/TestSdNotifierDoesnt_fail_when_not_under_systemd423667429/001/socket" 207s time="2025-06-17T13:54:59Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:59Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:59Z" level=info msg="Wait for active requests to close." 207s time="2025-06-17T13:54:59Z" level=info msg="Wait for active requests to close." 207s --- PASS: TestSdNotifier (0.00s) 207s --- PASS: TestSdNotifier/Sends_signal (0.01s) 207s --- PASS: TestSdNotifier/Error_when_notifier_fails (0.00s) 207s --- PASS: TestSdNotifier/Doesn't_fail_when_not_under_systemd (0.01s) 207s === CONT TestSocketActivation/Error_when_provided_with_many_sockets 207s === CONT TestSocketActivation/Success_with_one_socket 207s time="2025-06-17T13:54:59Z" level=info msg="Serving on /tmp/TestSocketActivationSuccess_with_one_socket1043769515/001/sock1" 207s time="2025-06-17T13:54:59Z" level=info msg="Stopping daemon requested." 207s time="2025-06-17T13:54:59Z" level=info msg="Wait for active requests to close." 207s === CONT TestSocketActivation/Error_when_Listeners()_fails 207s --- PASS: TestSocketActivation (0.00s) 207s --- PASS: TestSocketActivation/Error_when_provided_with_many_sockets (0.00s) 207s --- PASS: TestSocketActivation/Success_with_one_socket (0.01s) 207s --- PASS: TestSocketActivation/Error_when_Listeners()_fails (0.00s) 207s time="2025-06-17T13:54:59Z" level=info msg="Stopping daemon requested." 207s --- PASS: TestServerDontTimeoutWithActiveRequest (0.11s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/daemon 0.223s 207s === RUN TestCleanDirectory 207s === PAUSE TestCleanDirectory 207s === RUN TestCleanDirectoryNoDirectoryExists 207s === PAUSE TestCleanDirectoryNoDirectoryExists 207s === RUN TestCleanDirectoryCantRemoveDirectory 207s === PAUSE TestCleanDirectoryCantRemoveDirectory 207s === RUN TestInstallOnlyMode 207s --- PASS: TestInstallOnlyMode (0.00s) 207s === RUN TestDestDirectory 207s --- PASS: TestDestDirectory (0.00s) 207s === CONT TestCleanDirectory 207s === CONT TestCleanDirectoryCantRemoveDirectory 207s --- PASS: TestCleanDirectoryCantRemoveDirectory (0.00s) 207s === CONT TestCleanDirectoryNoDirectoryExists 207s --- PASS: TestCleanDirectory (0.00s) 207s --- PASS: TestCleanDirectoryNoDirectoryExists (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/generators 0.009s 207s === RUN TestNoNotification 207s === PAUSE TestNoNotification 207s === RUN TestNewConnectionNotification 207s === PAUSE TestNewConnectionNotification 207s === RUN TestDoneConnectionNotification 207s === PAUSE TestDoneConnectionNotification 207s === RUN TestErrorFromHandlerReturned 207s === PAUSE TestErrorFromHandlerReturned 207s === RUN TestErrorOnNilStream 207s === PAUSE TestErrorOnNilStream 207s === CONT TestNoNotification 207s --- PASS: TestNoNotification (0.00s) 207s === CONT TestDoneConnectionNotification 207s --- PASS: TestDoneConnectionNotification (0.00s) 207s === CONT TestNewConnectionNotification 207s === CONT TestErrorFromHandlerReturned 207s === CONT TestErrorOnNilStream 207s --- PASS: TestNewConnectionNotification (0.00s) 207s --- PASS: TestErrorOnNilStream (0.00s) 207s --- PASS: TestErrorFromHandlerReturned (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/grpc/connectionnotify 0.015s 207s === RUN TestActiveConnection 207s === PAUSE TestActiveConnection 207s === RUN TestTimeoutOnInactiveConnection 207s === PAUSE TestTimeoutOnInactiveConnection 207s === RUN TestCancelOnClientSide 207s === PAUSE TestCancelOnClientSide 207s === RUN TestClientInterceptorFailed 207s === PAUSE TestClientInterceptorFailed 207s === RUN TestRecvMessageError 207s === PAUSE TestRecvMessageError 207s === CONT TestActiveConnection 207s === CONT TestClientInterceptorFailed 207s --- PASS: TestClientInterceptorFailed (0.00s) 207s === CONT TestCancelOnClientSide 207s --- PASS: TestCancelOnClientSide (0.00s) 207s === CONT TestTimeoutOnInactiveConnection 207s --- PASS: TestTimeoutOnInactiveConnection (0.05s) 207s === CONT TestRecvMessageError 207s --- PASS: TestRecvMessageError (0.00s) 207s --- PASS: TestActiveConnection (0.15s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/grpc/contextidler 0.168s 207s === RUN TestFormat 207s === PAUSE TestFormat 207s === CONT TestFormat 207s === RUN TestFormat/Nil_returns_nil 207s === PAUSE TestFormat/Nil_returns_nil 207s === RUN TestFormat/Non_GRPC_errors_are_returned_as_is 207s === PAUSE TestFormat/Non_GRPC_errors_are_returned_as_is 207s === RUN TestFormat/GRPC_Unavailable_errors_prints_daemon_name 207s === PAUSE TestFormat/GRPC_Unavailable_errors_prints_daemon_name 207s === RUN TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 207s === PAUSE TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 207s === RUN TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 207s === PAUSE TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 207s === RUN TestFormat/GRPC_Random_errors_prints_status_and_message 207s === PAUSE TestFormat/GRPC_Random_errors_prints_status_and_message 207s === CONT TestFormat/Nil_returns_nil 207s === CONT TestFormat/GRPC_Random_errors_prints_status_and_message 207s === CONT TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 207s === CONT TestFormat/GRPC_Unavailable_errors_prints_daemon_name 207s === CONT TestFormat/Non_GRPC_errors_are_returned_as_is 207s === CONT TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 207s --- PASS: TestFormat (0.00s) 207s --- PASS: TestFormat/Nil_returns_nil (0.00s) 207s --- PASS: TestFormat/GRPC_Random_errors_prints_status_and_message (0.00s) 207s --- PASS: TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message (0.00s) 207s --- PASS: TestFormat/Non_GRPC_errors_are_returned_as_is (0.00s) 207s --- PASS: TestFormat/GRPC_Unavailable_errors_prints_daemon_name (0.00s) 207s --- PASS: TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/grpc/grpcerror 0.010s 207s === RUN TestStreamServer 207s === PAUSE TestStreamServer 207s === RUN TestStreamClient 207s === PAUSE TestStreamClient 207s === CONT TestStreamServer 207s === CONT TestStreamClient 207s --- PASS: TestStreamServer (0.00s) 207s --- PASS: TestStreamClient (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/grpc/interceptorschain 0.015s 207s === RUN TestChildRecvMsgAndHandlerCalled 207s === PAUSE TestChildRecvMsgAndHandlerCalled 207s === CONT TestChildRecvMsgAndHandlerCalled 207s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 207s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 207s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 207s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 207s === RUN TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 207s === PAUSE TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 207s === RUN TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 207s === PAUSE TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 207s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 207s === CONT TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 207s time="2025-06-17T13:55:01Z" level=info msg="Error sent to client: Failing handler" 207s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 207s === CONT TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 207s --- PASS: TestChildRecvMsgAndHandlerCalled (0.00s) 207s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out (0.00s) 207s --- PASS: TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called (0.00s) 207s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out (0.00s) 207s --- PASS: TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/grpc/logconnections 0.016s 207s === RUN TestRecvLogMsg 207s === PAUSE TestRecvLogMsg 207s === RUN TestAddStreamToForwardLocalLogs 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:607274]]" 207s time="2025-06-17T13:55:02Z" level=warning msg=something 207s --- PASS: TestAddStreamToForwardLocalLogs (0.00s) 207s === RUN TestAddStreamToForwardOtherStream 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:016343]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:344686]]" 207s --- PASS: TestAddStreamToForwardOtherStream (0.00s) 207s === RUN TestAddStreamToForwardAfterClientIsConnected 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:197214]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:448716]]" 207s --- PASS: TestAddStreamToForwardAfterClientIsConnected (0.00s) 207s === RUN TestAddStreamToForwardDisconnect 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:683361]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:895361]]" 207s --- PASS: TestAddStreamToForwardDisconnect (0.00s) 207s === RUN TestAddStreamToForwardTwoClients 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:987141]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:832116]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:942421]]" 207s --- PASS: TestAddStreamToForwardTwoClients (0.00s) 207s === RUN TestAddStreamToForwardWithListenerCaller 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:351387]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:923259]]" 207s --- PASS: TestAddStreamToForwardWithListenerCaller (0.00s) 207s === RUN TestAddStreamMultipleForwarders 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:264926]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:472932]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:183547]]" 207s --- PASS: TestAddStreamMultipleForwarders (0.00s) 207s === RUN TestAddStreamMultipleForwardersOneWithCaller 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:982096]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:704614]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:453680]]" 207s --- PASS: TestAddStreamMultipleForwardersOneWithCaller (0.00s) 207s === RUN TestAddStreamToForwardFailSend 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:562126]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:047291]]" 207s time="2025-06-17T13:55:02Z" level=warning msg="Couldn't send log to one or more listener: SendMsg failed" 207s --- PASS: TestAddStreamToForwardFailSend (0.00s) 207s === RUN TestRemoveAllStreams 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:110937]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:283348]]" 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:582956]]" 207s time="2025-06-17T13:55:02Z" level=warning msg="[[123456:582956]] else" 207s --- PASS: TestRemoveAllStreams (0.00s) 207s === RUN TestLogWarningOnly 207s === PAUSE TestLogWarningOnly 207s === RUN TestMultipleLogs 207s === PAUSE TestMultipleLogs 207s === RUN TestAllLogLevels 207s === PAUSE TestAllLogLevels 207s === RUN TestDebugSentToRemoteEvenIfLocalIsWarning 207s === PAUSE TestDebugSentToRemoteEvenIfLocalIsWarning 207s === RUN TestLogWarningWithLocalCaller 207s === PAUSE TestLogWarningWithLocalCaller 207s === RUN TestLogWarningWithRemoteCaller 207s === PAUSE TestLogWarningWithRemoteCaller 207s === RUN TestLogWithNoCaller 207s === PAUSE TestLogWithNoCaller 207s === RUN TestSetReportCaller 207s === RUN TestSetReportCaller/Report_caller 207s === RUN TestSetReportCaller/Disable_caller 207s --- PASS: TestSetReportCaller (0.00s) 207s --- PASS: TestSetReportCaller/Report_caller (0.00s) 207s --- PASS: TestSetReportCaller/Disable_caller (0.00s) 207s === RUN TestLogSendingFail 207s === PAUSE TestLogSendingFail 207s === RUN TestLogStreamsAreSeparated 207s === PAUSE TestLogStreamsAreSeparated 207s === RUN TestLogAddHook 207s time="2025-06-17T13:55:02Z" level=info 207s --- PASS: TestLogAddHook (0.00s) 207s === RUN TestStreamServerInterceptor 207s === PAUSE TestStreamServerInterceptor 207s === RUN TestStreamServerInterceptorSendLogsFails 207s === PAUSE TestStreamServerInterceptorSendLogsFails 207s === RUN TestStreamServerInterceptorLoggerInvalidMetadata 207s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata 207s === CONT TestRecvLogMsg 207s === RUN TestRecvLogMsg/Two_logs_with_different_debug_level 207s === PAUSE TestRecvLogMsg/Two_logs_with_different_debug_level 207s === CONT TestLogWithNoCaller 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:549777]]" 207s === RUN TestRecvLogMsg/Log_with_caller 207s === PAUSE TestRecvLogMsg/Log_with_caller 207s --- PASS: TestLogWithNoCaller (0.00s) 207s === CONT TestLogWarningWithRemoteCaller 207s === RUN TestRecvLogMsg/No_caller_when_not_requested 207s === PAUSE TestRecvLogMsg/No_caller_when_not_requested 207s === RUN TestRecvLogMsg/No_caller_on_any_logs 207s === PAUSE TestRecvLogMsg/No_caller_on_any_logs 207s === RUN TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 207s === PAUSE TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 207s === RUN TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 207s === PAUSE TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 207s === RUN TestRecvLogMsg/One_message,_no_log 207s === PAUSE TestRecvLogMsg/One_message,_no_log 207s === RUN TestRecvLogMsg/One_log_(and_one_closing_empty_message) 207s === PAUSE TestRecvLogMsg/One_log_(and_one_closing_empty_message) 207s === RUN TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 207s === PAUSE TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 207s === RUN TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 207s Failed to fire hook: hook fired 207s === PAUSE TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:251498]]" 207s === CONT TestLogWarningWithLocalCaller 207s --- PASS: TestLogWarningWithRemoteCaller (0.00s) 207s === CONT TestDebugSentToRemoteEvenIfLocalIsWarning 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:638980]]" 207s --- PASS: TestLogWarningWithLocalCaller (0.00s) 207s === CONT TestAllLogLevels 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:779291]]" 207s --- PASS: TestDebugSentToRemoteEvenIfLocalIsWarning (0.00s) 207s === CONT TestMultipleLogs 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:188970]]" 207s --- PASS: TestMultipleLogs (0.00s) 207s === CONT TestLogWarningOnly 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:795687]]" 207s --- PASS: TestLogWarningOnly (0.00s) 207s === CONT TestStreamServerInterceptor 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:553095]]" 207s --- PASS: TestStreamServerInterceptor (0.00s) 207s === CONT TestStreamServerInterceptorLoggerInvalidMetadata 207s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 207s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 207s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 207s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 207s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 207s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 207s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 207s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 207s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 207s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:720758]]" 207s === CONT TestStreamServerInterceptorSendLogsFails 207s --- PASS: TestAllLogLevels (0.00s) 207s === CONT TestLogStreamsAreSeparated 207s time="2025-06-17T13:55:02Z" level=warning msg="[[123456:305004]] Couldn't send initial connection log to client" 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:305004]]" 207s --- PASS: TestStreamServerInterceptorSendLogsFails (0.00s) 207s === CONT TestLogSendingFail 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:652628]]" 207s --- PASS: TestLogSendingFail (0.00s) 207s === CONT TestRecvLogMsg/Two_logs_with_different_debug_level 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:366022]]" 207s Failed to fire hook: hook fired 207s time="2025-06-17T13:55:02Z" level=info msg="New connection from client [[123456:171222]]" 207s --- PASS: TestLogStreamsAreSeparated (0.00s) 207s === CONT TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 207s === CONT TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 207s === CONT TestRecvLogMsg/One_log_(and_one_closing_empty_message) 207s === CONT TestRecvLogMsg/One_message,_no_log 207s === CONT TestRecvLogMsg/No_caller_on_any_logs 207s === CONT TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 207s === CONT TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 207s === CONT TestRecvLogMsg/No_caller_when_not_requested 207s === CONT TestRecvLogMsg/Log_with_caller 207s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 207s --- PASS: TestRecvLogMsg (0.00s) 207s --- PASS: TestRecvLogMsg/Two_logs_with_different_debug_level (0.00s) 207s --- PASS: TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) (0.00s) 207s --- PASS: TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved (0.00s) 207s --- PASS: TestRecvLogMsg/One_log_(and_one_closing_empty_message) (0.00s) 207s --- PASS: TestRecvLogMsg/One_message,_no_log (0.00s) 207s --- PASS: TestRecvLogMsg/No_caller_on_any_logs (0.00s) 207s --- PASS: TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved (0.00s) 207s --- PASS: TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped (0.00s) 207s --- PASS: TestRecvLogMsg/No_caller_when_not_requested (0.00s) 207s --- PASS: TestRecvLogMsg/Log_with_caller (0.00s) 207s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 207s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 207s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 207s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 207s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata (0.00s) 207s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas (0.00s) 207s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key (0.00s) 207s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID (0.00s) 207s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent (0.00s) 207s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/grpc/logstreamer 0.022s 207s === RUN TestEventLogHook 207s === RUN TestEventLogHook/error_level 207s time="2025-06-17T13:55:02Z" level=error msg="Error msg" 207s === RUN TestEventLogHook/warn_level 207s time="2025-06-17T13:55:02Z" level=warning msg="Warning msg" 207s time="2025-06-17T13:55:02Z" level=error msg="Error msg" 207s === RUN TestEventLogHook/info_level 207s time="2025-06-17T13:55:02Z" level=info msg="Info msg" 207s time="2025-06-17T13:55:02Z" level=warning msg="Warning msg" 207s time="2025-06-17T13:55:02Z" level=error msg="Error msg" 207s === RUN TestEventLogHook/debug_level 207s time="2025-06-17T13:55:02Z" level=debug msg="Debug msg" 207s time="2025-06-17T13:55:02Z" level=info msg="Info msg" 207s time="2025-06-17T13:55:02Z" level=warning msg="Warning msg" 207s time="2025-06-17T13:55:02Z" level=error msg="Error msg" 207s --- PASS: TestEventLogHook (0.00s) 207s --- PASS: TestEventLogHook/error_level (0.00s) 207s --- PASS: TestEventLogHook/warn_level (0.00s) 207s --- PASS: TestEventLogHook/info_level (0.00s) 207s --- PASS: TestEventLogHook/debug_level (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/loghooks 0.007s 207s === RUN TestFormat 207s === PAUSE TestFormat 207s === RUN TestApplyPolicies 207s === RUN TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content 207s time="2025-06-17T13:55:03Z" level=info msg="Applying policies for hostname (machine: true)" 207s time="2025-06-17T13:55:03Z" 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" 207s === RUN TestApplyPolicies/Error_when_applying_dconf_policy 207s === RUN TestApplyPolicies/Error_when_applying_mount_policy 207s === RUN TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended 207s time="2025-06-17T13:55:04Z" level=info msg="Unloading policies for hostname (machine: true)" 207s time="2025-06-17T13:55:04Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_rules_dont_remove_scripts_if_session_hasnt_ended2445373301/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 207s === RUN TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended 207s time="2025-06-17T13:55:04Z" level=info msg="Applying policies for hostname (machine: true)" 207s time="2025-06-17T13:55:04Z" 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" 207s time="2025-06-17T13:55:04Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_subscription_dont_remove_scripts_if_session_hasnt_ended2146596289/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 207s === RUN TestApplyPolicies/Error_when_applying_privilege_policy 207s === RUN TestApplyPolicies/Error_when_applying_apparmor_policy 207s === RUN TestApplyPolicies/Succeed 207s === RUN TestApplyPolicies/Error_when_applying_scripts_policy 207s === RUN TestApplyPolicies/Second_call_with_no_rules_deletes_everything 207s time="2025-06-17T13:55:04Z" level=info msg="Unloading policies for hostname (machine: true)" 207s === RUN TestApplyPolicies/No_subscription_is_only_dconf_content 207s === RUN TestApplyPolicies/Error_when_applying_proxy_policy 207s === RUN TestApplyPolicies/Error_when_applying_certificate_policy 207s === RUN TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error 207s --- PASS: TestApplyPolicies (0.14s) 207s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content (0.02s) 207s --- PASS: TestApplyPolicies/Error_when_applying_dconf_policy (0.00s) 207s --- PASS: TestApplyPolicies/Error_when_applying_mount_policy (0.01s) 207s --- PASS: TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended (0.01s) 207s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended (0.01s) 207s --- PASS: TestApplyPolicies/Error_when_applying_privilege_policy (0.01s) 207s --- PASS: TestApplyPolicies/Error_when_applying_apparmor_policy (0.01s) 207s --- PASS: TestApplyPolicies/Succeed (0.01s) 207s --- PASS: TestApplyPolicies/Error_when_applying_scripts_policy (0.01s) 207s --- PASS: TestApplyPolicies/Second_call_with_no_rules_deletes_everything (0.01s) 207s --- PASS: TestApplyPolicies/No_subscription_is_only_dconf_content (0.01s) 207s --- PASS: TestApplyPolicies/Error_when_applying_proxy_policy (0.01s) 207s --- PASS: TestApplyPolicies/Error_when_applying_certificate_policy (0.00s) 207s --- PASS: TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error (0.01s) 207s === RUN TestDumpPolicies 207s === PAUSE TestDumpPolicies 207s === RUN TestLastUpdateFor 207s === PAUSE TestLastUpdateFor 207s === RUN TestGetSubscriptionState 207s === RUN TestGetSubscriptionState/Returns_enablement_status_(enabled) 207s === RUN TestGetSubscriptionState/Returns_enablement_status_(disabled) 207s --- PASS: TestGetSubscriptionState (0.00s) 207s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(enabled) (0.00s) 207s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(disabled) (0.00s) 207s === RUN TestNew 207s === PAUSE TestNew 207s === RUN TestNewFromCache 207s === PAUSE TestNewFromCache 207s === RUN TestSave 207s === PAUSE TestSave 207s === RUN TestCachePolicies 207s === PAUSE TestCachePolicies 207s === RUN TestSaveAssetsTo 207s === PAUSE TestSaveAssetsTo 207s === RUN TestCompressAssets 207s === PAUSE TestCompressAssets 207s === RUN TestGetUniqueRules 207s === PAUSE TestGetUniqueRules 207s === CONT TestFormat 207s === RUN TestFormat/GPO_summary 207s === PAUSE TestFormat/GPO_summary 207s === CONT TestSaveAssetsTo 207s === RUN TestSaveAssetsTo/Sub_directory_ending_with_slash 207s === PAUSE TestSaveAssetsTo/Sub_directory_ending_with_slash 207s === RUN TestSaveAssetsTo/File 207s === PAUSE TestSaveAssetsTo/File 207s === RUN TestFormat/GPO_with_rules,_override_displayed 207s === PAUSE TestFormat/GPO_with_rules,_override_displayed 207s === RUN TestFormat/GPO_with_rules,_override_disabled_key 207s === PAUSE TestFormat/GPO_with_rules,_override_disabled_key 207s === RUN TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 207s === PAUSE TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 207s === RUN TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 207s === PAUSE TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 207s === RUN TestFormat/GPO_with_rules 207s === PAUSE TestFormat/GPO_with_rules 207s === RUN TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 207s === PAUSE TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 207s === RUN TestFormat/GPO_with_rules,_appending_to_existing_treated_key 207s === PAUSE TestFormat/GPO_with_rules,_appending_to_existing_treated_key 207s === RUN TestFormat/GPO_with_rules,_override_hidden 207s === PAUSE TestFormat/GPO_with_rules,_override_hidden 207s === RUN TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 207s === PAUSE TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 207s === RUN TestSaveAssetsTo/Error_on_read_only_dest 207s === PAUSE TestSaveAssetsTo/Error_on_read_only_dest 207s === CONT TestGetUniqueRules 207s === RUN TestGetUniqueRules/Multiple_domains,_same_GPOs 207s === PAUSE TestGetUniqueRules/Multiple_domains,_same_GPOs 207s === RUN TestGetUniqueRules/Two_policies,_no_overrides 207s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides 207s === RUN TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 207s === PAUSE TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 207s === RUN TestSaveAssetsTo/All 207s === PAUSE TestSaveAssetsTo/All 207s === RUN TestSaveAssetsTo/Sub_directory 207s === RUN TestGetUniqueRules/Two_policies,_no_overrides,_reversed 207s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides,_reversed 207s === PAUSE TestSaveAssetsTo/Sub_directory 207s === RUN TestSaveAssetsTo/Error_on_dest_already_exists 207s === PAUSE TestSaveAssetsTo/Error_on_dest_already_exists 207s === RUN TestSaveAssetsTo/Error_on_can't_chown_to_user 207s === PAUSE TestSaveAssetsTo/Error_on_can't_chown_to_user 207s === RUN TestSaveAssetsTo/Chown_directories_and_files_when_requested 207s === PAUSE TestSaveAssetsTo/Chown_directories_and_files_when_requested 207s === RUN TestSaveAssetsTo/Error_on_empty_relSrc 207s === RUN TestGetUniqueRules/Disabled_value_is_overridden 207s === PAUSE TestSaveAssetsTo/Error_on_empty_relSrc 207s === PAUSE TestGetUniqueRules/Disabled_value_is_overridden 207s === RUN TestSaveAssetsTo/Error_on_no_assets 207s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 207s === PAUSE TestSaveAssetsTo/Error_on_no_assets 207s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 207s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 207s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 207s === CONT TestCompressAssets 207s === RUN TestCompressAssets/No_db 207s === PAUSE TestCompressAssets/No_db 207s === RUN TestCompressAssets/Existing_db 207s === PAUSE TestCompressAssets/Existing_db 207s === RUN TestCompressAssets/Error_on_can’t_remove_existing_db 207s === PAUSE TestCompressAssets/Error_on_can’t_remove_existing_db 207s === RUN TestCompressAssets/Error_on_non_existing_directory 207s === PAUSE TestCompressAssets/Error_on_non_existing_directory 207s === RUN TestGetUniqueRules/Order_key_ascii 207s === PAUSE TestGetUniqueRules/Order_key_ascii 207s === CONT TestNewFromCache 207s === RUN TestGetUniqueRules/Two_policies,_with_overrides 207s === PAUSE TestGetUniqueRules/Two_policies,_with_overrides 207s === RUN TestNewFromCache/gpos_only 207s === RUN TestGetUniqueRules/Two_policies,_with_reversed_overrides 207s === PAUSE TestNewFromCache/gpos_only 207s === RUN TestNewFromCache/With_assets 207s === PAUSE TestNewFromCache/With_assets 207s === RUN TestNewFromCache/Error_on_invalid_policies_cache 207s === PAUSE TestNewFromCache/Error_on_invalid_policies_cache 207s === RUN TestNewFromCache/Error_on_invalid_assets_db 207s === PAUSE TestNewFromCache/Error_on_invalid_assets_db 207s === RUN TestNewFromCache/Error_on_no_policies_cache 207s === PAUSE TestNewFromCache/Error_on_no_policies_cache 207s === CONT TestCachePolicies 207s === PAUSE TestGetUniqueRules/Two_policies,_with_reversed_overrides 207s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 207s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 207s === RUN TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 207s === PAUSE TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 207s === RUN TestGetUniqueRules/More_policies,_with_multiple_overrides 207s === PAUSE TestGetUniqueRules/More_policies,_with_multiple_overrides 207s === RUN TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 207s === PAUSE TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 207s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO 207s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO 207s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 207s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 207s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 207s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 207s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 207s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 207s === RUN TestGetUniqueRules/One_GPO 207s === PAUSE TestGetUniqueRules/One_GPO 207s === RUN TestGetUniqueRules/Multiple_domains,_different_GPOs 207s === PAUSE TestGetUniqueRules/Multiple_domains,_different_GPOs 207s === RUN TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 207s === PAUSE TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 207s === CONT TestSave 207s === RUN TestSave/Destdir_does_not_exists 207s === PAUSE TestSave/Destdir_does_not_exists 207s === RUN TestSave/Error_on_can’t_write_to_policies_base_dir 207s === PAUSE TestSave/Error_on_can’t_write_to_policies_base_dir 207s === RUN TestSave/gpos_only 207s === PAUSE TestSave/gpos_only 207s === RUN TestSave/With_assets 207s === PAUSE TestSave/With_assets 207s === RUN TestSave/Existing_policies_cache_is_refreshed 207s === PAUSE TestSave/Existing_policies_cache_is_refreshed 207s === RUN TestSave/Can_refresh_on_existing_read_only_asset_file 207s === PAUSE TestSave/Can_refresh_on_existing_read_only_asset_file 207s === RUN TestSave/Error_on_can’t_write_to_dest_dir 207s === PAUSE TestSave/Error_on_can’t_write_to_dest_dir 207s === RUN TestSave/Error_on_can’t_remove_existing_assets 207s === PAUSE TestSave/Error_on_can’t_remove_existing_assets 207s === RUN TestSave/Existing_assets_cache_is_refreshed 207s === PAUSE TestSave/Existing_assets_cache_is_refreshed 207s === RUN TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 207s === PAUSE TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 207s === RUN TestSave/Save_assets_on_existing_opened_file_does_not_segfault 207s === PAUSE TestSave/Save_assets_on_existing_opened_file_does_not_segfault 207s === CONT TestLastUpdateFor 207s === RUN TestLastUpdateFor/Returns_machine's_last_update_time 207s === PAUSE TestLastUpdateFor/Returns_machine's_last_update_time 207s === RUN TestLastUpdateFor/Returns_user's_last_update_time 207s === PAUSE TestLastUpdateFor/Returns_user's_last_update_time 207s === RUN TestLastUpdateFor/Target_is_ignored_for_machine_request 207s === PAUSE TestLastUpdateFor/Target_is_ignored_for_machine_request 207s === RUN TestLastUpdateFor/Error_when_target_does_not_exist 207s === PAUSE TestLastUpdateFor/Error_when_target_does_not_exist 207s === CONT TestNew 207s === RUN TestNew/Error_on_invalid_assets_db 207s === PAUSE TestNew/Error_on_invalid_assets_db 207s === RUN TestNew/Error_on_assets_db_does_not_exists 207s === PAUSE TestNew/Error_on_assets_db_does_not_exists 207s === RUN TestNew/gpos_only 207s === PAUSE TestNew/gpos_only 207s === RUN TestNew/With_assets 207s === PAUSE TestNew/With_assets 207s === RUN TestNew/No_gpos 207s === PAUSE TestNew/No_gpos 207s === CONT TestDumpPolicies 207s --- PASS: TestCachePolicies (0.00s) 207s === CONT TestFormat/GPO_summary 207s === CONT TestFormat/GPO_with_rules 207s === CONT TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 207s === CONT TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 207s === CONT TestFormat/GPO_with_rules,_override_disabled_key 207s === CONT TestFormat/GPO_with_rules,_override_displayed 207s === CONT TestFormat/GPO_with_rules,_appending_to_existing_treated_key 207s === CONT TestFormat/GPO_with_rules,_override_hidden 207s === CONT TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 207s --- PASS: TestFormat (0.00s) 207s --- PASS: TestFormat/GPO_summary (0.00s) 207s --- PASS: TestFormat/GPO_with_rules (0.00s) 207s --- PASS: TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules (0.00s) 207s --- PASS: TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override (0.00s) 207s --- PASS: TestFormat/GPO_with_rules,_override_disabled_key (0.00s) 207s --- PASS: TestFormat/GPO_with_rules,_override_displayed (0.00s) 207s --- PASS: TestFormat/GPO_with_rules,_appending_to_existing_treated_key (0.00s) 207s --- PASS: TestFormat/GPO_with_rules,_override_hidden (0.00s) 207s --- PASS: TestFormat/GPO_with_rules_and_overrides,_no_rules_processed (0.00s) 207s === CONT TestSaveAssetsTo/Sub_directory_ending_with_slash 207s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 207s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 207s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 207s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 207s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 207s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 207s === RUN TestDumpPolicies/Error_on_missing_target_cache 207s === PAUSE TestDumpPolicies/Error_on_missing_target_cache 207s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 207s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 207s === RUN TestDumpPolicies/Same_GPO_Machine_and_User 207s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User 207s === RUN TestDumpPolicies/One_GPO_Machine 207s === PAUSE TestDumpPolicies/One_GPO_Machine 207s === RUN TestDumpPolicies/Multiple_GPOs 207s === PAUSE TestDumpPolicies/Multiple_GPOs 207s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 207s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 207s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 207s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 207s === RUN TestDumpPolicies/One_GPO_User 207s === PAUSE TestDumpPolicies/One_GPO_User 207s === RUN TestDumpPolicies/One_GPO_User_+_Machine 207s === PAUSE TestDumpPolicies/One_GPO_User_+_Machine 207s === RUN TestDumpPolicies/One_GPO_with_rules 207s === PAUSE TestDumpPolicies/One_GPO_with_rules 207s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 207s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 207s === RUN TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 207s === PAUSE TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 207s === RUN TestDumpPolicies/Machine_only_GPO_with_rules 207s === PAUSE TestDumpPolicies/Machine_only_GPO_with_rules 207s === CONT TestSaveAssetsTo/Error_on_dest_already_exists 207s === CONT TestSaveAssetsTo/Sub_directory 207s === CONT TestSaveAssetsTo/All 207s === CONT TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 207s === CONT TestSaveAssetsTo/Error_on_read_only_dest 207s === CONT TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 207s === CONT TestSaveAssetsTo/File 207s === CONT TestSaveAssetsTo/Error_on_empty_relSrc 207s === CONT TestSaveAssetsTo/Error_on_no_assets 207s === CONT TestSaveAssetsTo/Chown_directories_and_files_when_requested 207s === CONT TestSaveAssetsTo/Error_on_can't_chown_to_user 207s === CONT TestCompressAssets/No_db 207s === CONT TestCompressAssets/Error_on_non_existing_directory 207s === CONT TestCompressAssets/Error_on_can’t_remove_existing_db 207s --- PASS: TestSaveAssetsTo (0.00s) 207s --- PASS: TestSaveAssetsTo/Error_on_dest_already_exists (0.00s) 207s --- PASS: TestSaveAssetsTo/Sub_directory (0.00s) 207s --- PASS: TestSaveAssetsTo/Sub_directory_ending_with_slash (0.00s) 207s --- PASS: TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest (0.00s) 207s --- PASS: TestSaveAssetsTo/Error_on_read_only_dest (0.00s) 207s --- PASS: TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache (0.00s) 207s --- PASS: TestSaveAssetsTo/File (0.00s) 207s --- PASS: TestSaveAssetsTo/Error_on_empty_relSrc (0.00s) 207s --- PASS: TestSaveAssetsTo/Error_on_no_assets (0.00s) 207s --- PASS: TestSaveAssetsTo/All (0.01s) 207s --- PASS: TestSaveAssetsTo/Error_on_can't_chown_to_user (0.00s) 207s --- PASS: TestSaveAssetsTo/Chown_directories_and_files_when_requested (0.01s) 207s === CONT TestCompressAssets/Existing_db 207s === CONT TestNewFromCache/gpos_only 207s === CONT TestGetUniqueRules/Multiple_domains,_same_GPOs 207s === CONT TestSave/Destdir_does_not_exists 207s === CONT TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 207s === CONT TestGetUniqueRules/Multiple_domains,_different_GPOs 207s === CONT TestGetUniqueRules/One_GPO 207s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 207s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 207s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 207s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO 207s === CONT TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 207s === CONT TestGetUniqueRules/More_policies,_with_multiple_overrides 207s === CONT TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 207s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 207s === CONT TestGetUniqueRules/Two_policies,_with_reversed_overrides 207s === CONT TestGetUniqueRules/Two_policies,_with_overrides 207s === CONT TestGetUniqueRules/Order_key_ascii 207s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 207s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 207s === CONT TestGetUniqueRules/Disabled_value_is_overridden 207s === CONT TestGetUniqueRules/Two_policies,_no_overrides,_reversed 207s === CONT TestGetUniqueRules/Two_policies,_no_overrides 207s --- PASS: TestGetUniqueRules (0.00s) 207s --- PASS: TestGetUniqueRules/Multiple_domains,_same_GPOs (0.00s) 207s --- PASS: TestGetUniqueRules/Disabled_value_overrides_non_disabled_one (0.00s) 207s --- PASS: TestGetUniqueRules/Multiple_domains,_different_GPOs (0.00s) 207s --- PASS: TestGetUniqueRules/One_GPO (0.00s) 207s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored (0.00s) 207s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second (0.00s) 207s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first (0.00s) 207s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO (0.00s) 207s --- PASS: TestGetUniqueRules/Append_policy_entry,_closest_meta_wins (0.00s) 207s --- PASS: TestGetUniqueRules/More_policies,_with_multiple_overrides (0.00s) 207s --- PASS: TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated (0.00s) 207s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override (0.00s) 207s --- PASS: TestGetUniqueRules/Two_policies,_with_reversed_overrides (0.00s) 207s --- PASS: TestGetUniqueRules/Two_policies,_with_overrides (0.00s) 207s --- PASS: TestGetUniqueRules/Order_key_ascii (0.00s) 207s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs (0.00s) 207s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored (0.00s) 207s --- PASS: TestGetUniqueRules/Disabled_value_is_overridden (0.00s) 207s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides,_reversed (0.00s) 207s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides (0.00s) 207s === CONT TestSave/Save_assets_on_existing_opened_file_does_not_segfault 207s === CONT TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 207s === CONT TestSave/Existing_assets_cache_is_refreshed 207s --- PASS: TestCompressAssets (0.00s) 207s --- PASS: TestCompressAssets/Error_on_non_existing_directory (0.00s) 207s --- PASS: TestCompressAssets/Error_on_can’t_remove_existing_db (0.00s) 207s --- PASS: TestCompressAssets/No_db (0.01s) 207s --- PASS: TestCompressAssets/Existing_db (0.01s) 207s === CONT TestSave/Error_on_can’t_remove_existing_assets 207s === CONT TestSave/Error_on_can’t_write_to_dest_dir 207s === CONT TestSave/Can_refresh_on_existing_read_only_asset_file 207s === CONT TestSave/Existing_policies_cache_is_refreshed 207s === CONT TestSave/With_assets 207s === CONT TestSave/gpos_only 207s === CONT TestSave/Error_on_can’t_write_to_policies_base_dir 207s === CONT TestNewFromCache/Error_on_invalid_assets_db 207s === CONT TestNewFromCache/Error_on_no_policies_cache 207s --- PASS: TestSave (0.00s) 207s --- PASS: TestSave/Destdir_does_not_exists (0.00s) 207s --- PASS: TestSave/Save_assets_on_existing_opened_file_does_not_segfault (0.00s) 207s --- PASS: TestSave/Existing_cache_with_assets,_new_cache_with_no_assets (0.00s) 207s --- PASS: TestSave/Existing_assets_cache_is_refreshed (0.00s) 207s --- PASS: TestSave/Error_on_can’t_remove_existing_assets (0.00s) 207s --- PASS: TestSave/Error_on_can’t_write_to_dest_dir (0.00s) 207s --- PASS: TestSave/Can_refresh_on_existing_read_only_asset_file (0.00s) 207s --- PASS: TestSave/Existing_policies_cache_is_refreshed (0.00s) 207s --- PASS: TestSave/With_assets (0.00s) 207s --- PASS: TestSave/gpos_only (0.00s) 207s --- PASS: TestSave/Error_on_can’t_write_to_policies_base_dir (0.00s) 207s === CONT TestNewFromCache/Error_on_invalid_policies_cache 207s === CONT TestNewFromCache/With_assets 207s === CONT TestLastUpdateFor/Returns_machine's_last_update_time 207s --- PASS: TestNewFromCache (0.00s) 207s --- PASS: TestNewFromCache/gpos_only (0.00s) 207s --- PASS: TestNewFromCache/Error_on_invalid_assets_db (0.00s) 207s --- PASS: TestNewFromCache/Error_on_no_policies_cache (0.00s) 207s --- PASS: TestNewFromCache/Error_on_invalid_policies_cache (0.00s) 207s --- PASS: TestNewFromCache/With_assets (0.00s) 207s === CONT TestNew/Error_on_invalid_assets_db 207s === CONT TestLastUpdateFor/Error_when_target_does_not_exist 207s time="2025-06-17T13:55:04Z" level=info msg="Get policies last update time \"autopkgtest\" (machine: true)" 207s === CONT TestLastUpdateFor/Target_is_ignored_for_machine_request 207s time="2025-06-17T13:55:04Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: false)" 207s === CONT TestLastUpdateFor/Returns_user's_last_update_time 207s time="2025-06-17T13:55:04Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: true)" 207s === CONT TestNew/No_gpos 207s === CONT TestNew/With_assets 207s time="2025-06-17T13:55:04Z" level=info msg="Get policies last update time \"user\" (machine: false)" 207s --- PASS: TestLastUpdateFor (0.00s) 207s --- PASS: TestLastUpdateFor/Returns_machine's_last_update_time (0.10s) 207s --- PASS: TestLastUpdateFor/Error_when_target_does_not_exist (0.10s) 207s --- PASS: TestLastUpdateFor/Target_is_ignored_for_machine_request (0.10s) 207s --- PASS: TestLastUpdateFor/Returns_user's_last_update_time (0.10s) 207s === CONT TestNew/gpos_only 207s === CONT TestNew/Error_on_assets_db_does_not_exists 207s --- PASS: TestNew (0.00s) 207s --- PASS: TestNew/Error_on_invalid_assets_db (0.00s) 207s --- PASS: TestNew/No_gpos (0.00s) 207s --- PASS: TestNew/gpos_only (0.00s) 207s --- PASS: TestNew/With_assets (0.00s) 207s --- PASS: TestNew/Error_on_assets_db_does_not_exists (0.00s) 207s === CONT TestDumpPolicies/Machine_only_GPO_with_rules 207s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for autopkgtest" 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s === CONT TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 207s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s === CONT TestDumpPolicies/One_GPO_with_rules 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s === CONT TestDumpPolicies/One_GPO_User_+_Machine 207s === CONT TestDumpPolicies/One_GPO_User 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 207s === CONT TestDumpPolicies/Multiple_GPOs 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s === CONT TestDumpPolicies/One_GPO_Machine 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for autopkgtest" 207s === CONT TestDumpPolicies/Same_GPO_Machine_and_User 207s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s === CONT TestDumpPolicies/Error_on_missing_target_cache 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s time="2025-06-17T13:55:04Z" level=info msg="User \"user\" not found on cache." 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 207s time="2025-06-17T13:55:04Z" level=info msg="Dumping policies for user" 207s --- PASS: TestDumpPolicies (0.00s) 207s --- PASS: TestDumpPolicies/Machine_only_GPO_with_rules (0.00s) 207s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden (0.00s) 207s --- PASS: TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user (0.00s) 207s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden (0.00s) 207s --- PASS: TestDumpPolicies/One_GPO_with_rules (0.00s) 207s --- PASS: TestDumpPolicies/One_GPO_User_+_Machine (0.00s) 207s --- PASS: TestDumpPolicies/One_GPO_User (0.00s) 207s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules (0.00s) 207s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown (0.00s) 207s --- PASS: TestDumpPolicies/Multiple_GPOs (0.00s) 207s --- PASS: TestDumpPolicies/One_GPO_Machine (0.00s) 207s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User (0.00s) 207s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_no_override (0.00s) 207s --- PASS: TestDumpPolicies/Error_on_missing_target_cache (0.00s) 207s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides (0.00s) 207s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/policies 0.443s 207s === RUN TestApplyPolicy 207s === PAUSE TestApplyPolicy 207s === RUN TestMockApparmorParser 207s --- PASS: TestMockApparmorParser (0.00s) 207s === CONT TestApplyPolicy 207s === RUN TestApplyPolicy/Computer,_duplicated_profiles 207s === PAUSE TestApplyPolicy/Computer,_duplicated_profiles 207s === RUN TestApplyPolicy/Unexpected_entry_key 207s === PAUSE TestApplyPolicy/Unexpected_entry_key 207s === RUN TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 207s === PAUSE TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 207s === RUN TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 207s === PAUSE TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 207s === RUN TestApplyPolicy/User,_error_on_overwriting_profile_contents 207s === PAUSE TestApplyPolicy/User,_error_on_overwriting_profile_contents 207s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 207s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 207s === RUN TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 207s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 207s === RUN TestApplyPolicy/Error_on_read-only_.new_directory 207s === PAUSE TestApplyPolicy/Error_on_read-only_.new_directory 207s === RUN TestApplyPolicy/User,_valid_mapping 207s === PAUSE TestApplyPolicy/User,_valid_mapping 207s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 207s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 207s === RUN TestApplyPolicy/Error_on_absent_loaded_policies_file 207s === PAUSE TestApplyPolicy/Error_on_absent_loaded_policies_file 207s === RUN TestApplyPolicy/Error_on_read-only_machine_directory 207s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory 207s === RUN TestApplyPolicy/Computer,_one_profile 207s === PAUSE TestApplyPolicy/Computer,_one_profile 207s === RUN TestApplyPolicy/Computer,_multiple_profiles, 207s === PAUSE TestApplyPolicy/Computer,_multiple_profiles, 207s === RUN TestApplyPolicy/Computer,_whitespace-only_value 207s === PAUSE TestApplyPolicy/Computer,_whitespace-only_value 207s === RUN TestApplyPolicy/Computer,_previous_profiles_are_unloaded 207s === PAUSE TestApplyPolicy/Computer,_previous_profiles_are_unloaded 207s === RUN TestApplyPolicy/Computer,_user_policies_are_unloaded 207s === PAUSE TestApplyPolicy/Computer,_user_policies_are_unloaded 207s === RUN TestApplyPolicy/Existing_.new_directory_is_removed 207s === PAUSE TestApplyPolicy/Existing_.new_directory_is_removed 207s === RUN TestApplyPolicy/Existing_.old_directory_is_removed 207s === PAUSE TestApplyPolicy/Existing_.old_directory_is_removed 207s === RUN TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 207s === PAUSE TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 207s === RUN TestApplyPolicy/Error_on_profile_being_a_directory 207s === PAUSE TestApplyPolicy/Error_on_profile_being_a_directory 207s === RUN TestApplyPolicy/No_apparmor_parser_and_entries 207s === PAUSE TestApplyPolicy/No_apparmor_parser_and_entries 207s === RUN TestApplyPolicy/Error_on_loading_profiles_failing 207s === PAUSE TestApplyPolicy/Error_on_loading_profiles_failing 207s === RUN TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 207s === PAUSE TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 207s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 207s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 207s === RUN TestApplyPolicy/Computer,_only_blank_profiles 207s === PAUSE TestApplyPolicy/Computer,_only_blank_profiles 207s === RUN TestApplyPolicy/No_apparmor_parser_and_no_entries 207s === PAUSE TestApplyPolicy/No_apparmor_parser_and_no_entries 207s === RUN TestApplyPolicy/Error_on_unloading_all_profiles_failing 207s === PAUSE TestApplyPolicy/Error_on_unloading_all_profiles_failing 207s === RUN TestApplyPolicy/Computer,_profiles_with_whitespace 207s === PAUSE TestApplyPolicy/Computer,_profiles_with_whitespace 207s === RUN TestApplyPolicy/No_profiles,_apparmor_directory_absent 207s === PAUSE TestApplyPolicy/No_profiles,_apparmor_directory_absent 207s === RUN TestApplyPolicy/Error_on_absent_profile 207s === PAUSE TestApplyPolicy/Error_on_absent_profile 207s === RUN TestApplyPolicy/Error_on_read-only_.old_directory 207s === PAUSE TestApplyPolicy/Error_on_read-only_.old_directory 207s === RUN TestApplyPolicy/Error_on_read-only_root_directory_with_entries 207s === PAUSE TestApplyPolicy/Error_on_read-only_root_directory_with_entries 207s === RUN TestApplyPolicy/No_profiles,_existing_rules_are_removed 207s === PAUSE TestApplyPolicy/No_profiles,_existing_rules_are_removed 207s === RUN TestApplyPolicy/User,_valid_mapping,_unchanged_content 207s === PAUSE TestApplyPolicy/User,_valid_mapping,_unchanged_content 207s === RUN TestApplyPolicy/User,_error_on_save_assets_failing 207s === PAUSE TestApplyPolicy/User,_error_on_save_assets_failing 207s === RUN TestApplyPolicy/Read-only_root_directory_and_no_entries 207s === PAUSE TestApplyPolicy/Read-only_root_directory_and_no_entries 207s === RUN TestApplyPolicy/Error_on_removing_unused_assets_after_dump 207s === PAUSE TestApplyPolicy/Error_on_removing_unused_assets_after_dump 207s === RUN TestApplyPolicy/Computer,_blank_line_profiles 207s === PAUSE TestApplyPolicy/Computer,_blank_line_profiles 207s === RUN TestApplyPolicy/User,_no_machine_profiles 207s === PAUSE TestApplyPolicy/User,_no_machine_profiles 207s === RUN TestApplyPolicy/User,_error_on_empty_user_profile 207s === PAUSE TestApplyPolicy/User,_error_on_empty_user_profile 207s === RUN TestApplyPolicy/User,_error_on_multiple_profiles 207s === PAUSE TestApplyPolicy/User,_error_on_multiple_profiles 207s === RUN TestApplyPolicy/Error_on_unloading_old_profiles_failing 207s === PAUSE TestApplyPolicy/Error_on_unloading_old_profiles_failing 207s === RUN TestApplyPolicy/Error_on_file_as_a_directory 207s === PAUSE TestApplyPolicy/Error_on_file_as_a_directory 207s === CONT TestApplyPolicy/Computer,_duplicated_profiles 207s === CONT TestApplyPolicy/Error_on_loading_profiles_failing 207s === CONT TestApplyPolicy/Error_on_file_as_a_directory 207s === CONT TestApplyPolicy/Error_on_unloading_old_profiles_failing 207s === CONT TestApplyPolicy/User,_error_on_multiple_profiles 207s === CONT TestApplyPolicy/User,_error_on_empty_user_profile 207s === CONT TestApplyPolicy/User,_no_machine_profiles 207s time="2025-06-17T13:55:05Z" level=warning msg="No apparmor machine profiles configured for this machine, skipping reload" 207s === CONT TestApplyPolicy/Computer,_blank_line_profiles 207s === CONT TestApplyPolicy/Error_on_removing_unused_assets_after_dump 207s time="2025-06-17T13:55:05Z" level=warning msg="Couldn't remove new apparmor directory: unlinkat /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump4002427152/001/machine/pam_roles: permission denied" 207s time="2025-06-17T13:55:05Z" level=warning msg="Couldn't restore previous apparmor directory: rename /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump4002427152/001/machine.old /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump4002427152/001/machine: file exists" 207s === CONT TestApplyPolicy/Read-only_root_directory_and_no_entries 207s === CONT TestApplyPolicy/User,_error_on_save_assets_failing 207s === CONT TestApplyPolicy/User,_valid_mapping,_unchanged_content 207s === CONT TestApplyPolicy/No_profiles,_existing_rules_are_removed 207s === CONT TestApplyPolicy/Error_on_read-only_root_directory_with_entries 207s === CONT TestApplyPolicy/Error_on_read-only_.old_directory 207s === CONT TestApplyPolicy/Error_on_absent_profile 207s === CONT TestApplyPolicy/No_profiles,_apparmor_directory_absent 207s === CONT TestApplyPolicy/Computer,_profiles_with_whitespace 207s === CONT TestApplyPolicy/Error_on_unloading_all_profiles_failing 207s === CONT TestApplyPolicy/No_apparmor_parser_and_no_entries 207s time="2025-06-17T13:55:05Z" level=warning msg="Apparmor is not available on this system: exec: \"this-definitely-does-not-exist\": executable file not found in $PATH" 207s === CONT TestApplyPolicy/Computer,_only_blank_profiles 207s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 207s === CONT TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 207s === CONT TestApplyPolicy/Error_on_read-only_machine_directory 207s === CONT TestApplyPolicy/No_apparmor_parser_and_entries 207s === CONT TestApplyPolicy/Error_on_profile_being_a_directory 207s === CONT TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 207s === CONT TestApplyPolicy/Existing_.old_directory_is_removed 207s === CONT TestApplyPolicy/Existing_.new_directory_is_removed 207s === CONT TestApplyPolicy/Computer,_user_policies_are_unloaded 207s === CONT TestApplyPolicy/Computer,_previous_profiles_are_unloaded 207s === CONT TestApplyPolicy/Computer,_whitespace-only_value 207s === CONT TestApplyPolicy/Computer,_multiple_profiles, 207s === CONT TestApplyPolicy/Computer,_one_profile 207s === CONT TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 207s === CONT TestApplyPolicy/Error_on_absent_loaded_policies_file 207s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 207s === CONT TestApplyPolicy/User,_valid_mapping 207s === CONT TestApplyPolicy/Error_on_read-only_.new_directory 207s === CONT TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 207s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 207s === CONT TestApplyPolicy/User,_error_on_overwriting_profile_contents 207s === CONT TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 207s === CONT TestApplyPolicy/Unexpected_entry_key 207s --- PASS: TestApplyPolicy (0.00s) 207s --- PASS: TestApplyPolicy/Computer,_duplicated_profiles (0.02s) 207s --- PASS: TestApplyPolicy/Error_on_file_as_a_directory (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_loading_profiles_failing (0.02s) 207s --- PASS: TestApplyPolicy/User,_error_on_multiple_profiles (0.00s) 207s --- PASS: TestApplyPolicy/User,_error_on_empty_user_profile (0.00s) 207s --- PASS: TestApplyPolicy/User,_no_machine_profiles (0.00s) 207s --- PASS: TestApplyPolicy/Computer,_blank_line_profiles (0.02s) 207s --- PASS: TestApplyPolicy/Error_on_unloading_old_profiles_failing (0.03s) 207s --- PASS: TestApplyPolicy/Error_on_removing_unused_assets_after_dump (0.00s) 207s --- PASS: TestApplyPolicy/Read-only_root_directory_and_no_entries (0.00s) 207s --- PASS: TestApplyPolicy/User,_error_on_save_assets_failing (0.00s) 207s --- PASS: TestApplyPolicy/User,_valid_mapping,_unchanged_content (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_read-only_root_directory_with_entries (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_read-only_.old_directory (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_absent_profile (0.00s) 207s --- PASS: TestApplyPolicy/No_profiles,_apparmor_directory_absent (0.00s) 207s --- PASS: TestApplyPolicy/No_profiles,_existing_rules_are_removed (0.02s) 207s --- PASS: TestApplyPolicy/Computer,_profiles_with_whitespace (0.02s) 207s --- PASS: TestApplyPolicy/No_apparmor_parser_and_no_entries (0.00s) 207s --- PASS: TestApplyPolicy/Computer,_only_blank_profiles (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_unloading_all_profiles_failing (0.02s) 207s --- PASS: TestApplyPolicy/Error_on_preprocessing_new_profiles_failing (0.01s) 207s --- PASS: TestApplyPolicy/No_apparmor_parser_and_entries (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_profile_being_a_directory (0.00s) 207s --- PASS: TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted (0.00s) 207s --- PASS: TestApplyPolicy/Existing_.old_directory_is_removed (0.02s) 207s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory (0.03s) 207s --- PASS: TestApplyPolicy/Existing_.new_directory_is_removed (0.02s) 207s --- PASS: TestApplyPolicy/Computer,_user_policies_are_unloaded (0.02s) 207s --- PASS: TestApplyPolicy/Computer,_whitespace-only_value (0.00s) 207s --- PASS: TestApplyPolicy/Computer,_multiple_profiles, (0.02s) 207s --- PASS: TestApplyPolicy/Computer,_previous_profiles_are_unloaded (0.03s) 207s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries (0.01s) 207s --- PASS: TestApplyPolicy/Error_on_absent_loaded_policies_file (0.00s) 207s --- PASS: TestApplyPolicy/Computer,_one_profile (0.02s) 207s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous (0.01s) 207s --- PASS: TestApplyPolicy/User,_valid_mapping (0.01s) 207s --- PASS: TestApplyPolicy/Error_on_read-only_.new_directory (0.00s) 207s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous (0.01s) 207s --- PASS: TestApplyPolicy/User,_error_on_overwriting_profile_contents (0.00s) 207s --- PASS: TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded (0.02s) 207s --- PASS: TestApplyPolicy/Unexpected_entry_key (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_preprocessing_old_profiles_failing (0.01s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/policies/apparmor 0.221s 207s === RUN TestCertAutoenrollScript 207s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled 207s === RUN TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration 207s === RUN TestCertAutoenrollScript/Unenroll 207s === RUN TestCertAutoenrollScript/Error_on_invalid_flags 207s === RUN TestCertAutoenrollScript/Error_on_read-only_path 207s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration 207s === RUN TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration 207s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON 207s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_structure 207s === RUN TestCertAutoenrollScript/Error_on_enroll_failure 207s === RUN TestCertAutoenrollScript/Error_on_unenroll_failure 207s === RUN TestCertAutoenrollScript/Enroll_with_certmonger_not_installed 207s === RUN TestCertAutoenrollScript/Enroll_with_cepces_not_installed 207s === RUN TestCertAutoenrollScript/Error_on_missing_arguments 207s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_keys 207s --- PASS: TestCertAutoenrollScript (1.35s) 207s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled (0.06s) 207s --- PASS: TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration (0.05s) 207s --- PASS: TestCertAutoenrollScript/Unenroll (0.06s) 207s --- PASS: TestCertAutoenrollScript/Error_on_invalid_flags (0.05s) 207s --- PASS: TestCertAutoenrollScript/Error_on_read-only_path (0.14s) 207s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration (0.05s) 207s --- PASS: TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration (0.06s) 207s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON (0.13s) 207s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_structure (0.14s) 207s --- PASS: TestCertAutoenrollScript/Error_on_enroll_failure (0.16s) 207s --- PASS: TestCertAutoenrollScript/Error_on_unenroll_failure (0.16s) 207s --- PASS: TestCertAutoenrollScript/Enroll_with_certmonger_not_installed (0.05s) 207s --- PASS: TestCertAutoenrollScript/Enroll_with_cepces_not_installed (0.06s) 207s --- PASS: TestCertAutoenrollScript/Error_on_missing_arguments (0.06s) 207s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_keys (0.14s) 207s === RUN TestApplyPolicy 207s === RUN TestApplyPolicy/Computer,_no_entries,_Samba_cache_present 207s time="2025-06-17T13:55:07Z" level=info msg="Certificate autoenrollment script ran successfully\n" 207s === RUN TestApplyPolicy/Computer,_autoenroll_disabled 207s === RUN TestApplyPolicy/User,_autoenroll_not_supported 207s === RUN TestApplyPolicy/Error_on_autoenroll_script_failure 207s === RUN TestApplyPolicy/Error_on_invalid_autoenroll_value 207s === RUN TestApplyPolicy/Computer,_no_entries 207s === RUN TestApplyPolicy/Computer,_configured_to_enroll 207s time="2025-06-17T13:55:07Z" level=info msg="Certificate autoenrollment script ran successfully\n" 207s === RUN TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration 207s time="2025-06-17T13:55:07Z" level=info msg="Certificate autoenrollment script ran successfully\n" 207s === RUN TestApplyPolicy/Computer,_configured_to_unenroll 207s time="2025-06-17T13:55:07Z" level=info msg="Certificate autoenrollment script ran successfully\n" 207s === RUN TestApplyPolicy/Error_on_invalid_advanced_configuration_value 207s === RUN TestApplyPolicy/Computer,_domain_is_offline 207s --- PASS: TestApplyPolicy (0.03s) 207s --- PASS: TestApplyPolicy/Computer,_no_entries,_Samba_cache_present (0.01s) 207s --- PASS: TestApplyPolicy/Computer,_autoenroll_disabled (0.00s) 207s --- PASS: TestApplyPolicy/User,_autoenroll_not_supported (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_autoenroll_script_failure (0.01s) 207s --- PASS: TestApplyPolicy/Error_on_invalid_autoenroll_value (0.00s) 207s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 207s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll (0.01s) 207s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration (0.01s) 207s --- PASS: TestApplyPolicy/Computer,_configured_to_unenroll (0.00s) 207s --- PASS: TestApplyPolicy/Error_on_invalid_advanced_configuration_value (0.00s) 207s --- PASS: TestApplyPolicy/Computer,_domain_is_offline (0.00s) 207s === RUN TestMockAutoenrollScript 207s --- PASS: TestMockAutoenrollScript (0.00s) 207s PASS 207s ok github.com/ubuntu/adsys/internal/policies/certificate 1.406s 207s ? github.com/ubuntu/adsys/internal/policies/entry [no test files] 208s === RUN TestNormalize 208s === PAUSE TestNormalize 208s === RUN TestApplyPolicy 208s === PAUSE TestApplyPolicy 208s === CONT TestNormalize 208s === RUN TestNormalize/ai_with_spaces_inside 208s === PAUSE TestNormalize/ai_with_spaces_inside 208s === RUN TestNormalize/ai_without_ending_] 208s === PAUSE TestNormalize/ai_without_ending_] 208s === RUN TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 208s === PAUSE TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 208s === CONT TestApplyPolicy 208s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_as 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_as 208s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 208s === RUN TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 208s === PAUSE TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 208s === RUN TestApplyPolicy/No_update_when_no_change 208s === PAUSE TestApplyPolicy/No_update_when_no_change 208s === RUN TestApplyPolicy/Quoted_b 208s === PAUSE TestApplyPolicy/Quoted_b 208s === RUN TestApplyPolicy/Multi-lines_ai_mixed_with_comma 208s === PAUSE TestApplyPolicy/Multi-lines_ai_mixed_with_comma 208s === RUN TestApplyPolicy/Do_not_interfere_with_other_user_profile 208s === PAUSE TestApplyPolicy/Do_not_interfere_with_other_user_profile 208s === RUN TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 208s === PAUSE TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 208s === RUN TestApplyPolicy/Update_machine_disabled_key_with_value 208s === PAUSE TestApplyPolicy/Update_machine_disabled_key_with_value 208s === RUN TestApplyPolicy/Multiple_keys_same_category 208s === PAUSE TestApplyPolicy/Multiple_keys_same_category 208s === RUN TestApplyPolicy/Machine_updates_with_different_value 208s === PAUSE TestApplyPolicy/Machine_updates_with_different_value 208s === RUN TestApplyPolicy/Multi-lines_as_mixed_with_comma 208s === PAUSE TestApplyPolicy/Multi-lines_as_mixed_with_comma 208s === RUN TestApplyPolicy/Multiple_sections 208s === PAUSE TestApplyPolicy/Multiple_sections 208s === RUN TestApplyPolicy/Multiple_sections_with_disabled_keys 208s === PAUSE TestApplyPolicy/Multiple_sections_with_disabled_keys 208s === RUN TestApplyPolicy/Error_when_machine_db_does_not_exist 208s === PAUSE TestApplyPolicy/Error_when_machine_db_does_not_exist 208s === RUN TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 208s === PAUSE TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 208s === RUN TestApplyPolicy/User_updates_existing_value 208s === PAUSE TestApplyPolicy/User_updates_existing_value 208s === RUN TestApplyPolicy/Update_user_disabled_key_with_value 208s === PAUSE TestApplyPolicy/Update_user_disabled_key_with_value 208s === RUN TestApplyPolicy/User_updates_key_is_now_disabled 208s === PAUSE TestApplyPolicy/User_updates_key_is_now_disabled 208s === RUN TestApplyPolicy/Machine_updates_key_is_now_disabled 208s === PAUSE TestApplyPolicy/Machine_updates_key_is_now_disabled 208s === RUN TestApplyPolicy/No_surrounding_brackets_ai 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_ai 208s === RUN TestNormalize/empty_quoted_string 208s === PAUSE TestNormalize/empty_quoted_string 208s === RUN TestNormalize/one_escaped_quote 208s === PAUSE TestNormalize/one_escaped_quote 208s === RUN TestNormalize/string_with_multiple_backslashes_escaped_quotes 208s === PAUSE TestNormalize/string_with_multiple_backslashes_escaped_quotes 208s === RUN TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 208s === PAUSE TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 208s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 208s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 208s === RUN TestApplyPolicy/No_surrounding_brackets_multiple_ai 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_multiple_ai 208s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === RUN TestNormalize/unmanaged_types_are_returned_as_is 208s === PAUSE TestNormalize/unmanaged_types_are_returned_as_is 208s === RUN TestNormalize/weird_case_false 208s === PAUSE TestNormalize/weird_case_false 208s === RUN TestNormalize/as_with_spaces_inside 208s === PAUSE TestNormalize/as_with_spaces_inside 208s === RUN TestNormalize/as_without_leading_[ 208s === PAUSE TestNormalize/as_without_leading_[ 208s === RUN TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 208s === PAUSE TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 208s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 208s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 208s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and__[] 208s === RUN TestApplyPolicy/Do_not_update_other_files_from_db 208s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and__[] 208s === RUN TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 208s === PAUSE TestApplyPolicy/Do_not_update_other_files_from_db 208s === RUN TestApplyPolicy/No_policy_still_generates_a_valid_db 208s === PAUSE TestApplyPolicy/No_policy_still_generates_a_valid_db 208s === RUN TestApplyPolicy/New_user 208s === PAUSE TestApplyPolicy/New_user 208s === RUN TestApplyPolicy/User_updates_with_different_value 208s === PAUSE TestApplyPolicy/User_updates_with_different_value 208s === RUN TestApplyPolicy/Missing_user_compiled_db_for_user 208s === PAUSE TestApplyPolicy/Missing_user_compiled_db_for_user 208s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 208s === RUN TestApplyPolicy/Multi-lines_ai 208s === PAUSE TestApplyPolicy/Multi-lines_ai 208s === RUN TestApplyPolicy/Error_on_invalid_ai 208s === PAUSE TestApplyPolicy/Error_on_invalid_ai 208s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 208s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 208s === RUN TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 208s === PAUSE TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 208s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_machine 208s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_machine 208s === RUN TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 208s === PAUSE TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 208s === RUN TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 208s === PAUSE TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 208s === RUN TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 208s === PAUSE TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 208s === RUN TestApplyPolicy/Error_on_invalid_type 208s === PAUSE TestApplyPolicy/Error_on_invalid_type 208s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 208s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 208s === RUN TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 208s === PAUSE TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 208s === RUN TestApplyPolicy/First_boot 208s === PAUSE TestApplyPolicy/First_boot 208s === RUN TestApplyPolicy/Unquoted_string 208s === PAUSE TestApplyPolicy/Unquoted_string 208s === RUN TestApplyPolicy/Quoted_i 208s === PAUSE TestApplyPolicy/Quoted_i 208s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_as 208s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_as 208s === RUN TestApplyPolicy/Multi-lines_as 208s === PAUSE TestApplyPolicy/Multi-lines_as 208s === RUN TestApplyPolicy/Error_on_empty_meta 208s === PAUSE TestApplyPolicy/Error_on_empty_meta 208s === RUN TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 208s === PAUSE TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 208s === RUN TestApplyPolicy/Machine_updates_existing_value 208s === PAUSE TestApplyPolicy/Machine_updates_existing_value 208s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_user 208s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_user 208s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_as 208s === PAUSE TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 208s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 208s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 208s === RUN TestNormalize/simple_ai 208s === PAUSE TestNormalize/simple_ai 208s === RUN TestNormalize/simple_ai_with_no_spaces 208s === PAUSE TestNormalize/simple_ai_with_no_spaces 208s === RUN TestNormalize/ai_empty_elements_separated_with_commas_are_kept 208s === PAUSE TestNormalize/ai_empty_elements_separated_with_commas_are_kept 208s === RUN TestNormalize/one_quote 208s === PAUSE TestNormalize/one_quote 208s === RUN TestNormalize/no_transformed_to_boolean 208s === PAUSE TestNormalize/no_transformed_to_boolean 208s === RUN TestNormalize/simple_quoted_as 208s === PAUSE TestNormalize/simple_quoted_as 208s === RUN TestNormalize/Multi-lines_as_quoted 208s === PAUSE TestNormalize/Multi-lines_as_quoted 208s === RUN TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 208s === PAUSE TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 208s === RUN TestNormalize/Multi-lines_as_unquoted 208s === PAUSE TestNormalize/Multi-lines_as_unquoted 208s === RUN TestNormalize/Multi-lines_as_with_quoted_','_is_supported 208s === PAUSE TestNormalize/Multi-lines_as_with_quoted_','_is_supported 208s === RUN TestNormalize/ai_without_leading_[ 208s === PAUSE TestNormalize/ai_without_leading_[ 208s === RUN TestNormalize/simple_boolean_true 208s === PAUSE TestNormalize/simple_boolean_true 208s === RUN TestNormalize/weird_case_true 208s === PAUSE TestNormalize/weird_case_true 208s === RUN TestNormalize/simple_unquoted_as 208s === PAUSE TestNormalize/simple_unquoted_as 208s === RUN TestNormalize/as_with_leading_and_ending_spaces_and__[] 208s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and__[] 208s === RUN TestNormalize/as_with_weird_composition_inception_will_be_quoted 208s === PAUSE TestNormalize/as_with_weird_composition_inception_will_be_quoted 208s === RUN TestNormalize/unquoted_string_with_quotes 208s === PAUSE TestNormalize/unquoted_string_with_quotes 208s === RUN TestNormalize/on_transformed_to_boolean 208s === PAUSE TestNormalize/on_transformed_to_boolean 208s === RUN TestNormalize/n_transformed_to_boolean 208s === PAUSE TestNormalize/n_transformed_to_boolean 208s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 208s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 208s === RUN TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 208s === PAUSE TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 208s === RUN TestNormalize/Multi-lines_ai_with_spaces_inside 208s === PAUSE TestNormalize/Multi-lines_ai_with_spaces_inside 208s === RUN TestNormalize/simple_unquoted_string 208s === PAUSE TestNormalize/simple_unquoted_string 208s === RUN TestNormalize/quoted_string_with_quotes 208s === PAUSE TestNormalize/quoted_string_with_quotes 208s === RUN TestNormalize/simple_boolean_false 208s === PAUSE TestNormalize/simple_boolean_false 208s === RUN TestNormalize/off_transformed_to_boolean 208s === PAUSE TestNormalize/off_transformed_to_boolean 208s === RUN TestNormalize/non_supported_is_reported_as_is 208s === PAUSE TestNormalize/non_supported_is_reported_as_is 208s === RUN TestNormalize/as_empty_elements_separated_with_commas_are_kept 208s === PAUSE TestNormalize/as_empty_elements_separated_with_commas_are_kept 208s === RUN TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 208s === PAUSE TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 208s === RUN TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 208s === PAUSE TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 208s === RUN TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 208s === PAUSE TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 208s === RUN TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 208s === PAUSE TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 208s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === RUN TestNormalize/string_with_escaped_quotes 208s === PAUSE TestNormalize/string_with_escaped_quotes 208s === RUN TestNormalize/string_with_two_backslashes_don’t_escape_quotes 208s === PAUSE TestNormalize/string_with_two_backslashes_don’t_escape_quotes 208s === RUN TestNormalize/yes_transformed_to_boolean 208s === PAUSE TestNormalize/yes_transformed_to_boolean 208s === RUN TestNormalize/as_simple_quoted_as_with_spaces 208s === PAUSE TestNormalize/as_simple_quoted_as_with_spaces 208s === RUN TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 208s === PAUSE TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 208s === RUN TestNormalize/Multi-lines_ai 208s === PAUSE TestNormalize/Multi-lines_ai 208s === RUN TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 208s === PAUSE TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 208s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 208s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 208s === RUN TestNormalize/simple_quoted_string 208s === PAUSE TestNormalize/simple_quoted_string 208s === RUN TestNormalize/with_spaces 208s === PAUSE TestNormalize/with_spaces 208s === RUN TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 208s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 208s === RUN TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 208s === PAUSE TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 208s === RUN TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 208s === PAUSE TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 208s === RUN TestNormalize/empty_unquoted_string 208s === PAUSE TestNormalize/empty_unquoted_string 208s === RUN TestNormalize/Multi-lines_as_with_explicit_empty_element 208s === PAUSE TestNormalize/Multi-lines_as_with_explicit_empty_element 208s === RUN TestNormalize/y_transformed_to_boolean 208s === PAUSE TestNormalize/y_transformed_to_boolean 208s === RUN TestNormalize/simple_as_with_no_spaces 208s === PAUSE TestNormalize/simple_as_with_no_spaces 208s === RUN TestNormalize/as_without_ending_] 208s === PAUSE TestNormalize/as_without_ending_] 208s === RUN TestNormalize/Multi-lines_as_with_spaces_inside 208s === PAUSE TestNormalize/Multi-lines_as_with_spaces_inside 208s === CONT TestNormalize/ai_with_spaces_inside 208s === CONT TestNormalize/Multi-lines_as_with_spaces_inside 208s === CONT TestNormalize/as_without_ending_] 208s === CONT TestNormalize/simple_as_with_no_spaces 208s === CONT TestNormalize/y_transformed_to_boolean 208s === CONT TestNormalize/Multi-lines_as_with_explicit_empty_element 208s === CONT TestNormalize/empty_unquoted_string 208s === CONT TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 208s === CONT TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 208s === CONT TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 208s === CONT TestNormalize/with_spaces 208s === CONT TestNormalize/simple_quoted_string 208s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 208s === CONT TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 208s === CONT TestNormalize/Multi-lines_ai 208s === CONT TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 208s === CONT TestNormalize/as_simple_quoted_as_with_spaces 208s === CONT TestNormalize/yes_transformed_to_boolean 208s === CONT TestNormalize/string_with_two_backslashes_don’t_escape_quotes 208s === CONT TestNormalize/string_with_escaped_quotes 208s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === CONT TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 208s === CONT TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 208s === CONT TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 208s === CONT TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 208s === CONT TestNormalize/as_empty_elements_separated_with_commas_are_kept 208s === CONT TestNormalize/non_supported_is_reported_as_is 208s === CONT TestNormalize/off_transformed_to_boolean 208s === CONT TestNormalize/simple_boolean_false 208s === CONT TestNormalize/quoted_string_with_quotes 208s === CONT TestNormalize/simple_unquoted_string 208s === CONT TestNormalize/Multi-lines_ai_with_spaces_inside 208s === CONT TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 208s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 208s === CONT TestNormalize/n_transformed_to_boolean 208s === CONT TestNormalize/on_transformed_to_boolean 208s === CONT TestNormalize/unquoted_string_with_quotes 208s === CONT TestNormalize/as_with_weird_composition_inception_will_be_quoted 208s === CONT TestNormalize/as_with_leading_and_ending_spaces_and__[] 208s === CONT TestNormalize/simple_unquoted_as 208s === CONT TestNormalize/weird_case_true 208s === CONT TestNormalize/simple_boolean_true 208s === CONT TestNormalize/ai_without_leading_[ 208s === CONT TestNormalize/Multi-lines_as_with_quoted_','_is_supported 208s === CONT TestNormalize/Multi-lines_as_unquoted 208s === CONT TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 208s === CONT TestNormalize/Multi-lines_as_quoted 208s === CONT TestNormalize/simple_quoted_as 208s === CONT TestNormalize/no_transformed_to_boolean 208s === CONT TestNormalize/one_quote 208s === CONT TestNormalize/ai_empty_elements_separated_with_commas_are_kept 208s === CONT TestNormalize/simple_ai_with_no_spaces 208s === CONT TestNormalize/simple_ai 208s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 208s === CONT TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 208s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and__[] 208s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 208s === CONT TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 208s === CONT TestNormalize/as_without_leading_[ 208s === CONT TestNormalize/as_with_spaces_inside 208s === CONT TestNormalize/weird_case_false 208s === CONT TestNormalize/unmanaged_types_are_returned_as_is 208s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 208s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 208s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 208s === CONT TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 208s === CONT TestNormalize/string_with_multiple_backslashes_escaped_quotes 208s === CONT TestNormalize/one_escaped_quote 208s === CONT TestNormalize/empty_quoted_string 208s === CONT TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 208s === CONT TestNormalize/ai_without_ending_] 208s --- PASS: TestNormalize (0.00s) 208s --- PASS: TestNormalize/ai_with_spaces_inside (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_spaces_inside (0.00s) 208s --- PASS: TestNormalize/as_without_ending_] (0.00s) 208s --- PASS: TestNormalize/simple_as_with_no_spaces (0.00s) 208s --- PASS: TestNormalize/y_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_explicit_empty_element (0.00s) 208s --- PASS: TestNormalize/empty_unquoted_string (0.00s) 208s --- PASS: TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result (0.00s) 208s --- PASS: TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string (0.00s) 208s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and_no_[] (0.00s) 208s --- PASS: TestNormalize/with_spaces (0.00s) 208s --- PASS: TestNormalize/simple_quoted_string (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai (0.00s) 208s --- PASS: TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result (0.00s) 208s --- PASS: TestNormalize/as_simple_quoted_as_with_spaces (0.00s) 208s --- PASS: TestNormalize/yes_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/string_with_two_backslashes_don’t_escape_quotes (0.00s) 208s --- PASS: TestNormalize/string_with_escaped_quotes (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element (0.00s) 208s --- PASS: TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result (0.00s) 208s --- PASS: TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result (0.00s) 208s --- PASS: TestNormalize/as_empty_elements_separated_with_commas_are_kept (0.00s) 208s --- PASS: TestNormalize/non_supported_is_reported_as_is (0.00s) 208s --- PASS: TestNormalize/off_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/simple_boolean_false (0.00s) 208s --- PASS: TestNormalize/quoted_string_with_quotes (0.00s) 208s --- PASS: TestNormalize/simple_unquoted_string (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_spaces_inside (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_quoted (0.00s) 208s --- PASS: TestNormalize/n_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/on_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/unquoted_string_with_quotes (0.00s) 208s --- PASS: TestNormalize/as_with_weird_composition_inception_will_be_quoted (0.00s) 208s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and__[] (0.00s) 208s --- PASS: TestNormalize/simple_unquoted_as (0.00s) 208s --- PASS: TestNormalize/weird_case_true (0.00s) 208s --- PASS: TestNormalize/simple_boolean_true (0.00s) 208s --- PASS: TestNormalize/ai_without_leading_[ (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_quoted_','_is_supported (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_unquoted (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_quoted (0.00s) 208s --- PASS: TestNormalize/simple_quoted_as (0.00s) 208s --- PASS: TestNormalize/no_transformed_to_boolean (0.00s) 208s --- PASS: TestNormalize/one_quote (0.00s) 208s --- PASS: TestNormalize/ai_empty_elements_separated_with_commas_are_kept (0.00s) 208s --- PASS: TestNormalize/simple_ai_with_no_spaces (0.00s) 208s --- PASS: TestNormalize/simple_ai (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets (0.00s) 208s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and__[] (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted (0.00s) 208s --- PASS: TestNormalize/as_partially_quoted_can_lead_to_unexpect_result (0.00s) 208s --- PASS: TestNormalize/as_without_leading_[ (0.00s) 208s --- PASS: TestNormalize/as_with_spaces_inside (0.00s) 208s --- PASS: TestNormalize/weird_case_false (0.00s) 208s --- PASS: TestNormalize/unmanaged_types_are_returned_as_is (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 208s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 208s --- PASS: TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets (0.00s) 208s --- PASS: TestNormalize/string_with_multiple_backslashes_escaped_quotes (0.00s) 208s --- PASS: TestNormalize/one_escaped_quote (0.00s) 208s --- PASS: TestNormalize/empty_quoted_string (0.00s) 208s --- PASS: TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split (0.00s) 208s --- PASS: TestNormalize/ai_without_ending_] (0.00s) 208s === CONT TestApplyPolicy/New_user 208s === CONT TestApplyPolicy/No_policy_still_generates_a_valid_db 208s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_user 208s === CONT TestApplyPolicy/Machine_updates_existing_value 208s === CONT TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 208s === CONT TestApplyPolicy/Error_on_empty_meta 208s === CONT TestApplyPolicy/Multi-lines_as 208s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_as 208s === CONT TestApplyPolicy/Quoted_i 208s === CONT TestApplyPolicy/Unquoted_string 208s === CONT TestApplyPolicy/First_boot 208s === CONT TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 208s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 208s === CONT TestApplyPolicy/Error_on_invalid_type 208s === CONT TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 208s === CONT TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 208s === CONT TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 208s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_machine 208s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 208s === CONT TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 208s === CONT TestApplyPolicy/Error_on_invalid_ai 208s === CONT TestApplyPolicy/Multi-lines_ai 208s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 208s === CONT TestApplyPolicy/Missing_user_compiled_db_for_user 208s === CONT TestApplyPolicy/User_updates_with_different_value 208s === CONT TestApplyPolicy/Multiple_sections 208s === CONT TestApplyPolicy/Do_not_update_other_files_from_db 208s === CONT TestApplyPolicy/No_surrounding_brackets_multiple_ai 208s === CONT TestApplyPolicy/No_surrounding_brackets_ai 208s === CONT TestApplyPolicy/Machine_updates_key_is_now_disabled 208s === CONT TestApplyPolicy/User_updates_key_is_now_disabled 208s === CONT TestApplyPolicy/Update_user_disabled_key_with_value 208s === CONT TestApplyPolicy/User_updates_existing_value 208s === CONT TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 208s === CONT TestApplyPolicy/Error_when_machine_db_does_not_exist 208s === CONT TestApplyPolicy/Multiple_sections_with_disabled_keys 208s === CONT TestApplyPolicy/Do_not_interfere_with_other_user_profile 208s === CONT TestApplyPolicy/Multi-lines_as_mixed_with_comma 208s === CONT TestApplyPolicy/Machine_updates_with_different_value 208s === CONT TestApplyPolicy/Multiple_keys_same_category 208s === CONT TestApplyPolicy/Update_machine_disabled_key_with_value 208s === CONT TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 208s === CONT TestApplyPolicy/No_update_when_no_change 208s === CONT TestApplyPolicy/Multi-lines_ai_mixed_with_comma 208s === CONT TestApplyPolicy/Quoted_b 208s === CONT TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 208s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 208s --- PASS: TestApplyPolicy (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_as (0.01s) 208s --- PASS: TestApplyPolicy/New_user (0.00s) 208s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_user (0.00s) 208s --- PASS: TestApplyPolicy/No_policy_still_generates_a_valid_db (0.00s) 208s --- PASS: TestApplyPolicy/Machine_updates_existing_value (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_empty_meta (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed (0.00s) 208s --- PASS: TestApplyPolicy/Multi-lines_as (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_as (0.00s) 208s --- PASS: TestApplyPolicy/Quoted_i (0.00s) 208s --- PASS: TestApplyPolicy/Unquoted_string (0.00s) 208s --- PASS: TestApplyPolicy/First_boot (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db_append_them (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_invalid_type (0.00s) 208s --- PASS: TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values (0.00s) 208s --- PASS: TestApplyPolicy/Normalized_canonical_form_for_each_supported_key (0.00s) 208s --- PASS: TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections (0.00s) 208s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_machine (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed (0.00s) 208s --- PASS: TestApplyPolicy/Error_on_invalid_ai (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions (0.00s) 208s --- PASS: TestApplyPolicy/Multi-lines_ai (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as (0.00s) 208s --- PASS: TestApplyPolicy/User_updates_with_different_value (0.00s) 208s --- PASS: TestApplyPolicy/Missing_user_compiled_db_for_user (0.00s) 208s --- PASS: TestApplyPolicy/Multiple_sections (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_multiple_ai (0.00s) 208s --- PASS: TestApplyPolicy/Do_not_update_other_files_from_db (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_ai (0.00s) 208s --- PASS: TestApplyPolicy/Machine_updates_key_is_now_disabled (0.00s) 208s --- PASS: TestApplyPolicy/User_updates_key_is_now_disabled (0.00s) 208s --- PASS: TestApplyPolicy/User_updates_existing_value (0.00s) 208s --- PASS: TestApplyPolicy/Update_user_disabled_key_with_value (0.00s) 208s --- PASS: TestApplyPolicy/Error_when_machine_db_does_not_exist (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition (0.00s) 208s --- PASS: TestApplyPolicy/Multiple_sections_with_disabled_keys (0.00s) 208s --- PASS: TestApplyPolicy/Multi-lines_as_mixed_with_comma (0.00s) 208s --- PASS: TestApplyPolicy/Machine_updates_with_different_value (0.00s) 208s --- PASS: TestApplyPolicy/Do_not_interfere_with_other_user_profile (0.01s) 208s --- PASS: TestApplyPolicy/Multiple_keys_same_category (0.00s) 208s --- PASS: TestApplyPolicy/Update_machine_disabled_key_with_value (0.00s) 208s --- PASS: TestApplyPolicy/Update_existing_correct_profile_stays_unchanged (0.00s) 208s --- PASS: TestApplyPolicy/Multi-lines_ai_mixed_with_comma (0.00s) 208s --- PASS: TestApplyPolicy/No_update_when_no_change (0.01s) 208s --- PASS: TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type (0.00s) 208s --- PASS: TestApplyPolicy/Quoted_b (0.00s) 208s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/policies/dconf 0.117s 208s === RUN TestApplyPolicy 208s === PAUSE TestApplyPolicy 208s === CONT TestApplyPolicy 208s === RUN TestApplyPolicy/dconf_policy 208s === PAUSE TestApplyPolicy/dconf_policy 208s === CONT TestApplyPolicy/dconf_policy 208s --- PASS: TestApplyPolicy (0.00s) 208s --- PASS: TestApplyPolicy/dconf_policy (0.00s) 208s PASS 208s ok github.com/ubuntu/adsys/internal/policies/gdm 0.029s 211s === RUN TestParseEntryValues 211s === PAUSE TestParseEntryValues 211s === RUN TestWriteFileWithUIDGID 211s === PAUSE TestWriteFileWithUIDGID 211s === RUN TestCreateUnits 211s === PAUSE TestCreateUnits 211s === RUN TestNew 211s === PAUSE TestNew 211s === RUN TestApplyPolicy 211s === PAUSE TestApplyPolicy 211s === CONT TestParseEntryValues 211s === RUN TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 211s === PAUSE TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 211s === RUN TestParseEntryValues/Parse_values_from_entry_with_one_value 211s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_one_value 211s === RUN TestParseEntryValues/Parse_values_from_entry_with_multiple_values 211s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_multiple_values 211s === RUN TestParseEntryValues/Parse_values_from_entry_with_repeated_values 211s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_repeated_values 211s === RUN TestParseEntryValues/Parse_values_trimming_whitespaces 211s === PAUSE TestParseEntryValues/Parse_values_trimming_whitespaces 211s === RUN TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 211s === PAUSE TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 211s === RUN TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 211s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 211s === RUN TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 211s === PAUSE TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 211s === CONT TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 211s === CONT TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 211s === CONT TestApplyPolicy 211s === CONT TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 211s === CONT TestParseEntryValues/Parse_values_trimming_whitespaces 211s === CONT TestParseEntryValues/Parse_values_from_entry_with_repeated_values 211s === CONT TestParseEntryValues/Parse_values_from_entry_with_multiple_values 211s === CONT TestParseEntryValues/Parse_values_from_entry_with_one_value 211s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 211s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 211s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 211s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 211s === RUN TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 211s === PAUSE TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 211s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 211s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 211s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 211s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 211s === RUN TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 211s === PAUSE TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 211s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 211s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 211s === RUN TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 211s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 211s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 211s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 211s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 211s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 211s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 211s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 211s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 211s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 211s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 211s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 211s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 211s === CONT TestNew 211s === RUN TestNew/Creates_manager_successfully 211s === PAUSE TestNew/Creates_manager_successfully 211s === RUN TestNew/Error_when_runDir_has_invalid_permissions 211s === PAUSE TestNew/Error_when_runDir_has_invalid_permissions 211s === RUN TestNew/Error_when_systemUnitDir_has_invalid_permissions 211s === PAUSE TestNew/Error_when_systemUnitDir_has_invalid_permissions 211s === CONT TestCreateUnits 211s === RUN TestCreateUnits/Write_single_unit 211s === PAUSE TestCreateUnits/Write_single_unit 211s === RUN TestCreateUnits/Write_multiple_units 211s === PAUSE TestCreateUnits/Write_multiple_units 211s === RUN TestCreateUnits/Write_krb5_tagged_unit 211s === PAUSE TestCreateUnits/Write_krb5_tagged_unit 211s === CONT TestWriteFileWithUIDGID 211s === RUN TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 211s === PAUSE TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 211s === RUN TestWriteFileWithUIDGID/Error_when_invalid_uid 211s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_uid 211s === RUN TestWriteFileWithUIDGID/Error_when_invalid_gid 211s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_gid 211s === RUN TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 211s === PAUSE TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 211s === RUN TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 211s === PAUSE TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 211s === CONT TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 211s --- PASS: TestParseEntryValues (0.00s) 211s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags (0.00s) 211s --- PASS: TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values (0.00s) 211s --- PASS: TestParseEntryValues/Parse_values_trimming_sequential_linebreaks (0.00s) 211s --- PASS: TestParseEntryValues/Parse_values_trimming_whitespaces (0.00s) 211s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_repeated_values (0.00s) 211s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_multiple_values (0.00s) 211s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_one_value (0.00s) 211s --- PASS: TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty (0.00s) 211s === CONT TestNew/Creates_manager_successfully 211s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 211s === RUN TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 211s === PAUSE TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 211s === RUN TestApplyPolicy/Error_when_daemon-reload_fails 211s === PAUSE TestApplyPolicy/Error_when_daemon-reload_fails 211s === RUN TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 211s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 211s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 211s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 211s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 211s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 211s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 211s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 211s === RUN TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 211s === PAUSE TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 211s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 211s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 211s === RUN TestApplyPolicy/Error_when_entry_is_errored 211s === PAUSE TestApplyPolicy/Error_when_entry_is_errored 211s === RUN TestApplyPolicy/Error_when_enabling_new_units_fails 211s === PAUSE TestApplyPolicy/Error_when_enabling_new_units_fails 211s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 211s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 211s === RUN TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 211s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 211s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 211s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 211s === RUN TestApplyPolicy/Error_when_user_is_not_found 211s === PAUSE TestApplyPolicy/Error_when_user_is_not_found 211s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 211s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 211s === RUN TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 211s === PAUSE TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 211s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 211s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 211s === RUN TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 211s === PAUSE TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 211s === RUN TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 211s === PAUSE TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 211s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 211s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 211s === RUN TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 211s === PAUSE TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 211s === RUN TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 211s === PAUSE TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 211s === RUN TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 211s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 211s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 211s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 211s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 211s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 211s === RUN TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 211s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 211s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 211s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 211s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 211s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 211s === RUN TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 211s === PAUSE TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 211s === RUN TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 211s === PAUSE TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 211s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 211s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 211s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 211s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 211s === RUN TestApplyPolicy/Error_when_user_has_invalid_gid 211s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_gid 211s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 211s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 211s === RUN TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 211s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 211s === RUN TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 211s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 211s === RUN TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 211s === PAUSE TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 211s === RUN TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 211s === PAUSE TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 211s === RUN TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 211s === PAUSE TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 211s === RUN TestApplyPolicy/Error_when_user_has_invalid_uid 211s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_uid 211s === RUN TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 211s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 211s === CONT TestCreateUnits/Write_single_unit 211s === CONT TestNew/Error_when_systemUnitDir_has_invalid_permissions 211s === CONT TestNew/Error_when_runDir_has_invalid_permissions 211s === CONT TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 211s --- PASS: TestNew (0.00s) 211s --- PASS: TestNew/Error_when_systemUnitDir_has_invalid_permissions (0.00s) 211s --- PASS: TestNew/Error_when_runDir_has_invalid_permissions (0.00s) 211s --- PASS: TestNew/Creates_manager_successfully (0.00s) 211s === CONT TestCreateUnits/Write_krb5_tagged_unit 211s === CONT TestCreateUnits/Write_multiple_units 211s --- PASS: TestCreateUnits (0.00s) 211s --- PASS: TestCreateUnits/Write_single_unit (0.00s) 211s --- PASS: TestCreateUnits/Write_krb5_tagged_unit (0.00s) 211s --- PASS: TestCreateUnits/Write_multiple_units (0.00s) 211s === CONT TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 211s === CONT TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 211s === CONT TestWriteFileWithUIDGID/Error_when_invalid_gid 211s === CONT TestWriteFileWithUIDGID/Error_when_invalid_uid 211s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 211s --- PASS: TestWriteFileWithUIDGID (0.00s) 211s --- PASS: TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory (0.00s) 211s --- PASS: TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions (0.00s) 211s --- PASS: TestWriteFileWithUIDGID/Write_file_with_current_user_ownership (0.00s) 211s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_gid (0.00s) 211s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_uid (0.00s) 211s === CONT TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 211s === CONT TestApplyPolicy/Error_when_user_has_invalid_uid 211s === CONT TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 211s === CONT TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 211s === CONT TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s === CONT TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s === CONT TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 211s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 211s === CONT TestApplyPolicy/Error_when_user_has_invalid_gid 211s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 211s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 211s === CONT TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 211s === CONT TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 211s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="Failed to stop unit \"adsys-protocol-domain.com-mountpath.mount\": failed to stop unit" 211s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s === CONT TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 211s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-cifs-authenticated.com-authenticated-mount.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-nfs-krb_domain.com-mount-krb_path.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 211s === CONT TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mounpath.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 211s === CONT TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 211s time="2025-06-17T13:55:12Z" 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." 211s time="2025-06-17T13:55:12Z" 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." 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-nfs-domain-untagged_first.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-nfs-domain-tagged_first.mount\": failed to start unit" 211s === CONT TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 211s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 211s === CONT TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 211s === CONT TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-fuse-completelydifferent.com-different-path.mount\": failed to start unit" 211s === CONT TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 211s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 211s === CONT TestApplyPolicy/Error_when_user_is_not_found 211s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s === CONT TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 211s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 211s === CONT TestApplyPolicy/Error_when_enabling_new_units_fails 211s === CONT TestApplyPolicy/Error_when_entry_is_errored 211s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-path-mount.mount\": failed to start unit" 211s === CONT TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 211s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 211s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 211s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 211s === CONT TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 211s === CONT TestApplyPolicy/Error_when_daemon-reload_fails 211s time="2025-06-17T13:55:12Z" 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." 211s time="2025-06-17T13:55:12Z" 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." 211s === CONT TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 211s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 211s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 211s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 211s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 211s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 211s === CONT TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 211s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 211s === CONT TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 211s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 211s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 211s === CONT TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 211s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 211s time="2025-06-17T13:55:12Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 211s --- PASS: TestApplyPolicy (0.00s) 211s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_uid (0.00s) 211s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails (0.00s) 211s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys (0.00s) 211s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty (0.00s) 211s --- PASS: TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.01s) 211s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_gid (0.00s) 211s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_creating_units_with_bad_entry_values (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry (0.00s) 211s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails (0.00s) 211s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails (0.00s) 211s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values (0.00s) 211s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values (0.00s) 211s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks (0.01s) 211s --- PASS: TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir (0.00s) 211s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.01s) 211s --- PASS: TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions (0.00s) 211s --- PASS: TestApplyPolicy/System,_does_nothing_if_there_are_no_entries (0.00s) 211s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries (0.00s) 211s --- PASS: TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values (0.01s) 211s --- PASS: TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value (0.00s) 211s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks (0.01s) 211s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values (0.01s) 211s --- PASS: TestApplyPolicy/Error_when_user_is_not_found (0.01s) 211s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags (0.00s) 211s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry (0.01s) 211s --- PASS: TestApplyPolicy/Error_when_enabling_new_units_fails (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_entry_is_errored (0.00s) 211s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry (0.01s) 211s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces (0.00s) 211s --- PASS: TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled (0.00s) 211s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value (0.00s) 211s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty (0.00s) 211s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries (0.00s) 211s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_daemon-reload_fails (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory (0.00s) 211s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry (0.00s) 211s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry (0.00s) 211s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries (0.00s) 211s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value (0.00s) 211s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries (0.00s) 211s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key (0.00s) 211s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.00s) 211s --- PASS: TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.00s) 211s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.00s) 211s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir (0.00s) 211s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user (0.00s) 211s PASS 211s ok github.com/ubuntu/adsys/internal/policies/mount 0.130s 211s === RUN TestSplitAndNormalizeUsersAndGroups 211s === PAUSE TestSplitAndNormalizeUsersAndGroups 211s === RUN TestGetSystemPolkitAdminIdentities 211s === PAUSE TestGetSystemPolkitAdminIdentities 211s === RUN TestApplyPolicy 211s === PAUSE TestApplyPolicy 211s === CONT TestSplitAndNormalizeUsersAndGroups 211s === RUN TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_] 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_] 211s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value 211s === RUN TestSplitAndNormalizeUsersAndGroups/Group_one_value 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Group_one_value 211s === CONT TestApplyPolicy 211s === RUN TestApplyPolicy/Overwrite_existing_polkit_file 211s === PAUSE TestApplyPolicy/Overwrite_existing_polkit_file 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_> 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_> 211s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_; 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_; 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_* 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_* 211s === RUN TestApplyPolicy/Error_on_writing_to_sudoers_file 211s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 211s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 211s === PAUSE TestApplyPolicy/Error_on_writing_to_sudoers_file 211s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 211s === RUN TestApplyPolicy/Not_a_computer 211s === PAUSE TestApplyPolicy/Not_a_computer 211s === RUN TestApplyPolicy/Set_client_user_admins 211s === PAUSE TestApplyPolicy/Set_client_user_admins 211s === RUN TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 211s === PAUSE TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 211s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 211s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 211s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 211s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 211s === RUN TestSplitAndNormalizeUsersAndGroups/Simple_one_value 211s === RUN TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Simple_one_value 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_| 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_| 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_% 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_% 211s === PAUSE TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 211s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_< 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_< 211s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 211s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 211s === RUN TestSplitAndNormalizeUsersAndGroups/User_name_with_space 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/User_name_with_space 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_: 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_: 211s === RUN TestApplyPolicy/Set_client_multiple_users_admins 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_= 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_= 211s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_? 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_? 211s === RUN TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 211s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 211s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 211s === PAUSE TestApplyPolicy/Set_client_multiple_users_admins 211s === RUN TestApplyPolicy/No_client_AD_admins 211s === PAUSE TestApplyPolicy/No_client_AD_admins 211s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 211s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 211s === RUN TestApplyPolicy/Overwrite_existing_sudoers_file 211s === PAUSE TestApplyPolicy/Overwrite_existing_sudoers_file 211s === RUN TestApplyPolicy/Error_on_writing_to_polkit_conf_file 211s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_conf_file 211s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 211s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 211s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 211s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 211s === RUN TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 211s === PAUSE TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 211s === RUN TestApplyPolicy/No_rules_still_overwrite_those_files 211s === PAUSE TestApplyPolicy/No_rules_still_overwrite_those_files 211s === RUN TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 211s === PAUSE TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 211s === RUN TestApplyPolicy/Set_client_group_admins 211s === PAUSE TestApplyPolicy/Set_client_group_admins 211s === RUN TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 211s === PAUSE TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 211s === RUN TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 211s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 211s === RUN TestApplyPolicy/Disallow_local_admins 211s === PAUSE TestApplyPolicy/Disallow_local_admins 211s === RUN TestApplyPolicy/Empty_client_AD_admins 211s === PAUSE TestApplyPolicy/Empty_client_AD_admins 211s === RUN TestApplyPolicy/Disallow_local_admins_and_set_client_admins 211s === PAUSE TestApplyPolicy/Disallow_local_admins_and_set_client_admins 211s === RUN TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 211s === PAUSE TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 211s === RUN TestApplyPolicy/Don't_overwrite_other_existing_files 211s === PAUSE TestApplyPolicy/Don't_overwrite_other_existing_files 211s === CONT TestGetSystemPolkitAdminIdentities 211s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 211s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 211s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 211s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 211s === RUN TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 211s === PAUSE TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 211s === RUN TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 211s === PAUSE TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 211s === RUN TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 211s === PAUSE TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 211s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 211s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 211s === CONT TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"domain\\\\user\" to \"user@domain\": Invalid characters or domain\\user format" 211s === CONT TestApplyPolicy/Overwrite_existing_polkit_file 211s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 211s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 211s === CONT TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"%g%r%oup@domain\" to \"%group@domain\": Invalid characters or domain\\user format" 211s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_? 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"u?s?er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 211s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_= 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"u=s=er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 211s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_: 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"u:s:er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 211s === CONT TestSplitAndNormalizeUsersAndGroups/User_name_with_space 211s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 211s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"domain\\\\user\\\\foo\" to \"userfoo@domain\": Invalid characters or domain\\user format" 211s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_< 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"u 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"u>s>er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 211s === CONT TestSplitAndNormalizeUsersAndGroups/Group_one_value 211s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value 211s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_] 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"u]s]er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 211s --- PASS: TestSplitAndNormalizeUsersAndGroups (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Handle_domain\user (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_? (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_= (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_: (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/User_name_with_space (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_< (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_/ (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_empty_values (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_% (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_| (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_[ (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Simple_one_value (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_* (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_; (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_> (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Group_one_value (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value (0.00s) 211s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_] (0.00s) 211s === CONT TestApplyPolicy/Don't_overwrite_other_existing_files 211s === CONT TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 211s === CONT TestApplyPolicy/Disallow_local_admins_and_set_client_admins 211s === CONT TestApplyPolicy/Empty_client_AD_admins 211s === CONT TestApplyPolicy/Disallow_local_admins 211s === CONT TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 211s === CONT TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 211s === CONT TestApplyPolicy/Set_client_group_admins 211s === CONT TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 211s === CONT TestApplyPolicy/No_rules_still_overwrite_those_files 211s === CONT TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 211s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 211s time="2025-06-17T13:55:12Z" level=warning msg="/tmp/TestApplyPolicyError_if_cant_rename_to_destination_for_polkit_conf_file2199148782/001/polkit-1/localauthority.conf.d/99-adsys-privilege-enforcement.conf is a directory. Ignoring." 211s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 211s === CONT TestApplyPolicy/Error_on_writing_to_polkit_conf_file 211s === CONT TestApplyPolicy/Overwrite_existing_sudoers_file 211s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 211s === CONT TestApplyPolicy/No_client_AD_admins 211s === CONT TestApplyPolicy/Set_client_multiple_users_admins 211s time="2025-06-17T13:55:12Z" level=warning msg="Changed user or group \"domain\\\\bob\" to \"bob@domain\": Invalid characters or domain\\user format" 211s === CONT TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 211s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 211s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 211s === CONT TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 211s === CONT TestApplyPolicy/Set_client_user_admins 211s === CONT TestApplyPolicy/Not_a_computer 211s === CONT TestApplyPolicy/Error_on_writing_to_sudoers_file 211s === CONT TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 211s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 211s === CONT TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 211s time="2025-06-17T13:55:12Z" 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." 211s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 211s === CONT TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 211s --- PASS: TestGetSystemPolkitAdminIdentities (0.00s) 211s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file (0.00s) 211s --- PASS: TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists (0.00s) 211s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities (0.00s) 211s --- PASS: TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored (0.00s) 211s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys (0.00s) 211s --- PASS: TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure (0.00s) 211s --- PASS: TestApplyPolicy (0.00s) 211s --- PASS: TestApplyPolicy/Don't_overwrite_other_existing_files (0.00s) 211s --- PASS: TestApplyPolicy/Overwrite_existing_polkit_file (0.00s) 211s --- PASS: TestApplyPolicy/Disallow_local_admins_and_set_client_admins (0.00s) 211s --- PASS: TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.00s) 211s --- PASS: TestApplyPolicy/Disallow_local_admins (0.00s) 211s --- PASS: TestApplyPolicy/Empty_client_AD_admins (0.00s) 211s --- PASS: TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins (0.00s) 211s --- PASS: TestApplyPolicy/Set_client_group_admins (0.00s) 211s --- PASS: TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop (0.00s) 211s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation (0.00s) 211s --- PASS: TestApplyPolicy/No_rules_and_no_existing_history_means_no_files (0.00s) 211s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file (0.00s) 211s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file (0.00s) 211s --- PASS: TestApplyPolicy/No_rules_still_overwrite_those_files (0.00s) 211s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_conf_file (0.00s) 211s --- PASS: TestApplyPolicy/Overwrite_existing_sudoers_file (0.00s) 211s --- PASS: TestApplyPolicy/No_client_AD_admins (0.00s) 211s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins (0.00s) 211s --- PASS: TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory (0.00s) 211s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.00s) 211s --- PASS: TestApplyPolicy/Set_client_multiple_users_admins (0.00s) 211s --- PASS: TestApplyPolicy/Set_client_mixed_with_users_and_group_admins (0.00s) 211s --- PASS: TestApplyPolicy/Set_client_user_admins (0.00s) 211s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins (0.00s) 211s --- PASS: TestApplyPolicy/Error_on_writing_to_sudoers_file (0.00s) 211s --- PASS: TestApplyPolicy/Not_a_computer (0.00s) 211s PASS 211s ok github.com/ubuntu/adsys/internal/policies/privilege 0.048s 212s === RUN TestApplyPolicy 212s === PAUSE TestApplyPolicy 212s === RUN TestWarnOnUnsupportedKeys 212s --- PASS: TestWarnOnUnsupportedKeys (0.00s) 212s === RUN TestWarnOnMissingDBusService 212s --- PASS: TestWarnOnMissingDBusService (0.00s) 212s === CONT TestApplyPolicy 212s === RUN TestApplyPolicy/Computer,_single_disabled_entry 212s === PAUSE TestApplyPolicy/Computer,_single_disabled_entry 212s === RUN TestApplyPolicy/Computer,_all_entries_set 212s === PAUSE TestApplyPolicy/Computer,_all_entries_set 212s === RUN TestApplyPolicy/User,_non-empty_entries 212s === PAUSE TestApplyPolicy/User,_non-empty_entries 212s === RUN TestApplyPolicy/Error_when_D-Bus_call_fails 212s === PAUSE TestApplyPolicy/Error_when_D-Bus_call_fails 212s === RUN TestApplyPolicy/Computer,_no_entries 212s === PAUSE TestApplyPolicy/Computer,_no_entries 212s === RUN TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 212s === PAUSE TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 212s === RUN TestApplyPolicy/User,_no_entries 212s === PAUSE TestApplyPolicy/User,_no_entries 212s === RUN TestApplyPolicy/Computer,_single_enabled_entry 212s === PAUSE TestApplyPolicy/Computer,_single_enabled_entry 212s === CONT TestApplyPolicy/Computer,_single_disabled_entry 212s === CONT TestApplyPolicy/Computer,_no_entries 212s === CONT TestApplyPolicy/User,_no_entries 212s === CONT TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 212s === CONT TestApplyPolicy/Computer,_single_enabled_entry 212s === CONT TestApplyPolicy/User,_non-empty_entries 212s === CONT TestApplyPolicy/Error_when_D-Bus_call_fails 212s === CONT TestApplyPolicy/Computer,_all_entries_set 212s --- PASS: TestApplyPolicy (0.00s) 212s --- PASS: TestApplyPolicy/Computer,_single_disabled_entry (0.00s) 212s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 212s --- PASS: TestApplyPolicy/User,_no_entries (0.00s) 212s --- PASS: TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error (0.00s) 212s --- PASS: TestApplyPolicy/Computer,_single_enabled_entry (0.00s) 212s --- PASS: TestApplyPolicy/Error_when_D-Bus_call_fails (0.00s) 212s --- PASS: TestApplyPolicy/Computer,_all_entries_set (0.00s) 212s --- PASS: TestApplyPolicy/User,_non-empty_entries (0.00s) 212s PASS 212s ok github.com/ubuntu/adsys/internal/policies/proxy 0.026s 212s === RUN TestNew 212s === PAUSE TestNew 212s === RUN TestApplyPolicy 212s === PAUSE TestApplyPolicy 212s === RUN TestRunScripts 212s === PAUSE TestRunScripts 212s === CONT TestNew 212s === RUN TestNew/create_manager 212s === PAUSE TestNew/create_manager 212s === RUN TestNew/error_on_read_only_rundir 212s === PAUSE TestNew/error_on_read_only_rundir 212s === CONT TestRunScripts 212s === RUN TestRunScripts/has_no_session_running_flag_after_machine_shutdown 212s === CONT TestApplyPolicy 212s === PAUSE TestRunScripts/has_no_session_running_flag_after_machine_shutdown 212s === RUN TestRunScripts/error_on_order_file_not_existing 212s === PAUSE TestRunScripts/error_on_order_file_not_existing 212s === RUN TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 212s === PAUSE TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 212s === RUN TestRunScripts/spaces_and_empty_lines_are_skipped 212s === PAUSE TestRunScripts/spaces_and_empty_lines_are_skipped 212s === RUN TestRunScripts/multiple_scripts_are_run_in_order 212s === PAUSE TestRunScripts/multiple_scripts_are_run_in_order 212s === RUN TestRunScripts/scripts_not_listed_are_not_run 212s === PAUSE TestRunScripts/scripts_not_listed_are_not_run 212s === RUN TestRunScripts/scripts_referenced_in_subdirectories 212s === PAUSE TestRunScripts/scripts_referenced_in_subdirectories 212s === RUN TestRunScripts/has_no_session_running_flag_after_user_logoff 212s === RUN TestApplyPolicy/Destination_is_already_running,_no_change 212s === PAUSE TestApplyPolicy/Destination_is_already_running,_no_change 212s === RUN TestApplyPolicy/Error_on_subfolder_listed 212s === PAUSE TestApplyPolicy/Error_on_subfolder_listed 212s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 212s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 212s === RUN TestApplyPolicy/Multiple_directories: 212s === PAUSE TestApplyPolicy/Multiple_directories: 212s === RUN TestApplyPolicy/Empty_entries_are_discared 212s === PAUSE TestApplyPolicy/Empty_entries_are_discared 212s === RUN TestApplyPolicy/Same_script_is_used_multiple_times 212s === PAUSE TestApplyPolicy/Same_script_is_used_multiple_times 212s === RUN TestApplyPolicy/Subfolder_with_script 212s === PAUSE TestApplyPolicy/Subfolder_with_script 212s === RUN TestApplyPolicy/Subfolder_with_same_script_name 212s === PAUSE TestApplyPolicy/Subfolder_with_same_script_name 212s === RUN TestApplyPolicy/Error_on_script_does_not_exist 212s === PAUSE TestApplyPolicy/Error_on_script_does_not_exist 212s === RUN TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 212s === PAUSE TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 212s === RUN TestApplyPolicy/One_script 212s === PAUSE TestApplyPolicy/One_script 212s === RUN TestApplyPolicy/One_directory,_multiple_scripts_in_order 212s === PAUSE TestApplyPolicy/One_directory,_multiple_scripts_in_order 212s === RUN TestApplyPolicy/Error_on_invalid_UID 212s === PAUSE TestApplyPolicy/Error_on_invalid_UID 212s === RUN TestApplyPolicy/No_entries_is_an_empty_folder 212s === PAUSE TestApplyPolicy/No_entries_is_an_empty_folder 212s === RUN TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 212s === PAUSE TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 212s === RUN TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 212s === PAUSE TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 212s === RUN TestApplyPolicy/Destination_is_not_ready,_refreshing 212s === PAUSE TestApplyPolicy/Destination_is_not_ready,_refreshing 212s === RUN TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 212s === PAUSE TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 212s === RUN TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 212s === PAUSE TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 212s === RUN TestApplyPolicy/Error_on_users_run_directory_Read_Only 212s === PAUSE TestApplyPolicy/Error_on_users_run_directory_Read_Only 212s === RUN TestApplyPolicy/Error_on_invalid_GID 212s === PAUSE TestApplyPolicy/Error_on_invalid_GID 212s === RUN TestApplyPolicy/No_entries_update_existing_non_ready_folder 212s === PAUSE TestApplyPolicy/No_entries_update_existing_non_ready_folder 212s === RUN TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 212s === PAUSE TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 212s === RUN TestApplyPolicy/Error_on_user_lookup_failing 212s === PAUSE TestApplyPolicy/Error_on_user_lookup_failing 212s === CONT TestNew/create_manager 212s === CONT TestNew/error_on_read_only_rundir 212s --- PASS: TestNew (0.00s) 212s --- PASS: TestNew/create_manager (0.00s) 212s --- PASS: TestNew/error_on_read_only_rundir (0.00s) 212s === CONT TestApplyPolicy/Destination_is_already_running,_no_change 212s === PAUSE TestRunScripts/has_no_session_running_flag_after_user_logoff 212s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 212s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 212s === RUN TestRunScripts/scripts_that_are_not_executable_are_skipped 212s === PAUSE TestRunScripts/scripts_that_are_not_executable_are_skipped 212s === RUN TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 212s === PAUSE TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 212s === RUN TestRunScripts/keeps_running_flag_after_non_machine_shutdown 212s === PAUSE TestRunScripts/keeps_running_flag_after_non_machine_shutdown 212s === RUN TestRunScripts/error_on_not_ready_for_execution 212s === PAUSE TestRunScripts/error_on_not_ready_for_execution 212s === RUN TestRunScripts/error_on_argument_not_a_file 212s === PAUSE TestRunScripts/error_on_argument_not_a_file 212s === RUN TestRunScripts/one_script 212s === PAUSE TestRunScripts/one_script 212s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 212s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 212s === RUN TestRunScripts/keeps_running_flag_after_non_user_logoff 212s === PAUSE TestRunScripts/keeps_running_flag_after_non_user_logoff 212s === RUN TestRunScripts/allow_order_file_missing 212s === PAUSE TestRunScripts/allow_order_file_missing 212s === CONT TestApplyPolicy/Error_on_user_lookup_failing 212s time="2025-06-17T13:55:13Z" level=info msg="\"/tmp/TestApplyPolicyDestination_is_already_running,_no_change932176052/001/machine/scripts/.running\" already exists, a session is already running, ignoring." 212s === CONT TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 212s time="2025-06-17T13:55:13Z" level=info msg="Running machine startup scripts" 212s === CONT TestApplyPolicy/No_entries_update_existing_non_ready_folder 212s === CONT TestApplyPolicy/Error_on_invalid_GID 212s === CONT TestApplyPolicy/Error_on_users_run_directory_Read_Only 212s === CONT TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 212s === CONT TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 212s === CONT TestApplyPolicy/Destination_is_not_ready,_refreshing 212s === CONT TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 212s === CONT TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 212s === CONT TestApplyPolicy/No_entries_is_an_empty_folder 212s === CONT TestApplyPolicy/Error_on_invalid_UID 212s === CONT TestApplyPolicy/One_directory,_multiple_scripts_in_order 212s === CONT TestApplyPolicy/One_script 212s === CONT TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 212s time="2025-06-17T13:55:13Z" level=info msg="Running machine startup scripts" 212s === CONT TestApplyPolicy/Error_on_script_does_not_exist 212s === CONT TestApplyPolicy/Subfolder_with_same_script_name 212s === CONT TestApplyPolicy/Subfolder_with_script 212s === CONT TestApplyPolicy/Same_script_is_used_multiple_times 212s === CONT TestApplyPolicy/Empty_entries_are_discared 212s === CONT TestApplyPolicy/Multiple_directories: 212s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 212s === CONT TestApplyPolicy/Error_on_subfolder_listed 212s === CONT TestRunScripts/has_no_session_running_flag_after_machine_shutdown 212s --- PASS: TestApplyPolicy (0.00s) 212s --- PASS: TestApplyPolicy/Error_on_user_lookup_failing (0.00s) 212s --- PASS: TestApplyPolicy/Destination_is_already_running,_no_change (0.00s) 212s --- PASS: TestApplyPolicy/No_entries_update_existing_non_ready_folder (0.00s) 212s --- PASS: TestApplyPolicy/Error_on_invalid_GID (0.00s) 212s --- PASS: TestApplyPolicy/Error_on_users_run_directory_Read_Only (0.00s) 212s --- PASS: TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) (0.00s) 212s --- PASS: TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update (0.00s) 212s --- PASS: TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update (0.00s) 212s --- PASS: TestApplyPolicy/Destination_is_not_ready,_refreshing (0.00s) 212s --- PASS: TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup (0.00s) 212s --- PASS: TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing (0.01s) 212s --- PASS: TestApplyPolicy/Error_on_invalid_UID (0.00s) 212s --- PASS: TestApplyPolicy/One_directory,_multiple_scripts_in_order (0.00s) 212s --- PASS: TestApplyPolicy/No_entries_is_an_empty_folder (0.00s) 212s --- PASS: TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails (0.00s) 212s --- PASS: TestApplyPolicy/Error_on_script_does_not_exist (0.00s) 212s --- PASS: TestApplyPolicy/Subfolder_with_same_script_name (0.00s) 212s --- PASS: TestApplyPolicy/One_script (0.01s) 212s --- PASS: TestApplyPolicy/Subfolder_with_script (0.00s) 212s --- PASS: TestApplyPolicy/Empty_entries_are_discared (0.00s) 212s --- PASS: TestApplyPolicy/Same_script_is_used_multiple_times (0.00s) 212s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 212s --- PASS: TestApplyPolicy/Error_on_subfolder_listed (0.00s) 212s --- PASS: TestApplyPolicy/Multiple_directories: (0.00s) 212s === CONT TestRunScripts/allow_order_file_missing 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_machine_shutdown3091412673/001/machine/foo/scripts/shutdown\"" 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsallow_order_file_missing9158492/001/users/foo/scripts/s\"" 212s time="2025-06-17T13:55:13Z" level=info msg="\"/tmp/TestRunScriptsallow_order_file_missing9158492/001/users/foo/scripts/s\" doesn't exist, but allowed to be missing, skipping" 212s === CONT TestRunScripts/keeps_running_flag_after_non_user_logoff 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_user_logoff1630978781/001/machine/foo/scripts/logoff\"" 212s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_user_logoff3524258464/001/users/foo/scripts/logoff\"" 212s === CONT TestRunScripts/one_script 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsone_script2911940709/001/users/foo/scripts/s\"" 212s === CONT TestRunScripts/error_on_argument_not_a_file 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_argument_not_a_file3717362129/001/users/foo/scripts/s\"" 212s === CONT TestRunScripts/error_on_not_ready_for_execution 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_not_ready_for_execution108581320/001/users/foo/scripts/s\"" 212s === CONT TestRunScripts/keeps_running_flag_after_non_machine_shutdown 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_machine_shutdown2942451586/001/users/foo/scripts/shutdown\"" 212s === CONT TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff2580900017/001/users/foo/scripts/logoff\"" 212s time="2025-06-17T13:55:13Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff2580900017/001/users/foo/scripts/logoff\" doesn't exist, but allowed to be missing, skipping" 212s === CONT TestRunScripts/scripts_that_are_not_executable_are_skipped 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped535364490/001/users/foo/scripts/s\"" 212s time="2025-06-17T13:55:13Z" level=warning msg="\"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped535364490/001/users/foo/scripts/scripts/notexecutable.sh\" failed to run\nfork/exec /tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped535364490/001/users/foo/scripts/scripts/notexecutable.sh: permission denied" 212s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_machine_shutdown3515816828/001/machine/foo/scripts/shutdown\"" 212s === CONT TestRunScripts/has_no_session_running_flag_after_user_logoff 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_user_logoff4028766370/001/users/foo/scripts/logoff\"" 212s === CONT TestRunScripts/scripts_referenced_in_subdirectories 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_referenced_in_subdirectories3209158662/001/users/foo/scripts/s\"" 212s === CONT TestRunScripts/scripts_not_listed_are_not_run 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_not_listed_are_not_run3587930664/001/users/foo/scripts/s\"" 212s === CONT TestRunScripts/multiple_scripts_are_run_in_order 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsmultiple_scripts_are_run_in_order2431456315/001/users/foo/scripts/s\"" 212s === CONT TestRunScripts/spaces_and_empty_lines_are_skipped 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsspaces_and_empty_lines_are_skipped2086510300/001/users/foo/scripts/s\"" 212s === CONT TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 212s === CONT TestRunScripts/error_on_order_file_not_existing 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown212515792/001/machine/foo/scripts/shutdown\"" 212s time="2025-06-17T13:55:13Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown212515792/001/machine/foo/scripts/shutdown\" doesn't exist, but allowed to be missing, skipping" 212s time="2025-06-17T13:55:13Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_order_file_not_existing4250483682/001/users/foo/scripts/s\"" 212s --- PASS: TestRunScripts (0.00s) 212s --- PASS: TestRunScripts/allow_order_file_missing (0.00s) 212s --- PASS: TestRunScripts/keeps_running_flag_after_non_user_logoff (0.03s) 212s --- PASS: TestRunScripts/has_no_session_running_flag_after_machine_shutdown (0.04s) 212s --- PASS: TestRunScripts/one_script (0.01s) 212s --- PASS: TestRunScripts/error_on_argument_not_a_file (0.00s) 212s --- PASS: TestRunScripts/error_on_not_ready_for_execution (0.00s) 212s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff (0.03s) 212s --- PASS: TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff (0.00s) 212s --- PASS: TestRunScripts/keeps_running_flag_after_non_machine_shutdown (0.03s) 212s --- PASS: TestRunScripts/scripts_that_are_not_executable_are_skipped (0.02s) 212s --- PASS: TestRunScripts/has_no_session_running_flag_after_user_logoff (0.03s) 212s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown (0.03s) 212s --- PASS: TestRunScripts/scripts_not_listed_are_not_run (0.02s) 212s --- PASS: TestRunScripts/scripts_referenced_in_subdirectories (0.04s) 212s --- PASS: TestRunScripts/multiple_scripts_are_run_in_order (0.03s) 212s --- PASS: TestRunScripts/spaces_and_empty_lines_are_skipped (0.01s) 212s --- PASS: TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown (0.00s) 212s --- PASS: TestRunScripts/error_on_order_file_not_existing (0.00s) 212s PASS 212s ok github.com/ubuntu/adsys/internal/policies/scripts 0.217s 212s === RUN TestExclusiveLockExec 212s --- PASS: TestExclusiveLockExec (0.01s) 212s === RUN TestExclusiveLockSmb 212s --- PASS: TestExclusiveLockSmb (0.01s) 212s === RUN TestMultipleExecLocksOnlyReleaseOnLast 212s --- PASS: TestMultipleExecLocksOnlyReleaseOnLast (0.01s) 212s === RUN TestMultipleSmbLocksOnlyReleaseOnLast 212s --- PASS: TestMultipleSmbLocksOnlyReleaseOnLast (0.01s) 212s PASS 212s ok github.com/ubuntu/adsys/internal/smbsafe 0.054s 213s === RUN TestAddStdoutForwarder 213s --- PASS: TestAddStdoutForwarder (0.00s) 213s === RUN TestAddStderrForwarder 213s --- PASS: TestAddStderrForwarder (0.00s) 213s === RUN TestAddStdoutForwarderEnsureStderrNoPolluted 213s --- PASS: TestAddStdoutForwarderEnsureStderrNoPolluted (0.00s) 213s === RUN TestAddForwarderAndDisconnect 213s --- PASS: TestAddForwarderAndDisconnect (0.00s) 213s === RUN TestAddForwardersGraduallyAndDisconnect 213s --- PASS: TestAddForwardersGraduallyAndDisconnect (0.01s) 213s === RUN TestAddForwarderDifferentWriterStdoutStderr 213s --- PASS: TestAddForwarderDifferentWriterStdoutStderr (0.00s) 213s === RUN TestAddForwarderSameWriterStdoutStderr 213s --- PASS: TestAddForwarderSameWriterStdoutStderr (0.00s) 213s === RUN TestAddStdoutForwarderWithBlockedStdout 213s time="2025-06-17T13:55:13Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 213s time="2025-06-17T13:55:13Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 213s time="2025-06-17T13:55:13Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 213s --- PASS: TestAddStdoutForwarderWithBlockedStdout (0.01s) 213s === RUN TestAddStderrForwarderWithBlockedStderr 213s time="2025-06-17T13:55:13Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 213s time="2025-06-17T13:55:13Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 213s time="2025-06-17T13:55:13Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 213s --- PASS: TestAddStderrForwarderWithBlockedStderr (0.01s) 213s === RUN TestAddStdoutForwarderOneWithFailingForwarder 213s time="2025-06-17T13:55:13Z" level=warning msg="Failed to forward log: Error from failedWriter" 213s time="2025-06-17T13:55:13Z" level=warning msg="Failed to forward log: Error from failedWriter" 213s time="2025-06-17T13:55:13Z" level=warning msg="Failed to forward log: Error from failedWriter" 213s --- PASS: TestAddStdoutForwarderOneWithFailingForwarder (0.01s) 213s PASS 213s ok github.com/ubuntu/adsys/internal/stdforward 0.057s 213s ? github.com/ubuntu/adsys/internal/testutils [no test files] 213s ? github.com/ubuntu/adsys/internal/watchdservice [no test files] 213s === RUN TestManageUnit 213s === PAUSE TestManageUnit 213s === RUN TestDaemonReload 213s === PAUSE TestDaemonReload 213s === CONT TestManageUnit 213s === CONT TestDaemonReload 213s --- PASS: TestDaemonReload (0.00s) 213s === RUN TestManageUnit/Error_when_stopping_failing_unit 213s === PAUSE TestManageUnit/Error_when_stopping_failing_unit 213s === RUN TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 213s === PAUSE TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 213s === RUN TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 213s === PAUSE TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 213s === RUN TestManageUnit/Stop_unit_that_exists 213s === PAUSE TestManageUnit/Stop_unit_that_exists 213s === RUN TestManageUnit/Disable_unit_that_exists 213s === PAUSE TestManageUnit/Disable_unit_that_exists 213s === RUN TestManageUnit/Error_when_starting_unit_that_doesn't_exist 213s === PAUSE TestManageUnit/Error_when_starting_unit_that_doesn't_exist 213s === RUN TestManageUnit/Error_when_starting_failing_unit 213s === PAUSE TestManageUnit/Error_when_starting_failing_unit 213s === RUN TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 213s === PAUSE TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 213s === RUN TestManageUnit/Start_unit_that_exists 213s === PAUSE TestManageUnit/Start_unit_that_exists 213s === RUN TestManageUnit/Enable_unit_that_exists 213s === PAUSE TestManageUnit/Enable_unit_that_exists 213s === CONT TestManageUnit/Error_when_stopping_failing_unit 213s === CONT TestManageUnit/Enable_unit_that_exists 213s === CONT TestManageUnit/Start_unit_that_exists 213s === CONT TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 213s === CONT TestManageUnit/Error_when_starting_failing_unit 213s === CONT TestManageUnit/Error_when_starting_unit_that_doesn't_exist 213s === CONT TestManageUnit/Disable_unit_that_exists 213s === CONT TestManageUnit/Stop_unit_that_exists 213s === CONT TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 213s === CONT TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 213s --- PASS: TestManageUnit (0.00s) 213s --- PASS: TestManageUnit/Enable_unit_that_exists (0.00s) 213s --- PASS: TestManageUnit/Start_unit_that_exists (0.00s) 213s --- PASS: TestManageUnit/Error_when_stopping_failing_unit (0.00s) 213s --- PASS: TestManageUnit/Error_when_stopping_unit_that_doesn't_exist (0.00s) 213s --- PASS: TestManageUnit/Error_when_starting_failing_unit (0.00s) 213s --- PASS: TestManageUnit/Disable_unit_that_exists (0.00s) 213s --- PASS: TestManageUnit/Error_when_starting_unit_that_doesn't_exist (0.00s) 213s --- PASS: TestManageUnit/Error_when_disabling_unit_that_doesn't_exist (0.00s) 213s --- PASS: TestManageUnit/Stop_unit_that_exists (0.00s) 213s --- PASS: TestManageUnit/Error_when_enabling_unit_that_doesn't_exist (0.00s) 213s PASS 213s ok github.com/ubuntu/adsys/internal/systemd 0.027s 214s === RUN TestInteractiveInput 214s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 214s === RUN TestInteractiveInput/Directory_exists 214s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 214s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 214s === RUN TestInteractiveInput/Initial_view 214s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 214s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 214s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 214s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 214s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 214s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 214s === RUN TestInteractiveInput/Config_file_exists 214s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 214s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 214s === RUN TestInteractiveInput/Other_navigation_tests 214s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 214s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 214s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 214s === RUN TestInteractiveInput/Submit_with_default_config 214s === RUN TestInteractiveInput/Submit_with_duplicate_directories 214s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 214s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 214s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 214s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 214s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 214s --- PASS: TestInteractiveInput (0.04s) 214s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.00s) 214s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 214s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.00s) 214s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 214s --- PASS: TestInteractiveInput/Initial_view (0.00s) 214s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.00s) 214s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.00s) 214s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 214s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 214s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 214s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 214s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 214s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.00s) 214s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 214s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 214s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 214s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 214s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 214s --- PASS: TestInteractiveInput/Submit_with_default_config (0.00s) 214s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 214s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 214s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 214s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 214s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 214s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 214s === RUN TestInteractiveInstall 214s watchdtui_test.go:408: Test has to be run as root, skipping... 214s --- SKIP: TestInteractiveInstall (0.00s) 214s === RUN TestInteractiveUpdate 214s watchdtui_test.go:456: Test has to be run as root, skipping... 214s --- SKIP: TestInteractiveUpdate (0.00s) 214s PASS 214s ok github.com/ubuntu/adsys/internal/watchdtui 0.064s 214s ? github.com/ubuntu/adsys/po [no test files] 214s ? github.com/ubuntu/adsys/policies [no test files] 218s === RUN TestWatchDirectory 218s === PAUSE TestWatchDirectory 218s === RUN TestRefreshGracePeriod 218s === PAUSE TestRefreshGracePeriod 218s === RUN TestUpdateDirs 218s === PAUSE TestUpdateDirs 218s === RUN TestUpdateDirsFailing 218s === PAUSE TestUpdateDirsFailing 218s === RUN TestUpdateDirsWithEmptyDirSlice 218s === PAUSE TestUpdateDirsWithEmptyDirSlice 218s === RUN TestUpdateDirsOnStoppedWatcher 218s === PAUSE TestUpdateDirsOnStoppedWatcher 218s === RUN TestStopWithoutStart 218s === PAUSE TestStopWithoutStart 218s === CONT TestWatchDirectory 218s === RUN TestWatchDirectory/No_update,_existing_gpt.ini 218s === PAUSE TestWatchDirectory/No_update,_existing_gpt.ini 218s === RUN TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 218s === CONT TestUpdateDirsWithEmptyDirSlice 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestUpdateDirsWithEmptyDirSlice33788040/001/watchdir and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice33788040/001/watchdir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice33788040/001/watchdir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice33788040/001/watchdir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice33788040/001/watchdir/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice33788040/001/watchdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice33788040/001/watchdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Updating directories to []" 218s time="2025-06-17T13:55:15Z" level=info msg="Watcher stopped" 218s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 218s === RUN TestWatchDirectory/New_file,_subdir 218s === PAUSE TestWatchDirectory/New_file,_subdir 218s === RUN TestWatchDirectory/Existing_file,_subdir 218s === PAUSE TestWatchDirectory/Existing_file,_subdir 218s === RUN TestWatchDirectory/Nested_new_subdirs 218s === PAUSE TestWatchDirectory/Nested_new_subdirs 218s === RUN TestWatchDirectory/New_subdir_without_file 218s === PAUSE TestWatchDirectory/New_subdir_without_file 218s === RUN TestWatchDirectory/Error_on_listing_no_directory 218s === PAUSE TestWatchDirectory/Error_on_listing_no_directory 218s === RUN TestWatchDirectory/Remove_root_directory 218s === PAUSE TestWatchDirectory/Remove_root_directory 218s === RUN TestWatchDirectory/Remove_file 218s === PAUSE TestWatchDirectory/Remove_file 218s === RUN TestWatchDirectory/Rename_file_and_update 218s === PAUSE TestWatchDirectory/Rename_file_and_update 218s === RUN TestWatchDirectory/Multiple_directories,_only_one_is_updated 218s === PAUSE TestWatchDirectory/Multiple_directories,_only_one_is_updated 218s === RUN TestWatchDirectory/Error_on_non_existing_directory 218s === PAUSE TestWatchDirectory/Error_on_non_existing_directory 218s === RUN TestWatchDirectory/Update_with_existing_gpt.ini 218s === PAUSE TestWatchDirectory/Update_with_existing_gpt.ini 218s === RUN TestWatchDirectory/Update_existing_file 218s === PAUSE TestWatchDirectory/Update_existing_file 218s === RUN TestWatchDirectory/Updating_gpt.ini_is_a_no-op 218s === PAUSE TestWatchDirectory/Updating_gpt.ini_is_a_no-op 218s === RUN TestWatchDirectory/Multiple_nested_subdirectories 218s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories 218s === RUN TestWatchDirectory/Combined_case 218s === PAUSE TestWatchDirectory/Combined_case 218s === RUN TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 218s === PAUSE TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 218s === RUN TestWatchDirectory/Error_on_updating_malformed_GPT.ini 218s === PAUSE TestWatchDirectory/Error_on_updating_malformed_GPT.ini 218s === RUN TestWatchDirectory/New_file,_no_gpt.ini 218s === PAUSE TestWatchDirectory/New_file,_no_gpt.ini 218s === RUN TestWatchDirectory/No_update,_no_gpt.ini 218s === PAUSE TestWatchDirectory/No_update,_no_gpt.ini 218s === RUN TestWatchDirectory/Rename_file 218s === PAUSE TestWatchDirectory/Rename_file 218s === RUN TestWatchDirectory/New_subdir 218s === PAUSE TestWatchDirectory/New_subdir 218s === CONT TestStopWithoutStart 218s --- PASS: TestStopWithoutStart (0.00s) 218s === CONT TestUpdateDirsOnStoppedWatcher 218s time="2025-06-17T13:55:15Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir]" 218s time="2025-06-17T13:55:15Z" level=warning msg="Error stopping watcher: the service is already stopping or not running" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/alreadyexistsDir/alreadyexists" 218s --- PASS: TestUpdateDirsWithEmptyDirSlice (0.01s) 218s === CONT TestUpdateDirs 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:15Z" level=info msg="Bumping version for /tmp/TestUpdateDirsOnStoppedWatcher1199001196/001/curdir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestUpdateDirs1540206286/001/remove and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/remove" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/remove/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/remove/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/remove/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/remove/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/remove/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestUpdateDirs1540206286/001/keep and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/remove/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/remove/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/remove/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/remove/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirs1540206286/001/keep /tmp/TestUpdateDirs1540206286/001/add]" 218s time="2025-06-17T13:55:15Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:15Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1540206286/001/remove/GPT.INI" 218s --- PASS: TestUpdateDirsOnStoppedWatcher (0.27s) 218s === CONT TestUpdateDirsFailing 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing3433582631/001/remove and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/remove" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/remove/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/remove/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/remove/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/remove/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/remove/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing3433582631/001/keep and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/keep" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/keep/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/keep/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/keep/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/keep/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3433582631/001/keep/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsFailing3433582631/001/keep unexisting]" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3433582631/001/keep/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3433582631/001/keep/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3433582631/001/keep/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3433582631/001/keep/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3433582631/001/remove/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3433582631/001/remove/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3433582631/001/remove/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3433582631/001/remove/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestUpdateDirs1540206286/001/keep and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/keep/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestUpdateDirs1540206286/001/add and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/add" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/add/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/add/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/add/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/add/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestUpdateDirs1540206286/001/add/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:15Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing3433582631/001/keep/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing3433582631/001/remove/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/keep/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/keep/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/keep/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/keep/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/add/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/add/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/add/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1540206286/001/add/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:15Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1540206286/001/keep/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1540206286/001/add/GPT.INI" 218s --- PASS: TestUpdateDirsFailing (0.21s) 218s === CONT TestRefreshGracePeriod 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestRefreshGracePeriod3754938995/001/withsubdir and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3754938995/001/withsubdir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3754938995/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexists\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexists\"" 218s --- PASS: TestUpdateDirs (0.58s) 218s === CONT TestWatchDirectory/No_update,_existing_gpt.ini 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini1887954576/001/one_file and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini1887954576/001/one_file" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini1887954576/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini1887954576/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=info msg="Watcher stopped" 218s === CONT TestWatchDirectory/New_subdir 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:15Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/dir\"" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/dir and children" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/dir" 218s time="2025-06-17T13:55:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/dir/file" 218s time="2025-06-17T13:55:16Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:16Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir1046924012/001/withsubdir/GPT.INI" 218s === CONT TestWatchDirectory/Rename_file 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file528433287/001/one_file and children" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file528433287/001/one_file" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file528433287/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file528433287/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file528433287/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file528433287/001/one_file/alreadyexists.bak\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:16Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:16Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file528433287/001/one_file/GPT.INI" 218s === CONT TestWatchDirectory/No_update,_no_gpt.ini 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_no_gpt.ini2828220035/001/no_gpt and children" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini2828220035/001/no_gpt" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini2828220035/001/no_gpt/testfile" 218s time="2025-06-17T13:55:16Z" level=info msg="Watcher stopped" 218s === CONT TestWatchDirectory/New_file,_no_gpt.ini 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_no_gpt.ini950359133/001/no_gpt and children" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini950359133/001/no_gpt" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini950359133/001/no_gpt/testfile" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini950359133/001/no_gpt/new\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini950359133/001/no_gpt/new\"" 218s time="2025-06-17T13:55:16Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:16Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_no_gpt.ini950359133/001/no_gpt/GPT.INI" 218s time="2025-06-17T13:55:16Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryNew_file,_no_gpt.ini950359133/001/no_gpt/GPT.INI: no such file or directory, creating a new file" 218s === CONT TestWatchDirectory/Error_on_updating_malformed_GPT.ini 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini1508268561/001/malformed and children" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini1508268561/001/malformed" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini1508268561/001/malformed/GPT.INI" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini1508268561/001/malformed/new\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini1508268561/001/malformed/new\"" 218s time="2025-06-17T13:55:16Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:16Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini1508268561/001/malformed/GPT.INI" 218s time="2025-06-17T13:55:16Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini1508268561/001/malformed/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini1508268561/001/malformed/GPT.INI: strconv.ParseInt: parsing \"??\": invalid syntax" 218s === CONT TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/one_file and children" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/one_file" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir and children" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:16Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir/alreadyexists\"" 218s time="2025-06-17T13:55:16Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:17Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated3391252050/001/withsubdir/GPT.INI" 218s === CONT TestWatchDirectory/Combined_case 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/new\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/new\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/dir\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/dir and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/dir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/dir/file" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexistsDir/new\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/alreadyexistsDir/new\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/otherdir\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/otherdir and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/otherdir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/otherdir/subdir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/otherdir/subdir/file" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/newdir\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/newdir\"" 218s time="2025-06-17T13:55:17Z" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod3754938995/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/GPT.INI\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/GPT.INI\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/GPT.INI\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod3754938995/001/withsubdir/GPT.INI\"" 218s time="2025-06-17T13:55:17Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:17Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryCombined_case990362026/001/withsubdir/GPT.INI" 218s === CONT TestWatchDirectory/Multiple_nested_subdirectories 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/new\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/new\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:17Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories1113208474/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=info msg="Watcher stopped" 218s --- PASS: TestRefreshGracePeriod (1.96s) 218s === CONT TestWatchDirectory/Updating_gpt.ini_is_a_no-op 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op160969509/001/one_file and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op160969509/001/one_file" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op160969509/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op160969509/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op160969509/001/one_file/GPT.INI\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op160969509/001/one_file/GPT.INI\"" 218s === CONT TestWatchDirectory/Update_existing_file 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_existing_file528649877/001/one_file and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file528649877/001/one_file" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file528649877/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file528649877/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file528649877/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file528649877/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:17Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:17Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_existing_file528649877/001/one_file/GPT.INI" 218s === CONT TestWatchDirectory/Update_with_existing_gpt.ini 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4161938157/001/one_file and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4161938157/001/one_file" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4161938157/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4161938157/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4161938157/001/one_file/new\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4161938157/001/one_file/new\"" 218s === CONT TestWatchDirectory/Error_on_non_existing_directory 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_non_existing_directory1914774497/001/doesnotexist and children" 218s === CONT TestWatchDirectory/Multiple_directories,_only_one_is_updated 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/one_file and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/one_file" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir and children" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir/alreadyexists\"" 218s time="2025-06-17T13:55:17Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:17Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini4161938157/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:17Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:17Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated67200273/001/withsubdir/GPT.INI" 218s === CONT TestWatchDirectory/Rename_file_and_update 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file_and_update981301095/001/one_file and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update981301095/001/one_file" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update981301095/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update981301095/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file_and_update981301095/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file_and_update981301095/001/one_file/alreadyexists.bak\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryRename_file_and_update981301095/001/one_file/alreadyexists.bak\"" 218s === CONT TestWatchDirectory/Remove_file 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_file686163803/001/one_file and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file686163803/001/one_file" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file686163803/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file686163803/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_file686163803/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file686163803/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file686163803/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file686163803/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file686163803/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file686163803/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file686163803/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:18Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file_and_update981301095/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:18Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_file686163803/001/one_file/GPT.INI" 218s === CONT TestWatchDirectory/Remove_root_directory 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/GPT.INI\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/GPT.INI\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/GPT.INI\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file" 218s === CONT TestWatchDirectory/Error_on_listing_no_directory 218s === CONT TestWatchDirectory/New_subdir_without_file 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir/newsubdir\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir/newsubdir\"" 218s time="2025-06-17T13:55:18Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:18Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/GPT.INI: no such file or directory, creating a new file" 218s time="2025-06-17T13:55:18Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/GPT.INI: open /tmp/TestWatchDirectoryRemove_root_directory3013338741/001/one_file/GPT.INI: no such file or directory" 218s time="2025-06-17T13:55:18Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:18Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir_without_file375973763/001/withsubdir/GPT.INI" 218s === CONT TestWatchDirectory/Nested_new_subdirs 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/otherdir\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/otherdir and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/otherdir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/otherdir/subdir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/otherdir/subdir/file" 218s === CONT TestWatchDirectory/Existing_file,_subdir 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:18Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNested_new_subdirs557987975/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:18Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryExisting_file,_subdir2775773462/001/withsubdir/GPT.INI" 218s === CONT TestWatchDirectory/New_file,_subdir 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir/alreadyexistsDir/new\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir/alreadyexistsDir/new\"" 218s === CONT TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir and children" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir/alreadyexists" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir/alreadyexists\"" 218s time="2025-06-17T13:55:18Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:18Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_subdir1358998857/001/withsubdir/GPT.INI" 218s time="2025-06-17T13:55:18Z" level=info msg="Watcher stopped" 218s time="2025-06-17T13:55:18Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file3874205773/001/withsubdir/alreadyexistsDir/GPT.INI" 218s --- PASS: TestWatchDirectory (0.00s) 218s --- PASS: TestWatchDirectory/No_update,_existing_gpt.ini (0.21s) 218s --- PASS: TestWatchDirectory/New_subdir (0.21s) 218s --- PASS: TestWatchDirectory/Rename_file (0.21s) 218s --- PASS: TestWatchDirectory/No_update,_no_gpt.ini (0.21s) 218s --- PASS: TestWatchDirectory/New_file,_no_gpt.ini (0.21s) 218s --- PASS: TestWatchDirectory/Error_on_updating_malformed_GPT.ini (0.21s) 218s --- PASS: TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated (0.21s) 218s --- PASS: TestWatchDirectory/Combined_case (0.21s) 218s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories (0.21s) 218s --- PASS: TestWatchDirectory/Updating_gpt.ini_is_a_no-op (0.21s) 218s --- PASS: TestWatchDirectory/Update_existing_file (0.21s) 218s --- PASS: TestWatchDirectory/Error_on_non_existing_directory (0.00s) 218s --- PASS: TestWatchDirectory/Update_with_existing_gpt.ini (0.21s) 218s --- PASS: TestWatchDirectory/Multiple_directories,_only_one_is_updated (0.21s) 218s --- PASS: TestWatchDirectory/Rename_file_and_update (0.21s) 218s --- PASS: TestWatchDirectory/Remove_file (0.21s) 218s --- PASS: TestWatchDirectory/Error_on_listing_no_directory (0.00s) 218s --- PASS: TestWatchDirectory/Remove_root_directory (0.21s) 218s --- PASS: TestWatchDirectory/New_subdir_without_file (0.21s) 218s --- PASS: TestWatchDirectory/Nested_new_subdirs (0.21s) 218s --- PASS: TestWatchDirectory/Existing_file,_subdir (0.21s) 218s --- PASS: TestWatchDirectory/New_file,_subdir (0.21s) 218s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file (0.21s) 218s PASS 218s ok github.com/ubuntu/adsys/internal/watcher 3.763s 218s autopkgtest [13:55:19]: test command1: -----------------------] 219s command1 PASS 219s autopkgtest [13:55:20]: test command1: - - - - - - - - - - results - - - - - - - - - - 219s autopkgtest [13:55:20]: test command2: preparing testbed 219s Reading package lists... 219s Building dependency tree... 219s Reading state information... 220s Starting pkgProblemResolver with broken count: 0 220s Starting 2 pkgProblemResolver with broken count: 0 220s Done 220s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 221s autopkgtest [13:55:22]: test command2: ./debian/tests/test sudo 221s autopkgtest [13:55:22]: test command2: [----------------------- 221s Running root tests... 383s === RUN TestRunFailsWhenServiceIsRunning 383s --- PASS: TestRunFailsWhenServiceIsRunning (5.90s) 383s === RUN TestRunWithForceWhenServiceIsRunning 383s time="2025-06-17T13:56:09Z" level=warning msg="another instance of the adwatchd service is already running" 383s --- PASS: TestRunWithForceWhenServiceIsRunning (6.00s) 383s === RUN TestRunWithNoDirs 383s === PAUSE TestRunWithNoDirs 383s === RUN TestRunReactsToConfigUpdates 383s time="2025-06-17T13:56:09Z" level=warning msg="Service binary path does not match executable path\nService binary path: /tmp/go-build1657495347/b369/watchdtui.test\nCurrent executable path: /tmp/go-build1657495347/b001/integration_tests.test" 383s time="2025-06-17T13:56:09Z" level=info msg="/tmp/autopkgtest.eS83fh/build.76A/src/internal/watchdservice/watchdservice.go:127 (*WatchdService).UpdateDirs() Updating directories to watch" 383s time="2025-06-17T13:56:09Z" level=debug msg="/tmp/autopkgtest.eS83fh/build.76A/src/internal/watcher/watcher.go:170 (*Watcher).UpdateDirs() Updating directories to [non-existent-dir]" 383s time="2025-06-17T13:56:09Z" level=warning msg="/tmp/autopkgtest.eS83fh/build.76A/src/cmd/adwatchd/commands/main.go:115 New.func1.1() failed to update directories: failed to change directories to watch: can't update directories to watch: directory \"non-existent-dir\" does not exist" 383s time="2025-06-17T13:56:09Z" level=info msg="/tmp/autopkgtest.eS83fh/build.76A/src/internal/config/config.go:85 Init.func1() Config file \"/tmp/TestRunReactsToConfigUpdates2334714090/003/adwatchd.yaml\" changed. Reloading." 383s time="2025-06-17T13:56:09Z" level=info msg="/tmp/autopkgtest.eS83fh/build.76A/src/internal/watchdservice/watchdservice.go:127 (*WatchdService).UpdateDirs() Updating directories to watch" 383s time="2025-06-17T13:56:09Z" level=debug msg="/tmp/autopkgtest.eS83fh/build.76A/src/internal/watcher/watcher.go:170 (*Watcher).UpdateDirs() Updating directories to [non-existent-dir]" 383s time="2025-06-17T13:56:09Z" level=warning msg="/tmp/autopkgtest.eS83fh/build.76A/src/cmd/adwatchd/commands/main.go:115 New.func1.1() failed to update directories: failed to change directories to watch: can't update directories to watch: directory \"non-existent-dir\" does not exist" 383s time="2025-06-17T13:56:10Z" level=info msg="/tmp/autopkgtest.eS83fh/build.76A/src/internal/watcher/watcher.go:300 (*Watcher).watch() Watcher stopped" 383s --- PASS: TestRunReactsToConfigUpdates (0.40s) 383s === RUN TestServiceStateChange 383s === RUN TestServiceStateChange/restart 383s === RUN TestServiceStateChange/uninstall_and_start 383s === RUN TestServiceStateChange/uninstall 383s === RUN TestServiceStateChange/uninstall_multiple_times 383s === RUN TestServiceStateChange/uninstall_and_install 383s === RUN TestServiceStateChange/uninstall_and_restart 383s === RUN TestServiceStateChange/stop_multiple_times 383s === RUN TestServiceStateChange/start 383s === RUN TestServiceStateChange/install 383s === RUN TestServiceStateChange/start_and_stop 383s === RUN TestServiceStateChange/start_and_restart 383s === RUN TestServiceStateChange/uninstall_and_stop 383s === RUN TestServiceStateChange/start_multiple_times 383s === RUN TestServiceStateChange/start_and_uninstall 383s --- PASS: TestServiceStateChange (101.11s) 383s --- PASS: TestServiceStateChange/restart (6.74s) 383s --- PASS: TestServiceStateChange/uninstall_and_start (6.83s) 383s --- PASS: TestServiceStateChange/uninstall (6.79s) 383s --- PASS: TestServiceStateChange/uninstall_multiple_times (6.82s) 383s --- PASS: TestServiceStateChange/uninstall_and_install (12.57s) 383s --- PASS: TestServiceStateChange/uninstall_and_restart (6.79s) 383s --- PASS: TestServiceStateChange/stop_multiple_times (6.79s) 383s --- PASS: TestServiceStateChange/start (6.83s) 383s --- PASS: TestServiceStateChange/install (6.78s) 383s --- PASS: TestServiceStateChange/start_and_stop (6.85s) 383s --- PASS: TestServiceStateChange/start_and_restart (6.87s) 383s --- PASS: TestServiceStateChange/uninstall_and_stop (6.81s) 383s --- PASS: TestServiceStateChange/start_multiple_times (6.82s) 383s --- PASS: TestServiceStateChange/start_and_uninstall (6.82s) 383s === RUN TestServiceStartWithABadDir 383s adwatchd_service_test.go:94: 383s --- SKIP: TestServiceStartWithABadDir (0.00s) 383s === RUN TestInstall 383s --- PASS: TestInstall (5.76s) 383s === RUN TestCreateAndUpdateGPT 383s === PAUSE TestCreateAndUpdateGPT 383s === RUN TestServiceStatusContainsCorrectDirs 383s adwatchd_service_test.go:202: This test is Windows-only 383s --- SKIP: TestServiceStatusContainsCorrectDirs (0.00s) 383s === RUN TestServiceConfigFlagUsage 383s === RUN TestServiceConfigFlagUsage/uninstall 383s Usage: 383s adwatchd service uninstall [flags] 383s 383s Flags: 383s -h, --help help for uninstall 383s 383s Global Flags: 383s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 383s 383s === RUN TestServiceConfigFlagUsage/status 383s Usage: 383s adwatchd service status [flags] 383s 383s Flags: 383s -h, --help help for status 383s 383s Global Flags: 383s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 383s 383s === RUN TestServiceConfigFlagUsage/install 383s === RUN TestServiceConfigFlagUsage/start 383s Usage: 383s adwatchd service start [flags] 383s 383s Flags: 383s -h, --help help for start 383s 383s Global Flags: 383s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 383s 383s === RUN TestServiceConfigFlagUsage/restart 383s Usage: 383s adwatchd service restart [flags] 383s 383s Flags: 383s -h, --help help for restart 383s 383s Global Flags: 383s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 383s 383s --- PASS: TestServiceConfigFlagUsage (0.01s) 383s --- PASS: TestServiceConfigFlagUsage/uninstall (0.00s) 383s --- PASS: TestServiceConfigFlagUsage/status (0.00s) 383s --- PASS: TestServiceConfigFlagUsage/install (0.00s) 383s --- PASS: TestServiceConfigFlagUsage/start (0.00s) 383s --- PASS: TestServiceConfigFlagUsage/restart (0.00s) 383s === CONT TestRunWithNoDirs 383s === CONT TestCreateAndUpdateGPT 383s --- PASS: TestRunWithNoDirs (0.00s) 383s --- PASS: TestCreateAndUpdateGPT (7.36s) 383s PASS 383s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 126.579s 383s === RUN TestInteractiveInput 383s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 383s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 383s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 383s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 383s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 383s === RUN TestInteractiveInput/Submit_with_default_config 383s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 383s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 383s === RUN TestInteractiveInput/Config_file_exists 383s === RUN TestInteractiveInput/Other_navigation_tests 383s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 383s === RUN TestInteractiveInput/Directory_exists 383s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 383s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 383s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 383s === RUN TestInteractiveInput/Submit_with_duplicate_directories 383s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 383s === RUN TestInteractiveInput/Initial_view 383s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 383s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 383s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 383s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 383s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 383s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 383s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 383s --- PASS: TestInteractiveInput (0.02s) 383s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 383s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.00s) 383s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.00s) 383s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 383s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 383s --- PASS: TestInteractiveInput/Submit_with_default_config (0.00s) 383s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 383s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 383s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 383s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 383s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.00s) 383s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 383s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.00s) 383s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 383s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 383s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 383s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 383s --- PASS: TestInteractiveInput/Initial_view (0.00s) 383s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.00s) 383s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 383s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 383s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 383s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 383s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 383s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 383s === RUN TestInteractiveInstall 383s time="2025-06-17T13:55:58Z" level=info msg="Installing watcher service" 383s time="2025-06-17T13:56:05Z" level=info msg="Uninstalling watcher service" 383s --- PASS: TestInteractiveInstall (6.80s) 383s === RUN TestInteractiveUpdate 383s === RUN TestInteractiveUpdate/Change_directories,_different_config_file 383s time="2025-06-17T13:56:05Z" level=info msg="Installing watcher service" 383s time="2025-06-17T13:56:12Z" level=info msg="Uninstalling watcher service" 383s time="2025-06-17T13:56:12Z" level=info msg="Installing watcher service" 383s time="2025-06-17T13:56:18Z" level=info msg="Uninstalling watcher service" 383s === RUN TestInteractiveUpdate/Change_directories,_same_config_file 383s time="2025-06-17T13:56:19Z" level=info msg="Installing watcher service" 383s time="2025-06-17T13:56:26Z" level=info msg="Uninstalling watcher service" 383s --- PASS: TestInteractiveUpdate (21.33s) 383s --- PASS: TestInteractiveUpdate/Change_directories,_different_config_file (13.58s) 383s --- PASS: TestInteractiveUpdate/Change_directories,_same_config_file (7.74s) 383s PASS 383s ok github.com/ubuntu/adsys/internal/watchdtui 28.172s 384s autopkgtest [13:58:05]: test command2: -----------------------] 384s command2 PASS 384s autopkgtest [13:58:05]: test command2: - - - - - - - - - - results - - - - - - - - - - 384s autopkgtest [13:58:05]: @@@@@@@@@@@@@@@@@@@@ summary 384s command1 PASS 384s command2 PASS 388s nova [W] Using flock in prodstack7-arm64 388s Creating nova instance adt-noble-arm64-adsys-20250617-131343-juju-7f2275-prod-proposed-migration-environment-23-5ce91da1-ebe7-47e6-8724-d37ccf696b89 from image adt/ubuntu-noble-arm64-server-20250617.img (UUID e6681e44-2595-40ae-a677-c8239624cacf)... 388s nova [W] Timed out waiting for f46daf16-473b-4dfc-b99f-f866ab79156d to get deleted.