https://launchpad.net/ubuntu/+source/adsys/0.9.2~20.04/+build/24492113 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux riscv64-qemu-lgw01-015 5.13.0-1019-generic #21~20.04.1-Ubuntu SMP Thu Mar 24 22:36:01 UTC 2022 riscv64 Buildd toolchain package versions: launchpad-buildd_222~591~ubuntu20.04.1 python3-lpbuildd_222~591~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git_1:2.25.1-1ubuntu3.2 dpkg-dev_1.19.7ubuntu3 python3-debian_0.1.36ubuntu1. Syncing the system clock with the buildd NTP service... 17 Oct 18:25:53 ntpdate[1974875]: adjust time server 10.211.37.1 offset -0.001152 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-24492113 --image-type chroot /home/buildd/filecache-default/41ba527d572035c79800345e872622fe68252a6a Creating target for build PACKAGEBUILD-24492113 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-24492113 Starting target for build PACKAGEBUILD-24492113 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-24492113 'deb http://ftpmaster.internal/ubuntu focal main universe' 'deb http://ftpmaster.internal/ubuntu focal-security main universe' 'deb http://ftpmaster.internal/ubuntu focal-updates main universe' 'deb http://ftpmaster.internal/ubuntu focal-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-24492113 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-24492113 Updating target for build PACKAGEBUILD-24492113 Hit:1 http://ftpmaster.internal/ubuntu focal InRelease Get:2 http://ftpmaster.internal/ubuntu focal-security InRelease [114 kB] Get:3 http://ftpmaster.internal/ubuntu focal-updates InRelease [114 kB] Get:4 http://ftpmaster.internal/ubuntu focal-proposed InRelease [267 kB] Get:5 http://ftpmaster.internal/ubuntu focal-security/main riscv64 Packages [595 kB] Get:6 http://ftpmaster.internal/ubuntu focal-security/main Translation-en [297 kB] Get:7 http://ftpmaster.internal/ubuntu focal-security/universe riscv64 Packages [520 kB] Get:8 http://ftpmaster.internal/ubuntu focal-security/universe Translation-en [136 kB] Get:9 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 Packages [864 kB] Get:10 http://ftpmaster.internal/ubuntu focal-updates/main Translation-en [381 kB] Get:11 http://ftpmaster.internal/ubuntu focal-updates/universe riscv64 Packages [727 kB] Get:12 http://ftpmaster.internal/ubuntu focal-updates/universe Translation-en [221 kB] Get:13 http://ftpmaster.internal/ubuntu focal-proposed/main riscv64 Packages [64.2 kB] Get:14 http://ftpmaster.internal/ubuntu focal-proposed/main Translation-en [49.5 kB] Get:15 http://ftpmaster.internal/ubuntu focal-proposed/universe riscv64 Packages [22.0 kB] Get:16 http://ftpmaster.internal/ubuntu focal-proposed/universe Translation-en [21.5 kB] Fetched 4392 kB in 20s (225 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt base-files bash binutils binutils-common binutils-riscv64-linux-gnu bsdutils build-essential ca-certificates cpp-9 dpkg dpkg-dev e2fsprogs g++-9 gcc-10-base gcc-9 gcc-9-base gpg gpg-agent gpgconf gpgv gzip libapparmor1 libapt-pkg6.0 libatomic1 libbinutils libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcc1-0 libcom-err2 libcryptsetup12 libctf-nobfd0 libctf0 libdevmapper1.02.1 libdpkg-perl libext2fs2 libgcc-9-dev libgcc-s1 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgomp1 libhogweed5 libkmod2 liblz4-1 liblzma5 libmount1 libnettle7 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libpcre3 libseccomp2 libsepol1 libsmartcols1 libsqlite3-0 libss2 libssl1.1 libstdc++-9-dev libstdc++6 libsystemd0 libudev1 libuuid1 libzstd1 linux-libc-dev login logsave mount openssl passwd systemd systemd-sysv systemd-timesyncd tar ubuntu-keyring util-linux xz-utils zlib1g 85 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 52.1 MB of archives. After this operation, 32.8 kB disk space will be freed. Get:1 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libc6-dev riscv64 2.31-0ubuntu9.9 [3662 kB] Get:2 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libc-dev-bin riscv64 2.31-0ubuntu9.9 [62.6 kB] Get:3 http://ftpmaster.internal/ubuntu focal-security/main riscv64 linux-libc-dev riscv64 5.4.0-128.144 [1074 kB] Get:4 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libatomic1 riscv64 10.3.0-1ubuntu1~20.04 [7492 B] Get:5 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libgomp1 riscv64 10.3.0-1ubuntu1~20.04 [83.9 kB] Get:6 http://ftpmaster.internal/ubuntu focal-security/main riscv64 gcc-10-base riscv64 10.3.0-1ubuntu1~20.04 [20.2 kB] Get:7 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libgcc-s1 riscv64 10.3.0-1ubuntu1~20.04 [40.5 kB] Get:8 http://ftpmaster.internal/ubuntu focal-security/universe riscv64 libgcc1 riscv64 1:10.3.0-1ubuntu1~20.04 [40.6 kB] Get:9 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libcc1-0 riscv64 10.3.0-1ubuntu1~20.04 [38.1 kB] Get:10 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libstdc++6 riscv64 10.3.0-1ubuntu1~20.04 [508 kB] Get:11 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libc6 riscv64 2.31-0ubuntu9.9 [2277 kB] Get:12 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 base-files riscv64 11ubuntu5.6 [60.0 kB] Get:13 http://ftpmaster.internal/ubuntu focal-security/main riscv64 bash riscv64 5.0-6ubuntu1.2 [579 kB] Get:14 http://ftpmaster.internal/ubuntu focal-security/main riscv64 bsdutils riscv64 1:2.34-0.1ubuntu9.3 [56.8 kB] Get:15 http://ftpmaster.internal/ubuntu focal-security/main riscv64 tar riscv64 1.30+dfsg-7ubuntu0.20.04.2 [221 kB] Get:16 http://ftpmaster.internal/ubuntu focal-security/main riscv64 dpkg riscv64 1.19.7ubuntu3.2 [1091 kB] Get:17 http://ftpmaster.internal/ubuntu focal-security/main riscv64 gzip riscv64 1.10-0ubuntu4.1 [91.9 kB] Get:18 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 login riscv64 1:4.8.1-1ubuntu5.20.04.2 [215 kB] Get:19 http://ftpmaster.internal/ubuntu focal-security/main riscv64 util-linux riscv64 2.34-0.1ubuntu9.3 [947 kB] Get:20 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libc-bin riscv64 2.31-0ubuntu9.9 [512 kB] Get:21 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libgcrypt20 riscv64 1.8.5-5ubuntu1.1 [385 kB] Get:22 http://ftpmaster.internal/ubuntu focal-security/main riscv64 liblz4-1 riscv64 1.9.2-2ubuntu0.20.04.1 [69.7 kB] Get:23 http://ftpmaster.internal/ubuntu focal-security/main riscv64 liblzma5 riscv64 5.2.4-1ubuntu1.1 [89.6 kB] Get:24 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 systemd-timesyncd riscv64 245.4-4ubuntu3.18 [25.6 kB] Get:25 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 systemd-sysv riscv64 245.4-4ubuntu3.18 [10.3 kB] Get:26 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libapparmor1 riscv64 2.13.3-7ubuntu5.1 [30.2 kB] Get:27 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libblkid1 riscv64 2.34-0.1ubuntu9.3 [129 kB] Get:28 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libudev1 riscv64 245.4-4ubuntu3.18 [67.9 kB] Get:29 http://ftpmaster.internal/ubuntu focal-proposed/main riscv64 libdevmapper1.02.1 riscv64 2:1.02.167-1ubuntu1.1 [118 kB] Get:30 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libssl1.1 riscv64 1.1.1f-1ubuntu2.16 [969 kB] Get:31 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libuuid1 riscv64 2.34-0.1ubuntu9.3 [22.0 kB] Get:32 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libcryptsetup12 riscv64 2:2.2.2-3ubuntu2.4 [142 kB] Get:33 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libgmp10 riscv64 2:6.2.0+dfsg-4ubuntu0.1 [232 kB] Get:34 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libnettle7 riscv64 3.5.1+really3.5.1-2ubuntu0.2 [146 kB] Get:35 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libhogweed5 riscv64 3.5.1+really3.5.1-2ubuntu0.2 [131 kB] Get:36 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libp11-kit0 riscv64 0.23.20-1ubuntu0.1 [166 kB] Get:37 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libgnutls30 riscv64 3.6.13-2ubuntu1.7 [721 kB] Get:38 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libzstd1 riscv64 1.4.4+dfsg-3ubuntu0.1 [288 kB] Get:39 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libkmod2 riscv64 27-1ubuntu2.1 [39.0 kB] Get:40 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libmount1 riscv64 2.34-0.1ubuntu9.3 [135 kB] Get:41 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libpam0g riscv64 1.3.1-5ubuntu4.3 [50.5 kB] Get:42 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libpcre2-8-0 riscv64 10.34-7ubuntu0.1 [122 kB] Get:43 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libseccomp2 riscv64 2.5.1-1ubuntu1~20.04.2 [40.5 kB] Get:44 http://ftpmaster.internal/ubuntu focal-security/main riscv64 mount riscv64 2.34-0.1ubuntu9.3 [107 kB] Get:45 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 systemd riscv64 245.4-4ubuntu3.18 [3383 kB] Get:46 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libsystemd0 riscv64 245.4-4ubuntu3.18 [240 kB] Get:47 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 zlib1g riscv64 1:1.2.11.dfsg-2ubuntu1.4 [52.0 kB] Get:48 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libapt-pkg6.0 riscv64 2.0.9 [802 kB] Get:49 http://ftpmaster.internal/ubuntu focal-security/main riscv64 gpgv riscv64 2.2.19-3ubuntu2.2 [181 kB] Get:50 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 ubuntu-keyring all 2020.02.11.4 [22.1 kB] Get:51 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 apt riscv64 2.0.9 [1237 kB] Get:52 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libpam-modules-bin riscv64 1.3.1-5ubuntu4.3 [38.2 kB] Get:53 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libpam-modules riscv64 1.3.1-5ubuntu4.3 [246 kB] Get:54 http://ftpmaster.internal/ubuntu focal-security/main riscv64 logsave riscv64 1.45.5-2ubuntu1.1 [9600 B] Get:55 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libext2fs2 riscv64 1.45.5-2ubuntu1.1 [175 kB] Get:56 http://ftpmaster.internal/ubuntu focal-security/main riscv64 e2fsprogs riscv64 1.45.5-2ubuntu1.1 [495 kB] Get:57 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libpam-runtime all 1.3.1-5ubuntu4.3 [37.3 kB] Get:58 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libpcre3 riscv64 2:8.39-12ubuntu0.1 [164 kB] Get:59 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libsepol1 riscv64 3.0-1ubuntu0.1 [219 kB] Get:60 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libsmartcols1 riscv64 2.34-0.1ubuntu9.3 [90.2 kB] Get:61 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 passwd riscv64 1:4.8.1-1ubuntu5.20.04.2 [752 kB] Get:62 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libcom-err2 riscv64 1.45.5-2ubuntu1.1 [8452 B] Get:63 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libss2 riscv64 1.45.5-2ubuntu1.1 [9784 B] Get:64 http://ftpmaster.internal/ubuntu focal-security/main riscv64 openssl riscv64 1.1.1f-1ubuntu2.16 [595 kB] Get:65 http://ftpmaster.internal/ubuntu focal-security/main riscv64 ca-certificates all 20211016~20.04.1 [144 kB] Get:66 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libsqlite3-0 riscv64 3.31.1-4ubuntu0.4 [487 kB] Get:67 http://ftpmaster.internal/ubuntu focal-security/main riscv64 xz-utils riscv64 5.2.4-1ubuntu1.1 [78.6 kB] Get:68 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libctf0 riscv64 2.34-6ubuntu1.3 [40.0 kB] Get:69 http://ftpmaster.internal/ubuntu focal-security/main riscv64 binutils-riscv64-linux-gnu riscv64 2.34-6ubuntu1.3 [645 kB] Get:70 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libbinutils riscv64 2.34-6ubuntu1.3 [279 kB] Get:71 http://ftpmaster.internal/ubuntu focal-security/main riscv64 binutils riscv64 2.34-6ubuntu1.3 [3296 B] Get:72 http://ftpmaster.internal/ubuntu focal-security/main riscv64 binutils-common riscv64 2.34-6ubuntu1.3 [200 kB] Get:73 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libctf-nobfd0 riscv64 2.34-6ubuntu1.3 [40.9 kB] Get:74 http://ftpmaster.internal/ubuntu focal-security/main riscv64 dpkg-dev all 1.19.7ubuntu3.2 [679 kB] Get:75 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libdpkg-perl all 1.19.7ubuntu3.2 [231 kB] Get:76 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 build-essential riscv64 12.8ubuntu1.1 [4664 B] Get:77 http://ftpmaster.internal/ubuntu focal-security/main riscv64 g++-9 riscv64 9.4.0-1ubuntu1~20.04.1 [6939 kB] Get:78 http://ftpmaster.internal/ubuntu focal-security/main riscv64 gcc-9 riscv64 9.4.0-1ubuntu1~20.04.1 [6825 kB] Get:79 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libstdc++-9-dev riscv64 9.4.0-1ubuntu1~20.04.1 [3667 kB] Get:80 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libgcc-9-dev riscv64 9.4.0-1ubuntu1~20.04.1 [404 kB] Get:81 http://ftpmaster.internal/ubuntu focal-security/main riscv64 cpp-9 riscv64 9.4.0-1ubuntu1~20.04.1 [6055 kB] Get:82 http://ftpmaster.internal/ubuntu focal-security/main riscv64 gcc-9-base riscv64 9.4.0-1ubuntu1~20.04.1 [19.4 kB] Get:83 http://ftpmaster.internal/ubuntu focal-security/main riscv64 gpg riscv64 2.2.19-3ubuntu2.2 [437 kB] Get:84 http://ftpmaster.internal/ubuntu focal-security/main riscv64 gpgconf riscv64 2.2.19-3ubuntu2.2 [110 kB] Get:85 http://ftpmaster.internal/ubuntu focal-security/main riscv64 gpg-agent riscv64 2.2.19-3ubuntu2.2 [202 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 52.1 MB in 14s (3628 kB/s) (Reading database ... 10637 files and directories currently installed.) Preparing to unpack .../0-libc6-dev_2.31-0ubuntu9.9_riscv64.deb ... Unpacking libc6-dev:riscv64 (2.31-0ubuntu9.9) over (2.31-0ubuntu9) ... Preparing to unpack .../1-libc-dev-bin_2.31-0ubuntu9.9_riscv64.deb ... Unpacking libc-dev-bin (2.31-0ubuntu9.9) over (2.31-0ubuntu9) ... Preparing to unpack .../2-linux-libc-dev_5.4.0-128.144_riscv64.deb ... Unpacking linux-libc-dev:riscv64 (5.4.0-128.144) over (5.4.0-52.57) ... Preparing to unpack .../3-libatomic1_10.3.0-1ubuntu1~20.04_riscv64.deb ... Unpacking libatomic1:riscv64 (10.3.0-1ubuntu1~20.04) over (10.2.0-5ubuntu1~20.04) ... Preparing to unpack .../4-libgomp1_10.3.0-1ubuntu1~20.04_riscv64.deb ... Unpacking libgomp1:riscv64 (10.3.0-1ubuntu1~20.04) over (10.2.0-5ubuntu1~20.04) ... Preparing to unpack .../5-gcc-10-base_10.3.0-1ubuntu1~20.04_riscv64.deb ... Unpacking gcc-10-base:riscv64 (10.3.0-1ubuntu1~20.04) over (10.2.0-5ubuntu1~20.04) ... Setting up gcc-10-base:riscv64 (10.3.0-1ubuntu1~20.04) ... (Reading database ... 10636 files and directories currently installed.) Preparing to unpack .../libgcc-s1_10.3.0-1ubuntu1~20.04_riscv64.deb ... Unpacking libgcc-s1:riscv64 (10.3.0-1ubuntu1~20.04) over (10.2.0-5ubuntu1~20.04) ... Setting up libgcc-s1:riscv64 (10.3.0-1ubuntu1~20.04) ... (Reading database ... 10636 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a10.3.0-1ubuntu1~20.04_riscv64.deb ... Unpacking libgcc1 (1:10.3.0-1ubuntu1~20.04) over (1:10.2.0-5ubuntu1~20.04) ... Preparing to unpack .../libcc1-0_10.3.0-1ubuntu1~20.04_riscv64.deb ... Unpacking libcc1-0:riscv64 (10.3.0-1ubuntu1~20.04) over (10.2.0-5ubuntu1~20.04) ... Preparing to unpack .../libstdc++6_10.3.0-1ubuntu1~20.04_riscv64.deb ... Unpacking libstdc++6:riscv64 (10.3.0-1ubuntu1~20.04) over (10.2.0-5ubuntu1~20.04) ... Setting up libstdc++6:riscv64 (10.3.0-1ubuntu1~20.04) ... (Reading database ... 10636 files and directories currently installed.) Preparing to unpack .../libc6_2.31-0ubuntu9.9_riscv64.deb ... Unpacking libc6:riscv64 (2.31-0ubuntu9.9) over (2.31-0ubuntu9) ... Setting up libc6:riscv64 (2.31-0ubuntu9.9) ... (Reading database ... 10636 files and directories currently installed.) Preparing to unpack .../base-files_11ubuntu5.6_riscv64.deb ... Unpacking base-files (11ubuntu5.6) over (11ubuntu5) ... Setting up base-files (11ubuntu5.6) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/50-motd-news ... Removing obsolete conffile /etc/default/motd-news ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../bash_5.0-6ubuntu1.2_riscv64.deb ... Unpacking bash (5.0-6ubuntu1.2) over (5.0-6ubuntu1) ... Setting up bash (5.0-6ubuntu1.2) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.34-0.1ubuntu9.3_riscv64.deb ... Unpacking bsdutils (1:2.34-0.1ubuntu9.3) over (1:2.34-0.1ubuntu9) ... Setting up bsdutils (1:2.34-0.1ubuntu9.3) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../tar_1.30+dfsg-7ubuntu0.20.04.2_riscv64.deb ... Unpacking tar (1.30+dfsg-7ubuntu0.20.04.2) over (1.30+dfsg-7) ... Setting up tar (1.30+dfsg-7ubuntu0.20.04.2) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.7ubuntu3.2_riscv64.deb ... Unpacking dpkg (1.19.7ubuntu3.2) over (1.19.7ubuntu3) ... Setting up dpkg (1.19.7ubuntu3.2) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../gzip_1.10-0ubuntu4.1_riscv64.deb ... Unpacking gzip (1.10-0ubuntu4.1) over (1.10-0ubuntu4) ... Setting up gzip (1.10-0ubuntu4.1) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../login_1%3a4.8.1-1ubuntu5.20.04.2_riscv64.deb ... Unpacking login (1:4.8.1-1ubuntu5.20.04.2) over (1:4.8.1-1ubuntu5) ... Setting up login (1:4.8.1-1ubuntu5.20.04.2) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../util-linux_2.34-0.1ubuntu9.3_riscv64.deb ... Unpacking util-linux (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up util-linux (2.34-0.1ubuntu9.3) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libc-bin_2.31-0ubuntu9.9_riscv64.deb ... Unpacking libc-bin (2.31-0ubuntu9.9) over (2.31-0ubuntu9) ... Setting up libc-bin (2.31-0ubuntu9.9) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.5-5ubuntu1.1_riscv64.deb ... Unpacking libgcrypt20:riscv64 (1.8.5-5ubuntu1.1) over (1.8.5-5ubuntu1) ... Setting up libgcrypt20:riscv64 (1.8.5-5ubuntu1.1) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../liblz4-1_1.9.2-2ubuntu0.20.04.1_riscv64.deb ... Unpacking liblz4-1:riscv64 (1.9.2-2ubuntu0.20.04.1) over (1.9.2-2) ... Setting up liblz4-1:riscv64 (1.9.2-2ubuntu0.20.04.1) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../liblzma5_5.2.4-1ubuntu1.1_riscv64.deb ... Unpacking liblzma5:riscv64 (5.2.4-1ubuntu1.1) over (5.2.4-1) ... Setting up liblzma5:riscv64 (5.2.4-1ubuntu1.1) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../systemd-timesyncd_245.4-4ubuntu3.18_riscv64.deb ... Unpacking systemd-timesyncd (245.4-4ubuntu3.18) over (245.4-4ubuntu3) ... Preparing to unpack .../systemd-sysv_245.4-4ubuntu3.18_riscv64.deb ... Unpacking systemd-sysv (245.4-4ubuntu3.18) over (245.4-4ubuntu3) ... Preparing to unpack .../libapparmor1_2.13.3-7ubuntu5.1_riscv64.deb ... Unpacking libapparmor1:riscv64 (2.13.3-7ubuntu5.1) over (2.13.3-7ubuntu5) ... Preparing to unpack .../libblkid1_2.34-0.1ubuntu9.3_riscv64.deb ... Unpacking libblkid1:riscv64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up libblkid1:riscv64 (2.34-0.1ubuntu9.3) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libudev1_245.4-4ubuntu3.18_riscv64.deb ... Unpacking libudev1:riscv64 (245.4-4ubuntu3.18) over (245.4-4ubuntu3) ... Setting up libudev1:riscv64 (245.4-4ubuntu3.18) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.167-1ubuntu1.1_riscv64.deb ... Unpacking libdevmapper1.02.1:riscv64 (2:1.02.167-1ubuntu1.1) over (2:1.02.167-1ubuntu1) ... Preparing to unpack .../libssl1.1_1.1.1f-1ubuntu2.16_riscv64.deb ... Unpacking libssl1.1:riscv64 (1.1.1f-1ubuntu2.16) over (1.1.1f-1ubuntu2) ... Preparing to unpack .../libuuid1_2.34-0.1ubuntu9.3_riscv64.deb ... Unpacking libuuid1:riscv64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up libuuid1:riscv64 (2.34-0.1ubuntu9.3) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libcryptsetup12_2%3a2.2.2-3ubuntu2.4_riscv64.deb ... Unpacking libcryptsetup12:riscv64 (2:2.2.2-3ubuntu2.4) over (2:2.2.2-3ubuntu2.2) ... Preparing to unpack .../libgmp10_2%3a6.2.0+dfsg-4ubuntu0.1_riscv64.deb ... Unpacking libgmp10:riscv64 (2:6.2.0+dfsg-4ubuntu0.1) over (2:6.2.0+dfsg-4) ... Setting up libgmp10:riscv64 (2:6.2.0+dfsg-4ubuntu0.1) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libnettle7_3.5.1+really3.5.1-2ubuntu0.2_riscv64.deb ... Unpacking libnettle7:riscv64 (3.5.1+really3.5.1-2ubuntu0.2) over (3.5.1+really3.5.1-2) ... Setting up libnettle7:riscv64 (3.5.1+really3.5.1-2ubuntu0.2) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libhogweed5_3.5.1+really3.5.1-2ubuntu0.2_riscv64.deb ... Unpacking libhogweed5:riscv64 (3.5.1+really3.5.1-2ubuntu0.2) over (3.5.1+really3.5.1-2) ... Setting up libhogweed5:riscv64 (3.5.1+really3.5.1-2ubuntu0.2) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.20-1ubuntu0.1_riscv64.deb ... Unpacking libp11-kit0:riscv64 (0.23.20-1ubuntu0.1) over (0.23.20-1build1) ... Setting up libp11-kit0:riscv64 (0.23.20-1ubuntu0.1) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.13-2ubuntu1.7_riscv64.deb ... Unpacking libgnutls30:riscv64 (3.6.13-2ubuntu1.7) over (3.6.13-2ubuntu1.3) ... Setting up libgnutls30:riscv64 (3.6.13-2ubuntu1.7) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libzstd1_1.4.4+dfsg-3ubuntu0.1_riscv64.deb ... Unpacking libzstd1:riscv64 (1.4.4+dfsg-3ubuntu0.1) over (1.4.4+dfsg-3) ... Setting up libzstd1:riscv64 (1.4.4+dfsg-3ubuntu0.1) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libkmod2_27-1ubuntu2.1_riscv64.deb ... Unpacking libkmod2:riscv64 (27-1ubuntu2.1) over (27-1ubuntu2) ... Preparing to unpack .../libmount1_2.34-0.1ubuntu9.3_riscv64.deb ... Unpacking libmount1:riscv64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up libmount1:riscv64 (2.34-0.1ubuntu9.3) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libpam0g_1.3.1-5ubuntu4.3_riscv64.deb ... Unpacking libpam0g:riscv64 (1.3.1-5ubuntu4.3) over (1.3.1-5ubuntu4) ... Setting up libpam0g:riscv64 (1.3.1-5ubuntu4.3) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.34-7ubuntu0.1_riscv64.deb ... Unpacking libpcre2-8-0:riscv64 (10.34-7ubuntu0.1) over (10.34-7) ... Setting up libpcre2-8-0:riscv64 (10.34-7ubuntu0.1) ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.1-1ubuntu1~20.04.2_riscv64.deb ... Unpacking libseccomp2:riscv64 (2.5.1-1ubuntu1~20.04.2) over (2.4.3-1ubuntu3.20.04.3) ... Preparing to unpack .../mount_2.34-0.1ubuntu9.3_riscv64.deb ... Unpacking mount (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Preparing to unpack .../systemd_245.4-4ubuntu3.18_riscv64.deb ... Unpacking systemd (245.4-4ubuntu3.18) over (245.4-4ubuntu3) ... Preparing to unpack .../libsystemd0_245.4-4ubuntu3.18_riscv64.deb ... Unpacking libsystemd0:riscv64 (245.4-4ubuntu3.18) over (245.4-4ubuntu3) ... Setting up libsystemd0:riscv64 (245.4-4ubuntu3.18) ... (Reading database ... 10636 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-2ubuntu1.4_riscv64.deb ... Unpacking zlib1g:riscv64 (1:1.2.11.dfsg-2ubuntu1.4) over (1:1.2.11.dfsg-2ubuntu1) ... Setting up zlib1g:riscv64 (1:1.2.11.dfsg-2ubuntu1.4) ... (Reading database ... 10636 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.0.9_riscv64.deb ... Unpacking libapt-pkg6.0:riscv64 (2.0.9) over (2.0.2ubuntu0.1) ... Setting up libapt-pkg6.0:riscv64 (2.0.9) ... (Reading database ... 10636 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.19-3ubuntu2.2_riscv64.deb ... Unpacking gpgv (2.2.19-3ubuntu2.2) over (2.2.19-3ubuntu2) ... Setting up gpgv (2.2.19-3ubuntu2.2) ... (Reading database ... 10636 files and directories currently installed.) Preparing to unpack .../ubuntu-keyring_2020.02.11.4_all.deb ... Unpacking ubuntu-keyring (2020.02.11.4) over (2020.02.11.2) ... Setting up ubuntu-keyring (2020.02.11.4) ... (Reading database ... 10636 files and directories currently installed.) Preparing to unpack .../archives/apt_2.0.9_riscv64.deb ... Unpacking apt (2.0.9) over (2.0.2ubuntu0.1) ... Setting up apt (2.0.9) ... Removing obsolete conffile /etc/kernel/postinst.d/apt-auto-removal ... (Reading database ... 10635 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.3.1-5ubuntu4.3_riscv64.deb ... Unpacking libpam-modules-bin (1.3.1-5ubuntu4.3) over (1.3.1-5ubuntu4) ... Setting up libpam-modules-bin (1.3.1-5ubuntu4.3) ... (Reading database ... 10637 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.3.1-5ubuntu4.3_riscv64.deb ... Unpacking libpam-modules:riscv64 (1.3.1-5ubuntu4.3) over (1.3.1-5ubuntu4) ... Setting up libpam-modules:riscv64 (1.3.1-5ubuntu4.3) ... (Reading database ... 10641 files and directories currently installed.) Preparing to unpack .../logsave_1.45.5-2ubuntu1.1_riscv64.deb ... Unpacking logsave (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Preparing to unpack .../libext2fs2_1.45.5-2ubuntu1.1_riscv64.deb ... Unpacking libext2fs2:riscv64 (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Setting up libext2fs2:riscv64 (1.45.5-2ubuntu1.1) ... (Reading database ... 10641 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.45.5-2ubuntu1.1_riscv64.deb ... Unpacking e2fsprogs (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Preparing to unpack .../libpam-runtime_1.3.1-5ubuntu4.3_all.deb ... Unpacking libpam-runtime (1.3.1-5ubuntu4.3) over (1.3.1-5ubuntu4) ... Setting up libpam-runtime (1.3.1-5ubuntu4.3) ... (Reading database ... 10641 files and directories currently installed.) Preparing to unpack .../libpcre3_2%3a8.39-12ubuntu0.1_riscv64.deb ... Unpacking libpcre3:riscv64 (2:8.39-12ubuntu0.1) over (2:8.39-12build1) ... Setting up libpcre3:riscv64 (2:8.39-12ubuntu0.1) ... (Reading database ... 10641 files and directories currently installed.) Preparing to unpack .../libsepol1_3.0-1ubuntu0.1_riscv64.deb ... Unpacking libsepol1:riscv64 (3.0-1ubuntu0.1) over (3.0-1) ... Setting up libsepol1:riscv64 (3.0-1ubuntu0.1) ... (Reading database ... 10641 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.34-0.1ubuntu9.3_riscv64.deb ... Unpacking libsmartcols1:riscv64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up libsmartcols1:riscv64 (2.34-0.1ubuntu9.3) ... (Reading database ... 10641 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.8.1-1ubuntu5.20.04.2_riscv64.deb ... Unpacking passwd (1:4.8.1-1ubuntu5.20.04.2) over (1:4.8.1-1ubuntu5) ... Setting up passwd (1:4.8.1-1ubuntu5.20.04.2) ... (Reading database ... 10641 files and directories currently installed.) Preparing to unpack .../00-libcom-err2_1.45.5-2ubuntu1.1_riscv64.deb ... Unpacking libcom-err2:riscv64 (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Preparing to unpack .../01-libss2_1.45.5-2ubuntu1.1_riscv64.deb ... Unpacking libss2:riscv64 (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Preparing to unpack .../02-openssl_1.1.1f-1ubuntu2.16_riscv64.deb ... Unpacking openssl (1.1.1f-1ubuntu2.16) over (1.1.1f-1ubuntu2) ... Preparing to unpack .../03-ca-certificates_20211016~20.04.1_all.deb ... Unpacking ca-certificates (20211016~20.04.1) over (20190110ubuntu1.1) ... Preparing to unpack .../04-libsqlite3-0_3.31.1-4ubuntu0.4_riscv64.deb ... Unpacking libsqlite3-0:riscv64 (3.31.1-4ubuntu0.4) over (3.31.1-4ubuntu0.2) ... Preparing to unpack .../05-xz-utils_5.2.4-1ubuntu1.1_riscv64.deb ... Unpacking xz-utils (5.2.4-1ubuntu1.1) over (5.2.4-1) ... Preparing to unpack .../06-libctf0_2.34-6ubuntu1.3_riscv64.deb ... Unpacking libctf0:riscv64 (2.34-6ubuntu1.3) over (2.34-6ubuntu1) ... Preparing to unpack .../07-binutils-riscv64-linux-gnu_2.34-6ubuntu1.3_riscv64.deb ... Unpacking binutils-riscv64-linux-gnu (2.34-6ubuntu1.3) over (2.34-6ubuntu1) ... Preparing to unpack .../08-libbinutils_2.34-6ubuntu1.3_riscv64.deb ... Unpacking libbinutils:riscv64 (2.34-6ubuntu1.3) over (2.34-6ubuntu1) ... Preparing to unpack .../09-binutils_2.34-6ubuntu1.3_riscv64.deb ... Unpacking binutils (2.34-6ubuntu1.3) over (2.34-6ubuntu1) ... Preparing to unpack .../10-binutils-common_2.34-6ubuntu1.3_riscv64.deb ... Unpacking binutils-common:riscv64 (2.34-6ubuntu1.3) over (2.34-6ubuntu1) ... Preparing to unpack .../11-libctf-nobfd0_2.34-6ubuntu1.3_riscv64.deb ... Unpacking libctf-nobfd0:riscv64 (2.34-6ubuntu1.3) over (2.34-6ubuntu1) ... Preparing to unpack .../12-dpkg-dev_1.19.7ubuntu3.2_all.deb ... Unpacking dpkg-dev (1.19.7ubuntu3.2) over (1.19.7ubuntu3) ... Preparing to unpack .../13-libdpkg-perl_1.19.7ubuntu3.2_all.deb ... Unpacking libdpkg-perl (1.19.7ubuntu3.2) over (1.19.7ubuntu3) ... Preparing to unpack .../14-build-essential_12.8ubuntu1.1_riscv64.deb ... Unpacking build-essential (12.8ubuntu1.1) over (12.8ubuntu1) ... Preparing to unpack .../15-g++-9_9.4.0-1ubuntu1~20.04.1_riscv64.deb ... Unpacking g++-9 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../16-gcc-9_9.4.0-1ubuntu1~20.04.1_riscv64.deb ... Unpacking gcc-9 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../17-libstdc++-9-dev_9.4.0-1ubuntu1~20.04.1_riscv64.deb ... Unpacking libstdc++-9-dev:riscv64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../18-libgcc-9-dev_9.4.0-1ubuntu1~20.04.1_riscv64.deb ... Unpacking libgcc-9-dev:riscv64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../19-cpp-9_9.4.0-1ubuntu1~20.04.1_riscv64.deb ... Unpacking cpp-9 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../20-gcc-9-base_9.4.0-1ubuntu1~20.04.1_riscv64.deb ... Unpacking gcc-9-base:riscv64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../21-gpg_2.2.19-3ubuntu2.2_riscv64.deb ... Unpacking gpg (2.2.19-3ubuntu2.2) over (2.2.19-3ubuntu2) ... Preparing to unpack .../22-gpgconf_2.2.19-3ubuntu2.2_riscv64.deb ... Unpacking gpgconf (2.2.19-3ubuntu2.2) over (2.2.19-3ubuntu2) ... Preparing to unpack .../23-gpg-agent_2.2.19-3ubuntu2.2_riscv64.deb ... Unpacking gpg-agent (2.2.19-3ubuntu2.2) over (2.2.19-3ubuntu2) ... Setting up libapparmor1:riscv64 (2.13.3-7ubuntu5.1) ... Setting up libgcc1 (1:10.3.0-1ubuntu1~20.04) ... Setting up libssl1.1:riscv64 (1.1.1f-1ubuntu2.16) ... Setting up libsqlite3-0:riscv64 (3.31.1-4ubuntu0.4) ... Setting up binutils-common:riscv64 (2.34-6ubuntu1.3) ... Setting up linux-libc-dev:riscv64 (5.4.0-128.144) ... Setting up libctf-nobfd0:riscv64 (2.34-6ubuntu1.3) ... Setting up libcom-err2:riscv64 (1.45.5-2ubuntu1.1) ... Setting up libgomp1:riscv64 (10.3.0-1ubuntu1~20.04) ... Setting up libseccomp2:riscv64 (2.5.1-1ubuntu1~20.04.2) ... Setting up xz-utils (5.2.4-1ubuntu1.1) ... Setting up libatomic1:riscv64 (10.3.0-1ubuntu1~20.04) ... Setting up libss2:riscv64 (1.45.5-2ubuntu1.1) ... Setting up libdpkg-perl (1.19.7ubuntu3.2) ... Setting up logsave (1.45.5-2ubuntu1.1) ... Setting up libdevmapper1.02.1:riscv64 (2:1.02.167-1ubuntu1.1) ... Setting up mount (2.34-0.1ubuntu9.3) ... Setting up gpgconf (2.2.19-3ubuntu2.2) ... Setting up libcryptsetup12:riscv64 (2:2.2.2-3ubuntu2.4) ... Setting up libbinutils:riscv64 (2.34-6ubuntu1.3) ... Setting up libc-dev-bin (2.31-0ubuntu9.9) ... Setting up openssl (1.1.1f-1ubuntu2.16) ... Setting up libcc1-0:riscv64 (10.3.0-1ubuntu1~20.04) ... Setting up gpg (2.2.19-3ubuntu2.2) ... Setting up libkmod2:riscv64 (27-1ubuntu2.1) ... Setting up gcc-9-base:riscv64 (9.4.0-1ubuntu1~20.04.1) ... Setting up libctf0:riscv64 (2.34-6ubuntu1.3) ... Setting up gpg-agent (2.2.19-3ubuntu2.2) ... Setting up binutils-riscv64-linux-gnu (2.34-6ubuntu1.3) ... Setting up e2fsprogs (1.45.5-2ubuntu1.1) ... Setting up binutils (2.34-6ubuntu1.3) ... Setting up dpkg-dev (1.19.7ubuntu3.2) ... Setting up libgcc-9-dev:riscv64 (9.4.0-1ubuntu1~20.04.1) ... Setting up ca-certificates (20211016~20.04.1) ... Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 28 added, 28 removed; done. Setting up cpp-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up libc6-dev:riscv64 (2.31-0ubuntu9.9) ... Setting up gcc-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up libstdc++-9-dev:riscv64 (9.4.0-1ubuntu1~20.04.1) ... Setting up g++-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up build-essential (12.8ubuntu1.1) ... Setting up systemd-timesyncd (245.4-4ubuntu3.18) ... Setting up systemd (245.4-4ubuntu3.18) ... Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolved ... Installing new version of config file /etc/systemd/resolved.conf ... Setting up systemd-sysv (245.4-4ubuntu3.18) ... Processing triggers for libc-bin (2.31-0ubuntu9.9) ... Processing triggers for ca-certificates (20211016~20.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-24492113 riscv64 focal-proposed -c chroot:build-PACKAGEBUILD-24492113 --arch=riscv64 --dist=focal-proposed --nolog 'adsys_0.9.2~20.04.dsc' Initiating build PACKAGEBUILD-24492113 with 8 jobs across 8 processor cores. Kernel reported to sbuild: 5.13.0-1019-generic #21~20.04.1-Ubuntu SMP Thu Mar 24 22:36:01 UTC 2022 riscv64 sbuild (Debian sbuild) 0.79.0 (05 February 2020) on riscv64-qemu-lgw01-015.buildd +==============================================================================+ | adsys 0.9.2~20.04 (riscv64) Mon, 17 Oct 2022 18:34:49 +0000 | +==============================================================================+ Package: adsys Version: 0.9.2~20.04 Source Version: 0.9.2~20.04 Distribution: focal-proposed Machine Architecture: riscv64 Host Architecture: riscv64 Build Architecture: riscv64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-24492113/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/adsys-R2EEPi/resolver-e6RitR' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- adsys_0.9.2~20.04.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/adsys-R2EEPi/adsys-0.9.2~20.04' with '<>' I: NOTICE: Log filtering will replace 'build/adsys-R2EEPi' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 12), dh-apport, dh-golang, golang-1.18-go, libsmbclient-dev, libdbus-1-dev, python3, python3-samba, samba-dsdb-modules, libpam0g-dev, samba, dbus, build-essential, fakeroot Filtered Build-Depends: debhelper-compat (= 12), dh-apport, dh-golang, golang-1.18-go, libsmbclient-dev, libdbus-1-dev, python3, python3-samba, samba-dsdb-modules, libpam0g-dev, samba, dbus, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [441 B] Get:5 copy:/<>/apt_archive ./ Packages [527 B] Fetched 1925 B in 1s (2813 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: libgpm2 Use 'apt autoremove' to remove it. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils dbus debhelper dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz file gettext gettext-base golang-1.18-go golang-1.18-src groff-base intltool-debian libarchive-zip-perl libasn1-8-heimdal libavahi-client3 libavahi-common-data libavahi-common3 libbsd0 libcroco3 libcups2 libdbus-1-3 libdbus-1-dev libdebhelper-perl libelf1 libexpat1 libfile-stripnondeterminism-perl libglib2.0-0 libgpgme11 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu66 libjansson4 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libldb2 liblmdb0 libmagic-mgc libmagic1 libmpdec2 libncurses6 libpam0g-dev libpipeline1 libpopt0 libprocps8 libpython3-stdlib libpython3.8 libpython3.8-minimal libpython3.8-stdlib libroken18-heimdal libsasl2-2 libsasl2-modules-db libsigsegv2 libsmbclient libsmbclient-dev libsub-override-perl libtalloc2 libtdb1 libtevent0 libtool libuchardet0 libwbclient0 libwind0-heimdal libxml2 m4 man-db mime-support pkg-config po-debconf procps python3 python3-crypto python3-dnspython python3-ldb python3-minimal python3-samba python3-talloc python3-tdb python3.8 python3.8-minimal samba samba-common samba-common-bin samba-dsdb-modules samba-libs tdb-tools tzdata ucf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation default-dbus-session-bus | dbus-session-bus dh-make gettext-doc libasprintf-dev libgettextpo-dev bzr | brz git mercurial subversion groff cups-common krb5-doc krb5-user libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl python3-doc python3-tk python3-venv python3.8-venv python3.8-doc binfmt-support bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools ufw winbind heimdal-clients python3-markdown Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs dirmngr gpg-wks-client gpgsm krb5-locales libsasl2-modules libltdl-dev libmail-sendmail-perl psmisc python3-gpg attr logrotate python3-markdown samba-vfs-modules The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils dbus debhelper dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz file gettext gettext-base golang-1.18-go golang-1.18-src groff-base intltool-debian libarchive-zip-perl libasn1-8-heimdal libavahi-client3 libavahi-common-data libavahi-common3 libbsd0 libcroco3 libcups2 libdbus-1-3 libdbus-1-dev libdebhelper-perl libelf1 libexpat1 libfile-stripnondeterminism-perl libglib2.0-0 libgpgme11 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu66 libjansson4 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libldb2 liblmdb0 libmagic-mgc libmagic1 libmpdec2 libncurses6 libpam0g-dev libpipeline1 libpopt0 libprocps8 libpython3-stdlib libpython3.8 libpython3.8-minimal libpython3.8-stdlib libroken18-heimdal libsasl2-2 libsasl2-modules-db libsigsegv2 libsmbclient libsmbclient-dev libsub-override-perl libtalloc2 libtdb1 libtevent0 libtool libuchardet0 libwbclient0 libwind0-heimdal libxml2 m4 man-db mime-support pkg-config po-debconf procps python3 python3-crypto python3-dnspython python3-ldb python3-minimal python3-samba python3-talloc python3-tdb python3.8 python3.8-minimal samba samba-common samba-common-bin samba-dsdb-modules samba-libs sbuild-build-depends-main-dummy tdb-tools tzdata ucf 0 upgraded, 104 newly installed, 0 to remove and 0 not upgraded. Need to get 109 MB of archives. After this operation, 600 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [952 B] Get:2 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libpython3.8-minimal riscv64 3.8.10-0ubuntu1~20.04.5 [709 kB] Get:3 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libexpat1 riscv64 2.2.9-1ubuntu0.4 [70.5 kB] Get:4 http://ftpmaster.internal/ubuntu focal-security/main riscv64 python3.8-minimal riscv64 3.8.10-0ubuntu1~20.04.5 [1450 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main riscv64 python3-minimal riscv64 3.8.2-0ubuntu2 [23.6 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main riscv64 mime-support all 3.64ubuntu1 [30.6 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main riscv64 libmpdec2 riscv64 2.4.2-3 [79.2 kB] Get:8 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libpython3.8-stdlib riscv64 3.8.10-0ubuntu1~20.04.5 [1563 kB] Get:9 http://ftpmaster.internal/ubuntu focal-security/main riscv64 python3.8 riscv64 3.8.10-0ubuntu1~20.04.5 [387 kB] Get:10 http://ftpmaster.internal/ubuntu focal/main riscv64 libpython3-stdlib riscv64 3.8.2-0ubuntu2 [7072 B] Get:11 http://ftpmaster.internal/ubuntu focal/main riscv64 python3 riscv64 3.8.2-0ubuntu2 [47.6 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main riscv64 libbsd0 riscv64 0.10.0-1 [42.0 kB] Get:13 http://ftpmaster.internal/ubuntu focal/main riscv64 bsdmainutils riscv64 11.1.2ubuntu3 [176 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main riscv64 libuchardet0 riscv64 0.0.6-3build1 [64.9 kB] Get:15 http://ftpmaster.internal/ubuntu focal/main riscv64 groff-base riscv64 1.22.4-4build1 [816 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main riscv64 libpipeline1 riscv64 1.5.2-2build1 [23.9 kB] Get:17 http://ftpmaster.internal/ubuntu focal/main riscv64 man-db riscv64 2.9.1-1 [1075 kB] Get:18 http://ftpmaster.internal/ubuntu focal-security/main riscv64 tzdata all 2022c-0ubuntu0.20.04.0 [288 kB] Get:19 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libicu66 riscv64 66.1-2ubuntu2.1 [8402 kB] Get:20 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libtalloc2 riscv64 2.3.1-0ubuntu0.20.04.1 [25.3 kB] Get:21 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libtevent0 riscv64 0.10.2-0ubuntu0.20.04.1 [30.0 kB] Get:22 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libwbclient0 riscv64 2:4.13.17~dfsg-0ubuntu1.20.04.1 [194 kB] Get:23 http://ftpmaster.internal/ubuntu focal/main riscv64 libncurses6 riscv64 6.2-0ubuntu2 [86.2 kB] Get:24 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libprocps8 riscv64 2:3.3.16-1ubuntu2.3 [29.7 kB] Get:25 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 procps riscv64 2:3.3.16-1ubuntu2.3 [224 kB] Get:26 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 python3-dnspython all 1.16.0-1ubuntu1 [89.2 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main riscv64 python3-crypto riscv64 2.6.1-13ubuntu2 [243 kB] Get:28 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libroken18-heimdal riscv64 7.7.0+dfsg-1ubuntu1.1 [36.7 kB] Get:29 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libasn1-8-heimdal riscv64 7.7.0+dfsg-1ubuntu1.1 [145 kB] Get:30 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libheimbase1-heimdal riscv64 7.7.0+dfsg-1ubuntu1.1 [24.8 kB] Get:31 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libhcrypto4-heimdal riscv64 7.7.0+dfsg-1ubuntu1.1 [86.4 kB] Get:32 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libwind0-heimdal riscv64 7.7.0+dfsg-1ubuntu1.1 [46.8 kB] Get:33 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libhx509-5-heimdal riscv64 7.7.0+dfsg-1ubuntu1.1 [90.0 kB] Get:34 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libkrb5-26-heimdal riscv64 7.7.0+dfsg-1ubuntu1.1 [175 kB] Get:35 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libheimntlm0-heimdal riscv64 7.7.0+dfsg-1ubuntu1.1 [13.4 kB] Get:36 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libgssapi3-heimdal riscv64 7.7.0+dfsg-1ubuntu1.1 [83.2 kB] Get:37 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libsasl2-modules-db riscv64 2.1.27+dfsg-2ubuntu0.1 [13.5 kB] Get:38 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libsasl2-2 riscv64 2.1.27+dfsg-2ubuntu0.1 [45.2 kB] Get:39 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libldap-common all 2.4.49+dfsg-2ubuntu1.9 [16.6 kB] Get:40 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libldap-2.4-2 riscv64 2.4.49+dfsg-2ubuntu1.9 [137 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main riscv64 liblmdb0 riscv64 0.9.24-1 [43.0 kB] Get:42 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libtdb1 riscv64 1.4.3-0ubuntu0.20.04.1 [40.3 kB] Get:43 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libldb2 riscv64 2:2.2.3-0ubuntu0.20.04.3 [121 kB] Get:44 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libpython3.8 riscv64 3.8.10-0ubuntu1~20.04.5 [1455 kB] Get:45 http://ftpmaster.internal/ubuntu focal-security/main riscv64 python3-ldb riscv64 2:2.2.3-0ubuntu0.20.04.3 [32.5 kB] Get:46 http://ftpmaster.internal/ubuntu focal-security/main riscv64 python3-tdb riscv64 1.4.3-0ubuntu0.20.04.1 [12.1 kB] Get:47 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libavahi-common-data riscv64 0.7-4ubuntu7.1 [21.4 kB] Get:48 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libavahi-common3 riscv64 0.7-4ubuntu7.1 [18.3 kB] Get:49 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libdbus-1-3 riscv64 1.12.16-2ubuntu2.2 [160 kB] Get:50 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libavahi-client3 riscv64 0.7-4ubuntu7.1 [22.2 kB] Get:51 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libkrb5support0 riscv64 1.17-6ubuntu4.1 [28.4 kB] Get:52 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libk5crypto3 riscv64 1.17-6ubuntu4.1 [91.9 kB] Get:53 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libkeyutils1 riscv64 1.6-6ubuntu1.1 [9364 B] Get:54 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libkrb5-3 riscv64 1.17-6ubuntu4.1 [293 kB] Get:55 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libgssapi-krb5-2 riscv64 1.17-6ubuntu4.1 [107 kB] Get:56 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libcups2 riscv64 2.3.1-9ubuntu1.2 [211 kB] Get:57 http://ftpmaster.internal/ubuntu focal/main riscv64 libjansson4 riscv64 2.12-1build1 [25.7 kB] Get:58 http://ftpmaster.internal/ubuntu focal/main riscv64 libpopt0 riscv64 1.16-14 [23.8 kB] Get:59 http://ftpmaster.internal/ubuntu focal-security/main riscv64 python3-talloc riscv64 2.3.1-0ubuntu0.20.04.1 [10.7 kB] Get:60 http://ftpmaster.internal/ubuntu focal-security/main riscv64 samba-libs riscv64 2:4.13.17~dfsg-0ubuntu1.20.04.1 [4904 kB] Get:61 http://ftpmaster.internal/ubuntu focal-security/main riscv64 python3-samba riscv64 2:4.13.17~dfsg-0ubuntu1.20.04.1 [2307 kB] Get:62 http://ftpmaster.internal/ubuntu focal/main riscv64 ucf all 3.0038+nmu1 [51.6 kB] Get:63 http://ftpmaster.internal/ubuntu focal-security/main riscv64 samba-common all 2:4.13.17~dfsg-0ubuntu1.20.04.1 [69.1 kB] Get:64 http://ftpmaster.internal/ubuntu focal-security/main riscv64 samba-common-bin riscv64 2:4.13.17~dfsg-0ubuntu1.20.04.1 [514 kB] Get:65 http://ftpmaster.internal/ubuntu focal-security/main riscv64 tdb-tools riscv64 1.4.3-0ubuntu0.20.04.1 [23.1 kB] Get:66 http://ftpmaster.internal/ubuntu focal-security/main riscv64 samba riscv64 2:4.13.17~dfsg-0ubuntu1.20.04.1 [993 kB] Get:67 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libsmbclient riscv64 2:4.13.17~dfsg-0ubuntu1.20.04.1 [51.9 kB] Get:68 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libsmbclient-dev riscv64 2:4.13.17~dfsg-0ubuntu1.20.04.1 [40.2 kB] Get:69 http://ftpmaster.internal/ubuntu focal-security/main riscv64 dbus riscv64 1.12.16-2ubuntu2.2 [135 kB] Get:70 http://ftpmaster.internal/ubuntu focal/main riscv64 libmagic-mgc riscv64 1:5.38-4 [218 kB] Get:71 http://ftpmaster.internal/ubuntu focal/main riscv64 libmagic1 riscv64 1:5.38-4 [70.5 kB] Get:72 http://ftpmaster.internal/ubuntu focal/main riscv64 file riscv64 1:5.38-4 [22.5 kB] Get:73 http://ftpmaster.internal/ubuntu focal/main riscv64 libelf1 riscv64 0.176-1.1build1 [41.8 kB] Get:74 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libglib2.0-0 riscv64 2.64.6-1~ubuntu20.04.4 [1124 kB] Get:75 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libxml2 riscv64 2.9.10+dfsg-5ubuntu0.20.04.4 [558 kB] Get:76 http://ftpmaster.internal/ubuntu focal/main riscv64 gettext-base riscv64 0.19.8.1-10build1 [47.4 kB] Get:77 http://ftpmaster.internal/ubuntu focal/main riscv64 libsigsegv2 riscv64 2.12-2 [13.0 kB] Get:78 http://ftpmaster.internal/ubuntu focal/main riscv64 m4 riscv64 1.4.18-4 [188 kB] Get:79 http://ftpmaster.internal/ubuntu focal/main riscv64 autoconf all 2.69-11.1 [321 kB] Get:80 http://ftpmaster.internal/ubuntu focal/main riscv64 autotools-dev all 20180224.1 [39.6 kB] Get:81 http://ftpmaster.internal/ubuntu focal/main riscv64 automake all 1:1.16.1-4ubuntu6 [522 kB] Get:82 http://ftpmaster.internal/ubuntu focal/main riscv64 autopoint all 0.19.8.1-10build1 [412 kB] Get:83 http://ftpmaster.internal/ubuntu focal/main riscv64 libtool all 2.4.6-14 [161 kB] Get:84 http://ftpmaster.internal/ubuntu focal/main riscv64 dh-autoreconf all 19 [16.1 kB] Get:85 http://ftpmaster.internal/ubuntu focal/main riscv64 libdebhelper-perl all 12.10ubuntu1 [62.1 kB] Get:86 http://ftpmaster.internal/ubuntu focal/main riscv64 libarchive-zip-perl all 1.67-2 [90.5 kB] Get:87 http://ftpmaster.internal/ubuntu focal/main riscv64 libsub-override-perl all 0.09-2 [9532 B] Get:88 http://ftpmaster.internal/ubuntu focal/main riscv64 libfile-stripnondeterminism-perl all 1.7.0-1 [15.9 kB] Get:89 http://ftpmaster.internal/ubuntu focal/main riscv64 dh-strip-nondeterminism all 1.7.0-1 [5228 B] Get:90 http://ftpmaster.internal/ubuntu focal/main riscv64 dwz riscv64 0.13-5 [147 kB] Get:91 http://ftpmaster.internal/ubuntu focal/main riscv64 libcroco3 riscv64 0.6.13-1 [71.1 kB] Get:92 http://ftpmaster.internal/ubuntu focal/main riscv64 gettext riscv64 0.19.8.1-10build1 [844 kB] Get:93 http://ftpmaster.internal/ubuntu focal/main riscv64 intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:94 http://ftpmaster.internal/ubuntu focal/main riscv64 po-debconf all 1.0.21 [233 kB] Get:95 http://ftpmaster.internal/ubuntu focal/main riscv64 debhelper all 12.10ubuntu1 [877 kB] Get:96 http://ftpmaster.internal/ubuntu focal-proposed/universe riscv64 dh-apport all 2.20.11-0ubuntu27.25 [7884 B] Get:97 http://ftpmaster.internal/ubuntu focal-proposed/universe riscv64 golang-1.18-src all 1.18.3-1ubuntu1~20.04 [15.6 MB] Get:98 http://ftpmaster.internal/ubuntu focal-proposed/universe riscv64 golang-1.18-go riscv64 1.18.3-1ubuntu1~20.04 [57.1 MB] Get:99 http://ftpmaster.internal/ubuntu focal/main riscv64 pkg-config riscv64 0.29.1-0ubuntu4 [43.0 kB] Get:100 http://ftpmaster.internal/ubuntu focal-security/main riscv64 libdbus-1-dev riscv64 1.12.16-2ubuntu2.2 [313 kB] Get:101 http://ftpmaster.internal/ubuntu focal/main riscv64 libgpgme11 riscv64 1.13.1-7ubuntu2 [102 kB] Get:102 http://ftpmaster.internal/ubuntu focal-updates/main riscv64 libpam0g-dev riscv64 1.3.1-5ubuntu4.3 [142 kB] Get:103 http://ftpmaster.internal/ubuntu focal-security/main riscv64 samba-dsdb-modules riscv64 2:4.13.17~dfsg-0ubuntu1.20.04.1 [245 kB] Get:104 http://ftpmaster.internal/ubuntu focal/main riscv64 dh-golang all 1.48 [20.5 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 109 MB in 30s (3620 kB/s) Selecting previously unselected package libpython3.8-minimal:riscv64. (Reading database ... 10639 files and directories currently installed.) Preparing to unpack .../libpython3.8-minimal_3.8.10-0ubuntu1~20.04.5_riscv64.deb ... Unpacking libpython3.8-minimal:riscv64 (3.8.10-0ubuntu1~20.04.5) ... Selecting previously unselected package libexpat1:riscv64. Preparing to unpack .../libexpat1_2.2.9-1ubuntu0.4_riscv64.deb ... Unpacking libexpat1:riscv64 (2.2.9-1ubuntu0.4) ... Selecting previously unselected package python3.8-minimal. Preparing to unpack .../python3.8-minimal_3.8.10-0ubuntu1~20.04.5_riscv64.deb ... Unpacking python3.8-minimal (3.8.10-0ubuntu1~20.04.5) ... Setting up libpython3.8-minimal:riscv64 (3.8.10-0ubuntu1~20.04.5) ... Setting up libexpat1:riscv64 (2.2.9-1ubuntu0.4) ... Setting up python3.8-minimal (3.8.10-0ubuntu1~20.04.5) ... Selecting previously unselected package python3-minimal. (Reading database ... 10930 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.8.2-0ubuntu2_riscv64.deb ... Unpacking python3-minimal (3.8.2-0ubuntu2) ... Selecting previously unselected package mime-support. Preparing to unpack .../1-mime-support_3.64ubuntu1_all.deb ... Unpacking mime-support (3.64ubuntu1) ... Selecting previously unselected package libmpdec2:riscv64. Preparing to unpack .../2-libmpdec2_2.4.2-3_riscv64.deb ... Unpacking libmpdec2:riscv64 (2.4.2-3) ... Selecting previously unselected package libpython3.8-stdlib:riscv64. Preparing to unpack .../3-libpython3.8-stdlib_3.8.10-0ubuntu1~20.04.5_riscv64.deb ... Unpacking libpython3.8-stdlib:riscv64 (3.8.10-0ubuntu1~20.04.5) ... Selecting previously unselected package python3.8. Preparing to unpack .../4-python3.8_3.8.10-0ubuntu1~20.04.5_riscv64.deb ... Unpacking python3.8 (3.8.10-0ubuntu1~20.04.5) ... Selecting previously unselected package libpython3-stdlib:riscv64. Preparing to unpack .../5-libpython3-stdlib_3.8.2-0ubuntu2_riscv64.deb ... Unpacking libpython3-stdlib:riscv64 (3.8.2-0ubuntu2) ... Setting up python3-minimal (3.8.2-0ubuntu2) ... Selecting previously unselected package python3. (Reading database ... 11332 files and directories currently installed.) Preparing to unpack .../00-python3_3.8.2-0ubuntu2_riscv64.deb ... Unpacking python3 (3.8.2-0ubuntu2) ... Selecting previously unselected package libbsd0:riscv64. Preparing to unpack .../01-libbsd0_0.10.0-1_riscv64.deb ... Unpacking libbsd0:riscv64 (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../02-bsdmainutils_11.1.2ubuntu3_riscv64.deb ... Unpacking bsdmainutils (11.1.2ubuntu3) ... Selecting previously unselected package libuchardet0:riscv64. Preparing to unpack .../03-libuchardet0_0.0.6-3build1_riscv64.deb ... Unpacking libuchardet0:riscv64 (0.0.6-3build1) ... Selecting previously unselected package groff-base. Preparing to unpack .../04-groff-base_1.22.4-4build1_riscv64.deb ... Unpacking groff-base (1.22.4-4build1) ... Selecting previously unselected package libpipeline1:riscv64. Preparing to unpack .../05-libpipeline1_1.5.2-2build1_riscv64.deb ... Unpacking libpipeline1:riscv64 (1.5.2-2build1) ... Selecting previously unselected package man-db. Preparing to unpack .../06-man-db_2.9.1-1_riscv64.deb ... Unpacking man-db (2.9.1-1) ... Selecting previously unselected package tzdata. Preparing to unpack .../07-tzdata_2022c-0ubuntu0.20.04.0_all.deb ... Unpacking tzdata (2022c-0ubuntu0.20.04.0) ... Selecting previously unselected package libicu66:riscv64. Preparing to unpack .../08-libicu66_66.1-2ubuntu2.1_riscv64.deb ... Unpacking libicu66:riscv64 (66.1-2ubuntu2.1) ... Selecting previously unselected package libtalloc2:riscv64. Preparing to unpack .../09-libtalloc2_2.3.1-0ubuntu0.20.04.1_riscv64.deb ... Unpacking libtalloc2:riscv64 (2.3.1-0ubuntu0.20.04.1) ... Selecting previously unselected package libtevent0:riscv64. Preparing to unpack .../10-libtevent0_0.10.2-0ubuntu0.20.04.1_riscv64.deb ... Unpacking libtevent0:riscv64 (0.10.2-0ubuntu0.20.04.1) ... Selecting previously unselected package libwbclient0:riscv64. Preparing to unpack .../11-libwbclient0_2%3a4.13.17~dfsg-0ubuntu1.20.04.1_riscv64.deb ... Unpacking libwbclient0:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Selecting previously unselected package libncurses6:riscv64. Preparing to unpack .../12-libncurses6_6.2-0ubuntu2_riscv64.deb ... Unpacking libncurses6:riscv64 (6.2-0ubuntu2) ... Selecting previously unselected package libprocps8:riscv64. Preparing to unpack .../13-libprocps8_2%3a3.3.16-1ubuntu2.3_riscv64.deb ... Unpacking libprocps8:riscv64 (2:3.3.16-1ubuntu2.3) ... Selecting previously unselected package procps. Preparing to unpack .../14-procps_2%3a3.3.16-1ubuntu2.3_riscv64.deb ... Unpacking procps (2:3.3.16-1ubuntu2.3) ... Selecting previously unselected package python3-dnspython. Preparing to unpack .../15-python3-dnspython_1.16.0-1ubuntu1_all.deb ... Unpacking python3-dnspython (1.16.0-1ubuntu1) ... Selecting previously unselected package python3-crypto. Preparing to unpack .../16-python3-crypto_2.6.1-13ubuntu2_riscv64.deb ... Unpacking python3-crypto (2.6.1-13ubuntu2) ... Selecting previously unselected package libroken18-heimdal:riscv64. Preparing to unpack .../17-libroken18-heimdal_7.7.0+dfsg-1ubuntu1.1_riscv64.deb ... Unpacking libroken18-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Selecting previously unselected package libasn1-8-heimdal:riscv64. Preparing to unpack .../18-libasn1-8-heimdal_7.7.0+dfsg-1ubuntu1.1_riscv64.deb ... Unpacking libasn1-8-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Selecting previously unselected package libheimbase1-heimdal:riscv64. Preparing to unpack .../19-libheimbase1-heimdal_7.7.0+dfsg-1ubuntu1.1_riscv64.deb ... Unpacking libheimbase1-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Selecting previously unselected package libhcrypto4-heimdal:riscv64. Preparing to unpack .../20-libhcrypto4-heimdal_7.7.0+dfsg-1ubuntu1.1_riscv64.deb ... Unpacking libhcrypto4-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Selecting previously unselected package libwind0-heimdal:riscv64. Preparing to unpack .../21-libwind0-heimdal_7.7.0+dfsg-1ubuntu1.1_riscv64.deb ... Unpacking libwind0-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Selecting previously unselected package libhx509-5-heimdal:riscv64. Preparing to unpack .../22-libhx509-5-heimdal_7.7.0+dfsg-1ubuntu1.1_riscv64.deb ... Unpacking libhx509-5-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Selecting previously unselected package libkrb5-26-heimdal:riscv64. Preparing to unpack .../23-libkrb5-26-heimdal_7.7.0+dfsg-1ubuntu1.1_riscv64.deb ... Unpacking libkrb5-26-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Selecting previously unselected package libheimntlm0-heimdal:riscv64. Preparing to unpack .../24-libheimntlm0-heimdal_7.7.0+dfsg-1ubuntu1.1_riscv64.deb ... Unpacking libheimntlm0-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Selecting previously unselected package libgssapi3-heimdal:riscv64. Preparing to unpack .../25-libgssapi3-heimdal_7.7.0+dfsg-1ubuntu1.1_riscv64.deb ... Unpacking libgssapi3-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Selecting previously unselected package libsasl2-modules-db:riscv64. Preparing to unpack .../26-libsasl2-modules-db_2.1.27+dfsg-2ubuntu0.1_riscv64.deb ... Unpacking libsasl2-modules-db:riscv64 (2.1.27+dfsg-2ubuntu0.1) ... Selecting previously unselected package libsasl2-2:riscv64. Preparing to unpack .../27-libsasl2-2_2.1.27+dfsg-2ubuntu0.1_riscv64.deb ... Unpacking libsasl2-2:riscv64 (2.1.27+dfsg-2ubuntu0.1) ... Selecting previously unselected package libldap-common. Preparing to unpack .../28-libldap-common_2.4.49+dfsg-2ubuntu1.9_all.deb ... Unpacking libldap-common (2.4.49+dfsg-2ubuntu1.9) ... Selecting previously unselected package libldap-2.4-2:riscv64. Preparing to unpack .../29-libldap-2.4-2_2.4.49+dfsg-2ubuntu1.9_riscv64.deb ... Unpacking libldap-2.4-2:riscv64 (2.4.49+dfsg-2ubuntu1.9) ... Selecting previously unselected package liblmdb0:riscv64. Preparing to unpack .../30-liblmdb0_0.9.24-1_riscv64.deb ... Unpacking liblmdb0:riscv64 (0.9.24-1) ... Selecting previously unselected package libtdb1:riscv64. Preparing to unpack .../31-libtdb1_1.4.3-0ubuntu0.20.04.1_riscv64.deb ... Unpacking libtdb1:riscv64 (1.4.3-0ubuntu0.20.04.1) ... Selecting previously unselected package libldb2:riscv64. Preparing to unpack .../32-libldb2_2%3a2.2.3-0ubuntu0.20.04.3_riscv64.deb ... Unpacking libldb2:riscv64 (2:2.2.3-0ubuntu0.20.04.3) ... Selecting previously unselected package libpython3.8:riscv64. Preparing to unpack .../33-libpython3.8_3.8.10-0ubuntu1~20.04.5_riscv64.deb ... Unpacking libpython3.8:riscv64 (3.8.10-0ubuntu1~20.04.5) ... Selecting previously unselected package python3-ldb. Preparing to unpack .../34-python3-ldb_2%3a2.2.3-0ubuntu0.20.04.3_riscv64.deb ... Unpacking python3-ldb (2:2.2.3-0ubuntu0.20.04.3) ... Selecting previously unselected package python3-tdb. Preparing to unpack .../35-python3-tdb_1.4.3-0ubuntu0.20.04.1_riscv64.deb ... Unpacking python3-tdb (1.4.3-0ubuntu0.20.04.1) ... Selecting previously unselected package libavahi-common-data:riscv64. Preparing to unpack .../36-libavahi-common-data_0.7-4ubuntu7.1_riscv64.deb ... Unpacking libavahi-common-data:riscv64 (0.7-4ubuntu7.1) ... Selecting previously unselected package libavahi-common3:riscv64. Preparing to unpack .../37-libavahi-common3_0.7-4ubuntu7.1_riscv64.deb ... Unpacking libavahi-common3:riscv64 (0.7-4ubuntu7.1) ... Selecting previously unselected package libdbus-1-3:riscv64. Preparing to unpack .../38-libdbus-1-3_1.12.16-2ubuntu2.2_riscv64.deb ... Unpacking libdbus-1-3:riscv64 (1.12.16-2ubuntu2.2) ... Selecting previously unselected package libavahi-client3:riscv64. Preparing to unpack .../39-libavahi-client3_0.7-4ubuntu7.1_riscv64.deb ... Unpacking libavahi-client3:riscv64 (0.7-4ubuntu7.1) ... Selecting previously unselected package libkrb5support0:riscv64. Preparing to unpack .../40-libkrb5support0_1.17-6ubuntu4.1_riscv64.deb ... Unpacking libkrb5support0:riscv64 (1.17-6ubuntu4.1) ... Selecting previously unselected package libk5crypto3:riscv64. Preparing to unpack .../41-libk5crypto3_1.17-6ubuntu4.1_riscv64.deb ... Unpacking libk5crypto3:riscv64 (1.17-6ubuntu4.1) ... Selecting previously unselected package libkeyutils1:riscv64. Preparing to unpack .../42-libkeyutils1_1.6-6ubuntu1.1_riscv64.deb ... Unpacking libkeyutils1:riscv64 (1.6-6ubuntu1.1) ... Selecting previously unselected package libkrb5-3:riscv64. Preparing to unpack .../43-libkrb5-3_1.17-6ubuntu4.1_riscv64.deb ... Unpacking libkrb5-3:riscv64 (1.17-6ubuntu4.1) ... Selecting previously unselected package libgssapi-krb5-2:riscv64. Preparing to unpack .../44-libgssapi-krb5-2_1.17-6ubuntu4.1_riscv64.deb ... Unpacking libgssapi-krb5-2:riscv64 (1.17-6ubuntu4.1) ... Selecting previously unselected package libcups2:riscv64. Preparing to unpack .../45-libcups2_2.3.1-9ubuntu1.2_riscv64.deb ... Unpacking libcups2:riscv64 (2.3.1-9ubuntu1.2) ... Selecting previously unselected package libjansson4:riscv64. Preparing to unpack .../46-libjansson4_2.12-1build1_riscv64.deb ... Unpacking libjansson4:riscv64 (2.12-1build1) ... Selecting previously unselected package libpopt0:riscv64. Preparing to unpack .../47-libpopt0_1.16-14_riscv64.deb ... Unpacking libpopt0:riscv64 (1.16-14) ... Selecting previously unselected package python3-talloc:riscv64. Preparing to unpack .../48-python3-talloc_2.3.1-0ubuntu0.20.04.1_riscv64.deb ... Unpacking python3-talloc:riscv64 (2.3.1-0ubuntu0.20.04.1) ... Selecting previously unselected package samba-libs:riscv64. Preparing to unpack .../49-samba-libs_2%3a4.13.17~dfsg-0ubuntu1.20.04.1_riscv64.deb ... Unpacking samba-libs:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Selecting previously unselected package python3-samba. Preparing to unpack .../50-python3-samba_2%3a4.13.17~dfsg-0ubuntu1.20.04.1_riscv64.deb ... Unpacking python3-samba (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Selecting previously unselected package ucf. Preparing to unpack .../51-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package samba-common. Preparing to unpack .../52-samba-common_2%3a4.13.17~dfsg-0ubuntu1.20.04.1_all.deb ... Unpacking samba-common (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Selecting previously unselected package samba-common-bin. Preparing to unpack .../53-samba-common-bin_2%3a4.13.17~dfsg-0ubuntu1.20.04.1_riscv64.deb ... Unpacking samba-common-bin (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Selecting previously unselected package tdb-tools. Preparing to unpack .../54-tdb-tools_1.4.3-0ubuntu0.20.04.1_riscv64.deb ... Unpacking tdb-tools (1.4.3-0ubuntu0.20.04.1) ... Selecting previously unselected package samba. Preparing to unpack .../55-samba_2%3a4.13.17~dfsg-0ubuntu1.20.04.1_riscv64.deb ... Unpacking samba (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Selecting previously unselected package libsmbclient:riscv64. Preparing to unpack .../56-libsmbclient_2%3a4.13.17~dfsg-0ubuntu1.20.04.1_riscv64.deb ... Unpacking libsmbclient:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Selecting previously unselected package libsmbclient-dev:riscv64. Preparing to unpack .../57-libsmbclient-dev_2%3a4.13.17~dfsg-0ubuntu1.20.04.1_riscv64.deb ... Unpacking libsmbclient-dev:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Selecting previously unselected package dbus. Preparing to unpack .../58-dbus_1.12.16-2ubuntu2.2_riscv64.deb ... Unpacking dbus (1.12.16-2ubuntu2.2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../59-libmagic-mgc_1%3a5.38-4_riscv64.deb ... Unpacking libmagic-mgc (1:5.38-4) ... Selecting previously unselected package libmagic1:riscv64. Preparing to unpack .../60-libmagic1_1%3a5.38-4_riscv64.deb ... Unpacking libmagic1:riscv64 (1:5.38-4) ... Selecting previously unselected package file. Preparing to unpack .../61-file_1%3a5.38-4_riscv64.deb ... Unpacking file (1:5.38-4) ... Selecting previously unselected package libelf1:riscv64. Preparing to unpack .../62-libelf1_0.176-1.1build1_riscv64.deb ... Unpacking libelf1:riscv64 (0.176-1.1build1) ... Selecting previously unselected package libglib2.0-0:riscv64. Preparing to unpack .../63-libglib2.0-0_2.64.6-1~ubuntu20.04.4_riscv64.deb ... Unpacking libglib2.0-0:riscv64 (2.64.6-1~ubuntu20.04.4) ... Selecting previously unselected package libxml2:riscv64. Preparing to unpack .../64-libxml2_2.9.10+dfsg-5ubuntu0.20.04.4_riscv64.deb ... Unpacking libxml2:riscv64 (2.9.10+dfsg-5ubuntu0.20.04.4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../65-gettext-base_0.19.8.1-10build1_riscv64.deb ... Unpacking gettext-base (0.19.8.1-10build1) ... Selecting previously unselected package libsigsegv2:riscv64. Preparing to unpack .../66-libsigsegv2_2.12-2_riscv64.deb ... Unpacking libsigsegv2:riscv64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../67-m4_1.4.18-4_riscv64.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../68-autoconf_2.69-11.1_all.deb ... Unpacking autoconf (2.69-11.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../69-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../70-automake_1%3a1.16.1-4ubuntu6_all.deb ... Unpacking automake (1:1.16.1-4ubuntu6) ... Selecting previously unselected package autopoint. Preparing to unpack .../71-autopoint_0.19.8.1-10build1_all.deb ... Unpacking autopoint (0.19.8.1-10build1) ... Selecting previously unselected package libtool. Preparing to unpack .../72-libtool_2.4.6-14_all.deb ... Unpacking libtool (2.4.6-14) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../73-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../74-libdebhelper-perl_12.10ubuntu1_all.deb ... Unpacking libdebhelper-perl (12.10ubuntu1) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../75-libarchive-zip-perl_1.67-2_all.deb ... Unpacking libarchive-zip-perl (1.67-2) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../76-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../77-libfile-stripnondeterminism-perl_1.7.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.7.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../78-dh-strip-nondeterminism_1.7.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.7.0-1) ... Selecting previously unselected package dwz. Preparing to unpack .../79-dwz_0.13-5_riscv64.deb ... Unpacking dwz (0.13-5) ... Selecting previously unselected package libcroco3:riscv64. Preparing to unpack .../80-libcroco3_0.6.13-1_riscv64.deb ... Unpacking libcroco3:riscv64 (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../81-gettext_0.19.8.1-10build1_riscv64.deb ... Unpacking gettext (0.19.8.1-10build1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../82-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../83-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../84-debhelper_12.10ubuntu1_all.deb ... Unpacking debhelper (12.10ubuntu1) ... Selecting previously unselected package dh-apport. Preparing to unpack .../85-dh-apport_2.20.11-0ubuntu27.25_all.deb ... Unpacking dh-apport (2.20.11-0ubuntu27.25) ... Selecting previously unselected package golang-1.18-src. Preparing to unpack .../86-golang-1.18-src_1.18.3-1ubuntu1~20.04_all.deb ... Unpacking golang-1.18-src (1.18.3-1ubuntu1~20.04) ... Selecting previously unselected package golang-1.18-go. Preparing to unpack .../87-golang-1.18-go_1.18.3-1ubuntu1~20.04_riscv64.deb ... Unpacking golang-1.18-go (1.18.3-1ubuntu1~20.04) ... Selecting previously unselected package pkg-config. Preparing to unpack .../88-pkg-config_0.29.1-0ubuntu4_riscv64.deb ... Unpacking pkg-config (0.29.1-0ubuntu4) ... Selecting previously unselected package libdbus-1-dev:riscv64. Preparing to unpack .../89-libdbus-1-dev_1.12.16-2ubuntu2.2_riscv64.deb ... Unpacking libdbus-1-dev:riscv64 (1.12.16-2ubuntu2.2) ... Selecting previously unselected package libgpgme11:riscv64. Preparing to unpack .../90-libgpgme11_1.13.1-7ubuntu2_riscv64.deb ... Unpacking libgpgme11:riscv64 (1.13.1-7ubuntu2) ... Selecting previously unselected package libpam0g-dev:riscv64. Preparing to unpack .../91-libpam0g-dev_1.3.1-5ubuntu4.3_riscv64.deb ... Unpacking libpam0g-dev:riscv64 (1.3.1-5ubuntu4.3) ... Selecting previously unselected package samba-dsdb-modules:riscv64. Preparing to unpack .../92-samba-dsdb-modules_2%3a4.13.17~dfsg-0ubuntu1.20.04.1_riscv64.deb ... Unpacking samba-dsdb-modules:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Selecting previously unselected package dh-golang. Preparing to unpack .../93-dh-golang_1.48_all.deb ... Unpacking dh-golang (1.48) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../94-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libpipeline1:riscv64 (1.5.2-2build1) ... Setting up liblmdb0:riscv64 (0.9.24-1) ... Setting up libkeyutils1:riscv64 (1.6-6ubuntu1.1) ... Setting up mime-support (3.64ubuntu1) ... Setting up libpam0g-dev:riscv64 (1.3.1-5ubuntu4.3) ... Setting up libmagic-mgc (1:5.38-4) ... Setting up libarchive-zip-perl (1.67-2) ... Setting up libglib2.0-0:riscv64 (2.64.6-1~ubuntu20.04.4) ... No schema files found: doing nothing. Setting up libtdb1:riscv64 (1.4.3-0ubuntu0.20.04.1) ... Setting up libdebhelper-perl (12.10ubuntu1) ... Setting up libmagic1:riscv64 (1:5.38-4) ... Setting up gettext-base (0.19.8.1-10build1) ... Setting up file (1:5.38-4) ... Setting up libldap-common (2.4.49+dfsg-2ubuntu1.9) ... Setting up libgpgme11:riscv64 (1.13.1-7ubuntu2) ... Setting up dh-apport (2.20.11-0ubuntu27.25) ... Setting up libjansson4:riscv64 (2.12-1build1) ... Setting up libkrb5support0:riscv64 (1.17-6ubuntu4.1) ... Setting up libsasl2-modules-db:riscv64 (2.1.27+dfsg-2ubuntu0.1) ... Setting up tzdata (2022c-0ubuntu0.20.04.0) ... Current default time zone: 'Etc/UTC' Local time is now: Mon Oct 17 18:41:36 UTC 2022. Universal Time is now: Mon Oct 17 18:41:36 UTC 2022. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libtalloc2:riscv64 (2.3.1-0ubuntu0.20.04.1) ... Setting up autotools-dev (20180224.1) ... Setting up libtevent0:riscv64 (0.10.2-0ubuntu0.20.04.1) ... Setting up libavahi-common-data:riscv64 (0.7-4ubuntu7.1) ... Setting up libncurses6:riscv64 (6.2-0ubuntu2) ... Setting up tdb-tools (1.4.3-0ubuntu0.20.04.1) ... update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode Setting up libdbus-1-3:riscv64 (1.12.16-2ubuntu2.2) ... Setting up dbus (1.12.16-2ubuntu2.2) ... Setting up libsigsegv2:riscv64 (2.12-2) ... Setting up autopoint (0.19.8.1-10build1) ... Setting up pkg-config (0.29.1-0ubuntu4) ... Setting up golang-1.18-src (1.18.3-1ubuntu1~20.04) ... Setting up ucf (3.0038+nmu1) ... Setting up libk5crypto3:riscv64 (1.17-6ubuntu4.1) ... Setting up libsasl2-2:riscv64 (2.1.27+dfsg-2ubuntu0.1) ... Setting up libroken18-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Setting up libuchardet0:riscv64 (0.0.6-3build1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libkrb5-3:riscv64 (1.17-6ubuntu4.1) ... Setting up libmpdec2:riscv64 (2.4.2-3) ... Setting up libpython3.8-stdlib:riscv64 (3.8.10-0ubuntu1~20.04.5) ... Setting up python3.8 (3.8.10-0ubuntu1~20.04.5) ... Setting up libbsd0:riscv64 (0.10.0-1) ... Setting up libelf1:riscv64 (0.176-1.1build1) ... Setting up libprocps8:riscv64 (2:3.3.16-1ubuntu2.3) ... Setting up libpython3-stdlib:riscv64 (3.8.2-0ubuntu2) ... Setting up libheimbase1-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Setting up libpopt0:riscv64 (1.16-14) ... Setting up libfile-stripnondeterminism-perl (1.7.0-1) ... Setting up libtool (2.4.6-14) ... Setting up libicu66:riscv64 (66.1-2ubuntu2.1) ... Setting up golang-1.18-go (1.18.3-1ubuntu1~20.04) ... Setting up libasn1-8-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Setting up libavahi-common3:riscv64 (0.7-4ubuntu7.1) ... Setting up m4 (1.4.18-4) ... Setting up python3 (3.8.2-0ubuntu2) ... Setting up samba-common (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Creating config file /etc/samba/smb.conf with new version Setting up libhcrypto4-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Setting up libwbclient0:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Setting up python3-tdb (1.4.3-0ubuntu0.20.04.1) ... Setting up libwind0-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Setting up libdbus-1-dev:riscv64 (1.12.16-2ubuntu2.2) ... Setting up libpython3.8:riscv64 (3.8.10-0ubuntu1~20.04.5) ... Setting up bsdmainutils (11.1.2ubuntu3) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libgssapi-krb5-2:riscv64 (1.17-6ubuntu4.1) ... Setting up autoconf (2.69-11.1) ... Setting up dh-strip-nondeterminism (1.7.0-1) ... Setting up dwz (0.13-5) ... Setting up groff-base (1.22.4-4build1) ... Setting up python3-dnspython (1.16.0-1ubuntu1) ... Setting up procps (2:3.3.16-1ubuntu2.3) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode Setting up python3-crypto (2.6.1-13ubuntu2) ... Setting up libxml2:riscv64 (2.9.10+dfsg-5ubuntu0.20.04.4) ... Setting up libavahi-client3:riscv64 (0.7-4ubuntu7.1) ... Setting up automake (1:1.16.1-4ubuntu6) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up python3-talloc:riscv64 (2.3.1-0ubuntu0.20.04.1) ... Setting up libhx509-5-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Setting up man-db (2.9.1-1) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up libcroco3:riscv64 (0.6.13-1) ... Setting up libcups2:riscv64 (2.3.1-9ubuntu1.2) ... Setting up libkrb5-26-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Setting up gettext (0.19.8.1-10build1) ... Setting up libheimntlm0-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libgssapi3-heimdal:riscv64 (7.7.0+dfsg-1ubuntu1.1) ... Setting up po-debconf (1.0.21) ... Setting up libldap-2.4-2:riscv64 (2.4.49+dfsg-2ubuntu1.9) ... Setting up libldb2:riscv64 (2:2.2.3-0ubuntu0.20.04.3) ... Setting up python3-ldb (2:2.2.3-0ubuntu0.20.04.3) ... Setting up samba-libs:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Setting up libsmbclient:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Setting up libsmbclient-dev:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Setting up samba-dsdb-modules:riscv64 (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Setting up python3-samba (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Setting up samba-common-bin (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Checking smb.conf with testparm Load smb config files from /etc/samba/smb.conf Loaded services file OK. Weak crypto is allowed WARNING: The 'netbios name' is too long (max. 15 chars). Server role: ROLE_STANDALONE Done Setting up samba (2:4.13.17~dfsg-0ubuntu1.20.04.1) ... Adding group `sambashare' (GID 106) ... Done. Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service Please ignore the following error about deb-systemd-helper not finding those services. (samba-ad-dc.service masked) Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service. Failed to preset unit, unit /etc/systemd/system/samba-ad-dc.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service. Setting up debhelper (12.10ubuntu1) ... Setting up dh-autoreconf (19) ... Setting up dh-golang (1.48) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.31-0ubuntu9.9) ... Processing triggers for systemd (245.4-4ubuntu3.18) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.13.0-1019-generic #21~20.04.1-Ubuntu SMP Thu Mar 24 22:36:01 UTC 2022 riscv64 (riscv64) Toolchain package versions: binutils_2.34-6ubuntu1.3 dpkg-dev_1.19.7ubuntu3.2 g++-9_9.4.0-1ubuntu1~20.04.1 gcc-9_9.4.0-1ubuntu1~20.04.1 libc6-dev_2.31-0ubuntu9.9 libstdc++-9-dev_9.4.0-1ubuntu1~20.04.1 libstdc++6_10.3.0-1ubuntu1~20.04 linux-libc-dev_5.4.0-128.144 Package versions: adduser_3.118ubuntu2 advancecomp_2.1-2.1build1 apt_2.0.9 autoconf_2.69-11.1 automake_1:1.16.1-4ubuntu6 autopoint_0.19.8.1-10build1 autotools-dev_20180224.1 base-files_11ubuntu5.6 base-passwd_3.5.47 bash_5.0-6ubuntu1.2 binutils_2.34-6ubuntu1.3 binutils-common_2.34-6ubuntu1.3 binutils-riscv64-linux-gnu_2.34-6ubuntu1.3 bsdmainutils_11.1.2ubuntu3 bsdutils_1:2.34-0.1ubuntu9.3 build-essential_12.8ubuntu1.1 bzip2_1.0.8-2 ca-certificates_20211016~20.04.1 coreutils_8.30-3ubuntu2 cpp_4:9.3.0-1ubuntu2 cpp-9_9.4.0-1ubuntu1~20.04.1 dash_0.5.10.2-6 dbus_1.12.16-2ubuntu2.2 debconf_1.5.73 debhelper_12.10ubuntu1 debianutils_4.9.1 dh-apport_2.20.11-0ubuntu27.25 dh-autoreconf_19 dh-golang_1.48 dh-strip-nondeterminism_1.7.0-1 diffutils_1:3.7-3 dpkg_1.19.7ubuntu3.2 dpkg-dev_1.19.7ubuntu3.2 dwz_0.13-5 e2fsprogs_1.45.5-2ubuntu1.1 fakeroot_1.24-1 file_1:5.38-4 findutils_4.7.0-1ubuntu1 g++_4:9.3.0-1ubuntu2 g++-9_9.4.0-1ubuntu1~20.04.1 gcc_4:9.3.0-1ubuntu2 gcc-10-base_10.3.0-1ubuntu1~20.04 gcc-8-base_8.4.0-3ubuntu2 gcc-9_9.4.0-1ubuntu1~20.04.1 gcc-9-base_9.4.0-1ubuntu1~20.04.1 gettext_0.19.8.1-10build1 gettext-base_0.19.8.1-10build1 golang-1.18-go_1.18.3-1ubuntu1~20.04 golang-1.18-src_1.18.3-1ubuntu1~20.04 gpg_2.2.19-3ubuntu2.2 gpg-agent_2.2.19-3ubuntu2.2 gpgconf_2.2.19-3ubuntu2.2 gpgv_2.2.19-3ubuntu2.2 grep_3.4-1 groff-base_1.22.4-4build1 gzip_1.10-0ubuntu4.1 hostname_3.23 init_1.57 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-6 libapparmor1_2.13.3-7ubuntu5.1 libapt-pkg6.0_2.0.9 libarchive-zip-perl_1.67-2 libargon2-1_0~20171227-0.2 libasn1-8-heimdal_7.7.0+dfsg-1ubuntu1.1 libassuan0_2.5.3-7ubuntu2 libatomic1_10.3.0-1ubuntu1~20.04 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2ubuntu6 libaudit1_1:2.8.5-2ubuntu6 libavahi-client3_0.7-4ubuntu7.1 libavahi-common-data_0.7-4ubuntu7.1 libavahi-common3_0.7-4ubuntu7.1 libbinutils_2.34-6ubuntu1.3 libblkid1_2.34-0.1ubuntu9.3 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.31-0ubuntu9.9 libc-dev-bin_2.31-0ubuntu9.9 libc6_2.31-0ubuntu9.9 libc6-dev_2.31-0ubuntu9.9 libcap-ng0_0.7.9-2.1build1 libcap2_1:2.32-1 libcc1-0_10.3.0-1ubuntu1~20.04 libcom-err2_1.45.5-2ubuntu1.1 libcroco3_0.6.13-1 libcrypt-dev_1:4.4.10-10ubuntu4 libcrypt1_1:4.4.10-10ubuntu4 libcryptsetup12_2:2.2.2-3ubuntu2.4 libctf-nobfd0_2.34-6ubuntu1.3 libctf0_2.34-6ubuntu1.3 libcups2_2.3.1-9ubuntu1.2 libdb5.3_5.3.28+dfsg1-0.6ubuntu2 libdbus-1-3_1.12.16-2ubuntu2.2 libdbus-1-dev_1.12.16-2ubuntu2.2 libdebconfclient0_0.251ubuntu1 libdebhelper-perl_12.10ubuntu1 libdevmapper1.02.1_2:1.02.167-1ubuntu1.1 libdpkg-perl_1.19.7ubuntu3.2 libelf1_0.176-1.1build1 libexpat1_2.2.9-1ubuntu0.4 libext2fs2_1.45.5-2ubuntu1.1 libfakeroot_1.24-1 libffi7_3.3-4 libfile-stripnondeterminism-perl_1.7.0-1 libgcc-9-dev_9.4.0-1ubuntu1~20.04.1 libgcc-s1_10.3.0-1ubuntu1~20.04 libgcc1_1:10.3.0-1ubuntu1~20.04 libgcrypt20_1.8.5-5ubuntu1.1 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.64.6-1~ubuntu20.04.4 libgmp10_2:6.2.0+dfsg-4ubuntu0.1 libgnutls30_3.6.13-2ubuntu1.7 libgomp1_10.3.0-1ubuntu1~20.04 libgpg-error0_1.37-1 libgpgme11_1.13.1-7ubuntu2 libgpm2_1.20.7-5 libgssapi-krb5-2_1.17-6ubuntu4.1 libgssapi3-heimdal_7.7.0+dfsg-1ubuntu1.1 libhcrypto4-heimdal_7.7.0+dfsg-1ubuntu1.1 libheimbase1-heimdal_7.7.0+dfsg-1ubuntu1.1 libheimntlm0-heimdal_7.7.0+dfsg-1ubuntu1.1 libhogweed5_3.5.1+really3.5.1-2ubuntu0.2 libhx509-5-heimdal_7.7.0+dfsg-1ubuntu1.1 libicu66_66.1-2ubuntu2.1 libidn2-0_2.2.0-2 libip4tc2_1.8.4-3ubuntu2 libisl22_0.22.1-1 libjansson4_2.12-1build1 libjson-c4_0.13.1+dfsg-7ubuntu0.3 libk5crypto3_1.17-6ubuntu4.1 libkeyutils1_1.6-6ubuntu1.1 libkmod2_27-1ubuntu2.1 libkrb5-26-heimdal_7.7.0+dfsg-1ubuntu1.1 libkrb5-3_1.17-6ubuntu4.1 libkrb5support0_1.17-6ubuntu4.1 libldap-2.4-2_2.4.49+dfsg-2ubuntu1.9 libldap-common_2.4.49+dfsg-2ubuntu1.9 libldb2_2:2.2.3-0ubuntu0.20.04.3 liblmdb0_0.9.24-1 liblocale-gettext-perl_1.07-4 liblockfile-bin_1.16-1.1 liblockfile1_1.16-1.1 liblz4-1_1.9.2-2ubuntu0.20.04.1 liblzma5_5.2.4-1ubuntu1.1 libmagic-mgc_1:5.38-4 libmagic1_1:5.38-4 libmount1_2.34-0.1ubuntu9.3 libmpc3_1.1.0-1 libmpdec2_2.4.2-3 libmpfr6_4.0.2-1 libncurses6_6.2-0ubuntu2 libncursesw6_6.2-0ubuntu2 libnettle7_3.5.1+really3.5.1-2ubuntu0.2 libnpth0_1.6-1 libp11-kit0_0.23.20-1ubuntu0.1 libpam-modules_1.3.1-5ubuntu4.3 libpam-modules-bin_1.3.1-5ubuntu4.3 libpam-runtime_1.3.1-5ubuntu4.3 libpam0g_1.3.1-5ubuntu4.3 libpam0g-dev_1.3.1-5ubuntu4.3 libpcre2-8-0_10.34-7ubuntu0.1 libpcre3_2:8.39-12ubuntu0.1 libperl5.30_5.30.0-9ubuntu0.2 libpipeline1_1.5.2-2build1 libpng16-16_1.6.37-2 libpopt0_1.16-14 libprocps8_2:3.3.16-1ubuntu2.3 libpython3-stdlib_3.8.2-0ubuntu2 libpython3.8_3.8.10-0ubuntu1~20.04.5 libpython3.8-minimal_3.8.10-0ubuntu1~20.04.5 libpython3.8-stdlib_3.8.10-0ubuntu1~20.04.5 libreadline8_8.0-4 libroken18-heimdal_7.7.0+dfsg-1ubuntu1.1 libsasl2-2_2.1.27+dfsg-2ubuntu0.1 libsasl2-modules-db_2.1.27+dfsg-2ubuntu0.1 libseccomp2_2.5.1-1ubuntu1~20.04.2 libselinux1_3.0-1build2 libsemanage-common_3.0-1build2 libsemanage1_3.0-1build2 libsepol1_3.0-1ubuntu0.1 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1ubuntu9.3 libsmbclient_2:4.13.17~dfsg-0ubuntu1.20.04.1 libsmbclient-dev_2:4.13.17~dfsg-0ubuntu1.20.04.1 libsqlite3-0_3.31.1-4ubuntu0.4 libss2_1.45.5-2ubuntu1.1 libssl1.1_1.1.1f-1ubuntu2.16 libstdc++-9-dev_9.4.0-1ubuntu1~20.04.1 libstdc++6_10.3.0-1ubuntu1~20.04 libsub-override-perl_0.09-2 libsystemd0_245.4-4ubuntu3.18 libtalloc2_2.3.1-0ubuntu0.20.04.1 libtasn1-6_4.16.0-2 libtdb1_1.4.3-0ubuntu0.20.04.1 libtevent0_0.10.2-0ubuntu0.20.04.1 libtext-charwidth-perl_0.04-10 libtext-iconv-perl_1.7-7 libtinfo6_6.2-0ubuntu2 libtool_2.4.6-14 libuchardet0_0.0.6-3build1 libudev1_245.4-4ubuntu3.18 libunistring2_0.9.10-2 libuuid1_2.34-0.1ubuntu9.3 libwbclient0_2:4.13.17~dfsg-0ubuntu1.20.04.1 libwind0-heimdal_7.7.0+dfsg-1ubuntu1.1 libxml2_2.9.10+dfsg-5ubuntu0.20.04.4 libzstd1_1.4.4+dfsg-3ubuntu0.1 linux-libc-dev_5.4.0-128.144 lockfile-progs_0.1.18 login_1:4.8.1-1ubuntu5.20.04.2 logsave_1.45.5-2ubuntu1.1 lsb-base_11.1.0ubuntu2 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.1-1 mawk_1.3.4.20200120-2 mime-support_3.64ubuntu1 mount_2.34-0.1ubuntu9.3 ncurses-base_6.2-0ubuntu2 ncurses-bin_6.2-0ubuntu2 openssl_1.1.1f-1ubuntu2.16 optipng_0.7.7-1 passwd_1:4.8.1-1ubuntu5.20.04.2 patch_2.7.6-6 perl_5.30.0-9ubuntu0.2 perl-base_5.30.0-9ubuntu0.2 perl-modules-5.30_5.30.0-9ubuntu0.2 pinentry-curses_1.1.0-3build1 pkg-config_0.29.1-0ubuntu4 pkgbinarymangler_144 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 procps_2:3.3.16-1ubuntu2.3 python3_3.8.2-0ubuntu2 python3-crypto_2.6.1-13ubuntu2 python3-dnspython_1.16.0-1ubuntu1 python3-ldb_2:2.2.3-0ubuntu0.20.04.3 python3-minimal_3.8.2-0ubuntu2 python3-samba_2:4.13.17~dfsg-0ubuntu1.20.04.1 python3-talloc_2.3.1-0ubuntu0.20.04.1 python3-tdb_1.4.3-0ubuntu0.20.04.1 python3.8_3.8.10-0ubuntu1~20.04.5 python3.8-minimal_3.8.10-0ubuntu1~20.04.5 readline-common_8.0-4 samba_2:4.13.17~dfsg-0ubuntu1.20.04.1 samba-common_2:4.13.17~dfsg-0ubuntu1.20.04.1 samba-common-bin_2:4.13.17~dfsg-0ubuntu1.20.04.1 samba-dsdb-modules_2:4.13.17~dfsg-0ubuntu1.20.04.1 samba-libs_2:4.13.17~dfsg-0ubuntu1.20.04.1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 systemd_245.4-4ubuntu3.18 systemd-sysv_245.4-4ubuntu3.18 systemd-timesyncd_245.4-4ubuntu3.18 sysvinit-utils_2.96-2.1ubuntu1 tar_1.30+dfsg-7ubuntu0.20.04.2 tdb-tools_1.4.3-0ubuntu0.20.04.1 tzdata_2022c-0ubuntu0.20.04.0 ubuntu-keyring_2020.02.11.4 ucf_3.0038+nmu1 util-linux_2.34-0.1ubuntu9.3 xz-utils_5.2.4-1ubuntu1.1 zlib1g_1:1.2.11.dfsg-2ubuntu1.4 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (native) Source: adsys Binary: adsys, adsys-windows Architecture: any Version: 0.9.2~20.04 Maintainer: Ubuntu Developers Homepage: https://github.com/ubuntu/adsys Description: AD SYStem integration ADSys is an AD SYStem tool to integrate GPOs with a linux system. It allows one to handle machine and users GPOs, mapping them to dconf keys, apparmor rules and running scripts at different point in time. Standards-Version: 4.5.1 Testsuite: autopkgtest Testsuite-Triggers: @builddeps@ Build-Depends: debhelper-compat (= 12), dh-apport, dh-golang, golang-1.18-go, libsmbclient-dev, libdbus-1-dev, python3, python3-samba, samba-dsdb-modules, libpam0g-dev, samba, dbus Package-List: adsys deb admin optional arch=any adsys-windows deb admin optional arch=amd64,arm64 Checksums-Sha1: 6db0c0924b7ba4770de77400cb1fccb5886b5321 7595780 adsys_0.9.2~20.04.tar.xz Checksums-Sha256: 0aac573f964f40039c0572e2cccf4d966116e7b16e5f9ee66a5b047c36764bbe 7595780 adsys_0.9.2~20.04.tar.xz Files: 514dd475264e72f06ef704a7db4691d4 7595780 adsys_0.9.2~20.04.tar.xz Go-Import-Path: github.com/ubuntu/adsys -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEqx+XcX7ftBm4bj5/AhnKGdA0MwwFAmMp3DAACgkQAhnKGdA0 Mwz9Ygf/UyaozZz3OaF4RYMlgcJy+7IKhFDvz/uknMLwq3d4yMiYjFrZcYcRIcUq 0rDo4VwxEyH/fmawSKXrWvUXPzdNvaHixhnfat3sWgFtHJv31cF8D1c55oRac0cb 6o0dWHLGoJ6JaOCKx9dfayBqmlGLl2AeKJlaoHNfK7NTQEhm0UJCCDSO2uMnKESF 3vJhOmA1pNYg/9/IDG6yB2sqUxHbqy2nADUV8/sjAWzyKBwIQSaiBcMG+dpbapSu D1xh6bFKuwwo9dopyYFDgLMdSoy2e2N47vsw2s+ljPkgwadNyhQBjQZigW/7GzFv Wm9fWw376qCrIKBxCxSs7Pnbplm5Aw== =wr7/ -----END PGP SIGNATURE----- gpgv: Signature made Tue Sep 20 15:28:48 2022 UTC gpgv: using RSA key AB1F97717EDFB419B86E3E7F0219CA19D034330C gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./adsys_0.9.2~20.04.dsc dpkg-source: info: extracting adsys in /<> dpkg-source: info: unpacking adsys_0.9.2~20.04.tar.xz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=8 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-24492113 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-24492113 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-24492113 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package adsys dpkg-buildpackage: info: source version 0.9.2~20.04 dpkg-buildpackage: info: source distribution focal dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang,apport debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' dh_auto_clean # Create the vendor directory when building the source package [ -d vendor/ ] || go mod vendor make[1]: Leaving directory '/<>' dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules build-arch dh build-arch --buildsystem=golang --with=golang,apport dh_update_autotools_config -a -O--buildsystem=golang dh_autoreconf -a -O--buildsystem=golang dh_auto_configure -a -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/<>' # Build on linux only adsysd itself, and not generator or Windows binaries DH_GOLANG_BUILDPKG=github.com/ubuntu/adsys/cmd/adsysd dh_auto_build cd obj-riscv64-linux-gnu && go install -trimpath -v -p 8 github.com/ubuntu/adsys/cmd/adsysd internal/race internal/unsafeheader internal/goarch internal/goexperiment internal/goos runtime/internal/syscall internal/cpu runtime/internal/atomic sync/atomic unicode unicode/utf8 internal/abi runtime/internal/math runtime/internal/sys internal/itoa encoding math/bits unicode/utf16 github.com/ubuntu/adsys/vendor/golang.org/x/sys/internal/unsafeheader github.com/ubuntu/adsys/vendor/golang.org/x/net/html/atom github.com/ubuntu/adsys/vendor/github.com/rivo/uniseg internal/bytealg image/color internal/nettrace container/list crypto/internal/subtle crypto/subtle math vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/flags github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/set github.com/ubuntu/adsys/vendor/google.golang.org/grpc/attributes github.com/ubuntu/adsys/vendor/google.golang.org/grpc/serviceconfig github.com/ubuntu/adsys/internal/policies/entry runtime internal/reflectlite sync github.com/ubuntu/adsys/vendor/github.com/spf13/viper/internal/encoding internal/singleflight github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark-emoji/definition github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/pragma math/rand internal/testlog github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/buffer runtime/cgo github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/grpcsync internal/sysinfo errors sort internal/oserror vendor/golang.org/x/net/dns/dnsmessage path io strconv crypto/elliptic/internal/fiat syscall github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl/hcl/strconv bytes strings reflect github.com/ubuntu/adsys/vendor/golang.org/x/text/transform hash hash/crc32 bufio regexp/syntax html crypto crypto/internal/randutil crypto/hmac time internal/syscall/unix internal/syscall/execenv crypto/elliptic/internal/nistec crypto/rc4 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/text/transform net/http/internal/ascii text/tabwriter hash/fnv regexp github.com/ubuntu/adsys/vendor/google.golang.org/grpc/encoding context github.com/ubuntu/adsys/vendor/google.golang.org/grpc/backoff io/fs internal/poll github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/grpcrand github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/backoff github.com/ubuntu/adsys/vendor/google.golang.org/grpc/keepalive github.com/ubuntu/adsys/vendor/google.golang.org/grpc/tap github.com/ubuntu/adsys/vendor/github.com/microcosm-cc/bluemonday/css embed github.com/ubuntu/adsys/policies github.com/ubuntu/adsys/internal/smbsafe os internal/fmtsort encoding/binary encoding/base64 crypto/sha512 crypto/ed25519/internal/edwards25519/field crypto/cipher github.com/ubuntu/adsys/vendor/golang.org/x/sys/unix crypto/md5 crypto/sha1 crypto/ed25519/internal/edwards25519 fmt path/filepath io/ioutil github.com/ubuntu/adsys/vendor/github.com/mattn/go-runewidth internal/godebug crypto/aes internal/intern github.com/ubuntu/adsys/vendor/github.com/spf13/afero/mem crypto/des github.com/ubuntu/adsys/vendor/github.com/muesli/reflow/ansi net/netip crypto/sha256 github.com/ubuntu/adsys/vendor/github.com/muesli/reflow/indent github.com/ubuntu/adsys/vendor/github.com/muesli/reflow/padding github.com/ubuntu/adsys/vendor/github.com/muesli/reflow/wordwrap vendor/golang.org/x/crypto/chacha20 encoding/pem vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/detrand github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/envconfig vendor/golang.org/x/crypto/chacha20poly1305 os/exec encoding/json log github.com/ubuntu/adsys/vendor/github.com/dlclark/regexp2/syntax github.com/ubuntu/adsys/vendor/github.com/aymerick/douceur/css github.com/ubuntu/adsys/vendor/github.com/gorilla/css/scanner github.com/ubuntu/adsys/vendor/golang.org/x/net/html net/url github.com/ubuntu/adsys/vendor/github.com/aymerick/douceur/parser database/sql/driver text/template/parse encoding/csv github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark/util github.com/ubuntu/adsys/vendor/github.com/olekukonko/tablewriter github.com/ubuntu/adsys/vendor/github.com/lucasb-eyer/go-colorful github.com/ubuntu/adsys/vendor/github.com/sirupsen/logrus github.com/ubuntu/adsys/vendor/github.com/mattn/go-isatty github.com/ubuntu/adsys/vendor/github.com/mattn/go-colorable github.com/ubuntu/adsys/vendor/github.com/dlclark/regexp2 github.com/ubuntu/adsys/vendor/github.com/fatih/color text/template github.com/ubuntu/adsys/vendor/github.com/gomarkdown/markdown/ast github.com/ubuntu/adsys/vendor/github.com/microcosm-cc/bluemonday encoding/hex flag net github.com/ubuntu/adsys/vendor/github.com/fsnotify/fsnotify github.com/ubuntu/adsys/vendor/github.com/gomarkdown/markdown/parser github.com/ubuntu/adsys/vendor/golang.org/x/text/unicode/norm compress/flate math/big github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma github.com/ubuntu/adsys/vendor/github.com/muesli/termenv compress/gzip github.com/ubuntu/adsys/vendor/github.com/gomarkdown/markdown/html vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/formatters/html github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/formatters/svg github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/internal github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/styles github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/formatters github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/a github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/b github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/p github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/j github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/e github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/i github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/f github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/k github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/l github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/d github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/n github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/c github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/o github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/q github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/r github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/v github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/t github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/w github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/x github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/y github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/z github.com/ubuntu/adsys/vendor/github.com/gomarkdown/markdown crypto/rand encoding/asn1 crypto/dsa vendor/golang.org/x/text/secure/bidirule crypto/elliptic crypto/ed25519 crypto/rsa vendor/golang.org/x/net/idna github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/h vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable net/http/internal html/template crypto/ecdsa github.com/ubuntu/adsys/vendor/github.com/spf13/jwalterweatherman github.com/ubuntu/adsys/vendor/github.com/subosito/gotenv github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl/hcl/token github.com/ubuntu/adsys/vendor/gopkg.in/ini.v1 github.com/ubuntu/adsys/vendor/github.com/spf13/viper/internal/encoding/json github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl/hcl/ast github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl/hcl/scanner github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl/json/token github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl/json/scanner github.com/ubuntu/adsys/vendor/github.com/pelletier/go-toml/v2/internal/danger github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl/hcl/parser github.com/ubuntu/adsys/vendor/github.com/pelletier/go-toml/v2/internal/ast github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl/json/parser github.com/ubuntu/adsys/vendor/github.com/spf13/pflag github.com/ubuntu/adsys/vendor/github.com/mitchellh/mapstructure crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy github.com/ubuntu/adsys/vendor/github.com/spf13/cast vendor/golang.org/x/net/http/httpguts mime/multipart github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl github.com/ubuntu/adsys/vendor/github.com/hashicorp/hcl/hcl/printer github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/circular github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/g github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/m github.com/ubuntu/adsys/vendor/github.com/spf13/viper/internal/encoding/dotenv github.com/ubuntu/adsys/vendor/github.com/spf13/viper/internal/encoding/hcl github.com/ubuntu/adsys/vendor/github.com/spf13/viper/internal/encoding/ini github.com/ubuntu/adsys/vendor/github.com/pelletier/go-toml/v2/internal/tracker github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers/s github.com/ubuntu/adsys/vendor/gopkg.in/yaml.v3 crypto/tls github.com/ubuntu/adsys/vendor/github.com/pelletier/go-toml/v2 github.com/ubuntu/adsys/vendor/golang.org/x/net/internal/timeseries github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/grpclog github.com/ubuntu/adsys/vendor/github.com/spf13/cobra github.com/ubuntu/adsys/vendor/google.golang.org/grpc/grpclog github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/errors github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/encoding/protowire github.com/ubuntu/adsys/vendor/google.golang.org/grpc/connectivity github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/reflect/protoreflect go/token github.com/ubuntu/adsys/vendor/github.com/spf13/viper/internal/encoding/toml github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/version github.com/ubuntu/adsys/vendor/google.golang.org/grpc/metadata github.com/ubuntu/adsys/vendor/google.golang.org/grpc/codes github.com/ubuntu/adsys/vendor/golang.org/x/text/unicode/bidi github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/balancerload github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/grpcutil github.com/ubuntu/adsys/vendor/golang.org/x/net/http2/hpack github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/syscall github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/encoding/messageset github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/strs github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/genid github.com/ubuntu/adsys/vendor/github.com/spf13/viper/internal/encoding/yaml github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/order github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/reflect/protoregistry github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/lexers github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/runtime/protoiface github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/encoding/text github.com/ubuntu/adsys/vendor/github.com/alecthomas/chroma/quick github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/descfmt github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/descopts github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/encoding/json github.com/ubuntu/adsys/vendor/golang.org/x/text/secure/bidirule github.com/ubuntu/adsys/vendor/google.golang.org/grpc/stats github.com/ubuntu/adsys/vendor/golang.org/x/net/idna github.com/ubuntu/adsys/doc os/user github.com/ubuntu/adsys/vendor/github.com/mvo5/libsmbclient-go github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/proto github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/encoding/defval net/http/httptrace github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/credentials github.com/ubuntu/adsys/vendor/github.com/snapcore/go-gettext/pluralforms net/http runtime/debug runtime/trace github.com/ubuntu/adsys/vendor/golang.org/x/net/http/httpguts github.com/ubuntu/adsys/internal/consts testing archive/zip github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/encoding/prototext github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/filedesc github.com/ubuntu/adsys/vendor/golang.org/x/sync/errgroup github.com/ubuntu/adsys/vendor/golang.org/x/exp/mmap github.com/ubuntu/adsys/vendor/github.com/coreos/go-systemd/activation github.com/ubuntu/adsys/vendor/github.com/coreos/go-systemd/daemon os/signal github.com/ubuntu/adsys/vendor/github.com/snapcore/go-gettext github.com/ubuntu/adsys/internal/i18n github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/encoding/tag github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/encoding/protojson github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/impl github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark/text github.com/ubuntu/adsys/vendor/github.com/godbus/dbus/v5 github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark/ast github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark/renderer github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark/extension/ast github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark-emoji/ast github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark/parser github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark/renderer/html github.com/ubuntu/adsys/vendor/github.com/charmbracelet/glamour/ansi github.com/ubuntu/adsys/vendor/golang.org/x/net/trace github.com/ubuntu/adsys/vendor/github.com/magiconair/properties github.com/ubuntu/adsys/vendor/github.com/spf13/afero github.com/ubuntu/adsys/vendor/golang.org/x/net/http2 net/http/httputil github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark-emoji github.com/ubuntu/adsys/vendor/github.com/yuin/goldmark/extension github.com/ubuntu/adsys/vendor/github.com/spf13/viper/internal/encoding/javaproperties github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/internal/filetype github.com/ubuntu/adsys/vendor/github.com/spf13/viper github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/runtime/protoimpl github.com/ubuntu/adsys/vendor/github.com/charmbracelet/glamour github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/types/known/timestamppb github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/types/known/durationpb github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/types/known/anypb github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/types/descriptorpb github.com/ubuntu/adsys/vendor/github.com/golang/protobuf/ptypes/any github.com/ubuntu/adsys/vendor/google.golang.org/genproto/googleapis/rpc/status github.com/ubuntu/adsys/vendor/github.com/golang/protobuf/ptypes/duration github.com/ubuntu/adsys/vendor/github.com/golang/protobuf/ptypes/timestamp github.com/ubuntu/adsys/vendor/google.golang.org/protobuf/reflect/protodesc github.com/ubuntu/adsys/vendor/github.com/golang/protobuf/proto github.com/ubuntu/adsys/vendor/google.golang.org/grpc/credentials github.com/ubuntu/adsys/vendor/google.golang.org/grpc/encoding/proto github.com/ubuntu/adsys/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1 github.com/ubuntu/adsys/vendor/github.com/golang/protobuf/jsonpb github.com/ubuntu/adsys/vendor/github.com/golang/protobuf/ptypes github.com/ubuntu/adsys/vendor/google.golang.org/grpc/credentials/insecure github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/channelz github.com/ubuntu/adsys/vendor/google.golang.org/grpc/peer github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/status github.com/ubuntu/adsys/vendor/google.golang.org/grpc/status github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/pretty github.com/ubuntu/adsys/internal/grpc/grpcerror github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/binarylog github.com/ubuntu/adsys/vendor/google.golang.org/grpc/resolver github.com/ubuntu/adsys/vendor/google.golang.org/grpc/balancer/grpclb/state github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/metadata github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/transport/networktype github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/resolver/passthrough github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/resolver/dns github.com/ubuntu/adsys/vendor/google.golang.org/grpc/channelz github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/resolver/unix github.com/ubuntu/adsys/vendor/google.golang.org/grpc/balancer github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/transport github.com/ubuntu/adsys/vendor/google.golang.org/grpc/balancer/base github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/serviceconfig github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/resolver github.com/ubuntu/adsys/vendor/google.golang.org/grpc/balancer/roundrobin github.com/ubuntu/adsys/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch github.com/ubuntu/adsys/vendor/google.golang.org/grpc github.com/ubuntu/adsys/internal/grpc/connectionnotify github.com/ubuntu/adsys/internal/grpc/interceptorschain github.com/ubuntu/adsys/internal/grpc/logstreamer github.com/ubuntu/adsys github.com/ubuntu/adsys/internal/decorate github.com/ubuntu/adsys/internal/grpc/logconnections github.com/ubuntu/adsys/internal/grpc/contextidler github.com/ubuntu/adsys/internal/policies/dconf github.com/ubuntu/adsys/internal/ad/common github.com/ubuntu/adsys/internal/policies/privilege github.com/ubuntu/adsys/internal/ad/registry github.com/ubuntu/adsys/internal/policies/scripts github.com/ubuntu/adsys/internal/authorizer github.com/ubuntu/adsys/internal/daemon github.com/ubuntu/adsys/internal/stdforward github.com/ubuntu/adsys/internal/config github.com/ubuntu/adsys/internal/cmdhandler github.com/ubuntu/adsys/internal/policies/gdm github.com/ubuntu/adsys/internal/adsysservice/actions github.com/ubuntu/adsys/internal/policies github.com/ubuntu/adsys/internal/ad github.com/ubuntu/adsys/internal/adsysservice github.com/ubuntu/adsys/cmd/adsysd/client github.com/ubuntu/adsys/cmd/adsysd/daemon github.com/ubuntu/adsys/cmd/adsysd make[1]: Leaving directory '/<>' dh_auto_test -a -O--buildsystem=golang cd obj-riscv64-linux-gnu && go test -vet=off -v -p 8 github.com/ubuntu/adsys github.com/ubuntu/adsys/cmd/admxgen github.com/ubuntu/adsys/cmd/adsysd github.com/ubuntu/adsys/cmd/adsysd/client github.com/ubuntu/adsys/cmd/adsysd/daemon github.com/ubuntu/adsys/cmd/adsysd/integration_tests github.com/ubuntu/adsys/cmd/adwatchd github.com/ubuntu/adsys/cmd/adwatchd/commands github.com/ubuntu/adsys/cmd/adwatchd/integration_tests github.com/ubuntu/adsys/doc github.com/ubuntu/adsys/internal/ad github.com/ubuntu/adsys/internal/ad/admxgen github.com/ubuntu/adsys/internal/ad/admxgen/common github.com/ubuntu/adsys/internal/ad/admxgen/dconf github.com/ubuntu/adsys/internal/ad/common github.com/ubuntu/adsys/internal/ad/registry github.com/ubuntu/adsys/internal/adsysservice github.com/ubuntu/adsys/internal/adsysservice/actions github.com/ubuntu/adsys/internal/authorizer github.com/ubuntu/adsys/internal/cmdhandler github.com/ubuntu/adsys/internal/config github.com/ubuntu/adsys/internal/config/watchd github.com/ubuntu/adsys/internal/consts github.com/ubuntu/adsys/internal/daemon github.com/ubuntu/adsys/internal/decorate github.com/ubuntu/adsys/internal/generators github.com/ubuntu/adsys/internal/grpc/connectionnotify github.com/ubuntu/adsys/internal/grpc/contextidler github.com/ubuntu/adsys/internal/grpc/grpcerror github.com/ubuntu/adsys/internal/grpc/interceptorschain github.com/ubuntu/adsys/internal/grpc/logconnections github.com/ubuntu/adsys/internal/grpc/logstreamer github.com/ubuntu/adsys/internal/grpc/logstreamer/test github.com/ubuntu/adsys/internal/i18n github.com/ubuntu/adsys/internal/loghooks github.com/ubuntu/adsys/internal/policies github.com/ubuntu/adsys/internal/policies/dconf github.com/ubuntu/adsys/internal/policies/entry github.com/ubuntu/adsys/internal/policies/gdm github.com/ubuntu/adsys/internal/policies/privilege github.com/ubuntu/adsys/internal/policies/scripts github.com/ubuntu/adsys/internal/smbsafe github.com/ubuntu/adsys/internal/stdforward github.com/ubuntu/adsys/internal/testutils github.com/ubuntu/adsys/internal/watchdservice github.com/ubuntu/adsys/internal/watchdtui github.com/ubuntu/adsys/internal/watcher github.com/ubuntu/adsys/policies ? github.com/ubuntu/adsys [no test files] ? github.com/ubuntu/adsys/cmd/admxgen [no test files] === RUN TestRun === RUN TestRun/Run_and_return_usage_error level=error msg="Error requested" === RUN TestRun/Run_and_usage_error_only_does_not_fail === RUN TestRun/Send_SIGINT_exits === RUN TestRun/Send_SIGTERM_exits === RUN TestRun/Send_SIGHUP_without_exiting === RUN TestRun/Send_SIGHUP_with_exit === RUN TestRun/Run_and_exit_successfully === RUN TestRun/Run_and_return_error level=error msg="Error requested" --- PASS: TestRun (0.94s) --- PASS: TestRun/Run_and_return_usage_error (0.12s) --- PASS: TestRun/Run_and_usage_error_only_does_not_fail (0.10s) --- PASS: TestRun/Send_SIGINT_exits (0.11s) --- PASS: TestRun/Send_SIGTERM_exits (0.10s) --- PASS: TestRun/Send_SIGHUP_without_exiting (0.16s) --- PASS: TestRun/Send_SIGHUP_with_exit (0.11s) --- PASS: TestRun/Run_and_exit_successfully (0.11s) --- PASS: TestRun/Run_and_return_error (0.12s) PASS ok github.com/ubuntu/adsys/cmd/adsysd 3.804s === RUN TestColorizePolicies --- PASS: TestColorizePolicies (0.03s) === RUN TestInitApp === PAUSE TestInitApp === RUN TestAppHelp Active Directory integration bridging toolset command line tool. Usage: adsysctl COMMAND [flags] adsysctl [command] Available Commands: applied Print last applied GPOs for current or given user/machine completion Generate the autocompletion script for the specified shell doc Documentation help Help about any command policy Policy management service Service management update Updates/Create a policy for current user or given user with its kerberos ticket version Returns version of client and service Flags: -c, --config string use a specific configuration file -h, --help help for adsysctl -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output Use "adsysctl [command] --help" for more information about a command. --- PASS: TestAppHelp (0.19s) === RUN TestAppCompletion # bash completion V2 for adsysctl -*- shell-script -*- __adsysctl_debug() { if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then echo "$*" >> "${BASH_COMP_DEBUG_FILE}" fi } # Macs have bash3 for which the bash-completion package doesn't include # _init_completion. This is a minimal version of that function. __adsysctl_init_completion() { COMPREPLY=() _get_comp_words_by_ref "$@" cur prev words cword } # This function calls the adsysctl program to obtain the completion # results and the directive. It fills the 'out' and 'directive' vars. __adsysctl_get_completion_results() { local requestComp lastParam lastChar args # Prepare the command to request completions for the program. # Calling ${words[0]} instead of directly adsysctl allows to handle aliases args=("${words[@]:1}") requestComp="${words[0]} __complete ${args[*]}" lastParam=${words[$((${#words[@]}-1))]} lastChar=${lastParam:$((${#lastParam}-1)):1} __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" if [ -z "${cur}" ] && [ "${lastChar}" != "=" ]; then # If the last parameter is complete (there is a space following it) # We add an extra empty parameter so we can indicate this to the go method. __adsysctl_debug "Adding extra empty parameter" requestComp="${requestComp} ''" fi # When completing a flag with an = (e.g., adsysctl -n=) # bash focuses on the part after the =, so we need to remove # the flag part from $cur if [[ "${cur}" == -*=* ]]; then cur="${cur#*=}" fi __adsysctl_debug "Calling ${requestComp}" # Use eval to handle any environment variables and such out=$(eval "${requestComp}" 2>/dev/null) # Extract the directive integer at the very end of the output following a colon (:) directive=${out##*:} # Remove the directive out=${out%:*} if [ "${directive}" = "${out}" ]; then # There is not directive specified directive=0 fi __adsysctl_debug "The completion directive is: ${directive}" __adsysctl_debug "The completions are: ${out}" } __adsysctl_process_completion_results() { local shellCompDirectiveError=1 local shellCompDirectiveNoSpace=2 local shellCompDirectiveNoFileComp=4 local shellCompDirectiveFilterFileExt=8 local shellCompDirectiveFilterDirs=16 if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then # Error code. No completion. __adsysctl_debug "Received error from custom completion go code" return else if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysctl_debug "Activating no space" compopt -o nospace else __adsysctl_debug "No space directive not supported in this version of bash" fi fi if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysctl_debug "Activating no file completion" compopt +o default else __adsysctl_debug "No file completion directive not supported in this version of bash" fi fi fi # Separate activeHelp from normal completions local completions=() local activeHelp=() __adsysctl_extract_activeHelp if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then # File extension filtering local fullFilter filter filteringCmd # Do not use quotes around the $completions variable or else newline # characters will be kept. for filter in ${completions[*]}; do fullFilter+="$filter|" done filteringCmd="_filedir $fullFilter" __adsysctl_debug "File filtering command: $filteringCmd" $filteringCmd elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then # File completion for directories only # Use printf to strip any trailing newline local subdir subdir=$(printf "%s" "${completions[0]}") if [ -n "$subdir" ]; then __adsysctl_debug "Listing directories in $subdir" pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return else __adsysctl_debug "Listing directories in ." _filedir -d fi else __adsysctl_handle_completion_types fi __adsysctl_handle_special_char "$cur" : __adsysctl_handle_special_char "$cur" = # Print the activeHelp statements before we finish if [ ${#activeHelp} -ne 0 ]; then printf "\n"; printf "%s\n" "${activeHelp[@]}" printf "\n" # The prompt format is only available from bash 4.4. # We test if it is available before using it. if (x=${PS1@P}) 2> /dev/null; then printf "%s" "${PS1@P}${COMP_LINE[@]}" else # Can't print the prompt. Just print the # text the user had typed, it is workable enough. printf "%s" "${COMP_LINE[@]}" fi fi } # Separate activeHelp lines from real completions. # Fills the $activeHelp and $completions arrays. __adsysctl_extract_activeHelp() { local activeHelpMarker="_activeHelp_ " local endIndex=${#activeHelpMarker} while IFS='' read -r comp; do if [ "${comp:0:endIndex}" = "$activeHelpMarker" ]; then comp=${comp:endIndex} __adsysctl_debug "ActiveHelp found: $comp" if [ -n "$comp" ]; then activeHelp+=("$comp") fi else # Not an activeHelp line but a normal completion completions+=("$comp") fi done < <(printf "%s\n" "${out}") } __adsysctl_handle_completion_types() { __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" case $COMP_TYPE in 37|42) # Type: menu-complete/menu-complete-backward and insert-completions # If the user requested inserting one completion at a time, or all # completions at once on the command-line we must remove the descriptions. # https://github.com/spf13/cobra/issues/1508 local tab=$'\t' comp while IFS='' read -r comp; do [[ -z $comp ]] && continue # Strip any description comp=${comp%%$tab*} # Only consider the completions that match if [[ $comp == "$cur"* ]]; then COMPREPLY+=("$comp") fi done < <(printf "%s\n" "${completions[@]}") ;; *) # Type: complete (normal completion) __adsysctl_handle_standard_completion_case ;; esac } __adsysctl_handle_standard_completion_case() { local tab=$'\t' comp # Short circuit to optimize if we don't have descriptions if [[ "${completions[*]}" != *$tab* ]]; then IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") return 0 fi local longest=0 local compline # Look for the longest completion so that we can format things nicely while IFS='' read -r compline; do [[ -z $compline ]] && continue # Strip any description before checking the length comp=${compline%%$tab*} # Only consider the completions that match [[ $comp == "$cur"* ]] || continue COMPREPLY+=("$compline") if ((${#comp}>longest)); then longest=${#comp} fi done < <(printf "%s\n" "${completions[@]}") # If there is a single completion left, remove the description text if [ ${#COMPREPLY[*]} -eq 1 ]; then __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" comp="${COMPREPLY[0]%%$tab*}" __adsysctl_debug "Removed description from single completion, which is now: ${comp}" COMPREPLY[0]=$comp else # Format the descriptions __adsysctl_format_comp_descriptions $longest fi } __adsysctl_handle_special_char() { local comp="$1" local char=$2 if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then local word=${comp%"${comp##*${char}}"} local idx=${#COMPREPLY[*]} while [[ $((--idx)) -ge 0 ]]; do COMPREPLY[$idx]=${COMPREPLY[$idx]#"$word"} done fi } __adsysctl_format_comp_descriptions() { local tab=$'\t' local comp desc maxdesclength local longest=$1 local i ci for ci in ${!COMPREPLY[*]}; do comp=${COMPREPLY[ci]} # Properly format the description string which follows a tab character if there is one if [[ "$comp" == *$tab* ]]; then __adsysctl_debug "Original comp: $comp" desc=${comp#*$tab} comp=${comp%%$tab*} # $COLUMNS stores the current shell width. # Remove an extra 4 because we add 2 spaces and 2 parentheses. maxdesclength=$(( COLUMNS - longest - 4 )) # Make sure we can fit a description of at least 8 characters # if we are to align the descriptions. if [[ $maxdesclength -gt 8 ]]; then # Add the proper number of spaces to align the descriptions for ((i = ${#comp} ; i < longest ; i++)); do comp+=" " done else # Don't pad the descriptions so we can fit more text after the completion maxdesclength=$(( COLUMNS - ${#comp} - 4 )) fi # If there is enough space for any description text, # truncate the descriptions that are too long for the shell width if [ $maxdesclength -gt 0 ]; then if [ ${#desc} -gt $maxdesclength ]; then desc=${desc:0:$(( maxdesclength - 1 ))} desc+="…" fi comp+=" ($desc)" fi COMPREPLY[ci]=$comp __adsysctl_debug "Final comp: $comp" fi done } __start_adsysctl() { local cur prev words cword split COMPREPLY=() # Call _init_completion from the bash-completion package # to prepare the arguments properly if declare -F _init_completion >/dev/null 2>&1; then _init_completion -n "=:" || return else __adsysctl_init_completion -n "=:" || return fi __adsysctl_debug __adsysctl_debug "========= starting completion logic ==========" __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" # The user could have moved the cursor backwards on the command-line. # We need to trigger completion from the $cword location, so we need # to truncate the command-line ($words) up to the $cword location. words=("${words[@]:0:$cword+1}") __adsysctl_debug "Truncated words[*]: ${words[*]}," local out directive __adsysctl_get_completion_results __adsysctl_process_completion_results } if [[ $(type -t compopt) = "builtin" ]]; then complete -o default -F __start_adsysctl adsysctl else complete -o default -o nospace -F __start_adsysctl adsysctl fi # ex: ts=4 sw=4 et filetype=sh --- PASS: TestAppCompletion (0.08s) === RUN TestAppNoUsageError # bash completion V2 for adsysctl -*- shell-script -*- __adsysctl_debug() { if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then echo "$*" >> "${BASH_COMP_DEBUG_FILE}" fi } # Macs have bash3 for which the bash-completion package doesn't include # _init_completion. This is a minimal version of that function. __adsysctl_init_completion() { COMPREPLY=() _get_comp_words_by_ref "$@" cur prev words cword } # This function calls the adsysctl program to obtain the completion # results and the directive. It fills the 'out' and 'directive' vars. __adsysctl_get_completion_results() { local requestComp lastParam lastChar args # Prepare the command to request completions for the program. # Calling ${words[0]} instead of directly adsysctl allows to handle aliases args=("${words[@]:1}") requestComp="${words[0]} __complete ${args[*]}" lastParam=${words[$((${#words[@]}-1))]} lastChar=${lastParam:$((${#lastParam}-1)):1} __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" if [ -z "${cur}" ] && [ "${lastChar}" != "=" ]; then # If the last parameter is complete (there is a space following it) # We add an extra empty parameter so we can indicate this to the go method. __adsysctl_debug "Adding extra empty parameter" requestComp="${requestComp} ''" fi # When completing a flag with an = (e.g., adsysctl -n=) # bash focuses on the part after the =, so we need to remove # the flag part from $cur if [[ "${cur}" == -*=* ]]; then cur="${cur#*=}" fi __adsysctl_debug "Calling ${requestComp}" # Use eval to handle any environment variables and such out=$(eval "${requestComp}" 2>/dev/null) # Extract the directive integer at the very end of the output following a colon (:) directive=${out##*:} # Remove the directive out=${out%:*} if [ "${directive}" = "${out}" ]; then # There is not directive specified directive=0 fi __adsysctl_debug "The completion directive is: ${directive}" __adsysctl_debug "The completions are: ${out}" } __adsysctl_process_completion_results() { local shellCompDirectiveError=1 local shellCompDirectiveNoSpace=2 local shellCompDirectiveNoFileComp=4 local shellCompDirectiveFilterFileExt=8 local shellCompDirectiveFilterDirs=16 if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then # Error code. No completion. __adsysctl_debug "Received error from custom completion go code" return else if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysctl_debug "Activating no space" compopt -o nospace else __adsysctl_debug "No space directive not supported in this version of bash" fi fi if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysctl_debug "Activating no file completion" compopt +o default else __adsysctl_debug "No file completion directive not supported in this version of bash" fi fi fi # Separate activeHelp from normal completions local completions=() local activeHelp=() __adsysctl_extract_activeHelp if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then # File extension filtering local fullFilter filter filteringCmd # Do not use quotes around the $completions variable or else newline # characters will be kept. for filter in ${completions[*]}; do fullFilter+="$filter|" done filteringCmd="_filedir $fullFilter" __adsysctl_debug "File filtering command: $filteringCmd" $filteringCmd elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then # File completion for directories only # Use printf to strip any trailing newline local subdir subdir=$(printf "%s" "${completions[0]}") if [ -n "$subdir" ]; then __adsysctl_debug "Listing directories in $subdir" pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return else __adsysctl_debug "Listing directories in ." _filedir -d fi else __adsysctl_handle_completion_types fi __adsysctl_handle_special_char "$cur" : __adsysctl_handle_special_char "$cur" = # Print the activeHelp statements before we finish if [ ${#activeHelp} -ne 0 ]; then printf "\n"; printf "%s\n" "${activeHelp[@]}" printf "\n" # The prompt format is only available from bash 4.4. # We test if it is available before using it. if (x=${PS1@P}) 2> /dev/null; then printf "%s" "${PS1@P}${COMP_LINE[@]}" else # Can't print the prompt. Just print the # text the user had typed, it is workable enough. printf "%s" "${COMP_LINE[@]}" fi fi } # Separate activeHelp lines from real completions. # Fills the $activeHelp and $completions arrays. __adsysctl_extract_activeHelp() { local activeHelpMarker="_activeHelp_ " local endIndex=${#activeHelpMarker} while IFS='' read -r comp; do if [ "${comp:0:endIndex}" = "$activeHelpMarker" ]; then comp=${comp:endIndex} __adsysctl_debug "ActiveHelp found: $comp" if [ -n "$comp" ]; then activeHelp+=("$comp") fi else # Not an activeHelp line but a normal completion completions+=("$comp") fi done < <(printf "%s\n" "${out}") } __adsysctl_handle_completion_types() { __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" case $COMP_TYPE in 37|42) # Type: menu-complete/menu-complete-backward and insert-completions # If the user requested inserting one completion at a time, or all # completions at once on the command-line we must remove the descriptions. # https://github.com/spf13/cobra/issues/1508 local tab=$'\t' comp while IFS='' read -r comp; do [[ -z $comp ]] && continue # Strip any description comp=${comp%%$tab*} # Only consider the completions that match if [[ $comp == "$cur"* ]]; then COMPREPLY+=("$comp") fi done < <(printf "%s\n" "${completions[@]}") ;; *) # Type: complete (normal completion) __adsysctl_handle_standard_completion_case ;; esac } __adsysctl_handle_standard_completion_case() { local tab=$'\t' comp # Short circuit to optimize if we don't have descriptions if [[ "${completions[*]}" != *$tab* ]]; then IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") return 0 fi local longest=0 local compline # Look for the longest completion so that we can format things nicely while IFS='' read -r compline; do [[ -z $compline ]] && continue # Strip any description before checking the length comp=${compline%%$tab*} # Only consider the completions that match [[ $comp == "$cur"* ]] || continue COMPREPLY+=("$compline") if ((${#comp}>longest)); then longest=${#comp} fi done < <(printf "%s\n" "${completions[@]}") # If there is a single completion left, remove the description text if [ ${#COMPREPLY[*]} -eq 1 ]; then __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" comp="${COMPREPLY[0]%%$tab*}" __adsysctl_debug "Removed description from single completion, which is now: ${comp}" COMPREPLY[0]=$comp else # Format the descriptions __adsysctl_format_comp_descriptions $longest fi } __adsysctl_handle_special_char() { local comp="$1" local char=$2 if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then local word=${comp%"${comp##*${char}}"} local idx=${#COMPREPLY[*]} while [[ $((--idx)) -ge 0 ]]; do COMPREPLY[$idx]=${COMPREPLY[$idx]#"$word"} done fi } __adsysctl_format_comp_descriptions() { local tab=$'\t' local comp desc maxdesclength local longest=$1 local i ci for ci in ${!COMPREPLY[*]}; do comp=${COMPREPLY[ci]} # Properly format the description string which follows a tab character if there is one if [[ "$comp" == *$tab* ]]; then __adsysctl_debug "Original comp: $comp" desc=${comp#*$tab} comp=${comp%%$tab*} # $COLUMNS stores the current shell width. # Remove an extra 4 because we add 2 spaces and 2 parentheses. maxdesclength=$(( COLUMNS - longest - 4 )) # Make sure we can fit a description of at least 8 characters # if we are to align the descriptions. if [[ $maxdesclength -gt 8 ]]; then # Add the proper number of spaces to align the descriptions for ((i = ${#comp} ; i < longest ; i++)); do comp+=" " done else # Don't pad the descriptions so we can fit more text after the completion maxdesclength=$(( COLUMNS - ${#comp} - 4 )) fi # If there is enough space for any description text, # truncate the descriptions that are too long for the shell width if [ $maxdesclength -gt 0 ]; then if [ ${#desc} -gt $maxdesclength ]; then desc=${desc:0:$(( maxdesclength - 1 ))} desc+="…" fi comp+=" ($desc)" fi COMPREPLY[ci]=$comp __adsysctl_debug "Final comp: $comp" fi done } __start_adsysctl() { local cur prev words cword split COMPREPLY=() # Call _init_completion from the bash-completion package # to prepare the arguments properly if declare -F _init_completion >/dev/null 2>&1; then _init_completion -n "=:" || return else __adsysctl_init_completion -n "=:" || return fi __adsysctl_debug __adsysctl_debug "========= starting completion logic ==========" __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" # The user could have moved the cursor backwards on the command-line. # We need to trigger completion from the $cword location, so we need # to truncate the command-line ($words) up to the $cword location. words=("${words[@]:0:$cword+1}") __adsysctl_debug "Truncated words[*]: ${words[*]}," local out directive __adsysctl_get_completion_results __adsysctl_process_completion_results } if [[ $(type -t compopt) = "builtin" ]]; then complete -o default -F __start_adsysctl adsysctl else complete -o default -o nospace -F __start_adsysctl adsysctl fi # ex: ts=4 sw=4 et filetype=sh --- PASS: TestAppNoUsageError (0.03s) === RUN TestAppUsageError Usage: adsysctl COMMAND [flags] adsysctl [command] Available Commands: applied Print last applied GPOs for current or given user/machine completion Generate the autocompletion script for the specified shell doc Documentation help Help about any command policy Policy management service Service management update Updates/Create a policy for current user or given user with its kerberos ticket version Returns version of client and service Flags: -c, --config string use a specific configuration file -h, --help help for adsysctl -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output Use "adsysctl [command] --help" for more information about a command. --- PASS: TestAppUsageError (0.03s) === RUN TestAppCanQuitWhenExecute --- PASS: TestAppCanQuitWhenExecute (0.04s) === RUN TestAppCanQuitAfterExecute # bash completion V2 for adsysctl -*- shell-script -*- __adsysctl_debug() { if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then echo "$*" >> "${BASH_COMP_DEBUG_FILE}" fi } # Macs have bash3 for which the bash-completion package doesn't include # _init_completion. This is a minimal version of that function. __adsysctl_init_completion() { COMPREPLY=() _get_comp_words_by_ref "$@" cur prev words cword } # This function calls the adsysctl program to obtain the completion # results and the directive. It fills the 'out' and 'directive' vars. __adsysctl_get_completion_results() { local requestComp lastParam lastChar args # Prepare the command to request completions for the program. # Calling ${words[0]} instead of directly adsysctl allows to handle aliases args=("${words[@]:1}") requestComp="${words[0]} __complete ${args[*]}" lastParam=${words[$((${#words[@]}-1))]} lastChar=${lastParam:$((${#lastParam}-1)):1} __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" if [ -z "${cur}" ] && [ "${lastChar}" != "=" ]; then # If the last parameter is complete (there is a space following it) # We add an extra empty parameter so we can indicate this to the go method. __adsysctl_debug "Adding extra empty parameter" requestComp="${requestComp} ''" fi # When completing a flag with an = (e.g., adsysctl -n=) # bash focuses on the part after the =, so we need to remove # the flag part from $cur if [[ "${cur}" == -*=* ]]; then cur="${cur#*=}" fi __adsysctl_debug "Calling ${requestComp}" # Use eval to handle any environment variables and such out=$(eval "${requestComp}" 2>/dev/null) # Extract the directive integer at the very end of the output following a colon (:) directive=${out##*:} # Remove the directive out=${out%:*} if [ "${directive}" = "${out}" ]; then # There is not directive specified directive=0 fi __adsysctl_debug "The completion directive is: ${directive}" __adsysctl_debug "The completions are: ${out}" } __adsysctl_process_completion_results() { local shellCompDirectiveError=1 local shellCompDirectiveNoSpace=2 local shellCompDirectiveNoFileComp=4 local shellCompDirectiveFilterFileExt=8 local shellCompDirectiveFilterDirs=16 if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then # Error code. No completion. __adsysctl_debug "Received error from custom completion go code" return else if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysctl_debug "Activating no space" compopt -o nospace else __adsysctl_debug "No space directive not supported in this version of bash" fi fi if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysctl_debug "Activating no file completion" compopt +o default else __adsysctl_debug "No file completion directive not supported in this version of bash" fi fi fi # Separate activeHelp from normal completions local completions=() local activeHelp=() __adsysctl_extract_activeHelp if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then # File extension filtering local fullFilter filter filteringCmd # Do not use quotes around the $completions variable or else newline # characters will be kept. for filter in ${completions[*]}; do fullFilter+="$filter|" done filteringCmd="_filedir $fullFilter" __adsysctl_debug "File filtering command: $filteringCmd" $filteringCmd elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then # File completion for directories only # Use printf to strip any trailing newline local subdir subdir=$(printf "%s" "${completions[0]}") if [ -n "$subdir" ]; then __adsysctl_debug "Listing directories in $subdir" pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return else __adsysctl_debug "Listing directories in ." _filedir -d fi else __adsysctl_handle_completion_types fi __adsysctl_handle_special_char "$cur" : __adsysctl_handle_special_char "$cur" = # Print the activeHelp statements before we finish if [ ${#activeHelp} -ne 0 ]; then printf "\n"; printf "%s\n" "${activeHelp[@]}" printf "\n" # The prompt format is only available from bash 4.4. # We test if it is available before using it. if (x=${PS1@P}) 2> /dev/null; then printf "%s" "${PS1@P}${COMP_LINE[@]}" else # Can't print the prompt. Just print the # text the user had typed, it is workable enough. printf "%s" "${COMP_LINE[@]}" fi fi } # Separate activeHelp lines from real completions. # Fills the $activeHelp and $completions arrays. __adsysctl_extract_activeHelp() { local activeHelpMarker="_activeHelp_ " local endIndex=${#activeHelpMarker} while IFS='' read -r comp; do if [ "${comp:0:endIndex}" = "$activeHelpMarker" ]; then comp=${comp:endIndex} __adsysctl_debug "ActiveHelp found: $comp" if [ -n "$comp" ]; then activeHelp+=("$comp") fi else # Not an activeHelp line but a normal completion completions+=("$comp") fi done < <(printf "%s\n" "${out}") } __adsysctl_handle_completion_types() { __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" case $COMP_TYPE in 37|42) # Type: menu-complete/menu-complete-backward and insert-completions # If the user requested inserting one completion at a time, or all # completions at once on the command-line we must remove the descriptions. # https://github.com/spf13/cobra/issues/1508 local tab=$'\t' comp while IFS='' read -r comp; do [[ -z $comp ]] && continue # Strip any description comp=${comp%%$tab*} # Only consider the completions that match if [[ $comp == "$cur"* ]]; then COMPREPLY+=("$comp") fi done < <(printf "%s\n" "${completions[@]}") ;; *) # Type: complete (normal completion) __adsysctl_handle_standard_completion_case ;; esac } __adsysctl_handle_standard_completion_case() { local tab=$'\t' comp # Short circuit to optimize if we don't have descriptions if [[ "${completions[*]}" != *$tab* ]]; then IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") return 0 fi local longest=0 local compline # Look for the longest completion so that we can format things nicely while IFS='' read -r compline; do [[ -z $compline ]] && continue # Strip any description before checking the length comp=${compline%%$tab*} # Only consider the completions that match [[ $comp == "$cur"* ]] || continue COMPREPLY+=("$compline") if ((${#comp}>longest)); then longest=${#comp} fi done < <(printf "%s\n" "${completions[@]}") # If there is a single completion left, remove the description text if [ ${#COMPREPLY[*]} -eq 1 ]; then __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" comp="${COMPREPLY[0]%%$tab*}" __adsysctl_debug "Removed description from single completion, which is now: ${comp}" COMPREPLY[0]=$comp else # Format the descriptions __adsysctl_format_comp_descriptions $longest fi } __adsysctl_handle_special_char() { local comp="$1" local char=$2 if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then local word=${comp%"${comp##*${char}}"} local idx=${#COMPREPLY[*]} while [[ $((--idx)) -ge 0 ]]; do COMPREPLY[$idx]=${COMPREPLY[$idx]#"$word"} done fi } __adsysctl_format_comp_descriptions() { local tab=$'\t' local comp desc maxdesclength local longest=$1 local i ci for ci in ${!COMPREPLY[*]}; do comp=${COMPREPLY[ci]} # Properly format the description string which follows a tab character if there is one if [[ "$comp" == *$tab* ]]; then __adsysctl_debug "Original comp: $comp" desc=${comp#*$tab} comp=${comp%%$tab*} # $COLUMNS stores the current shell width. # Remove an extra 4 because we add 2 spaces and 2 parentheses. maxdesclength=$(( COLUMNS - longest - 4 )) # Make sure we can fit a description of at least 8 characters # if we are to align the descriptions. if [[ $maxdesclength -gt 8 ]]; then # Add the proper number of spaces to align the descriptions for ((i = ${#comp} ; i < longest ; i++)); do comp+=" " done else # Don't pad the descriptions so we can fit more text after the completion maxdesclength=$(( COLUMNS - ${#comp} - 4 )) fi # If there is enough space for any description text, # truncate the descriptions that are too long for the shell width if [ $maxdesclength -gt 0 ]; then if [ ${#desc} -gt $maxdesclength ]; then desc=${desc:0:$(( maxdesclength - 1 ))} desc+="…" fi comp+=" ($desc)" fi COMPREPLY[ci]=$comp __adsysctl_debug "Final comp: $comp" fi done } __start_adsysctl() { local cur prev words cword split COMPREPLY=() # Call _init_completion from the bash-completion package # to prepare the arguments properly if declare -F _init_completion >/dev/null 2>&1; then _init_completion -n "=:" || return else __adsysctl_init_completion -n "=:" || return fi __adsysctl_debug __adsysctl_debug "========= starting completion logic ==========" __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" # The user could have moved the cursor backwards on the command-line. # We need to trigger completion from the $cword location, so we need # to truncate the command-line ($words) up to the $cword location. words=("${words[@]:0:$cword+1}") __adsysctl_debug "Truncated words[*]: ${words[*]}," local out directive __adsysctl_get_completion_results __adsysctl_process_completion_results } if [[ $(type -t compopt) = "builtin" ]]; then complete -o default -F __start_adsysctl adsysctl else complete -o default -o nospace -F __start_adsysctl adsysctl fi # ex: ts=4 sw=4 et filetype=sh --- PASS: TestAppCanQuitAfterExecute (0.03s) === RUN TestAppCanQuitWithoutExecute --- PASS: TestAppCanQuitWithoutExecute (0.00s) === RUN TestAppCanSigHupWhenExecute --- PASS: TestAppCanSigHupWhenExecute (0.02s) === RUN TestAppCanSigHupAfterExecute # bash completion V2 for adsysctl -*- shell-script -*- __adsysctl_debug() { if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then echo "$*" >> "${BASH_COMP_DEBUG_FILE}" fi } # Macs have bash3 for which the bash-completion package doesn't include # _init_completion. This is a minimal version of that function. __adsysctl_init_completion() { COMPREPLY=() _get_comp_words_by_ref "$@" cur prev words cword } # This function calls the adsysctl program to obtain the completion # results and the directive. It fills the 'out' and 'directive' vars. __adsysctl_get_completion_results() { local requestComp lastParam lastChar args # Prepare the command to request completions for the program. # Calling ${words[0]} instead of directly adsysctl allows to handle aliases args=("${words[@]:1}") requestComp="${words[0]} __complete ${args[*]}" lastParam=${words[$((${#words[@]}-1))]} lastChar=${lastParam:$((${#lastParam}-1)):1} __adsysctl_debug "lastParam ${lastParam}, lastChar ${lastChar}" if [ -z "${cur}" ] && [ "${lastChar}" != "=" ]; then # If the last parameter is complete (there is a space following it) # We add an extra empty parameter so we can indicate this to the go method. __adsysctl_debug "Adding extra empty parameter" requestComp="${requestComp} ''" fi # When completing a flag with an = (e.g., adsysctl -n=) # bash focuses on the part after the =, so we need to remove # the flag part from $cur if [[ "${cur}" == -*=* ]]; then cur="${cur#*=}" fi __adsysctl_debug "Calling ${requestComp}" # Use eval to handle any environment variables and such out=$(eval "${requestComp}" 2>/dev/null) # Extract the directive integer at the very end of the output following a colon (:) directive=${out##*:} # Remove the directive out=${out%:*} if [ "${directive}" = "${out}" ]; then # There is not directive specified directive=0 fi __adsysctl_debug "The completion directive is: ${directive}" __adsysctl_debug "The completions are: ${out}" } __adsysctl_process_completion_results() { local shellCompDirectiveError=1 local shellCompDirectiveNoSpace=2 local shellCompDirectiveNoFileComp=4 local shellCompDirectiveFilterFileExt=8 local shellCompDirectiveFilterDirs=16 if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then # Error code. No completion. __adsysctl_debug "Received error from custom completion go code" return else if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysctl_debug "Activating no space" compopt -o nospace else __adsysctl_debug "No space directive not supported in this version of bash" fi fi if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysctl_debug "Activating no file completion" compopt +o default else __adsysctl_debug "No file completion directive not supported in this version of bash" fi fi fi # Separate activeHelp from normal completions local completions=() local activeHelp=() __adsysctl_extract_activeHelp if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then # File extension filtering local fullFilter filter filteringCmd # Do not use quotes around the $completions variable or else newline # characters will be kept. for filter in ${completions[*]}; do fullFilter+="$filter|" done filteringCmd="_filedir $fullFilter" __adsysctl_debug "File filtering command: $filteringCmd" $filteringCmd elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then # File completion for directories only # Use printf to strip any trailing newline local subdir subdir=$(printf "%s" "${completions[0]}") if [ -n "$subdir" ]; then __adsysctl_debug "Listing directories in $subdir" pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return else __adsysctl_debug "Listing directories in ." _filedir -d fi else __adsysctl_handle_completion_types fi __adsysctl_handle_special_char "$cur" : __adsysctl_handle_special_char "$cur" = # Print the activeHelp statements before we finish if [ ${#activeHelp} -ne 0 ]; then printf "\n"; printf "%s\n" "${activeHelp[@]}" printf "\n" # The prompt format is only available from bash 4.4. # We test if it is available before using it. if (x=${PS1@P}) 2> /dev/null; then printf "%s" "${PS1@P}${COMP_LINE[@]}" else # Can't print the prompt. Just print the # text the user had typed, it is workable enough. printf "%s" "${COMP_LINE[@]}" fi fi } # Separate activeHelp lines from real completions. # Fills the $activeHelp and $completions arrays. __adsysctl_extract_activeHelp() { local activeHelpMarker="_activeHelp_ " local endIndex=${#activeHelpMarker} while IFS='' read -r comp; do if [ "${comp:0:endIndex}" = "$activeHelpMarker" ]; then comp=${comp:endIndex} __adsysctl_debug "ActiveHelp found: $comp" if [ -n "$comp" ]; then activeHelp+=("$comp") fi else # Not an activeHelp line but a normal completion completions+=("$comp") fi done < <(printf "%s\n" "${out}") } __adsysctl_handle_completion_types() { __adsysctl_debug "__adsysctl_handle_completion_types: COMP_TYPE is $COMP_TYPE" case $COMP_TYPE in 37|42) # Type: menu-complete/menu-complete-backward and insert-completions # If the user requested inserting one completion at a time, or all # completions at once on the command-line we must remove the descriptions. # https://github.com/spf13/cobra/issues/1508 local tab=$'\t' comp while IFS='' read -r comp; do [[ -z $comp ]] && continue # Strip any description comp=${comp%%$tab*} # Only consider the completions that match if [[ $comp == "$cur"* ]]; then COMPREPLY+=("$comp") fi done < <(printf "%s\n" "${completions[@]}") ;; *) # Type: complete (normal completion) __adsysctl_handle_standard_completion_case ;; esac } __adsysctl_handle_standard_completion_case() { local tab=$'\t' comp # Short circuit to optimize if we don't have descriptions if [[ "${completions[*]}" != *$tab* ]]; then IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") return 0 fi local longest=0 local compline # Look for the longest completion so that we can format things nicely while IFS='' read -r compline; do [[ -z $compline ]] && continue # Strip any description before checking the length comp=${compline%%$tab*} # Only consider the completions that match [[ $comp == "$cur"* ]] || continue COMPREPLY+=("$compline") if ((${#comp}>longest)); then longest=${#comp} fi done < <(printf "%s\n" "${completions[@]}") # If there is a single completion left, remove the description text if [ ${#COMPREPLY[*]} -eq 1 ]; then __adsysctl_debug "COMPREPLY[0]: ${COMPREPLY[0]}" comp="${COMPREPLY[0]%%$tab*}" __adsysctl_debug "Removed description from single completion, which is now: ${comp}" COMPREPLY[0]=$comp else # Format the descriptions __adsysctl_format_comp_descriptions $longest fi } __adsysctl_handle_special_char() { local comp="$1" local char=$2 if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then local word=${comp%"${comp##*${char}}"} local idx=${#COMPREPLY[*]} while [[ $((--idx)) -ge 0 ]]; do COMPREPLY[$idx]=${COMPREPLY[$idx]#"$word"} done fi } __adsysctl_format_comp_descriptions() { local tab=$'\t' local comp desc maxdesclength local longest=$1 local i ci for ci in ${!COMPREPLY[*]}; do comp=${COMPREPLY[ci]} # Properly format the description string which follows a tab character if there is one if [[ "$comp" == *$tab* ]]; then __adsysctl_debug "Original comp: $comp" desc=${comp#*$tab} comp=${comp%%$tab*} # $COLUMNS stores the current shell width. # Remove an extra 4 because we add 2 spaces and 2 parentheses. maxdesclength=$(( COLUMNS - longest - 4 )) # Make sure we can fit a description of at least 8 characters # if we are to align the descriptions. if [[ $maxdesclength -gt 8 ]]; then # Add the proper number of spaces to align the descriptions for ((i = ${#comp} ; i < longest ; i++)); do comp+=" " done else # Don't pad the descriptions so we can fit more text after the completion maxdesclength=$(( COLUMNS - ${#comp} - 4 )) fi # If there is enough space for any description text, # truncate the descriptions that are too long for the shell width if [ $maxdesclength -gt 0 ]; then if [ ${#desc} -gt $maxdesclength ]; then desc=${desc:0:$(( maxdesclength - 1 ))} desc+="…" fi comp+=" ($desc)" fi COMPREPLY[ci]=$comp __adsysctl_debug "Final comp: $comp" fi done } __start_adsysctl() { local cur prev words cword split COMPREPLY=() # Call _init_completion from the bash-completion package # to prepare the arguments properly if declare -F _init_completion >/dev/null 2>&1; then _init_completion -n "=:" || return else __adsysctl_init_completion -n "=:" || return fi __adsysctl_debug __adsysctl_debug "========= starting completion logic ==========" __adsysctl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" # The user could have moved the cursor backwards on the command-line. # We need to trigger completion from the $cword location, so we need # to truncate the command-line ($words) up to the $cword location. words=("${words[@]:0:$cword+1}") __adsysctl_debug "Truncated words[*]: ${words[*]}," local out directive __adsysctl_get_completion_results __adsysctl_process_completion_results } if [[ $(type -t compopt) = "builtin" ]]; then complete -o default -F __start_adsysctl adsysctl else complete -o default -o nospace -F __start_adsysctl adsysctl fi # ex: ts=4 sw=4 et filetype=sh --- PASS: TestAppCanSigHupAfterExecute (0.04s) === RUN TestAppGetRootCmd === PAUSE TestAppGetRootCmd === CONT TestInitApp === CONT TestAppGetRootCmd --- PASS: TestAppGetRootCmd (0.00s) Usage: adsysctl COMMAND [flags] adsysctl [command] Available Commands: applied Print last applied GPOs for current or given user/machine completion Generate the autocompletion script for the specified shell doc Documentation help Help about any command policy Policy management service Service management update Updates/Create a policy for current user or given user with its kerberos ticket version Returns version of client and service Flags: -c, --config string use a specific configuration file -h, --help help for adsysctl -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") -t, --timeout int time in seconds before cancelling the client request when the server gives no result. 0 for no timeout. (default 30) -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output Use "adsysctl [command] --help" for more information about a command. --- PASS: TestInitApp (0.03s) PASS ok github.com/ubuntu/adsys/cmd/adsysd/client 4.572s === RUN TestAppHelp Active Directory integration bridging toolset daemon. Usage: adsysd COMMAND [flags] adsysd [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command version Returns version of service and exits Flags: --ad-default-domain-suffix string AD default domain suffix to use. This overrides parsing sssd.conf. -D, --ad-domain string AD domain to use. This overrides parsing sssd.conf -S, --ad-server string URL of the Active Directory server. This overrides parsing sssd.conf. --cache-dir string directory where ADsys caches GPOs downloads and policies. (default "/var/cache/adsys") -c, --config string use a specific configuration file -h, --help help for adsysd --run-dir string directory where ADsys stores transient information erased on reboot. (default "/run/adsys") -s, --socket string socket path to use between daemon and client. Can be overridden by systemd socket activation. (default "/run/adsysd.sock") -t, --timeout int time in seconds without activity before the service exists. 0 for no timeout. (default 120) -v, --verbose count issue INFO (-v), DEBUG (-vv) or DEBUG with caller (-vvv) output Use "adsysd [command] --help" for more information about a command. --- PASS: TestAppHelp (0.16s) === RUN TestAppCompletion # bash completion V2 for adsysd -*- shell-script -*- __adsysd_debug() { if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then echo "$*" >> "${BASH_COMP_DEBUG_FILE}" fi } # Macs have bash3 for which the bash-completion package doesn't include # _init_completion. This is a minimal version of that function. __adsysd_init_completion() { COMPREPLY=() _get_comp_words_by_ref "$@" cur prev words cword } # This function calls the adsysd program to obtain the completion # results and the directive. It fills the 'out' and 'directive' vars. __adsysd_get_completion_results() { local requestComp lastParam lastChar args # Prepare the command to request completions for the program. # Calling ${words[0]} instead of directly adsysd allows to handle aliases args=("${words[@]:1}") requestComp="${words[0]} __complete ${args[*]}" lastParam=${words[$((${#words[@]}-1))]} lastChar=${lastParam:$((${#lastParam}-1)):1} __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" if [ -z "${cur}" ] && [ "${lastChar}" != "=" ]; then # If the last parameter is complete (there is a space following it) # We add an extra empty parameter so we can indicate this to the go method. __adsysd_debug "Adding extra empty parameter" requestComp="${requestComp} ''" fi # When completing a flag with an = (e.g., adsysd -n=) # bash focuses on the part after the =, so we need to remove # the flag part from $cur if [[ "${cur}" == -*=* ]]; then cur="${cur#*=}" fi __adsysd_debug "Calling ${requestComp}" # Use eval to handle any environment variables and such out=$(eval "${requestComp}" 2>/dev/null) # Extract the directive integer at the very end of the output following a colon (:) directive=${out##*:} # Remove the directive out=${out%:*} if [ "${directive}" = "${out}" ]; then # There is not directive specified directive=0 fi __adsysd_debug "The completion directive is: ${directive}" __adsysd_debug "The completions are: ${out}" } __adsysd_process_completion_results() { local shellCompDirectiveError=1 local shellCompDirectiveNoSpace=2 local shellCompDirectiveNoFileComp=4 local shellCompDirectiveFilterFileExt=8 local shellCompDirectiveFilterDirs=16 if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then # Error code. No completion. __adsysd_debug "Received error from custom completion go code" return else if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysd_debug "Activating no space" compopt -o nospace else __adsysd_debug "No space directive not supported in this version of bash" fi fi if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysd_debug "Activating no file completion" compopt +o default else __adsysd_debug "No file completion directive not supported in this version of bash" fi fi fi # Separate activeHelp from normal completions local completions=() local activeHelp=() __adsysd_extract_activeHelp if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then # File extension filtering local fullFilter filter filteringCmd # Do not use quotes around the $completions variable or else newline # characters will be kept. for filter in ${completions[*]}; do fullFilter+="$filter|" done filteringCmd="_filedir $fullFilter" __adsysd_debug "File filtering command: $filteringCmd" $filteringCmd elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then # File completion for directories only # Use printf to strip any trailing newline local subdir subdir=$(printf "%s" "${completions[0]}") if [ -n "$subdir" ]; then __adsysd_debug "Listing directories in $subdir" pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return else __adsysd_debug "Listing directories in ." _filedir -d fi else __adsysd_handle_completion_types fi __adsysd_handle_special_char "$cur" : __adsysd_handle_special_char "$cur" = # Print the activeHelp statements before we finish if [ ${#activeHelp} -ne 0 ]; then printf "\n"; printf "%s\n" "${activeHelp[@]}" printf "\n" # The prompt format is only available from bash 4.4. # We test if it is available before using it. if (x=${PS1@P}) 2> /dev/null; then printf "%s" "${PS1@P}${COMP_LINE[@]}" else # Can't print the prompt. Just print the # text the user had typed, it is workable enough. printf "%s" "${COMP_LINE[@]}" fi fi } # Separate activeHelp lines from real completions. # Fills the $activeHelp and $completions arrays. __adsysd_extract_activeHelp() { local activeHelpMarker="_activeHelp_ " local endIndex=${#activeHelpMarker} while IFS='' read -r comp; do if [ "${comp:0:endIndex}" = "$activeHelpMarker" ]; then comp=${comp:endIndex} __adsysd_debug "ActiveHelp found: $comp" if [ -n "$comp" ]; then activeHelp+=("$comp") fi else # Not an activeHelp line but a normal completion completions+=("$comp") fi done < <(printf "%s\n" "${out}") } __adsysd_handle_completion_types() { __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" case $COMP_TYPE in 37|42) # Type: menu-complete/menu-complete-backward and insert-completions # If the user requested inserting one completion at a time, or all # completions at once on the command-line we must remove the descriptions. # https://github.com/spf13/cobra/issues/1508 local tab=$'\t' comp while IFS='' read -r comp; do [[ -z $comp ]] && continue # Strip any description comp=${comp%%$tab*} # Only consider the completions that match if [[ $comp == "$cur"* ]]; then COMPREPLY+=("$comp") fi done < <(printf "%s\n" "${completions[@]}") ;; *) # Type: complete (normal completion) __adsysd_handle_standard_completion_case ;; esac } __adsysd_handle_standard_completion_case() { local tab=$'\t' comp # Short circuit to optimize if we don't have descriptions if [[ "${completions[*]}" != *$tab* ]]; then IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") return 0 fi local longest=0 local compline # Look for the longest completion so that we can format things nicely while IFS='' read -r compline; do [[ -z $compline ]] && continue # Strip any description before checking the length comp=${compline%%$tab*} # Only consider the completions that match [[ $comp == "$cur"* ]] || continue COMPREPLY+=("$compline") if ((${#comp}>longest)); then longest=${#comp} fi done < <(printf "%s\n" "${completions[@]}") # If there is a single completion left, remove the description text if [ ${#COMPREPLY[*]} -eq 1 ]; then __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" comp="${COMPREPLY[0]%%$tab*}" __adsysd_debug "Removed description from single completion, which is now: ${comp}" COMPREPLY[0]=$comp else # Format the descriptions __adsysd_format_comp_descriptions $longest fi } __adsysd_handle_special_char() { local comp="$1" local char=$2 if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then local word=${comp%"${comp##*${char}}"} local idx=${#COMPREPLY[*]} while [[ $((--idx)) -ge 0 ]]; do COMPREPLY[$idx]=${COMPREPLY[$idx]#"$word"} done fi } __adsysd_format_comp_descriptions() { local tab=$'\t' local comp desc maxdesclength local longest=$1 local i ci for ci in ${!COMPREPLY[*]}; do comp=${COMPREPLY[ci]} # Properly format the description string which follows a tab character if there is one if [[ "$comp" == *$tab* ]]; then __adsysd_debug "Original comp: $comp" desc=${comp#*$tab} comp=${comp%%$tab*} # $COLUMNS stores the current shell width. # Remove an extra 4 because we add 2 spaces and 2 parentheses. maxdesclength=$(( COLUMNS - longest - 4 )) # Make sure we can fit a description of at least 8 characters # if we are to align the descriptions. if [[ $maxdesclength -gt 8 ]]; then # Add the proper number of spaces to align the descriptions for ((i = ${#comp} ; i < longest ; i++)); do comp+=" " done else # Don't pad the descriptions so we can fit more text after the completion maxdesclength=$(( COLUMNS - ${#comp} - 4 )) fi # If there is enough space for any description text, # truncate the descriptions that are too long for the shell width if [ $maxdesclength -gt 0 ]; then if [ ${#desc} -gt $maxdesclength ]; then desc=${desc:0:$(( maxdesclength - 1 ))} desc+="…" fi comp+=" ($desc)" fi COMPREPLY[ci]=$comp __adsysd_debug "Final comp: $comp" fi done } __start_adsysd() { local cur prev words cword split COMPREPLY=() # Call _init_completion from the bash-completion package # to prepare the arguments properly if declare -F _init_completion >/dev/null 2>&1; then _init_completion -n "=:" || return else __adsysd_init_completion -n "=:" || return fi __adsysd_debug __adsysd_debug "========= starting completion logic ==========" __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" # The user could have moved the cursor backwards on the command-line. # We need to trigger completion from the $cword location, so we need # to truncate the command-line ($words) up to the $cword location. words=("${words[@]:0:$cword+1}") __adsysd_debug "Truncated words[*]: ${words[*]}," local out directive __adsysd_get_completion_results __adsysd_process_completion_results } if [[ $(type -t compopt) = "builtin" ]]; then complete -o default -F __start_adsysd adsysd else complete -o default -o nospace -F __start_adsysd adsysd fi # ex: ts=4 sw=4 et filetype=sh --- PASS: TestAppCompletion (0.08s) === RUN TestAppVersion --- PASS: TestAppVersion (0.06s) === RUN TestAppNoUsageError # bash completion V2 for adsysd -*- shell-script -*- __adsysd_debug() { if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then echo "$*" >> "${BASH_COMP_DEBUG_FILE}" fi } # Macs have bash3 for which the bash-completion package doesn't include # _init_completion. This is a minimal version of that function. __adsysd_init_completion() { COMPREPLY=() _get_comp_words_by_ref "$@" cur prev words cword } # This function calls the adsysd program to obtain the completion # results and the directive. It fills the 'out' and 'directive' vars. __adsysd_get_completion_results() { local requestComp lastParam lastChar args # Prepare the command to request completions for the program. # Calling ${words[0]} instead of directly adsysd allows to handle aliases args=("${words[@]:1}") requestComp="${words[0]} __complete ${args[*]}" lastParam=${words[$((${#words[@]}-1))]} lastChar=${lastParam:$((${#lastParam}-1)):1} __adsysd_debug "lastParam ${lastParam}, lastChar ${lastChar}" if [ -z "${cur}" ] && [ "${lastChar}" != "=" ]; then # If the last parameter is complete (there is a space following it) # We add an extra empty parameter so we can indicate this to the go method. __adsysd_debug "Adding extra empty parameter" requestComp="${requestComp} ''" fi # When completing a flag with an = (e.g., adsysd -n=) # bash focuses on the part after the =, so we need to remove # the flag part from $cur if [[ "${cur}" == -*=* ]]; then cur="${cur#*=}" fi __adsysd_debug "Calling ${requestComp}" # Use eval to handle any environment variables and such out=$(eval "${requestComp}" 2>/dev/null) # Extract the directive integer at the very end of the output following a colon (:) directive=${out##*:} # Remove the directive out=${out%:*} if [ "${directive}" = "${out}" ]; then # There is not directive specified directive=0 fi __adsysd_debug "The completion directive is: ${directive}" __adsysd_debug "The completions are: ${out}" } __adsysd_process_completion_results() { local shellCompDirectiveError=1 local shellCompDirectiveNoSpace=2 local shellCompDirectiveNoFileComp=4 local shellCompDirectiveFilterFileExt=8 local shellCompDirectiveFilterDirs=16 if [ $((directive & shellCompDirectiveError)) -ne 0 ]; then # Error code. No completion. __adsysd_debug "Received error from custom completion go code" return else if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysd_debug "Activating no space" compopt -o nospace else __adsysd_debug "No space directive not supported in this version of bash" fi fi if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then if [[ $(type -t compopt) = "builtin" ]]; then __adsysd_debug "Activating no file completion" compopt +o default else __adsysd_debug "No file completion directive not supported in this version of bash" fi fi fi # Separate activeHelp from normal completions local completions=() local activeHelp=() __adsysd_extract_activeHelp if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then # File extension filtering local fullFilter filter filteringCmd # Do not use quotes around the $completions variable or else newline # characters will be kept. for filter in ${completions[*]}; do fullFilter+="$filter|" done filteringCmd="_filedir $fullFilter" __adsysd_debug "File filtering command: $filteringCmd" $filteringCmd elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then # File completion for directories only # Use printf to strip any trailing newline local subdir subdir=$(printf "%s" "${completions[0]}") if [ -n "$subdir" ]; then __adsysd_debug "Listing directories in $subdir" pushd "$subdir" >/dev/null 2>&1 && _filedir -d && popd >/dev/null 2>&1 || return else __adsysd_debug "Listing directories in ." _filedir -d fi else __adsysd_handle_completion_types fi __adsysd_handle_special_char "$cur" : __adsysd_handle_special_char "$cur" = # Print the activeHelp statements before we finish if [ ${#activeHelp} -ne 0 ]; then printf "\n"; printf "%s\n" "${activeHelp[@]}" printf "\n" # The prompt format is only available from bash 4.4. # We test if it is available before using it. if (x=${PS1@P}) 2> /dev/null; then printf "%s" "${PS1@P}${COMP_LINE[@]}" else # Can't print the prompt. Just print the # text the user had typed, it is workable enough. printf "%s" "${COMP_LINE[@]}" fi fi } # Separate activeHelp lines from real completions. # Fills the $activeHelp and $completions arrays. __adsysd_extract_activeHelp() { local activeHelpMarker="_activeHelp_ " local endIndex=${#activeHelpMarker} while IFS='' read -r comp; do if [ "${comp:0:endIndex}" = "$activeHelpMarker" ]; then comp=${comp:endIndex} __adsysd_debug "ActiveHelp found: $comp" if [ -n "$comp" ]; then activeHelp+=("$comp") fi else # Not an activeHelp line but a normal completion completions+=("$comp") fi done < <(printf "%s\n" "${out}") } __adsysd_handle_completion_types() { __adsysd_debug "__adsysd_handle_completion_types: COMP_TYPE is $COMP_TYPE" case $COMP_TYPE in 37|42) # Type: menu-complete/menu-complete-backward and insert-completions # If the user requested inserting one completion at a time, or all # completions at once on the command-line we must remove the descriptions. # https://github.com/spf13/cobra/issues/1508 local tab=$'\t' comp while IFS='' read -r comp; do [[ -z $comp ]] && continue # Strip any description comp=${comp%%$tab*} # Only consider the completions that match if [[ $comp == "$cur"* ]]; then COMPREPLY+=("$comp") fi done < <(printf "%s\n" "${completions[@]}") ;; *) # Type: complete (normal completion) __adsysd_handle_standard_completion_case ;; esac } __adsysd_handle_standard_completion_case() { local tab=$'\t' comp # Short circuit to optimize if we don't have descriptions if [[ "${completions[*]}" != *$tab* ]]; then IFS=$'\n' read -ra COMPREPLY -d '' < <(compgen -W "${completions[*]}" -- "$cur") return 0 fi local longest=0 local compline # Look for the longest completion so that we can format things nicely while IFS='' read -r compline; do [[ -z $compline ]] && continue # Strip any description before checking the length comp=${compline%%$tab*} # Only consider the completions that match [[ $comp == "$cur"* ]] || continue COMPREPLY+=("$compline") if ((${#comp}>longest)); then longest=${#comp} fi done < <(printf "%s\n" "${completions[@]}") # If there is a single completion left, remove the description text if [ ${#COMPREPLY[*]} -eq 1 ]; then __adsysd_debug "COMPREPLY[0]: ${COMPREPLY[0]}" comp="${COMPREPLY[0]%%$tab*}" __adsysd_debug "Removed description from single completion, which is now: ${comp}" COMPREPLY[0]=$comp else # Format the descriptions __adsysd_format_comp_descriptions $longest fi } __adsysd_handle_special_char() { local comp="$1" local char=$2 if [[ "$comp" == *${char}* && "$COMP_WORDBREAKS" == *${char}* ]]; then local word=${comp%"${comp##*${char}}"} local idx=${#COMPREPLY[*]} while [[ $((--idx)) -ge 0 ]]; do COMPREPLY[$idx]=${COMPREPLY[$idx]#"$word"} done fi } __adsysd_format_comp_descriptions() { local tab=$'\t' local comp desc maxdesclength local longest=$1 local i ci for ci in ${!COMPREPLY[*]}; do comp=${COMPREPLY[ci]} # Properly format the description string which follows a tab character if there is one if [[ "$comp" == *$tab* ]]; then __adsysd_debug "Original comp: $comp" desc=${comp#*$tab} comp=${comp%%$tab*} # $COLUMNS stores the current shell width. # Remove an extra 4 because we add 2 spaces and 2 parentheses. maxdesclength=$(( COLUMNS - longest - 4 )) # Make sure we can fit a description of at least 8 characters # if we are to align the descriptions. if [[ $maxdesclength -gt 8 ]]; then # Add the proper number of spaces to align the descriptions for ((i = ${#comp} ; i < longest ; i++)); do comp+=" " done else # Don't pad the descriptions so we can fit more text after the completion maxdesclength=$(( COLUMNS - ${#comp} - 4 )) fi # If there is enough space for any description text, # truncate the descriptions that are too long for the shell width if [ $maxdesclength -gt 0 ]; then if [ ${#desc} -gt $maxdesclength ]; then desc=${desc:0:$(( maxdesclength - 1 ))} desc+="…" fi comp+=" ($desc)" fi COMPREPLY[ci]=$comp __adsysd_debug "Final comp: $comp" fi done } __start_adsysd() { local cur prev words cword split COMPREPLY=() # Call _init_completion from the bash-completion package # to prepare the arguments properly if declare -F _init_completion >/dev/null 2>&1; then _init_completion -n "=:" || return else __adsysd_init_completion -n "=:" || return fi __adsysd_debug __adsysd_debug "========= starting completion logic ==========" __adsysd_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword" # The user could have moved the cursor backwards on the command-line. # We need to trigger completion from the $cword location, so we need # to truncate the command-line ($words) up to the $cword location. words=("${words[@]:0:$cword+1}") __adsysd_debug "Truncated words[*]: ${words[*]}," local out directive __adsysd_get_completion_results __adsysd_process_completion_results } if [[ $(type -t compopt) = "builtin" ]]; then complete -o default -F __start_adsysd adsysd else complete -o default -o nospace -F __start_adsysd adsysd fi # ex: ts=4 sw=4 et filetype=sh --- PASS: TestAppNoUsageError (0.02s) === RUN TestAppUsageError --- PASS: TestAppUsageError (0.00s) === RUN TestAppCanQuitWhenExecute time="2022-10-17T19:05:20Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" --- PASS: TestAppCanQuitWhenExecute (0.49s) === RUN TestAppCanQuitAfterExecute time="2022-10-17T19:05:20Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" --- PASS: TestAppCanQuitAfterExecute (1.27s) === RUN TestAppCanQuitWithoutExecute daemon_test.go:96: We need to initialize the daemon first, so this is not possible and will hang forever (ready not closed) --- SKIP: TestAppCanQuitWithoutExecute (0.02s) === RUN TestAppRunFailsOnDaemonCreationAndQuit time="2022-10-17T19:05:21Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" --- PASS: TestAppRunFailsOnDaemonCreationAndQuit (0.17s) === RUN TestAppRunFailsOnServiceCreationAndQuit --- PASS: TestAppRunFailsOnServiceCreationAndQuit (0.03s) === RUN TestAppCanSigHupWhenExecute time="2022-10-17T19:05:21Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" --- PASS: TestAppCanSigHupWhenExecute (0.27s) === RUN TestAppCanSigHupAfterExecute time="2022-10-17T19:05:22Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" --- PASS: TestAppCanSigHupAfterExecute (1.42s) === RUN TestAppCanSigHupWithoutExecute --- PASS: TestAppCanSigHupWithoutExecute (0.03s) === RUN TestAppTimeout time="2022-10-17T19:05:23Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" --- PASS: TestAppTimeout (1.29s) === RUN TestAppGetRootCmd === PAUSE TestAppGetRootCmd === RUN TestConfigLoad time="2022-10-17T19:05:25Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" time="2022-10-17T19:05:25Z" level=info msg="Serving on /tmp/TestConfigLoad216938708/001/adsys.socket" time="2022-10-17T19:05:25Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:05:25Z" level=info msg="Wait for active requests to close." --- PASS: TestConfigLoad (0.48s) === RUN TestConfigChange time="2022-10-17T19:05:25Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" time="2022-10-17T19:05:25Z" level=info msg="Serving on /tmp/TestConfigChange2328225574/001/adsys.socket" time="2022-10-17T19:05:25Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:05:25Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:05:25Z" level=debug msg="All connections have now ended." time="2022-10-17T19:05:25Z" level=debug msg=Quitting --- PASS: TestConfigChange (0.40s) === CONT TestAppGetRootCmd --- PASS: TestAppGetRootCmd (0.00s) PASS ok github.com/ubuntu/adsys/cmd/adsysd/daemon 8.466s Integration tests skipped as requested ok github.com/ubuntu/adsys/cmd/adsysd/integration_tests 3.068s ? github.com/ubuntu/adsys/cmd/adwatchd [no test files] ? github.com/ubuntu/adsys/cmd/adwatchd/commands [no test files] Integration tests skipped as requested ok github.com/ubuntu/adsys/cmd/adwatchd/integration_tests 1.093s ? github.com/ubuntu/adsys/doc [no test files] === RUN TestFetch === PAUSE TestFetch === RUN TestFetchWithUnreadableFile === PAUSE TestFetchWithUnreadableFile === RUN TestFetchTweakSysvolCacheDir === PAUSE TestFetchTweakSysvolCacheDir === RUN TestFetchOneGPOWhileParsingItConcurrently === PAUSE TestFetchOneGPOWhileParsingItConcurrently === RUN TestParseGPOConcurrent === PAUSE TestParseGPOConcurrent === RUN TestNew === PAUSE TestNew === RUN TestGetPolicies === PAUSE TestGetPolicies === RUN TestGetPoliciesOffline === PAUSE TestGetPoliciesOffline === RUN TestGetPoliciesWorkflows === PAUSE TestGetPoliciesWorkflows === RUN TestGetPoliciesConcurrently === PAUSE TestGetPoliciesConcurrently === RUN TestListUsersFromCache === PAUSE TestListUsersFromCache === RUN TestNormalizeTargetName === PAUSE TestNormalizeTargetName === RUN TestMockGPOList --- PASS: TestMockGPOList (0.00s) === RUN TestAdsysGPOList === RUN TestAdsysGPOList/Fail_on_no_network === RUN TestAdsysGPOList/Fail_on_machine_with_no_ldap === RUN TestAdsysGPOList/Fail_on_non_existent_account === RUN TestAdsysGPOList/Fail_on_computer_requested_but_found_user === RUN TestAdsysGPOList/Security_descriptor_missing_ignores_GPO === RUN TestAdsysGPOList/Fail_on_security_descriptor_access_failure === RUN TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO === RUN TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings === RUN TestAdsysGPOList/Fail_on_dangling_ticket_symlink === RUN TestAdsysGPOList/No_GPO_on_OU_-_bytes === RUN TestAdsysGPOList/Filter_machine_only_GPOs === RUN TestAdsysGPOList/Fail_on_unreachable_ldap_host === RUN TestAdsysGPOList/Disabled_GPOs === RUN TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order === RUN TestAdsysGPOList/Fail_on_KRB5CCNAME_unset === RUN TestAdsysGPOList/Return_hierarchy === RUN TestAdsysGPOList/No_GPO_on_OU_-_string === RUN TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing === RUN TestAdsysGPOList/Fail_invalid_GPO_link === RUN TestAdsysGPOList/Fail_on_user_requested_but_found_machine === RUN TestAdsysGPOList/Machine_GPOs === RUN TestAdsysGPOList/Block_inheritance === RUN TestAdsysGPOList/Forced_GPO_and_blocked_inheritance === RUN TestAdsysGPOList/Fail_on_ldap_connection_refused === RUN TestAdsysGPOList/Long_computer_name,_not_truncated === RUN TestAdsysGPOList/Fail_on_invalid_ticket === RUN TestAdsysGPOList/Return_one_gpo === RUN TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user === RUN TestAdsysGPOList/No_gPOptions_fallbacks_to_0 === RUN TestAdsysGPOList/Computers_truncated_at_15_characters === RUN TestAdsysGPOList/Multiple_GPOs_in_same_OU === RUN TestAdsysGPOList/Filter_user_only_GPOs --- PASS: TestAdsysGPOList (76.55s) --- PASS: TestAdsysGPOList/Fail_on_no_network (2.55s) --- PASS: TestAdsysGPOList/Fail_on_machine_with_no_ldap (1.06s) --- PASS: TestAdsysGPOList/Fail_on_non_existent_account (1.27s) --- PASS: TestAdsysGPOList/Fail_on_computer_requested_but_found_user (0.90s) --- PASS: TestAdsysGPOList/Security_descriptor_missing_ignores_GPO (1.25s) --- PASS: TestAdsysGPOList/Fail_on_security_descriptor_access_failure (1.34s) --- PASS: TestAdsysGPOList/Security_descriptor_access_denied_ignores_GPO (1.82s) --- PASS: TestAdsysGPOList/KRB5CCNAME_without_FILE:_is_supported_by_the_samba_bindings (1.90s) --- PASS: TestAdsysGPOList/Fail_on_dangling_ticket_symlink (2.03s) --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_bytes (2.00s) --- PASS: TestAdsysGPOList/Filter_machine_only_GPOs (1.78s) --- PASS: TestAdsysGPOList/Fail_on_unreachable_ldap_host (1.25s) --- PASS: TestAdsysGPOList/Disabled_GPOs (1.26s) --- PASS: TestAdsysGPOList/Forced_GPO_are_first_by_reverse_order (1.01s) --- PASS: TestAdsysGPOList/Fail_on_KRB5CCNAME_unset (0.99s) --- PASS: TestAdsysGPOList/Return_hierarchy (1.39s) --- PASS: TestAdsysGPOList/No_GPO_on_OU_-_string (1.57s) --- PASS: TestAdsysGPOList/No_@_in_user_name_returns_the_same_thing (1.86s) --- PASS: TestAdsysGPOList/Fail_invalid_GPO_link (28.30s) --- PASS: TestAdsysGPOList/Fail_on_user_requested_but_found_machine (1.52s) --- PASS: TestAdsysGPOList/Machine_GPOs (2.62s) --- PASS: TestAdsysGPOList/Block_inheritance (1.93s) --- PASS: TestAdsysGPOList/Forced_GPO_and_blocked_inheritance (1.40s) --- PASS: TestAdsysGPOList/Fail_on_ldap_connection_refused (1.42s) --- PASS: TestAdsysGPOList/Long_computer_name,_not_truncated (1.21s) --- PASS: TestAdsysGPOList/Fail_on_invalid_ticket (1.30s) --- PASS: TestAdsysGPOList/Return_one_gpo (1.42s) --- PASS: TestAdsysGPOList/Security_descriptor_accepted_is_for_another_user (2.00s) --- PASS: TestAdsysGPOList/No_gPOptions_fallbacks_to_0 (1.42s) --- PASS: TestAdsysGPOList/Computers_truncated_at_15_characters (1.73s) --- PASS: TestAdsysGPOList/Multiple_GPOs_in_same_OU (1.57s) --- PASS: TestAdsysGPOList/Filter_user_only_GPOs (1.24s) === RUN TestGetPolicyDefinitions === PAUSE TestGetPolicyDefinitions === CONT TestFetch === CONT TestGetPoliciesOffline === CONT TestListUsersFromCache === CONT TestGetPolicyDefinitions === RUN TestGetPolicyDefinitions/Load_ADMX_and_ADML === CONT TestGetPolicies === PAUSE TestGetPolicyDefinitions/Load_ADMX_and_ADML === CONT TestGetPoliciesConcurrently === CONT TestGetPoliciesWorkflows === CONT TestFetchOneGPOWhileParsingItConcurrently === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format === RUN TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro === PAUSE TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro === CONT TestFetchTweakSysvolCacheDir === RUN TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time === PAUSE TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time === RUN TestGetPoliciesConcurrently/Same_user,_same_GPO === PAUSE TestGetPoliciesConcurrently/Same_user,_same_GPO === RUN TestGetPoliciesConcurrently/Different_users,_same_GPO === PAUSE TestGetPoliciesConcurrently/Different_users,_same_GPO === RUN TestGetPoliciesConcurrently/Different_users,_different_GPO === PAUSE TestGetPoliciesConcurrently/Different_users,_different_GPO === RUN TestGetPoliciesConcurrently/One_machine,_one_user === PAUSE TestGetPoliciesConcurrently/One_machine,_one_user === CONT TestNormalizeTargetName === RUN TestGetPolicies/Assets_can’t_be_downloaded_without_GPO === PAUSE TestGetPolicies/Assets_can’t_be_downloaded_without_GPO === RUN TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db === PAUSE TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db === RUN TestListUsersFromCache/Error_on_Krb5_directory_not_existing === RUN TestFetch/gpo_already_up_to_date === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only === PAUSE TestListUsersFromCache/Error_on_Krb5_directory_not_existing === RUN TestListUsersFromCache/One_user === PAUSE TestListUsersFromCache/One_user === RUN TestListUsersFromCache/Two_users === PAUSE TestListUsersFromCache/Two_users === RUN TestListUsersFromCache/None === PAUSE TestListUsersFromCache/None === RUN TestListUsersFromCache/Machines_are_ignored === PAUSE TestListUsersFromCache/Machines_are_ignored === RUN TestListUsersFromCache/Machine_Only === PAUSE TestListUsersFromCache/Machine_Only === CONT TestFetchWithUnreadableFile === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only === PAUSE TestFetch/gpo_already_up_to_date === RUN TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) === RUN TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist === PAUSE TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only === RUN TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed === CONT TestNew === PAUSE TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed === RUN TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL === PAUSE TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) === RUN TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets === RUN TestGetPoliciesWorkflows/Second_call_after_service_restarted === PAUSE TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets === PAUSE TestGetPoliciesWorkflows/Second_call_after_service_restarted === RUN TestGetPoliciesWorkflows/Second_call_with_different_user === RUN TestGetPoliciesOffline/Error_offline_with_no_cache === RUN TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored === PAUSE TestGetPoliciesWorkflows/Second_call_with_different_user === PAUSE TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored === RUN TestGetPoliciesWorkflows/Second_call_after_a_relogin === RUN TestGetPolicies/Multiple_domains,_same_GPO === PAUSE TestGetPoliciesWorkflows/Second_call_after_a_relogin === PAUSE TestGetPolicies/Multiple_domains,_same_GPO === RUN TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) === RUN TestGetPolicies/Same_key_in_different_domains_are_kept_separated === PAUSE TestGetPolicies/Same_key_in_different_domains_are_kept_separated === PAUSE TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) === RUN TestGetPolicies/Policy_user_directory_is_uppercase === RUN TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted === PAUSE TestGetPolicies/Policy_user_directory_is_uppercase === RUN TestGetPolicies/Error_on_user_without_@_in_name === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted === PAUSE TestGetPolicies/Error_on_user_without_@_in_name === RUN TestGetPoliciesWorkflows/Second_machine_call_after_a_restart === RUN TestGetPolicies/Policy_can’t_be_downloaded === PAUSE TestGetPoliciesWorkflows/Second_machine_call_after_a_restart === PAUSE TestGetPolicies/Policy_can’t_be_downloaded === PAUSE TestGetPoliciesOffline/Error_offline_with_no_cache === RUN TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list === PAUSE TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list === RUN TestGetPoliciesOffline/Offline,_with_assets === CONT TestParseGPOConcurrent === PAUSE TestGetPoliciesOffline/Offline,_with_assets === RUN TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache === PAUSE TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache === PAUSE TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL === RUN TestFetch/assets_only_are_downloaded === CONT TestGetPolicyDefinitions/Load_ADMX_and_ADML === PAUSE TestFetch/assets_only_are_downloaded === RUN TestFetch/assets_are_updated_to_latest_version === PAUSE TestFetch/assets_are_updated_to_latest_version === RUN TestFetch/one_new_gpo === PAUSE TestFetch/one_new_gpo === RUN TestFetch/two_gpos,_one_more_recent,_one_up_to_date === PAUSE TestFetch/two_gpos,_one_more_recent,_one_up_to_date === RUN TestFetch/gpo_is_refreshed === PAUSE TestFetch/gpo_is_refreshed === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed === RUN TestGetPolicies/Standard_policy_with_assets,_downloads_assets === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed === RUN TestFetch/gpos_and_assets === PAUSE TestGetPolicies/Standard_policy_with_assets,_downloads_assets === PAUSE TestFetch/gpos_and_assets === RUN TestFetch/concurrent_same_gpos === RUN TestGetPolicies/No_override_for_this_release,_takes_default_value === PAUSE TestGetPolicies/No_override_for_this_release,_takes_default_value === RUN TestGetPolicies/Two_policies,_no_overrides,_reversed === PAUSE TestFetch/concurrent_same_gpos === PAUSE TestGetPolicies/Two_policies,_no_overrides,_reversed === RUN TestFetch/two_new_gpos === RUN TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user === PAUSE TestFetch/two_new_gpos === RUN TestFetch/two_gpos,_one_already_up_to_date,_one_new === PAUSE TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user === PAUSE TestFetch/two_gpos,_one_already_up_to_date,_one_new === RUN TestGetPolicies/Disabled_value_overrides_non_disabled_one === PAUSE TestGetPolicies/Disabled_value_overrides_non_disabled_one === RUN TestGetPolicies/Disabled_value_is_overridden === PAUSE TestGetPolicies/Disabled_value_is_overridden === RUN TestNormalizeTargetName/User_name_matching_computer,_setting_as_user === PAUSE TestNormalizeTargetName/User_name_matching_computer,_setting_as_user === RUN TestFetch/Error_unexistant_remote_gpo === PAUSE TestFetch/Error_unexistant_remote_gpo === RUN TestFetch/Error_missing_remote_GPT.INI === PAUSE TestFetch/Error_missing_remote_GPT.INI === RUN TestFetch/Error_remote_version_NaN === RUN TestGetPolicies/Object_domain_is_stripped === PAUSE TestGetPolicies/Object_domain_is_stripped === PAUSE TestFetch/Error_remote_version_NaN === RUN TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only === RUN TestGetPolicies/Two_policies,_with_reversed_overrides === PAUSE TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only === PAUSE TestGetPolicies/Two_policies,_with_reversed_overrides === RUN TestFetch/assets_is_a_file_is_not_downloaded === PAUSE TestFetch/assets_is_a_file_is_not_downloaded === RUN TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided === PAUSE TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided === RUN TestFetch/local_gpo_is_more_recent_than_AD_one === PAUSE TestFetch/local_gpo_is_more_recent_than_AD_one === RUN TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI === PAUSE TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI === RUN TestFetch/concurrent_different_gpos === PAUSE TestFetch/concurrent_different_gpos === RUN TestFetch/two_gpos,_one_should_be_refreshed,_one_new === PAUSE TestFetch/two_gpos,_one_should_be_refreshed,_one_new === RUN TestFetch/keep_existing_gpos_intact === PAUSE TestFetch/keep_existing_gpos_intact === RUN TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI === PAUSE TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI === RUN TestFetch/assets_are_not_updated_if_version_matches === PAUSE TestFetch/assets_are_not_updated_if_version_matches === RUN TestFetch/Error_remote_version_entry_missing === PAUSE TestFetch/Error_remote_version_entry_missing === RUN TestFetch/Error_keeps_downloading_other_GPOS === PAUSE TestFetch/Error_keeps_downloading_other_GPOS === RUN TestNormalizeTargetName/User_name_fqdn_matching_computer === PAUSE TestNormalizeTargetName/User_name_fqdn_matching_computer === RUN TestNormalizeTargetName/One_valid_user_with_domain\user === PAUSE TestNormalizeTargetName/One_valid_user_with_domain\user === RUN TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such === PAUSE TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such === RUN TestFetch/two_gpos,_one_more_recent,_one_new === PAUSE TestFetch/two_gpos,_one_more_recent,_one_new === RUN TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI === RUN TestNormalizeTargetName/Computer_with_@_is_left_as_such === PAUSE TestNormalizeTargetName/Computer_with_@_is_left_as_such === RUN TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user === PAUSE TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI === PAUSE TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user === RUN TestNormalizeTargetName/Error_on_multiple_\_in_name === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro === PAUSE TestNormalizeTargetName/Error_on_multiple_\_in_name === RUN TestNormalizeTargetName/Computer_name_without_objectClass === PAUSE TestNormalizeTargetName/Computer_name_without_objectClass === RUN TestNormalizeTargetName/One_valid_user === PAUSE TestNormalizeTargetName/One_valid_user === RUN TestNormalizeTargetName/One_valid_user_with_mixed_case === PAUSE TestNormalizeTargetName/One_valid_user_with_mixed_case === RUN TestNormalizeTargetName/One_user_without_explicit_domain_suffix === PAUSE TestNormalizeTargetName/One_user_without_explicit_domain_suffix === RUN TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed === CONT TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format === RUN TestNormalizeTargetName/Computer_is_left_as_such === PAUSE TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed === RUN TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed === RUN TestNew/static_server_is_always_prefixed_with_ldap === PAUSE TestNew/static_server_is_always_prefixed_with_ldap === RUN TestNew/not_provided_static_server_URL_is_blank === PAUSE TestNew/not_provided_static_server_URL_is_blank === RUN TestNew/failed_to_create_KRB5_cache_directory === PAUSE TestNew/failed_to_create_KRB5_cache_directory === RUN TestNew/failed_to_create_Sysvol_cache_directory === PAUSE TestNew/failed_to_create_Sysvol_cache_directory === RUN TestNew/create_one_AD_object_will_create_all_necessary_cache_dirs === PAUSE TestNew/create_one_AD_object_will_create_all_necessary_cache_dirs === PAUSE TestNormalizeTargetName/Computer_is_left_as_such === CONT TestGetPoliciesConcurrently/Different_users,_different_GPO === PAUSE TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed === RUN TestGetPolicies/Computer_ignored_CCBaseName === PAUSE TestGetPolicies/Computer_ignored_CCBaseName === RUN TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol === PAUSE TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol === RUN TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored === PAUSE TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored === RUN TestGetPolicies/More_policies,_with_multiple_overrides === PAUSE TestGetPolicies/More_policies,_with_multiple_overrides === RUN TestGetPolicies/Filter_non_Ubuntu_keys === PAUSE TestGetPolicies/Filter_non_Ubuntu_keys === RUN TestGetPolicies/No_discovery_for_statistically_configured_domain_controller === PAUSE TestGetPolicies/No_discovery_for_statistically_configured_domain_controller === CONT TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time === RUN TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO === CONT TestGetPoliciesConcurrently/One_machine,_one_user === PAUSE TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO === RUN TestGetPolicies/Machine_doesn’t_match === PAUSE TestGetPolicies/Machine_doesn’t_match === RUN TestGetPolicies/No_Active_Directory_server_returned_by_sssd_fails_without_static_configuration === PAUSE TestGetPolicies/No_Active_Directory_server_returned_by_sssd_fails_without_static_configuration === RUN TestGetPolicies/Standard_policy,_user_object === PAUSE TestGetPolicies/Standard_policy,_user_object === RUN TestFetchWithUnreadableFile/existing_gpo_is_preserved === PAUSE TestFetchWithUnreadableFile/existing_gpo_is_preserved === CONT TestGetPoliciesConcurrently/Different_users,_same_GPO === RUN TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty === PAUSE TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty === RUN TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty === PAUSE TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty === RUN TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed === PAUSE TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed === RUN TestGetPolicies/Disabled_override === PAUSE TestGetPolicies/Disabled_override === RUN TestGetPolicies/Two_policies,_no_overrides === PAUSE TestGetPolicies/Two_policies,_no_overrides === RUN TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys === PAUSE TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys === CONT TestGetPoliciesConcurrently/Same_user,_same_GPO --- PASS: TestGetPolicyDefinitions (0.02s) --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_distro (0.04s) --- PASS: TestGetPolicyDefinitions/ADMX_and_ADML_does_not_exist_for_this_format (0.00s) --- PASS: TestGetPolicyDefinitions/Load_ADMX_and_ADML (0.26s) === RUN TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName === PAUSE TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName === RUN TestGetPolicies/Unexisting_CC_original_file_for_machine === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_machine === RUN TestGetPolicies/Unsupported_type_for_unfiltered_entry === PAUSE TestGetPolicies/Unsupported_type_for_unfiltered_entry === RUN TestGetPolicies/Two_policies,_with_overrides === PAUSE TestGetPolicies/Two_policies,_with_overrides === RUN TestGetPolicies/Unexisting_CC_original_file_for_user === PAUSE TestGetPolicies/Unexisting_CC_original_file_for_user === RUN TestGetPolicies/Corrupted_policy_file === PAUSE TestGetPolicies/Corrupted_policy_file === RUN TestGetPolicies/User_only_policy,_user_object === PAUSE TestGetPolicies/User_only_policy,_user_object === RUN TestGetPolicies/SSSD_dbus_(IsOnline)_call_failed === PAUSE TestGetPolicies/SSSD_dbus_(IsOnline)_call_failed === RUN TestGetPolicies/Standard_policy,_computer_object === PAUSE TestGetPolicies/Standard_policy,_computer_object === RUN TestGetPolicies/Enabled_override === PAUSE TestGetPolicies/Enabled_override === RUN TestGetPolicies/Policy_machine_directory_is_uppercase === PAUSE TestGetPolicies/Policy_machine_directory_is_uppercase === RUN TestGetPolicies/Symlinks_can’t_be_created === PAUSE TestGetPolicies/Symlinks_can’t_be_created === RUN TestGetPolicies/Empty_value_for_unfiltered_entry === PAUSE TestGetPolicies/Empty_value_for_unfiltered_entry === CONT TestListUsersFromCache/Error_on_Krb5_directory_not_existing === CONT TestListUsersFromCache/Machine_Only === CONT TestListUsersFromCache/Machines_are_ignored === CONT TestListUsersFromCache/None === CONT TestListUsersFromCache/Two_users === CONT TestListUsersFromCache/One_user === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only --- PASS: TestListUsersFromCache (0.35s) --- PASS: TestListUsersFromCache/Error_on_Krb5_directory_not_existing (0.20s) --- PASS: TestListUsersFromCache/Machine_Only (0.11s) --- PASS: TestListUsersFromCache/Machines_are_ignored (0.12s) --- PASS: TestListUsersFromCache/None (0.12s) --- PASS: TestListUsersFromCache/Two_users (0.10s) --- PASS: TestListUsersFromCache/One_user (0.13s) Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:06:53Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"gpo1-name\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:06:53Z" level=info msg="Downloading \"assets\"" === CONT TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:06:56Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) --- PASS: TestFetchTweakSysvolCacheDir (0.34s) --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_is_read_only (8.56s) --- PASS: TestFetchTweakSysvolCacheDir/SysvolCacheDir_doesn't_exist (1.94s) --- PASS: TestFetchOneGPOWhileParsingItConcurrently (14.69s) === CONT TestGetPoliciesWorkflows/Second_machine_call_after_a_restart --- PASS: TestParseGPOConcurrent (15.68s) === CONT TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:05Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:05Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:05Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:07:05Z" level=info msg="Downloading \"one-value-name\"" time="2022-10-17T19:07:05Z" level=info msg="Downloading \"assets\"" === CONT TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) === CONT TestGetPoliciesWorkflows/Second_call_after_a_relogin === CONT TestGetPoliciesWorkflows/Second_call_with_different_user time="2022-10-17T19:07:05Z" level=info msg="Downloading \"standard-name\"" === CONT TestGetPoliciesWorkflows/Second_call_after_service_restarted time="2022-10-17T19:07:05Z" level=info msg="Downloading \"assets\"" === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only --- PASS: TestGetPoliciesConcurrently (0.27s) --- PASS: TestGetPoliciesConcurrently/Same_user,_same_GPO (20.06s) --- PASS: TestGetPoliciesConcurrently/Machine_requested_twice_at_the_same_time (20.17s) --- PASS: TestGetPoliciesConcurrently/Different_users,_same_GPO (20.36s) --- PASS: TestGetPoliciesConcurrently/One_machine,_one_user (20.48s) --- PASS: TestGetPoliciesConcurrently/Different_users,_different_GPO (23.30s) Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:12Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:13Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:13Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:13Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:13Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:07:13Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:07:13Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:13Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:13Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:07:13Z" level=info msg="Downloading \"assets\"" === CONT TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache === CONT TestGetPoliciesOffline/Offline,_with_assets === CONT TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list time="2022-10-17T19:07:18Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@OFFLINE\" policies are applied using previous online update" === CONT TestGetPoliciesOffline/Error_offline_with_no_cache === CONT TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:24Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:07:24Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:07:24Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:24Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:07:24Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:24Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:07:24Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:07:24Z" level=info msg="Downloading \"standard-name\"" === CONT TestFetch/gpo_already_up_to_date === CONT TestFetch/Error_remote_version_NaN === CONT TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI === CONT TestFetch/two_gpos,_one_more_recent,_one_new --- PASS: TestGetPoliciesWorkflows (0.37s) --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_a_restart (15.34s) --- PASS: TestGetPoliciesWorkflows/Second_call_is_a_refresh_(without_Krb5CCName_specified) (18.12s) --- PASS: TestGetPoliciesWorkflows/Second_machine_call_after_service_restarted (14.43s) --- PASS: TestGetPoliciesWorkflows/Second_call_after_service_restarted (18.95s) --- PASS: TestGetPoliciesWorkflows/Second_call_after_a_relogin (19.52s) --- PASS: TestGetPoliciesWorkflows/Second_call_with_different_user (19.40s) --- PASS: TestGetPoliciesWorkflows/Second_machine_call_is_a_refresh_(without_Krb5CCName_specified) (19.72s) Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:27Z" level=info msg="Downloading \"gpo1-name\"" time="2022-10-17T19:07:28Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestFetch/Error_keeps_downloading_other_GPOS === CONT TestFetch/Error_remote_version_entry_missing Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:29Z" level=info msg="Downloading \"gpo2-name\"" === CONT TestFetch/assets_are_not_updated_if_version_matches Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible === CONT TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI time="2022-10-17T19:07:31Z" level=warning msg="Invalid local GPT.INI for gpo1-name: invalid remote GPT.INI: version is not an int: strconv.Atoi: parsing \"NaN\": invalid syntax\nDownloading it again…" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:32Z" level=info msg="Downloading \"gpo1-name\"" time="2022-10-17T19:07:33Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@OFFLINE\" policies are applied using previous online update" time="2022-10-17T19:07:33Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@OFFLINE\" policies are applied using previous online update" time="2022-10-17T19:07:33Z" level=info msg="Can't reach AD: machine is offline and \"useroffline@OFFLINE\" policies are applied using previous online update" === CONT TestFetch/keep_existing_gpos_intact === CONT TestFetch/two_gpos,_one_should_be_refreshed,_one_new === CONT TestFetch/concurrent_different_gpos Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:35Z" level=info msg="Downloading \"gpo2-name\"" time="2022-10-17T19:07:35Z" level=info msg="Downloading \"gpo1-name\"" time="2022-10-17T19:07:35Z" level=info msg="Downloading \"gpo2-name\"" === CONT TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI time="2022-10-17T19:07:36Z" level=warning msg="Invalid local GPT.INI for gpo1-name: invalid remote GPT.INI: version not found\nDownloading it again…" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:36Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestFetch/local_gpo_is_more_recent_than_AD_one === CONT TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible === CONT TestFetch/assets_is_a_file_is_not_downloaded === CONT TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:38Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:39Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" === CONT TestFetch/Error_missing_remote_GPT.INI === CONT TestFetch/Error_unexistant_remote_gpo Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:40Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestFetch/two_gpos,_one_already_up_to_date,_one_new Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible === CONT TestFetch/two_new_gpos Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:41Z" level=info msg="Downloading \"gpo2-name\"" time="2022-10-17T19:07:41Z" level=info msg="Downloading \"gpo2-name\"" time="2022-10-17T19:07:41Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestFetch/concurrent_same_gpos Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:42Z" level=info msg="Downloading \"gpo1-name\"" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:44Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestFetch/gpos_and_assets Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:45Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:07:45Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestFetch/assets_are_updated_to_latest_version Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:46Z" level=info msg="Downloading \"assets\"" === CONT TestFetch/gpo_is_refreshed === CONT TestFetch/two_gpos,_one_more_recent,_one_up_to_date Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:50Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestFetch/one_new_gpo === CONT TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:51Z" level=info msg="Downloading \"gpo1-name\"" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:51Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible === CONT TestFetch/assets_only_are_downloaded === CONT TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible === CONT TestNew/static_server_is_always_prefixed_with_ldap === CONT TestNormalizeTargetName/User_name_matching_computer,_setting_as_user time="2022-10-17T19:07:52Z" level=info msg="Downloading \"assets\"" === CONT TestNormalizeTargetName/One_valid_user_with_mixed_case === CONT TestNew/create_one_AD_object_will_create_all_necessary_cache_dirs === CONT TestNew/failed_to_create_Sysvol_cache_directory === CONT TestNew/failed_to_create_KRB5_cache_directory === CONT TestNew/not_provided_static_server_URL_is_blank --- PASS: TestNew (0.18s) --- PASS: TestNew/static_server_is_always_prefixed_with_ldap (0.03s) --- PASS: TestNew/create_one_AD_object_will_create_all_necessary_cache_dirs (0.02s) --- PASS: TestNew/failed_to_create_Sysvol_cache_directory (0.01s) --- PASS: TestNew/failed_to_create_KRB5_cache_directory (0.01s) --- PASS: TestNew/not_provided_static_server_URL_is_blank (0.02s) === CONT TestNormalizeTargetName/Computer_is_left_as_such === CONT TestNormalizeTargetName/One_user_without_explicit_domain_suffix Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible === CONT TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user === CONT TestNormalizeTargetName/One_valid_user === CONT TestNormalizeTargetName/Computer_name_without_objectClass === CONT TestNormalizeTargetName/Error_on_multiple_\_in_name === CONT TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such === CONT TestNormalizeTargetName/Computer_with_@_is_left_as_such === CONT TestNormalizeTargetName/One_valid_user_with_domain\user === CONT TestNormalizeTargetName/User_name_fqdn_matching_computer === CONT TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO --- PASS: TestNormalizeTargetName (0.26s) --- PASS: TestNormalizeTargetName/User_name_matching_computer,_setting_as_user (0.04s) --- PASS: TestNormalizeTargetName/One_valid_user_with_mixed_case (0.03s) --- PASS: TestNormalizeTargetName/Computer_is_left_as_such (0.03s) --- PASS: TestNormalizeTargetName/One_user_without_explicit_domain_suffix (0.03s) --- PASS: TestNormalizeTargetName/Error_on_no_default_domain_suffix_and_no_fqdn_user (0.03s) --- PASS: TestNormalizeTargetName/One_valid_user (0.04s) --- PASS: TestNormalizeTargetName/Computer_name_without_objectClass (0.03s) --- PASS: TestNormalizeTargetName/Error_on_multiple_\_in_name (0.04s) --- PASS: TestNormalizeTargetName/Computer_in_uppercase_is_left_as_such (0.04s) --- PASS: TestNormalizeTargetName/Computer_with_@_is_left_as_such (0.03s) --- PASS: TestNormalizeTargetName/One_valid_user_with_domain\user (0.03s) --- PASS: TestNormalizeTargetName/User_name_fqdn_matching_computer (0.02s) time="2022-10-17T19:07:53Z" level=info msg="Downloading \"gpo1-name\"" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:54Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestFetchWithUnreadableFile/existing_gpo_is_preserved Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:07:55Z" level=info msg="Downloading \"gpo1-name\"" === CONT TestGetPolicies/Assets_can’t_be_downloaded_without_GPO === CONT TestGetPolicies/No_discovery_for_statistically_configured_domain_controller === CONT TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName === CONT TestGetPolicies/Unexisting_CC_original_file_for_machine === CONT TestGetPolicies/Empty_value_for_unfiltered_entry --- PASS: TestFetchWithUnreadableFile (0.23s) --- PASS: TestFetchWithUnreadableFile/without_gpo_initially_don’t_commit_new_partial_GPO (4.68s) --- PASS: TestFetchWithUnreadableFile/existing_gpo_is_preserved (3.81s) === CONT TestGetPolicies/Policy_machine_directory_is_uppercase === CONT TestGetPolicies/Symlinks_can’t_be_created --- PASS: TestFetch (0.45s) --- PASS: TestFetch/Error_remote_version_NaN (3.03s) --- PASS: TestFetch/gpo_already_up_to_date (3.38s) --- PASS: TestFetch/Error_remote_version_entry_missing (1.80s) --- PASS: TestFetch/assets_are_not_updated_if_version_matches (1.42s) --- PASS: TestFetch/keep_existing_gpos_intact (1.76s) --- PASS: TestFetch/Error_keeps_downloading_other_GPOS (9.62s) --- PASS: TestFetch/two_gpos,_one_more_recent,_one_new (12.84s) --- PASS: TestFetch/Local_gpo_redownloaded_on_missing_GPT.INI (13.24s) --- PASS: TestFetch/existing_assets_are_kept_if_no_assets_downloadable_provided (0.41s) --- PASS: TestFetch/local_gpo_is_more_recent_than_AD_one (0.78s) --- PASS: TestFetch/assets_is_a_file_is_not_downloaded (0.78s) --- PASS: TestFetch/assets_root_directory_not_present_on_SYSVOL_issues_a_warning_only (0.76s) --- PASS: TestFetch/Error_missing_remote_GPT.INI (0.78s) --- PASS: TestFetch/Error_unexistant_remote_gpo (1.24s) --- PASS: TestFetch/Local_gpo_redownloaded_on_NaN_version_in_GPT.INI (10.10s) --- PASS: TestFetch/two_gpos,_one_should_be_refreshed,_one_new (11.06s) --- PASS: TestFetch/Local_gpo_redownloaded_on_version_entry_missing_in_GPT.INI (10.17s) --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_new (9.01s) --- PASS: TestFetch/two_gpos,_one_already_up_to_date,_one_should_be_refreshed (10.61s) --- PASS: TestFetch/two_new_gpos (10.05s) --- PASS: TestFetch/two_gpos,_one_more_recent,_one_up_to_date (1.44s) --- PASS: TestFetch/existing_assets_are_removed_if_not_present_on_SYSVOL (1.59s) --- PASS: TestFetch/concurrent_same_gpos (10.90s) --- PASS: TestFetch/assets_are_updated_to_latest_version (7.20s) --- PASS: TestFetch/concurrent_different_gpos (20.56s) --- PASS: TestFetch/gpos_and_assets (10.66s) --- PASS: TestFetch/assets_only_are_downloaded (4.66s) --- PASS: TestFetch/gpo_is_refreshed (8.50s) --- PASS: TestFetch/one_new_gpo (7.35s) --- PASS: TestFetch/two_gpos,_one_more_recent,_one_should_be_refreshed (5.79s) === CONT TestGetPolicies/Enabled_override --- PASS: TestGetPoliciesOffline (0.39s) --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_gpo_only (9.70s) --- PASS: TestGetPoliciesOffline/Error_offline_with_no_cache (0.05s) --- PASS: TestGetPoliciesOffline/Offline,_with_assets (18.77s) --- PASS: TestGetPoliciesOffline/Offline,_get_from_cache,_with_assets (15.32s) --- PASS: TestGetPoliciesOffline/Offline,_ensure_we_fetch_from_cache_and_not_fetch_GPO_list (18.52s) --- PASS: TestGetPoliciesOffline/Error_on_SSSD_reports_online,_but_we_are_actually_offline_when_fetching_gpo_list,_even_with_a_cache (43.38s) === CONT TestGetPolicies/Standard_policy,_computer_object === CONT TestGetPolicies/Corrupted_policy_file === CONT TestGetPolicies/SSSD_dbus_(IsOnline)_call_failed === CONT TestGetPolicies/Unexisting_CC_original_file_for_user === CONT TestGetPolicies/Two_policies,_with_overrides === CONT TestGetPolicies/Unsupported_type_for_unfiltered_entry Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:00Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:00Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:01Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:01Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:14Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:14Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:15Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:15Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:15Z" level=info msg="Downloading \"uppercase-class-name\"" time="2022-10-17T19:08:15Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:15Z" level=info msg="Downloading \"multiple-releases-one-enabled-name\"" time="2022-10-17T19:08:15Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:15Z" level=info msg="Downloading \"one-value-name\"" time="2022-10-17T19:08:15Z" level=info msg="Downloading \"empty-value-name\"" time="2022-10-17T19:08:15Z" level=info msg="Downloading \"corrupted-policy-name\"" === CONT TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty === CONT TestGetPolicies/Two_policies,_no_overrides === CONT TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys === CONT TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty === CONT TestGetPolicies/Standard_policy,_user_object === CONT TestGetPolicies/No_Active_Directory_server_returned_by_sssd_fails_without_static_configuration === CONT TestGetPolicies/Machine_doesn’t_match === CONT TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed === CONT TestGetPolicies/Disabled_value_overrides_non_disabled_one === CONT TestGetPolicies/Filter_non_Ubuntu_keys Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:20Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:20Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:21Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:21Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:21Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:22Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:22Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:22Z" level=info msg="Downloading \"user-only-name\"" time="2022-10-17T19:08:22Z" level=info msg="Downloading \"unsupported-with-errors-name\"" time="2022-10-17T19:08:22Z" level=info msg="Downloading \"filtered-name\"" time="2022-10-17T19:08:22Z" level=info msg="Downloading \"disabled-value-name\"" time="2022-10-17T19:08:22Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:22Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:22Z" level=info msg="Downloading \"user-only-name\"" time="2022-10-17T19:08:22Z" level=info msg="Downloading \"one-value-name\"" time="2022-10-17T19:08:22Z" level=info msg="Downloading \"machine-only-name\"" time="2022-10-17T19:08:22Z" level=info msg="Downloading \"standard-name\"" === CONT TestGetPolicies/More_policies,_with_multiple_overrides === CONT TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored === CONT TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol === CONT TestGetPolicies/Computer_ignored_CCBaseName === CONT TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed === CONT TestGetPolicies/Object_domain_is_stripped === CONT TestGetPolicies/Disabled_value_is_overridden === CONT TestGetPolicies/Error_on_user_without_@_in_name === CONT TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:27Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:28Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:28Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:28Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:28Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:29Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:29Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:29Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"multiple-releases-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"user-only-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"lowercase-class-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"disabled-value-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"one-value-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"machine-only-name\"" time="2022-10-17T19:08:29Z" level=info msg="Downloading \"standard-name\"" === CONT TestGetPolicies/Two_policies,_no_overrides,_reversed === CONT TestGetPolicies/Two_policies,_with_reversed_overrides === CONT TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed === CONT TestGetPolicies/Multiple_domains,_same_GPO === CONT TestGetPolicies/Policy_user_directory_is_uppercase === CONT TestGetPolicies/Same_key_in_different_domains_are_kept_separated === CONT TestGetPolicies/Standard_policy_with_assets,_downloads_assets === CONT TestGetPolicies/No_override_for_this_release,_takes_default_value Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:35Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:35Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:35Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:36Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:37Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"one-value-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"lowercase-class-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"one-value-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"other-domain-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"multiple-domains-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"multiple-releases-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"user-only-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"assets\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"one-value-name\"" time="2022-10-17T19:08:37Z" level=info msg="Downloading \"uppercase-class-name\"" === CONT TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored === CONT TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db === CONT TestGetPolicies/Policy_can’t_be_downloaded === CONT TestGetPolicies/Disabled_override === CONT TestGetPolicies/User_only_policy,_user_object Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:43Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" Kerberos auth with 'buildd@WORKGROUP' (WORKGROUP\buildd) to access 'localhost' not possible time="2022-10-17T19:08:44Z" level=info msg="No assets directory with GPT.INI file found on AD, skipping assets download" time="2022-10-17T19:08:44Z" level=info msg="Downloading \"standard-name\"" time="2022-10-17T19:08:44Z" level=info msg="Downloading \"multiple-releases-one-disabled-name\"" time="2022-10-17T19:08:44Z" level=info msg="Downloading \"user-only-name\"" time="2022-10-17T19:08:44Z" level=info msg="Downloading \"multiple-releases-name\"" --- PASS: TestGetPolicies (0.68s) --- PASS: TestGetPolicies/Symlinks_can’t_be_created (0.06s) --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_machine (1.46s) --- PASS: TestGetPolicies/Assets_can’t_be_downloaded_without_GPO (3.93s) --- PASS: TestGetPolicies/SSSD_dbus_(IsOnline)_call_failed (0.11s) --- PASS: TestGetPolicies/Without_previous_call,_needs_userKrb5CCBaseName (2.03s) --- PASS: TestGetPolicies/Unexisting_CC_original_file_for_user (0.86s) --- PASS: TestGetPolicies/Empty_value_for_unfiltered_entry (20.02s) --- PASS: TestGetPolicies/Corrupted_policy_file (18.95s) --- PASS: TestGetPolicies/Enabled_override (20.17s) --- PASS: TestGetPolicies/Policy_machine_directory_is_uppercase (20.20s) --- PASS: TestGetPolicies/Standard_policy,_computer_object (20.14s) --- PASS: TestGetPolicies/Unsupported_type_for_unfiltered_entry (18.10s) --- PASS: TestGetPolicies/No_discovery_for_statistically_configured_domain_controller (21.66s) --- PASS: TestGetPolicies/Two_policies,_with_overrides (19.04s) --- PASS: TestGetPolicies/No_Active_Directory_server_returned_by_sssd_fails_without_static_configuration (0.13s) --- PASS: TestGetPolicies/Machine_doesn’t_match (0.10s) --- PASS: TestGetPolicies/User_only_policy,_computer_object,_policy_is_empty (6.69s) --- PASS: TestGetPolicies/Computer_only_policy,_user_object,_policy_is_empty (7.25s) --- PASS: TestGetPolicies/Ignore_errors_on_non_Ubuntu_keys (6.89s) --- PASS: TestGetPolicies/Filter_non_Ubuntu_keys (7.09s) --- PASS: TestGetPolicies/Standard_policy,_user_object (7.24s) --- PASS: TestGetPolicies/Two_policies,_no_overrides (7.36s) --- PASS: TestGetPolicies/Disabled_value_overrides_non_disabled_one (7.15s) --- PASS: TestGetPolicies/Standard_policy_with_assets,_existing_assets_are_reattached_if_not_refreshed (7.29s) --- PASS: TestGetPolicies/Error_on_user_without_@_in_name (0.06s) --- PASS: TestGetPolicies/Object_domain_is_stripped (7.67s) --- PASS: TestGetPolicies/Disable_override_for_matching_release,_other_releases_override_ignored (8.10s) --- PASS: TestGetPolicies/Computer_ignored_CCBaseName (7.73s) --- PASS: TestGetPolicies/Two_policies,_no_overrides,_one_is_not_the_same_object_type,_machine_ones_are_empty_when_parsing_user (7.54s) --- PASS: TestGetPolicies/Disabled_value_is_overridden (7.73s) --- PASS: TestGetPolicies/Local_assets_and_its_db_are_removed_if_not_present_anymore_on_AD_sysvol (8.20s) --- PASS: TestGetPolicies/Policy_machine_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (7.86s) --- PASS: TestGetPolicies/More_policies,_with_multiple_overrides (8.45s) --- PASS: TestGetPolicies/Multiple_domains,_same_GPO (7.47s) --- PASS: TestGetPolicies/Same_key_in_different_domains_are_kept_separated (7.95s) --- PASS: TestGetPolicies/Policy_user_directory_is_not_capitalized_or_uppercase,_no_rules_are_parsed (8.13s) --- PASS: TestGetPolicies/Two_policies,_with_reversed_overrides (8.21s) --- PASS: TestGetPolicies/Policy_user_directory_is_uppercase (8.16s) --- PASS: TestGetPolicies/Two_policies,_no_overrides,_reversed (8.35s) --- PASS: TestGetPolicies/No_override_for_this_release,_takes_default_value (8.16s) --- PASS: TestGetPolicies/Standard_policy_with_assets,_downloads_assets (8.44s) --- PASS: TestGetPolicies/Policy_can’t_be_downloaded (3.04s) --- PASS: TestGetPolicies/User_only_policy,_user_object (4.10s) --- PASS: TestGetPolicies/Assets_directory_being_a_file_cleanup_local_existing_assets_and_its_db (4.47s) --- PASS: TestGetPolicies/Disabled_override (4.34s) --- PASS: TestGetPolicies/Enabled_override_for_matching_release,_other_releases_override_ignored (5.02s) PASS Setup: Can't show stderr from smbd command: read |0: file already closed ok github.com/ubuntu/adsys/internal/ad 206.274s === RUN TestGenerateExpandedCategories === PAUSE TestGenerateExpandedCategories === RUN TestExpandedCategoriesToADMX === PAUSE TestExpandedCategoriesToADMX === RUN TestExpand === PAUSE TestExpand === RUN TestGenerate === PAUSE TestGenerate === CONT TestGenerateExpandedCategories === CONT TestExpand === CONT TestGenerate === RUN TestGenerate/admx_generation_fails === CONT TestExpandedCategoriesToADMX === RUN TestGenerateExpandedCategories/use_policy_class_instead_of_category_default === RUN TestExpand/no_release_file === PAUSE TestGenerateExpandedCategories/use_policy_class_instead_of_category_default === RUN TestGenerateExpandedCategories/meta_entry_only === PAUSE TestGenerateExpandedCategories/meta_entry_only === PAUSE TestExpand/no_release_file === RUN TestGenerateExpandedCategories/category_definition_doesn't_exist === PAUSE TestGenerateExpandedCategories/category_definition_doesn't_exist === RUN TestExpandedCategoriesToADMX/decimal_with_range === PAUSE TestGenerate/admx_generation_fails === RUN TestGenerateExpandedCategories/basic === RUN TestExpand/invalid_dconf.yaml === PAUSE TestExpand/invalid_dconf.yaml === RUN TestExpand/dconf_generation_fails === PAUSE TestExpand/dconf_generation_fails === RUN TestExpand/expanded_policy_with_meta === RUN TestGenerate/releases_from_yaml === PAUSE TestExpand/expanded_policy_with_meta === PAUSE TestGenerateExpandedCategories/basic === PAUSE TestExpandedCategoriesToADMX/decimal_with_range === RUN TestExpand/expanded_policy === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories === PAUSE TestGenerate/releases_from_yaml === PAUSE TestExpand/expanded_policy === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories === RUN TestGenerate/autodetect_overrides_releases_from_yaml === RUN TestGenerateExpandedCategories/multiple_top_categories === PAUSE TestGenerateExpandedCategories/multiple_top_categories === PAUSE TestGenerate/autodetect_overrides_releases_from_yaml === RUN TestExpand/expanded_policy_with_release_any === RUN TestGenerate/invalid_definition_file === PAUSE TestExpand/expanded_policy_with_release_any === PAUSE TestGenerate/invalid_definition_file === RUN TestGenerateExpandedCategories/error_on_nested_category === RUN TestGenerate/category_expansion_fails === RUN TestExpand/ignore_categories_and_non_yaml_files === RUN TestExpandedCategoriesToADMX/no_meta_disabled === PAUSE TestExpandedCategoriesToADMX/no_meta_disabled === PAUSE TestExpand/ignore_categories_and_non_yaml_files === RUN TestExpandedCategoriesToADMX/error_on_destination_creation === RUN TestExpand/no_version_id === PAUSE TestExpand/no_version_id === PAUSE TestExpandedCategoriesToADMX/error_on_destination_creation === RUN TestExpand/unsupported_policy_type === PAUSE TestExpand/unsupported_policy_type === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_choices === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_choices === RUN TestExpand/no_source_directory === PAUSE TestExpand/no_source_directory === PAUSE TestGenerate/category_expansion_fails === CONT TestGenerate/admx_generation_fails === CONT TestGenerate/invalid_definition_file === CONT TestGenerate/autodetect_overrides_releases_from_yaml === PAUSE TestGenerateExpandedCategories/error_on_nested_category === CONT TestGenerate/category_expansion_fails === RUN TestExpandedCategoriesToADMX/nested_categories === PAUSE TestExpandedCategoriesToADMX/nested_categories === RUN TestExpandedCategoriesToADMX/other_distro === CONT TestGenerate/releases_from_yaml === PAUSE TestExpandedCategoriesToADMX/other_distro === RUN TestExpandedCategoriesToADMX/boolean === PAUSE TestExpandedCategoriesToADMX/boolean === RUN TestExpandedCategoriesToADMX/array_of_strings === PAUSE TestExpandedCategoriesToADMX/array_of_strings === RUN TestExpandedCategoriesToADMX/array_of_integers === PAUSE TestExpandedCategoriesToADMX/array_of_integers === RUN TestExpandedCategoriesToADMX/choices === PAUSE TestExpandedCategoriesToADMX/choices === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype === RUN TestExpandedCategoriesToADMX/no_meta_enabled === PAUSE TestExpandedCategoriesToADMX/no_meta_enabled === RUN TestExpandedCategoriesToADMX/multiple_categories === PAUSE TestExpandedCategoriesToADMX/multiple_categories === RUN TestExpandedCategoriesToADMX/decimal === PAUSE TestExpandedCategoriesToADMX/decimal === RUN TestExpandedCategoriesToADMX/decimal_with_max_only === PAUSE TestExpandedCategoriesToADMX/decimal_with_max_only === RUN TestExpandedCategoriesToADMX/long_decimal === PAUSE TestExpandedCategoriesToADMX/long_decimal === RUN TestExpandedCategoriesToADMX/double === PAUSE TestExpandedCategoriesToADMX/double === RUN TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges === RUN TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults === PAUSE TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults === RUN TestExpandedCategoriesToADMX/simple === PAUSE TestExpandedCategoriesToADMX/simple === RUN TestExpand/dconf === RUN TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified === PAUSE TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified === RUN TestGenerateExpandedCategories/applicable_to_all_releases === PAUSE TestExpand/dconf === PAUSE TestGenerateExpandedCategories/applicable_to_all_releases === RUN TestGenerateExpandedCategories/error_on_different_class === CONT TestExpand/no_release_file === PAUSE TestGenerateExpandedCategories/error_on_different_class === RUN TestGenerateExpandedCategories/error_on_missing_release === PAUSE TestGenerateExpandedCategories/error_on_missing_release === RUN TestGenerateExpandedCategories/error_on_empty_default_policy_class === PAUSE TestGenerateExpandedCategories/error_on_empty_default_policy_class === RUN TestExpandedCategoriesToADMX/basic_key === PAUSE TestExpandedCategoriesToADMX/basic_key === RUN TestExpandedCategoriesToADMX/decimal_with_min_only === PAUSE TestExpandedCategoriesToADMX/decimal_with_min_only === RUN TestExpandedCategoriesToADMX/choices_with_default === PAUSE TestExpandedCategoriesToADMX/choices_with_default === RUN TestExpandedCategoriesToADMX/double_with_range === PAUSE TestExpandedCategoriesToADMX/double_with_range === RUN TestExpandedCategoriesToADMX/multiple_releases_for_one_key === PAUSE TestExpandedCategoriesToADMX/multiple_releases_for_one_key === RUN TestGenerateExpandedCategories/two_policies === RUN TestExpandedCategoriesToADMX/no_meta_at_all === PAUSE TestGenerateExpandedCategories/two_policies === PAUSE TestExpandedCategoriesToADMX/no_meta_at_all === RUN TestGenerateExpandedCategories/nested_categories === CONT TestExpand/ignore_categories_and_non_yaml_files === PAUSE TestGenerateExpandedCategories/nested_categories === RUN TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class === PAUSE TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class === RUN TestGenerateExpandedCategories/no_note === PAUSE TestGenerateExpandedCategories/no_note === RUN TestGenerateExpandedCategories/different_element_type === PAUSE TestGenerateExpandedCategories/different_element_type === RUN TestGenerateExpandedCategories/different_display_name === PAUSE TestGenerateExpandedCategories/different_display_name === RUN TestGenerateExpandedCategories/default_policy_class_is_capitalized === CONT TestExpand/dconf === PAUSE TestGenerateExpandedCategories/default_policy_class_is_capitalized === RUN TestGenerateExpandedCategories/different_meta === PAUSE TestGenerateExpandedCategories/different_meta === RUN TestGenerateExpandedCategories/different_range === PAUSE TestGenerateExpandedCategories/different_range === RUN TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases === PAUSE TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases === RUN TestGenerateExpandedCategories/no_meta_enabled === PAUSE TestGenerateExpandedCategories/no_meta_enabled === RUN TestGenerateExpandedCategories/no_meta_disabled === PAUSE TestGenerateExpandedCategories/no_meta_disabled === RUN TestGenerateExpandedCategories/no_meta_at_all === PAUSE TestGenerateExpandedCategories/no_meta_at_all === RUN TestGenerateExpandedCategories/different_defaults === CONT TestExpand/no_source_directory === PAUSE TestGenerateExpandedCategories/different_defaults === RUN TestGenerateExpandedCategories/error_on_unexisting_policy_referenced === CONT TestExpand/unsupported_policy_type === PAUSE TestGenerateExpandedCategories/error_on_unexisting_policy_referenced === CONT TestExpand/no_version_id === RUN TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key === RUN TestGenerateExpandedCategories/error_on_different_policy_type === PAUSE TestGenerateExpandedCategories/error_on_different_policy_type === RUN TestGenerateExpandedCategories/policy_directory_doesn't_exist === PAUSE TestGenerateExpandedCategories/policy_directory_doesn't_exist === RUN TestGenerateExpandedCategories/simple === CONT TestExpand/expanded_policy_with_meta === PAUSE TestGenerateExpandedCategories/simple === RUN TestGenerateExpandedCategories/different_explain_text === PAUSE TestGenerateExpandedCategories/different_explain_text === RUN TestGenerateExpandedCategories/with_prefix === PAUSE TestGenerateExpandedCategories/with_prefix === RUN TestGenerateExpandedCategories/range === PAUSE TestGenerateExpandedCategories/range === RUN TestGenerateExpandedCategories/choices === CONT TestExpand/expanded_policy_with_release_any === PAUSE TestGenerateExpandedCategories/choices === RUN TestGenerateExpandedCategories/requires_ubuntu_pro === PAUSE TestGenerateExpandedCategories/requires_ubuntu_pro === RUN TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key === PAUSE TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key === RUN TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases === PAUSE TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases === CONT TestExpand/expanded_policy === RUN TestGenerateExpandedCategories/available_on_one_release_only === PAUSE TestGenerateExpandedCategories/available_on_one_release_only === RUN TestGenerateExpandedCategories/no_defaults === PAUSE TestGenerateExpandedCategories/no_defaults === RUN TestGenerateExpandedCategories/different_choices === PAUSE TestGenerateExpandedCategories/different_choices === RUN TestGenerateExpandedCategories/error_on_one_policy_not_used === PAUSE TestGenerateExpandedCategories/error_on_one_policy_not_used === RUN TestGenerateExpandedCategories/error_on_invalid_default_policy_class === PAUSE TestGenerateExpandedCategories/error_on_invalid_default_policy_class === RUN TestGenerateExpandedCategories/same_default === PAUSE TestGenerateExpandedCategories/same_default === CONT TestExpand/dconf_generation_fails === CONT TestExpand/invalid_dconf.yaml === CONT TestExpandedCategoriesToADMX/decimal_with_range === CONT TestExpandedCategoriesToADMX/no_meta_at_all === CONT TestExpandedCategoriesToADMX/multiple_releases_for_one_key === CONT TestExpandedCategoriesToADMX/double_with_range === CONT TestExpandedCategoriesToADMX/choices_with_default --- PASS: TestExpand (0.17s) --- PASS: TestExpand/no_release_file (0.06s) --- PASS: TestExpand/no_source_directory (0.01s) --- PASS: TestExpand/unsupported_policy_type (0.01s) --- PASS: TestExpand/no_version_id (0.01s) --- PASS: TestExpand/dconf_generation_fails (0.16s) --- PASS: TestExpand/expanded_policy_with_release_any (0.26s) --- PASS: TestExpand/expanded_policy_with_meta (0.28s) --- PASS: TestExpand/expanded_policy (0.25s) --- PASS: TestExpand/invalid_dconf.yaml (0.06s) --- PASS: TestExpand/ignore_categories_and_non_yaml_files (0.46s) --- PASS: TestExpand/dconf (0.42s) === CONT TestExpandedCategoriesToADMX/decimal_with_min_only === CONT TestExpandedCategoriesToADMX/basic_key === CONT TestExpandedCategoriesToADMX/simple === CONT TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges === CONT TestExpandedCategoriesToADMX/double === CONT TestExpandedCategoriesToADMX/long_decimal --- PASS: TestGenerate (0.11s) --- PASS: TestGenerate/invalid_definition_file (0.16s) --- PASS: TestGenerate/category_expansion_fails (0.22s) --- PASS: TestGenerate/admx_generation_fails (0.24s) --- PASS: TestGenerate/releases_from_yaml (0.80s) --- PASS: TestGenerate/autodetect_overrides_releases_from_yaml (1.09s) === CONT TestExpandedCategoriesToADMX/decimal_with_max_only === CONT TestExpandedCategoriesToADMX/decimal === CONT TestExpandedCategoriesToADMX/multiple_categories === CONT TestExpandedCategoriesToADMX/no_meta_enabled === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype === CONT TestExpandedCategoriesToADMX/choices === CONT TestExpandedCategoriesToADMX/array_of_integers === CONT TestExpandedCategoriesToADMX/array_of_strings === CONT TestExpandedCategoriesToADMX/boolean === CONT TestExpandedCategoriesToADMX/other_distro === CONT TestExpandedCategoriesToADMX/nested_categories === CONT TestExpandedCategoriesToADMX/multiple_releases_with_different_choices === CONT TestExpandedCategoriesToADMX/error_on_destination_creation === CONT TestExpandedCategoriesToADMX/no_meta_disabled === CONT TestGenerateExpandedCategories/use_policy_class_instead_of_category_default === CONT TestGenerateExpandedCategories/no_meta_enabled === CONT TestGenerateExpandedCategories/same_default === CONT TestGenerateExpandedCategories/error_on_invalid_default_policy_class === CONT TestGenerateExpandedCategories/error_on_one_policy_not_used === CONT TestGenerateExpandedCategories/different_choices === CONT TestGenerateExpandedCategories/no_defaults === CONT TestGenerateExpandedCategories/available_on_one_release_only === CONT TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases === CONT TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key === CONT TestGenerateExpandedCategories/requires_ubuntu_pro === CONT TestGenerateExpandedCategories/choices === CONT TestGenerateExpandedCategories/with_prefix === CONT TestGenerateExpandedCategories/different_explain_text === CONT TestGenerateExpandedCategories/range === CONT TestGenerateExpandedCategories/simple === CONT TestGenerateExpandedCategories/error_on_different_policy_type === CONT TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key === CONT TestGenerateExpandedCategories/policy_directory_doesn't_exist === CONT TestGenerateExpandedCategories/error_on_unexisting_policy_referenced === CONT TestGenerateExpandedCategories/different_defaults === CONT TestGenerateExpandedCategories/no_meta_disabled === CONT TestGenerateExpandedCategories/no_meta_at_all === CONT TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases === CONT TestGenerateExpandedCategories/different_range === CONT TestGenerateExpandedCategories/error_on_empty_default_policy_class === CONT TestGenerateExpandedCategories/different_meta === CONT TestGenerateExpandedCategories/default_policy_class_is_capitalized === CONT TestGenerateExpandedCategories/different_display_name === CONT TestGenerateExpandedCategories/different_element_type === CONT TestGenerateExpandedCategories/no_note time="2022-10-17T19:04:55Z" level=warning msg="policy /org/gnome/desktop/policy-doesnotexit referenced in \"Category1 Display Name\" does not exist in any supported releases" === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class === CONT TestGenerateExpandedCategories/nested_categories === CONT TestGenerateExpandedCategories/two_policies === CONT TestGenerateExpandedCategories/error_on_nested_category === CONT TestGenerateExpandedCategories/error_on_missing_release === CONT TestGenerateExpandedCategories/error_on_different_class === CONT TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified === CONT TestGenerateExpandedCategories/applicable_to_all_releases --- PASS: TestExpandedCategoriesToADMX (0.19s) --- PASS: TestExpandedCategoriesToADMX/no_meta_at_all (0.33s) --- PASS: TestExpandedCategoriesToADMX/decimal_with_range (0.36s) --- PASS: TestExpandedCategoriesToADMX/decimal_with_min_only (0.29s) --- PASS: TestExpandedCategoriesToADMX/multiple_releases_for_one_key (0.49s) --- PASS: TestExpandedCategoriesToADMX/double_with_range (0.56s) --- PASS: TestExpandedCategoriesToADMX/double (0.16s) --- PASS: TestExpandedCategoriesToADMX/basic_key (0.31s) --- PASS: TestExpandedCategoriesToADMX/simple (0.34s) --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_all_widgets_and_different_defaults (0.44s) --- PASS: TestExpandedCategoriesToADMX/choices_with_default (0.77s) --- PASS: TestExpandedCategoriesToADMX/decimal_with_max_only (0.26s) --- PASS: TestExpandedCategoriesToADMX/long_decimal (0.29s) --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_ranges (0.48s) --- PASS: TestExpandedCategoriesToADMX/decimal (0.27s) --- PASS: TestExpandedCategoriesToADMX/no_meta_enabled (0.24s) --- PASS: TestExpandedCategoriesToADMX/multiple_categories (0.37s) --- PASS: TestExpandedCategoriesToADMX/array_of_integers (0.23s) --- PASS: TestExpandedCategoriesToADMX/boolean (0.22s) --- PASS: TestExpandedCategoriesToADMX/other_distro (0.20s) --- PASS: TestExpandedCategoriesToADMX/choices (0.31s) --- PASS: TestExpandedCategoriesToADMX/error_on_destination_creation (0.08s) --- PASS: TestExpandedCategoriesToADMX/array_of_strings (0.35s) --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_widgettype (0.48s) --- PASS: TestExpandedCategoriesToADMX/nested_categories (0.43s) --- PASS: TestExpandedCategoriesToADMX/no_meta_disabled (0.41s) --- PASS: TestExpandedCategoriesToADMX/multiple_releases_with_different_choices (0.54s) === CONT TestGenerateExpandedCategories/basic === CONT TestGenerateExpandedCategories/multiple_top_categories === CONT TestGenerateExpandedCategories/same_policy_used_in_two_categories === CONT TestGenerateExpandedCategories/category_definition_doesn't_exist === CONT TestGenerateExpandedCategories/meta_entry_only --- PASS: TestGenerateExpandedCategories (0.37s) --- PASS: TestGenerateExpandedCategories/use_policy_class_instead_of_category_default (0.05s) --- PASS: TestGenerateExpandedCategories/no_meta_enabled (0.03s) --- PASS: TestGenerateExpandedCategories/error_on_one_policy_not_used (0.02s) --- PASS: TestGenerateExpandedCategories/same_default (0.04s) --- PASS: TestGenerateExpandedCategories/no_defaults (0.05s) --- PASS: TestGenerateExpandedCategories/error_on_invalid_default_policy_class (0.09s) --- PASS: TestGenerateExpandedCategories/different_choices (0.07s) --- PASS: TestGenerateExpandedCategories/error_on_policy_not_attached_to_any_releases (0.03s) --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_enabled_key (0.03s) --- PASS: TestGenerateExpandedCategories/requires_ubuntu_pro (0.04s) --- PASS: TestGenerateExpandedCategories/with_prefix (0.02s) --- PASS: TestGenerateExpandedCategories/simple (0.01s) --- PASS: TestGenerateExpandedCategories/range (0.03s) --- PASS: TestGenerateExpandedCategories/policy_directory_doesn't_exist (0.00s) --- PASS: TestGenerateExpandedCategories/choices (0.04s) --- PASS: TestGenerateExpandedCategories/error_on_different_policy_type (0.02s) --- PASS: TestGenerateExpandedCategories/different_explain_text (0.06s) --- PASS: TestGenerateExpandedCategories/error_on_unexisting_policy_referenced (0.03s) --- PASS: TestGenerateExpandedCategories/meta_is_overridden_by_disabled_key (0.01s) --- PASS: TestGenerateExpandedCategories/available_on_one_release_only (0.15s) --- PASS: TestGenerateExpandedCategories/no_meta_disabled (0.06s) --- PASS: TestGenerateExpandedCategories/no_meta_at_all (0.05s) --- PASS: TestGenerateExpandedCategories/default_policy_class_is_capitalized (0.02s) --- PASS: TestGenerateExpandedCategories/error_on_empty_default_policy_class (0.04s) --- PASS: TestGenerateExpandedCategories/different_range (0.05s) --- PASS: TestGenerateExpandedCategories/different_defaults (0.10s) --- PASS: TestGenerateExpandedCategories/allow_policy_referenced_but_not_available_in_any_releases (0.09s) --- PASS: TestGenerateExpandedCategories/no_note (0.02s) --- PASS: TestGenerateExpandedCategories/different_meta (0.05s) --- PASS: TestGenerateExpandedCategories/different_element_type (0.07s) --- PASS: TestGenerateExpandedCategories/error_on_missing_release (0.01s) --- PASS: TestGenerateExpandedCategories/two_policies (0.06s) --- PASS: TestGenerateExpandedCategories/different_display_name (0.11s) --- PASS: TestGenerateExpandedCategories/error_on_nested_category (0.10s) --- PASS: TestGenerateExpandedCategories/nested_categories (0.16s) --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories_but_different_default_class (0.17s) --- PASS: TestGenerateExpandedCategories/category_definition_doesn't_exist (0.00s) --- PASS: TestGenerateExpandedCategories/basic (0.08s) --- PASS: TestGenerateExpandedCategories/same_policy_used_in_two_categories (0.09s) --- PASS: TestGenerateExpandedCategories/error_on_key_independent_of_any_release_key_but_with_one_release_specified (0.12s) --- PASS: TestGenerateExpandedCategories/error_on_different_class (0.15s) --- PASS: TestGenerateExpandedCategories/applicable_to_all_releases (0.12s) --- PASS: TestGenerateExpandedCategories/multiple_top_categories (0.11s) --- PASS: TestGenerateExpandedCategories/meta_entry_only (0.04s) PASS ok github.com/ubuntu/adsys/internal/ad/admxgen 4.349s ? github.com/ubuntu/adsys/internal/ad/admxgen/common [no test files] === RUN TestGenerate === PAUSE TestGenerate === CONT TestGenerate === RUN TestGenerate/No_key_on_system === PAUSE TestGenerate/No_key_on_system === RUN TestGenerate/Description_starting_with_deprecated_is_ignored === PAUSE TestGenerate/Description_starting_with_deprecated_is_ignored === RUN TestGenerate/Unsupported_key_type === PAUSE TestGenerate/Unsupported_key_type === RUN TestGenerate/Key_with_class === PAUSE TestGenerate/Key_with_class === RUN TestGenerate/Override_with_session_takes_session_override === PAUSE TestGenerate/Override_with_session_takes_session_override === RUN TestGenerate/Double_key_with_range === PAUSE TestGenerate/Double_key_with_range === RUN TestGenerate/Empty === PAUSE TestGenerate/Empty === RUN TestGenerate/One_decimal_key === PAUSE TestGenerate/One_decimal_key === RUN TestGenerate/One_decimal_key_with_range === PAUSE TestGenerate/One_decimal_key_with_range === RUN TestGenerate/One_decimal_key_with_min_only === PAUSE TestGenerate/One_decimal_key_with_min_only === RUN TestGenerate/Long_decimal_key === PAUSE TestGenerate/Long_decimal_key === RUN TestGenerate/Overridden_by_multiple_files,_last_wins === PAUSE TestGenerate/Overridden_by_multiple_files,_last_wins === RUN TestGenerate/Inlined_Enums_are_converted_to_choices === PAUSE TestGenerate/Inlined_Enums_are_converted_to_choices === RUN TestGenerate/Enum_does_not_exist === PAUSE TestGenerate/Enum_does_not_exist === RUN TestGenerate/Same_key_relocated_twice === PAUSE TestGenerate/Same_key_relocated_twice === RUN TestGenerate/One_boolean_key === PAUSE TestGenerate/One_boolean_key === RUN TestGenerate/Invalid_schema_files === PAUSE TestGenerate/Invalid_schema_files === RUN TestGenerate/Override_with_no_matching_session_defaults_to_root_override === PAUSE TestGenerate/Override_with_no_matching_session_defaults_to_root_override === RUN TestGenerate/Relocatable_key_overridden === PAUSE TestGenerate/Relocatable_key_overridden === RUN TestGenerate/Override_takes_first_session === PAUSE TestGenerate/Override_takes_first_session === RUN TestGenerate/Override_default_to_second_if_first_not_present === PAUSE TestGenerate/Override_default_to_second_if_first_not_present === RUN TestGenerate/Valid_class_should_be_capitalized === PAUSE TestGenerate/Valid_class_should_be_capitalized === RUN TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored === PAUSE TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored === RUN TestGenerate/Long_decimal_key_with_range_min_gt_0 === PAUSE TestGenerate/Long_decimal_key_with_range_min_gt_0 === RUN TestGenerate/Double_key === PAUSE TestGenerate/Double_key === RUN TestGenerate/Override_without_session === PAUSE TestGenerate/Override_without_session === RUN TestGenerate/Invalid_min === PAUSE TestGenerate/Invalid_min === RUN TestGenerate/One_text_key === PAUSE TestGenerate/One_text_key === RUN TestGenerate/Array_of_strings === PAUSE TestGenerate/Array_of_strings === RUN TestGenerate/Enums_in_other_files_are_converted_to_choices === PAUSE TestGenerate/Enums_in_other_files_are_converted_to_choices === RUN TestGenerate/Invalid_override_files_are_skipped === PAUSE TestGenerate/Invalid_override_files_are_skipped === RUN TestGenerate/Description_starting_with_obsolete_is_ignored === PAUSE TestGenerate/Description_starting_with_obsolete_is_ignored === RUN TestGenerate/Long_decimal_key_with_range_min_lt_0 === PAUSE TestGenerate/Long_decimal_key_with_range_min_lt_0 === RUN TestGenerate/Override_without_session_takes_default === PAUSE TestGenerate/Override_without_session_takes_default === RUN TestGenerate/Array_of_integers === PAUSE TestGenerate/Array_of_integers === RUN TestGenerate/Choices_are_loaded === PAUSE TestGenerate/Choices_are_loaded === RUN TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored === PAUSE TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored === RUN TestGenerate/Invalid_class === PAUSE TestGenerate/Invalid_class === RUN TestGenerate/NaN_min === PAUSE TestGenerate/NaN_min === RUN TestGenerate/Relocatable_key === PAUSE TestGenerate/Relocatable_key === RUN TestGenerate/One_decimal_key_with_max_only === PAUSE TestGenerate/One_decimal_key_with_max_only === CONT TestGenerate/No_key_on_system === CONT TestGenerate/Same_key_relocated_twice === CONT TestGenerate/One_text_key === CONT TestGenerate/One_decimal_key_with_max_only === CONT TestGenerate/Relocatable_key === CONT TestGenerate/NaN_min === CONT TestGenerate/Invalid_class === CONT TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored === CONT TestGenerate/Choices_are_loaded === CONT TestGenerate/Array_of_integers === CONT TestGenerate/Override_without_session_takes_default === CONT TestGenerate/Long_decimal_key_with_range_min_lt_0 === CONT TestGenerate/Description_starting_with_obsolete_is_ignored === CONT TestGenerate/Invalid_override_files_are_skipped === CONT TestGenerate/Enums_in_other_files_are_converted_to_choices === CONT TestGenerate/Array_of_strings === CONT TestGenerate/One_decimal_key === CONT TestGenerate/Enum_does_not_exist time="2022-10-17T19:04:47Z" level=warning msg="dconf entry \"/com/ubuntu/simple/non-existent\" is not available on this machine" === CONT TestGenerate/Inlined_Enums_are_converted_to_choices === CONT TestGenerate/Overridden_by_multiple_files,_last_wins time="2022-10-17T19:04:47Z" level=warning msg="testdata/system/broken_override/usr/share/glib-2.0/schemas/broken.gschema.override is an invalid override file: unclosed section: [com.ubuntu.simple.overridden\n" time="2022-10-17T19:04:47Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/obsolete\" is deprecated. Ignoring" === CONT TestGenerate/Long_decimal_key === CONT TestGenerate/One_decimal_key_with_min_only === CONT TestGenerate/Relocatable_key_overridden === CONT TestGenerate/One_decimal_key_with_range === CONT TestGenerate/Override_default_to_second_if_first_not_present === CONT TestGenerate/Override_takes_first_session === CONT TestGenerate/Override_with_session_takes_session_override === CONT TestGenerate/Empty === CONT TestGenerate/Double_key_with_range === CONT TestGenerate/Double_key === CONT TestGenerate/Invalid_min === CONT TestGenerate/Unsupported_key_type === CONT TestGenerate/Override_without_session === CONT TestGenerate/Key_with_class === CONT TestGenerate/Description_starting_with_deprecated_is_ignored === CONT TestGenerate/Invalid_schema_files === CONT TestGenerate/Override_with_no_matching_session_defaults_to_root_override time="2022-10-17T19:04:47Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated\" is deprecated. Ignoring" === CONT TestGenerate/One_boolean_key === CONT TestGenerate/Long_decimal_key_with_range_min_gt_0 === CONT TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored === CONT TestGenerate/Valid_class_should_be_capitalized time="2022-10-17T19:04:47Z" level=warning msg="dconf key \"com.ubuntu.with.deprecated\":\"/com/ubuntu/with-deprecated/deprecated-different-cases\" is deprecated. Ignoring" --- PASS: TestGenerate (0.09s) --- PASS: TestGenerate/NaN_min (0.09s) --- PASS: TestGenerate/Description_containing_deprecated_without_starting_by_it_is_not_ignored (0.12s) --- PASS: TestGenerate/Invalid_class (0.21s) --- PASS: TestGenerate/Relocatable_key (0.22s) --- PASS: TestGenerate/One_text_key (0.23s) --- PASS: TestGenerate/Same_key_relocated_twice (0.27s) --- PASS: TestGenerate/Array_of_integers (0.18s) --- PASS: TestGenerate/One_decimal_key_with_max_only (0.31s) --- PASS: TestGenerate/Long_decimal_key_with_range_min_lt_0 (0.10s) --- PASS: TestGenerate/Choices_are_loaded (0.22s) --- PASS: TestGenerate/No_key_on_system (0.36s) --- PASS: TestGenerate/Enums_in_other_files_are_converted_to_choices (0.04s) --- PASS: TestGenerate/Override_without_session_takes_default (0.14s) --- PASS: TestGenerate/Invalid_override_files_are_skipped (0.08s) --- PASS: TestGenerate/Enum_does_not_exist (0.03s) --- PASS: TestGenerate/Description_starting_with_obsolete_is_ignored (0.08s) --- PASS: TestGenerate/One_decimal_key (0.17s) --- PASS: TestGenerate/Inlined_Enums_are_converted_to_choices (0.16s) --- PASS: TestGenerate/Array_of_strings (0.20s) --- PASS: TestGenerate/Relocatable_key_overridden (0.15s) --- PASS: TestGenerate/Long_decimal_key (0.17s) --- PASS: TestGenerate/Overridden_by_multiple_files,_last_wins (0.18s) --- PASS: TestGenerate/One_decimal_key_with_range (0.18s) --- PASS: TestGenerate/Override_default_to_second_if_first_not_present (0.06s) --- PASS: TestGenerate/Invalid_min (0.01s) --- PASS: TestGenerate/One_decimal_key_with_min_only (0.22s) --- PASS: TestGenerate/Double_key_with_range (0.05s) --- PASS: TestGenerate/Empty (0.08s) --- PASS: TestGenerate/Unsupported_key_type (0.01s) --- PASS: TestGenerate/Override_with_session_takes_session_override (0.12s) --- PASS: TestGenerate/Invalid_schema_files (0.02s) --- PASS: TestGenerate/Description_starting_with_deprecated_is_ignored (0.06s) --- PASS: TestGenerate/Double_key (0.13s) --- PASS: TestGenerate/Override_takes_first_session (0.21s) --- PASS: TestGenerate/Override_without_session (0.14s) --- PASS: TestGenerate/Long_decimal_key_with_range_min_gt_0 (0.09s) --- PASS: TestGenerate/One_boolean_key (0.14s) --- PASS: TestGenerate/Override_with_no_matching_session_defaults_to_root_override (0.19s) --- PASS: TestGenerate/Valid_class_should_be_capitalized (0.07s) --- PASS: TestGenerate/Description_starting_with_deprecated_mixed_case_is_ignored (0.08s) --- PASS: TestGenerate/Key_with_class (0.21s) PASS ok github.com/ubuntu/adsys/internal/ad/admxgen/dconf 1.656s === RUN TestGetVersionID === PAUSE TestGetVersionID === CONT TestGetVersionID === RUN TestGetVersionID/Read_VERSION_ID === PAUSE TestGetVersionID/Read_VERSION_ID === RUN TestGetVersionID/No_VERSION_ID_in_file === PAUSE TestGetVersionID/No_VERSION_ID_in_file === RUN TestGetVersionID/No_os-release_file === PAUSE TestGetVersionID/No_os-release_file === CONT TestGetVersionID/Read_VERSION_ID === CONT TestGetVersionID/No_os-release_file === CONT TestGetVersionID/No_VERSION_ID_in_file --- PASS: TestGetVersionID (0.03s) --- PASS: TestGetVersionID/No_os-release_file (0.00s) --- PASS: TestGetVersionID/No_VERSION_ID_in_file (0.01s) --- PASS: TestGetVersionID/Read_VERSION_ID (0.01s) PASS ok github.com/ubuntu/adsys/internal/ad/common 1.203s === RUN TestReadPolicy === PAUSE TestReadPolicy === RUN TestDecodePolicy === PAUSE TestDecodePolicy === CONT TestReadPolicy === CONT TestDecodePolicy === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values === RUN TestReadPolicy/one_element,_decimal_value === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values === PAUSE TestReadPolicy/one_element,_decimal_value === RUN TestReadPolicy/header_only === PAUSE TestReadPolicy/header_only === RUN TestReadPolicy/empty_key === PAUSE TestReadPolicy/empty_key === RUN TestReadPolicy/semicolon_in_data === PAUSE TestReadPolicy/semicolon_in_data === RUN TestReadPolicy/exotic_return_type === PAUSE TestReadPolicy/exotic_return_type === RUN TestReadPolicy/invalid_header,_file_truncated === PAUSE TestReadPolicy/invalid_header,_file_truncated === RUN TestReadPolicy/key_is_not_utf16 === PAUSE TestReadPolicy/key_is_not_utf16 === RUN TestReadPolicy/section_separators_in_data === PAUSE TestReadPolicy/section_separators_in_data === RUN TestDecodePolicy/semicolon_in_data === RUN TestReadPolicy/empty_value === PAUSE TestDecodePolicy/semicolon_in_data === RUN TestDecodePolicy/exotic_return_type === PAUSE TestReadPolicy/empty_value === PAUSE TestDecodePolicy/exotic_return_type === RUN TestReadPolicy/empty_file === PAUSE TestReadPolicy/empty_file === RUN TestDecodePolicy/invalid_container_default_values === PAUSE TestDecodePolicy/invalid_container_default_values === RUN TestDecodePolicy/one_element,_string_value === RUN TestReadPolicy/two_elements === PAUSE TestReadPolicy/two_elements === RUN TestReadPolicy/no_header === PAUSE TestReadPolicy/no_header === RUN TestReadPolicy/section_not_closed === PAUSE TestReadPolicy/section_not_closed === RUN TestReadPolicy/missing_field === PAUSE TestReadPolicy/missing_field === RUN TestReadPolicy/value_is_not_utf16 === PAUSE TestReadPolicy/value_is_not_utf16 === RUN TestReadPolicy/one_element,_string_value === PAUSE TestReadPolicy/one_element,_string_value === RUN TestReadPolicy/memory_on_multiple_elements_dont_overlap === PAUSE TestReadPolicy/memory_on_multiple_elements_dont_overlap === RUN TestReadPolicy/invalid_header,_header_doesnt_match === PAUSE TestReadPolicy/invalid_header,_header_doesnt_match === RUN TestReadPolicy/invalid_header,_header_too_short === PAUSE TestReadPolicy/invalid_header,_header_too_short === CONT TestReadPolicy/one_element,_decimal_value === CONT TestReadPolicy/two_elements === PAUSE TestDecodePolicy/one_element,_string_value === RUN TestDecodePolicy/one_element,_multitext_value === PAUSE TestDecodePolicy/one_element,_multitext_value === RUN TestDecodePolicy/basic_type_with_default_value_has_value_filed_in === PAUSE TestDecodePolicy/basic_type_with_default_value_has_value_filed_in === RUN TestDecodePolicy/container_strategy_is_reflected_on_child === PAUSE TestDecodePolicy/container_strategy_is_reflected_on_child === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values === CONT TestReadPolicy/invalid_header,_header_too_short === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values === CONT TestReadPolicy/invalid_header,_header_doesnt_match === RUN TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) === PAUSE TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined === RUN TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none === RUN TestDecodePolicy/empty_value === PAUSE TestDecodePolicy/empty_value === RUN TestDecodePolicy/section_separators_in_data === PAUSE TestDecodePolicy/section_separators_in_data === CONT TestReadPolicy/invalid_header,_file_truncated === RUN TestDecodePolicy/empty_data === PAUSE TestDecodePolicy/empty_data === RUN TestDecodePolicy/invalid_decimal_value === PAUSE TestDecodePolicy/invalid_decimal_value === RUN TestDecodePolicy/one_element,_decimal_value === CONT TestReadPolicy/empty_value === PAUSE TestDecodePolicy/one_element,_decimal_value === RUN TestDecodePolicy/two_elements === PAUSE TestDecodePolicy/two_elements === RUN TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker === PAUSE TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker === CONT TestReadPolicy/section_separators_in_data === RUN TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker === PAUSE TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker === RUN TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values === PAUSE TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values === RUN TestDecodePolicy/section_not_closed === PAUSE TestDecodePolicy/section_not_closed === RUN TestDecodePolicy/disabled_container_disables_its_option_values === PAUSE TestDecodePolicy/disabled_container_disables_its_option_values === RUN TestDecodePolicy/null_character_in_data === PAUSE TestDecodePolicy/null_character_in_data === RUN TestDecodePolicy/basic_type,_enabled === PAUSE TestDecodePolicy/basic_type,_enabled === RUN TestDecodePolicy/basic_type_with_strategy === PAUSE TestDecodePolicy/basic_type_with_strategy === RUN TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type === PAUSE TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type === RUN TestDecodePolicy/invalid_header,_header_doesnt_match === PAUSE TestDecodePolicy/invalid_header,_header_doesnt_match === RUN TestDecodePolicy/invalid_header,_header_too_short === PAUSE TestDecodePolicy/invalid_header,_header_too_short === CONT TestReadPolicy/key_is_not_utf16 === RUN TestDecodePolicy/empty_file === PAUSE TestDecodePolicy/empty_file === RUN TestDecodePolicy/key_is_not_utf16 === PAUSE TestDecodePolicy/key_is_not_utf16 === RUN TestDecodePolicy/empty_key === PAUSE TestDecodePolicy/empty_key === RUN TestDecodePolicy/container_with_default_elements_override_empty_option_values === PAUSE TestDecodePolicy/container_with_default_elements_override_empty_option_values === CONT TestReadPolicy/memory_on_multiple_elements_dont_overlap === CONT TestReadPolicy/section_not_closed === CONT TestReadPolicy/empty_file === CONT TestReadPolicy/semicolon_in_data === CONT TestReadPolicy/exotic_return_type === CONT TestReadPolicy/one_element,_string_value === CONT TestReadPolicy/value_is_not_utf16 === CONT TestReadPolicy/empty_key === CONT TestReadPolicy/header_only === CONT TestReadPolicy/no_header === CONT TestReadPolicy/missing_field === RUN TestDecodePolicy/disabled_container_with_disabled_option_values === PAUSE TestDecodePolicy/disabled_container_with_disabled_option_values === RUN TestDecodePolicy/container_with_meta_elements_and_value_on_options === PAUSE TestDecodePolicy/container_with_meta_elements_and_value_on_options === RUN TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type === PAUSE TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type === RUN TestDecodePolicy/container_without_metavalues === PAUSE TestDecodePolicy/container_without_metavalues === RUN TestDecodePolicy/invalid_header,_file_truncated === PAUSE TestDecodePolicy/invalid_header,_file_truncated === RUN TestDecodePolicy/missing_field === PAUSE TestDecodePolicy/missing_field === RUN TestDecodePolicy/one_element,_disabled === PAUSE TestDecodePolicy/one_element,_disabled === RUN TestDecodePolicy/basic_type,_disabled === PAUSE TestDecodePolicy/basic_type,_disabled === RUN TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings === PAUSE TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings === RUN TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker === PAUSE TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker === RUN TestDecodePolicy/header_only === PAUSE TestDecodePolicy/header_only === RUN TestDecodePolicy/no_header === PAUSE TestDecodePolicy/no_header === RUN TestDecodePolicy/value_is_not_utf16 === PAUSE TestDecodePolicy/value_is_not_utf16 === RUN TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy === PAUSE TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy === RUN TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options === PAUSE TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options === RUN TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none === PAUSE TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values === CONT TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none === CONT TestDecodePolicy/basic_type,_enabled --- PASS: TestReadPolicy (0.11s) --- PASS: TestReadPolicy/invalid_header,_header_too_short (0.03s) --- PASS: TestReadPolicy/invalid_header,_header_doesnt_match (0.01s) --- PASS: TestReadPolicy/two_elements (0.05s) --- PASS: TestReadPolicy/empty_value (0.01s) --- PASS: TestReadPolicy/invalid_header,_file_truncated (0.00s) --- PASS: TestReadPolicy/key_is_not_utf16 (0.01s) --- PASS: TestReadPolicy/one_element,_decimal_value (0.07s) --- PASS: TestReadPolicy/exotic_return_type (0.00s) --- PASS: TestReadPolicy/section_not_closed (0.01s) --- PASS: TestReadPolicy/one_element,_string_value (0.02s) --- PASS: TestReadPolicy/value_is_not_utf16 (0.01s) --- PASS: TestReadPolicy/header_only (0.00s) --- PASS: TestReadPolicy/memory_on_multiple_elements_dont_overlap (0.03s) --- PASS: TestReadPolicy/no_header (0.00s) --- PASS: TestReadPolicy/section_separators_in_data (0.04s) --- PASS: TestReadPolicy/missing_field (0.00s) --- PASS: TestReadPolicy/semicolon_in_data (0.03s) --- PASS: TestReadPolicy/empty_key (0.01s) --- PASS: TestReadPolicy/empty_file (0.04s) === CONT TestDecodePolicy/container_without_metavalues === CONT TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options === CONT TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy === CONT TestDecodePolicy/empty_value === CONT TestDecodePolicy/null_character_in_data === CONT TestDecodePolicy/disabled_container_disables_its_option_values === CONT TestDecodePolicy/value_is_not_utf16 === CONT TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker === CONT TestDecodePolicy/section_not_closed === CONT TestDecodePolicy/one_element,_decimal_value === CONT TestDecodePolicy/two_elements === CONT TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker === CONT TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values === CONT TestDecodePolicy/header_only === CONT TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings === CONT TestDecodePolicy/missing_field === CONT TestDecodePolicy/one_element,_disabled === CONT TestDecodePolicy/key_is_not_utf16 === CONT TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type === CONT TestDecodePolicy/container_with_meta_elements_and_value_on_options === CONT TestDecodePolicy/disabled_container_with_disabled_option_values === CONT TestDecodePolicy/container_with_default_elements_override_empty_option_values === CONT TestDecodePolicy/empty_key === CONT TestDecodePolicy/invalid_header,_header_doesnt_match === CONT TestDecodePolicy/empty_file === CONT TestDecodePolicy/invalid_header,_header_too_short === CONT TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type === CONT TestDecodePolicy/basic_type,_disabled === CONT TestDecodePolicy/section_separators_in_data === CONT TestDecodePolicy/basic_type_with_default_value_has_value_filed_in === CONT TestDecodePolicy/invalid_header,_file_truncated === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none === CONT TestDecodePolicy/no_header === CONT TestDecodePolicy/empty_data === CONT TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) === CONT TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values === CONT TestDecodePolicy/container_strategy_is_reflected_on_child === CONT TestDecodePolicy/one_element,_multitext_value === CONT TestDecodePolicy/exotic_return_type === CONT TestDecodePolicy/semicolon_in_data === CONT TestDecodePolicy/invalid_container_default_values === CONT TestDecodePolicy/invalid_decimal_value === CONT TestDecodePolicy/basic_type_with_strategy === CONT TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined === CONT TestDecodePolicy/one_element,_string_value --- PASS: TestDecodePolicy (0.22s) --- PASS: TestDecodePolicy/empty_value (0.00s) --- PASS: TestDecodePolicy/null_character_in_data (0.00s) --- PASS: TestDecodePolicy/container_with_meta_elements_and_default_without_value_on_options (0.01s) --- PASS: TestDecodePolicy/basic_type,_enabled (0.01s) --- PASS: TestDecodePolicy/disabled_container_disables_its_option_values (0.00s) --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_non_empty_option_values (0.02s) --- PASS: TestDecodePolicy/value_is_not_utf16 (0.00s) --- PASS: TestDecodePolicy/section_not_closed (0.00s) --- PASS: TestDecodePolicy/basic_type_with_a_DISABLED_marker_keeps_meta_and_strategy (0.00s) --- PASS: TestDecodePolicy/container_without_metavalues (0.01s) --- PASS: TestDecodePolicy/one_element,_decimal_value (0.00s) --- PASS: TestDecodePolicy/disabled_container_with_values_still_keep_meta_and_strategy_with_a_DISABLED_marker (0.00s) --- PASS: TestDecodePolicy/container_with_missing_default_element_for_option_values_have_empty_strings (0.00s) --- PASS: TestDecodePolicy/two_elements (0.01s) --- PASS: TestDecodePolicy/basic_type_with_default_value_needs_a_DISABLED_marker (0.01s) --- PASS: TestDecodePolicy/header_only (0.01s) --- PASS: TestDecodePolicy/missing_field (0.00s) --- PASS: TestDecodePolicy/key_is_not_utf16 (0.00s) --- PASS: TestDecodePolicy/policy_container_is_ignored_for_meta_of_wrong_type (0.00s) --- PASS: TestDecodePolicy/container_with_meta_elements_and_value_on_options (0.00s) --- PASS: TestDecodePolicy/disabled_container_with_disabled_option_values (0.00s) --- PASS: TestDecodePolicy/empty_key (0.00s) --- PASS: TestDecodePolicy/container_with_default_elements_override_empty_option_values (0.00s) --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_meta_values,_even_if_second_has_none (0.03s) --- PASS: TestDecodePolicy/invalid_header,_header_doesnt_match (0.00s) --- PASS: TestDecodePolicy/empty_file (0.00s) --- PASS: TestDecodePolicy/basic_type_is_ignored_for_meta_of_wrong_type (0.00s) --- PASS: TestDecodePolicy/invalid_header,_header_too_short (0.00s) --- PASS: TestDecodePolicy/section_separators_in_data (0.00s) --- PASS: TestDecodePolicy/invalid_header,_file_truncated (0.00s) --- PASS: TestDecodePolicy/empty_data (0.00s) --- PASS: TestDecodePolicy/basic_type_with_default_value_has_value_filed_in (0.00s) --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_even_when_second_has_none (0.00s) --- PASS: TestDecodePolicy/one_element,_disabled (0.01s) --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_default_values (0.02s) --- PASS: TestDecodePolicy/container_with_default_elements_are_ignored_on_int_option_values_(always_have_values) (0.00s) --- PASS: TestDecodePolicy/no_header (0.00s) --- PASS: TestDecodePolicy/one_container_with_2_children_don’t_mix_their_meta_values (0.00s) --- PASS: TestDecodePolicy/exotic_return_type (0.00s) --- PASS: TestDecodePolicy/basic_type,_disabled (0.01s) --- PASS: TestDecodePolicy/semicolon_in_data (0.00s) --- PASS: TestDecodePolicy/container_strategy_is_reflected_on_child (0.00s) --- PASS: TestDecodePolicy/disabled_container_with_values_needs_a_DISABLED_marker (0.03s) --- PASS: TestDecodePolicy/invalid_decimal_value (0.00s) --- PASS: TestDecodePolicy/invalid_container_default_values (0.00s) --- PASS: TestDecodePolicy/one_element,_multitext_value (0.01s) --- PASS: TestDecodePolicy/basic_type_with_strategy (0.00s) --- PASS: TestDecodePolicy/one_element,_string_value (0.00s) --- PASS: TestDecodePolicy/two_containers_don’t_mix_their_default_values_when_redefined (0.00s) === RUN FuzzDecodePolicy === RUN FuzzDecodePolicy/seed#0 === RUN FuzzDecodePolicy/seed#1 === RUN FuzzDecodePolicy/seed#2 === RUN FuzzDecodePolicy/seed#3 === RUN FuzzDecodePolicy/seed#4 === RUN FuzzDecodePolicy/seed#5 === RUN FuzzDecodePolicy/seed#6 === RUN FuzzDecodePolicy/seed#7 === RUN FuzzDecodePolicy/seed#8 === RUN FuzzDecodePolicy/seed#9 === RUN FuzzDecodePolicy/seed#10 === RUN FuzzDecodePolicy/seed#11 === RUN FuzzDecodePolicy/seed#12 === RUN FuzzDecodePolicy/seed#13 === RUN FuzzDecodePolicy/seed#14 === RUN FuzzDecodePolicy/seed#15 === RUN FuzzDecodePolicy/seed#16 === RUN FuzzDecodePolicy/seed#17 === RUN FuzzDecodePolicy/seed#18 === RUN FuzzDecodePolicy/seed#19 === RUN FuzzDecodePolicy/seed#20 === RUN FuzzDecodePolicy/seed#21 === RUN FuzzDecodePolicy/seed#22 === RUN FuzzDecodePolicy/seed#23 === RUN FuzzDecodePolicy/seed#24 === RUN FuzzDecodePolicy/seed#25 === RUN FuzzDecodePolicy/seed#26 === RUN FuzzDecodePolicy/seed#27 === RUN FuzzDecodePolicy/seed#28 === RUN FuzzDecodePolicy/seed#29 === RUN FuzzDecodePolicy/seed#30 === RUN FuzzDecodePolicy/seed#31 === RUN FuzzDecodePolicy/seed#32 === RUN FuzzDecodePolicy/seed#33 === RUN FuzzDecodePolicy/seed#34 === RUN FuzzDecodePolicy/seed#35 === RUN FuzzDecodePolicy/seed#36 === RUN FuzzDecodePolicy/seed#37 === RUN FuzzDecodePolicy/seed#38 === RUN FuzzDecodePolicy/seed#39 === RUN FuzzDecodePolicy/seed#40 === RUN FuzzDecodePolicy/seed#41 === RUN FuzzDecodePolicy/seed#42 === RUN FuzzDecodePolicy/seed#43 === RUN FuzzDecodePolicy/seed#44 === RUN FuzzDecodePolicy/seed#45 === RUN FuzzDecodePolicy/seed#46 === RUN FuzzDecodePolicy/seed#47 === RUN FuzzDecodePolicy/seed#48 === RUN FuzzDecodePolicy/seed#49 === RUN FuzzDecodePolicy/seed#50 === RUN FuzzDecodePolicy/seed#51 === RUN FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 --- PASS: FuzzDecodePolicy (0.22s) --- PASS: FuzzDecodePolicy/seed#0 (0.01s) --- PASS: FuzzDecodePolicy/seed#1 (0.00s) --- PASS: FuzzDecodePolicy/seed#2 (0.00s) --- PASS: FuzzDecodePolicy/seed#3 (0.00s) --- PASS: FuzzDecodePolicy/seed#4 (0.00s) --- PASS: FuzzDecodePolicy/seed#5 (0.00s) --- PASS: FuzzDecodePolicy/seed#6 (0.00s) --- PASS: FuzzDecodePolicy/seed#7 (0.00s) --- PASS: FuzzDecodePolicy/seed#8 (0.00s) --- PASS: FuzzDecodePolicy/seed#9 (0.00s) --- PASS: FuzzDecodePolicy/seed#10 (0.00s) --- PASS: FuzzDecodePolicy/seed#11 (0.00s) --- PASS: FuzzDecodePolicy/seed#12 (0.00s) --- PASS: FuzzDecodePolicy/seed#13 (0.00s) --- PASS: FuzzDecodePolicy/seed#14 (0.00s) --- PASS: FuzzDecodePolicy/seed#15 (0.00s) --- PASS: FuzzDecodePolicy/seed#16 (0.00s) --- PASS: FuzzDecodePolicy/seed#17 (0.00s) --- PASS: FuzzDecodePolicy/seed#18 (0.00s) --- PASS: FuzzDecodePolicy/seed#19 (0.00s) --- PASS: FuzzDecodePolicy/seed#20 (0.00s) --- PASS: FuzzDecodePolicy/seed#21 (0.00s) --- PASS: FuzzDecodePolicy/seed#22 (0.00s) --- PASS: FuzzDecodePolicy/seed#23 (0.00s) --- PASS: FuzzDecodePolicy/seed#24 (0.00s) --- PASS: FuzzDecodePolicy/seed#25 (0.00s) --- PASS: FuzzDecodePolicy/seed#26 (0.00s) --- PASS: FuzzDecodePolicy/seed#27 (0.00s) --- PASS: FuzzDecodePolicy/seed#28 (0.00s) --- PASS: FuzzDecodePolicy/seed#29 (0.00s) --- PASS: FuzzDecodePolicy/seed#30 (0.00s) --- PASS: FuzzDecodePolicy/seed#31 (0.00s) --- PASS: FuzzDecodePolicy/seed#32 (0.00s) --- PASS: FuzzDecodePolicy/seed#33 (0.00s) --- PASS: FuzzDecodePolicy/seed#34 (0.00s) --- PASS: FuzzDecodePolicy/seed#35 (0.01s) --- PASS: FuzzDecodePolicy/seed#36 (0.00s) --- PASS: FuzzDecodePolicy/seed#37 (0.00s) --- PASS: FuzzDecodePolicy/seed#38 (0.00s) --- PASS: FuzzDecodePolicy/seed#39 (0.00s) --- PASS: FuzzDecodePolicy/seed#40 (0.00s) --- PASS: FuzzDecodePolicy/seed#41 (0.00s) --- PASS: FuzzDecodePolicy/seed#42 (0.00s) --- PASS: FuzzDecodePolicy/seed#43 (0.00s) --- PASS: FuzzDecodePolicy/seed#44 (0.00s) --- PASS: FuzzDecodePolicy/seed#45 (0.00s) --- PASS: FuzzDecodePolicy/seed#46 (0.00s) --- PASS: FuzzDecodePolicy/seed#47 (0.00s) --- PASS: FuzzDecodePolicy/seed#48 (0.00s) --- PASS: FuzzDecodePolicy/seed#49 (0.00s) --- PASS: FuzzDecodePolicy/seed#50 (0.00s) --- PASS: FuzzDecodePolicy/seed#51 (0.00s) --- PASS: FuzzDecodePolicy/780e5a5fa16cf9e094f2b9813f94cca989f95272a810ab7a0627e61db2a60f91 (0.00s) PASS ok github.com/ubuntu/adsys/internal/ad/registry 1.211s === RUN TestLoadServerInfo === PAUSE TestLoadServerInfo === RUN TestNew === PAUSE TestNew === CONT TestLoadServerInfo === CONT TestNew === RUN TestNew/New_and_Done_succeeds_as_expected,_first_run === PAUSE TestNew/New_and_Done_succeeds_as_expected,_first_run === RUN TestNew/Adsys_directory_can_already_exists === PAUSE TestNew/Adsys_directory_can_already_exists === RUN TestNew/Ad_New_fails_prevents_adsysservice_creation === PAUSE TestNew/Ad_New_fails_prevents_adsysservice_creation === RUN TestNew/No_url_and_domain_while_sssdconf_does_not_exists === PAUSE TestNew/No_url_and_domain_while_sssdconf_does_not_exists === CONT TestNew/New_and_Done_succeeds_as_expected,_first_run === CONT TestNew/Ad_New_fails_prevents_adsysservice_creation === CONT TestNew/Adsys_directory_can_already_exists === CONT TestNew/No_url_and_domain_while_sssdconf_does_not_exists === RUN TestLoadServerInfo/return_url_and_domain_from_sssd.conf === PAUSE TestLoadServerInfo/return_url_and_domain_from_sssd.conf === RUN TestLoadServerInfo/return_domain_and_url_without_default_domain_suffix_and_no_sssd.conf === PAUSE TestLoadServerInfo/return_domain_and_url_without_default_domain_suffix_and_no_sssd.conf === RUN TestLoadServerInfo/return_url_directly_ad_domain_from_sssd.conf === PAUSE TestLoadServerInfo/return_url_directly_ad_domain_from_sssd.conf === RUN TestLoadServerInfo/return_domain_directly_and_url_from_sssd.conf === PAUSE TestLoadServerInfo/return_domain_directly_and_url_from_sssd.conf === RUN TestLoadServerInfo/return_ad_domain_and_url_from_sssd.conf === PAUSE TestLoadServerInfo/return_ad_domain_and_url_from_sssd.conf === RUN TestLoadServerInfo/return_provided_default_domain_suffix_directly_from_sssd.conf === PAUSE TestLoadServerInfo/return_provided_default_domain_suffix_directly_from_sssd.conf === RUN TestLoadServerInfo/error_on_missing_url/domain_and_no_sssdconf === PAUSE TestLoadServerInfo/error_on_missing_url/domain_and_no_sssdconf === RUN TestLoadServerInfo/return_directly_url_and_domain_if_provided === PAUSE TestLoadServerInfo/return_directly_url_and_domain_if_provided === RUN TestLoadServerInfo/return_default_domain_suffix_from_sssd.conf === PAUSE TestLoadServerInfo/return_default_domain_suffix_from_sssd.conf === RUN TestLoadServerInfo/return_domain_if_set_directly_and_no_url_if_no_sssd.conf === PAUSE TestLoadServerInfo/return_domain_if_set_directly_and_no_url_if_no_sssd.conf === RUN TestLoadServerInfo/return_ad_domain_and_url_by_only_providing_our_domain_section === PAUSE TestLoadServerInfo/return_ad_domain_and_url_by_only_providing_our_domain_section === RUN TestLoadServerInfo/error_when_no_sssd_section_and_no_domain_provided === PAUSE TestLoadServerInfo/error_when_no_sssd_section_and_no_domain_provided === RUN TestLoadServerInfo/return_directly_url,_domain_and_default_domain_suffix_if_provided === PAUSE TestLoadServerInfo/return_directly_url,_domain_and_default_domain_suffix_if_provided === RUN TestLoadServerInfo/return_url_directly_and_domain_from_sssd.conf === PAUSE TestLoadServerInfo/return_url_directly_and_domain_from_sssd.conf === RUN TestLoadServerInfo/return_domain_and_default_domain_suffix_without_url_and_no_sssd.conf === PAUSE TestLoadServerInfo/return_domain_and_default_domain_suffix_without_url_and_no_sssd.conf === RUN TestLoadServerInfo/skip_missing_url_in_sssdconf === PAUSE TestLoadServerInfo/skip_missing_url_in_sssdconf === RUN TestLoadServerInfo/error_on_missing_domain_and_no_sssdconf === PAUSE TestLoadServerInfo/error_on_missing_domain_and_no_sssdconf === CONT TestLoadServerInfo/return_url_and_domain_from_sssd.conf === CONT TestLoadServerInfo/return_domain_if_set_directly_and_no_url_if_no_sssd.conf === CONT TestLoadServerInfo/return_url_directly_and_domain_from_sssd.conf === CONT TestLoadServerInfo/return_directly_url,_domain_and_default_domain_suffix_if_provided === CONT TestLoadServerInfo/error_when_no_sssd_section_and_no_domain_provided === CONT TestLoadServerInfo/error_on_missing_domain_and_no_sssdconf === CONT TestLoadServerInfo/return_ad_domain_and_url_by_only_providing_our_domain_section === CONT TestLoadServerInfo/skip_missing_url_in_sssdconf === CONT TestLoadServerInfo/return_domain_directly_and_url_from_sssd.conf === CONT TestLoadServerInfo/return_provided_default_domain_suffix_directly_from_sssd.conf === CONT TestLoadServerInfo/error_on_missing_url/domain_and_no_sssdconf === CONT TestLoadServerInfo/return_default_domain_suffix_from_sssd.conf === CONT TestLoadServerInfo/return_url_directly_ad_domain_from_sssd.conf === CONT TestLoadServerInfo/return_domain_and_url_without_default_domain_suffix_and_no_sssd.conf === CONT TestLoadServerInfo/return_directly_url_and_domain_if_provided === CONT TestLoadServerInfo/return_ad_domain_and_url_from_sssd.conf === CONT TestLoadServerInfo/return_domain_and_default_domain_suffix_without_url_and_no_sssd.conf --- PASS: TestLoadServerInfo (0.14s) --- PASS: TestLoadServerInfo/return_domain_if_set_directly_and_no_url_if_no_sssd.conf (0.01s) --- PASS: TestLoadServerInfo/return_directly_url,_domain_and_default_domain_suffix_if_provided (0.00s) --- PASS: TestLoadServerInfo/error_when_no_sssd_section_and_no_domain_provided (0.01s) --- PASS: TestLoadServerInfo/error_on_missing_domain_and_no_sssdconf (0.00s) --- PASS: TestLoadServerInfo/return_url_directly_and_domain_from_sssd.conf (0.02s) --- PASS: TestLoadServerInfo/return_ad_domain_and_url_by_only_providing_our_domain_section (0.00s) --- PASS: TestLoadServerInfo/return_domain_directly_and_url_from_sssd.conf (0.00s) --- PASS: TestLoadServerInfo/skip_missing_url_in_sssdconf (0.00s) --- PASS: TestLoadServerInfo/return_provided_default_domain_suffix_directly_from_sssd.conf (0.00s) --- PASS: TestLoadServerInfo/error_on_missing_url/domain_and_no_sssdconf (0.00s) --- PASS: TestLoadServerInfo/return_default_domain_suffix_from_sssd.conf (0.00s) --- PASS: TestLoadServerInfo/return_domain_and_url_without_default_domain_suffix_and_no_sssd.conf (0.00s) --- PASS: TestLoadServerInfo/return_directly_url_and_domain_if_provided (0.00s) --- PASS: TestLoadServerInfo/return_ad_domain_and_url_from_sssd.conf (0.00s) --- PASS: TestLoadServerInfo/return_domain_and_default_domain_suffix_without_url_and_no_sssd.conf (0.00s) --- PASS: TestLoadServerInfo/return_url_and_domain_from_sssd.conf (0.04s) --- PASS: TestLoadServerInfo/return_url_directly_ad_domain_from_sssd.conf (0.03s) time="2022-10-17T19:05:38Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" time="2022-10-17T19:05:38Z" level=warning msg="could not get system startup time? Can’t list next refresh: Process org.freedesktop.systemd1 exited with status 1" --- PASS: TestNew (0.01s) --- PASS: TestNew/No_url_and_domain_while_sssdconf_does_not_exists (0.20s) --- PASS: TestNew/Ad_New_fails_prevents_adsysservice_creation (0.22s) --- PASS: TestNew/Adsys_directory_can_already_exists (0.29s) --- PASS: TestNew/New_and_Done_succeeds_as_expected,_first_run (0.34s) PASS ok github.com/ubuntu/adsys/internal/adsysservice 1.781s ? github.com/ubuntu/adsys/internal/adsysservice/actions [no test files] === RUN TestIsAllowed === PAUSE TestIsAllowed === RUN TestPeerCredsInfoAuthType === PAUSE TestPeerCredsInfoAuthType === RUN TestServerPeerCredsHandshake === PAUSE TestServerPeerCredsHandshake === RUN TestServerPeerCredsInvalidSocket === PAUSE TestServerPeerCredsInvalidSocket === RUN TestIsAllowedFromContext === PAUSE TestIsAllowedFromContext === RUN TestIsAllowedFromContextWithoutPeer === PAUSE TestIsAllowedFromContextWithoutPeer === RUN TestIsAllowedFromContextWithInvalidPeerCreds === PAUSE TestIsAllowedFromContextWithInvalidPeerCreds === RUN TestIsAllowedFromContextWithoutUserKey === PAUSE TestIsAllowedFromContextWithoutUserKey === CONT TestIsAllowed === CONT TestIsAllowedFromContext === CONT TestIsAllowedFromContextWithInvalidPeerCreds === CONT TestIsAllowedFromContextWithoutUserKey === CONT TestIsAllowedFromContextWithoutPeer === CONT TestServerPeerCredsHandshake === CONT TestPeerCredsInfoAuthType --- PASS: TestPeerCredsInfoAuthType (0.00s) === CONT TestServerPeerCredsInvalidSocket --- PASS: TestServerPeerCredsInvalidSocket (0.00s) --- PASS: TestIsAllowedFromContextWithoutPeer (0.26s) --- PASS: TestServerPeerCredsHandshake (0.27s) === RUN TestIsAllowedFromContext/Valid_process_and_ACK === PAUSE TestIsAllowedFromContext/Valid_process_and_ACK --- PASS: TestIsAllowedFromContextWithoutUserKey (0.28s) === RUN TestIsAllowedFromContext/Valid_process_and_NACK === PAUSE TestIsAllowedFromContext/Valid_process_and_NACK === RUN TestIsAllowedFromContext/Extract_current_user_action_from_request === PAUSE TestIsAllowedFromContext/Extract_current_user_action_from_request === RUN TestIsAllowedFromContext/Extract_other_user_action_from_request === PAUSE TestIsAllowedFromContext/Extract_other_user_action_from_request === RUN TestIsAllowedFromContext/User_lookup_returns_an_error === PAUSE TestIsAllowedFromContext/User_lookup_returns_an_error --- PASS: TestIsAllowedFromContextWithInvalidPeerCreds (0.33s) === RUN TestIsAllowed/Process_doesn't_exists === PAUSE TestIsAllowed/Process_doesn't_exists === RUN TestIsAllowed/Invalid_process_stat_file:_)_at_the_end === PAUSE TestIsAllowed/Invalid_process_stat_file:_)_at_the_end === RUN TestIsAllowedFromContext/User_has_invalid_uid === PAUSE TestIsAllowedFromContext/User_has_invalid_uid === RUN TestIsAllowedFromContext/Root_is_always_authorized === PAUSE TestIsAllowedFromContext/Root_is_always_authorized === RUN TestIsAllowed/ActionAlwaysAllowed_is_always_allowed === CONT TestIsAllowedFromContext/User_has_invalid_uid === CONT TestIsAllowedFromContext/Extract_current_user_action_from_request === CONT TestIsAllowedFromContext/User_lookup_returns_an_error === PAUSE TestIsAllowed/ActionAlwaysAllowed_is_always_allowed === CONT TestIsAllowedFromContext/Valid_process_and_NACK === RUN TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID === PAUSE TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID === RUN TestIsAllowed/Valid_process_and_ACK === PAUSE TestIsAllowed/Valid_process_and_ACK === CONT TestIsAllowedFromContext/Valid_process_and_ACK === RUN TestIsAllowed/Valid_process_and_NACK === PAUSE TestIsAllowed/Valid_process_and_NACK === CONT TestIsAllowedFromContext/Extract_other_user_action_from_request === CONT TestIsAllowedFromContext/Root_is_always_authorized === RUN TestIsAllowed/Invalid_process_stat_file:_missing_) === PAUSE TestIsAllowed/Invalid_process_stat_file:_missing_) === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_present === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_present === RUN TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int === PAUSE TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int === RUN TestIsAllowed/Polkit_dbus_call_errors_out === PAUSE TestIsAllowed/Polkit_dbus_call_errors_out === RUN TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID === PAUSE TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID === RUN TestIsAllowed/Root_is_always_authorized === PAUSE TestIsAllowed/Root_is_always_authorized === CONT TestIsAllowed/Process_doesn't_exists === CONT TestIsAllowed/Invalid_process_stat_file:_missing_) === CONT TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID === CONT TestIsAllowed/ActionAlwaysAllowed_is_always_allowed === CONT TestIsAllowed/Invalid_process_stat_file:_)_at_the_end === CONT TestIsAllowed/Polkit_dbus_call_errors_out === CONT TestIsAllowed/Valid_process_and_NACK === CONT TestIsAllowed/Root_is_always_authorized === CONT TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID === CONT TestIsAllowed/Valid_process_and_ACK === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int === CONT TestIsAllowed/Invalid_process_stat_file:_field_isn't_present --- PASS: TestIsAllowedFromContext (0.37s) --- PASS: TestIsAllowedFromContext/User_lookup_returns_an_error (0.00s) --- PASS: TestIsAllowedFromContext/Root_is_always_authorized (0.00s) --- PASS: TestIsAllowedFromContext/Extract_current_user_action_from_request (0.01s) --- PASS: TestIsAllowedFromContext/Extract_other_user_action_from_request (0.01s) --- PASS: TestIsAllowedFromContext/Valid_process_and_ACK (0.01s) --- PASS: TestIsAllowedFromContext/Valid_process_and_NACK (0.03s) --- PASS: TestIsAllowedFromContext/User_has_invalid_uid (0.03s) --- PASS: TestIsAllowed (0.41s) --- PASS: TestIsAllowed/Process_doesn't_exists (0.00s) --- PASS: TestIsAllowed/ActionAlwaysAllowed_is_always_allowed (0.00s) --- PASS: TestIsAllowed/Invalid_process_stat_file:_)_at_the_end (0.00s) --- PASS: TestIsAllowed/User_Action_for_own_user_translates_to_Self_parameter_as_ID (0.00s) --- PASS: TestIsAllowed/Polkit_dbus_call_errors_out (0.00s) --- PASS: TestIsAllowed/Root_is_always_authorized (0.00s) --- PASS: TestIsAllowed/Valid_process_and_ACK (0.00s) --- PASS: TestIsAllowed/User_Action_on_other_user_translates_to_Other_parameter_as_ID (0.00s) --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_present (0.00s) --- PASS: TestIsAllowed/Invalid_process_stat_file:_field_isn't_an_int (0.00s) --- PASS: TestIsAllowed/Invalid_process_stat_file:_missing_) (0.01s) --- PASS: TestIsAllowed/Valid_process_and_NACK (0.02s) PASS ok github.com/ubuntu/adsys/internal/authorizer 2.270s ? github.com/ubuntu/adsys/internal/cmdhandler [no test files] === RUN TestSetVerboseMode === RUN TestSetVerboseMode/Default_level_is_warning === RUN TestSetVerboseMode/1_is_for_info === RUN TestSetVerboseMode/2_is_for_debug === RUN TestSetVerboseMode/3_is_debug_printing_callers --- PASS: TestSetVerboseMode (0.17s) --- PASS: TestSetVerboseMode/Default_level_is_warning (0.08s) --- PASS: TestSetVerboseMode/1_is_for_info (0.01s) --- PASS: TestSetVerboseMode/2_is_for_debug (0.01s) --- PASS: TestSetVerboseMode/3_is_debug_printing_callers (0.01s) === RUN TestInit === RUN TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand === RUN TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand === RUN TestInit/Environment_is_supported === RUN TestInit/Env_has_precedence_over_configuration === RUN TestInit/Load_configuration,_no_file,_no_flag,_no_env === RUN TestInit/No_config_flag_set_before_Init_is_call_is_ignored === RUN TestInit/Empty_configuration_file_is_supported === RUN TestInit/Configuration_flag,_not_in_config_dir === RUN TestInit/Configuration_changed === RUN TestInit/Callback_in_error_on_refresh_only_prints_warning time="2022-10-17T19:05:47Z" level=warning msg="Error while refreshing configuration: Error from callback" === RUN TestInit/Flag_has_precedence_over_env === RUN TestInit/Error_on_invalid_configuration_file === RUN TestInit/Load_configuration_from_executable_dir === RUN TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account === RUN TestInit/Error_on_no_verbose_flag_set_before_Init_is_call === RUN TestInit/Error_on_config_flag_points_to_unexisting_path === RUN TestInit/Load_configuration_with_file === RUN TestInit/Flag_is_supported === RUN TestInit/Configuration_flag_has_precedence_over_local_file === RUN TestInit/Error_on_callback_returning_error_on_first_call --- PASS: TestInit (12.89s) --- PASS: TestInit/Configuration_flag_on_parent,_not_in_config_dir,_init_on_subcommand (1.75s) --- PASS: TestInit/Configuration_flag_on_subcommand,_not_in_config_dir,_init_on_subcommand (0.14s) --- PASS: TestInit/Environment_is_supported (0.17s) --- PASS: TestInit/Env_has_precedence_over_configuration (0.11s) --- PASS: TestInit/Load_configuration,_no_file,_no_flag,_no_env (0.19s) --- PASS: TestInit/No_config_flag_set_before_Init_is_call_is_ignored (0.22s) --- PASS: TestInit/Empty_configuration_file_is_supported (0.10s) --- PASS: TestInit/Configuration_flag,_not_in_config_dir (0.11s) --- PASS: TestInit/Configuration_changed (2.66s) --- PASS: TestInit/Callback_in_error_on_refresh_only_prints_warning (2.40s) --- PASS: TestInit/Flag_has_precedence_over_env (0.11s) --- PASS: TestInit/Error_on_invalid_configuration_file (0.05s) --- PASS: TestInit/Load_configuration_from_executable_dir (0.08s) --- PASS: TestInit/Configuration_file_created_after_Init()_is_not_taken_into_account (4.33s) --- PASS: TestInit/Error_on_no_verbose_flag_set_before_Init_is_call (0.13s) --- PASS: TestInit/Error_on_config_flag_points_to_unexisting_path (0.03s) --- PASS: TestInit/Load_configuration_with_file (0.06s) --- PASS: TestInit/Flag_is_supported (0.05s) --- PASS: TestInit/Configuration_flag_has_precedence_over_local_file (0.05s) --- PASS: TestInit/Error_on_callback_returning_error_on_first_call (0.07s) === RUN TestLoadConfig === PAUSE TestLoadConfig === CONT TestLoadConfig === RUN TestLoadConfig/Empty_configuration_is_supported === PAUSE TestLoadConfig/Empty_configuration_is_supported === RUN TestLoadConfig/Load_configuration_deserialize_its === PAUSE TestLoadConfig/Load_configuration_deserialize_its === CONT TestLoadConfig/Empty_configuration_is_supported === CONT TestLoadConfig/Load_configuration_deserialize_its --- PASS: TestLoadConfig (0.01s) --- PASS: TestLoadConfig/Load_configuration_deserialize_its (0.01s) --- PASS: TestLoadConfig/Empty_configuration_is_supported (0.01s) PASS ok github.com/ubuntu/adsys/internal/config 14.304s === RUN TestConfigFileFromArgs === PAUSE TestConfigFileFromArgs === RUN TestDirsFromConfigFile === PAUSE TestDirsFromConfigFile === RUN TestWriteConfig === RUN TestWriteConfig/with_empty_dirs === RUN TestWriteConfig/with_relative_config_path === RUN TestWriteConfig/with_nested_config_path === RUN TestWriteConfig/with_absent_dirs --- PASS: TestWriteConfig (0.13s) --- PASS: TestWriteConfig/with_empty_dirs (0.02s) --- PASS: TestWriteConfig/with_relative_config_path (0.05s) --- PASS: TestWriteConfig/with_nested_config_path (0.04s) --- PASS: TestWriteConfig/with_absent_dirs (0.01s) === CONT TestConfigFileFromArgs === CONT TestDirsFromConfigFile === RUN TestConfigFileFromArgs/short_config_argument === PAUSE TestConfigFileFromArgs/short_config_argument === RUN TestDirsFromConfigFile/config_dirs_is_an_array === RUN TestConfigFileFromArgs/short_config_argument_with_quotes === PAUSE TestConfigFileFromArgs/short_config_argument_with_quotes === RUN TestConfigFileFromArgs/empty_args === PAUSE TestConfigFileFromArgs/empty_args === RUN TestConfigFileFromArgs/no_config_argument === PAUSE TestConfigFileFromArgs/no_config_argument === PAUSE TestDirsFromConfigFile/config_dirs_is_an_array === RUN TestConfigFileFromArgs/config_argument_with_no_value === RUN TestDirsFromConfigFile/no_config_file === PAUSE TestConfigFileFromArgs/config_argument_with_no_value === CONT TestConfigFileFromArgs/short_config_argument === PAUSE TestDirsFromConfigFile/no_config_file === CONT TestConfigFileFromArgs/empty_args === CONT TestConfigFileFromArgs/short_config_argument_with_quotes === CONT TestConfigFileFromArgs/no_config_argument === RUN TestDirsFromConfigFile/empty_config_file === PAUSE TestDirsFromConfigFile/empty_config_file === RUN TestDirsFromConfigFile/no_dirs_in_config_file === PAUSE TestDirsFromConfigFile/no_dirs_in_config_file === RUN TestDirsFromConfigFile/config_dirs_is_not_an_array === CONT TestConfigFileFromArgs/config_argument_with_no_value === PAUSE TestDirsFromConfigFile/config_dirs_is_not_an_array === CONT TestDirsFromConfigFile/config_dirs_is_an_array --- PASS: TestConfigFileFromArgs (0.01s) --- PASS: TestConfigFileFromArgs/short_config_argument (0.00s) --- PASS: TestConfigFileFromArgs/empty_args (0.00s) --- PASS: TestConfigFileFromArgs/short_config_argument_with_quotes (0.00s) --- PASS: TestConfigFileFromArgs/no_config_argument (0.00s) --- PASS: TestConfigFileFromArgs/config_argument_with_no_value (0.00s) === CONT TestDirsFromConfigFile/config_dirs_is_not_an_array === CONT TestDirsFromConfigFile/empty_config_file === CONT TestDirsFromConfigFile/no_dirs_in_config_file === CONT TestDirsFromConfigFile/no_config_file --- PASS: TestDirsFromConfigFile (0.02s) --- PASS: TestDirsFromConfigFile/config_dirs_is_an_array (0.02s) --- PASS: TestDirsFromConfigFile/no_dirs_in_config_file (0.02s) --- PASS: TestDirsFromConfigFile/empty_config_file (0.03s) --- PASS: TestDirsFromConfigFile/config_dirs_is_not_an_array (0.03s) --- PASS: TestDirsFromConfigFile/no_config_file (0.04s) PASS ok github.com/ubuntu/adsys/internal/config/watchd 27.877s ? github.com/ubuntu/adsys/internal/consts [no test files] === RUN TestStartStop === PAUSE TestStartStop === RUN TestStopBeforeServe === PAUSE TestStopBeforeServe === RUN TestChangeSocket === PAUSE TestChangeSocket === RUN TestSocketActivation === PAUSE TestSocketActivation === RUN TestUseSocketIgnoredWithSocketActivation === PAUSE TestUseSocketIgnoredWithSocketActivation === RUN TestSdNotifier === PAUSE TestSdNotifier === RUN TestFailingOption === PAUSE TestFailingOption === RUN TestCannotCreateSocket === PAUSE TestCannotCreateSocket === RUN TestServerStartListenTimeout === PAUSE TestServerStartListenTimeout === RUN TestServerDontTimeoutWithActiveRequest === PAUSE TestServerDontTimeoutWithActiveRequest === RUN TestServerDontTimeoutWithMultipleActiveRequests === PAUSE TestServerDontTimeoutWithMultipleActiveRequests === RUN TestServerChangeTimeout === PAUSE TestServerChangeTimeout === RUN TestServerDoubleQuit === PAUSE TestServerDoubleQuit === CONT TestStartStop === CONT TestCannotCreateSocket === CONT TestUseSocketIgnoredWithSocketActivation === CONT TestServerDoubleQuit === CONT TestSocketActivation === RUN TestSocketActivation/fails_when_Listeners()_fails === PAUSE TestSocketActivation/fails_when_Listeners()_fails === RUN TestSocketActivation/success_with_one_socket === PAUSE TestSocketActivation/success_with_one_socket === RUN TestSocketActivation/fails_with_many_sockets === PAUSE TestSocketActivation/fails_with_many_sockets === CONT TestSocketActivation/fails_when_Listeners()_fails === CONT TestServerChangeTimeout === CONT TestFailingOption === CONT TestChangeSocket === CONT TestSdNotifier === RUN TestSdNotifier/doesn't_fail_when_not_under_systemd === PAUSE TestSdNotifier/doesn't_fail_when_not_under_systemd === RUN TestSdNotifier/fails_when_notifier_fails === PAUSE TestSdNotifier/fails_when_notifier_fails === RUN TestSdNotifier/sends_signal === PAUSE TestSdNotifier/sends_signal === CONT TestSdNotifier/doesn't_fail_when_not_under_systemd --- PASS: TestFailingOption (0.03s) --- PASS: TestCannotCreateSocket (0.10s) === CONT TestStopBeforeServe === CONT TestSocketActivation/fails_with_many_sockets === CONT TestSocketActivation/success_with_one_socket --- PASS: TestStopBeforeServe (0.05s) === CONT TestSdNotifier/sends_signal time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestSdNotifierdoesnt_fail_when_not_under_systemd1507600154/001/socket" time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestStartStop3596243773/001/test.sock" time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestServerDoubleQuit2023559891/001/test.sock" time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestChangeSocket3298424452/001/test.sock" time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestUseSocketIgnoredWithSocketActivation707207945/001/socket" time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestSocketActivationsuccess_with_one_socket28045010/001/sock1" time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestSdNotifiersends_signal1912277446/001/socket" time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestChangeSocket3298424452/001/test2.sock" --- PASS: TestStartStop (0.25s) === CONT TestSdNotifier/fails_when_notifier_fails --- PASS: TestSocketActivation (0.01s) --- PASS: TestSocketActivation/fails_when_Listeners()_fails (0.09s) --- PASS: TestSocketActivation/fails_with_many_sockets (0.01s) --- PASS: TestSocketActivation/success_with_one_socket (0.13s) === CONT TestServerDontTimeoutWithActiveRequest === CONT TestServerDontTimeoutWithMultipleActiveRequests time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithActiveRequest4231133923/001/test.sock" time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestServerDontTimeoutWithMultipleActiveRequests935090432/001/test.sock" === CONT TestServerStartListenTimeout --- PASS: TestUseSocketIgnoredWithSocketActivation (0.25s) --- PASS: TestChangeSocket (0.23s) time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Wait for active requests to close." time="2022-10-17T19:06:41Z" level=info msg="Serving on /tmp/TestServerStartListenTimeout2102602644/001/test.sock" === CONT TestSdNotifier/sends_signal daemon_test.go:260: Error Trace: /<>/obj-riscv64-linux-gnu/src/github.com/ubuntu/adsys/internal/daemon/daemon_test.go:260 Error: Received unexpected error: can't serve: unable to start GRPC server: grpc: the server has been stopped Test: TestSdNotifier/sends_signal Messages: Listen should return no error time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." --- PASS: TestServerStartListenTimeout (0.02s) --- FAIL: TestSdNotifier (0.01s) --- PASS: TestSdNotifier/doesn't_fail_when_not_under_systemd (0.17s) --- PASS: TestSdNotifier/fails_when_notifier_fails (0.02s) --- FAIL: TestSdNotifier/sends_signal (0.14s) --- PASS: TestServerDoubleQuit (0.28s) time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." time="2022-10-17T19:06:41Z" level=info msg="Stopping daemon requested." --- PASS: TestServerDontTimeoutWithActiveRequest (0.14s) --- PASS: TestServerDontTimeoutWithMultipleActiveRequests (0.14s) time="2022-10-17T19:06:42Z" level=info msg="Serving on /tmp/TestServerChangeTimeout2144962093/001/test.sock" === CONT TestServerChangeTimeout idler_test.go:169: Server should have timed out, but it didn't --- FAIL: TestServerChangeTimeout (6.16s) FAIL FAIL github.com/ubuntu/adsys/internal/daemon 7.440s === RUN TestOnErrorWithNoError === PAUSE TestOnErrorWithNoError === RUN TestOnErrorWithError === PAUSE TestOnErrorWithError === RUN TestLogOnErrorWithNoError --- PASS: TestLogOnErrorWithNoError (0.01s) === RUN TestLogOnErrorWithError --- PASS: TestLogOnErrorWithError (0.02s) === RUN TestLogOnErrorContextWithNoError --- PASS: TestLogOnErrorContextWithNoError (0.00s) === RUN TestLogOnErrorContextWithError --- PASS: TestLogOnErrorContextWithError (0.00s) === RUN TestLogFuncOnErrorWithNoError --- PASS: TestLogFuncOnErrorWithNoError (0.00s) === RUN TestLogFuncOnErrorWithError --- PASS: TestLogFuncOnErrorWithError (0.01s) === RUN TestLogFuncOnErrorContextNoError --- PASS: TestLogFuncOnErrorContextNoError (0.00s) === RUN TestLogFuncOnErrorContextWithError --- PASS: TestLogFuncOnErrorContextWithError (0.00s) === CONT TestOnErrorWithNoError === CONT TestOnErrorWithError --- PASS: TestOnErrorWithNoError (0.00s) --- PASS: TestOnErrorWithError (0.00s) PASS ok github.com/ubuntu/adsys/internal/decorate 0.834s === RUN TestCleanDirectory === PAUSE TestCleanDirectory === RUN TestCleanDirectoryNoDirectoryExists === PAUSE TestCleanDirectoryNoDirectoryExists === RUN TestCleanDirectoryCantRemoveDirectory === PAUSE TestCleanDirectoryCantRemoveDirectory === RUN TestInstallOnlyMode --- PASS: TestInstallOnlyMode (0.01s) === RUN TestDestDirectory --- PASS: TestDestDirectory (0.01s) === CONT TestCleanDirectory === CONT TestCleanDirectoryCantRemoveDirectory === CONT TestCleanDirectoryNoDirectoryExists --- PASS: TestCleanDirectoryCantRemoveDirectory (0.05s) --- PASS: TestCleanDirectoryNoDirectoryExists (0.26s) --- PASS: TestCleanDirectory (0.30s) PASS ok github.com/ubuntu/adsys/internal/generators 1.081s === RUN TestNoNotification === PAUSE TestNoNotification === RUN TestNewConnectionNotification === PAUSE TestNewConnectionNotification === RUN TestDoneConnectionNotification === PAUSE TestDoneConnectionNotification === RUN TestErrorFromHandlerReturned === PAUSE TestErrorFromHandlerReturned === RUN TestErrorOnNilStream === PAUSE TestErrorOnNilStream === CONT TestNoNotification === CONT TestDoneConnectionNotification === CONT TestErrorOnNilStream --- PASS: TestDoneConnectionNotification (0.01s) === CONT TestNewConnectionNotification === CONT TestErrorFromHandlerReturned --- PASS: TestNewConnectionNotification (0.00s) --- PASS: TestNoNotification (0.01s) --- PASS: TestErrorOnNilStream (0.00s) --- PASS: TestErrorFromHandlerReturned (0.01s) PASS ok github.com/ubuntu/adsys/internal/grpc/connectionnotify 0.942s === RUN TestActiveConnection === PAUSE TestActiveConnection === RUN TestTimeoutOnInactiveConnection === PAUSE TestTimeoutOnInactiveConnection === RUN TestCancelOnClientSide === PAUSE TestCancelOnClientSide === RUN TestClientInterceptorFailed === PAUSE TestClientInterceptorFailed === RUN TestRecvMessageError === PAUSE TestRecvMessageError === CONT TestClientInterceptorFailed === CONT TestCancelOnClientSide === CONT TestTimeoutOnInactiveConnection === CONT TestActiveConnection --- PASS: TestClientInterceptorFailed (0.01s) === CONT TestRecvMessageError --- PASS: TestRecvMessageError (0.01s) --- PASS: TestCancelOnClientSide (0.05s) --- PASS: TestTimeoutOnInactiveConnection (0.08s) --- PASS: TestActiveConnection (0.18s) PASS ok github.com/ubuntu/adsys/internal/grpc/contextidler 1.794s === RUN TestFormat === PAUSE TestFormat === CONT TestFormat === RUN TestFormat/nil_returns_nil === PAUSE TestFormat/nil_returns_nil === RUN TestFormat/non_GRPC_errors_are_returned_as_is === PAUSE TestFormat/non_GRPC_errors_are_returned_as_is === RUN TestFormat/GRPC_Unavailable_errors_prints_daemon_name === PAUSE TestFormat/GRPC_Unavailable_errors_prints_daemon_name === RUN TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message === PAUSE TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message === RUN TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon === PAUSE TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon === RUN TestFormat/GRPC_Random_errors_prints_status_and_message === PAUSE TestFormat/GRPC_Random_errors_prints_status_and_message === CONT TestFormat/nil_returns_nil === CONT TestFormat/GRPC_Unavailable_errors_prints_daemon_name === CONT TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message === CONT TestFormat/non_GRPC_errors_are_returned_as_is === CONT TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon === CONT TestFormat/GRPC_Random_errors_prints_status_and_message --- PASS: TestFormat (0.02s) --- PASS: TestFormat/GRPC_Unavailable_errors_prints_daemon_name (0.00s) --- PASS: TestFormat/non_GRPC_errors_are_returned_as_is (0.00s) --- PASS: TestFormat/GRPC_Deadline_errors_don’t_print_status_nor_daemon_nor_message (0.00s) --- PASS: TestFormat/nil_returns_nil (0.00s) --- PASS: TestFormat/GRPC_Random_errors_prints_status_and_message (0.00s) --- PASS: TestFormat/GRPC_Unknown_errors_don’t_print_status_and_daemon (0.01s) PASS ok github.com/ubuntu/adsys/internal/grpc/grpcerror 0.658s === RUN TestStreamServer === PAUSE TestStreamServer === RUN TestStreamClient === PAUSE TestStreamClient === CONT TestStreamServer === CONT TestStreamClient --- PASS: TestStreamServer (0.06s) --- PASS: TestStreamClient (0.04s) PASS ok github.com/ubuntu/adsys/internal/grpc/interceptorschain 2.489s === RUN TestChildRecvMsgAndHandlerCalled === PAUSE TestChildRecvMsgAndHandlerCalled === CONT TestChildRecvMsgAndHandlerCalled === RUN TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called === PAUSE TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called === RUN TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact === PAUSE TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact === RUN TestChildRecvMsgAndHandlerCalled/Handler_fails_out === PAUSE TestChildRecvMsgAndHandlerCalled/Handler_fails_out === RUN TestChildRecvMsgAndHandlerCalled/RecvMsg_erroring_out === PAUSE TestChildRecvMsgAndHandlerCalled/RecvMsg_erroring_out === CONT TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called === CONT TestChildRecvMsgAndHandlerCalled/RecvMsg_erroring_out === CONT TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact === CONT TestChildRecvMsgAndHandlerCalled/Handler_fails_out time="2022-10-17T19:06:58Z" level=info msg="Error sent to client: Failing handler" --- PASS: TestChildRecvMsgAndHandlerCalled (0.02s) --- PASS: TestChildRecvMsgAndHandlerCalled/Info_being_nil_has_no_impact (0.03s) --- PASS: TestChildRecvMsgAndHandlerCalled/Handler_and_RecvMsg_are_called (0.03s) --- PASS: TestChildRecvMsgAndHandlerCalled/Handler_fails_out (0.03s) --- PASS: TestChildRecvMsgAndHandlerCalled/RecvMsg_erroring_out (0.04s) PASS ok github.com/ubuntu/adsys/internal/grpc/logconnections 0.912s === RUN TestRecvLogMsg === PAUSE TestRecvLogMsg === RUN TestAddStreamToForwardLocalLogs time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:934299]]" time="2022-10-17T19:07:05Z" level=warning msg=something --- PASS: TestAddStreamToForwardLocalLogs (0.04s) === RUN TestAddStreamToForwardOtherStream time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:401685]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:603996]]" --- PASS: TestAddStreamToForwardOtherStream (0.02s) === RUN TestAddStreamToForwardAfterClientIsConnected time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:300231]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:325580]]" --- PASS: TestAddStreamToForwardAfterClientIsConnected (0.01s) === RUN TestAddStreamToForwardDisconnect time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:949535]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:288145]]" --- PASS: TestAddStreamToForwardDisconnect (0.01s) === RUN TestAddStreamToForwardTwoClients time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:257695]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:081105]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:404766]]" --- PASS: TestAddStreamToForwardTwoClients (0.01s) === RUN TestAddStreamToForwardWithListenerCaller time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:534233]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:011132]]" --- PASS: TestAddStreamToForwardWithListenerCaller (0.03s) === RUN TestAddStreamMultipleForwarders time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:369939]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:348080]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:370067]]" --- PASS: TestAddStreamMultipleForwarders (0.01s) === RUN TestAddStreamMultipleForwardersOneWithCaller time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:116200]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:732314]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:646803]]" --- PASS: TestAddStreamMultipleForwardersOneWithCaller (0.01s) === RUN TestAddStreamToForwardFailSend time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:401131]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:563541]]" time="2022-10-17T19:07:05Z" level=warning msg="Couldn't send log to one or more listener: SendMsg failed" --- PASS: TestAddStreamToForwardFailSend (0.01s) === RUN TestRemoveAllStreams time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:395699]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:382872]]" time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:003248]]" time="2022-10-17T19:07:05Z" level=warning msg="[[123456:003248]] else" --- PASS: TestRemoveAllStreams (0.01s) === RUN TestLogWarningOnly === PAUSE TestLogWarningOnly === RUN TestMultipleLogs === PAUSE TestMultipleLogs === RUN TestAllLogLevels === PAUSE TestAllLogLevels === RUN TestDebugSentToRemoteEvenIfLocalIsWarning === PAUSE TestDebugSentToRemoteEvenIfLocalIsWarning === RUN TestLogWarningWithLocalCaller === PAUSE TestLogWarningWithLocalCaller === RUN TestLogWarningWithRemoteCaller === PAUSE TestLogWarningWithRemoteCaller === RUN TestLogWithNoCaller === PAUSE TestLogWithNoCaller === RUN TestSetReportCaller === RUN TestSetReportCaller/Report_caller === RUN TestSetReportCaller/Disable_caller --- PASS: TestSetReportCaller (0.02s) --- PASS: TestSetReportCaller/Report_caller (0.01s) --- PASS: TestSetReportCaller/Disable_caller (0.01s) === RUN TestLogSendingFail === PAUSE TestLogSendingFail === RUN TestLogStreamsAreSeparated === PAUSE TestLogStreamsAreSeparated === RUN TestLogAddHook time="2022-10-17T19:07:05Z" level=info --- PASS: TestLogAddHook (0.00s) === RUN TestStreamServerInterceptor === PAUSE TestStreamServerInterceptor === RUN TestStreamServerInterceptorSendLogsFails === PAUSE TestStreamServerInterceptorSendLogsFails === RUN TestStreamServerInterceptorLoggerInvalidMetadata === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata === CONT TestRecvLogMsg === CONT TestStreamServerInterceptorLoggerInvalidMetadata === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas === RUN TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent === RUN TestRecvLogMsg/One_message,_no_log === PAUSE TestRecvLogMsg/One_message,_no_log === RUN TestRecvLogMsg/Two_logs_with_different_debug_level === PAUSE TestRecvLogMsg/Two_logs_with_different_debug_level === RUN TestRecvLogMsg/No_caller_on_any_logs === PAUSE TestRecvLogMsg/No_caller_on_any_logs === RUN TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved === PAUSE TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved === RUN TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped === PAUSE TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped === CONT TestLogStreamsAreSeparated === CONT TestStreamServerInterceptorSendLogsFails Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:464856]]" time="2022-10-17T19:07:05Z" level=warning msg="[[123456:387308]] Couldn't send initial connection log to client" Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:387308]]" === CONT TestStreamServerInterceptor === CONT TestLogSendingFail Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:553686]]" --- PASS: TestStreamServerInterceptorSendLogsFails (0.01s) === CONT TestDebugSentToRemoteEvenIfLocalIsWarning --- PASS: TestStreamServerInterceptor (0.00s) === CONT TestLogWithNoCaller === CONT TestAllLogLevels === CONT TestLogWarningWithLocalCaller Failed to fire hook: hook fired === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent === RUN TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID === RUN TestRecvLogMsg/One_log_(and_one_closing_empty_message) === PAUSE TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID === PAUSE TestRecvLogMsg/One_log_(and_one_closing_empty_message) === RUN TestRecvLogMsg/Log_with_caller === CONT TestMultipleLogs === PAUSE TestRecvLogMsg/Log_with_caller === RUN TestRecvLogMsg/No_caller_when_not_requested === PAUSE TestRecvLogMsg/No_caller_when_not_requested === RUN TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved === PAUSE TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved === RUN TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) === PAUSE TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) === CONT TestLogWarningOnly time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:509041]]" Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:741846]]" --- PASS: TestLogWarningWithLocalCaller (0.02s) === CONT TestLogWarningWithRemoteCaller Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:957211]]" Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:874525]]" Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:855258]]" Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:835816]]" Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:211453]]" Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:182618]]" Failed to fire hook: hook fired time="2022-10-17T19:07:05Z" level=info msg="New connection from client [[123456:758812]]" --- PASS: TestMultipleLogs (0.03s) === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key --- PASS: TestLogWarningOnly (0.03s) --- PASS: TestLogSendingFail (0.05s) === CONT TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas === CONT TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved === CONT TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean === CONT TestRecvLogMsg/One_message,_no_log === CONT TestRecvLogMsg/No_caller_when_not_requested === CONT TestRecvLogMsg/Log_with_caller === CONT TestRecvLogMsg/One_log_(and_one_closing_empty_message) --- PASS: TestLogStreamsAreSeparated (0.07s) --- PASS: TestLogWithNoCaller (0.05s) --- PASS: TestDebugSentToRemoteEvenIfLocalIsWarning (0.06s) === CONT TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) === CONT TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved --- PASS: TestAllLogLevels (0.06s) --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata (0.06s) --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_caller_key (0.00s) --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Missing_client_ID (0.00s) --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Multiple_log_metas (0.00s) --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/No_meta_sent (0.01s) --- PASS: TestStreamServerInterceptorLoggerInvalidMetadata/Caller_key_is_not_a_boolean (0.00s) === CONT TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped === CONT TestRecvLogMsg/No_caller_on_any_logs --- PASS: TestLogWarningWithRemoteCaller (0.09s) === CONT TestRecvLogMsg/Two_logs_with_different_debug_level --- PASS: TestRecvLogMsg (0.07s) --- PASS: TestRecvLogMsg/One_message_with_error,_no_log,_error_is_preserved (0.00s) --- PASS: TestRecvLogMsg/No_caller_when_not_requested (0.04s) --- PASS: TestRecvLogMsg/One_log_(and_one_closing_empty_message) (0.03s) --- PASS: TestRecvLogMsg/Unknown_log_level_triggers_a_client_error_(protocole_issue) (0.02s) --- PASS: TestRecvLogMsg/No_caller_on_any_logs (0.01s) --- PASS: TestRecvLogMsg/Log_with_caller (0.05s) --- PASS: TestRecvLogMsg/One_message,_no_log (0.05s) --- PASS: TestRecvLogMsg/Invalid_object_passed_to_RecvMsg_is_gracefully_skipped (0.03s) --- PASS: TestRecvLogMsg/Logs_and_then_message_with_error,_error_is_preserved (0.07s) --- PASS: TestRecvLogMsg/Two_logs_with_different_debug_level (0.03s) PASS ok github.com/ubuntu/adsys/internal/grpc/logstreamer 1.303s ? github.com/ubuntu/adsys/internal/grpc/logstreamer/test [no test files] === RUN TestTranslations === RUN TestTranslations/en_DK._is_en_DK === RUN TestTranslations/Init_wasn't_ran === RUN TestTranslations/Multiple_text_elems === RUN TestTranslations/Fallback_to_en_if_en_DK_isn't_present === RUN TestTranslations/Prefer_locale-langpack_to_locale === RUN TestTranslations/Untranslated_elem === RUN TestTranslations/One_text_elem,_prefer_en_DK_over_en === RUN TestTranslations/en_DK@_is_en_DK === RUN TestTranslations/No_loc_prefers_LC_MESSAGES_first === RUN TestTranslations/No_loc_fallbacks_to_LANG_if_no_LC_MESSAGES === RUN TestTranslations/Missing_locale === RUN TestTranslations/Missing_domain === RUN TestTranslations/Invalid_locale_directory --- PASS: TestTranslations (0.57s) --- PASS: TestTranslations/en_DK._is_en_DK (0.08s) --- PASS: TestTranslations/Init_wasn't_ran (0.01s) --- PASS: TestTranslations/Multiple_text_elems (0.01s) --- PASS: TestTranslations/Fallback_to_en_if_en_DK_isn't_present (0.02s) --- PASS: TestTranslations/Prefer_locale-langpack_to_locale (0.01s) --- PASS: TestTranslations/Untranslated_elem (0.01s) --- PASS: TestTranslations/One_text_elem,_prefer_en_DK_over_en (0.01s) --- PASS: TestTranslations/en_DK@_is_en_DK (0.00s) --- PASS: TestTranslations/No_loc_prefers_LC_MESSAGES_first (0.00s) --- PASS: TestTranslations/No_loc_fallbacks_to_LANG_if_no_LC_MESSAGES (0.00s) --- PASS: TestTranslations/Missing_locale (0.00s) --- PASS: TestTranslations/Missing_domain (0.00s) --- PASS: TestTranslations/Invalid_locale_directory (0.00s) PASS ok github.com/ubuntu/adsys/internal/i18n 1.108s === RUN TestEventLogHook === RUN TestEventLogHook/error_level time="2022-10-17T19:03:24Z" level=error msg="Error msg" === RUN TestEventLogHook/warn_level time="2022-10-17T19:03:24Z" level=warning msg="Warning msg" time="2022-10-17T19:03:24Z" level=error msg="Error msg" === RUN TestEventLogHook/info_level time="2022-10-17T19:03:24Z" level=info msg="Info msg" time="2022-10-17T19:03:24Z" level=warning msg="Warning msg" time="2022-10-17T19:03:24Z" level=error msg="Error msg" === RUN TestEventLogHook/debug_level time="2022-10-17T19:03:24Z" level=debug msg="Debug msg" time="2022-10-17T19:03:24Z" level=info msg="Info msg" time="2022-10-17T19:03:24Z" level=warning msg="Warning msg" time="2022-10-17T19:03:24Z" level=error msg="Error msg" --- PASS: TestEventLogHook (0.06s) --- PASS: TestEventLogHook/error_level (0.02s) --- PASS: TestEventLogHook/warn_level (0.01s) --- PASS: TestEventLogHook/info_level (0.00s) --- PASS: TestEventLogHook/debug_level (0.00s) PASS ok github.com/ubuntu/adsys/internal/loghooks 0.670s === RUN TestFormat === PAUSE TestFormat === RUN TestApplyPolicies === RUN TestApplyPolicies/dconf_apply_policy_fails time="2022-10-17T19:07:22Z" level=info msg="Apply policy for hostname (machine: true)" === RUN TestApplyPolicies/scripts_apply_policy_fails time="2022-10-17T19:07:22Z" level=info msg="Apply policy for hostname (machine: true)" === RUN TestApplyPolicies/succeed time="2022-10-17T19:07:22Z" level=info msg="Apply policy for hostname (machine: true)" time="2022-10-17T19:07:22Z" level=info msg="Running machine startup scripts" === RUN TestApplyPolicies/second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended time="2022-10-17T19:07:23Z" level=info msg="Apply policy for hostname (machine: true)" time="2022-10-17T19:07:23Z" level=info msg="Running machine startup scripts" time="2022-10-17T19:07:23Z" level=info msg="Apply policy for hostname (machine: true)" time="2022-10-17T19:07:23Z" level=info msg="\"/tmp/TestApplyPoliciessecond_call_with_no_rules_dont_remove_scripts_if_session_hasnt_ended1295352500/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." === RUN TestApplyPolicies/no_subscription_is_only_dconf_content time="2022-10-17T19:07:24Z" level=info msg="Apply policy for hostname (machine: true)" === RUN TestApplyPolicies/second_call_with_no_subscription_should_remove_everything_but_dconf_content time="2022-10-17T19:07:24Z" level=info msg="Apply policy for hostname (machine: true)" time="2022-10-17T19:07:24Z" level=info msg="Running machine startup scripts" time="2022-10-17T19:07:24Z" level=info msg="Apply policy for hostname (machine: true)" === RUN TestApplyPolicies/second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended time="2022-10-17T19:07:25Z" level=info msg="Apply policy for hostname (machine: true)" time="2022-10-17T19:07:25Z" level=info msg="Running machine startup scripts" time="2022-10-17T19:07:25Z" level=info msg="Apply policy for hostname (machine: true)" time="2022-10-17T19:07:25Z" level=info msg="\"/tmp/TestApplyPoliciessecond_call_with_no_subscription_dont_remove_scripts_if_session_hasnt_ended289592409/001/run/adsys/machine/scripts/.running\" already exists, a session is already running, ignoring." === RUN TestApplyPolicies/privilege_apply_policy_fails time="2022-10-17T19:07:26Z" level=info msg="Apply policy for hostname (machine: true)" time="2022-10-17T19:07:26Z" level=info msg="Running machine startup scripts" === RUN TestApplyPolicies/second_call_with_no_rules_deletes_everything time="2022-10-17T19:07:26Z" level=info msg="Apply policy for hostname (machine: true)" time="2022-10-17T19:07:26Z" level=info msg="Running machine startup scripts" time="2022-10-17T19:07:26Z" level=info msg="Apply policy for hostname (machine: true)" --- PASS: TestApplyPolicies (5.50s) --- PASS: TestApplyPolicies/dconf_apply_policy_fails (0.29s) --- PASS: TestApplyPolicies/scripts_apply_policy_fails (0.21s) --- PASS: TestApplyPolicies/succeed (0.72s) --- PASS: TestApplyPolicies/second_call_with_no_rules_don't_remove_scripts_if_session_hasn’t_ended (0.77s) --- PASS: TestApplyPolicies/no_subscription_is_only_dconf_content (0.41s) --- PASS: TestApplyPolicies/second_call_with_no_subscription_should_remove_everything_but_dconf_content (0.87s) --- PASS: TestApplyPolicies/second_call_with_no_subscription_don't_remove_scripts_if_session_hasn’t_ended (0.71s) --- PASS: TestApplyPolicies/privilege_apply_policy_fails (0.53s) --- PASS: TestApplyPolicies/second_call_with_no_rules_deletes_everything (0.90s) === RUN TestDumpPolicies === PAUSE TestDumpPolicies === RUN TestLastUpdateFor === PAUSE TestLastUpdateFor === RUN TestGetStatus === RUN TestGetStatus/returns_enablement_status_(enabled) === RUN TestGetStatus/returns_enablement_status_(disabled) --- PASS: TestGetStatus (0.17s) --- PASS: TestGetStatus/returns_enablement_status_(enabled) (0.08s) --- PASS: TestGetStatus/returns_enablement_status_(disabled) (0.06s) === RUN TestNew === PAUSE TestNew === RUN TestNewFromCache === PAUSE TestNewFromCache === RUN TestSave === PAUSE TestSave === RUN TestCachePolicies === PAUSE TestCachePolicies === RUN TestSaveAssetsTo === PAUSE TestSaveAssetsTo === RUN TestCompressAssets === PAUSE TestCompressAssets === RUN TestGetUniqueRules === PAUSE TestGetUniqueRules === CONT TestFormat === RUN TestFormat/GPO_summary === PAUSE TestFormat/GPO_summary === RUN TestFormat/GPO_with_rules === PAUSE TestFormat/GPO_with_rules === RUN TestFormat/GPO_with_rules,_appending_to_existing_treated_key === PAUSE TestFormat/GPO_with_rules,_appending_to_existing_treated_key === RUN TestFormat/GPO_with_rules,_override_disabled_key === PAUSE TestFormat/GPO_with_rules,_override_disabled_key === RUN TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules === PAUSE TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules === RUN TestFormat/GPO_with_rules_and_overrides,_no_rules_processed === PAUSE TestFormat/GPO_with_rules_and_overrides,_no_rules_processed === RUN TestFormat/GPO_with_rules,_override_hidden === PAUSE TestFormat/GPO_with_rules,_override_hidden === RUN TestFormat/GPO_with_rules,_override_displayed === CONT TestSave === CONT TestLastUpdateFor === CONT TestNew === CONT TestDumpPolicies === RUN TestSave/gpos_only === RUN TestNew/no_gpos === PAUSE TestSave/gpos_only === CONT TestSaveAssetsTo === CONT TestCachePolicies === RUN TestSave/with_assets === PAUSE TestSave/with_assets === RUN TestSave/existing_assets_cache_is_refreshed === PAUSE TestSave/existing_assets_cache_is_refreshed === RUN TestSave/destdir_does_not_exists === CONT TestGetUniqueRules === PAUSE TestFormat/GPO_with_rules,_override_displayed === PAUSE TestNew/no_gpos === PAUSE TestSave/destdir_does_not_exists === RUN TestSave/error_on_can’t_write_to_policies_base_dir === PAUSE TestSave/error_on_can’t_write_to_policies_base_dir === RUN TestSave/existing_policies_cache_is_refreshed === RUN TestSaveAssetsTo/error_on_file_read_only_existing_in_dest === PAUSE TestSaveAssetsTo/error_on_file_read_only_existing_in_dest === PAUSE TestSave/existing_policies_cache_is_refreshed === RUN TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override === RUN TestSave/existing_cache_with_assets,_new_cache_with_no_assets === PAUSE TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override === PAUSE TestSave/existing_cache_with_assets,_new_cache_with_no_assets === RUN TestDumpPolicies/Same_GPO_Machine_and_User === RUN TestLastUpdateFor/Returns_user's_last_update_time === RUN TestSave/save_assets_on_existing_opened_file_does_not_segfault === PAUSE TestLastUpdateFor/Returns_user's_last_update_time === RUN TestLastUpdateFor/Target_is_ignored_for_machine_request === PAUSE TestSave/save_assets_on_existing_opened_file_does_not_segfault === CONT TestNewFromCache === RUN TestSave/can_refresh_on_existing_read_only_asset_file === RUN TestNewFromCache/error_on_no_policies_cache === PAUSE TestSave/can_refresh_on_existing_read_only_asset_file === PAUSE TestNewFromCache/error_on_no_policies_cache === RUN TestSave/error_on_can’t_write_to_dest_dir === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User === RUN TestDumpPolicies/Error_on_missing_target_cache === PAUSE TestSave/error_on_can’t_write_to_dest_dir === RUN TestGetUniqueRules/Two_policies,_no_overrides,_reversed === RUN TestSave/error_on_can’t_remove_existing_assets === PAUSE TestGetUniqueRules/Two_policies,_no_overrides,_reversed === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored === PAUSE TestSave/error_on_can’t_remove_existing_assets === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored === RUN TestGetUniqueRules/Two_policies,_with_reversed_overrides === PAUSE TestLastUpdateFor/Target_is_ignored_for_machine_request === RUN TestNewFromCache/gpos_only === RUN TestLastUpdateFor/Target_does_not_exist === PAUSE TestNewFromCache/gpos_only === RUN TestNewFromCache/with_assets === PAUSE TestLastUpdateFor/Target_does_not_exist === PAUSE TestNewFromCache/with_assets === RUN TestLastUpdateFor/Returns_machine's_last_update_time === RUN TestNewFromCache/error_on_invalid_policies_cache === PAUSE TestLastUpdateFor/Returns_machine's_last_update_time === PAUSE TestDumpPolicies/Error_on_missing_target_cache === RUN TestDumpPolicies/One_GPO_Machine === CONT TestFormat/GPO_summary === PAUSE TestNewFromCache/error_on_invalid_policies_cache === RUN TestNewFromCache/error_on_invalid_assets_db === PAUSE TestNewFromCache/error_on_invalid_assets_db === CONT TestCompressAssets === RUN TestCompressAssets/no_db === PAUSE TestCompressAssets/no_db === RUN TestCompressAssets/existing_db === PAUSE TestCompressAssets/existing_db === RUN TestCompressAssets/error_on_can’t_remove_existing_db === PAUSE TestCompressAssets/error_on_can’t_remove_existing_db === RUN TestCompressAssets/error_on_non_existing_directory === CONT TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override === PAUSE TestGetUniqueRules/Two_policies,_with_reversed_overrides === RUN TestSaveAssetsTo/error_on_dest_already_exists === RUN TestNew/error_on_invalid_assets_db === CONT TestFormat/GPO_with_rules,_override_displayed --- PASS: TestCachePolicies (0.18s) === PAUSE TestDumpPolicies/One_GPO_Machine === PAUSE TestCompressAssets/error_on_non_existing_directory === RUN TestDumpPolicies/One_GPO_User_+_Machine === PAUSE TestDumpPolicies/One_GPO_User_+_Machine === CONT TestFormat/GPO_with_rules_and_overrides,_no_rules_processed === RUN TestDumpPolicies/One_GPO_with_rules === PAUSE TestDumpPolicies/One_GPO_with_rules === CONT TestFormat/GPO_with_rules,_override_hidden === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_no_override === RUN TestGetUniqueRules/Multiple_domains,_different_GPOs === PAUSE TestSaveAssetsTo/error_on_dest_already_exists === RUN TestSaveAssetsTo/all === PAUSE TestGetUniqueRules/Multiple_domains,_different_GPOs === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_no_override === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules === RUN TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides === PAUSE TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides === RUN TestDumpPolicies/Machine_only_GPO_with_rules === PAUSE TestDumpPolicies/Machine_only_GPO_with_rules === RUN TestDumpPolicies/One_GPO_User === PAUSE TestDumpPolicies/One_GPO_User === CONT TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown === CONT TestFormat/GPO_with_rules,_override_disabled_key === RUN TestDumpPolicies/Multiple_GPOs === PAUSE TestDumpPolicies/Multiple_GPOs === RUN TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden === PAUSE TestNew/error_on_invalid_assets_db === RUN TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated === RUN TestNew/error_on_assets_db_does_not_exists === PAUSE TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated === RUN TestGetUniqueRules/Two_policies,_with_overrides === PAUSE TestNew/error_on_assets_db_does_not_exists === PAUSE TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden === RUN TestNew/gpos_only === PAUSE TestGetUniqueRules/Two_policies,_with_overrides === PAUSE TestNew/gpos_only === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second === RUN TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden === RUN TestNew/with_assets === PAUSE TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden === PAUSE TestNew/with_assets === RUN TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user === PAUSE TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user === CONT TestFormat/GPO_with_rules,_appending_to_existing_treated_key === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override === CONT TestFormat/GPO_with_rules === CONT TestSave/gpos_only === CONT TestSave/save_assets_on_existing_opened_file_does_not_segfault === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override === RUN TestGetUniqueRules/Order_key_ascii === PAUSE TestGetUniqueRules/Order_key_ascii === RUN TestGetUniqueRules/Disabled_value_overrides_non_disabled_one === PAUSE TestGetUniqueRules/Disabled_value_overrides_non_disabled_one === RUN TestGetUniqueRules/More_policies,_with_multiple_overrides === CONT TestSave/error_on_can’t_write_to_dest_dir === PAUSE TestGetUniqueRules/More_policies,_with_multiple_overrides === RUN TestGetUniqueRules/Append_policy_entry,_one_GPO === PAUSE TestGetUniqueRules/Append_policy_entry,_one_GPO === CONT TestSave/error_on_can’t_remove_existing_assets === PAUSE TestSaveAssetsTo/all === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs === CONT TestSave/can_refresh_on_existing_read_only_asset_file === RUN TestSaveAssetsTo/sub_directory === PAUSE TestSaveAssetsTo/sub_directory === RUN TestSaveAssetsTo/file === PAUSE TestSaveAssetsTo/file === RUN TestSaveAssetsTo/error_on_unexisting_relSrc_in_cache === PAUSE TestSaveAssetsTo/error_on_unexisting_relSrc_in_cache === RUN TestSaveAssetsTo/error_on_empty_relSrc === PAUSE TestSaveAssetsTo/error_on_empty_relSrc === RUN TestSaveAssetsTo/error_on_no_assets === PAUSE TestSaveAssetsTo/error_on_no_assets === RUN TestSaveAssetsTo/error_on_can't_chown_to_user === CONT TestSave/destdir_does_not_exists === PAUSE TestSaveAssetsTo/error_on_can't_chown_to_user === RUN TestSaveAssetsTo/sub_directory_ending_with_slash === PAUSE TestSaveAssetsTo/sub_directory_ending_with_slash === RUN TestSaveAssetsTo/error_on_read_only_dest === PAUSE TestSaveAssetsTo/error_on_read_only_dest === RUN TestSaveAssetsTo/chown_directories_and_files_when_requested === PAUSE TestSaveAssetsTo/chown_directories_and_files_when_requested === CONT TestSave/existing_cache_with_assets,_new_cache_with_no_assets --- PASS: TestFormat (0.16s) --- PASS: TestFormat/GPO_with_rules,_override_displayed (0.00s) --- PASS: TestFormat/GPO_with_rules_and_overrides,_no_rules_processed (0.01s) --- PASS: TestFormat/GPO_with_rules,_override_hidden (0.01s) --- PASS: TestFormat/GPO_with_rules,_appending_to_existing_treated_key (0.00s) --- PASS: TestFormat/GPO_summary (0.07s) --- PASS: TestFormat/GPO_and_assets_with_rules,_append_is_overridden_after_a_topmost_override (0.04s) --- PASS: TestFormat/GPO_with_rules,_override_disabled_key (0.02s) --- PASS: TestFormat/GPO_with_rules (0.03s) --- PASS: TestFormat/GPO_and_assets_with_rules,_appending_to_same_key_do_not_add_to_processed_rules (0.06s) === CONT TestSave/existing_policies_cache_is_refreshed === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs === RUN TestGetUniqueRules/One_GPO === PAUSE TestGetUniqueRules/One_GPO === RUN TestGetUniqueRules/Two_policies,_no_overrides === PAUSE TestGetUniqueRules/Two_policies,_no_overrides === RUN TestGetUniqueRules/Disabled_value_is_overridden === PAUSE TestGetUniqueRules/Disabled_value_is_overridden === RUN TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first === PAUSE TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first === RUN TestGetUniqueRules/Append_policy_entry,_closest_meta_wins === PAUSE TestGetUniqueRules/Append_policy_entry,_closest_meta_wins === RUN TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored === PAUSE TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored === CONT TestSave/with_assets === CONT TestSave/error_on_can’t_write_to_policies_base_dir === RUN TestGetUniqueRules/Multiple_domains,_same_GPOs === PAUSE TestGetUniqueRules/Multiple_domains,_same_GPOs === CONT TestSave/existing_assets_cache_is_refreshed === CONT TestLastUpdateFor/Target_does_not_exist === CONT TestLastUpdateFor/Returns_machine's_last_update_time === CONT TestLastUpdateFor/Target_is_ignored_for_machine_request === CONT TestNewFromCache/error_on_no_policies_cache === CONT TestNewFromCache/error_on_invalid_policies_cache === CONT TestNewFromCache/error_on_invalid_assets_db === CONT TestLastUpdateFor/Returns_user's_last_update_time === CONT TestNewFromCache/gpos_only === CONT TestNewFromCache/with_assets === CONT TestCompressAssets/no_db --- PASS: TestSave (0.15s) --- PASS: TestSave/error_on_can’t_write_to_dest_dir (0.06s) --- PASS: TestSave/gpos_only (0.13s) --- PASS: TestSave/destdir_does_not_exists (0.08s) --- PASS: TestSave/error_on_can’t_write_to_policies_base_dir (0.11s) --- PASS: TestSave/error_on_can’t_remove_existing_assets (0.24s) --- PASS: TestSave/can_refresh_on_existing_read_only_asset_file (0.24s) --- PASS: TestSave/with_assets (0.22s) --- PASS: TestSave/existing_cache_with_assets,_new_cache_with_no_assets (0.31s) --- PASS: TestSave/save_assets_on_existing_opened_file_does_not_segfault (0.37s) --- PASS: TestSave/existing_policies_cache_is_refreshed (0.32s) --- PASS: TestSave/existing_assets_cache_is_refreshed (0.26s) === CONT TestCompressAssets/error_on_can’t_remove_existing_db === CONT TestCompressAssets/error_on_non_existing_directory === CONT TestCompressAssets/existing_db time="2022-10-17T19:07:28Z" level=info msg="Get policies last update time \"riscv64-qemu-lgw01-015\" (machine: true)" time="2022-10-17T19:07:28Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: false)" === CONT TestNew/no_gpos time="2022-10-17T19:07:28Z" level=info msg="Get policies last update time \"does_not_exit\" (machine: true)" === CONT TestNew/gpos_only time="2022-10-17T19:07:28Z" level=info msg="Get policies last update time \"user\" (machine: false)" === CONT TestNew/with_assets === CONT TestDumpPolicies/Same_GPO_Machine_and_User === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" === CONT TestNew/error_on_assets_db_does_not_exists === CONT TestNew/error_on_invalid_assets_db === CONT TestDumpPolicies/One_GPO_User --- PASS: TestLastUpdateFor (0.17s) --- PASS: TestLastUpdateFor/Returns_machine's_last_update_time (0.19s) --- PASS: TestLastUpdateFor/Target_does_not_exist (0.22s) --- PASS: TestLastUpdateFor/Target_is_ignored_for_machine_request (0.14s) --- PASS: TestLastUpdateFor/Returns_user's_last_update_time (0.18s) === CONT TestDumpPolicies/Machine_only_GPO_with_rules time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for riscv64-qemu-lgw01-015" === CONT TestDumpPolicies/Same_GPO_Machine_and_User_with_rules time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" === CONT TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden === CONT TestDumpPolicies/Multiple_GPOs time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" === CONT TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" --- PASS: TestNewFromCache (0.03s) --- PASS: TestNewFromCache/error_on_no_policies_cache (0.00s) --- PASS: TestNewFromCache/error_on_invalid_policies_cache (0.00s) --- PASS: TestNewFromCache/error_on_invalid_assets_db (0.01s) --- PASS: TestNewFromCache/gpos_only (0.07s) --- PASS: TestNewFromCache/with_assets (0.54s) === CONT TestDumpPolicies/Multiple_GPOs_with_rules,_no_override === CONT TestDumpPolicies/One_GPO_Machine time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for riscv64-qemu-lgw01-015" time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" === CONT TestDumpPolicies/One_GPO_User_+_Machine === CONT TestDumpPolicies/One_GPO_with_rules === CONT TestDumpPolicies/Error_on_missing_target_cache time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" === CONT TestSaveAssetsTo/error_on_file_read_only_existing_in_dest time="2022-10-17T19:07:28Z" level=info msg="Dumping policies for user" time="2022-10-17T19:07:29Z" level=info msg="Dumping policies for user" === CONT TestSaveAssetsTo/error_on_empty_relSrc === CONT TestSaveAssetsTo/chown_directories_and_files_when_requested === CONT TestSaveAssetsTo/sub_directory_ending_with_slash === CONT TestSaveAssetsTo/error_on_can't_chown_to_user === CONT TestSaveAssetsTo/error_on_read_only_dest === CONT TestSaveAssetsTo/error_on_no_assets === CONT TestSaveAssetsTo/sub_directory === CONT TestSaveAssetsTo/error_on_unexisting_relSrc_in_cache === CONT TestSaveAssetsTo/file --- PASS: TestDumpPolicies (0.24s) --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User (0.08s) --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override,_shown (0.19s) --- PASS: TestDumpPolicies/One_GPO_User (0.18s) --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules_and_overrides (0.07s) --- PASS: TestDumpPolicies/Machine_only_GPO_with_rules (0.21s) --- PASS: TestDumpPolicies/Same_GPO_Machine_and_User_with_rules (0.09s) --- PASS: TestDumpPolicies/Error_on_missing_machine_cache_when_targeting_user (0.10s) --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_override_hidden (0.10s) --- PASS: TestDumpPolicies/Multiple_GPOs (0.14s) --- PASS: TestDumpPolicies/Multiple_GPOs_with_rules,_no_override (0.08s) --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_hidden (0.20s) --- PASS: TestDumpPolicies/One_GPO_Machine (0.11s) --- PASS: TestDumpPolicies/Error_on_missing_target_cache (0.02s) --- PASS: TestDumpPolicies/Overrides_between_machine_and_user_GPOs,_shown (0.19s) --- PASS: TestDumpPolicies/One_GPO_User_+_Machine (0.12s) --- PASS: TestDumpPolicies/One_GPO_with_rules (0.16s) === CONT TestSaveAssetsTo/all === CONT TestSaveAssetsTo/error_on_dest_already_exists === CONT TestGetUniqueRules/Two_policies,_no_overrides,_reversed === CONT TestGetUniqueRules/Multiple_domains,_same_GPOs --- PASS: TestNew (0.24s) --- PASS: TestNew/gpos_only (0.03s) --- PASS: TestNew/no_gpos (0.04s) --- PASS: TestNew/error_on_assets_db_does_not_exists (0.00s) --- PASS: TestNew/error_on_invalid_assets_db (0.00s) --- PASS: TestNew/with_assets (0.72s) === CONT TestGetUniqueRules/More_policies,_with_multiple_overrides === CONT TestGetUniqueRules/Append_policy_entry,_closest_meta_wins === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first === CONT TestGetUniqueRules/Disabled_value_is_overridden === CONT TestGetUniqueRules/Two_policies,_no_overrides === CONT TestGetUniqueRules/One_GPO === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored === CONT TestGetUniqueRules/Disabled_value_overrides_non_disabled_one === CONT TestGetUniqueRules/Order_key_ascii === CONT TestGetUniqueRules/Two_policies,_with_overrides === CONT TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override === CONT TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second === CONT TestGetUniqueRules/Multiple_domains,_different_GPOs === CONT TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated === CONT TestGetUniqueRules/Two_policies,_with_reversed_overrides === CONT TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored --- PASS: TestGetUniqueRules (0.30s) --- PASS: TestGetUniqueRules/Two_policies,_no_overrides,_reversed (0.00s) --- PASS: TestGetUniqueRules/Multiple_domains,_same_GPOs (0.00s) --- PASS: TestGetUniqueRules/More_policies,_with_multiple_overrides (0.00s) --- PASS: TestGetUniqueRules/Append_policy_entry,_closest_meta_wins (0.00s) --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_first (0.00s) --- PASS: TestGetUniqueRules/Disabled_value_is_overridden (0.00s) --- PASS: TestGetUniqueRules/Two_policies,_no_overrides (0.00s) --- PASS: TestGetUniqueRules/One_GPO (0.00s) --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs (0.00s) --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO (0.00s) --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_closest_policy_entry_is_append,_furthest_override_is_ignored (0.00s) --- PASS: TestGetUniqueRules/Disabled_value_overrides_non_disabled_one (0.00s) --- PASS: TestGetUniqueRules/Order_key_ascii (0.00s) --- PASS: TestGetUniqueRules/Two_policies,_with_overrides (0.00s) --- PASS: TestGetUniqueRules/Mix_meta_on_GPOs,_furthest_policy_entry_is_append,_closest_is_override (0.00s) --- PASS: TestGetUniqueRules/Multiple_domains,_different_GPOs (0.00s) --- PASS: TestGetUniqueRules/Same_key_in_different_domains_are_kept_separated (0.00s) --- PASS: TestGetUniqueRules/Append_policy_entry,_multiple_GPOs,_disabled_key_is_ignored,_second (0.00s) --- PASS: TestGetUniqueRules/Append_policy_entry,_one_GPO,_disabled_key_is_ignored (0.00s) --- PASS: TestGetUniqueRules/Two_policies,_with_reversed_overrides (0.00s) --- PASS: TestSaveAssetsTo (0.30s) --- PASS: TestSaveAssetsTo/error_on_empty_relSrc (0.01s) --- PASS: TestSaveAssetsTo/error_on_file_read_only_existing_in_dest (0.04s) --- PASS: TestSaveAssetsTo/error_on_read_only_dest (0.04s) --- PASS: TestSaveAssetsTo/error_on_no_assets (0.01s) --- PASS: TestSaveAssetsTo/error_on_can't_chown_to_user (0.06s) --- PASS: TestSaveAssetsTo/sub_directory_ending_with_slash (0.12s) --- PASS: TestSaveAssetsTo/error_on_unexisting_relSrc_in_cache (0.05s) --- PASS: TestSaveAssetsTo/file (0.06s) --- PASS: TestSaveAssetsTo/error_on_dest_already_exists (0.08s) --- PASS: TestSaveAssetsTo/sub_directory (0.19s) --- PASS: TestSaveAssetsTo/chown_directories_and_files_when_requested (0.33s) --- PASS: TestSaveAssetsTo/all (0.26s) --- PASS: TestCompressAssets (0.04s) --- PASS: TestCompressAssets/error_on_non_existing_directory (0.01s) --- PASS: TestCompressAssets/error_on_can’t_remove_existing_db (0.41s) --- PASS: TestCompressAssets/existing_db (0.91s) --- PASS: TestCompressAssets/no_db (1.08s) PASS ok github.com/ubuntu/adsys/internal/policies 8.435s === RUN TestNormalize === PAUSE TestNormalize === RUN TestApplyPolicy === PAUSE TestApplyPolicy === CONT TestApplyPolicy === CONT TestNormalize === RUN TestApplyPolicy/update_existing_profile_without_needed_db,_trailine_lines_are_removed === RUN TestNormalize/string_with_escaped_quotes === PAUSE TestApplyPolicy/update_existing_profile_without_needed_db,_trailine_lines_are_removed === RUN TestApplyPolicy/user_updates_with_different_value === PAUSE TestApplyPolicy/user_updates_with_different_value === PAUSE TestNormalize/string_with_escaped_quotes === RUN TestNormalize/ai_with_leading_and_ending_spaces_and__[] === RUN TestApplyPolicy/update_user_disabled_key_with_value === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and__[] === RUN TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element === PAUSE TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element === RUN TestNormalize/non_supported_is_reported_as_is === PAUSE TestNormalize/non_supported_is_reported_as_is === RUN TestNormalize/simple_quoted_as === PAUSE TestNormalize/simple_quoted_as === RUN TestNormalize/as_partially_quoted_can_lead_to_unexpect_result === PAUSE TestNormalize/as_partially_quoted_can_lead_to_unexpect_result === RUN TestNormalize/Multi-lines_as_unquoted === PAUSE TestNormalize/Multi-lines_as_unquoted === PAUSE TestApplyPolicy/update_user_disabled_key_with_value === RUN TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements === PAUSE TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements === RUN TestApplyPolicy/multiple_keys_same_category === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored === PAUSE TestApplyPolicy/multiple_keys_same_category === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored === RUN TestApplyPolicy/multiple_sections_with_disabled_keys === PAUSE TestApplyPolicy/multiple_sections_with_disabled_keys === RUN TestApplyPolicy/invalid_as_is_too_robust_to_produce_defaulting_values === PAUSE TestApplyPolicy/invalid_as_is_too_robust_to_produce_defaulting_values === RUN TestApplyPolicy/no_machine_db_will_fail === PAUSE TestApplyPolicy/no_machine_db_will_fail === RUN TestApplyPolicy/error_on_empty_meta === RUN TestNormalize/as_simple_quoted_as_with_spaces === PAUSE TestNormalize/as_simple_quoted_as_with_spaces === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_quoted === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_quoted === RUN TestNormalize/ai_without_ending_] === PAUSE TestNormalize/ai_without_ending_] === RUN TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] === PAUSE TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] === PAUSE TestApplyPolicy/error_on_empty_meta === RUN TestNormalize/quoted_string_with_quotes === PAUSE TestNormalize/quoted_string_with_quotes === RUN TestNormalize/yes_transformed_to_boolean === PAUSE TestNormalize/yes_transformed_to_boolean === RUN TestNormalize/no_transformed_to_boolean === PAUSE TestNormalize/no_transformed_to_boolean === RUN TestNormalize/as_with_spaces_inside === PAUSE TestNormalize/as_with_spaces_inside === RUN TestNormalize/as_with_leading_and_ending_spaces_and__[] === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and__[] === RUN TestNormalize/simple_ai === PAUSE TestNormalize/simple_ai === RUN TestNormalize/simple_unquoted_string === PAUSE TestNormalize/simple_unquoted_string === RUN TestNormalize/weird_case_true === PAUSE TestNormalize/weird_case_true === RUN TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result === PAUSE TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored === RUN TestNormalize/string_with_two_backslashes_don’t_escape_quotes === PAUSE TestNormalize/string_with_two_backslashes_don’t_escape_quotes === RUN TestNormalize/weird_case_false === PAUSE TestNormalize/weird_case_false === RUN TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets === PAUSE TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets === RUN TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element === PAUSE TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element === RUN TestApplyPolicy/update_existing_profile_with_partial_db_append_them_without_repetition === PAUSE TestApplyPolicy/update_existing_profile_with_partial_db_append_them_without_repetition === RUN TestNormalize/y_transformed_to_boolean === PAUSE TestNormalize/y_transformed_to_boolean === RUN TestNormalize/n_transformed_to_boolean === PAUSE TestNormalize/n_transformed_to_boolean === RUN TestNormalize/as_empty_elements_separated_with_commas_are_kept === PAUSE TestNormalize/as_empty_elements_separated_with_commas_are_kept === RUN TestApplyPolicy/update_existing_profile_with_wrong_order_appends_them_in_correct_order === PAUSE TestApplyPolicy/update_existing_profile_with_wrong_order_appends_them_in_correct_order === RUN TestApplyPolicy/no_update_when_no_change === PAUSE TestApplyPolicy/no_update_when_no_change === RUN TestApplyPolicy/unquoted_string === PAUSE TestApplyPolicy/unquoted_string === RUN TestApplyPolicy/no_surrounding_brackets_unquoted_multiple_as === PAUSE TestApplyPolicy/no_surrounding_brackets_unquoted_multiple_as === RUN TestApplyPolicy/no_surrounding_brackets_quoted_multiple_as === PAUSE TestApplyPolicy/no_surrounding_brackets_quoted_multiple_as === RUN TestApplyPolicy/multi-lines_ai === PAUSE TestApplyPolicy/multi-lines_ai === RUN TestApplyPolicy/update_existing_profile_without_needed_db_append_them === PAUSE TestApplyPolicy/update_existing_profile_without_needed_db_append_them === RUN TestApplyPolicy/first_boot === PAUSE TestApplyPolicy/first_boot === RUN TestApplyPolicy/machine_updates_with_different_value === PAUSE TestApplyPolicy/machine_updates_with_different_value === RUN TestApplyPolicy/quoted_b === PAUSE TestApplyPolicy/quoted_b === RUN TestApplyPolicy/no_surrounding_brackets_ai === PAUSE TestApplyPolicy/no_surrounding_brackets_ai === RUN TestApplyPolicy/do_not_interfere_with_other_user_profile === PAUSE TestApplyPolicy/do_not_interfere_with_other_user_profile === RUN TestApplyPolicy/error_on_invalid_type === PAUSE TestApplyPolicy/error_on_invalid_type === RUN TestApplyPolicy/no_policy_still_generates_a_valid_db === PAUSE TestApplyPolicy/no_policy_still_generates_a_valid_db === RUN TestApplyPolicy/user_updates_existing_value === PAUSE TestApplyPolicy/user_updates_existing_value === RUN TestApplyPolicy/machine_updates_key_is_now_disabled === PAUSE TestApplyPolicy/machine_updates_key_is_now_disabled === RUN TestApplyPolicy/mixing_sections_and_keys_still_groups_sections === PAUSE TestApplyPolicy/mixing_sections_and_keys_still_groups_sections === RUN TestApplyPolicy/multi-lines_ai_mixed_with_comma === PAUSE TestApplyPolicy/multi-lines_ai_mixed_with_comma === RUN TestApplyPolicy/user_updates_key_is_now_disabled === PAUSE TestApplyPolicy/user_updates_key_is_now_disabled === RUN TestApplyPolicy/multiple_sections === PAUSE TestApplyPolicy/multiple_sections === RUN TestApplyPolicy/missing_machine_compiled_db_for_machine === PAUSE TestApplyPolicy/missing_machine_compiled_db_for_machine === RUN TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted === PAUSE TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted === RUN TestNormalize/Multi-lines_as_with_quoted_','_is_supported === PAUSE TestNormalize/Multi-lines_as_with_quoted_','_is_supported === RUN TestNormalize/ai_with_spaces_inside === RUN TestApplyPolicy/missing_machine_compiled_db_for_user === PAUSE TestNormalize/ai_with_spaces_inside === RUN TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split === PAUSE TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored === PAUSE TestApplyPolicy/missing_machine_compiled_db_for_user === RUN TestApplyPolicy/normalized_canonical_form_for_each_supported_key === PAUSE TestApplyPolicy/normalized_canonical_form_for_each_supported_key === RUN TestApplyPolicy/do_not_update_other_files_from_db === PAUSE TestApplyPolicy/do_not_update_other_files_from_db === RUN TestApplyPolicy/update_existing_correct_profile_stays_unchanged === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored === PAUSE TestApplyPolicy/update_existing_correct_profile_stays_unchanged === RUN TestApplyPolicy/machine_updates_existing_value === RUN TestNormalize/simple_quoted_string === PAUSE TestNormalize/simple_quoted_string === RUN TestNormalize/one_escaped_quote === PAUSE TestApplyPolicy/machine_updates_existing_value === PAUSE TestNormalize/one_escaped_quote === RUN TestNormalize/simple_boolean_true === PAUSE TestNormalize/simple_boolean_true === RUN TestApplyPolicy/no_surrounding_brackets_multiple_ai === PAUSE TestApplyPolicy/no_surrounding_brackets_multiple_ai === RUN TestApplyPolicy/no_surrounding_brackets_quoted_as === RUN TestNormalize/as_with_leading_and_ending_spaces_and_no_[] === PAUSE TestNormalize/as_with_leading_and_ending_spaces_and_no_[] === RUN TestNormalize/as_with_weird_composition_inception_will_be_quoted === PAUSE TestNormalize/as_with_weird_composition_inception_will_be_quoted === RUN TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result === PAUSE TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result === PAUSE TestApplyPolicy/no_surrounding_brackets_quoted_as === RUN TestApplyPolicy/multi-lines_as === PAUSE TestApplyPolicy/multi-lines_as === RUN TestApplyPolicy/update_existing_correct_profile_with_trailing_spaces_are_removed === PAUSE TestApplyPolicy/update_existing_correct_profile_with_trailing_spaces_are_removed === RUN TestApplyPolicy/update_existing_profile_eliminates_adsys_DB_repetitions === RUN TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split === PAUSE TestApplyPolicy/update_existing_profile_eliminates_adsys_DB_repetitions === RUN TestApplyPolicy/new_user === PAUSE TestApplyPolicy/new_user === RUN TestApplyPolicy/update_machine_disabled_key_with_value === PAUSE TestApplyPolicy/update_machine_disabled_key_with_value === RUN TestApplyPolicy/missing_user_compiled_db_for_user === PAUSE TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split === PAUSE TestApplyPolicy/missing_user_compiled_db_for_user === RUN TestNormalize/unquoted_string_with_quotes === RUN TestApplyPolicy/quoted_i === PAUSE TestNormalize/unquoted_string_with_quotes === RUN TestNormalize/on_transformed_to_boolean === PAUSE TestNormalize/on_transformed_to_boolean === PAUSE TestApplyPolicy/quoted_i === RUN TestNormalize/simple_unquoted_as === RUN TestApplyPolicy/no_surrounding_brackets_unquoted_as === PAUSE TestApplyPolicy/no_surrounding_brackets_unquoted_as === PAUSE TestNormalize/simple_unquoted_as === RUN TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets === PAUSE TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets === RUN TestNormalize/with_spaces === PAUSE TestNormalize/with_spaces === RUN TestApplyPolicy/multi-lines_as_mixed_with_comma === PAUSE TestApplyPolicy/multi-lines_as_mixed_with_comma === RUN TestApplyPolicy/error_on_invalid_ai === PAUSE TestApplyPolicy/error_on_invalid_ai === RUN TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result === RUN TestApplyPolicy/error_on_invalid_value_for_unnormalized_type === PAUSE TestApplyPolicy/error_on_invalid_value_for_unnormalized_type === PAUSE TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result === RUN TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string === CONT TestApplyPolicy/update_existing_profile_without_needed_db,_trailine_lines_are_removed === CONT TestApplyPolicy/machine_updates_key_is_now_disabled === CONT TestApplyPolicy/no_surrounding_brackets_unquoted_multiple_as === CONT TestApplyPolicy/user_updates_existing_value === CONT TestApplyPolicy/quoted_b === CONT TestApplyPolicy/unquoted_string === CONT TestApplyPolicy/no_update_when_no_change === PAUSE TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string === RUN TestNormalize/Multi-lines_as_with_explicit_empty_element === PAUSE TestNormalize/Multi-lines_as_with_explicit_empty_element === RUN TestNormalize/ai_without_leading_[ === PAUSE TestNormalize/ai_without_leading_[ === RUN TestNormalize/empty_unquoted_string === PAUSE TestNormalize/empty_unquoted_string === RUN TestNormalize/simple_ai_with_no_spaces === PAUSE TestNormalize/simple_ai_with_no_spaces === RUN TestNormalize/Multi-lines_ai === PAUSE TestNormalize/Multi-lines_ai === RUN TestNormalize/Multi-lines_ai_with_spaces_inside === PAUSE TestNormalize/Multi-lines_ai_with_spaces_inside === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored === RUN TestNormalize/empty_quoted_string === PAUSE TestNormalize/empty_quoted_string === RUN TestNormalize/one_quote === PAUSE TestNormalize/one_quote === RUN TestNormalize/as_without_leading_[ === PAUSE TestNormalize/as_without_leading_[ === RUN TestNormalize/as_without_ending_] === PAUSE TestNormalize/as_without_ending_] === RUN TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result === PAUSE TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result === RUN TestNormalize/Multi-lines_as_quoted === PAUSE TestNormalize/Multi-lines_as_quoted === RUN TestNormalize/string_with_multiple_backslashes_escaped_quotes === PAUSE TestNormalize/string_with_multiple_backslashes_escaped_quotes === RUN TestNormalize/simple_boolean_false === PAUSE TestNormalize/simple_boolean_false === RUN TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored === PAUSE TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored === RUN TestNormalize/unmanaged_types_are_returned_as_is === PAUSE TestNormalize/unmanaged_types_are_returned_as_is === RUN TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements === PAUSE TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements === RUN TestNormalize/ai_empty_elements_separated_with_commas_are_kept === PAUSE TestNormalize/ai_empty_elements_separated_with_commas_are_kept === RUN TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored === PAUSE TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored === RUN TestNormalize/off_transformed_to_boolean === PAUSE TestNormalize/off_transformed_to_boolean === RUN TestNormalize/simple_as_with_no_spaces === PAUSE TestNormalize/simple_as_with_no_spaces === RUN TestNormalize/Multi-lines_as_with_spaces_inside === PAUSE TestNormalize/Multi-lines_as_with_spaces_inside === CONT TestApplyPolicy/machine_updates_with_different_value === CONT TestApplyPolicy/first_boot === CONT TestApplyPolicy/update_existing_profile_without_needed_db_append_them === CONT TestApplyPolicy/multi-lines_ai === CONT TestApplyPolicy/no_surrounding_brackets_quoted_multiple_as === CONT TestApplyPolicy/no_policy_still_generates_a_valid_db === CONT TestApplyPolicy/error_on_invalid_type === CONT TestApplyPolicy/do_not_interfere_with_other_user_profile === CONT TestApplyPolicy/no_surrounding_brackets_ai === CONT TestApplyPolicy/error_on_invalid_value_for_unnormalized_type === CONT TestApplyPolicy/error_on_invalid_ai === CONT TestApplyPolicy/multi-lines_as_mixed_with_comma === CONT TestApplyPolicy/no_surrounding_brackets_unquoted_as === CONT TestApplyPolicy/quoted_i === CONT TestApplyPolicy/new_user === CONT TestApplyPolicy/missing_user_compiled_db_for_user === CONT TestApplyPolicy/update_machine_disabled_key_with_value === CONT TestApplyPolicy/update_existing_profile_eliminates_adsys_DB_repetitions === CONT TestApplyPolicy/update_existing_correct_profile_with_trailing_spaces_are_removed === CONT TestApplyPolicy/multi-lines_as === CONT TestApplyPolicy/no_surrounding_brackets_quoted_as === CONT TestApplyPolicy/no_surrounding_brackets_multiple_ai === CONT TestApplyPolicy/machine_updates_existing_value === CONT TestApplyPolicy/update_existing_correct_profile_stays_unchanged === CONT TestApplyPolicy/do_not_update_other_files_from_db === CONT TestApplyPolicy/normalized_canonical_form_for_each_supported_key === CONT TestApplyPolicy/missing_machine_compiled_db_for_user === CONT TestApplyPolicy/missing_machine_compiled_db_for_machine === CONT TestApplyPolicy/multiple_sections === CONT TestApplyPolicy/user_updates_key_is_now_disabled === CONT TestApplyPolicy/multi-lines_ai_mixed_with_comma === CONT TestApplyPolicy/mixing_sections_and_keys_still_groups_sections === CONT TestApplyPolicy/invalid_as_is_too_robust_to_produce_defaulting_values === CONT TestApplyPolicy/update_existing_profile_with_wrong_order_appends_them_in_correct_order === CONT TestApplyPolicy/update_existing_profile_with_partial_db_append_them_without_repetition === CONT TestApplyPolicy/error_on_empty_meta === CONT TestApplyPolicy/no_machine_db_will_fail === CONT TestApplyPolicy/multiple_keys_same_category === CONT TestApplyPolicy/multiple_sections_with_disabled_keys === CONT TestApplyPolicy/update_user_disabled_key_with_value === CONT TestApplyPolicy/user_updates_with_different_value === CONT TestNormalize/string_with_escaped_quotes === CONT TestNormalize/Multi-lines_as_with_spaces_inside === CONT TestNormalize/simple_as_with_no_spaces === CONT TestNormalize/off_transformed_to_boolean === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored === CONT TestNormalize/ai_empty_elements_separated_with_commas_are_kept === CONT TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements === CONT TestNormalize/unmanaged_types_are_returned_as_is === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored === CONT TestNormalize/simple_boolean_false === CONT TestNormalize/string_with_multiple_backslashes_escaped_quotes === CONT TestNormalize/Multi-lines_as_quoted === CONT TestNormalize/as_without_ending_] === CONT TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result === CONT TestNormalize/as_without_leading_[ === CONT TestNormalize/empty_quoted_string === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored === CONT TestNormalize/Multi-lines_ai_with_spaces_inside === CONT TestNormalize/Multi-lines_ai === CONT TestNormalize/simple_ai_with_no_spaces === CONT TestNormalize/empty_unquoted_string === CONT TestNormalize/ai_without_leading_[ === CONT TestNormalize/Multi-lines_as_with_explicit_empty_element === CONT TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string === CONT TestNormalize/one_quote === CONT TestNormalize/with_spaces === CONT TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result === CONT TestNormalize/simple_unquoted_as === CONT TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets === CONT TestNormalize/on_transformed_to_boolean === CONT TestNormalize/unquoted_string_with_quotes === CONT TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split === CONT TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result === CONT TestNormalize/as_with_weird_composition_inception_will_be_quoted === CONT TestNormalize/as_with_leading_and_ending_spaces_and_no_[] === CONT TestNormalize/simple_boolean_true === CONT TestNormalize/simple_quoted_string === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored === CONT TestNormalize/one_escaped_quote === CONT TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split === CONT TestNormalize/Multi-lines_as_with_quoted_','_is_supported === CONT TestNormalize/ai_with_spaces_inside === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted === CONT TestNormalize/as_empty_elements_separated_with_commas_are_kept === CONT TestNormalize/n_transformed_to_boolean === CONT TestNormalize/y_transformed_to_boolean === CONT TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element === CONT TestNormalize/weird_case_false === CONT TestNormalize/string_with_two_backslashes_don’t_escape_quotes === CONT TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored === CONT TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result === CONT TestNormalize/weird_case_true === CONT TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets === CONT TestNormalize/simple_unquoted_string === CONT TestNormalize/simple_ai === CONT TestNormalize/as_with_leading_and_ending_spaces_and__[] === CONT TestNormalize/as_with_spaces_inside === CONT TestNormalize/no_transformed_to_boolean === CONT TestNormalize/yes_transformed_to_boolean === CONT TestNormalize/quoted_string_with_quotes === CONT TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] === CONT TestNormalize/ai_without_ending_] === CONT TestNormalize/Multi-lines_as_and_single_line_mix,_quoted === CONT TestNormalize/as_simple_quoted_as_with_spaces === CONT TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements === CONT TestNormalize/Multi-lines_as_unquoted === CONT TestNormalize/as_partially_quoted_can_lead_to_unexpect_result === CONT TestNormalize/simple_quoted_as === CONT TestNormalize/non_supported_is_reported_as_is === CONT TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element === CONT TestNormalize/ai_with_leading_and_ending_spaces_and__[] === CONT TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored --- PASS: TestNormalize (0.27s) --- PASS: TestNormalize/string_with_escaped_quotes (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_spaces_inside (0.00s) --- PASS: TestNormalize/simple_as_with_no_spaces (0.00s) --- PASS: TestNormalize/off_transformed_to_boolean (0.00s) --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) --- PASS: TestNormalize/ai_empty_elements_separated_with_commas_are_kept (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_consecutive_empty_lines_strip_empty_elements (0.00s) --- PASS: TestNormalize/unmanaged_types_are_returned_as_is (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_are_ignored (0.00s) --- PASS: TestNormalize/simple_boolean_false (0.00s) --- PASS: TestNormalize/string_with_multiple_backslashes_escaped_quotes (0.00s) --- PASS: TestNormalize/Multi-lines_as_quoted (0.00s) --- PASS: TestNormalize/as_without_ending_] (0.00s) --- PASS: TestNormalize/as_partially_quoted_unbalanced_start_can_lead_to_unexpect_result (0.02s) --- PASS: TestNormalize/as_without_leading_[ (0.03s) --- PASS: TestNormalize/empty_quoted_string (0.00s) --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) --- PASS: TestNormalize/Multi-lines_ai_with_spaces_inside (0.00s) --- PASS: TestNormalize/Multi-lines_ai (0.00s) --- PASS: TestNormalize/simple_ai_with_no_spaces (0.00s) --- PASS: TestNormalize/empty_unquoted_string (0.00s) --- PASS: TestNormalize/ai_without_leading_[ (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_explicit_empty_element (0.00s) --- PASS: TestNormalize/as_wrongly_quoted_will_consider_comma_as_part_of_the_string (0.00s) --- PASS: TestNormalize/one_quote (0.00s) --- PASS: TestNormalize/with_spaces (0.00s) --- PASS: TestNormalize/as_partially_quoted_unbalanced_end_can_lead_to_unexpect_result (0.00s) --- PASS: TestNormalize/simple_unquoted_as (0.00s) --- PASS: TestNormalize/Multi-lines_ai_with_leading_and_trailing_brackets (0.00s) --- PASS: TestNormalize/unquoted_string_with_quotes (0.00s) --- PASS: TestNormalize/Multi-lines_ai_with_all_unquoted_','_will_split (0.01s) --- PASS: TestNormalize/as_with_empty_quoted_can_lead_to_unexpect_result (0.00s) --- PASS: TestNormalize/as_with_weird_composition_inception_will_be_quoted (0.00s) --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and_no_[] (0.00s) --- PASS: TestNormalize/simple_boolean_true (0.00s) --- PASS: TestNormalize/simple_quoted_string (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_after_[]_are_ignored (0.00s) --- PASS: TestNormalize/one_escaped_quote (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_all_unquoted_','_will_split (0.00s) --- PASS: TestNormalize/ai_with_spaces_inside (0.00s) --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_unquoted (0.00s) --- PASS: TestNormalize/as_empty_elements_separated_with_commas_are_kept (0.00s) --- PASS: TestNormalize/n_transformed_to_boolean (0.00s) --- PASS: TestNormalize/y_transformed_to_boolean (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_quoted_','_is_supported (0.00s) --- PASS: TestNormalize/Multi-lines_ai_with_empty_lines_strips_empty_element (0.00s) --- PASS: TestNormalize/weird_case_false (0.00s) --- PASS: TestNormalize/string_with_two_backslashes_don’t_escape_quotes (0.00s) --- PASS: TestNormalize/Multi-lines_ai_with_leading_or_trailing_empty_lines_are_ignored (0.00s) --- PASS: TestNormalize/on_transformed_to_boolean (0.01s) --- PASS: TestNormalize/weird_case_true (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_leading_and_trailing_brackets (0.00s) --- PASS: TestNormalize/simple_unquoted_string (0.00s) --- PASS: TestNormalize/simple_ai (0.00s) --- PASS: TestNormalize/as_with_leading_and_ending_spaces_and__[] (0.00s) --- PASS: TestNormalize/as_with_spaces_inside (0.00s) --- PASS: TestNormalize/no_transformed_to_boolean (0.00s) --- PASS: TestNormalize/yes_transformed_to_boolean (0.00s) --- PASS: TestNormalize/quoted_string_with_quotes (0.00s) --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and_no_[] (0.00s) --- PASS: TestNormalize/ai_without_ending_] (0.00s) --- PASS: TestNormalize/Multi-lines_as_and_single_line_mix,_quoted (0.00s) --- PASS: TestNormalize/as_partially_quoted_with_comma_can_lead_to_unexpected_result (0.02s) --- PASS: TestNormalize/as_simple_quoted_as_with_spaces (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_empty_lines_strips_empty_elements (0.00s) --- PASS: TestNormalize/as_partially_quoted_can_lead_to_unexpect_result (0.00s) --- PASS: TestNormalize/simple_quoted_as (0.00s) --- PASS: TestNormalize/non_supported_is_reported_as_is (0.00s) --- PASS: TestNormalize/Multi-lines_ai_with_consecutive_empty_lines_strips_empty_element (0.00s) --- PASS: TestNormalize/ai_with_leading_and_ending_spaces_and__[] (0.00s) --- PASS: TestNormalize/Multi-lines_as_with_leading_or_trailing_empty_lines_before_[]_are_ignored (0.00s) --- PASS: TestNormalize/Multi-lines_as_unquoted (0.02s) --- PASS: TestApplyPolicy (0.17s) --- PASS: TestApplyPolicy/machine_updates_key_is_now_disabled (0.30s) --- PASS: TestApplyPolicy/unquoted_string (0.27s) --- PASS: TestApplyPolicy/quoted_b (0.32s) --- PASS: TestApplyPolicy/no_update_when_no_change (0.32s) --- PASS: TestApplyPolicy/machine_updates_with_different_value (0.25s) --- PASS: TestApplyPolicy/update_existing_profile_without_needed_db,_trailine_lines_are_removed (0.39s) --- PASS: TestApplyPolicy/user_updates_existing_value (0.41s) --- PASS: TestApplyPolicy/first_boot (0.15s) --- PASS: TestApplyPolicy/no_surrounding_brackets_unquoted_multiple_as (0.48s) --- PASS: TestApplyPolicy/multi-lines_ai (0.27s) --- PASS: TestApplyPolicy/error_on_invalid_type (0.23s) --- PASS: TestApplyPolicy/no_surrounding_brackets_quoted_multiple_as (0.34s) --- PASS: TestApplyPolicy/error_on_invalid_value_for_unnormalized_type (0.20s) --- PASS: TestApplyPolicy/no_surrounding_brackets_ai (0.31s) --- PASS: TestApplyPolicy/error_on_invalid_ai (0.13s) --- PASS: TestApplyPolicy/no_policy_still_generates_a_valid_db (0.41s) --- PASS: TestApplyPolicy/update_existing_profile_without_needed_db_append_them (0.48s) --- PASS: TestApplyPolicy/no_surrounding_brackets_unquoted_as (0.30s) --- PASS: TestApplyPolicy/do_not_interfere_with_other_user_profile (0.64s) --- PASS: TestApplyPolicy/multi-lines_as_mixed_with_comma (0.49s) --- PASS: TestApplyPolicy/update_machine_disabled_key_with_value (0.38s) --- PASS: TestApplyPolicy/new_user (0.47s) --- PASS: TestApplyPolicy/missing_user_compiled_db_for_user (0.50s) --- PASS: TestApplyPolicy/quoted_i (0.57s) --- PASS: TestApplyPolicy/no_surrounding_brackets_multiple_ai (0.30s) --- PASS: TestApplyPolicy/update_existing_profile_eliminates_adsys_DB_repetitions (0.75s) --- PASS: TestApplyPolicy/multi-lines_as (0.52s) --- PASS: TestApplyPolicy/machine_updates_existing_value (0.39s) --- PASS: TestApplyPolicy/no_surrounding_brackets_quoted_as (0.62s) --- PASS: TestApplyPolicy/update_existing_correct_profile_stays_unchanged (0.58s) --- PASS: TestApplyPolicy/normalized_canonical_form_for_each_supported_key (0.38s) --- PASS: TestApplyPolicy/do_not_update_other_files_from_db (0.57s) --- PASS: TestApplyPolicy/update_existing_correct_profile_with_trailing_spaces_are_removed (0.89s) --- PASS: TestApplyPolicy/multiple_sections (0.33s) --- PASS: TestApplyPolicy/missing_machine_compiled_db_for_user (0.43s) --- PASS: TestApplyPolicy/missing_machine_compiled_db_for_machine (0.41s) --- PASS: TestApplyPolicy/no_machine_db_will_fail (0.01s) --- PASS: TestApplyPolicy/update_existing_profile_with_wrong_order_appends_them_in_correct_order (0.28s) --- PASS: TestApplyPolicy/update_existing_profile_with_partial_db_append_them_without_repetition (0.23s) --- PASS: TestApplyPolicy/mixing_sections_and_keys_still_groups_sections (0.38s) --- PASS: TestApplyPolicy/invalid_as_is_too_robust_to_produce_defaulting_values (0.39s) --- PASS: TestApplyPolicy/error_on_empty_meta (0.27s) --- PASS: TestApplyPolicy/multi-lines_ai_mixed_with_comma (0.46s) --- PASS: TestApplyPolicy/user_updates_key_is_now_disabled (0.60s) --- PASS: TestApplyPolicy/multiple_keys_same_category (0.36s) --- PASS: TestApplyPolicy/multiple_sections_with_disabled_keys (0.29s) --- PASS: TestApplyPolicy/update_user_disabled_key_with_value (0.36s) --- PASS: TestApplyPolicy/user_updates_with_different_value (0.36s) PASS ok github.com/ubuntu/adsys/internal/policies/dconf 3.777s ? github.com/ubuntu/adsys/internal/policies/entry [no test files] === RUN TestApplyPolicy === PAUSE TestApplyPolicy === CONT TestApplyPolicy === RUN TestApplyPolicy/dconf_policy === PAUSE TestApplyPolicy/dconf_policy === CONT TestApplyPolicy/dconf_policy --- PASS: TestApplyPolicy (0.00s) --- PASS: TestApplyPolicy/dconf_policy (0.13s) PASS ok github.com/ubuntu/adsys/internal/policies/gdm 1.473s === RUN TestSplitAndNormalizeUsersAndGroups === PAUSE TestSplitAndNormalizeUsersAndGroups === RUN TestGetSystemPolkitAdminIdentities === PAUSE TestGetSystemPolkitAdminIdentities === RUN TestApplyPolicy === PAUSE TestApplyPolicy === CONT TestApplyPolicy === CONT TestGetSystemPolkitAdminIdentities === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities === RUN TestApplyPolicy/not_a_computer === PAUSE TestApplyPolicy/not_a_computer === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file === RUN TestApplyPolicy/disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins === PAUSE TestApplyPolicy/disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins === RUN TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_and_set_client_admins === PAUSE TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_and_set_client_admins === RUN TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins === CONT TestSplitAndNormalizeUsersAndGroups === PAUSE TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins === RUN TestApplyPolicy/overwrite_existing_polkit_file === PAUSE TestApplyPolicy/overwrite_existing_polkit_file === RUN TestApplyPolicy/error_on_creating_sudoers_and_polkit_base_directory === PAUSE TestApplyPolicy/error_on_creating_sudoers_and_polkit_base_directory === RUN TestApplyPolicy/allow_local_admins_with_no_other_rules_is_a_noop === PAUSE TestApplyPolicy/allow_local_admins_with_no_other_rules_is_a_noop === RUN TestApplyPolicy/allow_local_admins_without_previous_local_admin_conf_and_set_client_admins === PAUSE TestApplyPolicy/allow_local_admins_without_previous_local_admin_conf_and_set_client_admins === RUN TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins === PAUSE TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins === RUN TestApplyPolicy/error_on_writing_to_polkit_directory_creation === PAUSE TestApplyPolicy/error_on_writing_to_polkit_directory_creation === RUN TestApplyPolicy/error_if_can’t_rename_to_destination_for_sudoers_file === PAUSE TestApplyPolicy/error_if_can’t_rename_to_destination_for_sudoers_file === RUN TestApplyPolicy/no_rules_and_no_existing_history_means_no_files === PAUSE TestApplyPolicy/no_rules_and_no_existing_history_means_no_files === RUN TestSplitAndNormalizeUsersAndGroups/empty_value_with_comma === PAUSE TestSplitAndNormalizeUsersAndGroups/empty_value_with_comma === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file === RUN TestSplitAndNormalizeUsersAndGroups/strip_empty_values === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_empty_values === RUN TestApplyPolicy/no_rules_still_overwrite_those_files === RUN TestSplitAndNormalizeUsersAndGroups/multiple_values_separated_by_EOL === PAUSE TestSplitAndNormalizeUsersAndGroups/multiple_values_separated_by_EOL === PAUSE TestApplyPolicy/no_rules_still_overwrite_those_files === RUN TestSplitAndNormalizeUsersAndGroups/multiple_\_only_handling_first_one_and_ignore_others === PAUSE TestSplitAndNormalizeUsersAndGroups/multiple_\_only_handling_first_one_and_ignore_others === RUN TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys === RUN TestApplyPolicy/set_client_group_admins === PAUSE TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys === PAUSE TestApplyPolicy/set_client_group_admins === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_] === RUN TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_] === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_? === PAUSE TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure === RUN TestApplyPolicy/set_client_mixed_with_users_and_group_admins === RUN TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_? === PAUSE TestApplyPolicy/set_client_mixed_with_users_and_group_admins === RUN TestApplyPolicy/empty_client_AD_admins === PAUSE TestApplyPolicy/empty_client_AD_admins === PAUSE TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_% === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_% === RUN TestApplyPolicy/no_client_AD_admins === PAUSE TestApplyPolicy/no_client_AD_admins === RUN TestApplyPolicy/error_on_writing_to_sudoers_file === RUN TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored === PAUSE TestApplyPolicy/error_on_writing_to_sudoers_file === PAUSE TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored === RUN TestApplyPolicy/error_if_can’t_rename_to_destination_for_polkit_conf_file === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities === RUN TestSplitAndNormalizeUsersAndGroups/empty_value_with_EOL === CONT TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored === PAUSE TestApplyPolicy/error_if_can’t_rename_to_destination_for_polkit_conf_file === RUN TestApplyPolicy/disallow_local_admins === PAUSE TestApplyPolicy/disallow_local_admins === CONT TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys === CONT TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file === RUN TestApplyPolicy/set_client_user_admins === PAUSE TestApplyPolicy/set_client_user_admins === RUN TestApplyPolicy/set_client_multiple_users_admins === PAUSE TestApplyPolicy/set_client_multiple_users_admins === RUN TestApplyPolicy/disallow_local_admins_and_set_client_admins === PAUSE TestApplyPolicy/disallow_local_admins_and_set_client_admins === RUN TestApplyPolicy/overwrite_existing_sudoers_file === PAUSE TestApplyPolicy/overwrite_existing_sudoers_file === RUN TestApplyPolicy/don't_overwrite_other_existing_files === PAUSE TestApplyPolicy/don't_overwrite_other_existing_files === RUN TestApplyPolicy/error_on_writing_to_polkit_conf_file === PAUSE TestApplyPolicy/error_on_writing_to_polkit_conf_file === CONT TestApplyPolicy/not_a_computer === CONT TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists time="2022-10-17T19:07:27Z" 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." === PAUSE TestSplitAndNormalizeUsersAndGroups/empty_value_with_EOL === RUN TestSplitAndNormalizeUsersAndGroups/group_one_value === PAUSE TestSplitAndNormalizeUsersAndGroups/group_one_value === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_< === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_< === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_; === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_; === RUN TestSplitAndNormalizeUsersAndGroups/multiple_values_separated_by_comma === PAUSE TestSplitAndNormalizeUsersAndGroups/multiple_values_separated_by_comma === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_/ === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_/ === CONT TestApplyPolicy/set_client_group_admins === CONT TestApplyPolicy/error_on_writing_to_polkit_conf_file === CONT TestApplyPolicy/don't_overwrite_other_existing_files === CONT TestApplyPolicy/overwrite_existing_sudoers_file === CONT TestApplyPolicy/disallow_local_admins_and_set_client_admins === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_: --- PASS: TestGetSystemPolkitAdminIdentities (0.09s) --- PASS: TestGetSystemPolkitAdminIdentities/Returns_an_empty_string_if_directory_does_not_exists (0.04s) --- PASS: TestGetSystemPolkitAdminIdentities/Directory_instead_of_a_conf_file_is_ignored (0.05s) --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_from_highest_ascii_file (0.06s) --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities (0.07s) --- PASS: TestGetSystemPolkitAdminIdentities/Fetch_previous_admin_identities_ignoring_adsys (0.07s) --- PASS: TestGetSystemPolkitAdminIdentities/No_previous_admin_identities_but_regular_directory_structure (0.08s) === CONT TestApplyPolicy/set_client_multiple_users_admins === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_: === RUN TestSplitAndNormalizeUsersAndGroups/simple_one_value === PAUSE TestSplitAndNormalizeUsersAndGroups/simple_one_value === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_| === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_| === RUN TestSplitAndNormalizeUsersAndGroups/multiple_values_with_a_mix_of_comma_and_EOL === PAUSE TestSplitAndNormalizeUsersAndGroups/multiple_values_with_a_mix_of_comma_and_EOL === RUN TestSplitAndNormalizeUsersAndGroups/multiple_values_with_consecutives_EOL === PAUSE TestSplitAndNormalizeUsersAndGroups/multiple_values_with_consecutives_EOL === RUN TestSplitAndNormalizeUsersAndGroups/multiple_values_with_consecutives_comma === PAUSE TestSplitAndNormalizeUsersAndGroups/multiple_values_with_consecutives_comma === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_[ === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_[ === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_= === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_= === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_* === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_* === RUN TestSplitAndNormalizeUsersAndGroups/empty_value === PAUSE TestSplitAndNormalizeUsersAndGroups/empty_value === RUN TestSplitAndNormalizeUsersAndGroups/user_name_with_space === PAUSE TestSplitAndNormalizeUsersAndGroups/user_name_with_space === RUN TestSplitAndNormalizeUsersAndGroups/don’t_strip_first_%_but_others === PAUSE TestSplitAndNormalizeUsersAndGroups/don’t_strip_first_%_but_others === RUN TestSplitAndNormalizeUsersAndGroups/domain\user_handling === PAUSE TestSplitAndNormalizeUsersAndGroups/domain\user_handling === RUN TestSplitAndNormalizeUsersAndGroups/strip_any_> === PAUSE TestSplitAndNormalizeUsersAndGroups/strip_any_> === CONT TestApplyPolicy/set_client_user_admins time="2022-10-17T19:07:27Z" level=warning msg="Changed user or group \"domain\\\\bob\" to \"bob@domain\": Invalid characters or domain\\user format" === CONT TestApplyPolicy/disallow_local_admins === CONT TestApplyPolicy/error_if_can’t_rename_to_destination_for_polkit_conf_file === CONT TestApplyPolicy/no_client_AD_admins === CONT TestApplyPolicy/error_on_writing_to_sudoers_file time="2022-10-17T19:07:27Z" level=warning msg="/tmp/TestApplyPolicyerror_if_cant_rename_to_destination_for_polkit_conf_file1482656468/001/polkit-1/localauthority.conf.d/99-adsys-privilege-enforcement.conf is a directory. Ignoring." === CONT TestApplyPolicy/empty_client_AD_admins === CONT TestApplyPolicy/set_client_mixed_with_users_and_group_admins === CONT TestApplyPolicy/allow_local_admins_without_previous_local_admin_conf_and_set_client_admins === CONT TestApplyPolicy/no_rules_still_overwrite_those_files === CONT TestApplyPolicy/no_rules_and_no_existing_history_means_no_files === CONT TestApplyPolicy/error_if_can’t_rename_to_destination_for_sudoers_file === CONT TestApplyPolicy/error_on_writing_to_polkit_directory_creation === CONT TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins === CONT TestApplyPolicy/allow_local_admins_with_no_other_rules_is_a_noop === CONT TestApplyPolicy/error_on_creating_sudoers_and_polkit_base_directory === CONT TestApplyPolicy/overwrite_existing_polkit_file === CONT TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins === CONT TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_and_set_client_admins === CONT TestApplyPolicy/disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins === CONT TestSplitAndNormalizeUsersAndGroups/empty_value_with_comma === CONT TestSplitAndNormalizeUsersAndGroups/don’t_strip_first_%_but_others === CONT TestSplitAndNormalizeUsersAndGroups/domain\user_handling time="2022-10-17T19:07:27Z" level=warning msg="Changed user or group \"%g%r%oup@domain\" to \"%group@domain\": Invalid characters or domain\\user format" === CONT TestSplitAndNormalizeUsersAndGroups/user_name_with_space === CONT TestSplitAndNormalizeUsersAndGroups/empty_value === CONT TestSplitAndNormalizeUsersAndGroups/strip_any_* time="2022-10-17T19:07:27Z" level=warning msg="Changed user or group \"u*s*er@domain\" to \"user@domain\": Invalid characters or domain\\user format" === CONT TestSplitAndNormalizeUsersAndGroups/strip_any_= time="2022-10-17T19:07:27Z" level=warning msg="Changed user or group \"u=s=er@domain\" to \"user@domain\": Invalid characters or domain\\user format" === CONT TestSplitAndNormalizeUsersAndGroups/strip_any_[ time="2022-10-17T19:07:27Z" level=warning msg="Changed user or group \"u[s]er@domain\" to \"user@domain\": Invalid characters or domain\\user format" === CONT TestSplitAndNormalizeUsersAndGroups/multiple_values_with_consecutives_comma === CONT TestSplitAndNormalizeUsersAndGroups/multiple_values_with_consecutives_EOL === CONT TestSplitAndNormalizeUsersAndGroups/multiple_values_with_a_mix_of_comma_and_EOL === CONT TestSplitAndNormalizeUsersAndGroups/strip_any_| time="2022-10-17T19:07:27Z" level=warning msg="Changed user or group \"u|s|er@domain\" to \"user@domain\": Invalid characters or domain\\user format" === CONT TestSplitAndNormalizeUsersAndGroups/simple_one_value === CONT TestSplitAndNormalizeUsersAndGroups/strip_any_: time="2022-10-17T19:07:28Z" level=warning msg="Changed user or group \"u:s:er@domain\" to \"user@domain\": Invalid characters or domain\\user format" === CONT TestSplitAndNormalizeUsersAndGroups/strip_any_/ time="2022-10-17T19:07:28Z" level=warning msg="Changed user or group \"u/s/er@domain\" to \"user@domain\": Invalid characters or domain\\user format" === CONT TestSplitAndNormalizeUsersAndGroups/strip_any_; === CONT TestSplitAndNormalizeUsersAndGroups/multiple_values_separated_by_comma === CONT TestSplitAndNormalizeUsersAndGroups/strip_any_< time="2022-10-17T19:07:28Z" level=warning msg="Changed user or group \"domain\\\\user\" to \"user@domain\": Invalid characters or domain\\user format" === CONT TestSplitAndNormalizeUsersAndGroups/group_one_value time="2022-10-17T19:07:28Z" level=warning msg="Changed user or group \"u;s;er@domain\" to \"user@domain\": Invalid characters or domain\\user format" === CONT TestSplitAndNormalizeUsersAndGroups/empty_value_with_EOL time="2022-10-17T19:07:28Z" level=warning msg="Changed user or group \"u time="2022-10-17T19:07:28Z" level=warning msg="Changed user or group \"u]s]er@domain\" to \"user@domain\": Invalid characters or domain\\user format" time="2022-10-17T19:07:28Z" level=warning msg="Changed user or group \"u>s>er@domain\" to \"user@domain\": Invalid characters or domain\\user format" --- PASS: TestSplitAndNormalizeUsersAndGroups (0.19s) --- PASS: TestSplitAndNormalizeUsersAndGroups/empty_value_with_comma (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/don’t_strip_first_%_but_others (0.03s) --- PASS: TestSplitAndNormalizeUsersAndGroups/user_name_with_space (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/empty_value (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_* (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_= (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_[ (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/multiple_values_with_consecutives_comma (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/multiple_values_with_consecutives_EOL (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/multiple_values_with_a_mix_of_comma_and_EOL (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_| (0.03s) --- PASS: TestSplitAndNormalizeUsersAndGroups/simple_one_value (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_: (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_/ (0.02s) --- PASS: TestSplitAndNormalizeUsersAndGroups/multiple_values_separated_by_comma (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/domain\user_handling (0.08s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_; (0.01s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_< (0.01s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_? (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/multiple_\_only_handling_first_one_and_ignore_others (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/multiple_values_separated_by_EOL (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_empty_values (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_] (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_% (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/strip_any_> (0.00s) --- PASS: TestSplitAndNormalizeUsersAndGroups/group_one_value (0.01s) --- PASS: TestSplitAndNormalizeUsersAndGroups/empty_value_with_EOL (0.02s) --- PASS: TestApplyPolicy (0.10s) --- PASS: TestApplyPolicy/disallow_local_admins_and_set_client_admins (0.12s) --- PASS: TestApplyPolicy/set_client_user_admins (0.13s) --- PASS: TestApplyPolicy/disallow_local_admins (0.05s) --- PASS: TestApplyPolicy/not_a_computer (0.26s) --- PASS: TestApplyPolicy/overwrite_existing_sudoers_file (0.23s) --- PASS: TestApplyPolicy/set_client_group_admins (0.21s) --- PASS: TestApplyPolicy/error_on_writing_to_polkit_conf_file (0.24s) --- PASS: TestApplyPolicy/don't_overwrite_other_existing_files (0.27s) --- PASS: TestApplyPolicy/set_client_multiple_users_admins (0.26s) --- PASS: TestApplyPolicy/no_rules_and_no_existing_history_means_no_files (0.01s) --- PASS: TestApplyPolicy/error_if_can’t_rename_to_destination_for_polkit_conf_file (0.10s) --- PASS: TestApplyPolicy/empty_client_AD_admins (0.13s) --- PASS: TestApplyPolicy/no_client_AD_admins (0.16s) --- PASS: TestApplyPolicy/error_on_writing_to_sudoers_file (0.16s) --- PASS: TestApplyPolicy/error_on_writing_to_polkit_directory_creation (0.07s) --- PASS: TestApplyPolicy/error_if_can’t_rename_to_destination_for_sudoers_file (0.12s) --- PASS: TestApplyPolicy/allow_local_admins_without_previous_local_admin_conf_and_set_client_admins (0.17s) --- PASS: TestApplyPolicy/no_rules_still_overwrite_those_files (0.19s) --- PASS: TestApplyPolicy/allow_local_admins_with_no_other_rules_is_a_noop (0.11s) --- PASS: TestApplyPolicy/set_client_mixed_with_users_and_group_admins (0.27s) --- PASS: TestApplyPolicy/overwrite_existing_polkit_file (0.19s) --- PASS: TestApplyPolicy/error_on_creating_sudoers_and_polkit_base_directory (0.22s) --- PASS: TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_(simple)_and_set_client_admins (0.23s) --- PASS: TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.20s) --- PASS: TestApplyPolicy/disallow_local_admins_with_previous_local_admin_conf_and_set_client_admins (0.29s) --- PASS: TestApplyPolicy/allow_local_admins_with_previous_local_admin_conf_(with_adsys_file)_and_set_client_admins (0.35s) PASS ok github.com/ubuntu/adsys/internal/policies/privilege 3.061s === RUN TestNew === PAUSE TestNew === RUN TestApplyPolicy === PAUSE TestApplyPolicy === RUN TestRunScripts === PAUSE TestRunScripts === RUN TestMockSystemCtl --- PASS: TestMockSystemCtl (0.00s) === CONT TestNew === CONT TestRunScripts === CONT TestApplyPolicy === RUN TestNew/create_manager === RUN TestRunScripts/has_no_session_running_flag_after_user_logoff === PAUSE TestNew/create_manager === RUN TestNew/error_on_read_only_rundir === PAUSE TestNew/error_on_read_only_rundir === CONT TestNew/create_manager === CONT TestNew/error_on_read_only_rundir === PAUSE TestRunScripts/has_no_session_running_flag_after_user_logoff === RUN TestRunScripts/keeps_running_flag_after_non_machine_shutdown === PAUSE TestRunScripts/keeps_running_flag_after_non_machine_shutdown === RUN TestRunScripts/error_on_order_file_not_existing === PAUSE TestRunScripts/error_on_order_file_not_existing === RUN TestRunScripts/one_script === PAUSE TestRunScripts/one_script === RUN TestRunScripts/scripts_that_are_not_executable_are_skipped === PAUSE TestRunScripts/scripts_that_are_not_executable_are_skipped === RUN TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown === PAUSE TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown === RUN TestApplyPolicy/no_entries_is_an_empty_folder === PAUSE TestApplyPolicy/no_entries_is_an_empty_folder === RUN TestRunScripts/error_on_argument_not_a_file === RUN TestApplyPolicy/empty_entries_are_discared === PAUSE TestRunScripts/error_on_argument_not_a_file === RUN TestRunScripts/scripts_not_listed_are_not_run --- PASS: TestNew (0.03s) --- PASS: TestNew/error_on_read_only_rundir (0.04s) --- PASS: TestNew/create_manager (0.05s) === PAUSE TestApplyPolicy/empty_entries_are_discared === RUN TestApplyPolicy/error_on_subfolder_listed === PAUSE TestApplyPolicy/error_on_subfolder_listed === RUN TestApplyPolicy/error_on_user_lookup_failing === PAUSE TestApplyPolicy/error_on_user_lookup_failing === RUN TestApplyPolicy/user_lookup_failing_does_not_impact_machine_update === PAUSE TestApplyPolicy/user_lookup_failing_does_not_impact_machine_update === RUN TestApplyPolicy/systemctl_failing_does_not_impact_user_scripts_update === PAUSE TestApplyPolicy/systemctl_failing_does_not_impact_user_scripts_update === RUN TestApplyPolicy/multiple_directories: === PAUSE TestApplyPolicy/multiple_directories: === RUN TestApplyPolicy/computer,_no_systemctl_with_other_directory_than_startup === PAUSE TestApplyPolicy/computer,_no_systemctl_with_other_directory_than_startup === RUN TestApplyPolicy/destination_is_already_ready_but_not_in_session,_refreshing === PAUSE TestApplyPolicy/destination_is_already_ready_but_not_in_session,_refreshing === RUN TestApplyPolicy/error_on_users_run_directory_Read_Only === PAUSE TestApplyPolicy/error_on_users_run_directory_Read_Only === PAUSE TestRunScripts/scripts_not_listed_are_not_run === RUN TestRunScripts/keeps_running_flag_after_non_user_logoff === RUN TestApplyPolicy/destination_is_not_ready,_refreshing === PAUSE TestRunScripts/keeps_running_flag_after_non_user_logoff === RUN TestRunScripts/allow_order_file_missing === PAUSE TestRunScripts/allow_order_file_missing === RUN TestRunScripts/spaces_and_empty_lines_are_skipped === PAUSE TestApplyPolicy/destination_is_not_ready,_refreshing === PAUSE TestRunScripts/spaces_and_empty_lines_are_skipped === RUN TestApplyPolicy/error_on_script_does_not_exist === RUN TestRunScripts/error_on_not_ready_for_execution === PAUSE TestApplyPolicy/error_on_script_does_not_exist === PAUSE TestRunScripts/error_on_not_ready_for_execution === RUN TestApplyPolicy/error_on_save_assets_dumping_failing === RUN TestRunScripts/scripts_referenced_in_subdirectories === PAUSE TestRunScripts/scripts_referenced_in_subdirectories === PAUSE TestApplyPolicy/error_on_save_assets_dumping_failing === RUN TestApplyPolicy/error_on_invalid_UID === RUN TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff === PAUSE TestApplyPolicy/error_on_invalid_UID === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff === RUN TestApplyPolicy/one_directory,_multiple_scripts_in_order === RUN TestRunScripts/has_no_session_running_flag_after_machine_shutdown === PAUSE TestRunScripts/has_no_session_running_flag_after_machine_shutdown === RUN TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown === PAUSE TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown === PAUSE TestApplyPolicy/one_directory,_multiple_scripts_in_order === RUN TestRunScripts/multiple_scripts_are_run_in_order === RUN TestApplyPolicy/same_script_is_used_multiple_times === PAUSE TestApplyPolicy/same_script_is_used_multiple_times === PAUSE TestRunScripts/multiple_scripts_are_run_in_order === RUN TestApplyPolicy/subfolder_with_script === RUN TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff === PAUSE TestApplyPolicy/subfolder_with_script === RUN TestApplyPolicy/subfolder_with_same_script_name === PAUSE TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff === PAUSE TestApplyPolicy/subfolder_with_same_script_name === CONT TestRunScripts/has_no_session_running_flag_after_user_logoff === RUN TestApplyPolicy/error_on_invalid_GID === CONT TestRunScripts/spaces_and_empty_lines_are_skipped === CONT TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff === PAUSE TestApplyPolicy/error_on_invalid_GID === RUN TestApplyPolicy/start_script_for_computer_runs_systemctl_(systemctl_failed) === PAUSE TestApplyPolicy/start_script_for_computer_runs_systemctl_(systemctl_failed) === RUN TestApplyPolicy/no_entries_update_existing_non_ready_folder === PAUSE TestApplyPolicy/no_entries_update_existing_non_ready_folder === RUN TestApplyPolicy/one_script === PAUSE TestApplyPolicy/one_script === RUN TestApplyPolicy/startup_script_for_computer_runs_systemctl_(systemctl_success) === CONT TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown === PAUSE TestApplyPolicy/startup_script_for_computer_runs_systemctl_(systemctl_success) === RUN TestApplyPolicy/destination_is_already_running,_no_change === PAUSE TestApplyPolicy/destination_is_already_running,_no_change === CONT TestRunScripts/keeps_running_flag_after_non_user_logoff === CONT TestRunScripts/scripts_not_listed_are_not_run === CONT TestRunScripts/allow_order_file_missing === CONT TestRunScripts/has_no_session_running_flag_after_machine_shutdown time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsallow_order_file_missing3782624452/001/users/foo/scripts/s\"" time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsspaces_and_empty_lines_are_skipped3183701562/001/users/foo/scripts/s\"" time="2022-10-17T19:07:35Z" level=info msg="\"/tmp/TestRunScriptsallow_order_file_missing3782624452/001/users/foo/scripts/s\" doesn't exist, but allowed to be missing, skipping" time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown1747185135/001/machine/foo/scripts/shutdown\"" time="2022-10-17T19:07:35Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown1747185135/001/machine/foo/scripts/shutdown\" doesn't exist, but allowed to be missing, skipping" time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_not_listed_are_not_run3181038554/001/users/foo/scripts/s\"" time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_user_logoff3552094351/001/users/foo/scripts/logoff\"" === CONT TestRunScripts/error_on_argument_not_a_file time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_user_logoff3627496387/001/machine/foo/scripts/logoff\"" time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff3246973805/001/users/foo/scripts/logoff\"" time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptshas_no_session_running_flag_after_machine_shutdown1070942715/001/machine/foo/scripts/shutdown\"" time="2022-10-17T19:07:35Z" level=info msg="\"/tmp/TestRunScriptsscript_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff3246973805/001/users/foo/scripts/logoff\" doesn't exist, but allowed to be missing, skipping" === CONT TestRunScripts/one_script time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_argument_not_a_file570442901/001/users/foo/scripts/s\"" === CONT TestRunScripts/scripts_that_are_not_executable_are_skipped time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsone_script4152223964/001/users/foo/scripts/s\"" === CONT TestRunScripts/scripts_referenced_in_subdirectories time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped3786733649/001/users/foo/scripts/s\"" time="2022-10-17T19:07:35Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsscripts_referenced_in_subdirectories2318998422/001/users/foo/scripts/s\"" === CONT TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff time="2022-10-17T19:07:36Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_user_logoff2872122701/001/users/foo/scripts/logoff\"" === CONT TestRunScripts/error_on_order_file_not_existing time="2022-10-17T19:07:36Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_order_file_not_existing2737977541/001/users/foo/scripts/s\"" === CONT TestRunScripts/multiple_scripts_are_run_in_order time="2022-10-17T19:07:36Z" level=warning msg="\"/tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped3786733649/001/users/foo/scripts/scripts/notexecutable.sh\" failed to run\nfork/exec /tmp/TestRunScriptsscripts_that_are_not_executable_are_skipped3786733649/001/users/foo/scripts/scripts/notexecutable.sh: permission denied" time="2022-10-17T19:07:36Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsmultiple_scripts_are_run_in_order3170991570/001/users/foo/scripts/s\"" === CONT TestRunScripts/error_on_not_ready_for_execution time="2022-10-17T19:07:36Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptserror_on_not_ready_for_execution1778069323/001/users/foo/scripts/s\"" === CONT TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown time="2022-10-17T19:07:36Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptsstill_executes_without_existing_running_flag_on_machine_shutdown2840929504/001/machine/foo/scripts/shutdown\"" === CONT TestRunScripts/keeps_running_flag_after_non_machine_shutdown time="2022-10-17T19:07:37Z" level=info msg="Calling RunScripts on \"/tmp/TestRunScriptskeeps_running_flag_after_non_machine_shutdown108973528/001/users/foo/scripts/shutdown\"" === CONT TestApplyPolicy/no_entries_is_an_empty_folder === CONT TestApplyPolicy/error_on_save_assets_dumping_failing === CONT TestApplyPolicy/error_on_script_does_not_exist === CONT TestApplyPolicy/destination_is_not_ready,_refreshing === CONT TestApplyPolicy/error_on_users_run_directory_Read_Only === CONT TestApplyPolicy/destination_is_already_ready_but_not_in_session,_refreshing === CONT TestApplyPolicy/computer,_no_systemctl_with_other_directory_than_startup === CONT TestApplyPolicy/multiple_directories: === CONT TestApplyPolicy/systemctl_failing_does_not_impact_user_scripts_update === CONT TestApplyPolicy/user_lookup_failing_does_not_impact_machine_update === CONT TestApplyPolicy/error_on_user_lookup_failing === CONT TestApplyPolicy/error_on_subfolder_listed === CONT TestApplyPolicy/empty_entries_are_discared === CONT TestApplyPolicy/start_script_for_computer_runs_systemctl_(systemctl_failed) === CONT TestApplyPolicy/startup_script_for_computer_runs_systemctl_(systemctl_success) === CONT TestApplyPolicy/destination_is_already_running,_no_change time="2022-10-17T19:07:37Z" level=info msg="Running machine startup scripts" time="2022-10-17T19:07:37Z" level=info msg="Running machine startup scripts" === CONT TestApplyPolicy/subfolder_with_script time="2022-10-17T19:07:37Z" level=info msg="\"/tmp/TestApplyPolicydestination_is_already_running,_no_change722981666/001/machine/scripts/.running\" already exists, a session is already running, ignoring." === CONT TestApplyPolicy/error_on_invalid_GID === CONT TestApplyPolicy/subfolder_with_same_script_name === CONT TestApplyPolicy/one_script === CONT TestApplyPolicy/same_script_is_used_multiple_times === CONT TestApplyPolicy/no_entries_update_existing_non_ready_folder === CONT TestApplyPolicy/one_directory,_multiple_scripts_in_order === CONT TestApplyPolicy/error_on_invalid_UID --- PASS: TestRunScripts (0.13s) --- PASS: TestRunScripts/allow_order_file_missing (0.20s) --- PASS: TestRunScripts/script_directory_without_shutdown_order_has_no_session_running_flag_after_machine_shutdown (0.25s) --- PASS: TestRunScripts/script_directory_without_logoff_order_has_no_session_running_flag_after_user_logoff (0.29s) --- PASS: TestRunScripts/error_on_argument_not_a_file (0.12s) --- PASS: TestRunScripts/one_script (0.42s) --- PASS: TestRunScripts/spaces_and_empty_lines_are_skipped (0.76s) --- PASS: TestRunScripts/error_on_order_file_not_existing (0.07s) --- PASS: TestRunScripts/scripts_not_listed_are_not_run (1.21s) --- PASS: TestRunScripts/error_on_not_ready_for_execution (0.04s) --- PASS: TestRunScripts/keeps_running_flag_after_non_user_logoff (1.43s) --- PASS: TestRunScripts/scripts_that_are_not_executable_are_skipped (1.19s) --- PASS: TestRunScripts/has_no_session_running_flag_after_machine_shutdown (1.51s) --- PASS: TestRunScripts/has_no_session_running_flag_after_user_logoff (1.68s) --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_user_logoff (1.17s) --- PASS: TestRunScripts/scripts_referenced_in_subdirectories (1.56s) --- PASS: TestRunScripts/multiple_scripts_are_run_in_order (1.57s) --- PASS: TestRunScripts/still_executes_without_existing_running_flag_on_machine_shutdown (1.48s) --- PASS: TestRunScripts/keeps_running_flag_after_non_machine_shutdown (1.31s) --- PASS: TestApplyPolicy (0.14s) --- PASS: TestApplyPolicy/no_entries_is_an_empty_folder (0.03s) --- PASS: TestApplyPolicy/error_on_save_assets_dumping_failing (0.07s) --- PASS: TestApplyPolicy/error_on_users_run_directory_Read_Only (0.01s) --- PASS: TestApplyPolicy/error_on_script_does_not_exist (0.12s) --- PASS: TestApplyPolicy/computer,_no_systemctl_with_other_directory_than_startup (0.17s) --- PASS: TestApplyPolicy/destination_is_not_ready,_refreshing (0.34s) --- PASS: TestApplyPolicy/error_on_user_lookup_failing (0.02s) --- PASS: TestApplyPolicy/user_lookup_failing_does_not_impact_machine_update (0.16s) --- PASS: TestApplyPolicy/systemctl_failing_does_not_impact_user_scripts_update (0.20s) --- PASS: TestApplyPolicy/multiple_directories: (0.24s) --- PASS: TestApplyPolicy/destination_is_already_ready_but_not_in_session,_refreshing (0.43s) --- PASS: TestApplyPolicy/error_on_subfolder_listed (0.23s) --- PASS: TestApplyPolicy/destination_is_already_running,_no_change (0.18s) --- PASS: TestApplyPolicy/error_on_invalid_GID (0.02s) --- PASS: TestApplyPolicy/empty_entries_are_discared (0.25s) --- PASS: TestApplyPolicy/subfolder_with_script (0.32s) --- PASS: TestApplyPolicy/subfolder_with_same_script_name (0.32s) --- PASS: TestApplyPolicy/start_script_for_computer_runs_systemctl_(systemctl_failed) (0.58s) --- PASS: TestApplyPolicy/error_on_invalid_UID (0.01s) --- PASS: TestApplyPolicy/no_entries_update_existing_non_ready_folder (0.19s) --- PASS: TestApplyPolicy/same_script_is_used_multiple_times (0.30s) --- PASS: TestApplyPolicy/one_script (0.40s) --- PASS: TestApplyPolicy/one_directory,_multiple_scripts_in_order (0.17s) --- PASS: TestApplyPolicy/startup_script_for_computer_runs_systemctl_(systemctl_success) (0.74s) PASS ok github.com/ubuntu/adsys/internal/policies/scripts 4.083s === RUN TestExclusiveLockExec --- PASS: TestExclusiveLockExec (0.02s) === RUN TestExclusiveLockSmb --- PASS: TestExclusiveLockSmb (0.02s) === RUN TestMultipleExecLocksOnlyReleaseOnLast --- PASS: TestMultipleExecLocksOnlyReleaseOnLast (0.02s) === RUN TestMultipleSmbLocksOnlyReleaseOnLast --- PASS: TestMultipleSmbLocksOnlyReleaseOnLast (0.01s) PASS ok github.com/ubuntu/adsys/internal/smbsafe 0.716s === RUN TestAddStdoutForwarder --- PASS: TestAddStdoutForwarder (0.03s) === RUN TestAddStderrForwarder --- PASS: TestAddStderrForwarder (0.01s) === RUN TestAddStdoutForwarderEnsureStderrNoPolluted --- PASS: TestAddStdoutForwarderEnsureStderrNoPolluted (0.01s) === RUN TestAddForwarderAndDisconnect --- PASS: TestAddForwarderAndDisconnect (0.01s) === RUN TestAddForwardersGraduallyAndDisconnect --- PASS: TestAddForwardersGraduallyAndDisconnect (0.02s) === RUN TestAddForwarderDifferentWriterStdoutStderr panic: test timed out after 10m0s goroutine 34 [running]: testing.(*M).startAlarm.func1() /usr/lib/go-1.18/src/testing/testing.go:2029 +0xc4 created by time.goFunc /usr/lib/go-1.18/src/time/sleep.go:176 +0x34 goroutine 1 [chan receive]: testing.(*T).Run(0x3fcc11dba0, {0x2aab01eeac, 0x2b}, 0x2aab1b9c20) /usr/lib/go-1.18/src/testing/testing.go:1487 +0x3ac testing.runTests.func1(0x3fcc11dba0) /usr/lib/go-1.18/src/testing/testing.go:1839 +0x78 testing.tRunner(0x3fcc11dba0, 0x3fcc18fcf8) /usr/lib/go-1.18/src/testing/testing.go:1439 +0xf4 testing.runTests(0x3fcc00c6d8, {0x2aab4d3100, 0xa, 0xa}, {0xc0cb8872ae7067b0, 0x8bdd40a221, 0x2aab51f360}) /usr/lib/go-1.18/src/testing/testing.go:1837 +0x41c testing.(*M).Run(0x3fcc1b6780) /usr/lib/go-1.18/src/testing/testing.go:1719 +0x5d0 main.main() _testmain.go:67 +0x1e0 goroutine 12 [semacquire]: sync.runtime_Semacquire(0x3fcc0295d8) /usr/lib/go-1.18/src/runtime/sema.go:56 +0x34 sync.(*WaitGroup).Wait(0x3fcc0295d0) /usr/lib/go-1.18/src/sync/waitgroup.go:136 +0x64 github.com/ubuntu/adsys/internal/stdforward.addWriter.func2() /<>/obj-riscv64-linux-gnu/src/github.com/ubuntu/adsys/internal/stdforward/stdforward.go:114 +0x158 github.com/ubuntu/adsys/internal/stdforward_test.TestAddForwarderDifferentWriterStdoutStderr(0x3fcc1ca820) /<>/obj-riscv64-linux-gnu/src/github.com/ubuntu/adsys/internal/stdforward/stdforward_test.go:193 +0x2cc testing.tRunner(0x3fcc1ca820, 0x2aab1b9c20) /usr/lib/go-1.18/src/testing/testing.go:1439 +0xf4 created by testing.(*T).Run /usr/lib/go-1.18/src/testing/testing.go:1486 +0x390 goroutine 14 [semacquire]: sync.runtime_SemacquireMutex(0x2aab51f0a4, 0x0, 0x0) /usr/lib/go-1.18/src/runtime/sema.go:71 +0x3c sync.(*RWMutex).RLock(...) /usr/lib/go-1.18/src/sync/rwmutex.go:63 github.com/ubuntu/adsys/internal/stdforward.(*forwarder).Write(0x2aab51f080, {0x3fcc23c000, 0x11, 0x8000}) /<>/obj-riscv64-linux-gnu/src/github.com/ubuntu/adsys/internal/stdforward/stdforward.go:36 +0xf4 io.copyBuffer({0x2aab1bd148, 0x2aab51f080}, {0x2aab1be108, 0x3fcc00e360}, {0x0, 0x0, 0x0}) /usr/lib/go-1.18/src/io/io.go:428 +0x218 io.Copy(...) /usr/lib/go-1.18/src/io/io.go:385 github.com/ubuntu/adsys/internal/stdforward.addWriter.func1.1() /<>/obj-riscv64-linux-gnu/src/github.com/ubuntu/adsys/internal/stdforward/stdforward.go:91 +0x90 created by github.com/ubuntu/adsys/internal/stdforward.addWriter.func1 /<>/obj-riscv64-linux-gnu/src/github.com/ubuntu/adsys/internal/stdforward/stdforward.go:89 +0x1e8 FAIL github.com/ubuntu/adsys/internal/stdforward 601.211s ? github.com/ubuntu/adsys/internal/testutils [no test files] ? github.com/ubuntu/adsys/internal/watchdservice [no test files] === RUN TestInteractiveInput === RUN TestInteractiveInput/directory_is_a_file,_block_input === RUN TestInteractiveInput/submit_with_directory_as_config_input === RUN TestInteractiveInput/submit_with_dot_directories_is_normalized === RUN TestInteractiveInput/submit_with_double_dot_directories_is_normalized === RUN TestInteractiveInput/other_navigation_tests === RUN TestInteractiveInput/existing_config_file_is_passed_in_and_is_empty_or_has_no_directories === RUN TestInteractiveInput/existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system === RUN TestInteractiveInput/existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system === RUN TestInteractiveInput/directory_does_not_exist,_block_input === RUN TestInteractiveInput/config_file_is_absent_and_input_is_absolute === RUN TestInteractiveInput/config_file_is_absent_and_input_is_a_dir === RUN TestInteractiveInput/found_installed_service,_config_not_overridden === RUN TestInteractiveInput/no_directories,_focus_on_dir_input === RUN TestInteractiveInput/submit_with_duplicate_directories === RUN TestInteractiveInput/directory_exists === RUN TestInteractiveInput/dot_and_double_dot_directory_inputs_are_normalized === RUN TestInteractiveInput/multiple_existing_directories,_can_cycle_between_the_inputs === RUN TestInteractiveInput/found_installed_service,_config_overridden === RUN TestInteractiveInput/multiple_existing_directories,_can_delete_them === RUN TestInteractiveInput/submit_with_default_config === RUN TestInteractiveInput/submit_with_fresh_config_in_current_directory === RUN TestInteractiveInput/submit_with_fresh_config_in_nested_directory === RUN TestInteractiveInput/initial_view === RUN TestInteractiveInput/config_file_exists === RUN TestInteractiveInput/config_file_is_absent_and_input_is_relative --- PASS: TestInteractiveInput (1.18s) --- PASS: TestInteractiveInput/directory_is_a_file,_block_input (0.06s) --- PASS: TestInteractiveInput/submit_with_directory_as_config_input (0.06s) --- PASS: TestInteractiveInput/submit_with_dot_directories_is_normalized (0.03s) --- PASS: TestInteractiveInput/submit_with_double_dot_directories_is_normalized (0.02s) --- PASS: TestInteractiveInput/other_navigation_tests (0.02s) --- PASS: TestInteractiveInput/existing_config_file_is_passed_in_and_is_empty_or_has_no_directories (0.01s) --- PASS: TestInteractiveInput/existing_config_file_is_passed_in_and_contains_directories_which_exist_on_the_system (0.04s) --- PASS: TestInteractiveInput/existing_config_file_is_passed_in_and_contains_directories,_not_all_which_exist_on_the_system (0.02s) --- PASS: TestInteractiveInput/directory_does_not_exist,_block_input (0.02s) --- PASS: TestInteractiveInput/config_file_is_absent_and_input_is_absolute (0.01s) --- PASS: TestInteractiveInput/config_file_is_absent_and_input_is_a_dir (0.03s) --- PASS: TestInteractiveInput/found_installed_service,_config_not_overridden (0.10s) --- PASS: TestInteractiveInput/no_directories,_focus_on_dir_input (0.01s) --- PASS: TestInteractiveInput/submit_with_duplicate_directories (0.06s) --- PASS: TestInteractiveInput/directory_exists (0.03s) --- PASS: TestInteractiveInput/dot_and_double_dot_directory_inputs_are_normalized (0.06s) --- PASS: TestInteractiveInput/multiple_existing_directories,_can_cycle_between_the_inputs (0.09s) --- PASS: TestInteractiveInput/found_installed_service,_config_overridden (0.10s) --- PASS: TestInteractiveInput/multiple_existing_directories,_can_delete_them (0.07s) --- PASS: TestInteractiveInput/submit_with_default_config (0.07s) --- PASS: TestInteractiveInput/submit_with_fresh_config_in_current_directory (0.07s) --- PASS: TestInteractiveInput/submit_with_fresh_config_in_nested_directory (0.04s) --- PASS: TestInteractiveInput/initial_view (0.02s) --- PASS: TestInteractiveInput/config_file_exists (0.02s) --- PASS: TestInteractiveInput/config_file_is_absent_and_input_is_relative (0.02s) === RUN TestInteractiveInstall watchdtui_test.go:423: Integration tests skipped as requested --- SKIP: TestInteractiveInstall (0.00s) === RUN TestInteractiveUpdate watchdtui_test.go:469: Integration tests skipped as requested --- SKIP: TestInteractiveUpdate (0.00s) PASS ok github.com/ubuntu/adsys/internal/watchdtui 2.572s === RUN TestWatchDirectory === PAUSE TestWatchDirectory === RUN TestRefreshGracePeriod === PAUSE TestRefreshGracePeriod === RUN TestUpdateDirs === PAUSE TestUpdateDirs === RUN TestUpdateDirsFailing === PAUSE TestUpdateDirsFailing === RUN TestUpdateDirsWithEmptyDirSlice === PAUSE TestUpdateDirsWithEmptyDirSlice === RUN TestUpdateDirsOnStoppedWatcher === PAUSE TestUpdateDirsOnStoppedWatcher === RUN TestStopWithoutStart === PAUSE TestStopWithoutStart === CONT TestWatchDirectory === CONT TestUpdateDirsWithEmptyDirSlice === CONT TestUpdateDirs === CONT TestStopWithoutStart === CONT TestUpdateDirsOnStoppedWatcher === CONT TestRefreshGracePeriod === RUN TestWatchDirectory/New_file,_no_gpt.ini === PAUSE TestWatchDirectory/New_file,_no_gpt.ini === CONT TestUpdateDirsFailing === RUN TestWatchDirectory/No_update,_no_gpt.ini --- PASS: TestStopWithoutStart (0.05s) === PAUSE TestWatchDirectory/No_update,_no_gpt.ini === RUN TestWatchDirectory/Update_existing_file === PAUSE TestWatchDirectory/Update_existing_file === RUN TestWatchDirectory/Remove_file === PAUSE TestWatchDirectory/Remove_file === RUN TestWatchDirectory/Existing_file,_subdir === PAUSE TestWatchDirectory/Existing_file,_subdir === RUN TestWatchDirectory/Error_on_updating_malformed_GPT.ini === PAUSE TestWatchDirectory/Error_on_updating_malformed_GPT.ini === RUN TestWatchDirectory/Rename_file_and_update === PAUSE TestWatchDirectory/Rename_file_and_update === RUN TestWatchDirectory/New_file,_subdir === PAUSE TestWatchDirectory/New_file,_subdir === RUN TestWatchDirectory/Nested_new_subdirs === PAUSE TestWatchDirectory/Nested_new_subdirs === RUN TestWatchDirectory/Multiple_nested_subdirectories === PAUSE TestWatchDirectory/Multiple_nested_subdirectories === RUN TestWatchDirectory/Error_on_non_existing_directory === PAUSE TestWatchDirectory/Error_on_non_existing_directory === RUN TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated === PAUSE TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated === RUN TestWatchDirectory/Update_with_existing_gpt.ini === PAUSE TestWatchDirectory/Update_with_existing_gpt.ini === RUN TestWatchDirectory/Updating_gpt.ini_is_a_no-op === PAUSE TestWatchDirectory/Updating_gpt.ini_is_a_no-op === RUN TestWatchDirectory/New_subdir === PAUSE TestWatchDirectory/New_subdir === RUN TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file === PAUSE TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file === RUN TestWatchDirectory/New_subdir_without_file === PAUSE TestWatchDirectory/New_subdir_without_file === RUN TestWatchDirectory/Combined_case === PAUSE TestWatchDirectory/Combined_case === RUN TestWatchDirectory/Error_on_listing_no_directory === PAUSE TestWatchDirectory/Error_on_listing_no_directory === RUN TestWatchDirectory/No_update,_existing_gpt.ini === PAUSE TestWatchDirectory/No_update,_existing_gpt.ini === RUN TestWatchDirectory/Remove_root_directory === PAUSE TestWatchDirectory/Remove_root_directory === RUN TestWatchDirectory/Rename_file === PAUSE TestWatchDirectory/Rename_file === RUN TestWatchDirectory/Multiple_directories,_only_one_is_updated === PAUSE TestWatchDirectory/Multiple_directories,_only_one_is_updated time="2022-10-17T19:08:01Z" level=debug msg="Watching /tmp/TestUpdateDirsWithEmptyDirSlice3965800564/001/watchdir and children" === CONT TestWatchDirectory/New_file,_no_gpt.ini === CONT TestWatchDirectory/Multiple_directories,_only_one_is_updated time="2022-10-17T19:08:01Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3965800564/001/watchdir" time="2022-10-17T19:08:01Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3965800564/001/watchdir/GPT.INI" time="2022-10-17T19:08:01Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3965800564/001/watchdir/alreadyexists" time="2022-10-17T19:08:01Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3965800564/001/watchdir/alreadyexistsDir" === CONT TestWatchDirectory/Error_on_non_existing_directory time="2022-10-17T19:08:01Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir]" time="2022-10-17T19:08:01Z" level=warning msg="Error stopping watcher: the service is already stopping or not running" time="2022-10-17T19:08:01Z" level=debug msg="Watching /tmp/TestRefreshGracePeriod3145784764/001/withsubdir and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1710697817/001/no_gpt and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3965800564/001/watchdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_non_existing_directory414916635/001/doesnotexist and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3145784764/001/withsubdir" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsWithEmptyDirSlice3965800564/001/watchdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1710697817/001/no_gpt" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1710697817/001/no_gpt/testfile" === CONT TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3145784764/001/withsubdir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini1710697817/001/no_gpt/new\": CREATE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Updating directories to []" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNew_file,_no_gpt.ini1710697817/001/no_gpt/new\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/one_file and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing1038687938/001/remove and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/one_file" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/remove" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/remove/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/remove/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/one_file/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/one_file/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/remove/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/remove/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/remove/alreadyexistsDir/alreadyexists" === CONT TestWatchDirectory/Rename_file --- PASS: TestUpdateDirsWithEmptyDirSlice (12.56s) time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestUpdateDirsFailing1038687938/001/keep and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/keep" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file3356690692/001/one_file and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/keep/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/one_file and children" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file3356690692/001/one_file" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/keep/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/one_file" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/keep/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file3356690692/001/one_file/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/keep/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirsFailing1038687938/001/keep/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file3356690692/001/one_file/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/one_file/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/one_file/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRename_file3356690692/001/one_file/alreadyexists\": RENAME" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRename_file3356690692/001/one_file/alreadyexists.bak\": CREATE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"\": RENAME" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirsFailing1038687938/001/keep unexisting]" time="2022-10-17T19:08:14Z" level=debug msg="Failed to remove watcher on \"\": can't remove non-existent inotify watch for: ." time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/one_file/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/one_file/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/one_file/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsFailing1038687938/001/keep/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsFailing1038687938/001/keep/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsFailing1038687938/001/keep/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsFailing1038687938/001/keep/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsFailing1038687938/001/remove/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsFailing1038687938/001/remove/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsFailing1038687938/001/remove/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/one_file/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirsFailing1038687938/001/remove/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:14Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:14Z" level=info msg="Bumping version for /tmp/TestUpdateDirsOnStoppedWatcher1654981174/001/curdir/GPT.INI" time="2022-10-17T19:08:14Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:14Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:14Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:14Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:14Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories,_only_one_is_updated1966712984/001/withsubdir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestUpdateDirs3516409293/001/remove and children" time="2022-10-17T19:08:14Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1710697817/001/no_gpt/GPT.INI" time="2022-10-17T19:08:14Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/one_file/GPT.INI" time="2022-10-17T19:08:14Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file3356690692/001/one_file/GPT.INI" time="2022-10-17T19:08:14Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryNew_file,_no_gpt.ini1710697817/001/no_gpt/GPT.INI: no such file or directory, creating a new file" time="2022-10-17T19:08:14Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing1038687938/001/keep/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/remove" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/remove/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/remove/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/remove/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/remove/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/remove/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=info msg="Bumping version for /tmp/TestUpdateDirsFailing1038687938/001/remove/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestUpdateDirs3516409293/001/keep and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_directories_with_different_versions,_all_updated2285170770/001/withsubdir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/remove/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/remove/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/remove/alreadyexists\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/remove/alreadyexists\": WRITE" --- PASS: TestUpdateDirsOnStoppedWatcher (13.18s) === CONT TestWatchDirectory/Remove_root_directory === CONT TestWatchDirectory/No_update,_existing_gpt.ini time="2022-10-17T19:08:14Z" level=debug msg="Updating directories to [/tmp/TestUpdateDirs3516409293/001/keep /tmp/TestUpdateDirs3516409293/001/add]" time="2022-10-17T19:08:14Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:14Z" level=info msg="Bumping version for /tmp/TestUpdateDirs3516409293/001/remove/GPT.INI" === CONT TestWatchDirectory/Error_on_listing_no_directory time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestUpdateDirs3516409293/001/keep and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/GPT.INI" === CONT TestWatchDirectory/Combined_case time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/alreadyexists" === CONT TestWatchDirectory/New_subdir_without_file time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/alreadyexistsDir" === CONT TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/keep/alreadyexistsDir/alreadyexists" --- PASS: TestUpdateDirsFailing (13.13s) === CONT TestWatchDirectory/New_subdir time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestUpdateDirs3516409293/001/add and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/add" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/alreadyexists\": REMOVE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/add/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/add/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/add/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/add/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestUpdateDirs3516409293/001/add/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/GPT.INI\": REMOVE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/GPT.INI\": REMOVE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file\": REMOVE" time="2022-10-17T19:08:14Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file\": can't remove non-existent inotify watch for: /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir and children" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir/newsubdir\": CREATE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/GPT.INI" time="2022-10-17T19:08:14Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2278229580/001/one_file and children" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:14Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir/newsubdir\": WRITE" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/alreadyexists" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir" time="2022-10-17T19:08:14Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2278229580/001/one_file" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2278229580/001/one_file/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_existing_gpt.ini2278229580/001/one_file/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/dir\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/dir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/dir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/dir/file" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/new\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/new\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/dir\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/dir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/dir" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/dir/file" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexistsDir/new\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/alreadyexistsDir/new\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/otherdir\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/otherdir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/otherdir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/otherdir/subdir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/otherdir/subdir/file" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/newdir\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/newdir\": WRITE" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/GPT.INI" time="2022-10-17T19:08:15Z" level=info msg="error loading ini contents: open /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/GPT.INI: no such file or directory, creating a new file" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir_without_file4259571083/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/GPT.INI: open /tmp/TestWatchDirectoryRemove_root_directory1971970586/001/one_file/GPT.INI: no such file or directory" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_subdir2085303087/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/keep/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/keep/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/keep/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/keep/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/add/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/add/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/add/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestUpdateDirs3516409293/001/add/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryCombined_case127311701/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories,_only_update_nested_file1768282320/001/withsubdir/alreadyexistsDir/GPT.INI" === CONT TestWatchDirectory/Updating_gpt.ini_is_a_no-op time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op3117161098/001/one_file and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op3117161098/001/one_file" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op3117161098/001/one_file/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op3117161098/001/one_file/alreadyexists" === CONT TestWatchDirectory/Update_with_existing_gpt.ini time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op3117161098/001/one_file/GPT.INI\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op3117161098/001/one_file/GPT.INI\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op3117161098/001/one_file/GPT.INI\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdating_gpt.ini_is_a_no-op3117161098/001/one_file/GPT.INI\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1446597513/001/one_file and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1446597513/001/one_file" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestUpdateDirs3516409293/001/keep/GPT.INI" === CONT TestWatchDirectory/Remove_file time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1446597513/001/one_file/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1446597513/001/one_file/alreadyexists" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestUpdateDirs3516409293/001/add/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1446597513/001/one_file/new\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1446597513/001/one_file/new\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryRemove_file2058653122/001/one_file and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file2058653122/001/one_file" === CONT TestWatchDirectory/Existing_file,_subdir time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file2058653122/001/one_file/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRemove_file2058653122/001/one_file/alreadyexists" === CONT TestWatchDirectory/Update_existing_file time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRemove_file2058653122/001/one_file/alreadyexists\": REMOVE" time="2022-10-17T19:08:15Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file2058653122/001/one_file/alreadyexists\": can't remove non-existent inotify watch for: /tmp/TestWatchDirectoryRemove_file2058653122/001/one_file/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRemove_file2058653122/001/one_file/alreadyexists\": REMOVE" time="2022-10-17T19:08:15Z" level=debug msg="Failed to remove watcher on \"/tmp/TestWatchDirectoryRemove_file2058653122/001/one_file/alreadyexists\": can't remove non-existent inotify watch for: /tmp/TestWatchDirectoryRemove_file2058653122/001/one_file/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir" === CONT TestWatchDirectory/Error_on_updating_malformed_GPT.ini time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryUpdate_existing_file1983514458/001/one_file and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file1983514458/001/one_file" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file1983514458/001/one_file/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryUpdate_existing_file1983514458/001/one_file/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdate_existing_file1983514458/001/one_file/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdate_existing_file1983514458/001/one_file/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdate_existing_file1983514458/001/one_file/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2696709180/001/malformed and children" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryUpdate_existing_file1983514458/001/one_file/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2696709180/001/malformed" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2696709180/001/malformed/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2696709180/001/malformed/new\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2696709180/001/malformed/new\": WRITE" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_with_existing_gpt.ini1446597513/001/one_file/GPT.INI" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRemove_file2058653122/001/one_file/GPT.INI" --- PASS: TestUpdateDirs (13.87s) === CONT TestWatchDirectory/Multiple_nested_subdirectories time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryUpdate_existing_file1983514458/001/one_file/GPT.INI" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryExisting_file,_subdir216520550/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2696709180/001/malformed/GPT.INI" time="2022-10-17T19:08:15Z" level=warning msg="Failed to bump /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2696709180/001/malformed/GPT.INI version: can't bump version for /tmp/TestWatchDirectoryError_on_updating_malformed_GPT.ini2696709180/001/malformed/GPT.INI: strconv.ParseInt: parsing \"??\": invalid syntax" === CONT TestWatchDirectory/No_update,_no_gpt.ini time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/new\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryNo_update,_no_gpt.ini4049254331/001/no_gpt and children" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/new\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini4049254331/001/no_gpt" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir/alreadyexists\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNo_update,_no_gpt.ini4049254331/001/no_gpt/testfile" === CONT TestWatchDirectory/New_file,_subdir === CONT TestWatchDirectory/Nested_new_subdirs time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir/alreadyexistsDir/new\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir/alreadyexistsDir/new\": WRITE" === CONT TestWatchDirectory/Rename_file_and_update time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/alreadyexistsDir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/alreadyexistsDir/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/otherdir\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/otherdir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryRename_file_and_update3970559604/001/one_file and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update3970559604/001/one_file" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/otherdir" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update3970559604/001/one_file/GPT.INI" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryRename_file_and_update3970559604/001/one_file/alreadyexists" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/otherdir/subdir" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/otherdir/subdir\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Watching /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/otherdir/subdir and children" time="2022-10-17T19:08:15Z" level=debug msg="Watching: /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/otherdir/subdir" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRename_file_and_update3970559604/001/one_file/alreadyexists\": RENAME" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRename_file_and_update3970559604/001/one_file/alreadyexists.bak\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"\": RENAME" time="2022-10-17T19:08:15Z" level=debug msg="Failed to remove watcher on \"\": can't remove non-existent inotify watch for: ." time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRename_file_and_update3970559604/001/one_file/alreadyexists.bak\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/otherdir/subdir/file\": CREATE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryRename_file_and_update3970559604/001/one_file/alreadyexists.bak\": WRITE" time="2022-10-17T19:08:15Z" level=debug msg="Got event: \"/tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/otherdir/subdir/file\": WRITE" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryMultiple_nested_subdirectories838267358/001/withsubdir/alreadyexistsDir/GPT.INI" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNew_file,_subdir1771129390/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryNested_new_subdirs2393834356/001/withsubdir/GPT.INI" time="2022-10-17T19:08:15Z" level=info msg="Watcher stopped" time="2022-10-17T19:08:15Z" level=info msg="Bumping version for /tmp/TestWatchDirectoryRename_file_and_update3970559604/001/one_file/GPT.INI" --- PASS: TestWatchDirectory (0.15s) --- PASS: TestWatchDirectory/Error_on_non_existing_directory (12.30s) --- PASS: TestWatchDirectory/New_file,_no_gpt.ini (13.05s) --- PASS: TestWatchDirectory/Rename_file (0.64s) --- PASS: TestWatchDirectory/Multiple_directories_with_different_versions,_all_updated (0.76s) --- PASS: TestWatchDirectory/Error_on_listing_no_directory (0.01s) --- PASS: TestWatchDirectory/Multiple_directories,_only_one_is_updated (13.07s) --- PASS: TestWatchDirectory/Remove_root_directory (0.41s) --- PASS: TestWatchDirectory/No_update,_existing_gpt.ini (0.43s) --- PASS: TestWatchDirectory/New_subdir_without_file (0.43s) --- PASS: TestWatchDirectory/Multiple_nested_subdirectories,_only_update_nested_file (0.50s) --- PASS: TestWatchDirectory/New_subdir (0.50s) --- PASS: TestWatchDirectory/Combined_case (0.54s) --- PASS: TestWatchDirectory/Updating_gpt.ini_is_a_no-op (0.39s) --- PASS: TestWatchDirectory/Update_with_existing_gpt.ini (0.42s) --- PASS: TestWatchDirectory/Remove_file (0.41s) --- PASS: TestWatchDirectory/Update_existing_file (0.38s) --- PASS: TestWatchDirectory/Error_on_updating_malformed_GPT.ini (0.39s) --- PASS: TestWatchDirectory/Existing_file,_subdir (0.45s) --- PASS: TestWatchDirectory/No_update,_no_gpt.ini (0.33s) --- PASS: TestWatchDirectory/Multiple_nested_subdirectories (0.45s) --- PASS: TestWatchDirectory/New_file,_subdir (0.36s) --- PASS: TestWatchDirectory/Rename_file_and_update (0.37s) --- PASS: TestWatchDirectory/Nested_new_subdirs (0.42s) time="2022-10-17T19:08:16Z" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod3145784764/001/withsubdir/GPT.INI" time="2022-10-17T19:08:16Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/GPT.INI\": WRITE" time="2022-10-17T19:08:16Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/GPT.INI\": WRITE" time="2022-10-17T19:08:16Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/GPT.INI\": WRITE" time="2022-10-17T19:08:16Z" level=debug msg="Got event: \"/tmp/TestRefreshGracePeriod3145784764/001/withsubdir/GPT.INI\": WRITE" time="2022-10-17T19:08:16Z" level=info msg="Watcher stopped" --- PASS: TestRefreshGracePeriod (14.88s) PASS ok github.com/ubuntu/adsys/internal/watcher 15.968s ? github.com/ubuntu/adsys/policies [no test files] FAIL dh_auto_test: error: cd obj-riscv64-linux-gnu && go test -vet=off -v -p 8 github.com/ubuntu/adsys github.com/ubuntu/adsys/cmd/admxgen github.com/ubuntu/adsys/cmd/adsysd github.com/ubuntu/adsys/cmd/adsysd/client github.com/ubuntu/adsys/cmd/adsysd/daemon github.com/ubuntu/adsys/cmd/adsysd/integration_tests github.com/ubuntu/adsys/cmd/adwatchd github.com/ubuntu/adsys/cmd/adwatchd/commands github.com/ubuntu/adsys/cmd/adwatchd/integration_tests github.com/ubuntu/adsys/doc github.com/ubuntu/adsys/internal/ad github.com/ubuntu/adsys/internal/ad/admxgen github.com/ubuntu/adsys/internal/ad/admxgen/common github.com/ubuntu/adsys/internal/ad/admxgen/dconf github.com/ubuntu/adsys/internal/ad/common github.com/ubuntu/adsys/internal/ad/registry github.com/ubuntu/adsys/internal/adsysservice github.com/ubuntu/adsys/internal/adsysservice/actions github.com/ubuntu/adsys/internal/authorizer github.com/ubuntu/adsys/internal/cmdhandler github.com/ubuntu/adsys/internal/config github.com/ubuntu/adsys/internal/config/watchd github.com/ubuntu/adsys/internal/consts github.com/ubuntu/adsys/internal/daemon github.com/ubuntu/adsys/internal/decorate github.com/ubuntu/adsys/internal/generators github.com/ubuntu/adsys/internal/grpc/connectionnotify github.com/ubuntu/adsys/internal/grpc/contextidler github.com/ubuntu/adsys/internal/grpc/grpcerror github.com/ubuntu/adsys/internal/grpc/interceptorschain github.com/ubuntu/adsys/internal/grpc/logconnections github.com/ubuntu/adsys/internal/grpc/logstreamer github.com/ubuntu/adsys/internal/grpc/logstreamer/test github.com/ubuntu/adsys/internal/i18n github.com/ubuntu/adsys/internal/loghooks github.com/ubuntu/adsys/internal/policies github.com/ubuntu/adsys/internal/policies/dconf github.com/ubuntu/adsys/internal/policies/entry github.com/ubuntu/adsys/internal/policies/gdm github.com/ubuntu/adsys/internal/policies/privilege github.com/ubuntu/adsys/internal/policies/scripts github.com/ubuntu/adsys/internal/smbsafe github.com/ubuntu/adsys/internal/stdforward github.com/ubuntu/adsys/internal/testutils github.com/ubuntu/adsys/internal/watchdservice github.com/ubuntu/adsys/internal/watchdtui github.com/ubuntu/adsys/internal/watcher github.com/ubuntu/adsys/policies returned exit code 1 make: *** [debian/rules:33: build-arch] Error 25 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2022-10-17T19:17:35Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: riscv64 Build Type: any Build-Space: 167500 Build-Time: 1989 Distribution: focal-proposed Fail-Stage: build Host Architecture: riscv64 Install-Time: 514 Job: adsys_0.9.2~20.04.dsc Machine Architecture: riscv64 Package: adsys Package-Time: 2566 Source-Version: 0.9.2~20.04 Space: 167500 Status: attempted Version: 0.9.2~20.04 -------------------------------------------------------------------------------- Finished at 2022-10-17T19:17:35Z Build needed 00:42:46, 167500k disk space E: Build failure (dpkg-buildpackage died) Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-24492113 Scanning for processes to kill in build PACKAGEBUILD-24492113 RUN: /usr/share/launchpad-buildd/bin/in-target umount-chroot --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-24492113 Stopping target for build PACKAGEBUILD-24492113 RUN: /usr/share/launchpad-buildd/bin/in-target remove-build --backend=chroot --series=focal --arch=riscv64 PACKAGEBUILD-24492113 Removing build PACKAGEBUILD-24492113