https://launchpad.net/~gabuscus/+archive/ubuntu/ppa/+build/24262099 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-ppc64el-013 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:01:04 UTC 2022 ppc64le Buildd toolchain package versions: launchpad-buildd_218~581~ubuntu20.04.1 python3-lpbuildd_218~581~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git-build-recipe_0.3.6 git_1:2.25.1-1ubuntu3.5 dpkg-dev_1.19.7ubuntu3.2 python3-debian_0.1.36ubuntu1. Syncing the system clock with the buildd NTP service... 9 Aug 07:14:57 ntpdate[1950]: adjust time server 10.211.37.1 offset -0.007249 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24262099 --image-type chroot /home/buildd/filecache-default/9bc72597519b423e8b56f0e404e85e3685e5cde4 Creating target for build PACKAGEBUILD-24262099 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24262099 Starting target for build PACKAGEBUILD-24262099 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24262099 'deb http://ppa.launchpadcontent.net/gabuscus/ppa/ubuntu kinetic main' 'deb http://ftpmaster.internal/ubuntu kinetic main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu kinetic-security main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu kinetic-updates main restricted universe multiverse' Overriding sources.list in build-PACKAGEBUILD-24262099 RUN: /usr/share/launchpad-buildd/bin/in-target add-trusted-keys --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24262099 Adding trusted keys to build-PACKAGEBUILD-24262099 pub rsa4096/BCE9DA22C7DC76EA 2022-06-29 [SC] Key fingerprint = ABF9 11AB A29C 1961 6288 04FA BCE9 DA22 C7DC 76EA uid Launchpad PPA for Gabriel Nagy RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24262099 Updating target for build PACKAGEBUILD-24262099 Get:1 http://ppa.launchpadcontent.net/gabuscus/ppa/ubuntu kinetic InRelease [18.0 kB] Get:2 http://ftpmaster.internal/ubuntu kinetic InRelease [267 kB] Get:3 http://ppa.launchpadcontent.net/gabuscus/ppa/ubuntu kinetic/main ppc64el Packages [952 B] Get:4 http://ftpmaster.internal/ubuntu kinetic-security InRelease [90.7 kB] Get:5 http://ppa.launchpadcontent.net/gabuscus/ppa/ubuntu kinetic/main Translation-en [544 B] Get:6 http://ftpmaster.internal/ubuntu kinetic-updates InRelease [90.7 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/main ppc64el Packages [1346 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic/main Translation-en [512 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic/restricted ppc64el Packages [5160 B] Get:10 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el Packages [14.1 MB] Get:11 http://ftpmaster.internal/ubuntu kinetic/universe Translation-en [5784 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/multiverse ppc64el Packages [175 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/multiverse Translation-en [112 kB] Fetched 22.5 MB in 4s (5396 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following NEW packages will be installed: libfdisk1 sgml-base util-linux-extra The following packages will be upgraded: adduser apt base-files binutils binutils-common binutils-powerpc64le-linux-gnu bsdutils cpp-11 dash debianutils dpkg dpkg-dev e2fsprogs fakeroot g++-11 gcc-11 gcc-11-base gcc-12-base gpg gpg-agent gpgconf gpgv init init-system-helpers libapparmor1 libapt-pkg6.0 libasan6 libassuan0 libatomic1 libbinutils libblkid1 libcap-ng0 libcc1-0 libcom-err2 libcrypt-dev libcrypt1 libctf-nobfd0 libctf0 libdb5.3 libdpkg-perl libext2fs2 libfakeroot libgcc-11-dev libgcc-s1 libgcrypt20 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libidn2-0 libip4tc2 libisl23 libitm1 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblsan0 liblzma5 libmount1 libncurses6 libncursesw6 libperl5.34 libpng16-16 libquadmath0 libreadline8 libselinux1 libsemanage-common libsemanage2 libsepol2 libsmartcols1 libsqlite3-0 libss2 libssl3 libstdc++-11-dev libstdc++6 libsystemd0 libtinfo6 libtsan0 libubsan1 libudev1 libuuid1 libzstd1 login logsave lto-disabled-list mawk mount ncurses-base ncurses-bin openssl passwd perl perl-base perl-modules-5.34 pinentry-curses policyrcd-script-zg2 readline-common systemd systemd-sysv util-linux xz-utils 102 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 88.9 MB of archives. After this operation, 3600 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libcrypt-dev ppc64el 1:4.4.28-2 [143 kB] Get:2 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libcrypt1 ppc64el 1:4.4.28-2 [106 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic/main ppc64el base-files ppc64el 12.2ubuntu2 [73.5 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic/main ppc64el bsdutils ppc64el 1:2.38-4ubuntu1 [86.0 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main ppc64el debianutils ppc64el 5.7-0.3 [103 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libzstd1 ppc64el 1.5.2+dfsg-1 [352 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgpg-error0 ppc64el 1.45-2 [88.0 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgcrypt20 ppc64el 1.10.1-2ubuntu1 [713 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libatomic1 ppc64el 12.1.0-5ubuntu1 [10.6 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libubsan1 ppc64el 12.1.0-5ubuntu1 [992 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libquadmath0 ppc64el 12.1.0-5ubuntu1 [155 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/main ppc64el liblsan0 ppc64el 12.1.0-5ubuntu1 [1082 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libitm1 ppc64el 12.1.0-5ubuntu1 [32.6 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgomp1 ppc64el 12.1.0-5ubuntu1 [139 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gcc-12-base ppc64el 12.1.0-5ubuntu1 [19.3 kB] Get:16 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgcc-s1 ppc64el 12.1.0-5ubuntu1 [34.0 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libcc1-0 ppc64el 12.1.0-5ubuntu1 [48.9 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libstdc++6 ppc64el 12.1.0-5ubuntu1 [785 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/main ppc64el liblzma5 ppc64el 5.2.5-2.1 [123 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libblkid1 ppc64el 2.38-4ubuntu1 [130 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libuuid1 ppc64el 2.38-4ubuntu1 [27.2 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libfdisk1 ppc64el 2.38-4ubuntu1 [167 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main ppc64el systemd-sysv ppc64el 251.2-2ubuntu2 [11.2 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libapparmor1 ppc64el 3.0.4-3ubuntu1 [44.1 kB] Get:25 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libip4tc2 ppc64el 1.8.7-1ubuntu6 [23.6 kB] Get:26 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libselinux1 ppc64el 3.4-1 [97.4 kB] Get:27 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmount1 ppc64el 2.38-4ubuntu1 [146 kB] Get:28 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libssl3 ppc64el 3.0.4-1ubuntu1 [2140 kB] Get:29 http://ftpmaster.internal/ubuntu kinetic/main ppc64el mount ppc64el 2.38-4ubuntu1 [122 kB] Get:30 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsemanage-common all 3.4-1 [9828 B] Get:31 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsepol2 ppc64el 3.4-2 [384 kB] Get:32 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsemanage2 ppc64el 3.4-1 [115 kB] Get:33 http://ftpmaster.internal/ubuntu kinetic/main ppc64el passwd ppc64el 1:4.11.1+dfsg1-2ubuntu1 [798 kB] Get:34 http://ftpmaster.internal/ubuntu kinetic/main ppc64el adduser all 3.121ubuntu1 [150 kB] Get:35 http://ftpmaster.internal/ubuntu kinetic/main ppc64el systemd ppc64el 251.2-2ubuntu2 [5067 kB] Get:36 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsystemd0 ppc64el 251.2-2ubuntu2 [402 kB] Get:37 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libudev1 ppc64el 251.2-2ubuntu2 [101 kB] Get:38 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libapt-pkg6.0 ppc64el 2.5.2 [1015 kB] Get:39 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dpkg ppc64el 1.21.9ubuntu1 [1415 kB] Get:40 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dash ppc64el 0.5.11+git20210903+057cd650a4ed-8ubuntu1 [107 kB] Get:41 http://ftpmaster.internal/ubuntu kinetic/main ppc64el login ppc64el 1:4.11.1+dfsg1-2ubuntu1 [186 kB] Get:42 http://ftpmaster.internal/ubuntu kinetic/main ppc64el ncurses-bin ppc64el 6.3+20220423-2 [196 kB] Get:43 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libperl5.34 ppc64el 5.34.0-5ubuntu1 [4775 kB] Get:44 http://ftpmaster.internal/ubuntu kinetic/main ppc64el perl ppc64el 5.34.0-5ubuntu1 [231 kB] Get:45 http://ftpmaster.internal/ubuntu kinetic/main ppc64el perl-base ppc64el 5.34.0-5ubuntu1 [1828 kB] Get:46 http://ftpmaster.internal/ubuntu kinetic/main ppc64el perl-modules-5.34 all 5.34.0-5ubuntu1 [2952 kB] Get:47 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdb5.3 ppc64el 5.3.28+dfsg1-0.10 [832 kB] Get:48 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsmartcols1 ppc64el 2.38-4ubuntu1 [60.8 kB] Get:49 http://ftpmaster.internal/ubuntu kinetic/main ppc64el util-linux-extra ppc64el 2.38-4ubuntu1 [89.6 kB] Get:50 http://ftpmaster.internal/ubuntu kinetic/main ppc64el util-linux ppc64el 2.38-4ubuntu1 [1141 kB] Get:51 http://ftpmaster.internal/ubuntu kinetic/main ppc64el init-system-helpers all 1.64 [38.7 kB] Get:52 http://ftpmaster.internal/ubuntu kinetic/main ppc64el ncurses-base all 6.3+20220423-2 [21.2 kB] Get:53 http://ftpmaster.internal/ubuntu kinetic/main ppc64el sgml-base all 1.30 [12.5 kB] Get:54 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libidn2-0 ppc64el 2.3.3-1 [66.5 kB] Get:55 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgnutls30 ppc64el 3.7.7-2ubuntu1 [1036 kB] Get:56 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gpgv ppc64el 2.2.27-3ubuntu3 [175 kB] Get:57 http://ftpmaster.internal/ubuntu kinetic/main ppc64el apt ppc64el 2.5.2 [1417 kB] Get:58 http://ftpmaster.internal/ubuntu kinetic/main ppc64el logsave ppc64el 1.46.5-2ubuntu2 [10.5 kB] Get:59 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libext2fs2 ppc64el 1.46.5-2ubuntu2 [248 kB] Get:60 http://ftpmaster.internal/ubuntu kinetic/main ppc64el e2fsprogs ppc64el 1.46.5-2ubuntu2 [645 kB] Get:61 http://ftpmaster.internal/ubuntu kinetic/main ppc64el init ppc64el 1.64 [5538 B] Get:62 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libcap-ng0 ppc64el 0.8.3-1 [16.3 kB] Get:63 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libncurses6 ppc64el 6.3+20220423-2 [143 kB] Get:64 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libncursesw6 ppc64el 6.3+20220423-2 [180 kB] Get:65 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libtinfo6 ppc64el 6.3+20220423-2 [123 kB] Get:66 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libcom-err2 ppc64el 1.46.5-2ubuntu2 [9632 B] Get:67 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libss2 ppc64el 1.46.5-2ubuntu2 [13.5 kB] Get:68 http://ftpmaster.internal/ubuntu kinetic/main ppc64el mawk ppc64el 1.3.4.20200120-3.1 [120 kB] Get:69 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgssapi-krb5-2 ppc64el 1.20-1 [181 kB] Get:70 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libkrb5-3 ppc64el 1.20-1 [425 kB] Get:71 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libkrb5support0 ppc64el 1.20-1 [35.7 kB] Get:72 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libk5crypto3 ppc64el 1.20-1 [106 kB] Get:73 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libkeyutils1 ppc64el 1.6.1-3ubuntu1 [11.3 kB] Get:74 http://ftpmaster.internal/ubuntu kinetic/main ppc64el readline-common all 8.1.2-1.2 [53.6 kB] Get:75 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libreadline8 ppc64el 8.1.2-1.2 [178 kB] Get:76 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsqlite3-0 ppc64el 3.39.2-1 [745 kB] Get:77 http://ftpmaster.internal/ubuntu kinetic/main ppc64el openssl ppc64el 3.0.4-1ubuntu1 [1192 kB] Get:78 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpng16-16 ppc64el 1.6.37-5 [233 kB] Get:79 http://ftpmaster.internal/ubuntu kinetic/main ppc64el xz-utils ppc64el 5.2.5-2.1 [91.5 kB] Get:80 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libctf0 ppc64el 2.38.90.20220713-2ubuntu1 [108 kB] Get:81 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libctf-nobfd0 ppc64el 2.38.90.20220713-2ubuntu1 [108 kB] Get:82 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libbinutils ppc64el 2.38.90.20220713-2ubuntu1 [680 kB] Get:83 http://ftpmaster.internal/ubuntu kinetic/main ppc64el binutils ppc64el 2.38.90.20220713-2ubuntu1 [3170 B] Get:84 http://ftpmaster.internal/ubuntu kinetic/main ppc64el binutils-common ppc64el 2.38.90.20220713-2ubuntu1 [223 kB] Get:85 http://ftpmaster.internal/ubuntu kinetic/main ppc64el binutils-powerpc64le-linux-gnu ppc64el 2.38.90.20220713-2ubuntu1 [2416 kB] Get:86 http://ftpmaster.internal/ubuntu kinetic/main ppc64el g++-11 ppc64el 11.3.0-5ubuntu1 [10.1 MB] Get:87 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libstdc++-11-dev ppc64el 11.3.0-5ubuntu1 [2179 kB] Get:88 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libasan6 ppc64el 11.3.0-5ubuntu1 [2275 kB] Get:89 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gcc-11 ppc64el 11.3.0-5ubuntu1 [17.6 MB] Get:90 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgcc-11-dev ppc64el 11.3.0-5ubuntu1 [1468 kB] Get:91 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libtsan0 ppc64el 11.3.0-5ubuntu1 [2267 kB] Get:92 http://ftpmaster.internal/ubuntu kinetic/main ppc64el cpp-11 ppc64el 11.3.0-5ubuntu1 [8756 kB] Get:93 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gcc-11-base ppc64el 11.3.0-5ubuntu1 [20.4 kB] Get:94 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libisl23 ppc64el 0.25-1 [846 kB] Get:95 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dpkg-dev all 1.21.9ubuntu1 [1070 kB] Get:96 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdpkg-perl all 1.21.9ubuntu1 [237 kB] Get:97 http://ftpmaster.internal/ubuntu kinetic/main ppc64el lto-disabled-list all 32 [12.2 kB] Get:98 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libfakeroot ppc64el 1.29-1ubuntu1 [33.1 kB] Get:99 http://ftpmaster.internal/ubuntu kinetic/main ppc64el fakeroot ppc64el 1.29-1ubuntu1 [62.5 kB] Get:100 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libassuan0 ppc64el 2.5.5-4 [41.9 kB] Get:101 http://ftpmaster.internal/ubuntu kinetic/main ppc64el pinentry-curses ppc64el 1.2.0-2ubuntu1 [38.6 kB] Get:102 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gpg ppc64el 2.2.27-3ubuntu3 [654 kB] Get:103 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gpgconf ppc64el 2.2.27-3ubuntu3 [102 kB] Get:104 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gpg-agent ppc64el 2.2.27-3ubuntu3 [244 kB] Get:105 http://ftpmaster.internal/ubuntu kinetic/main ppc64el policyrcd-script-zg2 all 0.1-3.1 [5730 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 88.9 MB in 25s (3538 kB/s) (Reading database ... 13375 files and directories currently installed.) Preparing to unpack .../libcrypt-dev_1%3a4.4.28-2_ppc64el.deb ... Unpacking libcrypt-dev:ppc64el (1:4.4.28-2) over (1:4.4.27-1) ... Preparing to unpack .../libcrypt1_1%3a4.4.28-2_ppc64el.deb ... Unpacking libcrypt1:ppc64el (1:4.4.28-2) over (1:4.4.27-1) ... Setting up libcrypt1:ppc64el (1:4.4.28-2) ... (Reading database ... 13377 files and directories currently installed.) Preparing to unpack .../base-files_12.2ubuntu2_ppc64el.deb ... Unpacking base-files (12.2ubuntu2) over (12ubuntu5) ... Setting up base-files (12.2ubuntu2) ... (Reading database ... 13389 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.38-4ubuntu1_ppc64el.deb ... Unpacking bsdutils (1:2.38-4ubuntu1) over (1:2.37.2-4ubuntu3) ... Setting up bsdutils (1:2.38-4ubuntu1) ... (Reading database ... 13389 files and directories currently installed.) Preparing to unpack .../debianutils_5.7-0.3_ppc64el.deb ... Unpacking debianutils (5.7-0.3) over (5.7-0.2) ... Setting up debianutils (5.7-0.3) ... (Reading database ... 13389 files and directories currently installed.) Preparing to unpack .../libzstd1_1.5.2+dfsg-1_ppc64el.deb ... Unpacking libzstd1:ppc64el (1.5.2+dfsg-1) over (1.4.8+dfsg-3build1) ... Setting up libzstd1:ppc64el (1.5.2+dfsg-1) ... (Reading database ... 13389 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.45-2_ppc64el.deb ... Unpacking libgpg-error0:ppc64el (1.45-2) over (1.43-3) ... Setting up libgpg-error0:ppc64el (1.45-2) ... (Reading database ... 13389 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.10.1-2ubuntu1_ppc64el.deb ... Unpacking libgcrypt20:ppc64el (1.10.1-2ubuntu1) over (1.9.4-3ubuntu3) ... Setting up libgcrypt20:ppc64el (1.10.1-2ubuntu1) ... (Reading database ... 13391 files and directories currently installed.) Preparing to unpack .../0-libatomic1_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking libatomic1:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Preparing to unpack .../1-libubsan1_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking libubsan1:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Preparing to unpack .../2-libquadmath0_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking libquadmath0:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Preparing to unpack .../3-liblsan0_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking liblsan0:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Preparing to unpack .../4-libitm1_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking libitm1:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Preparing to unpack .../5-libgomp1_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking libgomp1:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Preparing to unpack .../6-gcc-12-base_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking gcc-12-base:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Setting up gcc-12-base:ppc64el (12.1.0-5ubuntu1) ... (Reading database ... 13391 files and directories currently installed.) Preparing to unpack .../libgcc-s1_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking libgcc-s1:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Setting up libgcc-s1:ppc64el (12.1.0-5ubuntu1) ... (Reading database ... 13391 files and directories currently installed.) Preparing to unpack .../libcc1-0_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking libcc1-0:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Preparing to unpack .../libstdc++6_12.1.0-5ubuntu1_ppc64el.deb ... Unpacking libstdc++6:ppc64el (12.1.0-5ubuntu1) over (12-20220428-1ubuntu1) ... Setting up libstdc++6:ppc64el (12.1.0-5ubuntu1) ... (Reading database ... 13391 files and directories currently installed.) Preparing to unpack .../liblzma5_5.2.5-2.1_ppc64el.deb ... Unpacking liblzma5:ppc64el (5.2.5-2.1) over (5.2.5-2ubuntu1) ... Setting up liblzma5:ppc64el (5.2.5-2.1) ... (Reading database ... 13391 files and directories currently installed.) Preparing to unpack .../libblkid1_2.38-4ubuntu1_ppc64el.deb ... Unpacking libblkid1:ppc64el (2.38-4ubuntu1) over (2.37.2-4ubuntu3) ... Setting up libblkid1:ppc64el (2.38-4ubuntu1) ... (Reading database ... 13391 files and directories currently installed.) Preparing to unpack .../libuuid1_2.38-4ubuntu1_ppc64el.deb ... Unpacking libuuid1:ppc64el (2.38-4ubuntu1) over (2.37.2-4ubuntu3) ... Setting up libuuid1:ppc64el (2.38-4ubuntu1) ... Selecting previously unselected package libfdisk1:ppc64el. (Reading database ... 13392 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.38-4ubuntu1_ppc64el.deb ... Unpacking libfdisk1:ppc64el (2.38-4ubuntu1) ... Preparing to unpack .../systemd-sysv_251.2-2ubuntu2_ppc64el.deb ... Unpacking systemd-sysv (251.2-2ubuntu2) over (249.11-0ubuntu3.1) ... Preparing to unpack .../libapparmor1_3.0.4-3ubuntu1_ppc64el.deb ... Unpacking libapparmor1:ppc64el (3.0.4-3ubuntu1) over (3.0.4-2ubuntu2) ... Preparing to unpack .../libip4tc2_1.8.7-1ubuntu6_ppc64el.deb ... Unpacking libip4tc2:ppc64el (1.8.7-1ubuntu6) over (1.8.7-1ubuntu5) ... Preparing to unpack .../libselinux1_3.4-1_ppc64el.deb ... Unpacking libselinux1:ppc64el (3.4-1) over (3.3-1build2) ... Setting up libselinux1:ppc64el (3.4-1) ... (Reading database ... 13397 files and directories currently installed.) Preparing to unpack .../libmount1_2.38-4ubuntu1_ppc64el.deb ... Unpacking libmount1:ppc64el (2.38-4ubuntu1) over (2.37.2-4ubuntu3) ... Setting up libmount1:ppc64el (2.38-4ubuntu1) ... (Reading database ... 13397 files and directories currently installed.) Preparing to unpack .../libssl3_3.0.4-1ubuntu1_ppc64el.deb ... Unpacking libssl3:ppc64el (3.0.4-1ubuntu1) over (3.0.2-0ubuntu1) ... Preparing to unpack .../mount_2.38-4ubuntu1_ppc64el.deb ... Unpacking mount (2.38-4ubuntu1) over (2.37.2-4ubuntu3) ... Preparing to unpack .../libsemanage-common_3.4-1_all.deb ... Unpacking libsemanage-common (3.4-1) over (3.3-1build2) ... Setting up libsemanage-common (3.4-1) ... Installing new version of config file /etc/selinux/semanage.conf ... (Reading database ... 13397 files and directories currently installed.) Preparing to unpack .../libsepol2_3.4-2_ppc64el.deb ... Unpacking libsepol2:ppc64el (3.4-2) over (3.3-1build1) ... Setting up libsepol2:ppc64el (3.4-2) ... (Reading database ... 13397 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.4-1_ppc64el.deb ... Unpacking libsemanage2:ppc64el (3.4-1) over (3.3-1build2) ... Setting up libsemanage2:ppc64el (3.4-1) ... (Reading database ... 13397 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.11.1+dfsg1-2ubuntu1_ppc64el.deb ... Unpacking passwd (1:4.11.1+dfsg1-2ubuntu1) over (1:4.8.1-2ubuntu2) ... Setting up passwd (1:4.11.1+dfsg1-2ubuntu1) ... Installing new version of config file /etc/default/useradd ... (Reading database ... 13397 files and directories currently installed.) Preparing to unpack .../adduser_3.121ubuntu1_all.deb ... Unpacking adduser (3.121ubuntu1) over (3.118ubuntu5) ... Setting up adduser (3.121ubuntu1) ... Installing new version of config file /etc/deluser.conf ... (Reading database ... 13394 files and directories currently installed.) Preparing to unpack .../systemd_251.2-2ubuntu2_ppc64el.deb ... Unpacking systemd (251.2-2ubuntu2) over (249.11-0ubuntu3.1) ... Preparing to unpack .../libsystemd0_251.2-2ubuntu2_ppc64el.deb ... Unpacking libsystemd0:ppc64el (251.2-2ubuntu2) over (249.11-0ubuntu3.1) ... Setting up libsystemd0:ppc64el (251.2-2ubuntu2) ... (Reading database ... 13408 files and directories currently installed.) Preparing to unpack .../libudev1_251.2-2ubuntu2_ppc64el.deb ... Unpacking libudev1:ppc64el (251.2-2ubuntu2) over (249.11-0ubuntu3.1) ... Setting up libudev1:ppc64el (251.2-2ubuntu2) ... (Reading database ... 13408 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.5.2_ppc64el.deb ... Unpacking libapt-pkg6.0:ppc64el (2.5.2) over (2.4.5) ... Setting up libapt-pkg6.0:ppc64el (2.5.2) ... (Reading database ... 13408 files and directories currently installed.) Preparing to unpack .../dpkg_1.21.9ubuntu1_ppc64el.deb ... Unpacking dpkg (1.21.9ubuntu1) over (1.21.1ubuntu2) ... Setting up dpkg (1.21.9ubuntu1) ... (Reading database ... 13412 files and directories currently installed.) Preparing to unpack .../dash_0.5.11+git20210903+057cd650a4ed-8ubuntu1_ppc64el.deb ... Unpacking dash (0.5.11+git20210903+057cd650a4ed-8ubuntu1) over (0.5.11+git20210903+057cd650a4ed-3build1) ... Setting up dash (0.5.11+git20210903+057cd650a4ed-8ubuntu1) ... (Reading database ... 13413 files and directories currently installed.) Preparing to unpack .../login_1%3a4.11.1+dfsg1-2ubuntu1_ppc64el.deb ... Unpacking login (1:4.11.1+dfsg1-2ubuntu1) over (1:4.8.1-2ubuntu2) ... Setting up login (1:4.11.1+dfsg1-2ubuntu1) ... Installing new version of config file /etc/login.defs ... (Reading database ... 13413 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.3+20220423-2_ppc64el.deb ... Unpacking ncurses-bin (6.3+20220423-2) over (6.3-2) ... Setting up ncurses-bin (6.3+20220423-2) ... (Reading database ... 13413 files and directories currently installed.) Preparing to unpack .../libperl5.34_5.34.0-5ubuntu1_ppc64el.deb ... Unpacking libperl5.34:ppc64el (5.34.0-5ubuntu1) over (5.34.0-3ubuntu1) ... Preparing to unpack .../perl_5.34.0-5ubuntu1_ppc64el.deb ... Unpacking perl (5.34.0-5ubuntu1) over (5.34.0-3ubuntu1) ... Preparing to unpack .../perl-base_5.34.0-5ubuntu1_ppc64el.deb ... Unpacking perl-base (5.34.0-5ubuntu1) over (5.34.0-3ubuntu1) ... Setting up perl-base (5.34.0-5ubuntu1) ... (Reading database ... 13413 files and directories currently installed.) Preparing to unpack .../perl-modules-5.34_5.34.0-5ubuntu1_all.deb ... Unpacking perl-modules-5.34 (5.34.0-5ubuntu1) over (5.34.0-3ubuntu1) ... Preparing to unpack .../libdb5.3_5.3.28+dfsg1-0.10_ppc64el.deb ... Unpacking libdb5.3:ppc64el (5.3.28+dfsg1-0.10) over (5.3.28+dfsg1-0.8ubuntu3) ... Setting up libdb5.3:ppc64el (5.3.28+dfsg1-0.10) ... (Reading database ... 13413 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.38-4ubuntu1_ppc64el.deb ... Unpacking libsmartcols1:ppc64el (2.38-4ubuntu1) over (2.37.2-4ubuntu3) ... Setting up libsmartcols1:ppc64el (2.38-4ubuntu1) ... (Reading database ... 13413 files and directories currently installed.) Preparing to unpack .../util-linux_2.38-4ubuntu1_ppc64el.deb ... Unpacking util-linux (2.38-4ubuntu1) over (2.37.2-4ubuntu3) ... dpkg: warning: unable to delete old directory '/usr/lib/udev': Directory not empty Selecting previously unselected package util-linux-extra. Preparing to unpack .../util-linux-extra_2.38-4ubuntu1_ppc64el.deb ... Unpacking util-linux-extra (2.38-4ubuntu1) ... Setting up util-linux-extra (2.38-4ubuntu1) ... (Reading database ... 13425 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.64_all.deb ... Unpacking init-system-helpers (1.64) over (1.62) ... Setting up init-system-helpers (1.64) ... (Reading database ... 13425 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.3+20220423-2_all.deb ... Unpacking ncurses-base (6.3+20220423-2) over (6.3-2) ... Setting up ncurses-base (6.3+20220423-2) ... Selecting previously unselected package sgml-base. (Reading database ... 13426 files and directories currently installed.) Preparing to unpack .../sgml-base_1.30_all.deb ... Unpacking sgml-base (1.30) ... Setting up sgml-base (1.30) ... (Reading database ... 13454 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.3.3-1_ppc64el.deb ... Unpacking libidn2-0:ppc64el (2.3.3-1) over (2.3.2-2build1) ... Setting up libidn2-0:ppc64el (2.3.3-1) ... (Reading database ... 13454 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.7.7-2ubuntu1_ppc64el.deb ... Unpacking libgnutls30:ppc64el (3.7.7-2ubuntu1) over (3.7.4-2ubuntu1) ... Setting up libgnutls30:ppc64el (3.7.7-2ubuntu1) ... (Reading database ... 13454 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.27-3ubuntu3_ppc64el.deb ... Unpacking gpgv (2.2.27-3ubuntu3) over (2.2.27-3ubuntu2) ... Setting up gpgv (2.2.27-3ubuntu3) ... (Reading database ... 13454 files and directories currently installed.) Preparing to unpack .../archives/apt_2.5.2_ppc64el.deb ... Unpacking apt (2.5.2) over (2.4.5) ... Setting up apt (2.5.2) ... (Reading database ... 13455 files and directories currently installed.) Preparing to unpack .../logsave_1.46.5-2ubuntu2_ppc64el.deb ... Unpacking logsave (1.46.5-2ubuntu2) over (1.46.5-2ubuntu1) ... Preparing to unpack .../libext2fs2_1.46.5-2ubuntu2_ppc64el.deb ... Unpacking libext2fs2:ppc64el (1.46.5-2ubuntu2) over (1.46.5-2ubuntu1) ... Setting up libext2fs2:ppc64el (1.46.5-2ubuntu2) ... (Reading database ... 13455 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.46.5-2ubuntu2_ppc64el.deb ... Unpacking e2fsprogs (1.46.5-2ubuntu2) over (1.46.5-2ubuntu1) ... Setting up libapparmor1:ppc64el (3.0.4-3ubuntu1) ... Setting up libfdisk1:ppc64el (2.38-4ubuntu1) ... Setting up libip4tc2:ppc64el (1.8.7-1ubuntu6) ... Setting up libssl3:ppc64el (3.0.4-1ubuntu1) ... Setting up mount (2.38-4ubuntu1) ... Setting up systemd (251.2-2ubuntu2) ... Installing new version of config file /etc/systemd/logind.conf ... Installing new version of config file /etc/systemd/system.conf ... Initializing machine ID from random generator. Setting up systemd-sysv (251.2-2ubuntu2) ... (Reading database ... 13455 files and directories currently installed.) Preparing to unpack .../archives/init_1.64_ppc64el.deb ... Unpacking init (1.64) over (1.62) ... Preparing to unpack .../libcap-ng0_0.8.3-1_ppc64el.deb ... Unpacking libcap-ng0:ppc64el (0.8.3-1) over (0.7.9-2.2build3) ... Setting up libcap-ng0:ppc64el (0.8.3-1) ... (Reading database ... 13457 files and directories currently installed.) Preparing to unpack .../libncurses6_6.3+20220423-2_ppc64el.deb ... Unpacking libncurses6:ppc64el (6.3+20220423-2) over (6.3-2) ... Preparing to unpack .../libncursesw6_6.3+20220423-2_ppc64el.deb ... Unpacking libncursesw6:ppc64el (6.3+20220423-2) over (6.3-2) ... Preparing to unpack .../libtinfo6_6.3+20220423-2_ppc64el.deb ... Unpacking libtinfo6:ppc64el (6.3+20220423-2) over (6.3-2) ... Setting up libtinfo6:ppc64el (6.3+20220423-2) ... (Reading database ... 13456 files and directories currently installed.) Preparing to unpack .../00-libcom-err2_1.46.5-2ubuntu2_ppc64el.deb ... Unpacking libcom-err2:ppc64el (1.46.5-2ubuntu2) over (1.46.5-2ubuntu1) ... Preparing to unpack .../01-libss2_1.46.5-2ubuntu2_ppc64el.deb ... Unpacking libss2:ppc64el (1.46.5-2ubuntu2) over (1.46.5-2ubuntu1) ... Preparing to unpack .../02-mawk_1.3.4.20200120-3.1_ppc64el.deb ... Unpacking mawk (1.3.4.20200120-3.1) over (1.3.4.20200120-3) ... Preparing to unpack .../03-libgssapi-krb5-2_1.20-1_ppc64el.deb ... Unpacking libgssapi-krb5-2:ppc64el (1.20-1) over (1.19.2-2) ... Preparing to unpack .../04-libkrb5-3_1.20-1_ppc64el.deb ... Unpacking libkrb5-3:ppc64el (1.20-1) over (1.19.2-2) ... Preparing to unpack .../05-libkrb5support0_1.20-1_ppc64el.deb ... Unpacking libkrb5support0:ppc64el (1.20-1) over (1.19.2-2) ... Preparing to unpack .../06-libk5crypto3_1.20-1_ppc64el.deb ... Unpacking libk5crypto3:ppc64el (1.20-1) over (1.19.2-2) ... Preparing to unpack .../07-libkeyutils1_1.6.1-3ubuntu1_ppc64el.deb ... Unpacking libkeyutils1:ppc64el (1.6.1-3ubuntu1) over (1.6.1-2ubuntu3) ... Preparing to unpack .../08-readline-common_8.1.2-1.2_all.deb ... Unpacking readline-common (8.1.2-1.2) over (8.1.2-1) ... Preparing to unpack .../09-libreadline8_8.1.2-1.2_ppc64el.deb ... Unpacking libreadline8:ppc64el (8.1.2-1.2) over (8.1.2-1) ... Preparing to unpack .../10-libsqlite3-0_3.39.2-1_ppc64el.deb ... Unpacking libsqlite3-0:ppc64el (3.39.2-1) over (3.37.2-2) ... Preparing to unpack .../11-openssl_3.0.4-1ubuntu1_ppc64el.deb ... Unpacking openssl (3.0.4-1ubuntu1) over (3.0.2-0ubuntu1) ... Preparing to unpack .../12-libpng16-16_1.6.37-5_ppc64el.deb ... Unpacking libpng16-16:ppc64el (1.6.37-5) over (1.6.37-3build5) ... Preparing to unpack .../13-xz-utils_5.2.5-2.1_ppc64el.deb ... Unpacking xz-utils (5.2.5-2.1) over (5.2.5-2ubuntu1) ... Preparing to unpack .../14-libctf0_2.38.90.20220713-2ubuntu1_ppc64el.deb ... Unpacking libctf0:ppc64el (2.38.90.20220713-2ubuntu1) over (2.38-3ubuntu1) ... Preparing to unpack .../15-libctf-nobfd0_2.38.90.20220713-2ubuntu1_ppc64el.deb ... Unpacking libctf-nobfd0:ppc64el (2.38.90.20220713-2ubuntu1) over (2.38-3ubuntu1) ... Preparing to unpack .../16-libbinutils_2.38.90.20220713-2ubuntu1_ppc64el.deb ... Unpacking libbinutils:ppc64el (2.38.90.20220713-2ubuntu1) over (2.38-3ubuntu1) ... Preparing to unpack .../17-binutils_2.38.90.20220713-2ubuntu1_ppc64el.deb ... Unpacking binutils (2.38.90.20220713-2ubuntu1) over (2.38-3ubuntu1) ... Preparing to unpack .../18-binutils-common_2.38.90.20220713-2ubuntu1_ppc64el.deb ... Unpacking binutils-common:ppc64el (2.38.90.20220713-2ubuntu1) over (2.38-3ubuntu1) ... Preparing to unpack .../19-binutils-powerpc64le-linux-gnu_2.38.90.20220713-2ubuntu1_ppc64el.deb ... Unpacking binutils-powerpc64le-linux-gnu (2.38.90.20220713-2ubuntu1) over (2.38-3ubuntu1) ... Preparing to unpack .../20-g++-11_11.3.0-5ubuntu1_ppc64el.deb ... Unpacking g++-11 (11.3.0-5ubuntu1) over (11.3.0-1ubuntu1) ... Preparing to unpack .../21-libstdc++-11-dev_11.3.0-5ubuntu1_ppc64el.deb ... Unpacking libstdc++-11-dev:ppc64el (11.3.0-5ubuntu1) over (11.3.0-1ubuntu1) ... Preparing to unpack .../22-libasan6_11.3.0-5ubuntu1_ppc64el.deb ... Unpacking libasan6:ppc64el (11.3.0-5ubuntu1) over (11.3.0-1ubuntu1) ... Preparing to unpack .../23-gcc-11_11.3.0-5ubuntu1_ppc64el.deb ... Unpacking gcc-11 (11.3.0-5ubuntu1) over (11.3.0-1ubuntu1) ... Preparing to unpack .../24-libgcc-11-dev_11.3.0-5ubuntu1_ppc64el.deb ... Unpacking libgcc-11-dev:ppc64el (11.3.0-5ubuntu1) over (11.3.0-1ubuntu1) ... Preparing to unpack .../25-libtsan0_11.3.0-5ubuntu1_ppc64el.deb ... Unpacking libtsan0:ppc64el (11.3.0-5ubuntu1) over (11.3.0-1ubuntu1) ... Preparing to unpack .../26-cpp-11_11.3.0-5ubuntu1_ppc64el.deb ... Unpacking cpp-11 (11.3.0-5ubuntu1) over (11.3.0-1ubuntu1) ... Preparing to unpack .../27-gcc-11-base_11.3.0-5ubuntu1_ppc64el.deb ... Unpacking gcc-11-base:ppc64el (11.3.0-5ubuntu1) over (11.3.0-1ubuntu1) ... Preparing to unpack .../28-libisl23_0.25-1_ppc64el.deb ... Unpacking libisl23:ppc64el (0.25-1) over (0.24-2build1) ... Preparing to unpack .../29-dpkg-dev_1.21.9ubuntu1_all.deb ... Unpacking dpkg-dev (1.21.9ubuntu1) over (1.21.1ubuntu2) ... Preparing to unpack .../30-libdpkg-perl_1.21.9ubuntu1_all.deb ... Unpacking libdpkg-perl (1.21.9ubuntu1) over (1.21.1ubuntu2) ... Preparing to unpack .../31-lto-disabled-list_32_all.deb ... Unpacking lto-disabled-list (32) over (25) ... Preparing to unpack .../32-libfakeroot_1.29-1ubuntu1_ppc64el.deb ... Unpacking libfakeroot:ppc64el (1.29-1ubuntu1) over (1.28-1ubuntu1) ... Preparing to unpack .../33-fakeroot_1.29-1ubuntu1_ppc64el.deb ... Unpacking fakeroot (1.29-1ubuntu1) over (1.28-1ubuntu1) ... Preparing to unpack .../34-libassuan0_2.5.5-4_ppc64el.deb ... Unpacking libassuan0:ppc64el (2.5.5-4) over (2.5.5-3) ... Preparing to unpack .../35-pinentry-curses_1.2.0-2ubuntu1_ppc64el.deb ... Unpacking pinentry-curses (1.2.0-2ubuntu1) over (1.1.1-1build2) ... Preparing to unpack .../36-gpg_2.2.27-3ubuntu3_ppc64el.deb ... Unpacking gpg (2.2.27-3ubuntu3) over (2.2.27-3ubuntu2) ... Preparing to unpack .../37-gpgconf_2.2.27-3ubuntu3_ppc64el.deb ... Unpacking gpgconf (2.2.27-3ubuntu3) over (2.2.27-3ubuntu2) ... Preparing to unpack .../38-gpg-agent_2.2.27-3ubuntu3_ppc64el.deb ... Unpacking gpg-agent (2.2.27-3ubuntu3) over (2.2.27-3ubuntu2) ... Preparing to unpack .../39-policyrcd-script-zg2_0.1-3.1_all.deb ... Unpacking policyrcd-script-zg2 (0.1-3.1) over (0.1-3) ... Setting up gcc-11-base:ppc64el (11.3.0-5ubuntu1) ... Setting up libkeyutils1:ppc64el (1.6.1-3ubuntu1) ... Setting up lto-disabled-list (32) ... Setting up init (1.64) ... Setting up libsqlite3-0:ppc64el (3.39.2-1) ... Setting up binutils-common:ppc64el (2.38.90.20220713-2ubuntu1) ... Setting up libctf-nobfd0:ppc64el (2.38.90.20220713-2ubuntu1) ... Setting up libcom-err2:ppc64el (1.46.5-2ubuntu2) ... Setting up libassuan0:ppc64el (2.5.5-4) ... Setting up libgomp1:ppc64el (12.1.0-5ubuntu1) ... Setting up perl-modules-5.34 (5.34.0-5ubuntu1) ... Setting up libfakeroot:ppc64el (1.29-1ubuntu1) ... Setting up libasan6:ppc64el (11.3.0-5ubuntu1) ... Setting up libkrb5support0:ppc64el (1.20-1) ... Setting up fakeroot (1.29-1ubuntu1) ... Setting up policyrcd-script-zg2 (0.1-3.1) ... Setting up libncurses6:ppc64el (6.3+20220423-2) ... Setting up xz-utils (5.2.5-2.1) ... Setting up libquadmath0:ppc64el (12.1.0-5ubuntu1) ... Setting up libpng16-16:ppc64el (1.6.37-5) ... Setting up libatomic1:ppc64el (12.1.0-5ubuntu1) ... Setting up libss2:ppc64el (1.46.5-2ubuntu2) ... Setting up util-linux (2.38-4ubuntu1) ... Setting up libncursesw6:ppc64el (6.3+20220423-2) ... Setting up libk5crypto3:ppc64el (1.20-1) ... Setting up logsave (1.46.5-2ubuntu2) ... Setting up libubsan1:ppc64el (12.1.0-5ubuntu1) ... Setting up libcrypt-dev:ppc64el (1:4.4.28-2) ... Setting up mawk (1.3.4.20200120-3.1) ... Setting up libkrb5-3:ppc64el (1.20-1) ... Setting up libbinutils:ppc64el (2.38.90.20220713-2ubuntu1) ... Setting up libisl23:ppc64el (0.25-1) ... Setting up openssl (3.0.4-1ubuntu1) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up readline-common (8.1.2-1.2) ... Setting up libcc1-0:ppc64el (12.1.0-5ubuntu1) ... Setting up liblsan0:ppc64el (12.1.0-5ubuntu1) ... Setting up libitm1:ppc64el (12.1.0-5ubuntu1) ... Setting up libtsan0:ppc64el (11.3.0-5ubuntu1) ... Setting up libctf0:ppc64el (2.38.90.20220713-2ubuntu1) ... Setting up pinentry-curses (1.2.0-2ubuntu1) ... Setting up cpp-11 (11.3.0-5ubuntu1) ... Setting up libperl5.34:ppc64el (5.34.0-5ubuntu1) ... Setting up libreadline8:ppc64el (8.1.2-1.2) ... Setting up e2fsprogs (1.46.5-2ubuntu2) ... Setting up perl (5.34.0-5ubuntu1) ... Setting up libgssapi-krb5-2:ppc64el (1.20-1) ... Setting up libdpkg-perl (1.21.9ubuntu1) ... Setting up libgcc-11-dev:ppc64el (11.3.0-5ubuntu1) ... Setting up gpgconf (2.2.27-3ubuntu3) ... Setting up binutils-powerpc64le-linux-gnu (2.38.90.20220713-2ubuntu1) ... Setting up gpg (2.2.27-3ubuntu3) ... Setting up gpg-agent (2.2.27-3ubuntu3) ... Setting up binutils (2.38.90.20220713-2ubuntu1) ... Setting up dpkg-dev (1.21.9ubuntu1) ... Setting up libstdc++-11-dev:ppc64el (11.3.0-5ubuntu1) ... Setting up gcc-11 (11.3.0-5ubuntu1) ... Setting up g++-11 (11.3.0-5ubuntu1) ... Processing triggers for debianutils (5.7-0.3) ... Processing triggers for libc-bin (2.35-0ubuntu3) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-24262099 ppc64el kinetic -c chroot:build-PACKAGEBUILD-24262099 --arch=ppc64el --dist=kinetic --nolog aad-auth_0.1ppa8.dsc Initiating build PACKAGEBUILD-24262099 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:01:04 UTC 2022 ppc64le sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-ppc64el-013.buildd +==============================================================================+ | aad-auth 0.1ppa8 (ppc64el) Tue, 09 Aug 2022 07:15:44 +0000 | +==============================================================================+ Package: aad-auth Version: 0.1ppa8 Source Version: 0.1ppa8 Distribution: kinetic Machine Architecture: ppc64el Host Architecture: ppc64el Build Architecture: ppc64el Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-24262099/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/aad-auth-GQQTdy/resolver-QqSYsp' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- aad-auth_0.1ppa8.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/aad-auth-GQQTdy/aad-auth-0.1ppa8' with '<>' I: NOTICE: Log filtering will replace 'build/aad-auth-GQQTdy' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 13), dh-apport, dh-golang, golang-go (>= 2:1.18~), libpam0g-dev (>= 1.4), libc6-dev (>= 2.35), build-essential, fakeroot Filtered Build-Depends: debhelper-compat (= 13), dh-apport, dh-golang, golang-go (>= 2:1.18~), libpam0g-dev (>= 1.4), libc6-dev (>= 2.35), 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 [419 B] Get:5 copy:/<>/apt_archive ./ Packages [506 B] Fetched 1882 B in 0s (156 kB/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 additional packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils debhelper debugedit dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz file gettext gettext-base golang-1.18-go golang-1.18-src golang-go golang-src groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libdw1 libelf1 libfile-stripnondeterminism-perl libicu71 libmagic-mgc libmagic1 libpam0g-dev libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc libasprintf-dev libgettextpo-dev bzr | brz git mercurial subversion groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx pkg-config libarchive-cpio-perl libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils debhelper debugedit dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz file gettext gettext-base golang-1.18-go golang-1.18-src golang-go golang-src groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libdw1 libelf1 libfile-stripnondeterminism-perl libicu71 libmagic-mgc libmagic1 libpam0g-dev libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf sbuild-build-depends-main-dummy 0 upgraded, 40 newly installed, 0 to remove and 0 not upgraded. Need to get 96.1 MB of archives. After this operation, 511 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [722 B] Get:2 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libelf1 ppc64el 0.187-1 [61.6 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libicu71 ppc64el 71.1-3 [10.9 MB] Get:4 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxml2 ppc64el 2.9.14+dfsg-1 [827 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main ppc64el bsdextrautils ppc64el 2.38-4ubuntu1 [77.3 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmagic-mgc ppc64el 1:5.41-4 [257 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmagic1 ppc64el 1:5.41-4 [103 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic/main ppc64el file ppc64el 1:5.41-4 [22.6 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gettext-base ppc64el 0.21-6 [43.2 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libuchardet0 ppc64el 0.0.7-1build2 [80.4 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic/main ppc64el groff-base ppc64el 1.22.4-8build1 [1031 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpipeline1 ppc64el 1.5.6-1 [25.9 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/main ppc64el man-db ppc64el 2.10.2-1 [1226 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsigsegv2 ppc64el 2.13-1ubuntu3 [15.2 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/main ppc64el m4 ppc64el 1.4.18-5ubuntu2 [214 kB] Get:16 http://ftpmaster.internal/ubuntu kinetic/main ppc64el autoconf all 2.71-2 [338 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic/main ppc64el autotools-dev all 20220109.1 [44.9 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/main ppc64el automake all 1:1.16.5-1.3 [558 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/main ppc64el autopoint all 0.21-6 [421 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdebhelper-perl all 13.8ubuntu1 [66.8 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libtool all 2.4.7-4 [166 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dh-autoreconf all 20 [16.1 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsub-override-perl all 0.09-3 [9756 B] Get:25 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] Get:26 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dh-strip-nondeterminism all 1.13.0-1 [5344 B] Get:27 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdw1 ppc64el 0.187-1 [285 kB] Get:28 http://ftpmaster.internal/ubuntu kinetic/main ppc64el debugedit ppc64el 1:5.0-5 [51.1 kB] Get:29 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dwz ppc64el 0.14-1build2 [124 kB] Get:30 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gettext ppc64el 0.21-6 [972 kB] Get:31 http://ftpmaster.internal/ubuntu kinetic/main ppc64el intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:32 http://ftpmaster.internal/ubuntu kinetic/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] Get:33 http://ftpmaster.internal/ubuntu kinetic/main ppc64el debhelper all 13.8ubuntu1 [938 kB] Get:34 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el dh-apport all 2.22.0-0ubuntu4 [6800 B] Get:35 http://ftpmaster.internal/ubuntu kinetic/main ppc64el golang-1.18-src all 1.18.4-1ubuntu2 [16.2 MB] Get:36 http://ftpmaster.internal/ubuntu kinetic/main ppc64el golang-1.18-go ppc64el 1.18.4-1ubuntu2 [60.4 MB] Get:37 http://ftpmaster.internal/ubuntu kinetic/main ppc64el golang-src all 2:1.18~0ubuntu2 [4438 B] Get:38 http://ftpmaster.internal/ubuntu kinetic/main ppc64el golang-go ppc64el 2:1.18~0ubuntu2 [41.8 kB] Get:39 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpam0g-dev ppc64el 1.4.0-13ubuntu1 [125 kB] Get:40 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dh-golang all 1.58 [22.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 96.1 MB in 35s (2717 kB/s) Selecting previously unselected package libelf1:ppc64el. (Reading database ... 13495 files and directories currently installed.) Preparing to unpack .../00-libelf1_0.187-1_ppc64el.deb ... Unpacking libelf1:ppc64el (0.187-1) ... Selecting previously unselected package libicu71:ppc64el. Preparing to unpack .../01-libicu71_71.1-3_ppc64el.deb ... Unpacking libicu71:ppc64el (71.1-3) ... Selecting previously unselected package libxml2:ppc64el. Preparing to unpack .../02-libxml2_2.9.14+dfsg-1_ppc64el.deb ... Unpacking libxml2:ppc64el (2.9.14+dfsg-1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../03-bsdextrautils_2.38-4ubuntu1_ppc64el.deb ... Unpacking bsdextrautils (2.38-4ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.41-4_ppc64el.deb ... Unpacking libmagic-mgc (1:5.41-4) ... Selecting previously unselected package libmagic1:ppc64el. Preparing to unpack .../05-libmagic1_1%3a5.41-4_ppc64el.deb ... Unpacking libmagic1:ppc64el (1:5.41-4) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.41-4_ppc64el.deb ... Unpacking file (1:5.41-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.21-6_ppc64el.deb ... Unpacking gettext-base (0.21-6) ... Selecting previously unselected package libuchardet0:ppc64el. Preparing to unpack .../08-libuchardet0_0.0.7-1build2_ppc64el.deb ... Unpacking libuchardet0:ppc64el (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.22.4-8build1_ppc64el.deb ... Unpacking groff-base (1.22.4-8build1) ... Selecting previously unselected package libpipeline1:ppc64el. Preparing to unpack .../10-libpipeline1_1.5.6-1_ppc64el.deb ... Unpacking libpipeline1:ppc64el (1.5.6-1) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.10.2-1_ppc64el.deb ... Unpacking man-db (2.10.2-1) ... Selecting previously unselected package libsigsegv2:ppc64el. Preparing to unpack .../12-libsigsegv2_2.13-1ubuntu3_ppc64el.deb ... Unpacking libsigsegv2:ppc64el (2.13-1ubuntu3) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.18-5ubuntu2_ppc64el.deb ... Unpacking m4 (1.4.18-5ubuntu2) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.71-2_all.deb ... Unpacking autoconf (2.71-2) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.21-6_all.deb ... Unpacking autopoint (0.21-6) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../18-libdebhelper-perl_13.8ubuntu1_all.deb ... Unpacking libdebhelper-perl (13.8ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../19-libtool_2.4.7-4_all.deb ... Unpacking libtool (2.4.7-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../20-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../22-libsub-override-perl_0.09-3_all.deb ... Unpacking libsub-override-perl (0.09-3) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.13.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.13.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.0-1) ... Selecting previously unselected package libdw1:ppc64el. Preparing to unpack .../25-libdw1_0.187-1_ppc64el.deb ... Unpacking libdw1:ppc64el (0.187-1) ... Selecting previously unselected package debugedit. Preparing to unpack .../26-debugedit_1%3a5.0-5_ppc64el.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../27-dwz_0.14-1build2_ppc64el.deb ... Unpacking dwz (0.14-1build2) ... Selecting previously unselected package gettext. Preparing to unpack .../28-gettext_0.21-6_ppc64el.deb ... Unpacking gettext (0.21-6) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../29-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 .../30-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../31-debhelper_13.8ubuntu1_all.deb ... Unpacking debhelper (13.8ubuntu1) ... Selecting previously unselected package dh-apport. Preparing to unpack .../32-dh-apport_2.22.0-0ubuntu4_all.deb ... Unpacking dh-apport (2.22.0-0ubuntu4) ... Selecting previously unselected package golang-1.18-src. Preparing to unpack .../33-golang-1.18-src_1.18.4-1ubuntu2_all.deb ... Unpacking golang-1.18-src (1.18.4-1ubuntu2) ... Selecting previously unselected package golang-1.18-go. Preparing to unpack .../34-golang-1.18-go_1.18.4-1ubuntu2_ppc64el.deb ... Unpacking golang-1.18-go (1.18.4-1ubuntu2) ... Selecting previously unselected package golang-src. Preparing to unpack .../35-golang-src_2%3a1.18~0ubuntu2_all.deb ... Unpacking golang-src (2:1.18~0ubuntu2) ... Selecting previously unselected package golang-go:ppc64el. Preparing to unpack .../36-golang-go_2%3a1.18~0ubuntu2_ppc64el.deb ... Unpacking golang-go:ppc64el (2:1.18~0ubuntu2) ... Selecting previously unselected package libpam0g-dev:ppc64el. Preparing to unpack .../37-libpam0g-dev_1.4.0-13ubuntu1_ppc64el.deb ... Unpacking libpam0g-dev:ppc64el (1.4.0-13ubuntu1) ... Selecting previously unselected package dh-golang. Preparing to unpack .../38-dh-golang_1.58_all.deb ... Unpacking dh-golang (1.58) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../39-sbuild-build-depends-main-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libpipeline1:ppc64el (1.5.6-1) ... Setting up libicu71:ppc64el (71.1-3) ... Setting up bsdextrautils (2.38-4ubuntu1) ... Setting up libpam0g-dev:ppc64el (1.4.0-13ubuntu1) ... Setting up libmagic-mgc (1:5.41-4) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.8ubuntu1) ... Setting up libmagic1:ppc64el (1:5.41-4) ... Setting up gettext-base (0.21-6) ... Setting up file (1:5.41-4) ... Setting up dh-apport (2.22.0-0ubuntu4) ... Setting up autotools-dev (20220109.1) ... Setting up libsigsegv2:ppc64el (2.13-1ubuntu3) ... Setting up autopoint (0.21-6) ... Setting up golang-1.18-src (1.18.4-1ubuntu2) ... Setting up libuchardet0:ppc64el (0.0.7-1build2) ... Setting up libsub-override-perl (0.09-3) ... Setting up golang-src (2:1.18~0ubuntu2) ... Setting up libelf1:ppc64el (0.187-1) ... Setting up libxml2:ppc64el (2.9.14+dfsg-1) ... Setting up libfile-stripnondeterminism-perl (1.13.0-1) ... Setting up libdw1:ppc64el (0.187-1) ... Setting up gettext (0.21-6) ... Setting up libtool (2.4.7-4) ... Setting up golang-1.18-go (1.18.4-1ubuntu2) ... Setting up m4 (1.4.18-5ubuntu2) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up autoconf (2.71-2) ... Setting up dh-strip-nondeterminism (1.13.0-1) ... Setting up dwz (0.14-1build2) ... Setting up groff-base (1.22.4-8build1) ... Setting up debugedit (1:5.0-5) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up golang-go:ppc64el (2:1.18~0ubuntu2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.10.2-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 dh-autoreconf (20) ... Setting up debhelper (13.8ubuntu1) ... Setting up dh-golang (1.58) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.35-0ubuntu3) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (ppc64el included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:01:04 UTC 2022 ppc64el (ppc64le) Toolchain package versions: binutils_2.38.90.20220713-2ubuntu1 dpkg-dev_1.21.9ubuntu1 g++-11_11.3.0-5ubuntu1 gcc-11_11.3.0-5ubuntu1 libc6-dev_2.35-0ubuntu3 libstdc++-11-dev_11.3.0-5ubuntu1 libstdc++6_12.1.0-5ubuntu1 linux-libc-dev_5.15.0-27.28 Package versions: adduser_3.121ubuntu1 advancecomp_2.1-2.1ubuntu2 apt_2.5.2 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-6 autotools-dev_20220109.1 base-files_12.2ubuntu2 base-passwd_3.5.52build1 bash_5.1-6ubuntu1 binutils_2.38.90.20220713-2ubuntu1 binutils-common_2.38.90.20220713-2ubuntu1 binutils-powerpc64le-linux-gnu_2.38.90.20220713-2ubuntu1 bsdextrautils_2.38-4ubuntu1 bsdutils_1:2.38-4ubuntu1 build-essential_12.9ubuntu3 bzip2_1.0.8-5build1 ca-certificates_20211016 coreutils_8.32-4.1ubuntu1 cpp_4:11.2.0-1ubuntu1 cpp-11_11.3.0-5ubuntu1 dash_0.5.11+git20210903+057cd650a4ed-8ubuntu1 debconf_1.5.79ubuntu1 debhelper_13.8ubuntu1 debianutils_5.7-0.3 debugedit_1:5.0-5 dh-apport_2.22.0-0ubuntu4 dh-autoreconf_20 dh-golang_1.58 dh-strip-nondeterminism_1.13.0-1 diffutils_1:3.8-0ubuntu2 dpkg_1.21.9ubuntu1 dpkg-dev_1.21.9ubuntu1 dwz_0.14-1build2 e2fsprogs_1.46.5-2ubuntu2 fakeroot_1.29-1ubuntu1 file_1:5.41-4 findutils_4.8.0-1ubuntu3 g++_4:11.2.0-1ubuntu1 g++-11_11.3.0-5ubuntu1 gcc_4:11.2.0-1ubuntu1 gcc-11_11.3.0-5ubuntu1 gcc-11-base_11.3.0-5ubuntu1 gcc-12-base_12.1.0-5ubuntu1 gettext_0.21-6 gettext-base_0.21-6 golang-1.18-go_1.18.4-1ubuntu2 golang-1.18-src_1.18.4-1ubuntu2 golang-go_2:1.18~0ubuntu2 golang-src_2:1.18~0ubuntu2 gpg_2.2.27-3ubuntu3 gpg-agent_2.2.27-3ubuntu3 gpgconf_2.2.27-3ubuntu3 gpgv_2.2.27-3ubuntu3 grep_3.7-1build1 groff-base_1.22.4-8build1 gzip_1.10-4ubuntu4 hostname_3.23ubuntu2 init_1.64 init-system-helpers_1.64 intltool-debian_0.35.0+20060710.5 libacl1_2.3.1-1 libapparmor1_3.0.4-3ubuntu1 libapt-pkg6.0_2.5.2 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.3 libasan6_11.3.0-5ubuntu1 libassuan0_2.5.5-4 libatomic1_12.1.0-5ubuntu1 libattr1_1:2.5.1-1build1 libaudit-common_1:3.0.7-1build1 libaudit1_1:3.0.7-1build1 libbinutils_2.38.90.20220713-2ubuntu1 libblkid1_2.38-4ubuntu1 libbz2-1.0_1.0.8-5build1 libc-bin_2.35-0ubuntu3 libc-dev-bin_2.35-0ubuntu3 libc6_2.35-0ubuntu3 libc6-dev_2.35-0ubuntu3 libcap-ng0_0.8.3-1 libcap2_1:2.44-1build3 libcc1-0_12.1.0-5ubuntu1 libcom-err2_1.46.5-2ubuntu2 libcrypt-dev_1:4.4.28-2 libcrypt1_1:4.4.28-2 libcryptsetup12_2:2.4.3-1ubuntu1 libctf-nobfd0_2.38.90.20220713-2ubuntu1 libctf0_2.38.90.20220713-2ubuntu1 libdb5.3_5.3.28+dfsg1-0.10 libdebconfclient0_0.261ubuntu1 libdebhelper-perl_13.8ubuntu1 libdevmapper1.02.1_2:1.02.175-2.1ubuntu4 libdpkg-perl_1.21.9ubuntu1 libdw1_0.187-1 libelf1_0.187-1 libext2fs2_1.46.5-2ubuntu2 libfakeroot_1.29-1ubuntu1 libfdisk1_2.38-4ubuntu1 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-1 libgcc-11-dev_11.3.0-5ubuntu1 libgcc-s1_12.1.0-5ubuntu1 libgcrypt20_1.10.1-2ubuntu1 libgdbm-compat4_1.23-1 libgdbm6_1.23-1 libgmp10_2:6.2.1+dfsg-3ubuntu1 libgnutls30_3.7.7-2ubuntu1 libgomp1_12.1.0-5ubuntu1 libgpg-error0_1.45-2 libgssapi-krb5-2_1.20-1 libhogweed6_3.7.3-1build2 libicu71_71.1-3 libidn2-0_2.3.3-1 libip4tc2_1.8.7-1ubuntu6 libisl23_0.25-1 libitm1_12.1.0-5ubuntu1 libjson-c5_0.16-1 libk5crypto3_1.20-1 libkeyutils1_1.6.1-3ubuntu1 libkmod2_29-1ubuntu1 libkrb5-3_1.20-1 libkrb5support0_1.20-1 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 liblsan0_12.1.0-5ubuntu1 liblz4-1_1.9.3-2build2 liblzma5_5.2.5-2.1 libmagic-mgc_1:5.41-4 libmagic1_1:5.41-4 libmount1_2.38-4ubuntu1 libmpc3_1.2.1-2build1 libmpfr6_4.1.0-3build3 libncurses6_6.3+20220423-2 libncursesw6_6.3+20220423-2 libnettle8_3.7.3-1build2 libnpth0_1.6-3build2 libnsl-dev_1.3.0-2build2 libnsl2_1.3.0-2build2 libp11-kit0_0.24.1-1 libpam-modules_1.4.0-13ubuntu1 libpam-modules-bin_1.4.0-13ubuntu1 libpam-runtime_1.4.0-13ubuntu1 libpam0g_1.4.0-13ubuntu1 libpam0g-dev_1.4.0-13ubuntu1 libpcre2-8-0_10.40-1 libpcre3_2:8.39-14 libperl5.34_5.34.0-5ubuntu1 libpipeline1_1.5.6-1 libpng16-16_1.6.37-5 libprocps8_2:3.3.17-6ubuntu2 libquadmath0_12.1.0-5ubuntu1 libreadline8_8.1.2-1.2 libseccomp2_2.5.4-1ubuntu1 libselinux1_3.4-1 libsemanage-common_3.4-1 libsemanage2_3.4-1 libsepol2_3.4-2 libsigsegv2_2.13-1ubuntu3 libsmartcols1_2.38-4ubuntu1 libsqlite3-0_3.39.2-1 libss2_1.46.5-2ubuntu2 libssl3_3.0.4-1ubuntu1 libstdc++-11-dev_11.3.0-5ubuntu1 libstdc++6_12.1.0-5ubuntu1 libsub-override-perl_0.09-3 libsystemd0_251.2-2ubuntu2 libtasn1-6_4.18.0-4build1 libtinfo6_6.3+20220423-2 libtirpc-common_1.3.2-2build1 libtirpc-dev_1.3.2-2build1 libtirpc3_1.3.2-2build1 libtool_2.4.7-4 libtsan0_11.3.0-5ubuntu1 libubsan1_12.1.0-5ubuntu1 libuchardet0_0.0.7-1build2 libudev1_251.2-2ubuntu2 libunistring2_1.0-1 libuuid1_2.38-4ubuntu1 libxml2_2.9.14+dfsg-1 libxxhash0_0.8.1-1 libzstd1_1.5.2+dfsg-1 linux-libc-dev_5.15.0-27.28 lockfile-progs_0.1.19build1 login_1:4.11.1+dfsg1-2ubuntu1 logsave_1.46.5-2ubuntu2 lsb-base_11.1.0ubuntu4 lto-disabled-list_32 m4_1.4.18-5ubuntu2 make_4.3-4.1build1 man-db_2.10.2-1 mawk_1.3.4.20200120-3.1 mount_2.38-4ubuntu1 ncurses-base_6.3+20220423-2 ncurses-bin_6.3+20220423-2 openssl_3.0.4-1ubuntu1 optipng_0.7.7-2build1 passwd_1:4.11.1+dfsg1-2ubuntu1 patch_2.7.6-7build2 perl_5.34.0-5ubuntu1 perl-base_5.34.0-5ubuntu1 perl-modules-5.34_5.34.0-5ubuntu1 pinentry-curses_1.2.0-2ubuntu1 pkgbinarymangler_149 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3.1 procps_2:3.3.17-6ubuntu2 readline-common_8.1.2-1.2 rpcsvc-proto_1.4.2-0ubuntu6 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.8-1ubuntu2 sensible-utils_0.0.17 sgml-base_1.30 systemd_251.2-2ubuntu2 systemd-sysv_251.2-2ubuntu2 sysvinit-utils_3.01-1ubuntu1 tar_1.34+dfsg-1build3 tzdata_2022a-0ubuntu1 ubuntu-keyring_2021.03.26 usrmerge_25ubuntu2 util-linux_2.38-4ubuntu1 util-linux-extra_2.38-4ubuntu1 xz-utils_5.2.5-2.1 zlib1g_1:1.2.11.dfsg-2ubuntu9 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (native) Source: aad-auth Binary: libpam-aad, libnss-aad Architecture: any Version: 0.1ppa8 Maintainer: Ubuntu Developers Homepage: https://github.com/ubuntu/aad-auth Description: Azure Active Directory Authentication Azure Active Directory Authentication ... Standards-Version: 4.6.0.1 Testsuite: autopkgtest Testsuite-Triggers: @builddeps@ Build-Depends: debhelper-compat (= 13), dh-apport, dh-golang, golang-go (>= 2:1.18~), libpam0g-dev (>= 1.4), libc6-dev (>= 2.35) Package-List: libnss-aad deb admin optional arch=any libpam-aad deb admin optional arch=any Checksums-Sha1: 8d64b517b241571452918485b20207f5ad1dbe63 2100232 aad-auth_0.1ppa8.tar.xz Checksums-Sha256: 2d159259162b636d2ca8ea4fab188e53aeeacd4c028f2128d7cb58d9e7b30972 2100232 aad-auth_0.1ppa8.tar.xz Files: 88d6117dfbb2ebf07bd978c40f46a69b 2100232 aad-auth_0.1ppa8.tar.xz Go-Import-Path: github.com/ubuntu/aad-auth -----BEGIN PGP SIGNATURE----- iQFPBAEBCgA5FiEExIprf2UUE6/vNSdTorLJwPa2crMFAmLyB+cbHGdhYnJpZWwu bmFneUBjYW5vbmljYWwuY29tAAoJEKKyycD2tnKzUy4H/0jR+qLpvlWLvCuofgCZ SpVSKXAeomCnNPPcDpw3kFFhr6i3+rCWVBXjImSZB5qcoLubXnjdWKSe1aRUipbO Ac0RFduIbAL0yuLRn/hqmkn/W4KAOud7lXwcWYCORmchn85RW5X8YkIcEHLuRgS8 gC7r3yZeq7PYFmroQZj+UELQUMFVIE5jIEmb4PA/CfDzDG10GXq6IgjF/roofwVT XD19hZi37l9A+9Ec0/jqdqorqU636MKQD5Z+N7wc3t4drCfwvEWqAX+MykOHvJ3h BCe4HJY4u1dP0D9vpl7Ps8VRm6nNF1wsXv/hTNQHSqIMv5PNNbyUBkv7Q8+/i+u9 07E= =6aXY -----END PGP SIGNATURE----- gpgv: Signature made Tue Aug 9 07:08:23 2022 UTC gpgv: using RSA key C48A6B7F651413AFEF352753A2B2C9C0F6B672B3 gpgv: issuer "gabriel.nagy@canonical.com" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify signature ./aad-auth_0.1ppa8.dsc dpkg-source: info: extracting aad-auth in /<> dpkg-source: info: unpacking aad-auth_0.1ppa8.tar.xz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym parallel=4 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-24262099 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-24262099 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-24262099 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 aad-auth dpkg-buildpackage: info: source version 0.1ppa8 dpkg-buildpackage: info: source distribution kinetic dpkg-source --before-build . dpkg-buildpackage: info: host architecture ppc64el 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 PAM library go build -ldflags='-extldflags -Wl,-soname,pam_aad.so' -buildmode=c-shared -o pam_aad.so ./pam # Build NSS library go build -ldflags='-extldflags -Wl,-soname,libnss_aad.so.2' -buildmode=c-shared -o libnss_aad.so.2 ./nss # DH_GOLANG_BUILDPKG=github.com/ubuntu/aad-auth/cmd/aad-auth dh_auto_build make[1]: Leaving directory '/<>' dh_auto_test -a -O--buildsystem=golang cd obj-powerpc64le-linux-gnu && go test -vet=off -v -p 4 github.com/ubuntu/aad-auth/internal/aad github.com/ubuntu/aad-auth/internal/cache github.com/ubuntu/aad-auth/internal/config github.com/ubuntu/aad-auth/internal/logger github.com/ubuntu/aad-auth/internal/nss github.com/ubuntu/aad-auth/internal/nss/group github.com/ubuntu/aad-auth/internal/nss/passwd github.com/ubuntu/aad-auth/internal/nss/shadow github.com/ubuntu/aad-auth/internal/pam github.com/ubuntu/aad-auth/internal/testutils github.com/ubuntu/aad-auth/internal/user github.com/ubuntu/aad-auth/nss github.com/ubuntu/aad-auth/pam === RUN TestAuthenticate === PAUSE TestAuthenticate === CONT TestAuthenticate === RUN TestAuthenticate/invalid_credentials === PAUSE TestAuthenticate/invalid_credentials === RUN TestAuthenticate/no_such_user === PAUSE TestAuthenticate/no_such_user === RUN TestAuthenticate/unknown_error_code === PAUSE TestAuthenticate/unknown_error_code === RUN TestAuthenticate/can_authenticate_with_password_only === PAUSE TestAuthenticate/can_authenticate_with_password_only === RUN TestAuthenticate/can_authenticate_even_with_mfa_required === PAUSE TestAuthenticate/can_authenticate_even_with_mfa_required === RUN TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins === PAUSE TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins === RUN TestAuthenticate/can't_connect_to_authority === PAUSE TestAuthenticate/can't_connect_to_authority === RUN TestAuthenticate/unreadable_server_response === PAUSE TestAuthenticate/unreadable_server_response === RUN TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins === PAUSE TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins === RUN TestAuthenticate/invalid_server_response === PAUSE TestAuthenticate/invalid_server_response === RUN TestAuthenticate/unknown_error_type === PAUSE TestAuthenticate/unknown_error_type === CONT TestAuthenticate/invalid_credentials 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "invalid credentials" 2022/08/09 07:17:44 DEBUG: Got response: Invalid credentials === CONT TestAuthenticate/unknown_error_type 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unknown error type" 2022/08/09 07:17:44 DEBUG: acquiring token failed: not a msal error === CONT TestAuthenticate/invalid_server_response 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "invalid server response" 2022/08/09 07:17:44 ERROR: Invalid server response, not a json object: invalid character 'N' looking for beginning of value === CONT TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "multiple errors, first known is invalid credential" 2022/08/09 07:17:44 DEBUG: Got response: Invalid credentials === CONT TestAuthenticate/unreadable_server_response 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unreadable server response" 2022/08/09 07:17:44 ERROR: Can't read server response: invalid READ === CONT TestAuthenticate/can't_connect_to_authority 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "connection failed" for user "success@domain.com" 2022/08/09 07:17:44 ERROR: Connection to authority failed: connection failed === CONT TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "multiple errors, first known is mfa" 2022/08/09 07:17:44 DEBUG: Authentication successful even if requiring MFA === CONT TestAuthenticate/can_authenticate_even_with_mfa_required 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "requireMFA@domain.com" 2022/08/09 07:17:44 DEBUG: Authentication successful even if requiring MFA === CONT TestAuthenticate/can_authenticate_with_password_only 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "success@domain.com" 2022/08/09 07:17:44 DEBUG: Authentication successful with user/password === CONT TestAuthenticate/unknown_error_code 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unknown error code" 2022/08/09 07:17:44 ERROR: Unknown error code(s) from server: [4242] === CONT TestAuthenticate/no_such_user 2022/08/09 07:17:44 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "no such user" 2022/08/09 07:17:44 DEBUG: Got response: User doesn't exist --- PASS: TestAuthenticate (0.00s) --- PASS: TestAuthenticate/invalid_credentials (0.00s) --- PASS: TestAuthenticate/unknown_error_type (0.00s) --- PASS: TestAuthenticate/invalid_server_response (0.00s) --- PASS: TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins (0.00s) --- PASS: TestAuthenticate/unreadable_server_response (0.00s) --- PASS: TestAuthenticate/can't_connect_to_authority (0.00s) --- PASS: TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins (0.00s) --- PASS: TestAuthenticate/can_authenticate_even_with_mfa_required (0.00s) --- PASS: TestAuthenticate/can_authenticate_with_password_only (0.00s) --- PASS: TestAuthenticate/unknown_error_code (0.00s) --- PASS: TestAuthenticate/no_such_user (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/aad 0.020s # github.com/ubuntu/aad-auth/vendor/github.com/mattn/go-sqlite3 sqlite3-binding.c: In function ‘setupLookaside’: sqlite3-binding.c:169275:12: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5 169275 | static int setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt){ | ^~~~~~~~~~~~~~ === RUN TestParseHomeDir === PAUSE TestParseHomeDir === RUN TestNew === PAUSE TestNew === RUN TestCloseCacheRetention === PAUSE TestCloseCacheRetention === RUN TestCloseCacheDifferentOptions === PAUSE TestCloseCacheDifferentOptions === RUN TestCleanupDB === PAUSE TestCleanupDB === RUN TestUpdate === PAUSE TestUpdate === RUN TestCanAuthenticate === PAUSE TestCanAuthenticate === RUN TestGetGroupByName === PAUSE TestGetGroupByName === RUN TestGetGroupByGID === PAUSE TestGetGroupByGID === RUN TestNextGroupEntry === PAUSE TestNextGroupEntry === RUN TestNextGroupEntryNoGroup === PAUSE TestNextGroupEntryNoGroup === RUN TestNextGroupCloseBeforeIterationEnds === PAUSE TestNextGroupCloseBeforeIterationEnds === RUN TestGetUserByName === PAUSE TestGetUserByName === RUN TestGetUserByUID === PAUSE TestGetUserByUID === RUN TestNextPasswdEntry === PAUSE TestNextPasswdEntry === RUN TestNextPasswdEntryNoUser === PAUSE TestNextPasswdEntryNoUser === RUN TestNextPasswdCloseBeforeIterationEnds === PAUSE TestNextPasswdCloseBeforeIterationEnds === RUN TestGetShadowByName === PAUSE TestGetShadowByName === RUN TestNextShadowEntry === PAUSE TestNextShadowEntry === RUN TestNextShadowEntryNoShadow === PAUSE TestNextShadowEntryNoShadow === RUN TestNextShadowCloseBeforeIterationEnds === PAUSE TestNextShadowCloseBeforeIterationEnds === CONT TestParseHomeDir === RUN TestParseHomeDir/handle_%f === PAUSE TestParseHomeDir/handle_%f === RUN TestParseHomeDir/handle_%U === PAUSE TestParseHomeDir/handle_%U === RUN TestParseHomeDir/handle_%d === PAUSE TestParseHomeDir/handle_%d === RUN TestParseHomeDir/handle_%% === PAUSE TestParseHomeDir/handle_%% === RUN TestParseHomeDir/multiple_consecutive_patterns === PAUSE TestParseHomeDir/multiple_consecutive_patterns === RUN TestParseHomeDir/multiple_patterns_separated_with_characters === PAUSE TestParseHomeDir/multiple_patterns_separated_with_characters === RUN TestParseHomeDir/handle_%u === PAUSE TestParseHomeDir/handle_%u === RUN TestParseHomeDir/handle_%f_without_domain_attached === PAUSE TestParseHomeDir/handle_%f_without_domain_attached === RUN TestParseHomeDir/handle_%l === PAUSE TestParseHomeDir/handle_%l === RUN TestParseHomeDir/pattern_after_string === PAUSE TestParseHomeDir/pattern_after_string === RUN TestParseHomeDir/full_path_without_modifier_is_returned_as_is === PAUSE TestParseHomeDir/full_path_without_modifier_is_returned_as_is === RUN TestParseHomeDir/error_out_on_path_with_invalid_pattern === PAUSE TestParseHomeDir/error_out_on_path_with_invalid_pattern === CONT TestParseHomeDir/handle_%f 2022/08/09 07:18:42 DEBUG: Getting home directory for user1@test.com === CONT TestNextShadowCloseBeforeIterationEnds 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextShadowCloseBeforeIterationEnds3816516654/001 === CONT TestNextShadowEntryNoShadow === CONT TestNextShadowEntry === CONT TestGetShadowByName === RUN TestGetShadowByName/error_on_no_access_to_shadow_file === PAUSE TestGetShadowByName/error_on_no_access_to_shadow_file === RUN TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password === PAUSE TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password === RUN TestGetShadowByName/have_access_to_encrypted_password_in_RW_too === PAUSE TestGetShadowByName/have_access_to_encrypted_password_in_RW_too === RUN TestGetShadowByName/error_on_non_existing_user_shadow === PAUSE TestGetShadowByName/error_on_non_existing_user_shadow === CONT TestGetShadowByName/error_on_no_access_to_shadow_file 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds3816516654/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds3816516654/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextShadowEntryNoShadow3378601401/001 2022/08/09 07:18:42 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:42 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:42 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowEntryNoShadow3378601401/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowEntryNoShadow3378601401/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file372423764/001 2022/08/09 07:18:42 DEBUG: Close database request --- PASS: TestNextShadowEntryNoShadow (0.04s) === CONT TestCloseCacheRetention 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file372423764/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file372423764/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:42 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:42 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextShadowEntry3156094275/001 2022/08/09 07:18:42 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowEntry3156094275/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowEntry3156094275/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestCloseCacheRetention9154489/001 2022/08/09 07:18:42 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:42 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:42 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestCloseCacheRetention9154489/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestCloseCacheRetention9154489/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: Reusing existing opened cache 2022/08/09 07:18:42 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:42 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:42 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:42 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:42 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:42 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:42 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:42 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:42 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:42 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:42 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:42 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:42 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:42 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextShadowCloseBeforeIterationEnds3816516654/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds3816516654/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds3816516654/001/shadow.db 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:42 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextShadowEntry3156094275/001 2022/08/09 07:18:42 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowEntry3156094275/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextShadowEntry3156094275/001/shadow.db 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file372423764/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file372423764/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file372423764/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:42 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:42 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: request to close shadow iteration in db === CONT TestNextPasswdCloseBeforeIterationEnds 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextPasswdCloseBeforeIterationEnds105238431/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds105238431/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds105238431/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:42 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:42 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:42 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:42 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:42 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: Close database request --- PASS: TestNextShadowCloseBeforeIterationEnds (0.59s) === CONT TestNextPasswdEntryNoUser 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextPasswdEntryNoUser2114688411/001 2022/08/09 07:18:42 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:42 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:42 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextPasswdEntryNoUser2114688411/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextPasswdEntryNoUser2114688411/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:42 DEBUG: request next passwd entry in db 2022/08/09 07:18:42 DEBUG: Close database request --- PASS: TestNextPasswdEntryNoUser (0.02s) === CONT TestNextPasswdEntry 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextPasswdEntry341927187/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextPasswdEntry341927187/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextPasswdEntry341927187/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:42 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:42 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:42 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:42 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:42 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:42 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:42 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:42 DEBUG: request next shadow entry in db 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:42 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: request to close shadow iteration in db --- PASS: TestNextShadowEntry (0.75s) === CONT TestGetUserByUID === RUN TestGetUserByUID/error_on_non_existing_user === PAUSE TestGetUserByUID/error_on_non_existing_user === RUN TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password === PAUSE TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password === RUN TestGetUserByUID/have_access_to_encrypted_password_in_RW_too === PAUSE TestGetUserByUID/have_access_to_encrypted_password_in_RW_too === RUN TestGetUserByUID/no_encrypted_password === PAUSE TestGetUserByUID/no_encrypted_password === CONT TestGetUserByName === RUN TestGetUserByName/have_access_to_encrypted_password_in_RW_too === PAUSE TestGetUserByName/have_access_to_encrypted_password_in_RW_too === RUN TestGetUserByName/no_encrypted_password === PAUSE TestGetUserByName/no_encrypted_password === RUN TestGetUserByName/error_on_non_existing_user === PAUSE TestGetUserByName/error_on_non_existing_user === RUN TestGetUserByName/get_existing_user_by_name_with_encrypted_password === PAUSE TestGetUserByName/get_existing_user_by_name_with_encrypted_password === CONT TestNextGroupCloseBeforeIterationEnds 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextGroupCloseBeforeIterationEnds2259973506/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds2259973506/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds2259973506/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:42 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:42 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:42 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:43 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:43 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNextPasswdCloseBeforeIterationEnds105238431/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds105238431/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds105238431/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:43 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:43 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:43 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:43 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Close database request --- PASS: TestNextPasswdCloseBeforeIterationEnds (0.48s) === CONT TestNextGroupEntryNoGroup 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNextGroupEntryNoGroup2578004747/001 2022/08/09 07:18:43 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextGroupEntryNoGroup2578004747/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextGroupEntryNoGroup2578004747/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db --- PASS: TestNextGroupEntryNoGroup (0.01s) === CONT TestNextGroupEntry 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNextGroupEntry4225363630/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextGroupEntry4225363630/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextGroupEntry4225363630/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:43 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:43 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:43 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:43 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNextPasswdEntry341927187/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextPasswdEntry341927187/001/shadow.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextPasswdEntry341927187/001/passwd.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db --- PASS: TestNextPasswdEntry (0.48s) 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db === CONT TestGetGroupByGID === RUN TestGetGroupByGID/error_on_non_existing_group === PAUSE TestGetGroupByGID/error_on_non_existing_group === RUN TestGetGroupByGID/get_existing_group_by_gid === PAUSE TestGetGroupByGID/get_existing_group_by_gid === CONT TestGetGroupByName === RUN TestGetGroupByName/get_existing_group_by_name === PAUSE TestGetGroupByName/get_existing_group_by_name === RUN TestGetGroupByName/error_on_non_existing_group === PAUSE TestGetGroupByName/error_on_non_existing_group === CONT TestCanAuthenticate === RUN TestCanAuthenticate/error_on_wrong_password === PAUSE TestCanAuthenticate/error_on_wrong_password === RUN TestCanAuthenticate/error_on_wrong_user === PAUSE TestCanAuthenticate/error_on_wrong_user === RUN TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file === PAUSE TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file === RUN TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ === PAUSE TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ === RUN TestCanAuthenticate/can_authenticate_one_user === PAUSE TestCanAuthenticate/can_authenticate_one_user === RUN TestCanAuthenticate/handle_separately_multiple_users_and_password === PAUSE TestCanAuthenticate/handle_separately_multiple_users_and_password === RUN TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO === PAUSE TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO === CONT TestUpdate === RUN TestUpdate/insert_a_new_user === PAUSE TestUpdate/insert_a_new_user === RUN TestUpdate/insert_2_new_users === PAUSE TestUpdate/insert_2_new_users === RUN TestUpdate/we_don’t_create_about_the_user_case === PAUSE TestUpdate/we_don’t_create_about_the_user_case === RUN TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login === PAUSE TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login === RUN TestUpdate/collide_generated_uids === PAUSE TestUpdate/collide_generated_uids === RUN TestUpdate/can't_insert_with_shadow_unavailable_Only === PAUSE TestUpdate/can't_insert_with_shadow_unavailable_Only === RUN TestUpdate/can't_insert_with_shadow_Read_Only === PAUSE TestUpdate/can't_insert_with_shadow_Read_Only === RUN TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow === PAUSE TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow === CONT TestCleanupDB === RUN TestCleanupDB/clean_up_old_users === PAUSE TestCleanupDB/clean_up_old_users === RUN TestCleanupDB/do_not_clean_up_anyone === PAUSE TestCleanupDB/do_not_clean_up_anyone === CONT TestCloseCacheDifferentOptions 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestCloseCacheDifferentOptions1865427637/001 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions1865427637/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions1865427637/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestCloseCacheDifferentOptions1865427637/002 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions1865427637/002/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions1865427637/002/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: Don't teardown cache as still in use by 1 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNextGroupCloseBeforeIterationEnds2259973506/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds2259973506/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds2259973506/001/shadow.db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Close database request --- PASS: TestCloseCacheDifferentOptions (0.03s) === CONT TestParseHomeDir/multiple_patterns_separated_with_characters 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com === CONT TestNew === RUN TestNew/can't_create_DB_not_being_root_UID_or_GID === PAUSE TestNew/can't_create_DB_not_being_root_UID_or_GID === RUN TestNew/can't_create_a_cache_with_Shadow_group === PAUSE TestNew/can't_create_a_cache_with_Shadow_group === RUN TestNew/can't_open_existing_cache_with_wrong_passwd_permission === PAUSE TestNew/can't_open_existing_cache_with_wrong_passwd_permission === RUN TestNew/can_still_open_shadow_file_RO === PAUSE TestNew/can_still_open_shadow_file_RO === RUN TestNew/no_access_to_shadow_file_is_still_allowded === PAUSE TestNew/no_access_to_shadow_file_is_still_allowded === RUN TestNew/create_cache_with_all_permissions === PAUSE TestNew/create_cache_with_all_permissions === RUN TestNew/reuse_opened_cache === PAUSE TestNew/reuse_opened_cache === RUN TestNew/reuse_closed_cache_(files_exists) === PAUSE TestNew/reuse_closed_cache_(files_exists) === RUN TestNew/can't_open_existing_cache_with_wrong_shadow_permission === PAUSE TestNew/can't_open_existing_cache_with_wrong_shadow_permission === CONT TestParseHomeDir/error_out_on_path_with_invalid_pattern 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/full_path_without_modifier_is_returned_as_is 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/pattern_after_string 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%l 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%f_without_domain_attached 2022/08/09 07:18:43 DEBUG: Getting home directory for userWithoutDomain === CONT TestParseHomeDir/handle_%u 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%U 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/multiple_consecutive_patterns 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%% 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%d 2022/08/09 07:18:43 DEBUG: Getting home directory for user1@test.com --- PASS: TestParseHomeDir (0.00s) --- PASS: TestParseHomeDir/handle_%f (0.00s) --- PASS: TestParseHomeDir/multiple_patterns_separated_with_characters (0.00s) --- PASS: TestParseHomeDir/error_out_on_path_with_invalid_pattern (0.00s) --- PASS: TestParseHomeDir/full_path_without_modifier_is_returned_as_is (0.00s) --- PASS: TestParseHomeDir/pattern_after_string (0.00s) --- PASS: TestParseHomeDir/handle_%l (0.00s) --- PASS: TestParseHomeDir/handle_%f_without_domain_attached (0.00s) --- PASS: TestParseHomeDir/handle_%u (0.00s) --- PASS: TestParseHomeDir/handle_%U (0.00s) --- PASS: TestParseHomeDir/multiple_consecutive_patterns (0.00s) --- PASS: TestParseHomeDir/handle_%% (0.00s) --- PASS: TestParseHomeDir/handle_%d (0.00s) === CONT TestGetShadowByName/have_access_to_encrypted_password_in_RW_too 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too3504273523/001 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:43 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:43 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too3504273523/001/shadow.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too3504273523/001/passwd.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:43 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:43 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:43 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:43 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:43 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:43 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:43 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "user@otherdomain.com" --- PASS: TestNextGroupCloseBeforeIterationEnds (0.50s) === CONT TestGetShadowByName/error_on_non_existing_user_shadow 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow2496924388/001 2022/08/09 07:18:43 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow2496924388/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow2496924388/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:43 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:43 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:43 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:43 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:43 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:43 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNextGroupEntry4225363630/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextGroupEntry4225363630/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextGroupEntry4225363630/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: request next group entry in db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db --- PASS: TestNextGroupEntry (0.50s) === CONT TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3060949677/001 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:43 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:43 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3060949677/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3060949677/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too3504273523/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too3504273523/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too3504273523/001/shadow.db 2022/08/09 07:18:43 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:43 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:43 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:43 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/error_on_non_existing_user 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestGetUserByUIDerror_on_non_existing_user1948767351/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user1948767351/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user1948767351/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:43 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:43 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow2496924388/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow2496924388/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow2496924388/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:43 DEBUG: getting shadow information from cache for "notexist@domain.com" 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:43 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: request to close group iteration in db 2022/08/09 07:18:43 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/have_access_to_encrypted_password_in_RW_too 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2706946614/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2706946614/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2706946614/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:43 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:43 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:43 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:43 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:43 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:43 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:43 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:43 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:43 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:44 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:44 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:44 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:44 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3060949677/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3060949677/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3060949677/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:44 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:44 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:44 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:44 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:44 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Close database request --- PASS: TestGetShadowByName (0.00s) --- PASS: TestGetShadowByName/error_on_no_access_to_shadow_file (0.47s) --- PASS: TestGetShadowByName/have_access_to_encrypted_password_in_RW_too (0.45s) --- PASS: TestGetShadowByName/error_on_non_existing_user_shadow (0.36s) --- PASS: TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password (0.52s) 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/no_encrypted_password 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByUIDno_encrypted_password1852737323/001 2022/08/09 07:18:44 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password1852737323/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password1852737323/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:44 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:44 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2706946614/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2706946614/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2706946614/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:44 DEBUG: getting user information from cache for uid 1929326240 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:44 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:44 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1218746380/001 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1218746380/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1218746380/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:44 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:44 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByUIDerror_on_non_existing_user1948767351/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user1948767351/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user1948767351/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:44 DEBUG: getting user information from cache for uid 4242 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db === CONT TestGetUserByName/have_access_to_encrypted_password_in_RW_too 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too4288646054/001 2022/08/09 07:18:44 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too4288646054/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too4288646054/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:44 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:44 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:44 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:44 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:44 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:44 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByUIDno_encrypted_password1852737323/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password1852737323/001/shadow.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password1852737323/001/passwd.db 2022/08/09 07:18:44 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:44 DEBUG: getting user information from cache for uid 1929326240 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db === CONT TestGetUserByName/error_on_non_existing_user 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByNameerror_on_non_existing_user4035522282/001 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user4035522282/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user4035522282/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:44 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:44 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:44 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:44 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:44 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:44 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:44 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:44 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:44 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:44 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:44 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:44 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:44 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:44 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1218746380/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1218746380/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1218746380/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:44 DEBUG: getting user information from cache for uid 1929326240 2022/08/09 07:18:44 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too4288646054/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too4288646054/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too4288646054/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:44 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:44 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:44 DEBUG: request to close group iteration in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db === CONT TestGetUserByName/get_existing_user_by_name_with_encrypted_password 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password3909396490/001 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Close database request --- PASS: TestGetUserByUID (0.00s) --- PASS: TestGetUserByUID/have_access_to_encrypted_password_in_RW_too (0.53s) --- PASS: TestGetUserByUID/error_on_non_existing_user (0.58s) --- PASS: TestGetUserByUID/no_encrypted_password (0.36s) --- PASS: TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password (0.61s) === CONT TestGetUserByName/no_encrypted_password 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password3909396490/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password3909396490/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:45 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:45 DEBUG: request to close group iteration in db 2022/08/09 07:18:45 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetUserByNameno_encrypted_password2612404292/001 2022/08/09 07:18:45 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:45 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:45 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password2612404292/001/shadow.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password2612404292/001/passwd.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetUserByNameerror_on_non_existing_user4035522282/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user4035522282/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user4035522282/001/shadow.db 2022/08/09 07:18:45 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:45 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:45 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:45 DEBUG: getting user information from cache for "notexist@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Close database request === CONT TestGetGroupByGID/error_on_non_existing_group 2022/08/09 07:18:45 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:45 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:45 DEBUG: request to close group iteration in db 2022/08/09 07:18:45 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetGroupByGIDerror_on_non_existing_group3264604462/001 2022/08/09 07:18:45 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group3264604462/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group3264604462/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:45 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:45 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:45 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:45 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:45 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:45 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:45 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:45 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:45 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:45 DEBUG: request to close group iteration in db 2022/08/09 07:18:45 DEBUG: request to close shadow iteration in db --- PASS: TestCloseCacheRetention (3.06s) === CONT TestGetGroupByName/get_existing_group_by_name 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetGroupByNameget_existing_group_by_name3764436693/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name3764436693/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name3764436693/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:45 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:45 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:45 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:45 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:45 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:45 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:45 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:45 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:45 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:45 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetGroupByGIDerror_on_non_existing_group3264604462/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group3264604462/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group3264604462/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:45 DEBUG: getting group information from cache for gid 4242 2022/08/09 07:18:45 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:45 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:45 DEBUG: request to close group iteration in db 2022/08/09 07:18:45 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:45 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:45 DEBUG: request to close group iteration in db 2022/08/09 07:18:45 DEBUG: request to close shadow iteration in db === CONT TestGetGroupByGID/get_existing_group_by_gid 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetGroupByGIDget_existing_group_by_gid707456391/001 2022/08/09 07:18:45 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid707456391/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid707456391/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:45 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:45 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password3909396490/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password3909396490/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password3909396490/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:45 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:45 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:45 DEBUG: request to close group iteration in db 2022/08/09 07:18:45 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:45 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetUserByNameno_encrypted_password2612404292/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password2612404292/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password2612404292/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:45 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:45 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:45 DEBUG: request to close group iteration in db 2022/08/09 07:18:45 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/error_on_wrong_password 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_password573824055/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password573824055/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password573824055/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:45 DEBUG: generate user id for user "first user" 2022/08/09 07:18:45 INFO: user id for "first user" is 2548892320 2022/08/09 07:18:45 DEBUG: Getting home directory for first user 2022/08/09 07:18:45 DEBUG: inserting in cache user "first user" 2022/08/09 07:18:45 DEBUG: encrypt password for user "first user" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:45 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:45 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:45 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:45 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Close database request --- PASS: TestGetUserByName (0.00s) --- PASS: TestGetUserByName/have_access_to_encrypted_password_in_RW_too (0.57s) --- PASS: TestGetUserByName/error_on_non_existing_user (0.45s) --- PASS: TestGetUserByName/no_encrypted_password (0.63s) --- PASS: TestGetUserByName/get_existing_user_by_name_with_encrypted_password (0.77s) 2022/08/09 07:18:45 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:45 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:45 DEBUG: request to close group iteration in db 2022/08/09 07:18:45 DEBUG: request to close shadow iteration in db === CONT TestGetGroupByName/error_on_non_existing_group 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetGroupByNameerror_on_non_existing_group2669693436/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group2669693436/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group2669693436/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:45 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:45 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestGetGroupByNameget_existing_group_by_name3764436693/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name3764436693/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name3764436693/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:45 DEBUG: getting group information from cache for "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:45 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:45 DEBUG: request to close group iteration in db 2022/08/09 07:18:45 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/can_authenticate_one_user 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_one_user2457043284/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user2457043284/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user2457043284/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:45 DEBUG: generate user id for user "first user" 2022/08/09 07:18:45 INFO: user id for "first user" is 2548892320 2022/08/09 07:18:45 DEBUG: Getting home directory for first user 2022/08/09 07:18:45 DEBUG: inserting in cache user "first user" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "first user" 2022/08/09 07:18:45 DEBUG: encrypt password for user "first user" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "second user" 2022/08/09 07:18:45 DEBUG: generate user id for user "second user" 2022/08/09 07:18:45 INFO: user id for "second user" is 1965798560 2022/08/09 07:18:45 DEBUG: Getting home directory for second user 2022/08/09 07:18:45 DEBUG: inserting in cache user "second user" 2022/08/09 07:18:45 DEBUG: encrypt password for user "second user" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "otheruser@domain.com" 2022/08/09 07:18:45 INFO: user id for "otheruser@domain.com" is 165119648 2022/08/09 07:18:45 DEBUG: Getting home directory for otheruser@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:45 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:45 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "first user" 2022/08/09 07:18:45 DEBUG: getting user information from cache for "second user" 2022/08/09 07:18:45 DEBUG: generate user id for user "second user" 2022/08/09 07:18:45 INFO: user id for "second user" is 1965798560 2022/08/09 07:18:45 DEBUG: Getting home directory for second user 2022/08/09 07:18:45 DEBUG: inserting in cache user "second user" 2022/08/09 07:18:45 DEBUG: encrypt password for user "second user" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "second user" 2022/08/09 07:18:45 INFO: try to authenticate "first user" from cache 2022/08/09 07:18:45 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:45 DEBUG: Last online login was: 2022-08-09 07:18:45 +0000 UTC. Current time: 2022-08-09 07:18:45.997239316 +0000 UTC m=+3.762352168. Revalidation needed every 90 days 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "otheruser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "user@otherdomain.com" 2022/08/09 07:18:46 DEBUG: generate user id for user "user@otherdomain.com" 2022/08/09 07:18:46 INFO: user id for "user@otherdomain.com" is 165119649 2022/08/09 07:18:46 DEBUG: Getting home directory for user@otherdomain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "user@otherdomain.com" 2022/08/09 07:18:46 DEBUG: encrypt password for user "user@otherdomain.com" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestGetGroupByGIDget_existing_group_by_gid707456391/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid707456391/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid707456391/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:46 DEBUG: getting group information from cache for gid 1929326240 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: Close database request --- PASS: TestGetGroupByGID (0.00s) --- PASS: TestGetGroupByGID/error_on_non_existing_group (0.51s) --- PASS: TestGetGroupByGID/get_existing_group_by_gid (0.51s) 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO708872003/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO708872003/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO708872003/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:46 DEBUG: generate user id for user "first user" 2022/08/09 07:18:46 INFO: user id for "first user" is 2548892320 2022/08/09 07:18:46 DEBUG: Getting home directory for first user 2022/08/09 07:18:46 DEBUG: inserting in cache user "first user" 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db === CONT TestCanAuthenticate/handle_separately_multiple_users_and_password 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password2234027580/001 2022/08/09 07:18:46 DEBUG: encrypt password for user "first user" 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password2234027580/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password2234027580/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:46 DEBUG: generate user id for user "first user" 2022/08/09 07:18:46 INFO: user id for "first user" is 2548892320 2022/08/09 07:18:46 DEBUG: Getting home directory for first user 2022/08/09 07:18:46 DEBUG: inserting in cache user "first user" 2022/08/09 07:18:46 DEBUG: encrypt password for user "first user" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "second user" 2022/08/09 07:18:46 INFO: try to authenticate "first user" from cache 2022/08/09 07:18:46 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:46 DEBUG: Last online login was: 2022-08-09 07:18:45 +0000 UTC. Current time: 2022-08-09 07:18:46.123344369 +0000 UTC m=+3.888457213. Revalidation needed every 90 days 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "user@otherdomain.com" 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestGetGroupByNameerror_on_non_existing_group2669693436/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group2669693436/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group2669693436/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:46 DEBUG: getting group information from cache for "notexist@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: Close database request --- PASS: TestGetGroupByName (0.00s) --- PASS: TestGetGroupByName/get_existing_group_by_name (0.45s) --- PASS: TestGetGroupByName/error_on_non_existing_group (0.39s) 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file1195436661/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file1195436661/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file1195436661/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:46 DEBUG: generate user id for user "first user" 2022/08/09 07:18:46 INFO: user id for "first user" is 2548892320 2022/08/09 07:18:46 DEBUG: Getting home directory for first user 2022/08/09 07:18:46 DEBUG: inserting in cache user "first user" 2022/08/09 07:18:46 DEBUG: encrypt password for user "first user" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "first user" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "second user" 2022/08/09 07:18:46 DEBUG: generate user id for user "second user" 2022/08/09 07:18:46 INFO: user id for "second user" is 1965798560 2022/08/09 07:18:46 DEBUG: Getting home directory for second user 2022/08/09 07:18:46 DEBUG: inserting in cache user "second user" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "first user" 2022/08/09 07:18:46 DEBUG: encrypt password for user "second user" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "second user" 2022/08/09 07:18:46 DEBUG: generate user id for user "second user" 2022/08/09 07:18:46 INFO: user id for "second user" is 1965798560 2022/08/09 07:18:46 DEBUG: Getting home directory for second user 2022/08/09 07:18:46 DEBUG: inserting in cache user "second user" 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_3932359761/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_3932359761/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_3932359761/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:46 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/08/09 07:18:46 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/08/09 07:18:46 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-08-09 07:18:46.227531475 +0000 UTC m=+3.992644314. Revalidation needed every 0 days 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db === CONT TestCanAuthenticate/error_on_wrong_user 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_user2274946029/001 2022/08/09 07:18:46 DEBUG: encrypt password for user "second user" 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user2274946029/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user2274946029/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:46 DEBUG: generate user id for user "first user" 2022/08/09 07:18:46 INFO: user id for "first user" is 2548892320 2022/08/09 07:18:46 DEBUG: Getting home directory for first user 2022/08/09 07:18:46 DEBUG: inserting in cache user "first user" 2022/08/09 07:18:46 DEBUG: encrypt password for user "first user" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "first user" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "second user" 2022/08/09 07:18:46 DEBUG: generate user id for user "second user" 2022/08/09 07:18:46 INFO: user id for "second user" is 1965798560 2022/08/09 07:18:46 DEBUG: Getting home directory for second user 2022/08/09 07:18:46 DEBUG: inserting in cache user "second user" 2022/08/09 07:18:46 DEBUG: encrypt password for user "second user" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "second user" 2022/08/09 07:18:46 INFO: try to authenticate "first user" from cache 2022/08/09 07:18:46 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:46 DEBUG: Last online login was: 2022-08-09 07:18:46 +0000 UTC. Current time: 2022-08-09 07:18:46.345685797 +0000 UTC m=+4.110798641. Revalidation needed every 90 days 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "second user" 2022/08/09 07:18:46 INFO: try to authenticate "first user" from cache 2022/08/09 07:18:46 DEBUG: getting user information from cache for "first user" 2022/08/09 07:18:46 DEBUG: Last online login was: 2022-08-09 07:18:46 +0000 UTC. Current time: 2022-08-09 07:18:46.370734854 +0000 UTC m=+4.135847692. Revalidation needed every 90 days 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "second user" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "first user" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "second user" 2022/08/09 07:18:46 DEBUG: generate user id for user "second user" 2022/08/09 07:18:46 INFO: user id for "second user" is 1965798560 2022/08/09 07:18:46 DEBUG: Getting home directory for second user 2022/08/09 07:18:46 DEBUG: inserting in cache user "second user" 2022/08/09 07:18:46 INFO: try to authenticate "first user" from cache 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db === CONT TestUpdate/insert_a_new_user 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdateinsert_a_new_user75602347/001 2022/08/09 07:18:46 DEBUG: encrypt password for user "second user" 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdateinsert_a_new_user75602347/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdateinsert_a_new_user75602347/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:46 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:46 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:46 INFO: try to authenticate "second user" from cache 2022/08/09 07:18:46 DEBUG: getting user information from cache for "second user" 2022/08/09 07:18:46 DEBUG: Last online login was: 2022-08-09 07:18:46 +0000 UTC. Current time: 2022-08-09 07:18:46.506423339 +0000 UTC m=+4.271536178. Revalidation needed every 90 days 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "second user" 2022/08/09 07:18:46 INFO: try to authenticate "does not exist user" from cache 2022/08/09 07:18:46 DEBUG: getting user information from cache for "does not exist user" 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db === CONT TestUpdate/collide_generated_uids 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdatecollide_generated_uids2116441039/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecollide_generated_uids2116441039/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecollide_generated_uids2116441039/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: generate user id for user "firstuser@domain.com" 2022/08/09 07:18:46 INFO: user id for "firstuser@domain.com" is 3233547936 2022/08/09 07:18:46 DEBUG: Getting home directory for firstuser@domain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: encrypt password for user "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request === CONT TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow3256804613/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow3256804613/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow3256804613/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:46 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:46 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request --- PASS: TestCanAuthenticate (0.00s) --- PASS: TestCanAuthenticate/error_on_wrong_password (0.47s) --- PASS: TestCanAuthenticate/can_authenticate_one_user (0.44s) --- PASS: TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ (0.00s) --- PASS: TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file (0.28s) --- PASS: TestCanAuthenticate/error_on_wrong_user (0.29s) --- PASS: TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO (0.48s) --- PASS: TestCanAuthenticate/handle_separately_multiple_users_and_password (0.50s) 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db === CONT TestUpdate/can't_insert_with_shadow_Read_Only 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdatecant_insert_with_shadow_Read_Only1777042039/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_Read_Only1777042039/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_Read_Only1777042039/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:46 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:46 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request === CONT TestUpdate/can't_insert_with_shadow_unavailable_Only 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only3916382284/001 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only3916382284/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only3916382284/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:46 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:46 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request === CONT TestUpdate/we_don’t_create_about_the_user_case 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdatewe_dont_create_about_the_user_case706136030/001 2022/08/09 07:18:46 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request === CONT TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatewe_dont_create_about_the_user_case706136030/001/shadow.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatewe_dont_create_about_the_user_case706136030/001/passwd.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: getting user information from cache for "MyUser" 2022/08/09 07:18:46 DEBUG: generate user id for user "MyUser" 2022/08/09 07:18:46 INFO: user id for "MyUser" is 650373726 2022/08/09 07:18:46 DEBUG: Getting home directory for MyUser 2022/08/09 07:18:46 DEBUG: inserting in cache user "MyUser" 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2387591479/001 2022/08/09 07:18:46 DEBUG: encrypt password for user "MyUser" 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2387591479/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2387591479/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: generate user id for user "myuser@domain.com" 2022/08/09 07:18:46 INFO: user id for "myuser@domain.com" is 1929326240 2022/08/09 07:18:46 DEBUG: Getting home directory for myuser@domain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "userfirst@domain.com" 2022/08/09 07:18:46 DEBUG: generate user id for user "userfirst@domain.com" 2022/08/09 07:18:46 INFO: user id for "userfirst@domain.com" is 3233547937 2022/08/09 07:18:46 DEBUG: Getting home directory for userfirst@domain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "userfirst@domain.com" 2022/08/09 07:18:46 DEBUG: encrypt password for user "userfirst@domain.com" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "MyUser" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "MyUser" 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db === CONT TestUpdate/insert_2_new_users 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdateinsert_2_new_users6465301/001 2022/08/09 07:18:46 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdateinsert_2_new_users6465301/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdateinsert_2_new_users6465301/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: generate user id for user "firstuser@domain.com" 2022/08/09 07:18:46 INFO: user id for "firstuser@domain.com" is 3233547936 2022/08/09 07:18:46 DEBUG: Getting home directory for firstuser@domain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: encrypt password for user "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "userfirst@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "userfirst@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request === CONT TestCleanupDB/clean_up_old_users 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestCleanupDBclean_up_old_users262243890/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users262243890/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users262243890/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "middleolduser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request === CONT TestCleanupDB/do_not_clean_up_anyone 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestCleanupDBdo_not_clean_up_anyone3814983999/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone3814983999/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone3814983999/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:46 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "middleolduser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request --- PASS: TestCleanupDB (0.00s) --- PASS: TestCleanupDB/clean_up_old_users (0.01s) --- PASS: TestCleanupDB/do_not_clean_up_anyone (0.00s) === CONT TestNew/can't_create_DB_not_being_root_UID_or_GID 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestNewcant_create_DB_not_being_root_UID_or_GID2422561192/001 === CONT TestNew/can't_open_existing_cache_with_wrong_shadow_permission 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission1400950695/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission1400950695/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission1400950695/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow3256804613/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow3256804613/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow3256804613/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "seconduser@domain.com" 2022/08/09 07:18:46 DEBUG: generate user id for user "seconduser@domain.com" 2022/08/09 07:18:46 INFO: user id for "seconduser@domain.com" is 909690528 2022/08/09 07:18:46 DEBUG: Getting home directory for seconduser@domain.com 2022/08/09 07:18:46 DEBUG: inserting in cache user "seconduser@domain.com" 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2387591479/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2387591479/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2387591479/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: encrypt password for user "seconduser@domain.com" 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission1400950695/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission1400950695/001/shadow.db === CONT TestNew/reuse_closed_cache_(files_exists) 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestNewreuse_closed_cache_(files_exists)519968614/001 2022/08/09 07:18:46 DEBUG: updating from last online login information for user "seconduser@domain.com" 2022/08/09 07:18:46 DEBUG: getting user information from cache for "seconduser@domain.com" 2022/08/09 07:18:46 DEBUG: Close database request === CONT TestNew/reuse_opened_cache 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)519968614/001/shadow.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)519968614/001/passwd.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:46 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:46 DEBUG: request to close group iteration in db 2022/08/09 07:18:46 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestNewreuse_opened_cache3958564449/001 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestNewreuse_opened_cache3958564449/001/passwd.db 2022/08/09 07:18:46 DEBUG: check file permissions on /tmp/TestNewreuse_opened_cache3958564449/001/shadow.db 2022/08/09 07:18:46 DEBUG: Shadow db mode: 2 2022/08/09 07:18:46 DEBUG: Clean up database 2022/08/09 07:18:46 DEBUG: Close database request 2022/08/09 07:18:46 DEBUG: Reusing existing opened cache 2022/08/09 07:18:46 DEBUG: Close database request === CONT TestNew/create_cache_with_all_permissions 2022/08/09 07:18:46 DEBUG: Cache initialization 2022/08/09 07:18:46 DEBUG: Opening cache in /tmp/TestNewcreate_cache_with_all_permissions3273791822/001 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewcreate_cache_with_all_permissions3273791822/001/passwd.db 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewcreate_cache_with_all_permissions3273791822/001/shadow.db 2022/08/09 07:18:47 DEBUG: Shadow db mode: 2 2022/08/09 07:18:47 DEBUG: Clean up database 2022/08/09 07:18:47 DEBUG: Close database request === CONT TestNew/no_access_to_shadow_file_is_still_allowded 2022/08/09 07:18:47 DEBUG: Cache initialization 2022/08/09 07:18:47 DEBUG: Opening cache in /tmp/TestNewno_access_to_shadow_file_is_still_allowded1756848708/001 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewno_access_to_shadow_file_is_still_allowded1756848708/001/passwd.db 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewno_access_to_shadow_file_is_still_allowded1756848708/001/shadow.db 2022/08/09 07:18:47 DEBUG: Shadow db mode: 0 2022/08/09 07:18:47 DEBUG: Close database request === CONT TestNew/can_still_open_shadow_file_RO 2022/08/09 07:18:47 DEBUG: Cache initialization 2022/08/09 07:18:47 DEBUG: Opening cache in /tmp/TestNewcan_still_open_shadow_file_RO1598040062/001 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewcan_still_open_shadow_file_RO1598040062/001/passwd.db 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewcan_still_open_shadow_file_RO1598040062/001/shadow.db 2022/08/09 07:18:47 DEBUG: Shadow db mode: 1 2022/08/09 07:18:47 DEBUG: Close database request === CONT TestNew/can't_open_existing_cache_with_wrong_passwd_permission 2022/08/09 07:18:47 DEBUG: Cache initialization 2022/08/09 07:18:47 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3027314453/001 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3027314453/001/passwd.db 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3027314453/001/shadow.db 2022/08/09 07:18:47 DEBUG: Shadow db mode: 2 2022/08/09 07:18:47 DEBUG: Clean up database 2022/08/09 07:18:47 DEBUG: Close database request 2022/08/09 07:18:47 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:47 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:47 DEBUG: request to close group iteration in db 2022/08/09 07:18:47 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:47 DEBUG: Cache initialization 2022/08/09 07:18:47 DEBUG: Opening cache in /tmp/TestNewreuse_closed_cache_(files_exists)519968614/001 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)519968614/001/shadow.db 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)519968614/001/passwd.db 2022/08/09 07:18:47 DEBUG: Shadow db mode: 2 2022/08/09 07:18:47 DEBUG: Clean up database 2022/08/09 07:18:47 DEBUG: Close database request 2022/08/09 07:18:47 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:47 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:47 DEBUG: request to close group iteration in db 2022/08/09 07:18:47 DEBUG: request to close shadow iteration in db === CONT TestNew/can't_create_a_cache_with_Shadow_group 2022/08/09 07:18:47 DEBUG: Cache initialization 2022/08/09 07:18:47 DEBUG: Opening cache in /tmp/TestNewcant_create_a_cache_with_Shadow_group187110932/001 2022/08/09 07:18:47 DEBUG: Cache initialization 2022/08/09 07:18:47 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3027314453/001 2022/08/09 07:18:47 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3027314453/001/passwd.db --- PASS: TestNew (0.00s) --- PASS: TestNew/can't_create_DB_not_being_root_UID_or_GID (0.00s) --- PASS: TestNew/can't_open_existing_cache_with_wrong_shadow_permission (0.12s) --- PASS: TestNew/reuse_opened_cache (0.02s) --- PASS: TestNew/create_cache_with_all_permissions (0.02s) --- PASS: TestNew/no_access_to_shadow_file_is_still_allowded (0.01s) --- PASS: TestNew/can_still_open_shadow_file_RO (0.01s) --- PASS: TestNew/reuse_closed_cache_(files_exists) (0.12s) --- PASS: TestNew/can't_create_a_cache_with_Shadow_group (0.01s) --- PASS: TestNew/can't_open_existing_cache_with_wrong_passwd_permission (0.12s) 2022/08/09 07:18:47 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:47 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:47 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:47 DEBUG: encrypt password for user "myuser@domain.com" 2022/08/09 07:18:47 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:47 DEBUG: Close database request 2022/08/09 07:18:47 DEBUG: Close database request 2022/08/09 07:18:47 DEBUG: No use of cache, closing underlying DB. 2022/08/09 07:18:47 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:47 DEBUG: request to close group iteration in db 2022/08/09 07:18:47 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:47 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/08/09 07:18:47 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:47 DEBUG: Close database request 2022/08/09 07:18:47 DEBUG: Close database request --- PASS: TestUpdate (0.00s) --- PASS: TestUpdate/can't_insert_with_shadow_Read_Only (0.01s) --- PASS: TestUpdate/can't_insert_with_shadow_unavailable_Only (0.02s) --- PASS: TestUpdate/insert_a_new_user (0.20s) --- PASS: TestUpdate/we_don’t_create_about_the_user_case (0.15s) --- PASS: TestUpdate/collide_generated_uids (0.31s) --- PASS: TestUpdate/insert_2_new_users (0.21s) --- PASS: TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow (1.41s) --- PASS: TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login (1.36s) 2022/08/09 07:18:47 DEBUG: No use of cache, closing underlying DB. PASS 2022/08/09 07:18:47 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:47 DEBUG: request to close group iteration in db 2022/08/09 07:18:47 DEBUG: request to close shadow iteration in db ok github.com/ubuntu/aad-auth/internal/cache 5.749s === RUN TestLoadDefaultHomeAndShell === PAUSE TestLoadDefaultHomeAndShell === RUN TestLoadConfig === PAUSE TestLoadConfig === CONT TestLoadDefaultHomeAndShell === RUN TestLoadDefaultHomeAndShell/file_with_only_dhome === PAUSE TestLoadDefaultHomeAndShell/file_with_only_dhome === RUN TestLoadDefaultHomeAndShell/file_with_only_dshell === PAUSE TestLoadDefaultHomeAndShell/file_with_only_dshell === RUN TestLoadDefaultHomeAndShell/file_with_no_values === PAUSE TestLoadDefaultHomeAndShell/file_with_no_values === RUN TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values === PAUSE TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values === RUN TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values === PAUSE TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values === RUN TestLoadDefaultHomeAndShell/file_with_both_home_and_shell === PAUSE TestLoadDefaultHomeAndShell/file_with_both_home_and_shell === CONT TestLoadDefaultHomeAndShell/file_with_only_dhome === CONT TestLoadDefaultHomeAndShell/file_with_both_home_and_shell === CONT TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values === CONT TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values === CONT TestLoadConfig 2022/08/09 07:17:44 DEBUG: Could not open testdata/TestLoadDefaultHomeAndShell/foo/doesnotexists.conf, using defaults for homedir and shell: open testdata/TestLoadDefaultHomeAndShell/foo/doesnotexists.conf: no such file or directory === CONT TestLoadDefaultHomeAndShell/file_with_no_values === RUN TestLoadConfig/aad.conf_with_missing_'shell' === PAUSE TestLoadConfig/aad.conf_with_missing_'shell' === RUN TestLoadConfig/add.conf_with_'shell'_only_in_domain === CONT TestLoadDefaultHomeAndShell/file_with_only_dshell === PAUSE TestLoadConfig/add.conf_with_'shell'_only_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' === RUN TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' === PAUSE TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' --- PASS: TestLoadDefaultHomeAndShell (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_only_dhome (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_both_home_and_shell (0.00s) --- PASS: TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_no_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_only_dshell (0.00s) === RUN TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain === RUN TestLoadConfig/aad.conf_with_'app_id'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'app_id'_only_in_domain === RUN TestLoadConfig/aad.conf,_all_values,_only_in_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_only_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain === RUN TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain === RUN TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'homedirpattern' === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern' === RUN TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain === RUN TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain === RUN TestLoadConfig/aad.conf_missing_'tenant_id'_value === PAUSE TestLoadConfig/aad.conf_missing_'tenant_id'_value === RUN TestLoadConfig/aad.conf,_all_values,_with_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_with_domain === RUN TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain === RUN TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values_and_wrong_adduser.conf === PAUSE TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values_and_wrong_adduser.conf === RUN TestLoadConfig/aad.conf_missing_'app_id'_value === PAUSE TestLoadConfig/aad.conf_missing_'app_id'_value === RUN TestLoadConfig/aad.conf,_all_values,_mismatch_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_mismatch_domain === RUN TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value === PAUSE TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value === RUN TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain === RUN TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf === PAUSE TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf === RUN TestLoadConfig/aad.conf,_all_values,_no_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_no_domain === RUN TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain === RUN TestLoadConfig/aad.conf_does_not_exist === PAUSE TestLoadConfig/aad.conf_does_not_exist === CONT TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain === CONT TestLoadConfig/aad.conf_with_missing_'shell' 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_shell.conf 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_shell-domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_no_domain === CONT TestLoadConfig/aad.conf_does_not_exist 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-no_domain.conf 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/doestnotexists.conf === CONT TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-invalid_expiration-domain.conf 2022/08/09 07:17:44 WARNING: Invalid cache revalidation period strconv.Atoi: parsing "lalala": invalid syntax === CONT TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-expiration_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf 2022/08/09 07:17:44 DEBUG: Could not open valid_adduser.conf, using defaults for homedir and shell: open valid_adduser.conf: no such file or directory === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern' 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern.conf === CONT TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-homedirpattern_and_shell_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_appId-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern-domain.conf === CONT TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-tenantId_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-invalid_expiration.conf === CONT TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_expiration-domain.conf 2022/08/09 07:17:44 WARNING: Invalid cache revalidation period strconv.Atoi: parsing "lalala": invalid syntax === CONT TestLoadConfig/aad.conf,_all_values,_mismatch_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-with_domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_only_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values_only_in_domain.conf === CONT TestLoadConfig/aad.conf_missing_'app_id'_value 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_appId.conf === CONT TestLoadConfig/aad.conf_with_'app_id'_only_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-appId_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values_and_wrong_adduser.conf 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf 2022/08/09 07:17:44 DEBUG: Could not open doesnotexist.conf, using defaults for homedir and shell: open doesnotexist.conf: no such file or directory === CONT TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-homedirpattern_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_tenantId-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_expiration.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf === CONT TestLoadConfig/aad.conf,_all_values,_with_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-with_domain.conf === CONT TestLoadConfig/add.conf_with_'shell'_only_in_domain 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-shell_only_in_domain.conf === CONT TestLoadConfig/aad.conf_missing_'tenant_id'_value 2022/08/09 07:17:44 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_tenantId.conf --- PASS: TestLoadConfig (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'shell' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_does_not_exist (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_no_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_mismatch_domain (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_missing_'app_id'_value (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'app_id'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values_and_wrong_adduser.conf (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_with_domain (0.00s) --- PASS: TestLoadConfig/add.conf_with_'shell'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_missing_'tenant_id'_value (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/config 0.008s === RUN TestNormalizeMsg === PAUSE TestNormalizeMsg === RUN TestCtxWithLogger --- PASS: TestCtxWithLogger (0.00s) === RUN TestCloseLoggerFromContextNoLogger 2022/08/09 07:17:44 ERROR: no logger attached to context --- PASS: TestCloseLoggerFromContextNoLogger (0.00s) === RUN TestLogging === RUN TestLogging/info,_on_stderr === RUN TestLogging/err,_with_logger === RUN TestLogging/message_already_have_an_EOL === RUN TestLogging/info,_with_logger === RUN TestLogging/debug,_on_stderr === RUN TestLogging/warn,_with_logger === RUN TestLogging/warn,_on_stderr === RUN TestLogging/err,_on_stderr === RUN TestLogging/crit,_with_logger === RUN TestLogging/crit,_on_stderr === RUN TestLogging/debug,_with_logger --- PASS: TestLogging (0.00s) --- PASS: TestLogging/info,_on_stderr (0.00s) --- PASS: TestLogging/err,_with_logger (0.00s) --- PASS: TestLogging/message_already_have_an_EOL (0.00s) --- PASS: TestLogging/info,_with_logger (0.00s) --- PASS: TestLogging/debug,_on_stderr (0.00s) --- PASS: TestLogging/warn,_with_logger (0.00s) --- PASS: TestLogging/warn,_on_stderr (0.00s) --- PASS: TestLogging/err,_on_stderr (0.00s) --- PASS: TestLogging/crit,_with_logger (0.00s) --- PASS: TestLogging/crit,_on_stderr (0.00s) --- PASS: TestLogging/debug,_with_logger (0.00s) === CONT TestNormalizeMsg === RUN TestNormalizeMsg/msg_will_always_end_by_EOL === PAUSE TestNormalizeMsg/msg_will_always_end_by_EOL === RUN TestNormalizeMsg/msg_with_EOL_is_unchanged === PAUSE TestNormalizeMsg/msg_with_EOL_is_unchanged === CONT TestNormalizeMsg/msg_will_always_end_by_EOL === CONT TestNormalizeMsg/msg_with_EOL_is_unchanged --- PASS: TestNormalizeMsg (0.00s) --- PASS: TestNormalizeMsg/msg_will_always_end_by_EOL (0.00s) --- PASS: TestNormalizeMsg/msg_with_EOL_is_unchanged (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/logger 0.004s === RUN TestConvertErr === PAUSE TestConvertErr === RUN TestCtxWithSyslogLogger === PAUSE TestCtxWithSyslogLogger === RUN TestCtxWithSyslogLoggerDebugWithEnVariable === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/log_debug_message_when_in_debug_mode === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/don't_log_anything_when_not_in_debug --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/log_debug_message_when_in_debug_mode (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/don't_log_anything_when_not_in_debug (0.00s) === RUN TestLogging === PAUSE TestLogging === CONT TestConvertErr === RUN TestConvertErr/wrapped_ErrTryAgainEAgain_error_retains_original_error_type === PAUSE TestConvertErr/wrapped_ErrTryAgainEAgain_error_retains_original_error_type === RUN TestConvertErr/wrapped_ErrTryAgainERange_error_retains_original_error_type === PAUSE TestConvertErr/wrapped_ErrTryAgainERange_error_retains_original_error_type === RUN TestConvertErr/wrapped_ErrUnavailableENoEnt_error_retains_original_error_type === PAUSE TestConvertErr/wrapped_ErrUnavailableENoEnt_error_retains_original_error_type === RUN TestConvertErr/wrapped_ErrNotFoundENoEnt_error_retains_original_error_type === PAUSE TestConvertErr/wrapped_ErrNotFoundENoEnt_error_retains_original_error_type === RUN TestConvertErr/wrapped_ErrNotFoundSuccess_error_retains_original_error_type === PAUSE TestConvertErr/wrapped_ErrNotFoundSuccess_error_retains_original_error_type === RUN TestConvertErr/wrapped_ErrNoEnt_error_is_converted_to_ErrNotFoundENoEnt === PAUSE TestConvertErr/wrapped_ErrNoEnt_error_is_converted_to_ErrNotFoundENoEnt === RUN TestConvertErr/random_error_is_converted_to_ErrUnavailableENoEnt === PAUSE TestConvertErr/random_error_is_converted_to_ErrUnavailableENoEnt === RUN TestConvertErr/nil_error_should_return_nil === PAUSE TestConvertErr/nil_error_should_return_nil === CONT TestLogging === RUN TestLogging/debug_is_not_printed_with_default_log_level === PAUSE TestLogging/debug_is_not_printed_with_default_log_level === RUN TestLogging/info_message_is_printed_with_default_log_level === PAUSE TestLogging/info_message_is_printed_with_default_log_level === CONT TestConvertErr/wrapped_ErrTryAgainEAgain_error_retains_original_error_type === CONT TestCtxWithSyslogLogger --- PASS: TestCtxWithSyslogLogger (0.00s) === CONT TestConvertErr/wrapped_ErrNoEnt_error_is_converted_to_ErrNotFoundENoEnt === CONT TestConvertErr/wrapped_ErrNotFoundSuccess_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrNotFoundENoEnt_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrUnavailableENoEnt_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrTryAgainERange_error_retains_original_error_type === CONT TestConvertErr/random_error_is_converted_to_ErrUnavailableENoEnt === CONT TestConvertErr/nil_error_should_return_nil --- PASS: TestConvertErr (0.00s) --- PASS: TestConvertErr/wrapped_ErrTryAgainEAgain_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrNoEnt_error_is_converted_to_ErrNotFoundENoEnt (0.00s) --- PASS: TestConvertErr/wrapped_ErrNotFoundSuccess_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrNotFoundENoEnt_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrUnavailableENoEnt_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrTryAgainERange_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/random_error_is_converted_to_ErrUnavailableENoEnt (0.00s) --- PASS: TestConvertErr/nil_error_should_return_nil (0.00s) === RUN TestLogging/debug === PAUSE TestLogging/debug === RUN TestLogging/info === PAUSE TestLogging/info === RUN TestLogging/warn === PAUSE TestLogging/warn === RUN TestLogging/err === PAUSE TestLogging/err === RUN TestLogging/crit === PAUSE TestLogging/crit === CONT TestLogging/debug_is_not_printed_with_default_log_level === CONT TestLogging/crit === CONT TestLogging/err === CONT TestLogging/warn === CONT TestLogging/info === CONT TestLogging/debug === CONT TestLogging/info_message_is_printed_with_default_log_level --- PASS: TestLogging (0.00s) --- PASS: TestLogging/debug_is_not_printed_with_default_log_level (0.00s) --- PASS: TestLogging/crit (0.00s) --- PASS: TestLogging/err (0.00s) --- PASS: TestLogging/warn (0.00s) --- PASS: TestLogging/info (0.00s) --- PASS: TestLogging/debug (0.00s) --- PASS: TestLogging/info_message_is_printed_with_default_log_level (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/nss 0.014s === RUN TestNewByName === RUN TestNewByName/error_on_cache_not_available 2022/08/09 07:18:42 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available2020143468/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available2020143468/001/passwd.db === RUN TestNewByName/get_existing_group_by_name 2022/08/09 07:18:42 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_group_by_name503179654/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name503179654/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name503179654/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: getting group information from cache for "myuser@domain.com" 2022/08/09 07:18:42 DEBUG: Close database request === RUN TestNewByName/error_on_non_existing_group 2022/08/09 07:18:42 DEBUG: Requesting a group entry matching name "notexists@domain.com" 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_group297141854/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group297141854/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group297141854/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: getting group information from cache for "notexists@domain.com" 2022/08/09 07:18:42 DEBUG: Close database request === RUN TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad 2022/08/09 07:18:42 DEBUG: Requesting a group entry matching name "shadow" 2022/08/09 07:18:42 DEBUG: Ignoring shadow group as it's not in our database --- PASS: TestNewByName (0.01s) --- PASS: TestNewByName/error_on_cache_not_available (0.00s) --- PASS: TestNewByName/get_existing_group_by_name (0.00s) --- PASS: TestNewByName/error_on_non_existing_group (0.00s) --- PASS: TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad (0.00s) === RUN TestNewByGID === RUN TestNewByGID/get_existing_group_by_gid 2022/08/09 07:18:42 DEBUG: Requesting an group entry matching GID 1929326240 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNewByGIDget_existing_group_by_gid1892564975/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid1892564975/001/shadow.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid1892564975/001/passwd.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: getting group information from cache for gid 1929326240 2022/08/09 07:18:42 DEBUG: Close database request === RUN TestNewByGID/error_on_non_existing_group 2022/08/09 07:18:42 DEBUG: Requesting an group entry matching GID 4242 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_non_existing_group2708156667/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group2708156667/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group2708156667/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: getting group information from cache for gid 4242 2022/08/09 07:18:42 DEBUG: Close database request === RUN TestNewByGID/error_on_cache_not_available 2022/08/09 07:18:42 DEBUG: Requesting an group entry matching GID 1929326240 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_cache_not_available3864975982/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available3864975982/001/passwd.db --- PASS: TestNewByGID (0.01s) --- PASS: TestNewByGID/get_existing_group_by_gid (0.00s) --- PASS: TestNewByGID/error_on_non_existing_group (0.00s) --- PASS: TestNewByGID/error_on_cache_not_available (0.00s) === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works2674091819/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works2674091819/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works2674091819/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: Close database request === RUN TestNextEntry/get_all_groups 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextEntryget_all_groups2374883077/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups2374883077/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups2374883077/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: Close database request === RUN TestNextEntry/no_group_in_db_does_not_fail 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestNextEntryno_group_in_db_does_not_fail1320331671/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextEntryno_group_in_db_does_not_fail1320331671/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestNextEntryno_group_in_db_does_not_fail1320331671/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/08/09 07:18:42 DEBUG: get next group entry --- PASS: TestNextEntry (0.04s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.00s) --- PASS: TestNextEntry/get_all_groups (0.01s) --- PASS: TestNextEntry/no_group_in_db_does_not_fail (0.02s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.00s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration4290061060/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration4290061060/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration4290061060/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/08/09 07:18:42 WARNING: group entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3880190938/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3880190938/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3880190938/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache2533195256/001 --- PASS: TestStartEndEntryIteration (0.04s) --- PASS: TestStartEndEntryIteration/can_start_and_end_iteration (0.02s) --- PASS: TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration (0.00s) --- PASS: TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress (0.02s) --- PASS: TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache (0.00s) === RUN TestRestartIterationWithoutEndingPreviousOne 2022/08/09 07:18:42 DEBUG: Cache initialization 2022/08/09 07:18:42 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne1777256545/001 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1777256545/001/passwd.db 2022/08/09 07:18:42 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1777256545/001/shadow.db 2022/08/09 07:18:42 DEBUG: Shadow db mode: 2 2022/08/09 07:18:42 DEBUG: Clean up database 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 DEBUG: Reusing existing opened cache 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: get next group entry 2022/08/09 07:18:42 DEBUG: request next group entry in db 2022/08/09 07:18:42 DEBUG: request to close group iteration in db 2022/08/09 07:18:42 DEBUG: Close database request 2022/08/09 07:18:42 WARNING: group entry iteration ended without initialization first --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.00s) === RUN TestToCgroup === PAUSE TestToCgroup === CONT TestToCgroup === RUN TestToCgroup/can_convert_group_to_C_group === PAUSE TestToCgroup/can_convert_group_to_C_group === RUN TestToCgroup/can_convert_group_with_five_members_to_C_group === PAUSE TestToCgroup/can_convert_group_with_five_members_to_C_group === RUN TestToCgroup/can't_allocate_with_buffer_too_small === PAUSE TestToCgroup/can't_allocate_with_buffer_too_small === CONT TestToCgroup/can_convert_group_to_C_group === CONT TestToCgroup/can't_allocate_with_buffer_too_small === CONT TestToCgroup/can_convert_group_with_five_members_to_C_group --- PASS: TestToCgroup (0.00s) --- PASS: TestToCgroup/can_convert_group_to_C_group (0.00s) --- PASS: TestToCgroup/can't_allocate_with_buffer_too_small (0.00s) --- PASS: TestToCgroup/can_convert_group_with_five_members_to_C_group (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/nss/group 0.100s === RUN TestNewByName === RUN TestNewByName/get_existing_user_by_name 2022/08/09 07:18:43 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name1749029493/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name1749029493/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name1749029493/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: getting user information from cache for "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: Close database request === RUN TestNewByName/error_on_non_existing_user 2022/08/09 07:18:43 DEBUG: Requesting a passwd entry matching name "notexists@domain.com" 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user569286806/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user569286806/001/shadow.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user569286806/001/passwd.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: getting user information from cache for "notexists@domain.com" 2022/08/09 07:18:43 DEBUG: Close database request === RUN TestNewByName/error_on_cache_not_available 2022/08/09 07:18:43 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available2545055632/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available2545055632/001/passwd.db --- PASS: TestNewByName (0.01s) --- PASS: TestNewByName/get_existing_user_by_name (0.00s) --- PASS: TestNewByName/error_on_non_existing_user (0.00s) --- PASS: TestNewByName/error_on_cache_not_available (0.00s) === RUN TestNewByUID === RUN TestNewByUID/get_existing_user_by_uid 2022/08/09 07:18:43 DEBUG: Requesting a passwd entry matching UID 1929326240 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNewByUIDget_existing_user_by_uid2772504935/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid2772504935/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid2772504935/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: getting user information from cache for uid 1929326240 2022/08/09 07:18:43 DEBUG: Close database request === RUN TestNewByUID/error_on_non_existing_user 2022/08/09 07:18:43 DEBUG: Requesting a passwd entry matching UID 4242 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_non_existing_user2876806962/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2876806962/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2876806962/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: getting user information from cache for uid 4242 2022/08/09 07:18:43 DEBUG: Close database request === RUN TestNewByUID/error_on_cache_not_available 2022/08/09 07:18:43 DEBUG: Requesting a passwd entry matching UID 1929326240 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_cache_not_available2570232082/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available2570232082/001/passwd.db --- PASS: TestNewByUID (0.01s) --- PASS: TestNewByUID/get_existing_user_by_uid (0.00s) --- PASS: TestNewByUID/error_on_non_existing_user (0.01s) --- PASS: TestNewByUID/error_on_cache_not_available (0.00s) === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works3529460177/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works3529460177/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works3529460177/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: Close database request === RUN TestNextEntry/get_all_users 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users1771374216/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1771374216/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1771374216/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: Close database request === RUN TestNextEntry/no_user_in_db_does_not_fail 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestNextEntryno_user_in_db_does_not_fail1302721023/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail1302721023/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail1302721023/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/08/09 07:18:43 DEBUG: get next passwd entry --- PASS: TestNextEntry (0.02s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.00s) --- PASS: TestNextEntry/get_all_users (0.00s) --- PASS: TestNextEntry/no_user_in_db_does_not_fail (0.01s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.00s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/08/09 07:18:43 WARNING: passwd entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1622565262/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1622565262/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1622565262/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache470425783/001 === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration529296084/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration529296084/001/shadow.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration529296084/001/passwd.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: Close database request --- PASS: TestStartEndEntryIteration (0.03s) --- PASS: TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration (0.00s) --- PASS: TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress (0.02s) --- PASS: TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache (0.00s) --- PASS: TestStartEndEntryIteration/can_start_and_end_iteration (0.02s) === RUN TestRestartIterationWithoutEndingPreviousOne 2022/08/09 07:18:43 DEBUG: Cache initialization 2022/08/09 07:18:43 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne279106432/001 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne279106432/001/passwd.db 2022/08/09 07:18:43 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne279106432/001/shadow.db 2022/08/09 07:18:43 DEBUG: Shadow db mode: 2 2022/08/09 07:18:43 DEBUG: Clean up database 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 DEBUG: Reusing existing opened cache 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: get next passwd entry 2022/08/09 07:18:43 DEBUG: request next passwd entry in db 2022/08/09 07:18:43 DEBUG: request to close passwd iteration in db 2022/08/09 07:18:43 DEBUG: Close database request 2022/08/09 07:18:43 WARNING: passwd entry iteration ended without initialization first --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.00s) === RUN TestToCpasswd === PAUSE TestToCpasswd === CONT TestToCpasswd === RUN TestToCpasswd/can_convert_to_C_pwd === PAUSE TestToCpasswd/can_convert_to_C_pwd === RUN TestToCpasswd/can't_allocate_with_buffer_too_small === PAUSE TestToCpasswd/can't_allocate_with_buffer_too_small === CONT TestToCpasswd/can_convert_to_C_pwd === CONT TestToCpasswd/can't_allocate_with_buffer_too_small --- PASS: TestToCpasswd (0.00s) --- PASS: TestToCpasswd/can_convert_to_C_pwd (0.00s) --- PASS: TestToCpasswd/can't_allocate_with_buffer_too_small (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/nss/passwd 0.091s === RUN TestNewByName === RUN TestNewByName/get_existing_user_by_name 2022/08/09 07:18:44 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name27755239/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name27755239/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name27755239/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: Close database request === RUN TestNewByName/error_on_non_existing_user 2022/08/09 07:18:44 DEBUG: Requesting a shadow entry matching name "notexists@domain.com" 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user3067850712/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user3067850712/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user3067850712/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: getting shadow information from cache for "notexists@domain.com" 2022/08/09 07:18:44 DEBUG: Close database request === RUN TestNewByName/error_on_cache_not_available 2022/08/09 07:18:44 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available1100159922/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available1100159922/001/passwd.db --- PASS: TestNewByName (0.01s) --- PASS: TestNewByName/get_existing_user_by_name (0.00s) --- PASS: TestNewByName/error_on_non_existing_user (0.00s) --- PASS: TestNewByName/error_on_cache_not_available (0.00s) === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works166770157/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works166770157/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works166770157/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request === RUN TestNextEntry/get_all_users 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users2137407270/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2137407270/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2137407270/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request === RUN TestNextEntry/no_user_in_db_does_not_fail 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestNextEntryno_user_in_db_does_not_fail3617588632/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail3617588632/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail3617588632/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/08/09 07:18:44 DEBUG: get next shadow entry --- PASS: TestNextEntry (0.03s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.00s) --- PASS: TestNextEntry/get_all_users (0.00s) --- PASS: TestNextEntry/no_user_in_db_does_not_fail (0.02s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.00s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache3790552566/001 === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration2305218765/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration2305218765/001/shadow.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration2305218765/001/passwd.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/08/09 07:18:44 WARNING: shadow entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress4055295333/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress4055295333/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress4055295333/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request --- PASS: TestStartEndEntryIteration (0.03s) --- PASS: TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache (0.00s) --- PASS: TestStartEndEntryIteration/can_start_and_end_iteration (0.01s) --- PASS: TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration (0.00s) --- PASS: TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress (0.01s) === RUN TestRestartIterationWithoutEndingPreviousOne 2022/08/09 07:18:44 DEBUG: Cache initialization 2022/08/09 07:18:44 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne765141185/001 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne765141185/001/passwd.db 2022/08/09 07:18:44 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne765141185/001/shadow.db 2022/08/09 07:18:44 DEBUG: Shadow db mode: 2 2022/08/09 07:18:44 DEBUG: Clean up database 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 DEBUG: Reusing existing opened cache 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: get next shadow entry 2022/08/09 07:18:44 DEBUG: request next shadow entry in db 2022/08/09 07:18:44 DEBUG: request to close shadow iteration in db 2022/08/09 07:18:44 DEBUG: Close database request 2022/08/09 07:18:44 WARNING: shadow entry iteration ended without initialization first --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.00s) === RUN TestToCshadow === PAUSE TestToCshadow === CONT TestToCshadow === RUN TestToCshadow/can_convert_to_C_shadow === PAUSE TestToCshadow/can_convert_to_C_shadow === RUN TestToCshadow/can't_allocate_with_buffer_too_small === PAUSE TestToCshadow/can't_allocate_with_buffer_too_small === CONT TestToCshadow/can_convert_to_C_shadow === CONT TestToCshadow/can't_allocate_with_buffer_too_small --- PASS: TestToCshadow (0.00s) --- PASS: TestToCshadow/can't_allocate_with_buffer_too_small (0.00s) --- PASS: TestToCshadow/can_convert_to_C_shadow (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/nss/shadow 0.073s === RUN TestNewLogger === PAUSE TestNewLogger === RUN TestLogging === PAUSE TestLogging === RUN TestInfo --- PASS: TestInfo (0.00s) === RUN TestInfoWithNoPamInContext --- PASS: TestInfoWithNoPamInContext (0.00s) === RUN TestAuthenticate === PAUSE TestAuthenticate === CONT TestNewLogger === RUN TestNewLogger/new_logger,_debug_enabled === PAUSE TestNewLogger/new_logger,_debug_enabled === RUN TestNewLogger/new_logger,_no_debug,_no_message === PAUSE TestNewLogger/new_logger,_no_debug,_no_message === CONT TestNewLogger/new_logger,_debug_enabled === CONT TestAuthenticate === RUN TestAuthenticate/error_on_offline_with_purged_user_account === PAUSE TestAuthenticate/error_on_offline_with_purged_user_account === RUN TestAuthenticate/error_on_server_error === PAUSE TestAuthenticate/error_on_server_error === RUN TestAuthenticate/error_on_cache_can't_be_created/opened === PAUSE TestAuthenticate/error_on_cache_can't_be_created/opened === RUN TestAuthenticate/authenticate_successfully_(online) === PAUSE TestAuthenticate/authenticate_successfully_(online) === RUN TestAuthenticate/specified_offline_expiration === PAUSE TestAuthenticate/specified_offline_expiration === RUN TestAuthenticate/error_on_unexisting_conf === PAUSE TestAuthenticate/error_on_unexisting_conf === RUN TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache === PAUSE TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache === RUN TestAuthenticate/error_on_invalid_password === PAUSE TestAuthenticate/error_on_invalid_password === RUN TestAuthenticate/error_on_offline_with_unpurged_old_user_account === PAUSE TestAuthenticate/error_on_offline_with_unpurged_old_user_account === RUN TestAuthenticate/Offline,_connect_existing_user_from_cache === PAUSE TestAuthenticate/Offline,_connect_existing_user_from_cache === RUN TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) === PAUSE TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) === RUN TestAuthenticate/error_on_invalid_conf === PAUSE TestAuthenticate/error_on_invalid_conf === RUN TestAuthenticate/error_on_unexisting_users === PAUSE TestAuthenticate/error_on_unexisting_users === CONT TestAuthenticate/error_on_offline_with_purged_user_account 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "veryolduser@domain.com" 2022/08/09 07:18:45 DEBUG: Got response: User doesn't exist === CONT TestLogging === RUN TestLogging/debug_is_not_printed_with_default_log_level === PAUSE TestLogging/debug_is_not_printed_with_default_log_level === RUN TestLogging/info_message_is_printed_with_default_log_level === PAUSE TestLogging/info_message_is_printed_with_default_log_level === RUN TestLogging/debug === PAUSE TestLogging/debug === RUN TestLogging/info === PAUSE TestLogging/info === RUN TestLogging/warn === PAUSE TestLogging/warn === RUN TestLogging/err === PAUSE TestLogging/err === RUN TestLogging/crit === PAUSE TestLogging/crit === CONT TestLogging/debug_is_not_printed_with_default_log_level === CONT TestNewLogger/new_logger,_no_debug,_no_message --- PASS: TestNewLogger (0.00s) --- PASS: TestNewLogger/new_logger,_debug_enabled (0.00s) --- PASS: TestNewLogger/new_logger,_no_debug,_no_message (0.00s) === CONT TestAuthenticate/error_on_unexisting_users 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "no such user" 2022/08/09 07:18:45 DEBUG: Got response: User doesn't exist === CONT TestAuthenticate/error_on_invalid_conf 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/invalid-aad.conf 2022/08/09 07:18:45 ERROR: No valid configuration found: could not load valid configuration from testdata/invalid-aad.conf: missing required 'app_id' entry in configuration file === CONT TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Authentication successful with user/password 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)3166327241/001 === CONT TestAuthenticate/Offline,_connect_existing_user_from_cache 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "futureuser@domain.com" 2022/08/09 07:18:45 DEBUG: acquiring token failed: Offline === CONT TestAuthenticate/error_on_offline_with_unpurged_old_user_account === CONT TestAuthenticate/error_on_invalid_password 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "invalid credentials" 2022/08/09 07:18:45 DEBUG: Got response: Invalid credentials === CONT TestLogging/crit === CONT TestLogging/err === CONT TestLogging/warn === CONT TestLogging/info === CONT TestLogging/debug === CONT TestLogging/info_message_is_printed_with_default_log_level --- PASS: TestLogging (0.00s) --- PASS: TestLogging/debug_is_not_printed_with_default_log_level (0.00s) --- PASS: TestLogging/crit (0.00s) --- PASS: TestLogging/err (0.00s) --- PASS: TestLogging/warn (0.00s) --- PASS: TestLogging/info (0.00s) --- PASS: TestLogging/debug (0.00s) --- PASS: TestLogging/info_message_is_printed_with_default_log_level (0.00s) === CONT TestAuthenticate/specified_offline_expiration 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/withoffline-expiration.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Authentication successful with user/password 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/forceoffline-expire-right-away.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "veryolduser@domain.com" 2022/08/09 07:18:45 DEBUG: acquiring token failed: Offline 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)3166327241/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)3166327241/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "success@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "success@domain.com" 2022/08/09 07:18:45 INFO: user id for "success@domain.com" is 9448096 2022/08/09 07:18:45 DEBUG: Getting home directory for success@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3928459395/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3928459395/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3928459395/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: encrypt password for user "success@domain.com" 2022/08/09 07:18:45 INFO: try to authenticate "futureuser@domain.com" from cache 2022/08/09 07:18:45 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestAuthenticatespecified_offline_expiration2683580783/001 2022/08/09 07:18:45 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-08-09 07:18:45.216891482 +0000 UTC m=+0.040360919. Revalidation needed every 90 days 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticatespecified_offline_expiration2683580783/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticatespecified_offline_expiration2683580783/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "success@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account3288129918/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account3288129918/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account3288129918/001/shadow.db 2022/08/09 07:18:45 INFO: user id for "success@domain.com" is 9448096 2022/08/09 07:18:45 DEBUG: Getting home directory for success@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:18:45 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/08/09 07:18:45 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/08/09 07:18:45 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-08-09 07:18:45.234224719 +0000 UTC m=+0.057694143. Revalidation needed every 0 days 2022/08/09 07:18:45 WARNING: Failed to display message to user (no pam attached): Machine is offline and cached credentials expired. Please try again when the machine is online. 2022/08/09 07:18:45 ERROR: authenticating user "veryolduser@domain.com" from cache failed: offline credentials expired. Denying access. 2022/08/09 07:18:45 DEBUG: Close database request === CONT TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: acquiring token failed: Offline 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache4066539693/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache4066539693/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache4066539693/001/shadow.db 2022/08/09 07:18:45 DEBUG: encrypt password for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 INFO: try to authenticate "success@domain.com" from cache 2022/08/09 07:18:45 DEBUG: getting user information from cache for "success@domain.com" 2022/08/09 07:18:45 ERROR: authenticating user "success@domain.com" from cache failed: error when getting user "success@domain.com" from cache: no entries. Denying access. 2022/08/09 07:18:45 DEBUG: Close database request === CONT TestAuthenticate/error_on_unexisting_conf 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/doesnotexist.conf 2022/08/09 07:18:45 ERROR: No valid configuration found: could not load valid configuration from testdata/doesnotexist.conf: could not open file testdata/doesnotexist.conf: open testdata/doesnotexist.conf: no such file or directory === CONT TestAuthenticate/authenticate_successfully_(online) 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Authentication successful with user/password 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestAuthenticateauthenticate_successfully_(online)715249880/001 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_(online)715249880/001/passwd.db 2022/08/09 07:18:45 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_(online)715249880/001/shadow.db 2022/08/09 07:18:45 DEBUG: Shadow db mode: 2 2022/08/09 07:18:45 DEBUG: Clean up database 2022/08/09 07:18:45 DEBUG: getting user information from cache for "success@domain.com" 2022/08/09 07:18:45 DEBUG: generate user id for user "success@domain.com" 2022/08/09 07:18:45 INFO: user id for "success@domain.com" is 9448096 2022/08/09 07:18:45 DEBUG: Getting home directory for success@domain.com 2022/08/09 07:18:45 DEBUG: inserting in cache user "success@domain.com" 2022/08/09 07:18:45 DEBUG: encrypt password for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request === CONT TestAuthenticate/error_on_cache_can't_be_created/opened 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Authentication successful with user/password 2022/08/09 07:18:45 DEBUG: Cache initialization 2022/08/09 07:18:45 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_cache_cant_be_createdopened2861783383/001 2022/08/09 07:18:45 ERROR: can't open/create cache: can't initiate database: cache creation can only be done by root user. Denying access. === CONT TestAuthenticate/error_on_server_error 2022/08/09 07:18:45 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:18:45 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "unreadable server response" 2022/08/09 07:18:45 ERROR: Can't read server response: invalid READ 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: Close database request 2022/08/09 07:18:45 DEBUG: updating from last online login information for user "success@domain.com" 2022/08/09 07:18:45 DEBUG: Close database request --- PASS: TestAuthenticate (0.00s) --- PASS: TestAuthenticate/error_on_offline_with_purged_user_account (0.00s) --- PASS: TestAuthenticate/error_on_unexisting_users (0.00s) --- PASS: TestAuthenticate/error_on_invalid_conf (0.00s) --- PASS: TestAuthenticate/error_on_invalid_password (0.00s) --- PASS: TestAuthenticate/error_on_offline_with_unpurged_old_user_account (0.05s) --- PASS: TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache (0.03s) --- PASS: TestAuthenticate/error_on_unexisting_conf (0.00s) --- PASS: TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) (0.20s) --- PASS: TestAuthenticate/error_on_cache_can't_be_created/opened (0.00s) --- PASS: TestAuthenticate/error_on_server_error (0.00s) --- PASS: TestAuthenticate/specified_offline_expiration (0.21s) --- PASS: TestAuthenticate/Offline,_connect_existing_user_from_cache (0.26s) --- PASS: TestAuthenticate/authenticate_successfully_(online) (0.19s) PASS ok github.com/ubuntu/aad-auth/internal/pam 0.310s ? github.com/ubuntu/aad-auth/internal/testutils [no test files] === RUN TestNormalizeName === PAUSE TestNormalizeName === CONT TestNormalizeName === RUN TestNormalizeName/name_with_mixed_case_is_lowercase === PAUSE TestNormalizeName/name_with_mixed_case_is_lowercase === RUN TestNormalizeName/lowercase_named_is_unchanged === PAUSE TestNormalizeName/lowercase_named_is_unchanged === CONT TestNormalizeName/name_with_mixed_case_is_lowercase === CONT TestNormalizeName/lowercase_named_is_unchanged --- PASS: TestNormalizeName (0.00s) --- PASS: TestNormalizeName/name_with_mixed_case_is_lowercase (0.00s) --- PASS: TestNormalizeName/lowercase_named_is_unchanged (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/user 0.004s === RUN TestGetpwnamR --- PASS: TestGetpwnamR (0.00s) PASS ok github.com/ubuntu/aad-auth/nss 0.005s === RUN TestPamSmAuthenticate === RUN TestPamSmAuthenticate/specified_offline_expiration 2022/08/09 07:19:48 DEBUG: Loading configuration from testdata/withoffline-expiration.conf 2022/08/09 07:19:48 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "success@domain.com" 2022/08/09 07:19:48 DEBUG: Authentication successful with user/password 2022/08/09 07:19:48 DEBUG: Cache initialization 2022/08/09 07:19:48 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatespecified_offline_expiration1935746133/001/cache 2022/08/09 07:19:48 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatespecified_offline_expiration1935746133/001/cache/passwd.db 2022/08/09 07:19:48 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatespecified_offline_expiration1935746133/001/cache/shadow.db 2022/08/09 07:19:48 DEBUG: Shadow db mode: 2 2022/08/09 07:19:48 DEBUG: Clean up database 2022/08/09 07:19:48 DEBUG: getting user information from cache for "success@domain.com" 2022/08/09 07:19:48 DEBUG: generate user id for user "success@domain.com" 2022/08/09 07:19:48 INFO: user id for "success@domain.com" is 9448096 2022/08/09 07:19:48 DEBUG: Getting home directory for success@domain.com 2022/08/09 07:19:48 DEBUG: inserting in cache user "success@domain.com" 2022/08/09 07:19:48 DEBUG: encrypt password for user "success@domain.com" 2022/08/09 07:19:49 DEBUG: updating from last online login information for user "success@domain.com" 2022/08/09 07:19:49 DEBUG: Close database request === RUN TestPamSmAuthenticate/Offline,_connect_existing_user_from_cache 2022/08/09 07:19:49 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/08/09 07:19:49 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "futureuser@domain.com" 2022/08/09 07:19:49 DEBUG: acquiring token failed: Offline 2022/08/09 07:19:49 DEBUG: Cache initialization 2022/08/09 07:19:49 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateOffline,_connect_existing_user_from_cache57521167/001/cache 2022/08/09 07:19:49 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateOffline,_connect_existing_user_from_cache57521167/001/cache/passwd.db 2022/08/09 07:19:49 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateOffline,_connect_existing_user_from_cache57521167/001/cache/shadow.db 2022/08/09 07:19:49 DEBUG: Shadow db mode: 2 2022/08/09 07:19:49 DEBUG: Clean up database 2022/08/09 07:19:49 INFO: try to authenticate "futureuser@domain.com" from cache 2022/08/09 07:19:49 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/08/09 07:19:49 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-08-09 07:19:49.057834622 +0000 UTC m=+0.112429216. Revalidation needed every 90 days 2022/08/09 07:19:49 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_invalid_conf 2022/08/09 07:19:49 DEBUG: Loading configuration from testdata/invalid-aad.conf 2022/08/09 07:19:49 ERROR: No valid configuration found: could not load valid configuration from testdata/invalid-aad.conf: missing required 'app_id' entry in configuration file === RUN TestPamSmAuthenticate/error_on_offline_with_user_online_user_not_in_cache 2022/08/09 07:19:51 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/08/09 07:19:51 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "success@domain.com" 2022/08/09 07:19:51 DEBUG: acquiring token failed: Offline 2022/08/09 07:19:51 DEBUG: Cache initialization 2022/08/09 07:19:51 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache3990291416/001/cache 2022/08/09 07:19:51 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache3990291416/001/cache/passwd.db 2022/08/09 07:19:51 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache3990291416/001/cache/shadow.db 2022/08/09 07:19:51 DEBUG: Shadow db mode: 2 2022/08/09 07:19:51 DEBUG: Clean up database 2022/08/09 07:19:51 INFO: try to authenticate "success@domain.com" from cache 2022/08/09 07:19:51 DEBUG: getting user information from cache for "success@domain.com" 2022/08/09 07:19:51 ERROR: authenticating user "success@domain.com" from cache failed: error when getting user "success@domain.com" from cache: no entries. Denying access. 2022/08/09 07:19:51 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_invalid_password 2022/08/09 07:19:53 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:19:53 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "invalid credentials" 2022/08/09 07:19:53 DEBUG: Got response: Invalid credentials === RUN TestPamSmAuthenticate/error_on_offline_with_purged_user_account 2022/08/09 07:19:55 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:19:55 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "veryolduser@domain.com" 2022/08/09 07:19:55 DEBUG: Got response: User doesn't exist === RUN TestPamSmAuthenticate/error_on_offline_with_unpurged_old_user_account 2022/08/09 07:19:57 DEBUG: Loading configuration from testdata/forceoffline-expire-right-away.conf 2022/08/09 07:19:57 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "veryolduser@domain.com" 2022/08/09 07:19:57 DEBUG: acquiring token failed: Offline 2022/08/09 07:19:57 DEBUG: Cache initialization 2022/08/09 07:19:57 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1047901269/001/cache 2022/08/09 07:19:57 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1047901269/001/cache/passwd.db 2022/08/09 07:19:57 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1047901269/001/cache/shadow.db 2022/08/09 07:19:57 DEBUG: Shadow db mode: 2 2022/08/09 07:19:57 DEBUG: Do not clean up database as revalidation period is set to 0 2022/08/09 07:19:57 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/08/09 07:19:57 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/08/09 07:19:57 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-08-09 07:19:57.321351407 +0000 UTC m=+8.375945993. Revalidation needed every 0 days 2022/08/09 07:19:57 ERROR: authenticating user "veryolduser@domain.com" from cache failed: offline credentials expired. Denying access. 2022/08/09 07:19:57 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_server_error 2022/08/09 07:19:59 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:19:59 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "unreadable server response" 2022/08/09 07:19:59 ERROR: Can't read server response: invalid READ === RUN TestPamSmAuthenticate/authenticate_successfully_(online) 2022/08/09 07:20:01 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:20:01 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "success@domain.com" 2022/08/09 07:20:01 DEBUG: Authentication successful with user/password 2022/08/09 07:20:01 DEBUG: Cache initialization 2022/08/09 07:20:01 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)1136804263/001/cache 2022/08/09 07:20:01 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)1136804263/001/cache/passwd.db 2022/08/09 07:20:01 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)1136804263/001/cache/shadow.db 2022/08/09 07:20:01 DEBUG: Shadow db mode: 2 2022/08/09 07:20:01 DEBUG: Clean up database 2022/08/09 07:20:01 DEBUG: getting user information from cache for "success@domain.com" 2022/08/09 07:20:01 DEBUG: generate user id for user "success@domain.com" 2022/08/09 07:20:01 INFO: user id for "success@domain.com" is 9448096 2022/08/09 07:20:01 DEBUG: Getting home directory for success@domain.com 2022/08/09 07:20:01 DEBUG: inserting in cache user "success@domain.com" 2022/08/09 07:20:01 DEBUG: encrypt password for user "success@domain.com" 2022/08/09 07:20:01 DEBUG: updating from last online login information for user "success@domain.com" 2022/08/09 07:20:01 DEBUG: Close database request === RUN TestPamSmAuthenticate/authenticate_successfully_with_unmatched_case_(online) 2022/08/09 07:20:01 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:20:01 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "success@domain.com" 2022/08/09 07:20:01 DEBUG: Authentication successful with user/password 2022/08/09 07:20:01 DEBUG: Cache initialization 2022/08/09 07:20:01 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)222133474/001/cache 2022/08/09 07:20:01 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)222133474/001/cache/passwd.db 2022/08/09 07:20:01 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)222133474/001/cache/shadow.db 2022/08/09 07:20:01 DEBUG: Shadow db mode: 2 2022/08/09 07:20:01 DEBUG: Clean up database 2022/08/09 07:20:01 DEBUG: getting user information from cache for "success@domain.com" 2022/08/09 07:20:01 DEBUG: generate user id for user "success@domain.com" 2022/08/09 07:20:01 INFO: user id for "success@domain.com" is 9448096 2022/08/09 07:20:01 DEBUG: Getting home directory for success@domain.com 2022/08/09 07:20:01 DEBUG: inserting in cache user "success@domain.com" 2022/08/09 07:20:01 DEBUG: encrypt password for user "success@domain.com" 2022/08/09 07:20:01 DEBUG: updating from last online login information for user "success@domain.com" 2022/08/09 07:20:01 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_unexisting_conf 2022/08/09 07:20:01 DEBUG: Loading configuration from testdata/doesnotexist.conf 2022/08/09 07:20:01 ERROR: No valid configuration found: could not load valid configuration from testdata/doesnotexist.conf: could not open file testdata/doesnotexist.conf: open testdata/doesnotexist.conf: no such file or directory === RUN TestPamSmAuthenticate/error_on_unexisting_users 2022/08/09 07:20:03 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:20:03 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "no such user" 2022/08/09 07:20:03 DEBUG: Got response: User doesn't exist === RUN TestPamSmAuthenticate/error_on_cache_can't_be_created/opened 2022/08/09 07:20:06 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/08/09 07:20:06 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "success@domain.com" 2022/08/09 07:20:06 DEBUG: Authentication successful with user/password 2022/08/09 07:20:06 DEBUG: Cache initialization 2022/08/09 07:20:06 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_cache_cant_be_createdopened434672393/001/cache 2022/08/09 07:20:06 ERROR: can't open/create cache: can't initiate database: cache creation can only be done by root user. Denying access. --- PASS: TestPamSmAuthenticate (19.20s) --- PASS: TestPamSmAuthenticate/specified_offline_expiration (0.11s) --- PASS: TestPamSmAuthenticate/Offline,_connect_existing_user_from_cache (0.09s) --- PASS: TestPamSmAuthenticate/error_on_invalid_conf (2.05s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_user_online_user_not_in_cache (2.33s) --- PASS: TestPamSmAuthenticate/error_on_invalid_password (1.60s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_purged_user_account (2.21s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_unpurged_old_user_account (2.15s) --- PASS: TestPamSmAuthenticate/error_on_server_error (2.09s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_(online) (0.10s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_with_unmatched_case_(online) (0.10s) --- PASS: TestPamSmAuthenticate/error_on_unexisting_conf (2.03s) --- PASS: TestPamSmAuthenticate/error_on_unexisting_users (2.30s) --- PASS: TestPamSmAuthenticate/error_on_cache_can't_be_created/opened (2.05s) === RUN TestGetUser === PAUSE TestGetUser === CONT TestGetUser === RUN TestGetUser/got_username_info === PAUSE TestGetUser/got_username_info === CONT TestGetUser/got_username_info --- PASS: TestGetUser (0.00s) --- PASS: TestGetUser/got_username_info (0.00s) PASS ok github.com/ubuntu/aad-auth/pam 81.586s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --buildsystem=golang --with=golang,apport dh_testroot -a -O--buildsystem=golang dh_prep -a -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/<>' dh_auto_install -- --no-source mkdir -p debian/tmp/usr/share/pam-configs cp debian/libpam-aad.pam-auth-update debian/tmp/usr/share/pam-configs/aad mkdir -p debian/tmp/usr/lib/powerpc64le-linux-gnu/security cp pam_aad.so debian/tmp/usr/lib/powerpc64le-linux-gnu/security cp libnss_aad.so.2 debian/tmp/usr/lib make[1]: Leaving directory '/<>' dh_install -a -O--buildsystem=golang dh_installdocs -a -O--buildsystem=golang dh_installchangelogs -a -O--buildsystem=golang dh_installsystemduser -a -O--buildsystem=golang dh_apport -a -O--buildsystem=golang dh_lintian -a -O--buildsystem=golang dh_perl -a -O--buildsystem=golang dh_link -a -O--buildsystem=golang dh_strip_nondeterminism -a -O--buildsystem=golang dh_compress -a -O--buildsystem=golang dh_fixperms -a -O--buildsystem=golang dh_missing -a -O--buildsystem=golang dh_strip -a -O--buildsystem=golang 741604f32de9a35c6ff772e9643e1d7a368b8686 494643b03624815c0426f102e2a33139b5605d9f dh_makeshlibs -a -O--buildsystem=golang dpkg-gensymbols: warning: debian/libpam-aad/DEBIAN/symbols doesn't match completely debian/libpam-aad.symbols --- debian/libpam-aad.symbols (libpam-aad_0.1ppa8_ppc64el) +++ dpkg-gensymbolsjL0Swh 2022-08-09 07:20:10.212357692 +0000 @@ -10,7 +10,7 @@ (arch=i386)crosscall_386@Base 1.0.0 (arch=amd64)crosscall_amd64@Base 1.0.0 (arch=armhf)crosscall_arm1@Base 1.0.0 - (arch=ppc64el)crosscall_ppc64@Base 1.0.0 + (arch=ppc64el)crosscall_ppc64@Base 0.1ppa8 (arch=s390x)crosscall_s390x@Base 1.0.0 doneTrampoline@Base 0.1 fatalf@Base 0.1 dpkg-gensymbols: warning: debian/libnss-aad/DEBIAN/symbols doesn't match completely debian/libnss-aad.symbols --- debian/libnss-aad.symbols (libnss-aad_0.1ppa8_ppc64el) +++ dpkg-gensymbolsBEPfop 2022-08-09 07:20:10.500350628 +0000 @@ -24,7 +24,7 @@ (arch=i386)crosscall_386@Base 1.0.0 (arch=amd64)crosscall_amd64@Base 1.0.0 (arch=armhf)crosscall_arm1@Base 1.0.0 - (arch=ppc64el)crosscall_ppc64@Base 1.0.0 + (arch=ppc64el)crosscall_ppc64@Base 0.1ppa8 (arch=s390x)crosscall_s390x@Base 1.0.0 doneTrampoline@Base 0.1 fatalf@Base 0.1 dh_shlibdeps -a -O--buildsystem=golang dh_installdeb -a -O--buildsystem=golang dh_golang -a -O--buildsystem=golang dh_gencontrol -a -O--buildsystem=golang dpkg-gencontrol: warning: package libpam-aad: substitution variable ${misc:Static-Built-Using} unused, but is defined dpkg-gencontrol: warning: package libnss-aad: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -a -O--buildsystem=golang dh_builddeb -a -O--buildsystem=golang INFO: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 INFO: Disabling pkgstriptranslations for PPA build INFO: Disabling pkgstriptranslations for PPA build INFO: Disabling pkgmaintainermangler for PPA build INFO: Disabling pkgmaintainermangler for PPA build INFO: Disabling pkgstripfiles for PPA build INFO: Disabling pkgstripfiles for PPA build dpkg-deb: building package 'libpam-aad' in '../libpam-aad_0.1ppa8_ppc64el.deb'. dpkg-deb: building package 'libnss-aad' in '../libnss-aad_0.1ppa8_ppc64el.deb'. dpkg-genbuildinfo --build=any -O../aad-auth_0.1ppa8_ppc64el.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../aad-auth_0.1ppa8_ppc64el.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2022-08-09T07:20:15Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ aad-auth_0.1ppa8_ppc64el.changes: --------------------------------- Format: 1.8 Date: Thu, 04 Aug 2022 18:34:29 +0300 Source: aad-auth Binary: libnss-aad libpam-aad Built-For-Profiles: noudeb Architecture: ppc64el Version: 0.1ppa8 Distribution: kinetic Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Gabriel Nagy Description: libnss-aad - Azure Active Directory Authentication for NSS libpam-aad - Azure Active Directory Authentication for PAM Changes: aad-auth (0.1ppa8) kinetic; urgency=medium . [ Didier Roche ] [ Denison Barbosa ] [ Gabriel Nagy ] * Initial release Checksums-Sha1: 95ce14bdf17e2074894c50e206c427efb3134f05 6009 aad-auth_0.1ppa8_ppc64el.buildinfo 33b513a2b4390147538674d5529c9a7bf0d23bda 1646960 libnss-aad_0.1ppa8_ppc64el.deb 72be865ee94e49830f44a7c46464ef97691b0ad9 3018050 libpam-aad_0.1ppa8_ppc64el.deb Checksums-Sha256: b9e3f537842c812d4be1c25a676de99c7b0d8bb780f7c3bdd9c0d2a3ebaa2d7a 6009 aad-auth_0.1ppa8_ppc64el.buildinfo 381aac50e3401f6251fca121b6d99b9efa10cf4aaa60ce224cc321b0be97ec6e 1646960 libnss-aad_0.1ppa8_ppc64el.deb c2721e60687223179a3b02a7e9a9ecaff0644e68cd4794688e42951910791fa2 3018050 libpam-aad_0.1ppa8_ppc64el.deb Files: ba6b417a77540c13ea26753a61e9e5a1 6009 admin optional aad-auth_0.1ppa8_ppc64el.buildinfo a69d04925a5488e4dfcd808c6432d197 1646960 admin optional libnss-aad_0.1ppa8_ppc64el.deb af23fee493a1643f9597da663b807475 3018050 admin optional libpam-aad_0.1ppa8_ppc64el.deb /<>/aad-auth_0.1ppa8_ppc64el.changes.new could not be renamed to /<>/aad-auth_0.1ppa8_ppc64el.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: aad-auth Binary: libnss-aad libpam-aad Architecture: ppc64el Version: 0.1ppa8 Checksums-Md5: a69d04925a5488e4dfcd808c6432d197 1646960 libnss-aad_0.1ppa8_ppc64el.deb af23fee493a1643f9597da663b807475 3018050 libpam-aad_0.1ppa8_ppc64el.deb Checksums-Sha1: 33b513a2b4390147538674d5529c9a7bf0d23bda 1646960 libnss-aad_0.1ppa8_ppc64el.deb 72be865ee94e49830f44a7c46464ef97691b0ad9 3018050 libpam-aad_0.1ppa8_ppc64el.deb Checksums-Sha256: 381aac50e3401f6251fca121b6d99b9efa10cf4aaa60ce224cc321b0be97ec6e 1646960 libnss-aad_0.1ppa8_ppc64el.deb c2721e60687223179a3b02a7e9a9ecaff0644e68cd4794688e42951910791fa2 3018050 libpam-aad_0.1ppa8_ppc64el.deb Build-Origin: Ubuntu Build-Architecture: ppc64el Build-Date: Tue, 09 Aug 2022 07:20:15 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs usr-local-has-programs Installed-Build-Depends: autoconf (= 2.71-2), automake (= 1:1.16.5-1.3), autopoint (= 0.21-6), autotools-dev (= 20220109.1), base-files (= 12.2ubuntu2), base-passwd (= 3.5.52build1), bash (= 5.1-6ubuntu1), binutils (= 2.38.90.20220713-2ubuntu1), binutils-common (= 2.38.90.20220713-2ubuntu1), binutils-powerpc64le-linux-gnu (= 2.38.90.20220713-2ubuntu1), bsdextrautils (= 2.38-4ubuntu1), bsdutils (= 1:2.38-4ubuntu1), build-essential (= 12.9ubuntu3), bzip2 (= 1.0.8-5build1), coreutils (= 8.32-4.1ubuntu1), cpp (= 4:11.2.0-1ubuntu1), cpp-11 (= 11.3.0-5ubuntu1), dash (= 0.5.11+git20210903+057cd650a4ed-8ubuntu1), debconf (= 1.5.79ubuntu1), debhelper (= 13.8ubuntu1), debianutils (= 5.7-0.3), debugedit (= 1:5.0-5), dh-apport (= 2.22.0-0ubuntu4), dh-autoreconf (= 20), dh-golang (= 1.58), dh-strip-nondeterminism (= 1.13.0-1), diffutils (= 1:3.8-0ubuntu2), dpkg (= 1.21.9ubuntu1), dpkg-dev (= 1.21.9ubuntu1), dwz (= 0.14-1build2), file (= 1:5.41-4), findutils (= 4.8.0-1ubuntu3), g++ (= 4:11.2.0-1ubuntu1), g++-11 (= 11.3.0-5ubuntu1), gcc (= 4:11.2.0-1ubuntu1), gcc-11 (= 11.3.0-5ubuntu1), gcc-11-base (= 11.3.0-5ubuntu1), gcc-12-base (= 12.1.0-5ubuntu1), gettext (= 0.21-6), gettext-base (= 0.21-6), golang-1.18-go (= 1.18.4-1ubuntu2), golang-1.18-src (= 1.18.4-1ubuntu2), golang-go (= 2:1.18~0ubuntu2), golang-src (= 2:1.18~0ubuntu2), grep (= 3.7-1build1), groff-base (= 1.22.4-8build1), gzip (= 1.10-4ubuntu4), hostname (= 3.23ubuntu2), init-system-helpers (= 1.64), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.3.1-1), libarchive-zip-perl (= 1.68-1), libasan6 (= 11.3.0-5ubuntu1), libatomic1 (= 12.1.0-5ubuntu1), libattr1 (= 1:2.5.1-1build1), libaudit-common (= 1:3.0.7-1build1), libaudit1 (= 1:3.0.7-1build1), libbinutils (= 2.38.90.20220713-2ubuntu1), libblkid1 (= 2.38-4ubuntu1), libbz2-1.0 (= 1.0.8-5build1), libc-bin (= 2.35-0ubuntu3), libc-dev-bin (= 2.35-0ubuntu3), libc6 (= 2.35-0ubuntu3), libc6-dev (= 2.35-0ubuntu3), libcap-ng0 (= 0.8.3-1), libcap2 (= 1:2.44-1build3), libcc1-0 (= 12.1.0-5ubuntu1), libcom-err2 (= 1.46.5-2ubuntu2), libcrypt-dev (= 1:4.4.28-2), libcrypt1 (= 1:4.4.28-2), libctf-nobfd0 (= 2.38.90.20220713-2ubuntu1), libctf0 (= 2.38.90.20220713-2ubuntu1), libdb5.3 (= 5.3.28+dfsg1-0.10), libdebconfclient0 (= 0.261ubuntu1), libdebhelper-perl (= 13.8ubuntu1), libdpkg-perl (= 1.21.9ubuntu1), libdw1 (= 0.187-1), libelf1 (= 0.187-1), libfile-stripnondeterminism-perl (= 1.13.0-1), libgcc-11-dev (= 11.3.0-5ubuntu1), libgcc-s1 (= 12.1.0-5ubuntu1), libgcrypt20 (= 1.10.1-2ubuntu1), libgdbm-compat4 (= 1.23-1), libgdbm6 (= 1.23-1), libgmp10 (= 2:6.2.1+dfsg-3ubuntu1), libgomp1 (= 12.1.0-5ubuntu1), libgpg-error0 (= 1.45-2), libgssapi-krb5-2 (= 1.20-1), libicu71 (= 71.1-3), libisl23 (= 0.25-1), libitm1 (= 12.1.0-5ubuntu1), libk5crypto3 (= 1.20-1), libkeyutils1 (= 1.6.1-3ubuntu1), libkrb5-3 (= 1.20-1), libkrb5support0 (= 1.20-1), liblsan0 (= 12.1.0-5ubuntu1), liblz4-1 (= 1.9.3-2build2), liblzma5 (= 5.2.5-2.1), libmagic-mgc (= 1:5.41-4), libmagic1 (= 1:5.41-4), libmount1 (= 2.38-4ubuntu1), libmpc3 (= 1.2.1-2build1), libmpfr6 (= 4.1.0-3build3), libnsl-dev (= 1.3.0-2build2), libnsl2 (= 1.3.0-2build2), libpam-modules (= 1.4.0-13ubuntu1), libpam-modules-bin (= 1.4.0-13ubuntu1), libpam-runtime (= 1.4.0-13ubuntu1), libpam0g (= 1.4.0-13ubuntu1), libpam0g-dev (= 1.4.0-13ubuntu1), libpcre2-8-0 (= 10.40-1), libpcre3 (= 2:8.39-14), libperl5.34 (= 5.34.0-5ubuntu1), libpipeline1 (= 1.5.6-1), libquadmath0 (= 12.1.0-5ubuntu1), libseccomp2 (= 2.5.4-1ubuntu1), libselinux1 (= 3.4-1), libsigsegv2 (= 2.13-1ubuntu3), libsmartcols1 (= 2.38-4ubuntu1), libssl3 (= 3.0.4-1ubuntu1), libstdc++-11-dev (= 11.3.0-5ubuntu1), libstdc++6 (= 12.1.0-5ubuntu1), libsub-override-perl (= 0.09-3), libsystemd0 (= 251.2-2ubuntu2), libtinfo6 (= 6.3+20220423-2), libtirpc-common (= 1.3.2-2build1), libtirpc-dev (= 1.3.2-2build1), libtirpc3 (= 1.3.2-2build1), libtool (= 2.4.7-4), libtsan0 (= 11.3.0-5ubuntu1), libubsan1 (= 12.1.0-5ubuntu1), libuchardet0 (= 0.0.7-1build2), libudev1 (= 251.2-2ubuntu2), libunistring2 (= 1.0-1), libuuid1 (= 2.38-4ubuntu1), libxml2 (= 2.9.14+dfsg-1), libzstd1 (= 1.5.2+dfsg-1), linux-libc-dev (= 5.15.0-27.28), login (= 1:4.11.1+dfsg1-2ubuntu1), lsb-base (= 11.1.0ubuntu4), lto-disabled-list (= 32), m4 (= 1.4.18-5ubuntu2), make (= 4.3-4.1build1), man-db (= 2.10.2-1), mawk (= 1.3.4.20200120-3.1), ncurses-base (= 6.3+20220423-2), ncurses-bin (= 6.3+20220423-2), patch (= 2.7.6-7build2), perl (= 5.34.0-5ubuntu1), perl-base (= 5.34.0-5ubuntu1), perl-modules-5.34 (= 5.34.0-5ubuntu1), po-debconf (= 1.0.21+nmu1), rpcsvc-proto (= 1.4.2-0ubuntu6), sed (= 4.8-1ubuntu2), sensible-utils (= 0.0.17), sysvinit-utils (= 3.01-1ubuntu1), tar (= 1.34+dfsg-1build3), util-linux (= 2.38-4ubuntu1), util-linux-extra (= 2.38-4ubuntu1), xz-utils (= 5.2.5-2.1), zlib1g (= 1:1.2.11.dfsg-2ubuntu9) Environment: DEB_BUILD_OPTIONS="noautodbgsym parallel=4" DEB_BUILD_PROFILES="noudeb" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1659627269" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ libnss-aad_0.1ppa8_ppc64el.deb ------------------------------ new Debian package, version 2.0. size 1646960 bytes: control archive=2863 bytes. 460 bytes, 15 lines control 199 bytes, 3 lines md5sums 37 bytes, 1 lines shlibs 15752 bytes, 435 lines symbols 72 bytes, 2 lines triggers Package: libnss-aad Source: aad-auth Version: 0.1ppa8 Architecture: ppc64el Maintainer: Ubuntu Developers Installed-Size: 4773 Depends: libc6 (>= 2.34) Built-Using: golang-1.18 (= 1.18.4-1ubuntu2) Section: admin Priority: optional Homepage: https://github.com/ubuntu/aad-auth Description: Azure Active Directory Authentication for NSS Azure Active Directory Authentication ... . This package contains the NSS module. drwxr-xr-x root/root 0 2022-08-04 15:34 ./ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/lib/ -rw-r--r-- root/root 4851320 2022-08-04 15:34 ./usr/lib/libnss_aad.so.2 drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/doc/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/doc/libnss-aad/ -rw-r--r-- root/root 177 2022-08-04 15:34 ./usr/share/doc/libnss-aad/changelog.gz -rw-r--r-- root/root 8244 2022-08-04 15:34 ./usr/share/doc/libnss-aad/copyright libpam-aad_0.1ppa8_ppc64el.deb ------------------------------ new Debian package, version 2.0. size 3018050 bytes: control archive=3240 bytes. 484 bytes, 15 lines control 503 bytes, 7 lines md5sums 95 bytes, 11 lines * postinst #!/bin/sh 151 bytes, 9 lines * prerm #!/bin/sh 15460 bytes, 428 lines symbols 72 bytes, 2 lines triggers Package: libpam-aad Source: aad-auth Version: 0.1ppa8 Architecture: ppc64el Maintainer: Ubuntu Developers Installed-Size: 9415 Depends: libc6 (>= 2.34), libpam0g (>= 0.99.7.1) Built-Using: golang-1.18 (= 1.18.4-1ubuntu2) Section: admin Priority: optional Homepage: https://github.com/ubuntu/aad-auth Description: Azure Active Directory Authentication for PAM Azure Active Directory Authentication ... . This package contains the PAM module. drwxr-xr-x root/root 0 2022-08-04 15:34 ./ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/lib/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/lib/powerpc64le-linux-gnu/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/lib/powerpc64le-linux-gnu/security/ -rw-r--r-- root/root 9591952 2022-08-04 15:34 ./usr/lib/powerpc64le-linux-gnu/security/pam_aad.so drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/apport/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/apport/package-hooks/ -rw-r--r-- root/root 188 2022-08-04 15:34 ./usr/share/apport/package-hooks/libpam-aad.py drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/doc/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/doc/libpam-aad/ -rw-r--r-- root/root 560 2022-08-04 15:34 ./usr/share/doc/libpam-aad/NOTICE -rw-r--r-- root/root 177 2022-08-04 15:34 ./usr/share/doc/libpam-aad/changelog.gz -rw-r--r-- root/root 8244 2022-08-04 15:34 ./usr/share/doc/libpam-aad/copyright drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/lintian/ drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 109 2022-08-04 15:34 ./usr/share/lintian/overrides/libpam-aad drwxr-xr-x root/root 0 2022-08-04 15:34 ./usr/share/pam-configs/ -rw-r--r-- root/root 207 2022-08-04 15:34 ./usr/share/pam-configs/aad +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: ppc64el Build Type: any Build-Space: 90732 Build-Time: 227 Distribution: kinetic Host Architecture: ppc64el Install-Time: 44 Job: aad-auth_0.1ppa8.dsc Machine Architecture: ppc64el Package: aad-auth Package-Time: 271 Source-Version: 0.1ppa8 Space: 90732 Status: successful Version: 0.1ppa8 -------------------------------------------------------------------------------- Finished at 2022-08-09T07:20:15Z Build needed 00:04:31, 90732k disk space Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24262099 Scanning for processes to kill in build PACKAGEBUILD-24262099