0s autopkgtest [15:00:56]: starting date and time: 2025-10-18 15:00:56+0000 0s autopkgtest [15:00:56]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [15:00:56]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0q1vr64f/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade adsys --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 -- lxd -r lxd-armhf-10.145.243.39 lxd-armhf-10.145.243.39:autopkgtest/ubuntu/resolute/armhf 20s autopkgtest [15:01:16]: testbed dpkg architecture: armhf 22s autopkgtest [15:01:18]: testbed apt version: 3.1.6ubuntu2 25s autopkgtest [15:01:21]: @@@@@@@@@@@@@@@@@@@@ test bed setup 27s autopkgtest [15:01:23]: testbed release detected to be: None 35s autopkgtest [15:01:31]: updating testbed package index (apt update) 37s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 37s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [83.3 kB] 37s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 37s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 37s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [15.4 kB] 37s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [345 kB] 37s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [28.4 kB] 37s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 37s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [67.3 kB] 37s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 37s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [214 kB] 37s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [2804 B] 37s Get:13 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.1 MB] 39s Get:14 http://ftpmaster.internal/ubuntu resolute/main Sources [1399 kB] 39s Get:15 http://ftpmaster.internal/ubuntu resolute/restricted Sources [14.4 kB] 39s Get:16 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [307 kB] 39s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1357 kB] 39s Get:18 http://ftpmaster.internal/ubuntu resolute/restricted armhf Packages [1672 B] 39s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.8 MB] 39s Get:20 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [182 kB] 43s Fetched 40.0 MB in 6s (6713 kB/s) 44s Reading package lists... 50s autopkgtest [15:01:46]: upgrading testbed (apt dist-upgrade and autopurge) 51s Reading package lists... 52s Building dependency tree... 52s Reading state information... 52s Calculating upgrade... 53s The following packages will be upgraded: 53s apparmor apt base-files binutils binutils-arm-linux-gnueabihf 53s binutils-common cloud-init cloud-init-base distro-info-data gcc-15-base 53s gir1.2-girepository-2.0 libapparmor1 libapt-pkg7.0 libatomic1 libbinutils 53s libctf-nobfd0 libctf0 libgcc-s1 libgirepository-1.0-1 libpython3-stdlib 53s libsframe2 libstdc++6 lto-disabled-list python3 python3-minimal sudo-rs 54s 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 54s Need to get 7366 kB of archives. 54s After this operation, 14.3 kB of additional disk space will be used. 54s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf base-files armhf 14ubuntu4 [75.4 kB] 54s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libatomic1 armhf 15.2.0-5ubuntu1 [7942 B] 54s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-base armhf 15.2.0-5ubuntu1 [58.1 kB] 54s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-s1 armhf 15.2.0-5ubuntu1 [40.6 kB] 54s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++6 armhf 15.2.0-5ubuntu1 [731 kB] 54s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.8ubuntu1 [1148 kB] 54s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.8ubuntu1 [1404 kB] 54s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 54s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 54s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 54s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf distro-info-data all 0.67~ubuntu1 [7004 B] 54s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-1.0-1 armhf 1.86.0-6 [111 kB] 54s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf gir1.2-girepository-2.0 armhf 1.86.0-6 [25.3 kB] 54s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libapparmor1 armhf 5.0.0~alpha1-0ubuntu8.1 [52.9 kB] 54s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf sudo-rs armhf 0.2.8-1ubuntu5.1 [548 kB] 54s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf apparmor armhf 5.0.0~alpha1-0ubuntu8.1 [631 kB] 54s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libctf0 armhf 2.45-7ubuntu2 [75.7 kB] 54s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libctf-nobfd0 armhf 2.45-7ubuntu2 [79.1 kB] 54s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-arm-linux-gnueabihf armhf 2.45-7ubuntu2 [1022 kB] 54s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libbinutils armhf 2.45-7ubuntu2 [411 kB] 54s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf binutils armhf 2.45-7ubuntu2 [3240 B] 54s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf binutils-common armhf 2.45-7ubuntu2 [220 kB] 54s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libsframe2 armhf 2.45-7ubuntu2 [13.4 kB] 54s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init-base all 25.3-0ubuntu1 [625 kB] 54s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf cloud-init all 25.3-0ubuntu1 [2106 B] 54s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf lto-disabled-list all 71 [12.5 kB] 55s Preconfiguring packages ... 55s Fetched 7366 kB in 1s (8502 kB/s) 55s (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 ... 61081 files and directories currently installed.) 55s Preparing to unpack .../base-files_14ubuntu4_armhf.deb ... 55s Unpacking base-files (14ubuntu4) over (14ubuntu3) ... 56s Setting up base-files (14ubuntu4) ... 56s Installing new version of config file /etc/issue ... 56s Installing new version of config file /etc/issue.net ... 56s Installing new version of config file /etc/lsb-release ... 56s motd-news.service is a disabled or a static unit not running, not starting it. 57s (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 ... 61081 files and directories currently installed.) 57s Preparing to unpack .../libatomic1_15.2.0-5ubuntu1_armhf.deb ... 57s Unpacking libatomic1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 57s Preparing to unpack .../gcc-15-base_15.2.0-5ubuntu1_armhf.deb ... 57s Unpacking gcc-15-base:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 57s Setting up gcc-15-base:armhf (15.2.0-5ubuntu1) ... 57s (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 ... 61081 files and directories currently installed.) 57s Preparing to unpack .../libgcc-s1_15.2.0-5ubuntu1_armhf.deb ... 57s Unpacking libgcc-s1:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 57s Setting up libgcc-s1:armhf (15.2.0-5ubuntu1) ... 57s (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 ... 61081 files and directories currently installed.) 57s Preparing to unpack .../libstdc++6_15.2.0-5ubuntu1_armhf.deb ... 57s Unpacking libstdc++6:armhf (15.2.0-5ubuntu1) over (15.2.0-4ubuntu4) ... 57s Setting up libstdc++6:armhf (15.2.0-5ubuntu1) ... 57s (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 ... 61081 files and directories currently installed.) 57s Preparing to unpack .../libapt-pkg7.0_3.1.8ubuntu1_armhf.deb ... 57s Unpacking libapt-pkg7.0:armhf (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 57s Setting up libapt-pkg7.0:armhf (3.1.8ubuntu1) ... 57s (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 ... 61081 files and directories currently installed.) 57s Preparing to unpack .../apt_3.1.8ubuntu1_armhf.deb ... 57s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 57s Setting up apt (3.1.8ubuntu1) ... 58s (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 ... 61081 files and directories currently installed.) 58s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 58s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 58s Setting up python3-minimal (3.13.7-2) ... 59s (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 ... 61081 files and directories currently installed.) 59s Preparing to unpack .../00-python3_3.13.7-2_armhf.deb ... 59s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 59s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_armhf.deb ... 59s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 59s Preparing to unpack .../02-distro-info-data_0.67~ubuntu1_all.deb ... 59s Unpacking distro-info-data (0.67~ubuntu1) over (0.66) ... 59s Preparing to unpack .../03-libgirepository-1.0-1_1.86.0-6_armhf.deb ... 59s Unpacking libgirepository-1.0-1:armhf (1.86.0-6) over (1.84.0-1) ... 59s Preparing to unpack .../04-gir1.2-girepository-2.0_1.86.0-6_armhf.deb ... 59s Unpacking gir1.2-girepository-2.0:armhf (1.86.0-6) over (1.84.0-1) ... 59s Preparing to unpack .../05-libapparmor1_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 59s Unpacking libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 59s Preparing to unpack .../06-sudo-rs_0.2.8-1ubuntu5.1_armhf.deb ... 59s Unpacking sudo-rs (0.2.8-1ubuntu5.1) over (0.2.8-1ubuntu5) ... 59s Preparing to unpack .../07-apparmor_5.0.0~alpha1-0ubuntu8.1_armhf.deb ... 61s Unpacking apparmor (5.0.0~alpha1-0ubuntu8.1) over (5.0.0~alpha1-0ubuntu8) ... 62s Preparing to unpack .../08-libctf0_2.45-7ubuntu2_armhf.deb ... 62s Unpacking libctf0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 62s Preparing to unpack .../09-libctf-nobfd0_2.45-7ubuntu2_armhf.deb ... 62s Unpacking libctf-nobfd0:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 62s Preparing to unpack .../10-binutils-arm-linux-gnueabihf_2.45-7ubuntu2_armhf.deb ... 62s Unpacking binutils-arm-linux-gnueabihf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 62s Preparing to unpack .../11-libbinutils_2.45-7ubuntu2_armhf.deb ... 62s Unpacking libbinutils:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 62s Preparing to unpack .../12-binutils_2.45-7ubuntu2_armhf.deb ... 62s Unpacking binutils (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 62s Preparing to unpack .../13-binutils-common_2.45-7ubuntu2_armhf.deb ... 62s Unpacking binutils-common:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 62s Preparing to unpack .../14-libsframe2_2.45-7ubuntu2_armhf.deb ... 62s Unpacking libsframe2:armhf (2.45-7ubuntu2) over (2.45-7ubuntu1) ... 62s Preparing to unpack .../15-cloud-init-base_25.3-0ubuntu1_all.deb ... 63s Unpacking cloud-init-base (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 63s Preparing to unpack .../16-cloud-init_25.3-0ubuntu1_all.deb ... 63s Unpacking cloud-init (25.3-0ubuntu1) over (25.3~2g890873f5-0ubuntu2) ... 63s Preparing to unpack .../17-lto-disabled-list_71_all.deb ... 63s Unpacking lto-disabled-list (71) over (69) ... 63s Setting up lto-disabled-list (71) ... 63s Setting up libapparmor1:armhf (5.0.0~alpha1-0ubuntu8.1) ... 63s Setting up distro-info-data (0.67~ubuntu1) ... 63s Setting up libsframe2:armhf (2.45-7ubuntu2) ... 63s Setting up binutils-common:armhf (2.45-7ubuntu2) ... 63s Setting up libctf-nobfd0:armhf (2.45-7ubuntu2) ... 63s Setting up apparmor (5.0.0~alpha1-0ubuntu8.1) ... 63s Installing new version of config file /etc/apparmor.d/fusermount3 ... 63s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 63s 63s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 63s 63s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 63s 65s Reloading AppArmor profiles 65s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "dig". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "hostname". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "john". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "linux-boot-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "gs". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "compressor". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "locale". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "notify-send". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "nslookup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "os-prober". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "qpdf". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ssh-keyscan". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "proftpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "systemd-detect-virt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "/usr/sbin/chronyd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "who". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 65s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 65s 66s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 66s 66s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 66s 66s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 66s 66s Error: At least one profile failed to load 66s Setting up libatomic1:armhf (15.2.0-5ubuntu1) ... 66s Setting up libgirepository-1.0-1:armhf (1.86.0-6) ... 66s Setting up libbinutils:armhf (2.45-7ubuntu2) ... 66s Setting up sudo-rs (0.2.8-1ubuntu5.1) ... 66s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 66s Setting up libctf0:armhf (2.45-7ubuntu2) ... 66s Setting up python3 (3.13.7-2) ... 66s Setting up cloud-init-base (25.3-0ubuntu1) ... 68s Setting up gir1.2-girepository-2.0:armhf (1.86.0-6) ... 68s Setting up binutils-arm-linux-gnueabihf (2.45-7ubuntu2) ... 68s Setting up cloud-init (25.3-0ubuntu1) ... 68s Setting up binutils (2.45-7ubuntu2) ... 68s Processing triggers for plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu1) ... 68s Processing triggers for procps (2:4.0.4-8ubuntu3) ... 68s Processing triggers for install-info (7.1.1-1ubuntu1) ... 68s Processing triggers for libc-bin (2.42-0ubuntu3) ... 68s Processing triggers for rsyslog (8.2504.0-1ubuntu2) ... 69s Processing triggers for systemd (257.9-0ubuntu2) ... 69s Processing triggers for man-db (2.13.1-1) ... 74s Reading package lists... 74s Building dependency tree... 74s Reading state information... 75s Solving dependencies... 76s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 78s autopkgtest [15:02:14]: rebooting testbed after setup commands that affected boot 117s autopkgtest [15:02:53]: testbed running kernel: Linux 6.8.0-58-generic #60~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 28 14:48:37 UTC 2 140s autopkgtest [15:03:16]: @@@@@@@@@@@@@@@@@@@@ apt-source adsys 150s Get:1 http://ftpmaster.internal/ubuntu resolute/main adsys 0.16.3 (dsc) [1482 B] 150s Get:2 http://ftpmaster.internal/ubuntu resolute/main adsys 0.16.3 (tar) [7365 kB] 151s gpgv: Signature made Thu Mar 27 14:31:27 2025 UTC 151s gpgv: using DSA key DD00EF8F4D23C30D78EC990998B24A9CE4AC208E 151s gpgv: Can't check signature: No public key 151s dpkg-source: warning: cannot verify inline signature for ./adsys_0.16.3.dsc: no acceptable signature found 152s autopkgtest [15:03:28]: testing package adsys version 0.16.3 154s autopkgtest [15:03:30]: build not needed 157s autopkgtest [15:03:33]: test command1: preparing testbed 159s Reading package lists... 159s Building dependency tree... 159s Reading state information... 160s Solving dependencies... 160s The following NEW packages will be installed: 160s autoconf automake autopoint autotools-dev build-essential comerr-dev cpp 160s cpp-15 cpp-15-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper 160s debugedit dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ 160s g++-15 g++-15-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-15 160s gcc-15-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext 160s girepository-tools golang-1.25-go golang-1.25-src golang-go golang-src 160s intltool-debian krb5-multidev libarchive-zip-perl libasan8 libavahi-client3 160s libavahi-common-data libavahi-common3 libblkid-dev libc-dev-bin libc6-dev 160s libcap-dev libcc1-0 libcrypt-dev libcups2t64 libdbus-1-dev libdebhelper-perl 160s libdw1t64 libffi-dev libfile-stripnondeterminism-perl libgcc-15-dev 160s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 160s libglib2.0-dev libglib2.0-dev-bin libgomp1 libgpgme11t64 libgssrpc4t64 160s libicu76 libisl23 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10t64 160s libkrb5-dev libldb2 libmount-dev libmpc3 libpam0g-dev libpcre2-16-0 161s libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 libpython3.13 161s libselinux1-dev libsepol-dev libsmbclient-dev libsmbclient0 libstdc++-15-dev 161s libsysprof-capture-4-dev libsystemd-dev libtalloc2 libtdb1 libtevent0t64 161s libtool libubsan1 liburing2 libwbclient-dev libwbclient0 linux-libc-dev m4 161s native-architecture pkgconf pkgconf-bin po-debconf python3-ldb 161s python3-packaging python3-samba python3-talloc python3-tdb rpcsvc-proto 161s samba samba-common samba-common-bin samba-dsdb-modules samba-libs sgml-base 161s uuid-dev xml-core zlib1g-dev 161s 0 upgraded, 112 newly installed, 0 to remove and 0 not upgraded. 161s Need to get 131 MB of archives. 161s After this operation, 507 MB of additional disk space will be used. 161s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf samba-common all 2:4.22.3+dfsg-4ubuntu2.1 [72.5 kB] 161s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libavahi-common-data armhf 0.8-16ubuntu3 [31.1 kB] 161s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libavahi-common3 armhf 0.8-16ubuntu3 [20.4 kB] 161s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libavahi-client3 armhf 0.8-16ubuntu3 [24.7 kB] 161s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libcups2t64 armhf 2.4.12-0ubuntu3 [241 kB] 161s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libicu76 armhf 76.1-4ubuntu2 [10.8 MB] 161s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf libtalloc2 armhf 2:2.4.3+samba4.22.3+dfsg-4ubuntu2.1 [73.2 kB] 161s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf libtdb1 armhf 2:1.4.13+samba4.22.3+dfsg-4ubuntu2.1 [90.8 kB] 161s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf libtevent0t64 armhf 2:0.16.2+samba4.22.3+dfsg-4ubuntu2.1 [36.7 kB] 161s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libldb2 armhf 2:2.11.0+samba4.22.3+dfsg-4ubuntu2.1 [127 kB] 161s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf libwbclient0 armhf 2:4.22.3+dfsg-4ubuntu2.1 [79.9 kB] 161s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf samba-libs armhf 2:4.22.3+dfsg-4ubuntu2.1 [6108 kB] 162s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf samba-common-bin armhf 2:4.22.3+dfsg-4ubuntu2.1 [1335 kB] 162s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf liburing2 armhf 2.11-1 [22.1 kB] 162s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf samba armhf 2:4.22.3+dfsg-4ubuntu2.1 [1324 kB] 162s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf m4 armhf 1.4.19-8 [238 kB] 162s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf autoconf all 2.72-3.1ubuntu1 [384 kB] 162s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf autotools-dev all 20240727.1 [43.4 kB] 162s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf automake all 1:1.17-4ubuntu1 [572 kB] 162s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf autopoint all 0.23.1-2build2 [619 kB] 162s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf libc-dev-bin armhf 2.42-0ubuntu3 [21.8 kB] 162s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf linux-libc-dev armhf 6.17.0-5.5 [1771 kB] 162s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt-dev armhf 1:4.4.38-1build1 [120 kB] 162s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf rpcsvc-proto armhf 1.4.3-1 [62.3 kB] 162s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf libc6-dev armhf 2.42-0ubuntu3 [1416 kB] 162s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf libisl23 armhf 0.27-1 [546 kB] 162s Get:27 http://ftpmaster.internal/ubuntu resolute/main armhf libmpc3 armhf 1.3.1-1build3 [47.2 kB] 162s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15-arm-linux-gnueabihf armhf 15.2.0-5ubuntu1 [10.1 MB] 162s Get:29 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15 armhf 15.2.0-5ubuntu1 [1034 B] 162s Get:30 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [5756 B] 162s Get:31 http://ftpmaster.internal/ubuntu resolute/main armhf cpp armhf 4:15.2.0-4ubuntu1 [22.4 kB] 162s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf libcc1-0 armhf 15.2.0-5ubuntu1 [43.6 kB] 162s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf libgomp1 armhf 15.2.0-5ubuntu1 [129 kB] 162s Get:34 http://ftpmaster.internal/ubuntu resolute/main armhf libasan8 armhf 15.2.0-5ubuntu1 [2952 kB] 162s Get:35 http://ftpmaster.internal/ubuntu resolute/main armhf libubsan1 armhf 15.2.0-5ubuntu1 [1187 kB] 162s Get:36 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-15-dev armhf 15.2.0-5ubuntu1 [898 kB] 162s Get:37 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-arm-linux-gnueabihf armhf 15.2.0-5ubuntu1 [19.5 MB] 163s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15 armhf 15.2.0-5ubuntu1 [492 kB] 163s Get:39 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [1220 B] 163s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf gcc armhf 4:15.2.0-4ubuntu1 [5022 B] 163s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++-15-dev armhf 15.2.0-5ubuntu1 [2635 kB] 163s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15-arm-linux-gnueabihf armhf 15.2.0-5ubuntu1 [11.4 MB] 163s Get:43 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15 armhf 15.2.0-5ubuntu1 [23.7 kB] 163s Get:44 http://ftpmaster.internal/ubuntu resolute/main armhf g++-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [968 B] 163s Get:45 http://ftpmaster.internal/ubuntu resolute/main armhf g++ armhf 4:15.2.0-4ubuntu1 [1086 B] 163s Get:46 http://ftpmaster.internal/ubuntu resolute/main armhf build-essential armhf 12.12ubuntu1 [5088 B] 163s Get:47 http://ftpmaster.internal/ubuntu resolute/main armhf libdebhelper-perl all 13.24.2ubuntu1 [95.7 kB] 163s Get:48 http://ftpmaster.internal/ubuntu resolute/main armhf libtool all 2.5.4-4build1 [169 kB] 163s Get:49 http://ftpmaster.internal/ubuntu resolute/main armhf dh-autoreconf all 21 [12.5 kB] 163s Get:50 http://ftpmaster.internal/ubuntu resolute/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 163s Get:51 http://ftpmaster.internal/ubuntu resolute/main armhf libfile-stripnondeterminism-perl all 1.14.2-1 [20.4 kB] 163s Get:52 http://ftpmaster.internal/ubuntu resolute/main armhf dh-strip-nondeterminism all 1.14.2-1 [5098 B] 163s Get:53 http://ftpmaster.internal/ubuntu resolute/main armhf libdw1t64 armhf 0.193-1 [248 kB] 163s Get:54 http://ftpmaster.internal/ubuntu resolute/main armhf debugedit armhf 1:5.2-3 [48.9 kB] 163s Get:55 http://ftpmaster.internal/ubuntu resolute/main armhf dwz armhf 0.16-2 [114 kB] 163s Get:56 http://ftpmaster.internal/ubuntu resolute/main armhf gettext armhf 0.23.1-2build2 [1059 kB] 163s Get:57 http://ftpmaster.internal/ubuntu resolute/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 163s Get:58 http://ftpmaster.internal/ubuntu resolute/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 163s Get:59 http://ftpmaster.internal/ubuntu resolute/main armhf debhelper all 13.24.2ubuntu1 [896 kB] 163s Get:60 http://ftpmaster.internal/ubuntu resolute/universe armhf dh-apport all 2.33.1-0ubuntu3 [20.2 kB] 163s Get:61 http://ftpmaster.internal/ubuntu resolute/main armhf native-architecture all 0.2.6 [2140 B] 163s Get:62 http://ftpmaster.internal/ubuntu resolute/main armhf libgirepository-2.0-0 armhf 2.86.0-2 [100 kB] 163s Get:63 http://ftpmaster.internal/ubuntu resolute/main armhf girepository-tools armhf 2.86.0-2 [109 kB] 163s Get:64 http://ftpmaster.internal/ubuntu resolute/main armhf golang-1.25-src all 1.25.0-0ubuntu1 [23.0 MB] 164s Get:65 http://ftpmaster.internal/ubuntu resolute/main armhf golang-1.25-go armhf 1.25.0-0ubuntu1 [16.3 MB] 164s Get:66 http://ftpmaster.internal/ubuntu resolute/main armhf golang-src all 2:1.25~1 [5206 B] 164s Get:67 http://ftpmaster.internal/ubuntu resolute/main armhf golang-go armhf 2:1.25~1 [44.1 kB] 164s Get:68 http://ftpmaster.internal/ubuntu resolute/main armhf comerr-dev armhf 2.1-1.47.2-3ubuntu2 [44.1 kB] 164s Get:69 http://ftpmaster.internal/ubuntu resolute/main armhf libgssrpc4t64 armhf 1.21.3-5ubuntu2 [51.8 kB] 164s Get:70 http://ftpmaster.internal/ubuntu resolute/main armhf libkadm5clnt-mit12 armhf 1.21.3-5ubuntu2 [35.5 kB] 164s Get:71 http://ftpmaster.internal/ubuntu resolute/main armhf libkdb5-10t64 armhf 1.21.3-5ubuntu2 [35.4 kB] 164s Get:72 http://ftpmaster.internal/ubuntu resolute/main armhf libkadm5srv-mit12 armhf 1.21.3-5ubuntu2 [45.9 kB] 164s Get:73 http://ftpmaster.internal/ubuntu resolute/main armhf krb5-multidev armhf 1.21.3-5ubuntu2 [125 kB] 164s Get:74 http://ftpmaster.internal/ubuntu resolute/main armhf libcap-dev armhf 1:2.75-7ubuntu2 [451 kB] 164s Get:75 http://ftpmaster.internal/ubuntu resolute/main armhf libsystemd-dev armhf 257.9-0ubuntu2 [1363 kB] 165s Get:76 http://ftpmaster.internal/ubuntu resolute/main armhf libpkgconf3 armhf 1.8.1-4build1 [26.6 kB] 165s Get:77 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf-bin armhf 1.8.1-4build1 [21.4 kB] 165s Get:78 http://ftpmaster.internal/ubuntu resolute/main armhf pkgconf armhf 1.8.1-4build1 [16.8 kB] 165s Get:79 http://ftpmaster.internal/ubuntu resolute/main armhf sgml-base all 1.31+nmu1 [11.0 kB] 165s Get:80 http://ftpmaster.internal/ubuntu resolute/main armhf xml-core all 0.19 [20.3 kB] 165s Get:81 http://ftpmaster.internal/ubuntu resolute/main armhf libdbus-1-dev armhf 1.16.2-2ubuntu2 [171 kB] 165s Get:82 http://ftpmaster.internal/ubuntu resolute/main armhf libffi-dev armhf 3.5.2-1build1 [58.6 kB] 165s Get:83 http://ftpmaster.internal/ubuntu resolute/main armhf uuid-dev armhf 2.41-4ubuntu4 [54.3 kB] 165s Get:84 http://ftpmaster.internal/ubuntu resolute/main armhf libblkid-dev armhf 2.41-4ubuntu4 [223 kB] 165s Get:85 http://ftpmaster.internal/ubuntu resolute/main armhf libsepol-dev armhf 3.8.1-1 [382 kB] 165s Get:86 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-16-0 armhf 10.46-1 [206 kB] 165s Get:87 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-32-0 armhf 10.46-1 [197 kB] 165s Get:88 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-posix3 armhf 10.46-1 [6286 B] 165s Get:89 http://ftpmaster.internal/ubuntu resolute/main armhf libpcre2-dev armhf 10.46-1 [744 kB] 165s Get:90 http://ftpmaster.internal/ubuntu resolute/main armhf libselinux1-dev armhf 3.8.1-1build1 [169 kB] 165s Get:91 http://ftpmaster.internal/ubuntu resolute/main armhf libmount-dev armhf 2.41-4ubuntu4 [36.2 kB] 165s Get:92 http://ftpmaster.internal/ubuntu resolute/main armhf libsysprof-capture-4-dev armhf 48.0-2 [49.3 kB] 165s Get:93 http://ftpmaster.internal/ubuntu resolute/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu2 [881 kB] 165s Get:94 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev armhf 2.86.0-2 [1730 kB] 165s Get:95 http://ftpmaster.internal/ubuntu resolute/main armhf python3-packaging all 25.0-1 [52.8 kB] 165s Get:96 http://ftpmaster.internal/ubuntu resolute/main armhf libgio-2.0-dev-bin armhf 2.86.0-2 [130 kB] 165s Get:97 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-bin armhf 2.86.0-2 [92.3 kB] 165s Get:98 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-dev-bin armhf 2.86.0-2 [18.2 kB] 165s Get:99 http://ftpmaster.internal/ubuntu resolute/main armhf libglib2.0-dev armhf 2.86.0-2 [18.9 kB] 165s Get:100 http://ftpmaster.internal/ubuntu resolute/main armhf libgpgme11t64 armhf 1.24.2-3ubuntu1 [126 kB] 165s Get:101 http://ftpmaster.internal/ubuntu resolute/main armhf libpam0g-dev armhf 1.7.0-5ubuntu2 [52.9 kB] 165s Get:102 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13 armhf 3.13.7-1 [2123 kB] 166s Get:103 http://ftpmaster.internal/ubuntu resolute/main armhf libsmbclient0 armhf 2:4.22.3+dfsg-4ubuntu2.1 [58.4 kB] 166s Get:104 http://ftpmaster.internal/ubuntu resolute/main armhf libwbclient-dev armhf 2:4.22.3+dfsg-4ubuntu2.1 [87.1 kB] 166s Get:105 http://ftpmaster.internal/ubuntu resolute/main armhf python3-ldb armhf 2:2.11.0+samba4.22.3+dfsg-4ubuntu2.1 [38.6 kB] 166s Get:106 http://ftpmaster.internal/ubuntu resolute/main armhf python3-tdb armhf 2:1.4.13+samba4.22.3+dfsg-4ubuntu2.1 [15.7 kB] 166s Get:107 http://ftpmaster.internal/ubuntu resolute/main armhf python3-talloc armhf 2:2.4.3+samba4.22.3+dfsg-4ubuntu2.1 [13.6 kB] 166s Get:108 http://ftpmaster.internal/ubuntu resolute/main armhf python3-samba armhf 2:4.22.3+dfsg-4ubuntu2.1 [2726 kB] 166s Get:109 http://ftpmaster.internal/ubuntu resolute/main armhf samba-dsdb-modules armhf 2:4.22.3+dfsg-4ubuntu2.1 [305 kB] 166s Get:110 http://ftpmaster.internal/ubuntu resolute/main armhf dh-golang all 1.63 [24.9 kB] 166s Get:111 http://ftpmaster.internal/ubuntu resolute/main armhf libkrb5-dev armhf 1.21.3-5ubuntu2 [11.9 kB] 166s Get:112 http://ftpmaster.internal/ubuntu resolute/main armhf libsmbclient-dev armhf 2:4.22.3+dfsg-4ubuntu2.1 [40.5 kB] 167s Fetched 131 MB in 5s (23.9 MB/s) 167s Selecting previously unselected package samba-common. 167s (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 ... 61081 files and directories currently installed.) 167s Preparing to unpack .../000-samba-common_2%3a4.22.3+dfsg-4ubuntu2.1_all.deb ... 167s Unpacking samba-common (2:4.22.3+dfsg-4ubuntu2.1) ... 167s Selecting previously unselected package libavahi-common-data:armhf. 167s Preparing to unpack .../001-libavahi-common-data_0.8-16ubuntu3_armhf.deb ... 167s Unpacking libavahi-common-data:armhf (0.8-16ubuntu3) ... 167s Selecting previously unselected package libavahi-common3:armhf. 167s Preparing to unpack .../002-libavahi-common3_0.8-16ubuntu3_armhf.deb ... 167s Unpacking libavahi-common3:armhf (0.8-16ubuntu3) ... 167s Selecting previously unselected package libavahi-client3:armhf. 167s Preparing to unpack .../003-libavahi-client3_0.8-16ubuntu3_armhf.deb ... 167s Unpacking libavahi-client3:armhf (0.8-16ubuntu3) ... 167s Selecting previously unselected package libcups2t64:armhf. 167s Preparing to unpack .../004-libcups2t64_2.4.12-0ubuntu3_armhf.deb ... 167s Unpacking libcups2t64:armhf (2.4.12-0ubuntu3) ... 167s Selecting previously unselected package libicu76:armhf. 167s Preparing to unpack .../005-libicu76_76.1-4ubuntu2_armhf.deb ... 167s Unpacking libicu76:armhf (76.1-4ubuntu2) ... 167s Selecting previously unselected package libtalloc2:armhf. 167s Preparing to unpack .../006-libtalloc2_2%3a2.4.3+samba4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 167s Unpacking libtalloc2:armhf (2:2.4.3+samba4.22.3+dfsg-4ubuntu2.1) ... 167s Selecting previously unselected package libtdb1:armhf. 168s Preparing to unpack .../007-libtdb1_2%3a1.4.13+samba4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 168s Unpacking libtdb1:armhf (2:1.4.13+samba4.22.3+dfsg-4ubuntu2.1) ... 168s Selecting previously unselected package libtevent0t64:armhf. 168s Preparing to unpack .../008-libtevent0t64_2%3a0.16.2+samba4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 168s Unpacking libtevent0t64:armhf (2:0.16.2+samba4.22.3+dfsg-4ubuntu2.1) ... 168s Selecting previously unselected package libldb2:armhf. 168s Preparing to unpack .../009-libldb2_2%3a2.11.0+samba4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 168s Unpacking libldb2:armhf (2:2.11.0+samba4.22.3+dfsg-4ubuntu2.1) ... 168s Selecting previously unselected package libwbclient0:armhf. 168s Preparing to unpack .../010-libwbclient0_2%3a4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 168s Unpacking libwbclient0:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 168s Selecting previously unselected package samba-libs:armhf. 168s Preparing to unpack .../011-samba-libs_2%3a4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 168s Unpacking samba-libs:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 168s Selecting previously unselected package samba-common-bin. 168s Preparing to unpack .../012-samba-common-bin_2%3a4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 168s Unpacking samba-common-bin (2:4.22.3+dfsg-4ubuntu2.1) ... 168s Selecting previously unselected package liburing2:armhf. 168s Preparing to unpack .../013-liburing2_2.11-1_armhf.deb ... 168s Unpacking liburing2:armhf (2.11-1) ... 168s Selecting previously unselected package samba. 168s Preparing to unpack .../014-samba_2%3a4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 168s Unpacking samba (2:4.22.3+dfsg-4ubuntu2.1) ... 168s Selecting previously unselected package m4. 168s Preparing to unpack .../015-m4_1.4.19-8_armhf.deb ... 168s Unpacking m4 (1.4.19-8) ... 168s Selecting previously unselected package autoconf. 168s Preparing to unpack .../016-autoconf_2.72-3.1ubuntu1_all.deb ... 168s Unpacking autoconf (2.72-3.1ubuntu1) ... 168s Selecting previously unselected package autotools-dev. 168s Preparing to unpack .../017-autotools-dev_20240727.1_all.deb ... 168s Unpacking autotools-dev (20240727.1) ... 168s Selecting previously unselected package automake. 168s Preparing to unpack .../018-automake_1%3a1.17-4ubuntu1_all.deb ... 168s Unpacking automake (1:1.17-4ubuntu1) ... 169s Selecting previously unselected package autopoint. 169s Preparing to unpack .../019-autopoint_0.23.1-2build2_all.deb ... 169s Unpacking autopoint (0.23.1-2build2) ... 169s Selecting previously unselected package libc-dev-bin. 169s Preparing to unpack .../020-libc-dev-bin_2.42-0ubuntu3_armhf.deb ... 169s Unpacking libc-dev-bin (2.42-0ubuntu3) ... 169s Selecting previously unselected package linux-libc-dev:armhf. 169s Preparing to unpack .../021-linux-libc-dev_6.17.0-5.5_armhf.deb ... 169s Unpacking linux-libc-dev:armhf (6.17.0-5.5) ... 169s Selecting previously unselected package libcrypt-dev:armhf. 169s Preparing to unpack .../022-libcrypt-dev_1%3a4.4.38-1build1_armhf.deb ... 169s Unpacking libcrypt-dev:armhf (1:4.4.38-1build1) ... 169s Selecting previously unselected package rpcsvc-proto. 169s Preparing to unpack .../023-rpcsvc-proto_1.4.3-1_armhf.deb ... 169s Unpacking rpcsvc-proto (1.4.3-1) ... 169s Selecting previously unselected package libc6-dev:armhf. 169s Preparing to unpack .../024-libc6-dev_2.42-0ubuntu3_armhf.deb ... 169s Unpacking libc6-dev:armhf (2.42-0ubuntu3) ... 169s Selecting previously unselected package libisl23:armhf. 169s Preparing to unpack .../025-libisl23_0.27-1_armhf.deb ... 169s Unpacking libisl23:armhf (0.27-1) ... 169s Selecting previously unselected package libmpc3:armhf. 169s Preparing to unpack .../026-libmpc3_1.3.1-1build3_armhf.deb ... 169s Unpacking libmpc3:armhf (1.3.1-1build3) ... 169s Selecting previously unselected package cpp-15-arm-linux-gnueabihf. 169s Preparing to unpack .../027-cpp-15-arm-linux-gnueabihf_15.2.0-5ubuntu1_armhf.deb ... 169s Unpacking cpp-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 170s Selecting previously unselected package cpp-15. 170s Preparing to unpack .../028-cpp-15_15.2.0-5ubuntu1_armhf.deb ... 170s Unpacking cpp-15 (15.2.0-5ubuntu1) ... 170s Selecting previously unselected package cpp-arm-linux-gnueabihf. 170s Preparing to unpack .../029-cpp-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 170s Unpacking cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 170s Selecting previously unselected package cpp. 170s Preparing to unpack .../030-cpp_4%3a15.2.0-4ubuntu1_armhf.deb ... 170s Unpacking cpp (4:15.2.0-4ubuntu1) ... 170s Selecting previously unselected package libcc1-0:armhf. 170s Preparing to unpack .../031-libcc1-0_15.2.0-5ubuntu1_armhf.deb ... 170s Unpacking libcc1-0:armhf (15.2.0-5ubuntu1) ... 170s Selecting previously unselected package libgomp1:armhf. 170s Preparing to unpack .../032-libgomp1_15.2.0-5ubuntu1_armhf.deb ... 170s Unpacking libgomp1:armhf (15.2.0-5ubuntu1) ... 170s Selecting previously unselected package libasan8:armhf. 170s Preparing to unpack .../033-libasan8_15.2.0-5ubuntu1_armhf.deb ... 170s Unpacking libasan8:armhf (15.2.0-5ubuntu1) ... 170s Selecting previously unselected package libubsan1:armhf. 170s Preparing to unpack .../034-libubsan1_15.2.0-5ubuntu1_armhf.deb ... 170s Unpacking libubsan1:armhf (15.2.0-5ubuntu1) ... 170s Selecting previously unselected package libgcc-15-dev:armhf. 170s Preparing to unpack .../035-libgcc-15-dev_15.2.0-5ubuntu1_armhf.deb ... 170s Unpacking libgcc-15-dev:armhf (15.2.0-5ubuntu1) ... 170s Selecting previously unselected package gcc-15-arm-linux-gnueabihf. 170s Preparing to unpack .../036-gcc-15-arm-linux-gnueabihf_15.2.0-5ubuntu1_armhf.deb ... 170s Unpacking gcc-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 171s Selecting previously unselected package gcc-15. 171s Preparing to unpack .../037-gcc-15_15.2.0-5ubuntu1_armhf.deb ... 171s Unpacking gcc-15 (15.2.0-5ubuntu1) ... 171s Selecting previously unselected package gcc-arm-linux-gnueabihf. 171s Preparing to unpack .../038-gcc-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 171s Unpacking gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 171s Selecting previously unselected package gcc. 171s Preparing to unpack .../039-gcc_4%3a15.2.0-4ubuntu1_armhf.deb ... 171s Unpacking gcc (4:15.2.0-4ubuntu1) ... 171s Selecting previously unselected package libstdc++-15-dev:armhf. 171s Preparing to unpack .../040-libstdc++-15-dev_15.2.0-5ubuntu1_armhf.deb ... 171s Unpacking libstdc++-15-dev:armhf (15.2.0-5ubuntu1) ... 171s Selecting previously unselected package g++-15-arm-linux-gnueabihf. 171s Preparing to unpack .../041-g++-15-arm-linux-gnueabihf_15.2.0-5ubuntu1_armhf.deb ... 171s Unpacking g++-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 171s Selecting previously unselected package g++-15. 172s Preparing to unpack .../042-g++-15_15.2.0-5ubuntu1_armhf.deb ... 172s Unpacking g++-15 (15.2.0-5ubuntu1) ... 172s Selecting previously unselected package g++-arm-linux-gnueabihf. 172s Preparing to unpack .../043-g++-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 172s Unpacking g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 172s Selecting previously unselected package g++. 172s Preparing to unpack .../044-g++_4%3a15.2.0-4ubuntu1_armhf.deb ... 172s Unpacking g++ (4:15.2.0-4ubuntu1) ... 172s Selecting previously unselected package build-essential. 172s Preparing to unpack .../045-build-essential_12.12ubuntu1_armhf.deb ... 172s Unpacking build-essential (12.12ubuntu1) ... 172s Selecting previously unselected package libdebhelper-perl. 172s Preparing to unpack .../046-libdebhelper-perl_13.24.2ubuntu1_all.deb ... 172s Unpacking libdebhelper-perl (13.24.2ubuntu1) ... 172s Selecting previously unselected package libtool. 172s Preparing to unpack .../047-libtool_2.5.4-4build1_all.deb ... 172s Unpacking libtool (2.5.4-4build1) ... 172s Selecting previously unselected package dh-autoreconf. 172s Preparing to unpack .../048-dh-autoreconf_21_all.deb ... 172s Unpacking dh-autoreconf (21) ... 172s Selecting previously unselected package libarchive-zip-perl. 172s Preparing to unpack .../049-libarchive-zip-perl_1.68-1_all.deb ... 172s Unpacking libarchive-zip-perl (1.68-1) ... 172s Selecting previously unselected package libfile-stripnondeterminism-perl. 172s Preparing to unpack .../050-libfile-stripnondeterminism-perl_1.14.2-1_all.deb ... 172s Unpacking libfile-stripnondeterminism-perl (1.14.2-1) ... 172s Selecting previously unselected package dh-strip-nondeterminism. 172s Preparing to unpack .../051-dh-strip-nondeterminism_1.14.2-1_all.deb ... 172s Unpacking dh-strip-nondeterminism (1.14.2-1) ... 172s Selecting previously unselected package libdw1t64:armhf. 172s Preparing to unpack .../052-libdw1t64_0.193-1_armhf.deb ... 172s Unpacking libdw1t64:armhf (0.193-1) ... 172s Selecting previously unselected package debugedit. 172s Preparing to unpack .../053-debugedit_1%3a5.2-3_armhf.deb ... 172s Unpacking debugedit (1:5.2-3) ... 172s Selecting previously unselected package dwz. 172s Preparing to unpack .../054-dwz_0.16-2_armhf.deb ... 172s Unpacking dwz (0.16-2) ... 172s Selecting previously unselected package gettext. 172s Preparing to unpack .../055-gettext_0.23.1-2build2_armhf.deb ... 172s Unpacking gettext (0.23.1-2build2) ... 172s Selecting previously unselected package intltool-debian. 172s Preparing to unpack .../056-intltool-debian_0.35.0+20060710.6_all.deb ... 172s Unpacking intltool-debian (0.35.0+20060710.6) ... 172s Selecting previously unselected package po-debconf. 172s Preparing to unpack .../057-po-debconf_1.0.21+nmu1_all.deb ... 172s Unpacking po-debconf (1.0.21+nmu1) ... 172s Selecting previously unselected package debhelper. 172s Preparing to unpack .../058-debhelper_13.24.2ubuntu1_all.deb ... 172s Unpacking debhelper (13.24.2ubuntu1) ... 173s Selecting previously unselected package dh-apport. 173s Preparing to unpack .../059-dh-apport_2.33.1-0ubuntu3_all.deb ... 173s Unpacking dh-apport (2.33.1-0ubuntu3) ... 173s Selecting previously unselected package native-architecture. 173s Preparing to unpack .../060-native-architecture_0.2.6_all.deb ... 173s Unpacking native-architecture (0.2.6) ... 173s Selecting previously unselected package libgirepository-2.0-0:armhf. 173s Preparing to unpack .../061-libgirepository-2.0-0_2.86.0-2_armhf.deb ... 173s Unpacking libgirepository-2.0-0:armhf (2.86.0-2) ... 173s Selecting previously unselected package girepository-tools:armhf. 173s Preparing to unpack .../062-girepository-tools_2.86.0-2_armhf.deb ... 173s Unpacking girepository-tools:armhf (2.86.0-2) ... 173s Selecting previously unselected package golang-1.25-src. 173s Preparing to unpack .../063-golang-1.25-src_1.25.0-0ubuntu1_all.deb ... 173s Unpacking golang-1.25-src (1.25.0-0ubuntu1) ... 176s Selecting previously unselected package golang-1.25-go. 176s Preparing to unpack .../064-golang-1.25-go_1.25.0-0ubuntu1_armhf.deb ... 176s Unpacking golang-1.25-go (1.25.0-0ubuntu1) ... 177s Selecting previously unselected package golang-src. 177s Preparing to unpack .../065-golang-src_2%3a1.25~1_all.deb ... 177s Unpacking golang-src (2:1.25~1) ... 177s Selecting previously unselected package golang-go:armhf. 177s Preparing to unpack .../066-golang-go_2%3a1.25~1_armhf.deb ... 177s Unpacking golang-go:armhf (2:1.25~1) ... 177s Selecting previously unselected package comerr-dev:armhf. 177s Preparing to unpack .../067-comerr-dev_2.1-1.47.2-3ubuntu2_armhf.deb ... 177s Unpacking comerr-dev:armhf (2.1-1.47.2-3ubuntu2) ... 177s Selecting previously unselected package libgssrpc4t64:armhf. 177s Preparing to unpack .../068-libgssrpc4t64_1.21.3-5ubuntu2_armhf.deb ... 177s Unpacking libgssrpc4t64:armhf (1.21.3-5ubuntu2) ... 177s Selecting previously unselected package libkadm5clnt-mit12:armhf. 177s Preparing to unpack .../069-libkadm5clnt-mit12_1.21.3-5ubuntu2_armhf.deb ... 177s Unpacking libkadm5clnt-mit12:armhf (1.21.3-5ubuntu2) ... 177s Selecting previously unselected package libkdb5-10t64:armhf. 177s Preparing to unpack .../070-libkdb5-10t64_1.21.3-5ubuntu2_armhf.deb ... 177s Unpacking libkdb5-10t64:armhf (1.21.3-5ubuntu2) ... 177s Selecting previously unselected package libkadm5srv-mit12:armhf. 177s Preparing to unpack .../071-libkadm5srv-mit12_1.21.3-5ubuntu2_armhf.deb ... 177s Unpacking libkadm5srv-mit12:armhf (1.21.3-5ubuntu2) ... 177s Selecting previously unselected package krb5-multidev:armhf. 177s Preparing to unpack .../072-krb5-multidev_1.21.3-5ubuntu2_armhf.deb ... 177s Unpacking krb5-multidev:armhf (1.21.3-5ubuntu2) ... 177s Selecting previously unselected package libcap-dev:armhf. 177s Preparing to unpack .../073-libcap-dev_1%3a2.75-7ubuntu2_armhf.deb ... 177s Unpacking libcap-dev:armhf (1:2.75-7ubuntu2) ... 177s Selecting previously unselected package libsystemd-dev:armhf. 177s Preparing to unpack .../074-libsystemd-dev_257.9-0ubuntu2_armhf.deb ... 177s Unpacking libsystemd-dev:armhf (257.9-0ubuntu2) ... 178s Selecting previously unselected package libpkgconf3:armhf. 178s Preparing to unpack .../075-libpkgconf3_1.8.1-4build1_armhf.deb ... 178s Unpacking libpkgconf3:armhf (1.8.1-4build1) ... 178s Selecting previously unselected package pkgconf-bin. 178s Preparing to unpack .../076-pkgconf-bin_1.8.1-4build1_armhf.deb ... 178s Unpacking pkgconf-bin (1.8.1-4build1) ... 178s Selecting previously unselected package pkgconf:armhf. 178s Preparing to unpack .../077-pkgconf_1.8.1-4build1_armhf.deb ... 178s Unpacking pkgconf:armhf (1.8.1-4build1) ... 178s Selecting previously unselected package sgml-base. 178s Preparing to unpack .../078-sgml-base_1.31+nmu1_all.deb ... 178s Unpacking sgml-base (1.31+nmu1) ... 178s Selecting previously unselected package xml-core. 178s Preparing to unpack .../079-xml-core_0.19_all.deb ... 178s Unpacking xml-core (0.19) ... 178s Selecting previously unselected package libdbus-1-dev:armhf. 178s Preparing to unpack .../080-libdbus-1-dev_1.16.2-2ubuntu2_armhf.deb ... 178s Unpacking libdbus-1-dev:armhf (1.16.2-2ubuntu2) ... 178s Selecting previously unselected package libffi-dev:armhf. 178s Preparing to unpack .../081-libffi-dev_3.5.2-1build1_armhf.deb ... 178s Unpacking libffi-dev:armhf (3.5.2-1build1) ... 178s Selecting previously unselected package uuid-dev:armhf. 178s Preparing to unpack .../082-uuid-dev_2.41-4ubuntu4_armhf.deb ... 178s Unpacking uuid-dev:armhf (2.41-4ubuntu4) ... 178s Selecting previously unselected package libblkid-dev:armhf. 178s Preparing to unpack .../083-libblkid-dev_2.41-4ubuntu4_armhf.deb ... 178s Unpacking libblkid-dev:armhf (2.41-4ubuntu4) ... 178s Selecting previously unselected package libsepol-dev:armhf. 178s Preparing to unpack .../084-libsepol-dev_3.8.1-1_armhf.deb ... 178s Unpacking libsepol-dev:armhf (3.8.1-1) ... 178s Selecting previously unselected package libpcre2-16-0:armhf. 178s Preparing to unpack .../085-libpcre2-16-0_10.46-1_armhf.deb ... 178s Unpacking libpcre2-16-0:armhf (10.46-1) ... 178s Selecting previously unselected package libpcre2-32-0:armhf. 178s Preparing to unpack .../086-libpcre2-32-0_10.46-1_armhf.deb ... 178s Unpacking libpcre2-32-0:armhf (10.46-1) ... 178s Selecting previously unselected package libpcre2-posix3:armhf. 178s Preparing to unpack .../087-libpcre2-posix3_10.46-1_armhf.deb ... 178s Unpacking libpcre2-posix3:armhf (10.46-1) ... 178s Selecting previously unselected package libpcre2-dev:armhf. 178s Preparing to unpack .../088-libpcre2-dev_10.46-1_armhf.deb ... 178s Unpacking libpcre2-dev:armhf (10.46-1) ... 179s Selecting previously unselected package libselinux1-dev:armhf. 179s Preparing to unpack .../089-libselinux1-dev_3.8.1-1build1_armhf.deb ... 179s Unpacking libselinux1-dev:armhf (3.8.1-1build1) ... 179s Selecting previously unselected package libmount-dev:armhf. 179s Preparing to unpack .../090-libmount-dev_2.41-4ubuntu4_armhf.deb ... 179s Unpacking libmount-dev:armhf (2.41-4ubuntu4) ... 179s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 179s Preparing to unpack .../091-libsysprof-capture-4-dev_48.0-2_armhf.deb ... 179s Unpacking libsysprof-capture-4-dev:armhf (48.0-2) ... 179s Selecting previously unselected package zlib1g-dev:armhf. 179s Preparing to unpack .../092-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_armhf.deb ... 179s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 179s Selecting previously unselected package libgio-2.0-dev:armhf. 179s Preparing to unpack .../093-libgio-2.0-dev_2.86.0-2_armhf.deb ... 179s Unpacking libgio-2.0-dev:armhf (2.86.0-2) ... 179s Selecting previously unselected package python3-packaging. 179s Preparing to unpack .../094-python3-packaging_25.0-1_all.deb ... 179s Unpacking python3-packaging (25.0-1) ... 179s Selecting previously unselected package libgio-2.0-dev-bin. 179s Preparing to unpack .../095-libgio-2.0-dev-bin_2.86.0-2_armhf.deb ... 179s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 179s Selecting previously unselected package libglib2.0-bin. 179s Preparing to unpack .../096-libglib2.0-bin_2.86.0-2_armhf.deb ... 179s Unpacking libglib2.0-bin (2.86.0-2) ... 179s Selecting previously unselected package libglib2.0-dev-bin. 179s Preparing to unpack .../097-libglib2.0-dev-bin_2.86.0-2_armhf.deb ... 179s Unpacking libglib2.0-dev-bin (2.86.0-2) ... 179s Selecting previously unselected package libglib2.0-dev:armhf. 179s Preparing to unpack .../098-libglib2.0-dev_2.86.0-2_armhf.deb ... 179s Unpacking libglib2.0-dev:armhf (2.86.0-2) ... 179s Selecting previously unselected package libgpgme11t64:armhf. 179s Preparing to unpack .../099-libgpgme11t64_1.24.2-3ubuntu1_armhf.deb ... 179s Unpacking libgpgme11t64:armhf (1.24.2-3ubuntu1) ... 179s Selecting previously unselected package libpam0g-dev:armhf. 179s Preparing to unpack .../100-libpam0g-dev_1.7.0-5ubuntu2_armhf.deb ... 179s Unpacking libpam0g-dev:armhf (1.7.0-5ubuntu2) ... 179s Selecting previously unselected package libpython3.13:armhf. 179s Preparing to unpack .../101-libpython3.13_3.13.7-1_armhf.deb ... 179s Unpacking libpython3.13:armhf (3.13.7-1) ... 179s Selecting previously unselected package libsmbclient0:armhf. 179s Preparing to unpack .../102-libsmbclient0_2%3a4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 179s Unpacking libsmbclient0:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 180s Selecting previously unselected package libwbclient-dev:armhf. 180s Preparing to unpack .../103-libwbclient-dev_2%3a4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 180s Unpacking libwbclient-dev:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 180s Selecting previously unselected package python3-ldb. 180s Preparing to unpack .../104-python3-ldb_2%3a2.11.0+samba4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 180s Unpacking python3-ldb (2:2.11.0+samba4.22.3+dfsg-4ubuntu2.1) ... 180s Selecting previously unselected package python3-tdb. 180s Preparing to unpack .../105-python3-tdb_2%3a1.4.13+samba4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 180s Unpacking python3-tdb (2:1.4.13+samba4.22.3+dfsg-4ubuntu2.1) ... 180s Selecting previously unselected package python3-talloc:armhf. 180s Preparing to unpack .../106-python3-talloc_2%3a2.4.3+samba4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 180s Unpacking python3-talloc:armhf (2:2.4.3+samba4.22.3+dfsg-4ubuntu2.1) ... 180s Selecting previously unselected package python3-samba. 180s Preparing to unpack .../107-python3-samba_2%3a4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 180s Unpacking python3-samba (2:4.22.3+dfsg-4ubuntu2.1) ... 180s Selecting previously unselected package samba-dsdb-modules:armhf. 180s Preparing to unpack .../108-samba-dsdb-modules_2%3a4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 180s Unpacking samba-dsdb-modules:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 180s Selecting previously unselected package dh-golang. 180s Preparing to unpack .../109-dh-golang_1.63_all.deb ... 180s Unpacking dh-golang (1.63) ... 180s Selecting previously unselected package libkrb5-dev:armhf. 180s Preparing to unpack .../110-libkrb5-dev_1.21.3-5ubuntu2_armhf.deb ... 180s Unpacking libkrb5-dev:armhf (1.21.3-5ubuntu2) ... 180s Selecting previously unselected package libsmbclient-dev:armhf. 180s Preparing to unpack .../111-libsmbclient-dev_2%3a4.22.3+dfsg-4ubuntu2.1_armhf.deb ... 180s Unpacking libsmbclient-dev:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 180s Setting up libpython3.13:armhf (3.13.7-1) ... 180s Setting up native-architecture (0.2.6) ... 180s Setting up libgirepository-2.0-0:armhf (2.86.0-2) ... 180s Setting up libarchive-zip-perl (1.68-1) ... 180s Setting up libtdb1:armhf (2:1.4.13+samba4.22.3+dfsg-4ubuntu2.1) ... 180s Setting up libdebhelper-perl (13.24.2ubuntu1) ... 180s Setting up linux-libc-dev:armhf (6.17.0-5.5) ... 180s Setting up libglib2.0-bin (2.86.0-2) ... 180s Setting up m4 (1.4.19-8) ... 180s Setting up samba-common (2:4.22.3+dfsg-4ubuntu2.1) ... 181s Creating config file /etc/samba/smb.conf with new version 181s Setting up libgomp1:armhf (15.2.0-5ubuntu1) ... 181s Setting up libffi-dev:armhf (3.5.2-1build1) ... 181s Setting up dh-apport (2.33.1-0ubuntu3) ... 181s Setting up libwbclient0:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 181s Setting up libwbclient-dev:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 181s Setting up libpcre2-16-0:armhf (10.46-1) ... 181s Setting up libdw1t64:armhf (0.193-1) ... 181s Setting up libtalloc2:armhf (2:2.4.3+samba4.22.3+dfsg-4ubuntu2.1) ... 181s Setting up libsysprof-capture-4-dev:armhf (48.0-2) ... 181s Setting up python3-tdb (2:1.4.13+samba4.22.3+dfsg-4ubuntu2.1) ... 181s Setting up autotools-dev (20240727.1) ... 181s Setting up libpcre2-32-0:armhf (10.46-1) ... 181s Setting up python3-packaging (25.0-1) ... 181s Setting up libpkgconf3:armhf (1.8.1-4build1) ... 181s Setting up rpcsvc-proto (1.4.3-1) ... 181s Setting up libgssrpc4t64:armhf (1.21.3-5ubuntu2) ... 181s Setting up libavahi-common-data:armhf (0.8-16ubuntu3) ... 181s Setting up libmpc3:armhf (1.3.1-1build3) ... 181s Setting up autopoint (0.23.1-2build2) ... 181s Setting up libsepol-dev:armhf (3.8.1-1) ... 181s Setting up pkgconf-bin (1.8.1-4build1) ... 181s Setting up autoconf (2.72-3.1ubuntu1) ... 181s Setting up libubsan1:armhf (15.2.0-5ubuntu1) ... 181s Setting up libpcre2-posix3:armhf (10.46-1) ... 181s Setting up dwz (0.16-2) ... 181s Setting up golang-1.25-src (1.25.0-0ubuntu1) ... 181s Setting up libcrypt-dev:armhf (1:4.4.38-1build1) ... 181s Setting up libasan8:armhf (15.2.0-5ubuntu1) ... 181s Setting up debugedit (1:5.2-3) ... 181s Setting up sgml-base (1.31+nmu1) ... 181s Setting up libgpgme11t64:armhf (1.24.2-3ubuntu1) ... 181s Setting up libicu76:armhf (76.1-4ubuntu2) ... 181s Setting up liburing2:armhf (2.11-1) ... 181s Setting up libisl23:armhf (0.27-1) ... 181s Setting up libc-dev-bin (2.42-0ubuntu3) ... 181s Setting up golang-src (2:1.25~1) ... 181s Setting up libcap-dev:armhf (1:2.75-7ubuntu2) ... 181s Setting up cpp-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 181s Setting up libcc1-0:armhf (15.2.0-5ubuntu1) ... 181s Setting up libsystemd-dev:armhf (257.9-0ubuntu2) ... 181s Setting up cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 181s Setting up libtevent0t64:armhf (2:0.16.2+samba4.22.3+dfsg-4ubuntu2.1) ... 181s Setting up libkadm5clnt-mit12:armhf (1.21.3-5ubuntu2) ... 181s Setting up automake (1:1.17-4ubuntu1) ... 181s update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode 181s Setting up libfile-stripnondeterminism-perl (1.14.2-1) ... 181s Setting up golang-1.25-go (1.25.0-0ubuntu1) ... 181s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 182s Setting up gettext (0.23.1-2build2) ... 182s Setting up girepository-tools:armhf (2.86.0-2) ... 182s Setting up libgcc-15-dev:armhf (15.2.0-5ubuntu1) ... 182s Setting up gcc-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 182s Setting up libkdb5-10t64:armhf (1.21.3-5ubuntu2) ... 182s Setting up python3-talloc:armhf (2:2.4.3+samba4.22.3+dfsg-4ubuntu2.1) ... 182s Setting up golang-go:armhf (2:1.25~1) ... 182s Setting up libavahi-common3:armhf (0.8-16ubuntu3) ... 182s Setting up pkgconf:armhf (1.8.1-4build1) ... 182s Setting up intltool-debian (0.35.0+20060710.6) ... 182s Setting up dh-strip-nondeterminism (1.14.2-1) ... 182s Setting up cpp-15 (15.2.0-5ubuntu1) ... 182s Setting up cpp (4:15.2.0-4ubuntu1) ... 182s Setting up xml-core (0.19) ... 182s Setting up libkadm5srv-mit12:armhf (1.21.3-5ubuntu2) ... 182s Setting up libc6-dev:armhf (2.42-0ubuntu3) ... 182s Setting up libldb2:armhf (2:2.11.0+samba4.22.3+dfsg-4ubuntu2.1) ... 182s Setting up libavahi-client3:armhf (0.8-16ubuntu3) ... 182s Setting up gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 182s Setting up libglib2.0-dev-bin (2.86.0-2) ... 182s Setting up libpcre2-dev:armhf (10.46-1) ... 182s Setting up libpam0g-dev:armhf (1.7.0-5ubuntu2) ... 182s Setting up libselinux1-dev:armhf (3.8.1-1build1) ... 182s Setting up po-debconf (1.0.21+nmu1) ... 182s Setting up samba-libs:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 182s Setting up gcc-15 (15.2.0-5ubuntu1) ... 182s Setting up libstdc++-15-dev:armhf (15.2.0-5ubuntu1) ... 182s Setting up uuid-dev:armhf (2.41-4ubuntu4) ... 182s Setting up comerr-dev:armhf (2.1-1.47.2-3ubuntu2) ... 182s Setting up python3-ldb (2:2.11.0+samba4.22.3+dfsg-4ubuntu2.1) ... 182s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 182s Setting up samba-dsdb-modules:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 182s Setting up libsmbclient0:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 182s Setting up libcups2t64:armhf (2.4.12-0ubuntu3) ... 182s Setting up python3-samba (2:4.22.3+dfsg-4ubuntu2.1) ... 183s Setting up krb5-multidev:armhf (1.21.3-5ubuntu2) ... 183s Setting up libblkid-dev:armhf (2.41-4ubuntu4) ... 183s Setting up libtool (2.5.4-4build1) ... 183s Setting up g++-15-arm-linux-gnueabihf (15.2.0-5ubuntu1) ... 183s Setting up gcc (4:15.2.0-4ubuntu1) ... 183s Setting up dh-autoreconf (21) ... 183s Setting up libkrb5-dev:armhf (1.21.3-5ubuntu2) ... 183s Setting up libsmbclient-dev:armhf (2:4.22.3+dfsg-4ubuntu2.1) ... 183s Setting up samba-common-bin (2:4.22.3+dfsg-4ubuntu2.1) ... 183s Setting up g++-15 (15.2.0-5ubuntu1) ... 183s Setting up libmount-dev:armhf (2.41-4ubuntu4) ... 183s Setting up samba (2:4.22.3+dfsg-4ubuntu2.1) ... 184s Created symlink '/etc/systemd/system/smb.service' → '/usr/lib/systemd/system/smbd.service'. 184s Created symlink '/etc/systemd/system/multi-user.target.wants/smbd.service' → '/usr/lib/systemd/system/smbd.service'. 185s Created symlink '/etc/systemd/system/nmb.service' → '/usr/lib/systemd/system/nmbd.service'. 185s Created symlink '/etc/systemd/system/multi-user.target.wants/nmbd.service' → '/usr/lib/systemd/system/nmbd.service'. 185s Setting up g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 185s Setting up libgio-2.0-dev:armhf (2.86.0-2) ... 185s Setting up debhelper (13.24.2ubuntu1) ... 185s Setting up g++ (4:15.2.0-4ubuntu1) ... 185s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 186s Setting up build-essential (12.12ubuntu1) ... 186s Setting up dh-golang (1.63) ... 186s Processing triggers for install-info (7.1.1-1ubuntu1) ... 186s Processing triggers for libc-bin (2.42-0ubuntu3) ... 186s Processing triggers for ufw (0.36.2-9) ... 186s Processing triggers for man-db (2.13.1-1) ... 187s Processing triggers for libglib2.0-0t64:armhf (2.86.0-2) ... 187s No schema files found: doing nothing. 187s Setting up libglib2.0-dev:armhf (2.86.0-2) ... 187s Processing triggers for sgml-base (1.31+nmu1) ... 187s Setting up libdbus-1-dev:armhf (1.16.2-2ubuntu2) ... 193s autopkgtest [15:04:09]: test command1: ./debian/tests/test no-sudo 193s autopkgtest [15:04:09]: test command1: [----------------------- 195s Running non-root tests... 240s ? github.com/ubuntu/adsys [no test files] 242s === RUN TestRun 242s === RUN TestRun/Run_and_exit_successfully 242s === RUN TestRun/Run_and_return_error 242s level=error msg="Error requested" 242s === RUN TestRun/Run_and_return_usage_error 242s level=error msg="Error requested" 242s === RUN TestRun/Run_and_usage_error_only_does_not_fail 242s --- PASS: TestRun (0.00s) 242s --- PASS: TestRun/Run_and_exit_successfully (0.00s) 242s --- PASS: TestRun/Run_and_return_error (0.00s) 242s --- PASS: TestRun/Run_and_return_usage_error (0.00s) 242s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.00s) 242s === RUN TestMainApp 242s --- PASS: TestMainApp (0.02s) 242s === RUN TestAppUsage 242s === RUN TestAppUsage/Admx_with_correct_arguments 242s === RUN TestAppUsage/Doc_with_correct_arguments 242s === RUN TestAppUsage/Error_when_command_is_called_with_wrong_arguments 242s === RUN TestAppUsage/Expand_with_correct_arguments 242s --- PASS: TestAppUsage (0.06s) 242s --- PASS: TestAppUsage/Admx_with_correct_arguments (0.02s) 242s --- PASS: TestAppUsage/Doc_with_correct_arguments (0.01s) 242s --- PASS: TestAppUsage/Error_when_command_is_called_with_wrong_arguments (0.01s) 242s --- PASS: TestAppUsage/Expand_with_correct_arguments (0.01s) 242s PASS 242s ok github.com/ubuntu/adsys/cmd/admxgen 0.108s 242s ? github.com/ubuntu/adsys/cmd/admxgen/commands [no test files] 254s === RUN TestRun 254s === RUN TestRun/Run_and_return_error 254s level=error msg="Error requested" 254s === RUN TestRun/Run_and_return_usage_error 254s level=error msg="Error requested" 254s === RUN TestRun/Run_and_usage_error_only_does_not_fail 254s === RUN TestRun/Send_SIGINT_exits 254s === RUN TestRun/Send_SIGTERM_exits 254s === RUN TestRun/Send_SIGHUP_without_exiting 254s === RUN TestRun/Send_SIGHUP_with_exit 254s === RUN TestRun/Run_and_exit_successfully 254s --- PASS: TestRun (0.86s) 254s --- PASS: TestRun/Run_and_return_error (0.10s) 254s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 254s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 254s --- PASS: TestRun/Send_SIGINT_exits (0.10s) 254s --- PASS: TestRun/Send_SIGTERM_exits (0.10s) 254s --- PASS: TestRun/Send_SIGHUP_without_exiting (0.15s) 254s --- PASS: TestRun/Send_SIGHUP_with_exit (0.10s) 254s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 254s === RUN TestMainApp 254s --- PASS: TestMainApp (0.97s) 254s PASS 254s ok github.com/ubuntu/adsys/cmd/adsysd 2.000s 258s === RUN TestColorizePolicies 258s --- PASS: TestColorizePolicies (0.00s) 258s === RUN TestInitApp 258s === PAUSE TestInitApp 258s === RUN TestAppHelp 258s === PAUSE TestAppHelp 258s === RUN TestAppCompletion 258s === PAUSE TestAppCompletion 258s === RUN TestAppNoUsageError 258s === PAUSE TestAppNoUsageError 258s === RUN TestAppUsageError 258s === PAUSE TestAppUsageError 258s === RUN TestAppUsageErrorReportsSuggestions 258s Usage: 258s adsysctl COMMAND [flags] 258s adsysctl [command] 258s 258s Available Commands: 258s applied Print last applied GPOs for current or given user/machine 258s completion Generate the autocompletion script for the specified shell 258s doc Documentation 258s help Help about any command 258s policy Policy management 258s service Service management 258s update Updates/Create a policy for current user or given user with its kerberos ticket 258s version Returns version of client and service 258s 258s Flags: 258s -c, --config string use a specific configuration file 258s -h, --help help for adsysctl 258s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 258s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 258s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 258s 258s Use "adsysctl [command] --help" for more information about a command. 258s 258s --- PASS: TestAppUsageErrorReportsSuggestions (0.00s) 258s === RUN TestAppCanQuitWhenExecute 258s === PAUSE TestAppCanQuitWhenExecute 258s === RUN TestAppCanQuitAfterExecute 258s === PAUSE TestAppCanQuitAfterExecute 258s === RUN TestAppCanQuitWithoutExecute 258s === PAUSE TestAppCanQuitWithoutExecute 258s === RUN TestAppCanSigHupWhenExecute 258s === PAUSE TestAppCanSigHupWhenExecute 258s === RUN TestAppCanSigHupAfterExecute 258s === PAUSE TestAppCanSigHupAfterExecute 258s === RUN TestAppGetRootCmd 258s === PAUSE TestAppGetRootCmd 258s === CONT TestInitApp 258s === CONT TestAppCanQuitAfterExecute 258s === CONT TestAppCanSigHupAfterExecute 258s === CONT TestAppNoUsageError 258s === CONT TestAppCompletion 258s === CONT TestAppCanQuitWhenExecute 258s === CONT TestAppUsageError 258s === CONT TestAppHelp 258s # bash completion V2 for adsysctl -*- shell-script -*- 258s 258s __adsysctl_debug() 258s { 258s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 258s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 258s fi 258s } 258s 258s # Macs have bash3 for which the bash-completion package doesn't include 258s # _init_completion. This is a minimal version of that function. 258s __adsysctl_init_completion() 258s { 258s COMPREPLY=() 258s _get_comp_words_by_ref "$@" cur prev words cword 258s } 258s 258s # This function calls the adsysctl program to obtain the completion 258s # results and the directive. It fills the 'out' and 'directive' vars. 258s __adsysctl_get_completion_results() { 258s local requestComp lastParam lastChar args 258s 258s # Prepare the command to request completions for the program. 258s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 258s args=("${words[@]:1}") 258s requestComp="${words[0]} __complete ${args[*]}" 258s 258s lastParam=${words[$((${#words[@]}-1))]} 258s lastChar=${lastParam:$((${#lastParam}-1)):1} 258s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 258s 258s if [[ -z ${cur} && ${lastChar} != = ]]; then 258s # If the last parameter is complete (there is a space following it) 258s # We add an extra empty parameter so we can indicate this to the go method. 258s __adsysctl_debug "Adding extra empty parameter" 258s requestComp="${requestComp} ''" 258s fi 258s 258s # When completing a flag with an = (e.g., adsysctl -n=) 258s # bash focuses on the part after the =, so we need to remove 258s # the flag part from $cur 258s if [[ ${cur} == -*=* ]]; then 258s cur="${cur#*=}" 258s fi 258s 258s __adsysctl_debug "Calling ${requestComp}" 258s # Use eval to handle any environment variables and such 258s out=$(eval "${requestComp}" 2>/dev/null) 258s 258s # Extract the directive integer at the very end of the output following a colon (:) 258s directive=${out##*:} 258s # Remove the directive 258s out=${out%:*} 258s if [[ ${directive} == "${out}" ]]; then 258s # There is not directive specified 258s directive=0 258s fi 258s __adsysctl_debug "The completion directive is: ${directive}" 258s __adsysctl_debug "The completions are: ${out}" 258s } 258s 258s __adsysctl_process_completion_results() { 258s local shellCompDirectiveError=1 258s local shellCompDirectiveNoSpace=2 258s local shellCompDirectiveNoFileComp=4 258s local shellCompDirectiveFilterFileExt=8 258s local shellCompDirectiveFilterDirs=16 258s local shellCompDirectiveKeepOrder=32 258s 258s if (((directive & shellCompDirectiveError) != 0)); then 258s # Error code. No completion. 258s __adsysctl_debug "Received error from custom completion go code" 258s return 258s else 258s if (((directive & shellCompDirectiveNoSpace) != 0)); then 258s if [[ $(type -t compopt) == builtin ]]; then 258s __adsysctl_debug "Activating no space" 258s compopt -o nospace 258s else 258s __adsysctl_debug "No space directive not supported in this version of bash" 258s fi 258s fi 258s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 258s if [[ $(type -t compopt) == builtin ]]; then 258s # no sort isn't supported for bash less than < 4.4 258s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 258s __adsysctl_debug "No sort directive not supported in this version of bash" 258s else 258s __adsysctl_debug "Activating keep order" 258s compopt -o nosort 258s fi 258s else 258s __adsysctl_debug "No sort directive not supported in this version of bash" 258s fi 258s fi 258s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 258s if [[ $(type -t compopt) == builtin ]]; then 258s __adsysctl_debug "Activating no file completion" 258s compopt +o default 258s else 258s __adsysctl_debug "No file completion directive not supported in this version of bash" 258s fi 258s fi 258s fi 258s 258s # Separate activeHelp from normal completions 258s local completions=() 258s local activeHelp=() 258s __adsysctl_extract_activeHelp 258s 258s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 258s # File extension filtering 258s local fullFilter="" filter filteringCmd 258s 258s # Do not use quotes around the $completions variable or else newline 258s # characters will be kept. 258s for filter in ${completions[*]}; do 258s fullFilter+="$filter|" 258s done 258s 258s filteringCmd="_filedir $fullFilter" 258s __adsysctl_debug "File filtering command: $filteringCmd" 258s $filteringCmd 258s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 258s # File completion for directories only 258s 258s local subdir 258s subdir=${completions[0]} 258s if [[ -n $subdir ]]; then 258s __adsysctl_debug "Listing directories in $subdir" 258s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 258s else 258s __adsysctl_debug "Listing directories in ." 258s _filedir -d 258s fi 258s else 258s __adsysctl_handle_completion_types 258s fi 258s 258s __adsysctl_handle_special_char "$cur" : 258s __adsysctl_handle_special_char "$cur" = 258s 258s # Print the activeHelp statements before we finish 258s __adsysctl_handle_activeHelp 258s } 258s 258s __adsysctl_handle_activeHelp() { 258s # Print the activeHelp statements 258s if ((${#activeHelp[*]} != 0)); then 258s if [ -z $COMP_TYPE ]; then 258s # Bash v3 does not set the COMP_TYPE variable. 258s printf "\n"; 258s printf "%s\n" "${activeHelp[@]}" 258s printf "\n" 258s __adsysctl_reprint_commandLine 258s return 258s fi 258s 258s # Only print ActiveHelp on the second TAB press 258s if [ $COMP_TYPE -eq 63 ]; then 258s printf "\n" 258s printf "%s\n" "${activeHelp[@]}" 258s 258s if ((${#COMPREPLY[*]} == 0)); then 258s # When there are no completion choices from the program, file completion 258s # may kick in if the program has not disabled it; in such a case, we want 258s # to know if any files will match what the user typed, so that we know if 258s # there will be completions presented, so that we know how to handle ActiveHelp. 258s # To find out, we actually trigger the file completion ourselves; 258s # the call to _filedir will fill COMPREPLY if files match. 258s if (((directive & shellCompDirectiveNoFileComp) == 0)); then 258s __adsysctl_debug "Listing files" 258s _filedir 258s fi 258s fi 258s 258s if ((${#COMPREPLY[*]} != 0)); then 258s # If there are completion choices to be shown, print a delimiter. 258s # Re-printing the command-line will automatically be done 258s # by the shell when it prints the completion choices. 258s printf -- "--" 258s else 258s # When there are no completion choices at all, we need 258s # to re-print the command-line since the shell will 258s # not be doing it itself. 258s __adsysctl_reprint_commandLine 258s fi 258s elif [ $COMP_TYPE -eq 37 ] || [ $COMP_TYPE -eq 42 ]; then 258s # For completion type: menu-complete/menu-complete-backward and insert-completions 258s # the completions are immediately inserted into the command-line, so we first 258s # print the activeHelp message and reprint the command-line since the shell won't. 258s printf "\n" 258s printf "%s\n" "${activeHelp[@]}" 258s 258s __adsysctl_reprint_commandLine 258s fi 258s fi 258s } 258s 258s __adsysctl_reprint_commandLine() { 258s # The prompt format is only available from bash 4.4. 258s # We test if it is available before using it. 258s if (x=${PS1@P}) 2> /dev/null; then 258s printf "%s" "${PS1@P}${COMP_LINE[@]}" 258s else 258s # Can't print the prompt. Just print the 258s # text the user had typed, it is workable enough. 258s printf "%s" "${COMP_LINE[@]}" 258s fi 258s } 258s 258s # Separate activeHelp lines from real completions. 258s # Fills the $activeHelp and $completions arrays. 258s __adsysctl_extract_activeHelp() { 258s local activeHelpMarker="_activeHelp_ " 258s local endIndex=${#activeHelpMarker} 258s 258s while IFS='' read -r comp; do 258s [[ -z $comp ]] && continue 258s 258s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 258s comp=${comp:endIndex} 258s __adsysctl_debug "ActiveHelp found: $comp" 258s if [[ -n $comp ]]; then 258s activeHelp+=("$comp") 258s fi 258s else 258s # Not an activeHelp line but a normal completion 258s completions+=("$comp") 258s fi 258s done <<<"${out}" 258s } 258s 258s __adsysctl_handle_completion_types() { 258s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 258s 258s case $COMP_TYPE in 258s 37|42) 258s # Type: menu-complete/menu-complete-backward and insert-completions 258s # If the user requested inserting one completion at a time, or all 258s # completions at once on the command-line we must remove the descriptions. 258s # https://github.com/spf13/cobra/issues/1508 258s 258s # If there are no completions, we don't need to do anything 258s (( ${#completions[@]} == 0 )) && return 0 258s 258s local tab=$'\t' 258s 258s # Strip any description and escape the completion to handled special characters 258s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]%%$tab*}") 258s 258s # Only consider the completions that match 258s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 258s 258s # compgen looses the escaping so we need to escape all completions again since they will 258s # all be inserted on the command-line. 258s IFS=$'\n' read -ra COMPREPLY -d '' < <(printf "%q\n" "${COMPREPLY[@]}") 258s ;; 258s 258s *) 258s # Type: complete (normal completion) 258s __adsysctl_handle_standard_completion_case 258s ;; 258s esac 258s } 258s 258s __adsysctl_handle_standard_completion_case() { 258s local tab=$'\t' 258s 258s # If there are no completions, we don't need to do anything 258s (( ${#completions[@]} == 0 )) && return 0 258s 258s # Short circuit to optimize if we don't have descriptions 258s if [[ "${completions[*]}" != *$tab* ]]; then 258s # First, escape the completions to handle special characters 258s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]}") 258s # Only consider the completions that match what the user typed 258s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 258s 258s # compgen looses the escaping so, if there is only a single completion, we need to 258s # escape it again because it will be inserted on the command-line. If there are multiple 258s # completions, we don't want to escape them because they will be printed in a list 258s # and we don't want to show escape characters in that list. 258s if (( ${#COMPREPLY[@]} == 1 )); then 258s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]}") 258s fi 258s return 0 258s fi 258s 258s local longest=0 258s local compline 258s # Look for the longest completion so that we can format things nicely 258s while IFS='' read -r compline; do 258s [[ -z $compline ]] && continue 258s 258s # Before checking if the completion matches what the user typed, 258s # we need to strip any description and escape the completion to handle special 258s # characters because those escape characters are part of what the user typed. 258s # Don't call "printf" in a sub-shell because it will be much slower 258s # since we are in a loop. 258s printf -v comp "%q" "${compline%%$tab*}" &>/dev/null || comp=$(printf "%q" "${compline%%$tab*}") 258s 258s # Only consider the completions that match 258s [[ $comp == "$cur"* ]] || continue 258s 258s # The completions matches. Add it to the list of full completions including 258s # its description. We don't escape the completion because it may get printed 258s # in a list if there are more than one and we don't want show escape characters 258s # in that list. 258s COMPREPLY+=("$compline") 258s 258s # Strip any description before checking the length, and again, don't escape 258s # the completion because this length is only used when printing the completions 258s # in a list and we don't want show escape characters in that list. 258s comp=${compline%%$tab*} 258s if ((${#comp}>longest)); then 258s longest=${#comp} 258s fi 258s done < <(printf "%s\n" "${completions[@]}") 258s 258s # If there is a single completion left, remove the description text and escape any special characters 258s if ((${#COMPREPLY[*]} == 1)); then 258s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 258s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]%%$tab*}") 258s __adsysctl_debug "Removed description from single completion, which is now: ${COMPREPLY[0]}" 258s else 258s # Format the descriptions 258s __adsysctl_format_comp_descriptions $longest 258s fi 258s } 258s 258s __adsysctl_handle_special_char() 258s { 258s local comp="$1" 258s local char=$2 258s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 258s local word=${comp%"${comp##*${char}}"} 258s local idx=${#COMPREPLY[*]} 258s while ((--idx >= 0)); do 258s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 258s done 258s fi 258s } 258s 258s __adsysctl_format_comp_descriptions() 258s { 258s local tab=$'\t' 258s local comp desc maxdesclength 258s local longest=$1 258s 258s local i ci 258s for ci in ${!COMPREPLY[*]}; do 258s comp=${COMPREPLY[ci]} 258s # Properly format the description string which follows a tab character if there is one 258s if [[ "$comp" == *$tab* ]]; then 258s __adsysctl_debug "Original comp: $comp" 258s desc=${comp#*$tab} 258s comp=${comp%%$tab*} 258s 258s # $COLUMNS stores the current shell width. 258s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 258s maxdesclength=$(( COLUMNS - longest - 4 )) 258s 258s # Make sure we can fit a description of at least 8 characters 258s # if we are to align the descriptions. 258s if ((maxdesclength > 8)); then 258s # Add the proper number of spaces to align the descriptions 258s for ((i = ${#comp} ; i < longest ; i++)); do 258s comp+=" " 258s done 258s else 258s # Don't pad the descriptions so we can fit more text after the completion 258s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 258s fi 258s 258s # If there is enough space for any description text, 258s # truncate the descriptions that are too long for the shell width 258s if ((maxdesclength > 0)); then 258s if ((${#desc} > maxdesclength)); then 258s desc=${desc:0:$(( maxdesclength - 1 ))} 258s desc+="…" 258s fi 258s comp+=" ($desc)" 258s fi 258s COMPREPLY[ci]=$comp 258s __adsysctl_debug "Final comp: $comp" 258s fi 258s done 258s } 258s 258s __start_adsysctl() 258s { 258s local cur prev words cword split 258s 258s COMPREPLY=() 258s 258s # Call _init_completion from the bash-completion package 258s # to prepare the arguments properly 258s if declare -F _init_completion >/dev/null 2>&1; then 258s _init_completion -n =: || return 258s else 258s __adsysctl_init_completion -n =: || return 258s fi 258s 258s __adsysctl_debug 258s __adsysctl_debug "========= starting completion logic ==========" 258s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 258s 258s # The user could have moved the cursor backwards on the command-line. 258s # We need to trigger completion from the $cword location, so we need 258s # to truncate the command-line ($words) up to the $cword location. 258s words=("${words[@]:0:$cword+1}") 258s __adsysctl_debug "Truncated words[*]: ${words[*]}," 258s 258s local out directive 258s __adsysctl_get_completion_results 258s __adsysctl_process_completion_results 258s } 258s 258s if [[ $(type -t compopt) = "builtin" ]]; then 258s complete -o default -F __start_adsysctl adsysctl 258s else 258s complete -o default -o nospace -F __start_adsysctl adsysctl 258s fi 258s 258s # ex: ts=4 sw=4 et filetype=sh 258s --- PASS: TestAppCanQuitAfterExecute (0.03s) 258s === CONT TestAppCanSigHupWhenExecute 258s Usage: 258s adsysctl COMMAND [flags] 258s adsysctl [command] 258s 258s Available Commands: 258s applied Print last applied GPOs for current or given user/machine 258s completion Generate the autocompletion script for the specified shell 258s doc Documentation 258s help Help about any command 258s policy Policy management 258s service Service management 258s update Updates/Create a policy for current user or given user with its kerberos ticket 258s version Returns version of client and service 258s 258s Flags: 258s -c, --config string use a specific configuration file 258s -h, --help help for adsysctl 258s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 258s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 258s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 258s 258s Use "adsysctl [command] --help" for more information about a command. 258s 258s --- PASS: TestAppUsageError (0.03s) 258s === CONT TestAppCanQuitWithoutExecute 258s --- PASS: TestAppCanQuitWhenExecute (0.04s) 258s === CONT TestAppGetRootCmd 258s # bash completion V2 for adsysctl -*- shell-script -*- 258s 258s __adsysctl_debug() 258s { 258s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 258s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 258s fi 258s } 258s 258s # Macs have bash3 for which the bash-completion package doesn't include 258s # _init_completion. This is a minimal version of that function. 258s __adsysctl_init_completion() 258s { 258s COMPREPLY=() 258s _get_comp_words_by_ref "$@" cur prev words cword 258s } 258s 258s # This function calls the adsysctl program to obtain the completion 258s # results and the directive. It fills the 'out' and 'directive' vars. 258s __adsysctl_get_completion_results() { 258s local requestComp lastParam lastChar args 258s 258s # Prepare the command to request completions for the program. 258s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 258s args=("${words[@]:1}") 258s requestComp="${words[0]} __complete ${args[*]}" 258s 258s lastParam=${words[$((${#words[@]}-1))]} 258s lastChar=${lastParam:$((${#lastParam}-1)):1} 258s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 258s 258s if [[ -z ${cur} && ${lastChar} != = ]]; then 258s # If the last parameter is complete (there is a space following it) 258s # We add an extra empty parameter so we can indicate this to the go method. 258s __adsysctl_debug "Adding extra empty parameter" 258s requestComp="${requestComp} ''" 258s fi 258s 258s # When completing a flag with an = (e.g., adsysctl -n=) 258s # bash focuses on the part after the =, so we need to remove 258s # the flag part from $cur 258s if [[ ${cur} == -*=* ]]; then 258s cur="${cur#*=}" 258s fi 258s 258s __adsysctl_debug "Calling ${requestComp}" 258s # Use eval to handle any environment variables and such 258s out=$(eval "${requestComp}" 2>/dev/null) 258s 258s # Extract the directive integer at the very end of the output following a colon (:) 258s directive=${out##*:} 258s # Remove the directive 258s out=${out%:*} 258s if [[ ${directive} == "${out}" ]]; then 258s # There is not directive specified 258s directive=0 258s fi 258s __adsysctl_debug "The completion directive is: ${directive}" 258s __adsysctl_debug "The completions are: ${out}" 258s } 258s 258s __adsysctl_process_completion_results() { 258s local shellCompDirectiveError=1 258s local shellCompDirectiveNoSpace=2 258s local shellCompDirectiveNoFileComp=4 258s local shellCompDirectiveFilterFileExt=8 258s local shellCompDirectiveFilterDirs=16 258s local shellCompDirectiveKeepOrder=32 258s 258s if (((directive & shellCompDirectiveError) != 0)); then 258s # Error code. No completion. 258s __adsysctl_debug "Received error from custom completion go code" 258s return 258s else 258s if (((directive & shellCompDirectiveNoSpace) != 0)); then 258s if [[ $(type -t compopt) == builtin ]]; then 258s __adsysctl_debug "Activating no space" 258s compopt -o nospace 258s else 258s __adsysctl_debug "No space directive not supported in this version of bash" 258s fi 258s fi 258s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 258s if [[ $(type -t compopt) == builtin ]]; then 258s # no sort isn't supported for bash less than < 4.4 258s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 258s __adsysctl_debug "No sort directive not supported in this version of bash" 258s else 258s __adsysctl_debug "Activating keep order" 258s compopt -o nosort 258s fi 258s else 258s __adsysctl_debug "No sort directive not supported in this version of bash" 258s fi 258s fi 258s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 258s if [[ $(type -t compopt) == builtin ]]; then 258s __adsysctl_debug "Activating no file completion" 258s compopt +o default 258s else 258s __adsysctl_debug "No file completion directive not supported in this version of bash" 258s fi 258s fi 258s fi 258s 258s # Separate activeHelp from normal completions 258s local completions=() 258s local activeHelp=() 258s __adsysctl_extract_activeHelp 258s 258s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 258s # File extension filtering 258s local fullFilter="" filter filteringCmd 258s 258s # Do not use quotes around the $completions variable or else newline 258s # characters will be kept. 258s for filter in ${completions[*]}; do 258s fullFilter+="$filter|" 258s done 258s 258s filteringCmd="_filedir $fullFilter" 258s __adsysctl_debug "File filtering command: $filteringCmd" 258s $filteringCmd 258s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 258s # File completion for directories only 258s 258s local subdir 258s subdir=${completions[0]} 258s if [[ -n $subdir ]]; then 258s __adsysctl_debug "Listing directories in $subdir" 258s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 258s else 258s __adsysctl_debug "Listing directories in ." 258s _filedir -d 258s fi 258s else 258s __adsysctl_handle_completion_types 258s fi 258s 258s __adsysctl_handle_special_char "$cur" : 258s __adsysctl_handle_special_char "$cur" = 258s 258s # Print the activeHelp statements before we finish 258s __adsysctl_handle_activeHelp 258s } 258s 258s __adsysctl_handle_activeHelp() { 258s # Print the activeHelp statements 258s if ((${#activeHelp[*]} != 0)); then 258s if [ -z $COMP_TYPE ]; then 258s # Bash v3 does not set the COMP_TYPE variable. 258s printf "\n"; 258s printf "%s\n" "${activeHelp[@]}" 258s printf "\n" 258s __adsysctl_reprint_commandLine 258s return 258s fi 258s 258s # Only print ActiveHelp on the second TAB press 258s if [ $COMP_TYPE -eq 63 ]; then 258s printf "\n" 258s printf "%s\n" "${activeHelp[@]}" 258s 258s if ((${#COMPREPLY[*]} == 0)); then 258s # When there are no completion choices from the program, file completion 258s # may kick in if the program has not disabled it; in such a case, we want 258s # to know if any files will match what the user typed, so that we know if 258s # there will be completions presented, so that we know how to handle ActiveHelp. 258s # To find out, we actually trigger the file completion ourselves; 258s # the call to _filedir will fill COMPREPLY if files match. 258s if (((directive & shellCompDirectiveNoFileComp) == 0)); then 258s __adsysctl_debug "Listing files" 258s _filedir 258s fi 258s fi 258s 258s if ((${#COMPREPLY[*]} != 0)); then 258s # If there are completion choices to be shown, print a delimiter. 258s # Re-printing the command-line will automatically be done 258s # by the shell when it prints the completion choices. 258s printf -- "--" 258s else 258s # When there are no completion choices at all, we need 258s # to re-print the command-line since the shell will 258s # not be doing it itself. 258s __adsysctl_reprint_commandLine 258s fi 258s elif [ $COMP_TYPE -eq 37 ] || [ $COMP_TYPE -eq 42 ]; then 258s # For completion type: menu-complete/menu-complete-backward and insert-completions 258s # the completions are immediately inserted into the command-line, so we first 258s # print the activeHelp message and reprint the command-line since the shell won't. 258s printf "\n" 258s printf "%s\n" "${activeHelp[@]}" 258s 258s __adsysctl_reprint_commandLine 258s fi 258s fi 258s } 258s 258s __adsysctl_reprint_commandLine() { 258s # The prompt format is only available from bash 4.4. 258s # We test if it is available before using it. 258s if (x=${PS1@P}) 2> /dev/null; then 258s printf "%s" "${PS1@P}${COMP_LINE[@]}" 258s else 258s # Can't print the prompt. Just print the 258s # text the user had typed, it is workable enough. 258s printf "%s" "${COMP_LINE[@]}" 258s fi 258s } 258s 258s # Separate activeHelp lines from real completions. 258s # Fills the $activeHelp and $completions arrays. 258s __adsysctl_extract_activeHelp() { 258s local activeHelpMarker="_activeHelp_ " 258s local endIndex=${#activeHelpMarker} 258s 258s while IFS='' read -r comp; do 258s [[ -z $comp ]] && continue 258s 258s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 258s comp=${comp:endIndex} 258s __adsysctl_debug "ActiveHelp found: $comp" 258s if [[ -n $comp ]]; then 258s activeHelp+=("$comp") 258s fi 258s else 258s # Not an activeHelp line but a normal completion 258s completions+=("$comp") 258s fi 258s done <<<"${out}" 258s } 258s 258s __adsysctl_handle_completion_types() { 258s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 258s 258s case $COMP_TYPE in 258s 37|42) 258s # Type: menu-complete/menu-complete-backward and insert-completions 258s # If the user requested inserting one completion at a time, or all 258s # completions at once on the command-line we must remove the descriptions. 258s # https://github.com/spf13/cobra/issues/1508 258s 258s # If there are no completions, we don't need to do anything 258s (( ${#completions[@]} == 0 )) && return 0 258s 258s local tab=$'\t' 258s 258s # Strip any description and escape the completion to handled special characters 258s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]%%$tab*}") 258s 258s # Only consider the completions that match 258s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 258s 258s # compgen looses the escaping so we need to escape all completions again since they will 258s # all be inserted on the command-line. 258s IFS=$'\n' read -ra COMPREPLY -d '' < <(printf "%q\n" "${COMPREPLY[@]}") 258s ;; 258s 258s *) 258s # Type: complete (normal completion) 258s __adsysctl_handle_standard_completion_case 258s ;; 258s esac 258s } 258s 258s __adsysctl_handle_standard_completion_case() { 258s local tab=$'\t' 258s 258s # If there are no completions, we don't need to do anything 258s (( ${#completions[@]} == 0 )) && return 0 258s 258s # Short circuit to optimize if we don't have descriptions 258s if [[ "${completions[*]}" != *$tab* ]]; then 258s # First, escape the completions to handle special characters 258s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]}") 258s # Only consider the completions that match what the user typed 258s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 258s 258s # compgen looses the escaping so, if there is only a single completion, we need to 258s # escape it again because it will be inserted on the command-line. If there are multiple 258s # completions, we don't want to escape them because they will be printed in a list 258s # and we don't want to show escape characters in that list. 258s if (( ${#COMPREPLY[@]} == 1 )); then 258s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]}") 258s fi 258s return 0 258s fi 258s 258s local longest=0 258s local compline 258s # Look for the longest completion so that we can format things nicely 258s while IFS='' read -r compline; do 258s [[ -z $compline ]] && continue 258s 258s # Before checking if the completion matches what the user typed, 258s # we need to strip any description and escape the completion to handle special 258s # characters because those escape characters are part of what the user typed. 258s # Don't call "printf" in a sub-shell because it will be much slower 258s # since we are in a loop. 258s printf -v comp "%q" "${compline%%$tab*}" &>/dev/null || comp=$(printf "%q" "${compline%%$tab*}") 258s 258s # Only consider the completions that match 258s [[ $comp == "$cur"* ]] || continue 258s 258s # The completions matches. Add it to the list of full completions including 258s # its description. We don't escape the completion because it may get printed 258s # in a list if there are more than one and we don't want show escape characters 258s # in that list. 258s COMPREPLY+=("$compline") 258s 258s # Strip any description before checking the length, and again, don't escape 258s # the completion because this length is only used when printing the completions 258s # in a list and we don't want show escape characters in that list. 258s comp=${compline%%$tab*} 258s if ((${#comp}>longest)); then 258s longest=${#comp} 258s fi 258s done < <(printf "%s\n" "${completions[@]}") 258s 258s # If there is a single completion left, remove the description text and escape any special characters 258s if ((${#COMPREPLY[*]} == 1)); then 258s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 258s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]%%$tab*}") 258s __adsysctl_debug "Removed description from single completion, which is now: ${COMPREPLY[0]}" 258s else 258s # Format the descriptions 258s __adsysctl_format_comp_descriptions $longest 258s fi 258s } 258s 258s __adsysctl_handle_special_char() 258s { 258s local comp="$1" 258s local char=$2 258s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 258s local word=${comp%"${comp##*${char}}"} 258s local idx=${#COMPREPLY[*]} 258s while ((--idx >= 0)); do 258s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 258s done 258s fi 258s } 258s 258s __adsysctl_format_comp_descriptions() 258s { 258s local tab=$'\t' 258s local comp desc maxdesclength 258s local longest=$1 258s 258s local i ci 258s for ci in ${!COMPREPLY[*]}; do 258s comp=${COMPREPLY[ci]} 258s # Properly format the description string which follows a tab character if there is one 258s if [[ "$comp" == *$tab* ]]; then 258s __adsysctl_debug "Original comp: $comp" 258s desc=${comp#*$tab} 258s comp=${comp%%$tab*} 258s 258s # $COLUMNS stores the current shell width. 258s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 258s maxdesclength=$(( COLUMNS - longest - 4 )) 258s 258s # Make sure we can fit a description of at least 8 characters 258s # if we are to align the descriptions. 258s if ((maxdesclength > 8)); then 258s # Add the proper number of spaces to align the descriptions 258s for ((i = ${#comp} ; i < longest ; i++)); do 258s comp+=" " 258s done 258s else 258s # Don't pad the descriptions so we can fit more text after the completion 258s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 258s fi 258s 258s # If there is enough space for any description text, 258s # truncate the descriptions that are too long for the shell width 258s if ((maxdesclength > 0)); then 258s if ((${#desc} > maxdesclength)); then 258s desc=${desc:0:$(( maxdesclength - 1 ))} 258s desc+="…" 258s fi 258s comp+=" ($desc)" 258s fi 258s COMPREPLY[ci]=$comp 258s __adsysctl_debug "Final comp: $comp" 258s fi 258s done 258s } 258s 258s __start_adsysctl() 258s { 258s local cur prev words cword split 258s 258s COMPREPLY=() 258s 258s # Call _init_completion from the bash-completion package 258s # to prepare the arguments properly 258s if declare -F _init_completion >/dev/null 2>&1; then 258s _init_completion -n =: || return 258s else 258s __adsysctl_init_completion -n =: || return 258s fi 258s 258s __adsysctl_debug 258s __adsysctl_debug "========= starting completion logic ==========" 258s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 258s 258s # The user could have moved the cursor backwards on the command-line. 258s # We need to trigger completion from the $cword location, so we need 258s # to truncate the command-line ($words) up to the $cword location. 258s words=("${words[@]:0:$cword+1}") 258s __adsysctl_debug "Truncated words[*]: ${words[*]}," 258s 258s local out directive 258s __adsysctl_get_completion_results 258s __adsysctl_process_completion_results 258s } 258s 258s if [[ $(type -t compopt) = "builtin" ]]; then 258s complete -o default -F __start_adsysctl adsysctl 258s else 258s complete -o default -o nospace -F __start_adsysctl adsysctl 258s fi 258s 258s # ex: ts=4 sw=4 et filetype=sh 258s --- PASS: TestAppCompletion (0.04s) 258s # bash completion V2 for adsysctl -*- shell-script -*- 258s 258s __adsysctl_debug() 258s { 258s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 258s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 258s fi 258s } 258s 258s # Macs have bash3 for which the bash-completion package doesn't include 258s # _init_completion. This is a minimal version of that function. 258s __adsysctl_init_completion() 258s { 258s COMPREPLY=() 258s _get_comp_words_by_ref "$@" cur prev words cword 258s } 258s 258s # This function calls the adsysctl program to obtain the completion 258s # results and the directive. It fills the 'out' and 'directive' vars. 258s __adsysctl_get_completion_results() { 258s local requestComp lastParam lastChar args 258s 258s # Prepare the command to request completions for the program. 258s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 258s args=("${words[@]:1}") 258s requestComp="${words[0]} __complete ${args[*]}" 258s 258s lastParam=${words[$((${#words[@]}-1))]} 258s lastChar=${lastParam:$((${#lastParam}-1)):1} 258s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 258s 258s if [[ -z ${cur} && ${lastChar} != = ]]; then 258s # If the last parameter is complete (there is a space following it) 258s # We add an extra empty parameter so we can indicate this to the go method. 258s __adsysctl_debug "Adding extra empty parameter" 258s requestComp="${requestComp} ''" 258s fi 258s 258s # When completing a flag with an = (e.g., adsysctl -n=) 258s # bash focuses on the part after the =, so we need to remove 258s # the flag part from $cur 258s if [[ ${cur} == -*=* ]]; then 258s cur="${cur#*=}" 258s fi 258s 258s __adsysctl_debug "Calling ${requestComp}" 258s # Use eval to handle any environment variables and such 258s out=$(eval "${requestComp}" 2>/dev/null) 258s 258s # Extract the directive integer at the very end of the output following a colon (:) 258s directive=${out##*:} 258s # Remove the directive 258s out=${out%:*} 258s if [[ ${directive} == "${out}" ]]; then 258s # There is not directive specified 258s directive=0 258s fi 258s __adsysctl_debug "The completion directive is: ${directive}" 258s __adsysctl_debug "The completions are: ${out}" 258s } 258s 258s __adsysctl_process_completion_results() { 258s local shellCompDirectiveError=1 258s local shellCompDirectiveNoSpace=2 258s local shellCompDirectiveNoFileComp=4 258s local shellCompDirectiveFilterFileExt=8 258s local shellCompDirectiveFilterDirs=16 258s local shellCompDirectiveKeepOrder=32 258s 258s if (((directive & shellCompDirectiveError) != 0)); then 258s # Error code. No completion. 258s __adsysctl_debug "Received error from custom completion go code" 258s return 258s else 258s if (((directive & shellCompDirectiveNoSpace) != 0)); then 258s if [[ $(type -t compopt) == builtin ]]; then 258s __adsysctl_debug "Activating no space" 258s compopt -o nospace 258s else 258s __adsysctl_debug "No space directive not supported in this version of bash" 258s fi 258s fi 258s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 258s if [[ $(type -t compopt) == builtin ]]; then 258s # no sort isn't supported for bash less than < 4.4 258s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 258s __adsysctl_debug "No sort directive not supported in this version of bash" 258s else 258s __adsysctl_debug "Activating keep order" 258s compopt -o nosort 258s fi 258s else 258s __adsysctl_debug "No sort directive not supported in this version of bash" 258s fi 258s fi 258s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 258s if [[ $(type -t compopt) == builtin ]]; then 258s __adsysctl_debug "Activating no file completion" 258s compopt +o default 258s else 258s __adsysctl_debug "No file completion directive not supported in this version of bash" 258s fi 258s fi 258s fi 258s 258s # Separate activeHelp from normal completions 258s local completions=() 258s local activeHelp=() 258s __adsysctl_extract_activeHelp 258s 258s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 258s # File extension filtering 258s local fullFilter="" filter filteringCmd 258s 258s # Do not use quotes around the $completions variable or else newline 258s # characters will be kept. 258s for filter in ${completions[*]}; do 258s fullFilter+="$filter|" 258s done 258s 258s filteringCmd="_filedir $fullFilter" 258s __adsysctl_debug "File filtering command: $filteringCmd" 258s $filteringCmd 258s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 258s # File completion for directories only 258s 258s local subdir 258s subdir=${completions[0]} 258s if [[ -n $subdir ]]; then 258s __adsysctl_debug "Listing directories in $subdir" 259s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 259s else 259s __adsysctl_debug "Listing directories in ." 259s _filedir -d 259s fi 259s else 259s __adsysctl_handle_completion_types 259s fi 259s 259s __adsysctl_handle_special_char "$cur" : 259s __adsysctl_handle_special_char "$cur" = 259s 259s # Print the activeHelp statements before we finish 259s __adsysctl_handle_activeHelp 259s } 259s 259s __adsysctl_handle_activeHelp() { 259s # Print the activeHelp statements 259s if ((${#activeHelp[*]} != 0)); then 259s if [ -z $COMP_TYPE ]; then 259s # Bash v3 does not set the COMP_TYPE variable. 259s printf "\n"; 259s printf "%s\n" "${activeHelp[@]}" 259s printf "\n" 259s __adsysctl_reprint_commandLine 259s return 259s fi 259s 259s # Only print ActiveHelp on the second TAB press 259s if [ $COMP_TYPE -eq 63 ]; then 259s printf "\n" 259s printf "%s\n" "${activeHelp[@]}" 259s 259s if ((${#COMPREPLY[*]} == 0)); then 259s # When there are no completion choices from the program, file completion 259s # may kick in if the program has not disabled it; in such a case, we want 259s # to know if any files will match what the user typed, so that we know if 259s # there will be completions presented, so that we know how to handle ActiveHelp. 259s # To find out, we actually trigger the file completion ourselves; 259s # the call to _filedir will fill COMPREPLY if files match. 259s if (((directive & shellCompDirectiveNoFileComp) == 0)); then 259s __adsysctl_debug "Listing files" 259s _filedir 259s fi 259s fi 259s 259s if ((${#COMPREPLY[*]} != 0)); then 259s # If there are completion choices to be shown, print a delimiter. 259s # Re-printing the command-line will automatically be done 259s # by the shell when it prints the completion choices. 259s printf -- "--" 259s else 259s # When there are no completion choices at all, we need 259s # to re-print the command-line since the shell will 259s # not be doing it itself. 259s __adsysctl_reprint_commandLine 259s fi 259s elif [ $COMP_TYPE -eq 37 ] || [ $COMP_TYPE -eq 42 ]; then 259s # For completion type: menu-complete/menu-complete-backward and insert-completions 259s # the completions are immediately inserted into the command-line, so we first 259s # print the activeHelp message and reprint the command-line since the shell won't. 259s printf "\n" 259s printf "%s\n" "${activeHelp[@]}" 259s 259s __adsysctl_reprint_commandLine 259s fi 259s fi 259s } 259s 259s __adsysctl_reprint_commandLine() { 259s # The prompt format is only available from bash 4.4. 259s # We test if it is available before using it. 259s if (x=${PS1@P}) 2> /dev/null; then 259s printf "%s" "${PS1@P}${COMP_LINE[@]}" 259s else 259s # Can't print the prompt. Just print the 259s # text the user had typed, it is workable enough. 259s printf "%s" "${COMP_LINE[@]}" 259s fi 259s } 259s 259s # Separate activeHelp lines from real completions. 259s # Fills the $activeHelp and $completions arrays. 259s __adsysctl_extract_activeHelp() { 259s local activeHelpMarker="_activeHelp_ " 259s local endIndex=${#activeHelpMarker} 259s 259s while IFS='' read -r comp; do 259s [[ -z $comp ]] && continue 259s 259s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 259s comp=${comp:endIndex} 259s __adsysctl_debug "ActiveHelp found: $comp" 259s if [[ -n $comp ]]; then 259s activeHelp+=("$comp") 259s fi 259s else 259s # Not an activeHelp line but a normal completion 259s completions+=("$comp") 259s fi 259s done <<<"${out}" 259s } 259s 259s __adsysctl_handle_completion_types() { 259s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 259s 259s case $COMP_TYPE in 259s 37|42) 259s # Type: menu-complete/menu-complete-backward and insert-completions 259s # If the user requested inserting one completion at a time, or all 259s # completions at once on the command-line we must remove the descriptions. 259s # https://github.com/spf13/cobra/issues/1508 259s 259s # If there are no completions, we don't need to do anything 259s (( ${#completions[@]} == 0 )) && return 0 259s 259s local tab=$'\t' 259s 259s # Strip any description and escape the completion to handled special characters 259s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]%%$tab*}") 259s 259s # Only consider the completions that match 259s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 259s 259s # compgen looses the escaping so we need to escape all completions again since they will 259s # all be inserted on the command-line. 259s IFS=$'\n' read -ra COMPREPLY -d '' < <(printf "%q\n" "${COMPREPLY[@]}") 259s ;; 259s 259s *) 259s # Type: complete (normal completion) 259s __adsysctl_handle_standard_completion_case 259s ;; 259s esac 259s } 259s 259s __adsysctl_handle_standard_completion_case() { 259s local tab=$'\t' 259s 259s # If there are no completions, we don't need to do anything 259s (( ${#completions[@]} == 0 )) && return 0 259s 259s # Short circuit to optimize if we don't have descriptions 259s if [[ "${completions[*]}" != *$tab* ]]; then 259s # First, escape the completions to handle special characters 259s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]}") 259s # Only consider the completions that match what the user typed 259s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 259s 259s # compgen looses the escaping so, if there is only a single completion, we need to 259s # escape it again because it will be inserted on the command-line. If there are multiple 259s # completions, we don't want to escape them because they will be printed in a list 259s # and we don't want to show escape characters in that list. 259s if (( ${#COMPREPLY[@]} == 1 )); then 259s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]}") 259s fi 259s return 0 259s fi 259s 259s local longest=0 259s local compline 259s # Look for the longest completion so that we can format things nicely 259s while IFS='' read -r compline; do 259s [[ -z $compline ]] && continue 259s 259s # Before checking if the completion matches what the user typed, 259s # we need to strip any description and escape the completion to handle special 259s # characters because those escape characters are part of what the user typed. 259s # Don't call "printf" in a sub-shell because it will be much slower 259s # since we are in a loop. 259s printf -v comp "%q" "${compline%%$tab*}" &>/dev/null || comp=$(printf "%q" "${compline%%$tab*}") 259s 259s # Only consider the completions that match 259s [[ $comp == "$cur"* ]] || continue 259s 259s # The completions matches. Add it to the list of full completions including 259s # its description. We don't escape the completion because it may get printed 259s # in a list if there are more than one and we don't want show escape characters 259s # in that list. 259s COMPREPLY+=("$compline") 259s 259s # Strip any description before checking the length, and again, don't escape 259s # the completion because this length is only used when printing the completions 259s # in a list and we don't want show escape characters in that list. 259s comp=${compline%%$tab*} 259s if ((${#comp}>longest)); then 259s longest=${#comp} 259s fi 259s done < <(printf "%s\n" "${completions[@]}") 259s 259s # If there is a single completion left, remove the description text and escape any special characters 259s if ((${#COMPREPLY[*]} == 1)); then 259s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 259s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]%%$tab*}") 259s __adsysctl_debug "Removed description from single completion, which is now: ${COMPREPLY[0]}" 259s else 259s # Format the descriptions 259s __adsysctl_format_comp_descriptions $longest 259s fi 259s } 259s 259s __adsysctl_handle_special_char() 259s { 259s local comp="$1" 259s local char=$2 259s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 259s local word=${comp%"${comp##*${char}}"} 259s local idx=${#COMPREPLY[*]} 259s while ((--idx >= 0)); do 259s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 259s done 259s fi 259s } 259s 259s __adsysctl_format_comp_descriptions() 259s { 259s local tab=$'\t' 259s local comp desc maxdesclength 259s local longest=$1 259s 259s local i ci 259s for ci in ${!COMPREPLY[*]}; do 259s comp=${COMPREPLY[ci]} 259s # Properly format the description string which follows a tab character if there is one 259s if [[ "$comp" == *$tab* ]]; then 259s __adsysctl_debug "Original comp: $comp" 259s desc=${comp#*$tab} 259s comp=${comp%%$tab*} 259s 259s # $COLUMNS stores the current shell width. 259s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 259s maxdesclength=$(( COLUMNS - longest - 4 )) 259s 259s # Make sure we can fit a description of at least 8 characters 259s # if we are to align the descriptions. 259s if ((maxdesclength > 8)); then 259s # Add the proper number of spaces to align the descriptions 259s for ((i = ${#comp} ; i < longest ; i++)); do 259s comp+=" " 259s done 259s else 259s # Don't pad the descriptions so we can fit more text after the completion 259s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 259s fi 259s 259s # If there is enough space for any description text, 259s # truncate the descriptions that are too long for the shell width 259s if ((maxdesclength > 0)); then 259s if ((${#desc} > maxdesclength)); then 259s desc=${desc:0:$(( maxdesclength - 1 ))} 259s desc+="…" 259s fi 259s comp+=" ($desc)" 259s fi 259s COMPREPLY[ci]=$comp 259s __adsysctl_debug "Final comp: $comp" 259s fi 259s done 259s } 259s 259s __start_adsysctl() 259s { 259s local cur prev words cword split 259s 259s COMPREPLY=() 259s 259s # Call _init_completion from the bash-completion package 259s # to prepare the arguments properly 259s if declare -F _init_completion >/dev/null 2>&1; then 259s _init_completion -n =: || return 259s else 259s __adsysctl_init_completion -n =: || return 259s fi 259s 259s __adsysctl_debug 259s __adsysctl_debug "========= starting completion logic ==========" 259s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 259s 259s # The user could have moved the cursor backwards on the command-line. 259s # We need to trigger completion from the $cword location, so we need 259s # to truncate the command-line ($words) up to the $cword location. 259s words=("${words[@]:0:$cword+1}") 259s __adsysctl_debug "Truncated words[*]: ${words[*]}," 259s 259s local out directive 259s __adsysctl_get_completion_results 259s __adsysctl_process_completion_results 259s } 259s 259s if [[ $(type -t compopt) = "builtin" ]]; then 259s complete -o default -F __start_adsysctl adsysctl 259s else 259s complete -o default -o nospace -F __start_adsysctl adsysctl 259s fi 259s 259s # ex: ts=4 sw=4 et filetype=sh 259s --- PASS: TestAppNoUsageError (0.04s) 259s --- PASS: TestAppGetRootCmd (0.00s) 259s Usage: 259s adsysctl COMMAND [flags] 259s adsysctl [command] 259s 259s Available Commands: 259s applied Print last applied GPOs for current or given user/machine 259s completion Generate the autocompletion script for the specified shell 259s doc Documentation 259s help Help about any command 259s policy Policy management 259s service Service management 259s update Updates/Create a policy for current user or given user with its kerberos ticket 259s version Returns version of client and service 259s 259s Flags: 259s -c, --config string use a specific configuration file 259s -h, --help help for adsysctl 259s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 259s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 259s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 259s 259s Use "adsysctl [command] --help" for more information about a command. 259s 259s --- PASS: TestInitApp (0.04s) 259s --- PASS: TestAppCanQuitWithoutExecute (0.01s) 259s Active Directory integration bridging toolset command line tool. 259s 259s Usage: 259s adsysctl COMMAND [flags] 259s adsysctl [command] 259s 259s Available Commands: 259s applied Print last applied GPOs for current or given user/machine 259s completion Generate the autocompletion script for the specified shell 259s doc Documentation 259s help Help about any command 259s policy Policy management 259s service Service management 259s update Updates/Create a policy for current user or given user with its kerberos ticket 259s version Returns version of client and service 259s 259s Flags: 259s -c, --config string use a specific configuration file 259s -h, --help help for adsysctl 259s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 259s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 259s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 259s 259s Use "adsysctl [command] --help" for more information about a command. 259s --- PASS: TestAppHelp (0.05s) 259s # bash completion V2 for adsysctl -*- shell-script -*- 259s 259s __adsysctl_debug() 259s { 259s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 259s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 259s fi 259s } 259s 259s # Macs have bash3 for which the bash-completion package doesn't include 259s # _init_completion. This is a minimal version of that function. 259s __adsysctl_init_completion() 259s { 259s COMPREPLY=() 259s _get_comp_words_by_ref "$@" cur prev words cword 259s } 259s 259s # This function calls the adsysctl program to obtain the completion 259s # results and the directive. It fills the 'out' and 'directive' vars. 259s __adsysctl_get_completion_results() { 259s local requestComp lastParam lastChar args 259s 259s # Prepare the command to request completions for the program. 259s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 259s args=("${words[@]:1}") 259s requestComp="${words[0]} __complete ${args[*]}" 259s 259s lastParam=${words[$((${#words[@]}-1))]} 259s lastChar=${lastParam:$((${#lastParam}-1)):1} 259s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 259s 259s if [[ -z ${cur} && ${lastChar} != = ]]; then 259s # If the last parameter is complete (there is a space following it) 259s # We add an extra empty parameter so we can indicate this to the go method. 259s __adsysctl_debug "Adding extra empty parameter" 259s requestComp="${requestComp} ''" 259s fi 259s 259s # When completing a flag with an = (e.g., adsysctl -n=) 259s # bash focuses on the part after the =, so we need to remove 259s # the flag part from $cur 259s if [[ ${cur} == -*=* ]]; then 259s cur="${cur#*=}" 259s fi 259s 259s __adsysctl_debug "Calling ${requestComp}" 259s # Use eval to handle any environment variables and such 259s out=$(eval "${requestComp}" 2>/dev/null) 259s 259s # Extract the directive integer at the very end of the output following a colon (:) 259s directive=${out##*:} 259s # Remove the directive 259s out=${out%:*} 259s if [[ ${directive} == "${out}" ]]; then 259s # There is not directive specified 259s directive=0 259s fi 259s __adsysctl_debug "The completion directive is: ${directive}" 259s __adsysctl_debug "The completions are: ${out}" 259s } 259s 259s __adsysctl_process_completion_results() { 259s local shellCompDirectiveError=1 259s local shellCompDirectiveNoSpace=2 259s local shellCompDirectiveNoFileComp=4 259s local shellCompDirectiveFilterFileExt=8 259s local shellCompDirectiveFilterDirs=16 259s local shellCompDirectiveKeepOrder=32 259s 259s if (((directive & shellCompDirectiveError) != 0)); then 259s # Error code. No completion. 259s __adsysctl_debug "Received error from custom completion go code" 259s return 259s else 259s if (((directive & shellCompDirectiveNoSpace) != 0)); then 259s if [[ $(type -t compopt) == builtin ]]; then 259s __adsysctl_debug "Activating no space" 259s compopt -o nospace 259s else 259s __adsysctl_debug "No space directive not supported in this version of bash" 259s fi 259s fi 259s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 259s if [[ $(type -t compopt) == builtin ]]; then 259s # no sort isn't supported for bash less than < 4.4 259s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 259s __adsysctl_debug "No sort directive not supported in this version of bash" 259s else 259s __adsysctl_debug "Activating keep order" 259s compopt -o nosort 259s fi 259s else 259s __adsysctl_debug "No sort directive not supported in this version of bash" 259s fi 259s fi 259s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 259s if [[ $(type -t compopt) == builtin ]]; then 259s __adsysctl_debug "Activating no file completion" 259s compopt +o default 259s else 259s __adsysctl_debug "No file completion directive not supported in this version of bash" 259s fi 259s fi 259s fi 259s 259s # Separate activeHelp from normal completions 259s local completions=() 259s local activeHelp=() 259s __adsysctl_extract_activeHelp 259s 259s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 259s # File extension filtering 259s local fullFilter="" filter filteringCmd 259s 259s # Do not use quotes around the $completions variable or else newline 259s # characters will be kept. 259s for filter in ${completions[*]}; do 259s fullFilter+="$filter|" 259s done 259s 259s filteringCmd="_filedir $fullFilter" 259s __adsysctl_debug "File filtering command: $filteringCmd" 259s $filteringCmd 259s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 259s # File completion for directories only 259s 259s local subdir 259s subdir=${completions[0]} 259s if [[ -n $subdir ]]; then 259s __adsysctl_debug "Listing directories in $subdir" 259s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 259s else 259s __adsysctl_debug "Listing directories in ." 259s _filedir -d 259s fi 259s else 259s __adsysctl_handle_completion_types 259s fi 259s 259s __adsysctl_handle_special_char "$cur" : 259s __adsysctl_handle_special_char "$cur" = 259s 259s # Print the activeHelp statements before we finish 259s __adsysctl_handle_activeHelp 259s } 259s 259s __adsysctl_handle_activeHelp() { 259s # Print the activeHelp statements 259s if ((${#activeHelp[*]} != 0)); then 259s if [ -z $COMP_TYPE ]; then 259s # Bash v3 does not set the COMP_TYPE variable. 259s printf "\n"; 259s printf "%s\n" "${activeHelp[@]}" 259s printf "\n" 259s __adsysctl_reprint_commandLine 259s return 259s fi 259s 259s # Only print ActiveHelp on the second TAB press 259s if [ $COMP_TYPE -eq 63 ]; then 259s printf "\n" 259s printf "%s\n" "${activeHelp[@]}" 259s 259s if ((${#COMPREPLY[*]} == 0)); then 259s # When there are no completion choices from the program, file completion 259s # may kick in if the program has not disabled it; in such a case, we want 259s # to know if any files will match what the user typed, so that we know if 259s # there will be completions presented, so that we know how to handle ActiveHelp. 259s # To find out, we actually trigger the file completion ourselves; 259s # the call to _filedir will fill COMPREPLY if files match. 259s if (((directive & shellCompDirectiveNoFileComp) == 0)); then 259s __adsysctl_debug "Listing files" 259s _filedir 259s fi 259s fi 259s 259s if ((${#COMPREPLY[*]} != 0)); then 259s # If there are completion choices to be shown, print a delimiter. 259s # Re-printing the command-line will automatically be done 259s # by the shell when it prints the completion choices. 259s printf -- "--" 259s else 259s # When there are no completion choices at all, we need 259s # to re-print the command-line since the shell will 259s # not be doing it itself. 259s __adsysctl_reprint_commandLine 259s fi 259s elif [ $COMP_TYPE -eq 37 ] || [ $COMP_TYPE -eq 42 ]; then 259s # For completion type: menu-complete/menu-complete-backward and insert-completions 259s # the completions are immediately inserted into the command-line, so we first 259s # print the activeHelp message and reprint the command-line since the shell won't. 259s printf "\n" 259s printf "%s\n" "${activeHelp[@]}" 259s 259s __adsysctl_reprint_commandLine 259s fi 259s fi 259s } 259s 259s __adsysctl_reprint_commandLine() { 259s # The prompt format is only available from bash 4.4. 259s # We test if it is available before using it. 259s if (x=${PS1@P}) 2> /dev/null; then 259s printf "%s" "${PS1@P}${COMP_LINE[@]}" 259s else 259s # Can't print the prompt. Just print the 259s # text the user had typed, it is workable enough. 259s printf "%s" "${COMP_LINE[@]}" 259s fi 259s } 259s 259s # Separate activeHelp lines from real completions. 259s # Fills the $activeHelp and $completions arrays. 259s __adsysctl_extract_activeHelp() { 259s local activeHelpMarker="_activeHelp_ " 259s local endIndex=${#activeHelpMarker} 259s 259s while IFS='' read -r comp; do 259s [[ -z $comp ]] && continue 259s 259s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 259s comp=${comp:endIndex} 259s __adsysctl_debug "ActiveHelp found: $comp" 259s if [[ -n $comp ]]; then 259s activeHelp+=("$comp") 259s fi 259s else 259s # Not an activeHelp line but a normal completion 259s completions+=("$comp") 259s fi 259s done <<<"${out}" 259s } 259s 259s __adsysctl_handle_completion_types() { 259s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 259s 259s case $COMP_TYPE in 259s 37|42) 259s # Type: menu-complete/menu-complete-backward and insert-completions 259s # If the user requested inserting one completion at a time, or all 259s # completions at once on the command-line we must remove the descriptions. 259s # https://github.com/spf13/cobra/issues/1508 259s 259s # If there are no completions, we don't need to do anything 259s (( ${#completions[@]} == 0 )) && return 0 259s 259s local tab=$'\t' 259s 259s # Strip any description and escape the completion to handled special characters 259s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]%%$tab*}") 259s 259s # Only consider the completions that match 259s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 259s 259s # compgen looses the escaping so we need to escape all completions again since they will 259s # all be inserted on the command-line. 259s IFS=$'\n' read -ra COMPREPLY -d '' < <(printf "%q\n" "${COMPREPLY[@]}") 259s ;; 259s 259s *) 259s # Type: complete (normal completion) 259s __adsysctl_handle_standard_completion_case 259s ;; 259s esac 259s } 259s 259s __adsysctl_handle_standard_completion_case() { 259s local tab=$'\t' 259s 259s # If there are no completions, we don't need to do anything 259s (( ${#completions[@]} == 0 )) && return 0 259s 259s # Short circuit to optimize if we don't have descriptions 259s if [[ "${completions[*]}" != *$tab* ]]; then 259s # First, escape the completions to handle special characters 259s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]}") 259s # Only consider the completions that match what the user typed 259s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 259s 259s # compgen looses the escaping so, if there is only a single completion, we need to 259s # escape it again because it will be inserted on the command-line. If there are multiple 259s # completions, we don't want to escape them because they will be printed in a list 259s # and we don't want to show escape characters in that list. 259s if (( ${#COMPREPLY[@]} == 1 )); then 259s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]}") 259s fi 259s return 0 259s fi 259s 259s local longest=0 259s local compline 259s # Look for the longest completion so that we can format things nicely 259s while IFS='' read -r compline; do 259s [[ -z $compline ]] && continue 259s 259s # Before checking if the completion matches what the user typed, 259s # we need to strip any description and escape the completion to handle special 259s # characters because those escape characters are part of what the user typed. 259s # Don't call "printf" in a sub-shell because it will be much slower 259s # since we are in a loop. 259s printf -v comp "%q" "${compline%%$tab*}" &>/dev/null || comp=$(printf "%q" "${compline%%$tab*}") 259s 259s # Only consider the completions that match 259s [[ $comp == "$cur"* ]] || continue 259s 259s # The completions matches. Add it to the list of full completions including 259s # its description. We don't escape the completion because it may get printed 259s # in a list if there are more than one and we don't want show escape characters 259s # in that list. 259s COMPREPLY+=("$compline") 259s 259s # Strip any description before checking the length, and again, don't escape 259s # the completion because this length is only used when printing the completions 259s # in a list and we don't want show escape characters in that list. 259s comp=${compline%%$tab*} 259s if ((${#comp}>longest)); then 259s longest=${#comp} 259s fi 259s done < <(printf "%s\n" "${completions[@]}") 259s 259s # If there is a single completion left, remove the description text and escape any special characters 259s if ((${#COMPREPLY[*]} == 1)); then 259s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 259s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]%%$tab*}") 259s __adsysctl_debug "Removed description from single completion, which is now: ${COMPREPLY[0]}" 259s else 259s # Format the descriptions 259s __adsysctl_format_comp_descriptions $longest 259s fi 259s } 259s 259s __adsysctl_handle_special_char() 259s { 259s local comp="$1" 259s local char=$2 259s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 259s local word=${comp%"${comp##*${char}}"} 259s local idx=${#COMPREPLY[*]} 259s while ((--idx >= 0)); do 259s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 259s done 259s fi 259s } 259s 259s __adsysctl_format_comp_descriptions() 259s { 259s local tab=$'\t' 259s local comp desc maxdesclength 259s local longest=$1 259s 259s local i ci 259s for ci in ${!COMPREPLY[*]}; do 259s comp=${COMPREPLY[ci]} 259s # Properly format the description string which follows a tab character if there is one 259s if [[ "$comp" == *$tab* ]]; then 259s __adsysctl_debug "Original comp: $comp" 259s desc=${comp#*$tab} 259s comp=${comp%%$tab*} 259s 259s # $COLUMNS stores the current shell width. 259s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 259s maxdesclength=$(( COLUMNS - longest - 4 )) 259s 259s # Make sure we can fit a description of at least 8 characters 259s # if we are to align the descriptions. 259s if ((maxdesclength > 8)); then 259s # Add the proper number of spaces to align the descriptions 259s for ((i = ${#comp} ; i < longest ; i++)); do 259s comp+=" " 259s done 259s else 259s # Don't pad the descriptions so we can fit more text after the completion 259s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 259s fi 259s 259s # If there is enough space for any description text, 259s # truncate the descriptions that are too long for the shell width 259s if ((maxdesclength > 0)); then 259s if ((${#desc} > maxdesclength)); then 259s desc=${desc:0:$(( maxdesclength - 1 ))} 259s desc+="…" 259s fi 259s comp+=" ($desc)" 259s fi 259s COMPREPLY[ci]=$comp 259s __adsysctl_debug "Final comp: $comp" 259s fi 259s done 259s } 259s 259s __start_adsysctl() 259s { 259s local cur prev words cword split 259s 259s COMPREPLY=() 259s 259s # Call _init_completion from the bash-completion package 259s # to prepare the arguments properly 259s if declare -F _init_completion >/dev/null 2>&1; then 259s _init_completion -n =: || return 259s else 259s __adsysctl_init_completion -n =: || return 259s fi 259s 259s __adsysctl_debug 259s __adsysctl_debug "========= starting completion logic ==========" 259s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 259s 259s # The user could have moved the cursor backwards on the command-line. 259s # We need to trigger completion from the $cword location, so we need 259s # to truncate the command-line ($words) up to the $cword location. 259s words=("${words[@]:0:$cword+1}") 259s __adsysctl_debug "Truncated words[*]: ${words[*]}," 259s 259s local out directive 259s __adsysctl_get_completion_results 259s __adsysctl_process_completion_results 259s } 259s 259s if [[ $(type -t compopt) = "builtin" ]]; then 259s complete -o default -F __start_adsysctl adsysctl 259s else 259s complete -o default -o nospace -F __start_adsysctl adsysctl 259s fi 259s 259s # ex: ts=4 sw=4 et filetype=sh 259s --- PASS: TestAppCanSigHupAfterExecute (0.06s) 259s --- PASS: TestAppCanSigHupWhenExecute (0.02s) 259s PASS 259s ok github.com/ubuntu/adsys/cmd/adsysd/client 0.225s 265s === RUN TestAppHelp 265s === PAUSE TestAppHelp 265s === RUN TestAppCompletion 265s === PAUSE TestAppCompletion 265s === RUN TestAppVersion 265s --- PASS: TestAppVersion (0.00s) 265s === RUN TestAppNoUsageError 265s === PAUSE TestAppNoUsageError 265s === RUN TestAppUsageError 265s === PAUSE TestAppUsageError 265s === RUN TestAppCanQuitWhenExecute 265s time="2025-10-18T15:05:18Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 265s --- PASS: TestAppCanQuitWhenExecute (0.07s) 265s === RUN TestAppCanQuitAfterExecute 265s time="2025-10-18T15:05:18Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 265s --- PASS: TestAppCanQuitAfterExecute (1.02s) 265s === RUN TestAppCanQuitWithoutExecute 265s === PAUSE TestAppCanQuitWithoutExecute 265s === RUN TestAppRunFailsOnDaemonCreationAndQuit 265s time="2025-10-18T15:05:19Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 265s --- PASS: TestAppRunFailsOnDaemonCreationAndQuit (0.02s) 265s === RUN TestAppRunFailsOnServiceCreationAndQuit 265s --- PASS: TestAppRunFailsOnServiceCreationAndQuit (0.00s) 265s === RUN TestAppCanSigHupWhenExecute 265s time="2025-10-18T15:05:19Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 265s --- PASS: TestAppCanSigHupWhenExecute (0.07s) 265s === RUN TestAppCanSigHupAfterExecute 265s time="2025-10-18T15:05:19Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 265s --- PASS: TestAppCanSigHupAfterExecute (1.02s) 265s === RUN TestAppCanSigHupWithoutExecute 265s --- PASS: TestAppCanSigHupWithoutExecute (0.00s) 265s === RUN TestAppTimeout 265s time="2025-10-18T15:05:20Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 265s --- PASS: TestAppTimeout (1.02s) 265s === RUN TestAppGetRootCmd 265s === PAUSE TestAppGetRootCmd 265s === RUN TestConfigLoad 265s time="2025-10-18T15:05:21Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 265s time="2025-10-18T15:05:21Z" level=info msg="Serving on /tmp/TestConfigLoad1370820055/001/adsys.socket" 265s time="2025-10-18T15:05:21Z" level=info msg="Stopping daemon requested." 265s time="2025-10-18T15:05:21Z" level=info msg="Wait for active requests to close." 265s --- PASS: TestConfigLoad (0.07s) 265s === RUN TestConfigChange 265s time="2025-10-18T15:05:21Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 265s time="2025-10-18T15:05:21Z" level=info msg="Serving on /tmp/TestConfigChange934983895/001/adsys.socket" 265s time="2025-10-18T15:05:21Z" level=info msg="Stopping daemon requested." 265s time="2025-10-18T15:05:21Z" level=info msg="Wait for active requests to close." 265s time="2025-10-18T15:05:21Z" level=debug msg="All connections have now ended." 265s time="2025-10-18T15:05:21Z" level=debug msg=Quitting 265s --- PASS: TestConfigChange (0.17s) 265s === CONT TestAppHelp 265s === CONT TestAppUsageError 265s === CONT TestAppCanQuitWithoutExecute 265s daemon_test.go:104: We need to initialize the daemon first, so this is not possible and will hang forever (ready not closed) 265s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 265s === CONT TestAppNoUsageError 265s === CONT TestAppCompletion 265s === CONT TestAppGetRootCmd 265s Active Directory integration bridging toolset daemon. 265s 265s Usage: 265s adsysd COMMAND [flags] 265s adsysd [command] 265s 265s Available Commands: 265s completion Generate the autocompletion script for the specified shell 265s help Help about any command 265s version Returns version of service and exits 265s 265s Flags: 265s --ad-backend string Active Directory authentication backend (default "sssd") 265s --cache-dir string directory where ADSys caches GPOs downloads and policies. (default "/var/cache/adsys") 266s -c, --config string use a specific configuration file 266s --gpo-list-timeout int time in seconds for the GPO list. 0 for no timeout. (default 10) 266s -h, --help help for adsysd 266s --run-dir string directory where ADSys stores transient information erased on reboot. (default "/run/adsys") 266s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 266s --sssd.cache-dir string SSSd cache directory (default "/var/lib/sss/db") 266s --sssd.config string SSSd config file path (default "/etc/sssd/sssd.conf") 266s -t, --timeout int time in seconds without activity before the service exists. 0 for no timeout. (default 120) 266s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 266s 266s Use "adsysd [command] --help" for more information about a command. 266s --- PASS: TestAppHelp (0.00s) 266s --- PASS: TestAppGetRootCmd (0.01s) 266s # bash completion V2 for adsysd -*- shell-script -*- 266s 266s __adsysd_debug() 266s { 266s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 266s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 266s fi 266s } 266s 266s # Macs have bash3 for which the bash-completion package doesn't include 266s # _init_completion. This is a minimal version of that function. 266s __adsysd_init_completion() 266s { 266s COMPREPLY=() 266s _get_comp_words_by_ref "$@" cur prev words cword 266s } 266s 266s # This function calls the adsysd program to obtain the completion 266s # results and the directive. It fills the 'out' and 'directive' vars. 266s __adsysd_get_completion_results() { 266s local requestComp lastParam lastChar args 266s 266s # Prepare the command to request completions for the program. 266s # Calling ${words[0]} instead of directly adsysd allows handling aliases 266s args=("${words[@]:1}") 266s requestComp="${words[0]} __complete ${args[*]}" 266s 266s lastParam=${words[$((${#words[@]}-1))]} 266s lastChar=${lastParam:$((${#lastParam}-1)):1} 266s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 266s 266s if [[ -z ${cur} && ${lastChar} != = ]]; then 266s # If the last parameter is complete (there is a space following it) 266s # We add an extra empty parameter so we can indicate this to the go method. 266s __adsysd_debug "Adding extra empty parameter" 266s requestComp="${requestComp} ''" 266s fi 266s 266s # When completing a flag with an = (e.g., adsysd -n=) 266s # bash focuses on the part after the =, so we need to remove 266s # the flag part from $cur 266s if [[ ${cur} == -*=* ]]; then 266s cur="${cur#*=}" 266s fi 266s 266s __adsysd_debug "Calling ${requestComp}" 266s # Use eval to handle any environment variables and such 266s out=$(eval "${requestComp}" 2>/dev/null) 266s 266s # Extract the directive integer at the very end of the output following a colon (:) 266s directive=${out##*:} 266s # Remove the directive 266s out=${out%:*} 266s if [[ ${directive} == "${out}" ]]; then 266s # There is not directive specified 266s directive=0 266s fi 266s __adsysd_debug "The completion directive is: ${directive}" 266s __adsysd_debug "The completions are: ${out}" 266s } 266s 266s __adsysd_process_completion_results() { 266s local shellCompDirectiveError=1 266s local shellCompDirectiveNoSpace=2 266s local shellCompDirectiveNoFileComp=4 266s local shellCompDirectiveFilterFileExt=8 266s local shellCompDirectiveFilterDirs=16 266s local shellCompDirectiveKeepOrder=32 266s 266s if (((directive & shellCompDirectiveError) != 0)); then 266s # Error code. No completion. 266s __adsysd_debug "Received error from custom completion go code" 266s return 266s else 266s if (((directive & shellCompDirectiveNoSpace) != 0)); then 266s if [[ $(type -t compopt) == builtin ]]; then 266s __adsysd_debug "Activating no space" 266s compopt -o nospace 266s else 266s __adsysd_debug "No space directive not supported in this version of bash" 266s fi 266s fi 266s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 266s if [[ $(type -t compopt) == builtin ]]; then 266s # no sort isn't supported for bash less than < 4.4 266s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 266s __adsysd_debug "No sort directive not supported in this version of bash" 266s else 266s __adsysd_debug "Activating keep order" 266s compopt -o nosort 266s fi 266s else 266s __adsysd_debug "No sort directive not supported in this version of bash" 266s fi 266s fi 266s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 266s if [[ $(type -t compopt) == builtin ]]; then 266s __adsysd_debug "Activating no file completion" 266s compopt +o default 266s else 266s __adsysd_debug "No file completion directive not supported in this version of bash" 266s fi 266s fi 266s fi 266s 266s # Separate activeHelp from normal completions 266s local completions=() 266s local activeHelp=() 266s __adsysd_extract_activeHelp 266s 266s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 266s # File extension filtering 266s local fullFilter="" filter filteringCmd 266s 266s # Do not use quotes around the $completions variable or else newline 266s # characters will be kept. 266s for filter in ${completions[*]}; do 266s fullFilter+="$filter|" 266s done 266s 266s filteringCmd="_filedir $fullFilter" 266s __adsysd_debug "File filtering command: $filteringCmd" 266s $filteringCmd 266s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 266s # File completion for directories only 266s 266s local subdir 266s subdir=${completions[0]} 266s if [[ -n $subdir ]]; then 266s __adsysd_debug "Listing directories in $subdir" 266s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 266s else 266s __adsysd_debug "Listing directories in ." 266s _filedir -d 266s fi 266s else 266s __adsysd_handle_completion_types 266s fi 266s 266s __adsysd_handle_special_char "$cur" : 266s __adsysd_handle_special_char "$cur" = 266s 266s # Print the activeHelp statements before we finish 266s __adsysd_handle_activeHelp 266s } 266s 266s __adsysd_handle_activeHelp() { 266s # Print the activeHelp statements 266s if ((${#activeHelp[*]} != 0)); then 266s if [ -z $COMP_TYPE ]; then 266s # Bash v3 does not set the COMP_TYPE variable. 266s printf "\n"; 266s printf "%s\n" "${activeHelp[@]}" 266s printf "\n" 266s __adsysd_reprint_commandLine 266s return 266s fi 266s 266s # Only print ActiveHelp on the second TAB press 266s if [ $COMP_TYPE -eq 63 ]; then 266s printf "\n" 266s printf "%s\n" "${activeHelp[@]}" 266s 266s if ((${#COMPREPLY[*]} == 0)); then 266s # When there are no completion choices from the program, file completion 266s # may kick in if the program has not disabled it; in such a case, we want 266s # to know if any files will match what the user typed, so that we know if 266s # there will be completions presented, so that we know how to handle ActiveHelp. 266s # To find out, we actually trigger the file completion ourselves; 266s # the call to _filedir will fill COMPREPLY if files match. 266s if (((directive & shellCompDirectiveNoFileComp) == 0)); then 266s __adsysd_debug "Listing files" 266s _filedir 266s fi 266s fi 266s 266s if ((${#COMPREPLY[*]} != 0)); then 266s # If there are completion choices to be shown, print a delimiter. 266s # Re-printing the command-line will automatically be done 266s # by the shell when it prints the completion choices. 266s printf -- "--" 266s else 266s # When there are no completion choices at all, we need 266s # to re-print the command-line since the shell will 266s # not be doing it itself. 266s __adsysd_reprint_commandLine 266s fi 266s elif [ $COMP_TYPE -eq 37 ] || [ $COMP_TYPE -eq 42 ]; then 266s # For completion type: menu-complete/menu-complete-backward and insert-completions 266s # the completions are immediately inserted into the command-line, so we first 266s # print the activeHelp message and reprint the command-line since the shell won't. 266s printf "\n" 266s printf "%s\n" "${activeHelp[@]}" 266s 266s __adsysd_reprint_commandLine 266s fi 266s fi 266s } 266s 266s __adsysd_reprint_commandLine() { 266s # The prompt format is only available from bash 4.4. 266s # We test if it is available before using it. 266s if (x=${PS1@P}) 2> /dev/null; then 266s printf "%s" "${PS1@P}${COMP_LINE[@]}" 266s else 266s # Can't print the prompt. Just print the 266s # text the user had typed, it is workable enough. 266s printf "%s" "${COMP_LINE[@]}" 266s fi 266s } 266s 266s # Separate activeHelp lines from real completions. 266s # Fills the $activeHelp and $completions arrays. 266s __adsysd_extract_activeHelp() { 266s local activeHelpMarker="_activeHelp_ " 266s local endIndex=${#activeHelpMarker} 266s 266s while IFS='' read -r comp; do 266s [[ -z $comp ]] && continue 266s 266s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 266s comp=${comp:endIndex} 266s __adsysd_debug "ActiveHelp found: $comp" 266s if [[ -n $comp ]]; then 266s activeHelp+=("$comp") 266s fi 266s else 266s # Not an activeHelp line but a normal completion 266s completions+=("$comp") 266s fi 266s done <<<"${out}" 266s } 266s 266s __adsysd_handle_completion_types() { 266s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 266s 266s case $COMP_TYPE in 266s 37|42) 266s # Type: menu-complete/menu-complete-backward and insert-completions 266s # If the user requested inserting one completion at a time, or all 266s # completions at once on the command-line we must remove the descriptions. 266s # https://github.com/spf13/cobra/issues/1508 266s 266s # If there are no completions, we don't need to do anything 266s (( ${#completions[@]} == 0 )) && return 0 266s 266s local tab=$'\t' 266s 266s # Strip any description and escape the completion to handled special characters 266s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]%%$tab*}") 266s 266s # Only consider the completions that match 266s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 266s 266s # compgen looses the escaping so we need to escape all completions again since they will 266s # all be inserted on the command-line. 266s IFS=$'\n' read -ra COMPREPLY -d '' < <(printf "%q\n" "${COMPREPLY[@]}") 266s ;; 266s 266s *) 266s # Type: complete (normal completion) 266s __adsysd_handle_standard_completion_case 266s ;; 266s esac 266s } 266s 266s __adsysd_handle_standard_completion_case() { 266s local tab=$'\t' 266s 266s # If there are no completions, we don't need to do anything 266s (( ${#completions[@]} == 0 )) && return 0 266s 266s # Short circuit to optimize if we don't have descriptions 266s if [[ "${completions[*]}" != *$tab* ]]; then 266s # First, escape the completions to handle special characters 266s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]}") 266s # Only consider the completions that match what the user typed 266s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 266s 266s # compgen looses the escaping so, if there is only a single completion, we need to 266s # escape it again because it will be inserted on the command-line. If there are multiple 266s # completions, we don't want to escape them because they will be printed in a list 266s # and we don't want to show escape characters in that list. 266s if (( ${#COMPREPLY[@]} == 1 )); then 266s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]}") 266s fi 266s return 0 266s fi 266s 266s local longest=0 266s local compline 266s # Look for the longest completion so that we can format things nicely 266s while IFS='' read -r compline; do 266s [[ -z $compline ]] && continue 266s 266s # Before checking if the completion matches what the user typed, 266s # we need to strip any description and escape the completion to handle special 266s # characters because those escape characters are part of what the user typed. 266s # Don't call "printf" in a sub-shell because it will be much slower 266s # since we are in a loop. 266s printf -v comp "%q" "${compline%%$tab*}" &>/dev/null || comp=$(printf "%q" "${compline%%$tab*}") 266s 266s # Only consider the completions that match 266s [[ $comp == "$cur"* ]] || continue 266s 266s # The completions matches. Add it to the list of full completions including 266s # its description. We don't escape the completion because it may get printed 266s # in a list if there are more than one and we don't want show escape characters 266s # in that list. 266s COMPREPLY+=("$compline") 266s 266s # Strip any description before checking the length, and again, don't escape 266s # the completion because this length is only used when printing the completions 266s # in a list and we don't want show escape characters in that list. 266s comp=${compline%%$tab*} 266s if ((${#comp}>longest)); then 266s longest=${#comp} 266s fi 266s done < <(printf "%s\n" "${completions[@]}") 266s 266s # If there is a single completion left, remove the description text and escape any special characters 266s if ((${#COMPREPLY[*]} == 1)); then 266s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 266s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]%%$tab*}") 266s __adsysd_debug "Removed description from single completion, which is now: ${COMPREPLY[0]}" 266s else 266s # Format the descriptions 266s __adsysd_format_comp_descriptions $longest 266s fi 266s } 266s 266s __adsysd_handle_special_char() 266s { 266s local comp="$1" 266s local char=$2 266s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 266s local word=${comp%"${comp##*${char}}"} 266s local idx=${#COMPREPLY[*]} 266s while ((--idx >= 0)); do 266s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 266s done 266s fi 266s } 266s 266s __adsysd_format_comp_descriptions() 266s { 266s local tab=$'\t' 266s local comp desc maxdesclength 266s local longest=$1 266s 266s local i ci 266s for ci in ${!COMPREPLY[*]}; do 266s comp=${COMPREPLY[ci]} 266s # Properly format the description string which follows a tab character if there is one 266s if [[ "$comp" == *$tab* ]]; then 266s __adsysd_debug "Original comp: $comp" 266s desc=${comp#*$tab} 266s comp=${comp%%$tab*} 266s 266s # $COLUMNS stores the current shell width. 266s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 266s maxdesclength=$(( COLUMNS - longest - 4 )) 266s 266s # Make sure we can fit a description of at least 8 characters 266s # if we are to align the descriptions. 266s if ((maxdesclength > 8)); then 266s # Add the proper number of spaces to align the descriptions 266s for ((i = ${#comp} ; i < longest ; i++)); do 266s comp+=" " 266s done 266s else 266s # Don't pad the descriptions so we can fit more text after the completion 266s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 266s fi 266s 266s # If there is enough space for any description text, 266s # truncate the descriptions that are too long for the shell width 266s if ((maxdesclength > 0)); then 266s if ((${#desc} > maxdesclength)); then 266s desc=${desc:0:$(( maxdesclength - 1 ))} 266s desc+="…" 266s fi 266s comp+=" ($desc)" 266s fi 266s COMPREPLY[ci]=$comp 266s __adsysd_debug "Final comp: $comp" 266s fi 266s done 266s } 266s 266s __start_adsysd() 266s { 266s local cur prev words cword split 266s 266s COMPREPLY=() 266s 266s # Call _init_completion from the bash-completion package 266s # to prepare the arguments properly 266s if declare -F _init_completion >/dev/null 2>&1; then 266s _init_completion -n =: || return 266s else 266s __adsysd_init_completion -n =: || return 266s fi 266s 266s __adsysd_debug 266s __adsysd_debug "========= starting completion logic ==========" 266s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 266s 266s # The user could have moved the cursor backwards on the command-line. 266s # We need to trigger completion from the $cword location, so we need 266s # to truncate the command-line ($words) up to the $cword location. 266s words=("${words[@]:0:$cword+1}") 266s __adsysd_debug "Truncated words[*]: ${words[*]}," 266s 266s local out directive 266s __adsysd_get_completion_results 266s __adsysd_process_completion_results 266s } 266s 266s if [[ $(type -t compopt) = "builtin" ]]; then 266s complete -o default -F __start_adsysd adsysd 266s else 266s complete -o default -o nospace -F __start_adsysd adsysd 266s fi 266s 266s # ex: ts=4 sw=4 et filetype=sh 266s --- PASS: TestAppNoUsageError (0.01s) 266s --- PASS: TestAppUsageError (0.01s) 266s # bash completion V2 for adsysd -*- shell-script -*- 266s 266s __adsysd_debug() 266s { 266s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 266s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 266s fi 266s } 266s 266s # Macs have bash3 for which the bash-completion package doesn't include 266s # _init_completion. This is a minimal version of that function. 266s __adsysd_init_completion() 266s { 266s COMPREPLY=() 266s _get_comp_words_by_ref "$@" cur prev words cword 266s } 266s 266s # This function calls the adsysd program to obtain the completion 266s # results and the directive. It fills the 'out' and 'directive' vars. 266s __adsysd_get_completion_results() { 266s local requestComp lastParam lastChar args 266s 266s # Prepare the command to request completions for the program. 266s # Calling ${words[0]} instead of directly adsysd allows handling aliases 266s args=("${words[@]:1}") 266s requestComp="${words[0]} __complete ${args[*]}" 266s 266s lastParam=${words[$((${#words[@]}-1))]} 266s lastChar=${lastParam:$((${#lastParam}-1)):1} 266s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 266s 266s if [[ -z ${cur} && ${lastChar} != = ]]; then 266s # If the last parameter is complete (there is a space following it) 266s # We add an extra empty parameter so we can indicate this to the go method. 266s __adsysd_debug "Adding extra empty parameter" 266s requestComp="${requestComp} ''" 266s fi 266s 266s # When completing a flag with an = (e.g., adsysd -n=) 266s # bash focuses on the part after the =, so we need to remove 266s # the flag part from $cur 266s if [[ ${cur} == -*=* ]]; then 266s cur="${cur#*=}" 266s fi 266s 266s __adsysd_debug "Calling ${requestComp}" 266s # Use eval to handle any environment variables and such 266s out=$(eval "${requestComp}" 2>/dev/null) 266s 266s # Extract the directive integer at the very end of the output following a colon (:) 266s directive=${out##*:} 266s # Remove the directive 266s out=${out%:*} 266s if [[ ${directive} == "${out}" ]]; then 266s # There is not directive specified 266s directive=0 266s fi 266s __adsysd_debug "The completion directive is: ${directive}" 266s __adsysd_debug "The completions are: ${out}" 266s } 266s 266s __adsysd_process_completion_results() { 266s local shellCompDirectiveError=1 266s local shellCompDirectiveNoSpace=2 266s local shellCompDirectiveNoFileComp=4 266s local shellCompDirectiveFilterFileExt=8 266s local shellCompDirectiveFilterDirs=16 266s local shellCompDirectiveKeepOrder=32 266s 266s if (((directive & shellCompDirectiveError) != 0)); then 266s # Error code. No completion. 266s __adsysd_debug "Received error from custom completion go code" 266s return 266s else 266s if (((directive & shellCompDirectiveNoSpace) != 0)); then 266s if [[ $(type -t compopt) == builtin ]]; then 266s __adsysd_debug "Activating no space" 266s compopt -o nospace 266s else 266s __adsysd_debug "No space directive not supported in this version of bash" 266s fi 266s fi 266s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 266s if [[ $(type -t compopt) == builtin ]]; then 266s # no sort isn't supported for bash less than < 4.4 266s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 266s __adsysd_debug "No sort directive not supported in this version of bash" 266s else 266s __adsysd_debug "Activating keep order" 266s compopt -o nosort 266s fi 266s else 266s __adsysd_debug "No sort directive not supported in this version of bash" 266s fi 266s fi 266s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 266s if [[ $(type -t compopt) == builtin ]]; then 266s __adsysd_debug "Activating no file completion" 266s compopt +o default 266s else 266s __adsysd_debug "No file completion directive not supported in this version of bash" 266s fi 266s fi 266s fi 266s 266s # Separate activeHelp from normal completions 266s local completions=() 266s local activeHelp=() 266s __adsysd_extract_activeHelp 266s 266s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 266s # File extension filtering 266s local fullFilter="" filter filteringCmd 266s 266s # Do not use quotes around the $completions variable or else newline 266s # characters will be kept. 266s for filter in ${completions[*]}; do 266s fullFilter+="$filter|" 266s done 266s 266s filteringCmd="_filedir $fullFilter" 266s __adsysd_debug "File filtering command: $filteringCmd" 266s $filteringCmd 266s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 266s # File completion for directories only 266s 266s local subdir 266s subdir=${completions[0]} 266s if [[ -n $subdir ]]; then 266s __adsysd_debug "Listing directories in $subdir" 266s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 266s else 266s __adsysd_debug "Listing directories in ." 266s _filedir -d 266s fi 266s else 266s __adsysd_handle_completion_types 266s fi 266s 266s __adsysd_handle_special_char "$cur" : 266s __adsysd_handle_special_char "$cur" = 266s 266s # Print the activeHelp statements before we finish 266s __adsysd_handle_activeHelp 266s } 266s 266s __adsysd_handle_activeHelp() { 266s # Print the activeHelp statements 266s if ((${#activeHelp[*]} != 0)); then 266s if [ -z $COMP_TYPE ]; then 266s # Bash v3 does not set the COMP_TYPE variable. 266s printf "\n"; 266s printf "%s\n" "${activeHelp[@]}" 266s printf "\n" 266s __adsysd_reprint_commandLine 266s return 266s fi 266s 266s # Only print ActiveHelp on the second TAB press 266s if [ $COMP_TYPE -eq 63 ]; then 266s printf "\n" 266s printf "%s\n" "${activeHelp[@]}" 266s 266s if ((${#COMPREPLY[*]} == 0)); then 266s # When there are no completion choices from the program, file completion 266s # may kick in if the program has not disabled it; in such a case, we want 266s # to know if any files will match what the user typed, so that we know if 266s # there will be completions presented, so that we know how to handle ActiveHelp. 266s # To find out, we actually trigger the file completion ourselves; 266s # the call to _filedir will fill COMPREPLY if files match. 266s if (((directive & shellCompDirectiveNoFileComp) == 0)); then 266s __adsysd_debug "Listing files" 266s _filedir 266s fi 266s fi 266s 266s if ((${#COMPREPLY[*]} != 0)); then 266s # If there are completion choices to be shown, print a delimiter. 266s # Re-printing the command-line will automatically be done 266s # by the shell when it prints the completion choices. 266s printf -- "--" 266s else 266s # When there are no completion choices at all, we need 266s # to re-print the command-line since the shell will 266s # not be doing it itself. 266s __adsysd_reprint_commandLine 266s fi 266s elif [ $COMP_TYPE -eq 37 ] || [ $COMP_TYPE -eq 42 ]; then 266s # For completion type: menu-complete/menu-complete-backward and insert-completions 266s # the completions are immediately inserted into the command-line, so we first 266s # print the activeHelp message and reprint the command-line since the shell won't. 266s printf "\n" 266s printf "%s\n" "${activeHelp[@]}" 266s 266s __adsysd_reprint_commandLine 266s fi 266s fi 266s } 266s 266s __adsysd_reprint_commandLine() { 266s # The prompt format is only available from bash 4.4. 266s # We test if it is available before using it. 266s if (x=${PS1@P}) 2> /dev/null; then 266s printf "%s" "${PS1@P}${COMP_LINE[@]}" 266s else 266s # Can't print the prompt. Just print the 266s # text the user had typed, it is workable enough. 266s printf "%s" "${COMP_LINE[@]}" 266s fi 266s } 266s 266s # Separate activeHelp lines from real completions. 266s # Fills the $activeHelp and $completions arrays. 266s __adsysd_extract_activeHelp() { 266s local activeHelpMarker="_activeHelp_ " 266s local endIndex=${#activeHelpMarker} 266s 266s while IFS='' read -r comp; do 266s [[ -z $comp ]] && continue 266s 266s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 266s comp=${comp:endIndex} 266s __adsysd_debug "ActiveHelp found: $comp" 266s if [[ -n $comp ]]; then 266s activeHelp+=("$comp") 266s fi 266s else 266s # Not an activeHelp line but a normal completion 266s completions+=("$comp") 266s fi 266s done <<<"${out}" 266s } 266s 266s __adsysd_handle_completion_types() { 266s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 266s 266s case $COMP_TYPE in 266s 37|42) 266s # Type: menu-complete/menu-complete-backward and insert-completions 266s # If the user requested inserting one completion at a time, or all 266s # completions at once on the command-line we must remove the descriptions. 266s # https://github.com/spf13/cobra/issues/1508 266s 266s # If there are no completions, we don't need to do anything 266s (( ${#completions[@]} == 0 )) && return 0 266s 266s local tab=$'\t' 266s 266s # Strip any description and escape the completion to handled special characters 266s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]%%$tab*}") 266s 266s # Only consider the completions that match 266s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 266s 266s # compgen looses the escaping so we need to escape all completions again since they will 266s # all be inserted on the command-line. 266s IFS=$'\n' read -ra COMPREPLY -d '' < <(printf "%q\n" "${COMPREPLY[@]}") 266s ;; 266s 266s *) 266s # Type: complete (normal completion) 266s __adsysd_handle_standard_completion_case 266s ;; 266s esac 266s } 266s 266s __adsysd_handle_standard_completion_case() { 266s local tab=$'\t' 266s 266s # If there are no completions, we don't need to do anything 266s (( ${#completions[@]} == 0 )) && return 0 266s 266s # Short circuit to optimize if we don't have descriptions 266s if [[ "${completions[*]}" != *$tab* ]]; then 266s # First, escape the completions to handle special characters 266s IFS=$'\n' read -ra completions -d '' < <(printf "%q\n" "${completions[@]}") 266s # Only consider the completions that match what the user typed 266s IFS=$'\n' read -ra COMPREPLY -d '' < <(IFS=$'\n'; compgen -W "${completions[*]}" -- "${cur}") 266s 266s # compgen looses the escaping so, if there is only a single completion, we need to 266s # escape it again because it will be inserted on the command-line. If there are multiple 266s # completions, we don't want to escape them because they will be printed in a list 266s # and we don't want to show escape characters in that list. 266s if (( ${#COMPREPLY[@]} == 1 )); then 266s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]}") 266s fi 266s return 0 266s fi 266s 266s local longest=0 266s local compline 266s # Look for the longest completion so that we can format things nicely 266s while IFS='' read -r compline; do 266s [[ -z $compline ]] && continue 266s 266s # Before checking if the completion matches what the user typed, 266s # we need to strip any description and escape the completion to handle special 266s # characters because those escape characters are part of what the user typed. 266s # Don't call "printf" in a sub-shell because it will be much slower 266s # since we are in a loop. 266s printf -v comp "%q" "${compline%%$tab*}" &>/dev/null || comp=$(printf "%q" "${compline%%$tab*}") 266s 266s # Only consider the completions that match 266s [[ $comp == "$cur"* ]] || continue 266s 266s # The completions matches. Add it to the list of full completions including 266s # its description. We don't escape the completion because it may get printed 266s # in a list if there are more than one and we don't want show escape characters 266s # in that list. 266s COMPREPLY+=("$compline") 266s 266s # Strip any description before checking the length, and again, don't escape 266s # the completion because this length is only used when printing the completions 266s # in a list and we don't want show escape characters in that list. 266s comp=${compline%%$tab*} 266s if ((${#comp}>longest)); then 266s longest=${#comp} 266s fi 266s done < <(printf "%s\n" "${completions[@]}") 266s 266s # If there is a single completion left, remove the description text and escape any special characters 266s if ((${#COMPREPLY[*]} == 1)); then 266s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 266s COMPREPLY[0]=$(printf "%q" "${COMPREPLY[0]%%$tab*}") 266s __adsysd_debug "Removed description from single completion, which is now: ${COMPREPLY[0]}" 266s else 266s # Format the descriptions 266s __adsysd_format_comp_descriptions $longest 266s fi 266s } 266s 266s __adsysd_handle_special_char() 266s { 266s local comp="$1" 266s local char=$2 266s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 266s local word=${comp%"${comp##*${char}}"} 266s local idx=${#COMPREPLY[*]} 266s while ((--idx >= 0)); do 266s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 266s done 266s fi 266s } 266s 266s __adsysd_format_comp_descriptions() 266s { 266s local tab=$'\t' 266s local comp desc maxdesclength 266s local longest=$1 266s 266s local i ci 266s for ci in ${!COMPREPLY[*]}; do 266s comp=${COMPREPLY[ci]} 266s # Properly format the description string which follows a tab character if there is one 266s if [[ "$comp" == *$tab* ]]; then 266s __adsysd_debug "Original comp: $comp" 266s desc=${comp#*$tab} 266s comp=${comp%%$tab*} 266s 266s # $COLUMNS stores the current shell width. 266s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 266s maxdesclength=$(( COLUMNS - longest - 4 )) 266s 266s # Make sure we can fit a description of at least 8 characters 266s # if we are to align the descriptions. 266s if ((maxdesclength > 8)); then 266s # Add the proper number of spaces to align the descriptions 266s for ((i = ${#comp} ; i < longest ; i++)); do 266s comp+=" " 266s done 266s else 266s # Don't pad the descriptions so we can fit more text after the completion 266s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 266s fi 266s 266s # If there is enough space for any description text, 266s # truncate the descriptions that are too long for the shell width 266s if ((maxdesclength > 0)); then 266s if ((${#desc} > maxdesclength)); then 266s desc=${desc:0:$(( maxdesclength - 1 ))} 266s desc+="…" 266s fi 266s comp+=" ($desc)" 266s fi 266s COMPREPLY[ci]=$comp 266s __adsysd_debug "Final comp: $comp" 266s fi 266s done 266s } 266s 266s __start_adsysd() 266s { 266s local cur prev words cword split 266s 266s COMPREPLY=() 266s 266s # Call _init_completion from the bash-completion package 266s # to prepare the arguments properly 266s if declare -F _init_completion >/dev/null 2>&1; then 266s _init_completion -n =: || return 266s else 266s __adsysd_init_completion -n =: || return 266s fi 266s 266s __adsysd_debug 266s __adsysd_debug "========= starting completion logic ==========" 266s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 266s 266s # The user could have moved the cursor backwards on the command-line. 266s # We need to trigger completion from the $cword location, so we need 266s # to truncate the command-line ($words) up to the $cword location. 266s words=("${words[@]:0:$cword+1}") 266s __adsysd_debug "Truncated words[*]: ${words[*]}," 266s 266s local out directive 266s __adsysd_get_completion_results 266s __adsysd_process_completion_results 266s } 266s 266s if [[ $(type -t compopt) = "builtin" ]]; then 266s complete -o default -F __start_adsysd adsysd 266s else 266s complete -o default -o nospace -F __start_adsysd adsysd 266s fi 266s 266s # ex: ts=4 sw=4 et filetype=sh 266s --- PASS: TestAppCompletion (0.01s) 266s PASS 266s ok github.com/ubuntu/adsys/cmd/adsysd/daemon 3.594s 269s Integration tests skipped as requested 269s ok github.com/ubuntu/adsys/cmd/adsysd/integration_tests 0.156s 270s === RUN TestRun 270s === RUN TestRun/Run_and_exit_successfully 270s === RUN TestRun/Run_and_return_error 270s ERROR Error requested 270s === RUN TestRun/Run_and_return_usage_error 270s ERROR Error requested 270s === RUN TestRun/Run_and_usage_error_only_does_not_fail 270s === RUN TestRun/Send_SIGINT_exits 270s === RUN TestRun/Send_SIGTERM_exits 270s --- PASS: TestRun (0.61s) 270s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 270s --- PASS: TestRun/Run_and_return_error (0.10s) 270s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 270s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 270s --- PASS: TestRun/Send_SIGINT_exits (0.10s) 270s --- PASS: TestRun/Send_SIGTERM_exits (0.10s) 270s === RUN TestMainApp 270s --- PASS: TestMainApp (0.62s) 270s PASS 270s ok github.com/ubuntu/adsys/cmd/adwatchd 1.272s 270s ? github.com/ubuntu/adsys/cmd/adwatchd/commands [no test files] 271s Test has to be run as root, skipping... 271s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 0.067s 271s ? github.com/ubuntu/adsys/docs [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/00_check_vm_image [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/01_prepare_base_vm [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/02_create_vm_template [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/99_destroy_previous_versions [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/00_build_adsys_deb [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/01_provision_client [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/02_provision_ad [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/03_pam_coverage_support [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/10_test_non_pro_managers [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/11_test_pro_managers [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/12_test_pam_krb5cc [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/98_collect_pam_coverage [no test files] 271s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/99_deprovision [no test files] 271s ? github.com/ubuntu/adsys/e2e/internal/az [no test files] 272s === RUN TestAddFlags 272s --- PASS: TestAddFlags (0.01s) 272s === RUN TestInventory 272s === RUN TestInventory/From_existing_state_requires_existing_data 272s === RUN TestInventory/To_null_state_doesn't_write_data 272s === RUN TestInventory/Multiple_from_states_requires_at_least_one 272s === RUN TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist 272s time="2025-10-18T15:05:28Z" 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_ex3447552250/001/inventory/inventory.yaml: no such file or directory. Please refer to the previous script in the series" 272s === RUN TestInventory/Error_if_inventory_state_does_not_match_expected_state 272s time="2025-10-18T15:05:28Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 272s === RUN TestInventory/Error_if_inventory_state_does_not_match_any_expected_state 272s time="2025-10-18T15:05:28Z" level=error msg="Inventory file is not in any of the expected initial states: [template_created ]" 272s === RUN TestInventory/From_null_state_doesn't_require_existing_data 272s --- PASS: TestInventory (0.02s) 272s --- PASS: TestInventory/From_existing_state_requires_existing_data (0.00s) 272s --- PASS: TestInventory/To_null_state_doesn't_write_data (0.00s) 272s --- PASS: TestInventory/Multiple_from_states_requires_at_least_one (0.00s) 272s --- PASS: TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist (0.00s) 272s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_expected_state (0.00s) 272s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_any_expected_state (0.00s) 272s --- PASS: TestInventory/From_null_state_doesn't_require_existing_data (0.01s) 272s === RUN TestExecute 272s === RUN TestExecute/Action_succeeds 272s === RUN TestExecute/Action_and_validation_succeed 272s === RUN TestExecute/Error_when_action_fails 272s time="2025-10-18T15:05:28Z" level=error msg="requested error" 272s === RUN TestExecute/Error_when_validation_fails 272s time="2025-10-18T15:05:28Z" level=error msg="requested error" 272s === RUN TestExecute/Error_when_both_action_and_validation_fail 272s time="2025-10-18T15:05:28Z" level=error msg="requested error" 272s --- PASS: TestExecute (0.01s) 272s --- PASS: TestExecute/Action_succeeds (0.01s) 272s --- PASS: TestExecute/Action_and_validation_succeed (0.00s) 272s --- PASS: TestExecute/Error_when_action_fails (0.00s) 272s --- PASS: TestExecute/Error_when_validation_fails (0.00s) 272s --- PASS: TestExecute/Error_when_both_action_and_validation_fail (0.00s) 272s PASS 272s ok github.com/ubuntu/adsys/e2e/internal/command 0.069s 272s ? github.com/ubuntu/adsys/e2e/internal/inventory [no test files] 272s ? github.com/ubuntu/adsys/e2e/internal/remote [no test files] 272s ? github.com/ubuntu/adsys/e2e/scripts [no test files] 294s === RUN TestFetch 294s === PAUSE TestFetch 294s === RUN TestFetchWithUnreadableFile 294s === PAUSE TestFetchWithUnreadableFile 294s === RUN TestFetchTweakSysvolCacheDir 294s === PAUSE TestFetchTweakSysvolCacheDir 294s === RUN TestFetchOneGPOWhileParsingItConcurrently 294s === PAUSE TestFetchOneGPOWhileParsingItConcurrently 294s === RUN TestParseGPOConcurrent 294s === PAUSE TestParseGPOConcurrent 294s === RUN TestNew 294s === PAUSE TestNew 294s === RUN TestGetPolicies 294s === PAUSE TestGetPolicies 294s === RUN TestGetPoliciesOffline 294s === PAUSE TestGetPoliciesOffline 294s === RUN TestGetPoliciesWorkflows 294s === PAUSE TestGetPoliciesWorkflows 294s === RUN TestGetPoliciesConcurrently 294s === PAUSE TestGetPoliciesConcurrently 294s === RUN TestListUsers 294s === PAUSE TestListUsers 294s === RUN TestGetInfo 294s === PAUSE TestGetInfo 294s === RUN TestNormalizeTargetName 294s === PAUSE TestNormalizeTargetName 294s === RUN TestMockGPOList 294s --- PASS: TestMockGPOList (0.00s) 294s === RUN TestAdsysGPOList 294s === RUN TestAdsysGPOList/Return_one_gpo 294s === RUN TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user 294s === RUN TestAdsysGPOList/Error_on_machine_with_no_ldap 294s === RUN TestAdsysGPOList/Error_invalid_GPO_link 294s === RUN TestAdsysGPOList/Error_on_invalid_ticket 294s === RUN TestAdsysGPOList/Return_hierarchy 294s === RUN TestAdsysGPOList/Security_descriptor_missing_ignores_GPO 294s === RUN TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings 294s === RUN TestAdsysGPOList/Error_on_no_network 294s === RUN TestAdsysGPOList/Forced_GPO_and_blocked_inheritance 294s === RUN TestAdsysGPOList/Computers_truncated_at_15_characters 294s === RUN TestAdsysGPOList/Error_on_ldap_connection_refused 294s === RUN TestAdsysGPOList/Error_on_non_existent_account 294s === RUN TestAdsysGPOList/Machine_GPOs 294s === RUN TestAdsysGPOList/No_GPO_on_OU_-_string 294s === RUN TestAdsysGPOList/Filter_user_only_GPOs 294s === RUN TestAdsysGPOList/Long_computer_name,_not_truncated 294s === RUN TestAdsysGPOList/Error_on_unreachable_ldap_host 294s === RUN TestAdsysGPOList/Error_on_computer_requested_but_found_user 294s === RUN TestAdsysGPOList/Disabled_GPOs 294s === RUN TestAdsysGPOList/No_GPO_on_OU_-_bytes 294s === RUN TestAdsysGPOList/Block_inheritance 294s === RUN TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO 294s === RUN TestAdsysGPOList/Error_on_user_requested_but_found_machine 294s === RUN TestAdsysGPOList/Error_on_KRB5CCNAME_unset 294s === RUN TestAdsysGPOList/Multiple_GPOs_in_same_OU 294s === RUN TestAdsysGPOList/Filter_machine_only_GPOs 294s === RUN TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order 294s === RUN TestAdsysGPOList/Fail_on_security_descriptor_access_failure 294s === RUN TestAdsysGPOList/No_gPOptions_fallbacks_to_0 294s === RUN TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing 294s === RUN TestAdsysGPOList/Error_on_dangling_ticket_symlink 294s --- PASS: TestAdsysGPOList (2.72s) 294s --- PASS: TestAdsysGPOList/Return_one_gpo (0.12s) 294s --- PASS: TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user (0.12s) 294s --- PASS: TestAdsysGPOList/Error_on_machine_with_no_ldap (0.10s) 294s --- PASS: TestAdsysGPOList/Error_invalid_GPO_link (0.08s) 294s --- PASS: TestAdsysGPOList/Error_on_invalid_ticket (0.11s) 294s --- PASS: TestAdsysGPOList/Return_hierarchy (0.09s) 294s --- PASS: TestAdsysGPOList/Security_descriptor_missing_ignores_GPO (0.10s) 294s --- PASS: TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings (0.11s) 294s --- PASS: TestAdsysGPOList/Error_on_no_network (0.08s) 294s --- PASS: TestAdsysGPOList/Forced_GPO_and_blocked_inheritance (0.09s) 294s --- PASS: TestAdsysGPOList/Computers_truncated_at_15_characters (0.10s) 294s --- PASS: TestAdsysGPOList/Error_on_ldap_connection_refused (0.10s) 294s --- PASS: TestAdsysGPOList/Error_on_non_existent_account (0.08s) 294s --- PASS: TestAdsysGPOList/Machine_GPOs (0.09s) 294s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_string (0.08s) 294s --- PASS: TestAdsysGPOList/Filter_user_only_GPOs (0.08s) 294s --- PASS: TestAdsysGPOList/Long_computer_name,_not_truncated (0.08s) 294s --- PASS: TestAdsysGPOList/Error_on_unreachable_ldap_host (0.08s) 294s --- PASS: TestAdsysGPOList/Error_on_computer_requested_but_found_user (0.09s) 294s --- PASS: TestAdsysGPOList/Disabled_GPOs (0.07s) 294s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_bytes (0.07s) 294s --- PASS: TestAdsysGPOList/Block_inheritance (0.07s) 294s --- PASS: TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO (0.07s) 294s --- PASS: TestAdsysGPOList/Error_on_user_requested_but_found_machine (0.07s) 294s --- PASS: TestAdsysGPOList/Error_on_KRB5CCNAME_unset (0.07s) 294s --- PASS: TestAdsysGPOList/Multiple_GPOs_in_same_OU (0.08s) 294s --- PASS: TestAdsysGPOList/Filter_machine_only_GPOs (0.08s) 294s --- PASS: TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order (0.08s) 294s --- PASS: TestAdsysGPOList/Fail_on_security_descriptor_access_failure (0.08s) 294s --- PASS: TestAdsysGPOList/No_gPOptions_fallbacks_to_0 (0.07s) 294s --- PASS: TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing (0.07s) 294s --- PASS: TestAdsysGPOList/Error_on_dangling_ticket_symlink (0.07s) 294s === RUN TestGetPolicyDefinitions 294s === PAUSE TestGetPolicyDefinitions 294s === RUN TestTicketPath 294s krb5_test.go:23: Running subprocess with [/tmp/go-build174633164/b599/ad.test -test.testlogfile=/tmp/go-build174633164/b599/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestTicketPath] 294s === RUN TestTicketPath 294s === RUN TestTicketPath/Error_when_ccache_not_present_on_disk 294s === RUN TestTicketPath/Error_when_ccache_is_a_directory 294s === RUN TestTicketPath/Error_when_initializing_context 294s === RUN TestTicketPath/Error_on_empty_ticket_path 294s === RUN TestTicketPath/Error_on_NULL_ticket_path 294s === RUN TestTicketPath/Error_on_non-FILE_ccache 294s === RUN TestTicketPath/Lookup_is_successful 294s === RUN TestTicketPath/Allow_ccache_without_FILE_identifier 294s --- PASS: TestTicketPath (0.02s) 294s --- PASS: TestTicketPath/Error_when_ccache_not_present_on_disk (0.00s) 294s --- PASS: TestTicketPath/Error_when_ccache_is_a_directory (0.00s) 294s --- PASS: TestTicketPath/Error_when_initializing_context (0.00s) 294s --- PASS: TestTicketPath/Error_on_empty_ticket_path (0.00s) 294s --- PASS: TestTicketPath/Error_on_NULL_ticket_path (0.00s) 294s --- PASS: TestTicketPath/Error_on_non-FILE_ccache (0.00s) 294s --- PASS: TestTicketPath/Lookup_is_successful (0.00s) 294s --- PASS: TestTicketPath/Allow_ccache_without_FILE_identifier (0.00s) 294s PASS 294s --- PASS: TestTicketPath (0.70s) 294s === CONT TestFetch 294s === CONT TestGetPoliciesOffline 294s === CONT TestFetchTweakSysvolCacheDir 294s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 294s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 294s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 294s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 294s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 294s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 294s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 294s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 294s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 294s === RUN TestGetPoliciesOffline/Error_offline_with_no_cache 294s === PAUSE TestGetPoliciesOffline/Error_offline_with_no_cache 294s === CONT TestFetchWithUnreadableFile 294s === RUN TestFetch/two_new_gpos 294s === PAUSE TestFetch/two_new_gpos 294s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 294s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 294s === RUN TestFetch/two_gpos,_one_should_be_refreshed,_one_new 294s === PAUSE TestFetch/two_gpos,_one_should_be_refreshed,_one_new 294s === RUN TestFetch/two_gpos,_one_more_recent,_one_new 294s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_new 294s === RUN TestFetch/keep_existing_gpos_intact 294s === PAUSE TestFetch/keep_existing_gpos_intact 294s === RUN TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 294s === PAUSE TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 294s === RUN TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 294s === PAUSE TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 294s === RUN TestFetch/concurrent_same_gpos 294s === PAUSE TestFetch/concurrent_same_gpos 294s === RUN TestFetch/gpo_already_up_to_date 294s === PAUSE TestFetch/gpo_already_up_to_date 294s === RUN TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 294s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 294s === RUN TestFetch/assets_are_updated_to_latest_version 294s === PAUSE TestFetch/assets_are_updated_to_latest_version 294s === RUN TestFetch/assets_are_not_updated_if_version_matches 294s === PAUSE TestFetch/assets_are_not_updated_if_version_matches 294s === RUN TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 294s === PAUSE TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 294s === RUN TestFetch/Error_keeps_downloading_other_GPOS 294s === PAUSE TestFetch/Error_keeps_downloading_other_GPOS 294s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_new 294s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_new 294s === RUN TestFetch/two_gpos,_one_more_recent,_one_up_to_date 294s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_up_to_date 294s === RUN TestFetch/gpos_and_assets 294s === PAUSE TestFetch/gpos_and_assets 294s === RUN TestFetch/concurrent_different_gpos 294s === PAUSE TestFetch/concurrent_different_gpos 294s === RUN TestFetch/Error_unexistant_remote_gpo 294s === PAUSE TestFetch/Error_unexistant_remote_gpo 294s === RUN TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 294s === PAUSE TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 294s === RUN TestFetch/one_new_gpo 294s === PAUSE TestFetch/one_new_gpo 294s === RUN TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 294s === CONT TestParseGPOConcurrent 294s === CONT TestFetchOneGPOWhileParsingItConcurrently 294s === RUN TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 294s === CONT TestGetPolicies 294s === CONT TestNew 294s === RUN TestNew/failed_to_create_Policies_cache_directory 294s === PAUSE TestNew/failed_to_create_Policies_cache_directory 294s === RUN TestNew/no_active_server_in_backend_does_not_fail_ad_creation 294s === PAUSE TestNew/no_active_server_in_backend_does_not_fail_ad_creation 294s === RUN TestNew/error_on_backend_ServerFQDN_random_failure 294s === PAUSE TestNew/error_on_backend_ServerFQDN_random_failure 294s === RUN TestNew/create_KRB5_and_Sysvol_cache_directory 294s === PAUSE TestNew/create_KRB5_and_Sysvol_cache_directory 294s === RUN TestNew/failed_to_create_KRB5_cache_directory 294s === PAUSE TestNew/failed_to_create_KRB5_cache_directory 294s === RUN TestNew/failed_to_create_Sysvol_cache_directory 294s === PAUSE TestNew/failed_to_create_Sysvol_cache_directory 294s === RUN TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 294s === PAUSE TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 294s === RUN TestFetch/assets_only_are_downloaded 294s === PAUSE TestFetch/assets_only_are_downloaded 294s === RUN TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 294s === PAUSE TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 294s === RUN TestFetch/remote_version_entry_missing_treated_as_0 294s === PAUSE TestFetch/remote_version_entry_missing_treated_as_0 294s === RUN TestFetch/local_gpo_is_more_recent_than_AD_one 294s === PAUSE TestFetch/local_gpo_is_more_recent_than_AD_one 294s === RUN TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 294s === PAUSE TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 294s === RUN TestFetch/Error_missing_remote_GPT.INI 294s === PAUSE TestFetch/Error_missing_remote_GPT.INI 294s === RUN TestFetch/assets_is_a_file_is_not_downloaded 294s === PAUSE TestFetch/assets_is_a_file_is_not_downloaded 294s === RUN TestFetch/gpo_is_refreshed 294s === PAUSE TestFetch/gpo_is_refreshed 294s === RUN TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 294s === PAUSE TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 294s === RUN TestFetch/Error_remote_version_NaN 294s === PAUSE TestFetch/Error_remote_version_NaN 294s === PAUSE TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 294s === RUN TestFetchWithUnreadableFile/existing_gpo_is_preserved 294s === PAUSE TestFetchWithUnreadableFile/existing_gpo_is_preserved 294s === PAUSE TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 294s === RUN TestGetPoliciesOffline/Offline,_with_assets 294s === PAUSE TestGetPoliciesOffline/Offline,_with_assets 294s === RUN TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 294s === PAUSE TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 294s === CONT TestGetInfo 294s === RUN TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case 294s === PAUSE TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case 294s === RUN TestGetPolicies/Disabled_override 294s === RUN TestGetInfo/Info_reported_from_backend,_online 294s === PAUSE TestGetPolicies/Disabled_override 294s === RUN TestGetPolicies/Multiple_domains,_same_GPO 294s === PAUSE TestGetPolicies/Multiple_domains,_same_GPO 294s === PAUSE TestGetInfo/Info_reported_from_backend,_online 294s === CONT TestNormalizeTargetName 294s === RUN TestGetInfo/Info_reported_from_backend,_offline 294s === PAUSE TestGetInfo/Info_reported_from_backend,_offline 294s === RUN TestNormalizeTargetName/Computer_is_left_as_such 294s === RUN TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 294s === CONT TestGetPolicyDefinitions 294s === PAUSE TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 294s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 294s === RUN TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 294s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 294s === PAUSE TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 294s === RUN TestGetPolicyDefinitions/Load_ADMX_and_ADML 294s === RUN TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 294s === CONT TestListUsers 294s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 294s === RUN TestGetPolicies/Policy_user_directory_is_uppercase 294s === PAUSE TestGetPolicies/Policy_user_directory_is_uppercase 294s === RUN TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 294s === PAUSE TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 294s === RUN TestListUsers/Two_users,_dangling_symlink_for_one 294s === RUN TestGetPolicies/Two_policies,_with_overrides 294s === PAUSE TestListUsers/Two_users,_dangling_symlink_for_one 294s === RUN TestListUsers/Machine_Only 294s === PAUSE TestGetPolicies/Two_policies,_with_overrides 294s === PAUSE TestListUsers/Machine_Only 294s === RUN TestGetPolicies/Two_policies,_no_overrides 294s === RUN TestListUsers/Machines_are_ignored,_from_policy_cache 294s === PAUSE TestGetPolicies/Two_policies,_no_overrides 294s === CONT TestGetPoliciesConcurrently 294s === RUN TestGetPolicies/Two_policies,_no_overrides,_reversed 294s === RUN TestGetPoliciesConcurrently/Same_user,_same_GPO 294s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_reversed 294s === PAUSE TestGetPoliciesConcurrently/Same_user,_same_GPO 294s === RUN TestGetPolicies/Disabled_value_overrides_non_disabled_one 294s === RUN TestGetPoliciesConcurrently/Different_users,_same_GPO 294s === PAUSE TestGetPolicies/Disabled_value_overrides_non_disabled_one 294s === PAUSE TestGetPoliciesConcurrently/Different_users,_same_GPO 294s === RUN TestGetPolicies/Empty_value_for_unfiltered_entry 294s === RUN TestGetPoliciesConcurrently/Different_users,_different_GPO 294s === PAUSE TestGetPolicies/Empty_value_for_unfiltered_entry 294s === PAUSE TestGetPoliciesConcurrently/Different_users,_different_GPO 294s === PAUSE TestGetPolicyDefinitions/Load_ADMX_and_ADML 294s === RUN TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 294s === PAUSE TestListUsers/Machines_are_ignored,_from_policy_cache 294s === PAUSE TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 294s === RUN TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 294s === RUN TestGetPolicies/Filter_non_Ubuntu_keys 294s === PAUSE TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 294s === PAUSE TestGetPolicies/Filter_non_Ubuntu_keys 294s === RUN TestListUsers/Error_on_Krb5_directory_not_existing 294s === RUN TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 294s === PAUSE TestListUsers/Error_on_Krb5_directory_not_existing 294s === PAUSE TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 294s === RUN TestListUsers/Two_users 294s === RUN TestGetPolicies/Computer_policy_Registry.pol_is_lower_case 294s === PAUSE TestListUsers/Two_users 294s === PAUSE TestNormalizeTargetName/Computer_is_left_as_such 294s === RUN TestListUsers/None 294s === PAUSE TestListUsers/None 294s === PAUSE TestGetPolicies/Computer_policy_Registry.pol_is_lower_case 294s === RUN TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 294s === PAUSE TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 294s === RUN TestNormalizeTargetName/Computer_with_@_is_left_as_such 294s === PAUSE TestNormalizeTargetName/Computer_with_@_is_left_as_such 294s === RUN TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 294s === PAUSE TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 294s === RUN TestNormalizeTargetName/Computer_name_without_objectClass 294s === PAUSE TestNormalizeTargetName/Computer_name_without_objectClass 294s === RUN TestNormalizeTargetName/One_valid_user_with_domain\user 294s === PAUSE TestNormalizeTargetName/One_valid_user_with_domain\user 294s === RUN TestNormalizeTargetName/Error_on_multiple_\_in_name 294s === PAUSE TestNormalizeTargetName/Error_on_multiple_\_in_name 294s === RUN TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 294s === PAUSE TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 294s === RUN TestNormalizeTargetName/User_name_fqdn_matching_computer 294s === PAUSE TestNormalizeTargetName/User_name_fqdn_matching_computer 294s === RUN TestNormalizeTargetName/One_valid_user 294s === PAUSE TestNormalizeTargetName/One_valid_user 294s === RUN TestNormalizeTargetName/One_valid_user_with_mixed_case 294s === PAUSE TestNormalizeTargetName/One_valid_user_with_mixed_case 294s === RUN TestNormalizeTargetName/One_user_without_explicit_domain_suffix 294s === PAUSE TestNormalizeTargetName/One_user_without_explicit_domain_suffix 294s === CONT TestGetPoliciesWorkflows 294s === RUN TestListUsers/Machines_are_ignored 294s === PAUSE TestListUsers/Machines_are_ignored 294s === RUN TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 294s === PAUSE TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 294s === RUN TestGetPoliciesWorkflows/Second_call_after_service_restarted 294s === RUN TestListUsers/One_user,_from_policy_cache 294s === PAUSE TestGetPoliciesWorkflows/Second_call_after_service_restarted 294s === PAUSE TestListUsers/One_user,_from_policy_cache 294s === RUN TestGetPoliciesWorkflows/Second_call_with_different_user 294s === RUN TestListUsers/Two_users,_from_policy_cache 294s === PAUSE TestGetPoliciesWorkflows/Second_call_with_different_user 294s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 294s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 294s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 294s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 294s === RUN TestGetPoliciesWorkflows/Second_call_after_a_relogin 294s === PAUSE TestGetPoliciesWorkflows/Second_call_after_a_relogin 294s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 294s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 294s === RUN TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 294s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 294s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 294s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 294s === PAUSE TestListUsers/Two_users,_from_policy_cache 294s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 294s === RUN TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 294s === PAUSE TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 294s === RUN TestGetPolicies/Error_on_backend_IsOnline_call_failed 294s === PAUSE TestGetPolicies/Error_on_backend_IsOnline_call_failed 294s === RUN TestGetPolicies/Unsupported_type_for_unfiltered_entry 294s === PAUSE TestGetPolicies/Unsupported_type_for_unfiltered_entry 294s === RUN TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 294s === PAUSE TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 294s === RUN TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 294s === PAUSE TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 294s === RUN TestGetPolicies/Two_policies,_with_reversed_overrides 294s === PAUSE TestGetPolicies/Two_policies,_with_reversed_overrides 294s === RUN TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 294s === PAUSE TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 294s === RUN TestGetPolicies/Corrupted_policy_file 294s === PAUSE TestGetPolicies/Corrupted_policy_file 294s === RUN TestGetPolicies/Policy_can’t_be_downloaded 294s === PAUSE TestGetPolicies/Policy_can’t_be_downloaded 294s === RUN TestGetPolicies/Symlinks_can’t_be_created 294s === RUN TestGetPoliciesConcurrently/One_machine,_one_user 294s === RUN TestListUsers/None,_from_policy_cache 294s === PAUSE TestGetPoliciesConcurrently/One_machine,_one_user 294s === PAUSE TestGetPolicies/Symlinks_can’t_be_created 294s === RUN TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 294s === RUN TestGetPolicies/Standard_policy,_user_object 294s === PAUSE TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 294s === PAUSE TestGetPolicies/Standard_policy,_user_object 294s === RUN TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 294s === PAUSE TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 294s === RUN TestGetPolicies/Error_on_user_without_@_in_name 294s === PAUSE TestGetPolicies/Error_on_user_without_@_in_name 294s === RUN TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 294s === PAUSE TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 294s === RUN TestGetPolicies/Enabled_override 294s === PAUSE TestGetPolicies/Enabled_override 294s === RUN TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 294s === PAUSE TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 294s === RUN TestGetPolicies/Same_key_in_different_domains_are_kept_separated 294s === PAUSE TestGetPolicies/Same_key_in_different_domains_are_kept_separated 294s === RUN TestGetPolicies/Machine_doesn’t_match 294s === PAUSE TestGetPolicies/Machine_doesn’t_match 294s === RUN TestGetPolicies/Unexisting_CC_original_file_for_user 294s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_user 294s === RUN TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 294s === PAUSE TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 294s === RUN TestGetPolicies/Standard_policy,_computer_object 294s === PAUSE TestGetPolicies/Standard_policy,_computer_object 294s === RUN TestGetPolicies/User_only_policy,_user_object 294s === PAUSE TestGetPolicies/User_only_policy,_user_object 294s === RUN TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 294s === PAUSE TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 294s === RUN TestGetPolicies/No_override_for_this_release,_takes_default_value 294s === PAUSE TestGetPolicies/No_override_for_this_release,_takes_default_value 294s === RUN TestGetPolicies/Disabled_value_is_overridden 294s === PAUSE TestGetPolicies/Disabled_value_is_overridden 294s === RUN TestGetPolicies/Unexisting_CC_original_file_for_machine 294s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_machine 294s === RUN TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 294s === PAUSE TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 294s === RUN TestGetPolicies/Standard_policy_with_assets,_downloads_assets 294s === PAUSE TestGetPolicies/Standard_policy_with_assets,_downloads_assets 294s === RUN TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 294s === PAUSE TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 294s === RUN TestGetPolicies/More_policies,_with_multiple_overrides 294s === PAUSE TestGetPolicies/More_policies,_with_multiple_overrides 294s === RUN TestGetPolicies/Policy_machine_directory_is_uppercase 294s === PAUSE TestGetPolicies/Policy_machine_directory_is_uppercase 294s === RUN TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 294s === PAUSE TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 294s === RUN TestGetPolicies/User_policy_Registry.pol_is_lower_case 294s === PAUSE TestGetPolicies/User_policy_Registry.pol_is_lower_case 294s === RUN TestGetPolicies/User_policy_Registry.pol_is_mixed_case 294s === PAUSE TestGetPolicies/User_policy_Registry.pol_is_mixed_case 294s === CONT TestNew/failed_to_create_Policies_cache_directory 294s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 294s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 294s === CONT TestFetch/two_new_gpos 294s === PAUSE TestListUsers/None,_from_policy_cache 294s === RUN TestListUsers/Machine_Only,_from_policy_cache 294s === PAUSE TestListUsers/Machine_Only,_from_policy_cache 294s === RUN TestListUsers/Error_on_policy_cache_directory_not_existing 294s === PAUSE TestListUsers/Error_on_policy_cache_directory_not_existing 294s === RUN TestListUsers/One_user 294s === PAUSE TestListUsers/One_user 294s === CONT TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 294s === CONT TestFetch/one_new_gpo 294s === CONT TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 294s time="2025-10-18T15:05:35Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"standard-name\"" 294s === CONT TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"gpo2-name\"" 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:36Z" level=info msg="GPO \"gpo2-name\" is already up to date" 294s time="2025-10-18T15:05:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s --- PASS: TestFetchTweakSysvolCacheDir (0.00s) 294s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist (0.47s) 294s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only (0.60s) 294s === CONT TestFetch/Error_unexistant_remote_gpo 294s === CONT TestFetch/concurrent_different_gpos 294s === CONT TestFetch/gpos_and_assets 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"gpo2-name\"" 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:36Z" level=info msg="Downloading \"gpo1-name\"" 294s --- PASS: TestFetchOneGPOWhileParsingItConcurrently (1.18s) 294s === CONT TestFetch/two_gpos,_one_more_recent,_one_up_to_date 294s --- PASS: TestParseGPOConcurrent (1.53s) 294s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_new 294s time="2025-10-18T15:05:37Z" level=info msg="GPO \"gpo1-name\" is already up to date" 294s time="2025-10-18T15:05:37Z" level=info msg="GPO \"gpo2-name\" is already up to date" 294s time="2025-10-18T15:05:37Z" level=info msg="Downloading \"gpo2-name\"" 294s time="2025-10-18T15:05:37Z" level=info msg="GPO \"gpo1-name\" is already up to date" 294s === CONT TestFetch/Error_keeps_downloading_other_GPOS 294s === CONT TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 294s time="2025-10-18T15:05:37Z" level=info msg="Downloading \"gpo2-name\"" 294s time="2025-10-18T15:05:37Z" level=info msg="Assets directory is already up to date" 294s === CONT TestFetch/assets_are_not_updated_if_version_matches 294s time="2025-10-18T15:05:37Z" level=info msg="Assets directory is already up to date" 294s === CONT TestFetch/assets_are_updated_to_latest_version 294s === CONT TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 294s === CONT TestFetch/keep_existing_gpos_intact 294s time="2025-10-18T15:05:37Z" level=info msg="No version key found in GPT.INI for gpo1-name, assuming 0" 294s time="2025-10-18T15:05:37Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:37Z" level=info msg="Downloading \"gpo1-name\"" 294s === CONT TestFetch/gpo_already_up_to_date 294s === CONT TestFetch/concurrent_same_gpos 294s time="2025-10-18T15:05:37Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:38Z" level=info msg="GPO \"gpo1-name\" is already up to date" 294s === CONT TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 294s time="2025-10-18T15:05:38Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:38Z" level=info msg="GPO \"gpo1-name\" is already up to date" 294s === CONT TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 294s time="2025-10-18T15:05:38Z" level=info msg="Assets directory is already up to date" 294s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 294s time="2025-10-18T15:05:38Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:38Z" level=info msg="GPO \"gpo2-name\" is already up to date" 294s time="2025-10-18T15:05:38Z" level=info msg="Downloading \"gpo1-name\"" 294s === CONT TestFetch/two_gpos,_one_more_recent,_one_new 294s === CONT TestFetch/two_gpos,_one_should_be_refreshed,_one_new 294s time="2025-10-18T15:05:38Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:38Z" level=info msg="GPO \"gpo2-name\" is already up to date" 294s === CONT TestFetch/local_gpo_is_more_recent_than_AD_one 294s time="2025-10-18T15:05:38Z" level=info msg="Downloading \"gpo2-name\"" 294s time="2025-10-18T15:05:38Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:38Z" level=info msg="GPO \"gpo2-name\" is already up to date" 294s === CONT TestFetch/gpo_is_refreshed 294s time="2025-10-18T15:05:38Z" level=info msg="Downloading \"gpo1-name\"" 294s === CONT TestFetch/assets_is_a_file_is_not_downloaded 294s === CONT TestFetch/Error_missing_remote_GPT.INI 294s time="2025-10-18T15:05:39Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s === CONT TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 294s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 294s time="2025-10-18T15:05:39Z" level=warning msg="Invalid local GPT.INI for gpo1-name: invalid remote GPT.INI: strconv.ParseInt: parsing \"NaN\": invalid syntax\nDownloading it again…" 294s time="2025-10-18T15:05:39Z" level=info msg="Downloading \"gpo1-name\"" 294s time="2025-10-18T15:05:39Z" level=info msg="GPO \"gpo1-name\" is already up to date" 294s === CONT TestFetch/remote_version_entry_missing_treated_as_0 294s === CONT TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 294s time="2025-10-18T15:05:39Z" level=info msg="No version key found in GPT.INI for gpt_ini_version_missing-name, assuming 0" 294s time="2025-10-18T15:05:39Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:39Z" level=info msg="GPO \"gpt_ini_version_missing-name\" is already up to date" 294s === CONT TestFetch/assets_only_are_downloaded 294s === CONT TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 294s === CONT TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 294s === CONT TestGetPoliciesOffline/Offline,_with_assets 294s time="2025-10-18T15:05:39Z" level=info msg="Downloading \"assets\"" 294s === CONT TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 294s === CONT TestGetPoliciesOffline/Error_offline_with_no_cache 294s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 294s === CONT TestNew/create_KRB5_and_Sysvol_cache_directory 294s === CONT TestNew/failed_to_create_Sysvol_cache_directory 294s === CONT TestNew/failed_to_create_KRB5_cache_directory 294s === CONT TestFetchWithUnreadableFile/existing_gpo_is_preserved 294s === CONT TestNew/no_active_server_in_backend_does_not_fail_ad_creation 294s === CONT TestNew/error_on_backend_ServerFQDN_random_failure 294s --- PASS: TestNew (0.00s) 294s --- PASS: TestNew/failed_to_create_Policies_cache_directory (0.01s) 294s --- PASS: TestNew/create_KRB5_and_Sysvol_cache_directory (0.00s) 294s --- PASS: TestNew/failed_to_create_Sysvol_cache_directory (0.01s) 294s --- PASS: TestNew/failed_to_create_KRB5_cache_directory (0.00s) 294s --- PASS: TestNew/no_active_server_in_backend_does_not_fail_ad_creation (0.00s) 294s --- PASS: TestNew/error_on_backend_ServerFQDN_random_failure (0.00s) 294s === CONT TestFetch/Error_remote_version_NaN 294s time="2025-10-18T15:05:39Z" level=info msg="Downloading \"gpo1-name\"" 294s === CONT TestGetInfo/Info_reported_from_backend,_online 294s === CONT TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 294s === CONT TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 294s time="2025-10-18T15:05:39Z" level=warning msg="IsOnline returned an error" 294s === CONT TestGetInfo/Info_reported_from_backend,_offline 294s --- PASS: TestGetInfo (0.00s) 294s --- PASS: TestGetInfo/Info_reported_from_backend,_online (0.00s) 294s --- PASS: TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail (0.00s) 294s --- PASS: TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail (0.00s) 294s --- PASS: TestGetInfo/Info_reported_from_backend,_offline (0.00s) 294s === CONT TestNormalizeTargetName/Computer_is_left_as_such 294s === CONT TestNormalizeTargetName/Error_on_multiple_\_in_name 294s === CONT TestNormalizeTargetName/One_user_without_explicit_domain_suffix 294s === CONT TestNormalizeTargetName/One_valid_user_with_mixed_case 294s === CONT TestNormalizeTargetName/One_valid_user 294s === CONT TestNormalizeTargetName/User_name_fqdn_matching_computer 294s === CONT TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 294s === CONT TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 294s === CONT TestNormalizeTargetName/One_valid_user_with_domain\user 294s === CONT TestNormalizeTargetName/Computer_name_without_objectClass 294s === CONT TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 294s === CONT TestNormalizeTargetName/Computer_with_@_is_left_as_such 294s --- PASS: TestNormalizeTargetName (0.00s) 294s --- PASS: TestNormalizeTargetName/Computer_is_left_as_such (0.01s) 294s --- PASS: TestNormalizeTargetName/Error_on_multiple_\_in_name (0.00s) 294s --- PASS: TestNormalizeTargetName/One_user_without_explicit_domain_suffix (0.00s) 294s --- PASS: TestNormalizeTargetName/One_valid_user_with_mixed_case (0.00s) 294s --- PASS: TestNormalizeTargetName/One_valid_user (0.00s) 294s --- PASS: TestNormalizeTargetName/User_name_fqdn_matching_computer (0.00s) 294s --- PASS: TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user (0.00s) 294s --- PASS: TestNormalizeTargetName/User_name_matching_computer,_setting_as_user (0.00s) 294s --- PASS: TestNormalizeTargetName/One_valid_user_with_domain\user (0.00s) 294s --- PASS: TestNormalizeTargetName/Computer_name_without_objectClass (0.00s) 294s --- PASS: TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such (0.00s) 294s --- PASS: TestNormalizeTargetName/Computer_with_@_is_left_as_such (0.00s) 294s === CONT TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 294s --- PASS: TestFetch (0.00s) 294s --- PASS: TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only (0.16s) 294s --- PASS: TestFetch/Error_unexistant_remote_gpo (0.06s) 294s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_up_to_date (0.54s) 294s --- PASS: TestFetch/one_new_gpo (1.73s) 294s --- PASS: TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing (0.20s) 294s --- PASS: TestFetch/assets_are_not_updated_if_version_matches (0.16s) 294s --- PASS: TestFetch/gpos_and_assets (1.56s) 294s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed (2.28s) 294s --- PASS: TestFetch/two_new_gpos (2.28s) 294s --- PASS: TestFetch/keep_existing_gpos_intact (0.23s) 294s --- PASS: TestFetch/gpo_already_up_to_date (0.19s) 294s --- PASS: TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing (0.20s) 294s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_new (1.40s) 294s --- PASS: TestFetch/assets_are_updated_to_latest_version (0.86s) 294s --- PASS: TestFetch/Error_keeps_downloading_other_GPOS (1.39s) 294s --- PASS: TestFetch/local_gpo_is_more_recent_than_AD_one (0.12s) 294s --- PASS: TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI (1.26s) 294s --- PASS: TestFetch/concurrent_different_gpos (2.83s) 294s --- PASS: TestFetch/assets_is_a_file_is_not_downloaded (0.07s) 294s --- PASS: TestFetch/Error_missing_remote_GPT.INI (0.07s) 294s --- PASS: TestFetch/concurrent_same_gpos (1.42s) 294s --- PASS: TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI (1.27s) 294s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed (1.18s) 294s --- PASS: TestFetch/remote_version_entry_missing_treated_as_0 (0.12s) 294s --- PASS: TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL (0.11s) 294s --- PASS: TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided (0.10s) 294s --- PASS: TestFetch/two_gpos,_one_should_be_refreshed,_one_new (1.12s) 294s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_new (1.19s) 294s --- PASS: TestFetch/gpo_is_refreshed (0.97s) 294s --- PASS: TestFetch/assets_only_are_downloaded (0.41s) 294s --- PASS: TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI (0.79s) 294s --- PASS: TestFetch/Error_remote_version_NaN (0.10s) 294s === CONT TestGetPoliciesWorkflows/Second_call_after_a_relogin 294s --- PASS: TestFetchWithUnreadableFile (0.00s) 294s --- PASS: TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO (2.17s) 294s --- PASS: TestFetchWithUnreadableFile/existing_gpo_is_preserved (0.18s) 294s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 294s time="2025-10-18T15:05:40Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:40Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:40Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:41Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 294s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 294s time="2025-10-18T15:05:41Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 294s === CONT TestGetPoliciesWorkflows/Second_call_with_different_user 294s time="2025-10-18T15:05:41Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 294s time="2025-10-18T15:05:41Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 294s === CONT TestGetPoliciesWorkflows/Second_call_after_service_restarted 294s === CONT TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 294s --- PASS: TestGetPoliciesOffline (0.01s) 294s --- PASS: TestGetPoliciesOffline/Error_offline_with_no_cache (0.00s) 294s --- PASS: TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list (1.87s) 294s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only (2.46s) 294s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets (1.99s) 294s --- PASS: TestGetPoliciesOffline/Offline,_with_assets (2.22s) 294s --- PASS: TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache (2.38s) 294s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 294s time="2025-10-18T15:05:42Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:42Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:42Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:42Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:42Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:42Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:42Z" level=info msg="Downloading \"assets\"" 294s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 294s === CONT TestGetPoliciesConcurrently/Same_user,_same_GPO 294s === CONT TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case 294s time="2025-10-18T15:05:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:43Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:43Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:43Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:43Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:43Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:43Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:43Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:43Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:43Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:43Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:43Z" level=info msg="Downloading \"mixedcase-registry-name\"" 294s time="2025-10-18T15:05:43Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:43Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:43Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:43Z" level=info msg="Assets directory is already up to date" 294s === CONT TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 294s === CONT TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 294s === CONT TestGetPoliciesConcurrently/One_machine,_one_user 294s === CONT TestGetPoliciesConcurrently/Different_users,_different_GPO 294s === CONT TestGetPoliciesConcurrently/Different_users,_same_GPO 294s === CONT TestGetPolicies/Disabled_value_is_overridden 294s time="2025-10-18T15:05:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:44Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:44Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:44Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:44Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"disabled-value-name\"" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"machine-only-name\"" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"one-value-name\"" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:44Z" level=info msg="Downloading \"assets\"" 294s --- PASS: TestGetPoliciesWorkflows (0.00s) 294s --- PASS: TestGetPoliciesWorkflows/Second_call_after_a_relogin (2.40s) 294s --- PASS: TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) (2.45s) 294s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted (2.39s) 294s --- PASS: TestGetPoliciesWorkflows/Second_call_with_different_user (2.06s) 294s --- PASS: TestGetPoliciesWorkflows/Second_call_after_service_restarted (1.96s) 294s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed (2.13s) 294s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) (1.94s) 294s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_a_restart (1.86s) 294s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path (2.25s) 294s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 294s === CONT TestGetPolicies/No_override_for_this_release,_takes_default_value 294s === CONT TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 294s === CONT TestGetPolicies/User_only_policy,_user_object 294s === CONT TestGetPolicies/Standard_policy,_computer_object 294s time="2025-10-18T15:05:45Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:45Z" level=info msg="GPO \"standard-name\" is already up to date" 294s === CONT TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 294s === CONT TestGetPolicies/Unexisting_CC_original_file_for_user 294s === CONT TestGetPolicies/Machine_doesn’t_match 294s === CONT TestGetPolicies/Same_key_in_different_domains_are_kept_separated 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"user-only-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:45Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:45Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:45Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:45Z" level=info msg="GPO \"standard-name\" is already up to date" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"multiple-releases-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"one-value-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"other-domain-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"standard-name\"" 294s === CONT TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 294s === CONT TestGetPolicies/Enabled_override 294s === CONT TestGetPolicies/User_policy_Registry.pol_is_mixed_case 294s === CONT TestGetPolicies/User_policy_Registry.pol_is_lower_case 294s --- PASS: TestGetPoliciesConcurrently (0.00s) 294s --- PASS: TestGetPoliciesConcurrently/Same_user,_same_GPO (2.25s) 294s --- PASS: TestGetPoliciesConcurrently/Different_users,_same_GPO (1.39s) 294s --- PASS: TestGetPoliciesConcurrently/One_machine,_one_user (1.79s) 294s --- PASS: TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time (1.81s) 294s --- PASS: TestGetPoliciesConcurrently/Different_users,_different_GPO (1.94s) 294s === CONT TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 294s === CONT TestGetPolicies/Policy_machine_directory_is_uppercase 294s === CONT TestGetPolicies/More_policies,_with_multiple_overrides 294s === CONT TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"mixedcase-registry-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"multiple-releases-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"multiple-releases-one-enabled-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"user-only-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"multiple-releases-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"lowercase-registry-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"uppercase-class-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"one-value-name\"" 294s time="2025-10-18T15:05:45Z" level=info msg="Downloading \"lowercase-class-name\"" 294s === CONT TestGetPolicies/Standard_policy_with_assets,_downloads_assets 294s === CONT TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 294s === CONT TestGetPolicies/Unexisting_CC_original_file_for_machine 294s === CONT TestGetPolicies/Two_policies,_no_overrides 294s === CONT TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 294s === CONT TestGetPolicies/Filter_non_Ubuntu_keys 294s === CONT TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 294s === CONT TestGetPolicies/Empty_value_for_unfiltered_entry 294s === CONT TestGetPolicies/Disabled_value_overrides_non_disabled_one 294s === CONT TestGetPolicies/Two_policies,_no_overrides,_reversed 294s time="2025-10-18T15:05:46Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:46Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:46Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:46Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:46Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:46Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:46Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"user-only-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"filtered-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"one-value-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"empty-value-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"disabled-value-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"assets\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"user-only-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"one-value-name\"" 294s time="2025-10-18T15:05:46Z" level=info msg="Downloading \"filtered-with-certificate-autoenrollment-name\"" 294s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 294s === CONT TestGetPolicies/Policy_user_directory_is_uppercase 294s === CONT TestGetPolicies/Two_policies,_with_overrides 294s === CONT TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 294s === CONT TestGetPolicyDefinitions/Load_ADMX_and_ADML 294s === CONT TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 294s --- PASS: TestGetPolicyDefinitions (0.01s) 294s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro (0.00s) 294s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format (0.00s) 294s --- PASS: TestGetPolicyDefinitions/Load_ADMX_and_ADML (0.01s) 294s === CONT TestGetPolicies/Error_on_user_without_@_in_name 294s === CONT TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 294s === CONT TestGetPolicies/Standard_policy,_user_object 294s === CONT TestGetPolicies/Symlinks_can’t_be_created 294s === CONT TestGetPolicies/Policy_can’t_be_downloaded 294s === CONT TestGetPolicies/Corrupted_policy_file 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s === CONT TestGetPolicies/Multiple_domains,_same_GPO 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"unsupported-with-errors-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"user-only-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"one-value-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"uppercase-class-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"corrupted-policy-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"lowercase-class-name\"" 294s === CONT TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 294s === CONT TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 294s === CONT TestGetPolicies/Two_policies,_with_reversed_overrides 294s === CONT TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 294s === CONT TestListUsers/Two_users,_dangling_symlink_for_one 294s === CONT TestGetPolicies/Disabled_override 294s === CONT TestGetPolicies/Error_on_backend_IsOnline_call_failed 294s === CONT TestGetPolicies/Unsupported_type_for_unfiltered_entry 294s === CONT TestListUsers/Machine_Only,_from_policy_cache 294s === CONT TestListUsers/One_user 294s === CONT TestListUsers/Error_on_policy_cache_directory_not_existing 294s === CONT TestListUsers/Error_on_Krb5_directory_not_existing 294s === CONT TestListUsers/None 294s === CONT TestListUsers/Two_users 294s === CONT TestListUsers/Machines_are_ignored,_from_policy_cache 294s === CONT TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 294s === CONT TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 294s === CONT TestListUsers/Machine_Only 294s === CONT TestListUsers/Two_users,_from_policy_cache 294s === CONT TestListUsers/None,_from_policy_cache 294s === CONT TestListUsers/One_user,_from_policy_cache 294s === CONT TestGetPolicies/Computer_policy_Registry.pol_is_lower_case 294s === CONT TestListUsers/Machines_are_ignored 294s --- PASS: TestListUsers (0.01s) 294s --- PASS: TestListUsers/Two_users,_dangling_symlink_for_one (0.03s) 294s --- PASS: TestListUsers/Machine_Only,_from_policy_cache (0.01s) 294s --- PASS: TestListUsers/One_user (0.01s) 294s --- PASS: TestListUsers/Error_on_policy_cache_directory_not_existing (0.00s) 294s --- PASS: TestListUsers/Error_on_Krb5_directory_not_existing (0.00s) 294s --- PASS: TestListUsers/None (0.00s) 294s --- PASS: TestListUsers/Two_users (0.00s) 294s --- PASS: TestListUsers/Machines_are_ignored,_from_policy_cache (0.00s) 294s --- PASS: TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested (0.00s) 294s --- PASS: TestListUsers/Machine_Only (0.00s) 294s --- PASS: TestListUsers/Two_users,_from_policy_cache (0.00s) 294s --- PASS: TestListUsers/None,_from_policy_cache (0.00s) 294s --- PASS: TestListUsers/One_user,_from_policy_cache (0.00s) 294s --- PASS: TestListUsers/Machines_are_ignored (0.00s) 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 294s time="2025-10-18T15:05:47Z" level=info msg="Assets directory is already up to date" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"lowercase-registry-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"bad-entry-type-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"machine-only-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"multiple-domains-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"one-value-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"standard-name\"" 294s time="2025-10-18T15:05:47Z" level=info msg="Downloading \"multiple-releases-one-disabled-name\"" 294s --- PASS: TestGetPolicies (0.00s) 294s --- PASS: TestGetPolicies/Computer_policy_Registry.pol_is_mixed_case (1.48s) 294s --- PASS: TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty (1.27s) 294s --- PASS: TestGetPolicies/Disabled_value_is_overridden (1.14s) 294s --- PASS: TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed (0.00s) 294s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_user (0.01s) 294s --- PASS: TestGetPolicies/Machine_doesn’t_match (0.00s) 294s --- PASS: TestGetPolicies/User_only_policy,_user_object (0.69s) 294s --- PASS: TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db (1.00s) 294s --- PASS: TestGetPolicies/Standard_policy,_computer_object (0.63s) 294s --- PASS: TestGetPolicies/Same_key_in_different_domains_are_kept_separated (0.55s) 294s --- PASS: TestGetPolicies/No_override_for_this_release,_takes_default_value (1.06s) 294s --- PASS: TestGetPolicies/Policy_machine_directory_is_uppercase (0.48s) 294s --- PASS: TestGetPolicies/Enabled_override (0.66s) 294s --- PASS: TestGetPolicies/Error_on_backend_ServerFQDN_call_failed (0.00s) 294s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_machine (0.00s) 294s --- PASS: TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.52s) 294s --- PASS: TestGetPolicies/User_policy_Registry.pol_is_mixed_case (0.56s) 294s --- PASS: TestGetPolicies/User_policy_Registry.pol_is_lower_case (0.54s) 294s --- PASS: TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored (0.52s) 294s --- PASS: TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored (0.71s) 294s --- PASS: TestGetPolicies/More_policies,_with_multiple_overrides (0.54s) 294s --- PASS: TestGetPolicies/Empty_value_for_unfiltered_entry (0.67s) 294s --- PASS: TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment (0.71s) 294s --- PASS: TestGetPolicies/Filter_non_Ubuntu_keys (0.72s) 294s --- PASS: TestGetPolicies/Two_policies,_no_overrides (0.75s) 294s --- PASS: TestGetPolicies/Disabled_value_overrides_non_disabled_one (0.73s) 294s --- PASS: TestGetPolicies/Error_on_user_without_@_in_name (0.01s) 294s --- PASS: TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol (0.75s) 294s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_reversed (0.73s) 294s --- PASS: TestGetPolicies/Symlinks_can’t_be_created (0.01s) 294s --- PASS: TestGetPolicies/Standard_policy_with_assets,_downloads_assets (0.81s) 294s --- PASS: TestGetPolicies/Policy_can’t_be_downloaded (0.30s) 294s --- PASS: TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty (0.50s) 294s --- PASS: TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys (0.50s) 294s --- PASS: TestGetPolicies/Two_policies,_with_overrides (0.58s) 294s --- PASS: TestGetPolicies/Policy_user_directory_is_uppercase (0.63s) 294s --- PASS: TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.57s) 294s --- PASS: TestGetPolicies/Corrupted_policy_file (0.55s) 294s --- PASS: TestGetPolicies/Standard_policy,_user_object (0.57s) 294s --- PASS: TestGetPolicies/Error_on_backend_IsOnline_call_failed (0.03s) 294s --- PASS: TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName (0.00s) 294s --- PASS: TestGetPolicies/Assets_can’t_be_downloaded_without_GPO (0.12s) 294s --- PASS: TestGetPolicies/Unsupported_type_for_unfiltered_entry (0.41s) 294s --- PASS: TestGetPolicies/Multiple_domains,_same_GPO (0.74s) 294s --- PASS: TestGetPolicies/Two_policies,_with_reversed_overrides (0.53s) 294s --- PASS: TestGetPolicies/Computer_policy_Registry.pol_is_lower_case (0.43s) 294s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user (0.63s) 294s --- PASS: TestGetPolicies/Disabled_override (0.52s) 294s --- PASS: TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed (0.61s) 294s PASS 294s ok github.com/ubuntu/adsys/internal/ad 16.891s 294s === RUN TestGenerateExpandedCategories 294s === PAUSE TestGenerateExpandedCategories 294s === RUN TestExpandedCategoriesToADMX 294s === PAUSE TestExpandedCategoriesToADMX 294s === RUN TestExpandedCategoriesToMD 294s === PAUSE TestExpandedCategoriesToMD 294s === RUN TestExpand 294s === PAUSE TestExpand 294s === RUN TestGenerateAD 294s === PAUSE TestGenerateAD 294s === RUN TestGenerateDoc 294s === PAUSE TestGenerateDoc 294s === CONT TestGenerateExpandedCategories 294s === RUN TestGenerateExpandedCategories/nested_categories 294s === PAUSE TestGenerateExpandedCategories/nested_categories 294s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories 294s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories 294s === CONT TestExpand 294s === CONT TestGenerateDoc 294s === RUN TestGenerateDoc/category_expansion_fails 294s === PAUSE TestGenerateDoc/category_expansion_fails 294s === RUN TestGenerateDoc/doc_generation_fails 294s === PAUSE TestGenerateDoc/doc_generation_fails 294s === CONT TestGenerateAD 294s === RUN TestGenerateAD/releases_from_yaml 294s === PAUSE TestGenerateAD/releases_from_yaml 294s === RUN TestGenerateAD/autodetect_overrides_releases_from_yaml 294s === PAUSE TestGenerateAD/autodetect_overrides_releases_from_yaml 294s === RUN TestExpand/invalid_dconf.yaml 294s === RUN TestGenerateAD/invalid_definition_file 294s === PAUSE TestGenerateAD/invalid_definition_file 294s === RUN TestGenerateAD/category_expansion_fails 294s === PAUSE TestGenerateAD/category_expansion_fails 294s === PAUSE TestExpand/invalid_dconf.yaml 294s === RUN TestExpand/expanded_policy 294s === PAUSE TestExpand/expanded_policy 294s === RUN TestExpand/expanded_policy_with_meta 294s === PAUSE TestExpand/expanded_policy_with_meta 294s === RUN TestExpand/no_release_file 294s === CONT TestExpandedCategoriesToMD 294s === RUN TestExpandedCategoriesToMD/array_of_integers 294s === RUN TestGenerateAD/admx_generation_fails 294s === PAUSE TestExpand/no_release_file 294s === PAUSE TestGenerateAD/admx_generation_fails 294s === RUN TestExpand/unsupported_policy_type 294s === CONT TestGenerateAD/releases_from_yaml 294s === CONT TestGenerateAD/category_expansion_fails 294s === PAUSE TestExpand/unsupported_policy_type 294s === RUN TestExpand/dconf_generation_fails 294s === PAUSE TestExpand/dconf_generation_fails 294s === RUN TestExpand/dconf 294s === PAUSE TestExpand/dconf 294s === RUN TestExpand/expanded_policy_with_release_any 294s === PAUSE TestExpand/expanded_policy_with_release_any 294s === RUN TestExpand/ignore_categories_and_non_yaml_files 294s === PAUSE TestExpand/ignore_categories_and_non_yaml_files 294s === RUN TestExpand/no_version_id 294s === PAUSE TestExpand/no_version_id 294s === RUN TestExpand/no_source_directory 294s === PAUSE TestExpand/no_source_directory 294s === CONT TestExpand/invalid_dconf.yaml 294s === CONT TestExpandedCategoriesToADMX 294s === RUN TestExpandedCategoriesToADMX/decimal_with_range 294s === PAUSE TestExpandedCategoriesToADMX/decimal_with_range 294s === RUN TestExpandedCategoriesToADMX/choices_with_default 294s === PAUSE TestExpandedCategoriesToADMX/choices_with_default 294s === RUN TestExpandedCategoriesToADMX/no_meta_enabled 294s === PAUSE TestExpandedCategoriesToADMX/no_meta_enabled 294s === RUN TestExpandedCategoriesToADMX/no_meta_at_all 294s === CONT TestGenerateAD/invalid_definition_file 294s === RUN TestGenerateExpandedCategories/multiple_top_categories 294s === PAUSE TestGenerateExpandedCategories/multiple_top_categories 294s === RUN TestGenerateExpandedCategories/with_prefix 294s === CONT TestExpand/no_source_directory 294s === PAUSE TestExpandedCategoriesToMD/array_of_integers 294s === RUN TestExpandedCategoriesToMD/choices_with_default 294s === PAUSE TestExpandedCategoriesToMD/choices_with_default 294s === RUN TestExpandedCategoriesToMD/double 294s === PAUSE TestExpandedCategoriesToMD/double 294s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 294s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 294s === RUN TestExpandedCategoriesToMD/no_meta_at_all 294s === PAUSE TestExpandedCategoriesToMD/no_meta_at_all 294s === RUN TestExpandedCategoriesToMD/error_on_destination_creation 294s === PAUSE TestExpandedCategoriesToMD/error_on_destination_creation 294s === RUN TestExpandedCategoriesToMD/basic_key 294s === PAUSE TestExpandedCategoriesToMD/basic_key 294s === RUN TestExpandedCategoriesToMD/user_policy 294s === PAUSE TestExpandedCategoriesToMD/user_policy 294s === RUN TestExpandedCategoriesToMD/decimal_with_range 294s === PAUSE TestExpandedCategoriesToMD/decimal_with_range 294s === RUN TestExpandedCategoriesToMD/array_of_strings 294s === PAUSE TestExpandedCategoriesToMD/array_of_strings 294s === RUN TestExpandedCategoriesToMD/choices 294s === CONT TestExpand/no_version_id 294s === CONT TestExpand/ignore_categories_and_non_yaml_files 294s === PAUSE TestExpandedCategoriesToMD/choices 294s === RUN TestExpandedCategoriesToMD/simple 294s === PAUSE TestExpandedCategoriesToMD/simple 294s === RUN TestExpandedCategoriesToMD/nested_categories 294s === PAUSE TestExpandedCategoriesToMD/nested_categories 294s === RUN TestExpandedCategoriesToMD/multiple_categories 294s === PAUSE TestExpandedCategoriesToMD/multiple_categories 294s === RUN TestExpandedCategoriesToMD/boolean 294s === PAUSE TestExpandedCategoriesToMD/boolean 294s === RUN TestExpandedCategoriesToMD/decimal 294s === PAUSE TestExpandedCategoriesToMD/decimal 294s === RUN TestExpandedCategoriesToMD/decimal_with_max_only 294s === PAUSE TestExpandedCategoriesToMD/decimal_with_max_only 294s === RUN TestExpandedCategoriesToMD/double_with_range 294s === PAUSE TestExpandedCategoriesToMD/double_with_range 294s === RUN TestExpandedCategoriesToMD/multiple_releases_for_one_key 294s === PAUSE TestExpandedCategoriesToMD/multiple_releases_for_one_key 294s === RUN TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 294s === PAUSE TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 294s === RUN TestExpandedCategoriesToMD/decimal_with_min_only 294s === PAUSE TestExpandedCategoriesToMD/decimal_with_min_only 294s === RUN TestExpandedCategoriesToMD/long_decimal 294s === PAUSE TestExpandedCategoriesToMD/long_decimal 294s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_choices 294s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_choices 294s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 294s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 294s === RUN TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 294s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 294s === RUN TestExpandedCategoriesToMD/no_meta_enabled 294s === PAUSE TestExpandedCategoriesToMD/no_meta_enabled 294s === PAUSE TestGenerateExpandedCategories/with_prefix 294s === RUN TestGenerateExpandedCategories/different_meta 294s === RUN TestExpandedCategoriesToMD/no_meta_disabled 294s === PAUSE TestGenerateExpandedCategories/different_meta 294s === PAUSE TestExpandedCategoriesToMD/no_meta_disabled 294s === RUN TestGenerateExpandedCategories/different_choices 294s === RUN TestGenerateDoc/releases_from_yaml 294s === PAUSE TestGenerateExpandedCategories/different_choices 294s === PAUSE TestGenerateDoc/releases_from_yaml 294s === CONT TestExpand/expanded_policy_with_release_any 294s === RUN TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 294s === PAUSE TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 294s === RUN TestGenerateExpandedCategories/meta_entry_only 294s === PAUSE TestGenerateExpandedCategories/meta_entry_only 294s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 294s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 294s === RUN TestGenerateExpandedCategories/error_on_empty_default_policy_class 294s === PAUSE TestGenerateExpandedCategories/error_on_empty_default_policy_class 294s === RUN TestGenerateExpandedCategories/category_definition_doesn't_exist 294s === PAUSE TestGenerateExpandedCategories/category_definition_doesn't_exist 294s === RUN TestGenerateExpandedCategories/applicable_to_all_releases 294s === PAUSE TestGenerateExpandedCategories/applicable_to_all_releases 294s === RUN TestGenerateDoc/autodetect_overrides_releases_from_yaml 294s === PAUSE TestGenerateDoc/autodetect_overrides_releases_from_yaml 294s === RUN TestGenerateExpandedCategories/no_defaults 294s === PAUSE TestGenerateExpandedCategories/no_defaults 294s === RUN TestGenerateExpandedCategories/no_note 294s === PAUSE TestGenerateExpandedCategories/no_note 294s === RUN TestGenerateExpandedCategories/range 294s === PAUSE TestGenerateExpandedCategories/range 294s === RUN TestGenerateExpandedCategories/no_meta_at_all 294s === PAUSE TestGenerateExpandedCategories/no_meta_at_all 294s === RUN TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 294s === PAUSE TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 294s === RUN TestGenerateExpandedCategories/policy_directory_doesn't_exist 294s === PAUSE TestGenerateExpandedCategories/policy_directory_doesn't_exist 294s === RUN TestGenerateExpandedCategories/same_default 294s === PAUSE TestGenerateExpandedCategories/same_default 294s === RUN TestGenerateExpandedCategories/available_on_one_release_only 294s === PAUSE TestGenerateExpandedCategories/available_on_one_release_only 294s === RUN TestGenerateExpandedCategories/no_note_strategy_append 294s === PAUSE TestGenerateExpandedCategories/no_note_strategy_append 294s === RUN TestGenerateExpandedCategories/choices 294s === PAUSE TestGenerateExpandedCategories/choices 294s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 294s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 294s === RUN TestGenerateExpandedCategories/error_on_invalid_default_policy_class 294s === PAUSE TestGenerateExpandedCategories/error_on_invalid_default_policy_class 294s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 294s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 294s === RUN TestGenerateExpandedCategories/error_on_one_policy_not_used 294s === PAUSE TestGenerateExpandedCategories/error_on_one_policy_not_used 294s === RUN TestGenerateExpandedCategories/simple 294s === PAUSE TestGenerateExpandedCategories/simple 294s === RUN TestGenerateExpandedCategories/basic 294s === PAUSE TestGenerateExpandedCategories/basic 294s === RUN TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 294s === PAUSE TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 294s === RUN TestGenerateExpandedCategories/different_display_name 294s === PAUSE TestGenerateExpandedCategories/different_display_name 294s === RUN TestGenerateExpandedCategories/default_policy_class_is_capitalized 294s === PAUSE TestGenerateExpandedCategories/default_policy_class_is_capitalized 294s === RUN TestGenerateExpandedCategories/requires_ubuntu_pro 294s === PAUSE TestGenerateExpandedCategories/requires_ubuntu_pro 294s === RUN TestGenerateExpandedCategories/different_element_type 294s === PAUSE TestGenerateExpandedCategories/different_element_type 294s === RUN TestGenerateExpandedCategories/different_range 294s === PAUSE TestGenerateExpandedCategories/different_range 294s === RUN TestGenerateExpandedCategories/different_defaults 294s === PAUSE TestGenerateExpandedCategories/different_defaults 294s === RUN TestGenerateExpandedCategories/different_explain_text 294s === PAUSE TestGenerateExpandedCategories/different_explain_text 294s === RUN TestGenerateExpandedCategories/no_meta_enabled 294s === PAUSE TestGenerateExpandedCategories/no_meta_enabled 294s === RUN TestGenerateExpandedCategories/no_meta_disabled 294s === PAUSE TestGenerateExpandedCategories/no_meta_disabled 294s === RUN TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 294s === PAUSE TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 294s === RUN TestGenerateExpandedCategories/error_on_missing_release 294s === PAUSE TestGenerateExpandedCategories/error_on_missing_release 294s === RUN TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 294s === PAUSE TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 294s === RUN TestGenerateExpandedCategories/two_policies 294s === PAUSE TestGenerateExpandedCategories/two_policies 294s === RUN TestGenerateExpandedCategories/error_on_different_policy_type 294s === PAUSE TestGenerateExpandedCategories/error_on_different_policy_type 294s === RUN TestGenerateExpandedCategories/error_on_different_class 294s === PAUSE TestGenerateExpandedCategories/error_on_different_class 294s === RUN TestGenerateExpandedCategories/error_on_nested_category 294s === PAUSE TestGenerateExpandedCategories/error_on_nested_category 294s === RUN TestGenerateDoc/invalid_definition_file 294s === PAUSE TestGenerateDoc/invalid_definition_file 294s === CONT TestExpand/dconf 294s === CONT TestExpand/dconf_generation_fails 294s === PAUSE TestExpandedCategoriesToADMX/no_meta_at_all 294s === RUN TestExpandedCategoriesToADMX/error_on_destination_creation 294s === PAUSE TestExpandedCategoriesToADMX/error_on_destination_creation 294s === RUN TestExpandedCategoriesToADMX/simple 294s === PAUSE TestExpandedCategoriesToADMX/simple 294s === RUN TestExpandedCategoriesToADMX/decimal_with_max_only 294s === PAUSE TestExpandedCategoriesToADMX/decimal_with_max_only 294s === RUN TestExpandedCategoriesToADMX/long_decimal 294s === PAUSE TestExpandedCategoriesToADMX/long_decimal 294s === RUN TestExpandedCategoriesToADMX/no_meta_disabled 294s === PAUSE TestExpandedCategoriesToADMX/no_meta_disabled 294s === RUN TestExpandedCategoriesToADMX/nested_categories 294s === PAUSE TestExpandedCategoriesToADMX/nested_categories 294s === RUN TestExpandedCategoriesToADMX/decimal 294s === PAUSE TestExpandedCategoriesToADMX/decimal 294s === RUN TestExpandedCategoriesToADMX/choices 294s === PAUSE TestExpandedCategoriesToADMX/choices 294s === RUN TestExpandedCategoriesToADMX/double_with_range 294s === PAUSE TestExpandedCategoriesToADMX/double_with_range 294s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 294s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 294s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 294s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 294s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 294s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 294s === RUN TestExpandedCategoriesToADMX/basic_key 294s === PAUSE TestExpandedCategoriesToADMX/basic_key 294s === RUN TestExpandedCategoriesToADMX/boolean 294s === PAUSE TestExpandedCategoriesToADMX/boolean 294s === RUN TestExpandedCategoriesToADMX/decimal_with_min_only 294s === PAUSE TestExpandedCategoriesToADMX/decimal_with_min_only 294s === RUN TestExpandedCategoriesToADMX/array_of_strings 294s === PAUSE TestExpandedCategoriesToADMX/array_of_strings 294s === RUN TestExpandedCategoriesToADMX/array_of_integers 294s === PAUSE TestExpandedCategoriesToADMX/array_of_integers 294s === RUN TestExpandedCategoriesToADMX/double 294s === PAUSE TestExpandedCategoriesToADMX/double 294s === RUN TestExpandedCategoriesToADMX/multiple_releases_for_one_key 294s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_for_one_key 294s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 294s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 294s === RUN TestExpandedCategoriesToADMX/multiple_categories 294s === PAUSE TestExpandedCategoriesToADMX/multiple_categories 294s === RUN TestExpandedCategoriesToADMX/other_distro 294s === PAUSE TestExpandedCategoriesToADMX/other_distro 294s === CONT TestExpand/unsupported_policy_type 294s === CONT TestExpand/no_release_file 294s === NAME TestExpand/expanded_policy_with_release_any 294s admxgen_test.go:78: Serializing object for golden file 294s === CONT TestExpand/expanded_policy_with_meta 294s === CONT TestExpand/expanded_policy 294s admxgen_test.go:78: Serializing object for golden file 294s === CONT TestGenerateAD/autodetect_overrides_releases_from_yaml 294s === CONT TestGenerateAD/admx_generation_fails 294s === NAME TestExpand/ignore_categories_and_non_yaml_files 294s admxgen_test.go:78: Serializing object for golden file 294s === NAME TestExpand/expanded_policy_with_meta 294s admxgen_test.go:78: Serializing object for golden file 294s === NAME TestExpand/dconf 294s admxgen_test.go:78: Serializing object for golden file 294s === CONT TestExpandedCategoriesToMD/array_of_integers 294s === CONT TestExpandedCategoriesToMD/multiple_categories 294s === CONT TestExpandedCategoriesToMD/boolean 294s === CONT TestExpandedCategoriesToMD/nested_categories 294s === CONT TestExpandedCategoriesToMD/simple 294s === CONT TestExpandedCategoriesToMD/choices 294s === CONT TestExpandedCategoriesToMD/array_of_strings 294s --- PASS: TestExpand (0.00s) 294s --- PASS: TestExpand/invalid_dconf.yaml (0.00s) 294s --- PASS: TestExpand/no_source_directory (0.00s) 294s --- PASS: TestExpand/no_version_id (0.01s) 294s --- PASS: TestExpand/expanded_policy_with_release_any (0.01s) 294s --- PASS: TestExpand/no_release_file (0.00s) 294s --- PASS: TestExpand/unsupported_policy_type (0.02s) 294s --- PASS: TestExpand/dconf_generation_fails (0.02s) 294s --- PASS: TestExpand/ignore_categories_and_non_yaml_files (0.04s) 294s --- PASS: TestExpand/expanded_policy_with_meta (0.03s) 294s --- PASS: TestExpand/expanded_policy (0.03s) 294s --- PASS: TestExpand/dconf (0.07s) 294s === CONT TestExpandedCategoriesToMD/decimal_with_range 294s --- PASS: TestGenerateAD (0.00s) 294s --- PASS: TestGenerateAD/invalid_definition_file (0.00s) 294s --- PASS: TestGenerateAD/releases_from_yaml (0.05s) 294s --- PASS: TestGenerateAD/category_expansion_fails (0.07s) 294s --- PASS: TestGenerateAD/admx_generation_fails (0.05s) 294s --- PASS: TestGenerateAD/autodetect_overrides_releases_from_yaml (0.05s) 294s === CONT TestExpandedCategoriesToMD/user_policy 294s === CONT TestExpandedCategoriesToMD/no_meta_disabled 294s === CONT TestExpandedCategoriesToMD/basic_key 294s === CONT TestExpandedCategoriesToMD/error_on_destination_creation 294s === CONT TestExpandedCategoriesToMD/no_meta_at_all 294s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 294s === CONT TestExpandedCategoriesToMD/no_meta_enabled 294s === CONT TestExpandedCategoriesToMD/double 294s === CONT TestExpandedCategoriesToMD/choices_with_default 294s === CONT TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 294s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 294s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_choices 294s === CONT TestExpandedCategoriesToMD/long_decimal 294s === CONT TestExpandedCategoriesToMD/multiple_releases_for_one_key 294s === CONT TestExpandedCategoriesToMD/decimal_with_min_only 294s === CONT TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 294s === CONT TestExpandedCategoriesToMD/double_with_range 294s === CONT TestExpandedCategoriesToMD/decimal_with_max_only 294s === CONT TestExpandedCategoriesToMD/decimal 294s === CONT TestGenerateExpandedCategories/nested_categories 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateDoc/category_expansion_fails 294s === CONT TestGenerateExpandedCategories/no_note_strategy_append 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/error_on_nested_category 294s === CONT TestGenerateExpandedCategories/error_on_different_class 294s === CONT TestGenerateExpandedCategories/error_on_different_policy_type 294s === CONT TestGenerateExpandedCategories/two_policies 294s === CONT TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 294s === NAME TestGenerateExpandedCategories/two_policies 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/error_on_missing_release 294s === CONT TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 294s === CONT TestGenerateExpandedCategories/no_meta_disabled 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/no_meta_enabled 294s === CONT TestGenerateExpandedCategories/different_explain_text 294s === NAME TestGenerateExpandedCategories/no_meta_enabled 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/different_defaults 294s === NAME TestGenerateExpandedCategories/different_explain_text 294s internal_test.go:112: Serializing object for golden file 294s === NAME TestGenerateExpandedCategories/different_defaults 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/different_range 294s === CONT TestGenerateExpandedCategories/different_element_type 294s === CONT TestGenerateExpandedCategories/requires_ubuntu_pro 294s === NAME TestGenerateExpandedCategories/different_element_type 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/default_policy_class_is_capitalized 294s === NAME TestGenerateExpandedCategories/different_range 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/different_display_name 294s === CONT TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 294s === NAME TestGenerateExpandedCategories/default_policy_class_is_capitalized 294s internal_test.go:112: Serializing object for golden file 294s === NAME TestGenerateExpandedCategories/requires_ubuntu_pro 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/basic 294s === NAME TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/simple 294s === CONT TestGenerateExpandedCategories/error_on_one_policy_not_used 294s === NAME TestGenerateExpandedCategories/simple 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 294s internal_test.go:112: Serializing object for golden file 294s === NAME TestGenerateExpandedCategories/basic 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/error_on_invalid_default_policy_class 294s === NAME TestGenerateExpandedCategories/different_display_name 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 294s === CONT TestGenerateExpandedCategories/choices 294s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 294s === CONT TestGenerateExpandedCategories/available_on_one_release_only 294s === CONT TestGenerateExpandedCategories/same_default 294s === NAME TestGenerateExpandedCategories/available_on_one_release_only 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/policy_directory_doesn't_exist 294s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 294s === CONT TestGenerateExpandedCategories/no_meta_at_all 294s === NAME TestGenerateExpandedCategories/choices 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/range 294s === NAME TestGenerateExpandedCategories/no_meta_at_all 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/no_note 294s === NAME TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/no_defaults 294s === NAME TestGenerateExpandedCategories/no_note 294s internal_test.go:112: Serializing object for golden file 294s === NAME TestGenerateExpandedCategories/no_defaults 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/applicable_to_all_releases 294s === CONT TestGenerateExpandedCategories/error_on_empty_default_policy_class 294s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories 294s === CONT TestGenerateExpandedCategories/category_definition_doesn't_exist 294s === NAME TestGenerateExpandedCategories/range 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/meta_entry_only 294s === CONT TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 294s === NAME TestGenerateExpandedCategories/same_policy_used_in_two_categories 294s internal_test.go:112: Serializing object for golden file 294s === NAME TestGenerateExpandedCategories/same_default 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateExpandedCategories/different_choices 294s === CONT TestGenerateExpandedCategories/different_meta 294s === CONT TestGenerateExpandedCategories/with_prefix 294s --- PASS: TestExpandedCategoriesToMD (0.01s) 294s --- PASS: TestExpandedCategoriesToMD/boolean (0.00s) 294s --- PASS: TestExpandedCategoriesToMD/multiple_categories (0.03s) 294s --- PASS: TestExpandedCategoriesToMD/choices (0.01s) 294s --- PASS: TestExpandedCategoriesToMD/user_policy (0.00s) 294s --- PASS: TestExpandedCategoriesToMD/error_on_destination_creation (0.00s) 294s --- PASS: TestExpandedCategoriesToMD/array_of_integers (0.05s) 294s --- PASS: TestExpandedCategoriesToMD/simple (0.04s) 294s --- PASS: TestExpandedCategoriesToMD/nested_categories (0.04s) 294s --- PASS: TestExpandedCategoriesToMD/decimal_with_range (0.02s) 294s --- PASS: TestExpandedCategoriesToMD/array_of_strings (0.03s) 294s --- PASS: TestExpandedCategoriesToMD/no_meta_at_all (0.03s) 294s --- PASS: TestExpandedCategoriesToMD/no_meta_enabled (0.04s) 294s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype (0.04s) 294s --- PASS: TestExpandedCategoriesToMD/long_decimal (0.01s) 294s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults (0.04s) 294s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_ranges (0.05s) 294s --- PASS: TestExpandedCategoriesToMD/basic_key (0.08s) 294s --- PASS: TestExpandedCategoriesToMD/decimal_with_min_only (0.02s) 294s --- PASS: TestExpandedCategoriesToMD/choices_with_default (0.07s) 294s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_choices (0.05s) 294s --- PASS: TestExpandedCategoriesToMD/multiple_releases_for_one_key (0.08s) 294s --- PASS: TestExpandedCategoriesToMD/no_meta_disabled (0.18s) 294s --- PASS: TestExpandedCategoriesToMD/double (0.20s) 294s --- PASS: TestExpandedCategoriesToMD/decimal_with_max_only (0.15s) 294s --- PASS: TestExpandedCategoriesToMD/decimal (0.17s) 294s --- PASS: TestExpandedCategoriesToMD/nested_categories,_classes_and_empty (0.19s) 294s --- PASS: TestExpandedCategoriesToMD/double_with_range (0.20s) 294s === CONT TestGenerateExpandedCategories/multiple_top_categories 294s === NAME TestGenerateExpandedCategories/meta_entry_only 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateDoc/autodetect_overrides_releases_from_yaml 294s === CONT TestGenerateDoc/invalid_definition_file 294s === NAME TestGenerateExpandedCategories/with_prefix 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateDoc/doc_generation_fails 294s === NAME TestGenerateExpandedCategories/applicable_to_all_releases 294s internal_test.go:112: Serializing object for golden file 294s time="2025-10-18T15:05:31Z" level=warning msg="policy /org/gnome/desktop/policy-doesnotexit referenced in \"Category1 Display Name\" does not exist in any supported releases" 294s === NAME TestGenerateExpandedCategories/multiple_top_categories 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestGenerateDoc/releases_from_yaml 294s === NAME TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 294s internal_test.go:112: Serializing object for golden file 294s === NAME TestGenerateExpandedCategories/different_choices 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestExpandedCategoriesToADMX/decimal_with_range 294s === CONT TestExpandedCategoriesToADMX/basic_key 294s === NAME TestGenerateExpandedCategories/different_meta 294s internal_test.go:112: Serializing object for golden file 294s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 294s --- PASS: TestGenerateExpandedCategories (0.01s) 294s --- PASS: TestGenerateExpandedCategories/nested_categories (0.00s) 294s --- PASS: TestGenerateExpandedCategories/no_note_strategy_append (0.01s) 294s --- PASS: TestGenerateExpandedCategories/error_on_nested_category (0.01s) 294s --- PASS: TestGenerateExpandedCategories/error_on_different_class (0.01s) 294s --- PASS: TestGenerateExpandedCategories/error_on_different_policy_type (0.00s) 294s --- PASS: TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified (0.01s) 294s --- PASS: TestGenerateExpandedCategories/two_policies (0.01s) 294s --- PASS: TestGenerateExpandedCategories/error_on_missing_release (0.01s) 294s --- PASS: TestGenerateExpandedCategories/error_on_unexisting_policy_referenced (0.01s) 294s --- PASS: TestGenerateExpandedCategories/no_meta_disabled (0.01s) 294s --- PASS: TestGenerateExpandedCategories/no_meta_enabled (0.00s) 294s --- PASS: TestGenerateExpandedCategories/different_defaults (0.00s) 294s --- PASS: TestGenerateExpandedCategories/different_explain_text (0.01s) 294s --- PASS: TestGenerateExpandedCategories/different_element_type (0.00s) 294s --- PASS: TestGenerateExpandedCategories/different_range (0.01s) 294s --- PASS: TestGenerateExpandedCategories/default_policy_class_is_capitalized (0.01s) 294s --- PASS: TestGenerateExpandedCategories/use_policy_class_instead_of_category_default (0.00s) 294s --- PASS: TestGenerateExpandedCategories/requires_ubuntu_pro (0.01s) 294s --- PASS: TestGenerateExpandedCategories/simple (0.00s) 294s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class (0.00s) 294s --- PASS: TestGenerateExpandedCategories/different_display_name (0.02s) 294s --- PASS: TestGenerateExpandedCategories/basic (0.02s) 294s --- PASS: TestGenerateExpandedCategories/error_on_one_policy_not_used (0.02s) 294s --- PASS: TestGenerateExpandedCategories/error_on_invalid_default_policy_class (0.01s) 294s --- PASS: TestGenerateExpandedCategories/available_on_one_release_only (0.00s) 294s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key (0.00s) 294s --- PASS: TestGenerateExpandedCategories/policy_directory_doesn't_exist (0.00s) 294s --- PASS: TestGenerateExpandedCategories/choices (0.01s) 294s --- PASS: TestGenerateExpandedCategories/no_meta_at_all (0.00s) 294s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key (0.01s) 294s --- PASS: TestGenerateExpandedCategories/no_defaults (0.01s) 294s --- PASS: TestGenerateExpandedCategories/no_note (0.01s) 294s --- PASS: TestGenerateExpandedCategories/range (0.03s) 294s --- PASS: TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases (0.03s) 294s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories (0.01s) 294s --- PASS: TestGenerateExpandedCategories/category_definition_doesn't_exist (0.01s) 294s --- PASS: TestGenerateExpandedCategories/same_default (0.04s) 294s --- PASS: TestGenerateExpandedCategories/meta_entry_only (0.01s) 294s --- PASS: TestGenerateExpandedCategories/error_on_empty_default_policy_class (0.02s) 294s --- PASS: TestGenerateExpandedCategories/with_prefix (0.02s) 294s --- PASS: TestGenerateExpandedCategories/multiple_top_categories (0.03s) 294s --- PASS: TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases (0.04s) 294s --- PASS: TestGenerateExpandedCategories/different_choices (0.03s) 294s --- PASS: TestGenerateExpandedCategories/applicable_to_all_releases (0.06s) 294s --- PASS: TestGenerateExpandedCategories/different_meta (0.04s) 294s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 294s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 294s === CONT TestExpandedCategoriesToADMX/double_with_range 294s === CONT TestExpandedCategoriesToADMX/choices 294s === CONT TestExpandedCategoriesToADMX/decimal 294s === CONT TestExpandedCategoriesToADMX/nested_categories 294s === CONT TestExpandedCategoriesToADMX/no_meta_disabled 294s === CONT TestExpandedCategoriesToADMX/long_decimal 294s --- PASS: TestGenerateDoc (0.01s) 294s --- PASS: TestGenerateDoc/category_expansion_fails (0.11s) 294s --- PASS: TestGenerateDoc/invalid_definition_file (0.04s) 294s --- PASS: TestGenerateDoc/autodetect_overrides_releases_from_yaml (0.04s) 294s --- PASS: TestGenerateDoc/doc_generation_fails (0.12s) 294s --- PASS: TestGenerateDoc/releases_from_yaml (0.12s) 294s === CONT TestExpandedCategoriesToADMX/decimal_with_max_only 294s === CONT TestExpandedCategoriesToADMX/simple 294s === CONT TestExpandedCategoriesToADMX/error_on_destination_creation 294s === CONT TestExpandedCategoriesToADMX/no_meta_at_all 294s === CONT TestExpandedCategoriesToADMX/choices_with_default 294s === CONT TestExpandedCategoriesToADMX/no_meta_enabled 294s === CONT TestExpandedCategoriesToADMX/multiple_releases_for_one_key 294s === CONT TestExpandedCategoriesToADMX/boolean 294s === CONT TestExpandedCategoriesToADMX/double 294s === CONT TestExpandedCategoriesToADMX/array_of_integers 294s === CONT TestExpandedCategoriesToADMX/array_of_strings 294s === CONT TestExpandedCategoriesToADMX/decimal_with_min_only 294s === CONT TestExpandedCategoriesToADMX/multiple_categories 294s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 294s === CONT TestExpandedCategoriesToADMX/other_distro 294s --- PASS: TestExpandedCategoriesToADMX (0.01s) 294s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_choices (0.07s) 294s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults (0.09s) 294s --- PASS: TestExpandedCategoriesToADMX/basic_key (0.10s) 294s --- PASS: TestExpandedCategoriesToADMX/choices (0.02s) 294s --- PASS: TestExpandedCategoriesToADMX/decimal_with_range (0.12s) 294s --- PASS: TestExpandedCategoriesToADMX/nested_categories (0.03s) 294s --- PASS: TestExpandedCategoriesToADMX/error_on_destination_creation (0.00s) 294s --- PASS: TestExpandedCategoriesToADMX/long_decimal (0.01s) 294s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges (0.12s) 294s --- PASS: TestExpandedCategoriesToADMX/decimal (0.05s) 294s --- PASS: TestExpandedCategoriesToADMX/double_with_range (0.12s) 294s --- PASS: TestExpandedCategoriesToADMX/no_meta_enabled (0.03s) 294s --- PASS: TestExpandedCategoriesToADMX/no_meta_disabled (0.06s) 294s --- PASS: TestExpandedCategoriesToADMX/choices_with_default (0.05s) 294s --- PASS: TestExpandedCategoriesToADMX/double (0.03s) 294s --- PASS: TestExpandedCategoriesToADMX/no_meta_at_all (0.06s) 294s --- PASS: TestExpandedCategoriesToADMX/simple (0.06s) 294s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_for_one_key (0.04s) 294s --- PASS: TestExpandedCategoriesToADMX/boolean (0.05s) 294s --- PASS: TestExpandedCategoriesToADMX/decimal_with_max_only (0.07s) 294s --- PASS: TestExpandedCategoriesToADMX/decimal_with_min_only (0.02s) 294s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype (0.02s) 294s --- PASS: TestExpandedCategoriesToADMX/array_of_integers (0.03s) 294s --- PASS: TestExpandedCategoriesToADMX/multiple_categories (0.02s) 294s --- PASS: TestExpandedCategoriesToADMX/other_distro (0.03s) 294s --- PASS: TestExpandedCategoriesToADMX/array_of_strings (0.03s) 294s PASS 294s ok github.com/ubuntu/adsys/internal/ad/admxgen 0.660s 294s ? github.com/ubuntu/adsys/internal/ad/admxgen/common [no test files] 294s === RUN TestGenerate 294s === PAUSE TestGenerate 294s === CONT TestGenerate 294s === RUN TestGenerate/One_boolean_key 294s === PAUSE TestGenerate/One_boolean_key 294s === RUN TestGenerate/Description_starting_with_deprecated_is_ignored 294s === PAUSE TestGenerate/Description_starting_with_deprecated_is_ignored 294s === RUN TestGenerate/Invalid_class 294s === PAUSE TestGenerate/Invalid_class 294s === RUN TestGenerate/One_text_key 294s === PAUSE TestGenerate/One_text_key 294s === RUN TestGenerate/Same_key_relocated_twice 294s === PAUSE TestGenerate/Same_key_relocated_twice 294s === RUN TestGenerate/One_decimal_key 294s === PAUSE TestGenerate/One_decimal_key 294s === RUN TestGenerate/One_decimal_key_with_range 294s === PAUSE TestGenerate/One_decimal_key_with_range 294s === RUN TestGenerate/Long_decimal_key_with_range_min_lt_0 294s === PAUSE TestGenerate/Long_decimal_key_with_range_min_lt_0 294s === RUN TestGenerate/Double_key_with_range 294s === PAUSE TestGenerate/Double_key_with_range 294s === RUN TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 294s === PAUSE TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 294s === RUN TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 294s === PAUSE TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 294s === RUN TestGenerate/Relocatable_key 294s === PAUSE TestGenerate/Relocatable_key 294s === RUN TestGenerate/Array_of_integers 294s === PAUSE TestGenerate/Array_of_integers 294s === RUN TestGenerate/Overridden_by_multiple_files,_last_wins 294s === PAUSE TestGenerate/Overridden_by_multiple_files,_last_wins 294s === RUN TestGenerate/Invalid_schema_files 294s === PAUSE TestGenerate/Invalid_schema_files 294s === RUN TestGenerate/One_decimal_key_with_min_only 294s === PAUSE TestGenerate/One_decimal_key_with_min_only 294s === RUN TestGenerate/Override_default_to_second_if_first_not_present 294s === PAUSE TestGenerate/Override_default_to_second_if_first_not_present 294s === RUN TestGenerate/Override_without_session_takes_default 294s === PAUSE TestGenerate/Override_without_session_takes_default 294s === RUN TestGenerate/Enums_in_other_files_are_converted_to_choices 294s === PAUSE TestGenerate/Enums_in_other_files_are_converted_to_choices 294s === RUN TestGenerate/Empty 294s === PAUSE TestGenerate/Empty 294s === RUN TestGenerate/Enum_does_not_exist 294s === PAUSE TestGenerate/Enum_does_not_exist 294s === RUN TestGenerate/Double_key 294s === PAUSE TestGenerate/Double_key 294s === RUN TestGenerate/Override_with_no_matching_session_defaults_to_root_override 294s === PAUSE TestGenerate/Override_with_no_matching_session_defaults_to_root_override 294s === RUN TestGenerate/Override_takes_first_session 294s === PAUSE TestGenerate/Override_takes_first_session 294s === RUN TestGenerate/Relocatable_key_overridden 294s === PAUSE TestGenerate/Relocatable_key_overridden 294s === RUN TestGenerate/Inlined_Enums_are_converted_to_choices 294s === PAUSE TestGenerate/Inlined_Enums_are_converted_to_choices 294s === RUN TestGenerate/Invalid_override_files_are_skipped 294s === PAUSE TestGenerate/Invalid_override_files_are_skipped 294s === RUN TestGenerate/NaN_min 294s === PAUSE TestGenerate/NaN_min 294s === RUN TestGenerate/One_decimal_key_with_max_only 294s === PAUSE TestGenerate/One_decimal_key_with_max_only 294s === RUN TestGenerate/Array_of_strings 294s === PAUSE TestGenerate/Array_of_strings 294s === RUN TestGenerate/Key_with_class 294s === PAUSE TestGenerate/Key_with_class 294s === RUN TestGenerate/Override_with_session_takes_session_override 294s === PAUSE TestGenerate/Override_with_session_takes_session_override 294s === RUN TestGenerate/Choices_are_loaded 294s === PAUSE TestGenerate/Choices_are_loaded 294s === RUN TestGenerate/Valid_class_should_be_capitalized 294s === PAUSE TestGenerate/Valid_class_should_be_capitalized 294s === RUN TestGenerate/Description_starting_with_obsolete_is_ignored 294s === PAUSE TestGenerate/Description_starting_with_obsolete_is_ignored 294s === RUN TestGenerate/Missing_XML_declaration_is_successfully_parsed 294s === PAUSE TestGenerate/Missing_XML_declaration_is_successfully_parsed 294s === RUN TestGenerate/Unsupported_key_type 294s === PAUSE TestGenerate/Unsupported_key_type 294s === RUN TestGenerate/Long_decimal_key 294s === PAUSE TestGenerate/Long_decimal_key 294s === RUN TestGenerate/Long_decimal_key_with_range_min_gt_0 294s === PAUSE TestGenerate/Long_decimal_key_with_range_min_gt_0 294s === RUN TestGenerate/Override_without_session 294s === PAUSE TestGenerate/Override_without_session 294s === RUN TestGenerate/No_key_on_system 294s === PAUSE TestGenerate/No_key_on_system 294s === RUN TestGenerate/Malformed_XML_declaration_is_successfully_parsed 294s === PAUSE TestGenerate/Malformed_XML_declaration_is_successfully_parsed 294s === RUN TestGenerate/Invalid_min 294s === PAUSE TestGenerate/Invalid_min 294s === CONT TestGenerate/One_boolean_key 294s === CONT TestGenerate/Override_with_no_matching_session_defaults_to_root_override 294s === CONT TestGenerate/Valid_class_should_be_capitalized 294s === CONT TestGenerate/Choices_are_loaded 294s === CONT TestGenerate/Long_decimal_key_with_range_min_gt_0 294s === NAME TestGenerate/Valid_class_should_be_capitalized 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/NaN_min 294s === NAME TestGenerate/Long_decimal_key_with_range_min_gt_0 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Override_with_session_takes_session_override 294s === CONT TestGenerate/Invalid_min 294s === CONT TestGenerate/Malformed_XML_declaration_is_successfully_parsed 294s === CONT TestGenerate/Double_key 294s === CONT TestGenerate/Inlined_Enums_are_converted_to_choices 294s === NAME TestGenerate/Override_with_no_matching_session_defaults_to_root_override 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/No_key_on_system 294s === CONT TestGenerate/Override_without_session 294s === NAME TestGenerate/One_boolean_key 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Invalid_override_files_are_skipped 294s === NAME TestGenerate/Malformed_XML_declaration_is_successfully_parsed 294s dconf_test.go:106: Serializing object for golden file 294s time="2025-10-18T15:05:31Z" 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" 294s === CONT TestGenerate/Array_of_strings 294s === NAME TestGenerate/Invalid_override_files_are_skipped 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/Choices_are_loaded 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/Override_with_session_takes_session_override 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Key_with_class 294s === CONT TestGenerate/Unsupported_key_type 294s time="2025-10-18T15:05:31Z" level=warning msg="dconf entry \"/com/ubuntu/simple/non-existent\" is not available on this machine" 294s === NAME TestGenerate/No_key_on_system 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Long_decimal_key 294s === NAME TestGenerate/Inlined_Enums_are_converted_to_choices 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/One_decimal_key_with_max_only 294s === CONT TestGenerate/Relocatable_key_overridden 294s === NAME TestGenerate/Override_without_session 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Override_takes_first_session 294s === CONT TestGenerate/Relocatable_key 294s === NAME TestGenerate/Double_key 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Enum_does_not_exist 294s === CONT TestGenerate/Empty 294s === NAME TestGenerate/Array_of_strings 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Enums_in_other_files_are_converted_to_choices 294s === NAME TestGenerate/Key_with_class 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Override_without_session_takes_default 294s === NAME TestGenerate/Long_decimal_key 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/One_decimal_key_with_max_only 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Override_default_to_second_if_first_not_present 294s === NAME TestGenerate/Empty 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/One_decimal_key_with_min_only 294s === CONT TestGenerate/Invalid_schema_files 294s === NAME TestGenerate/Override_default_to_second_if_first_not_present 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Overridden_by_multiple_files,_last_wins 294s === NAME TestGenerate/Relocatable_key 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/Relocatable_key_overridden 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/One_decimal_key_with_range 294s === CONT TestGenerate/Array_of_integers 294s === NAME TestGenerate/Enums_in_other_files_are_converted_to_choices 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 294s === NAME TestGenerate/One_decimal_key_with_range 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 294s === CONT TestGenerate/Double_key_with_range 294s === NAME TestGenerate/One_decimal_key_with_min_only 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Long_decimal_key_with_range_min_lt_0 294s time="2025-10-18T15:05:31Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated-different-cases\" is deprecated. Ignoring" 294s === NAME TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/Overridden_by_multiple_files,_last_wins 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/One_decimal_key 294s === CONT TestGenerate/One_text_key 294s === NAME TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Invalid_class 294s === NAME TestGenerate/Long_decimal_key_with_range_min_lt_0 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Same_key_relocated_twice 294s === NAME TestGenerate/Array_of_integers 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Description_starting_with_deprecated_is_ignored 294s === NAME TestGenerate/One_text_key 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Missing_XML_declaration_is_successfully_parsed 294s time="2025-10-18T15:05:31Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated\" is deprecated. Ignoring" 294s === NAME TestGenerate/Description_starting_with_deprecated_is_ignored 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/Override_without_session_takes_default 294s dconf_test.go:106: Serializing object for golden file 294s === CONT TestGenerate/Description_starting_with_obsolete_is_ignored 294s === NAME TestGenerate/Missing_XML_declaration_is_successfully_parsed 294s dconf_test.go:106: Serializing object for golden file 294s time="2025-10-18T15:05:31Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/obsolete\" is deprecated. Ignoring" 294s === NAME TestGenerate/Description_starting_with_obsolete_is_ignored 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/Same_key_relocated_twice 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/One_decimal_key 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/Override_takes_first_session 294s dconf_test.go:106: Serializing object for golden file 294s === NAME TestGenerate/Double_key_with_range 294s dconf_test.go:106: Serializing object for golden file 294s --- PASS: TestGenerate (0.00s) 294s --- PASS: TestGenerate/Valid_class_should_be_capitalized (0.00s) 294s --- PASS: TestGenerate/NaN_min (0.00s) 294s --- PASS: TestGenerate/Long_decimal_key_with_range_min_gt_0 (0.00s) 294s --- PASS: TestGenerate/Override_with_no_matching_session_defaults_to_root_override (0.01s) 294s --- PASS: TestGenerate/Invalid_min (0.00s) 294s --- PASS: TestGenerate/One_boolean_key (0.01s) 294s --- PASS: TestGenerate/Malformed_XML_declaration_is_successfully_parsed (0.01s) 294s --- PASS: TestGenerate/Choices_are_loaded (0.02s) 294s --- PASS: TestGenerate/Invalid_override_files_are_skipped (0.01s) 294s --- PASS: TestGenerate/No_key_on_system (0.02s) 294s --- PASS: TestGenerate/Inlined_Enums_are_converted_to_choices (0.02s) 294s --- PASS: TestGenerate/Override_with_session_takes_session_override (0.02s) 294s --- PASS: TestGenerate/Override_without_session (0.02s) 294s --- PASS: TestGenerate/Unsupported_key_type (0.00s) 294s --- PASS: TestGenerate/Double_key (0.02s) 294s --- PASS: TestGenerate/Enum_does_not_exist (0.00s) 294s --- PASS: TestGenerate/Array_of_strings (0.02s) 294s --- PASS: TestGenerate/Key_with_class (0.01s) 294s --- PASS: TestGenerate/Long_decimal_key (0.01s) 294s --- PASS: TestGenerate/Empty (0.00s) 294s --- PASS: TestGenerate/One_decimal_key_with_max_only (0.01s) 294s --- PASS: TestGenerate/Override_default_to_second_if_first_not_present (0.01s) 294s --- PASS: TestGenerate/Relocatable_key (0.02s) 294s --- PASS: TestGenerate/Relocatable_key_overridden (0.02s) 294s --- PASS: TestGenerate/Enums_in_other_files_are_converted_to_choices (0.02s) 294s --- PASS: TestGenerate/One_decimal_key_with_range (0.00s) 294s --- PASS: TestGenerate/Invalid_schema_files (0.02s) 294s --- PASS: TestGenerate/One_decimal_key_with_min_only (0.03s) 294s --- PASS: TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored (0.01s) 294s --- PASS: TestGenerate/Overridden_by_multiple_files,_last_wins (0.02s) 294s --- PASS: TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored (0.02s) 294s --- PASS: TestGenerate/Long_decimal_key_with_range_min_lt_0 (0.02s) 294s --- PASS: TestGenerate/Array_of_integers (0.04s) 294s --- PASS: TestGenerate/One_text_key (0.03s) 294s --- PASS: TestGenerate/Description_starting_with_deprecated_is_ignored (0.01s) 294s --- PASS: TestGenerate/Override_without_session_takes_default (0.06s) 294s --- PASS: TestGenerate/Missing_XML_declaration_is_successfully_parsed (0.00s) 294s --- PASS: TestGenerate/Same_key_relocated_twice (0.02s) 294s --- PASS: TestGenerate/Description_starting_with_obsolete_is_ignored (0.00s) 294s --- PASS: TestGenerate/One_decimal_key (0.04s) 294s --- PASS: TestGenerate/Override_takes_first_session (0.07s) 294s --- PASS: TestGenerate/Double_key_with_range (0.05s) 294s --- PASS: TestGenerate/Invalid_class (0.03s) 294s PASS 294s ok github.com/ubuntu/adsys/internal/ad/admxgen/dconf 0.144s 294s ? github.com/ubuntu/adsys/internal/ad/backends [no test files] 294s ? github.com/ubuntu/adsys/internal/ad/backends/mock [no test files] 294s === RUN TestSSSD 294s === PAUSE TestSSSD 294s === CONT TestSSSD 294s === RUN TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 294s === PAUSE TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 294s === RUN TestSSSD/Ignore_upper_cases_in_domain_name 294s === PAUSE TestSSSD/Ignore_upper_cases_in_domain_name 294s === RUN TestSSSD/Regular_config,_with_cache_dir 294s === PAUSE TestSSSD/Regular_config,_with_cache_dir 294s === RUN TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 294s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 294s === RUN TestSSSD/Error_on_sssd_conf_does_not_exists 294s === PAUSE TestSSSD/Error_on_sssd_conf_does_not_exists 294s === RUN TestSSSD/Error_on_sssd_domain_empty_section 294s === PAUSE TestSSSD/Error_on_sssd_domain_empty_section 294s === RUN TestSSSD/Multiple_domains,_pick_first 294s === PAUSE TestSSSD/Multiple_domains,_pick_first 294s === RUN TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 294s === PAUSE TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 294s === RUN TestSSSD/Default_domain_suffix_is_read 294s === PAUSE TestSSSD/Default_domain_suffix_is_read 294s === RUN TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 294s === PAUSE TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 294s === RUN TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 294s === PAUSE TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 294s === RUN TestSSSD/Error_on_empty_domains_field 294s === PAUSE TestSSSD/Error_on_empty_domains_field 294s === RUN TestSSSD/Regular_config 294s === PAUSE TestSSSD/Regular_config 294s === RUN TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 294s === PAUSE TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 294s === RUN TestSSSD/Is_not_online 294s === PAUSE TestSSSD/Is_not_online 294s === RUN TestSSSD/Can_handle_special_DNS_domain_characters 294s === PAUSE TestSSSD/Can_handle_special_DNS_domain_characters 294s === RUN TestSSSD/SSSd_domain_can_not_match_ad_domain 294s === PAUSE TestSSSD/SSSd_domain_can_not_match_ad_domain 294s === RUN TestSSSD/Use_domain_from_section_if_no_ad_domain 294s === PAUSE TestSSSD/Use_domain_from_section_if_no_ad_domain 294s === RUN TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 294s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 294s === RUN TestSSSD/Error_on_no_domains_field 294s === PAUSE TestSSSD/Error_on_no_domains_field 294s === RUN TestSSSD/No_sssd_conf_loads_the_default 294s === PAUSE TestSSSD/No_sssd_conf_loads_the_default 294s === RUN TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 294s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 294s === RUN TestSSSD/Error_on_no_sssd_section 294s === PAUSE TestSSSD/Error_on_no_sssd_section 294s === RUN TestSSSD/Error_on_sssd_domain_section_missing 294s === PAUSE TestSSSD/Error_on_sssd_domain_section_missing 294s === CONT TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 294s === CONT TestSSSD/Error_on_sssd_domain_section_missing 294s === CONT TestSSSD/Regular_config 294s === CONT TestSSSD/Error_on_no_sssd_section 294s === CONT TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 294s === CONT TestSSSD/Error_on_empty_domains_field 294s === CONT TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 294s === CONT TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 294s === CONT TestSSSD/Default_domain_suffix_is_read 294s === CONT TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 294s === CONT TestSSSD/Multiple_domains,_pick_first 294s === CONT TestSSSD/Error_on_sssd_domain_empty_section 294s === CONT TestSSSD/Error_on_sssd_conf_does_not_exists 294s === CONT TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 294s === CONT TestSSSD/Regular_config,_with_cache_dir 294s === CONT TestSSSD/Ignore_upper_cases_in_domain_name 294s === CONT TestSSSD/No_sssd_conf_loads_the_default 294s === CONT TestSSSD/Error_on_no_domains_field 294s === CONT TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 294s === CONT TestSSSD/Use_domain_from_section_if_no_ad_domain 294s === CONT TestSSSD/SSSd_domain_can_not_match_ad_domain 294s === CONT TestSSSD/Can_handle_special_DNS_domain_characters 294s === CONT TestSSSD/Is_not_online 294s === CONT TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 294s --- PASS: TestSSSD (0.00s) 294s --- PASS: TestSSSD/Error_on_sssd_domain_section_missing (0.00s) 294s --- PASS: TestSSSD/Error_on_no_sssd_section (0.00s) 294s --- PASS: TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter (0.00s) 294s --- PASS: TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server (0.00s) 294s --- PASS: TestSSSD/Error_on_sssd_domain_empty_section (0.00s) 294s --- PASS: TestSSSD/Error_on_sssd_conf_does_not_exists (0.00s) 294s --- PASS: TestSSSD/Error_on_empty_domains_field (0.01s) 294s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out (0.02s) 294s --- PASS: TestSSSD/Multiple_domains,_pick_first (0.02s) 294s --- PASS: TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server (0.02s) 294s --- PASS: TestSSSD/No_sssd_conf_loads_the_default (0.00s) 294s --- PASS: TestSSSD/Error_on_no_domains_field (0.00s) 294s --- PASS: TestSSSD/Regular_config (0.02s) 294s --- PASS: TestSSSD/Regular_config,_with_cache_dir (0.01s) 294s --- PASS: TestSSSD/Default_domain_suffix_is_read (0.03s) 294s --- PASS: TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out (0.03s) 294s --- PASS: TestSSSD/Ignore_upper_cases_in_domain_name (0.01s) 294s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object (0.02s) 294s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided (0.01s) 294s --- PASS: TestSSSD/Use_domain_from_section_if_no_ad_domain (0.01s) 294s --- PASS: TestSSSD/SSSd_domain_can_not_match_ad_domain (0.01s) 294s --- PASS: TestSSSD/Can_handle_special_DNS_domain_characters (0.01s) 294s --- PASS: TestSSSD/Is_not_online (0.01s) 294s --- PASS: TestSSSD/Ad_server_defined_in_config_does_not_need_active_server (0.01s) 294s PASS 294s ok github.com/ubuntu/adsys/internal/ad/backends/sss 0.157s 294s === RUN TestWinbind 294s winbind_test.go:25: Running subprocess with [/tmp/go-build174633164/b617/winbind.test -test.testlogfile=/tmp/go-build174633164/b617/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestWinbind] 294s === RUN TestWinbind 294s === RUN TestWinbind/Lookup_is_successful 294s === RUN TestWinbind/Lookup_with_different_hostname_is_successful 294s === RUN TestWinbind/Lookup_with_overridden_ad_domain 294s === RUN TestWinbind/Error_when_looking_up_DC_name 294s === RUN TestWinbind/Error_when_domain_is_offline 294s === RUN TestWinbind/Error_when_requesting_krb5cc 294s === RUN TestWinbind/Lookup_with_overridden_ad_server 294s === RUN TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix 294s === RUN TestWinbind/Error_when_looking_up_domain 294s === RUN TestWinbind/Error_when_getting_online_status 294s --- PASS: TestWinbind (0.27s) 294s --- PASS: TestWinbind/Lookup_is_successful (0.06s) 294s --- PASS: TestWinbind/Lookup_with_different_hostname_is_successful (0.03s) 294s --- PASS: TestWinbind/Lookup_with_overridden_ad_domain (0.03s) 294s --- PASS: TestWinbind/Error_when_looking_up_DC_name (0.04s) 294s --- PASS: TestWinbind/Error_when_domain_is_offline (0.02s) 294s --- PASS: TestWinbind/Error_when_requesting_krb5cc (0.02s) 294s --- PASS: TestWinbind/Lookup_with_overridden_ad_server (0.02s) 294s --- PASS: TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix (0.03s) 294s --- PASS: TestWinbind/Error_when_looking_up_domain (0.00s) 294s --- PASS: TestWinbind/Error_when_getting_online_status (0.02s) 294s PASS 294s --- PASS: TestWinbind (0.68s) 294s === RUN TestExecuteKinitCommand 294s --- PASS: TestExecuteKinitCommand (0.00s) 294s PASS 294s ok github.com/ubuntu/adsys/internal/ad/backends/winbind 0.755s 294s === RUN TestGetVersionID 294s === PAUSE TestGetVersionID 294s === CONT TestGetVersionID 294s === RUN TestGetVersionID/No_VERSION_ID_in_file 294s === PAUSE TestGetVersionID/No_VERSION_ID_in_file 294s === RUN TestGetVersionID/No_os-release_file 294s === PAUSE TestGetVersionID/No_os-release_file 294s === RUN TestGetVersionID/Read_VERSION_ID 294s === PAUSE TestGetVersionID/Read_VERSION_ID 294s === CONT TestGetVersionID/No_VERSION_ID_in_file 294s === CONT TestGetVersionID/Read_VERSION_ID 294s === CONT TestGetVersionID/No_os-release_file 294s --- PASS: TestGetVersionID (0.00s) 294s --- PASS: TestGetVersionID/No_VERSION_ID_in_file (0.00s) 294s --- PASS: TestGetVersionID/Read_VERSION_ID (0.00s) 294s --- PASS: TestGetVersionID/No_os-release_file (0.00s) 294s PASS 294s ok github.com/ubuntu/adsys/internal/ad/common 0.018s 294s === RUN TestReadPolicy 294s === PAUSE TestReadPolicy 294s === RUN TestDecodePolicy 294s === PAUSE TestDecodePolicy 294s === CONT TestReadPolicy 294s === CONT TestDecodePolicy 294s === RUN TestDecodePolicy/basic_type,_enabled 294s === PAUSE TestDecodePolicy/basic_type,_enabled 294s === RUN TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 294s === PAUSE TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 294s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 294s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 294s === RUN TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 294s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 294s === RUN TestDecodePolicy/invalid_header,_header_doesnt_match 294s === PAUSE TestDecodePolicy/invalid_header,_header_doesnt_match 294s === RUN TestDecodePolicy/empty_key 294s === PAUSE TestDecodePolicy/empty_key 294s === RUN TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 294s === PAUSE TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 294s === RUN TestDecodePolicy/container_strategy_is_reflected_on_child 294s === PAUSE TestDecodePolicy/container_strategy_is_reflected_on_child 294s === RUN TestDecodePolicy/disabled_container_with_disabled_option_values 294s === PAUSE TestDecodePolicy/disabled_container_with_disabled_option_values 294s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 294s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 294s === RUN TestDecodePolicy/empty_data 294s === PAUSE TestDecodePolicy/empty_data 294s === RUN TestDecodePolicy/invalid_header,_header_too_short 294s === PAUSE TestDecodePolicy/invalid_header,_header_too_short 294s === RUN TestDecodePolicy/invalid_header,_file_truncated 294s === PAUSE TestDecodePolicy/invalid_header,_file_truncated 294s === RUN TestDecodePolicy/invalid_container_default_values 294s === PAUSE TestDecodePolicy/invalid_container_default_values 294s === RUN TestDecodePolicy/missing_field 294s === PAUSE TestDecodePolicy/missing_field 294s === RUN TestDecodePolicy/key_is_not_utf16 294s === PAUSE TestDecodePolicy/key_is_not_utf16 294s === RUN TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 294s === PAUSE TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 294s === RUN TestDecodePolicy/container_with_default_elements_override_empty_option_values 294s === PAUSE TestDecodePolicy/container_with_default_elements_override_empty_option_values 294s === RUN TestDecodePolicy/container_without_metavalues 294s === PAUSE TestDecodePolicy/container_without_metavalues 294s === RUN TestDecodePolicy/section_not_closed 294s === PAUSE TestDecodePolicy/section_not_closed 294s === RUN TestDecodePolicy/value_is_not_utf16 294s === PAUSE TestDecodePolicy/value_is_not_utf16 294s === RUN TestDecodePolicy/basic_type,_disabled 294s === PAUSE TestDecodePolicy/basic_type,_disabled 294s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 294s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 294s === RUN TestDecodePolicy/container_with_meta_elements_and_value_on_options 294s === PAUSE TestDecodePolicy/container_with_meta_elements_and_value_on_options 294s === RUN TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 294s === PAUSE TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 294s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 294s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 294s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 294s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 294s === RUN TestDecodePolicy/one_element,_disabled 294s === PAUSE TestDecodePolicy/one_element,_disabled 294s === RUN TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 294s === PAUSE TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 294s === RUN TestDecodePolicy/section_separators_in_data 294s === PAUSE TestDecodePolicy/section_separators_in_data 294s === RUN TestDecodePolicy/null_character_in_data 294s === PAUSE TestDecodePolicy/null_character_in_data 294s === RUN TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 294s === PAUSE TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 294s === RUN TestDecodePolicy/invalid_decimal_value 294s === PAUSE TestDecodePolicy/invalid_decimal_value 294s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 294s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 294s === RUN TestDecodePolicy/semicolon_in_data 294s === PAUSE TestDecodePolicy/semicolon_in_data 294s === RUN TestDecodePolicy/one_element,_multitext_value 294s === PAUSE TestDecodePolicy/one_element,_multitext_value 294s === RUN TestDecodePolicy/basic_type_with_strategy 294s === PAUSE TestDecodePolicy/basic_type_with_strategy 294s === RUN TestDecodePolicy/disabled_container_disables_its_option_values 294s === PAUSE TestDecodePolicy/disabled_container_disables_its_option_values 294s === RUN TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 294s === PAUSE TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 294s === RUN TestDecodePolicy/exotic_return_type 294s === PAUSE TestDecodePolicy/exotic_return_type 294s === RUN TestDecodePolicy/empty_file 294s === PAUSE TestDecodePolicy/empty_file 294s === RUN TestDecodePolicy/one_element,_string_value 294s === PAUSE TestDecodePolicy/one_element,_string_value 294s === RUN TestDecodePolicy/one_element,_decimal_value 294s === PAUSE TestDecodePolicy/one_element,_decimal_value 294s === RUN TestDecodePolicy/two_elements 294s === PAUSE TestDecodePolicy/two_elements 294s === RUN TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 294s === PAUSE TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 294s === RUN TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 294s === PAUSE TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 294s === RUN TestDecodePolicy/empty_value 294s === PAUSE TestDecodePolicy/empty_value 294s === RUN TestDecodePolicy/header_only 294s === PAUSE TestDecodePolicy/header_only 294s === RUN TestDecodePolicy/no_header 294s === PAUSE TestDecodePolicy/no_header 294s === CONT TestDecodePolicy/basic_type,_enabled 294s === CONT TestDecodePolicy/no_header 294s === CONT TestDecodePolicy/header_only 294s === CONT TestDecodePolicy/empty_value 294s === CONT TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 294s === CONT TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 294s === CONT TestDecodePolicy/two_elements 294s === CONT TestDecodePolicy/one_element,_decimal_value 294s === CONT TestDecodePolicy/basic_type,_disabled 294s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 294s === RUN TestReadPolicy/empty_key 294s === PAUSE TestReadPolicy/empty_key 294s === RUN TestReadPolicy/one_element,_string_value 294s === PAUSE TestReadPolicy/one_element,_string_value 294s === RUN TestReadPolicy/very_large_gpo 294s === PAUSE TestReadPolicy/very_large_gpo 294s === RUN TestReadPolicy/no_header 294s === PAUSE TestReadPolicy/no_header 294s === RUN TestReadPolicy/empty_file 294s === PAUSE TestReadPolicy/empty_file 294s === RUN TestReadPolicy/value_is_not_utf16 294s === PAUSE TestReadPolicy/value_is_not_utf16 294s === RUN TestReadPolicy/memory_on_multiple_elements_dont_overlap 294s === PAUSE TestReadPolicy/memory_on_multiple_elements_dont_overlap 294s === CONT TestDecodePolicy/invalid_decimal_value 294s === CONT TestDecodePolicy/basic_type_with_strategy 294s === CONT TestDecodePolicy/one_element,_multitext_value 294s === CONT TestDecodePolicy/semicolon_in_data 294s === RUN TestReadPolicy/invalid_header,_file_truncated 294s === PAUSE TestReadPolicy/invalid_header,_file_truncated 294s === RUN TestReadPolicy/section_not_closed 294s === PAUSE TestReadPolicy/section_not_closed 294s === RUN TestReadPolicy/one_element,_decimal_value 294s === PAUSE TestReadPolicy/one_element,_decimal_value 294s === RUN TestReadPolicy/section_separators_in_data 294s === PAUSE TestReadPolicy/section_separators_in_data 294s === RUN TestReadPolicy/exotic_return_type 294s === PAUSE TestReadPolicy/exotic_return_type 294s === RUN TestReadPolicy/empty_value 294s === PAUSE TestReadPolicy/empty_value 294s === RUN TestReadPolicy/missing_field 294s === PAUSE TestReadPolicy/missing_field 294s === RUN TestReadPolicy/key_is_not_utf16 294s === PAUSE TestReadPolicy/key_is_not_utf16 294s === RUN TestReadPolicy/two_elements 294s === PAUSE TestReadPolicy/two_elements 294s === RUN TestReadPolicy/semicolon_in_data 294s === PAUSE TestReadPolicy/semicolon_in_data 294s === RUN TestReadPolicy/header_only 294s === PAUSE TestReadPolicy/header_only 294s === RUN TestReadPolicy/invalid_header,_header_doesnt_match 294s === PAUSE TestReadPolicy/invalid_header,_header_doesnt_match 294s === RUN TestReadPolicy/invalid_header,_header_too_short 294s === PAUSE TestReadPolicy/invalid_header,_header_too_short 294s === CONT TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 294s === CONT TestDecodePolicy/null_character_in_data 294s === CONT TestDecodePolicy/section_separators_in_data 294s === CONT TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 294s === CONT TestDecodePolicy/one_element,_disabled 294s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 294s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 294s === CONT TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 294s === CONT TestDecodePolicy/container_with_meta_elements_and_value_on_options 294s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 294s === CONT TestDecodePolicy/container_with_default_elements_override_empty_option_values 294s === CONT TestDecodePolicy/empty_file 294s === CONT TestDecodePolicy/one_element,_string_value 294s === CONT TestDecodePolicy/invalid_header,_header_too_short 294s === CONT TestDecodePolicy/value_is_not_utf16 294s === CONT TestDecodePolicy/section_not_closed 294s === CONT TestDecodePolicy/container_without_metavalues 294s === CONT TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 294s === CONT TestDecodePolicy/key_is_not_utf16 294s === CONT TestDecodePolicy/missing_field 294s === CONT TestDecodePolicy/invalid_container_default_values 294s === CONT TestDecodePolicy/invalid_header,_file_truncated 294s === CONT TestDecodePolicy/exotic_return_type 294s === CONT TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 294s === CONT TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 294s === CONT TestDecodePolicy/empty_data 294s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 294s === CONT TestDecodePolicy/disabled_container_with_disabled_option_values 294s === CONT TestDecodePolicy/container_strategy_is_reflected_on_child 294s === CONT TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 294s === CONT TestDecodePolicy/empty_key 294s === CONT TestDecodePolicy/invalid_header,_header_doesnt_match 294s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 294s === CONT TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 294s === CONT TestReadPolicy/empty_key 294s === CONT TestDecodePolicy/disabled_container_disables_its_option_values 294s === CONT TestReadPolicy/invalid_header,_header_too_short 294s === CONT TestReadPolicy/invalid_header,_header_doesnt_match 294s === CONT TestReadPolicy/header_only 294s === CONT TestReadPolicy/semicolon_in_data 294s === CONT TestReadPolicy/two_elements 294s === CONT TestReadPolicy/key_is_not_utf16 294s === CONT TestReadPolicy/missing_field 294s === CONT TestReadPolicy/empty_value 294s === CONT TestReadPolicy/exotic_return_type 294s === CONT TestReadPolicy/section_separators_in_data 294s === CONT TestReadPolicy/one_element,_decimal_value 294s === CONT TestReadPolicy/section_not_closed 294s === CONT TestReadPolicy/invalid_header,_file_truncated 294s === CONT TestReadPolicy/memory_on_multiple_elements_dont_overlap 294s === CONT TestReadPolicy/value_is_not_utf16 294s === CONT TestReadPolicy/empty_file 294s === CONT TestReadPolicy/no_header 294s === CONT TestReadPolicy/very_large_gpo 294s === CONT TestReadPolicy/one_element,_string_value 294s --- PASS: TestDecodePolicy (0.00s) 294s --- PASS: TestDecodePolicy/basic_type,_enabled (0.00s) 294s --- PASS: TestDecodePolicy/no_header (0.00s) 294s --- PASS: TestDecodePolicy/header_only (0.00s) 294s --- PASS: TestDecodePolicy/empty_value (0.00s) 294s --- PASS: TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker (0.00s) 294s --- PASS: TestDecodePolicy/basic_type_with_default_value_has_value_filed_in (0.00s) 294s --- PASS: TestDecodePolicy/two_elements (0.00s) 294s --- PASS: TestDecodePolicy/one_element,_decimal_value (0.01s) 294s --- PASS: TestDecodePolicy/one_element,_multitext_value (0.01s) 294s --- PASS: TestDecodePolicy/section_separators_in_data (0.00s) 294s --- PASS: TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker (0.00s) 294s --- PASS: TestDecodePolicy/one_element,_disabled (0.00s) 294s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none (0.00s) 294s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values (0.00s) 294s --- PASS: TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type (0.00s) 294s --- PASS: TestDecodePolicy/basic_type,_disabled (0.02s) 294s --- PASS: TestDecodePolicy/null_character_in_data (0.01s) 294s --- PASS: TestDecodePolicy/semicolon_in_data (0.02s) 294s --- PASS: TestDecodePolicy/basic_type_with_strategy (0.02s) 294s --- PASS: TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type (0.02s) 294s --- PASS: TestDecodePolicy/invalid_decimal_value (0.02s) 294s --- PASS: TestDecodePolicy/container_with_meta_elements_and_value_on_options (0.00s) 294s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) (0.02s) 294s --- PASS: TestDecodePolicy/container_with_default_elements_override_empty_option_values (0.00s) 294s --- PASS: TestDecodePolicy/section_not_closed (0.00s) 294s --- PASS: TestDecodePolicy/value_is_not_utf16 (0.00s) 294s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values (0.00s) 294s --- PASS: TestDecodePolicy/container_without_metavalues (0.00s) 294s --- PASS: TestDecodePolicy/invalid_header,_header_too_short (0.00s) 294s --- PASS: TestDecodePolicy/one_element,_string_value (0.00s) 294s --- PASS: TestDecodePolicy/empty_file (0.00s) 294s --- PASS: TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy (0.00s) 294s --- PASS: TestDecodePolicy/invalid_header,_file_truncated (0.00s) 294s --- PASS: TestDecodePolicy/key_is_not_utf16 (0.00s) 294s --- PASS: TestDecodePolicy/missing_field (0.00s) 294s --- PASS: TestDecodePolicy/empty_data (0.00s) 294s --- PASS: TestDecodePolicy/container_strategy_is_reflected_on_child (0.00s) 294s --- PASS: TestDecodePolicy/empty_key (0.00s) 294s --- PASS: TestDecodePolicy/invalid_header,_header_doesnt_match (0.00s) 294s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined (0.00s) 294s --- PASS: TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options (0.00s) 294s --- PASS: TestDecodePolicy/disabled_container_with_disabled_option_values (0.00s) 294s --- PASS: TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings (0.01s) 294s --- PASS: TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker (0.01s) 294s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values (0.01s) 294s --- PASS: TestDecodePolicy/invalid_container_default_values (0.01s) 294s --- PASS: TestDecodePolicy/exotic_return_type (0.01s) 294s --- PASS: TestDecodePolicy/disabled_container_disables_its_option_values (0.01s) 294s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none (0.02s) 294s --- PASS: TestReadPolicy (0.01s) 294s --- PASS: TestReadPolicy/empty_key (0.00s) 294s --- PASS: TestReadPolicy/invalid_header,_header_doesnt_match (0.00s) 294s --- PASS: TestReadPolicy/invalid_header,_header_too_short (0.00s) 294s --- PASS: TestReadPolicy/header_only (0.00s) 294s --- PASS: TestReadPolicy/missing_field (0.00s) 294s --- PASS: TestReadPolicy/exotic_return_type (0.00s) 294s --- PASS: TestReadPolicy/semicolon_in_data (0.00s) 294s --- PASS: TestReadPolicy/empty_value (0.00s) 294s --- PASS: TestReadPolicy/one_element,_decimal_value (0.00s) 294s --- PASS: TestReadPolicy/key_is_not_utf16 (0.00s) 294s --- PASS: TestReadPolicy/empty_file (0.00s) 294s --- PASS: TestReadPolicy/no_header (0.00s) 294s --- PASS: TestReadPolicy/two_elements (0.01s) 294s --- PASS: TestReadPolicy/memory_on_multiple_elements_dont_overlap (0.01s) 294s --- PASS: TestReadPolicy/one_element,_string_value (0.00s) 294s --- PASS: TestReadPolicy/value_is_not_utf16 (0.01s) 294s --- PASS: TestReadPolicy/section_not_closed (0.01s) 294s --- PASS: TestReadPolicy/section_separators_in_data (0.01s) 294s --- PASS: TestReadPolicy/invalid_header,_file_truncated (0.01s) 294s --- PASS: TestReadPolicy/very_large_gpo (0.01s) 294s === RUN FuzzDecodePolicy 294s === RUN FuzzDecodePolicy/seed#0 294s === RUN FuzzDecodePolicy/seed#1 294s === RUN FuzzDecodePolicy/seed#2 294s === RUN FuzzDecodePolicy/seed#3 294s === RUN FuzzDecodePolicy/seed#4 294s === RUN FuzzDecodePolicy/seed#5 294s === RUN FuzzDecodePolicy/seed#6 294s === RUN FuzzDecodePolicy/seed#7 294s === RUN FuzzDecodePolicy/seed#8 294s === RUN FuzzDecodePolicy/seed#9 294s === RUN FuzzDecodePolicy/seed#10 294s === RUN FuzzDecodePolicy/seed#11 294s === RUN FuzzDecodePolicy/seed#12 294s === RUN FuzzDecodePolicy/seed#13 294s === RUN FuzzDecodePolicy/seed#14 294s === RUN FuzzDecodePolicy/seed#15 294s === RUN FuzzDecodePolicy/seed#16 294s === RUN FuzzDecodePolicy/seed#17 294s === RUN FuzzDecodePolicy/seed#18 294s === RUN FuzzDecodePolicy/seed#19 294s === RUN FuzzDecodePolicy/seed#20 294s === RUN FuzzDecodePolicy/seed#21 294s === RUN FuzzDecodePolicy/seed#22 294s === RUN FuzzDecodePolicy/seed#23 294s === RUN FuzzDecodePolicy/seed#24 294s === RUN FuzzDecodePolicy/seed#25 294s === RUN FuzzDecodePolicy/seed#26 294s === RUN FuzzDecodePolicy/seed#27 294s === RUN FuzzDecodePolicy/seed#28 294s === RUN FuzzDecodePolicy/seed#29 294s === RUN FuzzDecodePolicy/seed#30 294s === RUN FuzzDecodePolicy/seed#31 294s === RUN FuzzDecodePolicy/seed#32 294s === RUN FuzzDecodePolicy/seed#33 294s === RUN FuzzDecodePolicy/seed#34 294s === RUN FuzzDecodePolicy/seed#35 294s === RUN FuzzDecodePolicy/seed#36 294s === RUN FuzzDecodePolicy/seed#37 294s === RUN FuzzDecodePolicy/seed#38 294s === RUN FuzzDecodePolicy/seed#39 294s === RUN FuzzDecodePolicy/seed#40 294s === RUN FuzzDecodePolicy/seed#41 294s === RUN FuzzDecodePolicy/seed#42 294s === RUN FuzzDecodePolicy/seed#43 294s === RUN FuzzDecodePolicy/seed#44 294s === RUN FuzzDecodePolicy/seed#45 295s === RUN FuzzDecodePolicy/seed#46 295s === RUN FuzzDecodePolicy/seed#47 295s === RUN FuzzDecodePolicy/seed#48 295s === RUN FuzzDecodePolicy/seed#49 295s === RUN FuzzDecodePolicy/seed#50 295s === RUN FuzzDecodePolicy/seed#51 295s === RUN FuzzDecodePolicy/seed#52 295s === RUN FuzzDecodePolicy/seed#53 295s === RUN FuzzDecodePolicy/0062cd090fe349d2 295s === RUN FuzzDecodePolicy/04b7526092323e1c 295s === RUN FuzzDecodePolicy/0defa8b97933a28f 295s === RUN FuzzDecodePolicy/133d1110defea029 295s === RUN FuzzDecodePolicy/1417961320cddc32 295s === RUN FuzzDecodePolicy/18ca9a9ddd9b04c5 295s === RUN FuzzDecodePolicy/1b6cf53b6668b5b8 295s === RUN FuzzDecodePolicy/1b723f18e7bbd2bd 295s === RUN FuzzDecodePolicy/1fa4e44bc7eaab2b 295s === RUN FuzzDecodePolicy/20bb28e943f3a163 295s === RUN FuzzDecodePolicy/20f9df382d135424 295s === RUN FuzzDecodePolicy/21a02646df37f4a3 295s === RUN FuzzDecodePolicy/222e7dcc7ccf2b94 295s === RUN FuzzDecodePolicy/263b842aaa06d620 295s === RUN FuzzDecodePolicy/28ee70a86ff08ae5 295s === RUN FuzzDecodePolicy/298aa48ef602f955 295s === RUN FuzzDecodePolicy/2cb06d9f4d5ffe78 295s === RUN FuzzDecodePolicy/2e90d7e4f1973efd 295s === RUN FuzzDecodePolicy/2f2f939e0f0a5dfa 295s === RUN FuzzDecodePolicy/2f559466be2bb6db 295s === RUN FuzzDecodePolicy/3183a1d080909e99 295s === RUN FuzzDecodePolicy/31b9c4efbfccaa4b 295s === RUN FuzzDecodePolicy/33661e4c5fce45df 295s === RUN FuzzDecodePolicy/33c1677cf59487f5 295s === RUN FuzzDecodePolicy/3a49e3a9b34e7ca0 295s === RUN FuzzDecodePolicy/3f5a8494482ab97f 295s === RUN FuzzDecodePolicy/40a5045c4171f005 295s === RUN FuzzDecodePolicy/44e971d5bd7f28b3 295s === RUN FuzzDecodePolicy/44ef800113434b04 295s === RUN FuzzDecodePolicy/471661e7b661c53d 295s === RUN FuzzDecodePolicy/476ca3647151c006 295s === RUN FuzzDecodePolicy/4843648786c70b38 295s === RUN FuzzDecodePolicy/48ca8b9fbeccc5a8 295s === RUN FuzzDecodePolicy/4a75b70e3bbd2aee 295s === RUN FuzzDecodePolicy/4ab54fbe4f748f85 295s === RUN FuzzDecodePolicy/4b03a60474b90bbd 295s === RUN FuzzDecodePolicy/4cf871ee411324fb 295s === RUN FuzzDecodePolicy/4f1d38c1e12aef6a 295s === RUN FuzzDecodePolicy/5044e53350040819 295s === RUN FuzzDecodePolicy/504944f54851313c 295s === RUN FuzzDecodePolicy/582528ddfad69eb5 295s === RUN FuzzDecodePolicy/593a3ee315061853 295s === RUN FuzzDecodePolicy/59d23806a24221a5 295s === RUN FuzzDecodePolicy/5a29ff4d9005ba8b 295s === RUN FuzzDecodePolicy/5f0ada98ca1ad1a9 295s === RUN FuzzDecodePolicy/62a8dced0efc9d72 295s === RUN FuzzDecodePolicy/68c1564da597fea0 295s === RUN FuzzDecodePolicy/69603dec84f1482b 295s === RUN FuzzDecodePolicy/6960c361007d8825 295s === RUN FuzzDecodePolicy/699e9d8d0197487d 295s === RUN FuzzDecodePolicy/6ccb1b379873af9f 295s === RUN FuzzDecodePolicy/6d1b1e240f60f6c9 295s === RUN FuzzDecodePolicy/6d3215f003388cf1 295s === RUN FuzzDecodePolicy/6d817b46e0caad15 295s === RUN FuzzDecodePolicy/6dc2686e428754f3 295s === RUN FuzzDecodePolicy/6ddc8b3bed7c0e39 295s === RUN FuzzDecodePolicy/6e0990202f9b9d55 295s === RUN FuzzDecodePolicy/6e1da4d6ea90bc7a 295s === RUN FuzzDecodePolicy/6f0e2fcef25f63cf 295s === RUN FuzzDecodePolicy/72cca4222533d089 295s === RUN FuzzDecodePolicy/731d3b5bde9cc690 295s === RUN FuzzDecodePolicy/7361de35bf70bf17 295s === RUN FuzzDecodePolicy/749f16c9bc3cc87e 295s === RUN FuzzDecodePolicy/74ac7250a3338978 295s === RUN FuzzDecodePolicy/758383ad78d1ddd4 295s === RUN FuzzDecodePolicy/76f1ccb3afa04e6e 295s === RUN FuzzDecodePolicy/795ceb881d4221e3 295s === RUN FuzzDecodePolicy/7b60c5de747214b6 295s === RUN FuzzDecodePolicy/7bc7f7ba36ff22f5 295s === RUN FuzzDecodePolicy/7f3faed21426db2f 295s === RUN FuzzDecodePolicy/82a803231677d0f5 295s === RUN FuzzDecodePolicy/837bc22f260799fd 295s === RUN FuzzDecodePolicy/85315bd4891f6c1e 295s === RUN FuzzDecodePolicy/867b5ab9e5d21aea 295s === RUN FuzzDecodePolicy/888de5c9e80ce3b0 295s === RUN FuzzDecodePolicy/8a61b9487446d726 295s === RUN FuzzDecodePolicy/8b0f0dee6f9a48fd 295s === RUN FuzzDecodePolicy/8e8f4e91b7c5bfd0 295s === RUN FuzzDecodePolicy/8f19b0f96affeba8 295s === RUN FuzzDecodePolicy/9334c46469323973 295s === RUN FuzzDecodePolicy/9604c69b88bc6151 295s === RUN FuzzDecodePolicy/963211680af6bd1a 295s === RUN FuzzDecodePolicy/972db90b4d6a1d5b 295s === RUN FuzzDecodePolicy/985ec3cbf457896a 295s === RUN FuzzDecodePolicy/997536fa86bbbc34 295s === RUN FuzzDecodePolicy/9acd70418e457d18 295s === RUN FuzzDecodePolicy/9b0a4105f1089a20 295s === RUN FuzzDecodePolicy/9d8cdc0719c46928 295s === RUN FuzzDecodePolicy/9e6f333572766a4b 295s === RUN FuzzDecodePolicy/9e943f761adfbbd0 295s === RUN FuzzDecodePolicy/a1698d53f5c4d82d 295s === RUN FuzzDecodePolicy/a1841a4689867471 295s === RUN FuzzDecodePolicy/a26ca284000eeff9 295s === RUN FuzzDecodePolicy/a552164bb872fda4 295s === RUN FuzzDecodePolicy/a9c5e443bf44c80d 295s === RUN FuzzDecodePolicy/ac277569a745611f 295s === RUN FuzzDecodePolicy/ac53c3dce7a4706d 295s === RUN FuzzDecodePolicy/ada28ad70c7345f1 295s === RUN FuzzDecodePolicy/adb9a13c291b7e8c 295s === RUN FuzzDecodePolicy/aeb9d5c55731dae0 295s === RUN FuzzDecodePolicy/af71c7d394bbf535 295s === RUN FuzzDecodePolicy/b0ecd34477c6628e 295s === RUN FuzzDecodePolicy/b1585b9aa01c16b3 295s === RUN FuzzDecodePolicy/b6264d058ed4028a 295s === RUN FuzzDecodePolicy/b6790bea1e752c32 295s === RUN FuzzDecodePolicy/b741e8aa6c8179ba 295s === RUN FuzzDecodePolicy/b9032509681e867b 295s === RUN FuzzDecodePolicy/bb684f658455e982 295s === RUN FuzzDecodePolicy/bc6ddfc82e38438b 295s === RUN FuzzDecodePolicy/bf4f46d3858edb39 295s === RUN FuzzDecodePolicy/bfdd1bd65b5f5c04 295s === RUN FuzzDecodePolicy/c01841582b4cdc2f 295s === RUN FuzzDecodePolicy/c340eca55c3c30e3 295s === RUN FuzzDecodePolicy/c39235a2f77e92fd 295s === RUN FuzzDecodePolicy/c4d9def3916de265 295s === RUN FuzzDecodePolicy/c610d176a1726c39 295s === RUN FuzzDecodePolicy/ca683af05a78b772 295s === RUN FuzzDecodePolicy/cac340cbf4f81f48 295s === RUN FuzzDecodePolicy/ccdaead0f44dc069 295s === RUN FuzzDecodePolicy/ce8467c12ac1478e 295s === RUN FuzzDecodePolicy/cebcbd67b0b51d54 295s === RUN FuzzDecodePolicy/cf318b520a8e55be 295s === RUN FuzzDecodePolicy/cf592b0a6a725d1c 295s === RUN FuzzDecodePolicy/d0b8dc40737b3ff0 295s === RUN FuzzDecodePolicy/d2969c8e25b51895 295s === RUN FuzzDecodePolicy/d4e956bdff66867a 295s === RUN FuzzDecodePolicy/d5b932675c6ca808 295s === RUN FuzzDecodePolicy/dac7bf5435c51dea 295s === RUN FuzzDecodePolicy/dddc8d06ef526aba 295s === RUN FuzzDecodePolicy/e3065cb3ac7c0f78 295s === RUN FuzzDecodePolicy/e4242a66193c4579 295s === RUN FuzzDecodePolicy/e4a4780eb4ee185b 295s === RUN FuzzDecodePolicy/e5b22ed07e48d3fb 295s === RUN FuzzDecodePolicy/e7e4a84593481e49 295s === RUN FuzzDecodePolicy/e8030826b4125cbb 295s === RUN FuzzDecodePolicy/e923261af5ebad81 295s === RUN FuzzDecodePolicy/ea426f6b8bedc4d6 295s === RUN FuzzDecodePolicy/ead723bc16638dcb 295s === RUN FuzzDecodePolicy/f131b8f78f028a54 295s === RUN FuzzDecodePolicy/f1c1d58ecbe0d6dd 295s === RUN FuzzDecodePolicy/f3313a9f40c82a87 295s === RUN FuzzDecodePolicy/f4f490e788a76488 295s === RUN FuzzDecodePolicy/fa7acaf11cff6812 295s === RUN FuzzDecodePolicy/fb991a0182b5fe4d 295s === RUN FuzzDecodePolicy/fc0deb922246d3b7 295s === RUN FuzzDecodePolicy/fccd118f10988218 295s === RUN FuzzDecodePolicy/fe9d2018570dc6c6 295s === RUN FuzzDecodePolicy/ffd2d2b4544a818d 295s === RUN FuzzDecodePolicy/ffd60d90486b3974 295s === RUN FuzzDecodePolicy/regression-test-input-333 295s --- PASS: FuzzDecodePolicy (0.50s) 295s --- PASS: FuzzDecodePolicy/seed#0 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#1 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#2 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#3 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#4 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#5 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#6 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#7 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#8 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#9 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#10 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#11 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#12 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#13 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#14 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#15 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#16 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#17 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#18 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#19 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#20 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#21 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#22 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#23 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#24 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#25 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#26 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#27 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#28 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#29 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#30 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#31 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#32 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#33 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#34 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#35 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#36 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#37 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#38 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#39 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#40 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#41 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#42 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#43 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#44 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#45 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#46 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#47 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#48 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#49 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#50 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#51 (0.00s) 295s --- PASS: FuzzDecodePolicy/seed#52 (0.02s) 295s --- PASS: FuzzDecodePolicy/seed#53 (0.00s) 295s --- PASS: FuzzDecodePolicy/0062cd090fe349d2 (0.00s) 295s --- PASS: FuzzDecodePolicy/04b7526092323e1c (0.01s) 295s --- PASS: FuzzDecodePolicy/0defa8b97933a28f (0.00s) 295s --- PASS: FuzzDecodePolicy/133d1110defea029 (0.00s) 295s --- PASS: FuzzDecodePolicy/1417961320cddc32 (0.00s) 295s --- PASS: FuzzDecodePolicy/18ca9a9ddd9b04c5 (0.00s) 295s --- PASS: FuzzDecodePolicy/1b6cf53b6668b5b8 (0.00s) 295s --- PASS: FuzzDecodePolicy/1b723f18e7bbd2bd (0.00s) 295s --- PASS: FuzzDecodePolicy/1fa4e44bc7eaab2b (0.00s) 295s --- PASS: FuzzDecodePolicy/20bb28e943f3a163 (0.00s) 295s --- PASS: FuzzDecodePolicy/20f9df382d135424 (0.00s) 295s --- PASS: FuzzDecodePolicy/21a02646df37f4a3 (0.00s) 295s --- PASS: FuzzDecodePolicy/222e7dcc7ccf2b94 (0.00s) 295s --- PASS: FuzzDecodePolicy/263b842aaa06d620 (0.00s) 295s --- PASS: FuzzDecodePolicy/28ee70a86ff08ae5 (0.00s) 295s --- PASS: FuzzDecodePolicy/298aa48ef602f955 (0.00s) 295s --- PASS: FuzzDecodePolicy/2cb06d9f4d5ffe78 (0.00s) 295s --- PASS: FuzzDecodePolicy/2e90d7e4f1973efd (0.00s) 295s --- PASS: FuzzDecodePolicy/2f2f939e0f0a5dfa (0.00s) 295s --- PASS: FuzzDecodePolicy/2f559466be2bb6db (0.00s) 295s --- PASS: FuzzDecodePolicy/3183a1d080909e99 (0.00s) 295s --- PASS: FuzzDecodePolicy/31b9c4efbfccaa4b (0.00s) 295s --- PASS: FuzzDecodePolicy/33661e4c5fce45df (0.00s) 295s --- PASS: FuzzDecodePolicy/33c1677cf59487f5 (0.00s) 295s --- PASS: FuzzDecodePolicy/3a49e3a9b34e7ca0 (0.00s) 295s --- PASS: FuzzDecodePolicy/3f5a8494482ab97f (0.00s) 295s --- PASS: FuzzDecodePolicy/40a5045c4171f005 (0.00s) 295s --- PASS: FuzzDecodePolicy/44e971d5bd7f28b3 (0.00s) 295s --- PASS: FuzzDecodePolicy/44ef800113434b04 (0.05s) 295s --- PASS: FuzzDecodePolicy/471661e7b661c53d (0.00s) 295s --- PASS: FuzzDecodePolicy/476ca3647151c006 (0.00s) 295s --- PASS: FuzzDecodePolicy/4843648786c70b38 (0.00s) 295s --- PASS: FuzzDecodePolicy/48ca8b9fbeccc5a8 (0.00s) 295s --- PASS: FuzzDecodePolicy/4a75b70e3bbd2aee (0.00s) 295s --- PASS: FuzzDecodePolicy/4ab54fbe4f748f85 (0.00s) 295s --- PASS: FuzzDecodePolicy/4b03a60474b90bbd (0.00s) 295s --- PASS: FuzzDecodePolicy/4cf871ee411324fb (0.00s) 295s --- PASS: FuzzDecodePolicy/4f1d38c1e12aef6a (0.00s) 295s --- PASS: FuzzDecodePolicy/5044e53350040819 (0.00s) 295s --- PASS: FuzzDecodePolicy/504944f54851313c (0.00s) 295s --- PASS: FuzzDecodePolicy/582528ddfad69eb5 (0.00s) 295s --- PASS: FuzzDecodePolicy/593a3ee315061853 (0.00s) 295s --- PASS: FuzzDecodePolicy/59d23806a24221a5 (0.00s) 295s --- PASS: FuzzDecodePolicy/5a29ff4d9005ba8b (0.00s) 295s --- PASS: FuzzDecodePolicy/5f0ada98ca1ad1a9 (0.00s) 295s --- PASS: FuzzDecodePolicy/62a8dced0efc9d72 (0.01s) 295s --- PASS: FuzzDecodePolicy/68c1564da597fea0 (0.00s) 295s --- PASS: FuzzDecodePolicy/69603dec84f1482b (0.00s) 295s --- PASS: FuzzDecodePolicy/6960c361007d8825 (0.00s) 295s --- PASS: FuzzDecodePolicy/699e9d8d0197487d (0.00s) 295s --- PASS: FuzzDecodePolicy/6ccb1b379873af9f (0.00s) 295s --- PASS: FuzzDecodePolicy/6d1b1e240f60f6c9 (0.00s) 295s --- PASS: FuzzDecodePolicy/6d3215f003388cf1 (0.00s) 295s --- PASS: FuzzDecodePolicy/6d817b46e0caad15 (0.00s) 295s --- PASS: FuzzDecodePolicy/6dc2686e428754f3 (0.01s) 295s --- PASS: FuzzDecodePolicy/6ddc8b3bed7c0e39 (0.00s) 295s --- PASS: FuzzDecodePolicy/6e0990202f9b9d55 (0.00s) 295s --- PASS: FuzzDecodePolicy/6e1da4d6ea90bc7a (0.00s) 295s --- PASS: FuzzDecodePolicy/6f0e2fcef25f63cf (0.00s) 295s --- PASS: FuzzDecodePolicy/72cca4222533d089 (0.00s) 295s --- PASS: FuzzDecodePolicy/731d3b5bde9cc690 (0.00s) 295s --- PASS: FuzzDecodePolicy/7361de35bf70bf17 (0.00s) 295s --- PASS: FuzzDecodePolicy/749f16c9bc3cc87e (0.00s) 295s --- PASS: FuzzDecodePolicy/74ac7250a3338978 (0.00s) 295s --- PASS: FuzzDecodePolicy/758383ad78d1ddd4 (0.00s) 295s --- PASS: FuzzDecodePolicy/76f1ccb3afa04e6e (0.00s) 295s --- PASS: FuzzDecodePolicy/795ceb881d4221e3 (0.00s) 295s --- PASS: FuzzDecodePolicy/7b60c5de747214b6 (0.08s) 295s --- PASS: FuzzDecodePolicy/7bc7f7ba36ff22f5 (0.00s) 295s --- PASS: FuzzDecodePolicy/7f3faed21426db2f (0.00s) 295s --- PASS: FuzzDecodePolicy/82a803231677d0f5 (0.00s) 295s --- PASS: FuzzDecodePolicy/837bc22f260799fd (0.00s) 295s --- PASS: FuzzDecodePolicy/85315bd4891f6c1e (0.00s) 295s --- PASS: FuzzDecodePolicy/867b5ab9e5d21aea (0.00s) 295s --- PASS: FuzzDecodePolicy/888de5c9e80ce3b0 (0.01s) 295s --- PASS: FuzzDecodePolicy/8a61b9487446d726 (0.00s) 295s --- PASS: FuzzDecodePolicy/8b0f0dee6f9a48fd (0.00s) 295s --- PASS: FuzzDecodePolicy/8e8f4e91b7c5bfd0 (0.00s) 295s --- PASS: FuzzDecodePolicy/8f19b0f96affeba8 (0.00s) 295s --- PASS: FuzzDecodePolicy/9334c46469323973 (0.00s) 295s --- PASS: FuzzDecodePolicy/9604c69b88bc6151 (0.00s) 295s --- PASS: FuzzDecodePolicy/963211680af6bd1a (0.00s) 295s --- PASS: FuzzDecodePolicy/972db90b4d6a1d5b (0.00s) 295s --- PASS: FuzzDecodePolicy/985ec3cbf457896a (0.00s) 295s --- PASS: FuzzDecodePolicy/997536fa86bbbc34 (0.00s) 295s --- PASS: FuzzDecodePolicy/9acd70418e457d18 (0.00s) 295s --- PASS: FuzzDecodePolicy/9b0a4105f1089a20 (0.00s) 295s --- PASS: FuzzDecodePolicy/9d8cdc0719c46928 (0.00s) 295s --- PASS: FuzzDecodePolicy/9e6f333572766a4b (0.00s) 295s --- PASS: FuzzDecodePolicy/9e943f761adfbbd0 (0.00s) 295s --- PASS: FuzzDecodePolicy/a1698d53f5c4d82d (0.00s) 295s --- PASS: FuzzDecodePolicy/a1841a4689867471 (0.00s) 295s --- PASS: FuzzDecodePolicy/a26ca284000eeff9 (0.00s) 295s --- PASS: FuzzDecodePolicy/a552164bb872fda4 (0.00s) 295s --- PASS: FuzzDecodePolicy/a9c5e443bf44c80d (0.00s) 295s --- PASS: FuzzDecodePolicy/ac277569a745611f (0.00s) 295s --- PASS: FuzzDecodePolicy/ac53c3dce7a4706d (0.00s) 295s --- PASS: FuzzDecodePolicy/ada28ad70c7345f1 (0.00s) 295s --- PASS: FuzzDecodePolicy/adb9a13c291b7e8c (0.00s) 295s --- PASS: FuzzDecodePolicy/aeb9d5c55731dae0 (0.00s) 295s --- PASS: FuzzDecodePolicy/af71c7d394bbf535 (0.00s) 295s --- PASS: FuzzDecodePolicy/b0ecd34477c6628e (0.00s) 295s --- PASS: FuzzDecodePolicy/b1585b9aa01c16b3 (0.00s) 295s --- PASS: FuzzDecodePolicy/b6264d058ed4028a (0.00s) 295s --- PASS: FuzzDecodePolicy/b6790bea1e752c32 (0.00s) 295s --- PASS: FuzzDecodePolicy/b741e8aa6c8179ba (0.00s) 295s --- PASS: FuzzDecodePolicy/b9032509681e867b (0.00s) 295s --- PASS: FuzzDecodePolicy/bb684f658455e982 (0.00s) 295s --- PASS: FuzzDecodePolicy/bc6ddfc82e38438b (0.00s) 295s --- PASS: FuzzDecodePolicy/bf4f46d3858edb39 (0.00s) 295s --- PASS: FuzzDecodePolicy/bfdd1bd65b5f5c04 (0.00s) 295s --- PASS: FuzzDecodePolicy/c01841582b4cdc2f (0.00s) 295s --- PASS: FuzzDecodePolicy/c340eca55c3c30e3 (0.00s) 295s --- PASS: FuzzDecodePolicy/c39235a2f77e92fd (0.00s) 295s --- PASS: FuzzDecodePolicy/c4d9def3916de265 (0.00s) 295s --- PASS: FuzzDecodePolicy/c610d176a1726c39 (0.00s) 295s --- PASS: FuzzDecodePolicy/ca683af05a78b772 (0.00s) 295s --- PASS: FuzzDecodePolicy/cac340cbf4f81f48 (0.00s) 295s --- PASS: FuzzDecodePolicy/ccdaead0f44dc069 (0.00s) 295s --- PASS: FuzzDecodePolicy/ce8467c12ac1478e (0.00s) 295s --- PASS: FuzzDecodePolicy/cebcbd67b0b51d54 (0.00s) 295s --- PASS: FuzzDecodePolicy/cf318b520a8e55be (0.00s) 295s --- PASS: FuzzDecodePolicy/cf592b0a6a725d1c (0.00s) 295s --- PASS: FuzzDecodePolicy/d0b8dc40737b3ff0 (0.00s) 295s --- PASS: FuzzDecodePolicy/d2969c8e25b51895 (0.00s) 295s --- PASS: FuzzDecodePolicy/d4e956bdff66867a (0.00s) 295s --- PASS: FuzzDecodePolicy/d5b932675c6ca808 (0.00s) 295s --- PASS: FuzzDecodePolicy/dac7bf5435c51dea (0.00s) 295s --- PASS: FuzzDecodePolicy/dddc8d06ef526aba (0.00s) 295s --- PASS: FuzzDecodePolicy/e3065cb3ac7c0f78 (0.00s) 295s --- PASS: FuzzDecodePolicy/e4242a66193c4579 (0.00s) 295s --- PASS: FuzzDecodePolicy/e4a4780eb4ee185b (0.00s) 295s --- PASS: FuzzDecodePolicy/e5b22ed07e48d3fb (0.00s) 295s --- PASS: FuzzDecodePolicy/e7e4a84593481e49 (0.00s) 295s --- PASS: FuzzDecodePolicy/e8030826b4125cbb (0.00s) 295s --- PASS: FuzzDecodePolicy/e923261af5ebad81 (0.00s) 295s --- PASS: FuzzDecodePolicy/ea426f6b8bedc4d6 (0.00s) 295s --- PASS: FuzzDecodePolicy/ead723bc16638dcb (0.00s) 295s --- PASS: FuzzDecodePolicy/f131b8f78f028a54 (0.00s) 295s --- PASS: FuzzDecodePolicy/f1c1d58ecbe0d6dd (0.00s) 295s --- PASS: FuzzDecodePolicy/f3313a9f40c82a87 (0.00s) 295s --- PASS: FuzzDecodePolicy/f4f490e788a76488 (0.00s) 295s --- PASS: FuzzDecodePolicy/fa7acaf11cff6812 (0.00s) 295s --- PASS: FuzzDecodePolicy/fb991a0182b5fe4d (0.00s) 295s --- PASS: FuzzDecodePolicy/fc0deb922246d3b7 (0.00s) 295s --- PASS: FuzzDecodePolicy/fccd118f10988218 (0.00s) 295s --- PASS: FuzzDecodePolicy/fe9d2018570dc6c6 (0.07s) 295s --- PASS: FuzzDecodePolicy/ffd2d2b4544a818d (0.00s) 295s --- PASS: FuzzDecodePolicy/ffd60d90486b3974 (0.00s) 295s --- PASS: FuzzDecodePolicy/regression-test-input-333 (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/ad/registry 0.617s 295s === RUN TestNew 295s === PAUSE TestNew 295s === CONT TestNew 295s === RUN TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 295s === PAUSE TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 295s === RUN TestNew/Adsys_directory_can_already_exists 295s === PAUSE TestNew/Adsys_directory_can_already_exists 295s === RUN TestNew/Select_winbind_backend_explicitly 295s === PAUSE TestNew/Select_winbind_backend_explicitly 295s === RUN TestNew/Error_on_failure_to_create_run_directory 295s === PAUSE TestNew/Error_on_failure_to_create_run_directory 295s === RUN TestNew/Error_on_nonexistent_sssd.conf 295s === PAUSE TestNew/Error_on_nonexistent_sssd.conf 295s === RUN TestNew/Error_on_ad.New_prevents_adsysservice_creation 295s === PAUSE TestNew/Error_on_ad.New_prevents_adsysservice_creation 295s === RUN TestNew/Unknown_backend_defaults_to_sssd 295s === PAUSE TestNew/Unknown_backend_defaults_to_sssd 295s === RUN TestNew/Select_sssd_backend_explicitly 295s === PAUSE TestNew/Select_sssd_backend_explicitly 295s === RUN TestNew/Error_on_failure_to_create_cache_directory 295s === PAUSE TestNew/Error_on_failure_to_create_cache_directory 295s === CONT TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 295s === CONT TestNew/Error_on_ad.New_prevents_adsysservice_creation 295s === CONT TestNew/Error_on_nonexistent_sssd.conf 295s === CONT TestNew/Select_sssd_backend_explicitly 295s === CONT TestNew/Unknown_backend_defaults_to_sssd 295s === CONT TestNew/Select_winbind_backend_explicitly 295s === CONT TestNew/Adsys_directory_can_already_exists 295s === CONT TestNew/Error_on_failure_to_create_run_directory 295s time="2025-10-18T15:05:35Z" level=warning msg="Unknown configured backend \"unknown-backend\". Defaulting to sssd." 295s === CONT TestNew/Error_on_failure_to_create_cache_directory 295s time="2025-10-18T15:05:35Z" level=warning msg="could not get online status for domain \"example.com\": status code 6" 295s --- PASS: TestNew (0.00s) 295s --- PASS: TestNew/Error_on_nonexistent_sssd.conf (0.04s) 295s --- PASS: TestNew/Error_on_failure_to_create_cache_directory (0.02s) 295s --- PASS: TestNew/Error_on_failure_to_create_run_directory (0.06s) 295s --- PASS: TestNew/Error_on_ad.New_prevents_adsysservice_creation (0.07s) 295s --- PASS: TestNew/Select_sssd_backend_explicitly (0.09s) 295s --- PASS: TestNew/Unknown_backend_defaults_to_sssd (0.08s) 295s --- PASS: TestNew/Select_winbind_backend_explicitly (0.09s) 295s --- PASS: TestNew/Adsys_directory_can_already_exists (0.10s) 295s --- PASS: TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run (0.11s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/adsysservice 0.308s 295s ? github.com/ubuntu/adsys/internal/adsysservice/actions [no test files] 295s === RUN TestIsAllowed 295s === PAUSE TestIsAllowed 295s === RUN TestPeerCredsInfoAuthType 295s === PAUSE TestPeerCredsInfoAuthType 295s === RUN TestServerPeerCredsHandshake 295s === PAUSE TestServerPeerCredsHandshake 295s === RUN TestServerPeerCredsInvalidSocket 295s === PAUSE TestServerPeerCredsInvalidSocket 295s === RUN TestIsAllowedFromContext 295s === PAUSE TestIsAllowedFromContext 295s === RUN TestIsAllowedFromContextWithoutPeer 295s === PAUSE TestIsAllowedFromContextWithoutPeer 295s === RUN TestIsAllowedFromContextWithInvalidPeerCreds 295s === PAUSE TestIsAllowedFromContextWithInvalidPeerCreds 295s === RUN TestIsAllowedFromContextWithoutUserKey 295s === PAUSE TestIsAllowedFromContextWithoutUserKey 295s === CONT TestIsAllowed 295s === CONT TestIsAllowedFromContext 295s === CONT TestServerPeerCredsInvalidSocket 295s --- PASS: TestServerPeerCredsInvalidSocket (0.00s) 295s === CONT TestServerPeerCredsHandshake 295s === CONT TestIsAllowedFromContextWithoutUserKey 295s === CONT TestIsAllowedFromContextWithInvalidPeerCreds 295s === CONT TestIsAllowedFromContextWithoutPeer 295s === CONT TestPeerCredsInfoAuthType 295s --- PASS: TestPeerCredsInfoAuthType (0.00s) 295s --- PASS: TestServerPeerCredsHandshake (0.00s) 295s === RUN TestIsAllowed/Valid_process_and_NACK 295s === PAUSE TestIsAllowed/Valid_process_and_NACK 295s === RUN TestIsAllowed/Process_doesn't_exists 295s === PAUSE TestIsAllowed/Process_doesn't_exists 295s === RUN TestIsAllowed/Invalid_process_stat_file:_missing_) 295s === PAUSE TestIsAllowed/Invalid_process_stat_file:_missing_) 295s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 295s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 295s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 295s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 295s === RUN TestIsAllowed/Polkit_dbus_call_errors_out 295s === PAUSE TestIsAllowed/Polkit_dbus_call_errors_out 295s === RUN TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 295s === PAUSE TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 295s === RUN TestIsAllowed/Root_is_always_authorized 295s === PAUSE TestIsAllowed/Root_is_always_authorized 295s === RUN TestIsAllowed/Valid_process_and_ACK 295s === PAUSE TestIsAllowed/Valid_process_and_ACK 295s === RUN TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 295s === PAUSE TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 295s === RUN TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 295s === PAUSE TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 295s === RUN TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 295s === PAUSE TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 295s === CONT TestIsAllowed/Valid_process_and_NACK 295s === CONT TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 295s === CONT TestIsAllowed/Invalid_process_stat_file:_missing_) 295s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 295s === CONT TestIsAllowed/Polkit_dbus_call_errors_out 295s === RUN TestIsAllowedFromContext/Root_is_always_authorized 295s === PAUSE TestIsAllowedFromContext/Root_is_always_authorized 295s === RUN TestIsAllowedFromContext/Valid_process_and_ACK 295s === PAUSE TestIsAllowedFromContext/Valid_process_and_ACK 295s === RUN TestIsAllowedFromContext/Valid_process_and_NACK 295s === PAUSE TestIsAllowedFromContext/Valid_process_and_NACK 295s === RUN TestIsAllowedFromContext/Extract_current_user_action_from_request 295s === PAUSE TestIsAllowedFromContext/Extract_current_user_action_from_request 295s === RUN TestIsAllowedFromContext/Extract_other_user_action_from_request 295s === PAUSE TestIsAllowedFromContext/Extract_other_user_action_from_request 295s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 295s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 295s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 295s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 295s === CONT TestIsAllowed/Process_doesn't_exists 295s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 295s === CONT TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 295s === CONT TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 295s === CONT TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 295s === CONT TestIsAllowed/Valid_process_and_ACK 295s === CONT TestIsAllowed/Root_is_always_authorized 295s === CONT TestIsAllowedFromContext/Root_is_always_authorized 295s === CONT TestIsAllowedFromContext/Extract_current_user_action_from_request 295s === CONT TestIsAllowedFromContext/Valid_process_and_NACK 295s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 295s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 295s === CONT TestIsAllowedFromContext/Extract_other_user_action_from_request 295s --- PASS: TestIsAllowedFromContextWithoutUserKey (0.02s) 295s === CONT TestIsAllowedFromContext/Valid_process_and_ACK 295s --- PASS: TestIsAllowed (0.01s) 295s --- PASS: TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID (0.00s) 295s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_present (0.00s) 295s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int (0.00s) 295s --- PASS: TestIsAllowed/Invalid_process_stat_file:_)_at_the_end (0.00s) 295s --- PASS: TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID (0.00s) 295s --- PASS: TestIsAllowed/ActionAlwaysAllowed_is_always_allowed (0.00s) 295s --- PASS: TestIsAllowed/Valid_process_and_ACK (0.00s) 295s --- PASS: TestIsAllowed/Root_is_always_authorized (0.00s) 295s --- PASS: TestIsAllowed/Valid_process_and_NACK (0.01s) 295s --- PASS: TestIsAllowed/Process_doesn't_exists (0.00s) 295s --- PASS: TestIsAllowed/Polkit_dbus_call_errors_out (0.01s) 295s --- PASS: TestIsAllowed/Invalid_process_stat_file:_missing_) (0.01s) 295s --- PASS: TestIsAllowedFromContextWithInvalidPeerCreds (0.02s) 295s --- PASS: TestIsAllowedFromContext (0.01s) 295s --- PASS: TestIsAllowedFromContext/Root_is_always_authorized (0.00s) 295s --- PASS: TestIsAllowedFromContext/Extract_current_user_action_from_request (0.00s) 295s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid (0.00s) 295s --- PASS: TestIsAllowedFromContext/Valid_process_and_ACK (0.00s) 295s --- PASS: TestIsAllowedFromContext/Valid_process_and_NACK (0.00s) 295s --- PASS: TestIsAllowedFromContext/Extract_other_user_action_from_request (0.00s) 295s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error (0.00s) 295s --- PASS: TestIsAllowedFromContextWithoutPeer (0.02s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/authorizer 0.079s 295s === RUN TestNoCmd 295s === PAUSE TestNoCmd 295s === RUN TestZeroOrNArgs 295s === PAUSE TestZeroOrNArgs 295s === RUN TestNoValidArgs 295s === PAUSE TestNoValidArgs 295s === RUN TestRegisterAlias 295s === PAUSE TestRegisterAlias 295s === CONT TestNoCmd 295s --- PASS: TestNoCmd (0.00s) 295s === CONT TestRegisterAlias 295s --- PASS: TestRegisterAlias (0.00s) 295s === CONT TestNoValidArgs 295s --- PASS: TestNoValidArgs (0.00s) 295s === CONT TestZeroOrNArgs 295s === RUN TestZeroOrNArgs/Zero_args 295s === PAUSE TestZeroOrNArgs/Zero_args 295s === RUN TestZeroOrNArgs/Exactly_N_args 295s === PAUSE TestZeroOrNArgs/Exactly_N_args 295s === RUN TestZeroOrNArgs/Error_with_less_than_N_args 295s === PAUSE TestZeroOrNArgs/Error_with_less_than_N_args 295s === RUN TestZeroOrNArgs/Error_with_more_than_N_args 295s === PAUSE TestZeroOrNArgs/Error_with_more_than_N_args 295s === CONT TestZeroOrNArgs/Zero_args 295s === CONT TestZeroOrNArgs/Error_with_more_than_N_args 295s === CONT TestZeroOrNArgs/Error_with_less_than_N_args 295s === CONT TestZeroOrNArgs/Exactly_N_args 295s --- PASS: TestZeroOrNArgs (0.00s) 295s --- PASS: TestZeroOrNArgs/Zero_args (0.00s) 295s --- PASS: TestZeroOrNArgs/Error_with_more_than_N_args (0.00s) 295s --- PASS: TestZeroOrNArgs/Error_with_less_than_N_args (0.00s) 295s --- PASS: TestZeroOrNArgs/Exactly_N_args (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/cmdhandler 0.056s 295s === RUN TestSetVerboseMode 295s === RUN TestSetVerboseMode/Default_level_is_warning 295s === RUN TestSetVerboseMode/1_is_for_info 295s === RUN TestSetVerboseMode/2_is_for_debug 295s === RUN TestSetVerboseMode/3_is_debug_printing_callers 295s --- PASS: TestSetVerboseMode (0.00s) 295s --- PASS: TestSetVerboseMode/Default_level_is_warning (0.00s) 295s --- PASS: TestSetVerboseMode/1_is_for_info (0.00s) 295s --- PASS: TestSetVerboseMode/2_is_for_debug (0.00s) 295s --- PASS: TestSetVerboseMode/3_is_debug_printing_callers (0.00s) 295s === RUN TestInit 295s === RUN TestInit/Load_configuration,_no_file,_no_flag,_no_env 295s === RUN TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand 295s === RUN TestInit/Flag_is_supported 295s === RUN TestInit/Configuration_file_overwritten 295s === RUN TestInit/Error_on_invalid_configuration_file 295s === RUN TestInit/Error_on_callback_returning_error_on_first_call 295s === RUN TestInit/Load_configuration_with_file 295s === RUN TestInit/Empty_configuration_file_is_supported 295s === RUN TestInit/Flag_has_precedence_over_env 295s === RUN TestInit/Env_has_precedence_over_configuration 295s === RUN TestInit/Error_on_no_verbose_flag_set_before_Init_is_call 295s === RUN TestInit/Load_configuration_from_executable_dir 295s === RUN TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand 295s === RUN TestInit/Environment_is_supported 295s === RUN TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account 295s === RUN TestInit/Callback_in_error_on_refresh_only_prints_warning 295s time="2025-10-18T15:05:44Z" level=warning msg="Error while refreshing configuration: Error from callback" 295s === RUN TestInit/Configuration_flag_has_precedence_over_local_file 295s === RUN TestInit/Error_on_config_flag_points_to_unexisting_path 295s === RUN TestInit/No_config_flag_set_before_Init_is_call_is_ignored 295s === RUN TestInit/Configuration_flag,_not_in_config_dir 295s === RUN TestInit/Configuration_changed_directly 295s --- PASS: TestInit (11.27s) 295s --- PASS: TestInit/Load_configuration,_no_file,_no_flag,_no_env (0.22s) 295s --- PASS: TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand (0.03s) 295s --- PASS: TestInit/Flag_is_supported (0.02s) 295s --- PASS: TestInit/Configuration_file_overwritten (2.09s) 295s --- PASS: TestInit/Error_on_invalid_configuration_file (0.03s) 295s --- PASS: TestInit/Error_on_callback_returning_error_on_first_call (0.02s) 295s --- PASS: TestInit/Load_configuration_with_file (0.02s) 295s --- PASS: TestInit/Empty_configuration_file_is_supported (0.03s) 295s --- PASS: TestInit/Flag_has_precedence_over_env (0.02s) 295s --- PASS: TestInit/Env_has_precedence_over_configuration (0.01s) 295s --- PASS: TestInit/Error_on_no_verbose_flag_set_before_Init_is_call (0.03s) 295s --- PASS: TestInit/Load_configuration_from_executable_dir (0.03s) 295s --- PASS: TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand (0.02s) 295s --- PASS: TestInit/Environment_is_supported (0.04s) 295s --- PASS: TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account (4.15s) 295s --- PASS: TestInit/Callback_in_error_on_refresh_only_prints_warning (2.28s) 295s --- PASS: TestInit/Configuration_flag_has_precedence_over_local_file (0.02s) 295s --- PASS: TestInit/Error_on_config_flag_points_to_unexisting_path (0.03s) 295s --- PASS: TestInit/No_config_flag_set_before_Init_is_call_is_ignored (0.04s) 295s --- PASS: TestInit/Configuration_flag,_not_in_config_dir (0.04s) 295s --- PASS: TestInit/Configuration_changed_directly (2.09s) 295s === RUN TestLoadConfig 295s === PAUSE TestLoadConfig 295s === CONT TestLoadConfig 295s === RUN TestLoadConfig/Empty_configuration_is_supported 295s === PAUSE TestLoadConfig/Empty_configuration_is_supported 295s === RUN TestLoadConfig/Load_configuration_deserialize_its 295s === PAUSE TestLoadConfig/Load_configuration_deserialize_its 295s === CONT TestLoadConfig/Empty_configuration_is_supported 295s === CONT TestLoadConfig/Load_configuration_deserialize_its 295s --- PASS: TestLoadConfig (0.00s) 295s --- PASS: TestLoadConfig/Empty_configuration_is_supported (0.00s) 295s --- PASS: TestLoadConfig/Load_configuration_deserialize_its (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/config 11.320s 295s === RUN TestConfigFileFromArgs 295s === PAUSE TestConfigFileFromArgs 295s === RUN TestDirsFromConfigFile 295s === PAUSE TestDirsFromConfigFile 295s === RUN TestWriteConfig 295s === RUN TestWriteConfig/Error_on_empty_dirs 295s === RUN TestWriteConfig/With_relative_config_path 295s === RUN TestWriteConfig/With_nested_config_path 295s === RUN TestWriteConfig/Error_on_absent_dirs 295s --- PASS: TestWriteConfig (0.02s) 295s --- PASS: TestWriteConfig/Error_on_empty_dirs (0.00s) 295s --- PASS: TestWriteConfig/With_relative_config_path (0.00s) 295s --- PASS: TestWriteConfig/With_nested_config_path (0.01s) 295s --- PASS: TestWriteConfig/Error_on_absent_dirs (0.01s) 295s === CONT TestConfigFileFromArgs 295s === RUN TestConfigFileFromArgs/Short_config_argument 295s === PAUSE TestConfigFileFromArgs/Short_config_argument 295s === RUN TestConfigFileFromArgs/Short_config_argument_with_quotes 295s === PAUSE TestConfigFileFromArgs/Short_config_argument_with_quotes 295s === RUN TestConfigFileFromArgs/Error_on_empty_args 295s === PAUSE TestConfigFileFromArgs/Error_on_empty_args 295s === RUN TestConfigFileFromArgs/Error_on_no_config_argument 295s === PAUSE TestConfigFileFromArgs/Error_on_no_config_argument 295s === RUN TestConfigFileFromArgs/Error_on_config_argument_with_no_value 295s === PAUSE TestConfigFileFromArgs/Error_on_config_argument_with_no_value 295s === CONT TestConfigFileFromArgs/Short_config_argument 295s === CONT TestDirsFromConfigFile 295s === RUN TestDirsFromConfigFile/No_config_file 295s === PAUSE TestDirsFromConfigFile/No_config_file 295s === RUN TestDirsFromConfigFile/Empty_config_file 295s === PAUSE TestDirsFromConfigFile/Empty_config_file 295s === RUN TestDirsFromConfigFile/No_dirs_in_config_file 295s === PAUSE TestDirsFromConfigFile/No_dirs_in_config_file 295s === RUN TestDirsFromConfigFile/Config_dirs_is_not_an_array 295s === PAUSE TestDirsFromConfigFile/Config_dirs_is_not_an_array 295s === RUN TestDirsFromConfigFile/Config_dirs_is_an_array 295s === PAUSE TestDirsFromConfigFile/Config_dirs_is_an_array 295s === CONT TestDirsFromConfigFile/No_config_file 295s === CONT TestConfigFileFromArgs/Error_on_config_argument_with_no_value 295s === CONT TestConfigFileFromArgs/Error_on_no_config_argument 295s === CONT TestConfigFileFromArgs/Error_on_empty_args 295s === CONT TestConfigFileFromArgs/Short_config_argument_with_quotes 295s --- PASS: TestConfigFileFromArgs (0.00s) 295s --- PASS: TestConfigFileFromArgs/Short_config_argument (0.00s) 295s --- PASS: TestConfigFileFromArgs/Error_on_config_argument_with_no_value (0.00s) 295s --- PASS: TestConfigFileFromArgs/Error_on_no_config_argument (0.00s) 295s --- PASS: TestConfigFileFromArgs/Error_on_empty_args (0.00s) 295s --- PASS: TestConfigFileFromArgs/Short_config_argument_with_quotes (0.00s) 295s === CONT TestDirsFromConfigFile/Config_dirs_is_an_array 295s === CONT TestDirsFromConfigFile/No_dirs_in_config_file 295s === CONT TestDirsFromConfigFile/Empty_config_file 295s === CONT TestDirsFromConfigFile/Config_dirs_is_not_an_array 295s --- PASS: TestDirsFromConfigFile (0.00s) 295s --- PASS: TestDirsFromConfigFile/No_config_file (0.00s) 295s --- PASS: TestDirsFromConfigFile/No_dirs_in_config_file (0.00s) 295s --- PASS: TestDirsFromConfigFile/Empty_config_file (0.01s) 295s --- PASS: TestDirsFromConfigFile/Config_dirs_is_an_array (0.01s) 295s --- PASS: TestDirsFromConfigFile/Config_dirs_is_not_an_array (0.01s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/config/watchd 0.076s 295s ? github.com/ubuntu/adsys/internal/consts [no test files] 295s === RUN TestStartStop 295s === PAUSE TestStartStop 295s === RUN TestStopBeforeServe 295s === PAUSE TestStopBeforeServe 295s === RUN TestChangeSocket 295s === PAUSE TestChangeSocket 295s === RUN TestSocketActivation 295s === PAUSE TestSocketActivation 295s === RUN TestUseSocketIgnoredWithSocketActivation 295s === PAUSE TestUseSocketIgnoredWithSocketActivation 295s === RUN TestSdNotifier 295s === PAUSE TestSdNotifier 295s === RUN TestFailingOption 295s === PAUSE TestFailingOption 295s === RUN TestCannotCreateSocket 295s === PAUSE TestCannotCreateSocket 295s === RUN TestServerStartListenTimeout 295s === PAUSE TestServerStartListenTimeout 295s === RUN TestServerDontTimeoutWithActiveRequest 295s === PAUSE TestServerDontTimeoutWithActiveRequest 295s === RUN TestServerDontTimeoutWithMultipleActiveRequests 295s === PAUSE TestServerDontTimeoutWithMultipleActiveRequests 295s === RUN TestServerChangeTimeout 295s === PAUSE TestServerChangeTimeout 295s === RUN TestServerDoubleQuit 295s === PAUSE TestServerDoubleQuit 295s === CONT TestStartStop 295s === CONT TestCannotCreateSocket 295s === CONT TestServerDontTimeoutWithMultipleActiveRequests 295s === CONT TestServerDoubleQuit 295s --- PASS: TestCannotCreateSocket (0.00s) 295s === CONT TestServerDontTimeoutWithActiveRequest 295s === CONT TestServerStartListenTimeout 295s === CONT TestUseSocketIgnoredWithSocketActivation 295s === CONT TestFailingOption 295s === CONT TestSdNotifier 295s === RUN TestSdNotifier/Error_when_notifier_fails 295s === PAUSE TestSdNotifier/Error_when_notifier_fails 295s === RUN TestSdNotifier/Sends_signal 295s === PAUSE TestSdNotifier/Sends_signal 295s === RUN TestSdNotifier/Doesn't_fail_when_not_under_systemd 295s === PAUSE TestSdNotifier/Doesn't_fail_when_not_under_systemd 295s === CONT TestSocketActivation 295s --- PASS: TestFailingOption (0.00s) 295s === RUN TestSocketActivation/Error_when_Listeners()_fails 295s === PAUSE TestSocketActivation/Error_when_Listeners()_fails 295s === RUN TestSocketActivation/Success_with_one_socket 295s === PAUSE TestSocketActivation/Success_with_one_socket 295s === RUN TestSocketActivation/Error_when_provided_with_many_sockets 295s === PAUSE TestSocketActivation/Error_when_provided_with_many_sockets 295s === CONT TestChangeSocket 295s === CONT TestServerChangeTimeout 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestStartStop3822111664/001/test.sock" 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestServerStartListenTimeout1965893725/001/test.sock" 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithMultipleActiveRequests2117635839/001/test.sock" 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithActiveRequest1640262951/001/test.sock" 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestChangeSocket3731485298/001/test.sock" 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestServerChangeTimeout1770552051/001/test.sock" 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestServerDoubleQuit2602155303/001/test.sock" 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestUseSocketIgnoredWithSocketActivation2165484300/001/socket" 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s --- PASS: TestServerStartListenTimeout (0.02s) 295s === CONT TestStopBeforeServe 295s --- PASS: TestServerDoubleQuit (0.02s) 295s === CONT TestSdNotifier/Error_when_notifier_fails 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s --- PASS: TestStopBeforeServe (0.00s) 295s === CONT TestSdNotifier/Doesn't_fail_when_not_under_systemd 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestSdNotifierDoesnt_fail_when_not_under_systemd1736596118/001/socket" 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s === CONT TestSdNotifier/Sends_signal 295s --- PASS: TestStartStop (0.03s) 295s === CONT TestSocketActivation/Error_when_Listeners()_fails 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestSdNotifierSends_signal1217416707/001/socket" 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestChangeSocket3731485298/001/test2.sock" 295s === CONT TestSocketActivation/Error_when_provided_with_many_sockets 295s === CONT TestSocketActivation/Success_with_one_socket 295s time="2025-10-18T15:05:37Z" level=info msg="Serving on /tmp/TestSocketActivationSuccess_with_one_socket1343816634/001/sock1" 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s --- PASS: TestUseSocketIgnoredWithSocketActivation (0.03s) 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s --- PASS: TestSdNotifier (0.00s) 295s --- PASS: TestSdNotifier/Error_when_notifier_fails (0.01s) 295s --- PASS: TestSdNotifier/Doesn't_fail_when_not_under_systemd (0.01s) 295s --- PASS: TestSdNotifier/Sends_signal (0.01s) 295s --- PASS: TestChangeSocket (0.04s) 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s time="2025-10-18T15:05:37Z" level=info msg="Wait for active requests to close." 295s --- PASS: TestSocketActivation (0.00s) 295s --- PASS: TestSocketActivation/Error_when_Listeners()_fails (0.00s) 295s --- PASS: TestSocketActivation/Error_when_provided_with_many_sockets (0.00s) 295s --- PASS: TestSocketActivation/Success_with_one_socket (0.01s) 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s --- PASS: TestServerChangeTimeout (0.06s) 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s --- PASS: TestServerDontTimeoutWithMultipleActiveRequests (0.12s) 295s time="2025-10-18T15:05:37Z" level=info msg="Stopping daemon requested." 295s --- PASS: TestServerDontTimeoutWithActiveRequest (0.12s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/daemon 0.207s 295s === RUN TestCleanDirectory 295s === PAUSE TestCleanDirectory 295s === RUN TestCleanDirectoryNoDirectoryExists 295s === PAUSE TestCleanDirectoryNoDirectoryExists 295s === RUN TestCleanDirectoryCantRemoveDirectory 295s === PAUSE TestCleanDirectoryCantRemoveDirectory 295s === RUN TestInstallOnlyMode 295s --- PASS: TestInstallOnlyMode (0.00s) 295s === RUN TestDestDirectory 295s --- PASS: TestDestDirectory (0.00s) 295s === CONT TestCleanDirectory 295s === CONT TestCleanDirectoryCantRemoveDirectory 295s --- PASS: TestCleanDirectoryCantRemoveDirectory (0.00s) 295s === CONT TestCleanDirectoryNoDirectoryExists 295s --- PASS: TestCleanDirectory (0.01s) 295s --- PASS: TestCleanDirectoryNoDirectoryExists (0.01s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/generators 0.037s 295s === RUN TestNoNotification 295s === PAUSE TestNoNotification 295s === RUN TestNewConnectionNotification 295s === PAUSE TestNewConnectionNotification 295s === RUN TestDoneConnectionNotification 295s === PAUSE TestDoneConnectionNotification 295s === RUN TestErrorFromHandlerReturned 295s === PAUSE TestErrorFromHandlerReturned 295s === RUN TestErrorOnNilStream 295s === PAUSE TestErrorOnNilStream 295s === CONT TestNoNotification 295s --- PASS: TestNoNotification (0.00s) 295s === CONT TestErrorOnNilStream 295s --- PASS: TestErrorOnNilStream (0.00s) 295s === CONT TestErrorFromHandlerReturned 295s --- PASS: TestErrorFromHandlerReturned (0.00s) 295s === CONT TestDoneConnectionNotification 295s --- PASS: TestDoneConnectionNotification (0.00s) 295s === CONT TestNewConnectionNotification 295s --- PASS: TestNewConnectionNotification (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/grpc/connectionnotify 0.070s 295s === RUN TestActiveConnection 295s === PAUSE TestActiveConnection 295s === RUN TestTimeoutOnInactiveConnection 295s === PAUSE TestTimeoutOnInactiveConnection 295s === RUN TestCancelOnClientSide 295s === PAUSE TestCancelOnClientSide 295s === RUN TestClientInterceptorFailed 295s === PAUSE TestClientInterceptorFailed 295s === RUN TestRecvMessageError 295s === PAUSE TestRecvMessageError 295s === CONT TestActiveConnection 295s === CONT TestRecvMessageError 295s === CONT TestTimeoutOnInactiveConnection 295s === CONT TestClientInterceptorFailed 295s --- PASS: TestClientInterceptorFailed (0.00s) 295s --- PASS: TestRecvMessageError (0.00s) 295s === CONT TestCancelOnClientSide 295s --- PASS: TestCancelOnClientSide (0.00s) 295s --- PASS: TestTimeoutOnInactiveConnection (0.05s) 295s --- PASS: TestActiveConnection (0.16s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/grpc/contextidler 0.230s 295s === RUN TestFormat 295s === PAUSE TestFormat 295s === CONT TestFormat 295s === RUN TestFormat/GRPC_Random_errors_prints_status_and_message 295s === PAUSE TestFormat/GRPC_Random_errors_prints_status_and_message 295s === RUN TestFormat/Nil_returns_nil 295s === PAUSE TestFormat/Nil_returns_nil 295s === RUN TestFormat/Non_GRPC_errors_are_returned_as_is 295s === PAUSE TestFormat/Non_GRPC_errors_are_returned_as_is 295s === RUN TestFormat/GRPC_Unavailable_errors_prints_daemon_name 295s === PAUSE TestFormat/GRPC_Unavailable_errors_prints_daemon_name 295s === RUN TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 295s === PAUSE TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 295s === RUN TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 295s === PAUSE TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 295s === CONT TestFormat/GRPC_Random_errors_prints_status_and_message 295s === CONT TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 295s === CONT TestFormat/Non_GRPC_errors_are_returned_as_is 295s === CONT TestFormat/Nil_returns_nil 295s === CONT TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 295s === CONT TestFormat/GRPC_Unavailable_errors_prints_daemon_name 295s --- PASS: TestFormat (0.00s) 295s --- PASS: TestFormat/GRPC_Random_errors_prints_status_and_message (0.00s) 295s --- PASS: TestFormat/Non_GRPC_errors_are_returned_as_is (0.00s) 295s --- PASS: TestFormat/Nil_returns_nil (0.00s) 295s --- PASS: TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon (0.00s) 295s --- PASS: TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message (0.00s) 295s --- PASS: TestFormat/GRPC_Unavailable_errors_prints_daemon_name (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/grpc/grpcerror 0.079s 295s === RUN TestStreamServer 295s === PAUSE TestStreamServer 295s === RUN TestStreamClient 295s === PAUSE TestStreamClient 295s === CONT TestStreamServer 295s === CONT TestStreamClient 295s --- PASS: TestStreamServer (0.00s) 295s --- PASS: TestStreamClient (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/grpc/interceptorschain 0.037s 295s === RUN TestChildRecvMsgAndHandlerCalled 295s === PAUSE TestChildRecvMsgAndHandlerCalled 295s === CONT TestChildRecvMsgAndHandlerCalled 295s === RUN TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 295s === PAUSE TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 295s === RUN TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 295s === PAUSE TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 295s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 295s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 295s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 295s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 295s === CONT TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 295s === CONT TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 295s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 295s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 295s time="2025-10-18T15:05:38Z" level=info msg="Error sent to client: Failing handler" 295s --- PASS: TestChildRecvMsgAndHandlerCalled (0.00s) 295s --- PASS: TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called (0.00s) 295s --- PASS: TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact (0.00s) 295s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out (0.00s) 295s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/grpc/logconnections 0.045s 295s === RUN TestRecvLogMsg 295s === PAUSE TestRecvLogMsg 295s === RUN TestAddStreamToForwardLocalLogs 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:201241]]" 295s time="2025-10-18T15:05:39Z" level=warning msg=something 295s --- PASS: TestAddStreamToForwardLocalLogs (0.00s) 295s === RUN TestAddStreamToForwardOtherStream 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:596081]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:396675]]" 295s --- PASS: TestAddStreamToForwardOtherStream (0.00s) 295s === RUN TestAddStreamToForwardAfterClientIsConnected 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:637823]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:048364]]" 295s --- PASS: TestAddStreamToForwardAfterClientIsConnected (0.00s) 295s === RUN TestAddStreamToForwardDisconnect 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:550363]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:658890]]" 295s --- PASS: TestAddStreamToForwardDisconnect (0.00s) 295s === RUN TestAddStreamToForwardTwoClients 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:548869]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:665245]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:451215]]" 295s --- PASS: TestAddStreamToForwardTwoClients (0.00s) 295s === RUN TestAddStreamToForwardWithListenerCaller 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:806648]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:827273]]" 295s --- PASS: TestAddStreamToForwardWithListenerCaller (0.00s) 295s === RUN TestAddStreamMultipleForwarders 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:372185]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:355832]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:371817]]" 295s --- PASS: TestAddStreamMultipleForwarders (0.00s) 295s === RUN TestAddStreamMultipleForwardersOneWithCaller 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:832568]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:512141]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:034732]]" 295s --- PASS: TestAddStreamMultipleForwardersOneWithCaller (0.00s) 295s === RUN TestAddStreamToForwardFailSend 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:151258]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:289775]]" 295s time="2025-10-18T15:05:39Z" level=warning msg="Couldn't send log to one or more listener: SendMsg failed" 295s --- PASS: TestAddStreamToForwardFailSend (0.00s) 295s === RUN TestRemoveAllStreams 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:573406]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:994835]]" 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:996538]]" 295s time="2025-10-18T15:05:39Z" level=warning msg="[[123456:996538]] else" 295s --- PASS: TestRemoveAllStreams (0.00s) 295s === RUN TestLogWarningOnly 295s === PAUSE TestLogWarningOnly 295s === RUN TestMultipleLogs 295s === PAUSE TestMultipleLogs 295s === RUN TestAllLogLevels 295s === PAUSE TestAllLogLevels 295s === RUN TestDebugSentToRemoteEvenIfLocalIsWarning 295s === PAUSE TestDebugSentToRemoteEvenIfLocalIsWarning 295s === RUN TestLogWarningWithLocalCaller 295s === PAUSE TestLogWarningWithLocalCaller 295s === RUN TestLogWarningWithRemoteCaller 295s === PAUSE TestLogWarningWithRemoteCaller 295s === RUN TestLogWithNoCaller 295s === PAUSE TestLogWithNoCaller 295s === RUN TestSetReportCaller 295s === RUN TestSetReportCaller/Report_caller 295s === RUN TestSetReportCaller/Disable_caller 295s --- PASS: TestSetReportCaller (0.00s) 295s --- PASS: TestSetReportCaller/Report_caller (0.00s) 295s --- PASS: TestSetReportCaller/Disable_caller (0.00s) 295s === RUN TestLogSendingFail 295s === PAUSE TestLogSendingFail 295s === RUN TestLogStreamsAreSeparated 295s === PAUSE TestLogStreamsAreSeparated 295s === RUN TestLogAddHook 295s time="2025-10-18T15:05:39Z" level=info 295s --- PASS: TestLogAddHook (0.00s) 295s === RUN TestStreamServerInterceptor 295s === PAUSE TestStreamServerInterceptor 295s === RUN TestStreamServerInterceptorSendLogsFails 295s === PAUSE TestStreamServerInterceptorSendLogsFails 295s === RUN TestStreamServerInterceptorLoggerInvalidMetadata 295s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata 295s === CONT TestRecvLogMsg 295s === CONT TestLogWithNoCaller 295s === CONT TestAllLogLevels 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:446961]]" 295s === CONT TestStreamServerInterceptor 295s --- PASS: TestAllLogLevels (0.00s) 295s === CONT TestMultipleLogs 295s === CONT TestLogWarningOnly 295s === RUN TestRecvLogMsg/Two_logs_with_different_debug_level 295s === PAUSE TestRecvLogMsg/Two_logs_with_different_debug_level 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:532283]]" 295s === CONT TestLogWarningWithRemoteCaller 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:805969]]" 295s === CONT TestLogWarningWithLocalCaller 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:278438]]" 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:688619]]" 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:500507]]" 295s === CONT TestDebugSentToRemoteEvenIfLocalIsWarning 295s === RUN TestRecvLogMsg/No_caller_when_not_requested 295s === PAUSE TestRecvLogMsg/No_caller_when_not_requested 295s === RUN TestRecvLogMsg/No_caller_on_any_logs 295s === PAUSE TestRecvLogMsg/No_caller_on_any_logs 295s === RUN TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 295s === PAUSE TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 295s === RUN TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 295s === PAUSE TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 295s === RUN TestRecvLogMsg/One_log_(and_one_closing_empty_message) 295s === PAUSE TestRecvLogMsg/One_log_(and_one_closing_empty_message) 295s === RUN TestRecvLogMsg/Log_with_caller 295s === PAUSE TestRecvLogMsg/Log_with_caller 295s === RUN TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 295s === PAUSE TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 295s === RUN TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 295s === PAUSE TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 295s === RUN TestRecvLogMsg/One_message,_no_log 295s === PAUSE TestRecvLogMsg/One_message,_no_log 295s === CONT TestRecvLogMsg/Two_logs_with_different_debug_level 295s === CONT TestRecvLogMsg/Log_with_caller 295s --- PASS: TestStreamServerInterceptor (0.00s) 295s --- PASS: TestLogWithNoCaller (0.00s) 295s --- PASS: TestLogWarningWithRemoteCaller (0.00s) 295s --- PASS: TestLogWarningOnly (0.00s) 295s --- PASS: TestMultipleLogs (0.00s) 295s === CONT TestStreamServerInterceptorLoggerInvalidMetadata 295s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 295s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 295s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 295s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 295s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 295s === CONT TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 295s === CONT TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 295s === CONT TestRecvLogMsg/One_log_(and_one_closing_empty_message) 295s === CONT TestStreamServerInterceptorSendLogsFails 295s === CONT TestLogStreamsAreSeparated 295s time="2025-10-18T15:05:39Z" level=warning msg="[[123456:296524]] Couldn't send initial connection log to client" 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:193087]]" 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:296524]]" 295s --- PASS: TestStreamServerInterceptorSendLogsFails (0.00s) 295s === CONT TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 295s === CONT TestLogSendingFail 295s === CONT TestRecvLogMsg/One_message,_no_log 295s === CONT TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 295s === CONT TestRecvLogMsg/No_caller_when_not_requested 295s === CONT TestRecvLogMsg/No_caller_on_any_logs 295s --- PASS: TestRecvLogMsg (0.00s) 295s --- PASS: TestRecvLogMsg/Two_logs_with_different_debug_level (0.00s) 295s --- PASS: TestRecvLogMsg/Log_with_caller (0.00s) 295s --- PASS: TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved (0.00s) 295s --- PASS: TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved (0.00s) 295s --- PASS: TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped (0.00s) 295s --- PASS: TestRecvLogMsg/One_log_(and_one_closing_empty_message) (0.00s) 295s --- PASS: TestRecvLogMsg/One_message,_no_log (0.00s) 295s --- PASS: TestRecvLogMsg/No_caller_on_any_logs (0.00s) 295s --- PASS: TestRecvLogMsg/No_caller_when_not_requested (0.00s) 295s --- PASS: TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) (0.00s) 295s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 295s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 295s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 295s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 295s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 295s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 295s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 295s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 295s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:964309]]" 295s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 295s --- PASS: TestDebugSentToRemoteEvenIfLocalIsWarning (0.00s) 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:451112]]" 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:470520]]" 295s --- PASS: TestLogSendingFail (0.00s) 295s Failed to fire hook: hook fired 295s time="2025-10-18T15:05:39Z" level=info msg="New connection from client [[123456:869994]]" 295s --- PASS: TestLogStreamsAreSeparated (0.00s) 295s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata (0.00s) 295s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key (0.00s) 295s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent (0.00s) 295s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean (0.00s) 295s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID (0.00s) 295s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas (0.00s) 295s --- PASS: TestLogWarningWithLocalCaller (0.01s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/grpc/logstreamer 0.089s 295s ? github.com/ubuntu/adsys/internal/grpc/logstreamer/test [no test files] 295s === RUN TestEventLogHook 295s === RUN TestEventLogHook/error_level 295s time="2025-10-18T15:05:39Z" level=error msg="Error msg" 295s === RUN TestEventLogHook/warn_level 295s time="2025-10-18T15:05:39Z" level=warning msg="Warning msg" 295s time="2025-10-18T15:05:39Z" level=error msg="Error msg" 295s === RUN TestEventLogHook/info_level 295s time="2025-10-18T15:05:39Z" level=info msg="Info msg" 295s time="2025-10-18T15:05:39Z" level=warning msg="Warning msg" 295s time="2025-10-18T15:05:39Z" level=error msg="Error msg" 295s === RUN TestEventLogHook/debug_level 295s time="2025-10-18T15:05:39Z" level=debug msg="Debug msg" 295s time="2025-10-18T15:05:39Z" level=info msg="Info msg" 295s time="2025-10-18T15:05:39Z" level=warning msg="Warning msg" 295s time="2025-10-18T15:05:39Z" level=error msg="Error msg" 295s --- PASS: TestEventLogHook (0.00s) 295s --- PASS: TestEventLogHook/error_level (0.00s) 295s --- PASS: TestEventLogHook/warn_level (0.00s) 295s --- PASS: TestEventLogHook/info_level (0.00s) 295s --- PASS: TestEventLogHook/debug_level (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/loghooks 0.023s 295s === RUN TestFormat 295s === PAUSE TestFormat 295s === RUN TestApplyPolicies 295s === RUN TestApplyPolicies/Error_when_applying_certificate_policy 295s === RUN TestApplyPolicies/Succeed 295s === RUN TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error 295s === RUN TestApplyPolicies/Second_call_with_no_rules_deletes_everything 295s time="2025-10-18T15:05:41Z" level=info msg="Unloading policies for hostname (machine: true)" 295s === RUN TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended 295s time="2025-10-18T15:05:41Z" level=info msg="Unloading policies for hostname (machine: true)" 295s time="2025-10-18T15:05:41Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_rules_dont_remove_scripts4056909340/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 295s === RUN TestApplyPolicies/No_subscription_is_only_dconf_content 295s === RUN TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content 295s time="2025-10-18T15:05:41Z" level=info msg="Applying policies for hostname (machine: true)" 295s time="2025-10-18T15:05:41Z" 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" 295s === RUN TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended 295s time="2025-10-18T15:05:41Z" level=info msg="Applying policies for hostname (machine: true)" 295s time="2025-10-18T15:05:41Z" 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" 295s time="2025-10-18T15:05:41Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_subscription_dont_remove_3468791346/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 295s === RUN TestApplyPolicies/Error_when_applying_scripts_policy 295s === RUN TestApplyPolicies/Error_when_applying_dconf_policy 295s === RUN TestApplyPolicies/Error_when_applying_privilege_policy 295s === RUN TestApplyPolicies/Error_when_applying_apparmor_policy 295s === RUN TestApplyPolicies/Error_when_applying_mount_policy 295s === RUN TestApplyPolicies/Error_when_applying_proxy_policy 295s --- PASS: TestApplyPolicies (1.32s) 295s --- PASS: TestApplyPolicies/Error_when_applying_certificate_policy (0.04s) 295s --- PASS: TestApplyPolicies/Succeed (0.44s) 295s --- PASS: TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error (0.20s) 295s --- PASS: TestApplyPolicies/Second_call_with_no_rules_deletes_everything (0.05s) 295s --- PASS: TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended (0.16s) 295s --- PASS: TestApplyPolicies/No_subscription_is_only_dconf_content (0.08s) 295s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content (0.07s) 295s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended (0.09s) 295s --- PASS: TestApplyPolicies/Error_when_applying_scripts_policy (0.04s) 295s --- PASS: TestApplyPolicies/Error_when_applying_dconf_policy (0.02s) 295s --- PASS: TestApplyPolicies/Error_when_applying_privilege_policy (0.03s) 295s --- PASS: TestApplyPolicies/Error_when_applying_apparmor_policy (0.02s) 295s --- PASS: TestApplyPolicies/Error_when_applying_mount_policy (0.03s) 295s --- PASS: TestApplyPolicies/Error_when_applying_proxy_policy (0.03s) 295s === RUN TestDumpPolicies 295s === PAUSE TestDumpPolicies 295s === RUN TestLastUpdateFor 295s === PAUSE TestLastUpdateFor 295s === RUN TestGetSubscriptionState 295s === RUN TestGetSubscriptionState/Returns_enablement_status_(enabled) 295s === RUN TestGetSubscriptionState/Returns_enablement_status_(disabled) 295s --- PASS: TestGetSubscriptionState (0.01s) 295s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(enabled) (0.01s) 295s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(disabled) (0.00s) 295s === RUN TestNew 295s === PAUSE TestNew 295s === RUN TestNewFromCache 295s === PAUSE TestNewFromCache 295s === RUN TestSave 295s === PAUSE TestSave 295s === RUN TestCachePolicies 295s === PAUSE TestCachePolicies 295s === RUN TestSaveAssetsTo 295s === PAUSE TestSaveAssetsTo 295s === RUN TestCompressAssets 295s === PAUSE TestCompressAssets 295s === RUN TestGetUniqueRules 295s === PAUSE TestGetUniqueRules 295s === CONT TestFormat 295s === RUN TestFormat/GPO_summary 295s === PAUSE TestFormat/GPO_summary 295s === RUN TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 295s === PAUSE TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 295s === RUN TestFormat/GPO_with_rules,_appending_to_existing_treated_key 295s === PAUSE TestFormat/GPO_with_rules,_appending_to_existing_treated_key 295s === RUN TestFormat/GPO_with_rules,_override_hidden 295s === PAUSE TestFormat/GPO_with_rules,_override_hidden 295s === RUN TestFormat/GPO_with_rules,_override_displayed 295s === PAUSE TestFormat/GPO_with_rules,_override_displayed 295s === RUN TestFormat/GPO_with_rules,_override_disabled_key 295s === PAUSE TestFormat/GPO_with_rules,_override_disabled_key 295s === RUN TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 295s === PAUSE TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 295s === RUN TestFormat/GPO_with_rules 295s === PAUSE TestFormat/GPO_with_rules 295s === RUN TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 295s === PAUSE TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 295s === CONT TestFormat/GPO_summary 295s === CONT TestDumpPolicies 295s === CONT TestCachePolicies 295s === CONT TestFormat/GPO_with_rules,_override_disabled_key 295s === CONT TestGetUniqueRules 295s === CONT TestSave 295s === CONT TestNewFromCache 295s === RUN TestGetUniqueRules/Two_policies,_no_overrides 295s === CONT TestNew 295s === RUN TestNew/No_gpos 295s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides 295s === PAUSE TestNew/No_gpos 295s === RUN TestGetUniqueRules/Disabled_value_is_overridden 295s === RUN TestNew/Error_on_invalid_assets_db 295s === PAUSE TestGetUniqueRules/Disabled_value_is_overridden 295s === PAUSE TestNew/Error_on_invalid_assets_db 295s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO 295s === RUN TestNew/Error_on_assets_db_does_not_exists 295s === PAUSE TestNew/Error_on_assets_db_does_not_exists 295s === RUN TestSave/Destdir_does_not_exists 295s === RUN TestNew/gpos_only 295s === PAUSE TestSave/Destdir_does_not_exists 295s === PAUSE TestNew/gpos_only 295s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO 295s === RUN TestNew/With_assets 295s === PAUSE TestNew/With_assets 295s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 295s === RUN TestNewFromCache/gpos_only 295s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 295s === PAUSE TestNewFromCache/gpos_only 295s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 295s === RUN TestNewFromCache/With_assets 295s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 295s === PAUSE TestNewFromCache/With_assets 295s === CONT TestCompressAssets 295s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 295s === RUN TestSave/Error_on_can’t_write_to_dest_dir 295s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 295s === PAUSE TestSave/Error_on_can’t_write_to_dest_dir 295s === RUN TestGetUniqueRules/Order_key_ascii 295s === RUN TestNewFromCache/Error_on_invalid_policies_cache 295s === PAUSE TestGetUniqueRules/Order_key_ascii 295s === PAUSE TestNewFromCache/Error_on_invalid_policies_cache 295s === RUN TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 295s === RUN TestNewFromCache/Error_on_invalid_assets_db 295s === PAUSE TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 295s === RUN TestGetUniqueRules/Two_policies,_with_reversed_overrides 295s === PAUSE TestGetUniqueRules/Two_policies,_with_reversed_overrides 295s === PAUSE TestNewFromCache/Error_on_invalid_assets_db 295s === RUN TestCompressAssets/No_db 295s === RUN TestNewFromCache/Error_on_no_policies_cache 295s === PAUSE TestCompressAssets/No_db 295s === PAUSE TestNewFromCache/Error_on_no_policies_cache 295s === RUN TestCompressAssets/Existing_db 295s === RUN TestSave/Can_refresh_on_existing_read_only_asset_file 295s === PAUSE TestCompressAssets/Existing_db 295s === RUN TestCompressAssets/Error_on_can’t_remove_existing_db 295s === CONT TestSaveAssetsTo 295s === PAUSE TestCompressAssets/Error_on_can’t_remove_existing_db 295s === RUN TestCompressAssets/Error_on_non_existing_directory 295s === PAUSE TestCompressAssets/Error_on_non_existing_directory 295s === RUN TestSaveAssetsTo/All 295s === CONT TestLastUpdateFor 295s === PAUSE TestSaveAssetsTo/All 295s === RUN TestSaveAssetsTo/Sub_directory 295s === PAUSE TestSaveAssetsTo/Sub_directory 295s === RUN TestSaveAssetsTo/Error_on_empty_relSrc 295s === PAUSE TestSaveAssetsTo/Error_on_empty_relSrc 295s === RUN TestSaveAssetsTo/Error_on_no_assets 295s === PAUSE TestSaveAssetsTo/Error_on_no_assets 295s === RUN TestSaveAssetsTo/Error_on_read_only_dest 295s === PAUSE TestSaveAssetsTo/Error_on_read_only_dest 295s === RUN TestSaveAssetsTo/Error_on_dest_already_exists 295s === PAUSE TestSaveAssetsTo/Error_on_dest_already_exists 295s === RUN TestSaveAssetsTo/Error_on_can't_chown_to_user 295s === PAUSE TestSaveAssetsTo/Error_on_can't_chown_to_user 295s === RUN TestSaveAssetsTo/Sub_directory_ending_with_slash 295s === PAUSE TestSaveAssetsTo/Sub_directory_ending_with_slash 295s === RUN TestSaveAssetsTo/File 295s === PAUSE TestSaveAssetsTo/File 295s === RUN TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 295s === PAUSE TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 295s === RUN TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 295s === PAUSE TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 295s === RUN TestSaveAssetsTo/Chown_directories_and_files_when_requested 295s === PAUSE TestSaveAssetsTo/Chown_directories_and_files_when_requested 295s === PAUSE TestSave/Can_refresh_on_existing_read_only_asset_file 295s === RUN TestSave/Error_on_can’t_write_to_policies_base_dir 295s === PAUSE TestSave/Error_on_can’t_write_to_policies_base_dir 295s === RUN TestSave/Error_on_can’t_remove_existing_assets 295s === PAUSE TestSave/Error_on_can’t_remove_existing_assets 295s === RUN TestSave/gpos_only 295s === PAUSE TestSave/gpos_only 295s === RUN TestSave/With_assets 295s === PAUSE TestSave/With_assets 295s === CONT TestNew/No_gpos 295s === RUN TestSave/Existing_policies_cache_is_refreshed 295s === PAUSE TestSave/Existing_policies_cache_is_refreshed 295s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 295s === RUN TestSave/Existing_assets_cache_is_refreshed 295s === PAUSE TestSave/Existing_assets_cache_is_refreshed 295s === RUN TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 295s === PAUSE TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 295s === RUN TestSave/Save_assets_on_existing_opened_file_does_not_segfault 295s === PAUSE TestSave/Save_assets_on_existing_opened_file_does_not_segfault 295s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 295s === RUN TestGetUniqueRules/One_GPO 295s === PAUSE TestGetUniqueRules/One_GPO 295s === RUN TestGetUniqueRules/Multiple_domains,_same_GPOs 295s === PAUSE TestGetUniqueRules/Multiple_domains,_same_GPOs 295s === RUN TestGetUniqueRules/Multiple_domains,_different_GPOs 295s === PAUSE TestGetUniqueRules/Multiple_domains,_different_GPOs 295s === RUN TestGetUniqueRules/Two_policies,_with_overrides 295s === CONT TestNew/With_assets 295s === PAUSE TestGetUniqueRules/Two_policies,_with_overrides 295s === RUN TestGetUniqueRules/Two_policies,_no_overrides,_reversed 295s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides,_reversed 295s === RUN TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 295s === PAUSE TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 295s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 295s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 295s === RUN TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 295s === PAUSE TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 295s === RUN TestGetUniqueRules/More_policies,_with_multiple_overrides 295s === PAUSE TestGetUniqueRules/More_policies,_with_multiple_overrides 295s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 295s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 295s === CONT TestNew/gpos_only 295s === CONT TestNew/Error_on_assets_db_does_not_exists 295s === CONT TestNew/Error_on_invalid_assets_db 295s === CONT TestFormat/GPO_with_rules 295s === CONT TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 295s === CONT TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 295s === CONT TestFormat/GPO_with_rules,_override_hidden 295s === CONT TestFormat/GPO_with_rules,_override_displayed 295s === CONT TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 295s === CONT TestFormat/GPO_with_rules,_appending_to_existing_treated_key 295s === CONT TestNewFromCache/gpos_only 295s --- PASS: TestFormat (0.00s) 295s --- PASS: TestFormat/GPO_summary (0.00s) 295s --- PASS: TestFormat/GPO_with_rules,_override_disabled_key (0.00s) 295s --- PASS: TestFormat/GPO_with_rules (0.00s) 295s --- PASS: TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules (0.00s) 295s --- PASS: TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override (0.00s) 295s --- PASS: TestFormat/GPO_with_rules,_override_hidden (0.00s) 295s --- PASS: TestFormat/GPO_with_rules,_override_displayed (0.00s) 295s --- PASS: TestFormat/GPO_with_rules_and_overrides,_no_rules_processed (0.00s) 295s --- PASS: TestFormat/GPO_with_rules,_appending_to_existing_treated_key (0.00s) 295s === CONT TestCompressAssets/No_db 295s === RUN TestLastUpdateFor/Returns_user's_last_update_time 295s === PAUSE TestLastUpdateFor/Returns_user's_last_update_time 295s === RUN TestLastUpdateFor/Target_is_ignored_for_machine_request 295s === PAUSE TestLastUpdateFor/Target_is_ignored_for_machine_request 295s === RUN TestLastUpdateFor/Error_when_target_does_not_exist 295s === PAUSE TestLastUpdateFor/Error_when_target_does_not_exist 295s === RUN TestLastUpdateFor/Returns_machine's_last_update_time 295s === PAUSE TestLastUpdateFor/Returns_machine's_last_update_time 295s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 295s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 295s === RUN TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 295s === PAUSE TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 295s === RUN TestDumpPolicies/One_GPO_Machine 295s === PAUSE TestDumpPolicies/One_GPO_Machine 295s === RUN TestDumpPolicies/Multiple_GPOs 295s === PAUSE TestDumpPolicies/Multiple_GPOs 295s === RUN TestDumpPolicies/One_GPO_with_rules 295s === PAUSE TestDumpPolicies/One_GPO_with_rules 295s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 295s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 295s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 295s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 295s === RUN TestDumpPolicies/Error_on_missing_target_cache 295s === PAUSE TestDumpPolicies/Error_on_missing_target_cache 295s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 295s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 295s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 295s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 295s === RUN TestDumpPolicies/One_GPO_User 295s === PAUSE TestDumpPolicies/One_GPO_User 295s === RUN TestDumpPolicies/One_GPO_User_+_Machine 295s === PAUSE TestDumpPolicies/One_GPO_User_+_Machine 295s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 295s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 295s === RUN TestDumpPolicies/Same_GPO_Machine_and_User 295s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User 295s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 295s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 295s === RUN TestDumpPolicies/Machine_only_GPO_with_rules 295s === PAUSE TestDumpPolicies/Machine_only_GPO_with_rules 295s === CONT TestCompressAssets/Error_on_non_existing_directory 295s === CONT TestCompressAssets/Error_on_can’t_remove_existing_db 295s === CONT TestCompressAssets/Existing_db 295s === CONT TestNewFromCache/Error_on_invalid_policies_cache 295s --- PASS: TestCachePolicies (0.02s) 295s === CONT TestNewFromCache/Error_on_no_policies_cache 295s === CONT TestNewFromCache/Error_on_invalid_assets_db 295s === CONT TestNewFromCache/With_assets 295s === CONT TestSaveAssetsTo/All 295s === CONT TestSaveAssetsTo/Error_on_can't_chown_to_user 295s === CONT TestSaveAssetsTo/Chown_directories_and_files_when_requested 295s === CONT TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 295s === CONT TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 295s === CONT TestSaveAssetsTo/File 295s --- PASS: TestNew (0.00s) 295s --- PASS: TestNew/Error_on_assets_db_does_not_exists (0.00s) 295s --- PASS: TestNew/Error_on_invalid_assets_db (0.00s) 295s --- PASS: TestNew/gpos_only (0.01s) 295s --- PASS: TestNew/No_gpos (0.02s) 295s --- PASS: TestNew/With_assets (0.06s) 295s === CONT TestSaveAssetsTo/Sub_directory_ending_with_slash 295s === CONT TestSaveAssetsTo/Error_on_no_assets 295s === CONT TestSaveAssetsTo/Error_on_read_only_dest 295s === CONT TestSaveAssetsTo/Error_on_dest_already_exists 295s === CONT TestSaveAssetsTo/Sub_directory 295s === CONT TestSaveAssetsTo/Error_on_empty_relSrc 295s === CONT TestSave/Destdir_does_not_exists 295s === CONT TestSave/With_assets 295s === CONT TestSave/gpos_only 295s === CONT TestSave/Error_on_can’t_remove_existing_assets 295s === CONT TestSave/Error_on_can’t_write_to_policies_base_dir 295s === CONT TestSave/Can_refresh_on_existing_read_only_asset_file 295s === CONT TestSave/Error_on_can’t_write_to_dest_dir 295s --- PASS: TestNewFromCache (0.00s) 295s --- PASS: TestNewFromCache/Error_on_invalid_policies_cache (0.00s) 295s --- PASS: TestNewFromCache/Error_on_no_policies_cache (0.00s) 295s --- PASS: TestNewFromCache/gpos_only (0.01s) 295s --- PASS: TestNewFromCache/Error_on_invalid_assets_db (0.00s) 295s --- PASS: TestNewFromCache/With_assets (0.11s) 295s === CONT TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 295s === CONT TestSave/Save_assets_on_existing_opened_file_does_not_segfault 295s === CONT TestSave/Existing_assets_cache_is_refreshed 295s === CONT TestSave/Existing_policies_cache_is_refreshed 295s === CONT TestGetUniqueRules/Two_policies,_no_overrides 295s --- PASS: TestSaveAssetsTo (0.00s) 295s --- PASS: TestSaveAssetsTo/Error_on_can't_chown_to_user (0.03s) 295s --- PASS: TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest (0.03s) 295s --- PASS: TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache (0.01s) 295s --- PASS: TestSaveAssetsTo/File (0.02s) 295s --- PASS: TestSaveAssetsTo/Error_on_no_assets (0.01s) 295s --- PASS: TestSaveAssetsTo/Error_on_read_only_dest (0.00s) 295s --- PASS: TestSaveAssetsTo/Error_on_dest_already_exists (0.01s) 295s --- PASS: TestSaveAssetsTo/Error_on_empty_relSrc (0.01s) 295s --- PASS: TestSaveAssetsTo/Sub_directory_ending_with_slash (0.04s) 295s --- PASS: TestSaveAssetsTo/All (0.09s) 295s --- PASS: TestSaveAssetsTo/Sub_directory (0.04s) 295s --- PASS: TestSaveAssetsTo/Chown_directories_and_files_when_requested (0.12s) 295s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 295s === CONT TestGetUniqueRules/More_policies,_with_multiple_overrides 295s === CONT TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 295s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 295s === CONT TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 295s === CONT TestGetUniqueRules/Two_policies,_no_overrides,_reversed 295s === CONT TestGetUniqueRules/Two_policies,_with_overrides 295s === CONT TestGetUniqueRules/Multiple_domains,_different_GPOs 295s === CONT TestGetUniqueRules/Multiple_domains,_same_GPOs 295s === CONT TestGetUniqueRules/One_GPO 295s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 295s === CONT TestGetUniqueRules/Two_policies,_with_reversed_overrides 295s === CONT TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 295s === CONT TestGetUniqueRules/Order_key_ascii 295s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 295s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 295s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO 295s === CONT TestGetUniqueRules/Disabled_value_is_overridden 295s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 295s --- PASS: TestGetUniqueRules (0.00s) 295s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides (0.00s) 295s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first (0.00s) 295s --- PASS: TestGetUniqueRules/More_policies,_with_multiple_overrides (0.00s) 295s --- PASS: TestGetUniqueRules/Disabled_value_overrides_non_disabled_one (0.00s) 295s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override (0.00s) 295s --- PASS: TestGetUniqueRules/Append_policy_entry,_closest_meta_wins (0.00s) 295s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides,_reversed (0.00s) 295s --- PASS: TestGetUniqueRules/Two_policies,_with_overrides (0.00s) 295s --- PASS: TestGetUniqueRules/Multiple_domains,_different_GPOs (0.00s) 295s --- PASS: TestGetUniqueRules/Multiple_domains,_same_GPOs (0.00s) 295s --- PASS: TestGetUniqueRules/One_GPO (0.00s) 295s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs (0.00s) 295s --- PASS: TestGetUniqueRules/Two_policies,_with_reversed_overrides (0.00s) 295s --- PASS: TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated (0.00s) 295s --- PASS: TestGetUniqueRules/Order_key_ascii (0.00s) 295s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored (0.00s) 295s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second (0.00s) 295s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO (0.00s) 295s --- PASS: TestGetUniqueRules/Disabled_value_is_overridden (0.00s) 295s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored (0.00s) 295s === CONT TestLastUpdateFor/Returns_user's_last_update_time 295s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 295s === CONT TestDumpPolicies/One_GPO_User 295s === CONT TestLastUpdateFor/Returns_machine's_last_update_time 295s === CONT TestLastUpdateFor/Error_when_target_does_not_exist 295s === CONT TestLastUpdateFor/Target_is_ignored_for_machine_request 295s --- PASS: TestSave (0.00s) 295s --- PASS: TestSave/Destdir_does_not_exists (0.02s) 295s --- PASS: TestSave/gpos_only (0.01s) 295s --- PASS: TestSave/Error_on_can’t_write_to_policies_base_dir (0.01s) 295s --- PASS: TestSave/With_assets (0.04s) 295s --- PASS: TestSave/Error_on_can’t_write_to_dest_dir (0.01s) 295s --- PASS: TestSave/Existing_cache_with_assets,_new_cache_with_no_assets (0.01s) 295s --- PASS: TestSave/Error_on_can’t_remove_existing_assets (0.03s) 295s --- PASS: TestSave/Existing_policies_cache_is_refreshed (0.01s) 295s --- PASS: TestSave/Save_assets_on_existing_opened_file_does_not_segfault (0.03s) 295s --- PASS: TestSave/Existing_assets_cache_is_refreshed (0.03s) 295s --- PASS: TestSave/Can_refresh_on_existing_read_only_asset_file (0.04s) 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s === CONT TestDumpPolicies/Machine_only_GPO_with_rules 295s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 295s === CONT TestDumpPolicies/Same_GPO_Machine_and_User 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for autopkgtest-lxd-hnnyqo" 295s --- PASS: TestCompressAssets (0.00s) 295s --- PASS: TestCompressAssets/Error_on_non_existing_directory (0.02s) 295s --- PASS: TestCompressAssets/Error_on_can’t_remove_existing_db (0.02s) 295s --- PASS: TestCompressAssets/Existing_db (0.18s) 295s --- PASS: TestCompressAssets/No_db (0.19s) 295s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s === CONT TestDumpPolicies/One_GPO_User_+_Machine 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 295s === CONT TestDumpPolicies/Error_on_missing_target_cache 295s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s time="2025-10-18T15:05:42Z" level=info msg="User \"user\" not found on cache." 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 295s === CONT TestDumpPolicies/One_GPO_with_rules 295s === CONT TestDumpPolicies/Multiple_GPOs 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s === CONT TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 295s === CONT TestDumpPolicies/One_GPO_Machine 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s time="2025-10-18T15:05:42Z" level=info msg="Get policies last update time \"user\" (machine: false)" 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for autopkgtest-lxd-hnnyqo" 295s time="2025-10-18T15:05:42Z" level=info msg="Dumping policies for user" 295s --- PASS: TestDumpPolicies (0.01s) 295s --- PASS: TestDumpPolicies/One_GPO_User (0.03s) 295s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_no_override (0.04s) 295s --- PASS: TestDumpPolicies/Machine_only_GPO_with_rules (0.01s) 295s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown (0.01s) 295s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules (0.02s) 295s --- PASS: TestDumpPolicies/One_GPO_User_+_Machine (0.01s) 295s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User (0.03s) 295s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden (0.02s) 295s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden (0.03s) 295s --- PASS: TestDumpPolicies/Error_on_missing_target_cache (0.03s) 295s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides (0.03s) 295s --- PASS: TestDumpPolicies/One_GPO_with_rules (0.01s) 295s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown (0.02s) 295s --- PASS: TestDumpPolicies/Multiple_GPOs (0.02s) 295s --- PASS: TestDumpPolicies/One_GPO_Machine (0.01s) 295s --- PASS: TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user (0.01s) 295s time="2025-10-18T15:05:42Z" level=info msg="Get policies last update time \"autopkgtest-lxd-hnnyqo\" (machine: true)" 295s time="2025-10-18T15:05:42Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: false)" 295s time="2025-10-18T15:05:42Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: true)" 295s --- PASS: TestLastUpdateFor (0.01s) 295s --- PASS: TestLastUpdateFor/Returns_user's_last_update_time (0.12s) 295s --- PASS: TestLastUpdateFor/Returns_machine's_last_update_time (0.11s) 295s --- PASS: TestLastUpdateFor/Error_when_target_does_not_exist (0.12s) 295s --- PASS: TestLastUpdateFor/Target_is_ignored_for_machine_request (0.11s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/policies 1.723s 295s === RUN TestApplyPolicy 295s === PAUSE TestApplyPolicy 295s === RUN TestMockApparmorParser 295s --- PASS: TestMockApparmorParser (0.00s) 295s === CONT TestApplyPolicy 295s === RUN TestApplyPolicy/Error_on_loading_profiles_failing 295s === PAUSE TestApplyPolicy/Error_on_loading_profiles_failing 295s === RUN TestApplyPolicy/Error_on_read-only_root_directory_with_entries 295s === PAUSE TestApplyPolicy/Error_on_read-only_root_directory_with_entries 295s === RUN TestApplyPolicy/Existing_.old_directory_is_removed 295s === PAUSE TestApplyPolicy/Existing_.old_directory_is_removed 295s === RUN TestApplyPolicy/User,_valid_mapping,_unchanged_content 295s === PAUSE TestApplyPolicy/User,_valid_mapping,_unchanged_content 295s === RUN TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 295s === PAUSE TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 295s === RUN TestApplyPolicy/User,_error_on_empty_user_profile 295s === PAUSE TestApplyPolicy/User,_error_on_empty_user_profile 295s === RUN TestApplyPolicy/User,_error_on_save_assets_failing 295s === PAUSE TestApplyPolicy/User,_error_on_save_assets_failing 295s === RUN TestApplyPolicy/Computer,_one_profile 295s === PAUSE TestApplyPolicy/Computer,_one_profile 295s === RUN TestApplyPolicy/Error_on_removing_unused_assets_after_dump 295s === PAUSE TestApplyPolicy/Error_on_removing_unused_assets_after_dump 295s === RUN TestApplyPolicy/Computer,_blank_line_profiles 295s === PAUSE TestApplyPolicy/Computer,_blank_line_profiles 295s === RUN TestApplyPolicy/Computer,_user_policies_are_unloaded 295s === PAUSE TestApplyPolicy/Computer,_user_policies_are_unloaded 295s === RUN TestApplyPolicy/Unexpected_entry_key 295s === PAUSE TestApplyPolicy/Unexpected_entry_key 295s === RUN TestApplyPolicy/Error_on_unloading_all_profiles_failing 295s === PAUSE TestApplyPolicy/Error_on_unloading_all_profiles_failing 295s === RUN TestApplyPolicy/Error_on_profile_being_a_directory 295s === PAUSE TestApplyPolicy/Error_on_profile_being_a_directory 295s === RUN TestApplyPolicy/Error_on_file_as_a_directory 295s === PAUSE TestApplyPolicy/Error_on_file_as_a_directory 295s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 295s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 295s === RUN TestApplyPolicy/Error_on_absent_profile 295s === PAUSE TestApplyPolicy/Error_on_absent_profile 295s === RUN TestApplyPolicy/Error_on_read-only_machine_directory 295s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory 295s === RUN TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 295s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 295s === RUN TestApplyPolicy/Error_on_read-only_.old_directory 295s === PAUSE TestApplyPolicy/Error_on_read-only_.old_directory 295s === RUN TestApplyPolicy/Error_on_read-only_.new_directory 295s === PAUSE TestApplyPolicy/Error_on_read-only_.new_directory 295s === RUN TestApplyPolicy/Existing_.new_directory_is_removed 295s === PAUSE TestApplyPolicy/Existing_.new_directory_is_removed 295s === RUN TestApplyPolicy/User,_valid_mapping 295s === PAUSE TestApplyPolicy/User,_valid_mapping 295s === RUN TestApplyPolicy/User,_no_machine_profiles 295s === PAUSE TestApplyPolicy/User,_no_machine_profiles 295s === RUN TestApplyPolicy/User,_error_on_multiple_profiles 295s === PAUSE TestApplyPolicy/User,_error_on_multiple_profiles 295s === RUN TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 295s === PAUSE TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 295s === RUN TestApplyPolicy/Error_on_absent_loaded_policies_file 295s === PAUSE TestApplyPolicy/Error_on_absent_loaded_policies_file 295s === RUN TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 295s === PAUSE TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 295s === RUN TestApplyPolicy/Computer,_only_blank_profiles 295s === PAUSE TestApplyPolicy/Computer,_only_blank_profiles 295s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 295s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 295s === RUN TestApplyPolicy/No_apparmor_parser_and_no_entries 295s === PAUSE TestApplyPolicy/No_apparmor_parser_and_no_entries 295s === RUN TestApplyPolicy/Computer,_multiple_profiles, 295s === PAUSE TestApplyPolicy/Computer,_multiple_profiles, 295s === RUN TestApplyPolicy/Computer,_whitespace-only_value 295s === PAUSE TestApplyPolicy/Computer,_whitespace-only_value 295s === RUN TestApplyPolicy/Computer,_previous_profiles_are_unloaded 295s === PAUSE TestApplyPolicy/Computer,_previous_profiles_are_unloaded 295s === RUN TestApplyPolicy/No_profiles,_existing_rules_are_removed 295s === PAUSE TestApplyPolicy/No_profiles,_existing_rules_are_removed 295s === RUN TestApplyPolicy/No_profiles,_apparmor_directory_absent 295s === PAUSE TestApplyPolicy/No_profiles,_apparmor_directory_absent 295s === RUN TestApplyPolicy/User,_error_on_overwriting_profile_contents 295s === PAUSE TestApplyPolicy/User,_error_on_overwriting_profile_contents 295s === RUN TestApplyPolicy/Read-only_root_directory_and_no_entries 295s === PAUSE TestApplyPolicy/Read-only_root_directory_and_no_entries 295s === RUN TestApplyPolicy/Computer,_duplicated_profiles 295s === PAUSE TestApplyPolicy/Computer,_duplicated_profiles 295s === RUN TestApplyPolicy/Computer,_profiles_with_whitespace 295s === PAUSE TestApplyPolicy/Computer,_profiles_with_whitespace 295s === RUN TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 295s === PAUSE TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 295s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 295s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 295s === RUN TestApplyPolicy/Error_on_unloading_old_profiles_failing 295s === PAUSE TestApplyPolicy/Error_on_unloading_old_profiles_failing 295s === RUN TestApplyPolicy/No_apparmor_parser_and_entries 295s === PAUSE TestApplyPolicy/No_apparmor_parser_and_entries 295s === CONT TestApplyPolicy/Error_on_loading_profiles_failing 295s === CONT TestApplyPolicy/User,_valid_mapping 295s === CONT TestApplyPolicy/Computer,_previous_profiles_are_unloaded 295s === CONT TestApplyPolicy/Computer,_only_blank_profiles 295s === CONT TestApplyPolicy/Computer,_whitespace-only_value 295s === CONT TestApplyPolicy/Computer,_profiles_with_whitespace 295s === CONT TestApplyPolicy/Existing_.new_directory_is_removed 295s === CONT TestApplyPolicy/Error_on_read-only_.new_directory 295s === CONT TestApplyPolicy/No_apparmor_parser_and_entries 295s === CONT TestApplyPolicy/Error_on_unloading_old_profiles_failing 295s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 295s === CONT TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 295s === CONT TestApplyPolicy/Computer,_multiple_profiles, 295s === CONT TestApplyPolicy/No_apparmor_parser_and_no_entries 295s time="2025-10-18T15:05:40Z" level=warning msg="Apparmor is not available on this system: exec: \"this-definitely-does-not-exist\": executable file not found in $PATH" 295s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 295s === CONT TestApplyPolicy/Computer,_user_policies_are_unloaded 295s === CONT TestApplyPolicy/Error_on_read-only_.old_directory 295s === CONT TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 295s === CONT TestApplyPolicy/Error_on_read-only_machine_directory 295s === CONT TestApplyPolicy/Error_on_absent_profile 295s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 295s === CONT TestApplyPolicy/Error_on_file_as_a_directory 295s === CONT TestApplyPolicy/Error_on_profile_being_a_directory 295s === CONT TestApplyPolicy/Error_on_unloading_all_profiles_failing 295s === CONT TestApplyPolicy/Unexpected_entry_key 295s === CONT TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 295s === CONT TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 295s === CONT TestApplyPolicy/Error_on_absent_loaded_policies_file 295s === CONT TestApplyPolicy/User,_error_on_overwriting_profile_contents 295s === CONT TestApplyPolicy/Computer,_duplicated_profiles 295s === CONT TestApplyPolicy/Read-only_root_directory_and_no_entries 295s === CONT TestApplyPolicy/User,_no_machine_profiles 295s time="2025-10-18T15:05:41Z" level=warning msg="No apparmor machine profiles configured for this machine, skipping reload" 295s === CONT TestApplyPolicy/User,_error_on_multiple_profiles 295s === CONT TestApplyPolicy/Computer,_blank_line_profiles 295s === CONT TestApplyPolicy/Error_on_removing_unused_assets_after_dump 295s === CONT TestApplyPolicy/Computer,_one_profile 295s === CONT TestApplyPolicy/User,_error_on_save_assets_failing 295s === CONT TestApplyPolicy/User,_error_on_empty_user_profile 295s === CONT TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 295s time="2025-10-18T15:05:41Z" level=warning msg="Couldn't remove new apparmor directory: unlinkat /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump711097879/001/machine/nested/usr.bin.baz: permission denied" 295s time="2025-10-18T15:05:41Z" level=warning msg="Couldn't restore previous apparmor directory: rename /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump711097879/001/machine.old /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump711097879/001/machine: file exists" 295s === CONT TestApplyPolicy/User,_valid_mapping,_unchanged_content 295s === CONT TestApplyPolicy/Existing_.old_directory_is_removed 295s === CONT TestApplyPolicy/Error_on_read-only_root_directory_with_entries 295s === CONT TestApplyPolicy/No_profiles,_apparmor_directory_absent 295s === CONT TestApplyPolicy/No_profiles,_existing_rules_are_removed 295s --- PASS: TestApplyPolicy (0.00s) 295s --- PASS: TestApplyPolicy/Computer,_only_blank_profiles (0.05s) 295s --- PASS: TestApplyPolicy/Error_on_read-only_.new_directory (0.06s) 295s --- PASS: TestApplyPolicy/No_apparmor_parser_and_entries (0.04s) 295s --- PASS: TestApplyPolicy/Computer,_whitespace-only_value (0.10s) 295s --- PASS: TestApplyPolicy/User,_valid_mapping (0.13s) 295s --- PASS: TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted (0.07s) 295s --- PASS: TestApplyPolicy/Existing_.new_directory_is_removed (0.18s) 295s --- PASS: TestApplyPolicy/No_apparmor_parser_and_no_entries (0.04s) 295s --- PASS: TestApplyPolicy/Error_on_loading_profiles_failing (0.25s) 295s --- PASS: TestApplyPolicy/Computer,_profiles_with_whitespace (0.29s) 295s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous (0.24s) 295s --- PASS: TestApplyPolicy/Computer,_previous_profiles_are_unloaded (0.34s) 295s --- PASS: TestApplyPolicy/Error_on_read-only_.old_directory (0.09s) 295s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 295s --- PASS: TestApplyPolicy/Error_on_absent_profile (0.03s) 295s --- PASS: TestApplyPolicy/Error_on_profile_being_a_directory (0.04s) 295s --- PASS: TestApplyPolicy/Error_on_file_as_a_directory (0.07s) 295s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries (0.13s) 295s --- PASS: TestApplyPolicy/Computer,_multiple_profiles, (0.30s) 295s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous (0.26s) 295s --- PASS: TestApplyPolicy/Computer,_user_policies_are_unloaded (0.24s) 295s --- PASS: TestApplyPolicy/Unexpected_entry_key (0.05s) 295s --- PASS: TestApplyPolicy/Error_on_preprocessing_old_profiles_failing (0.08s) 295s --- PASS: TestApplyPolicy/Read-only_root_directory_and_no_entries (0.01s) 295s --- PASS: TestApplyPolicy/Error_on_unloading_all_profiles_failing (0.13s) 295s --- PASS: TestApplyPolicy/Error_on_absent_loaded_policies_file (0.09s) 295s --- PASS: TestApplyPolicy/Error_on_unloading_old_profiles_failing (0.47s) 295s --- PASS: TestApplyPolicy/User,_no_machine_profiles (0.04s) 295s --- PASS: TestApplyPolicy/Computer,_duplicated_profiles (0.12s) 295s --- PASS: TestApplyPolicy/Error_on_preprocessing_new_profiles_failing (0.16s) 295s --- PASS: TestApplyPolicy/User,_error_on_overwriting_profile_contents (0.15s) 295s --- PASS: TestApplyPolicy/User,_error_on_save_assets_failing (0.04s) 295s --- PASS: TestApplyPolicy/User,_error_on_empty_user_profile (0.05s) 295s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory (0.33s) 295s --- PASS: TestApplyPolicy/Error_on_read-only_root_directory_with_entries (0.01s) 295s --- PASS: TestApplyPolicy/No_profiles,_apparmor_directory_absent (0.01s) 295s --- PASS: TestApplyPolicy/Computer,_one_profile (0.17s) 295s --- PASS: TestApplyPolicy/User,_error_on_multiple_profiles (0.19s) 295s --- PASS: TestApplyPolicy/Error_on_removing_unused_assets_after_dump (0.19s) 295s --- PASS: TestApplyPolicy/Computer,_blank_line_profiles (0.19s) 295s --- PASS: TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded (0.13s) 295s --- PASS: TestApplyPolicy/User,_valid_mapping,_unchanged_content (0.12s) 295s --- PASS: TestApplyPolicy/No_profiles,_existing_rules_are_removed (0.07s) 295s --- PASS: TestApplyPolicy/Existing_.old_directory_is_removed (0.14s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/policies/apparmor 0.832s 295s === RUN TestCertAutoenrollScript 295s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON 295s === RUN TestCertAutoenrollScript/Error_on_read-only_path 295s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_keys 295s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_structure 295s === RUN TestCertAutoenrollScript/Error_on_unenroll_failure 295s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration 295s === RUN TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration 295s === RUN TestCertAutoenrollScript/Unenroll 295s === RUN TestCertAutoenrollScript/Enroll_with_certmonger_not_installed 295s === RUN TestCertAutoenrollScript/Error_on_invalid_flags 295s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled 295s === RUN TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration 295s === RUN TestCertAutoenrollScript/Enroll_with_cepces_not_installed 295s === RUN TestCertAutoenrollScript/Error_on_missing_arguments 295s === RUN TestCertAutoenrollScript/Error_on_enroll_failure 295s --- PASS: TestCertAutoenrollScript (2.94s) 295s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON (0.18s) 295s --- PASS: TestCertAutoenrollScript/Error_on_read-only_path (0.15s) 295s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_keys (0.27s) 295s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_structure (0.21s) 295s --- PASS: TestCertAutoenrollScript/Error_on_unenroll_failure (0.31s) 295s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration (0.27s) 295s --- PASS: TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration (0.14s) 295s --- PASS: TestCertAutoenrollScript/Unenroll (0.20s) 295s --- PASS: TestCertAutoenrollScript/Enroll_with_certmonger_not_installed (0.14s) 295s --- PASS: TestCertAutoenrollScript/Error_on_invalid_flags (0.26s) 295s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled (0.21s) 295s --- PASS: TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration (0.16s) 295s --- PASS: TestCertAutoenrollScript/Enroll_with_cepces_not_installed (0.15s) 295s --- PASS: TestCertAutoenrollScript/Error_on_missing_arguments (0.13s) 295s --- PASS: TestCertAutoenrollScript/Error_on_enroll_failure (0.14s) 295s === RUN TestApplyPolicy 295s === RUN TestApplyPolicy/Computer,_no_entries 295s === RUN TestApplyPolicy/Computer,_autoenroll_disabled 295s === RUN TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration 295s time="2025-10-18T15:05:44Z" level=info msg="Certificate autoenrollment script ran successfully\n" 295s === RUN TestApplyPolicy/Computer,_configured_to_unenroll 295s time="2025-10-18T15:05:45Z" level=info msg="Certificate autoenrollment script ran successfully\n" 295s === RUN TestApplyPolicy/User,_autoenroll_not_supported 295s === RUN TestApplyPolicy/Error_on_autoenroll_script_failure 295s === RUN TestApplyPolicy/Computer,_no_entries,_Samba_cache_present 295s time="2025-10-18T15:05:45Z" level=info msg="Certificate autoenrollment script ran successfully\n" 295s === RUN TestApplyPolicy/Computer,_domain_is_offline 295s === RUN TestApplyPolicy/Computer,_configured_to_enroll 295s time="2025-10-18T15:05:45Z" level=info msg="Certificate autoenrollment script ran successfully\n" 295s === RUN TestApplyPolicy/Error_on_invalid_autoenroll_value 295s === RUN TestApplyPolicy/Error_on_invalid_advanced_configuration_value 295s --- PASS: TestApplyPolicy (0.08s) 295s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 295s --- PASS: TestApplyPolicy/Computer,_autoenroll_disabled (0.00s) 295s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration (0.02s) 295s --- PASS: TestApplyPolicy/Computer,_configured_to_unenroll (0.01s) 295s --- PASS: TestApplyPolicy/User,_autoenroll_not_supported (0.00s) 295s --- PASS: TestApplyPolicy/Error_on_autoenroll_script_failure (0.01s) 295s --- PASS: TestApplyPolicy/Computer,_no_entries,_Samba_cache_present (0.02s) 295s --- PASS: TestApplyPolicy/Computer,_domain_is_offline (0.00s) 295s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll (0.01s) 295s --- PASS: TestApplyPolicy/Error_on_invalid_autoenroll_value (0.00s) 295s --- PASS: TestApplyPolicy/Error_on_invalid_advanced_configuration_value (0.00s) 295s === RUN TestMockAutoenrollScript 295s --- PASS: TestMockAutoenrollScript (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/policies/certificate 3.084s 295s === RUN TestNormalize 295s === PAUSE TestNormalize 295s === RUN TestApplyPolicy 295s === PAUSE TestApplyPolicy 295s === CONT TestNormalize 295s === RUN TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 295s === PAUSE TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 295s === RUN TestNormalize/Multi-lines_ai 295s === PAUSE TestNormalize/Multi-lines_ai 295s === RUN TestNormalize/ai_without_ending_] 295s === PAUSE TestNormalize/ai_without_ending_] 295s === RUN TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 295s === PAUSE TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 295s === RUN TestNormalize/simple_unquoted_as 295s === PAUSE TestNormalize/simple_unquoted_as 295s === RUN TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 295s === PAUSE TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 295s === RUN TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 295s === PAUSE TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 295s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 295s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 295s === RUN TestNormalize/one_quote 295s === PAUSE TestNormalize/one_quote 295s === RUN TestNormalize/simple_boolean_true 295s === PAUSE TestNormalize/simple_boolean_true 295s === RUN TestNormalize/y_transformed_to_boolean 295s === PAUSE TestNormalize/y_transformed_to_boolean 295s === RUN TestNormalize/simple_as_with_no_spaces 295s === PAUSE TestNormalize/simple_as_with_no_spaces 295s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 295s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 295s === RUN TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 295s === PAUSE TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 295s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 295s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 295s === RUN TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 295s === PAUSE TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 295s === RUN TestNormalize/one_escaped_quote 295s === PAUSE TestNormalize/one_escaped_quote 295s === RUN TestNormalize/unquoted_string_with_quotes 295s === PAUSE TestNormalize/unquoted_string_with_quotes 295s === RUN TestNormalize/with_spaces 295s === PAUSE TestNormalize/with_spaces 295s === RUN TestNormalize/weird_case_false 295s === PAUSE TestNormalize/weird_case_false 295s === RUN TestNormalize/as_with_leading_and_ending_spaces_and__[] 295s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and__[] 295s === CONT TestApplyPolicy 295s === RUN TestApplyPolicy/Multi-lines_as 295s === PAUSE TestApplyPolicy/Multi-lines_as 295s === RUN TestApplyPolicy/Error_on_invalid_ai 295s === PAUSE TestApplyPolicy/Error_on_invalid_ai 295s === RUN TestApplyPolicy/Update_machine_disabled_key_with_value 295s === PAUSE TestApplyPolicy/Update_machine_disabled_key_with_value 295s === RUN TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 295s === PAUSE TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 295s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_machine 295s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_machine 295s === RUN TestApplyPolicy/Missing_user_compiled_db_for_user 295s === PAUSE TestApplyPolicy/Missing_user_compiled_db_for_user 295s === RUN TestApplyPolicy/No_surrounding_brackets_multiple_ai 295s === PAUSE TestApplyPolicy/No_surrounding_brackets_multiple_ai 295s === RUN TestApplyPolicy/Error_on_invalid_type 295s === PAUSE TestApplyPolicy/Error_on_invalid_type 295s === RUN TestApplyPolicy/Error_on_empty_meta 295s === PAUSE TestApplyPolicy/Error_on_empty_meta 295s === RUN TestApplyPolicy/Multiple_sections 295s === PAUSE TestApplyPolicy/Multiple_sections 295s === RUN TestApplyPolicy/Multi-lines_as_mixed_with_comma 295s === PAUSE TestApplyPolicy/Multi-lines_as_mixed_with_comma 295s === RUN TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 295s === PAUSE TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 295s === RUN TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 295s === PAUSE TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 295s === RUN TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 295s === PAUSE TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 295s === RUN TestApplyPolicy/Machine_updates_existing_value 295s === PAUSE TestApplyPolicy/Machine_updates_existing_value 295s === RUN TestApplyPolicy/Machine_updates_key_is_now_disabled 295s === PAUSE TestApplyPolicy/Machine_updates_key_is_now_disabled 295s === RUN TestApplyPolicy/Multiple_sections_with_disabled_keys 295s === PAUSE TestApplyPolicy/Multiple_sections_with_disabled_keys 295s === RUN TestApplyPolicy/No_update_when_no_change 295s === PAUSE TestApplyPolicy/No_update_when_no_change 295s === RUN TestApplyPolicy/Unquoted_string 295s === PAUSE TestApplyPolicy/Unquoted_string 295s === RUN TestApplyPolicy/Do_not_update_other_files_from_db 295s === PAUSE TestApplyPolicy/Do_not_update_other_files_from_db 295s === RUN TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 295s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 295s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 295s === PAUSE TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 295s === RUN TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 295s === PAUSE TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 295s === RUN TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 295s === RUN TestNormalize/ai_without_leading_[ 295s === PAUSE TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 295s === RUN TestApplyPolicy/Do_not_interfere_with_other_user_profile 295s === PAUSE TestApplyPolicy/Do_not_interfere_with_other_user_profile 295s === RUN TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 295s === PAUSE TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 295s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_as 295s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_as 295s === RUN TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 295s === PAUSE TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 295s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 295s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 295s === RUN TestApplyPolicy/User_updates_existing_value 295s === PAUSE TestApplyPolicy/User_updates_existing_value 295s === RUN TestApplyPolicy/User_updates_with_different_value 295s === PAUSE TestApplyPolicy/User_updates_with_different_value 295s === RUN TestApplyPolicy/User_updates_key_is_now_disabled 295s === PAUSE TestApplyPolicy/User_updates_key_is_now_disabled 295s === RUN TestApplyPolicy/Update_user_disabled_key_with_value 295s === PAUSE TestApplyPolicy/Update_user_disabled_key_with_value 295s === RUN TestApplyPolicy/Multiple_keys_same_category 295s === PAUSE TestApplyPolicy/Multiple_keys_same_category 295s === RUN TestApplyPolicy/Quoted_b 295s === PAUSE TestApplyPolicy/Quoted_b 295s === RUN TestApplyPolicy/Machine_updates_with_different_value 295s === PAUSE TestApplyPolicy/Machine_updates_with_different_value 295s === RUN TestApplyPolicy/Quoted_i 295s === PAUSE TestApplyPolicy/Quoted_i 295s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_as 295s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_as 295s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 295s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 295s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 295s === PAUSE TestNormalize/ai_without_leading_[ 295s === RUN TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 295s === PAUSE TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 295s === RUN TestNormalize/yes_transformed_to_boolean 295s === PAUSE TestNormalize/yes_transformed_to_boolean 295s === RUN TestNormalize/Multi-lines_ai_with_spaces_inside 295s === PAUSE TestNormalize/Multi-lines_ai_with_spaces_inside 295s === RUN TestNormalize/non_supported_is_reported_as_is 295s === PAUSE TestNormalize/non_supported_is_reported_as_is 295s === RUN TestNormalize/as_with_weird_composition_inception_will_be_quoted 295s === PAUSE TestNormalize/as_with_weird_composition_inception_will_be_quoted 295s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 295s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 295s === RUN TestNormalize/quoted_string_with_quotes 295s === PAUSE TestNormalize/quoted_string_with_quotes 295s === RUN TestNormalize/n_transformed_to_boolean 295s === PAUSE TestNormalize/n_transformed_to_boolean 295s === RUN TestNormalize/as_without_leading_[ 295s === PAUSE TestNormalize/as_without_leading_[ 295s === RUN TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 295s === PAUSE TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 295s === RUN TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 295s === PAUSE TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 295s === RUN TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 295s === PAUSE TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 295s === RUN TestNormalize/simple_ai_with_no_spaces 295s === PAUSE TestNormalize/simple_ai_with_no_spaces 295s === RUN TestNormalize/simple_quoted_string 295s === PAUSE TestNormalize/simple_quoted_string 295s === RUN TestNormalize/simple_unquoted_string 295s === PAUSE TestNormalize/simple_unquoted_string 295s === RUN TestNormalize/simple_boolean_false 295s === PAUSE TestNormalize/simple_boolean_false 295s === RUN TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 295s === PAUSE TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 295s === RUN TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 295s === PAUSE TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 295s === RUN TestNormalize/Multi-lines_as_with_quoted_','_is_supported 295s === PAUSE TestNormalize/Multi-lines_as_with_quoted_','_is_supported 295s === RUN TestNormalize/Multi-lines_as_quoted 295s === PAUSE TestNormalize/Multi-lines_as_quoted 295s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 295s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 295s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 295s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 295s === RUN TestNormalize/as_empty_elements_separated_with_commas_are_kept 295s === PAUSE TestNormalize/as_empty_elements_separated_with_commas_are_kept 295s === RUN TestNormalize/simple_ai 295s === PAUSE TestNormalize/simple_ai 295s === RUN TestNormalize/string_with_escaped_quotes 295s === PAUSE TestNormalize/string_with_escaped_quotes 295s === RUN TestNormalize/on_transformed_to_boolean 295s === PAUSE TestNormalize/on_transformed_to_boolean 295s === RUN TestNormalize/off_transformed_to_boolean 295s === PAUSE TestNormalize/off_transformed_to_boolean 295s === RUN TestNormalize/simple_quoted_as 295s === PAUSE TestNormalize/simple_quoted_as 295s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 295s === RUN TestNormalize/as_with_spaces_inside 295s === PAUSE TestNormalize/as_with_spaces_inside 295s === RUN TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 295s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 295s === RUN TestNormalize/ai_with_spaces_inside 295s === PAUSE TestNormalize/ai_with_spaces_inside 295s === RUN TestApplyPolicy/Multi-lines_ai 295s === PAUSE TestApplyPolicy/Multi-lines_ai 295s === RUN TestApplyPolicy/Multi-lines_ai_mixed_with_comma 295s === PAUSE TestApplyPolicy/Multi-lines_ai_mixed_with_comma 295s === RUN TestApplyPolicy/Error_when_machine_db_does_not_exist 295s === PAUSE TestApplyPolicy/Error_when_machine_db_does_not_exist 295s === RUN TestApplyPolicy/No_policy_still_generates_a_valid_db 295s === PAUSE TestApplyPolicy/No_policy_still_generates_a_valid_db 295s === RUN TestNormalize/ai_empty_elements_separated_with_commas_are_kept 295s === PAUSE TestNormalize/ai_empty_elements_separated_with_commas_are_kept 295s === RUN TestNormalize/empty_quoted_string 295s === PAUSE TestNormalize/empty_quoted_string 295s === RUN TestNormalize/Multi-lines_as_with_spaces_inside 295s === PAUSE TestNormalize/Multi-lines_as_with_spaces_inside 295s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 295s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 295s === RUN TestNormalize/string_with_multiple_backslashes_escaped_quotes 295s === PAUSE TestNormalize/string_with_multiple_backslashes_escaped_quotes 295s === RUN TestNormalize/string_with_two_backslashes_don’t_escape_quotes 295s === PAUSE TestNormalize/string_with_two_backslashes_don’t_escape_quotes 295s === RUN TestNormalize/no_transformed_to_boolean 295s === PAUSE TestNormalize/no_transformed_to_boolean 295s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and__[] 295s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and__[] 295s === RUN TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 295s === PAUSE TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 295s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 295s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 295s === RUN TestNormalize/empty_unquoted_string 295s === PAUSE TestNormalize/empty_unquoted_string 295s === RUN TestNormalize/weird_case_true 295s === PAUSE TestNormalize/weird_case_true 295s === RUN TestNormalize/as_without_ending_] 295s === PAUSE TestNormalize/as_without_ending_] 295s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 295s === RUN TestNormalize/Multi-lines_as_unquoted 295s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 295s === PAUSE TestNormalize/Multi-lines_as_unquoted 295s === RUN TestApplyPolicy/New_user 295s === PAUSE TestApplyPolicy/New_user 295s === RUN TestApplyPolicy/First_boot 295s === PAUSE TestApplyPolicy/First_boot 295s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_user 295s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_user 295s === RUN TestApplyPolicy/No_surrounding_brackets_ai 295s === PAUSE TestApplyPolicy/No_surrounding_brackets_ai 295s === CONT TestApplyPolicy/Multi-lines_as 295s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 295s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 295s === CONT TestApplyPolicy/No_policy_still_generates_a_valid_db 295s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_as 295s === CONT TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 295s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_user 295s === RUN TestNormalize/Multi-lines_as_with_explicit_empty_element 295s === PAUSE TestNormalize/Multi-lines_as_with_explicit_empty_element 295s === RUN TestNormalize/unmanaged_types_are_returned_as_is 295s === PAUSE TestNormalize/unmanaged_types_are_returned_as_is 295s === RUN TestNormalize/as_simple_quoted_as_with_spaces 295s === PAUSE TestNormalize/as_simple_quoted_as_with_spaces 295s === RUN TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 295s === PAUSE TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 295s === CONT TestApplyPolicy/New_user 295s === CONT TestApplyPolicy/First_boot 295s === CONT TestApplyPolicy/Multiple_keys_same_category 295s === CONT TestApplyPolicy/User_updates_key_is_now_disabled 295s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_as 295s === CONT TestApplyPolicy/Quoted_i 295s === CONT TestApplyPolicy/Machine_updates_with_different_value 295s === CONT TestApplyPolicy/Quoted_b 295s === CONT TestApplyPolicy/No_surrounding_brackets_ai 295s === CONT TestApplyPolicy/User_updates_existing_value 295s === CONT TestApplyPolicy/Update_user_disabled_key_with_value 295s === CONT TestApplyPolicy/User_updates_with_different_value 295s === CONT TestApplyPolicy/Multi-lines_ai_mixed_with_comma 295s === CONT TestApplyPolicy/Error_when_machine_db_does_not_exist 295s === CONT TestApplyPolicy/Multi-lines_ai 295s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 295s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 295s === CONT TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 295s === CONT TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 295s === CONT TestApplyPolicy/Do_not_interfere_with_other_user_profile 295s === CONT TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 295s === CONT TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 295s === CONT TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 295s === CONT TestApplyPolicy/Do_not_update_other_files_from_db 295s === CONT TestApplyPolicy/Unquoted_string 295s === CONT TestApplyPolicy/No_update_when_no_change 295s === CONT TestApplyPolicy/Multiple_sections_with_disabled_keys 295s === CONT TestApplyPolicy/Machine_updates_key_is_now_disabled 295s === CONT TestApplyPolicy/Machine_updates_existing_value 295s === CONT TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 295s === CONT TestApplyPolicy/No_surrounding_brackets_multiple_ai 295s === CONT TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 295s === CONT TestApplyPolicy/Multi-lines_as_mixed_with_comma 295s === CONT TestApplyPolicy/Multiple_sections 295s === CONT TestApplyPolicy/Error_on_empty_meta 295s === CONT TestApplyPolicy/Error_on_invalid_type 295s === CONT TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 295s === CONT TestApplyPolicy/Missing_user_compiled_db_for_user 295s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_machine 295s === CONT TestApplyPolicy/Update_machine_disabled_key_with_value 295s === CONT TestApplyPolicy/Error_on_invalid_ai 295s === CONT TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 295s === CONT TestNormalize/simple_quoted_string 295s === CONT TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 295s === CONT TestNormalize/as_simple_quoted_as_with_spaces 295s === CONT TestNormalize/unmanaged_types_are_returned_as_is 295s === CONT TestNormalize/Multi-lines_as_with_explicit_empty_element 295s === CONT TestNormalize/Multi-lines_as_unquoted 295s === CONT TestNormalize/as_without_ending_] 295s === CONT TestNormalize/weird_case_true 295s === CONT TestNormalize/empty_unquoted_string 295s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 295s === CONT TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 295s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and__[] 295s === CONT TestNormalize/no_transformed_to_boolean 295s === CONT TestNormalize/string_with_two_backslashes_don’t_escape_quotes 295s === CONT TestNormalize/string_with_multiple_backslashes_escaped_quotes 295s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 295s === CONT TestNormalize/Multi-lines_as_with_spaces_inside 295s === CONT TestNormalize/empty_quoted_string 295s === CONT TestNormalize/ai_empty_elements_separated_with_commas_are_kept 295s === CONT TestNormalize/ai_with_spaces_inside 295s === CONT TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 295s === CONT TestNormalize/as_with_spaces_inside 295s === CONT TestNormalize/simple_quoted_as 295s === CONT TestNormalize/off_transformed_to_boolean 295s === CONT TestNormalize/on_transformed_to_boolean 295s === CONT TestNormalize/string_with_escaped_quotes 295s === CONT TestNormalize/simple_ai 295s === CONT TestNormalize/as_empty_elements_separated_with_commas_are_kept 295s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 295s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 295s === CONT TestNormalize/Multi-lines_as_quoted 295s === CONT TestNormalize/Multi-lines_as_with_quoted_','_is_supported 295s === CONT TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 295s === CONT TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 295s === CONT TestNormalize/simple_boolean_false 295s === CONT TestNormalize/simple_unquoted_string 295s === CONT TestNormalize/with_spaces 295s === CONT TestNormalize/simple_ai_with_no_spaces 295s === CONT TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 295s === CONT TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 295s === CONT TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 295s === CONT TestNormalize/as_without_leading_[ 295s === CONT TestNormalize/n_transformed_to_boolean 295s === CONT TestNormalize/quoted_string_with_quotes 295s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 295s === CONT TestNormalize/as_with_weird_composition_inception_will_be_quoted 295s === CONT TestNormalize/non_supported_is_reported_as_is 295s === CONT TestNormalize/Multi-lines_ai_with_spaces_inside 295s === CONT TestNormalize/yes_transformed_to_boolean 295s === CONT TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 295s === CONT TestNormalize/ai_without_leading_[ 295s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 295s === CONT TestNormalize/as_with_leading_and_ending_spaces_and__[] 295s === CONT TestNormalize/weird_case_false 295s === CONT TestNormalize/simple_boolean_true 295s === CONT TestNormalize/unquoted_string_with_quotes 295s === CONT TestNormalize/one_escaped_quote 295s === CONT TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 295s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 295s === CONT TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 295s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 295s === CONT TestNormalize/simple_as_with_no_spaces 295s === CONT TestNormalize/y_transformed_to_boolean 295s === CONT TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 295s === CONT TestNormalize/one_quote 295s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 295s === CONT TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 295s === CONT TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 295s === CONT TestNormalize/simple_unquoted_as 295s === CONT TestNormalize/ai_without_ending_] 295s === CONT TestNormalize/Multi-lines_ai 295s --- PASS: TestNormalize (0.01s) 295s --- PASS: TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result (0.00s) 295s --- PASS: TestNormalize/simple_quoted_string (0.00s) 295s --- PASS: TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result (0.00s) 295s --- PASS: TestNormalize/as_simple_quoted_as_with_spaces (0.00s) 295s --- PASS: TestNormalize/unmanaged_types_are_returned_as_is (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_explicit_empty_element (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_unquoted (0.00s) 295s --- PASS: TestNormalize/as_without_ending_] (0.00s) 295s --- PASS: TestNormalize/weird_case_true (0.00s) 295s --- PASS: TestNormalize/empty_unquoted_string (0.00s) 295s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 295s --- PASS: TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split (0.00s) 295s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and__[] (0.00s) 295s --- PASS: TestNormalize/no_transformed_to_boolean (0.00s) 295s --- PASS: TestNormalize/string_with_two_backslashes_don’t_escape_quotes (0.00s) 295s --- PASS: TestNormalize/string_with_multiple_backslashes_escaped_quotes (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_spaces_inside (0.00s) 295s --- PASS: TestNormalize/empty_quoted_string (0.00s) 295s --- PASS: TestNormalize/ai_empty_elements_separated_with_commas_are_kept (0.00s) 295s --- PASS: TestNormalize/ai_with_spaces_inside (0.00s) 295s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and_no_[] (0.00s) 295s --- PASS: TestNormalize/as_with_spaces_inside (0.00s) 295s --- PASS: TestNormalize/simple_quoted_as (0.00s) 295s --- PASS: TestNormalize/off_transformed_to_boolean (0.00s) 295s --- PASS: TestNormalize/on_transformed_to_boolean (0.00s) 295s --- PASS: TestNormalize/string_with_escaped_quotes (0.00s) 295s --- PASS: TestNormalize/simple_ai (0.00s) 295s --- PASS: TestNormalize/as_empty_elements_separated_with_commas_are_kept (0.00s) 295s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 295s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_quoted (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_quoted_','_is_supported (0.00s) 295s --- PASS: TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result (0.00s) 295s --- PASS: TestNormalize/as_partially_quoted_can_lead_to_unexpect_result (0.00s) 295s --- PASS: TestNormalize/simple_boolean_false (0.00s) 295s --- PASS: TestNormalize/simple_unquoted_string (0.00s) 295s --- PASS: TestNormalize/with_spaces (0.00s) 295s --- PASS: TestNormalize/simple_ai_with_no_spaces (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split (0.00s) 295s --- PASS: TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result (0.00s) 295s --- PASS: TestNormalize/as_without_leading_[ (0.00s) 295s --- PASS: TestNormalize/n_transformed_to_boolean (0.00s) 295s --- PASS: TestNormalize/quoted_string_with_quotes (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_quoted (0.00s) 295s --- PASS: TestNormalize/as_with_weird_composition_inception_will_be_quoted (0.00s) 295s --- PASS: TestNormalize/non_supported_is_reported_as_is (0.00s) 295s --- PASS: TestNormalize/Multi-lines_ai_with_spaces_inside (0.00s) 295s --- PASS: TestNormalize/yes_transformed_to_boolean (0.00s) 295s --- PASS: TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets (0.00s) 295s --- PASS: TestNormalize/ai_without_leading_[ (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 295s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and__[] (0.00s) 295s --- PASS: TestNormalize/weird_case_false (0.00s) 295s --- PASS: TestNormalize/simple_boolean_true (0.00s) 295s --- PASS: TestNormalize/unquoted_string_with_quotes (0.00s) 295s --- PASS: TestNormalize/one_escaped_quote (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements (0.00s) 295s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted (0.00s) 295s --- PASS: TestNormalize/simple_as_with_no_spaces (0.00s) 295s --- PASS: TestNormalize/y_transformed_to_boolean (0.00s) 295s --- PASS: TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string (0.00s) 295s --- PASS: TestNormalize/one_quote (0.00s) 295s --- PASS: TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element (0.00s) 295s --- PASS: TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element (0.00s) 295s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 295s --- PASS: TestNormalize/simple_unquoted_as (0.00s) 295s --- PASS: TestNormalize/ai_without_ending_] (0.00s) 295s --- PASS: TestNormalize/Multi-lines_ai (0.00s) 295s --- PASS: TestApplyPolicy (0.01s) 295s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_as (0.07s) 295s --- PASS: TestApplyPolicy/No_policy_still_generates_a_valid_db (0.07s) 295s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed (0.08s) 295s --- PASS: TestApplyPolicy/First_boot (0.06s) 295s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as (0.14s) 295s --- PASS: TestApplyPolicy/Multi-lines_as (0.15s) 295s --- PASS: TestApplyPolicy/User_updates_key_is_now_disabled (0.07s) 295s --- PASS: TestApplyPolicy/New_user (0.16s) 295s --- PASS: TestApplyPolicy/Multiple_keys_same_category (0.10s) 295s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_user (0.18s) 295s --- PASS: TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions (0.19s) 295s --- PASS: TestApplyPolicy/No_surrounding_brackets_ai (0.05s) 295s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_as (0.11s) 295s --- PASS: TestApplyPolicy/Error_when_machine_db_does_not_exist (0.00s) 295s --- PASS: TestApplyPolicy/Quoted_i (0.13s) 295s --- PASS: TestApplyPolicy/Quoted_b (0.12s) 295s --- PASS: TestApplyPolicy/Machine_updates_with_different_value (0.14s) 295s --- PASS: TestApplyPolicy/Multi-lines_ai (0.04s) 295s --- PASS: TestApplyPolicy/Update_user_disabled_key_with_value (0.10s) 295s --- PASS: TestApplyPolicy/User_updates_existing_value (0.13s) 295s --- PASS: TestApplyPolicy/Multi-lines_ai_mixed_with_comma (0.09s) 295s --- PASS: TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type (0.04s) 295s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as (0.08s) 295s --- PASS: TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition (0.04s) 295s --- PASS: TestApplyPolicy/User_updates_with_different_value (0.17s) 295s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db_append_them (0.10s) 295s --- PASS: TestApplyPolicy/Normalized_canonical_form_for_each_supported_key (0.07s) 295s --- PASS: TestApplyPolicy/No_update_when_no_change (0.05s) 295s --- PASS: TestApplyPolicy/Do_not_update_other_files_from_db (0.08s) 295s --- PASS: TestApplyPolicy/Machine_updates_key_is_now_disabled (0.06s) 295s --- PASS: TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order (0.14s) 295s --- PASS: TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed (0.17s) 295s --- PASS: TestApplyPolicy/Do_not_interfere_with_other_user_profile (0.17s) 295s --- PASS: TestApplyPolicy/Multiple_sections_with_disabled_keys (0.10s) 295s --- PASS: TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values (0.03s) 295s --- PASS: TestApplyPolicy/Machine_updates_existing_value (0.06s) 295s --- PASS: TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections (0.01s) 295s --- PASS: TestApplyPolicy/Update_existing_correct_profile_stays_unchanged (0.06s) 295s --- PASS: TestApplyPolicy/Unquoted_string (0.15s) 295s --- PASS: TestApplyPolicy/Error_on_empty_meta (0.07s) 295s --- PASS: TestApplyPolicy/Error_on_invalid_ai (0.00s) 295s --- PASS: TestApplyPolicy/Multi-lines_as_mixed_with_comma (0.10s) 295s --- PASS: TestApplyPolicy/Update_machine_disabled_key_with_value (0.03s) 295s --- PASS: TestApplyPolicy/Missing_user_compiled_db_for_user (0.06s) 295s --- PASS: TestApplyPolicy/Multiple_sections (0.10s) 295s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_machine (0.06s) 295s --- PASS: TestApplyPolicy/No_surrounding_brackets_multiple_ai (0.12s) 295s --- PASS: TestApplyPolicy/Error_on_invalid_type (0.08s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/policies/dconf 0.642s 295s ? github.com/ubuntu/adsys/internal/policies/entry [no test files] 295s === RUN TestApplyPolicy 295s === PAUSE TestApplyPolicy 295s === CONT TestApplyPolicy 295s === RUN TestApplyPolicy/dconf_policy 295s === PAUSE TestApplyPolicy/dconf_policy 295s === CONT TestApplyPolicy/dconf_policy 295s --- PASS: TestApplyPolicy (0.00s) 295s --- PASS: TestApplyPolicy/dconf_policy (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/policies/gdm 0.068s 295s === RUN TestParseEntryValues 295s === PAUSE TestParseEntryValues 295s === RUN TestWriteFileWithUIDGID 295s === PAUSE TestWriteFileWithUIDGID 295s === RUN TestCreateUnits 295s === PAUSE TestCreateUnits 295s === RUN TestNew 295s === PAUSE TestNew 295s === RUN TestApplyPolicy 295s === PAUSE TestApplyPolicy 295s === CONT TestParseEntryValues 295s === RUN TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 295s === PAUSE TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 295s === RUN TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 295s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 295s === RUN TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 295s === PAUSE TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 295s === RUN TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 295s === PAUSE TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 295s === RUN TestParseEntryValues/Parse_values_from_entry_with_one_value 295s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_one_value 295s === RUN TestParseEntryValues/Parse_values_from_entry_with_multiple_values 295s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_multiple_values 295s === RUN TestParseEntryValues/Parse_values_from_entry_with_repeated_values 295s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_repeated_values 295s === RUN TestParseEntryValues/Parse_values_trimming_whitespaces 295s === PAUSE TestParseEntryValues/Parse_values_trimming_whitespaces 295s === CONT TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 295s === CONT TestParseEntryValues/Parse_values_from_entry_with_repeated_values 295s === CONT TestWriteFileWithUIDGID 295s === CONT TestCreateUnits 295s === RUN TestCreateUnits/Write_single_unit 295s === PAUSE TestCreateUnits/Write_single_unit 295s === RUN TestCreateUnits/Write_multiple_units 295s === PAUSE TestCreateUnits/Write_multiple_units 295s === RUN TestCreateUnits/Write_krb5_tagged_unit 295s === PAUSE TestCreateUnits/Write_krb5_tagged_unit 295s === CONT TestCreateUnits/Write_single_unit 295s === CONT TestNew 295s === RUN TestNew/Creates_manager_successfully 295s === PAUSE TestNew/Creates_manager_successfully 295s === RUN TestNew/Error_when_runDir_has_invalid_permissions 295s === PAUSE TestNew/Error_when_runDir_has_invalid_permissions 295s === RUN TestNew/Error_when_systemUnitDir_has_invalid_permissions 295s === PAUSE TestNew/Error_when_systemUnitDir_has_invalid_permissions 295s === CONT TestNew/Creates_manager_successfully 295s === CONT TestParseEntryValues/Parse_values_from_entry_with_multiple_values 295s === CONT TestParseEntryValues/Parse_values_from_entry_with_one_value 295s === CONT TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 295s === CONT TestApplyPolicy 295s === CONT TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 295s === CONT TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 295s === CONT TestCreateUnits/Write_krb5_tagged_unit 295s === CONT TestParseEntryValues/Parse_values_trimming_whitespaces 295s === CONT TestNew/Error_when_systemUnitDir_has_invalid_permissions 295s === RUN TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 295s === RUN TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 295s === PAUSE TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 295s === PAUSE TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 295s === RUN TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 295s === RUN TestWriteFileWithUIDGID/Error_when_invalid_uid 295s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_uid 295s === PAUSE TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 295s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 295s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 295s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 295s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 295s === RUN TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 295s === PAUSE TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 295s === RUN TestApplyPolicy/Error_when_daemon-reload_fails 295s === PAUSE TestApplyPolicy/Error_when_daemon-reload_fails 295s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 295s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 295s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 295s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 295s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 295s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 295s === RUN TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 295s === PAUSE TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 295s === RUN TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 295s === PAUSE TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 295s === RUN TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 295s === PAUSE TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 295s === RUN TestApplyPolicy/Error_when_enabling_new_units_fails 295s === PAUSE TestApplyPolicy/Error_when_enabling_new_units_fails 295s === RUN TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 295s === PAUSE TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 295s === RUN TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 295s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 295s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 295s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 295s === RUN TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 295s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 295s === RUN TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 295s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 295s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 295s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 295s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 295s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 295s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 295s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 295s === RUN TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 295s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 295s === CONT TestNew/Error_when_runDir_has_invalid_permissions 295s --- PASS: TestParseEntryValues (0.00s) 295s --- PASS: TestParseEntryValues/Parse_values_trimming_sequential_linebreaks (0.00s) 295s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_multiple_values (0.00s) 295s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_repeated_values (0.00s) 295s --- PASS: TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty (0.00s) 295s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_one_value (0.00s) 295s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags (0.00s) 295s --- PASS: TestParseEntryValues/Parse_values_trimming_whitespaces (0.00s) 295s --- PASS: TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values (0.00s) 295s === CONT TestCreateUnits/Write_multiple_units 295s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 295s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 295s === RUN TestWriteFileWithUIDGID/Error_when_invalid_gid 295s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_gid 295s === RUN TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 295s === PAUSE TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 295s === RUN TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 295s === PAUSE TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 295s === CONT TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 295s === RUN TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 295s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 295s === RUN TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 295s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 295s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 295s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 295s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 295s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 295s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 295s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 295s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 295s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 295s === RUN TestApplyPolicy/Error_when_user_has_invalid_uid 295s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_uid 295s === RUN TestApplyPolicy/Error_when_user_has_invalid_gid 295s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_gid 295s === RUN TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 295s === PAUSE TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 295s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 295s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 295s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 295s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 295s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 295s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 295s === RUN TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 295s === PAUSE TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 295s === RUN TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 295s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 295s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 295s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 295s === RUN TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 295s === PAUSE TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 295s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 295s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 295s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 295s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 295s === RUN TestApplyPolicy/Error_when_entry_is_errored 295s === PAUSE TestApplyPolicy/Error_when_entry_is_errored 295s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 295s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 295s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 295s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 295s === RUN TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 295s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 295s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 295s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 295s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 295s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 295s === RUN TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 295s === PAUSE TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 295s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 295s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 295s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 295s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 295s === RUN TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 295s === PAUSE TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 295s === RUN TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 295s === PAUSE TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 295s === RUN TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 295s === PAUSE TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 295s === RUN TestApplyPolicy/Error_when_user_is_not_found 295s === PAUSE TestApplyPolicy/Error_when_user_is_not_found 295s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 295s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 295s === CONT TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 295s === CONT TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 295s === CONT TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 295s === CONT TestWriteFileWithUIDGID/Error_when_invalid_gid 295s === CONT TestWriteFileWithUIDGID/Error_when_invalid_uid 295s === CONT TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 295s --- PASS: TestCreateUnits (0.00s) 295s --- PASS: TestCreateUnits/Write_multiple_units (0.10s) 295s --- PASS: TestCreateUnits/Write_single_unit (0.14s) 295s --- PASS: TestCreateUnits/Write_krb5_tagged_unit (0.16s) 295s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 295s time="2025-10-18T15:05:48Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 295s --- PASS: TestNew (0.00s) 295s --- PASS: TestNew/Creates_manager_successfully (0.08s) 295s --- PASS: TestNew/Error_when_runDir_has_invalid_permissions (0.15s) 295s --- PASS: TestNew/Error_when_systemUnitDir_has_invalid_permissions (0.20s) 295s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 295s === CONT TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 295s time="2025-10-18T15:05:48Z" 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." 295s time="2025-10-18T15:05:48Z" 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." 295s time="2025-10-18T15:05:48Z" level=warning msg="failed to start unit \"adsys-nfs-domain-untagged_first.mount\": failed to start unit" 295s time="2025-10-18T15:05:48Z" level=warning msg="failed to start unit \"adsys-nfs-domain-tagged_first.mount\": failed to start unit" 295s === CONT TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 295s time="2025-10-18T15:05:48Z" level=warning msg="failed to start unit \"adsys-cifs-authenticated.com-authenticated-mount.mount\": failed to start unit" 295s time="2025-10-18T15:05:48Z" level=warning msg="failed to start unit \"adsys-nfs-krb_domain.com-mount-krb_path.mount\": failed to start unit" 295s time="2025-10-18T15:05:48Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 295s === CONT TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 295s time="2025-10-18T15:05:48Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mounpath.mount\": failed to start unit" 295s time="2025-10-18T15:05:48Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 295s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 295s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 295s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 295s === CONT TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 295s --- PASS: TestWriteFileWithUIDGID (0.01s) 295s --- PASS: TestWriteFileWithUIDGID/Write_file_with_current_user_ownership (0.14s) 295s --- PASS: TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory (0.17s) 295s --- PASS: TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions (0.14s) 295s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_gid (0.17s) 295s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_uid (0.28s) 295s === CONT TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 295s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 295s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 295s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 295s === CONT TestApplyPolicy/Error_when_user_is_not_found 295s === CONT TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 295s === CONT TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s === CONT TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 295s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 295s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 295s === CONT TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="Failed to stop unit \"adsys-protocol-domain.com-mountpath.mount\": failed to stop unit" 295s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 295s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s === CONT TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 295s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 295s === CONT TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 295s === CONT TestApplyPolicy/Error_when_entry_is_errored 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 295s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s === CONT TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 295s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 295s === CONT TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 295s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" 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." 295s time="2025-10-18T15:05:49Z" 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." 295s === CONT TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 295s === CONT TestApplyPolicy/Error_when_enabling_new_units_fails 295s === CONT TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 295s === CONT TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 295s === CONT TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 295s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 295s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 295s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-path-mount.mount\": failed to start unit" 295s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 295s === CONT TestApplyPolicy/Error_when_user_has_invalid_gid 295s === CONT TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 295s === CONT TestApplyPolicy/Error_when_user_has_invalid_uid 295s === CONT TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 295s === CONT TestApplyPolicy/Error_when_daemon-reload_fails 295s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 295s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 295s === CONT TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 295s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 295s time="2025-10-18T15:05:49Z" level=warning msg="failed to start unit \"adsys-fuse-completelydifferent.com-different-path.mount\": failed to start unit" 295s --- PASS: TestApplyPolicy (0.01s) 295s --- PASS: TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.23s) 295s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value (0.11s) 295s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.11s) 295s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys (0.23s) 295s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty (0.21s) 295s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values (0.18s) 295s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry (0.17s) 295s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries (0.07s) 295s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks (0.27s) 295s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty (0.09s) 295s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags (0.22s) 295s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.22s) 295s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces (0.16s) 295s --- PASS: TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored (0.07s) 295s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.22s) 295s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value (0.25s) 295s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory (0.16s) 295s --- PASS: TestApplyPolicy/Error_when_user_is_not_found (0.14s) 295s --- PASS: TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry (0.11s) 295s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values (0.19s) 295s --- PASS: TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails (0.06s) 295s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails (0.10s) 295s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys (0.05s) 295s --- PASS: TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled (0.04s) 295s --- PASS: TestApplyPolicy/Error_when_creating_units_with_bad_entry_values (0.17s) 295s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries (0.10s) 295s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries (0.15s) 295s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key (0.08s) 295s --- PASS: TestApplyPolicy/Error_when_entry_is_errored (0.11s) 295s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled (0.14s) 295s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values (0.07s) 295s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries (0.22s) 295s --- PASS: TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.12s) 295s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values (0.09s) 295s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry (0.18s) 295s --- PASS: TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory (0.09s) 295s --- PASS: TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir (0.12s) 295s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.16s) 295s --- PASS: TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value (0.12s) 295s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_gid (0.01s) 295s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces (0.11s) 295s --- PASS: TestApplyPolicy/System,_does_nothing_if_there_are_no_entries (0.15s) 295s --- PASS: TestApplyPolicy/Error_when_enabling_new_units_fails (0.20s) 295s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_uid (0.06s) 295s --- PASS: TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions (0.07s) 295s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory (0.00s) 295s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks (0.02s) 295s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry (0.12s) 295s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry (0.13s) 295s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values (0.15s) 295s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails (0.02s) 295s --- PASS: TestApplyPolicy/Error_when_daemon-reload_fails (0.03s) 295s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user (0.03s) 295s --- PASS: TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values (0.03s) 295s --- PASS: TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir (0.07s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/policies/mount 1.209s 295s === RUN TestSplitAndNormalizeUsersAndGroups 295s === PAUSE TestSplitAndNormalizeUsersAndGroups 295s === RUN TestPolkitAdminIdentitiesFromConf 295s === PAUSE TestPolkitAdminIdentitiesFromConf 295s === RUN TestPolkitAdminIdentitiesFromRules 295s === PAUSE TestPolkitAdminIdentitiesFromRules 295s === RUN TestApplyPolicy 295s === PAUSE TestApplyPolicy 295s === CONT TestSplitAndNormalizeUsersAndGroups 295s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_| 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_| 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_< 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_< 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_> 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_> 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_; 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_; 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_% 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_% 295s === RUN TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 295s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 295s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_] 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_] 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_= 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_= 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_? 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_? 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_* 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_* 295s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value 295s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 295s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 295s === RUN TestSplitAndNormalizeUsersAndGroups/User_name_with_space 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/User_name_with_space 295s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 295s === RUN TestSplitAndNormalizeUsersAndGroups/Simple_one_value 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Simple_one_value 295s === RUN TestSplitAndNormalizeUsersAndGroups/Group_one_value 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Group_one_value 295s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 295s === RUN TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 295s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 295s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_: 295s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_: 295s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 295s === CONT TestSplitAndNormalizeUsersAndGroups/Empty_value 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_* 295s time="2025-10-18T15:05:48Z" level=warning msg="Changed user or group \"u*s*er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_% 295s time="2025-10-18T15:05:48Z" level=warning msg="Changed user or group \"u%s%er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_; 295s time="2025-10-18T15:05:48Z" level=warning msg="Changed user or group \"u;s;er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_? 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_> 295s time="2025-10-18T15:05:48Z" level=warning msg="Changed user or group \"u>s>er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_< 295s time="2025-10-18T15:05:48Z" level=warning msg="Changed user or group \"u?s?er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_= 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_| 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_] 295s time="2025-10-18T15:05:48Z" level=warning msg="Changed user or group \"u|s|er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 295s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 295s === CONT TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 295s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 295s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 295s time="2025-10-18T15:05:48Z" level=warning msg="Changed user or group \"domain\\\\user\" to \"user@domain\": Invalid characters or domain\\user format" 295s === CONT TestApplyPolicy 295s === CONT TestPolkitAdminIdentitiesFromRules 295s === RUN TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 295s === PAUSE TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 295s time="2025-10-18T15:05:48Z" level=warning msg="Changed user or group \"u (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_? (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_| (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Handle_domain\user (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_< (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_= (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_empty_values (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Group_one_value (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Simple_one_value (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/User_name_with_space (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_] (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_: (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_/ (0.00s) 295s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_[ (0.00s) 295s === CONT TestPolkitAdminIdentitiesFromRules/Returns_an_empty_string_if_directory_does_not_exists 295s === CONT TestPolkitAdminIdentitiesFromRules/Fetch_previous_admin_identities_ignoring_adsys 295s === RUN TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 295s === PAUSE TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 295s === RUN TestApplyPolicy/Disallow_local_admins_and_set_client_admins 295s === PAUSE TestApplyPolicy/Disallow_local_admins_and_set_client_admins 295s === CONT TestPolkitAdminIdentitiesFromRules/Prioritize_first_specified_directory_if_files_have_same_ascii 295s === CONT TestPolkitAdminIdentitiesFromRules/Directory_instead_of_a_conf_file_is_ignored 295s === CONT TestPolkitAdminIdentitiesFromRules/Prioritize_lower_ascii_file_even_if_on_second_directory 295s === CONT TestPolkitAdminIdentitiesFromRules/Consider_only_first_returned_value 295s === CONT TestPolkitAdminIdentitiesFromRules/No_previous_admin_identities_but_regular_directory_structure 295s === CONT TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 295s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 295s === CONT TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 295s === CONT TestApplyPolicy/Disallow_local_admins_and_set_client_admins 295s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 295s === CONT TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 295s --- PASS: TestPolkitAdminIdentitiesFromConf (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromConf/Fetch_previous_admin_identities (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromConf/Directory_instead_of_a_conf_file_is_ignored (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromConf/No_previous_admin_identities_but_regular_directory_structure (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromConf/Returns_an_empty_string_if_directory_does_not_exists (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromConf/Fetch_previous_admin_identities_ignoring_adsys (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromConf/Fetch_previous_admin_identities_from_highest_ascii_file (0.00s) 295s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 295s --- PASS: TestPolkitAdminIdentitiesFromRules (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromRules/Fetch_previous_admin_identities_from_lower_ascii_file (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromRules/Returns_an_empty_string_if_directory_does_not_exists (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromRules/Fetch_previous_admin_identities_ignoring_adsys (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromRules/Fetch_previous_admin_identities (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromRules/Consider_only_first_returned_value (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromRules/Directory_instead_of_a_conf_file_is_ignored (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromRules/Prioritize_first_specified_directory_if_files_have_same_ascii (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromRules/Prioritize_lower_ascii_file_even_if_on_second_directory (0.00s) 295s --- PASS: TestPolkitAdminIdentitiesFromRules/No_previous_admin_identities_but_regular_directory_structure (0.00s) 295s === CONT TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 295s === CONT TestApplyPolicy/Error_on_writing_to_sudoers_file 295s === CONT TestApplyPolicy/Create_on_new_polkit_version_and_remove_old_file 295s === CONT TestApplyPolicy/Overwrite_existing_polkit_file 295s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 295s === CONT TestApplyPolicy/Not_a_computer 295s === CONT TestApplyPolicy/Overwrite_existing_sudoers_file 295s === CONT TestApplyPolicy/Error_on_writing_to_polkit_conf_file 295s === CONT TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 295s === CONT TestApplyPolicy/No_client_AD_admins 295s === CONT TestApplyPolicy/Empty_client_AD_admins 295s === CONT TestApplyPolicy/Set_client_group_admins 295s === CONT TestApplyPolicy/No_rules_still_overwrite_those_files 295s === CONT TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 295s === CONT TestApplyPolicy/Set_client_multiple_users_admins 295s time="2025-10-18T15:05:49Z" level=warning msg="Changed user or group \"domain\\\\bob\" to \"bob@domain\": Invalid characters or domain\\user format" 295s === CONT TestApplyPolicy/Assume_old_polkit_if_cant_read_system_reserved_path 295s === CONT TestApplyPolicy/Don't_overwrite_other_existing_files 295s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 295s === CONT TestApplyPolicy/Disallow_local_admins 295s === CONT TestApplyPolicy/Set_client_user_admins 295s === CONT TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 295s --- PASS: TestApplyPolicy (0.01s) 295s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file (0.17s) 295s --- PASS: TestApplyPolicy/Set_client_mixed_with_users_and_group_admins (0.20s) 295s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file (0.21s) 295s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins (0.22s) 295s --- PASS: TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop (0.22s) 295s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation (0.22s) 295s --- PASS: TestApplyPolicy/Disallow_local_admins_and_set_client_admins (0.24s) 295s --- PASS: TestApplyPolicy/Error_on_writing_to_sudoers_file (0.08s) 295s --- PASS: TestApplyPolicy/Overwrite_existing_polkit_file (0.05s) 295s --- PASS: TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins (0.28s) 295s --- PASS: TestApplyPolicy/Not_a_computer (0.21s) 295s --- PASS: TestApplyPolicy/Empty_client_AD_admins (0.19s) 295s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_conf_file (0.23s) 295s --- PASS: TestApplyPolicy/No_rules_and_no_existing_history_means_no_files (0.01s) 295s --- PASS: TestApplyPolicy/Overwrite_existing_sudoers_file (0.27s) 295s --- PASS: TestApplyPolicy/Create_on_new_polkit_version_and_remove_old_file (0.34s) 295s --- PASS: TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.29s) 295s --- PASS: TestApplyPolicy/No_client_AD_admins (0.30s) 295s --- PASS: TestApplyPolicy/Set_client_group_admins (0.14s) 295s --- PASS: TestApplyPolicy/Assume_old_polkit_if_cant_read_system_reserved_path (0.09s) 295s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins (0.37s) 295s --- PASS: TestApplyPolicy/Set_client_multiple_users_admins (0.12s) 295s --- PASS: TestApplyPolicy/No_rules_still_overwrite_those_files (0.13s) 295s --- PASS: TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory (0.04s) 295s --- PASS: TestApplyPolicy/Set_client_user_admins (0.07s) 295s --- PASS: TestApplyPolicy/Don't_overwrite_other_existing_files (0.11s) 295s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.11s) 295s --- PASS: TestApplyPolicy/Disallow_local_admins (0.13s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/policies/privilege 0.806s 295s === RUN TestApplyPolicy 295s === PAUSE TestApplyPolicy 295s === RUN TestWarnOnUnsupportedKeys 295s --- PASS: TestWarnOnUnsupportedKeys (0.01s) 295s === RUN TestWarnOnMissingDBusService 295s --- PASS: TestWarnOnMissingDBusService (0.01s) 295s === CONT TestApplyPolicy 295s === RUN TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 295s === PAUSE TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 295s === RUN TestApplyPolicy/User,_no_entries 295s === PAUSE TestApplyPolicy/User,_no_entries 295s === RUN TestApplyPolicy/Computer,_single_enabled_entry 295s === PAUSE TestApplyPolicy/Computer,_single_enabled_entry 295s === RUN TestApplyPolicy/Computer,_single_disabled_entry 295s === PAUSE TestApplyPolicy/Computer,_single_disabled_entry 295s === RUN TestApplyPolicy/Computer,_all_entries_set 295s === PAUSE TestApplyPolicy/Computer,_all_entries_set 295s === RUN TestApplyPolicy/User,_non-empty_entries 295s === PAUSE TestApplyPolicy/User,_non-empty_entries 295s === RUN TestApplyPolicy/Error_when_D-Bus_call_fails 295s === PAUSE TestApplyPolicy/Error_when_D-Bus_call_fails 295s === RUN TestApplyPolicy/Computer,_no_entries 295s === PAUSE TestApplyPolicy/Computer,_no_entries 295s === CONT TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 295s === CONT TestApplyPolicy/Computer,_no_entries 295s === CONT TestApplyPolicy/Error_when_D-Bus_call_fails 295s === CONT TestApplyPolicy/User,_non-empty_entries 295s === CONT TestApplyPolicy/Computer,_all_entries_set 295s === CONT TestApplyPolicy/Computer,_single_disabled_entry 295s === CONT TestApplyPolicy/Computer,_single_enabled_entry 295s === CONT TestApplyPolicy/User,_no_entries 295s --- PASS: TestApplyPolicy (0.09s) 295s --- PASS: TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error (0.00s) 295s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 295s --- PASS: TestApplyPolicy/Error_when_D-Bus_call_fails (0.00s) 295s --- PASS: TestApplyPolicy/User,_non-empty_entries (0.00s) 295s --- PASS: TestApplyPolicy/Computer,_all_entries_set (0.00s) 295s --- PASS: TestApplyPolicy/Computer,_single_disabled_entry (0.00s) 295s --- PASS: TestApplyPolicy/Computer,_single_enabled_entry (0.00s) 295s --- PASS: TestApplyPolicy/User,_no_entries (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/policies/proxy 0.201s 295s === RUN TestNew 295s === PAUSE TestNew 295s === RUN TestApplyPolicy 295s === PAUSE TestApplyPolicy 295s === RUN TestRunScripts 295s === PAUSE TestRunScripts 295s === CONT TestNew 295s === CONT TestRunScripts 295s === RUN TestNew/create_manager 295s === PAUSE TestNew/create_manager 295s === RUN TestNew/error_on_read_only_rundir 295s === PAUSE TestNew/error_on_read_only_rundir 295s === RUN TestRunScripts/keeps_running_flag_after_non_machine_shutdown 295s === CONT TestNew/create_manager 295s === CONT TestNew/error_on_read_only_rundir 295s === CONT TestApplyPolicy 295s === RUN TestApplyPolicy/Destination_is_already_running,_no_change 295s === PAUSE TestApplyPolicy/Destination_is_already_running,_no_change 295s === RUN TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 295s === PAUSE TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 295s === RUN TestApplyPolicy/Error_on_invalid_GID 295s === PAUSE TestApplyPolicy/Error_on_invalid_GID 295s === RUN TestApplyPolicy/Error_on_user_lookup_failing 295s === PAUSE TestApplyPolicy/Error_on_user_lookup_failing 295s === RUN TestApplyPolicy/One_directory,_multiple_scripts_in_order 295s === PAUSE TestApplyPolicy/One_directory,_multiple_scripts_in_order 295s === RUN TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 295s === PAUSE TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 295s === RUN TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 295s === PAUSE TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 295s === RUN TestApplyPolicy/One_script 295s === PAUSE TestApplyPolicy/One_script 295s === RUN TestApplyPolicy/Multiple_directories: 295s === PAUSE TestApplyPolicy/Multiple_directories: 295s === RUN TestApplyPolicy/Subfolder_with_script 295s === PAUSE TestApplyPolicy/Subfolder_with_script 295s === RUN TestApplyPolicy/Empty_entries_are_discared 295s === PAUSE TestApplyPolicy/Empty_entries_are_discared 295s === RUN TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 295s === PAUSE TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 295s === RUN TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 295s === PAUSE TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 295s === RUN TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 295s === PAUSE TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 295s === RUN TestApplyPolicy/Error_on_subfolder_listed 295s === PAUSE TestApplyPolicy/Error_on_subfolder_listed 295s === RUN TestApplyPolicy/No_entries_is_an_empty_folder 295s === PAUSE TestApplyPolicy/No_entries_is_an_empty_folder 295s === RUN TestApplyPolicy/Same_script_is_used_multiple_times 295s === PAUSE TestApplyPolicy/Same_script_is_used_multiple_times 295s === RUN TestApplyPolicy/Destination_is_not_ready,_refreshing 295s === PAUSE TestApplyPolicy/Destination_is_not_ready,_refreshing 295s === RUN TestApplyPolicy/Error_on_script_does_not_exist 295s === PAUSE TestApplyPolicy/Error_on_script_does_not_exist 295s === RUN TestApplyPolicy/Error_on_users_run_directory_Read_Only 295s === PAUSE TestApplyPolicy/Error_on_users_run_directory_Read_Only 295s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 295s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 295s === RUN TestApplyPolicy/Error_on_invalid_UID 295s === PAUSE TestApplyPolicy/Error_on_invalid_UID 295s === RUN TestApplyPolicy/No_entries_update_existing_non_ready_folder 295s === PAUSE TestApplyPolicy/No_entries_update_existing_non_ready_folder 295s === RUN TestApplyPolicy/Subfolder_with_same_script_name 295s === PAUSE TestApplyPolicy/Subfolder_with_same_script_name 295s === CONT TestApplyPolicy/Destination_is_already_running,_no_change 295s === PAUSE TestRunScripts/keeps_running_flag_after_non_machine_shutdown 295s === RUN TestRunScripts/allow_order_file_missing 295s === PAUSE TestRunScripts/allow_order_file_missing 295s === RUN TestRunScripts/error_on_order_file_not_existing 295s === PAUSE TestRunScripts/error_on_order_file_not_existing 295s === RUN TestRunScripts/error_on_not_ready_for_execution 295s === PAUSE TestRunScripts/error_on_not_ready_for_execution 295s === RUN TestRunScripts/one_script 295s === PAUSE TestRunScripts/one_script 295s === RUN TestRunScripts/scripts_that_are_not_executable_are_skipped 295s === PAUSE TestRunScripts/scripts_that_are_not_executable_are_skipped 295s === RUN TestRunScripts/scripts_not_listed_are_not_run 295s === PAUSE TestRunScripts/scripts_not_listed_are_not_run 295s === RUN TestRunScripts/scripts_referenced_in_subdirectories 295s === PAUSE TestRunScripts/scripts_referenced_in_subdirectories 295s === RUN TestRunScripts/spaces_and_empty_lines_are_skipped 295s === PAUSE TestRunScripts/spaces_and_empty_lines_are_skipped 295s === RUN TestRunScripts/has_no_session_running_flag_after_user_logoff 295s === PAUSE TestRunScripts/has_no_session_running_flag_after_user_logoff 295s === RUN TestRunScripts/has_no_session_running_flag_after_machine_shutdown 295s === PAUSE TestRunScripts/has_no_session_running_flag_after_machine_shutdown 295s === RUN TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 295s === PAUSE TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 295s === RUN TestRunScripts/error_on_argument_not_a_file 295s === PAUSE TestRunScripts/error_on_argument_not_a_file 295s === RUN TestRunScripts/multiple_scripts_are_run_in_order 295s === PAUSE TestRunScripts/multiple_scripts_are_run_in_order 295s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 295s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 295s === RUN TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 295s === PAUSE TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 295s === RUN TestRunScripts/keeps_running_flag_after_non_user_logoff 295s === PAUSE TestRunScripts/keeps_running_flag_after_non_user_logoff 295s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 295s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 295s === CONT TestRunScripts/keeps_running_flag_after_non_machine_shutdown 295s === CONT TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 295s === CONT TestApplyPolicy/Error_on_script_does_not_exist 295s === CONT TestApplyPolicy/No_entries_is_an_empty_folder 295s === CONT TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 295s === CONT TestRunScripts/has_no_session_running_flag_after_user_logoff 295s --- PASS: TestNew (0.00s) 295s --- PASS: TestNew/create_manager (0.00s) 295s --- PASS: TestNew/error_on_read_only_rundir (0.01s) 295s === CONT TestApplyPolicy/Destination_is_not_ready,_refreshing 295s time="2025-10-18T15:05:48Z" level=info msg="\"/tmp/TestApplyPolicyDestination_is_already_running,_no_change2761017862/001/machine/scripts/.running\" already exists, a session is already running, ignoring." 295s time="2025-10-18T15:05:48Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_machine_shutdown3402844396/001/users/foo/scripts/shutdown\"" 295s time="2025-10-18T15:05:48Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_user_logoff2578214103/001/users/foo/scripts/logoff\"" 295s time="2025-10-18T15:05:48Z" level=info msg="Running machine startup scripts" 295s === CONT TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 295s === CONT TestApplyPolicy/One_directory,_multiple_scripts_in_order 295s === CONT TestApplyPolicy/Error_on_user_lookup_failing 295s === CONT TestApplyPolicy/Error_on_invalid_GID 295s === CONT TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 295s === CONT TestApplyPolicy/Same_script_is_used_multiple_times 295s === CONT TestApplyPolicy/Error_on_invalid_UID 295s === CONT TestApplyPolicy/Subfolder_with_same_script_name 295s === CONT TestApplyPolicy/No_entries_update_existing_non_ready_folder 295s === CONT TestApplyPolicy/Subfolder_with_script 295s === CONT TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 295s === CONT TestApplyPolicy/Empty_entries_are_discared 295s time="2025-10-18T15:05:49Z" level=info msg="Running machine startup scripts" 295s === CONT TestApplyPolicy/Multiple_directories: 295s === CONT TestApplyPolicy/Error_on_subfolder_listed 295s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 295s === CONT TestRunScripts/scripts_that_are_not_executable_are_skipped 295s === CONT TestRunScripts/spaces_and_empty_lines_are_skipped 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped1402701007/001/users/foo/scripts/s\"" 295s time="2025-10-18T15:05:49Z" level=warning msg="\"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped1402701007/001/users/foo/scripts/scripts/notexecutable.sh\" failed to run\nfork/exec /tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped1402701007/001/users/foo/scripts/scripts/notexecutable.sh: permission denied" 295s === CONT TestRunScripts/scripts_referenced_in_subdirectories 295s === CONT TestRunScripts/scripts_not_listed_are_not_run 295s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsspaces_and_empty_lines_are_skipped418427367/001/users/foo/scripts/s\"" 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_not_listed_are_not_run4065037894/001/users/foo/scripts/s\"" 295s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_referenced_in_subdirectories2562323707/001/users/foo/scripts/s\"" 295s === CONT TestRunScripts/keeps_running_flag_after_non_user_logoff 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_u120801782/001/users/foo/scripts/logoff\"" 295s === CONT TestRunScripts/one_script 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_user_logoff3081083302/001/machine/foo/scripts/logoff\"" 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsone_script3883133597/001/users/foo/scripts/s\"" 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_m1614320139/001/machine/foo/scripts/shutdown\"" 295s === CONT TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 295s === CONT TestRunScripts/error_on_not_ready_for_execution 295s === CONT TestApplyPolicy/Error_on_users_run_directory_Read_Only 295s === CONT TestRunScripts/error_on_order_file_not_existing 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_sess1054653270/001/users/foo/scripts/logoff\"" 295s time="2025-10-18T15:05:49Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_sess1054653270/001/users/foo/scripts/logoff\" doesn't exist, but allowed to be missing, skipping" 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_order_file_not_existing2269078246/001/users/foo/scripts/s\"" 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_not_ready_for_execution3049793376/001/users/foo/scripts/s\"" 295s === CONT TestRunScripts/allow_order_file_missing 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsallow_order_file_missing1403254507/001/users/foo/scripts/s\"" 295s time="2025-10-18T15:05:49Z" level=info msg="\"/tmp/TestRunScriptsallow_order_file_missing1403254507/001/users/foo/scripts/s\" doesn't exist, but allowed to be missing, skipping" 295s === CONT TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 295s === CONT TestApplyPolicy/One_script 295s === CONT TestRunScripts/error_on_argument_not_a_file 295s === CONT TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 295s === CONT TestRunScripts/has_no_session_running_flag_after_machine_shutdown 295s === CONT TestRunScripts/multiple_scripts_are_run_in_order 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_argument_not_a_file2102237191/001/users/foo/scripts/s\"" 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_machine_shutdow3564575856/001/machine/foo/scripts/shutdown\"" 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsmultiple_scripts_are_run_in_order136141648/001/users/foo/scripts/s\"" 295s time="2025-10-18T15:05:49Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_se1299875013/001/machine/foo/scripts/shutdown\"" 295s time="2025-10-18T15:05:49Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_se1299875013/001/machine/foo/scripts/shutdown\" doesn't exist, but allowed to be missing, skipping" 295s --- PASS: TestApplyPolicy (0.00s) 295s --- PASS: TestApplyPolicy/No_entries_is_an_empty_folder (0.09s) 295s --- PASS: TestApplyPolicy/Error_on_script_does_not_exist (0.14s) 295s --- PASS: TestApplyPolicy/Destination_is_not_ready,_refreshing (0.22s) 295s --- PASS: TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails (0.26s) 295s --- PASS: TestApplyPolicy/Destination_is_already_running,_no_change (0.27s) 295s --- PASS: TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing (0.28s) 295s --- PASS: TestApplyPolicy/Error_on_invalid_GID (0.04s) 295s --- PASS: TestApplyPolicy/Error_on_user_lookup_failing (0.13s) 295s --- PASS: TestApplyPolicy/One_directory,_multiple_scripts_in_order (0.21s) 295s --- PASS: TestApplyPolicy/No_entries_update_existing_non_ready_folder (0.06s) 295s --- PASS: TestApplyPolicy/Error_on_invalid_UID (0.18s) 295s --- PASS: TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update (0.19s) 295s --- PASS: TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup (0.38s) 295s --- PASS: TestApplyPolicy/Subfolder_with_same_script_name (0.19s) 295s --- PASS: TestApplyPolicy/Same_script_is_used_multiple_times (0.23s) 295s --- PASS: TestApplyPolicy/Subfolder_with_script (0.23s) 295s --- PASS: TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) (0.19s) 295s --- PASS: TestApplyPolicy/Empty_entries_are_discared (0.16s) 295s --- PASS: TestApplyPolicy/Multiple_directories: (0.18s) 295s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.17s) 295s --- PASS: TestApplyPolicy/Error_on_subfolder_listed (0.19s) 295s --- PASS: TestApplyPolicy/Error_on_users_run_directory_Read_Only (0.08s) 295s --- PASS: TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update (0.09s) 295s --- PASS: TestApplyPolicy/One_script (0.22s) 295s --- PASS: TestRunScripts (0.01s) 295s --- PASS: TestRunScripts/keeps_running_flag_after_non_machine_shutdown (0.27s) 295s --- PASS: TestRunScripts/has_no_session_running_flag_after_user_logoff (0.45s) 295s --- PASS: TestRunScripts/spaces_and_empty_lines_are_skipped (0.20s) 295s --- PASS: TestRunScripts/one_script (0.10s) 295s --- PASS: TestRunScripts/scripts_not_listed_are_not_run (0.16s) 295s --- PASS: TestRunScripts/keeps_running_flag_after_non_user_logoff (0.15s) 295s --- PASS: TestRunScripts/scripts_that_are_not_executable_are_skipped (0.39s) 295s --- PASS: TestRunScripts/scripts_referenced_in_subdirectories (0.29s) 295s --- PASS: TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff (0.17s) 295s --- PASS: TestRunScripts/error_on_not_ready_for_execution (0.15s) 295s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown (0.31s) 295s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff (0.33s) 295s --- PASS: TestRunScripts/allow_order_file_missing (0.12s) 295s --- PASS: TestRunScripts/error_on_order_file_not_existing (0.17s) 295s --- PASS: TestRunScripts/error_on_argument_not_a_file (0.15s) 295s --- PASS: TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown (0.20s) 295s --- PASS: TestRunScripts/has_no_session_running_flag_after_machine_shutdown (0.16s) 295s --- PASS: TestRunScripts/multiple_scripts_are_run_in_order (0.18s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/policies/scripts 1.221s 295s === RUN TestExclusiveLockExec 295s --- PASS: TestExclusiveLockExec (0.01s) 295s === RUN TestExclusiveLockSmb 295s --- PASS: TestExclusiveLockSmb (0.01s) 295s === RUN TestMultipleExecLocksOnlyReleaseOnLast 295s --- PASS: TestMultipleExecLocksOnlyReleaseOnLast (0.01s) 295s === RUN TestMultipleSmbLocksOnlyReleaseOnLast 295s --- PASS: TestMultipleSmbLocksOnlyReleaseOnLast (0.01s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/smbsafe 0.107s 295s === RUN TestAddStdoutForwarder 295s --- PASS: TestAddStdoutForwarder (0.00s) 295s === RUN TestAddStderrForwarder 295s --- PASS: TestAddStderrForwarder (0.00s) 295s === RUN TestAddStdoutForwarderEnsureStderrNoPolluted 295s --- PASS: TestAddStdoutForwarderEnsureStderrNoPolluted (0.00s) 295s === RUN TestAddForwarderAndDisconnect 295s --- PASS: TestAddForwarderAndDisconnect (0.01s) 295s === RUN TestAddForwardersGraduallyAndDisconnect 295s --- PASS: TestAddForwardersGraduallyAndDisconnect (0.01s) 295s === RUN TestAddForwarderDifferentWriterStdoutStderr 295s --- PASS: TestAddForwarderDifferentWriterStdoutStderr (0.00s) 295s === RUN TestAddForwarderSameWriterStdoutStderr 295s --- PASS: TestAddForwarderSameWriterStdoutStderr (0.01s) 295s === RUN TestAddStdoutForwarderWithBlockedStdout 295s time="2025-10-18T15:05:48Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 295s time="2025-10-18T15:05:48Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 295s time="2025-10-18T15:05:48Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 295s --- PASS: TestAddStdoutForwarderWithBlockedStdout (0.01s) 295s === RUN TestAddStderrForwarderWithBlockedStderr 295s time="2025-10-18T15:05:48Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 295s time="2025-10-18T15:05:48Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 295s time="2025-10-18T15:05:48Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 295s --- PASS: TestAddStderrForwarderWithBlockedStderr (0.01s) 295s === RUN TestAddStdoutForwarderOneWithFailingForwarder 295s time="2025-10-18T15:05:48Z" level=warning msg="Failed to forward log: Error from failedWriter" 295s time="2025-10-18T15:05:48Z" level=warning msg="Failed to forward log: Error from failedWriter" 295s time="2025-10-18T15:05:48Z" level=warning msg="Failed to forward log: Error from failedWriter" 295s --- PASS: TestAddStdoutForwarderOneWithFailingForwarder (0.01s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/stdforward 0.142s 295s === RUN TestManageUnit 295s === PAUSE TestManageUnit 295s === RUN TestDaemonReload 295s === PAUSE TestDaemonReload 295s === CONT TestManageUnit 295s === CONT TestDaemonReload 295s === RUN TestManageUnit/Start_unit_that_exists 295s === PAUSE TestManageUnit/Start_unit_that_exists 295s === RUN TestManageUnit/Enable_unit_that_exists 295s === PAUSE TestManageUnit/Enable_unit_that_exists 295s === RUN TestManageUnit/Disable_unit_that_exists 295s === PAUSE TestManageUnit/Disable_unit_that_exists 295s === RUN TestManageUnit/Error_when_starting_failing_unit 295s === PAUSE TestManageUnit/Error_when_starting_failing_unit 295s === RUN TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 295s === PAUSE TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 295s === RUN TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 295s === PAUSE TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 295s === RUN TestManageUnit/Stop_unit_that_exists 295s === PAUSE TestManageUnit/Stop_unit_that_exists 295s === RUN TestManageUnit/Error_when_starting_unit_that_doesn't_exist 295s === PAUSE TestManageUnit/Error_when_starting_unit_that_doesn't_exist 295s === RUN TestManageUnit/Error_when_stopping_failing_unit 295s === PAUSE TestManageUnit/Error_when_stopping_failing_unit 295s === RUN TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 295s === PAUSE TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 295s === CONT TestManageUnit/Start_unit_that_exists 295s === CONT TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 295s === CONT TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 295s === CONT TestManageUnit/Error_when_stopping_failing_unit 295s === CONT TestManageUnit/Error_when_starting_unit_that_doesn't_exist 295s === CONT TestManageUnit/Stop_unit_that_exists 295s === CONT TestManageUnit/Error_when_starting_failing_unit 295s === CONT TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 295s === CONT TestManageUnit/Disable_unit_that_exists 295s --- PASS: TestDaemonReload (0.01s) 295s === CONT TestManageUnit/Enable_unit_that_exists 295s --- PASS: TestManageUnit (0.00s) 295s --- PASS: TestManageUnit/Error_when_disabling_unit_that_doesn't_exist (0.00s) 295s --- PASS: TestManageUnit/Error_when_enabling_unit_that_doesn't_exist (0.00s) 295s --- PASS: TestManageUnit/Disable_unit_that_exists (0.00s) 295s --- PASS: TestManageUnit/Error_when_starting_unit_that_doesn't_exist (0.01s) 295s --- PASS: TestManageUnit/Enable_unit_that_exists (0.00s) 295s --- PASS: TestManageUnit/Stop_unit_that_exists (0.01s) 295s --- PASS: TestManageUnit/Start_unit_that_exists (0.01s) 295s --- PASS: TestManageUnit/Error_when_starting_failing_unit (0.01s) 295s --- PASS: TestManageUnit/Error_when_stopping_failing_unit (0.01s) 295s --- PASS: TestManageUnit/Error_when_stopping_unit_that_doesn't_exist (0.01s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/systemd 0.110s 295s ? github.com/ubuntu/adsys/internal/testutils [no test files] 295s ? github.com/ubuntu/adsys/internal/watchdservice [no test files] 295s === RUN TestInteractiveInput 295s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 295s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 295s === RUN TestInteractiveInput/Directory_exists 295s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 295s === RUN TestInteractiveInput/Submit_with_duplicate_directories 295s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 295s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 295s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 295s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 295s === RUN TestInteractiveInput/Submit_with_default_config 295s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 295s === RUN TestInteractiveInput/Other_navigation_tests 295s === RUN TestInteractiveInput/Config_file_exists 295s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 295s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 295s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 295s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 295s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 295s === RUN TestInteractiveInput/Initial_view 295s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 295s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 295s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 295s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 295s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 295s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 295s --- PASS: TestInteractiveInput (0.11s) 295s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.01s) 295s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 295s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 295s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 295s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 295s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 295s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 295s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 295s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 295s --- PASS: TestInteractiveInput/Submit_with_default_config (0.00s) 295s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 295s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 295s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 295s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.00s) 295s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.00s) 295s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.00s) 295s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.04s) 295s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 295s --- PASS: TestInteractiveInput/Initial_view (0.00s) 295s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 295s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 295s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 295s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 295s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 295s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 295s === RUN TestInteractiveInstall 295s watchdtui_test.go:408: Test has to be run as root, skipping... 295s --- SKIP: TestInteractiveInstall (0.00s) 295s === RUN TestInteractiveUpdate 295s watchdtui_test.go:456: Test has to be run as root, skipping... 295s --- SKIP: TestInteractiveUpdate (0.00s) 295s PASS 295s ok github.com/ubuntu/adsys/internal/watchdtui 0.153s 297s === RUN TestWatchDirectory 297s === PAUSE TestWatchDirectory 297s === RUN TestRefreshGracePeriod 297s === PAUSE TestRefreshGracePeriod 297s === RUN TestUpdateDirs 297s === PAUSE TestUpdateDirs 297s === RUN TestUpdateDirsFailing 297s === PAUSE TestUpdateDirsFailing 297s === RUN TestUpdateDirsWithEmptyDirSlice 297s === PAUSE TestUpdateDirsWithEmptyDirSlice 297s === RUN TestUpdateDirsOnStoppedWatcher 297s === PAUSE TestUpdateDirsOnStoppedWatcher 297s === RUN TestStopWithoutStart 297s === PAUSE TestStopWithoutStart 297s === CONT TestWatchDirectory 297s === RUN TestWatchDirectory/Updating_gpt.ini_is_a_no-op 297s === PAUSE TestWatchDirectory/Updating_gpt.ini_is_a_no-op 297s === RUN TestWatchDirectory/Existing_file,_subdir 297s === PAUSE TestWatchDirectory/Existing_file,_subdir 297s === RUN TestWatchDirectory/Nested_new_subdirs 297s === PAUSE TestWatchDirectory/Nested_new_subdirs 297s === RUN TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 297s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 297s === RUN TestWatchDirectory/New_subdir_without_file 297s === PAUSE TestWatchDirectory/New_subdir_without_file 297s === RUN TestWatchDirectory/Remove_root_directory 297s === PAUSE TestWatchDirectory/Remove_root_directory 297s === RUN TestWatchDirectory/Rename_file_and_update 297s === PAUSE TestWatchDirectory/Rename_file_and_update 297s === RUN TestWatchDirectory/Multiple_nested_subdirectories 297s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories 297s === RUN TestWatchDirectory/Combined_case 297s === PAUSE TestWatchDirectory/Combined_case 297s === RUN TestWatchDirectory/Multiple_directories,_only_one_is_updated 297s === PAUSE TestWatchDirectory/Multiple_directories,_only_one_is_updated 297s === RUN TestWatchDirectory/Error_on_non_existing_directory 297s === CONT TestUpdateDirsWithEmptyDirSlice 297s === CONT TestUpdateDirs 297s === PAUSE TestWatchDirectory/Error_on_non_existing_directory 297s === RUN TestWatchDirectory/Error_on_updating_malformed_GPT.ini 297s === PAUSE TestWatchDirectory/Error_on_updating_malformed_GPT.ini 297s === RUN TestWatchDirectory/Error_on_listing_no_directory 297s === PAUSE TestWatchDirectory/Error_on_listing_no_directory 297s === RUN TestWatchDirectory/New_file,_no_gpt.ini 297s === PAUSE TestWatchDirectory/New_file,_no_gpt.ini 297s === CONT TestRefreshGracePeriod 297s === CONT TestUpdateDirsFailing 297s === CONT TestStopWithoutStart 297s === CONT TestUpdateDirsOnStoppedWatcher 297s === RUN TestWatchDirectory/No_update,_no_gpt.ini 297s === PAUSE TestWatchDirectory/No_update,_no_gpt.ini 297s === RUN TestWatchDirectory/New_file,_subdir 297s === PAUSE TestWatchDirectory/New_file,_subdir 297s === RUN TestWatchDirectory/Remove_file 297s === PAUSE TestWatchDirectory/Remove_file 297s === RUN TestWatchDirectory/Rename_file 297s === PAUSE TestWatchDirectory/Rename_file 297s === RUN TestWatchDirectory/New_subdir 297s === PAUSE TestWatchDirectory/New_subdir 297s === RUN TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 297s === PAUSE TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 297s === RUN TestWatchDirectory/Update_with_existing_gpt.ini 297s === PAUSE TestWatchDirectory/Update_with_existing_gpt.ini 297s === RUN TestWatchDirectory/No_update,_existing_gpt.ini 297s === PAUSE TestWatchDirectory/No_update,_existing_gpt.ini 297s === RUN TestWatchDirectory/Update_existing_file 297s === PAUSE TestWatchDirectory/Update_existing_file 297s === CONT TestWatchDirectory/Updating_gpt.ini_is_a_no-op 297s === CONT TestWatchDirectory/Error_on_listing_no_directory 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestUpdateDirsWithEmptyDirSlice3744259730/001/watchdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3744259730/001/watchdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3744259730/001/watchdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3744259730/001/watchdir/alreadyexists" 297s --- PASS: TestStopWithoutStart (0.01s) 297s === CONT TestWatchDirectory/New_subdir 297s === CONT TestWatchDirectory/Update_existing_file 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1378824426/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestRefreshGracePeriod1557591528/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1378824426/001/one_file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1557591528/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1557591528/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir]" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3744259730/001/watchdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=warning msg="Error stopping watcher: the service is already stopping or not running" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1378824426/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3744259730/001/watchdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/dir\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3744259730/001/watchdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1378824426/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing3505588320/001/remove and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_existing_file3949414218/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3949414218/001/one_file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3949414218/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file3949414218/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Updating directories to []" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/remove" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/dir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1378824426/001/one_file/GPT.INI\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/remove/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file3949414218/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/remove/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file3949414218/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/remove/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op1378824426/001/one_file/GPT.INI\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/remove/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/dir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/remove/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing3505588320/001/keep and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/dir/file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/keep" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/keep/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/keep/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/keep/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/keep/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing3505588320/001/keep/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsFailing3505588320/001/keep unexisting]" 297s --- PASS: TestUpdateDirsWithEmptyDirSlice (0.03s) 297s === CONT TestWatchDirectory/No_update,_existing_gpt.ini 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini369086740/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini369086740/001/one_file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini369086740/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini369086740/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3505588320/001/keep/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3505588320/001/keep/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3505588320/001/keep/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3505588320/001/keep/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3505588320/001/remove/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3505588320/001/remove/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3505588320/001/remove/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing3505588320/001/remove/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_existing_file3949414218/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir1467298447/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestUpdateDirsOnStoppedWatcher1837295322/001/curdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestUpdateDirs625473024/001/remove and children" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing3505588320/001/keep/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/remove" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/remove/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/remove/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/remove/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing3505588320/001/remove/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/remove/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/remove/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestUpdateDirs625473024/001/keep and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/remove/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/remove/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/remove/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/remove/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirs625473024/001/keep /tmp/TestUpdateDirs625473024/001/add]" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestUpdateDirs625473024/001/remove/GPT.INI" 297s === CONT TestWatchDirectory/Update_with_existing_gpt.ini 297s --- PASS: TestUpdateDirsFailing (0.35s) 297s === CONT TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini2140738271/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini2140738271/001/one_file" 297s === CONT TestWatchDirectory/New_file,_subdir 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini2140738271/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini2140738271/001/one_file/alreadyexists" 297s === CONT TestWatchDirectory/Rename_file 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini2140738271/001/one_file/new\"" 297s === CONT TestWatchDirectory/Remove_file 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestUpdateDirs625473024/001/keep and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/keep/alreadyexistsDir/alreadyexists" 297s --- PASS: TestUpdateDirsOnStoppedWatcher (0.35s) 297s === CONT TestWatchDirectory/No_update,_no_gpt.ini 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestUpdateDirs625473024/001/add and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/add" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/add/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/one_file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/add/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini2140738271/001/one_file/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/add/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file3881368944/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file3881368944/001/one_file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/add/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file3881368944/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file3881368944/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_no_gpt.ini2712915010/001/no_gpt and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_file1833489979/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file1833489979/001/one_file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini2712915010/001/no_gpt" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file3881368944/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini2712915010/001/no_gpt/testfile" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file3881368944/001/one_file/alreadyexists.bak\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestUpdateDirs625473024/001/add/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir/alreadyexistsDir/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir/alreadyexistsDir/new\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini2140738271/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file3881368944/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_subdir3950740970/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/keep/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/keep/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_file1833489979/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/keep/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,44197981/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/keep/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/add/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/add/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/add/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs625473024/001/add/alreadyexists\"" 297s === CONT TestWatchDirectory/Rename_file_and_update 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file_and_update3560800337/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update3560800337/001/one_file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update3560800337/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update3560800337/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file_and_update3560800337/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file_and_update3560800337/001/one_file/alreadyexists.bak\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryRename_file_and_update3560800337/001/one_file/alreadyexists.bak\"" 297s === CONT TestWatchDirectory/Error_on_updating_malformed_GPT.ini 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2819175330/001/malformed and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2819175330/001/malformed" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2819175330/001/malformed/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2819175330/001/malformed/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2819175330/001/malformed/new\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestUpdateDirs625473024/001/keep/GPT.INI" 297s === CONT TestWatchDirectory/Error_on_non_existing_directory 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestUpdateDirs625473024/001/add/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_non_existing_directory4134930374/001/doesnotexist and children" 297s === CONT TestWatchDirectory/Multiple_directories,_only_one_is_updated 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/one_file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir/alreadyexists\"" 297s === CONT TestWatchDirectory/Combined_case 297s === CONT TestWatchDirectory/Multiple_nested_subdirectories 297s === CONT TestWatchDirectory/New_file,_no_gpt.ini 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_no_gpt.ini227690919/001/no_gpt and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini227690919/001/no_gpt" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini227690919/001/no_gpt/testfile" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini227690919/001/no_gpt/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/dir\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini227690919/001/no_gpt/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/dir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/dir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/dir/file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexistsDir/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/alreadyexistsDir/new\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/otherdir\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/otherdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/otherdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/otherdir/subdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/otherdir/subdir/file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/newdir\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/newdir\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file_and_update3560800337/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2819175330/001/malformed/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2819175330/001/malformed/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2819175330/001/malformed/GPT.INI: strconv.ParseInt: parsing \"??\": invalid syntax" 297s --- PASS: TestUpdateDirs (0.70s) 297s === CONT TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated3857055269/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_no_gpt.ini227690919/001/no_gpt/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryNew_file,_no_gpt.ini227690919/001/no_gpt/GPT.INI: no such file or directory, creating a new file" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryCombined_case2088825113/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories3748068628/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s === CONT TestWatchDirectory/Remove_root_directory 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/GPT.INI\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/GPT.INI\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/GPT.INI\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file" 297s === CONT TestWatchDirectory/New_subdir_without_file 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir/newsubdir\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir/newsubdir\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_n3762161988/001/withsubdir/alreadyexistsDir/GPT.INI" 297s === CONT TestWatchDirectory/Nested_new_subdirs 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/otherdir\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/otherdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/otherdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/otherdir/subdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/otherdir/subdir/file" 297s === CONT TestWatchDirectory/Existing_file,_subdir 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching /tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir and children" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir/alreadyexistsDir" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir/alreadyexistsDir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir/alreadyexistsDir/alreadyexists" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir/alreadyexistsDir/alreadyexists\"" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/GPT.INI: no such file or directory, creating a new file" 297s time="2025-10-18T15:05:51Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/GPT.INI: open /tmp/TestWatchDirectoryRemove_root_directory2247358851/001/one_file/GPT.INI: no such file or directory" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir_without_file2361686676/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:51Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:51Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNested_new_subdirs3094977621/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:52Z" level=info msg="Watcher stopped" 297s time="2025-10-18T15:05:52Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryExisting_file,_subdir3051484515/001/withsubdir/GPT.INI" 297s --- PASS: TestWatchDirectory (0.00s) 297s --- PASS: TestWatchDirectory/Error_on_listing_no_directory (0.00s) 297s --- PASS: TestWatchDirectory/Update_existing_file (0.34s) 297s --- PASS: TestWatchDirectory/Updating_gpt.ini_is_a_no-op (0.35s) 297s --- PASS: TestWatchDirectory/No_update,_existing_gpt.ini (0.32s) 297s --- PASS: TestWatchDirectory/New_subdir (0.34s) 297s --- PASS: TestWatchDirectory/Update_with_existing_gpt.ini (0.23s) 297s --- PASS: TestWatchDirectory/No_update,_no_gpt.ini (0.22s) 297s --- PASS: TestWatchDirectory/Rename_file (0.23s) 297s --- PASS: TestWatchDirectory/Error_on_non_existing_directory (0.00s) 297s --- PASS: TestWatchDirectory/Remove_file (0.24s) 297s --- PASS: TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated (0.25s) 297s --- PASS: TestWatchDirectory/New_file,_subdir (0.25s) 297s --- PASS: TestWatchDirectory/Rename_file_and_update (0.22s) 297s --- PASS: TestWatchDirectory/Error_on_updating_malformed_GPT.ini (0.22s) 297s --- PASS: TestWatchDirectory/Multiple_directories,_only_one_is_updated (0.23s) 297s --- PASS: TestWatchDirectory/New_file,_no_gpt.ini (0.22s) 297s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories (0.23s) 297s --- PASS: TestWatchDirectory/Combined_case (0.23s) 297s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file (0.22s) 297s --- PASS: TestWatchDirectory/Remove_root_directory (0.22s) 297s --- PASS: TestWatchDirectory/New_subdir_without_file (0.22s) 297s --- PASS: TestWatchDirectory/Nested_new_subdirs (0.22s) 297s --- PASS: TestWatchDirectory/Existing_file,_subdir (0.21s) 297s time="2025-10-18T15:05:52Z" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod1557591528/001/withsubdir/GPT.INI" 297s time="2025-10-18T15:05:52Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/GPT.INI\"" 297s time="2025-10-18T15:05:52Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/GPT.INI\"" 297s time="2025-10-18T15:05:52Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/GPT.INI\"" 297s time="2025-10-18T15:05:52Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod1557591528/001/withsubdir/GPT.INI\"" 297s time="2025-10-18T15:05:53Z" level=info msg="Watcher stopped" 297s --- PASS: TestRefreshGracePeriod (2.07s) 297s PASS 297s ok github.com/ubuntu/adsys/internal/watcher 2.113s 297s ? github.com/ubuntu/adsys/po [no test files] 297s ? github.com/ubuntu/adsys/policies [no test files] 298s autopkgtest [15:05:54]: test command1: -----------------------] 302s autopkgtest [15:05:58]: test command1: - - - - - - - - - - results - - - - - - - - - - 302s command1 PASS 305s autopkgtest [15:06:01]: test command2: preparing testbed 307s Reading package lists... 308s Building dependency tree... 308s Reading state information... 308s Solving dependencies... 309s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 315s autopkgtest [15:06:11]: test command2: ./debian/tests/test sudo 315s autopkgtest [15:06:11]: test command2: [----------------------- 317s Skipping root tests for non-amd64/arm64 architecture 317s autopkgtest [15:06:13]: test command2: -----------------------] 321s command2 SKIP exit status 77 and marked as skippable 321s autopkgtest [15:06:17]: test command2: - - - - - - - - - - results - - - - - - - - - - 325s autopkgtest [15:06:21]: @@@@@@@@@@@@@@@@@@@@ summary 325s command1 PASS 325s command2 SKIP exit status 77 and marked as skippable