0s autopkgtest [02:19:21]: starting date and time: 2024-03-21 02:19:21+0000 0s autopkgtest [02:19:21]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [02:19:21]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.k1zewcpu/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:gvfs,src:curl,src:glib2.0,src:gnutls28,src:libarchive,src:libcdio-paranoia,src:libcdio,src:libgphoto2,src:libmtp,src:libplist,src:libpsl,src:libtirpc,src:nettle,src:openssl,src:orthanc-python,src:samba,src:sssd,src:tevent --apt-upgrade adsys --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=gvfs/1.54.0-1build1 curl/8.5.0-2ubuntu7 glib2.0/2.79.3-3ubuntu5 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu2 libcdio-paranoia/10.2+2.0.1-1.1build1 libcdio/2.1.0-4.1 libgphoto2/2.5.31-2.1build1 libmtp/1.1.21-3.1 libplist/2.3.0-1~exp2build1 libpsl/0.21.2-1.1 libtirpc/1.3.4+ds-1.1 nettle/3.9.1-2.2 openssl/3.0.13-0ubuntu2 orthanc-python/4.1+ds-2build3 samba/2:4.19.5+dfsg-4ubuntu5 sssd/2.9.4-1.1ubuntu3 tevent/0.16.1-2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-12.secgroup --name adt-noble-arm64-adsys-20240321-021920-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 160s autopkgtest [02:22:01]: testbed dpkg architecture: arm64 160s autopkgtest [02:22:01]: testbed apt version: 2.7.12 160s autopkgtest [02:22:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 161s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 161s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 161s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3805 kB] 161s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [498 kB] 161s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 161s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [692 kB] 161s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 161s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [41.7 kB] 161s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 161s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4243 kB] 162s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 162s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [67.4 kB] 162s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 164s Fetched 9537 kB in 2s (4994 kB/s) 164s Reading package lists... 168s Reading package lists... 168s Building dependency tree... 168s Reading state information... 168s Calculating upgrade... 169s The following packages will be REMOVED: 169s libglib2.0-0 libssl3 169s The following NEW packages will be installed: 169s libglib2.0-0t64 libssl3t64 xdg-user-dirs 169s The following packages have been kept back: 169s curl 169s The following packages will be upgraded: 169s gir1.2-glib-2.0 libglib2.0-data libtirpc-common openssl 169s 4 upgraded, 3 newly installed, 2 to remove and 1 not upgraded. 169s Need to get 4560 kB of archives. 169s After this operation, 278 kB of additional disk space will be used. 169s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu5 [182 kB] 169s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB] 169s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu2 [985 kB] 169s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu2 [1793 kB] 169s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 169s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtirpc-common all 1.3.4+ds-1.1 [8018 B] 169s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 170s Fetched 4560 kB in 1s (6754 kB/s) 170s (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 ... 74758 files and directories currently installed.) 170s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_arm64.deb ... 170s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 170s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 170s udisks2 depends on libglib2.0-0 (>= 2.77.0). 170s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 170s python3-gi depends on libglib2.0-0 (>= 2.77.0). 170s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 170s netplan.io depends on libglib2.0-0 (>= 2.70.0). 170s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 170s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 170s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 170s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 170s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 170s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 170s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 170s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 170s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 170s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 170s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 170s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 170s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 170s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 170s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 170s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 170s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 170s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 170s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 170s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 170s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 170s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 170s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 170s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 170s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 170s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 170s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 170s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 170s fwupd depends on libglib2.0-0 (>= 2.79.0). 170s bolt depends on libglib2.0-0 (>= 2.56.0). 170s 170s (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 ... 74758 files and directories currently installed.) 170s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 170s Selecting previously unselected package libglib2.0-0t64:arm64. 170s (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 ... 74733 files and directories currently installed.) 170s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ... 170s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:arm64.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 170s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 170s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 170s Preparing to unpack .../openssl_3.0.13-0ubuntu2_arm64.deb ... 170s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 170s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 170s wget depends on libssl3 (>= 3.0.0). 170s u-boot-tools depends on libssl3 (>= 3.0.0). 170s tnftp depends on libssl3 (>= 3.0.0). 170s tcpdump depends on libssl3 (>= 3.0.0). 170s systemd-resolved depends on libssl3 (>= 3.0.0). 170s systemd depends on libssl3 (>= 3.0.0). 170s sudo depends on libssl3 (>= 3.0.0). 170s sbsigntool depends on libssl3 (>= 3.0.0). 170s rsync depends on libssl3 (>= 3.0.0). 170s python3-cryptography depends on libssl3 (>= 3.0.0). 170s openssh-server depends on libssl3 (>= 3.0.10). 170s openssh-client depends on libssl3 (>= 3.0.10). 170s mtd-utils depends on libssl3 (>= 3.0.0). 170s mokutil depends on libssl3 (>= 3.0.0). 170s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 170s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 170s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 170s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 170s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 170s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 170s libnvme1 depends on libssl3 (>= 3.0.0). 170s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 170s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 170s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 170s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 170s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 170s kmod depends on libssl3 (>= 3.0.0). 170s dhcpcd-base depends on libssl3 (>= 3.0.0). 170s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 170s 170s (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 ... 74758 files and directories currently installed.) 170s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 170s Selecting previously unselected package libssl3t64:arm64. 170s (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 ... 74747 files and directories currently installed.) 170s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_arm64.deb ... 170s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu2) ... 171s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 171s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 171s Preparing to unpack .../libtirpc-common_1.3.4+ds-1.1_all.deb ... 171s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 171s Selecting previously unselected package xdg-user-dirs. 171s Preparing to unpack .../xdg-user-dirs_0.18-1_arm64.deb ... 171s Unpacking xdg-user-dirs (0.18-1) ... 171s Setting up xdg-user-dirs (0.18-1) ... 171s Setting up libssl3t64:arm64 (3.0.13-0ubuntu2) ... 171s Setting up libtirpc-common (1.3.4+ds-1.1) ... 171s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 171s No schema files found: doing nothing. 171s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 171s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 171s Setting up openssl (3.0.13-0ubuntu2) ... 171s Processing triggers for man-db (2.12.0-3) ... 171s Processing triggers for libc-bin (2.39-0ubuntu2) ... 172s Reading package lists... 172s Building dependency tree... 172s Reading state information... 172s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 173s sh: Attempting to set up Debian/Ubuntu apt sources automatically 173s sh: Distribution appears to be Ubuntu 174s Reading package lists... 174s Building dependency tree... 174s Reading state information... 175s eatmydata is already the newest version (131-1). 175s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 175s Reading package lists... 175s Building dependency tree... 175s Reading state information... 175s dbus is already the newest version (1.14.10-4ubuntu1). 175s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 176s Reading package lists... 176s Building dependency tree... 176s Reading state information... 176s rng-tools-debian is already the newest version (2.4). 176s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 177s Reading package lists... 177s Building dependency tree... 177s Reading state information... 177s The following packages will be REMOVED: 177s cloud-init* python3-configobj* python3-debconf* 178s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 178s After this operation, 3252 kB disk space will be freed. 178s (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 ... 74774 files and directories currently installed.) 178s Removing cloud-init (24.1.1-0ubuntu1) ... 178s Removing python3-configobj (5.0.8-3) ... 178s Removing python3-debconf (1.5.86) ... 178s Processing triggers for man-db (2.12.0-3) ... 179s (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 ... 74385 files and directories currently installed.) 179s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 179s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 179s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 179s invoke-rc.d: policy-rc.d denied execution of try-restart. 179s Reading package lists... 180s Building dependency tree... 180s Reading state information... 180s linux-generic is already the newest version (6.8.0-11.11+1). 180s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 181s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 181s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 181s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 182s Reading package lists... 183s Reading package lists... 183s Building dependency tree... 183s Reading state information... 183s Calculating upgrade... 183s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 184s Reading package lists... 184s Building dependency tree... 184s Reading state information... 184s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 184s autopkgtest [02:22:25]: rebooting testbed after setup commands that affected boot 214s autopkgtest [02:22:55]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 217s autopkgtest [02:22:58]: @@@@@@@@@@@@@@@@@@@@ apt-source adsys 221s Get:1 http://ftpmaster.internal/ubuntu noble/main adsys 0.13.3 (dsc) [1469 B] 221s Get:2 http://ftpmaster.internal/ubuntu noble/main adsys 0.13.3 (tar) [6962 kB] 221s gpgv: Signature made Fri Jan 26 14:42:23 2024 UTC 221s gpgv: using DSA key DD00EF8F4D23C30D78EC990998B24A9CE4AC208E 221s gpgv: Can't check signature: No public key 221s dpkg-source: warning: cannot verify inline signature for ./adsys_0.13.3.dsc: no acceptable signature found 222s autopkgtest [02:23:03]: testing package adsys version 0.13.3 222s autopkgtest [02:23:03]: build not needed 225s autopkgtest [02:23:06]: test command1: preparing testbed 229s Reading package lists... 229s Building dependency tree... 229s Reading state information... 230s Starting pkgProblemResolver with broken count: 1 230s Starting 2 pkgProblemResolver with broken count: 1 230s Investigating (0) libglib2.0-0t64:arm64 < 2.79.3-3ubuntu5 @ii mK Ib > 230s Broken libglib2.0-0t64:arm64 Breaks on libglib2.0-0:arm64 < none -> 2.79.2-1~ubuntu1 @rc pumN > (< 2.79.3-3ubuntu5) 230s Considering libglib2.0-0:arm64 123 as a solution to libglib2.0-0t64:arm64 118 230s Removing libglib2.0-0t64:arm64 rather than change libglib2.0-0:arm64 230s Investigating (0) gir1.2-glib-2.0:arm64 < 2.79.3-3ubuntu5 @ii mK Ib > 230s Broken gir1.2-glib-2.0:arm64 Depends on libglib2.0-0t64:arm64 < 2.79.3-3ubuntu5 @ii mR > (= 2.79.3-3ubuntu5) 230s Considering libglib2.0-0t64:arm64 118 as a solution to gir1.2-glib-2.0:arm64 14 230s Removing gir1.2-glib-2.0:arm64 rather than change libglib2.0-0t64:arm64 230s Investigating (0) gir1.2-girepository-2.0:arm64 < 1.79.1-1 @ii mK Ib > 230s Broken gir1.2-girepository-2.0:arm64 Depends on gir1.2-gobject-2.0:arm64 < none @un mH > (>= 2.79.0) 230s Considering gir1.2-glib-2.0:arm64 14 as a solution to gir1.2-girepository-2.0:arm64 7 230s Removing gir1.2-girepository-2.0:arm64 rather than change gir1.2-gobject-2.0:arm64 230s Investigating (0) apport:arm64 < 2.28.0-0ubuntu1 @ii mK Ib > 230s Broken apport:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.3-3ubuntu5 @ii mR > (>= 1.29.17) 230s Considering gir1.2-glib-2.0:arm64 14 as a solution to apport:arm64 6 230s Removing apport:arm64 rather than change gir1.2-glib-2.0:arm64 230s Investigating (0) apport-core-dump-handler:arm64 < 2.28.0-0ubuntu1 @ii mK Ib > 230s Broken apport-core-dump-handler:arm64 Depends on apport:arm64 < 2.28.0-0ubuntu1 @ii mR > (>= 2.27.0-0ubuntu7~) 230s Considering apport:arm64 6 as a solution to apport-core-dump-handler:arm64 4 230s Removing apport-core-dump-handler:arm64 rather than change apport:arm64 230s Investigating (1) networkd-dispatcher:arm64 < 2.2.4-1 @ii mK Ib > 230s Broken networkd-dispatcher:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.3-3ubuntu5 @ii mR > 230s Considering gir1.2-glib-2.0:arm64 14 as a solution to networkd-dispatcher:arm64 23 230s Added gir1.2-glib-2.0:arm64 to the remove list 230s Fixing networkd-dispatcher:arm64 via keep of gir1.2-glib-2.0:arm64 230s Investigating (1) python3-gi:arm64 < 3.47.0-3 @ii mK Ib > 230s Broken python3-gi:arm64 Depends on gir1.2-girepository-2.0:arm64 < 1.79.1-1 @ii mR > 230s Considering gir1.2-girepository-2.0:arm64 7 as a solution to python3-gi:arm64 18 230s Added gir1.2-girepository-2.0:arm64 to the remove list 230s Fixing python3-gi:arm64 via keep of gir1.2-girepository-2.0:arm64 230s Investigating (1) gir1.2-glib-2.0:arm64 < 2.79.3-3ubuntu5 @ii mK Ib > 230s Broken gir1.2-glib-2.0:arm64 Depends on libglib2.0-0t64:arm64 < 2.79.3-3ubuntu5 @ii mR > (= 2.79.3-3ubuntu5) 230s Considering libglib2.0-0t64:arm64 118 as a solution to gir1.2-glib-2.0:arm64 14 230s Removing gir1.2-glib-2.0:arm64 rather than change libglib2.0-0t64:arm64 230s Investigating (1) gir1.2-girepository-2.0:arm64 < 1.79.1-1 @ii mK Ib > 230s Broken gir1.2-girepository-2.0:arm64 Depends on gir1.2-gobject-2.0:arm64 < none @un mH > (>= 2.79.0) 230s Considering gir1.2-glib-2.0:arm64 14 as a solution to gir1.2-girepository-2.0:arm64 7 230s Removing gir1.2-girepository-2.0:arm64 rather than change gir1.2-gobject-2.0:arm64 230s Investigating (2) networkd-dispatcher:arm64 < 2.2.4-1 @ii mK Ib > 230s Broken networkd-dispatcher:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.3-3ubuntu5 @ii mR > 230s Considering gir1.2-glib-2.0:arm64 14 as a solution to networkd-dispatcher:arm64 23 230s Added gir1.2-glib-2.0:arm64 to the remove list 230s Fixing networkd-dispatcher:arm64 via keep of gir1.2-glib-2.0:arm64 230s Investigating (2) python3-gi:arm64 < 3.47.0-3 @ii mK Ib > 230s Broken python3-gi:arm64 Depends on gir1.2-girepository-2.0:arm64 < 1.79.1-1 @ii mR > 230s Considering gir1.2-girepository-2.0:arm64 7 as a solution to python3-gi:arm64 18 230s Added gir1.2-girepository-2.0:arm64 to the remove list 230s Fixing python3-gi:arm64 via keep of gir1.2-girepository-2.0:arm64 230s Investigating (2) gir1.2-glib-2.0:arm64 < 2.79.3-3ubuntu5 @ii mK Ib > 230s Broken gir1.2-glib-2.0:arm64 Depends on libglib2.0-0t64:arm64 < 2.79.3-3ubuntu5 @ii mR > (= 2.79.3-3ubuntu5) 230s Considering libglib2.0-0t64:arm64 118 as a solution to gir1.2-glib-2.0:arm64 23 230s Removing gir1.2-glib-2.0:arm64 rather than change libglib2.0-0t64:arm64 230s Investigating (2) gir1.2-girepository-2.0:arm64 < 1.79.1-1 @ii mK Ib > 230s Broken gir1.2-girepository-2.0:arm64 Depends on gir1.2-gobject-2.0:arm64 < none @un mH > (>= 2.79.0) 230s Considering gir1.2-glib-2.0:arm64 118 as a solution to gir1.2-girepository-2.0:arm64 18 230s Removing gir1.2-girepository-2.0:arm64 rather than change gir1.2-gobject-2.0:arm64 230s Investigating (3) networkd-dispatcher:arm64 < 2.2.4-1 @ii mK Ib > 230s Broken networkd-dispatcher:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.3-3ubuntu5 @ii mR > 230s Considering gir1.2-glib-2.0:arm64 118 as a solution to networkd-dispatcher:arm64 23 230s Removing networkd-dispatcher:arm64 rather than change gir1.2-glib-2.0:arm64 230s Investigating (3) python3-gi:arm64 < 3.47.0-3 @ii mK Ib > 230s Broken python3-gi:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.3-3ubuntu5 @ii mR > (>= 1.64.0) 230s Considering gir1.2-glib-2.0:arm64 118 as a solution to python3-gi:arm64 18 230s Removing python3-gi:arm64 rather than change gir1.2-glib-2.0:arm64 230s Done 231s The following packages were automatically installed and are no longer required: 231s apport-symptoms libgirepository-1.0-1 python3-apport python3-blinker 231s python3-certifi python3-chardet python3-httplib2 python3-jwt 231s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 231s python3-oauthlib python3-openssl python3-problem-report python3-pyparsing 231s python3-requests python3-six python3-systemd python3-urllib3 python3-wadllib 231s Use 'sudo apt autoremove' to remove them. 231s The following additional packages will be installed: 231s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 231s cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit dh-apport 231s dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ g++-13 231s g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 231s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext golang-1.22-go 231s golang-1.22-src golang-go golang-src intltool-debian libarchive-zip-perl 231s libasan8 libatomic1 libavahi-client3 libavahi-common-data libavahi-common3 231s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libcups2 231s libdbus-1-dev libdebhelper-perl libdw1 libffi-dev 231s libfile-stripnondeterminism-perl libgcc-13-dev libgirepository-2.0-0 231s libglib2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 231s libhwasan0 libisl23 libitm1 libldb2 liblsan0 libmount-dev libmpc3 libnsl-dev 231s libpam0g-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 231s libpkgconf3 libpython3.12 libselinux1-dev libsepol-dev libsmbclient 231s libsmbclient-dev libstdc++-13-dev libsub-override-perl libtalloc2 libtdb1 231s libtevent0 libtirpc-dev libtool libtsan2 libubsan1 libwbclient-dev 231s libwbclient0 linux-libc-dev m4 pkgconf pkgconf-bin po-debconf 231s python3-dnspython python3-ldb python3-markdown python3-packaging 231s python3-samba python3-talloc python3-tdb rpcsvc-proto samba samba-common 231s samba-common-bin samba-dsdb-modules samba-libs sgml-base tdb-tools uuid-dev 231s xml-core zlib1g-dev 231s Suggested packages: 231s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-13-locales 231s cpp-13-doc dh-make gcc-13-doc gcc-multilib manpages-dev flex bison gdb 231s gcc-doc gdb-aarch64-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 231s bzr | brz git mercurial subversion glibc-doc cups-common low-memory-monitor 231s libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin libxml2-utils 231s libstdc++-13-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc 231s libmail-box-perl python3-trio python3-aioquic python3-h2 python3-httpx 231s python3-httpcore python-markdown-doc bind9 bind9utils ctdb ldb-tools ntp 231s | chrony winbind heimdal-clients sgml-base-doc 231s Recommended packages: 231s manpages manpages-dev libc-devtools libarchive-cpio-perl libltdl-dev 231s libmail-sendmail-perl python3-gpg attr samba-vfs-modules samba-ad-provision 231s The following packages will be REMOVED: 231s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 231s libglib2.0-0t64 networkd-dispatcher python3-gi 231s The following NEW packages will be installed: 231s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 231s cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper 231s debugedit dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz g++ 231s g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 231s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext golang-1.22-go 231s golang-1.22-src golang-go golang-src intltool-debian libarchive-zip-perl 231s libasan8 libatomic1 libavahi-client3 libavahi-common-data libavahi-common3 231s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libcups2 231s libdbus-1-dev libdebhelper-perl libdw1 libffi-dev 231s libfile-stripnondeterminism-perl libgcc-13-dev libgirepository-2.0-0 231s libglib2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 231s libhwasan0 libisl23 libitm1 libldb2 liblsan0 libmount-dev libmpc3 libnsl-dev 231s libpam0g-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 231s libpkgconf3 libpython3.12 libselinux1-dev libsepol-dev libsmbclient 231s libsmbclient-dev libstdc++-13-dev libsub-override-perl libtalloc2 libtdb1 231s libtevent0 libtirpc-dev libtool libtsan2 libubsan1 libwbclient-dev 231s libwbclient0 linux-libc-dev m4 pkgconf pkgconf-bin po-debconf 231s python3-dnspython python3-ldb python3-markdown python3-packaging 231s python3-samba python3-talloc python3-tdb rpcsvc-proto samba samba-common 231s samba-common-bin samba-dsdb-modules samba-libs sgml-base tdb-tools uuid-dev 231s xml-core zlib1g-dev 231s 0 upgraded, 108 newly installed, 7 to remove and 0 not upgraded. 231s Need to get 132 MB/132 MB of archives. 231s After this operation, 568 MB of additional disk space will be used. 231s Get:1 /tmp/autopkgtest.SkcOsT/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [836 B] 232s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-0 arm64 2.79.2-1~ubuntu1 [1524 kB] 232s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 python3-dnspython all 2.6.1-1ubuntu1 [163 kB] 232s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libtalloc2 arm64 2.4.2-1 [26.6 kB] 232s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libtdb1 arm64 1.4.10-1 [48.4 kB] 232s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libtevent0 arm64 0.16.1-1 [41.8 kB] 232s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libldb2 arm64 2:2.8.0+samba4.19.5+dfsg-1ubuntu1 [187 kB] 232s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libpython3.12 arm64 3.12.2-1 [2291 kB] 233s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 python3-ldb arm64 2:2.8.0+samba4.19.5+dfsg-1ubuntu1 [42.4 kB] 233s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 python3-tdb arm64 1.4.10-1 [15.1 kB] 233s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 python3-markdown all 3.5.2-1 [72.0 kB] 233s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-common-data arm64 0.8-13ubuntu2 [29.5 kB] 233s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-common3 arm64 0.8-13ubuntu2 [23.2 kB] 233s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-client3 arm64 0.8-13ubuntu2 [27.3 kB] 233s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libwbclient0 arm64 2:4.19.5+dfsg-1ubuntu1 [70.6 kB] 233s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 samba-libs arm64 2:4.19.5+dfsg-1ubuntu1 [6061 kB] 233s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 python3-talloc arm64 2.4.2-1 [12.9 kB] 233s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 python3-samba arm64 2:4.19.5+dfsg-1ubuntu1 [3250 kB] 233s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 samba-common all 2:4.19.5+dfsg-1ubuntu1 [63.4 kB] 233s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libcups2 arm64 2.4.6-0ubuntu3 [270 kB] 233s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 samba-common-bin arm64 2:4.19.5+dfsg-1ubuntu1 [1269 kB] 233s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 tdb-tools arm64 1.4.10-1 [25.9 kB] 233s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 samba arm64 2:4.19.5+dfsg-1ubuntu1 [1000 kB] 234s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 sgml-base all 1.31 [11.4 kB] 234s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 m4 arm64 1.4.19-4 [240 kB] 234s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 autoconf all 2.71-3 [339 kB] 234s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 autotools-dev all 20220109.1 [44.9 kB] 234s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 234s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 autopoint all 0.21-14ubuntu1 [422 kB] 234s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 234s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 234s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 234s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 234s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 234s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 234s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 234s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 234s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 234s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB] 234s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B] 234s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 234s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 234s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB] 234s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB] 234s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB] 234s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB] 234s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB] 234s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB] 234s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB] 234s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB] 234s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB] 235s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB] 235s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB] 235s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB] 235s Get:55 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 235s Get:56 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 235s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB] 235s Get:58 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB] 235s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB] 235s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 235s Get:61 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 235s Get:62 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 235s Get:63 http://ftpmaster.internal/ubuntu noble/main arm64 libdebhelper-perl all 13.14.1ubuntu1 [89.5 kB] 235s Get:64 http://ftpmaster.internal/ubuntu noble/main arm64 libtool all 2.4.7-7 [166 kB] 235s Get:65 http://ftpmaster.internal/ubuntu noble/main arm64 dh-autoreconf all 20 [16.1 kB] 235s Get:66 http://ftpmaster.internal/ubuntu noble/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 235s Get:67 http://ftpmaster.internal/ubuntu noble/main arm64 libsub-override-perl all 0.10-1 [10.0 kB] 235s Get:68 http://ftpmaster.internal/ubuntu noble/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 235s Get:69 http://ftpmaster.internal/ubuntu noble/main arm64 dh-strip-nondeterminism all 1.13.1-1 [5362 B] 235s Get:70 http://ftpmaster.internal/ubuntu noble/main arm64 libdw1 arm64 0.190-1 [254 kB] 235s Get:71 http://ftpmaster.internal/ubuntu noble/main arm64 debugedit arm64 1:5.0-5 [45.9 kB] 235s Get:72 http://ftpmaster.internal/ubuntu noble/main arm64 dwz arm64 0.15-1 [110 kB] 235s Get:73 http://ftpmaster.internal/ubuntu noble/main arm64 gettext arm64 0.21-14ubuntu1 [846 kB] 235s Get:74 http://ftpmaster.internal/ubuntu noble/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 235s Get:75 http://ftpmaster.internal/ubuntu noble/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 235s Get:76 http://ftpmaster.internal/ubuntu noble/main arm64 debhelper all 13.14.1ubuntu1 [869 kB] 235s Get:77 http://ftpmaster.internal/ubuntu noble/universe arm64 dh-apport all 2.28.0-0ubuntu1 [16.9 kB] 236s Get:78 http://ftpmaster.internal/ubuntu noble/main arm64 golang-1.22-src all 1.22.1-1 [19.7 MB] 236s Get:79 http://ftpmaster.internal/ubuntu noble/main arm64 golang-1.22-go arm64 1.22.1-1 [23.6 MB] 236s Get:80 http://ftpmaster.internal/ubuntu noble/main arm64 golang-src all 2:1.22~2 [4992 B] 236s Get:81 http://ftpmaster.internal/ubuntu noble/main arm64 golang-go arm64 2:1.22~2 [43.9 kB] 236s Get:82 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 236s Get:83 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 236s Get:84 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 236s Get:85 http://ftpmaster.internal/ubuntu noble/main arm64 xml-core all 0.19 [20.3 kB] 236s Get:86 http://ftpmaster.internal/ubuntu noble/main arm64 libdbus-1-dev arm64 1.14.10-4ubuntu1 [200 kB] 236s Get:87 http://ftpmaster.internal/ubuntu noble/main arm64 libgirepository-2.0-0 arm64 2.79.2-1~ubuntu1 [71.5 kB] 236s Get:88 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-bin arm64 2.79.2-1~ubuntu1 [97.1 kB] 236s Get:89 http://ftpmaster.internal/ubuntu noble/main arm64 libffi-dev arm64 3.4.6-1 [59.5 kB] 236s Get:90 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 237s Get:91 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-dev-bin arm64 2.79.2-1~ubuntu1 [210 kB] 237s Get:92 http://ftpmaster.internal/ubuntu noble/main arm64 uuid-dev arm64 2.39.3-6ubuntu2 [34.7 kB] 237s Get:93 http://ftpmaster.internal/ubuntu noble/main arm64 libblkid-dev arm64 2.39.3-6ubuntu2 [219 kB] 237s Get:94 http://ftpmaster.internal/ubuntu noble/main arm64 libsepol-dev arm64 3.5-2 [390 kB] 237s Get:95 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 237s Get:96 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 237s Get:97 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 237s Get:98 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 237s Get:99 http://ftpmaster.internal/ubuntu noble/main arm64 libselinux1-dev arm64 3.5-2build1 [172 kB] 237s Get:100 http://ftpmaster.internal/ubuntu noble/main arm64 libmount-dev arm64 2.39.3-6ubuntu2 [14.9 kB] 237s Get:101 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 237s Get:102 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-dev arm64 2.79.2-1~ubuntu1 [1884 kB] 237s Get:103 http://ftpmaster.internal/ubuntu noble/main arm64 libpam0g-dev arm64 1.5.2-9.1ubuntu3 [115 kB] 237s Get:104 http://ftpmaster.internal/ubuntu noble/main arm64 libwbclient-dev arm64 2:4.19.5+dfsg-1ubuntu1 [16.2 kB] 237s Get:105 http://ftpmaster.internal/ubuntu noble/main arm64 samba-dsdb-modules arm64 2:4.19.5+dfsg-1ubuntu1 [319 kB] 237s Get:106 http://ftpmaster.internal/ubuntu noble/main arm64 dh-golang all 1.62 [25.2 kB] 237s Get:107 http://ftpmaster.internal/ubuntu noble/main arm64 libsmbclient arm64 2:4.19.5+dfsg-1ubuntu1 [62.2 kB] 237s Get:108 http://ftpmaster.internal/ubuntu noble/main arm64 libsmbclient-dev arm64 2:4.19.5+dfsg-1ubuntu1 [40.5 kB] 238s Fetched 132 MB in 6s (21.9 MB/s) 238s (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 ... 74330 files and directories currently installed.) 238s Removing networkd-dispatcher (2.2.4-1) ... 239s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 239s Removing apport (2.28.0-0ubuntu1) ... 240s Removing python3-gi (3.47.0-3) ... 240s Removing gir1.2-girepository-2.0:arm64 (1.79.1-1) ... 240s Removing gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 240s dpkg: libglib2.0-0t64:arm64: dependency problems, but removing anyway as you requested: 240s udisks2 depends on libglib2.0-0 (>= 2.77.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s shared-mime-info depends on libglib2.0-0 (>= 2.75.3); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s python3-dbus depends on libglib2.0-0 (>= 2.16.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s netplan.io depends on libglib2.0-0 (>= 2.70.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s netplan-generator depends on libglib2.0-0 (>= 2.70.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libmbim-proxy depends on libglib2.0-0 (>= 2.56); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s fwupd depends on libglib2.0-0 (>= 2.79.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s bolt depends on libglib2.0-0 (>= 2.56.0); however: 240s Package libglib2.0-0:arm64 is not installed. 240s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 240s 240s Removing libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 240s Selecting previously unselected package libglib2.0-0:arm64. 240s (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 ... 74135 files and directories currently installed.) 240s Preparing to unpack .../000-libglib2.0-0_2.79.2-1~ubuntu1_arm64.deb ... 240s Unpacking libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 240s Selecting previously unselected package python3-dnspython. 240s Preparing to unpack .../001-python3-dnspython_2.6.1-1ubuntu1_all.deb ... 240s Unpacking python3-dnspython (2.6.1-1ubuntu1) ... 240s Selecting previously unselected package libtalloc2:arm64. 240s Preparing to unpack .../002-libtalloc2_2.4.2-1_arm64.deb ... 240s Unpacking libtalloc2:arm64 (2.4.2-1) ... 240s Selecting previously unselected package libtdb1:arm64. 240s Preparing to unpack .../003-libtdb1_1.4.10-1_arm64.deb ... 240s Unpacking libtdb1:arm64 (1.4.10-1) ... 240s Selecting previously unselected package libtevent0:arm64. 240s Preparing to unpack .../004-libtevent0_0.16.1-1_arm64.deb ... 240s Unpacking libtevent0:arm64 (0.16.1-1) ... 240s Selecting previously unselected package libldb2:arm64. 240s Preparing to unpack .../005-libldb2_2%3a2.8.0+samba4.19.5+dfsg-1ubuntu1_arm64.deb ... 240s Unpacking libldb2:arm64 (2:2.8.0+samba4.19.5+dfsg-1ubuntu1) ... 240s Selecting previously unselected package libpython3.12:arm64. 240s Preparing to unpack .../006-libpython3.12_3.12.2-1_arm64.deb ... 240s Unpacking libpython3.12:arm64 (3.12.2-1) ... 241s Selecting previously unselected package python3-ldb. 241s Preparing to unpack .../007-python3-ldb_2%3a2.8.0+samba4.19.5+dfsg-1ubuntu1_arm64.deb ... 241s Unpacking python3-ldb (2:2.8.0+samba4.19.5+dfsg-1ubuntu1) ... 241s Selecting previously unselected package python3-tdb. 241s Preparing to unpack .../008-python3-tdb_1.4.10-1_arm64.deb ... 241s Unpacking python3-tdb (1.4.10-1) ... 241s Selecting previously unselected package python3-markdown. 241s Preparing to unpack .../009-python3-markdown_3.5.2-1_all.deb ... 241s Unpacking python3-markdown (3.5.2-1) ... 241s Selecting previously unselected package libavahi-common-data:arm64. 241s Preparing to unpack .../010-libavahi-common-data_0.8-13ubuntu2_arm64.deb ... 241s Unpacking libavahi-common-data:arm64 (0.8-13ubuntu2) ... 241s Selecting previously unselected package libavahi-common3:arm64. 241s Preparing to unpack .../011-libavahi-common3_0.8-13ubuntu2_arm64.deb ... 241s Unpacking libavahi-common3:arm64 (0.8-13ubuntu2) ... 241s Selecting previously unselected package libavahi-client3:arm64. 241s Preparing to unpack .../012-libavahi-client3_0.8-13ubuntu2_arm64.deb ... 241s Unpacking libavahi-client3:arm64 (0.8-13ubuntu2) ... 241s Selecting previously unselected package libwbclient0:arm64. 241s Preparing to unpack .../013-libwbclient0_2%3a4.19.5+dfsg-1ubuntu1_arm64.deb ... 241s Unpacking libwbclient0:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 241s Selecting previously unselected package samba-libs:arm64. 241s Preparing to unpack .../014-samba-libs_2%3a4.19.5+dfsg-1ubuntu1_arm64.deb ... 241s Unpacking samba-libs:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 241s Selecting previously unselected package python3-talloc:arm64. 241s Preparing to unpack .../015-python3-talloc_2.4.2-1_arm64.deb ... 241s Unpacking python3-talloc:arm64 (2.4.2-1) ... 241s Selecting previously unselected package python3-samba. 241s Preparing to unpack .../016-python3-samba_2%3a4.19.5+dfsg-1ubuntu1_arm64.deb ... 241s Unpacking python3-samba (2:4.19.5+dfsg-1ubuntu1) ... 241s Selecting previously unselected package samba-common. 241s Preparing to unpack .../017-samba-common_2%3a4.19.5+dfsg-1ubuntu1_all.deb ... 241s Unpacking samba-common (2:4.19.5+dfsg-1ubuntu1) ... 241s Selecting previously unselected package libcups2:arm64. 241s Preparing to unpack .../018-libcups2_2.4.6-0ubuntu3_arm64.deb ... 241s Unpacking libcups2:arm64 (2.4.6-0ubuntu3) ... 241s Selecting previously unselected package samba-common-bin. 241s Preparing to unpack .../019-samba-common-bin_2%3a4.19.5+dfsg-1ubuntu1_arm64.deb ... 241s Unpacking samba-common-bin (2:4.19.5+dfsg-1ubuntu1) ... 241s Selecting previously unselected package tdb-tools. 241s Preparing to unpack .../020-tdb-tools_1.4.10-1_arm64.deb ... 241s Unpacking tdb-tools (1.4.10-1) ... 241s Selecting previously unselected package samba. 241s Preparing to unpack .../021-samba_2%3a4.19.5+dfsg-1ubuntu1_arm64.deb ... 241s Unpacking samba (2:4.19.5+dfsg-1ubuntu1) ... 241s Selecting previously unselected package sgml-base. 241s Preparing to unpack .../022-sgml-base_1.31_all.deb ... 241s Unpacking sgml-base (1.31) ... 241s Selecting previously unselected package m4. 241s Preparing to unpack .../023-m4_1.4.19-4_arm64.deb ... 241s Unpacking m4 (1.4.19-4) ... 241s Selecting previously unselected package autoconf. 241s Preparing to unpack .../024-autoconf_2.71-3_all.deb ... 241s Unpacking autoconf (2.71-3) ... 241s Selecting previously unselected package autotools-dev. 241s Preparing to unpack .../025-autotools-dev_20220109.1_all.deb ... 241s Unpacking autotools-dev (20220109.1) ... 241s Selecting previously unselected package automake. 241s Preparing to unpack .../026-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 241s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 242s Selecting previously unselected package autopoint. 242s Preparing to unpack .../027-autopoint_0.21-14ubuntu1_all.deb ... 242s Unpacking autopoint (0.21-14ubuntu1) ... 242s Selecting previously unselected package libc-dev-bin. 242s Preparing to unpack .../028-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 242s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 242s Selecting previously unselected package linux-libc-dev:arm64. 242s Preparing to unpack .../029-linux-libc-dev_6.8.0-11.11_arm64.deb ... 242s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 242s Selecting previously unselected package libcrypt-dev:arm64. 242s Preparing to unpack .../030-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 242s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 242s Selecting previously unselected package libtirpc-dev:arm64. 242s Preparing to unpack .../031-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 242s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 242s Selecting previously unselected package libnsl-dev:arm64. 242s Preparing to unpack .../032-libnsl-dev_1.3.0-3_arm64.deb ... 242s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 242s Selecting previously unselected package rpcsvc-proto. 242s Preparing to unpack .../033-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 242s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 242s Selecting previously unselected package libc6-dev:arm64. 242s Preparing to unpack .../034-libc6-dev_2.39-0ubuntu2_arm64.deb ... 242s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 242s Selecting previously unselected package libisl23:arm64. 242s Preparing to unpack .../035-libisl23_0.26-3_arm64.deb ... 242s Unpacking libisl23:arm64 (0.26-3) ... 242s Selecting previously unselected package libmpc3:arm64. 242s Preparing to unpack .../036-libmpc3_1.3.1-1_arm64.deb ... 242s Unpacking libmpc3:arm64 (1.3.1-1) ... 242s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 242s Preparing to unpack .../037-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 242s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 242s Selecting previously unselected package cpp-13. 242s Preparing to unpack .../038-cpp-13_13.2.0-17ubuntu2_arm64.deb ... 242s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 242s Selecting previously unselected package cpp-aarch64-linux-gnu. 242s Preparing to unpack .../039-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 242s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 242s Selecting previously unselected package cpp. 242s Preparing to unpack .../040-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 242s Unpacking cpp (4:13.2.0-7ubuntu1) ... 242s Selecting previously unselected package libcc1-0:arm64. 242s Preparing to unpack .../041-libcc1-0_14-20240303-1ubuntu1_arm64.deb ... 242s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ... 242s Selecting previously unselected package libgomp1:arm64. 242s Preparing to unpack .../042-libgomp1_14-20240303-1ubuntu1_arm64.deb ... 242s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ... 243s Selecting previously unselected package libitm1:arm64. 243s Preparing to unpack .../043-libitm1_14-20240303-1ubuntu1_arm64.deb ... 243s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ... 243s Selecting previously unselected package libatomic1:arm64. 243s Preparing to unpack .../044-libatomic1_14-20240303-1ubuntu1_arm64.deb ... 243s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ... 243s Selecting previously unselected package libasan8:arm64. 243s Preparing to unpack .../045-libasan8_14-20240303-1ubuntu1_arm64.deb ... 243s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ... 243s Selecting previously unselected package liblsan0:arm64. 243s Preparing to unpack .../046-liblsan0_14-20240303-1ubuntu1_arm64.deb ... 243s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ... 243s Selecting previously unselected package libtsan2:arm64. 243s Preparing to unpack .../047-libtsan2_14-20240303-1ubuntu1_arm64.deb ... 243s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ... 243s Selecting previously unselected package libubsan1:arm64. 243s Preparing to unpack .../048-libubsan1_14-20240303-1ubuntu1_arm64.deb ... 243s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ... 243s Selecting previously unselected package libhwasan0:arm64. 243s Preparing to unpack .../049-libhwasan0_14-20240303-1ubuntu1_arm64.deb ... 243s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ... 243s Selecting previously unselected package libgcc-13-dev:arm64. 243s Preparing to unpack .../050-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ... 243s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 243s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 243s Preparing to unpack .../051-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 243s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 243s Selecting previously unselected package gcc-13. 243s Preparing to unpack .../052-gcc-13_13.2.0-17ubuntu2_arm64.deb ... 243s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 243s Selecting previously unselected package gcc-aarch64-linux-gnu. 244s Preparing to unpack .../053-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 244s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 244s Selecting previously unselected package gcc. 244s Preparing to unpack .../054-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 244s Unpacking gcc (4:13.2.0-7ubuntu1) ... 244s Selecting previously unselected package libstdc++-13-dev:arm64. 244s Preparing to unpack .../055-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ... 244s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 244s Selecting previously unselected package g++-13-aarch64-linux-gnu. 244s Preparing to unpack .../056-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 244s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 244s Selecting previously unselected package g++-13. 244s Preparing to unpack .../057-g++-13_13.2.0-17ubuntu2_arm64.deb ... 244s Unpacking g++-13 (13.2.0-17ubuntu2) ... 244s Selecting previously unselected package g++-aarch64-linux-gnu. 244s Preparing to unpack .../058-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 244s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 244s Selecting previously unselected package g++. 244s Preparing to unpack .../059-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 244s Unpacking g++ (4:13.2.0-7ubuntu1) ... 244s Selecting previously unselected package build-essential. 244s Preparing to unpack .../060-build-essential_12.10ubuntu1_arm64.deb ... 244s Unpacking build-essential (12.10ubuntu1) ... 244s Selecting previously unselected package libdebhelper-perl. 244s Preparing to unpack .../061-libdebhelper-perl_13.14.1ubuntu1_all.deb ... 244s Unpacking libdebhelper-perl (13.14.1ubuntu1) ... 244s Selecting previously unselected package libtool. 244s Preparing to unpack .../062-libtool_2.4.7-7_all.deb ... 244s Unpacking libtool (2.4.7-7) ... 244s Selecting previously unselected package dh-autoreconf. 244s Preparing to unpack .../063-dh-autoreconf_20_all.deb ... 244s Unpacking dh-autoreconf (20) ... 244s Selecting previously unselected package libarchive-zip-perl. 244s Preparing to unpack .../064-libarchive-zip-perl_1.68-1_all.deb ... 244s Unpacking libarchive-zip-perl (1.68-1) ... 244s Selecting previously unselected package libsub-override-perl. 244s Preparing to unpack .../065-libsub-override-perl_0.10-1_all.deb ... 244s Unpacking libsub-override-perl (0.10-1) ... 244s Selecting previously unselected package libfile-stripnondeterminism-perl. 244s Preparing to unpack .../066-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 244s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 244s Selecting previously unselected package dh-strip-nondeterminism. 244s Preparing to unpack .../067-dh-strip-nondeterminism_1.13.1-1_all.deb ... 244s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 244s Selecting previously unselected package libdw1:arm64. 244s Preparing to unpack .../068-libdw1_0.190-1_arm64.deb ... 244s Unpacking libdw1:arm64 (0.190-1) ... 244s Selecting previously unselected package debugedit. 244s Preparing to unpack .../069-debugedit_1%3a5.0-5_arm64.deb ... 244s Unpacking debugedit (1:5.0-5) ... 244s Selecting previously unselected package dwz. 244s Preparing to unpack .../070-dwz_0.15-1_arm64.deb ... 244s Unpacking dwz (0.15-1) ... 245s Selecting previously unselected package gettext. 245s Preparing to unpack .../071-gettext_0.21-14ubuntu1_arm64.deb ... 245s Unpacking gettext (0.21-14ubuntu1) ... 245s Selecting previously unselected package intltool-debian. 245s Preparing to unpack .../072-intltool-debian_0.35.0+20060710.6_all.deb ... 245s Unpacking intltool-debian (0.35.0+20060710.6) ... 245s Selecting previously unselected package po-debconf. 245s Preparing to unpack .../073-po-debconf_1.0.21+nmu1_all.deb ... 245s Unpacking po-debconf (1.0.21+nmu1) ... 245s Selecting previously unselected package debhelper. 245s Preparing to unpack .../074-debhelper_13.14.1ubuntu1_all.deb ... 245s Unpacking debhelper (13.14.1ubuntu1) ... 245s Selecting previously unselected package dh-apport. 245s Preparing to unpack .../075-dh-apport_2.28.0-0ubuntu1_all.deb ... 245s Unpacking dh-apport (2.28.0-0ubuntu1) ... 245s Selecting previously unselected package golang-1.22-src. 245s Preparing to unpack .../076-golang-1.22-src_1.22.1-1_all.deb ... 245s Unpacking golang-1.22-src (1.22.1-1) ... 246s Selecting previously unselected package golang-1.22-go. 246s Preparing to unpack .../077-golang-1.22-go_1.22.1-1_arm64.deb ... 246s Unpacking golang-1.22-go (1.22.1-1) ... 247s Selecting previously unselected package golang-src. 247s Preparing to unpack .../078-golang-src_2%3a1.22~2_all.deb ... 247s Unpacking golang-src (2:1.22~2) ... 247s Selecting previously unselected package golang-go:arm64. 247s Preparing to unpack .../079-golang-go_2%3a1.22~2_arm64.deb ... 247s Unpacking golang-go:arm64 (2:1.22~2) ... 247s Selecting previously unselected package libpkgconf3:arm64. 247s Preparing to unpack .../080-libpkgconf3_1.8.1-2_arm64.deb ... 247s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 247s Selecting previously unselected package pkgconf-bin. 247s Preparing to unpack .../081-pkgconf-bin_1.8.1-2_arm64.deb ... 247s Unpacking pkgconf-bin (1.8.1-2) ... 247s Selecting previously unselected package pkgconf:arm64. 247s Preparing to unpack .../082-pkgconf_1.8.1-2_arm64.deb ... 247s Unpacking pkgconf:arm64 (1.8.1-2) ... 247s Selecting previously unselected package xml-core. 247s Preparing to unpack .../083-xml-core_0.19_all.deb ... 247s Unpacking xml-core (0.19) ... 247s Selecting previously unselected package libdbus-1-dev:arm64. 247s Preparing to unpack .../084-libdbus-1-dev_1.14.10-4ubuntu1_arm64.deb ... 247s Unpacking libdbus-1-dev:arm64 (1.14.10-4ubuntu1) ... 247s Selecting previously unselected package libgirepository-2.0-0:arm64. 247s Preparing to unpack .../085-libgirepository-2.0-0_2.79.2-1~ubuntu1_arm64.deb ... 247s Unpacking libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 247s Selecting previously unselected package libglib2.0-bin. 247s Preparing to unpack .../086-libglib2.0-bin_2.79.2-1~ubuntu1_arm64.deb ... 247s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 247s Selecting previously unselected package libffi-dev:arm64. 247s Preparing to unpack .../087-libffi-dev_3.4.6-1_arm64.deb ... 247s Unpacking libffi-dev:arm64 (3.4.6-1) ... 247s Selecting previously unselected package python3-packaging. 247s Preparing to unpack .../088-python3-packaging_23.2-1_all.deb ... 247s Unpacking python3-packaging (23.2-1) ... 247s Selecting previously unselected package libglib2.0-dev-bin. 247s Preparing to unpack .../089-libglib2.0-dev-bin_2.79.2-1~ubuntu1_arm64.deb ... 247s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 247s Selecting previously unselected package uuid-dev:arm64. 247s Preparing to unpack .../090-uuid-dev_2.39.3-6ubuntu2_arm64.deb ... 247s Unpacking uuid-dev:arm64 (2.39.3-6ubuntu2) ... 247s Selecting previously unselected package libblkid-dev:arm64. 247s Preparing to unpack .../091-libblkid-dev_2.39.3-6ubuntu2_arm64.deb ... 247s Unpacking libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 247s Selecting previously unselected package libsepol-dev:arm64. 247s Preparing to unpack .../092-libsepol-dev_3.5-2_arm64.deb ... 247s Unpacking libsepol-dev:arm64 (3.5-2) ... 248s Selecting previously unselected package libpcre2-16-0:arm64. 248s Preparing to unpack .../093-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 248s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 248s Selecting previously unselected package libpcre2-32-0:arm64. 248s Preparing to unpack .../094-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 248s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 248s Selecting previously unselected package libpcre2-posix3:arm64. 248s Preparing to unpack .../095-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 248s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 248s Selecting previously unselected package libpcre2-dev:arm64. 248s Preparing to unpack .../096-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 248s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 248s Selecting previously unselected package libselinux1-dev:arm64. 248s Preparing to unpack .../097-libselinux1-dev_3.5-2build1_arm64.deb ... 248s Unpacking libselinux1-dev:arm64 (3.5-2build1) ... 248s Selecting previously unselected package libmount-dev:arm64. 248s Preparing to unpack .../098-libmount-dev_2.39.3-6ubuntu2_arm64.deb ... 248s Unpacking libmount-dev:arm64 (2.39.3-6ubuntu2) ... 248s Selecting previously unselected package zlib1g-dev:arm64. 248s Preparing to unpack .../099-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 248s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 248s Selecting previously unselected package libglib2.0-dev:arm64. 248s Preparing to unpack .../100-libglib2.0-dev_2.79.2-1~ubuntu1_arm64.deb ... 248s Unpacking libglib2.0-dev:arm64 (2.79.2-1~ubuntu1) ... 248s Selecting previously unselected package libpam0g-dev:arm64. 248s Preparing to unpack .../101-libpam0g-dev_1.5.2-9.1ubuntu3_arm64.deb ... 248s Unpacking libpam0g-dev:arm64 (1.5.2-9.1ubuntu3) ... 248s Selecting previously unselected package libwbclient-dev:arm64. 248s Preparing to unpack .../102-libwbclient-dev_2%3a4.19.5+dfsg-1ubuntu1_arm64.deb ... 248s Unpacking libwbclient-dev:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 248s Selecting previously unselected package samba-dsdb-modules:arm64. 248s Preparing to unpack .../103-samba-dsdb-modules_2%3a4.19.5+dfsg-1ubuntu1_arm64.deb ... 248s Unpacking samba-dsdb-modules:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 248s Selecting previously unselected package dh-golang. 248s Preparing to unpack .../104-dh-golang_1.62_all.deb ... 248s Unpacking dh-golang (1.62) ... 248s Selecting previously unselected package libsmbclient:arm64. 248s Preparing to unpack .../105-libsmbclient_2%3a4.19.5+dfsg-1ubuntu1_arm64.deb ... 248s Unpacking libsmbclient:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 249s Selecting previously unselected package libsmbclient-dev:arm64. 249s Preparing to unpack .../106-libsmbclient-dev_2%3a4.19.5+dfsg-1ubuntu1_arm64.deb ... 249s Unpacking libsmbclient-dev:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 249s Selecting previously unselected package autopkgtest-satdep. 249s Preparing to unpack .../107-1-autopkgtest-satdep.deb ... 249s Unpacking autopkgtest-satdep (0) ... 249s Setting up libdw1:arm64 (0.190-1) ... 249s Setting up libarchive-zip-perl (1.68-1) ... 249s Setting up libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 249s No schema files found: doing nothing. 249s Setting up libtdb1:arm64 (1.4.10-1) ... 249s Setting up libdebhelper-perl (13.14.1ubuntu1) ... 249s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 249s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 249s Setting up m4 (1.4.19-4) ... 249s Setting up samba-common (2:4.19.5+dfsg-1ubuntu1) ... 249s 249s Creating config file /etc/samba/smb.conf with new version 249s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ... 249s Setting up libffi-dev:arm64 (3.4.6-1) ... 249s Setting up dh-apport (2.28.0-0ubuntu1) ... 249s Setting up libwbclient0:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 249s Setting up libwbclient-dev:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 249s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 249s Setting up libtalloc2:arm64 (2.4.2-1) ... 249s Setting up python3-tdb (1.4.10-1) ... 249s Setting up autotools-dev (20220109.1) ... 249s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 249s Setting up python3-packaging (23.2-1) ... 250s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 250s Setting up libpkgconf3:arm64 (1.8.1-2) ... 250s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 250s Setting up libtevent0:arm64 (0.16.1-1) ... 250s Setting up libavahi-common-data:arm64 (0.8-13ubuntu2) ... 250s Setting up golang-1.22-src (1.22.1-1) ... 250s Setting up tdb-tools (1.4.10-1) ... 250s update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode 250s Setting up libmpc3:arm64 (1.3.1-1) ... 250s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ... 250s Setting up python3-markdown (3.5.2-1) ... 250s Setting up autopoint (0.21-14ubuntu1) ... 250s Setting up libsepol-dev:arm64 (3.5-2) ... 250s Setting up pkgconf-bin (1.8.1-2) ... 250s Setting up autoconf (2.71-3) ... 250s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ... 250s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 250s Setting up dwz (0.15-1) ... 250s Setting up libnsl-dev:arm64 (1.3.0-3) ... 250s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ... 250s Setting up python3-dnspython (2.6.1-1ubuntu1) ... 250s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 250s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ... 250s Setting up debugedit (1:5.0-5) ... 250s Setting up libsub-override-perl (0.10-1) ... 250s Setting up sgml-base (1.31) ... 250s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ... 250s Setting up libisl23:arm64 (0.26-3) ... 250s Setting up libc-dev-bin (2.39-0ubuntu2) ... 250s Setting up libldb2:arm64 (2:2.8.0+samba4.19.5+dfsg-1ubuntu1) ... 250s Setting up golang-src (2:1.22~2) ... 250s Setting up libpython3.12:arm64 (3.12.2-1) ... 250s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ... 250s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ... 250s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ... 250s Setting up automake (1:1.16.5-1.3ubuntu1) ... 250s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 250s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 250s Setting up gettext (0.21-14ubuntu1) ... 250s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 250s Setting up libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 250s Setting up python3-talloc:arm64 (2.4.2-1) ... 250s Setting up libavahi-common3:arm64 (0.8-13ubuntu2) ... 250s Setting up golang-1.22-go (1.22.1-1) ... 250s Setting up pkgconf:arm64 (1.8.1-2) ... 250s Setting up intltool-debian (0.35.0+20060710.6) ... 250s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 250s Setting up python3-ldb (2:2.8.0+samba4.19.5+dfsg-1ubuntu1) ... 250s Setting up dh-strip-nondeterminism (1.13.1-1) ... 250s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 250s Setting up xml-core (0.19) ... 250s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 250s Setting up libavahi-client3:arm64 (0.8-13ubuntu2) ... 250s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 250s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 251s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 251s Setting up cpp-13 (13.2.0-17ubuntu2) ... 251s Setting up libpam0g-dev:arm64 (1.5.2-9.1ubuntu3) ... 251s Setting up golang-go:arm64 (2:1.22~2) ... 251s Setting up libselinux1-dev:arm64 (3.5-2build1) ... 251s Setting up po-debconf (1.0.21+nmu1) ... 251s Setting up samba-libs:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 251s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 251s Setting up uuid-dev:arm64 (2.39.3-6ubuntu2) ... 251s Setting up gcc-13 (13.2.0-17ubuntu2) ... 251s Setting up libsmbclient:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 251s Setting up libsmbclient-dev:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 251s Setting up libcups2:arm64 (2.4.6-0ubuntu3) ... 251s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 251s Setting up cpp (4:13.2.0-7ubuntu1) ... 251s Setting up samba-dsdb-modules:arm64 (2:4.19.5+dfsg-1ubuntu1) ... 251s Setting up python3-samba (2:4.19.5+dfsg-1ubuntu1) ... 251s /usr/lib/python3/dist-packages/samba/tests/dns_forwarder_helpers/server.py:80: SyntaxWarning: invalid escape sequence '\s' 251s m = re.match(b'^timeout\s+([\d.]+)$', data.strip()) 252s /usr/lib/python3/dist-packages/samba/tests/samba_tool/join_member.py:43: SyntaxWarning: invalid escape sequence '\s' 252s existing_records = re.findall('A:\s+(\d+\.\d+\.\d+\.\d+)\s', out) 252s /usr/lib/python3/dist-packages/samba/tests/samba_tool/ntacl.py:93: SyntaxWarning: invalid escape sequence '\s' 252s self.assertNotRegex(err, '^\s*File [^,]+, line \d+, in', 252s /usr/lib/python3/dist-packages/samba/tests/samba_tool/user_virtualCryptSHA.py:42: SyntaxWarning: invalid escape sequence '\s' 252s p = re.compile("^" + name + ":\s+(\S+)") 252s /usr/lib/python3/dist-packages/samba/tests/samba_tool/user_virtualCryptSHA_base.py:42: SyntaxWarning: invalid escape sequence '\s' 252s p = re.compile("^" + name + ":\s+(\S+)") 252s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 252s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 252s Setting up libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 252s Setting up g++-13 (13.2.0-17ubuntu2) ... 252s Setting up libtool (2.4.7-7) ... 252s Setting up gcc (4:13.2.0-7ubuntu1) ... 252s Setting up dh-autoreconf (20) ... 252s Setting up samba-common-bin (2:4.19.5+dfsg-1ubuntu1) ... 252s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 252s Setting up libmount-dev:arm64 (2.39.3-6ubuntu2) ... 252s Setting up samba (2:4.19.5+dfsg-1ubuntu1) ... 253s Created symlink /etc/systemd/system/smb.service → /usr/lib/systemd/system/smbd.service. 253s Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /usr/lib/systemd/system/smbd.service. 254s Created symlink /etc/systemd/system/nmb.service → /usr/lib/systemd/system/nmbd.service. 254s Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /usr/lib/systemd/system/nmbd.service. 254s Created symlink /etc/systemd/system/samba.service → /usr/lib/systemd/system/samba-ad-dc.service. 254s Created symlink /etc/systemd/system/multi-user.target.wants/samba-ad-dc.service → /usr/lib/systemd/system/samba-ad-dc.service. 255s Setting up debhelper (13.14.1ubuntu1) ... 255s Setting up libglib2.0-dev:arm64 (2.79.2-1~ubuntu1) ... 255s Setting up g++ (4:13.2.0-7ubuntu1) ... 255s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 255s Setting up build-essential (12.10ubuntu1) ... 255s Setting up dh-golang (1.62) ... 255s Processing triggers for libc-bin (2.39-0ubuntu2) ... 255s Processing triggers for ufw (0.36.2-5) ... 255s Processing triggers for man-db (2.12.0-3) ... 256s Processing triggers for install-info (7.1-3) ... 256s Processing triggers for sgml-base (1.31) ... 257s Setting up libdbus-1-dev:arm64 (1.14.10-4ubuntu1) ... 257s Setting up autopkgtest-satdep (0) ... 261s (Reading database ... 94851 files and directories currently installed.) 261s Removing autopkgtest-satdep (0) ... 262s autopkgtest [02:23:43]: test command1: ./debian/tests/test no-sudo 262s autopkgtest [02:23:43]: test command1: [----------------------- 262s Running non-root tests... 291s ? github.com/ubuntu/adsys [no test files] 297s ? github.com/ubuntu/adsys/cmd/admxgen [no test files] 326s === RUN TestRun 326s === RUN TestRun/Send_SIGHUP_without_exiting 326s === RUN TestRun/Send_SIGHUP_with_exit 326s === RUN TestRun/Run_and_exit_successfully 326s === RUN TestRun/Run_and_return_error 326s level=error msg="Error requested" 326s === RUN TestRun/Run_and_return_usage_error 326s level=error msg="Error requested" 326s === RUN TestRun/Run_and_usage_error_only_does_not_fail 326s === RUN TestRun/Send_SIGINT_exits 326s === RUN TestRun/Send_SIGTERM_exits 326s --- PASS: TestRun (0.89s) 326s --- PASS: TestRun/Send_SIGHUP_without_exiting (0.16s) 326s --- PASS: TestRun/Send_SIGHUP_with_exit (0.10s) 326s --- PASS: TestRun/Run_and_exit_successfully (0.10s) 326s --- PASS: TestRun/Run_and_return_error (0.12s) 326s --- PASS: TestRun/Run_and_return_usage_error (0.10s) 326s --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) 326s --- PASS: TestRun/Send_SIGINT_exits (0.10s) 326s --- PASS: TestRun/Send_SIGTERM_exits (0.10s) 326s PASS 326s ok github.com/ubuntu/adsys/cmd/adsysd 2.715s 326s === RUN TestColorizePolicies 326s --- PASS: TestColorizePolicies (0.00s) 326s === RUN TestInitApp 326s === PAUSE TestInitApp 326s === RUN TestAppHelp 326s === PAUSE TestAppHelp 326s === RUN TestAppCompletion 326s === PAUSE TestAppCompletion 326s === RUN TestAppNoUsageError 326s === PAUSE TestAppNoUsageError 326s === RUN TestAppUsageError 326s === PAUSE TestAppUsageError 326s === RUN TestAppCanQuitWhenExecute 326s === PAUSE TestAppCanQuitWhenExecute 326s === RUN TestAppCanQuitAfterExecute 326s === PAUSE TestAppCanQuitAfterExecute 326s === RUN TestAppCanQuitWithoutExecute 326s === PAUSE TestAppCanQuitWithoutExecute 326s === RUN TestAppCanSigHupWhenExecute 326s === PAUSE TestAppCanSigHupWhenExecute 326s === RUN TestAppCanSigHupAfterExecute 326s === PAUSE TestAppCanSigHupAfterExecute 326s === RUN TestAppGetRootCmd 326s === PAUSE TestAppGetRootCmd 326s === CONT TestInitApp 326s === CONT TestAppCanQuitAfterExecute 326s Usage: 326s adsysctl COMMAND [flags] 326s adsysctl [command] 326s 326s Available Commands: 326s applied Print last applied GPOs for current or given user/machine 326s completion Generate the autocompletion script for the specified shell 326s doc Documentation 326s help Help about any command 326s policy Policy management 326s service Service management 326s update Updates/Create a policy for current user or given user with its kerberos ticket 326s version Returns version of client and service 326s 326s Flags: 326s -c, --config string use a specific configuration file 326s -h, --help help for adsysctl 326s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 326s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 326s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 326s 326s Use "adsysctl [command] --help" for more information about a command. 326s 326s --- PASS: TestInitApp (0.00s) 326s === CONT TestAppGetRootCmd 326s --- PASS: TestAppGetRootCmd (0.00s) 326s # bash completion V2 for adsysctl -*- shell-script -*- 326s 326s __adsysctl_debug() 326s { 326s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 326s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 326s fi 326s } 326s 326s # Macs have bash3 for which the bash-completion package doesn't include 326s # _init_completion. This is a minimal version of that function. 326s __adsysctl_init_completion() 326s { 326s COMPREPLY=() 326s _get_comp_words_by_ref "$@" cur prev words cword 326s } 326s 326s # This function calls the adsysctl program to obtain the completion 326s # results and the directive. It fills the 'out' and 'directive' vars. 326s __adsysctl_get_completion_results() { 326s local requestComp lastParam lastChar args 326s 326s # Prepare the command to request completions for the program. 326s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 326s args=("${words[@]:1}") 326s requestComp="${words[0]} __complete ${args[*]}" 326s 326s lastParam=${words[$((${#words[@]}-1))]} 326s lastChar=${lastParam:$((${#lastParam}-1)):1} 326s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 326s 326s if [[ -z ${cur} && ${lastChar} != = ]]; then 326s # If the last parameter is complete (there is a space following it) 326s # We add an extra empty parameter so we can indicate this to the go method. 326s __adsysctl_debug "Adding extra empty parameter" 326s requestComp="${requestComp} ''" 326s fi 326s 326s # When completing a flag with an = (e.g., adsysctl -n=) 326s # bash focuses on the part after the =, so we need to remove 326s # the flag part from $cur 326s if [[ ${cur} == -*=* ]]; then 326s cur="${cur#*=}" 326s fi 326s 326s __adsysctl_debug "Calling ${requestComp}" 326s # Use eval to handle any environment variables and such 326s out=$(eval "${requestComp}" 2>/dev/null) 326s 326s # Extract the directive integer at the very end of the output following a colon (:) 326s directive=${out##*:} 326s # Remove the directive 326s out=${out%:*} 326s if [[ ${directive} == "${out}" ]]; then 326s # There is not directive specified 326s directive=0 326s fi 326s __adsysctl_debug "The completion directive is: ${directive}" 326s __adsysctl_debug "The completions are: ${out}" 326s } 326s 326s __adsysctl_process_completion_results() { 326s local shellCompDirectiveError=1 326s local shellCompDirectiveNoSpace=2 326s local shellCompDirectiveNoFileComp=4 326s local shellCompDirectiveFilterFileExt=8 326s local shellCompDirectiveFilterDirs=16 326s local shellCompDirectiveKeepOrder=32 326s 326s if (((directive & shellCompDirectiveError) != 0)); then 326s # Error code. No completion. 326s __adsysctl_debug "Received error from custom completion go code" 326s return 326s else 326s if (((directive & shellCompDirectiveNoSpace) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s __adsysctl_debug "Activating no space" 326s compopt -o nospace 326s else 326s __adsysctl_debug "No space directive not supported in this version of bash" 326s fi 326s fi 326s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s # no sort isn't supported for bash less than < 4.4 326s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 326s __adsysctl_debug "No sort directive not supported in this version of bash" 326s else 326s __adsysctl_debug "Activating keep order" 326s compopt -o nosort 326s fi 326s else 326s __adsysctl_debug "No sort directive not supported in this version of bash" 326s fi 326s fi 326s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s __adsysctl_debug "Activating no file completion" 326s compopt +o default 326s else 326s __adsysctl_debug "No file completion directive not supported in this version of bash" 326s fi 326s fi 326s fi 326s 326s # Separate activeHelp from normal completions 326s local completions=() 326s local activeHelp=() 326s __adsysctl_extract_activeHelp 326s 326s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 326s # File extension filtering 326s local fullFilter filter filteringCmd 326s 326s # Do not use quotes around the $completions variable or else newline 326s # characters will be kept. 326s for filter in ${completions[*]}; do 326s fullFilter+="$filter|" 326s done 326s 326s filteringCmd="_filedir $fullFilter" 326s __adsysctl_debug "File filtering command: $filteringCmd" 326s $filteringCmd 326s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 326s # File completion for directories only 326s 326s local subdir 326s subdir=${completions[0]} 326s if [[ -n $subdir ]]; then 326s __adsysctl_debug "Listing directories in $subdir" 326s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 326s else 326s __adsysctl_debug "Listing directories in ." 326s _filedir -d 326s fi 326s else 326s __adsysctl_handle_completion_types 326s fi 326s 326s __adsysctl_handle_special_char "$cur" : 326s __adsysctl_handle_special_char "$cur" = 326s 326s # Print the activeHelp statements before we finish 326s if ((${#activeHelp[*]} != 0)); then 326s printf "\n"; 326s printf "%s\n" "${activeHelp[@]}" 326s printf "\n" 326s 326s # The prompt format is only available from bash 4.4. 326s # We test if it is available before using it. 326s if (x=${PS1@P}) 2> /dev/null; then 326s printf "%s" "${PS1@P}${COMP_LINE[@]}" 326s else 326s # Can't print the prompt. Just print the 326s # text the user had typed, it is workable enough. 326s printf "%s" "${COMP_LINE[@]}" 326s fi 326s fi 326s } 326s 326s # Separate activeHelp lines from real completions. 326s # Fills the $activeHelp and $completions arrays. 326s __adsysctl_extract_activeHelp() { 326s local activeHelpMarker="_activeHelp_ " 326s local endIndex=${#activeHelpMarker} 326s 326s while IFS='' read -r comp; do 326s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 326s comp=${comp:endIndex} 326s __adsysctl_debug "ActiveHelp found: $comp" 326s if [[ -n $comp ]]; then 326s activeHelp+=("$comp") 326s fi 326s else 326s # Not an activeHelp line but a normal completion 326s completions+=("$comp") 326s fi 326s done <<<"${out}" 326s } 326s 326s __adsysctl_handle_completion_types() { 326s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 326s 326s case $COMP_TYPE in 326s 37|42) 326s # Type: menu-complete/menu-complete-backward and insert-completions 326s # If the user requested inserting one completion at a time, or all 326s # completions at once on the command-line we must remove the descriptions. 326s # https://github.com/spf13/cobra/issues/1508 326s local tab=$'\t' comp 326s while IFS='' read -r comp; do 326s [[ -z $comp ]] && continue 326s # Strip any description 326s comp=${comp%%$tab*} 326s # Only consider the completions that match 326s if [[ $comp == "$cur"* ]]; then 326s COMPREPLY+=("$comp") 326s fi 326s done < <(printf "%s\n" "${completions[@]}") 326s ;; 326s 326s *) 326s # Type: complete (normal completion) 326s __adsysctl_handle_standard_completion_case 326s ;; 326s esac 326s } 326s 326s __adsysctl_handle_standard_completion_case() { 326s local tab=$'\t' comp 326s 326s # Short circuit to optimize if we don't have descriptions 326s if [[ "${completions[*]}" != *$tab* ]]; then 326s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 326s return 0 326s fi 326s 326s local longest=0 326s local compline 326s # Look for the longest completion so that we can format things nicely 326s while IFS='' read -r compline; do 326s [[ -z $compline ]] && continue 326s # Strip any description before checking the length 326s comp=${compline%%$tab*} 326s # Only consider the completions that match 326s [[ $comp == "$cur"* ]] || continue 326s COMPREPLY+=("$compline") 326s if ((${#comp}>longest)); then 326s longest=${#comp} 326s fi 326s done < <(printf "%s\n" "${completions[@]}") 326s 326s # If there is a single completion left, remove the description text 326s if ((${#COMPREPLY[*]} == 1)); then 326s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 326s comp="${COMPREPLY[0]%%$tab*}" 326s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 326s COMPREPLY[0]=$comp 326s else # Format the descriptions 326s __adsysctl_format_comp_descriptions $longest 326s fi 326s } 326s 326s __adsysctl_handle_special_char() 326s { 326s local comp="$1" 326s local char=$2 326s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 326s local word=${comp%"${comp##*${char}}"} 326s local idx=${#COMPREPLY[*]} 326s while ((--idx >= 0)); do 326s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 326s done 326s fi 326s } 326s 326s __adsysctl_format_comp_descriptions() 326s { 326s local tab=$'\t' 326s local comp desc maxdesclength 326s local longest=$1 326s 326s local i ci 326s for ci in ${!COMPREPLY[*]}; do 326s comp=${COMPREPLY[ci]} 326s # Properly format the description string which follows a tab character if there is one 326s if [[ "$comp" == *$tab* ]]; then 326s __adsysctl_debug "Original comp: $comp" 326s desc=${comp#*$tab} 326s comp=${comp%%$tab*} 326s 326s # $COLUMNS stores the current shell width. 326s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 326s maxdesclength=$(( COLUMNS - longest - 4 )) 326s 326s # Make sure we can fit a description of at least 8 characters 326s # if we are to align the descriptions. 326s if ((maxdesclength > 8)); then 326s # Add the proper number of spaces to align the descriptions 326s for ((i = ${#comp} ; i < longest ; i++)); do 326s comp+=" " 326s done 326s else 326s # Don't pad the descriptions so we can fit more text after the completion 326s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 326s fi 326s 326s # If there is enough space for any description text, 326s # truncate the descriptions that are too long for the shell width 326s if ((maxdesclength > 0)); then 326s if ((${#desc} > maxdesclength)); then 326s desc=${desc:0:$(( maxdesclength - 1 ))} 326s desc+="…" 326s fi 326s comp+=" ($desc)" 326s fi 326s COMPREPLY[ci]=$comp 326s __adsysctl_debug "Final comp: $comp" 326s fi 326s done 326s } 326s 326s __start_adsysctl() 326s { 326s local cur prev words cword split 326s 326s COMPREPLY=() 326s 326s # Call _init_completion from the bash-completion package 326s # to prepare the arguments properly 326s if declare -F _init_completion >/dev/null 2>&1; then 326s _init_completion -n =: || return 326s else 326s __adsysctl_init_completion -n =: || return 326s fi 326s 326s __adsysctl_debug 326s __adsysctl_debug "========= starting completion logic ==========" 326s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 326s 326s # The user could have moved the cursor backwards on the command-line. 326s # We need to trigger completion from the $cword location, so we need 326s # to truncate the command-line ($words) up to the $cword location. 326s words=("${words[@]:0:$cword+1}") 326s __adsysctl_debug "Truncated words[*]: ${words[*]}," 326s 326s local out directive 326s __adsysctl_get_completion_results 326s __adsysctl_process_completion_results 326s } 326s 326s if [[ $(type -t compopt) = "builtin" ]]; then 326s complete -o default -F __start_adsysctl adsysctl 326s else 326s complete -o default -o nospace -F __start_adsysctl adsysctl 326s fi 326s 326s # ex: ts=4 sw=4 et filetype=sh 326s --- PASS: TestAppCanQuitAfterExecute (0.01s) 326s === CONT TestAppCanSigHupWhenExecute 326s === CONT TestAppCanSigHupAfterExecute 326s --- PASS: TestAppCanSigHupWhenExecute (0.00s) 326s === CONT TestAppCanQuitWithoutExecute 326s # bash completion V2 for adsysctl -*- shell-script -*- 326s 326s __adsysctl_debug() 326s { 326s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 326s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 326s fi 326s } 326s 326s # Macs have bash3 for which the bash-completion package doesn't include 326s # _init_completion. This is a minimal version of that function. 326s __adsysctl_init_completion() 326s { 326s COMPREPLY=() 326s _get_comp_words_by_ref "$@" cur prev words cword 326s } 326s 326s # This function calls the adsysctl program to obtain the completion 326s # results and the directive. It fills the 'out' and 'directive' vars. 326s __adsysctl_get_completion_results() { 326s local requestComp lastParam lastChar args 326s 326s # Prepare the command to request completions for the program. 326s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 326s args=("${words[@]:1}") 326s requestComp="${words[0]} __complete ${args[*]}" 326s 326s lastParam=${words[$((${#words[@]}-1))]} 326s lastChar=${lastParam:$((${#lastParam}-1)):1} 326s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 326s 326s if [[ -z ${cur} && ${lastChar} != = ]]; then 326s # If the last parameter is complete (there is a space following it) 326s # We add an extra empty parameter so we can indicate this to the go method. 326s __adsysctl_debug "Adding extra empty parameter" 326s requestComp="${requestComp} ''" 326s fi 326s 326s # When completing a flag with an = (e.g., adsysctl -n=) 326s # bash focuses on the part after the =, so we need to remove 326s # the flag part from $cur 326s if [[ ${cur} == -*=* ]]; then 326s cur="${cur#*=}" 326s fi 326s 326s __adsysctl_debug "Calling ${requestComp}" 326s # Use eval to handle any environment variables and such 326s out=$(eval "${requestComp}" 2>/dev/null) 326s 326s # Extract the directive integer at the very end of the output following a colon (:) 326s directive=${out##*:} 326s # Remove the directive 326s out=${out%:*} 326s if [[ ${directive} == "${out}" ]]; then 326s # There is not directive specified 326s directive=0 326s fi 326s __adsysctl_debug "The completion directive is: ${directive}" 326s __adsysctl_debug "The completions are: ${out}" 326s } 326s 326s __adsysctl_process_completion_results() { 326s local shellCompDirectiveError=1 326s local shellCompDirectiveNoSpace=2 326s local shellCompDirectiveNoFileComp=4 326s local shellCompDirectiveFilterFileExt=8 326s local shellCompDirectiveFilterDirs=16 326s local shellCompDirectiveKeepOrder=32 326s 326s if (((directive & shellCompDirectiveError) != 0)); then 326s # Error code. No completion. 326s __adsysctl_debug "Received error from custom completion go code" 326s return 326s else 326s if (((directive & shellCompDirectiveNoSpace) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s __adsysctl_debug "Activating no space" 326s compopt -o nospace 326s else 326s __adsysctl_debug "No space directive not supported in this version of bash" 326s fi 326s fi 326s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s # no sort isn't supported for bash less than < 4.4 326s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 326s __adsysctl_debug "No sort directive not supported in this version of bash" 326s else 326s __adsysctl_debug "Activating keep order" 326s compopt -o nosort 326s fi 326s else 326s __adsysctl_debug "No sort directive not supported in this version of bash" 326s fi 326s fi 326s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s __adsysctl_debug "Activating no file completion" 326s compopt +o default 326s else 326s __adsysctl_debug "No file completion directive not supported in this version of bash" 326s fi 326s fi 326s fi 326s 326s # Separate activeHelp from normal completions 326s local completions=() 326s local activeHelp=() 326s __adsysctl_extract_activeHelp 326s 326s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 326s # File extension filtering 326s local fullFilter filter filteringCmd 326s 326s # Do not use quotes around the $completions variable or else newline 326s # characters will be kept. 326s for filter in ${completions[*]}; do 326s fullFilter+="$filter|" 326s done 326s 326s filteringCmd="_filedir $fullFilter" 326s __adsysctl_debug "File filtering command: $filteringCmd" 326s $filteringCmd 326s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 326s # File completion for directories only 326s 326s local subdir 326s subdir=${completions[0]} 326s if [[ -n $subdir ]]; then 326s __adsysctl_debug "Listing directories in $subdir" 326s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 326s else 326s __adsysctl_debug "Listing directories in ." 326s _filedir -d 326s fi 326s else 326s __adsysctl_handle_completion_types 326s fi 326s 326s __adsysctl_handle_special_char "$cur" : 326s __adsysctl_handle_special_char "$cur" = 326s 326s # Print the activeHelp statements before we finish 326s if ((${#activeHelp[*]} != 0)); then 326s printf "\n"; 326s printf "%s\n" "${activeHelp[@]}" 326s printf "\n" 326s 326s # The prompt format is only available from bash 4.4. 326s # We test if it is available before using it. 326s if (x=${PS1@P}) 2> /dev/null; then 326s printf "%s" "${PS1@P}${COMP_LINE[@]}" 326s else 326s # Can't print the prompt. Just print the 326s # text the user had typed, it is workable enough. 326s printf "%s" "${COMP_LINE[@]}" 326s fi 326s fi 326s } 326s 326s # Separate activeHelp lines from real completions. 326s # Fills the $activeHelp and $completions arrays. 326s __adsysctl_extract_activeHelp() { 326s local activeHelpMarker="_activeHelp_ " 326s local endIndex=${#activeHelpMarker} 326s 326s while IFS='' read -r comp; do 326s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 326s comp=${comp:endIndex} 326s __adsysctl_debug "ActiveHelp found: $comp" 326s if [[ -n $comp ]]; then 326s activeHelp+=("$comp") 326s fi 326s else 326s # Not an activeHelp line but a normal completion 326s completions+=("$comp") 326s fi 326s done <<<"${out}" 326s } 326s 326s __adsysctl_handle_completion_types() { 326s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 326s 326s case $COMP_TYPE in 326s 37|42) 326s # Type: menu-complete/menu-complete-backward and insert-completions 326s # If the user requested inserting one completion at a time, or all 326s # completions at once on the command-line we must remove the descriptions. 326s # https://github.com/spf13/cobra/issues/1508 326s local tab=$'\t' comp 326s while IFS='' read -r comp; do 326s [[ -z $comp ]] && continue 326s # Strip any description 326s comp=${comp%%$tab*} 326s # Only consider the completions that match 326s if [[ $comp == "$cur"* ]]; then 326s COMPREPLY+=("$comp") 326s fi 326s done < <(printf "%s\n" "${completions[@]}") 326s ;; 326s 326s *) 326s # Type: complete (normal completion) 326s __adsysctl_handle_standard_completion_case 326s ;; 326s esac 326s } 326s 326s __adsysctl_handle_standard_completion_case() { 326s local tab=$'\t' comp 326s 326s # Short circuit to optimize if we don't have descriptions 326s if [[ "${completions[*]}" != *$tab* ]]; then 326s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 326s return 0 326s fi 326s 326s local longest=0 326s local compline 326s # Look for the longest completion so that we can format things nicely 326s while IFS='' read -r compline; do 326s [[ -z $compline ]] && continue 326s # Strip any description before checking the length 326s comp=${compline%%$tab*} 326s # Only consider the completions that match 326s [[ $comp == "$cur"* ]] || continue 326s COMPREPLY+=("$compline") 326s if ((${#comp}>longest)); then 326s longest=${#comp} 326s fi 326s done < <(printf "%s\n" "${completions[@]}") 326s 326s # If there is a single completion left, remove the description text 326s if ((${#COMPREPLY[*]} == 1)); then 326s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 326s comp="${COMPREPLY[0]%%$tab*}" 326s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 326s COMPREPLY[0]=$comp 326s else # Format the descriptions 326s __adsysctl_format_comp_descriptions $longest 326s fi 326s } 326s 326s __adsysctl_handle_special_char() 326s { 326s local comp="$1" 326s local char=$2 326s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 326s local word=${comp%"${comp##*${char}}"} 326s local idx=${#COMPREPLY[*]} 326s while ((--idx >= 0)); do 326s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 326s done 326s fi 326s } 326s 326s __adsysctl_format_comp_descriptions() 326s { 326s local tab=$'\t' 326s local comp desc maxdesclength 326s local longest=$1 326s 326s local i ci 326s for ci in ${!COMPREPLY[*]}; do 326s comp=${COMPREPLY[ci]} 326s # Properly format the description string which follows a tab character if there is one 326s if [[ "$comp" == *$tab* ]]; then 326s __adsysctl_debug "Original comp: $comp" 326s desc=${comp#*$tab} 326s comp=${comp%%$tab*} 326s 326s # $COLUMNS stores the current shell width. 326s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 326s maxdesclength=$(( COLUMNS - longest - 4 )) 326s 326s # Make sure we can fit a description of at least 8 characters 326s # if we are to align the descriptions. 326s if ((maxdesclength > 8)); then 326s # Add the proper number of spaces to align the descriptions 326s for ((i = ${#comp} ; i < longest ; i++)); do 326s comp+=" " 326s done 326s else 326s # Don't pad the descriptions so we can fit more text after the completion 326s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 326s fi 326s 326s # If there is enough space for any description text, 326s # truncate the descriptions that are too long for the shell width 326s if ((maxdesclength > 0)); then 326s if ((${#desc} > maxdesclength)); then 326s desc=${desc:0:$(( maxdesclength - 1 ))} 326s desc+="…" 326s fi 326s comp+=" ($desc)" 326s fi 326s COMPREPLY[ci]=$comp 326s __adsysctl_debug "Final comp: $comp" 326s fi 326s done 326s } 326s 326s __start_adsysctl() 326s { 326s local cur prev words cword split 326s 326s COMPREPLY=() 326s 326s # Call _init_completion from the bash-completion package 326s # to prepare the arguments properly 326s if declare -F _init_completion >/dev/null 2>&1; then 326s _init_completion -n =: || return 326s else 326s __adsysctl_init_completion -n =: || return 326s fi 326s 326s __adsysctl_debug 326s __adsysctl_debug "========= starting completion logic ==========" 326s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 326s 326s # The user could have moved the cursor backwards on the command-line. 326s # We need to trigger completion from the $cword location, so we need 326s # to truncate the command-line ($words) up to the $cword location. 326s words=("${words[@]:0:$cword+1}") 326s __adsysctl_debug "Truncated words[*]: ${words[*]}," 326s 326s local out directive 326s __adsysctl_get_completion_results 326s __adsysctl_process_completion_results 326s } 326s 326s if [[ $(type -t compopt) = "builtin" ]]; then 326s complete -o default -F __start_adsysctl adsysctl 326s else 326s complete -o default -o nospace -F __start_adsysctl adsysctl 326s fi 326s 326s # ex: ts=4 sw=4 et filetype=sh 326s --- PASS: TestAppCanSigHupAfterExecute (0.00s) 326s === CONT TestAppNoUsageError 326s --- PASS: TestAppCanQuitWithoutExecute (0.00s) 326s === CONT TestAppCanQuitWhenExecute 326s # bash completion V2 for adsysctl -*- shell-script -*- 326s 326s __adsysctl_debug() 326s { 326s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 326s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 326s fi 326s } 326s 326s # Macs have bash3 for which the bash-completion package doesn't include 326s # _init_completion. This is a minimal version of that function. 326s __adsysctl_init_completion() 326s { 326s COMPREPLY=() 326s _get_comp_words_by_ref "$@" cur prev words cword 326s } 326s 326s # This function calls the adsysctl program to obtain the completion 326s # results and the directive. It fills the 'out' and 'directive' vars. 326s __adsysctl_get_completion_results() { 326s local requestComp lastParam lastChar args 326s 326s # Prepare the command to request completions for the program. 326s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 326s args=("${words[@]:1}") 326s requestComp="${words[0]} __complete ${args[*]}" 326s 326s lastParam=${words[$((${#words[@]}-1))]} 326s lastChar=${lastParam:$((${#lastParam}-1)):1} 326s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 326s 326s if [[ -z ${cur} && ${lastChar} != = ]]; then 326s # If the last parameter is complete (there is a space following it) 326s # We add an extra empty parameter so we can indicate this to the go method. 326s __adsysctl_debug "Adding extra empty parameter" 326s requestComp="${requestComp} ''" 326s fi 326s 326s # When completing a flag with an = (e.g., adsysctl -n=) 326s # bash focuses on the part after the =, so we need to remove 326s # the flag part from $cur 326s if [[ ${cur} == -*=* ]]; then 326s cur="${cur#*=}" 326s fi 326s 326s __adsysctl_debug "Calling ${requestComp}" 326s # Use eval to handle any environment variables and such 326s out=$(eval "${requestComp}" 2>/dev/null) 326s 326s # Extract the directive integer at the very end of the output following a colon (:) 326s directive=${out##*:} 326s # Remove the directive 326s out=${out%:*} 326s if [[ ${directive} == "${out}" ]]; then 326s # There is not directive specified 326s directive=0 326s fi 326s __adsysctl_debug "The completion directive is: ${directive}" 326s __adsysctl_debug "The completions are: ${out}" 326s } 326s 326s __adsysctl_process_completion_results() { 326s local shellCompDirectiveError=1 326s local shellCompDirectiveNoSpace=2 326s local shellCompDirectiveNoFileComp=4 326s local shellCompDirectiveFilterFileExt=8 326s local shellCompDirectiveFilterDirs=16 326s local shellCompDirectiveKeepOrder=32 326s 326s if (((directive & shellCompDirectiveError) != 0)); then 326s # Error code. No completion. 326s __adsysctl_debug "Received error from custom completion go code" 326s return 326s else 326s if (((directive & shellCompDirectiveNoSpace) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s __adsysctl_debug "Activating no space" 326s compopt -o nospace 326s else 326s __adsysctl_debug "No space directive not supported in this version of bash" 326s fi 326s fi 326s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s # no sort isn't supported for bash less than < 4.4 326s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 326s __adsysctl_debug "No sort directive not supported in this version of bash" 326s else 326s __adsysctl_debug "Activating keep order" 326s compopt -o nosort 326s fi 326s else 326s __adsysctl_debug "No sort directive not supported in this version of bash" 326s fi 326s fi 326s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s __adsysctl_debug "Activating no file completion" 326s compopt +o default 326s else 326s __adsysctl_debug "No file completion directive not supported in this version of bash" 326s fi 326s fi 326s fi 326s 326s # Separate activeHelp from normal completions 326s local completions=() 326s local activeHelp=() 326s __adsysctl_extract_activeHelp 326s 326s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 326s # File extension filtering 326s local fullFilter filter filteringCmd 326s 326s # Do not use quotes around the $completions variable or else newline 326s # characters will be kept. 326s for filter in ${completions[*]}; do 326s fullFilter+="$filter|" 326s done 326s 326s filteringCmd="_filedir $fullFilter" 326s __adsysctl_debug "File filtering command: $filteringCmd" 326s $filteringCmd 326s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 326s # File completion for directories only 326s 326s local subdir 326s subdir=${completions[0]} 326s if [[ -n $subdir ]]; then 326s __adsysctl_debug "Listing directories in $subdir" 326s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 326s else 326s __adsysctl_debug "Listing directories in ." 326s _filedir -d 326s fi 326s else 326s __adsysctl_handle_completion_types 326s fi 326s 326s __adsysctl_handle_special_char "$cur" : 326s __adsysctl_handle_special_char "$cur" = 326s 326s # Print the activeHelp statements before we finish 326s if ((${#activeHelp[*]} != 0)); then 326s printf "\n"; 326s printf "%s\n" "${activeHelp[@]}" 326s printf "\n" 326s 326s # The prompt format is only available from bash 4.4. 326s # We test if it is available before using it. 326s if (x=${PS1@P}) 2> /dev/null; then 326s printf "%s" "${PS1@P}${COMP_LINE[@]}" 326s else 326s # Can't print the prompt. Just print the 326s # text the user had typed, it is workable enough. 326s printf "%s" "${COMP_LINE[@]}" 326s fi 326s fi 326s } 326s 326s # Separate activeHelp lines from real completions. 326s # Fills the $activeHelp and $completions arrays. 326s __adsysctl_extract_activeHelp() { 326s local activeHelpMarker="_activeHelp_ " 326s local endIndex=${#activeHelpMarker} 326s 326s while IFS='' read -r comp; do 326s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 326s comp=${comp:endIndex} 326s __adsysctl_debug "ActiveHelp found: $comp" 326s if [[ -n $comp ]]; then 326s activeHelp+=("$comp") 326s fi 326s else 326s # Not an activeHelp line but a normal completion 326s completions+=("$comp") 326s fi 326s done <<<"${out}" 326s } 326s 326s __adsysctl_handle_completion_types() { 326s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 326s 326s case $COMP_TYPE in 326s 37|42) 326s # Type: menu-complete/menu-complete-backward and insert-completions 326s # If the user requested inserting one completion at a time, or all 326s # completions at once on the command-line we must remove the descriptions. 326s # https://github.com/spf13/cobra/issues/1508 326s local tab=$'\t' comp 326s while IFS='' read -r comp; do 326s [[ -z $comp ]] && continue 326s # Strip any description 326s comp=${comp%%$tab*} 326s # Only consider the completions that match 326s if [[ $comp == "$cur"* ]]; then 326s COMPREPLY+=("$comp") 326s fi 326s done < <(printf "%s\n" "${completions[@]}") 326s ;; 326s 326s *) 326s # Type: complete (normal completion) 326s __adsysctl_handle_standard_completion_case 326s ;; 326s esac 326s } 326s 326s __adsysctl_handle_standard_completion_case() { 326s local tab=$'\t' comp 326s 326s # Short circuit to optimize if we don't have descriptions 326s if [[ "${completions[*]}" != *$tab* ]]; then 326s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 326s return 0 326s fi 326s 326s local longest=0 326s local compline 326s # Look for the longest completion so that we can format things nicely 326s while IFS='' read -r compline; do 326s [[ -z $compline ]] && continue 326s # Strip any description before checking the length 326s comp=${compline%%$tab*} 326s # Only consider the completions that match 326s [[ $comp == "$cur"* ]] || continue 326s COMPREPLY+=("$compline") 326s if ((${#comp}>longest)); then 326s longest=${#comp} 326s fi 326s done < <(printf "%s\n" "${completions[@]}") 326s 326s # If there is a single completion left, remove the description text 326s if ((${#COMPREPLY[*]} == 1)); then 326s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 326s comp="${COMPREPLY[0]%%$tab*}" 326s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 326s COMPREPLY[0]=$comp 326s else # Format the descriptions 326s __adsysctl_format_comp_descriptions $longest 326s fi 326s } 326s 326s __adsysctl_handle_special_char() 326s { 326s local comp="$1" 326s local char=$2 326s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 326s local word=${comp%"${comp##*${char}}"} 326s local idx=${#COMPREPLY[*]} 326s while ((--idx >= 0)); do 326s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 326s done 326s fi 326s } 326s 326s __adsysctl_format_comp_descriptions() 326s { 326s local tab=$'\t' 326s local comp desc maxdesclength 326s local longest=$1 326s 326s local i ci 326s for ci in ${!COMPREPLY[*]}; do 326s comp=${COMPREPLY[ci]} 326s # Properly format the description string which follows a tab character if there is one 326s if [[ "$comp" == *$tab* ]]; then 326s __adsysctl_debug "Original comp: $comp" 326s desc=${comp#*$tab} 326s comp=${comp%%$tab*} 326s 326s # $COLUMNS stores the current shell width. 326s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 326s maxdesclength=$(( COLUMNS - longest - 4 )) 326s 326s # Make sure we can fit a description of at least 8 characters 326s # if we are to align the descriptions. 326s if ((maxdesclength > 8)); then 326s # Add the proper number of spaces to align the descriptions 326s for ((i = ${#comp} ; i < longest ; i++)); do 326s comp+=" " 326s done 326s else 326s # Don't pad the descriptions so we can fit more text after the completion 326s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 326s fi 326s 326s # If there is enough space for any description text, 326s # truncate the descriptions that are too long for the shell width 326s if ((maxdesclength > 0)); then 326s if ((${#desc} > maxdesclength)); then 326s desc=${desc:0:$(( maxdesclength - 1 ))} 326s desc+="…" 326s fi 326s comp+=" ($desc)" 326s fi 326s COMPREPLY[ci]=$comp 326s __adsysctl_debug "Final comp: $comp" 326s fi 326s done 326s } 326s 326s __start_adsysctl() 326s { 326s local cur prev words cword split 326s 326s COMPREPLY=() 326s 326s # Call _init_completion from the bash-completion package 326s # to prepare the arguments properly 326s if declare -F _init_completion >/dev/null 2>&1; then 326s _init_completion -n =: || return 326s else 326s __adsysctl_init_completion -n =: || return 326s fi 326s 326s __adsysctl_debug 326s __adsysctl_debug "========= starting completion logic ==========" 326s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 326s 326s # The user could have moved the cursor backwards on the command-line. 326s # We need to trigger completion from the $cword location, so we need 326s # to truncate the command-line ($words) up to the $cword location. 326s words=("${words[@]:0:$cword+1}") 326s __adsysctl_debug "Truncated words[*]: ${words[*]}," 326s 326s local out directive 326s __adsysctl_get_completion_results 326s __adsysctl_process_completion_results 326s } 326s 326s if [[ $(type -t compopt) = "builtin" ]]; then 326s complete -o default -F __start_adsysctl adsysctl 326s else 326s complete -o default -o nospace -F __start_adsysctl adsysctl 326s fi 326s 326s # ex: ts=4 sw=4 et filetype=sh 326s --- PASS: TestAppNoUsageError (0.00s) 326s === CONT TestAppUsageError 326s --- PASS: TestAppCanQuitWhenExecute (0.00s) 326s === CONT TestAppCompletion 326s Usage: 326s adsysctl COMMAND [flags] 326s adsysctl [command] 326s 326s Available Commands: 326s applied Print last applied GPOs for current or given user/machine 326s completion Generate the autocompletion script for the specified shell 326s doc Documentation 326s help Help about any command 326s policy Policy management 326s service Service management 326s update Updates/Create a policy for current user or given user with its kerberos ticket 326s version Returns version of client and service 326s 326s Flags: 326s -c, --config string use a specific configuration file 326s -h, --help help for adsysctl 326s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 326s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 326s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 326s 326s Use "adsysctl [command] --help" for more information about a command. 326s 326s --- PASS: TestAppUsageError (0.00s) 326s === CONT TestAppHelp 326s # bash completion V2 for adsysctl -*- shell-script -*- 326s 326s __adsysctl_debug() 326s { 326s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 326s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 326s fi 326s } 326s 326s # Macs have bash3 for which the bash-completion package doesn't include 326s # _init_completion. This is a minimal version of that function. 326s __adsysctl_init_completion() 326s { 326s COMPREPLY=() 326s _get_comp_words_by_ref "$@" cur prev words cword 326s } 326s 326s # This function calls the adsysctl program to obtain the completion 326s # results and the directive. It fills the 'out' and 'directive' vars. 326s __adsysctl_get_completion_results() { 326s local requestComp lastParam lastChar args 326s 326s # Prepare the command to request completions for the program. 326s # Calling ${words[0]} instead of directly adsysctl allows handling aliases 326s args=("${words[@]:1}") 326s requestComp="${words[0]} __complete ${args[*]}" 326s 326s lastParam=${words[$((${#words[@]}-1))]} 326s lastChar=${lastParam:$((${#lastParam}-1)):1} 326s __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" 326s 326s if [[ -z ${cur} && ${lastChar} != = ]]; then 326s # If the last parameter is complete (there is a space following it) 326s # We add an extra empty parameter so we can indicate this to the go method. 326s __adsysctl_debug "Adding extra empty parameter" 326s requestComp="${requestComp} ''" 326s fi 326s 326s # When completing a flag with an = (e.g., adsysctl -n=) 326s # bash focuses on the part after the =, so we need to remove 326s # the flag part from $cur 326s if [[ ${cur} == -*=* ]]; then 326s cur="${cur#*=}" 326s fi 326s 326s __adsysctl_debug "Calling ${requestComp}" 326s # Use eval to handle any environment variables and such 326s out=$(eval "${requestComp}" 2>/dev/null) 326s 326s # Extract the directive integer at the very end of the output following a colon (:) 326s directive=${out##*:} 326s # Remove the directive 326s out=${out%:*} 326s if [[ ${directive} == "${out}" ]]; then 326s # There is not directive specified 326s directive=0 326s fi 326s __adsysctl_debug "The completion directive is: ${directive}" 326s __adsysctl_debug "The completions are: ${out}" 326s } 326s 326s __adsysctl_process_completion_results() { 326s local shellCompDirectiveError=1 326s local shellCompDirectiveNoSpace=2 326s local shellCompDirectiveNoFileComp=4 326s local shellCompDirectiveFilterFileExt=8 326s local shellCompDirectiveFilterDirs=16 326s local shellCompDirectiveKeepOrder=32 326s 326s if (((directive & shellCompDirectiveError) != 0)); then 326s # Error code. No completion. 326s __adsysctl_debug "Received error from custom completion go code" 326s return 326s else 326s if (((directive & shellCompDirectiveNoSpace) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s __adsysctl_debug "Activating no space" 326s compopt -o nospace 326s else 326s __adsysctl_debug "No space directive not supported in this version of bash" 326s fi 326s fi 326s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s # no sort isn't supported for bash less than < 4.4 326s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 326s __adsysctl_debug "No sort directive not supported in this version of bash" 326s else 326s __adsysctl_debug "Activating keep order" 326s compopt -o nosort 326s fi 326s else 326s __adsysctl_debug "No sort directive not supported in this version of bash" 326s fi 326s fi 326s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 326s if [[ $(type -t compopt) == builtin ]]; then 326s __adsysctl_debug "Activating no file completion" 326s compopt +o default 326s else 326s __adsysctl_debug "No file completion directive not supported in this version of bash" 326s fi 326s fi 326s fi 326s 326s # Separate activeHelp from normal completions 326s local completions=() 326s local activeHelp=() 326s __adsysctl_extract_activeHelp 326s 326s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 326s # File extension filtering 326s local fullFilter filter filteringCmd 326s 326s # Do not use quotes around the $completions variable or else newline 326s # characters will be kept. 326s for filter in ${completions[*]}; do 326s fullFilter+="$filter|" 326s done 326s 326s filteringCmd="_filedir $fullFilter" 326s __adsysctl_debug "File filtering command: $filteringCmd" 326s $filteringCmd 326s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 326s # File completion for directories only 326s 326s local subdir 326s subdir=${completions[0]} 326s if [[ -n $subdir ]]; then 326s __adsysctl_debug "Listing directories in $subdir" 326s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 326s else 326s __adsysctl_debug "Listing directories in ." 326s _filedir -d 326s fi 326s else 326s __adsysctl_handle_completion_types 326s fi 326s 326s __adsysctl_handle_special_char "$cur" : 326s __adsysctl_handle_special_char "$cur" = 326s 326s # Print the activeHelp statements before we finish 326s if ((${#activeHelp[*]} != 0)); then 326s printf "\n"; 326s printf "%s\n" "${activeHelp[@]}" 326s printf "\n" 326s 326s # The prompt format is only available from bash 4.4. 326s # We test if it is available before using it. 326s if (x=${PS1@P}) 2> /dev/null; then 326s printf "%s" "${PS1@P}${COMP_LINE[@]}" 326s else 326s # Can't print the prompt. Just print the 326s # text the user had typed, it is workable enough. 326s printf "%s" "${COMP_LINE[@]}" 326s fi 326s fi 326s } 326s 326s # Separate activeHelp lines from real completions. 326s # Fills the $activeHelp and $completions arrays. 326s __adsysctl_extract_activeHelp() { 326s local activeHelpMarker="_activeHelp_ " 326s local endIndex=${#activeHelpMarker} 326s 326s while IFS='' read -r comp; do 326s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 326s comp=${comp:endIndex} 326s __adsysctl_debug "ActiveHelp found: $comp" 326s if [[ -n $comp ]]; then 326s activeHelp+=("$comp") 326s fi 326s else 326s # Not an activeHelp line but a normal completion 326s completions+=("$comp") 326s fi 326s done <<<"${out}" 326s } 326s 326s __adsysctl_handle_completion_types() { 326s __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" 326s 326s case $COMP_TYPE in 326s 37|42) 326s # Type: menu-complete/menu-complete-backward and insert-completions 326s # If the user requested inserting one completion at a time, or all 326s # completions at once on the command-line we must remove the descriptions. 326s # https://github.com/spf13/cobra/issues/1508 326s local tab=$'\t' comp 326s while IFS='' read -r comp; do 326s [[ -z $comp ]] && continue 326s # Strip any description 326s comp=${comp%%$tab*} 326s # Only consider the completions that match 326s if [[ $comp == "$cur"* ]]; then 326s COMPREPLY+=("$comp") 326s fi 326s done < <(printf "%s\n" "${completions[@]}") 326s ;; 326s 326s *) 326s # Type: complete (normal completion) 326s __adsysctl_handle_standard_completion_case 326s ;; 326s esac 326s } 326s 326s __adsysctl_handle_standard_completion_case() { 326s local tab=$'\t' comp 326s 326s # Short circuit to optimize if we don't have descriptions 326s if [[ "${completions[*]}" != *$tab* ]]; then 326s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 326s return 0 326s fi 326s 326s local longest=0 326s local compline 326s # Look for the longest completion so that we can format things nicely 326s while IFS='' read -r compline; do 326s [[ -z $compline ]] && continue 326s # Strip any description before checking the length 326s comp=${compline%%$tab*} 326s # Only consider the completions that match 326s [[ $comp == "$cur"* ]] || continue 326s COMPREPLY+=("$compline") 326s if ((${#comp}>longest)); then 326s longest=${#comp} 326s fi 326s done < <(printf "%s\n" "${completions[@]}") 326s 326s # If there is a single completion left, remove the description text 326s if ((${#COMPREPLY[*]} == 1)); then 326s __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 326s comp="${COMPREPLY[0]%%$tab*}" 326s __adsysctl_debug "Removed description from single completion, which is now: ${comp}" 326s COMPREPLY[0]=$comp 326s else # Format the descriptions 326s __adsysctl_format_comp_descriptions $longest 326s fi 326s } 326s 326s __adsysctl_handle_special_char() 326s { 326s local comp="$1" 326s local char=$2 326s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 326s local word=${comp%"${comp##*${char}}"} 326s local idx=${#COMPREPLY[*]} 326s while ((--idx >= 0)); do 326s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 326s done 326s fi 326s } 326s 326s __adsysctl_format_comp_descriptions() 326s { 326s local tab=$'\t' 326s local comp desc maxdesclength 326s local longest=$1 326s 326s local i ci 326s for ci in ${!COMPREPLY[*]}; do 326s comp=${COMPREPLY[ci]} 326s # Properly format the description string which follows a tab character if there is one 326s if [[ "$comp" == *$tab* ]]; then 326s __adsysctl_debug "Original comp: $comp" 326s desc=${comp#*$tab} 326s comp=${comp%%$tab*} 326s 326s # $COLUMNS stores the current shell width. 326s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 326s maxdesclength=$(( COLUMNS - longest - 4 )) 326s 326s # Make sure we can fit a description of at least 8 characters 326s # if we are to align the descriptions. 326s if ((maxdesclength > 8)); then 326s # Add the proper number of spaces to align the descriptions 326s for ((i = ${#comp} ; i < longest ; i++)); do 326s comp+=" " 326s done 326s else 326s # Don't pad the descriptions so we can fit more text after the completion 326s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 326s fi 326s 326s # If there is enough space for any description text, 326s # truncate the descriptions that are too long for the shell width 326s if ((maxdesclength > 0)); then 326s if ((${#desc} > maxdesclength)); then 326s desc=${desc:0:$(( maxdesclength - 1 ))} 326s desc+="…" 326s fi 326s comp+=" ($desc)" 326s fi 326s COMPREPLY[ci]=$comp 326s __adsysctl_debug "Final comp: $comp" 326s fi 326s done 326s } 326s 326s __start_adsysctl() 326s { 326s local cur prev words cword split 326s 326s COMPREPLY=() 326s 326s # Call _init_completion from the bash-completion package 326s # to prepare the arguments properly 326s if declare -F _init_completion >/dev/null 2>&1; then 326s _init_completion -n =: || return 326s else 326s __adsysctl_init_completion -n =: || return 326s fi 326s 326s __adsysctl_debug 326s __adsysctl_debug "========= starting completion logic ==========" 326s __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 326s 326s # The user could have moved the cursor backwards on the command-line. 326s # We need to trigger completion from the $cword location, so we need 326s # to truncate the command-line ($words) up to the $cword location. 326s words=("${words[@]:0:$cword+1}") 326s __adsysctl_debug "Truncated words[*]: ${words[*]}," 326s 326s local out directive 326s __adsysctl_get_completion_results 326s __adsysctl_process_completion_results 326s } 326s 326s if [[ $(type -t compopt) = "builtin" ]]; then 326s complete -o default -F __start_adsysctl adsysctl 326s else 326s complete -o default -o nospace -F __start_adsysctl adsysctl 326s fi 326s 326s # ex: ts=4 sw=4 et filetype=sh 326s --- PASS: TestAppCompletion (0.00s) 326s Active Directory integration bridging toolset command line tool. 326s 326s Usage: 326s adsysctl COMMAND [flags] 326s adsysctl [command] 326s 326s Available Commands: 326s applied Print last applied GPOs for current or given user/machine 326s completion Generate the autocompletion script for the specified shell 326s doc Documentation 326s help Help about any command 326s policy Policy management 326s service Service management 326s update Updates/Create a policy for current user or given user with its kerberos ticket 326s version Returns version of client and service 326s 326s Flags: 326s -c, --config string use a specific configuration file 326s -h, --help help for adsysctl 326s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 326s -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) 326s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 326s 326s Use "adsysctl [command] --help" for more information about a command. 326s --- PASS: TestAppHelp (0.00s) 326s PASS 326s ok github.com/ubuntu/adsys/cmd/adsysd/client 0.414s 331s ? github.com/ubuntu/adsys/cmd/adwatchd [no test files] 331s ? github.com/ubuntu/adsys/cmd/adwatchd/commands [no test files] 332s === RUN TestAppHelp 332s === PAUSE TestAppHelp 332s === RUN TestAppCompletion 332s === PAUSE TestAppCompletion 332s === RUN TestAppVersion 332s --- PASS: TestAppVersion (0.01s) 332s === RUN TestAppNoUsageError 332s === PAUSE TestAppNoUsageError 332s === RUN TestAppUsageError 332s === PAUSE TestAppUsageError 332s === RUN TestAppCanQuitWhenExecute 332s time="2024-03-21T02:24:49Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 332s --- PASS: TestAppCanQuitWhenExecute (0.08s) 332s === RUN TestAppCanQuitAfterExecute 332s time="2024-03-21T02:24:49Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 332s --- PASS: TestAppCanQuitAfterExecute (1.01s) 332s === RUN TestAppCanQuitWithoutExecute 332s === PAUSE TestAppCanQuitWithoutExecute 332s === RUN TestAppRunFailsOnDaemonCreationAndQuit 332s time="2024-03-21T02:24:50Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 332s --- PASS: TestAppRunFailsOnDaemonCreationAndQuit (0.01s) 332s === RUN TestAppRunFailsOnServiceCreationAndQuit 332s --- PASS: TestAppRunFailsOnServiceCreationAndQuit (0.00s) 332s === RUN TestAppCanSigHupWhenExecute 332s time="2024-03-21T02:24:50Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 332s --- PASS: TestAppCanSigHupWhenExecute (0.06s) 332s === RUN TestAppCanSigHupAfterExecute 332s time="2024-03-21T02:24:50Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 332s --- PASS: TestAppCanSigHupAfterExecute (1.01s) 332s === RUN TestAppCanSigHupWithoutExecute 332s --- PASS: TestAppCanSigHupWithoutExecute (0.00s) 332s === RUN TestAppTimeout 332s time="2024-03-21T02:24:51Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 332s --- PASS: TestAppTimeout (1.01s) 332s === RUN TestAppGetRootCmd 332s === PAUSE TestAppGetRootCmd 332s === RUN TestConfigLoad 332s time="2024-03-21T02:24:52Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 332s time="2024-03-21T02:24:52Z" level=info msg="Serving on /tmp/TestConfigLoad1030617551/001/adsys.socket" 332s time="2024-03-21T02:24:52Z" level=info msg="Stopping daemon requested." 332s time="2024-03-21T02:24:52Z" level=info msg="Wait for active requests to close." 332s --- PASS: TestConfigLoad (0.06s) 332s === RUN TestConfigChange 332s time="2024-03-21T02:24:52Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" 332s time="2024-03-21T02:24:52Z" level=info msg="Serving on /tmp/TestConfigChange3930394372/001/adsys.socket" 332s time="2024-03-21T02:24:52Z" level=info msg="Stopping daemon requested." 332s time="2024-03-21T02:24:52Z" level=info msg="Wait for active requests to close." 332s time="2024-03-21T02:24:52Z" level=debug msg="All connections have now ended." 332s time="2024-03-21T02:24:52Z" level=debug msg=Quitting 332s --- PASS: TestConfigChange (0.19s) 332s === CONT TestAppHelp 332s Active Directory integration bridging toolset daemon. 332s 332s Usage: 332s adsysd COMMAND [flags] 332s adsysd [command] 332s 332s Available Commands: 332s completion Generate the autocompletion script for the specified shell 332s help Help about any command 332s version Returns version of service and exits 332s 332s Flags: 332s --ad-backend string Active Directory authentication backend (default "sssd") 332s --cache-dir string directory where ADSys caches GPOs downloads and policies. (default "/var/cache/adsys") 332s -c, --config string use a specific configuration file 332s -h, --help help for adsysd 332s --run-dir string directory where ADSys stores transient information erased on reboot. (default "/run/adsys") 332s -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") 332s --sssd.cache-dir string SSSd cache directory (default "/var/lib/sss/db") 332s --sssd.config string SSSd config file path (default "/etc/sssd/sssd.conf") 332s -t, --timeout int time in seconds without activity before the service exists. 0 for no timeout. (default 120) 332s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 332s 332s Use "adsysd [command] --help" for more information about a command. 332s --- PASS: TestAppHelp (0.00s) 332s === CONT TestAppGetRootCmd 332s --- PASS: TestAppGetRootCmd (0.00s) 332s === CONT TestAppNoUsageError 332s === CONT TestAppCanQuitWithoutExecute 332s daemon_test.go:105: We need to initialize the daemon first, so this is not possible and will hang forever (ready not closed) 332s --- SKIP: TestAppCanQuitWithoutExecute (0.00s) 332s === CONT TestAppCompletion 332s # bash completion V2 for adsysd -*- shell-script -*- 332s 332s __adsysd_debug() 332s { 332s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 332s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 332s fi 332s } 332s 332s # Macs have bash3 for which the bash-completion package doesn't include 332s # _init_completion. This is a minimal version of that function. 332s __adsysd_init_completion() 332s { 332s COMPREPLY=() 332s _get_comp_words_by_ref "$@" cur prev words cword 332s } 332s 332s # This function calls the adsysd program to obtain the completion 332s # results and the directive. It fills the 'out' and 'directive' vars. 332s __adsysd_get_completion_results() { 332s local requestComp lastParam lastChar args 332s 332s # Prepare the command to request completions for the program. 332s # Calling ${words[0]} instead of directly adsysd allows handling aliases 332s args=("${words[@]:1}") 332s requestComp="${words[0]} __complete ${args[*]}" 332s 332s lastParam=${words[$((${#words[@]}-1))]} 332s lastChar=${lastParam:$((${#lastParam}-1)):1} 332s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 332s 332s if [[ -z ${cur} && ${lastChar} != = ]]; then 332s # If the last parameter is complete (there is a space following it) 332s # We add an extra empty parameter so we can indicate this to the go method. 332s __adsysd_debug "Adding extra empty parameter" 332s requestComp="${requestComp} ''" 332s fi 332s 332s # When completing a flag with an = (e.g., adsysd -n=) 332s # bash focuses on the part after the =, so we need to remove 332s # the flag part from $cur 332s if [[ ${cur} == -*=* ]]; then 332s cur="${cur#*=}" 332s fi 332s 332s __adsysd_debug "Calling ${requestComp}" 332s # Use eval to handle any environment variables and such 332s out=$(eval "${requestComp}" 2>/dev/null) 332s 332s # Extract the directive integer at the very end of the output following a colon (:) 332s directive=${out##*:} 332s # Remove the directive 332s out=${out%:*} 332s if [[ ${directive} == "${out}" ]]; then 332s # There is not directive specified 332s directive=0 332s fi 332s __adsysd_debug "The completion directive is: ${directive}" 332s __adsysd_debug "The completions are: ${out}" 332s } 332s 332s __adsysd_process_completion_results() { 332s local shellCompDirectiveError=1 332s local shellCompDirectiveNoSpace=2 332s local shellCompDirectiveNoFileComp=4 332s local shellCompDirectiveFilterFileExt=8 332s local shellCompDirectiveFilterDirs=16 332s local shellCompDirectiveKeepOrder=32 332s 332s if (((directive & shellCompDirectiveError) != 0)); then 332s # Error code. No completion. 332s __adsysd_debug "Received error from custom completion go code" 332s return 332s else 332s if (((directive & shellCompDirectiveNoSpace) != 0)); then 332s if [[ $(type -t compopt) == builtin ]]; then 332s __adsysd_debug "Activating no space" 332s compopt -o nospace 332s else 332s __adsysd_debug "No space directive not supported in this version of bash" 332s fi 332s fi 332s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 332s if [[ $(type -t compopt) == builtin ]]; then 332s # no sort isn't supported for bash less than < 4.4 332s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 332s __adsysd_debug "No sort directive not supported in this version of bash" 332s else 332s __adsysd_debug "Activating keep order" 332s compopt -o nosort 332s fi 332s else 332s __adsysd_debug "No sort directive not supported in this version of bash" 332s fi 332s fi 332s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 332s if [[ $(type -t compopt) == builtin ]]; then 332s __adsysd_debug "Activating no file completion" 332s compopt +o default 332s else 332s __adsysd_debug "No file completion directive not supported in this version of bash" 332s fi 332s fi 332s fi 332s 332s # Separate activeHelp from normal completions 332s local completions=() 332s local activeHelp=() 332s __adsysd_extract_activeHelp 332s 332s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 332s # File extension filtering 332s local fullFilter filter filteringCmd 332s 332s # Do not use quotes around the $completions variable or else newline 332s # characters will be kept. 332s for filter in ${completions[*]}; do 332s fullFilter+="$filter|" 332s done 332s 332s filteringCmd="_filedir $fullFilter" 332s __adsysd_debug "File filtering command: $filteringCmd" 332s $filteringCmd 332s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 332s # File completion for directories only 332s 332s local subdir 332s subdir=${completions[0]} 332s if [[ -n $subdir ]]; then 332s __adsysd_debug "Listing directories in $subdir" 332s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 332s else 332s __adsysd_debug "Listing directories in ." 332s _filedir -d 332s fi 332s else 332s __adsysd_handle_completion_types 332s fi 332s 332s __adsysd_handle_special_char "$cur" : 332s __adsysd_handle_special_char "$cur" = 332s 332s # Print the activeHelp statements before we finish 332s if ((${#activeHelp[*]} != 0)); then 332s printf "\n"; 332s printf "%s\n" "${activeHelp[@]}" 332s printf "\n" 332s 332s # The prompt format is only available from bash 4.4. 332s # We test if it is available before using it. 332s if (x=${PS1@P}) 2> /dev/null; then 332s printf "%s" "${PS1@P}${COMP_LINE[@]}" 332s else 332s # Can't print the prompt. Just print the 332s # text the user had typed, it is workable enough. 332s printf "%s" "${COMP_LINE[@]}" 332s fi 332s fi 332s } 332s 332s # Separate activeHelp lines from real completions. 332s # Fills the $activeHelp and $completions arrays. 332s __adsysd_extract_activeHelp() { 332s local activeHelpMarker="_activeHelp_ " 332s local endIndex=${#activeHelpMarker} 332s 332s while IFS='' read -r comp; do 332s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 332s comp=${comp:endIndex} 332s __adsysd_debug "ActiveHelp found: $comp" 332s if [[ -n $comp ]]; then 332s activeHelp+=("$comp") 332s fi 332s else 332s # Not an activeHelp line but a normal completion 332s completions+=("$comp") 332s fi 332s done <<<"${out}" 332s } 332s 332s __adsysd_handle_completion_types() { 332s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 332s 332s case $COMP_TYPE in 332s 37|42) 332s # Type: menu-complete/menu-complete-backward and insert-completions 332s # If the user requested inserting one completion at a time, or all 332s # completions at once on the command-line we must remove the descriptions. 332s # https://github.com/spf13/cobra/issues/1508 332s local tab=$'\t' comp 332s while IFS='' read -r comp; do 332s [[ -z $comp ]] && continue 332s # Strip any description 332s comp=${comp%%$tab*} 332s # Only consider the completions that match 332s if [[ $comp == "$cur"* ]]; then 332s COMPREPLY+=("$comp") 332s fi 332s done < <(printf "%s\n" "${completions[@]}") 332s ;; 332s 332s *) 332s # Type: complete (normal completion) 332s __adsysd_handle_standard_completion_case 332s ;; 332s esac 332s } 332s 332s __adsysd_handle_standard_completion_case() { 332s local tab=$'\t' comp 332s 332s # Short circuit to optimize if we don't have descriptions 332s if [[ "${completions[*]}" != *$tab* ]]; then 332s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 332s return 0 332s fi 332s 332s local longest=0 332s local compline 332s # Look for the longest completion so that we can format things nicely 332s while IFS='' read -r compline; do 332s [[ -z $compline ]] && continue 332s # Strip any description before checking the length 332s comp=${compline%%$tab*} 332s # Only consider the completions that match 332s [[ $comp == "$cur"* ]] || continue 332s COMPREPLY+=("$compline") 332s if ((${#comp}>longest)); then 332s longest=${#comp} 332s fi 332s done < <(printf "%s\n" "${completions[@]}") 332s 332s # If there is a single completion left, remove the description text 332s if ((${#COMPREPLY[*]} == 1)); then 332s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 332s comp="${COMPREPLY[0]%%$tab*}" 332s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 332s COMPREPLY[0]=$comp 332s else # Format the descriptions 332s __adsysd_format_comp_descriptions $longest 332s fi 332s } 332s 332s __adsysd_handle_special_char() 332s { 332s local comp="$1" 332s local char=$2 332s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 332s local word=${comp%"${comp##*${char}}"} 332s local idx=${#COMPREPLY[*]} 332s while ((--idx >= 0)); do 332s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 332s done 332s fi 332s } 332s 332s __adsysd_format_comp_descriptions() 332s { 332s local tab=$'\t' 332s local comp desc maxdesclength 332s local longest=$1 332s 332s local i ci 332s for ci in ${!COMPREPLY[*]}; do 332s comp=${COMPREPLY[ci]} 332s # Properly format the description string which follows a tab character if there is one 332s if [[ "$comp" == *$tab* ]]; then 332s __adsysd_debug "Original comp: $comp" 332s desc=${comp#*$tab} 332s comp=${comp%%$tab*} 332s 332s # $COLUMNS stores the current shell width. 332s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 332s maxdesclength=$(( COLUMNS - longest - 4 )) 332s 332s # Make sure we can fit a description of at least 8 characters 332s # if we are to align the descriptions. 332s if ((maxdesclength > 8)); then 332s # Add the proper number of spaces to align the descriptions 332s for ((i = ${#comp} ; i < longest ; i++)); do 332s comp+=" " 332s done 332s else 332s # Don't pad the descriptions so we can fit more text after the completion 332s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 332s fi 332s 332s # If there is enough space for any description text, 332s # truncate the descriptions that are too long for the shell width 332s if ((maxdesclength > 0)); then 332s if ((${#desc} > maxdesclength)); then 332s desc=${desc:0:$(( maxdesclength - 1 ))} 332s desc+="…" 332s fi 332s comp+=" ($desc)" 332s fi 332s COMPREPLY[ci]=$comp 332s __adsysd_debug "Final comp: $comp" 332s fi 332s done 332s } 332s 332s __start_adsysd() 332s { 332s local cur prev words cword split 332s 332s COMPREPLY=() 332s 332s # Call _init_completion from the bash-completion package 332s # to prepare the arguments properly 332s if declare -F _init_completion >/dev/null 2>&1; then 332s _init_completion -n =: || return 332s else 332s __adsysd_init_completion -n =: || return 332s fi 332s 332s __adsysd_debug 332s __adsysd_debug "========= starting completion logic ==========" 332s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 332s 332s # The user could have moved the cursor backwards on the command-line. 332s # We need to trigger completion from the $cword location, so we need 332s # to truncate the command-line ($words) up to the $cword location. 332s words=("${words[@]:0:$cword+1}") 332s __adsysd_debug "Truncated words[*]: ${words[*]}," 332s 332s local out directive 332s __adsysd_get_completion_results 332s __adsysd_process_completion_results 332s } 332s 332s if [[ $(type -t compopt) = "builtin" ]]; then 332s complete -o default -F __start_adsysd adsysd 332s else 332s complete -o default -o nospace -F __start_adsysd adsysd 332s fi 332s 332s # ex: ts=4 sw=4 et filetype=sh 332s --- PASS: TestAppCompletion (0.00s) 332s === CONT TestAppUsageError 332s --- PASS: TestAppUsageError (0.00s) 332s # bash completion V2 for adsysd -*- shell-script -*- 332s 332s __adsysd_debug() 332s { 332s if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then 332s echo "$*" >> "${BASH_COMP_DEBUG_FILE}" 332s fi 332s } 332s 332s # Macs have bash3 for which the bash-completion package doesn't include 332s # _init_completion. This is a minimal version of that function. 332s __adsysd_init_completion() 332s { 332s COMPREPLY=() 332s _get_comp_words_by_ref "$@" cur prev words cword 332s } 332s 332s # This function calls the adsysd program to obtain the completion 332s # results and the directive. It fills the 'out' and 'directive' vars. 332s __adsysd_get_completion_results() { 332s local requestComp lastParam lastChar args 332s 332s # Prepare the command to request completions for the program. 332s # Calling ${words[0]} instead of directly adsysd allows handling aliases 332s args=("${words[@]:1}") 332s requestComp="${words[0]} __complete ${args[*]}" 332s 332s lastParam=${words[$((${#words[@]}-1))]} 332s lastChar=${lastParam:$((${#lastParam}-1)):1} 332s __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" 332s 332s if [[ -z ${cur} && ${lastChar} != = ]]; then 332s # If the last parameter is complete (there is a space following it) 332s # We add an extra empty parameter so we can indicate this to the go method. 332s __adsysd_debug "Adding extra empty parameter" 332s requestComp="${requestComp} ''" 332s fi 332s 332s # When completing a flag with an = (e.g., adsysd -n=) 332s # bash focuses on the part after the =, so we need to remove 332s # the flag part from $cur 332s if [[ ${cur} == -*=* ]]; then 332s cur="${cur#*=}" 332s fi 332s 332s __adsysd_debug "Calling ${requestComp}" 332s # Use eval to handle any environment variables and such 332s out=$(eval "${requestComp}" 2>/dev/null) 332s 332s # Extract the directive integer at the very end of the output following a colon (:) 332s directive=${out##*:} 332s # Remove the directive 332s out=${out%:*} 332s if [[ ${directive} == "${out}" ]]; then 332s # There is not directive specified 332s directive=0 332s fi 332s __adsysd_debug "The completion directive is: ${directive}" 332s __adsysd_debug "The completions are: ${out}" 332s } 332s 332s __adsysd_process_completion_results() { 332s local shellCompDirectiveError=1 332s local shellCompDirectiveNoSpace=2 332s local shellCompDirectiveNoFileComp=4 332s local shellCompDirectiveFilterFileExt=8 332s local shellCompDirectiveFilterDirs=16 332s local shellCompDirectiveKeepOrder=32 332s 332s if (((directive & shellCompDirectiveError) != 0)); then 332s # Error code. No completion. 332s __adsysd_debug "Received error from custom completion go code" 332s return 332s else 332s if (((directive & shellCompDirectiveNoSpace) != 0)); then 332s if [[ $(type -t compopt) == builtin ]]; then 332s __adsysd_debug "Activating no space" 332s compopt -o nospace 332s else 332s __adsysd_debug "No space directive not supported in this version of bash" 332s fi 332s fi 332s if (((directive & shellCompDirectiveKeepOrder) != 0)); then 332s if [[ $(type -t compopt) == builtin ]]; then 332s # no sort isn't supported for bash less than < 4.4 332s if [[ ${BASH_VERSINFO[0]} -lt 4 || ( ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 4 ) ]]; then 332s __adsysd_debug "No sort directive not supported in this version of bash" 332s else 332s __adsysd_debug "Activating keep order" 332s compopt -o nosort 332s fi 332s else 332s __adsysd_debug "No sort directive not supported in this version of bash" 332s fi 332s fi 332s if (((directive & shellCompDirectiveNoFileComp) != 0)); then 332s if [[ $(type -t compopt) == builtin ]]; then 332s __adsysd_debug "Activating no file completion" 332s compopt +o default 332s else 332s __adsysd_debug "No file completion directive not supported in this version of bash" 332s fi 332s fi 332s fi 332s 332s # Separate activeHelp from normal completions 332s local completions=() 332s local activeHelp=() 332s __adsysd_extract_activeHelp 332s 332s if (((directive & shellCompDirectiveFilterFileExt) != 0)); then 332s # File extension filtering 332s local fullFilter filter filteringCmd 332s 332s # Do not use quotes around the $completions variable or else newline 332s # characters will be kept. 332s for filter in ${completions[*]}; do 332s fullFilter+="$filter|" 332s done 332s 332s filteringCmd="_filedir $fullFilter" 332s __adsysd_debug "File filtering command: $filteringCmd" 332s $filteringCmd 332s elif (((directive & shellCompDirectiveFilterDirs) != 0)); then 332s # File completion for directories only 332s 332s local subdir 332s subdir=${completions[0]} 332s if [[ -n $subdir ]]; then 332s __adsysd_debug "Listing directories in $subdir" 332s pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return 332s else 332s __adsysd_debug "Listing directories in ." 332s _filedir -d 332s fi 332s else 332s __adsysd_handle_completion_types 332s fi 332s 332s __adsysd_handle_special_char "$cur" : 332s __adsysd_handle_special_char "$cur" = 332s 332s # Print the activeHelp statements before we finish 332s if ((${#activeHelp[*]} != 0)); then 332s printf "\n"; 332s printf "%s\n" "${activeHelp[@]}" 332s printf "\n" 332s 332s # The prompt format is only available from bash 4.4. 332s # We test if it is available before using it. 332s if (x=${PS1@P}) 2> /dev/null; then 332s printf "%s" "${PS1@P}${COMP_LINE[@]}" 332s else 332s # Can't print the prompt. Just print the 332s # text the user had typed, it is workable enough. 332s printf "%s" "${COMP_LINE[@]}" 332s fi 332s fi 332s } 332s 332s # Separate activeHelp lines from real completions. 332s # Fills the $activeHelp and $completions arrays. 332s __adsysd_extract_activeHelp() { 332s local activeHelpMarker="_activeHelp_ " 332s local endIndex=${#activeHelpMarker} 332s 332s while IFS='' read -r comp; do 332s if [[ ${comp:0:endIndex} == $activeHelpMarker ]]; then 332s comp=${comp:endIndex} 332s __adsysd_debug "ActiveHelp found: $comp" 332s if [[ -n $comp ]]; then 332s activeHelp+=("$comp") 332s fi 332s else 332s # Not an activeHelp line but a normal completion 332s completions+=("$comp") 332s fi 332s done <<<"${out}" 332s } 332s 332s __adsysd_handle_completion_types() { 332s __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" 332s 332s case $COMP_TYPE in 332s 37|42) 332s # Type: menu-complete/menu-complete-backward and insert-completions 332s # If the user requested inserting one completion at a time, or all 332s # completions at once on the command-line we must remove the descriptions. 332s # https://github.com/spf13/cobra/issues/1508 332s local tab=$'\t' comp 332s while IFS='' read -r comp; do 332s [[ -z $comp ]] && continue 332s # Strip any description 332s comp=${comp%%$tab*} 332s # Only consider the completions that match 332s if [[ $comp == "$cur"* ]]; then 332s COMPREPLY+=("$comp") 332s fi 332s done < <(printf "%s\n" "${completions[@]}") 332s ;; 332s 332s *) 332s # Type: complete (normal completion) 332s __adsysd_handle_standard_completion_case 332s ;; 332s esac 332s } 332s 332s __adsysd_handle_standard_completion_case() { 332s local tab=$'\t' comp 332s 332s # Short circuit to optimize if we don't have descriptions 332s if [[ "${completions[*]}" != *$tab* ]]; then 332s IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") 332s return 0 332s fi 332s 332s local longest=0 332s local compline 332s # Look for the longest completion so that we can format things nicely 332s while IFS='' read -r compline; do 332s [[ -z $compline ]] && continue 332s # Strip any description before checking the length 332s comp=${compline%%$tab*} 332s # Only consider the completions that match 332s [[ $comp == "$cur"* ]] || continue 332s COMPREPLY+=("$compline") 332s if ((${#comp}>longest)); then 332s longest=${#comp} 332s fi 332s done < <(printf "%s\n" "${completions[@]}") 332s 332s # If there is a single completion left, remove the description text 332s if ((${#COMPREPLY[*]} == 1)); then 332s __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" 332s comp="${COMPREPLY[0]%%$tab*}" 332s __adsysd_debug "Removed description from single completion, which is now: ${comp}" 332s COMPREPLY[0]=$comp 332s else # Format the descriptions 332s __adsysd_format_comp_descriptions $longest 332s fi 332s } 332s 332s __adsysd_handle_special_char() 332s { 332s local comp="$1" 332s local char=$2 332s if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then 332s local word=${comp%"${comp##*${char}}"} 332s local idx=${#COMPREPLY[*]} 332s while ((--idx >= 0)); do 332s COMPREPLY[idx]=${COMPREPLY[idx]#"$word"} 332s done 332s fi 332s } 332s 332s __adsysd_format_comp_descriptions() 332s { 332s local tab=$'\t' 332s local comp desc maxdesclength 332s local longest=$1 332s 332s local i ci 332s for ci in ${!COMPREPLY[*]}; do 332s comp=${COMPREPLY[ci]} 332s # Properly format the description string which follows a tab character if there is one 332s if [[ "$comp" == *$tab* ]]; then 332s __adsysd_debug "Original comp: $comp" 332s desc=${comp#*$tab} 332s comp=${comp%%$tab*} 332s 332s # $COLUMNS stores the current shell width. 332s # Remove an extra 4 because we add 2 spaces and 2 parentheses. 332s maxdesclength=$(( COLUMNS - longest - 4 )) 332s 332s # Make sure we can fit a description of at least 8 characters 332s # if we are to align the descriptions. 332s if ((maxdesclength > 8)); then 332s # Add the proper number of spaces to align the descriptions 332s for ((i = ${#comp} ; i < longest ; i++)); do 332s comp+=" " 332s done 332s else 332s # Don't pad the descriptions so we can fit more text after the completion 332s maxdesclength=$(( COLUMNS - ${#comp} - 4 )) 332s fi 332s 332s # If there is enough space for any description text, 332s # truncate the descriptions that are too long for the shell width 332s if ((maxdesclength > 0)); then 332s if ((${#desc} > maxdesclength)); then 332s desc=${desc:0:$(( maxdesclength - 1 ))} 332s desc+="…" 332s fi 332s comp+=" ($desc)" 332s fi 332s COMPREPLY[ci]=$comp 332s __adsysd_debug "Final comp: $comp" 332s fi 332s done 332s } 332s 332s __start_adsysd() 332s { 332s local cur prev words cword split 332s 332s COMPREPLY=() 332s 332s # Call _init_completion from the bash-completion package 332s # to prepare the arguments properly 332s if declare -F _init_completion >/dev/null 2>&1; then 332s _init_completion -n =: || return 332s else 332s __adsysd_init_completion -n =: || return 332s fi 332s 332s __adsysd_debug 332s __adsysd_debug "========= starting completion logic ==========" 332s __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" 332s 332s # The user could have moved the cursor backwards on the command-line. 332s # We need to trigger completion from the $cword location, so we need 332s # to truncate the command-line ($words) up to the $cword location. 332s words=("${words[@]:0:$cword+1}") 332s __adsysd_debug "Truncated words[*]: ${words[*]}," 332s 332s local out directive 332s __adsysd_get_completion_results 332s __adsysd_process_completion_results 332s } 332s 332s if [[ $(type -t compopt) = "builtin" ]]; then 332s complete -o default -F __start_adsysd adsysd 332s else 332s complete -o default -o nospace -F __start_adsysd adsysd 332s fi 332s 332s # ex: ts=4 sw=4 et filetype=sh 332s --- PASS: TestAppNoUsageError (0.01s) 332s PASS 332s ok github.com/ubuntu/adsys/cmd/adsysd/daemon 3.650s 332s Integration tests skipped as requested 332s ok github.com/ubuntu/adsys/cmd/adsysd/integration_tests 0.270s 332s ? github.com/ubuntu/adsys/docs [no test files] 332s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/00_check_vm_image [no test files] 332s Test has to be run as root, skipping... 332s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 0.399s 334s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/01_prepare_base_vm [no test files] 334s ? github.com/ubuntu/adsys/e2e/cmd/build_base_image/02_create_vm_template [no test files] 334s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/00_build_adsys_deb [no test files] 334s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/01_provision_client [no test files] 334s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/02_provision_ad [no test files] 334s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/03_test_non_pro_managers [no test files] 335s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/04_test_pro_managers [no test files] 335s ? github.com/ubuntu/adsys/e2e/internal/az [no test files] 335s ? github.com/ubuntu/adsys/e2e/cmd/run_tests/99_deprovision [no test files] 335s ? github.com/ubuntu/adsys/e2e/internal/inventory [no test files] 335s ? github.com/ubuntu/adsys/e2e/internal/remote [no test files] 335s ? github.com/ubuntu/adsys/e2e/scripts [no test files] 335s === RUN TestAddFlags 335s --- PASS: TestAddFlags (0.02s) 335s === RUN TestInventory 335s === RUN TestInventory/From_null_state_doesn't_require_existing_data 335s === RUN TestInventory/From_existing_state_requires_existing_data 335s === RUN TestInventory/To_null_state_doesn't_write_data 335s === RUN TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist 335s time="2024-03-21T02:24:56Z" 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_exist2439501956/001/inventory/inventory.yaml: no such file or directory. Please refer to the previous script in the series" 335s === RUN TestInventory/Error_if_inventory_state_does_not_match_expected_state 335s time="2024-03-21T02:24:56Z" level=error msg="Inventory file is not in the expected state: template_created" 335s --- PASS: TestInventory (0.00s) 335s --- PASS: TestInventory/From_null_state_doesn't_require_existing_data (0.00s) 335s --- PASS: TestInventory/From_existing_state_requires_existing_data (0.00s) 335s --- PASS: TestInventory/To_null_state_doesn't_write_data (0.00s) 335s --- PASS: TestInventory/Error_if_inventory_file_is_required_and_doesn't_exist (0.00s) 335s --- PASS: TestInventory/Error_if_inventory_state_does_not_match_expected_state (0.00s) 335s === RUN TestExecute 335s === RUN TestExecute/Error_when_both_action_and_validation_fail 335s time="2024-03-21T02:24:56Z" level=error msg="requested error" 335s === RUN TestExecute/Action_succeeds 335s === RUN TestExecute/Action_and_validation_succeed 335s === RUN TestExecute/Error_when_action_fails 335s time="2024-03-21T02:24:56Z" level=error msg="requested error" 335s === RUN TestExecute/Error_when_validation_fails 335s time="2024-03-21T02:24:56Z" level=error msg="requested error" 335s --- PASS: TestExecute (0.00s) 335s --- PASS: TestExecute/Error_when_both_action_and_validation_fail (0.00s) 335s --- PASS: TestExecute/Action_succeeds (0.00s) 335s --- PASS: TestExecute/Action_and_validation_succeed (0.00s) 335s --- PASS: TestExecute/Error_when_action_fails (0.00s) 335s --- PASS: TestExecute/Error_when_validation_fails (0.00s) 335s PASS 335s ok github.com/ubuntu/adsys/e2e/internal/command 0.117s 337s ? github.com/ubuntu/adsys/internal/ad/admxgen/common [no test files] 338s ? github.com/ubuntu/adsys/internal/ad/backends [no test files] 338s ? github.com/ubuntu/adsys/internal/ad/backends/mock [no test files] 345s ? github.com/ubuntu/adsys/internal/adsysservice/actions [no test files] 346s ? github.com/ubuntu/adsys/internal/cmdhandler [no test files] 347s === RUN TestFetch 347s === PAUSE TestFetch 347s === RUN TestFetchWithUnreadableFile 347s === PAUSE TestFetchWithUnreadableFile 347s === RUN TestFetchTweakSysvolCacheDir 347s === PAUSE TestFetchTweakSysvolCacheDir 347s === RUN TestFetchOneGPOWhileParsingItConcurrently 347s === PAUSE TestFetchOneGPOWhileParsingItConcurrently 347s === RUN TestParseGPOConcurrent 347s === PAUSE TestParseGPOConcurrent 347s === RUN TestNew 347s === PAUSE TestNew 347s === RUN TestGetPolicies 347s === PAUSE TestGetPolicies 347s === RUN TestGetPoliciesOffline 347s === PAUSE TestGetPoliciesOffline 347s === RUN TestGetPoliciesWorkflows 347s === PAUSE TestGetPoliciesWorkflows 347s === RUN TestGetPoliciesConcurrently 347s === PAUSE TestGetPoliciesConcurrently 347s === RUN TestListUsers 347s === PAUSE TestListUsers 347s === RUN TestGetInfo 347s === PAUSE TestGetInfo 347s === RUN TestNormalizeTargetName 347s === PAUSE TestNormalizeTargetName 347s === RUN TestMockGPOList 347s --- PASS: TestMockGPOList (0.00s) 347s === RUN TestAdsysGPOList 347s === RUN TestAdsysGPOList/Forced_GPO_and_blocked_inheritance 347s === RUN TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO 347s === RUN TestAdsysGPOList/Error_on_no_network 347s === RUN TestAdsysGPOList/Error_on_user_requested_but_found_machine 347s === RUN TestAdsysGPOList/Return_hierarchy 347s === RUN TestAdsysGPOList/Disabled_GPOs 347s === RUN TestAdsysGPOList/Error_on_computer_requested_but_found_user 347s === RUN TestAdsysGPOList/Error_invalid_GPO_link 347s === RUN TestAdsysGPOList/Error_on_unreachable_ldap_host 347s === RUN TestAdsysGPOList/Error_on_ldap_connection_refused 347s === RUN TestAdsysGPOList/Error_on_non_existent_account 347s === RUN TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order 347s === RUN TestAdsysGPOList/Block_inheritance 347s === RUN TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings 347s === RUN TestAdsysGPOList/Error_on_invalid_ticket 347s === RUN TestAdsysGPOList/Error_on_dangling_ticket_symlink 347s === RUN TestAdsysGPOList/Machine_GPOs 347s === RUN TestAdsysGPOList/Fail_on_security_descriptor_access_failure 347s === RUN TestAdsysGPOList/No_gPOptions_fallbacks_to_0 347s === RUN TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing 347s === RUN TestAdsysGPOList/Multiple_GPOs_in_same_OU 347s === RUN TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user 347s === RUN TestAdsysGPOList/Computers_truncated_at_15_characters 347s === RUN TestAdsysGPOList/Error_on_machine_with_no_ldap 347s === RUN TestAdsysGPOList/No_GPO_on_OU_-_bytes 347s === RUN TestAdsysGPOList/Security_descriptor_missing_ignores_GPO 347s === RUN TestAdsysGPOList/Long_computer_name,_not_truncated 347s === RUN TestAdsysGPOList/No_GPO_on_OU_-_string 347s === RUN TestAdsysGPOList/Filter_user_only_GPOs 347s === RUN TestAdsysGPOList/Error_on_KRB5CCNAME_unset 347s === RUN TestAdsysGPOList/Return_one_gpo 347s === RUN TestAdsysGPOList/Filter_machine_only_GPOs 347s --- PASS: TestAdsysGPOList (1.48s) 347s --- PASS: TestAdsysGPOList/Forced_GPO_and_blocked_inheritance (0.09s) 347s --- PASS: TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO (0.04s) 347s --- PASS: TestAdsysGPOList/Error_on_no_network (0.05s) 347s --- PASS: TestAdsysGPOList/Error_on_user_requested_but_found_machine (0.04s) 347s --- PASS: TestAdsysGPOList/Return_hierarchy (0.04s) 347s --- PASS: TestAdsysGPOList/Disabled_GPOs (0.04s) 347s --- PASS: TestAdsysGPOList/Error_on_computer_requested_but_found_user (0.04s) 347s --- PASS: TestAdsysGPOList/Error_invalid_GPO_link (0.04s) 347s --- PASS: TestAdsysGPOList/Error_on_unreachable_ldap_host (0.04s) 347s --- PASS: TestAdsysGPOList/Error_on_ldap_connection_refused (0.05s) 347s --- PASS: TestAdsysGPOList/Error_on_non_existent_account (0.04s) 347s --- PASS: TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order (0.05s) 347s --- PASS: TestAdsysGPOList/Block_inheritance (0.05s) 347s --- PASS: TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings (0.04s) 347s --- PASS: TestAdsysGPOList/Error_on_invalid_ticket (0.04s) 347s --- PASS: TestAdsysGPOList/Error_on_dangling_ticket_symlink (0.04s) 347s --- PASS: TestAdsysGPOList/Machine_GPOs (0.04s) 347s --- PASS: TestAdsysGPOList/Fail_on_security_descriptor_access_failure (0.04s) 347s --- PASS: TestAdsysGPOList/No_gPOptions_fallbacks_to_0 (0.04s) 347s --- PASS: TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing (0.04s) 347s --- PASS: TestAdsysGPOList/Multiple_GPOs_in_same_OU (0.04s) 347s --- PASS: TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user (0.04s) 347s --- PASS: TestAdsysGPOList/Computers_truncated_at_15_characters (0.04s) 347s --- PASS: TestAdsysGPOList/Error_on_machine_with_no_ldap (0.05s) 347s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_bytes (0.08s) 347s --- PASS: TestAdsysGPOList/Security_descriptor_missing_ignores_GPO (0.05s) 347s --- PASS: TestAdsysGPOList/Long_computer_name,_not_truncated (0.05s) 347s --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_string (0.05s) 347s --- PASS: TestAdsysGPOList/Filter_user_only_GPOs (0.04s) 347s --- PASS: TestAdsysGPOList/Error_on_KRB5CCNAME_unset (0.04s) 347s --- PASS: TestAdsysGPOList/Return_one_gpo (0.04s) 347s --- PASS: TestAdsysGPOList/Filter_machine_only_GPOs (0.04s) 347s === RUN TestGetPolicyDefinitions 347s === PAUSE TestGetPolicyDefinitions 347s === CONT TestFetch 347s === CONT TestGetPoliciesOffline 347s === RUN TestGetPoliciesOffline/Error_offline_with_no_cache 347s === PAUSE TestGetPoliciesOffline/Error_offline_with_no_cache 347s === RUN TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 347s === PAUSE TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 347s === RUN TestGetPoliciesOffline/Offline,_with_assets 347s === PAUSE TestGetPoliciesOffline/Offline,_with_assets 347s === RUN TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 347s === PAUSE TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 347s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 347s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 347s === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 347s === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 347s === CONT TestGetPoliciesOffline/Error_offline_with_no_cache 347s === CONT TestGetPolicyDefinitions 347s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 347s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 347s === RUN TestGetPolicyDefinitions/Load_ADMX_and_ADML 347s === PAUSE TestGetPolicyDefinitions/Load_ADMX_and_ADML 347s === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 347s === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 347s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro 347s === CONT TestNormalizeTargetName 347s === RUN TestNormalizeTargetName/One_user_without_explicit_domain_suffix 347s === PAUSE TestNormalizeTargetName/One_user_without_explicit_domain_suffix 347s === RUN TestNormalizeTargetName/Computer_is_left_as_such 347s === PAUSE TestNormalizeTargetName/Computer_is_left_as_such 347s === RUN TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 347s === PAUSE TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 347s === RUN TestNormalizeTargetName/Computer_with_@_is_left_as_such 347s === PAUSE TestNormalizeTargetName/Computer_with_@_is_left_as_such 347s === RUN TestNormalizeTargetName/Error_on_multiple_\_in_name 347s === PAUSE TestNormalizeTargetName/Error_on_multiple_\_in_name 347s === RUN TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 347s === PAUSE TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 347s === RUN TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 347s === PAUSE TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 347s === RUN TestNormalizeTargetName/One_valid_user 347s === PAUSE TestNormalizeTargetName/One_valid_user 347s === RUN TestNormalizeTargetName/Computer_name_without_objectClass 347s === PAUSE TestNormalizeTargetName/Computer_name_without_objectClass 347s === RUN TestNormalizeTargetName/One_valid_user_with_domain\user 347s === PAUSE TestNormalizeTargetName/One_valid_user_with_domain\user 347s === RUN TestNormalizeTargetName/User_name_fqdn_matching_computer 347s === PAUSE TestNormalizeTargetName/User_name_fqdn_matching_computer 347s === RUN TestNormalizeTargetName/One_valid_user_with_mixed_case 347s === PAUSE TestNormalizeTargetName/One_valid_user_with_mixed_case 347s === CONT TestNormalizeTargetName/One_user_without_explicit_domain_suffix 347s === CONT TestGetInfo 347s === RUN TestGetInfo/Info_reported_from_backend,_online 347s === PAUSE TestGetInfo/Info_reported_from_backend,_online 347s === RUN TestGetInfo/Info_reported_from_backend,_offline 347s === PAUSE TestGetInfo/Info_reported_from_backend,_offline 347s === RUN TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 347s === PAUSE TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 347s === RUN TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 347s === PAUSE TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 347s === CONT TestGetInfo/Info_reported_from_backend,_online 347s === CONT TestListUsers 347s === RUN TestListUsers/None,_from_policy_cache 347s === PAUSE TestListUsers/None,_from_policy_cache 347s === RUN TestListUsers/Machine_Only,_from_policy_cache 347s === RUN TestFetch/one_new_gpo 347s === PAUSE TestFetch/one_new_gpo 347s === PAUSE TestListUsers/Machine_Only,_from_policy_cache 347s === RUN TestListUsers/Error_on_Krb5_directory_not_existing 347s === PAUSE TestListUsers/Error_on_Krb5_directory_not_existing 347s === RUN TestListUsers/Two_users 347s === PAUSE TestListUsers/Two_users 347s === RUN TestListUsers/None 347s === RUN TestFetch/assets_are_not_updated_if_version_matches 347s === PAUSE TestFetch/assets_are_not_updated_if_version_matches 347s === PAUSE TestListUsers/None 347s === RUN TestListUsers/Machines_are_ignored 347s === PAUSE TestListUsers/Machines_are_ignored 347s === RUN TestListUsers/One_user 347s === RUN TestFetch/Error_missing_remote_GPT.INI 347s === PAUSE TestFetch/Error_missing_remote_GPT.INI 347s === RUN TestFetch/assets_is_a_file_is_not_downloaded 347s === PAUSE TestFetch/assets_is_a_file_is_not_downloaded 347s === RUN TestFetch/two_gpos,_one_should_be_refreshed,_one_new 347s === PAUSE TestFetch/two_gpos,_one_should_be_refreshed,_one_new 347s === RUN TestFetch/two_gpos,_one_more_recent,_one_up_to_date 347s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_up_to_date 347s === RUN TestFetch/concurrent_different_gpos 347s === PAUSE TestFetch/concurrent_different_gpos 347s === RUN TestFetch/remote_version_entry_missing_treated_as_0 347s === PAUSE TestFetch/remote_version_entry_missing_treated_as_0 347s === RUN TestFetch/assets_only_are_downloaded 347s === PAUSE TestFetch/assets_only_are_downloaded 347s === RUN TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 347s === PAUSE TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 347s === RUN TestFetch/gpos_and_assets 347s === PAUSE TestFetch/gpos_and_assets 347s === RUN TestFetch/concurrent_same_gpos 347s === PAUSE TestFetch/concurrent_same_gpos 347s === RUN TestFetch/gpo_is_refreshed 347s === PAUSE TestListUsers/One_user 347s === RUN TestListUsers/Machine_Only 347s === PAUSE TestListUsers/Machine_Only 347s === RUN TestListUsers/Two_users,_from_policy_cache 347s === PAUSE TestListUsers/Two_users,_from_policy_cache 347s === RUN TestListUsers/Two_users,_dangling_symlink_for_one 347s === PAUSE TestListUsers/Two_users,_dangling_symlink_for_one 347s === RUN TestListUsers/One_user,_from_policy_cache 347s === PAUSE TestListUsers/One_user,_from_policy_cache 347s === RUN TestListUsers/Error_on_policy_cache_directory_not_existing 347s === PAUSE TestListUsers/Error_on_policy_cache_directory_not_existing 347s === RUN TestListUsers/Machines_are_ignored,_from_policy_cache 347s === PAUSE TestListUsers/Machines_are_ignored,_from_policy_cache 347s === RUN TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 347s === PAUSE TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 347s === CONT TestGetPoliciesConcurrently 347s === RUN TestGetPoliciesConcurrently/Different_users,_different_GPO 347s === PAUSE TestGetPoliciesConcurrently/Different_users,_different_GPO 347s === RUN TestGetPoliciesConcurrently/One_machine,_one_user 347s === PAUSE TestGetPoliciesConcurrently/One_machine,_one_user 347s === RUN TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 347s === PAUSE TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 347s === RUN TestGetPoliciesConcurrently/Same_user,_same_GPO 347s === PAUSE TestGetPoliciesConcurrently/Same_user,_same_GPO 347s === RUN TestGetPoliciesConcurrently/Different_users,_same_GPO 347s === PAUSE TestGetPoliciesConcurrently/Different_users,_same_GPO 347s === CONT TestGetPoliciesWorkflows 347s === RUN TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 347s === PAUSE TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 347s === RUN TestGetPoliciesWorkflows/Second_call_after_service_restarted 347s === PAUSE TestGetPoliciesWorkflows/Second_call_after_service_restarted 347s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 347s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 347s === RUN TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 347s === PAUSE TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 347s === RUN TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 347s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 347s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 347s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 347s === RUN TestGetPoliciesWorkflows/Second_call_with_different_user 347s === PAUSE TestGetPoliciesWorkflows/Second_call_with_different_user 347s === RUN TestGetPoliciesWorkflows/Second_call_after_a_relogin 347s === PAUSE TestGetPoliciesWorkflows/Second_call_after_a_relogin 347s === RUN TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 347s === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 347s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets 347s === PAUSE TestFetch/gpo_is_refreshed 347s === RUN TestFetch/two_gpos,_one_more_recent,_one_new 347s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_new 347s === RUN TestFetch/keep_existing_gpos_intact 347s === PAUSE TestFetch/keep_existing_gpos_intact 347s === RUN TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 347s === PAUSE TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 347s === RUN TestFetch/Error_unexistant_remote_gpo 347s === PAUSE TestFetch/Error_unexistant_remote_gpo 347s === RUN TestFetch/gpo_already_up_to_date 347s === PAUSE TestFetch/gpo_already_up_to_date 347s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 347s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 347s === RUN TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 347s === PAUSE TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 347s === RUN TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 347s === PAUSE TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 347s === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_new 347s === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_new 347s === RUN TestFetch/Error_remote_version_NaN 347s === PAUSE TestFetch/Error_remote_version_NaN 347s === RUN TestFetch/Error_keeps_downloading_other_GPOS 347s === PAUSE TestFetch/Error_keeps_downloading_other_GPOS 347s === RUN TestFetch/two_new_gpos 347s === PAUSE TestFetch/two_new_gpos 347s === RUN TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 347s === PAUSE TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 347s === RUN TestFetch/assets_are_updated_to_latest_version 347s === PAUSE TestFetch/assets_are_updated_to_latest_version 347s === RUN TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 347s === PAUSE TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 347s === RUN TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 347s === PAUSE TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 347s === RUN TestFetch/local_gpo_is_more_recent_than_AD_one 347s === PAUSE TestFetch/local_gpo_is_more_recent_than_AD_one 347s === RUN TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 347s === PAUSE TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 347s === RUN TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 347s === PAUSE TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 347s === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:00Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 347s time="2024-03-21T02:25:00Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 347s === CONT TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache 347s === CONT TestGetPoliciesOffline/Offline,_with_assets 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@ASSETSANDGPO.COM\" policies are applied using previous online update" 347s === CONT TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list 347s === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format 347s === CONT TestGetPolicyDefinitions/Load_ADMX_and_ADML 347s --- PASS: TestGetPolicyDefinitions (0.00s) 347s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro (0.00s) 347s --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format (0.00s) 347s --- PASS: TestGetPolicyDefinitions/Load_ADMX_and_ADML (0.01s) 347s === CONT TestNormalizeTargetName/One_valid_user_with_mixed_case 347s === CONT TestNormalizeTargetName/User_name_fqdn_matching_computer 347s === CONT TestNormalizeTargetName/One_valid_user_with_domain\user 347s === CONT TestNormalizeTargetName/Computer_name_without_objectClass 347s === CONT TestNormalizeTargetName/One_valid_user 347s === CONT TestNormalizeTargetName/User_name_matching_computer,_setting_as_user 347s === CONT TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s === CONT TestNormalizeTargetName/Error_on_multiple_\_in_name 347s === CONT TestNormalizeTargetName/Computer_with_@_is_left_as_such 347s === CONT TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such 347s === CONT TestNormalizeTargetName/Computer_is_left_as_such 347s --- PASS: TestNormalizeTargetName (0.00s) 347s --- PASS: TestNormalizeTargetName/One_user_without_explicit_domain_suffix (0.00s) 347s --- PASS: TestNormalizeTargetName/One_valid_user_with_mixed_case (0.00s) 347s --- PASS: TestNormalizeTargetName/User_name_fqdn_matching_computer (0.00s) 347s --- PASS: TestNormalizeTargetName/One_valid_user_with_domain\user (0.00s) 347s --- PASS: TestNormalizeTargetName/Computer_name_without_objectClass (0.00s) 347s --- PASS: TestNormalizeTargetName/One_valid_user (0.00s) 347s --- PASS: TestNormalizeTargetName/User_name_matching_computer,_setting_as_user (0.00s) 347s --- PASS: TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user (0.01s) 347s --- PASS: TestNormalizeTargetName/Error_on_multiple_\_in_name (0.00s) 347s --- PASS: TestNormalizeTargetName/Computer_with_@_is_left_as_such (0.00s) 347s --- PASS: TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such (0.00s) 347s --- PASS: TestNormalizeTargetName/Computer_is_left_as_such (0.00s) 347s === CONT TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail 347s === CONT TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail 347s time="2024-03-21T02:25:00Z" level=warning msg="IsOnline returned an error" 347s === CONT TestGetInfo/Info_reported_from_backend,_offline 347s --- PASS: TestGetInfo (0.00s) 347s --- PASS: TestGetInfo/Info_reported_from_backend,_online (0.00s) 347s --- PASS: TestGetInfo/Report_unknown_state_if_ServerFQDN_calls_fail (0.00s) 347s --- PASS: TestGetInfo/Report_unknown_state_if_IsOnline_calls_fail (0.00s) 347s --- PASS: TestGetInfo/Info_reported_from_backend,_offline (0.00s) 347s === CONT TestParseGPOConcurrent 347s time="2024-03-21T02:25:00Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@GPOONLY.COM\" policies are applied using previous online update" 347s === CONT TestGetPolicies 347s === RUN TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 347s === PAUSE TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 347s === RUN TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 347s === PAUSE TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 347s === RUN TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 347s === PAUSE TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 347s === RUN TestGetPolicies/No_override_for_this_release,_takes_default_value 347s === PAUSE TestGetPolicies/No_override_for_this_release,_takes_default_value 347s === RUN TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 347s === PAUSE TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 347s === RUN TestGetPolicies/Policy_user_directory_is_uppercase 347s === PAUSE TestGetPolicies/Policy_user_directory_is_uppercase 347s === RUN TestGetPolicies/Policy_machine_directory_is_uppercase 347s === PAUSE TestGetPolicies/Policy_machine_directory_is_uppercase 347s === RUN TestGetPolicies/Unexisting_CC_original_file_for_user 347s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_user 347s === RUN TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 347s === PAUSE TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 347s === RUN TestGetPolicies/Corrupted_policy_file 347s === PAUSE TestGetPolicies/Corrupted_policy_file 347s === RUN TestGetPolicies/Multiple_domains,_same_GPO 347s === PAUSE TestGetPolicies/Multiple_domains,_same_GPO 347s === RUN TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 347s === PAUSE TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 347s === RUN TestGetPolicies/Error_on_user_without_@_in_name 347s === PAUSE TestGetPolicies/Error_on_user_without_@_in_name 347s === RUN TestGetPolicies/User_only_policy,_user_object 347s === PAUSE TestGetPolicies/User_only_policy,_user_object 347s === RUN TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 347s === PAUSE TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 347s === RUN TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 347s === PAUSE TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 347s === RUN TestGetPolicies/Disabled_override 347s === PAUSE TestGetPolicies/Disabled_override 347s === RUN TestGetPolicies/Same_key_in_different_domains_are_kept_separated 347s === PAUSE TestGetPolicies/Same_key_in_different_domains_are_kept_separated 347s === RUN TestGetPolicies/Two_policies,_with_reversed_overrides 347s === PAUSE TestGetPolicies/Two_policies,_with_reversed_overrides 347s === RUN TestGetPolicies/Two_policies,_no_overrides,_reversed 347s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_reversed 347s === RUN TestGetPolicies/Standard_policy_with_assets,_downloads_assets 347s === PAUSE TestGetPolicies/Standard_policy_with_assets,_downloads_assets 347s === RUN TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 347s === PAUSE TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 347s === RUN TestGetPolicies/Two_policies,_with_overrides 347s === PAUSE TestGetPolicies/Two_policies,_with_overrides 347s === RUN TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 347s === PAUSE TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 347s === RUN TestGetPolicies/More_policies,_with_multiple_overrides 347s === PAUSE TestGetPolicies/More_policies,_with_multiple_overrides 347s === RUN TestGetPolicies/Filter_non_Ubuntu_keys 347s === PAUSE TestGetPolicies/Filter_non_Ubuntu_keys 347s === RUN TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 347s === PAUSE TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 347s === RUN TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 347s === PAUSE TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 347s === RUN TestGetPolicies/Symlinks_can’t_be_created 347s === PAUSE TestGetPolicies/Symlinks_can’t_be_created 347s === RUN TestGetPolicies/Standard_policy,_user_object 347s === PAUSE TestGetPolicies/Standard_policy,_user_object 347s === RUN TestGetPolicies/Disabled_value_overrides_non_disabled_one 347s === PAUSE TestGetPolicies/Disabled_value_overrides_non_disabled_one 347s === RUN TestGetPolicies/Machine_doesn’t_match 347s === PAUSE TestGetPolicies/Machine_doesn’t_match 347s === RUN TestGetPolicies/Policy_can’t_be_downloaded 347s === PAUSE TestGetPolicies/Policy_can’t_be_downloaded 347s === RUN TestGetPolicies/Unsupported_type_for_unfiltered_entry 347s === PAUSE TestGetPolicies/Unsupported_type_for_unfiltered_entry 347s === RUN TestGetPolicies/Empty_value_for_unfiltered_entry 347s === PAUSE TestGetPolicies/Empty_value_for_unfiltered_entry 347s === RUN TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 347s === PAUSE TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 347s === RUN TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 347s === PAUSE TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 347s === RUN TestGetPolicies/Two_policies,_no_overrides 347s === PAUSE TestGetPolicies/Two_policies,_no_overrides 347s === RUN TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 347s === PAUSE TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 347s === RUN TestGetPolicies/Unexisting_CC_original_file_for_machine 347s === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_machine 347s === RUN TestGetPolicies/Standard_policy,_computer_object 347s === PAUSE TestGetPolicies/Standard_policy,_computer_object 347s === RUN TestGetPolicies/Enabled_override 347s === PAUSE TestGetPolicies/Enabled_override 347s === RUN TestGetPolicies/Disabled_value_is_overridden 347s === PAUSE TestGetPolicies/Disabled_value_is_overridden 347s === RUN TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 347s === PAUSE TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 347s === RUN TestGetPolicies/Error_on_backend_IsOnline_call_failed 347s === PAUSE TestGetPolicies/Error_on_backend_IsOnline_call_failed 347s --- PASS: TestGetPoliciesOffline (0.00s) 347s --- PASS: TestGetPoliciesOffline/Error_offline_with_no_cache (0.00s) 347s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only (0.14s) 347s --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets (0.16s) 347s --- PASS: TestGetPoliciesOffline/Offline,_with_assets (0.12s) 347s --- PASS: TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache (0.17s) 347s --- PASS: TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list (0.10s) 347s === CONT TestNew 347s === RUN TestNew/create_KRB5_and_Sysvol_cache_directory 347s === PAUSE TestNew/create_KRB5_and_Sysvol_cache_directory 347s === RUN TestNew/failed_to_create_KRB5_cache_directory 347s === PAUSE TestNew/failed_to_create_KRB5_cache_directory 347s === RUN TestNew/failed_to_create_Sysvol_cache_directory 347s === PAUSE TestNew/failed_to_create_Sysvol_cache_directory 347s === RUN TestNew/failed_to_create_Policies_cache_directory 347s === PAUSE TestNew/failed_to_create_Policies_cache_directory 347s === RUN TestNew/no_active_server_in_backend_does_not_fail_ad_creation 347s === PAUSE TestNew/no_active_server_in_backend_does_not_fail_ad_creation 347s === RUN TestNew/error_on_backend_ServerFQDN_random_failure 347s === PAUSE TestNew/error_on_backend_ServerFQDN_random_failure 347s === CONT TestFetchTweakSysvolCacheDir 347s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 347s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 347s === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 347s === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 347s === CONT TestFetchOneGPOWhileParsingItConcurrently 347s --- PASS: TestParseGPOConcurrent (0.24s) 347s === CONT TestFetchWithUnreadableFile 347s === RUN TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 347s === PAUSE TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 347s === RUN TestFetchWithUnreadableFile/existing_gpo_is_preserved 347s === PAUSE TestFetchWithUnreadableFile/existing_gpo_is_preserved 347s === CONT TestListUsers/None,_from_policy_cache 347s === CONT TestGetPoliciesConcurrently/Different_users,_different_GPO 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"standard-name\"" 347s --- PASS: TestFetchOneGPOWhileParsingItConcurrently (0.14s) 347s === CONT TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested 347s === CONT TestListUsers/Machines_are_ignored,_from_policy_cache 347s === CONT TestListUsers/Error_on_policy_cache_directory_not_existing 347s === CONT TestListUsers/One_user,_from_policy_cache 347s === CONT TestListUsers/Two_users,_dangling_symlink_for_one 347s === CONT TestListUsers/Two_users,_from_policy_cache 347s === CONT TestListUsers/Machine_Only 347s === CONT TestListUsers/One_user 347s === CONT TestListUsers/Machines_are_ignored 347s === CONT TestListUsers/None 347s === CONT TestListUsers/Two_users 347s === CONT TestListUsers/Error_on_Krb5_directory_not_existing 347s === CONT TestListUsers/Machine_Only,_from_policy_cache 347s --- PASS: TestListUsers (0.00s) 347s --- PASS: TestListUsers/None,_from_policy_cache (0.00s) 347s --- PASS: TestListUsers/Ticket_cache_ignored_if_policy_cache_is_requested (0.00s) 347s --- PASS: TestListUsers/Machines_are_ignored,_from_policy_cache (0.00s) 347s --- PASS: TestListUsers/Error_on_policy_cache_directory_not_existing (0.00s) 347s --- PASS: TestListUsers/One_user,_from_policy_cache (0.00s) 347s --- PASS: TestListUsers/Two_users,_dangling_symlink_for_one (0.00s) 347s --- PASS: TestListUsers/Two_users,_from_policy_cache (0.00s) 347s --- PASS: TestListUsers/Machine_Only (0.00s) 347s --- PASS: TestListUsers/One_user (0.00s) 347s --- PASS: TestListUsers/Machines_are_ignored (0.00s) 347s --- PASS: TestListUsers/None (0.00s) 347s --- PASS: TestListUsers/Two_users (0.00s) 347s --- PASS: TestListUsers/Error_on_Krb5_directory_not_existing (0.00s) 347s --- PASS: TestListUsers/Machine_Only,_from_policy_cache (0.00s) 347s === CONT TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:00Z" level=info msg="Downloading \"standard-name\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:01Z" level=info msg="Downloading \"one-value-name\"" 347s time="2024-03-21T02:25:01Z" level=info msg="Assets directory is already up to date" 347s === CONT TestGetPoliciesConcurrently/Different_users,_same_GPO 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:01Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:01Z" level=info msg="GPO \"standard-name\" is already up to date" 347s time="2024-03-21T02:25:01Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:01Z" level=info msg="Downloading \"assets\"" 347s === CONT TestGetPoliciesConcurrently/Same_user,_same_GPO 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:01Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:01Z" level=info msg="GPO \"standard-name\" is already up to date" 347s time="2024-03-21T02:25:01Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:01Z" level=info msg="Assets directory is already up to date" 347s === CONT TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:01Z" level=info msg="Downloading \"standard-name\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:01Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:01Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:01Z" level=info msg="GPO \"standard-name\" is already up to date" 347s === CONT TestGetPoliciesConcurrently/One_machine,_one_user 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:01Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:01Z" level=info msg="GPO \"standard-name\" is already up to date" 347s time="2024-03-21T02:25:01Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:01Z" level=info msg="Downloading \"standard-name\"" 347s === CONT TestFetch/one_new_gpo 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"gpo1-name\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="GPO \"standard-name\" is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="Assets directory is already up to date" 347s --- PASS: TestGetPoliciesConcurrently (0.00s) 347s --- PASS: TestGetPoliciesConcurrently/Different_users,_different_GPO (0.21s) 347s --- PASS: TestGetPoliciesConcurrently/Different_users,_same_GPO (0.68s) 347s --- PASS: TestGetPoliciesConcurrently/Same_user,_same_GPO (0.28s) 347s --- PASS: TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time (0.29s) 347s --- PASS: TestGetPoliciesConcurrently/One_machine,_one_user (0.22s) 347s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_a_restart 347s === CONT TestGetPoliciesWorkflows/Second_call_after_a_relogin 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"standard-name\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="GPO \"standard-name\" is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="GPO \"standard-name\" is already up to date" 347s === CONT TestGetPoliciesWorkflows/Second_call_with_different_user 347s === CONT TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"standard-name\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"assets\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="GPO \"standard-name\" is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="GPO \"standard-name\" is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="Assets directory is already up to date" 347s === CONT TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) 347s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"assets\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="GPO \"standard-name\" is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:02Z" level=info msg="GPO \"standard-name\" is already up to date" 347s === CONT TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed 347s === CONT TestGetPoliciesWorkflows/Second_call_after_service_restarted 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:02Z" level=info msg="Downloading \"standard-name\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"standard-name\" is already up to date" 347s time="2024-03-21T02:25:03Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:03Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"standard-name\" is already up to date" 347s --- PASS: TestGetPoliciesWorkflows (0.00s) 347s --- PASS: TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) (0.72s) 347s --- PASS: TestGetPoliciesWorkflows/Second_call_after_a_relogin (0.23s) 347s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_a_restart (0.25s) 347s --- PASS: TestGetPoliciesWorkflows/Second_call_with_different_user (0.28s) 347s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted (0.27s) 347s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_replaces_previous_symlinks_in_the_original_path (0.22s) 347s --- PASS: TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) (0.22s) 347s --- PASS: TestGetPoliciesWorkflows/Second_call_after_service_restarted (0.22s) 347s --- PASS: TestGetPoliciesWorkflows/Second_call_without_Krb5CCName_refreshes_ticket_copy_if_needed (0.23s) 347s === CONT TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing 347s === CONT TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Assets directory is already up to date" 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s === CONT TestFetch/local_gpo_is_more_recent_than_AD_one 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo2-name\" is already up to date" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo2-name\" is already up to date" 347s === CONT TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s === CONT TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s === CONT TestFetch/assets_are_updated_to_latest_version 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"assets\"" 347s === CONT TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI 347s time="2024-03-21T02:25:03Z" level=info msg="No version key found in GPT.INI for gpo1-name, assuming 0" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s === CONT TestFetch/two_new_gpos 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo2-name\"" 347s === CONT TestFetch/Error_keeps_downloading_other_GPOS 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo2-name\"" 347s === CONT TestFetch/Error_remote_version_NaN 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_new 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo1-name\" is already up to date" 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo2-name\"" 347s === CONT TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Assets directory is already up to date" 347s === CONT TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI 347s time="2024-03-21T02:25:03Z" level=warning msg="Invalid local GPT.INI for gpo1-name: invalid remote GPT.INI: strconv.ParseInt: parsing \"NaN\": invalid syntax\nDownloading it again…" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo2-name\" is already up to date" 347s === CONT TestFetch/gpo_already_up_to_date 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo1-name\" is already up to date" 347s === CONT TestFetch/Error_unexistant_remote_gpo 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s === CONT TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s === CONT TestFetch/keep_existing_gpos_intact 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo1-name\" is already up to date" 347s === CONT TestFetch/two_gpos,_one_more_recent,_one_new 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo2-name\" is already up to date" 347s === CONT TestFetch/gpo_is_refreshed 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s === CONT TestFetch/concurrent_same_gpos 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s === CONT TestFetch/gpos_and_assets 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo1-name\" is already up to date" 347s === CONT TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided 347s === CONT TestFetch/assets_only_are_downloaded 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"assets\"" 347s === CONT TestFetch/remote_version_entry_missing_treated_as_0 347s === CONT TestFetch/concurrent_different_gpos 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="No version key found in GPT.INI for gpt_ini_version_missing-name, assuming 0" 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo2-name\"" 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpt_ini_version_missing-name\" is already up to date" 347s === CONT TestFetch/two_gpos,_one_more_recent,_one_up_to_date 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo2-name\" is already up to date" 347s time="2024-03-21T02:25:03Z" level=info msg="GPO \"gpo1-name\" is already up to date" 347s === CONT TestFetch/two_gpos,_one_should_be_refreshed,_one_new 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo2-name\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:03Z" level=info msg="Downloading \"gpo1-name\"" 347s === CONT TestFetch/assets_is_a_file_is_not_downloaded 347s === CONT TestFetch/Error_missing_remote_GPT.INI 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s === CONT TestFetch/assets_are_not_updated_if_version_matches 347s === CONT TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="Assets directory is already up to date" 347s --- PASS: TestFetch (0.01s) 347s --- PASS: TestFetch/one_new_gpo (0.07s) 347s --- PASS: TestFetch/assets_are_not_updated_if_local_version_matches,_with_non-standard_GPT.INI_casing (0.04s) 347s --- PASS: TestFetch/local_gpo_is_more_recent_than_AD_one (0.02s) 347s --- PASS: TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only (0.02s) 347s --- PASS: TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL (0.02s) 347s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed (0.12s) 347s --- PASS: TestFetch/assets_are_updated_to_latest_version (0.05s) 347s --- PASS: TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI (0.08s) 347s --- PASS: TestFetch/two_new_gpos (0.08s) 347s --- PASS: TestFetch/Error_remote_version_NaN (0.02s) 347s --- PASS: TestFetch/Error_keeps_downloading_other_GPOS (0.07s) 347s --- PASS: TestFetch/assets_are_not_updated_if_remote_version_matches,_with_non-standard_GPT.INI_casing (0.01s) 347s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_new (0.06s) 347s --- PASS: TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI (0.07s) 347s --- PASS: TestFetch/gpo_already_up_to_date (0.03s) 347s --- PASS: TestFetch/Error_unexistant_remote_gpo (0.02s) 347s --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed (0.13s) 347s --- PASS: TestFetch/keep_existing_gpos_intact (0.03s) 347s --- PASS: TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI (0.12s) 347s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_new (0.10s) 347s --- PASS: TestFetch/gpo_is_refreshed (0.11s) 347s --- PASS: TestFetch/concurrent_same_gpos (0.10s) 347s --- PASS: TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided (0.00s) 347s --- PASS: TestFetch/assets_only_are_downloaded (0.08s) 347s --- PASS: TestFetch/gpos_and_assets (0.13s) 347s --- PASS: TestFetch/remote_version_entry_missing_treated_as_0 (0.05s) 347s --- PASS: TestFetch/two_gpos,_one_more_recent,_one_up_to_date (0.04s) 347s --- PASS: TestFetch/two_gpos,_one_should_be_refreshed,_one_new (0.14s) 347s --- PASS: TestFetch/concurrent_different_gpos (0.22s) 347s --- PASS: TestFetch/assets_is_a_file_is_not_downloaded (0.04s) 347s --- PASS: TestFetch/Error_missing_remote_GPT.INI (0.03s) 347s --- PASS: TestFetch/assets_are_not_updated_if_version_matches (0.02s) 347s === CONT TestNew/create_KRB5_and_Sysvol_cache_directory 347s === CONT TestGetPolicies/Error_on_backend_IsOnline_call_failed 347s === CONT TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName 347s === CONT TestGetPolicies/Disabled_value_is_overridden 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"disabled-value-name\"" 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"machine-only-name\"" 347s === CONT TestGetPolicies/Enabled_override 347s === CONT TestGetPolicies/Standard_policy,_computer_object 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"multiple-releases-one-enabled-name\"" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"standard-name\"" 347s === CONT TestGetPolicies/Unexisting_CC_original_file_for_machine 347s === CONT TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 347s === CONT TestGetPolicies/Two_policies,_no_overrides 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"user-only-name\"" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"lowercase-class-name\"" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"one-value-name\"" 347s === CONT TestGetPolicies/Assets_can’t_be_downloaded_without_GPO 347s === CONT TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed 347s === CONT TestGetPolicies/Empty_value_for_unfiltered_entry 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:04Z" level=info msg="Assets directory is already up to date" 347s === CONT TestGetPolicies/Unsupported_type_for_unfiltered_entry 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"empty-value-name\"" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"bad-entry-type-name\"" 347s === CONT TestGetPolicies/Policy_can’t_be_downloaded 347s === CONT TestGetPolicies/Machine_doesn’t_match 347s === CONT TestGetPolicies/Disabled_value_overrides_non_disabled_one 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"standard-name\"" 347s === CONT TestGetPolicies/Standard_policy,_user_object 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"disabled-value-name\"" 347s === CONT TestGetPolicies/Symlinks_can’t_be_created 347s === CONT TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"unsupported-with-errors-name\"" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"standard-name\"" 347s === CONT TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed 347s === CONT TestGetPolicies/Filter_non_Ubuntu_keys 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:04Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"filtered-name\"" 347s time="2024-03-21T02:25:04Z" level=info msg="Downloading \"lowercase-class-name\"" 347s === CONT TestGetPolicies/More_policies,_with_multiple_overrides 347s === CONT TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:05Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:05Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"one-value-name\"" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"machine-only-name\"" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"user-only-name\"" 347s === CONT TestGetPolicies/Two_policies,_with_overrides 347s === CONT TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:05Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:05Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"one-value-name\"" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"standard-name\"" 347s === CONT TestGetPolicies/Standard_policy_with_assets,_downloads_assets 347s === CONT TestGetPolicies/Two_policies,_no_overrides,_reversed 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:05Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"assets\"" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"one-value-name\"" 347s time="2024-03-21T02:25:05Z" level=info msg="Downloading \"user-only-name\"" 347s === CONT TestGetPolicies/Two_policies,_with_reversed_overrides 347s === CONT TestGetPolicies/Same_key_in_different_domains_are_kept_separated 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"other-domain-name\"" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"one-value-name\"" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"one-value-name\"" 347s === CONT TestGetPolicies/Disabled_override 347s === CONT TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"standard-name\"" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"multiple-releases-one-disabled-name\"" 347s === CONT TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty 347s === CONT TestGetPolicies/User_only_policy,_user_object 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"user-only-name\"" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"user-only-name\"" 347s === CONT TestGetPolicies/Error_on_user_without_@_in_name 347s === CONT TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed 347s === CONT TestGetPolicies/Multiple_domains,_same_GPO 347s === CONT TestGetPolicies/Corrupted_policy_file 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"corrupted-policy-name\"" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"multiple-domains-name\"" 347s === CONT TestGetPolicies/Error_on_backend_ServerFQDN_call_failed 347s === CONT TestGetPolicies/Unexisting_CC_original_file_for_user 347s === CONT TestGetPolicies/Policy_machine_directory_is_uppercase 347s === CONT TestGetPolicies/Policy_user_directory_is_uppercase 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"uppercase-class-name\"" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"uppercase-class-name\"" 347s === CONT TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment 347s === CONT TestGetPolicies/No_override_for_this_release,_takes_default_value 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"filtered-with-certificate-autoenrollment-name\"" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"multiple-releases-name\"" 347s === CONT TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored 347s === CONT TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"multiple-releases-name\"" 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"multiple-releases-name\"" 347s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"gpo1-name\"" 347s --- PASS: TestGetPolicies (0.00s) 347s --- PASS: TestGetPolicies/Error_on_backend_IsOnline_call_failed (0.00s) 347s --- PASS: TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName (0.00s) 347s --- PASS: TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty (0.14s) 347s --- PASS: TestGetPolicies/Disabled_value_is_overridden (0.13s) 347s --- PASS: TestGetPolicies/Enabled_override (0.12s) 347s --- PASS: TestGetPolicies/Standard_policy,_computer_object (0.12s) 347s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_machine (0.00s) 347s --- PASS: TestGetPolicies/Two_policies,_no_overrides (0.12s) 347s --- PASS: TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.12s) 347s --- PASS: TestGetPolicies/Assets_can’t_be_downloaded_without_GPO (0.07s) 347s --- PASS: TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed (0.08s) 347s --- PASS: TestGetPolicies/Empty_value_for_unfiltered_entry (0.13s) 347s --- PASS: TestGetPolicies/Unsupported_type_for_unfiltered_entry (0.11s) 347s --- PASS: TestGetPolicies/Machine_doesn’t_match (0.00s) 347s --- PASS: TestGetPolicies/Policy_can’t_be_downloaded (0.10s) 347s --- PASS: TestGetPolicies/Disabled_value_overrides_non_disabled_one (0.11s) 347s --- PASS: TestGetPolicies/Symlinks_can’t_be_created (0.00s) 347s --- PASS: TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys (0.13s) 347s --- PASS: TestGetPolicies/Standard_policy,_user_object (0.16s) 347s --- PASS: TestGetPolicies/Filter_non_Ubuntu_keys (0.10s) 347s --- PASS: TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (0.11s) 347s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user (0.42s) 347s --- PASS: TestGetPolicies/More_policies,_with_multiple_overrides (0.44s) 347s --- PASS: TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db (0.40s) 347s --- PASS: TestGetPolicies/Two_policies,_with_overrides (0.42s) 347s --- PASS: TestGetPolicies/Two_policies,_no_overrides,_reversed (0.13s) 347s --- PASS: TestGetPolicies/Standard_policy_with_assets,_downloads_assets (0.15s) 347s --- PASS: TestGetPolicies/Same_key_in_different_domains_are_kept_separated (0.12s) 347s --- PASS: TestGetPolicies/Two_policies,_with_reversed_overrides (0.14s) 347s --- PASS: TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol (0.12s) 347s --- PASS: TestGetPolicies/Disabled_override (0.14s) 347s --- PASS: TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty (0.11s) 347s --- PASS: TestGetPolicies/Error_on_user_without_@_in_name (0.00s) 347s --- PASS: TestGetPolicies/Error_on_backend_HostKrb5CCName_call_failed (0.00s) 347s --- PASS: TestGetPolicies/User_only_policy,_user_object (0.11s) 347s --- PASS: TestGetPolicies/Corrupted_policy_file (0.13s) 347s --- PASS: TestGetPolicies/Error_on_backend_ServerFQDN_call_failed (0.00s) 347s --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_user (0.00s) 347s --- PASS: TestGetPolicies/Multiple_domains,_same_GPO (0.14s) 347s --- PASS: TestGetPolicies/Policy_user_directory_is_uppercase (0.11s) 347s --- PASS: TestGetPolicies/Policy_machine_directory_is_uppercase (0.13s) 347s --- PASS: TestGetPolicies/Include_non_Ubuntu_keys_used_to_configure_certificate_autoenrollment (0.09s) 347s --- PASS: TestGetPolicies/No_override_for_this_release,_takes_default_value (0.08s) 347s --- PASS: TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored (0.11s) 347s --- PASS: TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored (0.13s) 347s === CONT TestNew/error_on_backend_ServerFQDN_random_failure 347s === CONT TestNew/no_active_server_in_backend_does_not_fail_ad_creation 347s === CONT TestNew/failed_to_create_Policies_cache_directory 347s === CONT TestNew/failed_to_create_Sysvol_cache_directory 347s === CONT TestNew/failed_to_create_KRB5_cache_directory 347s === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only 347s --- PASS: TestNew (0.00s) 347s --- PASS: TestNew/create_KRB5_and_Sysvol_cache_directory (0.00s) 347s --- PASS: TestNew/error_on_backend_ServerFQDN_random_failure (0.00s) 347s --- PASS: TestNew/no_active_server_in_backend_does_not_fail_ad_creation (0.00s) 347s --- PASS: TestNew/failed_to_create_Sysvol_cache_directory (0.00s) 347s --- PASS: TestNew/failed_to_create_KRB5_cache_directory (0.00s) 347s --- PASS: TestNew/failed_to_create_Policies_cache_directory (0.01s) 347s === CONT TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"gpo1-name\"" 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"gpo1-name\"" 347s --- PASS: TestFetchTweakSysvolCacheDir (0.00s) 347s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist (0.02s) 347s --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only (0.03s) 347s === CONT TestFetchWithUnreadableFile/existing_gpo_is_preserved 347s Kerberos auth with 'ubuntu@WORKGROUP' (WORKGROUP\ubuntu) to access 'localhost' not possible 347s time="2024-03-21T02:25:06Z" level=info msg="Downloading \"gpo1-name\"" 347s --- PASS: TestFetchWithUnreadableFile (0.00s) 347s --- PASS: TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO (0.05s) 347s --- PASS: TestFetchWithUnreadableFile/existing_gpo_is_preserved (0.05s) 347s PASS 347s ok github.com/ubuntu/adsys/internal/ad 8.687s 347s === RUN TestGenerateExpandedCategories 347s === PAUSE TestGenerateExpandedCategories 347s === RUN TestExpandedCategoriesToADMX 347s === PAUSE TestExpandedCategoriesToADMX 347s === RUN TestExpandedCategoriesToMD 347s === PAUSE TestExpandedCategoriesToMD 347s === RUN TestExpand 347s === PAUSE TestExpand 347s === RUN TestGenerateAD 347s === PAUSE TestGenerateAD 347s === RUN TestGenerateDoc 347s === PAUSE TestGenerateDoc 347s === CONT TestGenerateExpandedCategories 347s === RUN TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 347s === PAUSE TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 347s === RUN TestGenerateExpandedCategories/meta_entry_only 347s === PAUSE TestGenerateExpandedCategories/meta_entry_only 347s === RUN TestGenerateExpandedCategories/error_on_missing_release 347s === PAUSE TestGenerateExpandedCategories/error_on_missing_release 347s === RUN TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 347s === PAUSE TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 347s === RUN TestGenerateExpandedCategories/different_defaults 347s === PAUSE TestGenerateExpandedCategories/different_defaults 347s === RUN TestGenerateExpandedCategories/nested_categories 347s === PAUSE TestGenerateExpandedCategories/nested_categories 347s === RUN TestGenerateExpandedCategories/different_range 347s === PAUSE TestGenerateExpandedCategories/different_range 347s === RUN TestGenerateExpandedCategories/error_on_empty_default_policy_class 347s === PAUSE TestGenerateExpandedCategories/error_on_empty_default_policy_class 347s === RUN TestGenerateExpandedCategories/category_definition_doesn't_exist 347s === PAUSE TestGenerateExpandedCategories/category_definition_doesn't_exist 347s === RUN TestGenerateExpandedCategories/simple 347s === PAUSE TestGenerateExpandedCategories/simple 347s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories 347s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories 347s === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 347s === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 347s === RUN TestGenerateExpandedCategories/different_element_type 347s === PAUSE TestGenerateExpandedCategories/different_element_type 347s === RUN TestGenerateExpandedCategories/error_on_one_policy_not_used 347s === PAUSE TestGenerateExpandedCategories/error_on_one_policy_not_used 347s === RUN TestGenerateExpandedCategories/different_explain_text 347s === PAUSE TestGenerateExpandedCategories/different_explain_text 347s === RUN TestGenerateExpandedCategories/multiple_top_categories 347s === PAUSE TestGenerateExpandedCategories/multiple_top_categories 347s === RUN TestGenerateExpandedCategories/no_note 347s === PAUSE TestGenerateExpandedCategories/no_note 347s === RUN TestGenerateExpandedCategories/no_meta_at_all 347s === PAUSE TestGenerateExpandedCategories/no_meta_at_all 347s === RUN TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 347s === PAUSE TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 347s === RUN TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 347s === PAUSE TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 347s === RUN TestGenerateExpandedCategories/same_default 347s === PAUSE TestGenerateExpandedCategories/same_default 347s === RUN TestGenerateExpandedCategories/no_defaults 347s === PAUSE TestGenerateExpandedCategories/no_defaults 347s === RUN TestGenerateExpandedCategories/two_policies 347s === PAUSE TestGenerateExpandedCategories/two_policies 347s === RUN TestGenerateExpandedCategories/applicable_to_all_releases 347s === PAUSE TestGenerateExpandedCategories/applicable_to_all_releases 347s === RUN TestGenerateExpandedCategories/choices 347s === PAUSE TestGenerateExpandedCategories/choices 347s === RUN TestGenerateExpandedCategories/requires_ubuntu_pro 347s === PAUSE TestGenerateExpandedCategories/requires_ubuntu_pro 347s === RUN TestGenerateExpandedCategories/different_meta 347s === PAUSE TestGenerateExpandedCategories/different_meta 347s === RUN TestGenerateExpandedCategories/no_meta_enabled 347s === PAUSE TestGenerateExpandedCategories/no_meta_enabled 347s === RUN TestGenerateExpandedCategories/no_meta_disabled 347s === PAUSE TestGenerateExpandedCategories/no_meta_disabled 347s === RUN TestGenerateExpandedCategories/with_prefix 347s === PAUSE TestGenerateExpandedCategories/with_prefix 347s === RUN TestGenerateExpandedCategories/no_note_strategy_append 347s === PAUSE TestGenerateExpandedCategories/no_note_strategy_append 347s === RUN TestGenerateExpandedCategories/range 347s === PAUSE TestGenerateExpandedCategories/range 347s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 347s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 347s === RUN TestGenerateExpandedCategories/error_on_different_policy_type 347s === PAUSE TestGenerateExpandedCategories/error_on_different_policy_type 347s === RUN TestGenerateExpandedCategories/error_on_nested_category 347s === PAUSE TestGenerateExpandedCategories/error_on_nested_category 347s === RUN TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 347s === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 347s === RUN TestGenerateExpandedCategories/error_on_different_class 347s === PAUSE TestGenerateExpandedCategories/error_on_different_class 347s === RUN TestGenerateExpandedCategories/error_on_invalid_default_policy_class 347s === PAUSE TestGenerateExpandedCategories/error_on_invalid_default_policy_class 347s === RUN TestGenerateExpandedCategories/policy_directory_doesn't_exist 347s === PAUSE TestGenerateExpandedCategories/policy_directory_doesn't_exist 347s === RUN TestGenerateExpandedCategories/available_on_one_release_only 347s === PAUSE TestGenerateExpandedCategories/available_on_one_release_only 347s === RUN TestGenerateExpandedCategories/different_display_name 347s === PAUSE TestGenerateExpandedCategories/different_display_name 347s === RUN TestGenerateExpandedCategories/default_policy_class_is_capitalized 347s === PAUSE TestGenerateExpandedCategories/default_policy_class_is_capitalized 347s === RUN TestGenerateExpandedCategories/basic 347s === PAUSE TestGenerateExpandedCategories/basic 347s === RUN TestGenerateExpandedCategories/different_choices 347s === PAUSE TestGenerateExpandedCategories/different_choices 347s === RUN TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 347s === PAUSE TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 347s === CONT TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 347s === CONT TestGenerateExpandedCategories/requires_ubuntu_pro 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateDoc 347s === RUN TestGenerateDoc/releases_from_yaml 347s === PAUSE TestGenerateDoc/releases_from_yaml 347s === RUN TestGenerateDoc/autodetect_overrides_releases_from_yaml 347s === PAUSE TestGenerateDoc/autodetect_overrides_releases_from_yaml 347s === RUN TestGenerateDoc/invalid_definition_file 347s === PAUSE TestGenerateDoc/invalid_definition_file 347s === RUN TestGenerateDoc/category_expansion_fails 347s === PAUSE TestGenerateDoc/category_expansion_fails 347s === RUN TestGenerateDoc/doc_generation_fails 347s === PAUSE TestGenerateDoc/doc_generation_fails 347s === CONT TestGenerateDoc/releases_from_yaml 347s === CONT TestGenerateAD 347s === RUN TestGenerateAD/category_expansion_fails 347s === PAUSE TestGenerateAD/category_expansion_fails 347s === RUN TestGenerateAD/admx_generation_fails 347s === PAUSE TestGenerateAD/admx_generation_fails 347s === RUN TestGenerateAD/releases_from_yaml 347s === PAUSE TestGenerateAD/releases_from_yaml 347s === RUN TestGenerateAD/autodetect_overrides_releases_from_yaml 347s === PAUSE TestGenerateAD/autodetect_overrides_releases_from_yaml 347s === RUN TestGenerateAD/invalid_definition_file 347s === PAUSE TestGenerateAD/invalid_definition_file 347s === CONT TestGenerateAD/category_expansion_fails 347s === CONT TestExpand 347s === RUN TestExpand/expanded_policy_with_release_any 347s === PAUSE TestExpand/expanded_policy_with_release_any 347s === RUN TestExpand/no_release_file 347s === PAUSE TestExpand/no_release_file 347s === RUN TestExpand/unsupported_policy_type 347s === PAUSE TestExpand/unsupported_policy_type 347s === RUN TestExpand/no_source_directory 347s === PAUSE TestExpand/no_source_directory 347s === RUN TestExpand/invalid_dconf.yaml 347s === PAUSE TestExpand/invalid_dconf.yaml 347s === RUN TestExpand/dconf_generation_fails 347s === PAUSE TestExpand/dconf_generation_fails 347s === RUN TestExpand/expanded_policy_with_meta 347s === PAUSE TestExpand/expanded_policy_with_meta 347s === RUN TestExpand/expanded_policy 347s === PAUSE TestExpand/expanded_policy 347s === RUN TestExpand/ignore_categories_and_non_yaml_files 347s === PAUSE TestExpand/ignore_categories_and_non_yaml_files 347s === RUN TestExpand/no_version_id 347s === PAUSE TestExpand/no_version_id 347s === RUN TestExpand/dconf 347s === PAUSE TestExpand/dconf 347s === CONT TestExpand/expanded_policy_with_release_any 347s admxgen_test.go:81: Serializing object for golden file 347s === CONT TestExpandedCategoriesToMD 347s === RUN TestExpandedCategoriesToMD/nested_categories 347s === PAUSE TestExpandedCategoriesToMD/nested_categories 347s === RUN TestExpandedCategoriesToMD/basic_key 347s === PAUSE TestExpandedCategoriesToMD/basic_key 347s === RUN TestExpandedCategoriesToMD/error_on_destination_creation 347s === PAUSE TestExpandedCategoriesToMD/error_on_destination_creation 347s === RUN TestExpandedCategoriesToMD/boolean 347s === PAUSE TestExpandedCategoriesToMD/boolean 347s === RUN TestExpandedCategoriesToMD/decimal_with_min_only 347s === PAUSE TestExpandedCategoriesToMD/decimal_with_min_only 347s === RUN TestExpandedCategoriesToMD/multiple_categories 347s === PAUSE TestExpandedCategoriesToMD/multiple_categories 347s === RUN TestExpandedCategoriesToMD/user_policy 347s === PAUSE TestExpandedCategoriesToMD/user_policy 347s === RUN TestExpandedCategoriesToMD/decimal_with_max_only 347s === PAUSE TestExpandedCategoriesToMD/decimal_with_max_only 347s === RUN TestExpandedCategoriesToMD/choices_with_default 347s === PAUSE TestExpandedCategoriesToMD/choices_with_default 347s === RUN TestExpandedCategoriesToMD/double 347s === PAUSE TestExpandedCategoriesToMD/double 347s === RUN TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 347s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 347s === RUN TestExpandedCategoriesToMD/no_meta_disabled 347s === PAUSE TestExpandedCategoriesToMD/no_meta_disabled 347s === RUN TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 347s === PAUSE TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 347s === RUN TestExpandedCategoriesToMD/decimal_with_range 347s === PAUSE TestExpandedCategoriesToMD/decimal_with_range 347s === RUN TestExpandedCategoriesToMD/long_decimal 347s === PAUSE TestExpandedCategoriesToMD/long_decimal 347s === RUN TestExpandedCategoriesToMD/array_of_integers 347s === PAUSE TestExpandedCategoriesToMD/array_of_integers 347s === RUN TestExpandedCategoriesToMD/double_with_range 347s === PAUSE TestExpandedCategoriesToMD/double_with_range 347s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 347s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 347s === RUN TestExpandedCategoriesToMD/no_meta_enabled 347s === PAUSE TestExpandedCategoriesToMD/no_meta_enabled 347s === RUN TestExpandedCategoriesToMD/no_meta_at_all 347s === PAUSE TestExpandedCategoriesToMD/no_meta_at_all 347s === RUN TestExpandedCategoriesToMD/choices 347s === PAUSE TestExpandedCategoriesToMD/choices 347s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 347s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 347s === RUN TestExpandedCategoriesToMD/simple 347s === PAUSE TestExpandedCategoriesToMD/simple 347s === RUN TestExpandedCategoriesToMD/multiple_releases_for_one_key 347s === PAUSE TestExpandedCategoriesToMD/multiple_releases_for_one_key 347s === RUN TestExpandedCategoriesToMD/multiple_releases_with_different_choices 347s === PAUSE TestExpandedCategoriesToMD/multiple_releases_with_different_choices 347s === RUN TestExpandedCategoriesToMD/decimal 347s === PAUSE TestExpandedCategoriesToMD/decimal 347s === RUN TestExpandedCategoriesToMD/array_of_strings 347s === PAUSE TestExpandedCategoriesToMD/array_of_strings 347s === CONT TestExpandedCategoriesToMD/nested_categories 347s === CONT TestGenerateExpandedCategories/choices 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/applicable_to_all_releases 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/two_policies 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/no_defaults 347s time="2024-03-21T02:24:58Z" level=warning msg="policy /org/gnome/desktop/policy-doesnotexit referenced in \"Category1 Display Name\" does not exist in any supported releases" 347s === NAME TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/same_default 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/use_policy_class_instead_of_category_default 347s internal_test.go:116: Serializing object for golden file 347s === NAME TestGenerateExpandedCategories/no_defaults 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/error_on_unexisting_policy_referenced 347s === CONT TestGenerateExpandedCategories/no_note 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/multiple_top_categories 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/different_explain_text 347s === CONT TestGenerateExpandedCategories/no_meta_at_all 347s === NAME TestGenerateExpandedCategories/different_explain_text 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/error_on_one_policy_not_used 347s === CONT TestGenerateExpandedCategories/different_element_type 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories 347s internal_test.go:116: Serializing object for golden file 347s === NAME TestGenerateExpandedCategories/no_meta_at_all 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/simple 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/category_definition_doesn't_exist 347s === CONT TestGenerateExpandedCategories/error_on_empty_default_policy_class 347s === CONT TestGenerateExpandedCategories/different_range 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/nested_categories 347s === CONT TestGenerateExpandedCategories/different_defaults 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified 347s === CONT TestGenerateExpandedCategories/error_on_missing_release 347s === CONT TestGenerateExpandedCategories/meta_entry_only 347s === NAME TestGenerateExpandedCategories/nested_categories 347s internal_test.go:116: Serializing object for golden file 347s === NAME TestGenerateExpandedCategories/meta_entry_only 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestExpandedCategoriesToADMX 347s === RUN TestExpandedCategoriesToADMX/multiple_categories 347s === PAUSE TestExpandedCategoriesToADMX/multiple_categories 347s === RUN TestExpandedCategoriesToADMX/decimal_with_range 347s === PAUSE TestExpandedCategoriesToADMX/decimal_with_range 347s === RUN TestExpandedCategoriesToADMX/array_of_integers 347s === PAUSE TestExpandedCategoriesToADMX/array_of_integers 347s === RUN TestExpandedCategoriesToADMX/no_meta_disabled 347s === PAUSE TestExpandedCategoriesToADMX/no_meta_disabled 347s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 347s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 347s === RUN TestExpandedCategoriesToADMX/no_meta_enabled 347s === PAUSE TestExpandedCategoriesToADMX/no_meta_enabled 347s === RUN TestExpandedCategoriesToADMX/nested_categories 347s === PAUSE TestExpandedCategoriesToADMX/nested_categories 347s === RUN TestExpandedCategoriesToADMX/decimal_with_max_only 347s === PAUSE TestExpandedCategoriesToADMX/decimal_with_max_only 347s === RUN TestExpandedCategoriesToADMX/long_decimal 347s === PAUSE TestExpandedCategoriesToADMX/long_decimal 347s === RUN TestExpandedCategoriesToADMX/double_with_range 347s === PAUSE TestExpandedCategoriesToADMX/double_with_range 347s === RUN TestExpandedCategoriesToADMX/multiple_releases_for_one_key 347s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_for_one_key 347s === RUN TestExpandedCategoriesToADMX/decimal 347s === PAUSE TestExpandedCategoriesToADMX/decimal 347s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 347s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 347s === RUN TestExpandedCategoriesToADMX/no_meta_at_all 347s === PAUSE TestExpandedCategoriesToADMX/no_meta_at_all 347s === RUN TestExpandedCategoriesToADMX/error_on_destination_creation 347s === PAUSE TestExpandedCategoriesToADMX/error_on_destination_creation 347s === RUN TestExpandedCategoriesToADMX/array_of_strings 347s === PAUSE TestExpandedCategoriesToADMX/array_of_strings 347s === RUN TestExpandedCategoriesToADMX/choices 347s === PAUSE TestExpandedCategoriesToADMX/choices 347s === RUN TestExpandedCategoriesToADMX/choices_with_default 347s === PAUSE TestExpandedCategoriesToADMX/choices_with_default 347s === RUN TestExpandedCategoriesToADMX/simple 347s === PAUSE TestExpandedCategoriesToADMX/simple 347s === RUN TestExpandedCategoriesToADMX/other_distro 347s === PAUSE TestExpandedCategoriesToADMX/other_distro 347s === RUN TestExpandedCategoriesToADMX/basic_key 347s === PAUSE TestExpandedCategoriesToADMX/basic_key 347s === RUN TestExpandedCategoriesToADMX/boolean 347s === PAUSE TestExpandedCategoriesToADMX/boolean 347s === RUN TestExpandedCategoriesToADMX/decimal_with_min_only 347s === PAUSE TestExpandedCategoriesToADMX/decimal_with_min_only 347s === RUN TestExpandedCategoriesToADMX/double 347s === PAUSE TestExpandedCategoriesToADMX/double 347s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 347s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 347s === RUN TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 347s === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 347s === CONT TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases 347s === CONT TestGenerateExpandedCategories/different_choices 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/basic 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/default_policy_class_is_capitalized 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/different_display_name 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/available_on_one_release_only 347s === CONT TestGenerateExpandedCategories/policy_directory_doesn't_exist 347s === CONT TestGenerateExpandedCategories/error_on_invalid_default_policy_class 347s === CONT TestGenerateExpandedCategories/error_on_different_class 347s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/error_on_nested_category 347s === CONT TestGenerateExpandedCategories/error_on_different_policy_type 347s === CONT TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key 347s internal_test.go:116: Serializing object for golden file 347s === NAME TestGenerateExpandedCategories/available_on_one_release_only 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/range 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/no_note_strategy_append 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/with_prefix 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/no_meta_disabled 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/no_meta_enabled 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateExpandedCategories/different_meta 347s internal_test.go:116: Serializing object for golden file 347s === CONT TestGenerateDoc/doc_generation_fails 347s --- PASS: TestGenerateExpandedCategories (0.00s) 347s --- PASS: TestGenerateExpandedCategories/requires_ubuntu_pro (0.01s) 347s --- PASS: TestGenerateExpandedCategories/choices (0.00s) 347s --- PASS: TestGenerateExpandedCategories/applicable_to_all_releases (0.00s) 347s --- PASS: TestGenerateExpandedCategories/two_policies (0.00s) 347s --- PASS: TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases (0.05s) 347s --- PASS: TestGenerateExpandedCategories/same_default (0.00s) 347s --- PASS: TestGenerateExpandedCategories/use_policy_class_instead_of_category_default (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_unexisting_policy_referenced (0.00s) 347s --- PASS: TestGenerateExpandedCategories/no_defaults (0.01s) 347s --- PASS: TestGenerateExpandedCategories/no_note (0.00s) 347s --- PASS: TestGenerateExpandedCategories/multiple_top_categories (0.00s) 347s --- PASS: TestGenerateExpandedCategories/different_explain_text (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_one_policy_not_used (0.00s) 347s --- PASS: TestGenerateExpandedCategories/different_element_type (0.00s) 347s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class (0.00s) 347s --- PASS: TestGenerateExpandedCategories/no_meta_at_all (0.00s) 347s --- PASS: TestGenerateExpandedCategories/simple (0.00s) 347s --- PASS: TestGenerateExpandedCategories/category_definition_doesn't_exist (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_empty_default_policy_class (0.00s) 347s --- PASS: TestGenerateExpandedCategories/different_range (0.00s) 347s --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories (0.00s) 347s --- PASS: TestGenerateExpandedCategories/different_defaults (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_missing_release (0.00s) 347s --- PASS: TestGenerateExpandedCategories/meta_entry_only (0.00s) 347s --- PASS: TestGenerateExpandedCategories/nested_categories (0.01s) 347s --- PASS: TestGenerateExpandedCategories/different_choices (0.00s) 347s --- PASS: TestGenerateExpandedCategories/basic (0.00s) 347s --- PASS: TestGenerateExpandedCategories/default_policy_class_is_capitalized (0.00s) 347s --- PASS: TestGenerateExpandedCategories/different_display_name (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases (0.00s) 347s --- PASS: TestGenerateExpandedCategories/policy_directory_doesn't_exist (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_invalid_default_policy_class (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_different_class (0.00s) 347s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_nested_category (0.00s) 347s --- PASS: TestGenerateExpandedCategories/error_on_different_policy_type (0.00s) 347s --- PASS: TestGenerateExpandedCategories/available_on_one_release_only (0.01s) 347s --- PASS: TestGenerateExpandedCategories/range (0.00s) 347s --- PASS: TestGenerateExpandedCategories/no_note_strategy_append (0.00s) 347s --- PASS: TestGenerateExpandedCategories/with_prefix (0.00s) 347s --- PASS: TestGenerateExpandedCategories/no_meta_disabled (0.00s) 347s --- PASS: TestGenerateExpandedCategories/no_meta_enabled (0.00s) 347s --- PASS: TestGenerateExpandedCategories/different_meta (0.00s) 347s --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key (0.01s) 347s === CONT TestGenerateDoc/category_expansion_fails 347s === CONT TestGenerateDoc/invalid_definition_file 347s === CONT TestGenerateDoc/autodetect_overrides_releases_from_yaml 347s === CONT TestGenerateAD/invalid_definition_file 347s === CONT TestGenerateAD/autodetect_overrides_releases_from_yaml 347s === CONT TestGenerateAD/releases_from_yaml 347s === CONT TestGenerateAD/admx_generation_fails 347s --- PASS: TestGenerateAD (0.00s) 347s --- PASS: TestGenerateAD/category_expansion_fails (0.00s) 347s --- PASS: TestGenerateAD/invalid_definition_file (0.00s) 347s --- PASS: TestGenerateAD/autodetect_overrides_releases_from_yaml (0.00s) 347s --- PASS: TestGenerateAD/releases_from_yaml (0.00s) 347s --- PASS: TestGenerateAD/admx_generation_fails (0.00s) 347s --- PASS: TestGenerateDoc (0.00s) 347s --- PASS: TestGenerateDoc/releases_from_yaml (0.00s) 347s --- PASS: TestGenerateDoc/category_expansion_fails (0.00s) 347s --- PASS: TestGenerateDoc/invalid_definition_file (0.00s) 347s --- PASS: TestGenerateDoc/autodetect_overrides_releases_from_yaml (0.00s) 347s --- PASS: TestGenerateDoc/doc_generation_fails (0.01s) 347s === CONT TestExpand/dconf 347s === CONT TestExpand/no_version_id 347s === CONT TestExpand/ignore_categories_and_non_yaml_files 347s admxgen_test.go:81: Serializing object for golden file 347s === CONT TestExpand/expanded_policy 347s admxgen_test.go:81: Serializing object for golden file 347s === CONT TestExpand/expanded_policy_with_meta 347s admxgen_test.go:81: Serializing object for golden file 347s === NAME TestExpand/dconf 347s admxgen_test.go:81: Serializing object for golden file 347s === CONT TestExpand/dconf_generation_fails 347s === CONT TestExpand/invalid_dconf.yaml 347s === CONT TestExpand/no_source_directory 347s === CONT TestExpand/unsupported_policy_type 347s === CONT TestExpand/no_release_file 347s === CONT TestExpandedCategoriesToMD/array_of_strings 347s === CONT TestExpandedCategoriesToMD/decimal 347s --- PASS: TestExpand (0.00s) 347s --- PASS: TestExpand/expanded_policy_with_release_any (0.00s) 347s --- PASS: TestExpand/no_version_id (0.00s) 347s --- PASS: TestExpand/ignore_categories_and_non_yaml_files (0.00s) 347s --- PASS: TestExpand/expanded_policy (0.00s) 347s --- PASS: TestExpand/dconf (0.00s) 347s --- PASS: TestExpand/dconf_generation_fails (0.00s) 347s --- PASS: TestExpand/invalid_dconf.yaml (0.00s) 347s --- PASS: TestExpand/no_source_directory (0.00s) 347s --- PASS: TestExpand/unsupported_policy_type (0.00s) 347s --- PASS: TestExpand/no_release_file (0.00s) 347s --- PASS: TestExpand/expanded_policy_with_meta (0.00s) 347s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_choices 347s === CONT TestExpandedCategoriesToMD/multiple_releases_for_one_key 347s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype 347s === CONT TestExpandedCategoriesToMD/choices 347s === CONT TestExpandedCategoriesToMD/simple 347s === CONT TestExpandedCategoriesToMD/no_meta_at_all 347s === CONT TestExpandedCategoriesToMD/no_meta_enabled 347s === CONT TestExpandedCategoriesToMD/multiple_releases_with_different_ranges 347s === CONT TestExpandedCategoriesToMD/double_with_range 347s === CONT TestExpandedCategoriesToMD/array_of_integers 347s === CONT TestExpandedCategoriesToMD/long_decimal 347s === CONT TestExpandedCategoriesToMD/decimal_with_range 347s === CONT TestExpandedCategoriesToMD/nested_categories,_classes_and_empty 347s === CONT TestExpandedCategoriesToMD/no_meta_disabled 347s === CONT TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults 347s === CONT TestExpandedCategoriesToMD/double 347s === CONT TestExpandedCategoriesToMD/choices_with_default 347s === CONT TestExpandedCategoriesToMD/decimal_with_max_only 347s === CONT TestExpandedCategoriesToMD/user_policy 347s === CONT TestExpandedCategoriesToMD/multiple_categories 347s === CONT TestExpandedCategoriesToMD/decimal_with_min_only 347s === CONT TestExpandedCategoriesToMD/boolean 347s === CONT TestExpandedCategoriesToMD/error_on_destination_creation 347s === CONT TestExpandedCategoriesToMD/basic_key 347s === CONT TestExpandedCategoriesToADMX/multiple_categories 347s --- PASS: TestExpandedCategoriesToMD (0.01s) 347s --- PASS: TestExpandedCategoriesToMD/nested_categories (0.01s) 347s --- PASS: TestExpandedCategoriesToMD/array_of_strings (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_choices (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/decimal (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/multiple_releases_for_one_key (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_widgettype (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/choices (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/simple (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/no_meta_at_all (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/no_meta_enabled (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_different_ranges (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/double_with_range (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/array_of_integers (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/long_decimal (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/decimal_with_range (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/no_meta_disabled (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/nested_categories,_classes_and_empty (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/double (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/choices_with_default (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/decimal_with_max_only (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/user_policy (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/multiple_releases_with_all_widgets_and_different_defaults (0.01s) 347s --- PASS: TestExpandedCategoriesToMD/multiple_categories (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/decimal_with_min_only (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/boolean (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/error_on_destination_creation (0.00s) 347s --- PASS: TestExpandedCategoriesToMD/basic_key (0.00s) 347s === CONT TestExpandedCategoriesToADMX/no_meta_at_all 347s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults 347s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype 347s === CONT TestExpandedCategoriesToADMX/decimal_with_min_only 347s === CONT TestExpandedCategoriesToADMX/double 347s === CONT TestExpandedCategoriesToADMX/boolean 347s === CONT TestExpandedCategoriesToADMX/basic_key 347s === CONT TestExpandedCategoriesToADMX/other_distro 347s === CONT TestExpandedCategoriesToADMX/simple 347s === CONT TestExpandedCategoriesToADMX/choices_with_default 347s === CONT TestExpandedCategoriesToADMX/choices 347s === CONT TestExpandedCategoriesToADMX/array_of_strings 347s === CONT TestExpandedCategoriesToADMX/error_on_destination_creation 347s === CONT TestExpandedCategoriesToADMX/nested_categories 347s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges 347s === CONT TestExpandedCategoriesToADMX/decimal 347s === CONT TestExpandedCategoriesToADMX/multiple_releases_for_one_key 347s === CONT TestExpandedCategoriesToADMX/double_with_range 347s === CONT TestExpandedCategoriesToADMX/long_decimal 347s === CONT TestExpandedCategoriesToADMX/decimal_with_max_only 347s === CONT TestExpandedCategoriesToADMX/no_meta_disabled 347s === CONT TestExpandedCategoriesToADMX/no_meta_enabled 347s === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_choices 347s === CONT TestExpandedCategoriesToADMX/decimal_with_range 347s === CONT TestExpandedCategoriesToADMX/array_of_integers 347s --- PASS: TestExpandedCategoriesToADMX (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/multiple_categories (0.01s) 347s --- PASS: TestExpandedCategoriesToADMX/no_meta_at_all (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/double (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/boolean (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/basic_key (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/other_distro (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/decimal_with_min_only (0.01s) 347s --- PASS: TestExpandedCategoriesToADMX/simple (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/choices (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/array_of_strings (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/error_on_destination_creation (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/nested_categories (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/choices_with_default (0.01s) 347s --- PASS: TestExpandedCategoriesToADMX/decimal (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_for_one_key (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/double_with_range (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges (0.01s) 347s --- PASS: TestExpandedCategoriesToADMX/long_decimal (0.01s) 347s --- PASS: TestExpandedCategoriesToADMX/no_meta_disabled (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/no_meta_enabled (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/decimal_with_max_only (0.00s) 347s --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_choices (0.01s) 347s --- PASS: TestExpandedCategoriesToADMX/decimal_with_range (0.01s) 347s --- PASS: TestExpandedCategoriesToADMX/array_of_integers (0.00s) 347s PASS 347s ok github.com/ubuntu/adsys/internal/ad/admxgen 0.387s 347s === RUN TestGenerate 347s === PAUSE TestGenerate 347s === CONT TestGenerate 347s === RUN TestGenerate/Override_with_no_matching_session_defaults_to_root_override 347s === PAUSE TestGenerate/Override_with_no_matching_session_defaults_to_root_override 347s === RUN TestGenerate/Override_default_to_second_if_first_not_present 347s === PAUSE TestGenerate/Override_default_to_second_if_first_not_present 347s === RUN TestGenerate/No_key_on_system 347s === PAUSE TestGenerate/No_key_on_system 347s === RUN TestGenerate/Empty 347s === PAUSE TestGenerate/Empty 347s === RUN TestGenerate/Description_starting_with_deprecated_is_ignored 347s === PAUSE TestGenerate/Description_starting_with_deprecated_is_ignored 347s === RUN TestGenerate/One_boolean_key 347s === PAUSE TestGenerate/One_boolean_key 347s === RUN TestGenerate/One_decimal_key_with_min_only 347s === PAUSE TestGenerate/One_decimal_key_with_min_only 347s === RUN TestGenerate/Double_key_with_range 347s === PAUSE TestGenerate/Double_key_with_range 347s === RUN TestGenerate/Array_of_strings 347s === PAUSE TestGenerate/Array_of_strings 347s === RUN TestGenerate/Override_without_session_takes_default 347s === PAUSE TestGenerate/Override_without_session_takes_default 347s === RUN TestGenerate/Inlined_Enums_are_converted_to_choices 347s === PAUSE TestGenerate/Inlined_Enums_are_converted_to_choices 347s === RUN TestGenerate/Valid_class_should_be_capitalized 347s === PAUSE TestGenerate/Valid_class_should_be_capitalized 347s === RUN TestGenerate/Unsupported_key_type 347s === PAUSE TestGenerate/Unsupported_key_type 347s === RUN TestGenerate/One_decimal_key 347s === PAUSE TestGenerate/One_decimal_key 347s === RUN TestGenerate/One_decimal_key_with_range 347s === PAUSE TestGenerate/One_decimal_key_with_range 347s === RUN TestGenerate/Array_of_integers 347s === PAUSE TestGenerate/Array_of_integers 347s === RUN TestGenerate/Invalid_schema_files 347s === PAUSE TestGenerate/Invalid_schema_files 347s === RUN TestGenerate/Double_key 347s === PAUSE TestGenerate/Double_key 347s === RUN TestGenerate/Override_with_session_takes_session_override 347s === PAUSE TestGenerate/Override_with_session_takes_session_override 347s === RUN TestGenerate/Invalid_override_files_are_skipped 347s === PAUSE TestGenerate/Invalid_override_files_are_skipped 347s === RUN TestGenerate/Enum_does_not_exist 347s === PAUSE TestGenerate/Enum_does_not_exist 347s === RUN TestGenerate/Same_key_relocated_twice 347s === PAUSE TestGenerate/Same_key_relocated_twice 347s === RUN TestGenerate/Long_decimal_key_with_range_min_gt_0 347s === PAUSE TestGenerate/Long_decimal_key_with_range_min_gt_0 347s === RUN TestGenerate/Enums_in_other_files_are_converted_to_choices 347s === PAUSE TestGenerate/Enums_in_other_files_are_converted_to_choices 347s === RUN TestGenerate/Overridden_by_multiple_files,_last_wins 347s === PAUSE TestGenerate/Overridden_by_multiple_files,_last_wins 347s === RUN TestGenerate/Relocatable_key_overridden 347s === PAUSE TestGenerate/Relocatable_key_overridden 347s === RUN TestGenerate/Choices_are_loaded 347s === PAUSE TestGenerate/Choices_are_loaded 347s === RUN TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 347s === PAUSE TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 347s === RUN TestGenerate/Description_starting_with_obsolete_is_ignored 347s === PAUSE TestGenerate/Description_starting_with_obsolete_is_ignored 347s === RUN TestGenerate/One_decimal_key_with_max_only 347s === PAUSE TestGenerate/One_decimal_key_with_max_only 347s === RUN TestGenerate/Long_decimal_key 347s === PAUSE TestGenerate/Long_decimal_key 347s === RUN TestGenerate/Override_takes_first_session 347s === PAUSE TestGenerate/Override_takes_first_session 347s === RUN TestGenerate/Invalid_min 347s === PAUSE TestGenerate/Invalid_min 347s === RUN TestGenerate/NaN_min 347s === PAUSE TestGenerate/NaN_min 347s === RUN TestGenerate/Key_with_class 347s === PAUSE TestGenerate/Key_with_class 347s === RUN TestGenerate/Long_decimal_key_with_range_min_lt_0 347s === PAUSE TestGenerate/Long_decimal_key_with_range_min_lt_0 347s === RUN TestGenerate/Override_without_session 347s === PAUSE TestGenerate/Override_without_session 347s === RUN TestGenerate/Invalid_class 347s === PAUSE TestGenerate/Invalid_class 347s === RUN TestGenerate/One_text_key 347s === PAUSE TestGenerate/One_text_key 347s === RUN TestGenerate/Relocatable_key 347s === PAUSE TestGenerate/Relocatable_key 347s === RUN TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 347s === PAUSE TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 347s === CONT TestGenerate/Override_with_no_matching_session_defaults_to_root_override 347s === CONT TestGenerate/Same_key_relocated_twice 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored 347s dconf_test.go:105: Serializing object for golden file 347s === NAME TestGenerate/Override_with_no_matching_session_defaults_to_root_override 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Enum_does_not_exist 347s === CONT TestGenerate/Override_with_session_takes_session_override 347s === CONT TestGenerate/Invalid_override_files_are_skipped 347s time="2024-03-21T02:24:59Z" 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" 347s === NAME TestGenerate/Override_with_session_takes_session_override 347s dconf_test.go:105: Serializing object for golden file 347s === NAME TestGenerate/Invalid_override_files_are_skipped 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Double_key 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Invalid_schema_files 347s === CONT TestGenerate/Array_of_integers 347s === CONT TestGenerate/One_decimal_key_with_range 347s dconf_test.go:105: Serializing object for golden file 347s === NAME TestGenerate/Array_of_integers 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/One_decimal_key 347s === CONT TestGenerate/Unsupported_key_type 347s === CONT TestGenerate/Valid_class_should_be_capitalized 347s dconf_test.go:105: Serializing object for golden file 347s === NAME TestGenerate/One_decimal_key 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Inlined_Enums_are_converted_to_choices 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Override_without_session_takes_default 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Array_of_strings 347s === CONT TestGenerate/Double_key_with_range 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/One_decimal_key_with_min_only 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/One_boolean_key 347s dconf_test.go:105: Serializing object for golden file 347s === NAME TestGenerate/Array_of_strings 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Description_starting_with_deprecated_is_ignored 347s time="2024-03-21T02:24:59Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated\" is deprecated. Ignoring" 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Empty 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/No_key_on_system 347s time="2024-03-21T02:24:59Z" level=warning msg="dconf entry \"/com/ubuntu/simple/non-existent\" is not available on this machine" 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Override_default_to_second_if_first_not_present 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Override_takes_first_session 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Relocatable_key 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/One_text_key 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Invalid_class 347s === CONT TestGenerate/Override_without_session 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Long_decimal_key_with_range_min_lt_0 347s === CONT TestGenerate/Key_with_class 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/NaN_min 347s === CONT TestGenerate/Invalid_min 347s === CONT TestGenerate/Choices_are_loaded 347s === NAME TestGenerate/Long_decimal_key_with_range_min_lt_0 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Long_decimal_key 347s === NAME TestGenerate/Choices_are_loaded 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/One_decimal_key_with_max_only 347s === NAME TestGenerate/Long_decimal_key 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Description_starting_with_obsolete_is_ignored 347s time="2024-03-21T02:24:59Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/obsolete\" is deprecated. Ignoring" 347s dconf_test.go:105: Serializing object for golden file 347s === NAME TestGenerate/One_decimal_key_with_max_only 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored 347s time="2024-03-21T02:24:59Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated-different-cases\" is deprecated. Ignoring" 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Overridden_by_multiple_files,_last_wins 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Relocatable_key_overridden 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Enums_in_other_files_are_converted_to_choices 347s dconf_test.go:105: Serializing object for golden file 347s === CONT TestGenerate/Long_decimal_key_with_range_min_gt_0 347s dconf_test.go:105: Serializing object for golden file 347s --- PASS: TestGenerate (0.00s) 347s --- PASS: TestGenerate/Same_key_relocated_twice (0.00s) 347s --- PASS: TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored (0.00s) 347s --- PASS: TestGenerate/Override_with_no_matching_session_defaults_to_root_override (0.00s) 347s --- PASS: TestGenerate/Enum_does_not_exist (0.00s) 347s --- PASS: TestGenerate/Invalid_override_files_are_skipped (0.00s) 347s --- PASS: TestGenerate/Double_key (0.00s) 347s --- PASS: TestGenerate/Invalid_schema_files (0.00s) 347s --- PASS: TestGenerate/Override_with_session_takes_session_override (0.00s) 347s --- PASS: TestGenerate/One_decimal_key_with_range (0.00s) 347s --- PASS: TestGenerate/Array_of_integers (0.00s) 347s --- PASS: TestGenerate/Unsupported_key_type (0.00s) 347s --- PASS: TestGenerate/One_decimal_key (0.00s) 347s --- PASS: TestGenerate/Inlined_Enums_are_converted_to_choices (0.00s) 347s --- PASS: TestGenerate/Valid_class_should_be_capitalized (0.00s) 347s --- PASS: TestGenerate/Override_without_session_takes_default (0.00s) 347s --- PASS: TestGenerate/Double_key_with_range (0.00s) 347s --- PASS: TestGenerate/One_decimal_key_with_min_only (0.00s) 347s --- PASS: TestGenerate/Array_of_strings (0.01s) 347s --- PASS: TestGenerate/Description_starting_with_deprecated_is_ignored (0.00s) 347s --- PASS: TestGenerate/Empty (0.00s) 347s --- PASS: TestGenerate/No_key_on_system (0.00s) 347s --- PASS: TestGenerate/One_boolean_key (0.01s) 347s --- PASS: TestGenerate/Override_takes_first_session (0.00s) 347s --- PASS: TestGenerate/Relocatable_key (0.00s) 347s --- PASS: TestGenerate/One_text_key (0.00s) 347s --- PASS: TestGenerate/Override_default_to_second_if_first_not_present (0.01s) 347s --- PASS: TestGenerate/Override_without_session (0.00s) 347s --- PASS: TestGenerate/Invalid_class (0.00s) 347s --- PASS: TestGenerate/Key_with_class (0.00s) 347s --- PASS: TestGenerate/NaN_min (0.00s) 347s --- PASS: TestGenerate/Invalid_min (0.00s) 347s --- PASS: TestGenerate/Long_decimal_key_with_range_min_lt_0 (0.00s) 347s --- PASS: TestGenerate/Choices_are_loaded (0.00s) 347s --- PASS: TestGenerate/Long_decimal_key (0.00s) 347s --- PASS: TestGenerate/One_decimal_key_with_max_only (0.00s) 347s --- PASS: TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored (0.00s) 347s --- PASS: TestGenerate/Overridden_by_multiple_files,_last_wins (0.00s) 347s --- PASS: TestGenerate/Relocatable_key_overridden (0.00s) 347s --- PASS: TestGenerate/Enums_in_other_files_are_converted_to_choices (0.00s) 347s --- PASS: TestGenerate/Description_starting_with_obsolete_is_ignored (0.01s) 347s --- PASS: TestGenerate/Long_decimal_key_with_range_min_gt_0 (0.00s) 347s PASS 347s ok github.com/ubuntu/adsys/internal/ad/admxgen/dconf 0.066s 347s === RUN TestSSSD 347s === PAUSE TestSSSD 347s === CONT TestSSSD 347s === RUN TestSSSD/Multiple_domains,_pick_first 347s === PAUSE TestSSSD/Multiple_domains,_pick_first 347s === RUN TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 347s === PAUSE TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 347s === RUN TestSSSD/SSSd_domain_can_not_match_ad_domain 347s === PAUSE TestSSSD/SSSd_domain_can_not_match_ad_domain 347s === RUN TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 347s === PAUSE TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 347s === RUN TestSSSD/Error_on_no_sssd_section 347s === PAUSE TestSSSD/Error_on_no_sssd_section 347s === RUN TestSSSD/Regular_config 347s === PAUSE TestSSSD/Regular_config 347s === RUN TestSSSD/Can_handle_special_DNS_domain_characters 347s === PAUSE TestSSSD/Can_handle_special_DNS_domain_characters 347s === RUN TestSSSD/Default_domain_suffix_is_read 347s === PAUSE TestSSSD/Default_domain_suffix_is_read 347s === RUN TestSSSD/Regular_config,_with_cache_dir 347s === PAUSE TestSSSD/Regular_config,_with_cache_dir 347s === RUN TestSSSD/Error_on_empty_domains_field 347s === PAUSE TestSSSD/Error_on_empty_domains_field 347s === RUN TestSSSD/No_sssd_conf_loads_the_default 347s === PAUSE TestSSSD/No_sssd_conf_loads_the_default 347s === RUN TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 347s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 347s === RUN TestSSSD/Error_on_no_domains_field 347s === PAUSE TestSSSD/Error_on_no_domains_field 347s === RUN TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 347s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 347s === RUN TestSSSD/Error_on_sssd_conf_does_not_exists 347s === PAUSE TestSSSD/Error_on_sssd_conf_does_not_exists 347s === RUN TestSSSD/Error_on_sssd_domain_section_missing 347s === PAUSE TestSSSD/Error_on_sssd_domain_section_missing 347s === RUN TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 347s === PAUSE TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 347s === RUN TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 347s === PAUSE TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 347s === RUN TestSSSD/Is_not_online 347s === PAUSE TestSSSD/Is_not_online 347s === RUN TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 347s === PAUSE TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 347s === RUN TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 347s === PAUSE TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 347s === CONT TestSSSD/Multiple_domains,_pick_first 347s === CONT TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out 347s === CONT TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided 347s === CONT TestSSSD/Is_not_online 347s === CONT TestSSSD/Ad_server_defined_in_config_does_not_need_active_server 347s === CONT TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server 347s === CONT TestSSSD/Error_on_sssd_domain_section_missing 347s === CONT TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object 347s === CONT TestSSSD/Error_on_sssd_conf_does_not_exists 347s === CONT TestSSSD/Error_on_no_domains_field 347s === CONT TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out 347s === CONT TestSSSD/No_sssd_conf_loads_the_default 347s === CONT TestSSSD/Error_on_empty_domains_field 347s === CONT TestSSSD/Regular_config,_with_cache_dir 347s === CONT TestSSSD/Default_domain_suffix_is_read 347s === CONT TestSSSD/Can_handle_special_DNS_domain_characters 347s === CONT TestSSSD/Regular_config 347s === CONT TestSSSD/Error_on_no_sssd_section 347s === CONT TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server 347s === CONT TestSSSD/SSSd_domain_can_not_match_ad_domain 347s === CONT TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter 347s --- PASS: TestSSSD (0.00s) 347s --- PASS: TestSSSD/Multiple_domains,_pick_first (0.00s) 347s --- PASS: TestSSSD/Error_returned_by_IsOnline()__when_calls_is_erroring_out (0.00s) 347s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_on_no_config_nor_active_server_provided (0.00s) 347s --- PASS: TestSSSD/Ad_server_defined_in_config_does_not_need_active_server (0.00s) 347s --- PASS: TestSSSD/Ad_server_defined_in_config_has_priority_over_active_server (0.00s) 347s --- PASS: TestSSSD/Is_not_online (0.00s) 347s --- PASS: TestSSSD/Error_on_sssd_domain_section_missing (0.00s) 347s --- PASS: TestSSSD/Error_on_sssd_conf_does_not_exists (0.00s) 347s --- PASS: TestSSSD/Error_on_no_domains_field (0.00s) 347s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_and_IsOnline()_when_DBUS_has_no_object (0.00s) 347s --- PASS: TestSSSD/No_sssd_conf_loads_the_default (0.00s) 347s --- PASS: TestSSSD/Error_on_empty_domains_field (0.00s) 347s --- PASS: TestSSSD/Error_returned_by_ServerFQDN()_when_calls_is_erroring_out (0.00s) 347s --- PASS: TestSSSD/Regular_config,_with_cache_dir (0.00s) 347s --- PASS: TestSSSD/Can_handle_special_DNS_domain_characters (0.00s) 347s --- PASS: TestSSSD/Default_domain_suffix_is_read (0.00s) 347s --- PASS: TestSSSD/Error_on_no_sssd_section (0.00s) 347s --- PASS: TestSSSD/Regular_config (0.00s) 347s --- PASS: TestSSSD/ServerFQDN()_does_not_fail_when_we_do_not_need_an_active_server (0.00s) 347s --- PASS: TestSSSD/SSSd_domain_can_not_match_ad_domain (0.00s) 347s --- PASS: TestSSSD/Ad_server_starting_with_ldap_prefix_does_not_stutter (0.00s) 347s PASS 347s ok github.com/ubuntu/adsys/internal/ad/backends/sss 0.072s 347s === RUN TestWinbind 347s Running subprocess with [/tmp/go-build3737572939/b564/winbind.test -test.testlogfile=/tmp/go-build3737572939/b564/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -test.run=TestWinbind] 347s === RUN TestWinbind 347s === RUN TestWinbind/Error_when_looking_up_domain 347s === RUN TestWinbind/Error_when_getting_online_status 347s === RUN TestWinbind/Lookup_is_successful 347s === RUN TestWinbind/Lookup_with_different_hostname_is_successful 347s === RUN TestWinbind/Lookup_with_overridden_ad_server 347s === RUN TestWinbind/Error_when_domain_is_offline 347s === RUN TestWinbind/Error_when_requesting_krb5cc 347s === RUN TestWinbind/Lookup_with_overridden_ad_domain 347s === RUN TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix 347s === RUN TestWinbind/Error_when_looking_up_DC_name 347s --- PASS: TestWinbind (0.10s) 347s --- PASS: TestWinbind/Error_when_looking_up_domain (0.00s) 347s --- PASS: TestWinbind/Error_when_getting_online_status (0.01s) 347s --- PASS: TestWinbind/Lookup_is_successful (0.01s) 347s --- PASS: TestWinbind/Lookup_with_different_hostname_is_successful (0.01s) 347s --- PASS: TestWinbind/Lookup_with_overridden_ad_server (0.01s) 347s --- PASS: TestWinbind/Error_when_domain_is_offline (0.01s) 347s --- PASS: TestWinbind/Error_when_requesting_krb5cc (0.01s) 347s --- PASS: TestWinbind/Lookup_with_overridden_ad_domain (0.01s) 347s --- PASS: TestWinbind/Lookup_with_overridden_ad_server_with_LDAP_prefix (0.01s) 347s --- PASS: TestWinbind/Error_when_looking_up_DC_name (0.01s) 347s PASS 347s --- PASS: TestWinbind (0.19s) 347s === RUN TestExecuteKinitCommand 347s --- PASS: TestExecuteKinitCommand (0.00s) 347s PASS 347s ok github.com/ubuntu/adsys/internal/ad/backends/winbind 0.287s 347s === RUN TestGetVersionID 347s === PAUSE TestGetVersionID 347s === CONT TestGetVersionID 347s === RUN TestGetVersionID/Read_VERSION_ID 347s === PAUSE TestGetVersionID/Read_VERSION_ID 347s === RUN TestGetVersionID/No_VERSION_ID_in_file 347s === PAUSE TestGetVersionID/No_VERSION_ID_in_file 347s === RUN TestGetVersionID/No_os-release_file 347s === PAUSE TestGetVersionID/No_os-release_file 347s === CONT TestGetVersionID/Read_VERSION_ID 347s === CONT TestGetVersionID/No_os-release_file 347s === CONT TestGetVersionID/No_VERSION_ID_in_file 347s --- PASS: TestGetVersionID (0.00s) 347s --- PASS: TestGetVersionID/Read_VERSION_ID (0.00s) 347s --- PASS: TestGetVersionID/No_os-release_file (0.00s) 347s --- PASS: TestGetVersionID/No_VERSION_ID_in_file (0.00s) 347s PASS 347s ok github.com/ubuntu/adsys/internal/ad/common 0.035s 347s === RUN TestReadPolicy 347s === PAUSE TestReadPolicy 347s === RUN TestDecodePolicy 347s === PAUSE TestDecodePolicy 347s === CONT TestReadPolicy 347s === CONT TestDecodePolicy 347s === RUN TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 347s === PAUSE TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 347s === RUN TestDecodePolicy/null_character_in_data 347s === PAUSE TestDecodePolicy/null_character_in_data 347s === RUN TestDecodePolicy/two_elements 347s === PAUSE TestDecodePolicy/two_elements 347s === RUN TestDecodePolicy/one_element,_disabled 347s === PAUSE TestDecodePolicy/one_element,_disabled 347s === RUN TestDecodePolicy/disabled_container_with_disabled_option_values 347s === PAUSE TestDecodePolicy/disabled_container_with_disabled_option_values 347s === RUN TestDecodePolicy/container_strategy_is_reflected_on_child 347s === PAUSE TestDecodePolicy/container_strategy_is_reflected_on_child 347s === RUN TestDecodePolicy/container_without_metavalues 347s === PAUSE TestDecodePolicy/container_without_metavalues 347s === RUN TestReadPolicy/missing_field 347s === PAUSE TestReadPolicy/missing_field 347s === RUN TestReadPolicy/empty_key 347s === PAUSE TestReadPolicy/empty_key 347s === RUN TestReadPolicy/semicolon_in_data 347s === PAUSE TestReadPolicy/semicolon_in_data 347s === RUN TestReadPolicy/empty_value 347s === PAUSE TestReadPolicy/empty_value 347s === RUN TestReadPolicy/no_header 347s === PAUSE TestReadPolicy/no_header 347s === RUN TestReadPolicy/empty_file 347s === PAUSE TestReadPolicy/empty_file 347s === RUN TestReadPolicy/value_is_not_utf16 347s === PAUSE TestReadPolicy/value_is_not_utf16 347s === RUN TestReadPolicy/key_is_not_utf16 347s === PAUSE TestReadPolicy/key_is_not_utf16 347s === RUN TestReadPolicy/one_element,_decimal_value 347s === PAUSE TestReadPolicy/one_element,_decimal_value 347s === RUN TestReadPolicy/two_elements 347s === PAUSE TestReadPolicy/two_elements 347s === RUN TestReadPolicy/section_separators_in_data 347s === PAUSE TestReadPolicy/section_separators_in_data 347s === RUN TestReadPolicy/exotic_return_type 347s === PAUSE TestReadPolicy/exotic_return_type 347s === RUN TestReadPolicy/header_only 347s === PAUSE TestReadPolicy/header_only 347s === RUN TestReadPolicy/invalid_header,_header_doesnt_match 347s === PAUSE TestReadPolicy/invalid_header,_header_doesnt_match 347s === RUN TestReadPolicy/section_not_closed 347s === PAUSE TestReadPolicy/section_not_closed 347s === RUN TestReadPolicy/one_element,_string_value 347s === PAUSE TestReadPolicy/one_element,_string_value 347s === RUN TestReadPolicy/memory_on_multiple_elements_dont_overlap 347s === PAUSE TestReadPolicy/memory_on_multiple_elements_dont_overlap 347s === RUN TestReadPolicy/invalid_header,_header_too_short 347s === PAUSE TestReadPolicy/invalid_header,_header_too_short 347s === RUN TestReadPolicy/invalid_header,_file_truncated 347s === PAUSE TestReadPolicy/invalid_header,_file_truncated 347s === CONT TestReadPolicy/missing_field 347s === CONT TestReadPolicy/invalid_header,_file_truncated 347s === CONT TestReadPolicy/invalid_header,_header_too_short 347s === CONT TestReadPolicy/memory_on_multiple_elements_dont_overlap 347s === CONT TestReadPolicy/one_element,_string_value 347s === CONT TestReadPolicy/section_not_closed 347s === CONT TestReadPolicy/invalid_header,_header_doesnt_match 347s === CONT TestReadPolicy/header_only 347s === CONT TestReadPolicy/exotic_return_type 347s === CONT TestReadPolicy/section_separators_in_data 347s === CONT TestReadPolicy/two_elements 347s === CONT TestReadPolicy/one_element,_decimal_value 347s === CONT TestReadPolicy/key_is_not_utf16 347s === CONT TestReadPolicy/value_is_not_utf16 347s === CONT TestReadPolicy/empty_file 347s === CONT TestReadPolicy/no_header 347s === CONT TestReadPolicy/empty_value 347s === CONT TestReadPolicy/semicolon_in_data 347s === CONT TestReadPolicy/empty_key 347s --- PASS: TestReadPolicy (0.00s) 347s --- PASS: TestReadPolicy/missing_field (0.00s) 347s --- PASS: TestReadPolicy/invalid_header,_file_truncated (0.00s) 347s --- PASS: TestReadPolicy/invalid_header,_header_too_short (0.00s) 347s --- PASS: TestReadPolicy/memory_on_multiple_elements_dont_overlap (0.00s) 347s --- PASS: TestReadPolicy/one_element,_string_value (0.00s) 347s --- PASS: TestReadPolicy/section_not_closed (0.00s) 347s --- PASS: TestReadPolicy/invalid_header,_header_doesnt_match (0.00s) 347s --- PASS: TestReadPolicy/header_only (0.00s) 347s --- PASS: TestReadPolicy/exotic_return_type (0.00s) 347s --- PASS: TestReadPolicy/section_separators_in_data (0.00s) 347s --- PASS: TestReadPolicy/two_elements (0.00s) 347s --- PASS: TestReadPolicy/one_element,_decimal_value (0.00s) 347s --- PASS: TestReadPolicy/key_is_not_utf16 (0.00s) 347s --- PASS: TestReadPolicy/value_is_not_utf16 (0.00s) 347s --- PASS: TestReadPolicy/empty_file (0.00s) 347s --- PASS: TestReadPolicy/no_header (0.00s) 347s --- PASS: TestReadPolicy/empty_value (0.00s) 347s --- PASS: TestReadPolicy/semicolon_in_data (0.00s) 347s --- PASS: TestReadPolicy/empty_key (0.00s) 347s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 347s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 347s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 347s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 347s === RUN TestDecodePolicy/semicolon_in_data 347s === PAUSE TestDecodePolicy/semicolon_in_data 347s === RUN TestDecodePolicy/header_only 347s === PAUSE TestDecodePolicy/header_only 347s === RUN TestDecodePolicy/empty_file 347s === PAUSE TestDecodePolicy/empty_file 347s === RUN TestDecodePolicy/key_is_not_utf16 347s === PAUSE TestDecodePolicy/key_is_not_utf16 347s === RUN TestDecodePolicy/empty_value 347s === PAUSE TestDecodePolicy/empty_value 347s === RUN TestDecodePolicy/invalid_header,_file_truncated 347s === PAUSE TestDecodePolicy/invalid_header,_file_truncated 347s === RUN TestDecodePolicy/invalid_container_default_values 347s === PAUSE TestDecodePolicy/invalid_container_default_values 347s === RUN TestDecodePolicy/one_element,_decimal_value 347s === PAUSE TestDecodePolicy/one_element,_decimal_value 347s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 347s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 347s === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 347s === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 347s === RUN TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 347s === PAUSE TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 347s === RUN TestDecodePolicy/invalid_decimal_value 347s === PAUSE TestDecodePolicy/invalid_decimal_value 347s === RUN TestDecodePolicy/invalid_header,_header_too_short 347s === PAUSE TestDecodePolicy/invalid_header,_header_too_short 347s === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 347s === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 347s === RUN TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 347s === PAUSE TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 347s === RUN TestDecodePolicy/container_with_default_elements_override_empty_option_values 347s === PAUSE TestDecodePolicy/container_with_default_elements_override_empty_option_values 347s === RUN TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 347s === PAUSE TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 347s === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 347s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 347s === RUN TestDecodePolicy/exotic_return_type 347s === PAUSE TestDecodePolicy/exotic_return_type 347s === RUN TestDecodePolicy/basic_type,_enabled 347s === PAUSE TestDecodePolicy/basic_type,_enabled 347s === RUN TestDecodePolicy/basic_type,_disabled 347s === PAUSE TestDecodePolicy/basic_type,_disabled 347s === RUN TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 347s === PAUSE TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 347s === RUN TestDecodePolicy/section_not_closed 347s === PAUSE TestDecodePolicy/section_not_closed 347s === RUN TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 347s === PAUSE TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 347s === RUN TestDecodePolicy/container_with_meta_elements_and_value_on_options 347s === PAUSE TestDecodePolicy/container_with_meta_elements_and_value_on_options 347s === RUN TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 347s === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 347s === RUN TestDecodePolicy/section_separators_in_data 347s === PAUSE TestDecodePolicy/section_separators_in_data 347s === RUN TestDecodePolicy/empty_key 347s === PAUSE TestDecodePolicy/empty_key 347s === RUN TestDecodePolicy/one_element,_string_value 347s === PAUSE TestDecodePolicy/one_element,_string_value 347s === RUN TestDecodePolicy/disabled_container_disables_its_option_values 347s === PAUSE TestDecodePolicy/disabled_container_disables_its_option_values 347s === RUN TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 347s === PAUSE TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 347s === RUN TestDecodePolicy/basic_type_with_strategy 347s === PAUSE TestDecodePolicy/basic_type_with_strategy 347s === RUN TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 347s === PAUSE TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 347s === RUN TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 347s === PAUSE TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 347s === RUN TestDecodePolicy/invalid_header,_header_doesnt_match 347s === PAUSE TestDecodePolicy/invalid_header,_header_doesnt_match 347s === RUN TestDecodePolicy/missing_field 347s === PAUSE TestDecodePolicy/missing_field 347s === RUN TestDecodePolicy/one_element,_multitext_value 347s === PAUSE TestDecodePolicy/one_element,_multitext_value 347s === RUN TestDecodePolicy/no_header 347s === PAUSE TestDecodePolicy/no_header 347s === RUN TestDecodePolicy/value_is_not_utf16 347s === PAUSE TestDecodePolicy/value_is_not_utf16 347s === RUN TestDecodePolicy/empty_data 347s === PAUSE TestDecodePolicy/empty_data 347s === CONT TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings 347s === CONT TestDecodePolicy/empty_data 347s === CONT TestDecodePolicy/value_is_not_utf16 347s === CONT TestDecodePolicy/no_header 347s === CONT TestDecodePolicy/one_element,_multitext_value 347s === CONT TestDecodePolicy/missing_field 347s === CONT TestDecodePolicy/invalid_header,_header_doesnt_match 347s === CONT TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type 347s === CONT TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker 347s === CONT TestDecodePolicy/basic_type_with_strategy 347s === CONT TestDecodePolicy/basic_type_with_default_value_has_value_filed_in 347s === CONT TestDecodePolicy/disabled_container_disables_its_option_values 347s === CONT TestDecodePolicy/one_element,_string_value 347s === CONT TestDecodePolicy/empty_key 347s === CONT TestDecodePolicy/section_separators_in_data 347s === CONT TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker 347s === CONT TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none 347s === CONT TestDecodePolicy/container_with_meta_elements_and_value_on_options 347s === CONT TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options 347s === CONT TestDecodePolicy/section_not_closed 347s === CONT TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker 347s === CONT TestDecodePolicy/basic_type,_disabled 347s === CONT TestDecodePolicy/basic_type,_enabled 347s === CONT TestDecodePolicy/exotic_return_type 347s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none 347s === CONT TestDecodePolicy/empty_value 347s === CONT TestDecodePolicy/container_with_default_elements_override_empty_option_values 347s === CONT TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy 347s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values 347s === CONT TestDecodePolicy/invalid_header,_header_too_short 347s === CONT TestDecodePolicy/invalid_decimal_value 347s === CONT TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type 347s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) 347s === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values 347s === CONT TestDecodePolicy/one_element,_decimal_value 347s === CONT TestDecodePolicy/invalid_container_default_values 347s === CONT TestDecodePolicy/invalid_header,_file_truncated 347s === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined 347s === CONT TestDecodePolicy/key_is_not_utf16 347s === CONT TestDecodePolicy/empty_file 347s === CONT TestDecodePolicy/header_only 347s === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values 347s === CONT TestDecodePolicy/disabled_container_with_disabled_option_values 347s === CONT TestDecodePolicy/container_without_metavalues 347s === CONT TestDecodePolicy/container_strategy_is_reflected_on_child 347s === CONT TestDecodePolicy/semicolon_in_data 347s === CONT TestDecodePolicy/two_elements 347s === CONT TestDecodePolicy/one_element,_disabled 347s === CONT TestDecodePolicy/null_character_in_data 347s --- PASS: TestDecodePolicy (0.01s) 347s --- PASS: TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings (0.00s) 347s --- PASS: TestDecodePolicy/empty_data (0.00s) 347s --- PASS: TestDecodePolicy/value_is_not_utf16 (0.00s) 347s --- PASS: TestDecodePolicy/no_header (0.00s) 347s --- PASS: TestDecodePolicy/one_element,_multitext_value (0.00s) 347s --- PASS: TestDecodePolicy/missing_field (0.00s) 347s --- PASS: TestDecodePolicy/invalid_header,_header_doesnt_match (0.00s) 347s --- PASS: TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type (0.00s) 347s --- PASS: TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker (0.00s) 347s --- PASS: TestDecodePolicy/basic_type_with_strategy (0.00s) 347s --- PASS: TestDecodePolicy/basic_type_with_default_value_has_value_filed_in (0.00s) 347s --- PASS: TestDecodePolicy/disabled_container_disables_its_option_values (0.00s) 347s --- PASS: TestDecodePolicy/one_element,_string_value (0.00s) 347s --- PASS: TestDecodePolicy/empty_key (0.00s) 347s --- PASS: TestDecodePolicy/section_separators_in_data (0.00s) 347s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none (0.00s) 347s --- PASS: TestDecodePolicy/container_with_meta_elements_and_value_on_options (0.00s) 347s --- PASS: TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker (0.00s) 347s --- PASS: TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options (0.00s) 347s --- PASS: TestDecodePolicy/section_not_closed (0.00s) 347s --- PASS: TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker (0.00s) 347s --- PASS: TestDecodePolicy/basic_type,_disabled (0.00s) 347s --- PASS: TestDecodePolicy/exotic_return_type (0.00s) 347s --- PASS: TestDecodePolicy/basic_type,_enabled (0.00s) 347s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none (0.00s) 347s --- PASS: TestDecodePolicy/container_with_default_elements_override_empty_option_values (0.00s) 347s --- PASS: TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy (0.00s) 347s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values (0.00s) 347s --- PASS: TestDecodePolicy/invalid_header,_header_too_short (0.00s) 347s --- PASS: TestDecodePolicy/empty_value (0.00s) 347s --- PASS: TestDecodePolicy/invalid_decimal_value (0.00s) 347s --- PASS: TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type (0.00s) 347s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values (0.00s) 347s --- PASS: TestDecodePolicy/one_element,_decimal_value (0.00s) 347s --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) (0.00s) 347s --- PASS: TestDecodePolicy/invalid_container_default_values (0.00s) 347s --- PASS: TestDecodePolicy/invalid_header,_file_truncated (0.00s) 347s --- PASS: TestDecodePolicy/key_is_not_utf16 (0.00s) 347s --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined (0.00s) 347s --- PASS: TestDecodePolicy/empty_file (0.00s) 347s --- PASS: TestDecodePolicy/header_only (0.00s) 347s --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values (0.00s) 347s --- PASS: TestDecodePolicy/disabled_container_with_disabled_option_values (0.00s) 347s --- PASS: TestDecodePolicy/container_without_metavalues (0.00s) 347s --- PASS: TestDecodePolicy/semicolon_in_data (0.00s) 347s --- PASS: TestDecodePolicy/container_strategy_is_reflected_on_child (0.00s) 347s --- PASS: TestDecodePolicy/two_elements (0.00s) 347s --- PASS: TestDecodePolicy/null_character_in_data (0.00s) 347s --- PASS: TestDecodePolicy/one_element,_disabled (0.00s) 347s === RUN FuzzDecodePolicy 347s === RUN FuzzDecodePolicy/seed#0 347s === RUN FuzzDecodePolicy/seed#1 347s === RUN FuzzDecodePolicy/seed#2 347s === RUN FuzzDecodePolicy/seed#3 347s === RUN FuzzDecodePolicy/seed#4 347s === RUN FuzzDecodePolicy/seed#5 347s === RUN FuzzDecodePolicy/seed#6 347s === RUN FuzzDecodePolicy/seed#7 347s === RUN FuzzDecodePolicy/seed#8 347s === RUN FuzzDecodePolicy/seed#9 347s === RUN FuzzDecodePolicy/seed#10 347s === RUN FuzzDecodePolicy/seed#11 347s === RUN FuzzDecodePolicy/seed#12 347s === RUN FuzzDecodePolicy/seed#13 347s === RUN FuzzDecodePolicy/seed#14 347s === RUN FuzzDecodePolicy/seed#15 347s === RUN FuzzDecodePolicy/seed#16 347s === RUN FuzzDecodePolicy/seed#17 347s === RUN FuzzDecodePolicy/seed#18 347s === RUN FuzzDecodePolicy/seed#19 347s === RUN FuzzDecodePolicy/seed#20 347s === RUN FuzzDecodePolicy/seed#21 347s === RUN FuzzDecodePolicy/seed#22 347s === RUN FuzzDecodePolicy/seed#23 347s === RUN FuzzDecodePolicy/seed#24 347s === RUN FuzzDecodePolicy/seed#25 347s === RUN FuzzDecodePolicy/seed#26 347s === RUN FuzzDecodePolicy/seed#27 347s === RUN FuzzDecodePolicy/seed#28 347s === RUN FuzzDecodePolicy/seed#29 347s === RUN FuzzDecodePolicy/seed#30 347s === RUN FuzzDecodePolicy/seed#31 347s === RUN FuzzDecodePolicy/seed#32 347s === RUN FuzzDecodePolicy/seed#33 347s === RUN FuzzDecodePolicy/seed#34 347s === RUN FuzzDecodePolicy/seed#35 347s === RUN FuzzDecodePolicy/seed#36 347s === RUN FuzzDecodePolicy/seed#37 347s === RUN FuzzDecodePolicy/seed#38 347s === RUN FuzzDecodePolicy/seed#39 347s === RUN FuzzDecodePolicy/seed#40 347s === RUN FuzzDecodePolicy/seed#41 347s === RUN FuzzDecodePolicy/seed#42 347s === RUN FuzzDecodePolicy/seed#43 347s === RUN FuzzDecodePolicy/seed#44 347s === RUN FuzzDecodePolicy/seed#45 347s === RUN FuzzDecodePolicy/seed#46 347s === RUN FuzzDecodePolicy/seed#47 347s === RUN FuzzDecodePolicy/seed#48 347s === RUN FuzzDecodePolicy/seed#49 347s === RUN FuzzDecodePolicy/seed#50 347s === RUN FuzzDecodePolicy/seed#51 347s === RUN FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 347s --- PASS: FuzzDecodePolicy (0.02s) 347s --- PASS: FuzzDecodePolicy/seed#0 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#1 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#2 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#3 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#4 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#5 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#6 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#7 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#8 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#9 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#10 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#11 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#12 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#13 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#14 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#15 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#16 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#17 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#18 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#19 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#20 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#21 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#22 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#23 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#24 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#25 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#26 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#27 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#28 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#29 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#30 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#31 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#32 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#33 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#34 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#35 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#36 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#37 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#38 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#39 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#40 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#41 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#42 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#43 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#44 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#45 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#46 (0.01s) 347s --- PASS: FuzzDecodePolicy/seed#47 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#48 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#49 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#50 (0.00s) 347s --- PASS: FuzzDecodePolicy/seed#51 (0.00s) 347s --- PASS: FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 (0.00s) 347s PASS 347s ok github.com/ubuntu/adsys/internal/ad/registry 0.085s 347s === RUN TestNew 347s === PAUSE TestNew 347s === CONT TestNew 347s === RUN TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 347s === PAUSE TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 347s === RUN TestNew/Select_winbind_backend_explicitly 347s === PAUSE TestNew/Select_winbind_backend_explicitly 347s === RUN TestNew/Error_on_nonexistent_sssd.conf 347s === PAUSE TestNew/Error_on_nonexistent_sssd.conf 347s === RUN TestNew/Adsys_directory_can_already_exists 347s === PAUSE TestNew/Adsys_directory_can_already_exists 347s === RUN TestNew/Unknown_backend_defaults_to_sssd 347s === PAUSE TestNew/Unknown_backend_defaults_to_sssd 347s === RUN TestNew/Select_sssd_backend_explicitly 347s === PAUSE TestNew/Select_sssd_backend_explicitly 347s === RUN TestNew/Error_on_failure_to_create_run_directory 347s === PAUSE TestNew/Error_on_failure_to_create_run_directory 347s === RUN TestNew/Error_on_failure_to_create_cache_directory 347s === PAUSE TestNew/Error_on_failure_to_create_cache_directory 347s === RUN TestNew/Error_on_ad.New_prevents_adsysservice_creation 347s === PAUSE TestNew/Error_on_ad.New_prevents_adsysservice_creation 347s === CONT TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run 347s === CONT TestNew/Error_on_ad.New_prevents_adsysservice_creation 347s === CONT TestNew/Error_on_failure_to_create_cache_directory 347s === CONT TestNew/Error_on_failure_to_create_run_directory 347s === CONT TestNew/Select_sssd_backend_explicitly 347s === CONT TestNew/Unknown_backend_defaults_to_sssd 347s === CONT TestNew/Adsys_directory_can_already_exists 347s time="2024-03-21T02:25:06Z" level=warning msg="Unknown configured backend \"unknown-backend\". Defaulting to sssd." 347s === CONT TestNew/Error_on_nonexistent_sssd.conf 347s === CONT TestNew/Select_winbind_backend_explicitly 347s time="2024-03-21T02:25:06Z" level=warning msg="could not get online status for domain \"example.com\": status code 6" 347s --- PASS: TestNew (0.00s) 347s --- PASS: TestNew/Error_on_ad.New_prevents_adsysservice_creation (0.00s) 347s --- PASS: TestNew/New_and_Quit_succeeds_and_defaults_to_sssd,_first_run (0.01s) 347s --- PASS: TestNew/Error_on_failure_to_create_run_directory (0.00s) 347s --- PASS: TestNew/Error_on_failure_to_create_cache_directory (0.01s) 347s --- PASS: TestNew/Select_sssd_backend_explicitly (0.01s) 347s --- PASS: TestNew/Adsys_directory_can_already_exists (0.01s) 347s --- PASS: TestNew/Unknown_backend_defaults_to_sssd (0.01s) 347s --- PASS: TestNew/Select_winbind_backend_explicitly (0.00s) 347s --- PASS: TestNew/Error_on_nonexistent_sssd.conf (0.01s) 347s PASS 347s ok github.com/ubuntu/adsys/internal/adsysservice 0.207s 347s === RUN TestIsAllowed 347s === PAUSE TestIsAllowed 347s === RUN TestPeerCredsInfoAuthType 347s === PAUSE TestPeerCredsInfoAuthType 347s === RUN TestServerPeerCredsHandshake 347s === PAUSE TestServerPeerCredsHandshake 347s === RUN TestServerPeerCredsInvalidSocket 347s === PAUSE TestServerPeerCredsInvalidSocket 347s === RUN TestIsAllowedFromContext 347s === PAUSE TestIsAllowedFromContext 347s === RUN TestIsAllowedFromContextWithoutPeer 347s === PAUSE TestIsAllowedFromContextWithoutPeer 347s === RUN TestIsAllowedFromContextWithInvalidPeerCreds 347s === PAUSE TestIsAllowedFromContextWithInvalidPeerCreds 347s === RUN TestIsAllowedFromContextWithoutUserKey 347s === PAUSE TestIsAllowedFromContextWithoutUserKey 347s === CONT TestIsAllowed 347s === CONT TestIsAllowedFromContextWithoutUserKey 347s --- PASS: TestIsAllowedFromContextWithoutUserKey (0.01s) 347s === CONT TestIsAllowedFromContextWithInvalidPeerCreds 347s --- PASS: TestIsAllowedFromContextWithInvalidPeerCreds (0.00s) 347s === CONT TestIsAllowedFromContextWithoutPeer 347s --- PASS: TestIsAllowedFromContextWithoutPeer (0.00s) 347s === CONT TestIsAllowedFromContext 347s === RUN TestIsAllowedFromContext/Extract_other_user_action_from_request 347s === PAUSE TestIsAllowedFromContext/Extract_other_user_action_from_request 347s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 347s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 347s === RUN TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 347s === PAUSE TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 347s === RUN TestIsAllowedFromContext/Root_is_always_authorized 347s === PAUSE TestIsAllowedFromContext/Root_is_always_authorized 347s === RUN TestIsAllowedFromContext/Valid_process_and_ACK 347s === PAUSE TestIsAllowedFromContext/Valid_process_and_ACK 347s === RUN TestIsAllowedFromContext/Valid_process_and_NACK 347s === PAUSE TestIsAllowedFromContext/Valid_process_and_NACK 347s === RUN TestIsAllowedFromContext/Extract_current_user_action_from_request 347s === PAUSE TestIsAllowedFromContext/Extract_current_user_action_from_request 347s === CONT TestServerPeerCredsInvalidSocket 347s --- PASS: TestServerPeerCredsInvalidSocket (0.00s) 347s === CONT TestServerPeerCredsHandshake 347s --- PASS: TestServerPeerCredsHandshake (0.00s) 347s === CONT TestPeerCredsInfoAuthType 347s --- PASS: TestPeerCredsInfoAuthType (0.00s) 347s === CONT TestIsAllowedFromContext/Extract_other_user_action_from_request 347s === CONT TestIsAllowedFromContext/Extract_current_user_action_from_request 347s === CONT TestIsAllowedFromContext/Valid_process_and_NACK 347s === CONT TestIsAllowedFromContext/Valid_process_and_ACK 347s === CONT TestIsAllowedFromContext/Root_is_always_authorized 347s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid 347s === CONT TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error 347s --- PASS: TestIsAllowedFromContext (0.00s) 347s --- PASS: TestIsAllowedFromContext/Extract_other_user_action_from_request (0.00s) 347s --- PASS: TestIsAllowedFromContext/Extract_current_user_action_from_request (0.00s) 347s --- PASS: TestIsAllowedFromContext/Valid_process_and_NACK (0.00s) 347s --- PASS: TestIsAllowedFromContext/Valid_process_and_ACK (0.00s) 347s --- PASS: TestIsAllowedFromContext/Root_is_always_authorized (0.00s) 347s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_has_invalid_uid (0.00s) 347s --- PASS: TestIsAllowedFromContext/Unauthorizes_when_user_lookup_returns_an_error (0.00s) 347s === RUN TestIsAllowed/Valid_process_and_ACK 347s === PAUSE TestIsAllowed/Valid_process_and_ACK 347s === RUN TestIsAllowed/Invalid_process_stat_file:_missing_) 347s === PAUSE TestIsAllowed/Invalid_process_stat_file:_missing_) 347s === RUN TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 347s === PAUSE TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 347s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 347s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 347s === RUN TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 347s === PAUSE TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 347s === RUN TestIsAllowed/Root_is_always_authorized 347s === PAUSE TestIsAllowed/Root_is_always_authorized 347s === RUN TestIsAllowed/Valid_process_and_NACK 347s === PAUSE TestIsAllowed/Valid_process_and_NACK 347s === RUN TestIsAllowed/Process_doesn't_exists 347s === PAUSE TestIsAllowed/Process_doesn't_exists 347s === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 347s === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 347s === RUN TestIsAllowed/Polkit_dbus_call_errors_out 347s === PAUSE TestIsAllowed/Polkit_dbus_call_errors_out 347s === RUN TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 347s === PAUSE TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 347s === RUN TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 347s === PAUSE TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 347s === CONT TestIsAllowed/Valid_process_and_ACK 347s === CONT TestIsAllowed/Valid_process_and_NACK 347s === CONT TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID 347s === CONT TestIsAllowed/ActionAlwaysAllowed_is_always_allowed 347s === CONT TestIsAllowed/Polkit_dbus_call_errors_out 347s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_present 347s === CONT TestIsAllowed/Process_doesn't_exists 347s === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int 347s === CONT TestIsAllowed/Root_is_always_authorized 347s === CONT TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID 347s === CONT TestIsAllowed/Invalid_process_stat_file:_)_at_the_end 347s === CONT TestIsAllowed/Invalid_process_stat_file:_missing_) 347s --- PASS: TestIsAllowed (0.02s) 347s --- PASS: TestIsAllowed/Valid_process_and_NACK (0.00s) 347s --- PASS: TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID (0.00s) 347s --- PASS: TestIsAllowed/ActionAlwaysAllowed_is_always_allowed (0.00s) 347s --- PASS: TestIsAllowed/Polkit_dbus_call_errors_out (0.00s) 347s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_present (0.00s) 347s --- PASS: TestIsAllowed/Process_doesn't_exists (0.00s) 347s --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int (0.00s) 347s --- PASS: TestIsAllowed/Root_is_always_authorized (0.00s) 347s --- PASS: TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID (0.00s) 347s --- PASS: TestIsAllowed/Invalid_process_stat_file:_)_at_the_end (0.00s) 347s --- PASS: TestIsAllowed/Invalid_process_stat_file:_missing_) (0.00s) 347s --- PASS: TestIsAllowed/Valid_process_and_ACK (0.00s) 347s PASS 347s ok github.com/ubuntu/adsys/internal/authorizer 0.070s 347s ? github.com/ubuntu/adsys/internal/consts [no test files] 353s ? github.com/ubuntu/adsys/internal/grpc/logstreamer/test [no test files] 357s === RUN TestSetVerboseMode 357s === RUN TestSetVerboseMode/Default_level_is_warning 357s === RUN TestSetVerboseMode/1_is_for_info 357s === RUN TestSetVerboseMode/2_is_for_debug 357s === RUN TestSetVerboseMode/3_is_debug_printing_callers 357s --- PASS: TestSetVerboseMode (0.00s) 357s --- PASS: TestSetVerboseMode/Default_level_is_warning (0.00s) 357s --- PASS: TestSetVerboseMode/1_is_for_info (0.00s) 357s --- PASS: TestSetVerboseMode/2_is_for_debug (0.00s) 357s --- PASS: TestSetVerboseMode/3_is_debug_printing_callers (0.00s) 357s === RUN TestInit 357s === RUN TestInit/Error_on_invalid_configuration_file 357s === RUN TestInit/Empty_configuration_file_is_supported 357s === RUN TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand 357s === RUN TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand 357s === RUN TestInit/Flag_is_supported 357s === RUN TestInit/Configuration_changed_directly 357s === RUN TestInit/Env_has_precedence_over_configuration 357s === RUN TestInit/Load_configuration,_no_file,_no_flag,_no_env 357s === RUN TestInit/Load_configuration_with_file 357s === RUN TestInit/Configuration_flag,_not_in_config_dir 357s === RUN TestInit/Error_on_config_flag_points_to_unexisting_path 357s === RUN TestInit/No_config_flag_set_before_Init_is_call_is_ignored 357s === RUN TestInit/Environment_is_supported 357s === RUN TestInit/Error_on_no_verbose_flag_set_before_Init_is_call 357s === RUN TestInit/Error_on_callback_returning_error_on_first_call 357s === RUN TestInit/Load_configuration_from_executable_dir 357s === RUN TestInit/Configuration_file_overwritten 357s === RUN TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account 357s === RUN TestInit/Callback_in_error_on_refresh_only_prints_warning 357s time="2024-03-21T02:25:18Z" level=warning msg="Error while refreshing configuration: Error from callback" 357s === RUN TestInit/Flag_has_precedence_over_env 357s === RUN TestInit/Configuration_flag_has_precedence_over_local_file 357s --- PASS: TestInit (10.50s) 357s --- PASS: TestInit/Error_on_invalid_configuration_file (0.20s) 357s --- PASS: TestInit/Empty_configuration_file_is_supported (0.01s) 357s --- PASS: TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand (0.00s) 357s --- PASS: TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand (0.00s) 357s --- PASS: TestInit/Flag_is_supported (0.00s) 357s --- PASS: TestInit/Configuration_changed_directly (2.01s) 357s --- PASS: TestInit/Env_has_precedence_over_configuration (0.00s) 357s --- PASS: TestInit/Load_configuration,_no_file,_no_flag,_no_env (0.00s) 357s --- PASS: TestInit/Load_configuration_with_file (0.00s) 357s --- PASS: TestInit/Configuration_flag,_not_in_config_dir (0.00s) 357s --- PASS: TestInit/Error_on_config_flag_points_to_unexisting_path (0.00s) 357s --- PASS: TestInit/No_config_flag_set_before_Init_is_call_is_ignored (0.00s) 357s --- PASS: TestInit/Environment_is_supported (0.00s) 357s --- PASS: TestInit/Error_on_no_verbose_flag_set_before_Init_is_call (0.00s) 357s --- PASS: TestInit/Error_on_callback_returning_error_on_first_call (0.00s) 357s --- PASS: TestInit/Load_configuration_from_executable_dir (0.00s) 357s --- PASS: TestInit/Configuration_file_overwritten (2.11s) 357s --- PASS: TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account (4.05s) 357s --- PASS: TestInit/Callback_in_error_on_refresh_only_prints_warning (2.08s) 357s --- PASS: TestInit/Flag_has_precedence_over_env (0.00s) 357s --- PASS: TestInit/Configuration_flag_has_precedence_over_local_file (0.00s) 357s === RUN TestLoadConfig 357s === PAUSE TestLoadConfig 357s === CONT TestLoadConfig 357s === RUN TestLoadConfig/Empty_configuration_is_supported 357s === PAUSE TestLoadConfig/Empty_configuration_is_supported 357s === RUN TestLoadConfig/Load_configuration_deserialize_its 357s === PAUSE TestLoadConfig/Load_configuration_deserialize_its 357s === CONT TestLoadConfig/Empty_configuration_is_supported 357s === CONT TestLoadConfig/Load_configuration_deserialize_its 357s --- PASS: TestLoadConfig (0.00s) 357s --- PASS: TestLoadConfig/Empty_configuration_is_supported (0.00s) 357s --- PASS: TestLoadConfig/Load_configuration_deserialize_its (0.00s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/config 10.590s 357s === RUN TestConfigFileFromArgs 357s === PAUSE TestConfigFileFromArgs 357s === RUN TestDirsFromConfigFile 357s === PAUSE TestDirsFromConfigFile 357s === RUN TestWriteConfig 357s === RUN TestWriteConfig/Error_on_absent_dirs 357s === RUN TestWriteConfig/Error_on_empty_dirs 357s === RUN TestWriteConfig/With_relative_config_path 357s === RUN TestWriteConfig/With_nested_config_path 357s --- PASS: TestWriteConfig (0.00s) 357s --- PASS: TestWriteConfig/Error_on_absent_dirs (0.00s) 357s --- PASS: TestWriteConfig/Error_on_empty_dirs (0.00s) 357s --- PASS: TestWriteConfig/With_relative_config_path (0.00s) 357s --- PASS: TestWriteConfig/With_nested_config_path (0.00s) 357s === CONT TestConfigFileFromArgs 357s === CONT TestDirsFromConfigFile 357s === RUN TestDirsFromConfigFile/No_config_file 357s === PAUSE TestDirsFromConfigFile/No_config_file 357s === RUN TestDirsFromConfigFile/Empty_config_file 357s === RUN TestConfigFileFromArgs/Short_config_argument 357s === PAUSE TestConfigFileFromArgs/Short_config_argument 357s === PAUSE TestDirsFromConfigFile/Empty_config_file 357s === RUN TestConfigFileFromArgs/Short_config_argument_with_quotes 357s === PAUSE TestConfigFileFromArgs/Short_config_argument_with_quotes 357s === RUN TestDirsFromConfigFile/No_dirs_in_config_file 357s === PAUSE TestDirsFromConfigFile/No_dirs_in_config_file 357s === RUN TestDirsFromConfigFile/Config_dirs_is_not_an_array 357s === PAUSE TestDirsFromConfigFile/Config_dirs_is_not_an_array 357s === RUN TestDirsFromConfigFile/Config_dirs_is_an_array 357s === PAUSE TestDirsFromConfigFile/Config_dirs_is_an_array 357s === CONT TestDirsFromConfigFile/No_config_file 357s === RUN TestConfigFileFromArgs/Error_on_empty_args 357s === PAUSE TestConfigFileFromArgs/Error_on_empty_args 357s === RUN TestConfigFileFromArgs/Error_on_no_config_argument 357s === PAUSE TestConfigFileFromArgs/Error_on_no_config_argument 357s === RUN TestConfigFileFromArgs/Error_on_config_argument_with_no_value 357s === PAUSE TestConfigFileFromArgs/Error_on_config_argument_with_no_value 357s === CONT TestDirsFromConfigFile/Config_dirs_is_not_an_array 357s === CONT TestConfigFileFromArgs/Short_config_argument 357s === CONT TestDirsFromConfigFile/Config_dirs_is_an_array 357s === CONT TestDirsFromConfigFile/No_dirs_in_config_file 357s === CONT TestDirsFromConfigFile/Empty_config_file 357s === CONT TestConfigFileFromArgs/Error_on_config_argument_with_no_value 357s === CONT TestConfigFileFromArgs/Error_on_no_config_argument 357s --- PASS: TestDirsFromConfigFile (0.00s) 357s --- PASS: TestDirsFromConfigFile/No_config_file (0.00s) 357s --- PASS: TestDirsFromConfigFile/Config_dirs_is_not_an_array (0.00s) 357s --- PASS: TestDirsFromConfigFile/Config_dirs_is_an_array (0.00s) 357s --- PASS: TestDirsFromConfigFile/No_dirs_in_config_file (0.00s) 357s --- PASS: TestDirsFromConfigFile/Empty_config_file (0.00s) 357s === CONT TestConfigFileFromArgs/Error_on_empty_args 357s === CONT TestConfigFileFromArgs/Short_config_argument_with_quotes 357s --- PASS: TestConfigFileFromArgs (0.00s) 357s --- PASS: TestConfigFileFromArgs/Short_config_argument (0.00s) 357s --- PASS: TestConfigFileFromArgs/Error_on_config_argument_with_no_value (0.00s) 357s --- PASS: TestConfigFileFromArgs/Error_on_no_config_argument (0.00s) 357s --- PASS: TestConfigFileFromArgs/Error_on_empty_args (0.00s) 357s --- PASS: TestConfigFileFromArgs/Short_config_argument_with_quotes (0.00s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/config/watchd 0.071s 357s === RUN TestStartStop 357s === PAUSE TestStartStop 357s === RUN TestStopBeforeServe 357s === PAUSE TestStopBeforeServe 357s === RUN TestChangeSocket 357s === PAUSE TestChangeSocket 357s === RUN TestSocketActivation 357s === PAUSE TestSocketActivation 357s === RUN TestUseSocketIgnoredWithSocketActivation 357s === PAUSE TestUseSocketIgnoredWithSocketActivation 357s === RUN TestSdNotifier 357s === PAUSE TestSdNotifier 357s === RUN TestFailingOption 357s === PAUSE TestFailingOption 357s === RUN TestCannotCreateSocket 357s === PAUSE TestCannotCreateSocket 357s === RUN TestServerStartListenTimeout 357s === PAUSE TestServerStartListenTimeout 357s === RUN TestServerDontTimeoutWithActiveRequest 357s === PAUSE TestServerDontTimeoutWithActiveRequest 357s === RUN TestServerDontTimeoutWithMultipleActiveRequests 357s === PAUSE TestServerDontTimeoutWithMultipleActiveRequests 357s === RUN TestServerChangeTimeout 357s === PAUSE TestServerChangeTimeout 357s === RUN TestServerDoubleQuit 357s === PAUSE TestServerDoubleQuit 357s === CONT TestStartStop 357s === CONT TestCannotCreateSocket 357s --- PASS: TestCannotCreateSocket (0.00s) 357s === CONT TestFailingOption 357s --- PASS: TestFailingOption (0.00s) 357s === CONT TestSdNotifier 357s === RUN TestSdNotifier/Sends_signal 357s === PAUSE TestSdNotifier/Sends_signal 357s === RUN TestSdNotifier/Doesn't_fail_when_not_under_systemd 357s === PAUSE TestSdNotifier/Doesn't_fail_when_not_under_systemd 357s === RUN TestSdNotifier/Error_when_notifier_fails 357s === PAUSE TestSdNotifier/Error_when_notifier_fails 357s === CONT TestUseSocketIgnoredWithSocketActivation 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestStartStop2071027059/001/test.sock" 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestUseSocketIgnoredWithSocketActivation3958196947/001/socket" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s --- PASS: TestStartStop (0.01s) 357s === CONT TestSocketActivation 357s === RUN TestSocketActivation/Error_when_Listeners()_fails 357s === PAUSE TestSocketActivation/Error_when_Listeners()_fails 357s === RUN TestSocketActivation/Success_with_one_socket 357s === PAUSE TestSocketActivation/Success_with_one_socket 357s === RUN TestSocketActivation/Error_when_provided_with_many_sockets 357s === PAUSE TestSocketActivation/Error_when_provided_with_many_sockets 357s === CONT TestChangeSocket 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestChangeSocket3216441415/001/test.sock" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s --- PASS: TestUseSocketIgnoredWithSocketActivation (0.02s) 357s === CONT TestStopBeforeServe 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s --- PASS: TestStopBeforeServe (0.00s) 357s === CONT TestServerDontTimeoutWithMultipleActiveRequests 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestChangeSocket3216441415/001/test2.sock" 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithMultipleActiveRequests124484011/001/test.sock" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s --- PASS: TestChangeSocket (0.02s) 357s === CONT TestServerDoubleQuit 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestServerDoubleQuit2990856644/001/test.sock" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s --- PASS: TestServerDoubleQuit (0.01s) 357s === CONT TestServerChangeTimeout 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestServerChangeTimeout716340579/001/test.sock" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s --- PASS: TestServerChangeTimeout (0.05s) 357s === CONT TestServerDontTimeoutWithActiveRequest 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithActiveRequest2859598510/001/test.sock" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s --- PASS: TestServerDontTimeoutWithMultipleActiveRequests (0.11s) 357s === CONT TestServerStartListenTimeout 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestServerStartListenTimeout1016492647/001/test.sock" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s --- PASS: TestServerStartListenTimeout (0.01s) 357s === CONT TestSdNotifier/Sends_signal 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestSdNotifierSends_signal1085644564/001/socket" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s === CONT TestSdNotifier/Doesn't_fail_when_not_under_systemd 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestSdNotifierDoesnt_fail_when_not_under_systemd226249581/001/socket" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s === CONT TestSdNotifier/Error_when_notifier_fails 357s --- PASS: TestSdNotifier (0.00s) 357s --- PASS: TestSdNotifier/Sends_signal (0.01s) 357s --- PASS: TestSdNotifier/Doesn't_fail_when_not_under_systemd (0.01s) 357s --- PASS: TestSdNotifier/Error_when_notifier_fails (0.00s) 357s === CONT TestSocketActivation/Error_when_Listeners()_fails 357s === CONT TestSocketActivation/Success_with_one_socket 357s time="2024-03-21T02:25:09Z" level=info msg="Serving on /tmp/TestSocketActivationSuccess_with_one_socket1005504101/001/sock1" 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s time="2024-03-21T02:25:09Z" level=info msg="Wait for active requests to close." 357s === CONT TestSocketActivation/Error_when_provided_with_many_sockets 357s --- PASS: TestSocketActivation (0.00s) 357s --- PASS: TestSocketActivation/Error_when_Listeners()_fails (0.00s) 357s --- PASS: TestSocketActivation/Success_with_one_socket (0.01s) 357s --- PASS: TestSocketActivation/Error_when_provided_with_many_sockets (0.00s) 357s time="2024-03-21T02:25:09Z" level=info msg="Stopping daemon requested." 357s --- PASS: TestServerDontTimeoutWithActiveRequest (0.11s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/daemon 0.237s 357s === RUN TestCleanDirectory 357s === PAUSE TestCleanDirectory 357s === RUN TestCleanDirectoryNoDirectoryExists 357s === PAUSE TestCleanDirectoryNoDirectoryExists 357s === RUN TestCleanDirectoryCantRemoveDirectory 357s === PAUSE TestCleanDirectoryCantRemoveDirectory 357s === RUN TestInstallOnlyMode 357s --- PASS: TestInstallOnlyMode (0.00s) 357s === RUN TestDestDirectory 357s --- PASS: TestDestDirectory (0.00s) 357s === CONT TestCleanDirectory 357s === CONT TestCleanDirectoryCantRemoveDirectory 357s --- PASS: TestCleanDirectoryCantRemoveDirectory (0.00s) 357s === CONT TestCleanDirectoryNoDirectoryExists 357s --- PASS: TestCleanDirectory (0.00s) 357s --- PASS: TestCleanDirectoryNoDirectoryExists (0.00s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/generators 0.023s 357s === RUN TestNoNotification 357s === PAUSE TestNoNotification 357s === RUN TestNewConnectionNotification 357s === PAUSE TestNewConnectionNotification 357s === RUN TestDoneConnectionNotification 357s === PAUSE TestDoneConnectionNotification 357s === RUN TestErrorFromHandlerReturned 357s === PAUSE TestErrorFromHandlerReturned 357s === RUN TestErrorOnNilStream 357s === PAUSE TestErrorOnNilStream 357s === CONT TestNoNotification 357s === CONT TestErrorFromHandlerReturned 357s === CONT TestNewConnectionNotification 357s === CONT TestErrorOnNilStream 357s --- PASS: TestNoNotification (0.00s) 357s === CONT TestDoneConnectionNotification 357s --- PASS: TestDoneConnectionNotification (0.00s) 357s --- PASS: TestErrorFromHandlerReturned (0.00s) 357s --- PASS: TestNewConnectionNotification (0.00s) 357s --- PASS: TestErrorOnNilStream (0.00s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/grpc/connectionnotify 0.019s 357s === RUN TestActiveConnection 357s === PAUSE TestActiveConnection 357s === RUN TestTimeoutOnInactiveConnection 357s === PAUSE TestTimeoutOnInactiveConnection 357s === RUN TestCancelOnClientSide 357s === PAUSE TestCancelOnClientSide 357s === RUN TestClientInterceptorFailed 357s === PAUSE TestClientInterceptorFailed 357s === RUN TestRecvMessageError 357s === PAUSE TestRecvMessageError 357s === CONT TestActiveConnection 357s === CONT TestClientInterceptorFailed 357s === CONT TestCancelOnClientSide 357s --- PASS: TestClientInterceptorFailed (0.00s) 357s --- PASS: TestCancelOnClientSide (0.00s) 357s === CONT TestTimeoutOnInactiveConnection 357s --- PASS: TestTimeoutOnInactiveConnection (0.05s) 357s === CONT TestRecvMessageError 357s --- PASS: TestRecvMessageError (0.00s) 357s --- PASS: TestActiveConnection (0.16s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/grpc/contextidler 0.750s 357s === RUN TestFormat 357s === PAUSE TestFormat 357s === CONT TestFormat 357s === RUN TestFormat/Non_GRPC_errors_are_returned_as_is 357s === PAUSE TestFormat/Non_GRPC_errors_are_returned_as_is 357s === RUN TestFormat/GRPC_Unavailable_errors_prints_daemon_name 357s === PAUSE TestFormat/GRPC_Unavailable_errors_prints_daemon_name 357s === RUN TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 357s === PAUSE TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 357s === RUN TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 357s === PAUSE TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 357s === RUN TestFormat/GRPC_Random_errors_prints_status_and_message 357s === PAUSE TestFormat/GRPC_Random_errors_prints_status_and_message 357s === RUN TestFormat/Nil_returns_nil 357s === PAUSE TestFormat/Nil_returns_nil 357s === CONT TestFormat/Non_GRPC_errors_are_returned_as_is 357s === CONT TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon 357s === CONT TestFormat/Nil_returns_nil 357s === CONT TestFormat/GRPC_Random_errors_prints_status_and_message 357s === CONT TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message 357s === CONT TestFormat/GRPC_Unavailable_errors_prints_daemon_name 357s --- PASS: TestFormat (0.00s) 357s --- PASS: TestFormat/Non_GRPC_errors_are_returned_as_is (0.00s) 357s --- PASS: TestFormat/Nil_returns_nil (0.00s) 357s --- PASS: TestFormat/GRPC_Random_errors_prints_status_and_message (0.00s) 357s --- PASS: TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message (0.00s) 357s --- PASS: TestFormat/GRPC_Unavailable_errors_prints_daemon_name (0.00s) 357s --- PASS: TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon (0.00s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/grpc/grpcerror 0.151s 357s === RUN TestStreamServer 357s === PAUSE TestStreamServer 357s === RUN TestStreamClient 357s === PAUSE TestStreamClient 357s === CONT TestStreamServer 357s === CONT TestStreamClient 357s --- PASS: TestStreamServer (0.01s) 357s --- PASS: TestStreamClient (0.01s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/grpc/interceptorschain 0.057s 357s === RUN TestChildRecvMsgAndHandlerCalled 357s === PAUSE TestChildRecvMsgAndHandlerCalled 357s === CONT TestChildRecvMsgAndHandlerCalled 357s === RUN TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 357s === PAUSE TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 357s === RUN TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 357s === PAUSE TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 357s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 357s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 357s === RUN TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 357s === PAUSE TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 357s === CONT TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called 357s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out 357s time="2024-03-21T02:25:13Z" level=info msg="Error sent to client: Failing handler" 357s === CONT TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact 357s === CONT TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out 357s --- PASS: TestChildRecvMsgAndHandlerCalled (0.00s) 357s --- PASS: TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called (0.00s) 357s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_handler_fails_out (0.00s) 357s --- PASS: TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact (0.00s) 357s --- PASS: TestChildRecvMsgAndHandlerCalled/Error_when_RecvMsg_errors_out (0.00s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/grpc/logconnections 0.034s 357s === RUN TestRecvLogMsg 357s === PAUSE TestRecvLogMsg 357s === RUN TestAddStreamToForwardLocalLogs 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:238457]]" 357s time="2024-03-21T02:25:14Z" level=warning msg=something 357s --- PASS: TestAddStreamToForwardLocalLogs (0.00s) 357s === RUN TestAddStreamToForwardOtherStream 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:459754]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:353164]]" 357s --- PASS: TestAddStreamToForwardOtherStream (0.00s) 357s === RUN TestAddStreamToForwardAfterClientIsConnected 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:649768]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:572836]]" 357s --- PASS: TestAddStreamToForwardAfterClientIsConnected (0.00s) 357s === RUN TestAddStreamToForwardDisconnect 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:621633]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:134571]]" 357s --- PASS: TestAddStreamToForwardDisconnect (0.00s) 357s === RUN TestAddStreamToForwardTwoClients 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:509107]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:855683]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:642200]]" 357s --- PASS: TestAddStreamToForwardTwoClients (0.00s) 357s === RUN TestAddStreamToForwardWithListenerCaller 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:926960]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:467241]]" 357s --- PASS: TestAddStreamToForwardWithListenerCaller (0.00s) 357s === RUN TestAddStreamMultipleForwarders 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:781674]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:993657]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:154924]]" 357s --- PASS: TestAddStreamMultipleForwarders (0.00s) 357s === RUN TestAddStreamMultipleForwardersOneWithCaller 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:442359]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:458059]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:671297]]" 357s --- PASS: TestAddStreamMultipleForwardersOneWithCaller (0.00s) 357s === RUN TestAddStreamToForwardFailSend 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:941704]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:700620]]" 357s time="2024-03-21T02:25:14Z" level=warning msg="Couldn't send log to one or more listener: SendMsg failed" 357s --- PASS: TestAddStreamToForwardFailSend (0.00s) 357s === RUN TestRemoveAllStreams 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:302908]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:295179]]" 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:628397]]" 357s time="2024-03-21T02:25:14Z" level=warning msg="[[123456:628397]] else" 357s --- PASS: TestRemoveAllStreams (0.00s) 357s === RUN TestLogWarningOnly 357s === PAUSE TestLogWarningOnly 357s === RUN TestMultipleLogs 357s === PAUSE TestMultipleLogs 357s === RUN TestAllLogLevels 357s === PAUSE TestAllLogLevels 357s === RUN TestDebugSentToRemoteEvenIfLocalIsWarning 357s === PAUSE TestDebugSentToRemoteEvenIfLocalIsWarning 357s === RUN TestLogWarningWithLocalCaller 357s === PAUSE TestLogWarningWithLocalCaller 357s === RUN TestLogWarningWithRemoteCaller 357s === PAUSE TestLogWarningWithRemoteCaller 357s === RUN TestLogWithNoCaller 357s === PAUSE TestLogWithNoCaller 357s === RUN TestSetReportCaller 357s === RUN TestSetReportCaller/Report_caller 357s === RUN TestSetReportCaller/Disable_caller 357s --- PASS: TestSetReportCaller (0.00s) 357s --- PASS: TestSetReportCaller/Report_caller (0.00s) 357s --- PASS: TestSetReportCaller/Disable_caller (0.00s) 357s === RUN TestLogSendingFail 357s === PAUSE TestLogSendingFail 357s === RUN TestLogStreamsAreSeparated 357s === PAUSE TestLogStreamsAreSeparated 357s === RUN TestLogAddHook 357s time="2024-03-21T02:25:14Z" level=info 357s --- PASS: TestLogAddHook (0.00s) 357s === RUN TestStreamServerInterceptor 357s === PAUSE TestStreamServerInterceptor 357s === RUN TestStreamServerInterceptorSendLogsFails 357s === PAUSE TestStreamServerInterceptorSendLogsFails 357s === RUN TestStreamServerInterceptorLoggerInvalidMetadata 357s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata 357s === CONT TestRecvLogMsg 357s === CONT TestLogWithNoCaller 357s === RUN TestRecvLogMsg/One_message,_no_log 357s === PAUSE TestRecvLogMsg/One_message,_no_log 357s === RUN TestRecvLogMsg/One_log_(and_one_closing_empty_message) 357s === PAUSE TestRecvLogMsg/One_log_(and_one_closing_empty_message) 357s Failed to fire hook: hook fired 357s === RUN TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:065972]]" 357s === PAUSE TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 357s === RUN TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 357s === PAUSE TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 357s === RUN TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 357s === PAUSE TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 357s --- PASS: TestLogWithNoCaller (0.00s) 357s === RUN TestRecvLogMsg/Two_logs_with_different_debug_level 357s === PAUSE TestRecvLogMsg/Two_logs_with_different_debug_level 357s === RUN TestRecvLogMsg/Log_with_caller 357s === PAUSE TestRecvLogMsg/Log_with_caller 357s === RUN TestRecvLogMsg/No_caller_when_not_requested 357s === PAUSE TestRecvLogMsg/No_caller_when_not_requested 357s === RUN TestRecvLogMsg/No_caller_on_any_logs 357s === PAUSE TestRecvLogMsg/No_caller_on_any_logs 357s === CONT TestLogWarningWithRemoteCaller 357s === RUN TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 357s === PAUSE TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 357s === CONT TestLogWarningWithLocalCaller 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:344433]]" 357s --- PASS: TestLogWarningWithRemoteCaller (0.00s) 357s === CONT TestDebugSentToRemoteEvenIfLocalIsWarning 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:665177]]" 357s --- PASS: TestDebugSentToRemoteEvenIfLocalIsWarning (0.00s) 357s === CONT TestAllLogLevels 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:577046]]" 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:824490]]" 357s --- PASS: TestAllLogLevels (0.00s) 357s --- PASS: TestLogWarningWithLocalCaller (0.00s) 357s === CONT TestMultipleLogs 357s === CONT TestLogWarningOnly 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:003357]]" 357s --- PASS: TestMultipleLogs (0.00s) 357s === CONT TestStreamServerInterceptor 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:528467]]" 357s --- PASS: TestLogWarningOnly (0.00s) 357s === CONT TestStreamServerInterceptorLoggerInvalidMetadata 357s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 357s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 357s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 357s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 357s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 357s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 357s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 357s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 357s === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 357s === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:240810]]" 357s --- PASS: TestStreamServerInterceptor (0.00s) 357s === CONT TestLogStreamsAreSeparated 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:833752]]" 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:455411]]" 357s --- PASS: TestLogStreamsAreSeparated (0.00s) 357s === CONT TestLogSendingFail 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:696548]]" 357s --- PASS: TestLogSendingFail (0.00s) 357s === CONT TestRecvLogMsg/One_message,_no_log 357s === CONT TestStreamServerInterceptorSendLogsFails 357s time="2024-03-21T02:25:14Z" level=warning msg="[[123456:260469]] Couldn't send initial connection log to client" 357s Failed to fire hook: hook fired 357s time="2024-03-21T02:25:14Z" level=info msg="New connection from client [[123456:260469]]" 357s --- PASS: TestStreamServerInterceptorSendLogsFails (0.00s) 357s === CONT TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) 357s === CONT TestRecvLogMsg/No_caller_on_any_logs 357s === CONT TestRecvLogMsg/No_caller_when_not_requested 357s === CONT TestRecvLogMsg/Log_with_caller 357s === CONT TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved 357s === CONT TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped 357s === CONT TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved 357s === CONT TestRecvLogMsg/One_log_(and_one_closing_empty_message) 357s === CONT TestRecvLogMsg/Two_logs_with_different_debug_level 357s --- PASS: TestRecvLogMsg (0.00s) 357s --- PASS: TestRecvLogMsg/One_message,_no_log (0.00s) 357s --- PASS: TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) (0.00s) 357s --- PASS: TestRecvLogMsg/No_caller_on_any_logs (0.00s) 357s --- PASS: TestRecvLogMsg/No_caller_when_not_requested (0.00s) 357s --- PASS: TestRecvLogMsg/Log_with_caller (0.00s) 357s --- PASS: TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved (0.00s) 357s --- PASS: TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped (0.00s) 357s --- PASS: TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved (0.00s) 357s --- PASS: TestRecvLogMsg/One_log_(and_one_closing_empty_message) (0.00s) 357s --- PASS: TestRecvLogMsg/Two_logs_with_different_debug_level (0.00s) 357s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent 357s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas 357s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key 357s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID 357s === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean 357s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata (0.00s) 357s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent (0.00s) 357s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas (0.00s) 357s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key (0.00s) 357s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID (0.00s) 357s --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean (0.00s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/grpc/logstreamer 0.043s 357s === RUN TestEventLogHook 357s === RUN TestEventLogHook/error_level 357s time="2024-03-21T02:25:14Z" level=error msg="Error msg" 357s === RUN TestEventLogHook/warn_level 357s time="2024-03-21T02:25:14Z" level=warning msg="Warning msg" 357s time="2024-03-21T02:25:14Z" level=error msg="Error msg" 357s === RUN TestEventLogHook/info_level 357s time="2024-03-21T02:25:14Z" level=info msg="Info msg" 357s time="2024-03-21T02:25:14Z" level=warning msg="Warning msg" 357s time="2024-03-21T02:25:14Z" level=error msg="Error msg" 357s === RUN TestEventLogHook/debug_level 357s time="2024-03-21T02:25:14Z" level=debug msg="Debug msg" 357s time="2024-03-21T02:25:14Z" level=info msg="Info msg" 357s time="2024-03-21T02:25:14Z" level=warning msg="Warning msg" 357s time="2024-03-21T02:25:14Z" level=error msg="Error msg" 357s --- PASS: TestEventLogHook (0.00s) 357s --- PASS: TestEventLogHook/error_level (0.00s) 357s --- PASS: TestEventLogHook/warn_level (0.00s) 357s --- PASS: TestEventLogHook/info_level (0.00s) 357s --- PASS: TestEventLogHook/debug_level (0.00s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/loghooks 0.007s 357s === RUN TestFormat 357s === PAUSE TestFormat 357s === RUN TestApplyPolicies 357s === RUN TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error 357s === RUN TestApplyPolicies/Second_call_with_no_rules_deletes_everything 357s time="2024-03-21T02:25:16Z" level=info msg="Unloading policies for hostname (machine: true)" 357s === RUN TestApplyPolicies/Error_when_applying_proxy_policy 357s === RUN TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content 357s time="2024-03-21T02:25:16Z" level=info msg="Applying policies for hostname (machine: true)" 357s time="2024-03-21T02:25:16Z" 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" 357s === RUN TestApplyPolicies/Error_when_applying_apparmor_policy 357s === RUN TestApplyPolicies/Error_when_applying_certificate_policy 357s === RUN TestApplyPolicies/Succeed 357s === RUN TestApplyPolicies/Error_when_applying_scripts_policy 357s === RUN TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended 357s time="2024-03-21T02:25:16Z" level=info msg="Applying policies for hostname (machine: true)" 357s time="2024-03-21T02:25:16Z" 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" 357s time="2024-03-21T02:25:16Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_subscription_dont_remove_scripts_if_session_hasnt_ended1147462224/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 357s === RUN TestApplyPolicies/Error_when_applying_dconf_policy 357s === RUN TestApplyPolicies/Error_when_applying_privilege_policy 357s === RUN TestApplyPolicies/Error_when_applying_mount_policy 357s === RUN TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended 357s time="2024-03-21T02:25:16Z" level=info msg="Unloading policies for hostname (machine: true)" 357s time="2024-03-21T02:25:16Z" level=info msg="\"/tmp/TestApplyPoliciesSecond_call_with_no_rules_dont_remove_scripts_if_session_hasnt_ended588116088/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." 357s === RUN TestApplyPolicies/No_subscription_is_only_dconf_content 357s --- PASS: TestApplyPolicies (0.15s) 357s --- PASS: TestApplyPolicies/Succeed_if_checking_for_backend_online_status_returns_an_error (0.01s) 357s --- PASS: TestApplyPolicies/Second_call_with_no_rules_deletes_everything (0.02s) 357s --- PASS: TestApplyPolicies/Error_when_applying_proxy_policy (0.01s) 357s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_should_remove_everything_but_dconf_content (0.01s) 357s --- PASS: TestApplyPolicies/Error_when_applying_apparmor_policy (0.01s) 357s --- PASS: TestApplyPolicies/Error_when_applying_certificate_policy (0.00s) 357s --- PASS: TestApplyPolicies/Succeed (0.01s) 357s --- PASS: TestApplyPolicies/Error_when_applying_scripts_policy (0.01s) 357s --- PASS: TestApplyPolicies/Second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended (0.01s) 357s --- PASS: TestApplyPolicies/Error_when_applying_dconf_policy (0.00s) 357s --- PASS: TestApplyPolicies/Error_when_applying_privilege_policy (0.01s) 357s --- PASS: TestApplyPolicies/Error_when_applying_mount_policy (0.01s) 357s --- PASS: TestApplyPolicies/Second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended (0.02s) 357s --- PASS: TestApplyPolicies/No_subscription_is_only_dconf_content (0.01s) 357s === RUN TestDumpPolicies 357s === PAUSE TestDumpPolicies 357s === RUN TestLastUpdateFor 357s === PAUSE TestLastUpdateFor 357s === RUN TestGetSubscriptionState 357s === RUN TestGetSubscriptionState/Returns_enablement_status_(enabled) 357s === RUN TestGetSubscriptionState/Returns_enablement_status_(disabled) 357s --- PASS: TestGetSubscriptionState (0.00s) 357s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(enabled) (0.00s) 357s --- PASS: TestGetSubscriptionState/Returns_enablement_status_(disabled) (0.00s) 357s === RUN TestNew 357s === PAUSE TestNew 357s === RUN TestNewFromCache 357s === PAUSE TestNewFromCache 357s === RUN TestSave 357s === PAUSE TestSave 357s === RUN TestCachePolicies 357s === PAUSE TestCachePolicies 357s === RUN TestSaveAssetsTo 357s === PAUSE TestSaveAssetsTo 357s === RUN TestCompressAssets 357s === PAUSE TestCompressAssets 357s === RUN TestGetUniqueRules 357s === PAUSE TestGetUniqueRules 357s === CONT TestFormat 357s === RUN TestFormat/GPO_with_rules 357s === PAUSE TestFormat/GPO_with_rules 357s === RUN TestFormat/GPO_with_rules,_override_hidden 357s === PAUSE TestFormat/GPO_with_rules,_override_hidden 357s === RUN TestFormat/GPO_with_rules,_override_displayed 357s === PAUSE TestFormat/GPO_with_rules,_override_displayed 357s === RUN TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 357s === PAUSE TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 357s === RUN TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 357s === PAUSE TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 357s === RUN TestFormat/GPO_summary 357s === PAUSE TestFormat/GPO_summary 357s === RUN TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 357s === PAUSE TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 357s === RUN TestFormat/GPO_with_rules,_appending_to_existing_treated_key 357s === PAUSE TestFormat/GPO_with_rules,_appending_to_existing_treated_key 357s === RUN TestFormat/GPO_with_rules,_override_disabled_key 357s === PAUSE TestFormat/GPO_with_rules,_override_disabled_key 357s === CONT TestFormat/GPO_with_rules 357s === CONT TestGetUniqueRules 357s === RUN TestGetUniqueRules/Multiple_domains,_different_GPOs 357s === PAUSE TestGetUniqueRules/Multiple_domains,_different_GPOs 357s === RUN TestGetUniqueRules/Two_policies,_no_overrides,_reversed 357s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides,_reversed 357s === RUN TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 357s === PAUSE TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 357s === RUN TestGetUniqueRules/More_policies,_with_multiple_overrides 357s === PAUSE TestGetUniqueRules/More_policies,_with_multiple_overrides 357s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 357s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 357s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 357s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 357s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 357s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 357s === RUN TestGetUniqueRules/One_GPO 357s === PAUSE TestGetUniqueRules/One_GPO 357s === RUN TestGetUniqueRules/Two_policies,_with_overrides 357s === PAUSE TestGetUniqueRules/Two_policies,_with_overrides 357s === RUN TestGetUniqueRules/Disabled_value_is_overridden 357s === PAUSE TestGetUniqueRules/Disabled_value_is_overridden 357s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 357s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 357s === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 357s === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 357s === RUN TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 357s === PAUSE TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 357s === RUN TestGetUniqueRules/Order_key_ascii 357s === PAUSE TestGetUniqueRules/Order_key_ascii 357s === RUN TestGetUniqueRules/Two_policies,_no_overrides 357s === PAUSE TestGetUniqueRules/Two_policies,_no_overrides 357s === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO 357s === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO 357s === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 357s === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 357s === RUN TestGetUniqueRules/Multiple_domains,_same_GPOs 357s === PAUSE TestGetUniqueRules/Multiple_domains,_same_GPOs 357s === RUN TestGetUniqueRules/Two_policies,_with_reversed_overrides 357s === PAUSE TestGetUniqueRules/Two_policies,_with_reversed_overrides 357s === RUN TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 357s === PAUSE TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 357s === CONT TestGetUniqueRules/Multiple_domains,_different_GPOs 357s === CONT TestCompressAssets 357s === RUN TestCompressAssets/Error_on_can’t_remove_existing_db 357s === PAUSE TestCompressAssets/Error_on_can’t_remove_existing_db 357s === RUN TestCompressAssets/Error_on_non_existing_directory 357s === PAUSE TestCompressAssets/Error_on_non_existing_directory 357s === RUN TestCompressAssets/No_db 357s === PAUSE TestCompressAssets/No_db 357s === RUN TestCompressAssets/Existing_db 357s === PAUSE TestCompressAssets/Existing_db 357s === CONT TestCompressAssets/Error_on_can’t_remove_existing_db 357s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored 357s === CONT TestSaveAssetsTo 357s === RUN TestSaveAssetsTo/All 357s === PAUSE TestSaveAssetsTo/All 357s === RUN TestSaveAssetsTo/Sub_directory 357s === PAUSE TestSaveAssetsTo/Sub_directory 357s === RUN TestSaveAssetsTo/Sub_directory_ending_with_slash 357s === PAUSE TestSaveAssetsTo/Sub_directory_ending_with_slash 357s === RUN TestSaveAssetsTo/File 357s === PAUSE TestSaveAssetsTo/File 357s === RUN TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 357s === PAUSE TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 357s === RUN TestSaveAssetsTo/Error_on_read_only_dest 357s === PAUSE TestSaveAssetsTo/Error_on_read_only_dest 357s === RUN TestSaveAssetsTo/Error_on_can't_chown_to_user 357s === PAUSE TestSaveAssetsTo/Error_on_can't_chown_to_user 357s === RUN TestSaveAssetsTo/Error_on_empty_relSrc 357s === PAUSE TestSaveAssetsTo/Error_on_empty_relSrc 357s === RUN TestSaveAssetsTo/Error_on_no_assets 357s === PAUSE TestSaveAssetsTo/Error_on_no_assets 357s === RUN TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 357s === PAUSE TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 357s === RUN TestSaveAssetsTo/Error_on_dest_already_exists 357s === PAUSE TestSaveAssetsTo/Error_on_dest_already_exists 357s === RUN TestSaveAssetsTo/Chown_directories_and_files_when_requested 357s === PAUSE TestSaveAssetsTo/Chown_directories_and_files_when_requested 357s === CONT TestSaveAssetsTo/All 357s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO 357s === CONT TestGetUniqueRules/Two_policies,_no_overrides 357s === CONT TestGetUniqueRules/Order_key_ascii 357s === CONT TestGetUniqueRules/Append_policy_entry,_closest_meta_wins 357s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second 357s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first 357s === CONT TestGetUniqueRules/Disabled_value_is_overridden 357s === CONT TestGetUniqueRules/Two_policies,_with_overrides 357s === CONT TestGetUniqueRules/One_GPO 357s === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override 357s === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs 357s === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored 357s === CONT TestGetUniqueRules/More_policies,_with_multiple_overrides 357s === CONT TestGetUniqueRules/Disabled_value_overrides_non_disabled_one 357s === CONT TestGetUniqueRules/Two_policies,_no_overrides,_reversed 357s === CONT TestCompressAssets/Existing_db 357s === CONT TestCompressAssets/No_db 357s === CONT TestCompressAssets/Error_on_non_existing_directory 357s === CONT TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated 357s === CONT TestCachePolicies 357s --- PASS: TestCachePolicies (0.00s) 357s === CONT TestSave 357s === RUN TestSave/Error_on_can’t_remove_existing_assets 357s === PAUSE TestSave/Error_on_can’t_remove_existing_assets 357s === RUN TestSave/With_assets 357s === PAUSE TestSave/With_assets 357s === RUN TestSave/Existing_policies_cache_is_refreshed 357s === PAUSE TestSave/Existing_policies_cache_is_refreshed 357s === RUN TestSave/Existing_assets_cache_is_refreshed 357s === PAUSE TestSave/Existing_assets_cache_is_refreshed 357s === RUN TestSave/Destdir_does_not_exists 357s === PAUSE TestSave/Destdir_does_not_exists 357s === RUN TestSave/Can_refresh_on_existing_read_only_asset_file 357s === PAUSE TestSave/Can_refresh_on_existing_read_only_asset_file 357s === RUN TestSave/Error_on_can’t_write_to_policies_base_dir 357s === PAUSE TestSave/Error_on_can’t_write_to_policies_base_dir 357s === RUN TestSave/gpos_only 357s === PAUSE TestSave/gpos_only 357s === RUN TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 357s === PAUSE TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 357s === RUN TestSave/Save_assets_on_existing_opened_file_does_not_segfault 357s === PAUSE TestSave/Save_assets_on_existing_opened_file_does_not_segfault 357s === RUN TestSave/Error_on_can’t_write_to_dest_dir 357s === PAUSE TestSave/Error_on_can’t_write_to_dest_dir 357s === CONT TestNewFromCache 357s === RUN TestNewFromCache/gpos_only 357s === PAUSE TestNewFromCache/gpos_only 357s === RUN TestNewFromCache/With_assets 357s === PAUSE TestNewFromCache/With_assets 357s === RUN TestNewFromCache/Error_on_invalid_policies_cache 357s === PAUSE TestNewFromCache/Error_on_invalid_policies_cache 357s === RUN TestNewFromCache/Error_on_invalid_assets_db 357s === PAUSE TestNewFromCache/Error_on_invalid_assets_db 357s === RUN TestNewFromCache/Error_on_no_policies_cache 357s === PAUSE TestNewFromCache/Error_on_no_policies_cache 357s === CONT TestNew 357s === RUN TestNew/Error_on_invalid_assets_db 357s === PAUSE TestNew/Error_on_invalid_assets_db 357s === RUN TestNew/Error_on_assets_db_does_not_exists 357s === PAUSE TestNew/Error_on_assets_db_does_not_exists 357s === RUN TestNew/gpos_only 357s === PAUSE TestNew/gpos_only 357s === RUN TestNew/With_assets 357s === PAUSE TestNew/With_assets 357s === RUN TestNew/No_gpos 357s === PAUSE TestNew/No_gpos 357s === CONT TestLastUpdateFor 357s --- PASS: TestCompressAssets (0.00s) 357s --- PASS: TestCompressAssets/Error_on_can’t_remove_existing_db (0.00s) 357s --- PASS: TestCompressAssets/Existing_db (0.01s) 357s --- PASS: TestCompressAssets/Error_on_non_existing_directory (0.00s) 357s --- PASS: TestCompressAssets/No_db (0.01s) 357s === CONT TestDumpPolicies 357s === RUN TestLastUpdateFor/Target_is_ignored_for_machine_request 357s === PAUSE TestLastUpdateFor/Target_is_ignored_for_machine_request 357s === RUN TestLastUpdateFor/Error_when_target_does_not_exist 357s === PAUSE TestLastUpdateFor/Error_when_target_does_not_exist 357s === RUN TestLastUpdateFor/Returns_machine's_last_update_time 357s === PAUSE TestLastUpdateFor/Returns_machine's_last_update_time 357s === RUN TestLastUpdateFor/Returns_user's_last_update_time 357s === PAUSE TestLastUpdateFor/Returns_user's_last_update_time 357s === CONT TestFormat/GPO_with_rules,_override_disabled_key 357s === RUN TestDumpPolicies/Machine_only_GPO_with_rules 357s === PAUSE TestDumpPolicies/Machine_only_GPO_with_rules 357s === RUN TestDumpPolicies/One_GPO_User 357s === PAUSE TestDumpPolicies/One_GPO_User 357s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 357s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 357s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 357s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 357s === RUN TestDumpPolicies/Error_on_missing_target_cache 357s === CONT TestFormat/GPO_with_rules,_appending_to_existing_treated_key 357s === PAUSE TestDumpPolicies/Error_on_missing_target_cache 357s === RUN TestDumpPolicies/One_GPO_Machine 357s === PAUSE TestDumpPolicies/One_GPO_Machine 357s === RUN TestDumpPolicies/One_GPO_User_+_Machine 357s === PAUSE TestDumpPolicies/One_GPO_User_+_Machine 357s === RUN TestDumpPolicies/One_GPO_with_rules 357s === PAUSE TestDumpPolicies/One_GPO_with_rules 357s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 357s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 357s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 357s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 357s === RUN TestDumpPolicies/Multiple_GPOs 357s === PAUSE TestDumpPolicies/Multiple_GPOs 357s === RUN TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 357s === PAUSE TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 357s === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 357s === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 357s === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 357s === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 357s === RUN TestDumpPolicies/Same_GPO_Machine_and_User 357s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User 357s === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 357s === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 357s === CONT TestFormat/GPO_with_rules_and_overrides,_no_rules_processed 357s === CONT TestFormat/GPO_summary 357s === CONT TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules 357s === CONT TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override 357s === CONT TestFormat/GPO_with_rules,_override_displayed 357s === CONT TestFormat/GPO_with_rules,_override_hidden 357s === CONT TestGetUniqueRules/Two_policies,_with_reversed_overrides 357s === CONT TestGetUniqueRules/Multiple_domains,_same_GPOs 357s === CONT TestSaveAssetsTo/Chown_directories_and_files_when_requested 357s --- PASS: TestFormat (0.00s) 357s --- PASS: TestFormat/GPO_with_rules (0.00s) 357s --- PASS: TestFormat/GPO_with_rules,_override_disabled_key (0.00s) 357s --- PASS: TestFormat/GPO_with_rules,_appending_to_existing_treated_key (0.00s) 357s --- PASS: TestFormat/GPO_with_rules_and_overrides,_no_rules_processed (0.00s) 357s --- PASS: TestFormat/GPO_summary (0.00s) 357s --- PASS: TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules (0.00s) 357s --- PASS: TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override (0.00s) 357s --- PASS: TestFormat/GPO_with_rules,_override_hidden (0.00s) 357s --- PASS: TestFormat/GPO_with_rules,_override_displayed (0.00s) 357s === CONT TestSaveAssetsTo/Error_on_empty_relSrc 357s --- PASS: TestGetUniqueRules (0.00s) 357s --- PASS: TestGetUniqueRules/Multiple_domains,_different_GPOs (0.00s) 357s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored (0.00s) 357s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO (0.00s) 357s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides (0.00s) 357s --- PASS: TestGetUniqueRules/Order_key_ascii (0.00s) 357s --- PASS: TestGetUniqueRules/Append_policy_entry,_closest_meta_wins (0.00s) 357s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second (0.00s) 357s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first (0.00s) 357s --- PASS: TestGetUniqueRules/Disabled_value_is_overridden (0.00s) 357s --- PASS: TestGetUniqueRules/Two_policies,_with_overrides (0.00s) 357s --- PASS: TestGetUniqueRules/One_GPO (0.00s) 357s --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override (0.00s) 357s --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs (0.00s) 357s --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored (0.00s) 357s --- PASS: TestGetUniqueRules/More_policies,_with_multiple_overrides (0.00s) 357s --- PASS: TestGetUniqueRules/Disabled_value_overrides_non_disabled_one (0.00s) 357s --- PASS: TestGetUniqueRules/Two_policies,_no_overrides,_reversed (0.00s) 357s --- PASS: TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated (0.00s) 357s --- PASS: TestGetUniqueRules/Two_policies,_with_reversed_overrides (0.00s) 357s --- PASS: TestGetUniqueRules/Multiple_domains,_same_GPOs (0.00s) 357s === CONT TestSaveAssetsTo/Error_on_dest_already_exists 357s === CONT TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest 357s === CONT TestSaveAssetsTo/Error_on_no_assets 357s === CONT TestSaveAssetsTo/File 357s === CONT TestSaveAssetsTo/Error_on_can't_chown_to_user 357s === CONT TestSaveAssetsTo/Error_on_read_only_dest 357s === CONT TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache 357s === CONT TestSaveAssetsTo/Sub_directory 357s === CONT TestSaveAssetsTo/Sub_directory_ending_with_slash 357s === CONT TestSave/Error_on_can’t_remove_existing_assets 357s --- PASS: TestSaveAssetsTo (0.00s) 357s --- PASS: TestSaveAssetsTo/All (0.01s) 357s --- PASS: TestSaveAssetsTo/Error_on_empty_relSrc (0.00s) 357s --- PASS: TestSaveAssetsTo/Error_on_dest_already_exists (0.00s) 357s --- PASS: TestSaveAssetsTo/Error_on_file_read_only_existing_in_dest (0.00s) 357s --- PASS: TestSaveAssetsTo/Error_on_no_assets (0.00s) 357s --- PASS: TestSaveAssetsTo/File (0.00s) 357s --- PASS: TestSaveAssetsTo/Error_on_can't_chown_to_user (0.00s) 357s --- PASS: TestSaveAssetsTo/Error_on_read_only_dest (0.00s) 357s --- PASS: TestSaveAssetsTo/Error_on_unexisting_relSrc_in_cache (0.00s) 357s --- PASS: TestSaveAssetsTo/Chown_directories_and_files_when_requested (0.01s) 357s --- PASS: TestSaveAssetsTo/Sub_directory (0.00s) 357s --- PASS: TestSaveAssetsTo/Sub_directory_ending_with_slash (0.00s) 357s === CONT TestNewFromCache/gpos_only 357s === CONT TestSave/Error_on_can’t_write_to_dest_dir 357s === CONT TestSave/Save_assets_on_existing_opened_file_does_not_segfault 357s === CONT TestSave/Existing_cache_with_assets,_new_cache_with_no_assets 357s === CONT TestSave/gpos_only 357s === CONT TestSave/Error_on_can’t_write_to_policies_base_dir 357s === CONT TestSave/Can_refresh_on_existing_read_only_asset_file 357s === CONT TestSave/Destdir_does_not_exists 357s === CONT TestSave/Existing_assets_cache_is_refreshed 357s === CONT TestSave/Existing_policies_cache_is_refreshed 357s === CONT TestSave/With_assets 357s === CONT TestNew/Error_on_invalid_assets_db 357s === CONT TestNewFromCache/Error_on_no_policies_cache 357s === CONT TestNewFromCache/Error_on_invalid_assets_db 357s === CONT TestNewFromCache/Error_on_invalid_policies_cache 357s === CONT TestNewFromCache/With_assets 357s --- PASS: TestSave (0.00s) 357s --- PASS: TestSave/Error_on_can’t_remove_existing_assets (0.00s) 357s --- PASS: TestSave/Error_on_can’t_write_to_dest_dir (0.00s) 357s --- PASS: TestSave/Existing_cache_with_assets,_new_cache_with_no_assets (0.00s) 357s --- PASS: TestSave/gpos_only (0.00s) 357s --- PASS: TestSave/Save_assets_on_existing_opened_file_does_not_segfault (0.00s) 357s --- PASS: TestSave/Error_on_can’t_write_to_policies_base_dir (0.00s) 357s --- PASS: TestSave/Destdir_does_not_exists (0.00s) 357s --- PASS: TestSave/Can_refresh_on_existing_read_only_asset_file (0.00s) 357s --- PASS: TestSave/Existing_policies_cache_is_refreshed (0.00s) 357s --- PASS: TestSave/Existing_assets_cache_is_refreshed (0.00s) 357s --- PASS: TestSave/With_assets (0.00s) 357s === CONT TestNew/No_gpos 357s === CONT TestNew/With_assets 357s --- PASS: TestNewFromCache (0.00s) 357s --- PASS: TestNewFromCache/gpos_only (0.00s) 357s --- PASS: TestNewFromCache/Error_on_no_policies_cache (0.00s) 357s --- PASS: TestNewFromCache/Error_on_invalid_assets_db (0.00s) 357s --- PASS: TestNewFromCache/Error_on_invalid_policies_cache (0.00s) 357s --- PASS: TestNewFromCache/With_assets (0.01s) 357s === CONT TestNew/gpos_only 357s === CONT TestLastUpdateFor/Target_is_ignored_for_machine_request 357s === CONT TestNew/Error_on_assets_db_does_not_exists 357s --- PASS: TestNew (0.00s) 357s --- PASS: TestNew/Error_on_invalid_assets_db (0.00s) 357s --- PASS: TestNew/No_gpos (0.00s) 357s --- PASS: TestNew/gpos_only (0.00s) 357s --- PASS: TestNew/With_assets (0.01s) 357s --- PASS: TestNew/Error_on_assets_db_does_not_exists (0.00s) 357s === CONT TestLastUpdateFor/Returns_machine's_last_update_time 357s time="2024-03-21T02:25:16Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: true)" 357s time="2024-03-21T02:25:16Z" level=info msg="Get policies last update time \"autopkgtest\" (machine: true)" 357s === CONT TestLastUpdateFor/Returns_user's_last_update_time 357s === CONT TestLastUpdateFor/Error_when_target_does_not_exist 357s time="2024-03-21T02:25:16Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: false)" 357s time="2024-03-21T02:25:16Z" level=info msg="Get policies last update time \"user\" (machine: false)" 357s === CONT TestDumpPolicies/Machine_only_GPO_with_rules 357s --- PASS: TestLastUpdateFor (0.00s) 357s --- PASS: TestLastUpdateFor/Target_is_ignored_for_machine_request (0.10s) 357s --- PASS: TestLastUpdateFor/Returns_machine's_last_update_time (0.10s) 357s --- PASS: TestLastUpdateFor/Returns_user's_last_update_time (0.10s) 357s --- PASS: TestLastUpdateFor/Error_when_target_does_not_exist (0.10s) 357s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_no_override 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for autopkgtest" 357s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s === CONT TestDumpPolicies/Same_GPO_Machine_and_User 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s === CONT TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user 357s === CONT TestDumpPolicies/Multiple_GPOs 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s === CONT TestDumpPolicies/Error_on_missing_target_cache 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s === CONT TestDumpPolicies/One_GPO_with_rules 357s time="2024-03-21T02:25:16Z" level=info msg="User \"user\" not found on cache." 357s === CONT TestDumpPolicies/One_GPO_User_+_Machine 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s === CONT TestDumpPolicies/One_GPO_Machine 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for autopkgtest" 357s === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown 357s === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s === CONT TestDumpPolicies/One_GPO_User 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s time="2024-03-21T02:25:16Z" level=info msg="Dumping policies for user" 357s --- PASS: TestDumpPolicies (0.00s) 357s --- PASS: TestDumpPolicies/Machine_only_GPO_with_rules (0.00s) 357s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_no_override (0.00s) 357s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules (0.00s) 357s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User (0.00s) 357s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden (0.00s) 357s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden (0.00s) 357s --- PASS: TestDumpPolicies/Multiple_GPOs (0.00s) 357s --- PASS: TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user (0.00s) 357s --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides (0.00s) 357s --- PASS: TestDumpPolicies/Error_on_missing_target_cache (0.00s) 357s --- PASS: TestDumpPolicies/One_GPO_with_rules (0.00s) 357s --- PASS: TestDumpPolicies/One_GPO_User_+_Machine (0.00s) 357s --- PASS: TestDumpPolicies/One_GPO_Machine (0.00s) 357s --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown (0.00s) 357s --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown (0.00s) 357s --- PASS: TestDumpPolicies/One_GPO_User (0.00s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/policies 0.471s 357s === RUN TestApplyPolicy 357s === PAUSE TestApplyPolicy 357s === RUN TestMockApparmorParser 357s --- PASS: TestMockApparmorParser (0.00s) 357s === CONT TestApplyPolicy 357s === RUN TestApplyPolicy/User,_error_on_empty_user_profile 357s === PAUSE TestApplyPolicy/User,_error_on_empty_user_profile 357s === RUN TestApplyPolicy/User,_error_on_save_assets_failing 357s === PAUSE TestApplyPolicy/User,_error_on_save_assets_failing 357s === RUN TestApplyPolicy/Error_on_read-only_root_directory_with_entries 357s === PAUSE TestApplyPolicy/Error_on_read-only_root_directory_with_entries 357s === RUN TestApplyPolicy/Computer,_profiles_with_whitespace 357s === PAUSE TestApplyPolicy/Computer,_profiles_with_whitespace 357s === RUN TestApplyPolicy/Computer,_previous_profiles_are_unloaded 357s === PAUSE TestApplyPolicy/Computer,_previous_profiles_are_unloaded 357s === RUN TestApplyPolicy/Existing_.new_directory_is_removed 357s === PAUSE TestApplyPolicy/Existing_.new_directory_is_removed 357s === RUN TestApplyPolicy/No_profiles,_apparmor_directory_absent 357s === PAUSE TestApplyPolicy/No_profiles,_apparmor_directory_absent 357s === RUN TestApplyPolicy/User,_valid_mapping,_unchanged_content 357s === PAUSE TestApplyPolicy/User,_valid_mapping,_unchanged_content 357s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 357s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 357s === RUN TestApplyPolicy/Error_on_absent_profile 357s === PAUSE TestApplyPolicy/Error_on_absent_profile 357s === RUN TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 357s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 357s === RUN TestApplyPolicy/Error_on_read-only_.old_directory 357s === PAUSE TestApplyPolicy/Error_on_read-only_.old_directory 357s === RUN TestApplyPolicy/Computer,_duplicated_profiles 357s === PAUSE TestApplyPolicy/Computer,_duplicated_profiles 357s === RUN TestApplyPolicy/Computer,_blank_line_profiles 357s === PAUSE TestApplyPolicy/Computer,_blank_line_profiles 357s === RUN TestApplyPolicy/Computer,_only_blank_profiles 357s === PAUSE TestApplyPolicy/Computer,_only_blank_profiles 357s === RUN TestApplyPolicy/Unexpected_entry_key 357s === PAUSE TestApplyPolicy/Unexpected_entry_key 357s === RUN TestApplyPolicy/Error_on_unloading_old_profiles_failing 357s === PAUSE TestApplyPolicy/Error_on_unloading_old_profiles_failing 357s === RUN TestApplyPolicy/Error_on_loading_profiles_failing 357s === PAUSE TestApplyPolicy/Error_on_loading_profiles_failing 357s === RUN TestApplyPolicy/Error_on_removing_unused_assets_after_dump 357s === PAUSE TestApplyPolicy/Error_on_removing_unused_assets_after_dump 357s === RUN TestApplyPolicy/Computer,_multiple_profiles, 357s === PAUSE TestApplyPolicy/Computer,_multiple_profiles, 357s === RUN TestApplyPolicy/Read-only_root_directory_and_no_entries 357s === PAUSE TestApplyPolicy/Read-only_root_directory_and_no_entries 357s === RUN TestApplyPolicy/Error_on_read-only_machine_directory 357s === PAUSE TestApplyPolicy/Error_on_read-only_machine_directory 357s === RUN TestApplyPolicy/Error_on_read-only_.new_directory 357s === PAUSE TestApplyPolicy/Error_on_read-only_.new_directory 357s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 357s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 357s === RUN TestApplyPolicy/Computer,_user_policies_are_unloaded 357s === PAUSE TestApplyPolicy/Computer,_user_policies_are_unloaded 357s === RUN TestApplyPolicy/Existing_.old_directory_is_removed 357s === PAUSE TestApplyPolicy/Existing_.old_directory_is_removed 357s === RUN TestApplyPolicy/User,_error_on_overwriting_profile_contents 357s === PAUSE TestApplyPolicy/User,_error_on_overwriting_profile_contents 357s === RUN TestApplyPolicy/No_apparmor_parser_and_no_entries 357s === PAUSE TestApplyPolicy/No_apparmor_parser_and_no_entries 357s === RUN TestApplyPolicy/Error_on_unloading_all_profiles_failing 357s === PAUSE TestApplyPolicy/Error_on_unloading_all_profiles_failing 357s === RUN TestApplyPolicy/Error_on_file_as_a_directory 357s === PAUSE TestApplyPolicy/Error_on_file_as_a_directory 357s === RUN TestApplyPolicy/Computer,_one_profile 357s === PAUSE TestApplyPolicy/Computer,_one_profile 357s === RUN TestApplyPolicy/No_apparmor_parser_and_entries 357s === PAUSE TestApplyPolicy/No_apparmor_parser_and_entries 357s === RUN TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 357s === PAUSE TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 357s === RUN TestApplyPolicy/No_profiles,_existing_rules_are_removed 357s === PAUSE TestApplyPolicy/No_profiles,_existing_rules_are_removed 357s === RUN TestApplyPolicy/User,_error_on_multiple_profiles 357s === PAUSE TestApplyPolicy/User,_error_on_multiple_profiles 357s === RUN TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 357s === PAUSE TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 357s === RUN TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 357s === PAUSE TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 357s === RUN TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 357s === PAUSE TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 357s === RUN TestApplyPolicy/Error_on_profile_being_a_directory 357s === PAUSE TestApplyPolicy/Error_on_profile_being_a_directory 357s === RUN TestApplyPolicy/Computer,_whitespace-only_value 357s === PAUSE TestApplyPolicy/Computer,_whitespace-only_value 357s === RUN TestApplyPolicy/User,_valid_mapping 357s === PAUSE TestApplyPolicy/User,_valid_mapping 357s === RUN TestApplyPolicy/User,_no_machine_profiles 357s === PAUSE TestApplyPolicy/User,_no_machine_profiles 357s === RUN TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 357s === PAUSE TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 357s === RUN TestApplyPolicy/Error_on_absent_loaded_policies_file 357s === PAUSE TestApplyPolicy/Error_on_absent_loaded_policies_file 357s === CONT TestApplyPolicy/User,_error_on_empty_user_profile 357s === CONT TestApplyPolicy/Error_on_read-only_.new_directory 357s === CONT TestApplyPolicy/Error_on_absent_loaded_policies_file 357s === CONT TestApplyPolicy/Error_on_preprocessing_old_profiles_failing 357s === CONT TestApplyPolicy/User,_no_machine_profiles 357s time="2024-03-21T02:25:17Z" level=warning msg="No apparmor machine profiles configured for this machine, skipping reload" 357s === CONT TestApplyPolicy/User,_valid_mapping 357s === CONT TestApplyPolicy/Computer,_whitespace-only_value 357s === CONT TestApplyPolicy/Error_on_profile_being_a_directory 357s === CONT TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded 357s === CONT TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted 357s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous 357s === CONT TestApplyPolicy/User,_error_on_multiple_profiles 357s === CONT TestApplyPolicy/No_profiles,_existing_rules_are_removed 357s === CONT TestApplyPolicy/Error_on_preprocessing_new_profiles_failing 357s === CONT TestApplyPolicy/No_apparmor_parser_and_entries 357s === CONT TestApplyPolicy/Computer,_one_profile 357s === CONT TestApplyPolicy/Error_on_file_as_a_directory 357s === CONT TestApplyPolicy/Error_on_unloading_all_profiles_failing 357s === CONT TestApplyPolicy/No_apparmor_parser_and_no_entries 357s time="2024-03-21T02:25:17Z" level=warning msg="Apparmor is not available on this system: exec: \"this-definitely-does-not-exist\": executable file not found in $PATH" 357s === CONT TestApplyPolicy/User,_error_on_overwriting_profile_contents 357s === CONT TestApplyPolicy/Existing_.old_directory_is_removed 357s === CONT TestApplyPolicy/Computer,_user_policies_are_unloaded 357s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 357s === CONT TestApplyPolicy/Error_on_read-only_.old_directory 357s === CONT TestApplyPolicy/Error_on_read-only_machine_directory 357s === CONT TestApplyPolicy/Read-only_root_directory_and_no_entries 357s === CONT TestApplyPolicy/Computer,_multiple_profiles, 357s === CONT TestApplyPolicy/Error_on_removing_unused_assets_after_dump 357s time="2024-03-21T02:25:17Z" level=warning msg="Couldn't remove new apparmor directory: unlinkat /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump2084272142/001/machine/pam_roles: permission denied" 357s time="2024-03-21T02:25:17Z" level=warning msg="Couldn't restore previous apparmor directory: rename /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump2084272142/001/machine.old /tmp/TestApplyPolicyError_on_removing_unused_assets_after_dump2084272142/001/machine: file exists" 357s === CONT TestApplyPolicy/Error_on_loading_profiles_failing 357s === CONT TestApplyPolicy/Error_on_unloading_old_profiles_failing 357s === CONT TestApplyPolicy/Unexpected_entry_key 357s === CONT TestApplyPolicy/Computer,_only_blank_profiles 357s === CONT TestApplyPolicy/Computer,_blank_line_profiles 357s === CONT TestApplyPolicy/Computer,_duplicated_profiles 357s === CONT TestApplyPolicy/No_profiles,_apparmor_directory_absent 357s === CONT TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries 357s === CONT TestApplyPolicy/Error_on_absent_profile 357s === CONT TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous 357s === CONT TestApplyPolicy/User,_valid_mapping,_unchanged_content 357s === CONT TestApplyPolicy/Computer,_profiles_with_whitespace 357s === CONT TestApplyPolicy/Existing_.new_directory_is_removed 357s === CONT TestApplyPolicy/Computer,_previous_profiles_are_unloaded 357s === CONT TestApplyPolicy/Error_on_read-only_root_directory_with_entries 357s === CONT TestApplyPolicy/User,_error_on_save_assets_failing 357s --- PASS: TestApplyPolicy (0.00s) 357s --- PASS: TestApplyPolicy/User,_error_on_empty_user_profile (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_read-only_.new_directory (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_absent_loaded_policies_file (0.00s) 357s --- PASS: TestApplyPolicy/User,_no_machine_profiles (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_preprocessing_old_profiles_failing (0.01s) 357s --- PASS: TestApplyPolicy/Computer,_whitespace-only_value (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_profile_being_a_directory (0.00s) 357s --- PASS: TestApplyPolicy/User,_valid_mapping (0.01s) 357s --- PASS: TestApplyPolicy/User,_no_entries,_existing_user_profile_is_deleted (0.00s) 357s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_delete_previous (0.01s) 357s --- PASS: TestApplyPolicy/User,_error_on_multiple_profiles (0.01s) 357s --- PASS: TestApplyPolicy/User,_no_user_profiles,_machine_profiles_are_unloaded (0.03s) 357s --- PASS: TestApplyPolicy/Error_on_preprocessing_new_profiles_failing (0.02s) 357s --- PASS: TestApplyPolicy/No_profiles,_existing_rules_are_removed (0.03s) 357s --- PASS: TestApplyPolicy/No_apparmor_parser_and_entries (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_file_as_a_directory (0.00s) 357s --- PASS: TestApplyPolicy/Computer,_one_profile (0.02s) 357s --- PASS: TestApplyPolicy/No_apparmor_parser_and_no_entries (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_unloading_all_profiles_failing (0.02s) 357s --- PASS: TestApplyPolicy/User,_error_on_overwriting_profile_contents (0.00s) 357s --- PASS: TestApplyPolicy/Existing_.old_directory_is_removed (0.02s) 357s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_read-only_.old_directory (0.00s) 357s --- PASS: TestApplyPolicy/Computer,_user_policies_are_unloaded (0.02s) 357s --- PASS: TestApplyPolicy/Read-only_root_directory_and_no_entries (0.00s) 357s --- PASS: TestApplyPolicy/Computer,_multiple_profiles, (0.02s) 357s --- PASS: TestApplyPolicy/Error_on_removing_unused_assets_after_dump (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory (0.03s) 357s --- PASS: TestApplyPolicy/Error_on_loading_profiles_failing (0.02s) 357s --- PASS: TestApplyPolicy/Unexpected_entry_key (0.00s) 357s --- PASS: TestApplyPolicy/Computer,_only_blank_profiles (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_unloading_old_profiles_failing (0.03s) 357s --- PASS: TestApplyPolicy/Computer,_blank_line_profiles (0.02s) 357s --- PASS: TestApplyPolicy/No_profiles,_apparmor_directory_absent (0.00s) 357s --- PASS: TestApplyPolicy/Computer,_duplicated_profiles (0.02s) 357s --- PASS: TestApplyPolicy/Error_on_read-only_machine_directory,_no_entries (0.01s) 357s --- PASS: TestApplyPolicy/Error_on_absent_profile (0.00s) 357s --- PASS: TestApplyPolicy/User,_valid_mapping,_unchanged_content (0.00s) 357s --- PASS: TestApplyPolicy/User,_error_on_invalid_user_profile,_restore_previous (0.01s) 357s --- PASS: TestApplyPolicy/Computer,_profiles_with_whitespace (0.02s) 357s --- PASS: TestApplyPolicy/Existing_.new_directory_is_removed (0.02s) 357s --- PASS: TestApplyPolicy/User,_error_on_save_assets_failing (0.00s) 357s --- PASS: TestApplyPolicy/Error_on_read-only_root_directory_with_entries (0.00s) 357s --- PASS: TestApplyPolicy/Computer,_previous_profiles_are_unloaded (0.03s) 357s PASS 357s ok github.com/ubuntu/adsys/internal/policies/apparmor 0.313s 359s ? github.com/ubuntu/adsys/internal/policies/entry [no test files] 360s === RUN TestCertAutoenrollScript 360s === RUN TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration 360s === RUN TestCertAutoenrollScript/Unenroll 360s === RUN TestCertAutoenrollScript/Enroll_with_certmonger_not_installed 360s === RUN TestCertAutoenrollScript/Enroll_with_cepces_not_installed 360s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_keys 360s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON_structure 360s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration 360s === RUN TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled 360s === RUN TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration 360s === RUN TestCertAutoenrollScript/Error_on_missing_arguments 360s === RUN TestCertAutoenrollScript/Error_on_invalid_flags 360s === RUN TestCertAutoenrollScript/Error_on_invalid_JSON 360s === RUN TestCertAutoenrollScript/Error_on_read-only_path 360s === RUN TestCertAutoenrollScript/Error_on_enroll_failure 360s === RUN TestCertAutoenrollScript/Error_on_unenroll_failure 360s --- PASS: TestCertAutoenrollScript (1.65s) 360s --- PASS: TestCertAutoenrollScript/Enroll_with_valid_advanced_configuration (0.08s) 360s --- PASS: TestCertAutoenrollScript/Unenroll (0.06s) 360s --- PASS: TestCertAutoenrollScript/Enroll_with_certmonger_not_installed (0.06s) 360s --- PASS: TestCertAutoenrollScript/Enroll_with_cepces_not_installed (0.06s) 360s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_keys (0.19s) 360s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON_structure (0.14s) 360s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration (0.09s) 360s --- PASS: TestCertAutoenrollScript/Enroll_with_simple_configuration_and_debug_enabled (0.07s) 360s --- PASS: TestCertAutoenrollScript/Enroll_with_empty_advanced_configuration (0.07s) 360s --- PASS: TestCertAutoenrollScript/Error_on_missing_arguments (0.07s) 360s --- PASS: TestCertAutoenrollScript/Error_on_invalid_flags (0.06s) 360s --- PASS: TestCertAutoenrollScript/Error_on_invalid_JSON (0.14s) 360s --- PASS: TestCertAutoenrollScript/Error_on_read-only_path (0.14s) 360s --- PASS: TestCertAutoenrollScript/Error_on_enroll_failure (0.24s) 360s --- PASS: TestCertAutoenrollScript/Error_on_unenroll_failure (0.18s) 360s === RUN TestApplyPolicy 360s === RUN TestApplyPolicy/Computer,_configured_to_unenroll 360s time="2024-03-21T02:25:21Z" level=info msg="Certificate autoenrollment script ran successfully\n" 360s === RUN TestApplyPolicy/Error_on_invalid_autoenroll_value 360s === RUN TestApplyPolicy/Computer,_no_entries 360s === RUN TestApplyPolicy/Computer,_autoenroll_disabled 360s === RUN TestApplyPolicy/Computer,_configured_to_enroll 360s time="2024-03-21T02:25:21Z" level=info msg="Certificate autoenrollment script ran successfully\n" 360s === RUN TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration 360s time="2024-03-21T02:25:21Z" level=info msg="Certificate autoenrollment script ran successfully\n" 360s === RUN TestApplyPolicy/User,_autoenroll_not_supported 360s === RUN TestApplyPolicy/Error_on_autoenroll_script_failure 360s === RUN TestApplyPolicy/Error_on_invalid_advanced_configuration_value 360s === RUN TestApplyPolicy/Computer,_no_entries,_Samba_cache_present 360s time="2024-03-21T02:25:21Z" level=info msg="Certificate autoenrollment script ran successfully\n" 360s === RUN TestApplyPolicy/Computer,_domain_is_offline 360s --- PASS: TestApplyPolicy (0.04s) 360s --- PASS: TestApplyPolicy/Computer,_configured_to_unenroll (0.01s) 360s --- PASS: TestApplyPolicy/Error_on_invalid_autoenroll_value (0.00s) 360s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 360s --- PASS: TestApplyPolicy/Computer,_autoenroll_disabled (0.00s) 360s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll (0.01s) 360s --- PASS: TestApplyPolicy/Computer,_configured_to_enroll,_advanced_configuration (0.01s) 360s --- PASS: TestApplyPolicy/User,_autoenroll_not_supported (0.00s) 360s --- PASS: TestApplyPolicy/Error_on_autoenroll_script_failure (0.01s) 360s --- PASS: TestApplyPolicy/Error_on_invalid_advanced_configuration_value (0.00s) 360s --- PASS: TestApplyPolicy/Computer,_no_entries,_Samba_cache_present (0.01s) 360s --- PASS: TestApplyPolicy/Computer,_domain_is_offline (0.00s) 360s === RUN TestMockAutoenrollScript 360s --- PASS: TestMockAutoenrollScript (0.00s) 360s PASS 360s ok github.com/ubuntu/adsys/internal/policies/certificate 2.142s 360s === RUN TestNormalize 360s === PAUSE TestNormalize 360s === RUN TestApplyPolicy 360s === PAUSE TestApplyPolicy 360s === CONT TestNormalize 360s === RUN TestNormalize/simple_unquoted_string 360s === PAUSE TestNormalize/simple_unquoted_string 360s === CONT TestApplyPolicy 360s === RUN TestNormalize/unquoted_string_with_quotes 360s === PAUSE TestNormalize/unquoted_string_with_quotes 360s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 360s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 360s === RUN TestNormalize/simple_as_with_no_spaces 360s === PAUSE TestNormalize/simple_as_with_no_spaces 360s === RUN TestApplyPolicy/Unquoted_string 360s === RUN TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 360s === PAUSE TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 360s === RUN TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 360s === PAUSE TestApplyPolicy/Unquoted_string 360s === RUN TestApplyPolicy/Multi-lines_as 360s === PAUSE TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 360s === PAUSE TestApplyPolicy/Multi-lines_as 360s === RUN TestNormalize/string_with_escaped_quotes 360s === PAUSE TestNormalize/string_with_escaped_quotes 360s === RUN TestNormalize/string_with_multiple_backslashes_escaped_quotes 360s === PAUSE TestNormalize/string_with_multiple_backslashes_escaped_quotes 360s === RUN TestNormalize/as_with_spaces_inside 360s === PAUSE TestNormalize/as_with_spaces_inside 360s === RUN TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 360s === RUN TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 360s === PAUSE TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 360s === RUN TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 360s === PAUSE TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 360s === RUN TestNormalize/one_quote 360s === PAUSE TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 360s === PAUSE TestNormalize/one_quote 360s === RUN TestApplyPolicy/User_empty_state 360s === PAUSE TestApplyPolicy/User_empty_state 360s === RUN TestNormalize/as_without_ending_] 360s === PAUSE TestNormalize/as_without_ending_] 360s === RUN TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 360s === PAUSE TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 360s === RUN TestNormalize/Multi-lines_as_quoted 360s === PAUSE TestNormalize/Multi-lines_as_quoted 360s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 360s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 360s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 360s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 360s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 360s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 360s === RUN TestNormalize/empty_unquoted_string 360s === RUN TestApplyPolicy/Machine_updates_with_different_value 360s === PAUSE TestNormalize/empty_unquoted_string 360s === PAUSE TestApplyPolicy/Machine_updates_with_different_value 360s === RUN TestNormalize/string_with_two_backslashes_don’t_escape_quotes 360s === RUN TestApplyPolicy/Update_machine_disabled_key_with_value 360s === PAUSE TestNormalize/string_with_two_backslashes_don’t_escape_quotes 360s === PAUSE TestApplyPolicy/Update_machine_disabled_key_with_value 360s === RUN TestNormalize/on_transformed_to_boolean 360s === PAUSE TestNormalize/on_transformed_to_boolean 360s === RUN TestNormalize/simple_quoted_as 360s === PAUSE TestNormalize/simple_quoted_as 360s === RUN TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 360s === PAUSE TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 360s === RUN TestNormalize/empty_quoted_string 360s === PAUSE TestNormalize/empty_quoted_string 360s === RUN TestNormalize/yes_transformed_to_boolean 360s === PAUSE TestNormalize/yes_transformed_to_boolean 360s === RUN TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 360s === PAUSE TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 360s === RUN TestNormalize/simple_ai_with_no_spaces 360s === PAUSE TestNormalize/simple_ai_with_no_spaces 360s === RUN TestNormalize/as_without_leading_[ 360s === PAUSE TestNormalize/as_without_leading_[ 360s === RUN TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 360s === PAUSE TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 360s === RUN TestNormalize/Multi-lines_as_with_spaces_inside 360s === PAUSE TestNormalize/Multi-lines_as_with_spaces_inside 360s === RUN TestNormalize/as_with_leading_and_ending_spaces_and__[] 360s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and__[] 360s === RUN TestNormalize/as_empty_elements_separated_with_commas_are_kept 360s === PAUSE TestNormalize/as_empty_elements_separated_with_commas_are_kept 360s === RUN TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 360s === PAUSE TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 360s === RUN TestNormalize/simple_unquoted_as 360s === PAUSE TestNormalize/simple_unquoted_as 360s === RUN TestNormalize/as_with_weird_composition_inception_will_be_quoted 360s === PAUSE TestNormalize/as_with_weird_composition_inception_will_be_quoted 360s === RUN TestNormalize/Multi-lines_as_with_explicit_empty_element 360s === PAUSE TestNormalize/Multi-lines_as_with_explicit_empty_element 360s === RUN TestNormalize/ai_without_leading_[ 360s === PAUSE TestNormalize/ai_without_leading_[ 360s === RUN TestNormalize/simple_quoted_string 360s === PAUSE TestNormalize/simple_quoted_string 360s === RUN TestNormalize/quoted_string_with_quotes 360s === PAUSE TestNormalize/quoted_string_with_quotes 360s === RUN TestNormalize/simple_boolean_false 360s === PAUSE TestNormalize/simple_boolean_false 360s === RUN TestNormalize/n_transformed_to_boolean 360s === PAUSE TestNormalize/n_transformed_to_boolean 360s === RUN TestNormalize/ai_with_spaces_inside 360s === PAUSE TestNormalize/ai_with_spaces_inside 360s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 360s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 360s === RUN TestNormalize/ai_without_ending_] 360s === PAUSE TestNormalize/ai_without_ending_] 360s === RUN TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 360s === PAUSE TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 360s === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 360s === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 360s === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 360s === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 360s === RUN TestNormalize/ai_empty_elements_separated_with_commas_are_kept 360s === PAUSE TestNormalize/ai_empty_elements_separated_with_commas_are_kept 360s === RUN TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 360s === PAUSE TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 360s === RUN TestNormalize/weird_case_false 360s === PAUSE TestNormalize/weird_case_false 360s === RUN TestNormalize/no_transformed_to_boolean 360s === PAUSE TestNormalize/no_transformed_to_boolean 360s === RUN TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 360s === PAUSE TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 360s === RUN TestNormalize/Multi-lines_ai 360s === PAUSE TestNormalize/Multi-lines_ai 360s === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 360s === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 360s === RUN TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 360s === PAUSE TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 360s === RUN TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 360s === PAUSE TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 360s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 360s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 360s === RUN TestNormalize/Multi-lines_as_unquoted 360s === PAUSE TestNormalize/Multi-lines_as_unquoted 360s === RUN TestNormalize/ai_with_leading_and_ending_spaces_and__[] 360s === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and__[] 360s === RUN TestNormalize/Multi-lines_ai_with_spaces_inside 360s === PAUSE TestNormalize/Multi-lines_ai_with_spaces_inside 360s === RUN TestNormalize/unmanaged_types_are_returned_as_is 360s === PAUSE TestNormalize/unmanaged_types_are_returned_as_is 360s === RUN TestNormalize/simple_boolean_true 360s === PAUSE TestNormalize/simple_boolean_true 360s === RUN TestNormalize/non_supported_is_reported_as_is 360s === PAUSE TestNormalize/non_supported_is_reported_as_is 360s === RUN TestNormalize/as_simple_quoted_as_with_spaces 360s === PAUSE TestNormalize/as_simple_quoted_as_with_spaces 360s === RUN TestNormalize/y_transformed_to_boolean 360s === PAUSE TestNormalize/y_transformed_to_boolean 360s === RUN TestNormalize/off_transformed_to_boolean 360s === PAUSE TestNormalize/off_transformed_to_boolean 360s === RUN TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 360s === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 360s === RUN TestNormalize/Multi-lines_as_with_quoted_','_is_supported 360s === PAUSE TestNormalize/Multi-lines_as_with_quoted_','_is_supported 360s === RUN TestNormalize/simple_ai 360s === PAUSE TestNormalize/simple_ai 360s === RUN TestNormalize/one_escaped_quote 360s === PAUSE TestNormalize/one_escaped_quote 360s === RUN TestNormalize/weird_case_true 360s === PAUSE TestNormalize/weird_case_true 360s === RUN TestNormalize/with_spaces 360s === PAUSE TestNormalize/with_spaces 360s === CONT TestNormalize/simple_unquoted_string 360s === RUN TestApplyPolicy/Machine_empty_state 360s === PAUSE TestApplyPolicy/Machine_empty_state 360s === RUN TestApplyPolicy/Multiple_sections_with_disabled_keys 360s === PAUSE TestApplyPolicy/Multiple_sections_with_disabled_keys 360s === RUN TestApplyPolicy/Multi-lines_ai 360s === PAUSE TestApplyPolicy/Multi-lines_ai 360s === RUN TestApplyPolicy/Do_not_interfere_with_other_user_profile 360s === PAUSE TestApplyPolicy/Do_not_interfere_with_other_user_profile 360s === RUN TestApplyPolicy/Error_on_empty_meta 360s === PAUSE TestApplyPolicy/Error_on_empty_meta 360s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 360s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 360s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_machine 360s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_machine 360s === RUN TestApplyPolicy/Quoted_i 360s === PAUSE TestApplyPolicy/Quoted_i 360s === RUN TestApplyPolicy/Error_on_invalid_ai 360s === PAUSE TestApplyPolicy/Error_on_invalid_ai 360s === RUN TestApplyPolicy/Update_user_disabled_key_with_value 360s === PAUSE TestApplyPolicy/Update_user_disabled_key_with_value 360s === RUN TestApplyPolicy/Missing_user_compiled_db_for_user 360s === PAUSE TestApplyPolicy/Missing_user_compiled_db_for_user 360s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 360s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 360s === RUN TestApplyPolicy/Do_not_update_other_files_from_db 360s === PAUSE TestApplyPolicy/Do_not_update_other_files_from_db 360s === RUN TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 360s === PAUSE TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 360s === RUN TestApplyPolicy/Multi-lines_as_mixed_with_comma 360s === PAUSE TestApplyPolicy/Multi-lines_as_mixed_with_comma 360s === RUN TestApplyPolicy/Error_on_invalid_type 360s === PAUSE TestApplyPolicy/Error_on_invalid_type 360s === RUN TestApplyPolicy/New_user 360s === PAUSE TestApplyPolicy/New_user 360s === RUN TestApplyPolicy/User_updates_key_is_now_disabled 360s === PAUSE TestApplyPolicy/User_updates_key_is_now_disabled 360s === RUN TestApplyPolicy/First_boot 360s === PAUSE TestApplyPolicy/First_boot 360s === RUN TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 360s === PAUSE TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 360s === RUN TestApplyPolicy/No_surrounding_brackets_ai 360s === PAUSE TestApplyPolicy/No_surrounding_brackets_ai 360s === RUN TestApplyPolicy/No_surrounding_brackets_unquoted_as 360s === PAUSE TestApplyPolicy/No_surrounding_brackets_unquoted_as 360s === RUN TestApplyPolicy/User_updates_existing_value 360s === PAUSE TestApplyPolicy/User_updates_existing_value 360s === RUN TestApplyPolicy/Multiple_sections 360s === PAUSE TestApplyPolicy/Multiple_sections 360s === RUN TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 360s === PAUSE TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 360s === RUN TestApplyPolicy/No_surrounding_brackets_multiple_ai 360s === PAUSE TestApplyPolicy/No_surrounding_brackets_multiple_ai 360s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_as 360s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_as 360s === RUN TestApplyPolicy/User_empty_state,_with_existing_machine_policy 360s === PAUSE TestApplyPolicy/User_empty_state,_with_existing_machine_policy 360s === RUN TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 360s === PAUSE TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 360s === RUN TestApplyPolicy/Missing_machine_compiled_db_for_user 360s === PAUSE TestApplyPolicy/Missing_machine_compiled_db_for_user 360s === RUN TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 360s === PAUSE TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 360s === RUN TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 360s === PAUSE TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 360s === RUN TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 360s === PAUSE TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 360s === RUN TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 360s === PAUSE TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 360s === RUN TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 360s === PAUSE TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 360s === RUN TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 360s === PAUSE TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 360s === RUN TestApplyPolicy/Multiple_keys_same_category 360s === PAUSE TestApplyPolicy/Multiple_keys_same_category 360s === RUN TestApplyPolicy/Error_when_machine_db_does_not_exist 360s === PAUSE TestApplyPolicy/Error_when_machine_db_does_not_exist 360s === RUN TestApplyPolicy/User_updates_with_different_value 360s === PAUSE TestApplyPolicy/User_updates_with_different_value 360s === RUN TestApplyPolicy/Machine_updates_existing_value 360s === PAUSE TestApplyPolicy/Machine_updates_existing_value 360s === RUN TestApplyPolicy/Machine_updates_key_is_now_disabled 360s === PAUSE TestApplyPolicy/Machine_updates_key_is_now_disabled 360s === RUN TestApplyPolicy/No_update_when_no_change 360s === PAUSE TestApplyPolicy/No_update_when_no_change 360s === RUN TestApplyPolicy/Quoted_b 360s === PAUSE TestApplyPolicy/Quoted_b 360s === RUN TestApplyPolicy/Multi-lines_ai_mixed_with_comma 360s === PAUSE TestApplyPolicy/Multi-lines_ai_mixed_with_comma 360s === CONT TestApplyPolicy/Unquoted_string 360s === CONT TestNormalize/as_without_ending_] 360s === CONT TestNormalize/with_spaces 360s === CONT TestNormalize/weird_case_true 360s === CONT TestNormalize/one_escaped_quote 360s === CONT TestNormalize/simple_ai 360s === CONT TestNormalize/Multi-lines_as_with_quoted_','_is_supported 360s === CONT TestNormalize/as_with_leading_and_ending_spaces_and_no_[] 360s === CONT TestNormalize/off_transformed_to_boolean 360s === CONT TestNormalize/y_transformed_to_boolean 360s === CONT TestNormalize/as_simple_quoted_as_with_spaces 360s === CONT TestNormalize/non_supported_is_reported_as_is 360s === CONT TestNormalize/simple_boolean_true 360s === CONT TestNormalize/unmanaged_types_are_returned_as_is 360s === CONT TestNormalize/Multi-lines_ai_with_spaces_inside 360s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and__[] 360s === CONT TestNormalize/Multi-lines_as_unquoted 360s === CONT TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] 360s === CONT TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split 360s === CONT TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets 360s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored 360s === CONT TestNormalize/Multi-lines_ai 360s === CONT TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result 360s === CONT TestNormalize/no_transformed_to_boolean 360s === CONT TestNormalize/weird_case_false 360s === CONT TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split 360s === CONT TestNormalize/ai_empty_elements_separated_with_commas_are_kept 360s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored 360s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted 360s === CONT TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element 360s === CONT TestNormalize/ai_without_ending_] 360s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored 360s === CONT TestNormalize/ai_with_spaces_inside 360s === CONT TestNormalize/n_transformed_to_boolean 360s === CONT TestNormalize/simple_boolean_false 360s === CONT TestNormalize/quoted_string_with_quotes 360s === CONT TestNormalize/simple_quoted_string 360s === CONT TestNormalize/ai_without_leading_[ 360s === CONT TestNormalize/Multi-lines_as_with_explicit_empty_element 360s === CONT TestNormalize/as_with_weird_composition_inception_will_be_quoted 360s === CONT TestNormalize/simple_unquoted_as 360s === CONT TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result 360s === CONT TestNormalize/as_empty_elements_separated_with_commas_are_kept 360s === CONT TestNormalize/as_with_leading_and_ending_spaces_and__[] 360s === CONT TestNormalize/Multi-lines_as_with_spaces_inside 360s === CONT TestNormalize/as_partially_quoted_can_lead_to_unexpect_result 360s === CONT TestNormalize/as_without_leading_[ 360s === CONT TestNormalize/simple_ai_with_no_spaces 360s === CONT TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result 360s === CONT TestNormalize/yes_transformed_to_boolean 360s === CONT TestNormalize/empty_quoted_string 360s === CONT TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element 360s === CONT TestNormalize/simple_quoted_as 360s === CONT TestNormalize/on_transformed_to_boolean 360s === CONT TestNormalize/string_with_two_backslashes_don’t_escape_quotes 360s === CONT TestNormalize/empty_unquoted_string 360s === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored 360s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored 360s === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored 360s === CONT TestNormalize/Multi-lines_as_quoted 360s === CONT TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string 360s === CONT TestApplyPolicy/No_surrounding_brackets_multiple_ai 360s === CONT TestNormalize/one_quote 360s === CONT TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets 360s === CONT TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements 360s === CONT TestNormalize/as_with_spaces_inside 360s === CONT TestNormalize/string_with_multiple_backslashes_escaped_quotes 360s === CONT TestNormalize/string_with_escaped_quotes 360s === CONT TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements 360s === CONT TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result 360s === CONT TestNormalize/simple_as_with_no_spaces 360s === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_quoted 360s === CONT TestNormalize/unquoted_string_with_quotes 360s --- PASS: TestNormalize (0.00s) 360s --- PASS: TestNormalize/simple_unquoted_string (0.00s) 360s --- PASS: TestNormalize/as_without_ending_] (0.00s) 360s --- PASS: TestNormalize/with_spaces (0.00s) 360s --- PASS: TestNormalize/weird_case_true (0.00s) 360s --- PASS: TestNormalize/one_escaped_quote (0.00s) 360s --- PASS: TestNormalize/simple_ai (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_quoted_','_is_supported (0.00s) 360s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and_no_[] (0.00s) 360s --- PASS: TestNormalize/off_transformed_to_boolean (0.00s) 360s --- PASS: TestNormalize/y_transformed_to_boolean (0.00s) 360s --- PASS: TestNormalize/as_simple_quoted_as_with_spaces (0.00s) 360s --- PASS: TestNormalize/non_supported_is_reported_as_is (0.00s) 360s --- PASS: TestNormalize/simple_boolean_true (0.00s) 360s --- PASS: TestNormalize/unmanaged_types_are_returned_as_is (0.00s) 360s --- PASS: TestNormalize/Multi-lines_ai_with_spaces_inside (0.00s) 360s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and__[] (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_unquoted (0.00s) 360s --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets (0.00s) 360s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 360s --- PASS: TestNormalize/Multi-lines_ai (0.00s) 360s --- PASS: TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result (0.00s) 360s --- PASS: TestNormalize/no_transformed_to_boolean (0.00s) 360s --- PASS: TestNormalize/weird_case_false (0.00s) 360s --- PASS: TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split (0.00s) 360s --- PASS: TestNormalize/ai_empty_elements_separated_with_commas_are_kept (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted (0.00s) 360s --- PASS: TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element (0.00s) 360s --- PASS: TestNormalize/ai_without_ending_] (0.00s) 360s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 360s --- PASS: TestNormalize/ai_with_spaces_inside (0.00s) 360s --- PASS: TestNormalize/n_transformed_to_boolean (0.00s) 360s --- PASS: TestNormalize/simple_boolean_false (0.00s) 360s --- PASS: TestNormalize/quoted_string_with_quotes (0.00s) 360s --- PASS: TestNormalize/simple_quoted_string (0.00s) 360s --- PASS: TestNormalize/ai_without_leading_[ (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_explicit_empty_element (0.00s) 360s --- PASS: TestNormalize/as_with_weird_composition_inception_will_be_quoted (0.00s) 360s --- PASS: TestNormalize/simple_unquoted_as (0.00s) 360s --- PASS: TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result (0.00s) 360s --- PASS: TestNormalize/as_empty_elements_separated_with_commas_are_kept (0.00s) 360s --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and__[] (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_spaces_inside (0.00s) 360s --- PASS: TestNormalize/as_partially_quoted_can_lead_to_unexpect_result (0.00s) 360s --- PASS: TestNormalize/as_without_leading_[ (0.00s) 360s --- PASS: TestNormalize/simple_ai_with_no_spaces (0.00s) 360s --- PASS: TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result (0.00s) 360s --- PASS: TestNormalize/yes_transformed_to_boolean (0.00s) 360s --- PASS: TestNormalize/empty_quoted_string (0.00s) 360s --- PASS: TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element (0.00s) 360s --- PASS: TestNormalize/simple_quoted_as (0.00s) 360s --- PASS: TestNormalize/on_transformed_to_boolean (0.00s) 360s --- PASS: TestNormalize/string_with_two_backslashes_don’t_escape_quotes (0.00s) 360s --- PASS: TestNormalize/empty_unquoted_string (0.00s) 360s --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_quoted (0.00s) 360s --- PASS: TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string (0.00s) 360s --- PASS: TestNormalize/one_quote (0.00s) 360s --- PASS: TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements (0.00s) 360s --- PASS: TestNormalize/as_with_spaces_inside (0.00s) 360s --- PASS: TestNormalize/string_with_multiple_backslashes_escaped_quotes (0.00s) 360s --- PASS: TestNormalize/string_with_escaped_quotes (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements (0.00s) 360s --- PASS: TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result (0.00s) 360s --- PASS: TestNormalize/simple_as_with_no_spaces (0.00s) 360s --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_quoted (0.00s) 360s --- PASS: TestNormalize/unquoted_string_with_quotes (0.00s) 360s === CONT TestApplyPolicy/Multi-lines_ai_mixed_with_comma 360s === CONT TestApplyPolicy/Quoted_b 360s === CONT TestApplyPolicy/No_update_when_no_change 360s === CONT TestApplyPolicy/Machine_updates_key_is_now_disabled 360s === CONT TestApplyPolicy/Machine_updates_existing_value 360s === CONT TestApplyPolicy/User_updates_with_different_value 360s === CONT TestApplyPolicy/Error_when_machine_db_does_not_exist 360s === CONT TestApplyPolicy/Multiple_keys_same_category 360s === CONT TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions 360s === CONT TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition 360s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed 360s === CONT TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed 360s === CONT TestApplyPolicy/Update_existing_correct_profile_stays_unchanged 360s === CONT TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values 360s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_user 360s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as 360s === CONT TestApplyPolicy/User_empty_state,_with_existing_machine_policy 360s === CONT TestApplyPolicy/No_surrounding_brackets_quoted_as 360s === CONT TestApplyPolicy/Missing_user_compiled_db_for_user 360s === CONT TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections 360s === CONT TestApplyPolicy/Multiple_sections 360s === CONT TestApplyPolicy/User_updates_existing_value 360s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_as 360s === CONT TestApplyPolicy/No_surrounding_brackets_ai 360s === CONT TestApplyPolicy/Normalized_canonical_form_for_each_supported_key 360s === CONT TestApplyPolicy/First_boot 360s === CONT TestApplyPolicy/User_updates_key_is_now_disabled 360s === CONT TestApplyPolicy/New_user 360s === CONT TestApplyPolicy/Error_on_invalid_type 360s === CONT TestApplyPolicy/Multi-lines_as_mixed_with_comma 360s === CONT TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type 360s === CONT TestApplyPolicy/Do_not_update_other_files_from_db 360s === CONT TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as 360s === CONT TestApplyPolicy/Multi-lines_ai 360s === CONT TestApplyPolicy/Update_user_disabled_key_with_value 360s === CONT TestApplyPolicy/Error_on_invalid_ai 360s === CONT TestApplyPolicy/Quoted_i 360s === CONT TestApplyPolicy/Missing_machine_compiled_db_for_machine 360s === CONT TestApplyPolicy/Update_existing_profile_without_needed_db_append_them 360s === CONT TestApplyPolicy/Error_on_empty_meta 360s === CONT TestApplyPolicy/Do_not_interfere_with_other_user_profile 360s === CONT TestApplyPolicy/Machine_updates_with_different_value 360s === CONT TestApplyPolicy/Multiple_sections_with_disabled_keys 360s === CONT TestApplyPolicy/Machine_empty_state 360s === CONT TestApplyPolicy/Update_machine_disabled_key_with_value 360s === CONT TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order 360s === CONT TestApplyPolicy/User_empty_state 360s === CONT TestApplyPolicy/Multi-lines_as 360s --- PASS: TestApplyPolicy (0.00s) 360s --- PASS: TestApplyPolicy/No_surrounding_brackets_multiple_ai (0.00s) 360s --- PASS: TestApplyPolicy/Unquoted_string (0.01s) 360s --- PASS: TestApplyPolicy/Multi-lines_ai_mixed_with_comma (0.00s) 360s --- PASS: TestApplyPolicy/Quoted_b (0.00s) 360s --- PASS: TestApplyPolicy/No_update_when_no_change (0.00s) 360s --- PASS: TestApplyPolicy/Machine_updates_existing_value (0.00s) 360s --- PASS: TestApplyPolicy/Machine_updates_key_is_now_disabled (0.00s) 360s --- PASS: TestApplyPolicy/Error_when_machine_db_does_not_exist (0.00s) 360s --- PASS: TestApplyPolicy/User_updates_with_different_value (0.00s) 360s --- PASS: TestApplyPolicy/Multiple_keys_same_category (0.01s) 360s --- PASS: TestApplyPolicy/Update_existing_profile_eliminates_adsys_DB_repetitions (0.00s) 360s --- PASS: TestApplyPolicy/Update_existing_profile_with_partial_db_append_them_without_repetition (0.00s) 360s --- PASS: TestApplyPolicy/Update_existing_correct_profile_with_trailing_spaces_are_removed (0.00s) 360s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db,_trailine_lines_are_removed (0.01s) 360s --- PASS: TestApplyPolicy/Invalid_as_is_too_robust_to_produce_defaulting_values (0.00s) 360s --- PASS: TestApplyPolicy/Update_existing_correct_profile_stays_unchanged (0.01s) 360s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_user (0.01s) 360s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_multiple_as (0.00s) 360s --- PASS: TestApplyPolicy/No_surrounding_brackets_quoted_as (0.00s) 360s --- PASS: TestApplyPolicy/User_empty_state,_with_existing_machine_policy (0.00s) 360s --- PASS: TestApplyPolicy/Missing_user_compiled_db_for_user (0.00s) 360s --- PASS: TestApplyPolicy/Multiple_sections (0.00s) 360s --- PASS: TestApplyPolicy/User_updates_existing_value (0.00s) 360s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_as (0.00s) 360s --- PASS: TestApplyPolicy/Mixing_sections_and_keys_still_groups_sections (0.01s) 360s --- PASS: TestApplyPolicy/Normalized_canonical_form_for_each_supported_key (0.00s) 360s --- PASS: TestApplyPolicy/No_surrounding_brackets_ai (0.00s) 360s --- PASS: TestApplyPolicy/First_boot (0.00s) 360s --- PASS: TestApplyPolicy/New_user (0.01s) 360s --- PASS: TestApplyPolicy/User_updates_key_is_now_disabled (0.01s) 360s --- PASS: TestApplyPolicy/Multi-lines_as_mixed_with_comma (0.00s) 360s --- PASS: TestApplyPolicy/Error_on_invalid_type (0.00s) 360s --- PASS: TestApplyPolicy/Do_not_update_other_files_from_db (0.00s) 360s --- PASS: TestApplyPolicy/Error_on_invalid_value_for_unnormalized_type (0.00s) 360s --- PASS: TestApplyPolicy/Multi-lines_ai (0.00s) 360s --- PASS: TestApplyPolicy/No_surrounding_brackets_unquoted_multiple_as (0.01s) 360s --- PASS: TestApplyPolicy/Error_on_invalid_ai (0.00s) 360s --- PASS: TestApplyPolicy/Update_user_disabled_key_with_value (0.00s) 360s --- PASS: TestApplyPolicy/Missing_machine_compiled_db_for_machine (0.00s) 360s --- PASS: TestApplyPolicy/Quoted_i (0.00s) 360s --- PASS: TestApplyPolicy/Error_on_empty_meta (0.00s) 360s --- PASS: TestApplyPolicy/Update_existing_profile_without_needed_db_append_them (0.00s) 360s --- PASS: TestApplyPolicy/Do_not_interfere_with_other_user_profile (0.01s) 360s --- PASS: TestApplyPolicy/Machine_updates_with_different_value (0.01s) 360s --- PASS: TestApplyPolicy/Machine_empty_state (0.00s) 360s --- PASS: TestApplyPolicy/Multiple_sections_with_disabled_keys (0.00s) 360s --- PASS: TestApplyPolicy/Update_machine_disabled_key_with_value (0.00s) 360s --- PASS: TestApplyPolicy/User_empty_state (0.00s) 360s --- PASS: TestApplyPolicy/Update_existing_profile_with_wrong_order_appends_them_in_correct_order (0.00s) 360s --- PASS: TestApplyPolicy/Multi-lines_as (0.00s) 360s PASS 360s ok github.com/ubuntu/adsys/internal/policies/dconf 0.244s 360s === RUN TestApplyPolicy 360s === PAUSE TestApplyPolicy 360s === CONT TestApplyPolicy 360s === RUN TestApplyPolicy/dconf_policy 360s === PAUSE TestApplyPolicy/dconf_policy 360s === CONT TestApplyPolicy/dconf_policy 360s --- PASS: TestApplyPolicy (0.00s) 360s --- PASS: TestApplyPolicy/dconf_policy (0.00s) 360s PASS 360s ok github.com/ubuntu/adsys/internal/policies/gdm 0.062s 364s === RUN TestParseEntryValues 364s === PAUSE TestParseEntryValues 364s === RUN TestWriteFileWithUIDGID 364s === PAUSE TestWriteFileWithUIDGID 364s === RUN TestCreateUnits 364s === PAUSE TestCreateUnits 364s === RUN TestNew 364s === PAUSE TestNew 364s === RUN TestApplyPolicy 364s === PAUSE TestApplyPolicy 364s === CONT TestParseEntryValues 364s === RUN TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 364s === CONT TestNew 364s === RUN TestNew/Creates_manager_successfully 364s === PAUSE TestNew/Creates_manager_successfully 364s === RUN TestNew/Error_when_runDir_has_invalid_permissions 364s === PAUSE TestNew/Error_when_runDir_has_invalid_permissions 364s === RUN TestNew/Error_when_systemUnitDir_has_invalid_permissions 364s === PAUSE TestNew/Error_when_systemUnitDir_has_invalid_permissions 364s === CONT TestNew/Creates_manager_successfully 364s === CONT TestApplyPolicy 364s === RUN TestApplyPolicy/Error_when_daemon-reload_fails 364s === PAUSE TestApplyPolicy/Error_when_daemon-reload_fails 364s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 364s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 364s === RUN TestApplyPolicy/Error_when_entry_is_errored 364s === PAUSE TestApplyPolicy/Error_when_entry_is_errored 364s === RUN TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 364s === PAUSE TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 364s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 364s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 364s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 364s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 364s === RUN TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 364s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 364s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 364s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 364s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 364s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 364s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 364s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 364s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 364s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 364s === RUN TestApplyPolicy/Error_when_user_has_invalid_uid 364s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_uid 364s === RUN TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 364s === PAUSE TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 364s === RUN TestApplyPolicy/Error_when_enabling_new_units_fails 364s === PAUSE TestApplyPolicy/Error_when_enabling_new_units_fails 364s === RUN TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 364s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 364s === RUN TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 364s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 364s === RUN TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 364s === PAUSE TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 364s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 364s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 364s === RUN TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 364s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 364s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 364s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 364s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 364s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 364s === RUN TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 364s === PAUSE TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 364s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 364s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 364s === RUN TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 364s === PAUSE TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 364s === RUN TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 364s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 364s === RUN TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 364s === PAUSE TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 364s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 364s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 364s === RUN TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 364s === PAUSE TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 364s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 364s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 364s === RUN TestApplyPolicy/Error_when_user_has_invalid_gid 364s === PAUSE TestApplyPolicy/Error_when_user_has_invalid_gid 364s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 364s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 364s === RUN TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 364s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 364s === RUN TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 364s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 364s === RUN TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 364s === PAUSE TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 364s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 364s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 364s === RUN TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 364s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 364s === RUN TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 364s === PAUSE TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 364s === RUN TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 364s === PAUSE TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 364s === RUN TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 364s === PAUSE TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 364s === RUN TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 364s === PAUSE TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 364s === RUN TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 364s === PAUSE TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 364s === RUN TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 364s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 364s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 364s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 364s === RUN TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 364s === PAUSE TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 364s === RUN TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 364s === PAUSE TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 364s === RUN TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 364s === PAUSE TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 364s === RUN TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 364s === PAUSE TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 364s === RUN TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 364s === PAUSE TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 364s === RUN TestApplyPolicy/Error_when_user_is_not_found 364s === PAUSE TestApplyPolicy/Error_when_user_is_not_found 364s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 364s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 364s === RUN TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 364s === PAUSE TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 364s === RUN TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 364s === PAUSE TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 364s === RUN TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 364s === PAUSE TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 364s === RUN TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 364s === PAUSE TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 364s === RUN TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 364s === PAUSE TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 364s === CONT TestApplyPolicy/Error_when_daemon-reload_fails 364s === CONT TestNew/Error_when_systemUnitDir_has_invalid_permissions 364s === CONT TestNew/Error_when_runDir_has_invalid_permissions 364s --- PASS: TestNew (0.00s) 364s --- PASS: TestNew/Creates_manager_successfully (0.00s) 364s --- PASS: TestNew/Error_when_systemUnitDir_has_invalid_permissions (0.00s) 364s --- PASS: TestNew/Error_when_runDir_has_invalid_permissions (0.00s) 364s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 364s === CONT TestCreateUnits 364s === RUN TestCreateUnits/Write_single_unit 364s === PAUSE TestCreateUnits/Write_single_unit 364s === RUN TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 364s === PAUSE TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 364s === RUN TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 364s === PAUSE TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 364s === RUN TestParseEntryValues/Parse_values_from_entry_with_one_value 364s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_one_value 364s === RUN TestParseEntryValues/Parse_values_from_entry_with_multiple_values 364s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_multiple_values 364s === RUN TestParseEntryValues/Parse_values_from_entry_with_repeated_values 364s === PAUSE TestParseEntryValues/Parse_values_from_entry_with_repeated_values 364s === RUN TestParseEntryValues/Parse_values_trimming_whitespaces 364s === PAUSE TestParseEntryValues/Parse_values_trimming_whitespaces 364s === RUN TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 364s === PAUSE TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 364s === CONT TestWriteFileWithUIDGID 364s === RUN TestWriteFileWithUIDGID/Error_when_invalid_uid 364s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_uid 364s === RUN TestWriteFileWithUIDGID/Error_when_invalid_gid 364s === PAUSE TestWriteFileWithUIDGID/Error_when_invalid_gid 364s === RUN TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 364s === PAUSE TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 364s === RUN TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 364s === PAUSE TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 364s === RUN TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 364s === PAUSE TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 364s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mounpath.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 364s === CONT TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored 364s === RUN TestCreateUnits/Write_multiple_units 364s === PAUSE TestCreateUnits/Write_multiple_units 364s === RUN TestCreateUnits/Write_krb5_tagged_unit 364s === PAUSE TestCreateUnits/Write_krb5_tagged_unit 364s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty 364s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values 364s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s === CONT TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled 364s === CONT TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="Failed to stop unit \"adsys-protocol-domain.com-mountpath.mount\": failed to stop unit" 364s === CONT TestApplyPolicy/Error_when_user_is_not_found 364s === CONT TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 364s === CONT TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s === CONT TestApplyPolicy/Error_when_creating_units_with_bad_entry_values 364s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry 364s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry 364s === CONT TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s === CONT TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-path-mount.mount\": failed to start unit" 364s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user 364s === CONT TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-fuse-completelydifferent.com-different-path.mount\": failed to start unit" 364s === CONT TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions 364s === CONT TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s === CONT TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 364s time="2024-03-21T02:25:24Z" 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." 364s time="2024-03-21T02:25:24Z" 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." 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath2.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-cifs-otherdomain.com-mount-path.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-nfs-yetanotherdomain.com-mount_path-mount-path.mount\": failed to start unit" 364s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value 364s === CONT TestApplyPolicy/System,_does_nothing_if_there_are_no_entries 364s === CONT TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag 364s time="2024-03-21T02:25:24Z" 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." 364s time="2024-03-21T02:25:24Z" 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." 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-nfs-domain-untagged_first.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-nfs-domain-tagged_first.mount\": failed to start unit" 364s === CONT TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys 364s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s === CONT TestApplyPolicy/Error_when_user_has_invalid_gid 364s === CONT TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries 364s === CONT TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags 364s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries 364s === CONT TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys 364s === CONT TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir 364s === CONT TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s === CONT TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values 364s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry 364s === CONT TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry 364s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces 364s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory 364s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key 364s === CONT TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty 364s === CONT TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values 364s === CONT TestApplyPolicy/Error_when_enabling_new_units_fails 364s === CONT TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory 364s === CONT TestApplyPolicy/Error_when_user_has_invalid_uid 364s === CONT TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory 364s === CONT TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries 364s === CONT TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks 364s === CONT TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled 364s === CONT TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-cifs-authenticated.com-authenticated-mount.mount\": failed to start unit" 364s time="2024-03-21T02:25:24Z" level=warning msg="failed to start unit \"adsys-nfs-krb_domain.com-mount-krb_path.mount\": failed to start unit" 364s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values 364s time="2024-03-21T02:25:25Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 364s time="2024-03-21T02:25:25Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 364s time="2024-03-21T02:25:25Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 364s === CONT TestApplyPolicy/Error_when_entry_is_errored 364s === CONT TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry 364s === CONT TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values 364s time="2024-03-21T02:25:25Z" level=warning msg="failed to start unit \"adsys-protocol-domain.com-mountpath.mount\": failed to start unit" 364s === CONT TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags 364s === CONT TestWriteFileWithUIDGID/Error_when_invalid_uid 364s === CONT TestParseEntryValues/Parse_values_trimming_sequential_linebreaks 364s time="2024-03-21T02:25:25Z" level=warning msg="failed to start unit \"adsys-rpt-repeated.com-repeatedmount.mount\": failed to start unit" 364s time="2024-03-21T02:25:25Z" level=warning msg="failed to start unit \"adsys-cifs-single.com-mnt.mount\": failed to start unit" 364s time="2024-03-21T02:25:25Z" level=warning msg="failed to start unit \"adsys-nfs-anotherone.com-mnt.mount\": failed to start unit" 364s === CONT TestParseEntryValues/Parse_values_trimming_whitespaces 364s === CONT TestParseEntryValues/Parse_values_from_entry_with_repeated_values 364s === CONT TestParseEntryValues/Parse_values_from_entry_with_multiple_values 364s === CONT TestParseEntryValues/Parse_values_from_entry_with_one_value 364s === CONT TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values 364s === CONT TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty 364s --- PASS: TestParseEntryValues (0.00s) 364s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_kerberos_auth_tags (0.00s) 364s --- PASS: TestParseEntryValues/Parse_values_trimming_sequential_linebreaks (0.00s) 364s --- PASS: TestParseEntryValues/Parse_values_trimming_whitespaces (0.00s) 364s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_repeated_values (0.00s) 364s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_multiple_values (0.00s) 364s --- PASS: TestParseEntryValues/Parse_values_from_entry_with_one_value (0.00s) 364s --- PASS: TestParseEntryValues/Error_when_parsing_entry_with_badly_formatted_values (0.00s) 364s --- PASS: TestParseEntryValues/Returns_empty_slice_if_the_entry_is_empty (0.00s) 364s === CONT TestCreateUnits/Write_single_unit 364s --- PASS: TestApplyPolicy (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_daemon-reload_fails (0.00s) 364s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_sequential_linebreaks (0.00s) 364s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_empty (0.00s) 364s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_multiple_values (0.00s) 364s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_starting_new_units_fails (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_applying_system_policy_and_the_entry_is_errored (0.00s) 364s --- PASS: TestApplyPolicy/System,_only_emit_a_warning_when_stopping_previous_units_fails (0.00s) 364s --- PASS: TestApplyPolicy/User,_does_nothing_if_the_entry_is_disabled (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_updating_policy_and_system_mount_unit_to_remove_is_a_dir (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_user_is_not_found (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_disabling_units_for_clean_up_fails (0.00s) 364s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_multiple_values (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_creating_units_with_bad_entry_values (0.00s) 364s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_disabled_entry (0.01s) 364s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_an_empty_entry (0.01s) 364s --- PASS: TestApplyPolicy/Error_when_applying_policy_with_entry_containing_badly_formatted_value (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_invalid_user (0.00s) 364s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_trimming_whitespaces (0.01s) 364s --- PASS: TestApplyPolicy/System,_mount_units_are_added_on_refreshing_policy_with_some_matching_values (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_users-userDir_has_invalid_permissions (0.00s) 364s --- PASS: TestApplyPolicy/System,_mount_units_are_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.00s) 364s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_one_value (0.00s) 364s --- PASS: TestApplyPolicy/System,_does_nothing_if_there_are_no_entries (0.00s) 364s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.00s) 364s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_prioritizing_the_first_value_found,_despite_the_tag (0.01s) 364s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_filtering_out_unsupported_keys (0.00s) 364s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_gid (0.00s) 364s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_with_kerberos_auth_tags (0.00s) 364s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_there_are_no_entries (0.00s) 364s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_one_value (0.00s) 364s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_no_entries (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_applying_policy_and_system_mount_unit_already_exists_as_dir (0.00s) 364s --- PASS: TestApplyPolicy/System,_mount_units_are_removed_on_refreshing_policy_with_no_entries (0.00s) 364s --- PASS: TestApplyPolicy/User,_mount_file_is_updated_on_refreshing_policy_with_an_entry_with_multiple_values (0.00s) 364s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_filtering_out_unsupported_keys (0.01s) 364s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_a_disabled_entry (0.00s) 364s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_whitespaces (0.00s) 364s --- PASS: TestApplyPolicy/User,_mount_file_is_removed_on_refreshing_policy_with_an_empty_entry (0.00s) 364s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_policy_with_unsupported_key (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_empty_entry_and_path_already_exists_as_a_directory (0.00s) 364s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_for_entry_with_repeated_values (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_enabling_new_units_fails (0.00s) 364s --- PASS: TestApplyPolicy/User,_creates_only_dirs_if_the_entry_is_empty (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_mounts_file_path_already_exists_as_a_directory (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_user_has_invalid_uid (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_cleaning_up_user_policy_with_no_entries_and_path_already_exists_as_a_directory (0.00s) 364s --- PASS: TestApplyPolicy/Creates_only_dirs_when_trying_to_apply_policy_with_no_entries (0.00s) 364s --- PASS: TestApplyPolicy/System,_does_nothing_if_the_entry_is_disabled (0.00s) 364s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_with_kerberos_tagged_values (0.00s) 364s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_values (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_entry_is_errored (0.00s) 364s --- PASS: TestApplyPolicy/User,_successfully_apply_policy_trimming_sequential_linebreaks (0.01s) 364s --- PASS: TestApplyPolicy/Error_when_trying_to_update_policy_with_badly_formatted_entry (0.00s) 364s --- PASS: TestApplyPolicy/System,_successfully_apply_policy_for_entry_with_repeated_tagged_values (0.00s) 364s === CONT TestCreateUnits/Write_krb5_tagged_unit 364s === CONT TestCreateUnits/Write_multiple_units 364s === CONT TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory 364s === CONT TestWriteFileWithUIDGID/Write_file_with_current_user_ownership 364s === CONT TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions 364s === CONT TestWriteFileWithUIDGID/Error_when_invalid_gid 364s --- PASS: TestWriteFileWithUIDGID (0.00s) 364s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_uid (0.00s) 364s --- PASS: TestWriteFileWithUIDGID/Error_when_path_already_exists_as_a_directory (0.00s) 364s --- PASS: TestWriteFileWithUIDGID/Write_file_with_current_user_ownership (0.00s) 364s --- PASS: TestWriteFileWithUIDGID/Error_when_writing_on_a_dir_with_invalid_permissions (0.00s) 364s --- PASS: TestWriteFileWithUIDGID/Error_when_invalid_gid (0.00s) 364s --- PASS: TestCreateUnits (0.00s) 364s --- PASS: TestCreateUnits/Write_single_unit (0.00s) 364s --- PASS: TestCreateUnits/Write_multiple_units (0.00s) 364s --- PASS: TestCreateUnits/Write_krb5_tagged_unit (0.00s) 364s PASS 364s ok github.com/ubuntu/adsys/internal/policies/mount 0.152s 364s === RUN TestSplitAndNormalizeUsersAndGroups 364s === PAUSE TestSplitAndNormalizeUsersAndGroups 364s === RUN TestGetSystemPolkitAdminIdentities 364s === PAUSE TestGetSystemPolkitAdminIdentities 364s === RUN TestApplyPolicy 364s === PAUSE TestApplyPolicy 364s === CONT TestSplitAndNormalizeUsersAndGroups 364s === CONT TestApplyPolicy 364s === RUN TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 364s === PAUSE TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 364s === RUN TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 364s === PAUSE TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 364s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 364s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 364s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 364s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 364s === RUN TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 364s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 364s === RUN TestApplyPolicy/Don't_overwrite_other_existing_files 364s === PAUSE TestApplyPolicy/Don't_overwrite_other_existing_files 364s === RUN TestApplyPolicy/Error_on_writing_to_sudoers_file 364s === PAUSE TestApplyPolicy/Error_on_writing_to_sudoers_file 364s === RUN TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 364s === PAUSE TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 364s === RUN TestApplyPolicy/Set_client_multiple_users_admins 364s === PAUSE TestApplyPolicy/Set_client_multiple_users_admins 364s === RUN TestApplyPolicy/Set_client_group_admins 364s === PAUSE TestApplyPolicy/Set_client_group_admins 364s === RUN TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 364s === PAUSE TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 364s === RUN TestApplyPolicy/Empty_client_AD_admins 364s === PAUSE TestApplyPolicy/Empty_client_AD_admins 364s === RUN TestApplyPolicy/Overwrite_existing_sudoers_file 364s === PAUSE TestApplyPolicy/Overwrite_existing_sudoers_file 364s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 364s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 364s === RUN TestApplyPolicy/Not_a_computer 364s === PAUSE TestApplyPolicy/Not_a_computer 364s === RUN TestApplyPolicy/Set_client_user_admins 364s === PAUSE TestApplyPolicy/Set_client_user_admins 364s === RUN TestApplyPolicy/No_client_AD_admins 364s === PAUSE TestApplyPolicy/No_client_AD_admins 364s === RUN TestApplyPolicy/Disallow_local_admins_and_set_client_admins 364s === PAUSE TestApplyPolicy/Disallow_local_admins_and_set_client_admins 364s === RUN TestApplyPolicy/Overwrite_existing_polkit_file 364s === PAUSE TestApplyPolicy/Overwrite_existing_polkit_file 364s === RUN TestApplyPolicy/Error_on_writing_to_polkit_conf_file 364s === PAUSE TestApplyPolicy/Error_on_writing_to_polkit_conf_file 364s === RUN TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 364s === PAUSE TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 364s === RUN TestApplyPolicy/No_rules_still_overwrite_those_files 364s === PAUSE TestApplyPolicy/No_rules_still_overwrite_those_files 364s === RUN TestApplyPolicy/Disallow_local_admins 364s === PAUSE TestApplyPolicy/Disallow_local_admins 364s === RUN TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 364s === PAUSE TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 364s === RUN TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 364s === PAUSE TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 364s === RUN TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 364s === PAUSE TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 364s === CONT TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins 364s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file 364s === CONT TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory 364s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins 364s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 364s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_* 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_* 364s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value 364s === RUN TestSplitAndNormalizeUsersAndGroups/User_name_with_space 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/User_name_with_space 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_; 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_; 364s === RUN TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Handle_domain\user 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_[ 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_] 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_] 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_% 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_% 364s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_: 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_: 364s === RUN TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma 364s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_/ 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_< 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_< 364s === RUN TestSplitAndNormalizeUsersAndGroups/Group_one_value 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Group_one_value 364s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 364s === RUN TestSplitAndNormalizeUsersAndGroups/Simple_one_value 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Simple_one_value 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_| 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_| 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_> 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_> 364s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 364s === RUN TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_= 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_= 364s === RUN TestSplitAndNormalizeUsersAndGroups/Strip_any_? 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Strip_any_? 364s === RUN TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 364s === PAUSE TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 364s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_comma 364s === CONT TestGetSystemPolkitAdminIdentities 364s === RUN TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 364s === PAUSE TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 364s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 364s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 364s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 364s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 364s === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 364s === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 364s === RUN TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 364s === PAUSE TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 364s === RUN TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 364s === PAUSE TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 364s === CONT TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored 364s time="2024-03-21T02:25:24Z" level=warning msg="testdata/incorrect-policikit-conf-is-dir/polkit-1/localauthority.conf.d/50-this-is-not-a-file.conf is a directory. Ignoring." 364s === CONT TestSplitAndNormalizeUsersAndGroups/Don’t_strip_first_%_but_others 364s time="2024-03-21T02:25:24Z" level=warning msg="Changed user or group \"%g%r%oup@domain\" to \"%group@domain\": Invalid characters or domain\\user format" 364s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_? 364s time="2024-03-21T02:25:24Z" level=warning msg="Changed user or group \"u?s?er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 364s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_= 364s time="2024-03-21T02:25:24Z" level=warning msg="Changed user or group \"u=s=er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 364s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_empty_values 364s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_EOL 364s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_\_only_handling_first_one_and_ignore_others 364s time="2024-03-21T02:25:24Z" level=warning msg="Changed user or group \"domain\\\\user\\\\foo\" to \"userfoo@domain\": Invalid characters or domain\\user format" 364s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_> 364s time="2024-03-21T02:25:24Z" level=warning msg="Changed user or group \"u>s>er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 364s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_| 364s time="2024-03-21T02:25:24Z" level=warning msg="Changed user or group \"u|s|er@domain\" to \"user@domain\": Invalid characters or domain\\user format" 364s === CONT TestSplitAndNormalizeUsersAndGroups/Simple_one_value 364s === CONT TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL 364s === CONT TestSplitAndNormalizeUsersAndGroups/Group_one_value 364s === CONT TestSplitAndNormalizeUsersAndGroups/Strip_any_< 364s time="2024-03-21T02:25:24Z" level=warning msg="Changed user or group \"u (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_| (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Simple_one_value (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_separated_by_EOL (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Group_one_value (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_< (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_/ (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_consecutives_comma (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value_with_comma (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_: (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value_with_EOL (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_% (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_] (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_[ (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Handle_domain\user (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_; (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/User_name_with_space (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Empty_value (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Strip_any_* (0.00s) 364s --- PASS: TestSplitAndNormalizeUsersAndGroups/Multiple_values_with_a_mix_of_comma_and_EOL (0.00s) 364s === CONT TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists 364s === CONT TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure 364s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys 364s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file 364s === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities 364s --- PASS: TestGetSystemPolkitAdminIdentities (0.00s) 364s --- PASS: TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored (0.00s) 364s --- PASS: TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists (0.00s) 364s --- PASS: TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure (0.00s) 364s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys (0.00s) 364s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file (0.00s) 364s --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities (0.00s) 364s === CONT TestApplyPolicy/Overwrite_existing_sudoers_file 364s === CONT TestApplyPolicy/Disallow_local_admins 364s === CONT TestApplyPolicy/No_rules_still_overwrite_those_files 364s === CONT TestApplyPolicy/No_rules_and_no_existing_history_means_no_files 364s === CONT TestApplyPolicy/Empty_client_AD_admins 364s === CONT TestApplyPolicy/Set_client_mixed_with_users_and_group_admins 364s === CONT TestApplyPolicy/Set_client_group_admins 364s === CONT TestApplyPolicy/Set_client_multiple_users_admins 364s time="2024-03-21T02:25:24Z" level=warning msg="Changed user or group \"domain\\\\bob\" to \"bob@domain\": Invalid characters or domain\\user format" 364s === CONT TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop 364s === CONT TestApplyPolicy/Error_on_writing_to_sudoers_file 364s === CONT TestApplyPolicy/Don't_overwrite_other_existing_files 364s === CONT TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation 364s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins 364s === CONT TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins 364s === CONT TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins 364s === CONT TestApplyPolicy/No_client_AD_admins 364s === CONT TestApplyPolicy/Error_on_writing_to_polkit_conf_file 364s === CONT TestApplyPolicy/Overwrite_existing_polkit_file 364s === CONT TestApplyPolicy/Disallow_local_admins_and_set_client_admins 364s === CONT TestApplyPolicy/Not_a_computer 364s === CONT TestApplyPolicy/Set_client_user_admins 364s === CONT TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file 364s time="2024-03-21T02:25:24Z" level=warning msg="/tmp/TestApplyPolicyError_if_cant_rename_to_destination_for_polkit_conf_file954922241/001/polkit-1/localauthority.conf.d/99-adsys-privilege-enforcement.conf is a directory. Ignoring." 364s --- PASS: TestApplyPolicy (0.00s) 364s --- PASS: TestApplyPolicy/Disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.00s) 364s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_sudoers_file (0.00s) 364s --- PASS: TestApplyPolicy/Error_on_creating_sudoers_and_polkit_base_directory (0.00s) 364s --- PASS: TestApplyPolicy/Overwrite_existing_sudoers_file (0.00s) 364s --- PASS: TestApplyPolicy/Disallow_local_admins (0.00s) 364s --- PASS: TestApplyPolicy/No_rules_still_overwrite_those_files (0.00s) 364s --- PASS: TestApplyPolicy/No_rules_and_no_existing_history_means_no_files (0.00s) 364s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins (0.01s) 364s --- PASS: TestApplyPolicy/Empty_client_AD_admins (0.00s) 364s --- PASS: TestApplyPolicy/Set_client_group_admins (0.00s) 364s --- PASS: TestApplyPolicy/Set_client_multiple_users_admins (0.00s) 364s --- PASS: TestApplyPolicy/Allow_local_admins_with_no_other_rules_is_a_noop (0.00s) 364s --- PASS: TestApplyPolicy/Error_on_writing_to_sudoers_file (0.00s) 364s --- PASS: TestApplyPolicy/Set_client_mixed_with_users_and_group_admins (0.00s) 364s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_subdirectory_creation (0.00s) 364s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.00s) 364s --- PASS: TestApplyPolicy/Allow_local_admins_without_previous_local_admin_conf_and_set_client_admins (0.00s) 364s --- PASS: TestApplyPolicy/No_client_AD_admins (0.00s) 364s --- PASS: TestApplyPolicy/Error_on_writing_to_polkit_conf_file (0.00s) 364s --- PASS: TestApplyPolicy/Overwrite_existing_polkit_file (0.00s) 364s --- PASS: TestApplyPolicy/Allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins (0.00s) 364s --- PASS: TestApplyPolicy/Disallow_local_admins_and_set_client_admins (0.00s) 364s --- PASS: TestApplyPolicy/Not_a_computer (0.00s) 364s --- PASS: TestApplyPolicy/Don't_overwrite_other_existing_files (0.01s) 364s --- PASS: TestApplyPolicy/Set_client_user_admins (0.00s) 364s --- PASS: TestApplyPolicy/Error_if_can’t_rename_to_destination_for_polkit_conf_file (0.00s) 364s PASS 364s ok github.com/ubuntu/adsys/internal/policies/privilege 0.102s 364s === RUN TestApplyPolicy 364s === PAUSE TestApplyPolicy 364s === RUN TestWarnOnUnsupportedKeys 364s --- PASS: TestWarnOnUnsupportedKeys (0.00s) 364s === RUN TestWarnOnMissingDBusService 364s --- PASS: TestWarnOnMissingDBusService (0.00s) 364s === CONT TestApplyPolicy 364s === RUN TestApplyPolicy/Computer,_no_entries 364s === PAUSE TestApplyPolicy/Computer,_no_entries 364s === RUN TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 364s === PAUSE TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 364s === RUN TestApplyPolicy/User,_no_entries 364s === PAUSE TestApplyPolicy/User,_no_entries 364s === RUN TestApplyPolicy/Computer,_single_enabled_entry 364s === PAUSE TestApplyPolicy/Computer,_single_enabled_entry 364s === RUN TestApplyPolicy/Computer,_single_disabled_entry 364s === PAUSE TestApplyPolicy/Computer,_single_disabled_entry 364s === RUN TestApplyPolicy/Computer,_all_entries_set 364s === PAUSE TestApplyPolicy/Computer,_all_entries_set 364s === RUN TestApplyPolicy/User,_non-empty_entries 364s === PAUSE TestApplyPolicy/User,_non-empty_entries 364s === RUN TestApplyPolicy/Error_when_D-Bus_call_fails 364s === PAUSE TestApplyPolicy/Error_when_D-Bus_call_fails 364s === CONT TestApplyPolicy/Computer,_no_entries 364s === CONT TestApplyPolicy/Computer,_single_disabled_entry 364s === CONT TestApplyPolicy/Error_when_D-Bus_call_fails 364s === CONT TestApplyPolicy/User,_non-empty_entries 364s === CONT TestApplyPolicy/User,_no_entries 364s === CONT TestApplyPolicy/Computer,_all_entries_set 364s === CONT TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error 364s === CONT TestApplyPolicy/Computer,_single_enabled_entry 364s --- PASS: TestApplyPolicy (0.02s) 364s --- PASS: TestApplyPolicy/Computer,_no_entries (0.00s) 364s --- PASS: TestApplyPolicy/Computer,_single_disabled_entry (0.00s) 364s --- PASS: TestApplyPolicy/Error_when_D-Bus_call_fails (0.00s) 364s --- PASS: TestApplyPolicy/User,_non-empty_entries (0.00s) 364s --- PASS: TestApplyPolicy/User,_no_entries (0.00s) 364s --- PASS: TestApplyPolicy/Computer,_all_entries_set (0.00s) 364s --- PASS: TestApplyPolicy/Computer,_no_entries,_D-Bus_call_error (0.00s) 364s --- PASS: TestApplyPolicy/Computer,_single_enabled_entry (0.00s) 364s PASS 364s ok github.com/ubuntu/adsys/internal/policies/proxy 0.060s 365s === RUN TestNew 365s === PAUSE TestNew 365s === RUN TestApplyPolicy 365s === PAUSE TestApplyPolicy 365s === RUN TestRunScripts 365s === PAUSE TestRunScripts 365s === CONT TestNew 365s === RUN TestNew/create_manager 365s === CONT TestRunScripts 365s === RUN TestRunScripts/one_script 365s === PAUSE TestRunScripts/one_script 365s === RUN TestRunScripts/scripts_not_listed_are_not_run 365s === PAUSE TestRunScripts/scripts_not_listed_are_not_run 365s === RUN TestRunScripts/scripts_referenced_in_subdirectories 365s === PAUSE TestRunScripts/scripts_referenced_in_subdirectories 365s === RUN TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 365s === PAUSE TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 365s === RUN TestRunScripts/keeps_running_flag_after_non_user_logoff 365s === PAUSE TestRunScripts/keeps_running_flag_after_non_user_logoff 365s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 365s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 365s === RUN TestRunScripts/error_on_not_ready_for_execution 365s === PAUSE TestRunScripts/error_on_not_ready_for_execution 365s === RUN TestRunScripts/error_on_argument_not_a_file 365s === PAUSE TestRunScripts/error_on_argument_not_a_file 365s === RUN TestRunScripts/scripts_that_are_not_executable_are_skipped 365s === PAUSE TestRunScripts/scripts_that_are_not_executable_are_skipped 365s === PAUSE TestNew/create_manager 365s === RUN TestNew/error_on_read_only_rundir 365s === PAUSE TestNew/error_on_read_only_rundir 365s === RUN TestRunScripts/keeps_running_flag_after_non_machine_shutdown 365s === PAUSE TestRunScripts/keeps_running_flag_after_non_machine_shutdown 365s === RUN TestRunScripts/multiple_scripts_are_run_in_order 365s === PAUSE TestRunScripts/multiple_scripts_are_run_in_order 365s === RUN TestRunScripts/has_no_session_running_flag_after_user_logoff 365s === PAUSE TestRunScripts/has_no_session_running_flag_after_user_logoff 365s === RUN TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 365s === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 365s === RUN TestRunScripts/has_no_session_running_flag_after_machine_shutdown 365s === PAUSE TestRunScripts/has_no_session_running_flag_after_machine_shutdown 365s === RUN TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 365s === PAUSE TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 365s === CONT TestApplyPolicy 365s === RUN TestApplyPolicy/Empty_entries_are_discared 365s === PAUSE TestApplyPolicy/Empty_entries_are_discared 365s === RUN TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 365s === PAUSE TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 365s === RUN TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 365s === RUN TestRunScripts/allow_order_file_missing 365s === PAUSE TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 365s === RUN TestApplyPolicy/Error_on_save_assets_dumping_failing 365s === PAUSE TestApplyPolicy/Error_on_save_assets_dumping_failing 365s === RUN TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 365s === PAUSE TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 365s === RUN TestApplyPolicy/One_directory,_multiple_scripts_in_order 365s === PAUSE TestApplyPolicy/One_directory,_multiple_scripts_in_order 365s === PAUSE TestRunScripts/allow_order_file_missing 365s === RUN TestRunScripts/spaces_and_empty_lines_are_skipped 365s === PAUSE TestRunScripts/spaces_and_empty_lines_are_skipped 365s === RUN TestRunScripts/error_on_order_file_not_existing 365s === PAUSE TestRunScripts/error_on_order_file_not_existing 365s === CONT TestNew/create_manager 365s === CONT TestNew/error_on_read_only_rundir 365s --- PASS: TestNew (0.00s) 365s --- PASS: TestNew/create_manager (0.00s) 365s --- PASS: TestNew/error_on_read_only_rundir (0.00s) 365s === CONT TestRunScripts/one_script 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsone_script3488781468/001/users/foo/scripts/s\"" 365s === RUN TestApplyPolicy/No_entries_update_existing_non_ready_folder 365s === PAUSE TestApplyPolicy/No_entries_update_existing_non_ready_folder 365s === RUN TestApplyPolicy/One_script 365s === PAUSE TestApplyPolicy/One_script 365s === RUN TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 365s === PAUSE TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 365s === RUN TestApplyPolicy/Destination_is_already_running,_no_change 365s === PAUSE TestApplyPolicy/Destination_is_already_running,_no_change 365s === RUN TestApplyPolicy/Error_on_subfolder_listed 365s === PAUSE TestApplyPolicy/Error_on_subfolder_listed 365s === RUN TestApplyPolicy/Error_on_user_lookup_failing 365s === PAUSE TestApplyPolicy/Error_on_user_lookup_failing 365s === RUN TestApplyPolicy/No_entries_is_an_empty_folder 365s === PAUSE TestApplyPolicy/No_entries_is_an_empty_folder 365s === RUN TestApplyPolicy/Subfolder_with_script 365s === PAUSE TestApplyPolicy/Subfolder_with_script 365s === RUN TestApplyPolicy/Subfolder_with_same_script_name 365s === PAUSE TestApplyPolicy/Subfolder_with_same_script_name 365s === RUN TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 365s === PAUSE TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 365s === RUN TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 365s === PAUSE TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 365s === RUN TestApplyPolicy/Error_on_invalid_GID 365s === PAUSE TestApplyPolicy/Error_on_invalid_GID 365s === RUN TestApplyPolicy/Same_script_is_used_multiple_times 365s === PAUSE TestApplyPolicy/Same_script_is_used_multiple_times 365s === RUN TestApplyPolicy/Destination_is_not_ready,_refreshing 365s === PAUSE TestApplyPolicy/Destination_is_not_ready,_refreshing 365s === RUN TestApplyPolicy/Error_on_script_does_not_exist 365s === PAUSE TestApplyPolicy/Error_on_script_does_not_exist 365s === RUN TestApplyPolicy/Error_on_users_run_directory_Read_Only 365s === PAUSE TestApplyPolicy/Error_on_users_run_directory_Read_Only 365s === RUN TestApplyPolicy/Error_on_invalid_UID 365s === PAUSE TestApplyPolicy/Error_on_invalid_UID 365s === RUN TestApplyPolicy/Multiple_directories: 365s === PAUSE TestApplyPolicy/Multiple_directories: 365s === CONT TestRunScripts/error_on_order_file_not_existing 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_order_file_not_existing757072803/001/users/foo/scripts/s\"" 365s === CONT TestRunScripts/spaces_and_empty_lines_are_skipped 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsspaces_and_empty_lines_are_skipped1294728576/001/users/foo/scripts/s\"" 365s === CONT TestRunScripts/allow_order_file_missing 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsallow_order_file_missing2944100004/001/users/foo/scripts/s\"" 365s time="2024-03-21T02:25:26Z" level=info msg="\"/tmp/TestRunScriptsallow_order_file_missing2944100004/001/users/foo/scripts/s\" doesn't exist, but allowed to be missing, skipping" 365s === CONT TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown2754813098/001/machine/foo/scripts/shutdown\"" 365s time="2024-03-21T02:25:26Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown2754813098/001/machine/foo/scripts/shutdown\" doesn't exist, but allowed to be missing, skipping" 365s === CONT TestRunScripts/has_no_session_running_flag_after_machine_shutdown 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_machine_shutdown488564743/001/machine/foo/scripts/shutdown\"" 365s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_user_logoff3765883908/001/users/foo/scripts/logoff\"" 365s === CONT TestRunScripts/has_no_session_running_flag_after_user_logoff 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_user_logoff3574311991/001/users/foo/scripts/logoff\"" 365s === CONT TestRunScripts/multiple_scripts_are_run_in_order 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsmultiple_scripts_are_run_in_order985003392/001/users/foo/scripts/s\"" 365s === CONT TestRunScripts/keeps_running_flag_after_non_machine_shutdown 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_machine_shutdown3611063328/001/users/foo/scripts/shutdown\"" 365s === CONT TestRunScripts/scripts_that_are_not_executable_are_skipped 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped2781869296/001/users/foo/scripts/s\"" 365s time="2024-03-21T02:25:26Z" level=warning msg="\"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped2781869296/001/users/foo/scripts/scripts/notexecutable.sh\" failed to run\nfork/exec /tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped2781869296/001/users/foo/scripts/scripts/notexecutable.sh: permission denied" 365s === CONT TestRunScripts/error_on_argument_not_a_file 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_argument_not_a_file2918678436/001/users/foo/scripts/s\"" 365s === CONT TestRunScripts/error_on_not_ready_for_execution 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_not_ready_for_execution421925318/001/users/foo/scripts/s\"" 365s === CONT TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_machine_shutdown2363119826/001/machine/foo/scripts/shutdown\"" 365s === CONT TestRunScripts/keeps_running_flag_after_non_user_logoff 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_user_logoff3432784461/001/machine/foo/scripts/logoff\"" 365s === CONT TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff3163243414/001/users/foo/scripts/logoff\"" 365s time="2024-03-21T02:25:26Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff3163243414/001/users/foo/scripts/logoff\" doesn't exist, but allowed to be missing, skipping" 365s === CONT TestRunScripts/scripts_referenced_in_subdirectories 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_referenced_in_subdirectories1759375115/001/users/foo/scripts/s\"" 365s === CONT TestRunScripts/scripts_not_listed_are_not_run 365s time="2024-03-21T02:25:26Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_not_listed_are_not_run1933389031/001/users/foo/scripts/s\"" 365s === CONT TestApplyPolicy/Empty_entries_are_discared 365s --- PASS: TestRunScripts (0.00s) 365s --- PASS: TestRunScripts/error_on_order_file_not_existing (0.00s) 365s --- PASS: TestRunScripts/spaces_and_empty_lines_are_skipped (0.01s) 365s --- PASS: TestRunScripts/allow_order_file_missing (0.00s) 365s --- PASS: TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown (0.00s) 365s --- PASS: TestRunScripts/one_script (0.03s) 365s --- PASS: TestRunScripts/has_no_session_running_flag_after_machine_shutdown (0.04s) 365s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff (0.05s) 365s --- PASS: TestRunScripts/has_no_session_running_flag_after_user_logoff (0.04s) 365s --- PASS: TestRunScripts/multiple_scripts_are_run_in_order (0.04s) 365s --- PASS: TestRunScripts/keeps_running_flag_after_non_machine_shutdown (0.05s) 365s --- PASS: TestRunScripts/error_on_argument_not_a_file (0.00s) 365s --- PASS: TestRunScripts/error_on_not_ready_for_execution (0.00s) 365s --- PASS: TestRunScripts/scripts_that_are_not_executable_are_skipped (0.03s) 365s --- PASS: TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff (0.00s) 365s --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown (0.03s) 365s --- PASS: TestRunScripts/keeps_running_flag_after_non_user_logoff (0.04s) 365s --- PASS: TestRunScripts/scripts_referenced_in_subdirectories (0.03s) 365s --- PASS: TestRunScripts/scripts_not_listed_are_not_run (0.02s) 365s === CONT TestApplyPolicy/No_entries_is_an_empty_folder 365s === CONT TestApplyPolicy/Multiple_directories: 365s === CONT TestApplyPolicy/Error_on_invalid_UID 365s === CONT TestApplyPolicy/Error_on_users_run_directory_Read_Only 365s === CONT TestApplyPolicy/Error_on_script_does_not_exist 365s === CONT TestApplyPolicy/Destination_is_not_ready,_refreshing 365s === CONT TestApplyPolicy/Same_script_is_used_multiple_times 365s === CONT TestApplyPolicy/Error_on_invalid_GID 365s === CONT TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update 365s === CONT TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) 365s time="2024-03-21T02:25:26Z" level=info msg="Running machine startup scripts" 365s === CONT TestApplyPolicy/Subfolder_with_same_script_name 365s === CONT TestApplyPolicy/Subfolder_with_script 365s === CONT TestApplyPolicy/No_entries_update_existing_non_ready_folder 365s === CONT TestApplyPolicy/Error_on_user_lookup_failing 365s === CONT TestApplyPolicy/Error_on_subfolder_listed 365s === CONT TestApplyPolicy/Destination_is_already_running,_no_change 365s === CONT TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup 365s time="2024-03-21T02:25:26Z" level=info msg="\"/tmp/TestApplyPolicyDestination_is_already_running,_no_change3868318633/001/machine/scripts/.running\" already exists, a session is already running, ignoring." 365s === CONT TestApplyPolicy/One_script 365s === CONT TestApplyPolicy/Error_on_save_assets_dumping_failing 365s === CONT TestApplyPolicy/One_directory,_multiple_scripts_in_order 365s === CONT TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails 365s time="2024-03-21T02:25:26Z" level=info msg="Running machine startup scripts" 365s === CONT TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update 365s === CONT TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing 365s --- PASS: TestApplyPolicy (0.00s) 365s --- PASS: TestApplyPolicy/No_entries_is_an_empty_folder (0.00s) 365s --- PASS: TestApplyPolicy/Empty_entries_are_discared (0.01s) 365s --- PASS: TestApplyPolicy/Error_on_invalid_UID (0.00s) 365s --- PASS: TestApplyPolicy/Error_on_users_run_directory_Read_Only (0.00s) 365s --- PASS: TestApplyPolicy/Error_on_script_does_not_exist (0.00s) 365s --- PASS: TestApplyPolicy/Multiple_directories: (0.01s) 365s --- PASS: TestApplyPolicy/Destination_is_not_ready,_refreshing (0.00s) 365s --- PASS: TestApplyPolicy/Same_script_is_used_multiple_times (0.00s) 365s --- PASS: TestApplyPolicy/Error_on_invalid_GID (0.00s) 365s --- PASS: TestApplyPolicy/Startup_script_for_computer_runs_systemctl_(systemctl_success) (0.00s) 365s --- PASS: TestApplyPolicy/Subfolder_with_same_script_name (0.00s) 365s --- PASS: TestApplyPolicy/Systemctl_failing_does_not_impact_user_scripts_update (0.01s) 365s --- PASS: TestApplyPolicy/No_entries_update_existing_non_ready_folder (0.00s) 365s --- PASS: TestApplyPolicy/Error_on_user_lookup_failing (0.00s) 365s --- PASS: TestApplyPolicy/Error_on_subfolder_listed (0.00s) 365s --- PASS: TestApplyPolicy/Subfolder_with_script (0.01s) 365s --- PASS: TestApplyPolicy/Destination_is_already_running,_no_change (0.00s) 365s --- PASS: TestApplyPolicy/One_script (0.00s) 365s --- PASS: TestApplyPolicy/Computer,_no_systemctl_with_other_directory_than_startup (0.01s) 365s --- PASS: TestApplyPolicy/Error_on_save_assets_dumping_failing (0.00s) 365s --- PASS: TestApplyPolicy/Error_on_running_start_script_that_runs_systemctl_and_systemctl_fails (0.00s) 365s --- PASS: TestApplyPolicy/User_lookup_failing_does_not_impact_machine_update (0.00s) 365s --- PASS: TestApplyPolicy/One_directory,_multiple_scripts_in_order (0.01s) 365s --- PASS: TestApplyPolicy/Destination_is_already_ready_but_not_in_session,_refreshing (0.00s) 365s PASS 365s ok github.com/ubuntu/adsys/internal/policies/scripts 0.297s 365s === RUN TestExclusiveLockExec 365s --- PASS: TestExclusiveLockExec (0.01s) 365s === RUN TestExclusiveLockSmb 365s --- PASS: TestExclusiveLockSmb (0.01s) 365s === RUN TestMultipleExecLocksOnlyReleaseOnLast 365s --- PASS: TestMultipleExecLocksOnlyReleaseOnLast (0.01s) 365s === RUN TestMultipleSmbLocksOnlyReleaseOnLast 365s --- PASS: TestMultipleSmbLocksOnlyReleaseOnLast (0.01s) 365s PASS 365s ok github.com/ubuntu/adsys/internal/smbsafe 0.058s 365s === RUN TestAddStdoutForwarder 365s --- PASS: TestAddStdoutForwarder (0.00s) 365s === RUN TestAddStderrForwarder 365s --- PASS: TestAddStderrForwarder (0.00s) 365s === RUN TestAddStdoutForwarderEnsureStderrNoPolluted 365s --- PASS: TestAddStdoutForwarderEnsureStderrNoPolluted (0.00s) 365s === RUN TestAddForwarderAndDisconnect 365s --- PASS: TestAddForwarderAndDisconnect (0.00s) 365s === RUN TestAddForwardersGraduallyAndDisconnect 365s --- PASS: TestAddForwardersGraduallyAndDisconnect (0.01s) 365s === RUN TestAddForwarderDifferentWriterStdoutStderr 365s --- PASS: TestAddForwarderDifferentWriterStdoutStderr (0.00s) 365s === RUN TestAddForwarderSameWriterStdoutStderr 365s --- PASS: TestAddForwarderSameWriterStdoutStderr (0.00s) 365s === RUN TestAddStdoutForwarderWithBlockedStdout 365s time="2024-03-21T02:25:26Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 365s time="2024-03-21T02:25:26Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 365s time="2024-03-21T02:25:26Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 365s --- PASS: TestAddStdoutForwarderWithBlockedStdout (0.01s) 365s === RUN TestAddStderrForwarderWithBlockedStderr 365s time="2024-03-21T02:25:26Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 365s time="2024-03-21T02:25:26Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 365s time="2024-03-21T02:25:26Z" level=warning msg="Failed to write to regular output: write |1: file already closed" 365s --- PASS: TestAddStderrForwarderWithBlockedStderr (0.01s) 365s === RUN TestAddStdoutForwarderOneWithFailingForwarder 365s time="2024-03-21T02:25:26Z" level=warning msg="Failed to forward log: Error from failedWriter" 365s time="2024-03-21T02:25:26Z" level=warning msg="Failed to forward log: Error from failedWriter" 365s time="2024-03-21T02:25:26Z" level=warning msg="Failed to forward log: Error from failedWriter" 365s --- PASS: TestAddStdoutForwarderOneWithFailingForwarder (0.01s) 365s PASS 365s ok github.com/ubuntu/adsys/internal/stdforward 0.065s 365s ? github.com/ubuntu/adsys/internal/testutils [no test files] 365s ? github.com/ubuntu/adsys/internal/watchdservice [no test files] 365s === RUN TestManageUnit 365s === PAUSE TestManageUnit 365s === RUN TestDaemonReload 365s === PAUSE TestDaemonReload 365s === CONT TestManageUnit 365s === CONT TestDaemonReload 365s === RUN TestManageUnit/Stop_unit_that_exists 365s === PAUSE TestManageUnit/Stop_unit_that_exists 365s === RUN TestManageUnit/Disable_unit_that_exists 365s === PAUSE TestManageUnit/Disable_unit_that_exists 365s === RUN TestManageUnit/Error_when_starting_failing_unit 365s === PAUSE TestManageUnit/Error_when_starting_failing_unit 365s === RUN TestManageUnit/Error_when_stopping_failing_unit 365s === PAUSE TestManageUnit/Error_when_stopping_failing_unit 365s === RUN TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 365s === PAUSE TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 365s === RUN TestManageUnit/Start_unit_that_exists 365s === PAUSE TestManageUnit/Start_unit_that_exists 365s === RUN TestManageUnit/Enable_unit_that_exists 365s === PAUSE TestManageUnit/Enable_unit_that_exists 365s === RUN TestManageUnit/Error_when_starting_unit_that_doesn't_exist 365s === PAUSE TestManageUnit/Error_when_starting_unit_that_doesn't_exist 365s === RUN TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 365s === PAUSE TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 365s === RUN TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 365s === PAUSE TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 365s === CONT TestManageUnit/Stop_unit_that_exists 365s === CONT TestManageUnit/Error_when_enabling_unit_that_doesn't_exist 365s === CONT TestManageUnit/Error_when_stopping_unit_that_doesn't_exist 365s --- PASS: TestDaemonReload (0.00s) 365s === CONT TestManageUnit/Error_when_starting_unit_that_doesn't_exist 365s === CONT TestManageUnit/Enable_unit_that_exists 365s === CONT TestManageUnit/Start_unit_that_exists 365s === CONT TestManageUnit/Error_when_disabling_unit_that_doesn't_exist 365s === CONT TestManageUnit/Error_when_stopping_failing_unit 365s === CONT TestManageUnit/Error_when_starting_failing_unit 365s === CONT TestManageUnit/Disable_unit_that_exists 365s --- PASS: TestManageUnit (0.00s) 365s --- PASS: TestManageUnit/Stop_unit_that_exists (0.00s) 365s --- PASS: TestManageUnit/Error_when_enabling_unit_that_doesn't_exist (0.00s) 365s --- PASS: TestManageUnit/Error_when_stopping_unit_that_doesn't_exist (0.00s) 365s --- PASS: TestManageUnit/Error_when_starting_unit_that_doesn't_exist (0.00s) 365s --- PASS: TestManageUnit/Enable_unit_that_exists (0.00s) 365s --- PASS: TestManageUnit/Error_when_disabling_unit_that_doesn't_exist (0.00s) 365s --- PASS: TestManageUnit/Start_unit_that_exists (0.00s) 365s --- PASS: TestManageUnit/Error_when_starting_failing_unit (0.00s) 365s --- PASS: TestManageUnit/Error_when_stopping_failing_unit (0.00s) 365s --- PASS: TestManageUnit/Disable_unit_that_exists (0.00s) 365s PASS 365s ok github.com/ubuntu/adsys/internal/systemd 0.036s 367s === RUN TestInteractiveInput 367s === RUN TestInteractiveInput/Initial_view 367s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 367s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 367s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 367s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 367s === RUN TestInteractiveInput/Config_file_exists 367s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 367s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 367s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 367s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 367s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 367s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 367s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 367s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 367s === RUN TestInteractiveInput/Other_navigation_tests 367s === RUN TestInteractiveInput/Directory_exists 367s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 367s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 367s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 367s === RUN TestInteractiveInput/Submit_with_default_config 367s === RUN TestInteractiveInput/Submit_with_duplicate_directories 367s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 367s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 367s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 367s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 367s --- PASS: TestInteractiveInput (0.03s) 367s --- PASS: TestInteractiveInput/Initial_view (0.00s) 367s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 367s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 367s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 367s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 367s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 367s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 367s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.00s) 367s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.00s) 367s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 367s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.00s) 367s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 367s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 367s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 367s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 367s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 367s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 367s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.00s) 367s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 367s --- PASS: TestInteractiveInput/Submit_with_default_config (0.00s) 367s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 367s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 367s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.00s) 367s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 367s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 367s === RUN TestInteractiveInstall 367s watchdtui_test.go:410: Test has to be run as root, skipping... 367s --- SKIP: TestInteractiveInstall (0.00s) 367s === RUN TestInteractiveUpdate 367s watchdtui_test.go:458: Test has to be run as root, skipping... 367s --- SKIP: TestInteractiveUpdate (0.00s) 367s PASS 367s ok github.com/ubuntu/adsys/internal/watchdtui 0.069s 367s ? github.com/ubuntu/adsys/po [no test files] 367s ? github.com/ubuntu/adsys/policies [no test files] 371s === RUN TestWatchDirectory 371s === PAUSE TestWatchDirectory 371s === RUN TestRefreshGracePeriod 371s === PAUSE TestRefreshGracePeriod 371s === RUN TestUpdateDirs 371s === PAUSE TestUpdateDirs 371s === RUN TestUpdateDirsFailing 371s === PAUSE TestUpdateDirsFailing 371s === RUN TestUpdateDirsWithEmptyDirSlice 371s === PAUSE TestUpdateDirsWithEmptyDirSlice 371s === RUN TestUpdateDirsOnStoppedWatcher 371s === PAUSE TestUpdateDirsOnStoppedWatcher 371s === RUN TestStopWithoutStart 371s === PAUSE TestStopWithoutStart 371s === CONT TestWatchDirectory 371s === RUN TestWatchDirectory/Remove_root_directory 371s === PAUSE TestWatchDirectory/Remove_root_directory 371s === RUN TestWatchDirectory/New_file,_subdir 371s === PAUSE TestWatchDirectory/New_file,_subdir 371s === RUN TestWatchDirectory/No_update,_existing_gpt.ini 371s === PAUSE TestWatchDirectory/No_update,_existing_gpt.ini 371s === RUN TestWatchDirectory/Rename_file_and_update 371s === PAUSE TestWatchDirectory/Rename_file_and_update 371s === RUN TestWatchDirectory/New_subdir 371s === PAUSE TestWatchDirectory/New_subdir 371s === CONT TestUpdateDirsWithEmptyDirSlice 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestUpdateDirsWithEmptyDirSlice517258418/001/watchdir and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice517258418/001/watchdir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice517258418/001/watchdir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice517258418/001/watchdir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice517258418/001/watchdir/alreadyexistsDir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice517258418/001/watchdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice517258418/001/watchdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Updating directories to []" 371s time="2024-03-21T02:25:28Z" level=info msg="Watcher stopped" 371s === RUN TestWatchDirectory/New_subdir_without_file 371s === PAUSE TestWatchDirectory/New_subdir_without_file 371s === RUN TestWatchDirectory/Multiple_directories,_only_one_is_updated 371s === PAUSE TestWatchDirectory/Multiple_directories,_only_one_is_updated 371s === RUN TestWatchDirectory/Error_on_non_existing_directory 371s === PAUSE TestWatchDirectory/Error_on_non_existing_directory 371s === RUN TestWatchDirectory/Error_on_updating_malformed_GPT.ini 371s === PAUSE TestWatchDirectory/Error_on_updating_malformed_GPT.ini 371s === RUN TestWatchDirectory/Error_on_listing_no_directory 371s === PAUSE TestWatchDirectory/Error_on_listing_no_directory 371s === RUN TestWatchDirectory/New_file,_no_gpt.ini 371s === PAUSE TestWatchDirectory/New_file,_no_gpt.ini 371s === RUN TestWatchDirectory/Update_existing_file 371s === PAUSE TestWatchDirectory/Update_existing_file 371s === RUN TestWatchDirectory/Remove_file 371s === PAUSE TestWatchDirectory/Remove_file 371s === RUN TestWatchDirectory/Rename_file 371s === PAUSE TestWatchDirectory/Rename_file 371s === RUN TestWatchDirectory/Existing_file,_subdir 371s === PAUSE TestWatchDirectory/Existing_file,_subdir 371s === RUN TestWatchDirectory/Nested_new_subdirs 371s === PAUSE TestWatchDirectory/Nested_new_subdirs 371s === RUN TestWatchDirectory/Multiple_nested_subdirectories 371s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories 371s === RUN TestWatchDirectory/Combined_case 371s === PAUSE TestWatchDirectory/Combined_case 371s === RUN TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 371s === PAUSE TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 371s === RUN TestWatchDirectory/No_update,_no_gpt.ini 371s === PAUSE TestWatchDirectory/No_update,_no_gpt.ini 371s === RUN TestWatchDirectory/Update_with_existing_gpt.ini 371s === PAUSE TestWatchDirectory/Update_with_existing_gpt.ini 371s === RUN TestWatchDirectory/Updating_gpt.ini_is_a_no-op 371s === PAUSE TestWatchDirectory/Updating_gpt.ini_is_a_no-op 371s === RUN TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 371s === PAUSE TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 371s === CONT TestStopWithoutStart 371s --- PASS: TestStopWithoutStart (0.00s) 371s === CONT TestUpdateDirsOnStoppedWatcher 371s time="2024-03-21T02:25:28Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir]" 371s time="2024-03-21T02:25:28Z" level=warning msg="Error stopping watcher: the service is already stopping or not running" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/alreadyexistsDir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/alreadyexists\"" 371s --- PASS: TestUpdateDirsWithEmptyDirSlice (0.02s) 371s === CONT TestUpdateDirs 371s time="2024-03-21T02:25:28Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:28Z" level=info msg="Bumping version for /tmp/TestUpdateDirsOnStoppedWatcher1141136730/001/curdir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestUpdateDirs1182346258/001/remove and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/remove" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/remove/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/remove/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/remove/alreadyexistsDir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/remove/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/remove/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestUpdateDirs1182346258/001/keep and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/alreadyexistsDir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/remove/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/remove/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/remove/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/remove/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirs1182346258/001/keep /tmp/TestUpdateDirs1182346258/001/add]" 371s time="2024-03-21T02:25:28Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:28Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1182346258/001/remove/GPT.INI" 371s --- PASS: TestUpdateDirsOnStoppedWatcher (0.29s) 371s === CONT TestUpdateDirsFailing 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing1087132129/001/remove and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/remove" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/remove/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/remove/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/remove/alreadyexistsDir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/remove/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/remove/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing1087132129/001/keep and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/keep" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/keep/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/keep/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/keep/alreadyexistsDir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestUpdateDirs1182346258/001/keep and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/keep/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1087132129/001/keep/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/alreadyexistsDir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/keep/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestUpdateDirs1182346258/001/add and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/add" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/add/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/add/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/add/alreadyexistsDir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/add/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestUpdateDirs1182346258/001/add/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsFailing1087132129/001/keep unexisting]" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1087132129/001/keep/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1087132129/001/keep/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1087132129/001/keep/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1087132129/001/keep/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1087132129/001/remove/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1087132129/001/remove/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1087132129/001/remove/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirsFailing1087132129/001/remove/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/keep/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/keep/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/keep/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/keep/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/add/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/add/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/add/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestUpdateDirs1182346258/001/add/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:28Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing1087132129/001/keep/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing1087132129/001/remove/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:28Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1182346258/001/keep/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=info msg="Bumping version for /tmp/TestUpdateDirs1182346258/001/add/GPT.INI" 371s --- PASS: TestUpdateDirsFailing (0.21s) 371s === CONT TestRefreshGracePeriod 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestRefreshGracePeriod4198233045/001/withsubdir and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod4198233045/001/withsubdir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod4198233045/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexists\"" 371s --- PASS: TestUpdateDirs (0.59s) 371s === CONT TestWatchDirectory/Remove_root_directory 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/GPT.INI\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/GPT.INI\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/GPT.INI\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file" 371s time="2024-03-21T02:25:28Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:28Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/GPT.INI: no such file or directory, creating a new file" 371s time="2024-03-21T02:25:28Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/GPT.INI: open /tmp/TestWatchDirectoryRemove_root_directory3795437277/001/one_file/GPT.INI: no such file or directory" 371s === CONT TestWatchDirectory/Update_existing_file 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_existing_file1263352894/001/one_file and children" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file1263352894/001/one_file" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file1263352894/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:28Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file1263352894/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file1263352894/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_existing_file1263352894/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:28Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:28Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_existing_file1263352894/001/one_file/GPT.INI" 371s === CONT TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir and children" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir and children" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:29Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:29Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1620090509/001/withsubdir/alreadyexistsDir/GPT.INI" 371s === CONT TestWatchDirectory/Updating_gpt.ini_is_a_no-op 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op842663604/001/one_file and children" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op842663604/001/one_file" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op842663604/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op842663604/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op842663604/001/one_file/GPT.INI\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op842663604/001/one_file/GPT.INI\"" 371s time="2024-03-21T02:25:29Z" level=info msg="Watcher stopped" 371s === CONT TestWatchDirectory/Update_with_existing_gpt.ini 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1178314541/001/one_file and children" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1178314541/001/one_file" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1178314541/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1178314541/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1178314541/001/one_file/new\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1178314541/001/one_file/new\"" 371s time="2024-03-21T02:25:29Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:29Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1178314541/001/one_file/GPT.INI" 371s === CONT TestWatchDirectory/No_update,_no_gpt.ini 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_no_gpt.ini3173707813/001/no_gpt and children" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini3173707813/001/no_gpt" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini3173707813/001/no_gpt/testfile" 371s time="2024-03-21T02:25:29Z" level=info msg="Watcher stopped" 371s === CONT TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/one_file and children" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/one_file" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir and children" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:29Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir/alreadyexists\"" 371s time="2024-03-21T02:25:29Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated4120567437/001/withsubdir/GPT.INI" 371s === CONT TestWatchDirectory/Combined_case 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/new\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/new\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/dir\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/dir and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/dir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/dir/file" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexistsDir/new\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/alreadyexistsDir/new\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/otherdir\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/otherdir and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/otherdir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/otherdir/subdir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/otherdir/subdir/file" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/newdir\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/newdir\"" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod4198233045/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/GPT.INI\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/GPT.INI\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/GPT.INI\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestRefreshGracePeriod4198233045/001/withsubdir/GPT.INI\"" 371s time="2024-03-21T02:25:30Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryCombined_case2088245730/001/withsubdir/GPT.INI" 371s === CONT TestWatchDirectory/Multiple_nested_subdirectories 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/new\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/new\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories3220451381/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=info msg="Watcher stopped" 371s --- PASS: TestRefreshGracePeriod (1.96s) 371s === CONT TestWatchDirectory/Nested_new_subdirs 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/otherdir\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/otherdir and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/otherdir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/otherdir/subdir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/otherdir/subdir/file" 371s === CONT TestWatchDirectory/Existing_file,_subdir 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir/alreadyexistsDir/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNested_new_subdirs1976110762/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryExisting_file,_subdir2549291121/001/withsubdir/GPT.INI" 371s === CONT TestWatchDirectory/Rename_file 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file1335549280/001/one_file and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file1335549280/001/one_file" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file1335549280/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file1335549280/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file1335549280/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file1335549280/001/one_file/alreadyexists.bak\"" 371s === CONT TestWatchDirectory/Remove_file 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_file2261697101/001/one_file and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file2261697101/001/one_file" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CHMOD \"/tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: REMOVE \"/tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/alreadyexists\": fsnotify: can't remove non-existent watch: /tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file1335549280/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:30Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_file2261697101/001/one_file/GPT.INI" 371s === CONT TestWatchDirectory/New_subdir_without_file 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir/newsubdir\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir/newsubdir\"" 371s === CONT TestWatchDirectory/New_file,_no_gpt.ini 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3385236757/001/no_gpt and children" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3385236757/001/no_gpt" 371s time="2024-03-21T02:25:30Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3385236757/001/no_gpt/testfile" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini3385236757/001/no_gpt/new\"" 371s time="2024-03-21T02:25:30Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini3385236757/001/no_gpt/new\"" 371s time="2024-03-21T02:25:31Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:31Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir_without_file2184022649/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:31Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3385236757/001/no_gpt/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryNew_file,_no_gpt.ini3385236757/001/no_gpt/GPT.INI: no such file or directory, creating a new file" 371s === CONT TestWatchDirectory/Error_on_listing_no_directory 371s === CONT TestWatchDirectory/Error_on_updating_malformed_GPT.ini 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini799432073/001/malformed and children" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini799432073/001/malformed" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini799432073/001/malformed/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini799432073/001/malformed/new\"" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini799432073/001/malformed/new\"" 371s === CONT TestWatchDirectory/Error_on_non_existing_directory 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_non_existing_directory1482494916/001/doesnotexist and children" 371s === CONT TestWatchDirectory/Multiple_directories,_only_one_is_updated 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/one_file and children" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/one_file" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir and children" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir/alreadyexists\"" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir/alreadyexists\"" 371s time="2024-03-21T02:25:31Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:31Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini799432073/001/malformed/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini799432073/001/malformed/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini799432073/001/malformed/GPT.INI: strconv.ParseInt: parsing \"??\": invalid syntax" 371s time="2024-03-21T02:25:31Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:31Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1511425922/001/withsubdir/GPT.INI" 371s === CONT TestWatchDirectory/No_update,_existing_gpt.ini 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini3720632779/001/one_file and children" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini3720632779/001/one_file" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini3720632779/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini3720632779/001/one_file/alreadyexists" 371s === CONT TestWatchDirectory/New_subdir 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir and children" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/dir\"" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/dir and children" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/dir" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/dir/file" 371s time="2024-03-21T02:25:31Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:31Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:31Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir1988058058/001/withsubdir/GPT.INI" 371s === CONT TestWatchDirectory/Rename_file_and_update 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file_and_update3985799777/001/one_file and children" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update3985799777/001/one_file" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update3985799777/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update3985799777/001/one_file/alreadyexists" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: RENAME \"/tmp/TestWatchDirectoryRename_file_and_update3985799777/001/one_file/alreadyexists\"" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryRename_file_and_update3985799777/001/one_file/alreadyexists.bak\"" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryRename_file_and_update3985799777/001/one_file/alreadyexists.bak\"" 371s === CONT TestWatchDirectory/New_file,_subdir 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir and children" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir/alreadyexists" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir/alreadyexistsDir" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir/alreadyexistsDir/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir/alreadyexistsDir/alreadyexists" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: CREATE \"/tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir/alreadyexistsDir/new\"" 371s time="2024-03-21T02:25:31Z" level=debug msg="Got event: WRITE \"/tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir/alreadyexistsDir/new\"" 371s time="2024-03-21T02:25:31Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:31Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file_and_update3985799777/001/one_file/GPT.INI" 371s time="2024-03-21T02:25:31Z" level=info msg="Watcher stopped" 371s time="2024-03-21T02:25:31Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_subdir200376110/001/withsubdir/GPT.INI" 371s --- PASS: TestWatchDirectory (0.00s) 371s --- PASS: TestWatchDirectory/Remove_root_directory (0.21s) 371s --- PASS: TestWatchDirectory/Update_existing_file (0.21s) 371s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file (0.21s) 371s --- PASS: TestWatchDirectory/Updating_gpt.ini_is_a_no-op (0.20s) 371s --- PASS: TestWatchDirectory/Update_with_existing_gpt.ini (0.21s) 371s --- PASS: TestWatchDirectory/No_update,_no_gpt.ini (0.21s) 371s --- PASS: TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated (0.21s) 371s --- PASS: TestWatchDirectory/Combined_case (0.22s) 371s --- PASS: TestWatchDirectory/Multiple_nested_subdirectories (0.23s) 371s --- PASS: TestWatchDirectory/Nested_new_subdirs (0.22s) 371s --- PASS: TestWatchDirectory/Existing_file,_subdir (0.21s) 371s --- PASS: TestWatchDirectory/Rename_file (0.21s) 371s --- PASS: TestWatchDirectory/Remove_file (0.22s) 371s --- PASS: TestWatchDirectory/New_subdir_without_file (0.21s) 371s --- PASS: TestWatchDirectory/Error_on_listing_no_directory (0.00s) 371s --- PASS: TestWatchDirectory/New_file,_no_gpt.ini (0.21s) 371s --- PASS: TestWatchDirectory/Error_on_non_existing_directory (0.00s) 371s --- PASS: TestWatchDirectory/Error_on_updating_malformed_GPT.ini (0.22s) 371s --- PASS: TestWatchDirectory/Multiple_directories,_only_one_is_updated (0.21s) 371s --- PASS: TestWatchDirectory/No_update,_existing_gpt.ini (0.22s) 371s --- PASS: TestWatchDirectory/New_subdir (0.23s) 371s --- PASS: TestWatchDirectory/Rename_file_and_update (0.21s) 371s --- PASS: TestWatchDirectory/New_file,_subdir (0.21s) 371s PASS 371s ok github.com/ubuntu/adsys/internal/watcher 3.813s 371s autopkgtest [02:25:32]: test command1: -----------------------] 372s autopkgtest [02:25:33]: test command1: - - - - - - - - - - results - - - - - - - - - - 372s command1 PASS 372s autopkgtest [02:25:33]: test command2: preparing testbed 379s Reading package lists... 379s Building dependency tree... 379s Reading state information... 380s Starting pkgProblemResolver with broken count: 0 380s Starting 2 pkgProblemResolver with broken count: 0 380s Done 380s The following NEW packages will be installed: 380s autopkgtest-satdep 381s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 381s Need to get 0 B/840 B of archives. 381s After this operation, 0 B of additional disk space will be used. 381s Get:1 /tmp/autopkgtest.SkcOsT/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [840 B] 381s Selecting previously unselected package autopkgtest-satdep. 381s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 94851 files and directories currently installed.) 381s Preparing to unpack .../2-autopkgtest-satdep.deb ... 381s Unpacking autopkgtest-satdep (0) ... 381s Setting up autopkgtest-satdep (0) ... 383s (Reading database ... 94851 files and directories currently installed.) 383s Removing autopkgtest-satdep (0) ... 384s autopkgtest [02:25:45]: test command2: ./debian/tests/test sudo 384s autopkgtest [02:25:45]: test command2: [----------------------- 385s Running root tests... 554s === RUN TestRunFailsWhenServiceIsRunning 554s --- PASS: TestRunFailsWhenServiceIsRunning (6.61s) 554s === RUN TestRunWithForceWhenServiceIsRunning 554s time="2024-03-21T02:26:38Z" level=warning msg="another instance of the adwatchd service is already running" 554s --- PASS: TestRunWithForceWhenServiceIsRunning (6.17s) 554s === RUN TestRunWithNoDirs 554s === PAUSE TestRunWithNoDirs 554s === RUN TestRunReactsToConfigUpdates 554s time="2024-03-21T02:26:38Z" level=warning msg="Service binary path does not match executable path\nService binary path: /tmp/go-build187405175/b371/watchdtui.test\nCurrent executable path: /tmp/go-build187405175/b001/integration_tests.test" 554s time="2024-03-21T02:26:38Z" level=info msg="/tmp/autopkgtest.SkcOsT/build.xSL/src/internal/watchdservice/watchdservice.go:127 (*WatchdService).UpdateDirs() Updating directories to watch" 554s time="2024-03-21T02:26:38Z" level=debug msg="/tmp/autopkgtest.SkcOsT/build.xSL/src/internal/watcher/watcher.go:170 (*Watcher).UpdateDirs() Updating directories to [non-existent-dir]" 554s time="2024-03-21T02:26:38Z" level=warning msg="/tmp/autopkgtest.SkcOsT/build.xSL/src/cmd/adwatchd/commands/main.go:115 New.func1.1() failed to update directories: failed to change directories to watch: can't update directories to watch: directory \"non-existent-dir\" does not exist" 554s time="2024-03-21T02:26:38Z" level=info msg="/tmp/autopkgtest.SkcOsT/build.xSL/src/internal/config/config.go:85 Init.func1() Config file \"/tmp/TestRunReactsToConfigUpdates3796802418/003/adwatchd.yaml\" changed. Reloading." 554s time="2024-03-21T02:26:38Z" level=info msg="/tmp/autopkgtest.SkcOsT/build.xSL/src/internal/watchdservice/watchdservice.go:127 (*WatchdService).UpdateDirs() Updating directories to watch" 554s time="2024-03-21T02:26:38Z" level=debug msg="/tmp/autopkgtest.SkcOsT/build.xSL/src/internal/watcher/watcher.go:170 (*Watcher).UpdateDirs() Updating directories to [non-existent-dir]" 554s time="2024-03-21T02:26:38Z" level=warning msg="/tmp/autopkgtest.SkcOsT/build.xSL/src/cmd/adwatchd/commands/main.go:115 New.func1.1() failed to update directories: failed to change directories to watch: can't update directories to watch: directory \"non-existent-dir\" does not exist" 554s time="2024-03-21T02:26:39Z" level=info msg="/tmp/autopkgtest.SkcOsT/build.xSL/src/internal/watcher/watcher.go:300 (*Watcher).watch() Watcher stopped" 554s --- PASS: TestRunReactsToConfigUpdates (0.40s) 554s === RUN TestServiceStateChange 554s === RUN TestServiceStateChange/stop_multiple_times 554s === RUN TestServiceStateChange/start_and_stop 554s === RUN TestServiceStateChange/uninstall_multiple_times 554s === RUN TestServiceStateChange/uninstall_and_stop 554s === RUN TestServiceStateChange/install 554s === RUN TestServiceStateChange/uninstall_and_restart 554s === RUN TestServiceStateChange/start 554s === RUN TestServiceStateChange/start_multiple_times 554s === RUN TestServiceStateChange/start_and_restart 554s === RUN TestServiceStateChange/start_and_uninstall 554s === RUN TestServiceStateChange/uninstall_and_start 554s === RUN TestServiceStateChange/restart 554s === RUN TestServiceStateChange/uninstall 554s === RUN TestServiceStateChange/uninstall_and_install 554s --- PASS: TestServiceStateChange (102.86s) 554s --- PASS: TestServiceStateChange/stop_multiple_times (6.87s) 554s --- PASS: TestServiceStateChange/start_and_stop (7.05s) 554s --- PASS: TestServiceStateChange/uninstall_multiple_times (6.95s) 554s --- PASS: TestServiceStateChange/uninstall_and_stop (7.07s) 554s --- PASS: TestServiceStateChange/install (6.82s) 554s --- PASS: TestServiceStateChange/uninstall_and_restart (6.95s) 554s --- PASS: TestServiceStateChange/start (6.92s) 554s --- PASS: TestServiceStateChange/start_multiple_times (6.90s) 554s --- PASS: TestServiceStateChange/start_and_restart (6.97s) 554s --- PASS: TestServiceStateChange/start_and_uninstall (7.01s) 554s --- PASS: TestServiceStateChange/uninstall_and_start (6.89s) 554s --- PASS: TestServiceStateChange/restart (6.83s) 554s --- PASS: TestServiceStateChange/uninstall (6.92s) 554s --- PASS: TestServiceStateChange/uninstall_and_install (12.69s) 554s === RUN TestServiceStartWithABadDir 554s adwatchd_service_test.go:96: 554s --- SKIP: TestServiceStartWithABadDir (0.00s) 554s === RUN TestInstall 554s --- PASS: TestInstall (5.81s) 554s === RUN TestCreateAndUpdateGPT 554s === PAUSE TestCreateAndUpdateGPT 554s === RUN TestServiceStatusContainsCorrectDirs 554s adwatchd_service_test.go:204: This test is Windows-only 554s --- SKIP: TestServiceStatusContainsCorrectDirs (0.00s) 554s === RUN TestServiceConfigFlagUsage 554s === RUN TestServiceConfigFlagUsage/uninstall 554s Usage: 554s adwatchd service uninstall [flags] 554s 554s Flags: 554s -h, --help help for uninstall 554s 554s Global Flags: 554s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 554s 554s === RUN TestServiceConfigFlagUsage/status 554s Usage: 554s adwatchd service status [flags] 554s 554s Flags: 554s -h, --help help for status 554s 554s Global Flags: 554s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 554s 554s === RUN TestServiceConfigFlagUsage/install 554s === RUN TestServiceConfigFlagUsage/start 554s Usage: 554s adwatchd service start [flags] 554s 554s Flags: 554s -h, --help help for start 554s 554s Global Flags: 554s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 554s 554s === RUN TestServiceConfigFlagUsage/restart 554s Usage: 554s adwatchd service restart [flags] 554s 554s Flags: 554s -h, --help help for restart 554s 554s Global Flags: 554s -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output 554s 554s --- PASS: TestServiceConfigFlagUsage (0.01s) 554s --- PASS: TestServiceConfigFlagUsage/uninstall (0.00s) 554s --- PASS: TestServiceConfigFlagUsage/status (0.00s) 554s --- PASS: TestServiceConfigFlagUsage/install (0.00s) 554s --- PASS: TestServiceConfigFlagUsage/start (0.00s) 554s --- PASS: TestServiceConfigFlagUsage/restart (0.00s) 554s === CONT TestRunWithNoDirs 554s === CONT TestCreateAndUpdateGPT 554s --- PASS: TestRunWithNoDirs (0.00s) 554s --- PASS: TestCreateAndUpdateGPT (7.56s) 554s PASS 554s ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 130.334s 554s === RUN TestInteractiveInput 554s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_relative 554s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system 554s === RUN TestInteractiveInput/Found_installed_service,_config_overridden 554s === RUN TestInteractiveInput/Directory_is_a_file,_block_input 554s === RUN TestInteractiveInput/Submit_with_default_config 554s === RUN TestInteractiveInput/Submit_with_directory_as_config_input 554s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories 554s === RUN TestInteractiveInput/Initial_view 554s === RUN TestInteractiveInput/Directory_does_not_exist,_block_input 554s === RUN TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized 554s === RUN TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs 554s === RUN TestInteractiveInput/Submit_with_duplicate_directories 554s === RUN TestInteractiveInput/Other_navigation_tests 554s === RUN TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system 554s === RUN TestInteractiveInput/Found_installed_service,_config_not_overridden 554s === RUN TestInteractiveInput/Multiple_existing_directories,_can_delete_them 554s === RUN TestInteractiveInput/No_directories,_focus_on_dir_input 554s === RUN TestInteractiveInput/Config_file_exists 554s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_absolute 554s === RUN TestInteractiveInput/Submit_with_fresh_config_in_current_directory 554s === RUN TestInteractiveInput/Submit_with_fresh_config_in_nested_directory 554s === RUN TestInteractiveInput/Submit_with_dot_directories_is_normalized 554s === RUN TestInteractiveInput/Submit_with_double_dot_directories_is_normalized 554s === RUN TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir 554s === RUN TestInteractiveInput/Directory_exists 554s --- PASS: TestInteractiveInput (0.08s) 554s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_relative (0.02s) 554s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.02s) 554s --- PASS: TestInteractiveInput/Found_installed_service,_config_overridden (0.00s) 554s --- PASS: TestInteractiveInput/Directory_is_a_file,_block_input (0.00s) 554s --- PASS: TestInteractiveInput/Submit_with_default_config (0.01s) 554s --- PASS: TestInteractiveInput/Submit_with_directory_as_config_input (0.00s) 554s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.00s) 554s --- PASS: TestInteractiveInput/Initial_view (0.00s) 554s --- PASS: TestInteractiveInput/Directory_does_not_exist,_block_input (0.00s) 554s --- PASS: TestInteractiveInput/Dot_and_double_dot_directory_inputs_are_normalized (0.00s) 554s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_cycle_between_the_inputs (0.00s) 554s --- PASS: TestInteractiveInput/Submit_with_duplicate_directories (0.00s) 554s --- PASS: TestInteractiveInput/Other_navigation_tests (0.00s) 554s --- PASS: TestInteractiveInput/Existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.00s) 554s --- PASS: TestInteractiveInput/Found_installed_service,_config_not_overridden (0.00s) 554s --- PASS: TestInteractiveInput/Multiple_existing_directories,_can_delete_them (0.00s) 554s --- PASS: TestInteractiveInput/No_directories,_focus_on_dir_input (0.00s) 554s --- PASS: TestInteractiveInput/Config_file_exists (0.00s) 554s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_absolute (0.00s) 554s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_current_directory (0.00s) 554s --- PASS: TestInteractiveInput/Submit_with_fresh_config_in_nested_directory (0.00s) 554s --- PASS: TestInteractiveInput/Submit_with_dot_directories_is_normalized (0.00s) 554s --- PASS: TestInteractiveInput/Submit_with_double_dot_directories_is_normalized (0.00s) 554s --- PASS: TestInteractiveInput/Config_file_is_absent_and_input_is_a_dir (0.00s) 554s --- PASS: TestInteractiveInput/Directory_exists (0.00s) 554s === RUN TestInteractiveInstall 554s time="2024-03-21T02:26:27Z" level=info msg="Installing watcher service" 554s time="2024-03-21T02:26:34Z" level=info msg="Uninstalling watcher service" 554s --- PASS: TestInteractiveInstall (7.09s) 554s === RUN TestInteractiveUpdate 554s === RUN TestInteractiveUpdate/Change_directories,_same_config_file 554s time="2024-03-21T02:26:34Z" level=info msg="Installing watcher service" 554s time="2024-03-21T02:26:42Z" level=info msg="Uninstalling watcher service" 554s === RUN TestInteractiveUpdate/Change_directories,_different_config_file 554s time="2024-03-21T02:26:42Z" level=info msg="Installing watcher service" 554s time="2024-03-21T02:26:49Z" level=info msg="Uninstalling watcher service" 554s time="2024-03-21T02:26:49Z" level=info msg="Installing watcher service" 554s time="2024-03-21T02:26:55Z" level=info msg="Uninstalling watcher service" 554s --- PASS: TestInteractiveUpdate (21.71s) 554s --- PASS: TestInteractiveUpdate/Change_directories,_same_config_file (7.92s) 554s --- PASS: TestInteractiveUpdate/Change_directories,_different_config_file (13.78s) 554s PASS 554s ok github.com/ubuntu/adsys/internal/watchdtui 29.906s 555s autopkgtest [02:28:36]: test command2: -----------------------] 555s autopkgtest [02:28:36]: test command2: - - - - - - - - - - results - - - - - - - - - - 555s command2 PASS 556s autopkgtest [02:28:37]: @@@@@@@@@@@@@@@@@@@@ summary 556s command1 PASS 556s command2 PASS 575s Creating nova instance adt-noble-arm64-adsys-20240321-021920-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240320.img (UUID e0f61a12-2f1c-4e49-a68b-f68d2ad5dd10)...