https://launchpad.net/ubuntu/+source/aad-auth/0.2/+build/24348164 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-ppc64el-014 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 13:41:48 UTC 2022 ppc64le Buildd toolchain package versions: launchpad-buildd_221~588~ubuntu20.04.1 python3-lpbuildd_221~588~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 Sep 10:34:43 ntpdate[1907]: adjust time server 10.211.37.1 offset -0.002426 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24348164 --image-type chroot /home/buildd/filecache-default/e4330c05b9443322bc2e60ef89a014a41584dba0 Creating target for build PACKAGEBUILD-24348164 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24348164 Starting target for build PACKAGEBUILD-24348164 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24348164 'deb http://ftpmaster.internal/ubuntu kinetic main universe' 'deb http://ftpmaster.internal/ubuntu kinetic-security main universe' 'deb http://ftpmaster.internal/ubuntu kinetic-updates main universe' 'deb http://ftpmaster.internal/ubuntu kinetic-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-24348164 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24348164 Updating target for build PACKAGEBUILD-24348164 Get:1 http://ftpmaster.internal/ubuntu kinetic InRelease [267 kB] Get:2 http://ftpmaster.internal/ubuntu kinetic-security InRelease [90.7 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic-updates InRelease [90.7 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic-proposed InRelease [118 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main ppc64el Packages [1336 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main Translation-en [511 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el Packages [13.7 MB] Get:8 http://ftpmaster.internal/ubuntu kinetic/universe Translation-en [5790 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el Packages [65.1 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic-proposed/main Translation-en [30.9 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic-proposed/universe ppc64el Packages [204 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic-proposed/universe Translation-en [83.7 kB] Fetched 22.3 MB in 4s (5270 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: bash cpp-12 g++-12 gcc-12 gcc-12-base libasan8 libatomic1 libcc1-0 libgcc-12-dev libgcc-s1 libgomp1 libitm1 liblsan0 libquadmath0 libstdc++-12-dev libstdc++6 libsystemd-shared libsystemd0 libtsan2 libubsan1 libudev1 linux-libc-dev lto-disabled-list systemd systemd-sysv usrmerge 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 61.1 MB of archives. After this operation, 375 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu kinetic/main ppc64el bash ppc64el 5.2~rc2-2ubuntu1 [958 kB] Get:2 http://ftpmaster.internal/ubuntu kinetic/main ppc64el systemd-sysv ppc64el 251.4-1ubuntu4 [11.2 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic/main ppc64el systemd ppc64el 251.4-1ubuntu4 [2999 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsystemd-shared ppc64el 251.4-1ubuntu4 [1882 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsystemd0 ppc64el 251.4-1ubuntu4 [401 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libcc1-0 ppc64el 12.2.0-2ubuntu1 [48.9 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libgomp1 ppc64el 12.2.0-2ubuntu1 [139 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libitm1 ppc64el 12.2.0-2ubuntu1 [32.6 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libatomic1 ppc64el 12.2.0-2ubuntu1 [10.6 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libasan8 ppc64el 12.2.0-2ubuntu1 [2452 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el liblsan0 ppc64el 12.2.0-2ubuntu1 [1082 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libtsan2 ppc64el 12.2.0-2ubuntu1 [2567 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libubsan1 ppc64el 12.2.0-2ubuntu1 [992 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libquadmath0 ppc64el 12.2.0-2ubuntu1 [155 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el gcc-12-base ppc64el 12.2.0-2ubuntu1 [19.2 kB] Get:16 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libstdc++6 ppc64el 12.2.0-2ubuntu1 [787 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el g++-12 ppc64el 12.2.0-2ubuntu1 [11.4 MB] Get:18 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libstdc++-12-dev ppc64el 12.2.0-2ubuntu1 [2289 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libgcc-12-dev ppc64el 12.2.0-2ubuntu1 [1512 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el gcc-12 ppc64el 12.2.0-2ubuntu1 [19.8 MB] Get:21 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el cpp-12 ppc64el 12.2.0-2ubuntu1 [10.0 MB] Get:22 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libgcc-s1 ppc64el 12.2.0-2ubuntu1 [34.0 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libudev1 ppc64el 251.4-1ubuntu4 [99.1 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic/main ppc64el usrmerge all 29ubuntu2 [55.8 kB] Get:25 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el linux-libc-dev ppc64el 5.19.0-16.16 [1327 kB] Get:26 http://ftpmaster.internal/ubuntu kinetic/main ppc64el lto-disabled-list all 35 [12.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 61.1 MB in 3s (20.2 MB/s) (Reading database ... 13509 files and directories currently installed.) Preparing to unpack .../bash_5.2~rc2-2ubuntu1_ppc64el.deb ... Unpacking bash (5.2~rc2-2ubuntu1) over (5.1-6ubuntu1) ... Setting up bash (5.2~rc2-2ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 13510 files and directories currently installed.) Preparing to unpack .../systemd-sysv_251.4-1ubuntu4_ppc64el.deb ... Unpacking systemd-sysv (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Preparing to unpack .../systemd_251.4-1ubuntu4_ppc64el.deb ... Unpacking systemd (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd-shared_251.4-1ubuntu4_ppc64el.deb ... Unpacking libsystemd-shared:ppc64el (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd0_251.4-1ubuntu4_ppc64el.deb ... Unpacking libsystemd0:ppc64el (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Setting up libsystemd0:ppc64el (251.4-1ubuntu4) ... (Reading database ... 13510 files and directories currently installed.) Preparing to unpack .../0-libcc1-0_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libcc1-0:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../1-libgomp1_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libgomp1:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../2-libitm1_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libitm1:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../3-libatomic1_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libatomic1:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../4-libasan8_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libasan8:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../5-liblsan0_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking liblsan0:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../6-libtsan2_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libtsan2:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../7-libubsan1_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libubsan1:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../8-libquadmath0_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libquadmath0:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../9-gcc-12-base_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking gcc-12-base:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Setting up gcc-12-base:ppc64el (12.2.0-2ubuntu1) ... (Reading database ... 13510 files and directories currently installed.) Preparing to unpack .../libstdc++6_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libstdc++6:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libstdc++6:ppc64el (12.2.0-2ubuntu1) ... (Reading database ... 13510 files and directories currently installed.) Preparing to unpack .../0-g++-12_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking g++-12 (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../1-libstdc++-12-dev_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libstdc++-12-dev:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../2-libgcc-12-dev_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libgcc-12-dev:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../3-gcc-12_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking gcc-12 (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../4-cpp-12_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking cpp-12 (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../5-libgcc-s1_12.2.0-2ubuntu1_ppc64el.deb ... Unpacking libgcc-s1:ppc64el (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libgcc-s1:ppc64el (12.2.0-2ubuntu1) ... (Reading database ... 13510 files and directories currently installed.) Preparing to unpack .../libudev1_251.4-1ubuntu4_ppc64el.deb ... Unpacking libudev1:ppc64el (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Setting up libudev1:ppc64el (251.4-1ubuntu4) ... (Reading database ... 13510 files and directories currently installed.) Preparing to unpack .../usrmerge_29ubuntu2_all.deb ... Unpacking usrmerge (29ubuntu2) over (29ubuntu1) ... Preparing to unpack .../linux-libc-dev_5.19.0-16.16_ppc64el.deb ... Unpacking linux-libc-dev:ppc64el (5.19.0-16.16) over (5.15.0-27.28) ... Preparing to unpack .../lto-disabled-list_35_all.deb ... Unpacking lto-disabled-list (35) over (33) ... Setting up lto-disabled-list (35) ... Setting up cpp-12 (12.2.0-2ubuntu1) ... Setting up linux-libc-dev:ppc64el (5.19.0-16.16) ... Setting up libgomp1:ppc64el (12.2.0-2ubuntu1) ... Setting up libquadmath0:ppc64el (12.2.0-2ubuntu1) ... Setting up libatomic1:ppc64el (12.2.0-2ubuntu1) ... Setting up libsystemd-shared:ppc64el (251.4-1ubuntu4) ... Setting up usrmerge (29ubuntu2) ... Setting up libubsan1:ppc64el (12.2.0-2ubuntu1) ... Setting up libasan8:ppc64el (12.2.0-2ubuntu1) ... Setting up libtsan2:ppc64el (12.2.0-2ubuntu1) ... Setting up libcc1-0:ppc64el (12.2.0-2ubuntu1) ... Setting up liblsan0:ppc64el (12.2.0-2ubuntu1) ... Setting up libitm1:ppc64el (12.2.0-2ubuntu1) ... Setting up systemd (251.4-1ubuntu4) ... Initializing machine ID from random generator. Setting up libgcc-12-dev:ppc64el (12.2.0-2ubuntu1) ... Setting up systemd-sysv (251.4-1ubuntu4) ... Setting up libstdc++-12-dev:ppc64el (12.2.0-2ubuntu1) ... Setting up gcc-12 (12.2.0-2ubuntu1) ... Setting up g++-12 (12.2.0-2ubuntu1) ... Processing triggers for debianutils (5.7-0.3) ... Processing triggers for libc-bin (2.36-0ubuntu2) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-24348164 ppc64el kinetic-proposed -c chroot:build-PACKAGEBUILD-24348164 --arch=ppc64el --dist=kinetic-proposed --nolog aad-auth_0.2.dsc Initiating build PACKAGEBUILD-24348164 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 13:41:48 UTC 2022 ppc64le sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-ppc64el-014.buildd +==============================================================================+ | aad-auth 0.2 (ppc64el) Fri, 09 Sep 2022 10:35:02 +0000 | +==============================================================================+ Package: aad-auth Version: 0.2 Source Version: 0.2 Distribution: kinetic-proposed Machine Architecture: ppc64el Host Architecture: ppc64el Build Architecture: ppc64el Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-24348164/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/aad-auth-m71ssh/resolver-lPeOd6' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- aad-auth_0.2.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/aad-auth-m71ssh/aad-auth-0.2' with '<>' I: NOTICE: Log filtering will replace 'build/aad-auth-m71ssh' 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), libglib2.0-dev (>= 2.72.1), pkg-config (>= 0.29.2), 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), libglib2.0-dev (>= 2.72.1), pkg-config (>= 0.29.2), 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 [443 B] Get:5 copy:/<>/apt_archive ./ Packages [533 B] Fetched 1933 B in 0s (186 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.19-go golang-1.19-src golang-go golang-src groff-base intltool-debian libarchive-zip-perl libblkid-dev libdebhelper-perl libdw1 libelf1 libexpat1 libffi-dev libfile-stripnondeterminism-perl libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libicu71 libmagic-mgc libmagic1 libmount-dev libmpdec3 libpam0g-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpipeline1 libpython3-stdlib libpython3.10-minimal libpython3.10-stdlib libselinux1-dev libsepol-dev libsub-override-perl libtool libuchardet0 libxml2 m4 man-db media-types pkg-config po-debconf python3 python3-distutils python3-lib2to3 python3-minimal python3.10 python3.10-minimal uuid-dev zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc libasprintf-dev libgettextpo-dev bzr | brz git mercurial subversion groff libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin | libgdk-pixbuf2.0-dev libxml2-utils libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl python3-doc python3-tk python3-venv python3.10-venv python3.10-doc binfmt-support Recommended packages: curl | wget | lynx libarchive-cpio-perl shared-mime-info xdg-user-dirs 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.19-go golang-1.19-src golang-go golang-src groff-base intltool-debian libarchive-zip-perl libblkid-dev libdebhelper-perl libdw1 libelf1 libexpat1 libffi-dev libfile-stripnondeterminism-perl libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libicu71 libmagic-mgc libmagic1 libmount-dev libmpdec3 libpam0g-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpipeline1 libpython3-stdlib libpython3.10-minimal libpython3.10-stdlib libselinux1-dev libsepol-dev libsub-override-perl libtool libuchardet0 libxml2 m4 man-db media-types pkg-config po-debconf python3 python3-distutils python3-lib2to3 python3-minimal python3.10 python3.10-minimal sbuild-build-depends-main-dummy uuid-dev zlib1g-dev 0 upgraded, 68 newly installed, 0 to remove and 0 not upgraded. Need to get 113 MB of archives. After this operation, 593 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [754 B] Get:2 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libpython3.10-minimal ppc64el 3.10.7-1 [803 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libexpat1 ppc64el 2.4.8-1 [104 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el python3.10-minimal ppc64el 3.10.7-1 [2205 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-minimal ppc64el 3.10.6-1 [24.1 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main ppc64el media-types all 8.0.0 [24.9 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmpdec3 ppc64el 2.5.1-2build2 [116 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libpython3.10-stdlib ppc64el 3.10.7-1 [1800 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el python3.10 ppc64el 3.10.7-1 [497 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpython3-stdlib ppc64el 3.10.6-1 [6850 B] Get:11 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3 ppc64el 3.10.6-1 [22.3 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libelf1 ppc64el 0.187-2 [60.9 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglib2.0-0 ppc64el 2.73.3-3 [1657 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglib2.0-data all 2.73.3-3 [18.4 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libicu71 ppc64el 71.1-3 [10.9 MB] Get:16 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxml2 ppc64el 2.9.14+dfsg-1 [827 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic/main ppc64el bsdextrautils ppc64el 2.38-4ubuntu1 [77.3 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmagic-mgc ppc64el 1:5.41-4 [257 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmagic1 ppc64el 1:5.41-4 [103 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic/main ppc64el file ppc64el 1:5.41-4 [22.6 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gettext-base ppc64el 0.21-8 [42.0 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libuchardet0 ppc64el 0.0.7-1build2 [80.4 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main ppc64el groff-base ppc64el 1.22.4-8build1 [1031 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpipeline1 ppc64el 1.5.6-2 [25.8 kB] Get:25 http://ftpmaster.internal/ubuntu kinetic/main ppc64el man-db ppc64el 2.10.2-2 [1219 kB] Get:26 http://ftpmaster.internal/ubuntu kinetic/main ppc64el m4 ppc64el 1.4.19-1 [275 kB] Get:27 http://ftpmaster.internal/ubuntu kinetic/main ppc64el autoconf all 2.71-2 [338 kB] Get:28 http://ftpmaster.internal/ubuntu kinetic/main ppc64el autotools-dev all 20220109.1 [44.9 kB] Get:29 http://ftpmaster.internal/ubuntu kinetic/main ppc64el automake all 1:1.16.5-1.3 [558 kB] Get:30 http://ftpmaster.internal/ubuntu kinetic/main ppc64el autopoint all 0.21-8 [421 kB] Get:31 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdebhelper-perl all 13.9.1ubuntu1 [66.4 kB] Get:32 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libtool all 2.4.7-4 [166 kB] Get:33 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dh-autoreconf all 20 [16.1 kB] Get:34 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] Get:35 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsub-override-perl all 0.09-3 [9756 B] Get:36 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] Get:37 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dh-strip-nondeterminism all 1.13.0-1 [5344 B] Get:38 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdw1 ppc64el 0.187-2 [280 kB] Get:39 http://ftpmaster.internal/ubuntu kinetic/main ppc64el debugedit ppc64el 1:5.0-5 [51.1 kB] Get:40 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dwz ppc64el 0.14-1build2 [124 kB] Get:41 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gettext ppc64el 0.21-8 [970 kB] Get:42 http://ftpmaster.internal/ubuntu kinetic/main ppc64el intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:43 http://ftpmaster.internal/ubuntu kinetic/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] Get:44 http://ftpmaster.internal/ubuntu kinetic/main ppc64el debhelper all 13.9.1ubuntu1 [939 kB] Get:45 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el dh-apport all 2.23.0-0ubuntu1 [7074 B] Get:46 http://ftpmaster.internal/ubuntu kinetic/main ppc64el golang-1.19-src all 1.19-1ubuntu2 [19.2 MB] Get:47 http://ftpmaster.internal/ubuntu kinetic/main ppc64el golang-1.19-go ppc64el 1.19-1ubuntu2 [62.3 MB] Get:48 http://ftpmaster.internal/ubuntu kinetic/main ppc64el golang-src all 2:1.19~1 [4466 B] Get:49 http://ftpmaster.internal/ubuntu kinetic/main ppc64el golang-go ppc64el 2:1.19~1 [43.3 kB] Get:50 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglib2.0-bin ppc64el 2.73.3-3 [101 kB] Get:51 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libffi-dev ppc64el 3.4.2-4 [67.5 kB] Get:52 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-lib2to3 all 3.10.6-1 [77.5 kB] Get:53 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-distutils all 3.10.6-1 [139 kB] Get:54 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglib2.0-dev-bin ppc64el 2.73.3-3 [131 kB] Get:55 http://ftpmaster.internal/ubuntu kinetic/main ppc64el uuid-dev ppc64el 2.38-4ubuntu1 [36.2 kB] Get:56 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libblkid-dev ppc64el 2.38-4ubuntu1 [238 kB] Get:57 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsepol-dev ppc64el 3.4-2 [465 kB] Get:58 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpcre2-16-0 ppc64el 10.40-1ubuntu1 [241 kB] Get:59 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpcre2-32-0 ppc64el 10.40-1ubuntu1 [225 kB] Get:60 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpcre2-posix3 ppc64el 10.40-1ubuntu1 [6440 B] Get:61 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpcre2-dev ppc64el 10.40-1ubuntu1 [790 kB] Get:62 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libselinux1-dev ppc64el 3.4-1 [191 kB] Get:63 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmount-dev ppc64el 2.38-4ubuntu1 [14.7 kB] Get:64 http://ftpmaster.internal/ubuntu kinetic/main ppc64el pkg-config ppc64el 0.29.2-1ubuntu3 [51.9 kB] Get:65 http://ftpmaster.internal/ubuntu kinetic/main ppc64el zlib1g-dev ppc64el 1:1.2.11.dfsg-4.1ubuntu1 [175 kB] Get:66 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglib2.0-dev ppc64el 2.73.3-3 [2083 kB] Get:67 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpam0g-dev ppc64el 1.5.2-2ubuntu1 [119 kB] Get:68 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 113 MB in 4s (26.6 MB/s) Selecting previously unselected package libpython3.10-minimal:ppc64el. (Reading database ... 13521 files and directories currently installed.) Preparing to unpack .../libpython3.10-minimal_3.10.7-1_ppc64el.deb ... Unpacking libpython3.10-minimal:ppc64el (3.10.7-1) ... Selecting previously unselected package libexpat1:ppc64el. Preparing to unpack .../libexpat1_2.4.8-1_ppc64el.deb ... Unpacking libexpat1:ppc64el (2.4.8-1) ... Selecting previously unselected package python3.10-minimal. Preparing to unpack .../python3.10-minimal_3.10.7-1_ppc64el.deb ... Unpacking python3.10-minimal (3.10.7-1) ... Setting up libpython3.10-minimal:ppc64el (3.10.7-1) ... Setting up libexpat1:ppc64el (2.4.8-1) ... Setting up python3.10-minimal (3.10.7-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 13823 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.10.6-1_ppc64el.deb ... Unpacking python3-minimal (3.10.6-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_8.0.0_all.deb ... Unpacking media-types (8.0.0) ... Selecting previously unselected package libmpdec3:ppc64el. Preparing to unpack .../2-libmpdec3_2.5.1-2build2_ppc64el.deb ... Unpacking libmpdec3:ppc64el (2.5.1-2build2) ... Selecting previously unselected package libpython3.10-stdlib:ppc64el. Preparing to unpack .../3-libpython3.10-stdlib_3.10.7-1_ppc64el.deb ... Unpacking libpython3.10-stdlib:ppc64el (3.10.7-1) ... Selecting previously unselected package python3.10. Preparing to unpack .../4-python3.10_3.10.7-1_ppc64el.deb ... Unpacking python3.10 (3.10.7-1) ... Selecting previously unselected package libpython3-stdlib:ppc64el. Preparing to unpack .../5-libpython3-stdlib_3.10.6-1_ppc64el.deb ... Unpacking libpython3-stdlib:ppc64el (3.10.6-1) ... Setting up python3-minimal (3.10.6-1) ... Selecting previously unselected package python3. (Reading database ... 14224 files and directories currently installed.) Preparing to unpack .../00-python3_3.10.6-1_ppc64el.deb ... Unpacking python3 (3.10.6-1) ... Selecting previously unselected package libelf1:ppc64el. Preparing to unpack .../01-libelf1_0.187-2_ppc64el.deb ... Unpacking libelf1:ppc64el (0.187-2) ... Selecting previously unselected package libglib2.0-0:ppc64el. Preparing to unpack .../02-libglib2.0-0_2.73.3-3_ppc64el.deb ... Unpacking libglib2.0-0:ppc64el (2.73.3-3) ... Selecting previously unselected package libglib2.0-data. Preparing to unpack .../03-libglib2.0-data_2.73.3-3_all.deb ... Unpacking libglib2.0-data (2.73.3-3) ... Selecting previously unselected package libicu71:ppc64el. Preparing to unpack .../04-libicu71_71.1-3_ppc64el.deb ... Unpacking libicu71:ppc64el (71.1-3) ... Selecting previously unselected package libxml2:ppc64el. Preparing to unpack .../05-libxml2_2.9.14+dfsg-1_ppc64el.deb ... Unpacking libxml2:ppc64el (2.9.14+dfsg-1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../06-bsdextrautils_2.38-4ubuntu1_ppc64el.deb ... Unpacking bsdextrautils (2.38-4ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.41-4_ppc64el.deb ... Unpacking libmagic-mgc (1:5.41-4) ... Selecting previously unselected package libmagic1:ppc64el. Preparing to unpack .../08-libmagic1_1%3a5.41-4_ppc64el.deb ... Unpacking libmagic1:ppc64el (1:5.41-4) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.41-4_ppc64el.deb ... Unpacking file (1:5.41-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.21-8_ppc64el.deb ... Unpacking gettext-base (0.21-8) ... Selecting previously unselected package libuchardet0:ppc64el. Preparing to unpack .../11-libuchardet0_0.0.7-1build2_ppc64el.deb ... Unpacking libuchardet0:ppc64el (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../12-groff-base_1.22.4-8build1_ppc64el.deb ... Unpacking groff-base (1.22.4-8build1) ... Selecting previously unselected package libpipeline1:ppc64el. Preparing to unpack .../13-libpipeline1_1.5.6-2_ppc64el.deb ... Unpacking libpipeline1:ppc64el (1.5.6-2) ... Selecting previously unselected package man-db. Preparing to unpack .../14-man-db_2.10.2-2_ppc64el.deb ... Unpacking man-db (2.10.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../15-m4_1.4.19-1_ppc64el.deb ... Unpacking m4 (1.4.19-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../16-autoconf_2.71-2_all.deb ... Unpacking autoconf (2.71-2) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../17-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../18-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 .../19-autopoint_0.21-8_all.deb ... Unpacking autopoint (0.21-8) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../20-libdebhelper-perl_13.9.1ubuntu1_all.deb ... Unpacking libdebhelper-perl (13.9.1ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../21-libtool_2.4.7-4_all.deb ... Unpacking libtool (2.4.7-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../22-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../23-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 .../24-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 .../25-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 .../26-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 .../27-libdw1_0.187-2_ppc64el.deb ... Unpacking libdw1:ppc64el (0.187-2) ... Selecting previously unselected package debugedit. Preparing to unpack .../28-debugedit_1%3a5.0-5_ppc64el.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../29-dwz_0.14-1build2_ppc64el.deb ... Unpacking dwz (0.14-1build2) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.21-8_ppc64el.deb ... Unpacking gettext (0.21-8) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../31-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 .../32-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../33-debhelper_13.9.1ubuntu1_all.deb ... Unpacking debhelper (13.9.1ubuntu1) ... Selecting previously unselected package dh-apport. Preparing to unpack .../34-dh-apport_2.23.0-0ubuntu1_all.deb ... Unpacking dh-apport (2.23.0-0ubuntu1) ... Selecting previously unselected package golang-1.19-src. Preparing to unpack .../35-golang-1.19-src_1.19-1ubuntu2_all.deb ... Unpacking golang-1.19-src (1.19-1ubuntu2) ... Selecting previously unselected package golang-1.19-go. Preparing to unpack .../36-golang-1.19-go_1.19-1ubuntu2_ppc64el.deb ... Unpacking golang-1.19-go (1.19-1ubuntu2) ... Selecting previously unselected package golang-src. Preparing to unpack .../37-golang-src_2%3a1.19~1_all.deb ... Unpacking golang-src (2:1.19~1) ... Selecting previously unselected package golang-go:ppc64el. Preparing to unpack .../38-golang-go_2%3a1.19~1_ppc64el.deb ... Unpacking golang-go:ppc64el (2:1.19~1) ... Selecting previously unselected package libglib2.0-bin. Preparing to unpack .../39-libglib2.0-bin_2.73.3-3_ppc64el.deb ... Unpacking libglib2.0-bin (2.73.3-3) ... Selecting previously unselected package libffi-dev:ppc64el. Preparing to unpack .../40-libffi-dev_3.4.2-4_ppc64el.deb ... Unpacking libffi-dev:ppc64el (3.4.2-4) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../41-python3-lib2to3_3.10.6-1_all.deb ... Unpacking python3-lib2to3 (3.10.6-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../42-python3-distutils_3.10.6-1_all.deb ... Unpacking python3-distutils (3.10.6-1) ... Selecting previously unselected package libglib2.0-dev-bin. Preparing to unpack .../43-libglib2.0-dev-bin_2.73.3-3_ppc64el.deb ... Unpacking libglib2.0-dev-bin (2.73.3-3) ... Selecting previously unselected package uuid-dev:ppc64el. Preparing to unpack .../44-uuid-dev_2.38-4ubuntu1_ppc64el.deb ... Unpacking uuid-dev:ppc64el (2.38-4ubuntu1) ... Selecting previously unselected package libblkid-dev:ppc64el. Preparing to unpack .../45-libblkid-dev_2.38-4ubuntu1_ppc64el.deb ... Unpacking libblkid-dev:ppc64el (2.38-4ubuntu1) ... Selecting previously unselected package libsepol-dev:ppc64el. Preparing to unpack .../46-libsepol-dev_3.4-2_ppc64el.deb ... Unpacking libsepol-dev:ppc64el (3.4-2) ... Selecting previously unselected package libpcre2-16-0:ppc64el. Preparing to unpack .../47-libpcre2-16-0_10.40-1ubuntu1_ppc64el.deb ... Unpacking libpcre2-16-0:ppc64el (10.40-1ubuntu1) ... Selecting previously unselected package libpcre2-32-0:ppc64el. Preparing to unpack .../48-libpcre2-32-0_10.40-1ubuntu1_ppc64el.deb ... Unpacking libpcre2-32-0:ppc64el (10.40-1ubuntu1) ... Selecting previously unselected package libpcre2-posix3:ppc64el. Preparing to unpack .../49-libpcre2-posix3_10.40-1ubuntu1_ppc64el.deb ... Unpacking libpcre2-posix3:ppc64el (10.40-1ubuntu1) ... Selecting previously unselected package libpcre2-dev:ppc64el. Preparing to unpack .../50-libpcre2-dev_10.40-1ubuntu1_ppc64el.deb ... Unpacking libpcre2-dev:ppc64el (10.40-1ubuntu1) ... Selecting previously unselected package libselinux1-dev:ppc64el. Preparing to unpack .../51-libselinux1-dev_3.4-1_ppc64el.deb ... Unpacking libselinux1-dev:ppc64el (3.4-1) ... Selecting previously unselected package libmount-dev:ppc64el. Preparing to unpack .../52-libmount-dev_2.38-4ubuntu1_ppc64el.deb ... Unpacking libmount-dev:ppc64el (2.38-4ubuntu1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../53-pkg-config_0.29.2-1ubuntu3_ppc64el.deb ... Unpacking pkg-config (0.29.2-1ubuntu3) ... Selecting previously unselected package zlib1g-dev:ppc64el. Preparing to unpack .../54-zlib1g-dev_1%3a1.2.11.dfsg-4.1ubuntu1_ppc64el.deb ... Unpacking zlib1g-dev:ppc64el (1:1.2.11.dfsg-4.1ubuntu1) ... Selecting previously unselected package libglib2.0-dev:ppc64el. Preparing to unpack .../55-libglib2.0-dev_2.73.3-3_ppc64el.deb ... Unpacking libglib2.0-dev:ppc64el (2.73.3-3) ... Selecting previously unselected package libpam0g-dev:ppc64el. Preparing to unpack .../56-libpam0g-dev_1.5.2-2ubuntu1_ppc64el.deb ... Unpacking libpam0g-dev:ppc64el (1.5.2-2ubuntu1) ... Selecting previously unselected package dh-golang. Preparing to unpack .../57-dh-golang_1.58_all.deb ... Unpacking dh-golang (1.58) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../58-sbuild-build-depends-main-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (8.0.0) ... Setting up libpipeline1:ppc64el (1.5.6-2) ... Setting up libicu71:ppc64el (71.1-3) ... Setting up bsdextrautils (2.38-4ubuntu1) ... Setting up libpam0g-dev:ppc64el (1.5.2-2ubuntu1) ... Setting up libmagic-mgc (1:5.41-4) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:ppc64el (2.73.3-3) ... No schema files found: doing nothing. Setting up libdebhelper-perl (13.9.1ubuntu1) ... Setting up libmagic1:ppc64el (1:5.41-4) ... Setting up gettext-base (0.21-8) ... Setting up golang-1.19-src (1.19-1ubuntu2) ... Setting up m4 (1.4.19-1) ... Setting up file (1:5.41-4) ... Setting up libffi-dev:ppc64el (3.4.2-4) ... Setting up dh-apport (2.23.0-0ubuntu1) ... Setting up libpcre2-16-0:ppc64el (10.40-1ubuntu1) ... Setting up autotools-dev (20220109.1) ... Setting up libpcre2-32-0:ppc64el (10.40-1ubuntu1) ... Setting up libglib2.0-data (2.73.3-3) ... Setting up uuid-dev:ppc64el (2.38-4ubuntu1) ... Setting up autopoint (0.21-8) ... Setting up pkg-config (0.29.2-1ubuntu3) ... Setting up libsepol-dev:ppc64el (3.4-2) ... Setting up autoconf (2.71-2) ... Setting up zlib1g-dev:ppc64el (1:1.2.11.dfsg-4.1ubuntu1) ... Setting up libpcre2-posix3:ppc64el (10.40-1ubuntu1) ... Setting up libuchardet0:ppc64el (0.0.7-1build2) ... Setting up libmpdec3:ppc64el (2.5.1-2build2) ... Setting up libsub-override-perl (0.09-3) ... Setting up golang-src (2:1.19~1) ... Setting up libelf1:ppc64el (0.187-2) ... Setting up libxml2:ppc64el (2.9.14+dfsg-1) ... Setting up golang-1.19-go (1.19-1ubuntu2) ... 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 libfile-stripnondeterminism-perl (1.13.0-1) ... Setting up libblkid-dev:ppc64el (2.38-4ubuntu1) ... Setting up libdw1:ppc64el (0.187-2) ... Setting up gettext (0.21-8) ... Setting up libpcre2-dev:ppc64el (10.40-1ubuntu1) ... Setting up libtool (2.4.7-4) ... Setting up golang-go:ppc64el (2:1.19~1) ... Setting up libselinux1-dev:ppc64el (3.4-1) ... Setting up libglib2.0-bin (2.73.3-3) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libpython3.10-stdlib:ppc64el (3.10.7-1) ... Setting up dh-autoreconf (20) ... 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 libmount-dev:ppc64el (2.38-4ubuntu1) ... Setting up libpython3-stdlib:ppc64el (3.10.6-1) ... Setting up python3.10 (3.10.7-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up python3 (3.10.6-1) ... Setting up man-db (2.10.2-2) ... 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 python3-lib2to3 (3.10.6-1) ... Setting up python3-distutils (3.10.6-1) ... Setting up libglib2.0-dev-bin (2.73.3-3) ... Setting up debhelper (13.9.1ubuntu1) ... Setting up libglib2.0-dev:ppc64el (2.73.3-3) ... Setting up dh-golang (1.58) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.36-0ubuntu2) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (ppc64el included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 13:41:48 UTC 2022 ppc64el (ppc64le) Toolchain package versions: binutils_2.39-1ubuntu1 dpkg-dev_1.21.9ubuntu1 g++-12_12.2.0-2ubuntu1 gcc-12_12.2.0-2ubuntu1 libc6-dev_2.36-0ubuntu2 libstdc++-12-dev_12.2.0-2ubuntu1 libstdc++6_12.2.0-2ubuntu1 linux-libc-dev_5.19.0-16.16 Package versions: adduser_3.121ubuntu1 advancecomp_2.3-1 apt_2.5.2 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-8 autotools-dev_20220109.1 base-files_12.2ubuntu2 base-passwd_3.6.0 bash_5.2~rc2-2ubuntu1 binutils_2.39-1ubuntu1 binutils-common_2.39-1ubuntu1 binutils-powerpc64le-linux-gnu_2.39-1ubuntu1 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:12.2.0-1ubuntu1 cpp-12_12.2.0-2ubuntu1 dash_0.5.11+git20210903+057cd650a4ed-8ubuntu1 debconf_1.5.79ubuntu1 debhelper_13.9.1ubuntu1 debianutils_5.7-0.3 debugedit_1:5.0-5 dh-apport_2.23.0-0ubuntu1 dh-autoreconf_20 dh-golang_1.58 dh-strip-nondeterminism_1.13.0-1 diffutils_1:3.8-1 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.9.0-3ubuntu1 g++_4:12.2.0-1ubuntu1 g++-12_12.2.0-2ubuntu1 gcc_4:12.2.0-1ubuntu1 gcc-12_12.2.0-2ubuntu1 gcc-12-base_12.2.0-2ubuntu1 gettext_0.21-8 gettext-base_0.21-8 golang-1.19-go_1.19-1ubuntu2 golang-1.19-src_1.19-1ubuntu2 golang-go_2:1.19~1 golang-src_2:1.19~1 gpg_2.2.35-3ubuntu1 gpg-agent_2.2.35-3ubuntu1 gpgconf_2.2.35-3ubuntu1 gpgv_2.2.35-3ubuntu1 grep_3.7-1build1 groff-base_1.22.4-8build1 gzip_1.12-1ubuntu1 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.7-1ubuntu1 libapt-pkg6.0_2.5.2 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.3 libasan8_12.2.0-2ubuntu1 libassuan0_2.5.5-4 libatomic1_12.2.0-2ubuntu1 libattr1_1:2.5.1-1build1 libaudit-common_1:3.0.7-1build1 libaudit1_1:3.0.7-1build1 libbinutils_2.39-1ubuntu1 libblkid-dev_2.38-4ubuntu1 libblkid1_2.38-4ubuntu1 libbz2-1.0_1.0.8-5build1 libc-bin_2.36-0ubuntu2 libc-dev-bin_2.36-0ubuntu2 libc6_2.36-0ubuntu2 libc6-dev_2.36-0ubuntu2 libcap-ng0_0.8.3-1 libcap2_1:2.44-1build3 libcc1-0_12.2.0-2ubuntu1 libcom-err2_1.46.5-2ubuntu2 libcrypt-dev_1:4.4.28-2 libcrypt1_1:4.4.28-2 libcryptsetup12_2:2.5.0-2ubuntu1 libctf-nobfd0_2.39-1ubuntu1 libctf0_2.39-1ubuntu1 libdb5.3_5.3.28+dfsg1-0.10 libdebconfclient0_0.264ubuntu1 libdebhelper-perl_13.9.1ubuntu1 libdevmapper1.02.1_2:1.02.185-1ubuntu1 libdpkg-perl_1.21.9ubuntu1 libdw1_0.187-2 libelf1_0.187-2 libexpat1_2.4.8-1 libext2fs2_1.46.5-2ubuntu2 libfakeroot_1.29-1ubuntu1 libfdisk1_2.38-4ubuntu1 libffi-dev_3.4.2-4 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-1 libgcc-12-dev_12.2.0-2ubuntu1 libgcc-s1_12.2.0-2ubuntu1 libgcrypt20_1.10.1-2ubuntu1 libgdbm-compat4_1.23-1 libgdbm6_1.23-1 libglib2.0-0_2.73.3-3 libglib2.0-bin_2.73.3-3 libglib2.0-data_2.73.3-3 libglib2.0-dev_2.73.3-3 libglib2.0-dev-bin_2.73.3-3 libgmp10_2:6.2.1+dfsg1-1ubuntu2 libgnutls30_3.7.7-2ubuntu1 libgomp1_12.2.0-2ubuntu1 libgpg-error0_1.45-2 libgssapi-krb5-2_1.20-1 libhogweed6_3.8.1-2 libicu71_71.1-3 libidn2-0_2.3.3-1 libip4tc2_1.8.7-1ubuntu6 libisl23_0.25-1 libitm1_12.2.0-2ubuntu1 libjson-c5_0.16-1 libk5crypto3_1.20-1 libkeyutils1_1.6.3-1 libkmod2_30+20220630-3ubuntu1 libkrb5-3_1.20-1 libkrb5support0_1.20-1 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 liblsan0_12.2.0-2ubuntu1 liblz4-1_1.9.3-2build2 liblzma5_5.2.5-2.1 libmagic-mgc_1:5.41-4 libmagic1_1:5.41-4 libmount-dev_2.38-4ubuntu1 libmount1_2.38-4ubuntu1 libmpc3_1.2.1-2build1 libmpdec3_2.5.1-2build2 libmpfr6_4.1.0-3build3 libncurses6_6.3+20220423-2 libncursesw6_6.3+20220423-2 libnettle8_3.8.1-2 libnpth0_1.6-3build2 libnsl-dev_1.3.0-2build2 libnsl2_1.3.0-2build2 libp11-kit0_0.24.1-1ubuntu1 libpam-modules_1.5.2-2ubuntu1 libpam-modules-bin_1.5.2-2ubuntu1 libpam-runtime_1.5.2-2ubuntu1 libpam0g_1.5.2-2ubuntu1 libpam0g-dev_1.5.2-2ubuntu1 libpcre2-16-0_10.40-1ubuntu1 libpcre2-32-0_10.40-1ubuntu1 libpcre2-8-0_10.40-1ubuntu1 libpcre2-dev_10.40-1ubuntu1 libpcre2-posix3_10.40-1ubuntu1 libpcre3_2:8.39-14 libperl5.34_5.34.0-5ubuntu1 libpipeline1_1.5.6-2 libpng16-16_1.6.37-5 libprocps8_2:3.3.17-7ubuntu1 libpython3-stdlib_3.10.6-1 libpython3.10-minimal_3.10.7-1 libpython3.10-stdlib_3.10.7-1 libquadmath0_12.2.0-2ubuntu1 libreadline8_8.2~rc2-2 libseccomp2_2.5.4-1ubuntu1 libselinux1_3.4-1 libselinux1-dev_3.4-1 libsemanage-common_3.4-1 libsemanage2_3.4-1 libsepol-dev_3.4-2 libsepol2_3.4-2 libsmartcols1_2.38-4ubuntu1 libsqlite3-0_3.39.2-1 libss2_1.46.5-2ubuntu2 libssl3_3.0.5-2ubuntu1 libstdc++-12-dev_12.2.0-2ubuntu1 libstdc++6_12.2.0-2ubuntu1 libsub-override-perl_0.09-3 libsystemd-shared_251.4-1ubuntu4 libsystemd0_251.4-1ubuntu4 libtasn1-6_4.18.0-4build1 libtinfo6_6.3+20220423-2 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-4 libtsan2_12.2.0-2ubuntu1 libubsan1_12.2.0-2ubuntu1 libuchardet0_0.0.7-1build2 libudev1_251.4-1ubuntu4 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.19.0-16.16 lockfile-progs_0.1.19build1 login_1:4.11.1+dfsg1-2ubuntu1 logsave_1.46.5-2ubuntu2 lsb-base_11.2ubuntu1 lto-disabled-list_35 m4_1.4.19-1 make_4.3-4.1build1 man-db_2.10.2-2 mawk_1.3.4.20200120-3.1 media-types_8.0.0 mount_2.38-4ubuntu1 ncurses-base_6.3+20220423-2 ncurses-bin_6.3+20220423-2 openssl_3.0.5-2ubuntu1 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 pkg-config_0.29.2-1ubuntu3 pkgbinarymangler_149 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3.1 procps_2:3.3.17-7ubuntu1 python3_3.10.6-1 python3-distutils_3.10.6-1 python3-lib2to3_3.10.6-1 python3-minimal_3.10.6-1 python3.10_3.10.7-1 python3.10-minimal_3.10.7-1 readline-common_8.2~rc2-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.4-1ubuntu4 systemd-sysv_251.4-1ubuntu4 sysvinit-utils_3.04-1ubuntu1 tar_1.34+dfsg-1build3 tzdata_2022c-1ubuntu3 ubuntu-keyring_2021.03.26 usrmerge_29ubuntu2 util-linux_2.38-4ubuntu1 util-linux-extra_2.38-4ubuntu1 uuid-dev_2.38-4ubuntu1 xz-utils_5.2.5-2.1 zlib1g_1:1.2.11.dfsg-4.1ubuntu1 zlib1g-dev_1:1.2.11.dfsg-4.1ubuntu1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 3.0 (native) Source: aad-auth Binary: libpam-aad, libnss-aad, aad-common Architecture: any all Version: 0.2 Maintainer: Ubuntu Developers Homepage: https://github.com/ubuntu/aad-auth Description: Azure Active Directory Authentication Azure Active Directory Authentication enables authentication of Azure Active Directory accounts on your local system. It dynamically creates local accounts, supporting additional features like offline connectivity. 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), libglib2.0-dev (>= 2.72.1), pkg-config (>= 0.29.2) Package-List: aad-common deb admin optional arch=all libnss-aad deb admin optional arch=any libpam-aad deb admin optional arch=any Checksums-Sha1: 3dd1b4387e6f7471c866b5295ab3541e8ad97daa 2142520 aad-auth_0.2.tar.xz Checksums-Sha256: 1d16625f86536e90b686f993eb3dd2502a8d194d884838f038e5aeb3f5dc80e5 2142520 aad-auth_0.2.tar.xz Files: ebf87d66ace23f9f211903851e76ddb1 2142520 aad-auth_0.2.tar.xz Go-Import-Path: github.com/ubuntu/aad-auth -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTdAO+PTSPDDXjsmQmYskqc5KwgjgUCYxsWgAAKCRCYskqc5Kwg jigQAJ9yOk15tVjXy++cqlBJL6sc6IxfUQCeL+bQrMzsL2Qye0YUzewBK706qIw= =0G9O -----END PGP SIGNATURE----- gpgv: Signature made Fri Sep 9 10:33:36 2022 UTC gpgv: using DSA key DD00EF8F4D23C30D78EC990998B24A9CE4AC208E gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify signature ./aad-auth_0.2.dsc dpkg-source: info: extracting aad-auth in /<> dpkg-source: info: unpacking aad-auth_0.2.tar.xz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=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-24348164 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-24348164 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-24348164 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.2 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 make -C nss/ make[2]: Entering directory '/<>/nss' rm -f libnss_aad.so.2 gcc -DSCRIPTPATH=\"/usr/libexec/aad-auth\" *.c -g -Wall -Wextra -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lglib-2.0 -fPIC -shared -Wl,-soname,libnss_aad.so.2 -o libnss_aad.so.2 common.c: In function ‘run_aad_auth’: common.c:52:9: warning: format not a string literal and no format arguments [-Wformat-security] 52 | g_fprintf(stderr, err); | ^~~~~~~~~ common.c:60:9: warning: format not a string literal and no format arguments [-Wformat-security] 60 | g_fprintf(stderr, err); | ^~~~~~~~~ make[2]: Leaving directory '/<>/nss' # Build the CLI # DH_GOLANG_BUILDPKG=github.com/ubuntu/aad-auth/cmd/aad-auth dh_auto_build # Build the NSS helper binary DH_GOLANG_BUILDPKG=github.com/ubuntu/aad-auth/nss/aad-auth dh_auto_build cd obj-powerpc64le-linux-gnu && go install -trimpath -v -p 4 github.com/ubuntu/aad-auth/nss/aad-auth internal/goarch internal/unsafeheader internal/goexperiment internal/cpu internal/abi internal/goos runtime/internal/atomic runtime/internal/math runtime/internal/sys internal/bytealg runtime/internal/syscall internal/race sync/atomic internal/itoa encoding math/bits unicode/utf8 unicode runtime math crypto/internal/subtle crypto/subtle crypto/internal/boring/sig internal/nettrace internal/reflectlite sync internal/testlog math/rand runtime/cgo internal/singleflight errors sort internal/oserror strconv syscall io path strings reflect hash crypto bytes time internal/syscall/unix internal/syscall/execenv bufio regexp/syntax context internal/poll io/fs regexp embed crypto/internal/randutil os github.com/ubuntu/aad-auth/vendor/golang.org/x/crypto/blowfish internal/fmtsort encoding/binary vendor/golang.org/x/net/dns/dnsmessage io/ioutil fmt path/filepath crypto/cipher encoding/base64 crypto/internal/boring internal/godebug internal/intern crypto/sha1 crypto/sha256 crypto/sha512 flag database/sql/driver net/url github.com/ubuntu/aad-auth/vendor/github.com/snapcore/go-gettext/pluralforms database/sql log math/big os/user github.com/ubuntu/aad-auth/vendor/github.com/snapcore/go-gettext github.com/ubuntu/aad-auth/internal/i18n github.com/ubuntu/aad-auth/internal/logger net/netip github.com/ubuntu/aad-auth/vendor/github.com/mattn/go-sqlite3 net crypto/rand github.com/ubuntu/aad-auth/vendor/golang.org/x/crypto/bcrypt log/syslog github.com/ubuntu/aad-auth/internal/cache 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/nss/aad-auth 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/consts github.com/ubuntu/aad-auth/internal/generators github.com/ubuntu/aad-auth/internal/i18n 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/aad-auth github.com/ubuntu/aad-auth/pam === RUN TestAuthenticate === PAUSE TestAuthenticate === CONT TestAuthenticate === RUN TestAuthenticate/invalid_server_response === PAUSE TestAuthenticate/invalid_server_response === RUN TestAuthenticate/invalid_credentials === PAUSE TestAuthenticate/invalid_credentials === RUN TestAuthenticate/unknown_error_type === PAUSE TestAuthenticate/unknown_error_type === 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/no_such_user === PAUSE TestAuthenticate/no_such_user === RUN TestAuthenticate/unknown_error_code === PAUSE TestAuthenticate/unknown_error_code === RUN TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins === PAUSE TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins === CONT TestAuthenticate/invalid_server_response 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "invalid server response" 2022/09/09 10:37:57 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/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "multiple errors, first known is invalid credential" 2022/09/09 10:37:57 DEBUG: Got response: Invalid credentials === CONT TestAuthenticate/unknown_error_code 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unknown error code" 2022/09/09 10:37:57 ERROR: Unknown error code(s) from server: [4242] === CONT TestAuthenticate/no_such_user 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "no such user" 2022/09/09 10:37:57 DEBUG: Got response: User doesn't exist === CONT TestAuthenticate/unreadable_server_response 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unreadable server response" 2022/09/09 10:37:57 ERROR: Can't read server response: invalid READ === CONT TestAuthenticate/can't_connect_to_authority 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "connection failed" for user "success@domain.com" 2022/09/09 10:37:57 ERROR: Connection to authority failed: connection failed === CONT TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "multiple errors, first known is mfa" 2022/09/09 10:37:57 DEBUG: Authentication successful even if requiring MFA === CONT TestAuthenticate/can_authenticate_even_with_mfa_required 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "requireMFA@domain.com" 2022/09/09 10:37:57 DEBUG: Authentication successful even if requiring MFA === CONT TestAuthenticate/can_authenticate_with_password_only 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "success@domain.com" 2022/09/09 10:37:57 DEBUG: Authentication successful with user/password === CONT TestAuthenticate/unknown_error_type 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unknown error type" 2022/09/09 10:37:57 DEBUG: acquiring token failed: not a msal error === CONT TestAuthenticate/invalid_credentials 2022/09/09 10:37:57 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "invalid credentials" 2022/09/09 10:37:57 DEBUG: Got response: Invalid credentials --- PASS: TestAuthenticate (0.00s) --- PASS: TestAuthenticate/invalid_server_response (0.00s) --- PASS: TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins (0.00s) --- PASS: TestAuthenticate/unknown_error_code (0.00s) --- PASS: TestAuthenticate/no_such_user (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_type (0.00s) --- PASS: TestAuthenticate/invalid_credentials (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/aad 0.005s === 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_%u === PAUSE TestParseHomeDir/handle_%u === RUN TestParseHomeDir/handle_%U === PAUSE TestParseHomeDir/handle_%U === RUN TestParseHomeDir/handle_%% === PAUSE TestParseHomeDir/handle_%% === RUN TestParseHomeDir/multiple_consecutive_patterns === PAUSE TestParseHomeDir/multiple_consecutive_patterns === 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 === RUN TestParseHomeDir/handle_%f === PAUSE TestParseHomeDir/handle_%f === RUN TestParseHomeDir/handle_%d === PAUSE TestParseHomeDir/handle_%d === 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/multiple_patterns_separated_with_characters === PAUSE TestParseHomeDir/multiple_patterns_separated_with_characters === CONT TestParseHomeDir/handle_%u 2022/09/09 10:39:04 DEBUG: Getting home directory for user1@test.com === CONT TestNextShadowCloseBeforeIterationEnds 2022/09/09 10:39:04 DEBUG: Cache initialization 2022/09/09 10:39:04 DEBUG: Opening cache in /tmp/TestNextShadowCloseBeforeIterationEnds315695040/001 === CONT TestNextShadowEntryNoShadow === CONT TestNextShadowEntry === 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 TestNextGroupCloseBeforeIterationEnds 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds315695040/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds315695040/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextShadowEntryNoShadow413309958/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowEntryNoShadow413309958/001/shadow.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowEntryNoShadow413309958/001/passwd.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextShadowEntry342999910/001 --- PASS: TestNextShadowEntryNoShadow (0.06s) === CONT TestGetShadowByName === 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 === RUN TestGetShadowByName/error_on_no_access_to_shadow_file === PAUSE TestGetShadowByName/error_on_no_access_to_shadow_file === CONT TestNextPasswdCloseBeforeIterationEnds 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowEntry342999910/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowEntry342999910/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextGroupCloseBeforeIterationEnds4008755930/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds4008755930/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds4008755930/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextPasswdCloseBeforeIterationEnds505009259/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds505009259/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds505009259/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextShadowCloseBeforeIterationEnds315695040/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds315695040/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds315695040/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextShadowEntry342999910/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowEntry342999910/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextShadowEntry342999910/001/shadow.db 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextGroupCloseBeforeIterationEnds4008755930/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds4008755930/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds4008755930/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextPasswdCloseBeforeIterationEnds505009259/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds505009259/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds505009259/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request --- PASS: TestNextShadowCloseBeforeIterationEnds (0.28s) === CONT TestNextPasswdEntryNoUser 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextPasswdEntryNoUser2748298893/001 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdEntryNoUser2748298893/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdEntryNoUser2748298893/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request --- PASS: TestNextPasswdEntryNoUser (0.03s) === CONT TestNextPasswdEntry --- PASS: TestNextGroupCloseBeforeIterationEnds (0.30s) === CONT TestGetUserByUID === RUN TestGetUserByUID/no_encrypted_password === PAUSE TestGetUserByUID/no_encrypted_password === 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 === CONT TestGetUserByName 2022/09/09 10:39:05 DEBUG: Cache initialization === RUN TestGetUserByName/error_on_non_existing_user 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextPasswdEntry1386089458/001 === 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 === 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 === CONT TestParseHomeDir/handle_%f_without_domain_attached 2022/09/09 10:39:05 DEBUG: Getting home directory for userWithoutDomain === CONT TestCloseCacheDifferentOptions --- PASS: TestNextPasswdCloseBeforeIterationEnds (0.24s) === CONT TestCloseCacheRetention 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdEntry1386089458/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdEntry1386089458/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestCloseCacheDifferentOptions4136683333/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions4136683333/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions4136683333/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestCloseCacheDifferentOptions4136683333/002 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions4136683333/002/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions4136683333/002/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestCloseCacheRetention2029923000/001 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request --- PASS: TestCloseCacheDifferentOptions (0.07s) === CONT TestNew === RUN TestNew/can't_open_existing_cache_with_wrong_shadow_permission === PAUSE TestNew/can't_open_existing_cache_with_wrong_shadow_permission === 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/can't_create_a_cache_with_Shadow_group === PAUSE TestNew/can't_create_a_cache_with_Shadow_group === 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_allowed === PAUSE TestNew/no_access_to_shadow_file_is_still_allowed === RUN TestNew/reuse_closed_cache_(files_exists) === PAUSE TestNew/reuse_closed_cache_(files_exists) === 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_open_existing_cache_with_wrong_passwd_permission === PAUSE TestNew/can't_open_existing_cache_with_wrong_passwd_permission === CONT TestParseHomeDir/multiple_patterns_separated_with_characters 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/pattern_after_string 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%l 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com === CONT TestGetGroupByGID === RUN TestGetGroupByGID/get_existing_group_by_gid === PAUSE TestGetGroupByGID/get_existing_group_by_gid === RUN TestGetGroupByGID/error_on_non_existing_group === PAUSE TestGetGroupByGID/error_on_non_existing_group === CONT TestNextGroupEntryNoGroup 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCloseCacheRetention2029923000/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCloseCacheRetention2029923000/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextPasswdEntry1386089458/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdEntry1386089458/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextPasswdEntry1386089458/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextGroupEntryNoGroup531292894/001 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: request next passwd entry in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request --- PASS: TestNextPasswdEntry (0.10s) === CONT TestNextGroupEntry 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupEntryNoGroup531292894/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupEntryNoGroup531292894/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Reusing existing opened cache 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextGroupEntry2951906838/001 2022/09/09 10:39:05 DEBUG: Close database request --- PASS: TestNextGroupEntryNoGroup (0.06s) === CONT TestParseHomeDir/full_path_without_modifier_is_returned_as_is 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%d 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%f 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/error_out_on_path_with_invalid_pattern 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com === CONT TestCanAuthenticate === 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 === 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_ === CONT TestCleanupDB/clean_up_old_users 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupEntry2951906838/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupEntry2951906838/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestCleanupDBclean_up_old_users1082476846/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users1082476846/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users1082476846/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: request next shadow entry in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request --- PASS: TestNextShadowEntry (0.48s) === 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 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 TestParseHomeDir/handle_%% 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/multiple_consecutive_patterns 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com 2022/09/09 10:39:05 DEBUG: Close database request === CONT TestParseHomeDir/handle_%U 2022/09/09 10:39:05 DEBUG: Getting home directory for user1@test.com --- PASS: TestParseHomeDir (0.00s) --- PASS: TestParseHomeDir/handle_%u (0.00s) --- PASS: TestParseHomeDir/handle_%f_without_domain_attached (0.00s) --- PASS: TestParseHomeDir/multiple_patterns_separated_with_characters (0.00s) --- PASS: TestParseHomeDir/pattern_after_string (0.00s) --- PASS: TestParseHomeDir/handle_%l (0.00s) --- PASS: TestParseHomeDir/full_path_without_modifier_is_returned_as_is (0.00s) --- PASS: TestParseHomeDir/handle_%d (0.00s) --- PASS: TestParseHomeDir/handle_%f (0.00s) --- PASS: TestParseHomeDir/error_out_on_path_with_invalid_pattern (0.00s) --- PASS: TestParseHomeDir/handle_%% (0.00s) --- PASS: TestParseHomeDir/multiple_consecutive_patterns (0.00s) --- PASS: TestParseHomeDir/handle_%U (0.00s) === CONT TestCleanupDB/do_not_clean_up_anyone 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestCleanupDBdo_not_clean_up_anyone1888301898/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone1888301898/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone1888301898/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestNextGroupEntry2951906838/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupEntry2951906838/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestNextGroupEntry2951906838/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: request next group entry in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db --- PASS: TestNextGroupEntry (0.23s) === CONT TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password2407192695/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password2407192695/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password2407192695/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 1 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestCleanupDBclean_up_old_users1082476846/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users1082476846/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users1082476846/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestCleanupDBdo_not_clean_up_anyone1888301898/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone1888301898/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone1888301898/001/shadow.db 2022/09/09 10:39:05 DEBUG: getting user information from cache for "middleolduser@domain.com" 2022/09/09 10:39:05 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:39:05 DEBUG: getting user information from cache for "veryolduser@domain.com" === CONT TestGetShadowByName/error_on_no_access_to_shadow_file 2022/09/09 10:39:05 DEBUG: getting user information from cache for "middleolduser@domain.com" 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file220410192/001 2022/09/09 10:39:05 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request --- PASS: TestCleanupDB (0.00s) --- PASS: TestCleanupDB/clean_up_old_users (0.23s) --- PASS: TestCleanupDB/do_not_clean_up_anyone (0.18s) === CONT TestGetShadowByName/error_on_non_existing_user_shadow 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file220410192/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file220410192/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 0 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4217061714/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4217061714/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4217061714/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 1 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password2407192695/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password2407192695/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password2407192695/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 1 2022/09/09 10:39:05 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file220410192/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file220410192/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file220410192/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 0 2022/09/09 10:39:05 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db === CONT TestGetShadowByName/have_access_to_encrypted_password_in_RW_too 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too1024197054/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too1024197054/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too1024197054/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4217061714/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4217061714/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4217061714/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 1 2022/09/09 10:39:05 DEBUG: getting shadow information from cache for "notexist@domain.com" 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/no_encrypted_password 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetUserByUIDno_encrypted_password2204609505/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password2204609505/001/shadow.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password2204609505/001/passwd.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 0 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too1024197054/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too1024197054/001/shadow.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too1024197054/001/passwd.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetUserByUIDno_encrypted_password2204609505/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password2204609505/001/shadow.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password2204609505/001/passwd.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 0 2022/09/09 10:39:05 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db === CONT TestGetUserByName/error_on_non_existing_user 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetUserByNameerror_on_non_existing_user2087213483/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user2087213483/001/shadow.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user2087213483/001/passwd.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 0 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetUserByNameerror_on_non_existing_user2087213483/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user2087213483/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user2087213483/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 0 2022/09/09 10:39:05 DEBUG: getting user information from cache for "notexist@domain.com" 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request === CONT TestGetUserByUID/have_access_to_encrypted_password_in_RW_too 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too3408931412/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too3408931412/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too3408931412/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too3408931412/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too3408931412/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too3408931412/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 2 2022/09/09 10:39:05 DEBUG: Clean up database 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: Close database request === CONT TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password 2022/09/09 10:39:05 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password527673900/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password527673900/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password527673900/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 1 2022/09/09 10:39:05 DEBUG: Close database request 2022/09/09 10:39:05 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:05 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:05 DEBUG: request to close group iteration in db 2022/09/09 10:39:05 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:05 DEBUG: Cache initialization 2022/09/09 10:39:05 DEBUG: Opening cache in /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password527673900/001 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password527673900/001/passwd.db 2022/09/09 10:39:05 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password527673900/001/shadow.db 2022/09/09 10:39:05 DEBUG: Shadow db mode: 1 2022/09/09 10:39:05 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db --- PASS: TestGetShadowByName (0.00s) --- PASS: TestGetShadowByName/error_on_no_access_to_shadow_file (0.06s) --- PASS: TestGetShadowByName/error_on_non_existing_user_shadow (0.08s) --- PASS: TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password (0.29s) --- PASS: TestGetShadowByName/have_access_to_encrypted_password_in_RW_too (0.31s) === CONT TestGetUserByUID/error_on_non_existing_user 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetUserByUIDerror_on_non_existing_user2605920808/001 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === CONT TestGetUserByName/no_encrypted_password 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === CONT TestGetUserByName/have_access_to_encrypted_password_in_RW_too 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user2605920808/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user2605920808/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 0 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetUserByNameno_encrypted_password4248931425/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password4248931425/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password4248931425/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 0 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2819759644/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2819759644/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2819759644/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetUserByUIDerror_on_non_existing_user2605920808/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user2605920808/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user2605920808/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 0 2022/09/09 10:39:06 DEBUG: getting user information from cache for uid 4242 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestGetUserByUID (0.00s) --- PASS: TestGetUserByUID/no_encrypted_password (0.04s) --- PASS: TestGetUserByUID/have_access_to_encrypted_password_in_RW_too (0.16s) --- PASS: TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password (0.12s) --- PASS: TestGetUserByUID/error_on_non_existing_user (0.12s) 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestGetUserByName/get_existing_user_by_name_with_encrypted_password 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password847514350/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password847514350/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password847514350/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 1 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetUserByNameno_encrypted_password4248931425/001 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password4248931425/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password4248931425/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 0 2022/09/09 10:39:06 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === CONT TestNew/can't_open_existing_cache_with_wrong_shadow_permission 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission598176503/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission598176503/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission598176503/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2819759644/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2819759644/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2819759644/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password847514350/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password847514350/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password847514350/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 1 2022/09/09 10:39:06 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestNew/no_access_to_shadow_file_is_still_allowed 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewno_access_to_shadow_file_is_still_allowed1886254569/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewno_access_to_shadow_file_is_still_allowed1886254569/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewno_access_to_shadow_file_is_still_allowed1886254569/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 0 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission598176503/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission598176503/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission598176503/001/shadow.db === CONT TestNew/can't_open_existing_cache_with_wrong_passwd_permission 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission2754730853/001 === CONT TestNew/can't_create_DB_not_being_root_UID_or_GID 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission2754730853/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission2754730853/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewcant_create_DB_not_being_root_UID_or_GID3180073460/001 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestNew/reuse_closed_cache_(files_exists) 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewreuse_closed_cache_(files_exists)3418909871/001 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestGetUserByName (0.00s) --- PASS: TestGetUserByName/error_on_non_existing_user (0.09s) --- PASS: TestGetUserByName/no_encrypted_password (0.15s) --- PASS: TestGetUserByName/have_access_to_encrypted_password_in_RW_too (0.26s) --- PASS: TestGetUserByName/get_existing_user_by_name_with_encrypted_password (0.20s) === CONT TestNew/can't_create_a_cache_with_Shadow_group 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)3418909871/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)3418909871/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewcant_create_a_cache_with_Shadow_group1563538110/001 === CONT TestNew/can_still_open_shadow_file_RO 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewcan_still_open_shadow_file_RO965137212/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcan_still_open_shadow_file_RO965137212/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcan_still_open_shadow_file_RO965137212/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 1 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestNew/reuse_opened_cache 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewreuse_opened_cache3159311527/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewreuse_opened_cache3159311527/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewreuse_opened_cache3159311527/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Reusing existing opened cache 2022/09/09 10:39:06 DEBUG: Close database request === CONT TestNew/create_cache_with_all_permissions 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewcreate_cache_with_all_permissions1357870814/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcreate_cache_with_all_permissions1357870814/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcreate_cache_with_all_permissions1357870814/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Don't teardown cache as still in use by 1 === CONT TestGetGroupByGID/get_existing_group_by_gid 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetGroupByGIDget_existing_group_by_gid3763475416/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid3763475416/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid3763475416/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission2754730853/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission2754730853/001/passwd.db 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestGetGroupByGID/error_on_non_existing_group 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetGroupByGIDerror_on_non_existing_group1353662670/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group1353662670/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group1353662670/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewreuse_closed_cache_(files_exists)3418909871/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)3418909871/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)3418909871/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. --- PASS: TestNew (0.00s) --- PASS: TestNew/can't_open_existing_cache_with_wrong_shadow_permission (0.13s) --- PASS: TestNew/no_access_to_shadow_file_is_still_allowed (0.02s) --- PASS: TestNew/can't_create_DB_not_being_root_UID_or_GID (0.03s) --- PASS: TestNew/can't_create_a_cache_with_Shadow_group (0.01s) --- PASS: TestNew/can_still_open_shadow_file_RO (0.01s) --- PASS: TestNew/reuse_opened_cache (0.02s) --- PASS: TestNew/create_cache_with_all_permissions (0.02s) --- PASS: TestNew/can't_open_existing_cache_with_wrong_passwd_permission (0.13s) --- PASS: TestNew/reuse_closed_cache_(files_exists) (0.15s) === CONT TestCanAuthenticate/can_authenticate_one_user 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_one_user1863908109/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user1863908109/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user1863908109/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetGroupByGIDget_existing_group_by_gid3763475416/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid3763475416/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid3763475416/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: getting group information from cache for gid 1929326240 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_497534780/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_497534780/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_497534780/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetGroupByGIDerror_on_non_existing_group1353662670/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group1353662670/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group1353662670/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: getting group information from cache for gid 4242 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db --- PASS: TestGetGroupByGID (0.00s) --- PASS: TestGetGroupByGID/get_existing_group_by_gid (0.10s) --- PASS: TestGetGroupByGID/error_on_non_existing_group (0.10s) === CONT TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file408987374/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file408987374/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file408987374/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 0 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_one_user1863908109/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user1863908109/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user1863908109/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:39:06 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: Last online login was: 2022-09-07 10:39:06 +0000 UTC. Current time: 2022-09-09 10:39:06.542928384 +0000 UTC m=+1.579327511. Revalidation needed every 90 days 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_497534780/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_497534780/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_497534780/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:39:06 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/09/09 10:39:06 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:39:06 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-09-09 10:39:06.557956345 +0000 UTC m=+1.594355470. Revalidation needed every 0 days 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/error_on_wrong_user 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_user3044162712/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user3044162712/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user3044162712/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file408987374/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file408987374/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file408987374/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 0 2022/09/09 10:39:06 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/error_on_wrong_password 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_password1883045698/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password1883045698/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password1883045698/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2479035413/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2479035413/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2479035413/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 1 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_user3044162712/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user3044162712/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user3044162712/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 INFO: try to authenticate "does not exist user" from cache 2022/09/09 10:39:06 DEBUG: getting user information from cache for "does not exist user" 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/handle_separately_multiple_users_and_password 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password3405855704/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password3405855704/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password3405855704/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_password1883045698/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password1883045698/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password1883045698/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:39:06 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: Last online login was: 2022-09-07 10:39:06 +0000 UTC. Current time: 2022-09-09 10:39:06.706295013 +0000 UTC m=+1.742694138. Revalidation needed every 90 days 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2479035413/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2479035413/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2479035413/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 1 2022/09/09 10:39:06 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:39:06 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: Last online login was: 2022-09-07 10:39:06 +0000 UTC. Current time: 2022-09-09 10:39:06.717839937 +0000 UTC m=+1.754239056. Revalidation needed every 90 days 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password3405855704/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password3405855704/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password3405855704/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:39:06 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: Last online login was: 2022-09-07 10:39:06 +0000 UTC. Current time: 2022-09-09 10:39:06.751337722 +0000 UTC m=+1.787736847. Revalidation needed every 90 days 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestGetGroupByName/get_existing_group_by_name 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetGroupByNameget_existing_group_by_name1387432976/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name1387432976/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name1387432976/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestGetGroupByName/error_on_non_existing_group 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetGroupByNameerror_on_non_existing_group3816795406/001 2022/09/09 10:39:06 INFO: try to authenticate "otheruser@domain.com" from cache 2022/09/09 10:39:06 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/09/09 10:39:06 DEBUG: Last online login was: 2022-09-07 10:39:06 +0000 UTC. Current time: 2022-09-09 10:39:06.868295066 +0000 UTC m=+1.904694183. Revalidation needed every 90 days 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group3816795406/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group3816795406/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetGroupByNameget_existing_group_by_name1387432976/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name1387432976/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name1387432976/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestUpdate/insert_a_new_user 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestUpdateinsert_a_new_user1821237446/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestUpdateinsert_a_new_user1821237446/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestUpdateinsert_a_new_user1821237446/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:39:06 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:39:06 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:39:06 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestGetGroupByNameerror_on_non_existing_group3816795406/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group3816795406/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group3816795406/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: getting group information from cache for "notexist@domain.com" 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestGetGroupByName (0.00s) --- PASS: TestGetGroupByName/get_existing_group_by_name (0.08s) --- PASS: TestGetGroupByName/error_on_non_existing_group (0.08s) 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db === CONT TestUpdate/collide_generated_uids 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestUpdatecollide_generated_uids2260289429/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestUpdatecollide_generated_uids2260289429/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestUpdatecollide_generated_uids2260289429/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:39:06 DEBUG: generate user id for user "firstuser@domain.com" 2022/09/09 10:39:06 INFO: user id for "firstuser@domain.com" is 3233547936 2022/09/09 10:39:06 DEBUG: Getting home directory for firstuser@domain.com 2022/09/09 10:39:06 DEBUG: inserting in cache user "firstuser@domain.com" 2022/09/09 10:39:06 DEBUG: encrypt password for user "firstuser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db --- PASS: TestCanAuthenticate (0.00s) --- PASS: TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ (0.07s) --- PASS: TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file (0.09s) --- PASS: TestCanAuthenticate/can_authenticate_one_user (0.19s) --- PASS: TestCanAuthenticate/error_on_wrong_user (0.11s) --- PASS: TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO (0.18s) --- PASS: TestCanAuthenticate/error_on_wrong_password (0.27s) --- PASS: TestCanAuthenticate/handle_separately_multiple_users_and_password (0.36s) === CONT TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow1754054280/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow1754054280/001/shadow.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow1754054280/001/passwd.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:39:07 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:39:07 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:39:07 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db === CONT TestUpdate/can't_insert_with_shadow_Read_Only 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestUpdatecant_insert_with_shadow_Read_Only4066520266/001 2022/09/09 10:39:07 DEBUG: updating from last online login information for user "firstuser@domain.com" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "userfirst@domain.com" 2022/09/09 10:39:07 DEBUG: generate user id for user "userfirst@domain.com" 2022/09/09 10:39:07 INFO: user id for "userfirst@domain.com" is 3233547937 2022/09/09 10:39:07 DEBUG: Getting home directory for userfirst@domain.com 2022/09/09 10:39:07 DEBUG: inserting in cache user "userfirst@domain.com" 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_Read_Only4066520266/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_Read_Only4066520266/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 1 2022/09/09 10:39:07 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:39:07 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:39:07 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:39:07 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db === CONT TestUpdate/can't_insert_with_shadow_unavailable_Only 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only469810607/001 2022/09/09 10:39:07 DEBUG: encrypt password for user "userfirst@domain.com" 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only469810607/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only469810607/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 0 2022/09/09 10:39:07 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:39:07 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:39:07 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:39:07 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db === CONT TestUpdate/we_don’t_create_about_the_user_case 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestUpdatewe_dont_create_about_the_user_case1725054941/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatewe_dont_create_about_the_user_case1725054941/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatewe_dont_create_about_the_user_case1725054941/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting user information from cache for "MyUser" 2022/09/09 10:39:07 DEBUG: generate user id for user "MyUser" 2022/09/09 10:39:07 INFO: user id for "MyUser" is 650373726 2022/09/09 10:39:07 DEBUG: Getting home directory for MyUser 2022/09/09 10:39:07 DEBUG: inserting in cache user "MyUser" 2022/09/09 10:39:07 DEBUG: encrypt password for user "MyUser" 2022/09/09 10:39:07 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: updating from last online login information for user "userfirst@domain.com" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "userfirst@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request === CONT TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login3602132164/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login3602132164/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login3602132164/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:39:07 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:39:07 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:39:07 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: updating from last online login information for user "MyUser" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "MyUser" 2022/09/09 10:39:07 DEBUG: Close database request === CONT TestUpdate/insert_2_new_users 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestUpdateinsert_2_new_users1991451415/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdateinsert_2_new_users1991451415/001/shadow.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdateinsert_2_new_users1991451415/001/passwd.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow1754054280/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow1754054280/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow1754054280/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 0 2022/09/09 10:39:07 DEBUG: generate user id for user "firstuser@domain.com" 2022/09/09 10:39:07 INFO: user id for "firstuser@domain.com" is 3233547936 2022/09/09 10:39:07 DEBUG: Getting home directory for firstuser@domain.com 2022/09/09 10:39:07 DEBUG: inserting in cache user "firstuser@domain.com" 2022/09/09 10:39:07 DEBUG: encrypt password for user "firstuser@domain.com" 2022/09/09 10:39:07 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: updating from last online login information for user "firstuser@domain.com" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "seconduser@domain.com" 2022/09/09 10:39:07 DEBUG: generate user id for user "seconduser@domain.com" 2022/09/09 10:39:07 INFO: user id for "seconduser@domain.com" is 909690528 2022/09/09 10:39:07 DEBUG: Getting home directory for seconduser@domain.com 2022/09/09 10:39:07 DEBUG: inserting in cache user "seconduser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: encrypt password for user "seconduser@domain.com" 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login3602132164/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login3602132164/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login3602132164/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: updating from last online login information for user "seconduser@domain.com" 2022/09/09 10:39:07 DEBUG: getting user information from cache for "seconduser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:08 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:08 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:39:08 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:39:08 DEBUG: Close database request 2022/09/09 10:39:08 DEBUG: Close database request 2022/09/09 10:39:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:08 DEBUG: request to close group iteration in db 2022/09/09 10:39:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:08 DEBUG: request to close group iteration in db 2022/09/09 10:39:08 DEBUG: request to close shadow iteration in db --- PASS: TestCloseCacheRetention (3.13s) 2022/09/09 10:39:08 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:08 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:39:08 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:39:08 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:08 DEBUG: Close database request 2022/09/09 10:39:08 DEBUG: Close database request 2022/09/09 10:39:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:08 DEBUG: request to close group iteration in db 2022/09/09 10:39:08 DEBUG: request to close shadow iteration in db --- PASS: TestUpdate (0.00s) --- PASS: TestUpdate/insert_a_new_user (0.22s) --- PASS: TestUpdate/can't_insert_with_shadow_Read_Only (0.02s) --- PASS: TestUpdate/can't_insert_with_shadow_unavailable_Only (0.01s) --- PASS: TestUpdate/collide_generated_uids (0.29s) --- PASS: TestUpdate/we_don’t_create_about_the_user_case (0.12s) --- PASS: TestUpdate/insert_2_new_users (0.24s) --- PASS: TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow (1.35s) --- PASS: TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login (1.35s) PASS ok github.com/ubuntu/aad-auth/internal/cache 3.629s === RUN TestLoadDefaultHomeAndShell === PAUSE TestLoadDefaultHomeAndShell === RUN TestLoadConfig === PAUSE TestLoadConfig === CONT TestLoadDefaultHomeAndShell === RUN TestLoadDefaultHomeAndShell/file_with_both_home_and_shell === PAUSE TestLoadDefaultHomeAndShell/file_with_both_home_and_shell === 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 === CONT TestLoadDefaultHomeAndShell/file_with_both_home_and_shell === CONT TestLoadConfig === RUN TestLoadConfig/aad.conf,_all_values,_no_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_no_domain === RUN TestLoadConfig/aad.conf,_all_values,_mismatch_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_mismatch_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_'homedirpattern'_and_'shell'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain === RUN TestLoadConfig/aad.conf_missing_'app_id'_value === PAUSE TestLoadConfig/aad.conf_missing_'app_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' === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern' === RUN TestLoadConfig/aad.conf_with_missing_'shell' === PAUSE TestLoadConfig/aad.conf_with_missing_'shell' === RUN TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' === PAUSE TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' === RUN TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain === RUN TestLoadConfig/add.conf_with_'shell'_only_in_domain === PAUSE TestLoadConfig/add.conf_with_'shell'_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_with_missing_'homedirpattern'_and_'shell' === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' === RUN TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain === RUN TestLoadConfig/aad.conf_does_not_exist === PAUSE TestLoadConfig/aad.conf_does_not_exist === 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'_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,_all_values,_only_in_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_only_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_with_invalid_'offline_credentials_expiration'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain === 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_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_missing_'tenant_id'_value === PAUSE TestLoadConfig/aad.conf_missing_'tenant_id'_value === RUN TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'shell'_value_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_'offline_credentials_expiration'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain === CONT TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values === CONT TestLoadDefaultHomeAndShell/file_with_only_dhome === CONT TestLoadDefaultHomeAndShell/file_with_only_dshell === CONT TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values === CONT TestLoadConfig/aad.conf_with_missing_'shell' 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_shell.conf === CONT TestLoadDefaultHomeAndShell/file_with_no_values === CONT TestLoadConfig/aad.conf,_all_values,_no_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-no_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf === CONT TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-tenantId_only_in_domain.conf === CONT TestLoadConfig/add.conf_with_'shell'_only_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-shell_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-homedirpattern_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_expiration.conf === CONT TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-homedirpattern_and_shell_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern' 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern.conf === CONT TestLoadConfig/aad.conf,_all_values,_with_domain 2022/09/09 10:39:04 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 TestLoadConfig/aad.conf_missing_'app_id'_value 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_appId.conf --- PASS: TestLoadDefaultHomeAndShell (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_with_only_dhome (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_only_dshell (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_no_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values (0.00s) 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-with_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_expiration-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_shell-domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_mismatch_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-with_domain.conf === CONT TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-expiration_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_'app_id'_only_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-appId_only_in_domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_only_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_appId-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values_and_wrong_adduser.conf 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell-domain.conf 2022/09/09 10:39:04 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_missing_required_'tenant_id'_value_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_tenantId-domain.conf === CONT TestLoadConfig/aad.conf_missing_'tenant_id'_value === CONT TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_tenantId.conf 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-invalid_expiration.conf 2022/09/09 10:39:04 WARNING: Invalid cache revalidation period strconv.Atoi: parsing "lalala": invalid syntax === CONT TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf === CONT TestLoadConfig/aad.conf_does_not_exist 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/doestnotexists.conf 2022/09/09 10:39:04 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_invalid_'offline_credentials_expiration'_value_in_domain 2022/09/09 10:39:04 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-invalid_expiration-domain.conf 2022/09/09 10:39:04 WARNING: Invalid cache revalidation period strconv.Atoi: parsing "lalala": invalid syntax --- PASS: TestLoadConfig (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'shell' (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_no_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain (0.00s) --- PASS: TestLoadConfig/add.conf_with_'shell'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern' (0.00s) --- PASS: TestLoadConfig/aad.conf_missing_'app_id'_value (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_with_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_mismatch_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'app_id'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_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'_and_'shell'_values_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_missing_required_'tenant_id'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_missing_'tenant_id'_value (0.00s) --- PASS: TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value (0.00s) --- PASS: TestLoadConfig/aad.conf_does_not_exist (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf (0.00s) --- PASS: TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/config 0.008s ? github.com/ubuntu/aad-auth/internal/consts [no test files] ? github.com/ubuntu/aad-auth/internal/generators [no test files] === RUN TestTranslations === RUN TestTranslations/Init_wasn't_ran === RUN TestTranslations/Fallback_to_en_if_en_DK_isn't_present === RUN TestTranslations/One_text_elem,_prefer_en_DK_over_en === RUN TestTranslations/en_DK@_is_en_DK === RUN TestTranslations/No_loc_prefers_LC_MESSAGES_first === RUN TestTranslations/No_loc_fallbacks_to_LANG_if_no_LC_MESSAGES === RUN TestTranslations/Missing_locale === RUN TestTranslations/Invalid_locale_directory === RUN TestTranslations/Prefer_locale-langpack_to_locale === RUN TestTranslations/en_DK._is_en_DK === RUN TestTranslations/Missing_domain === RUN TestTranslations/Multiple_text_elems === RUN TestTranslations/Untranslated_elem --- PASS: TestTranslations (0.02s) --- PASS: TestTranslations/Init_wasn't_ran (0.00s) --- PASS: TestTranslations/Fallback_to_en_if_en_DK_isn't_present (0.00s) --- PASS: TestTranslations/One_text_elem,_prefer_en_DK_over_en (0.00s) --- PASS: TestTranslations/en_DK@_is_en_DK (0.00s) --- PASS: TestTranslations/No_loc_prefers_LC_MESSAGES_first (0.00s) --- PASS: TestTranslations/No_loc_fallbacks_to_LANG_if_no_LC_MESSAGES (0.00s) --- PASS: TestTranslations/Missing_locale (0.00s) --- PASS: TestTranslations/Invalid_locale_directory (0.00s) --- PASS: TestTranslations/Prefer_locale-langpack_to_locale (0.00s) --- PASS: TestTranslations/en_DK._is_en_DK (0.00s) --- PASS: TestTranslations/Missing_domain (0.00s) --- PASS: TestTranslations/Multiple_text_elems (0.00s) --- PASS: TestTranslations/Untranslated_elem (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/i18n 0.023s === RUN TestNormalizeMsg === PAUSE TestNormalizeMsg === RUN TestCtxWithLogger --- PASS: TestCtxWithLogger (0.00s) === RUN TestCloseLoggerFromContextNoLogger 2022/09/09 10:37:57 ERROR: no logger attached to context --- PASS: TestCloseLoggerFromContextNoLogger (0.00s) === RUN TestLogging === RUN TestLogging/err,_with_logger === RUN TestLogging/err,_on_stderr === RUN TestLogging/crit,_with_logger === RUN TestLogging/crit,_on_stderr === RUN TestLogging/warn,_on_stderr === RUN TestLogging/debug,_on_stderr === RUN TestLogging/info,_with_logger === RUN TestLogging/info,_on_stderr === RUN TestLogging/warn,_with_logger === RUN TestLogging/message_already_have_an_EOL === RUN TestLogging/debug,_with_logger --- PASS: TestLogging (0.00s) --- PASS: TestLogging/err,_with_logger (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/warn,_on_stderr (0.00s) --- PASS: TestLogging/debug,_on_stderr (0.00s) --- PASS: TestLogging/info,_with_logger (0.00s) --- PASS: TestLogging/info,_on_stderr (0.00s) --- PASS: TestLogging/warn,_with_logger (0.00s) --- PASS: TestLogging/message_already_have_an_EOL (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.015s === RUN TestConvertErr === PAUSE TestConvertErr === RUN TestCtxWithSyslogLogger === PAUSE TestCtxWithSyslogLogger === RUN TestCtxWithSyslogLoggerDebugWithEnVariable === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/don't_log_anything_when_not_in_debug === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/log_debug_message_when_in_debug_mode === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/log_to_stderr_when_set_to 2022/09/09 10:39:04 ERROR: no logger attached to context --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/don't_log_anything_when_not_in_debug (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/log_debug_message_when_in_debug_mode (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/log_to_stderr_when_set_to (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 TestConvertErr/wrapped_ErrTryAgainEAgain_error_retains_original_error_type === CONT TestLogging === 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 === RUN TestLogging/debug_is_not_printed_with_default_log_level === PAUSE TestLogging/debug_is_not_printed_with_default_log_level === CONT TestLogging/info_message_is_printed_with_default_log_level === CONT TestCtxWithSyslogLogger --- PASS: TestCtxWithSyslogLogger (0.00s) === CONT TestConvertErr/nil_error_should_return_nil === CONT TestConvertErr/random_error_is_converted_to_ErrUnavailableENoEnt === 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 --- PASS: TestConvertErr (0.00s) --- PASS: TestConvertErr/wrapped_ErrTryAgainEAgain_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/nil_error_should_return_nil (0.00s) --- PASS: TestConvertErr/random_error_is_converted_to_ErrUnavailableENoEnt (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) === 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 --- PASS: TestLogging (0.00s) --- PASS: TestLogging/info_message_is_printed_with_default_log_level (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 ok github.com/ubuntu/aad-auth/internal/nss 0.004s === RUN TestNewByName === PAUSE TestNewByName === RUN TestNewByGID === PAUSE TestNewByGID === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works93076124/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works93076124/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works93076124/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works93076124/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works93076124/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works93076124/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestNextEntry/get_all_groups 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryget_all_groups4110629379/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups4110629379/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups4110629379/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryget_all_groups4110629379/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups4110629379/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups4110629379/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestNextEntry/no_group_in_db_does_not_fail 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryno_group_in_db_does_not_fail821879971/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryno_group_in_db_does_not_fail821879971/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryno_group_in_db_does_not_fail821879971/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first992388724/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first992388724/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first992388724/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestNextEntry (0.24s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.12s) --- PASS: TestNextEntry/get_all_groups (0.06s) --- PASS: TestNextEntry/no_group_in_db_does_not_fail (0.02s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.04s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration764614312/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration764614312/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration764614312/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/09/09 10:39:06 WARNING: group entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress615809900/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress615809900/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress615809900/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache2536634721/001 --- PASS: TestStartEndEntryIteration (0.03s) --- 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/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne8299985/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne8299985/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne8299985/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne8299985/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne8299985/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne8299985/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Reusing existing opened cache 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: get next group entry 2022/09/09 10:39:06 DEBUG: request next group entry in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 WARNING: group entry iteration ended without initialization first 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.06s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestToCgroup === PAUSE TestToCgroup === CONT TestNewByName === RUN TestNewByName/get_existing_group_by_name === CONT TestToCgroup === CONT TestNewByGID === RUN TestNewByGID/error_on_cache_not_available === PAUSE TestNewByGID/error_on_cache_not_available === RUN TestNewByGID/get_existing_group_by_gid === RUN TestToCgroup/can_convert_group_to_C_group === PAUSE TestNewByGID/get_existing_group_by_gid === RUN TestNewByGID/error_on_non_existing_group === PAUSE TestNewByGID/error_on_non_existing_group === CONT TestNewByGID/error_on_cache_not_available === 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 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_cache_not_available1753588540/001 === PAUSE TestNewByName/get_existing_group_by_name === RUN TestNewByName/error_on_non_existing_group === PAUSE TestNewByName/error_on_non_existing_group === RUN TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad === PAUSE TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad === RUN TestNewByName/error_on_cache_not_available === PAUSE TestNewByName/error_on_cache_not_available === CONT TestNewByName/get_existing_group_by_name === CONT TestNewByGID/error_on_non_existing_group === CONT TestNewByName/error_on_cache_not_available 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available1753588540/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available1753588540/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_group_by_name2031929951/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name2031929951/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name2031929951/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_non_existing_group3419607219/001 2022/09/09 10:39:06 DEBUG: Requesting an group entry matching GID 1929326240 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group3419607219/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group3419607219/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available4252751060/001 2022/09/09 10:39:06 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available4252751060/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available4252751060/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_cache_not_available1753588540/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available1753588540/001/passwd.db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_group_by_name2031929951/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name2031929951/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name2031929951/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database === 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) === CONT TestNewByGID/get_existing_group_by_gid 2022/09/09 10:39:06 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByGIDget_existing_group_by_gid3385880122/001 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === CONT TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid3385880122/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid3385880122/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Requesting an group entry matching GID 4242 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameshadow_group_is_ignored,_as_not_part_of_aad2580582737/001 2022/09/09 10:39:06 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameshadow_group_is_ignored,_as_not_part_of_aad2580582737/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameshadow_group_is_ignored,_as_not_part_of_aad2580582737/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_non_existing_group3419607219/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group3419607219/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group3419607219/001/shadow.db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: getting group information from cache for gid 4242 2022/09/09 10:39:06 DEBUG: Requesting an group entry matching GID 1929326240 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available4252751060/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available4252751060/001/passwd.db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByGIDget_existing_group_by_gid3385880122/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid3385880122/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid3385880122/001/shadow.db === CONT TestNewByName/error_on_non_existing_group 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: getting group information from cache for gid 1929326240 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestNewByGID (0.00s) --- PASS: TestNewByGID/error_on_cache_not_available (0.10s) --- PASS: TestNewByGID/error_on_non_existing_group (0.17s) --- PASS: TestNewByGID/get_existing_group_by_gid (0.08s) 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_group3986708097/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group3986708097/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group3986708097/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Requesting a group entry matching name "shadow" 2022/09/09 10:39:06 DEBUG: Ignoring shadow group as it's not in our database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Requesting a group entry matching name "notexists@domain.com" 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_group3986708097/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group3986708097/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group3986708097/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: getting group information from cache for "notexists@domain.com" 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestNewByName (0.00s) --- PASS: TestNewByName/get_existing_group_by_name (0.10s) --- PASS: TestNewByName/error_on_cache_not_available (0.17s) --- PASS: TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad (0.12s) --- PASS: TestNewByName/error_on_non_existing_group (0.09s) PASS ok github.com/ubuntu/aad-auth/internal/nss/group 0.613s === RUN TestNewByName === PAUSE TestNewByName === RUN TestNewByUID === PAUSE TestNewByUID === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works836399942/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works836399942/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works836399942/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works836399942/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works836399942/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works836399942/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestNextEntry/get_all_users 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users2024686928/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2024686928/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2024686928/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users2024686928/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2024686928/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2024686928/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestNextEntry/no_user_in_db_does_not_fail 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryno_user_in_db_does_not_fail290073100/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail290073100/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail290073100/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3762430205/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3762430205/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3762430205/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestNextEntry (0.25s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.08s) --- PASS: TestNextEntry/get_all_users (0.08s) --- PASS: TestNextEntry/no_user_in_db_does_not_fail (0.03s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.06s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration1891998491/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration1891998491/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration1891998491/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/09/09 10:39:06 WARNING: passwd entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3636371035/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3636371035/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3636371035/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache3259102641/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/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne1566141071/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1566141071/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1566141071/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne1566141071/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1566141071/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1566141071/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Reusing existing opened cache 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: get next passwd entry 2022/09/09 10:39:06 DEBUG: request next passwd entry in db 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 WARNING: passwd entry iteration ended without initialization first 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.08s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestToCpasswd === PAUSE TestToCpasswd === CONT TestNewByName === RUN TestNewByName/get_existing_user_by_name === PAUSE TestNewByName/get_existing_user_by_name === RUN TestNewByName/error_on_non_existing_user === PAUSE TestNewByName/error_on_non_existing_user === CONT TestToCpasswd === RUN TestToCpasswd/can_convert_to_C_pwd === CONT TestNewByUID === PAUSE TestToCpasswd/can_convert_to_C_pwd === RUN TestNewByUID/get_existing_user_by_uid === PAUSE TestNewByUID/get_existing_user_by_uid === RUN TestNewByUID/error_on_non_existing_user === PAUSE TestNewByUID/error_on_non_existing_user === 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 === RUN TestNewByName/error_on_cache_not_available === PAUSE TestNewByName/error_on_cache_not_available === CONT TestNewByName/get_existing_user_by_name === CONT TestToCpasswd/can't_allocate_with_buffer_too_small === RUN TestNewByUID/error_on_cache_not_available === PAUSE TestNewByUID/error_on_cache_not_available === CONT TestNewByName/error_on_non_existing_user 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name4211301405/001 === CONT TestNewByUID/get_existing_user_by_uid === CONT TestNewByName/error_on_cache_not_available --- PASS: TestToCpasswd (0.00s) --- PASS: TestToCpasswd/can_convert_to_C_pwd (0.00s) --- PASS: TestToCpasswd/can't_allocate_with_buffer_too_small (0.00s) 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name4211301405/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name4211301405/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByUIDget_existing_user_by_uid2930249860/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid2930249860/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid2930249860/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available3049987644/001 2022/09/09 10:39:06 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available3049987644/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available3049987644/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user2066658888/001 2022/09/09 10:39:06 DEBUG: Requesting a passwd entry matching UID 1929326240 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user2066658888/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user2066658888/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name4211301405/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name4211301405/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name4211301405/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByUIDget_existing_user_by_uid2930249860/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid2930249860/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid2930249860/001/shadow.db 2022/09/09 10:39:07 DEBUG: Close database request === CONT TestNewByUID/error_on_cache_not_available 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_cache_not_available2904231011/001 2022/09/09 10:39:07 DEBUG: Close database request === CONT TestNewByUID/error_on_non_existing_user 2022/09/09 10:39:07 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available2904231011/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available2904231011/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_non_existing_user2414503814/001 2022/09/09 10:39:07 DEBUG: Requesting a passwd entry matching name "notexists@domain.com" 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2414503814/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2414503814/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available3049987644/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available3049987644/001/passwd.db 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user2066658888/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user2066658888/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user2066658888/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting user information from cache for "notexists@domain.com" 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Close database request --- PASS: TestNewByName (0.00s) --- PASS: TestNewByName/get_existing_user_by_name (0.12s) --- PASS: TestNewByName/error_on_cache_not_available (0.19s) --- PASS: TestNewByName/error_on_non_existing_user (0.20s) 2022/09/09 10:39:07 DEBUG: Requesting a passwd entry matching UID 1929326240 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_cache_not_available2904231011/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available2904231011/001/passwd.db 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Requesting a passwd entry matching UID 4242 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_non_existing_user2414503814/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2414503814/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2414503814/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting user information from cache for uid 4242 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Close database request --- PASS: TestNewByUID (0.00s) --- PASS: TestNewByUID/get_existing_user_by_uid (0.13s) --- PASS: TestNewByUID/error_on_cache_not_available (0.09s) --- PASS: TestNewByUID/error_on_non_existing_user (0.09s) PASS ok github.com/ubuntu/aad-auth/internal/nss/passwd 0.603s === RUN TestNewByName === PAUSE TestNewByName === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works4049393154/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works4049393154/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works4049393154/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works4049393154/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works4049393154/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works4049393154/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestNextEntry/get_all_users 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users3591242596/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users3591242596/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users3591242596/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users3591242596/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users3591242596/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users3591242596/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestNextEntry/no_user_in_db_does_not_fail 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryno_user_in_db_does_not_fail1045393271/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail1045393271/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail1045393271/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first1891136985/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first1891136985/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first1891136985/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestNextEntry (0.21s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.08s) --- PASS: TestNextEntry/get_all_users (0.06s) --- PASS: TestNextEntry/no_user_in_db_does_not_fail (0.02s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.05s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/09/09 10:39:06 WARNING: shadow entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3890592411/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3890592411/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3890592411/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache2078716275/001 === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration3758809049/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration3758809049/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration3758809049/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestStartEndEntryIteration (0.06s) --- PASS: TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration (0.00s) --- PASS: TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress (0.03s) --- PASS: TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache (0.00s) --- PASS: TestStartEndEntryIteration/can_start_and_end_iteration (0.03s) === RUN TestRestartIterationWithoutEndingPreviousOne 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne3556885945/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne3556885945/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne3556885945/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:06 DEBUG: request to close group iteration in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne3556885945/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne3556885945/001/passwd.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne3556885945/001/shadow.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Reusing existing opened cache 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: get next shadow entry 2022/09/09 10:39:06 DEBUG: request next shadow entry in db 2022/09/09 10:39:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 WARNING: shadow entry iteration ended without initialization first 2022/09/09 10:39:06 DEBUG: Close database request --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.07s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestToCshadow === PAUSE TestToCshadow === CONT TestNewByName === RUN TestNewByName/get_existing_user_by_name === PAUSE TestNewByName/get_existing_user_by_name === RUN TestNewByName/error_on_non_existing_user === PAUSE TestNewByName/error_on_non_existing_user === RUN TestNewByName/error_on_cache_not_available === PAUSE TestNewByName/error_on_cache_not_available === CONT TestNewByName/get_existing_user_by_name === 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 TestNewByName/error_on_cache_not_available === CONT TestNewByName/error_on_non_existing_user === CONT TestToCshadow/can't_allocate_with_buffer_too_small 2022/09/09 10:39:06 DEBUG: Cache initialization --- PASS: TestToCshadow (0.00s) --- PASS: TestToCshadow/can_convert_to_C_shadow (0.00s) --- PASS: TestToCshadow/can't_allocate_with_buffer_too_small (0.00s) 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available3667302165/001 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available3667302165/001/shadow.db 2022/09/09 10:39:06 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available3667302165/001/passwd.db 2022/09/09 10:39:06 DEBUG: Shadow db mode: 2 2022/09/09 10:39:06 DEBUG: Clean up database 2022/09/09 10:39:06 DEBUG: Close database request 2022/09/09 10:39:06 DEBUG: Cache initialization 2022/09/09 10:39:06 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user1560027718/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user1560027718/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user1560027718/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name2965279641/001 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name2965279641/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name2965279641/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available3667302165/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available3667302165/001/passwd.db 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:07 DEBUG: request to close group iteration in db 2022/09/09 10:39:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:07 DEBUG: Requesting a shadow entry matching name "notexists@domain.com" 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user1560027718/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user1560027718/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user1560027718/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting shadow information from cache for "notexists@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: Cache initialization 2022/09/09 10:39:07 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name2965279641/001 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name2965279641/001/passwd.db 2022/09/09 10:39:07 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name2965279641/001/shadow.db 2022/09/09 10:39:07 DEBUG: Shadow db mode: 2 2022/09/09 10:39:07 DEBUG: Clean up database 2022/09/09 10:39:07 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:39:07 DEBUG: Close database request 2022/09/09 10:39:07 DEBUG: Close database request --- PASS: TestNewByName (0.00s) --- PASS: TestNewByName/error_on_cache_not_available (0.09s) --- PASS: TestNewByName/error_on_non_existing_user (0.11s) --- PASS: TestNewByName/get_existing_user_by_name (0.15s) PASS ok github.com/ubuntu/aad-auth/internal/nss/shadow 0.504s === 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 TestLogging === RUN TestLogging/warn === PAUSE TestLogging/warn === RUN TestLogging/err === PAUSE TestLogging/err === RUN TestLogging/crit === PAUSE TestLogging/crit === 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 === CONT TestLogging/warn === CONT TestAuthenticate === RUN TestAuthenticate/error_on_offline_with_purged_user_account === PAUSE TestAuthenticate/error_on_offline_with_purged_user_account === RUN TestAuthenticate/error_on_offline_with_unpurged_old_user_account === PAUSE TestAuthenticate/error_on_offline_with_unpurged_old_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/Offline,_connect_existing_user_from_cache === PAUSE TestAuthenticate/Offline,_connect_existing_user_from_cache === RUN TestAuthenticate/error_on_unexisting_users === PAUSE TestAuthenticate/error_on_unexisting_users === 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_conf === PAUSE TestAuthenticate/error_on_unexisting_conf === RUN TestAuthenticate/error_on_invalid_password === PAUSE TestAuthenticate/error_on_invalid_password === 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/authenticate_successfully_(online) === PAUSE TestAuthenticate/authenticate_successfully_(online) === RUN TestAuthenticate/specified_offline_expiration === PAUSE TestAuthenticate/specified_offline_expiration === CONT TestAuthenticate/error_on_offline_with_purged_user_account 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_purged_user_account3979270950/001 === 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 TestLogging/info === CONT TestAuthenticate/specified_offline_expiration 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/withoffline-expiration.conf === CONT TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache === CONT TestAuthenticate/authenticate_successfully_(online) 2022/09/09 10:39:09 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/09/09 10:39:09 DEBUG: Authentication successful with user/password 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:39:09 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/09/09 10:39:09 DEBUG: Authentication successful with user/password 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_purged_user_account3979270950/001/shadow.db 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_purged_user_account3979270950/001/passwd.db 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Clean up database 2022/09/09 10:39:09 DEBUG: Close database request 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache323193013/001 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache323193013/001/passwd.db 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache323193013/001/shadow.db 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Clean up database 2022/09/09 10:39:09 DEBUG: Close database request 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticatespecified_offline_expiration1355035268/001 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:39:09 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/09/09 10:39:09 DEBUG: Got response: User doesn't exist 2022/09/09 10:39:09 DEBUG: Close database request === CONT TestAuthenticate/error_on_invalid_password 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:39:09 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "invalid credentials" 2022/09/09 10:39:09 DEBUG: Got response: Invalid credentials === CONT TestAuthenticate/error_on_unexisting_conf 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/doesnotexist.conf 2022/09/09 10:39:09 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/error_on_invalid_conf 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/invalid-aad.conf 2022/09/09 10:39:09 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/09/09 10:39:09 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:39:09 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/09/09 10:39:09 DEBUG: Authentication successful with user/password 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticatespecified_offline_expiration1355035268/001/passwd.db 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticatespecified_offline_expiration1355035268/001/shadow.db 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Clean up database 2022/09/09 10:39:09 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:39:09 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:39:09 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:39:09 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:39:09 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateauthenticate_successfully_(online)2132180423/001 2022/09/09 10:39:09 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:39:09 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "success@domain.com" 2022/09/09 10:39:09 DEBUG: acquiring token failed: Offline 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_(online)2132180423/001/passwd.db 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_(online)2132180423/001/shadow.db 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Clean up database 2022/09/09 10:39:09 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:39:09 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:09 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:09 DEBUG: request to close group iteration in db 2022/09/09 10:39:09 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:09 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)714368455/001 2022/09/09 10:39:09 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:39:09 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:39:09 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:39:09 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)714368455/001/passwd.db 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)714368455/001/shadow.db 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Clean up database 2022/09/09 10:39:09 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache323193013/001 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache323193013/001/passwd.db 2022/09/09 10:39:09 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache323193013/001/shadow.db 2022/09/09 10:39:09 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:39:09 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:39:09 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Clean up database 2022/09/09 10:39:09 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:39:09 INFO: try to authenticate "success@domain.com" from cache 2022/09/09 10:39:09 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:39:09 ERROR: authenticating user "success@domain.com" from cache failed: error when getting user "success@domain.com" from cache: no entries. Denying access. 2022/09/09 10:39:09 DEBUG: Close database request 2022/09/09 10:39:09 DEBUG: Close database request === CONT TestAuthenticate/error_on_unexisting_users 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:39:09 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/09/09 10:39:09 DEBUG: Got response: User doesn't exist === CONT TestAuthenticate/Offline,_connect_existing_user_from_cache 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3122587216/001 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3122587216/001/passwd.db 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3122587216/001/shadow.db 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Clean up database 2022/09/09 10:39:09 DEBUG: Close database request 2022/09/09 10:39:09 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:09 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:09 DEBUG: request to close group iteration in db 2022/09/09 10:39:09 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:09 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:39:09 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "futureuser@domain.com" 2022/09/09 10:39:09 DEBUG: acquiring token failed: Offline 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3122587216/001 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3122587216/001/passwd.db 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3122587216/001/shadow.db 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Clean up database 2022/09/09 10:39:09 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:39:09 DEBUG: Close database request === CONT TestAuthenticate/error_on_cache_can't_be_created/opened 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:39:09 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/09/09 10:39:09 DEBUG: Authentication successful with user/password 2022/09/09 10:39:09 DEBUG: Close database request === CONT TestAuthenticate/error_on_server_error 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_cache_cant_be_createdopened3320569385/001 2022/09/09 10:39:09 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_offline_with_unpurged_old_user_account 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1707010229/001 2022/09/09 10:39:09 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/09/09 10:39:09 ERROR: Can't read server response: invalid READ === CONT TestLogging/debug_is_not_printed_with_default_log_level 2022/09/09 10:39:09 INFO: try to authenticate "futureuser@domain.com" from cache 2022/09/09 10:39:09 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:39:09 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-09-09 10:39:09.439424816 +0000 UTC m=+0.319184196. Revalidation needed every 90 days === CONT TestLogging/debug === CONT TestLogging/info_message_is_printed_with_default_log_level === CONT TestLogging/crit === CONT TestLogging/err --- PASS: TestLogging (0.00s) --- PASS: TestLogging/warn (0.00s) --- PASS: TestLogging/info (0.00s) --- PASS: TestLogging/debug_is_not_printed_with_default_log_level (0.00s) --- PASS: TestLogging/debug (0.00s) --- PASS: TestLogging/info_message_is_printed_with_default_log_level (0.00s) --- PASS: TestLogging/crit (0.00s) --- PASS: TestLogging/err (0.00s) 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1707010229/001/passwd.db 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1707010229/001/shadow.db 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Clean up database 2022/09/09 10:39:09 DEBUG: Close database request 2022/09/09 10:39:09 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:09 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:09 DEBUG: request to close group iteration in db 2022/09/09 10:39:09 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:09 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:39:09 DEBUG: Close database request 2022/09/09 10:39:09 DEBUG: Loading configuration from testdata/forceoffline-expire-right-away.conf 2022/09/09 10:39:09 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "veryolduser@domain.com" 2022/09/09 10:39:09 DEBUG: acquiring token failed: Offline 2022/09/09 10:39:09 DEBUG: Cache initialization 2022/09/09 10:39:09 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1707010229/001 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1707010229/001/passwd.db 2022/09/09 10:39:09 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1707010229/001/shadow.db 2022/09/09 10:39:09 DEBUG: Shadow db mode: 2 2022/09/09 10:39:09 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:39:09 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/09/09 10:39:09 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:39:09 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-09-09 10:39:09.501939322 +0000 UTC m=+0.381698706. Revalidation needed every 0 days 2022/09/09 10:39:09 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/09/09 10:39:09 ERROR: authenticating user "veryolduser@domain.com" from cache failed: offline credentials expired. Denying access. 2022/09/09 10:39:09 DEBUG: Close database request 2022/09/09 10:39:09 DEBUG: Close database request 2022/09/09 10:39:09 DEBUG: Close database request 2022/09/09 10:39:09 DEBUG: Close database request --- PASS: TestAuthenticate (0.00s) --- PASS: TestAuthenticate/error_on_offline_with_purged_user_account (0.10s) --- PASS: TestAuthenticate/error_on_invalid_password (0.00s) --- PASS: TestAuthenticate/error_on_unexisting_conf (0.00s) --- PASS: TestAuthenticate/error_on_invalid_conf (0.00s) --- PASS: TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache (0.24s) --- PASS: TestAuthenticate/error_on_unexisting_users (0.00s) --- PASS: TestAuthenticate/specified_offline_expiration (0.30s) --- PASS: TestAuthenticate/authenticate_successfully_(online) (0.31s) --- PASS: TestAuthenticate/error_on_cache_can't_be_created/opened (0.01s) --- PASS: TestAuthenticate/error_on_server_error (0.00s) --- PASS: TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) (0.25s) --- PASS: TestAuthenticate/error_on_offline_with_unpurged_old_user_account (0.06s) --- PASS: TestAuthenticate/Offline,_connect_existing_user_from_cache (0.18s) PASS ok github.com/ubuntu/aad-auth/internal/pam 0.426s ? 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.003s === RUN TestGetent === RUN TestGetent/try_to_list_non-existent_entry_in_shadow 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow2963930432/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow2963930432/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow2963930432/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting entry "doesnotexist@domain.com" from shadow 2022/09/09 10:39:10 DEBUG: Getting entry with name "doesnotexist@domain.com" from shadow 2022/09/09 10:39:10 DEBUG: Requesting a shadow entry matching name "doesnotexist@domain.com" 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow2963930432/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow2963930432/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow2963930432/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: getting shadow information from cache for "doesnotexist@domain.com" 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/try_to_get_passwd_entry_with_explicit_empty_key 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key3745137007/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key3745137007/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key3745137007/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting entry "" from passwd 2022/09/09 10:39:10 DEBUG: Getting entry with name "" from passwd 2022/09/09 10:39:10 DEBUG: Requesting a passwd entry matching name "" 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key3745137007/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key3745137007/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key3745137007/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: getting user information from cache for "" 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/list_entries_in_shadow 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_shadow3773193887/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow3773193887/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow3773193887/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting all entries from shadow 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_shadow3773193887/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow3773193887/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow3773193887/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: get next shadow entry 2022/09/09 10:39:10 DEBUG: request next shadow entry in db 2022/09/09 10:39:10 DEBUG: get next shadow entry 2022/09/09 10:39:10 DEBUG: request next shadow entry in db 2022/09/09 10:39:10 DEBUG: get next shadow entry 2022/09/09 10:39:10 DEBUG: request next shadow entry in db 2022/09/09 10:39:10 DEBUG: get next shadow entry 2022/09/09 10:39:10 DEBUG: request next shadow entry in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/old_entries_in_passwd_are_cleaned 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_passwd_are_cleaned2930270083/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned2930270083/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned2930270083/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting all entries from passwd 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_passwd_are_cleaned2930270083/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned2930270083/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned2930270083/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: get next passwd entry 2022/09/09 10:39:10 DEBUG: request next passwd entry in db 2022/09/09 10:39:10 DEBUG: get next passwd entry 2022/09/09 10:39:10 DEBUG: request next passwd entry in db 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/try_to_list_group_with_empty_cache 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_with_empty_cache865797800/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache865797800/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache865797800/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Getting all entries from group 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_with_empty_cache865797800/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache865797800/001/shadow.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache865797800/001/passwd.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: get next group entry 2022/09/09 10:39:10 DEBUG: request next group entry in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/list_entries_in_group_without_access_to_shadow 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group_without_access_to_shadow767204700/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow767204700/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow767204700/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting all entries from group 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group_without_access_to_shadow767204700/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow767204700/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow767204700/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 0 2022/09/09 10:39:10 DEBUG: get next group entry 2022/09/09 10:39:10 DEBUG: request next group entry in db 2022/09/09 10:39:10 DEBUG: get next group entry 2022/09/09 10:39:10 DEBUG: request next group entry in db 2022/09/09 10:39:10 DEBUG: get next group entry 2022/09/09 10:39:10 DEBUG: request next group entry in db 2022/09/09 10:39:10 DEBUG: get next group entry 2022/09/09 10:39:10 DEBUG: request next group entry in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_without_access_to_shadow 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow540039220/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow540039220/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow540039220/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting all entries from shadow 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow540039220/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow540039220/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow540039220/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 0 2022/09/09 10:39:10 DEBUG: get next shadow entry 2022/09/09 10:39:10 DEBUG: request next shadow entry in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/try_to_list_non-existent_entry_in_group 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_group2379489519/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group2379489519/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group2379489519/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting entry "doesnotexist@domain.com" from group 2022/09/09 10:39:10 DEBUG: Getting entry with name "doesnotexist@domain.com" from group 2022/09/09 10:39:10 DEBUG: Requesting a group entry matching name "doesnotexist@domain.com" 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_group2379489519/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group2379489519/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group2379489519/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: getting group information from cache for "doesnotexist@domain.com" 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/try_to_list_passwd_without_cache_and_no_permission_to_create_it 2022/09/09 10:39:10 DEBUG: Getting all entries from passwd 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_without_cache_and_no_permission_to_create_it349383140/001 2022/09/09 10:39:10 DEBUG: Returning to NSS error: -1 with errno: 2 === RUN TestGetent/list_local_shadow_entry_without_cache 2022/09/09 10:39:10 DEBUG: Getting entry "root" from shadow 2022/09/09 10:39:10 DEBUG: Getting entry with name "root" from shadow 2022/09/09 10:39:10 DEBUG: Requesting a shadow entry matching name "root" 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentlist_local_shadow_entry_without_cache155899548/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_local_shadow_entry_without_cache155899548/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_local_shadow_entry_without_cache155899548/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: getting shadow information from cache for "root" 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning to NSS error: 0 with errno: 2 === RUN TestGetent/old_entries_in_group_are_cleaned 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_group_are_cleaned2993868321/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned2993868321/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned2993868321/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting all entries from group 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_group_are_cleaned2993868321/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned2993868321/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned2993868321/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: get next group entry 2022/09/09 10:39:10 DEBUG: request next group entry in db 2022/09/09 10:39:10 DEBUG: get next group entry 2022/09/09 10:39:10 DEBUG: request next group entry in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_without_cache_and_no_permission_to_create_it 2022/09/09 10:39:10 DEBUG: Getting all entries from shadow 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_cache_and_no_permission_to_create_it401447504/001 2022/09/09 10:39:10 DEBUG: Returning to NSS error: -1 with errno: 2 === RUN TestGetent/list_local_group_entry_without_cache 2022/09/09 10:39:10 DEBUG: Getting entry "0" from group 2022/09/09 10:39:10 DEBUG: Getting entry with id '\x00' from group 2022/09/09 10:39:10 DEBUG: Requesting an group entry matching GID 0 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentlist_local_group_entry_without_cache2955993016/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_local_group_entry_without_cache2955993016/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_local_group_entry_without_cache2955993016/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: getting group information from cache for gid 0 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning to NSS error: 0 with errno: 2 === RUN TestGetent/list_entries_in_passwd 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd4223397610/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd4223397610/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd4223397610/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting all entries from passwd 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd4223397610/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd4223397610/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd4223397610/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: get next passwd entry 2022/09/09 10:39:10 DEBUG: request next passwd entry in db 2022/09/09 10:39:10 DEBUG: get next passwd entry 2022/09/09 10:39:10 DEBUG: request next passwd entry in db 2022/09/09 10:39:10 DEBUG: get next passwd entry 2022/09/09 10:39:10 DEBUG: request next passwd entry in db 2022/09/09 10:39:10 DEBUG: get next passwd entry 2022/09/09 10:39:10 DEBUG: request next passwd entry in db 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/try_to_list_passwd_with_empty_cache 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_with_empty_cache1014212043/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache1014212043/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache1014212043/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Getting all entries from passwd 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_with_empty_cache1014212043/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache1014212043/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache1014212043/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: get next passwd entry 2022/09/09 10:39:10 DEBUG: request next passwd entry in db 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db === RUN TestGetent/try_to_list_shadow_with_empty_cache 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_with_empty_cache1941348870/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache1941348870/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache1941348870/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Getting all entries from shadow 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_with_empty_cache1941348870/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache1941348870/001/shadow.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache1941348870/001/passwd.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: get next shadow entry 2022/09/09 10:39:10 DEBUG: request next shadow entry in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db === RUN TestGetent/try_to_list_group_without_permission_on_cache 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_without_permission_on_cache4225762573/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_without_permission_on_cache4225762573/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_without_permission_on_cache4225762573/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Getting all entries from group 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_without_permission_on_cache4225762573/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_without_permission_on_cache4225762573/001/passwd.db 2022/09/09 10:39:10 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/error_trying_to_list_unsupported_db 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenterror_trying_to_list_unsupported_db753041583/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_unsupported_db753041583/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_unsupported_db753041583/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:10 DEBUG: Close database request === RUN TestGetent/try_to_list_entry_from_shadow_by_name_without_access_to_shadow 2022/09/09 10:39:10 DEBUG: Cache initialization 2022/09/09 10:39:10 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow942214066/001 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow942214066/001/passwd.db 2022/09/09 10:39:10 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow942214066/001/shadow.db 2022/09/09 10:39:10 DEBUG: Shadow db mode: 2 2022/09/09 10:39:10 DEBUG: Clean up database 2022/09/09 10:39:10 DEBUG: Close database request 2022/09/09 10:39:10 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:10 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:10 DEBUG: request to close group iteration in db 2022/09/09 10:39:10 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:39:11 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:39:11 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow942214066/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow942214066/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow942214066/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 0 2022/09/09 10:39:11 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/list_entry_from_group_by_gid 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_gid1664324466/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid1664324466/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid1664324466/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "165119649" from group 2022/09/09 10:39:11 DEBUG: Getting entry with id '�' from group 2022/09/09 10:39:11 DEBUG: Requesting an group entry matching GID 165119649 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_gid1664324466/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid1664324466/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid1664324466/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting group information from cache for gid 165119649 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/try_to_list_entry_from_shadow_by_uid 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_entry_from_shadow_by_uid2143068959/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_uid2143068959/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_uid2143068959/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "165119649" from shadow 2022/09/09 10:39:11 DEBUG: Getting entry with id '�' from shadow 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/list_entries_in_passwd_without_access_to_shadow 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow2721439093/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow2721439093/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow2721439093/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting all entries from passwd 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow2721439093/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow2721439093/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow2721439093/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 0 2022/09/09 10:39:11 DEBUG: get next passwd entry 2022/09/09 10:39:11 DEBUG: request next passwd entry in db 2022/09/09 10:39:11 DEBUG: get next passwd entry 2022/09/09 10:39:11 DEBUG: request next passwd entry in db 2022/09/09 10:39:11 DEBUG: get next passwd entry 2022/09/09 10:39:11 DEBUG: request next passwd entry in db 2022/09/09 10:39:11 DEBUG: get next passwd entry 2022/09/09 10:39:11 DEBUG: request next passwd entry in db 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/list_local_passwd_entry_without_cache 2022/09/09 10:39:11 DEBUG: Getting entry "0" from passwd 2022/09/09 10:39:11 DEBUG: Getting entry with id '\x00' from passwd 2022/09/09 10:39:11 DEBUG: Requesting a passwd entry matching UID 0 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_local_passwd_entry_without_cache585886530/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_local_passwd_entry_without_cache585886530/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_local_passwd_entry_without_cache585886530/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting user information from cache for uid 0 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 === RUN TestGetent/old_entries_in_shadow_are_cleaned 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_shadow_are_cleaned210668966/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned210668966/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned210668966/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting all entries from shadow 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_shadow_are_cleaned210668966/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned210668966/001/shadow.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned210668966/001/passwd.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: get next shadow entry 2022/09/09 10:39:11 DEBUG: request next shadow entry in db 2022/09/09 10:39:11 DEBUG: get next shadow entry 2022/09/09 10:39:11 DEBUG: request next shadow entry in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/try_to_get_shadow_entry_with_explicit_empty_key 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key2179692095/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key2179692095/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key2179692095/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "" from shadow 2022/09/09 10:39:11 DEBUG: Getting entry with name "" from shadow 2022/09/09 10:39:11 DEBUG: Requesting a shadow entry matching name "" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key2179692095/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key2179692095/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key2179692095/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting shadow information from cache for "" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/list_entry_from_shadow_by_name 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_shadow_by_name1349165212/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name1349165212/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name1349165212/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:39:11 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:39:11 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_shadow_by_name1349165212/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name1349165212/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name1349165212/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/list_entries_in_group 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group1032338912/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group1032338912/001/shadow.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group1032338912/001/passwd.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting all entries from group 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group1032338912/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group1032338912/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group1032338912/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: get next group entry 2022/09/09 10:39:11 DEBUG: request next group entry in db 2022/09/09 10:39:11 DEBUG: get next group entry 2022/09/09 10:39:11 DEBUG: request next group entry in db 2022/09/09 10:39:11 DEBUG: get next group entry 2022/09/09 10:39:11 DEBUG: request next group entry in db 2022/09/09 10:39:11 DEBUG: get next group entry 2022/09/09 10:39:11 DEBUG: request next group entry in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/try_to_list_group_without_cache_and_no_permission_to_create_it 2022/09/09 10:39:11 DEBUG: Getting all entries from group 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_without_cache_and_no_permission_to_create_it465036846/001 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -1 with errno: 2 === RUN TestGetent/try_to_list_passwd_without_permission_on_cache 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache3921742155/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache3921742155/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache3921742155/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting all entries from passwd 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache3921742155/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache3921742155/001/shadow.db 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/list_entry_from_passwd_by_name 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_name792289728/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name792289728/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name792289728/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "myuser@domain.com" from passwd 2022/09/09 10:39:11 DEBUG: Getting entry with name "myuser@domain.com" from passwd 2022/09/09 10:39:11 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_name792289728/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name792289728/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name792289728/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/list_entry_from_group_by_name 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_name3748956373/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name3748956373/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name3748956373/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "myuser@domain.com" from group 2022/09/09 10:39:11 DEBUG: Getting entry with name "myuser@domain.com" from group 2022/09/09 10:39:11 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_name3748956373/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name3748956373/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name3748956373/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_without_permission_on_cache 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4207259752/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4207259752/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4207259752/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting all entries from shadow 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4207259752/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4207259752/001/passwd.db 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/try_to_get_group_entry_with_explicit_empty_key 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key2922913643/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key2922913643/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key2922913643/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "" from group 2022/09/09 10:39:11 DEBUG: Getting entry with name "" from group 2022/09/09 10:39:11 DEBUG: Requesting a group entry matching name "" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key2922913643/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key2922913643/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key2922913643/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting group information from cache for "" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/error_trying_to_list_entry_by_name_from_unsupported_db 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenterror_trying_to_list_entry_by_name_from_unsupported_db995111102/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_entry_by_name_from_unsupported_db995111102/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_entry_by_name_from_unsupported_db995111102/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/list_entry_from_passwd_by_uid 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_uid1028874341/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid1028874341/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid1028874341/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "165119649" from passwd 2022/09/09 10:39:11 DEBUG: Getting entry with id '�' from passwd 2022/09/09 10:39:11 DEBUG: Requesting a passwd entry matching UID 165119649 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_uid1028874341/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid1028874341/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid1028874341/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting user information from cache for uid 165119649 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 DEBUG: Close database request === RUN TestGetent/try_to_list_non-existent_entry_in_passwd 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd449231812/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd449231812/001/shadow.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd449231812/001/passwd.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Getting entry "doesnotexist@domain.com" from passwd 2022/09/09 10:39:11 DEBUG: Getting entry with name "doesnotexist@domain.com" from passwd 2022/09/09 10:39:11 DEBUG: Requesting a passwd entry matching name "doesnotexist@domain.com" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd449231812/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd449231812/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd449231812/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting user information from cache for "doesnotexist@domain.com" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:11 DEBUG: Close database request --- PASS: TestGetent (1.38s) --- PASS: TestGetent/try_to_list_non-existent_entry_in_shadow (0.14s) --- PASS: TestGetent/try_to_get_passwd_entry_with_explicit_empty_key (0.07s) --- PASS: TestGetent/list_entries_in_shadow (0.05s) --- PASS: TestGetent/old_entries_in_passwd_are_cleaned (0.05s) --- PASS: TestGetent/try_to_list_group_with_empty_cache (0.02s) --- PASS: TestGetent/list_entries_in_group_without_access_to_shadow (0.04s) --- PASS: TestGetent/try_to_list_shadow_without_access_to_shadow (0.05s) --- PASS: TestGetent/try_to_list_non-existent_entry_in_group (0.05s) --- PASS: TestGetent/try_to_list_passwd_without_cache_and_no_permission_to_create_it (0.00s) --- PASS: TestGetent/list_local_shadow_entry_without_cache (0.02s) --- PASS: TestGetent/old_entries_in_group_are_cleaned (0.06s) --- PASS: TestGetent/try_to_list_shadow_without_cache_and_no_permission_to_create_it (0.00s) --- PASS: TestGetent/list_local_group_entry_without_cache (0.01s) --- PASS: TestGetent/list_entries_in_passwd (0.04s) --- PASS: TestGetent/try_to_list_passwd_with_empty_cache (0.02s) --- PASS: TestGetent/try_to_list_shadow_with_empty_cache (0.02s) --- PASS: TestGetent/try_to_list_group_without_permission_on_cache (0.05s) --- PASS: TestGetent/error_trying_to_list_unsupported_db (0.04s) --- PASS: TestGetent/try_to_list_entry_from_shadow_by_name_without_access_to_shadow (0.05s) --- PASS: TestGetent/list_entry_from_group_by_gid (0.04s) --- PASS: TestGetent/try_to_list_entry_from_shadow_by_uid (0.04s) --- PASS: TestGetent/list_entries_in_passwd_without_access_to_shadow (0.04s) --- PASS: TestGetent/list_local_passwd_entry_without_cache (0.01s) --- PASS: TestGetent/old_entries_in_shadow_are_cleaned (0.05s) --- PASS: TestGetent/try_to_get_shadow_entry_with_explicit_empty_key (0.04s) --- PASS: TestGetent/list_entry_from_shadow_by_name (0.04s) --- PASS: TestGetent/list_entries_in_group (0.04s) --- PASS: TestGetent/try_to_list_group_without_cache_and_no_permission_to_create_it (0.00s) --- PASS: TestGetent/try_to_list_passwd_without_permission_on_cache (0.03s) --- PASS: TestGetent/list_entry_from_passwd_by_name (0.03s) --- PASS: TestGetent/list_entry_from_group_by_name (0.05s) --- PASS: TestGetent/try_to_list_shadow_without_permission_on_cache (0.03s) --- PASS: TestGetent/try_to_get_group_entry_with_explicit_empty_key (0.05s) --- PASS: TestGetent/error_trying_to_list_entry_by_name_from_unsupported_db (0.04s) --- PASS: TestGetent/list_entry_from_passwd_by_uid (0.04s) --- PASS: TestGetent/try_to_list_non-existent_entry_in_passwd (0.05s) === RUN TestIntegration === PAUSE TestIntegration === RUN TestFmtGetentOutput === PAUSE TestFmtGetentOutput === CONT TestIntegration === CONT TestFmtGetentOutput === RUN TestFmtGetentOutput/properly_format_with_nil_error === PAUSE TestFmtGetentOutput/properly_format_with_nil_error === RUN TestFmtGetentOutput/properly_format_with_multiple_entries === PAUSE TestFmtGetentOutput/properly_format_with_multiple_entries === RUN TestFmtGetentOutput/properly_format_with_error_ErrTryAgainEAgain === PAUSE TestFmtGetentOutput/properly_format_with_error_ErrTryAgainEAgain === RUN TestFmtGetentOutput/properly_format_with_error_ErrTryAgainERange === PAUSE TestFmtGetentOutput/properly_format_with_error_ErrTryAgainERange === RUN TestFmtGetentOutput/properly_format_with_error_ErrUnavailableENoEnt === PAUSE TestFmtGetentOutput/properly_format_with_error_ErrUnavailableENoEnt === RUN TestFmtGetentOutput/properly_format_with_error_ErrNotFoundENoEnt === PAUSE TestFmtGetentOutput/properly_format_with_error_ErrNotFoundENoEnt === RUN TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess === PAUSE TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess === RUN TestFmtGetentOutput/properly_format_with_no_entries === PAUSE TestFmtGetentOutput/properly_format_with_no_entries === RUN TestFmtGetentOutput/properly_format_with_unknown_Err === PAUSE TestFmtGetentOutput/properly_format_with_unknown_Err === RUN TestFmtGetentOutput/properly_format_with_an_error_and_multiple_entries === PAUSE TestFmtGetentOutput/properly_format_with_an_error_and_multiple_entries === CONT TestFmtGetentOutput/properly_format_with_nil_error 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_an_error_and_multiple_entries 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 === CONT TestFmtGetentOutput/properly_format_with_unknown_Err 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 1 with errno: 22 === CONT TestFmtGetentOutput/properly_format_with_no_entries 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_error_ErrNotFoundENoEnt 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 === CONT TestFmtGetentOutput/properly_format_with_error_ErrUnavailableENoEnt 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -1 with errno: 2 === CONT TestFmtGetentOutput/properly_format_with_error_ErrTryAgainERange 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -2 with errno: 34 === CONT TestFmtGetentOutput/properly_format_with_error_ErrTryAgainEAgain 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -2 with errno: 11 === CONT TestFmtGetentOutput/properly_format_with_multiple_entries 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 --- PASS: TestFmtGetentOutput (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_nil_error (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_an_error_and_multiple_entries (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_unknown_Err (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_no_entries (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_error_ErrNotFoundENoEnt (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_error_ErrUnavailableENoEnt (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_error_ErrTryAgainERange (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_error_ErrTryAgainEAgain (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_multiple_entries (0.00s) === RUN TestIntegration/list_group === PAUSE TestIntegration/list_group === RUN TestIntegration/returns_nothing_when_listing_group_with_empty_cache === PAUSE TestIntegration/returns_nothing_when_listing_group_with_empty_cache === RUN TestIntegration/returns_nothing_when_listing_group_without_permission_on_cache === PAUSE TestIntegration/returns_nothing_when_listing_group_without_permission_on_cache === RUN TestIntegration/returns_nothing_when_listing_shadow_without_permission_on_cache === PAUSE TestIntegration/returns_nothing_when_listing_shadow_without_permission_on_cache === RUN TestIntegration/error_on_get_entry_from_group_with_explicit_empty_key === PAUSE TestIntegration/error_on_get_entry_from_group_with_explicit_empty_key === RUN TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow === PAUSE TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow === RUN TestIntegration/list_entry_from_group_by_name === PAUSE TestIntegration/list_entry_from_group_by_name === RUN TestIntegration/list_entry_from_passwd_by_uid === PAUSE TestIntegration/list_entry_from_passwd_by_uid === RUN TestIntegration/list_shadow === PAUSE TestIntegration/list_shadow === RUN TestIntegration/list_local_passwd_entry_without_cache === PAUSE TestIntegration/list_local_passwd_entry_without_cache === RUN TestIntegration/old_entries_in_shadow_are_cleaned === PAUSE TestIntegration/old_entries_in_shadow_are_cleaned === RUN TestIntegration/error_when_listing_non-existent_entry_in_group === PAUSE TestIntegration/error_when_listing_non-existent_entry_in_group === RUN TestIntegration/error_when_listing_non-existent_entry_in_shadow === PAUSE TestIntegration/error_when_listing_non-existent_entry_in_shadow === RUN TestIntegration/returns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it === PAUSE TestIntegration/returns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it === RUN TestIntegration/error_on_trying_to_list_unsupported_db === PAUSE TestIntegration/error_on_trying_to_list_unsupported_db === RUN TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache === PAUSE TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache === RUN TestIntegration/error_on_get_entry_from_passwd_with_explicit_empty_key === PAUSE TestIntegration/error_on_get_entry_from_passwd_with_explicit_empty_key === RUN TestIntegration/error_when_listing_entry_from_shadow_by_uid === PAUSE TestIntegration/error_when_listing_entry_from_shadow_by_uid === RUN TestIntegration/list_passwd === PAUSE TestIntegration/list_passwd === RUN TestIntegration/error_when_listing_non-existent_entry_in_passwd === PAUSE TestIntegration/error_when_listing_non-existent_entry_in_passwd === RUN TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache === PAUSE TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache === RUN TestIntegration/list_local_group_entry_without_cache === PAUSE TestIntegration/list_local_group_entry_without_cache === RUN TestIntegration/list_entry_from_passwd_by_name === PAUSE TestIntegration/list_entry_from_passwd_by_name === RUN TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db === PAUSE TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db === RUN TestIntegration/list_passwd_without_access_to_shadow === PAUSE TestIntegration/list_passwd_without_access_to_shadow === RUN TestIntegration/list_group_without_access_to_shadow === PAUSE TestIntegration/list_group_without_access_to_shadow === RUN TestIntegration/list_entry_from_group_by_gid === PAUSE TestIntegration/list_entry_from_group_by_gid === RUN TestIntegration/old_entries_in_group_are_cleaned === PAUSE TestIntegration/old_entries_in_group_are_cleaned === RUN TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key === PAUSE TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key === RUN TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow === PAUSE TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow === RUN TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow === PAUSE TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow === RUN TestIntegration/returns_nothing_when_listing_shadow_without_access === PAUSE TestIntegration/returns_nothing_when_listing_shadow_without_access === RUN TestIntegration/error_when_listing_entry_from_shadow_by_name_without_access === PAUSE TestIntegration/error_when_listing_entry_from_shadow_by_name_without_access === RUN TestIntegration/error_when_listing_entry_from_shadow_by_uid_without_access === PAUSE TestIntegration/error_when_listing_entry_from_shadow_by_uid_without_access === RUN TestIntegration/list_entry_from_shadow_by_name === PAUSE TestIntegration/list_entry_from_shadow_by_name === RUN TestIntegration/returns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it === PAUSE TestIntegration/returns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it === RUN TestIntegration/returns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it === PAUSE TestIntegration/returns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it === RUN TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache === PAUSE TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache === RUN TestIntegration/old_entries_in_passwd_are_cleaned === PAUSE TestIntegration/old_entries_in_passwd_are_cleaned === RUN TestIntegration/list_local_shadow_entry_without_cache === PAUSE TestIntegration/list_local_shadow_entry_without_cache === RUN TestIntegration/list_entry_from_group_by_name_without_access_to_shadow === PAUSE TestIntegration/list_entry_from_group_by_name_without_access_to_shadow === CONT TestIntegration/list_group 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_group1051301854/001 === CONT TestIntegration/list_entry_from_group_by_name_without_access_to_shadow === CONT TestIntegration/list_local_shadow_entry_without_cache === CONT TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_group1051301854/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_group1051301854/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow2388045032/001 2022/09/09 10:39:11 DEBUG: Getting entry "root" from shadow 2022/09/09 10:39:11 DEBUG: Getting entry with name "root" from shadow 2022/09/09 10:39:11 DEBUG: Requesting a shadow entry matching name "root" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_local_shadow_entry_without_cache3059373134/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_local_shadow_entry_without_cache3059373134/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_local_shadow_entry_without_cache3059373134/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting shadow information from cache for "root" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:11 ERROR: no logger attached to context === CONT TestIntegration/old_entries_in_passwd_are_cleaned 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow2388045032/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow2388045032/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache246606803/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache246606803/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache246606803/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_passwd_are_cleaned478028381/001 2022/09/09 10:39:11 DEBUG: Getting all entries from shadow 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache246606803/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache246606803/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache246606803/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: get next shadow entry 2022/09/09 10:39:11 DEBUG: request next shadow entry in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:39:11 ERROR: no logger attached to context 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned478028381/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned478028381/001/shadow.db 2022/09/09 10:39:11 DEBUG: Getting all entries from group 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_group1051301854/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_group1051301854/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_group1051301854/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: get next group entry 2022/09/09 10:39:11 DEBUG: request next group entry in db 2022/09/09 10:39:11 DEBUG: get next group entry 2022/09/09 10:39:11 DEBUG: request next group entry in db 2022/09/09 10:39:11 DEBUG: get next group entry 2022/09/09 10:39:11 DEBUG: request next group entry in db 2022/09/09 10:39:11 DEBUG: get next group entry 2022/09/09 10:39:11 DEBUG: request next group entry in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 ERROR: no logger attached to context 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4: tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20: fax:x:21: voice:x:22: cdrom:x:24: floppy:x:25: tape:x:26: sudo:x:27: audio:x:29: dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: shadow:x:42: utmp:x:43: video:x:44: sasl:x:45: plugdev:x:46: staff:x:50: games:x:60: users:x:100: nogroup:x:65534: systemd-journal:x:101: systemd-network:x:102: buildd:x:2501: sbuild:x:119:buildd myuser@domain.com:x:1929326240:myuser@domain.com otheruser@domain.com:x:165119648:otheruser@domain.com user@otherdomain.com:x:165119649:user@otherdomain.com 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it 2022/09/09 10:39:11 DEBUG: Getting entry "myuser@domain.com" from group 2022/09/09 10:39:11 DEBUG: Getting entry with name "myuser@domain.com" from group 2022/09/09 10:39:11 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow2388045032/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow2388045032/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow2388045032/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 0 2022/09/09 10:39:11 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 ERROR: no logger attached to context 2022/09/09 10:39:11 DEBUG: Close database request myuser@domain.com:x:1929326240:myuser@domain.com 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache297616940/001 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it 2022/09/09 10:39:11 DEBUG: Getting all entries from shadow 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it3603114934/001 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:11 ERROR: no logger attached to context === CONT TestIntegration/list_entry_from_shadow_by_name 2022/09/09 10:39:11 DEBUG: Getting all entries from group 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it278865430/001 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:11 ERROR: no logger attached to context root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4: tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20: fax:x:21: voice:x:22: cdrom:x:24: floppy:x:25: tape:x:26: sudo:x:27: audio:x:29: dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: shadow:x:42: utmp:x:43: video:x:44: sasl:x:45: plugdev:x:46: staff:x:50: games:x:60: users:x:100: nogroup:x:65534: systemd-journal:x:101: systemd-network:x:102: buildd:x:2501: sbuild:x:119:buildd === CONT TestIntegration/error_when_listing_entry_from_shadow_by_uid_without_access 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache297616940/001/shadow.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache297616940/001/passwd.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_shadow_by_name856885016/001 2022/09/09 10:39:11 DEBUG: Getting all entries from passwd 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache297616940/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache297616940/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache297616940/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: get next passwd entry 2022/09/09 10:39:11 DEBUG: request next passwd entry in db 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:39:11 ERROR: no logger attached to context root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin _apt:x:100:65534::/nonexistent:/usr/sbin/nologin systemd-network:x:101:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin buildd:x:2001:2501:Build Daemon user,,,:/home/buildd:/bin/bash sbuild:x:113:119:Debian source builder,,,:/var/lib/sbuild:/bin/bash 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/error_when_listing_entry_from_shadow_by_name_without_access 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name856885016/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name856885016/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid_without_access2099223927/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid_without_access2099223927/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid_without_access2099223927/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Getting all entries from passwd 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_passwd_are_cleaned478028381/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned478028381/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned478028381/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: get next passwd entry 2022/09/09 10:39:11 DEBUG: request next passwd entry in db 2022/09/09 10:39:11 DEBUG: get next passwd entry 2022/09/09 10:39:11 DEBUG: request next passwd entry in db 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 ERROR: no logger attached to context root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin _apt:x:100:65534::/nonexistent:/usr/sbin/nologin systemd-network:x:101:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin buildd:x:2001:2501:Build Daemon user,,,:/home/buildd:/bin/bash sbuild:x:113:119:Debian source builder,,,:/var/lib/sbuild:/bin/bash futureuser@domain.com:x:80938656:80938656::/home/futureuser@domain.com:/bin/bash 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db === CONT TestIntegration/returns_nothing_when_listing_shadow_without_access 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2433172264/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2433172264/001/shadow.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2433172264/001/passwd.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access4141600563/001 2022/09/09 10:39:11 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:39:11 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:39:11 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_shadow_by_name856885016/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name856885016/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name856885016/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 ERROR: no logger attached to context myuser@domain.com:*::::::: 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access4141600563/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access4141600563/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Getting entry "165119649" from shadow 2022/09/09 10:39:11 DEBUG: Getting entry with id '�' from shadow 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:11 ERROR: no logger attached to context 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3823007569/001 2022/09/09 10:39:11 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:39:11 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:39:11 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2433172264/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2433172264/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2433172264/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 0 2022/09/09 10:39:11 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:11 ERROR: no logger attached to context 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3823007569/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3823007569/001/shadow.db 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database === CONT TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1953057493/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1953057493/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1953057493/001/shadow.db 2022/09/09 10:39:11 DEBUG: Getting all entries from shadow 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access4141600563/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access4141600563/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access4141600563/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 0 2022/09/09 10:39:11 DEBUG: get next shadow entry 2022/09/09 10:39:11 DEBUG: request next shadow entry in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:11 ERROR: no logger attached to context 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/old_entries_in_group_are_cleaned 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key1181148391/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key1181148391/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key1181148391/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_group_are_cleaned961284173/001 2022/09/09 10:39:11 DEBUG: Getting entry "165119649" from group 2022/09/09 10:39:11 DEBUG: Getting entry with id '�' from group 2022/09/09 10:39:11 DEBUG: Requesting an group entry matching GID 165119649 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3823007569/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3823007569/001/shadow.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3823007569/001/passwd.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 0 2022/09/09 10:39:11 DEBUG: getting group information from cache for gid 165119649 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 ERROR: no logger attached to context user@otherdomain.com:x:165119649:user@otherdomain.com 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/list_entry_from_group_by_gid 2022/09/09 10:39:11 DEBUG: Getting entry "myuser@domain.com" from passwd 2022/09/09 10:39:11 DEBUG: Getting entry with name "myuser@domain.com" from passwd 2022/09/09 10:39:11 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1953057493/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1953057493/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1953057493/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 0 2022/09/09 10:39:11 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:11 ERROR: no logger attached to context myuser@domain.com:x:1929326240:1929326240::/home/myuser@domain.com:/bin/bash 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/list_group_without_access_to_shadow 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned961284173/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned961284173/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid1922088058/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid1922088058/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid1922088058/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_group_without_access_to_shadow2041709620/001 2022/09/09 10:39:11 DEBUG: Getting entry "" from shadow 2022/09/09 10:39:11 DEBUG: Getting entry with name "" from shadow 2022/09/09 10:39:11 DEBUG: Requesting a shadow entry matching name "" 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key1181148391/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key1181148391/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key1181148391/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: getting shadow information from cache for "" 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:11 ERROR: no logger attached to context 2022/09/09 10:39:11 DEBUG: Close database request === CONT TestIntegration/list_passwd_without_access_to_shadow 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow2041709620/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow2041709620/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:11 DEBUG: Close database request 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:11 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:11 DEBUG: request to close group iteration in db 2022/09/09 10:39:11 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd_without_access_to_shadow2314432732/001 2022/09/09 10:39:11 DEBUG: Getting all entries from group 2022/09/09 10:39:11 DEBUG: Cache initialization 2022/09/09 10:39:11 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_group_are_cleaned961284173/001 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned961284173/001/passwd.db 2022/09/09 10:39:11 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned961284173/001/shadow.db 2022/09/09 10:39:11 DEBUG: Shadow db mode: 2 2022/09/09 10:39:11 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: get next group entry 2022/09/09 10:39:12 DEBUG: request next group entry in db 2022/09/09 10:39:12 DEBUG: get next group entry 2022/09/09 10:39:12 DEBUG: request next group entry in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4: tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20: fax:x:21: voice:x:22: cdrom:x:24: floppy:x:25: tape:x:26: sudo:x:27: audio:x:29: dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: shadow:x:42: utmp:x:43: video:x:44: sasl:x:45: plugdev:x:46: staff:x:50: games:x:60: users:x:100: nogroup:x:65534: systemd-journal:x:101: systemd-network:x:102: buildd:x:2501: sbuild:x:119:buildd futureuser@domain.com:x:80938656:futureuser@domain.com 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow2314432732/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow2314432732/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_trying_to_list_entry_by_name_from_unsupported_db1805427566/001 2022/09/09 10:39:12 DEBUG: Getting entry "165119649" from group 2022/09/09 10:39:12 DEBUG: Getting entry with id '�' from group 2022/09/09 10:39:12 DEBUG: Requesting an group entry matching GID 165119649 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid1922088058/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid1922088058/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid1922088058/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: getting group information from cache for gid 165119649 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context user@otherdomain.com:x:165119649:user@otherdomain.com 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_name 2022/09/09 10:39:12 DEBUG: Getting all entries from group 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_group_without_access_to_shadow2041709620/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow2041709620/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow2041709620/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 0 2022/09/09 10:39:12 DEBUG: get next group entry 2022/09/09 10:39:12 DEBUG: request next group entry in db 2022/09/09 10:39:12 DEBUG: get next group entry 2022/09/09 10:39:12 DEBUG: request next group entry in db 2022/09/09 10:39:12 DEBUG: get next group entry 2022/09/09 10:39:12 DEBUG: request next group entry in db 2022/09/09 10:39:12 DEBUG: get next group entry 2022/09/09 10:39:12 DEBUG: request next group entry in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4: tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20: fax:x:21: voice:x:22: cdrom:x:24: floppy:x:25: tape:x:26: sudo:x:27: audio:x:29: dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: shadow:x:42: utmp:x:43: video:x:44: sasl:x:45: plugdev:x:46: staff:x:50: games:x:60: users:x:100: nogroup:x:65534: systemd-journal:x:101: systemd-network:x:102: buildd:x:2501: sbuild:x:119:buildd myuser@domain.com:x:1929326240:myuser@domain.com otheruser@domain.com:x:165119648:otheruser@domain.com user@otherdomain.com:x:165119649:user@otherdomain.com 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/list_local_group_entry_without_cache root:x:0: 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_entry_by_name_from_unsupported_db1805427566/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_entry_by_name_from_unsupported_db1805427566/001/shadow.db === CONT TestIntegration/old_entries_in_shadow_are_cleaned 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name615538481/001 2022/09/09 10:39:12 DEBUG: Getting all entries from passwd 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd_without_access_to_shadow2314432732/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow2314432732/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow2314432732/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 0 2022/09/09 10:39:12 DEBUG: get next passwd entry 2022/09/09 10:39:12 DEBUG: request next passwd entry in db 2022/09/09 10:39:12 DEBUG: get next passwd entry 2022/09/09 10:39:12 DEBUG: request next passwd entry in db 2022/09/09 10:39:12 DEBUG: get next passwd entry 2022/09/09 10:39:12 DEBUG: request next passwd entry in db 2022/09/09 10:39:12 DEBUG: get next passwd entry 2022/09/09 10:39:12 DEBUG: request next passwd entry in db 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin _apt:x:100:65534::/nonexistent:/usr/sbin/nologin systemd-network:x:101:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin buildd:x:2001:2501:Build Daemon user,,,:/home/buildd:/bin/bash sbuild:x:113:119:Debian source builder,,,:/var/lib/sbuild:/bin/bash myuser@domain.com:x:1929326240:1929326240::/home/myuser@domain.com:/bin/bash otheruser@domain.com:x:165119648:165119648::/home/otheruser@domain.com:/bin/bash user@otherdomain.com:x:165119649:165119649::/home/user@otherdomain.com:/bin/bash 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/error_when_listing_non-existent_entry_in_passwd 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name615538481/001/shadow.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name615538481/001/passwd.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_shadow_are_cleaned949242678/001 Unknown database: unsupported Try `getent --help' or `getent --usage' for more information. 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/list_passwd 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned949242678/001/shadow.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned949242678/001/passwd.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd379037491/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd379037491/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd379037491/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd2103061519/001 2022/09/09 10:39:12 DEBUG: Getting entry "myuser@domain.com" from passwd 2022/09/09 10:39:12 DEBUG: Getting entry with name "myuser@domain.com" from passwd 2022/09/09 10:39:12 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name615538481/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name615538481/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name615538481/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context myuser@domain.com:x:1929326240:1929326240::/home/myuser@domain.com:/bin/bash 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/error_when_listing_entry_from_shadow_by_uid 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd2103061519/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd2103061519/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid2907259685/001 2022/09/09 10:39:12 DEBUG: Getting all entries from shadow 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_shadow_are_cleaned949242678/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned949242678/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned949242678/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: get next shadow entry 2022/09/09 10:39:12 DEBUG: request next shadow entry in db 2022/09/09 10:39:12 DEBUG: get next shadow entry 2022/09/09 10:39:12 DEBUG: request next shadow entry in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context futureuser@domain.com:$2a$10$cF4IsiVtLzwUTpboXHlv.eaK4BCnwn4r/Rjdry5iSJpq6zAjA0gGy::::::: 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/error_on_get_entry_from_passwd_with_explicit_empty_key 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid2907259685/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid2907259685/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key2743109020/001 2022/09/09 10:39:12 DEBUG: Getting entry "doesnotexist@domain.com" from passwd 2022/09/09 10:39:12 DEBUG: Getting entry with name "doesnotexist@domain.com" from passwd 2022/09/09 10:39:12 DEBUG: Requesting a passwd entry matching name "doesnotexist@domain.com" 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd379037491/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd379037491/001/shadow.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd379037491/001/passwd.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: getting user information from cache for "doesnotexist@domain.com" 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key2743109020/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key2743109020/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache3580812552/001 2022/09/09 10:39:12 DEBUG: Getting all entries from passwd 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd2103061519/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd2103061519/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd2103061519/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: get next passwd entry 2022/09/09 10:39:12 DEBUG: request next passwd entry in db 2022/09/09 10:39:12 DEBUG: get next passwd entry 2022/09/09 10:39:12 DEBUG: request next passwd entry in db 2022/09/09 10:39:12 DEBUG: get next passwd entry 2022/09/09 10:39:12 DEBUG: request next passwd entry in db 2022/09/09 10:39:12 DEBUG: get next passwd entry 2022/09/09 10:39:12 DEBUG: request next passwd entry in db 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin _apt:x:100:65534::/nonexistent:/usr/sbin/nologin systemd-network:x:101:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin buildd:x:2001:2501:Build Daemon user,,,:/home/buildd:/bin/bash sbuild:x:113:119:Debian source builder,,,:/var/lib/sbuild:/bin/bash myuser@domain.com:x:1929326240:1929326240::/home/myuser@domain.com:/bin/bash otheruser@domain.com:x:165119648:165119648::/home/otheruser@domain.com:/bin/bash user@otherdomain.com:x:165119649:165119649::/home/user@otherdomain.com:/bin/bash 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/error_on_trying_to_list_unsupported_db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache3580812552/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache3580812552/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Getting entry "165119649" from shadow 2022/09/09 10:39:12 DEBUG: Getting entry with id '�' from shadow 2022/09/09 10:39:12 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_trying_to_list_unsupported_db354897134/001 === CONT TestIntegration/returns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it 2022/09/09 10:39:12 DEBUG: Getting all entries from passwd 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it1746816533/001 2022/09/09 10:39:12 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin _apt:x:100:65534::/nonexistent:/usr/sbin/nologin systemd-network:x:101:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin buildd:x:2001:2501:Build Daemon user,,,:/home/buildd:/bin/bash sbuild:x:113:119:Debian source builder,,,:/var/lib/sbuild:/bin/bash === CONT TestIntegration/error_when_listing_non-existent_entry_in_shadow 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_unsupported_db354897134/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_unsupported_db354897134/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow3570854894/001 2022/09/09 10:39:12 DEBUG: Getting entry "" from passwd 2022/09/09 10:39:12 DEBUG: Getting entry with name "" from passwd 2022/09/09 10:39:12 DEBUG: Requesting a passwd entry matching name "" 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key2743109020/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key2743109020/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key2743109020/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: getting user information from cache for "" 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/error_when_listing_non-existent_entry_in_group 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow3570854894/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow3570854894/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Getting all entries from passwd 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache3580812552/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache3580812552/001/passwd.db 2022/09/09 10:39:12 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin _apt:x:100:65534::/nonexistent:/usr/sbin/nologin systemd-network:x:101:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin buildd:x:2001:2501:Build Daemon user,,,:/home/buildd:/bin/bash sbuild:x:113:119:Debian source builder,,,:/var/lib/sbuild:/bin/bash 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group467402508/001 Unknown database: unsupported Try `getent --help' or `getent --usage' for more information. 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/list_local_passwd_entry_without_cache root:x:0:0:root:/root:/bin/bash === CONT TestIntegration/list_shadow 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group467402508/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group467402508/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3212996501/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3212996501/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3212996501/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_shadow1970637030/001 2022/09/09 10:39:12 DEBUG: Getting entry "doesnotexist@domain.com" from shadow 2022/09/09 10:39:12 DEBUG: Getting entry with name "doesnotexist@domain.com" from shadow 2022/09/09 10:39:12 DEBUG: Requesting a shadow entry matching name "doesnotexist@domain.com" 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow3570854894/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow3570854894/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow3570854894/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: getting shadow information from cache for "doesnotexist@domain.com" 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_uid 2022/09/09 10:39:12 DEBUG: Getting entry "doesnotexist@domain.com" from group 2022/09/09 10:39:12 DEBUG: Getting entry with name "doesnotexist@domain.com" from group 2022/09/09 10:39:12 DEBUG: Requesting a group entry matching name "doesnotexist@domain.com" 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group467402508/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group467402508/001/shadow.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group467402508/001/passwd.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: getting group information from cache for "doesnotexist@domain.com" 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/list_entry_from_group_by_name 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow1970637030/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow1970637030/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid3907299597/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid3907299597/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid3907299597/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name2369323580/001 2022/09/09 10:39:12 DEBUG: Getting entry "165119649" from passwd 2022/09/09 10:39:12 DEBUG: Getting entry with id '�' from passwd 2022/09/09 10:39:12 DEBUG: Requesting a passwd entry matching UID 165119649 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3212996501/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3212996501/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3212996501/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 0 2022/09/09 10:39:12 DEBUG: getting user information from cache for uid 165119649 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context user@otherdomain.com:x:165119649:165119649::/home/user@otherdomain.com:/bin/bash 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_shadow_without_permission_on_cache 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name2369323580/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name2369323580/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache4257145320/001 2022/09/09 10:39:12 DEBUG: Getting all entries from shadow 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_shadow1970637030/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow1970637030/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow1970637030/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: get next shadow entry 2022/09/09 10:39:12 DEBUG: request next shadow entry in db 2022/09/09 10:39:12 DEBUG: get next shadow entry 2022/09/09 10:39:12 DEBUG: request next shadow entry in db 2022/09/09 10:39:12 DEBUG: get next shadow entry 2022/09/09 10:39:12 DEBUG: request next shadow entry in db 2022/09/09 10:39:12 DEBUG: get next shadow entry 2022/09/09 10:39:12 DEBUG: request next shadow entry in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context myuser@domain.com:$2a$10$R4ieqs.yZJuN1MSp2xhevemo5XnGK5oZ/RnMgWM67cpC3I10no97q::::::: otheruser@domain.com:$2a$10$XnMdMBMWoYRxZdODZXhB2O6ZUiAQedtX3VuIVJc3bVpdNHuEBa8YS::::::: user@otherdomain.com:$2a$10$uA1nwSVblaSj9GtYnP38/eAu9q6fQfJWgAeVMd6dyZfgsaYL5TgsS::::::: 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/error_on_get_entry_from_group_with_explicit_empty_key 2022/09/09 10:39:12 DEBUG: Getting entry "165119649" from passwd 2022/09/09 10:39:12 DEBUG: Getting entry with id '�' from passwd 2022/09/09 10:39:12 DEBUG: Requesting a passwd entry matching UID 165119649 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid3907299597/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid3907299597/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid3907299597/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: getting user information from cache for uid 165119649 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context user@otherdomain.com:x:165119649:165119649::/home/user@otherdomain.com:/bin/bash 2022/09/09 10:39:12 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_group_without_permission_on_cache 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache4257145320/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache4257145320/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key1295336716/001 2022/09/09 10:39:12 DEBUG: Getting entry "myuser@domain.com" from group 2022/09/09 10:39:12 DEBUG: Getting entry with name "myuser@domain.com" from group 2022/09/09 10:39:12 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name2369323580/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name2369323580/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name2369323580/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context myuser@domain.com:x:1929326240:myuser@domain.com 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key1295336716/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key1295336716/001/shadow.db 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database === CONT TestIntegration/returns_nothing_when_listing_group_with_empty_cache 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache3698685666/001 2022/09/09 10:39:12 DEBUG: Getting all entries from shadow 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache4257145320/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache4257145320/001/passwd.db 2022/09/09 10:39:12 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache3698685666/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache3698685666/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3419923825/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3419923825/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3419923825/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: Getting entry "" from group 2022/09/09 10:39:12 DEBUG: Getting entry with name "" from group 2022/09/09 10:39:12 DEBUG: Requesting a group entry matching name "" 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key1295336716/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key1295336716/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key1295336716/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: getting group information from cache for "" 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Getting all entries from group 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3419923825/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3419923825/001/passwd.db 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3419923825/001/shadow.db 2022/09/09 10:39:12 DEBUG: Shadow db mode: 2 2022/09/09 10:39:12 DEBUG: Clean up database 2022/09/09 10:39:12 DEBUG: get next group entry 2022/09/09 10:39:12 DEBUG: request next group entry in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:39:12 ERROR: no logger attached to context root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4: tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20: fax:x:21: voice:x:22: cdrom:x:24: floppy:x:25: tape:x:26: sudo:x:27: audio:x:29: dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: shadow:x:42: utmp:x:43: video:x:44: sasl:x:45: plugdev:x:46: staff:x:50: games:x:60: users:x:100: nogroup:x:65534: systemd-journal:x:101: systemd-network:x:102: buildd:x:2501: sbuild:x:119:buildd 2022/09/09 10:39:12 DEBUG: Close database request 2022/09/09 10:39:12 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:39:12 DEBUG: request to close passwd iteration in db 2022/09/09 10:39:12 DEBUG: request to close group iteration in db 2022/09/09 10:39:12 DEBUG: request to close shadow iteration in db 2022/09/09 10:39:12 DEBUG: Getting all entries from group 2022/09/09 10:39:12 DEBUG: Cache initialization 2022/09/09 10:39:12 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache3698685666/001 2022/09/09 10:39:12 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache3698685666/001/passwd.db 2022/09/09 10:39:12 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:39:12 ERROR: no logger attached to context root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4: tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20: fax:x:21: voice:x:22: cdrom:x:24: floppy:x:25: tape:x:26: sudo:x:27: audio:x:29: dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: shadow:x:42: utmp:x:43: video:x:44: sasl:x:45: plugdev:x:46: staff:x:50: games:x:60: users:x:100: nogroup:x:65534: systemd-journal:x:101: systemd-network:x:102: buildd:x:2501: sbuild:x:119:buildd 2022/09/09 10:39:12 DEBUG: Close database request --- PASS: TestIntegration (0.01s) --- PASS: TestIntegration/list_local_shadow_entry_without_cache (0.05s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache (0.11s) --- PASS: TestIntegration/list_group (0.12s) --- PASS: TestIntegration/list_entry_from_group_by_name_without_access_to_shadow (0.12s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it (0.01s) --- PASS: TestIntegration/returns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it (0.01s) --- PASS: TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache (0.04s) --- PASS: TestIntegration/old_entries_in_passwd_are_cleaned (0.13s) --- PASS: TestIntegration/list_entry_from_shadow_by_name (0.10s) --- PASS: TestIntegration/error_when_listing_entry_from_shadow_by_uid_without_access (0.10s) --- PASS: TestIntegration/error_when_listing_entry_from_shadow_by_name_without_access (0.10s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_without_access (0.09s) --- PASS: TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow (0.08s) --- PASS: TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow (0.08s) --- PASS: TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key (0.09s) --- PASS: TestIntegration/old_entries_in_group_are_cleaned (0.10s) --- PASS: TestIntegration/list_entry_from_group_by_gid (0.10s) --- PASS: TestIntegration/list_group_without_access_to_shadow (0.10s) --- PASS: TestIntegration/list_local_group_entry_without_cache (0.00s) --- PASS: TestIntegration/list_passwd_without_access_to_shadow (0.09s) --- PASS: TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db (0.09s) --- PASS: TestIntegration/list_entry_from_passwd_by_name (0.11s) --- PASS: TestIntegration/old_entries_in_shadow_are_cleaned (0.12s) --- PASS: TestIntegration/error_when_listing_non-existent_entry_in_passwd (0.11s) --- PASS: TestIntegration/list_passwd (0.11s) --- PASS: TestIntegration/error_when_listing_entry_from_shadow_by_uid (0.09s) --- PASS: TestIntegration/returns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it (0.01s) --- PASS: TestIntegration/error_on_get_entry_from_passwd_with_explicit_empty_key (0.09s) --- PASS: TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache (0.09s) --- PASS: TestIntegration/error_on_trying_to_list_unsupported_db (0.07s) --- PASS: TestIntegration/list_local_passwd_entry_without_cache (0.00s) --- PASS: TestIntegration/error_when_listing_non-existent_entry_in_shadow (0.09s) --- PASS: TestIntegration/error_when_listing_non-existent_entry_in_group (0.08s) --- PASS: TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow (0.09s) --- PASS: TestIntegration/list_shadow (0.10s) --- PASS: TestIntegration/list_entry_from_passwd_by_uid (0.08s) --- PASS: TestIntegration/list_entry_from_group_by_name (0.10s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_without_permission_on_cache (0.10s) --- PASS: TestIntegration/error_on_get_entry_from_group_with_explicit_empty_key (0.10s) --- PASS: TestIntegration/returns_nothing_when_listing_group_with_empty_cache (0.06s) --- PASS: TestIntegration/returns_nothing_when_listing_group_without_permission_on_cache (0.10s) PASS ok github.com/ubuntu/aad-auth/nss/aad-auth 4.529s === RUN TestPamSmAuthenticate === RUN TestPamSmAuthenticate/specified_offline_expiration 2022/09/09 10:40:22 DEBUG: Loading configuration from testdata/withoffline-expiration.conf 2022/09/09 10:40:22 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/09/09 10:40:22 DEBUG: Authentication successful with user/password 2022/09/09 10:40:22 DEBUG: Cache initialization 2022/09/09 10:40:22 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatespecified_offline_expiration3302569638/001/cache 2022/09/09 10:40:22 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatespecified_offline_expiration3302569638/001/cache/passwd.db 2022/09/09 10:40:22 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatespecified_offline_expiration3302569638/001/cache/shadow.db 2022/09/09 10:40:22 DEBUG: Shadow db mode: 2 2022/09/09 10:40:22 DEBUG: Clean up database 2022/09/09 10:40:22 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:40:22 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:40:22 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:40:22 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:40:22 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:40:22 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:40:22 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:40:22 DEBUG: Close database request === RUN TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_for_a_new_user 2022/09/09 10:40:22 DEBUG: Loading configuration from testdata/aad-with-homedir-and-shell.conf 2022/09/09 10:40:22 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/09/09 10:40:22 DEBUG: Authentication successful with user/password 2022/09/09 10:40:22 DEBUG: Cache initialization 2022/09/09 10:40:22 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_for_a_new_user2057923140/001/cache 2022/09/09 10:40:22 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_for_a_new_user2057923140/001/cache/shadow.db 2022/09/09 10:40:22 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_for_a_new_user2057923140/001/cache/passwd.db 2022/09/09 10:40:22 DEBUG: Shadow db mode: 2 2022/09/09 10:40:22 DEBUG: Clean up database 2022/09/09 10:40:22 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:40:22 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:40:22 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:40:22 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:40:22 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:40:22 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:40:22 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:40:22 DEBUG: Close database request === RUN TestPamSmAuthenticate/authenticate_successfully_on_config_with_values_only_in_matching_domain 2022/09/09 10:40:22 DEBUG: Loading configuration from testdata/with-domain.conf 2022/09/09 10:40:22 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/09/09 10:40:22 DEBUG: Authentication successful with user/password 2022/09/09 10:40:22 DEBUG: Cache initialization 2022/09/09 10:40:22 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_on_config_with_values_only_in_matching_domain1326813794/001/cache 2022/09/09 10:40:22 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_on_config_with_values_only_in_matching_domain1326813794/001/cache/passwd.db 2022/09/09 10:40:22 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_on_config_with_values_only_in_matching_domain1326813794/001/cache/shadow.db 2022/09/09 10:40:22 DEBUG: Shadow db mode: 2 2022/09/09 10:40:22 DEBUG: Clean up database 2022/09/09 10:40:22 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:40:22 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:40:22 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:40:22 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:40:22 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:40:22 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:40:22 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:40:22 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_invalid_conf 2022/09/09 10:40:22 DEBUG: Loading configuration from testdata/invalid-aad.conf 2022/09/09 10:40:22 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/09/09 10:40:25 DEBUG: Cache initialization 2022/09/09 10:40:25 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache1496588674/001/cache 2022/09/09 10:40:25 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache1496588674/001/cache/passwd.db 2022/09/09 10:40:25 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache1496588674/001/cache/shadow.db 2022/09/09 10:40:25 DEBUG: Shadow db mode: 2 2022/09/09 10:40:25 DEBUG: Clean up database 2022/09/09 10:40:25 DEBUG: Close database request 2022/09/09 10:40:25 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:40:25 DEBUG: request to close passwd iteration in db 2022/09/09 10:40:25 DEBUG: request to close group iteration in db 2022/09/09 10:40:25 DEBUG: request to close shadow iteration in db 2022/09/09 10:40:25 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:40:25 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "success@domain.com" 2022/09/09 10:40:25 DEBUG: acquiring token failed: Offline 2022/09/09 10:40:25 DEBUG: Cache initialization 2022/09/09 10:40:25 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache1496588674/001/cache 2022/09/09 10:40:25 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache1496588674/001/cache/passwd.db 2022/09/09 10:40:25 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache1496588674/001/cache/shadow.db 2022/09/09 10:40:25 DEBUG: Shadow db mode: 2 2022/09/09 10:40:25 DEBUG: Clean up database 2022/09/09 10:40:25 INFO: try to authenticate "success@domain.com" from cache 2022/09/09 10:40:25 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:40:25 ERROR: authenticating user "success@domain.com" from cache failed: error when getting user "success@domain.com" from cache: no entries. Denying access. 2022/09/09 10:40:25 DEBUG: Close database request 2022/09/09 10:40:27 DEBUG: Close database request === RUN TestPamSmAuthenticate/authenticate_successfully_(online) 2022/09/09 10:40:27 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:40:27 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/09/09 10:40:27 DEBUG: Authentication successful with user/password 2022/09/09 10:40:27 DEBUG: Cache initialization 2022/09/09 10:40:27 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)1239794656/001/cache 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)1239794656/001/cache/passwd.db 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)1239794656/001/cache/shadow.db 2022/09/09 10:40:27 DEBUG: Shadow db mode: 2 2022/09/09 10:40:27 DEBUG: Clean up database 2022/09/09 10:40:27 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:40:27 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:40:27 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:40:27 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:40:27 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:40:27 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:40:27 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:40:27 DEBUG: Close database request === RUN TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain 2022/09/09 10:40:27 DEBUG: Loading configuration from testdata/aad-with-homedir-and-shell-domain.conf 2022/09/09 10:40:27 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/09/09 10:40:27 DEBUG: Authentication successful with user/password 2022/09/09 10:40:27 DEBUG: Cache initialization 2022/09/09 10:40:27 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain564773018/001/cache 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain564773018/001/cache/passwd.db 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain564773018/001/cache/shadow.db 2022/09/09 10:40:27 DEBUG: Shadow db mode: 2 2022/09/09 10:40:27 DEBUG: Clean up database 2022/09/09 10:40:27 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:40:27 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:40:27 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:40:27 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:40:27 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:40:27 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:40:27 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:40:27 DEBUG: Close database request === RUN TestPamSmAuthenticate/homedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache 2022/09/09 10:40:27 DEBUG: Cache initialization 2022/09/09 10:40:27 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3348550469/001/cache 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3348550469/001/cache/passwd.db 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3348550469/001/cache/shadow.db 2022/09/09 10:40:27 DEBUG: Shadow db mode: 2 2022/09/09 10:40:27 DEBUG: Clean up database 2022/09/09 10:40:27 DEBUG: Close database request 2022/09/09 10:40:27 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:40:27 DEBUG: request to close passwd iteration in db 2022/09/09 10:40:27 DEBUG: request to close group iteration in db 2022/09/09 10:40:27 DEBUG: request to close shadow iteration in db 2022/09/09 10:40:27 DEBUG: Loading configuration from testdata/forceoffline-with-homedir-and-shell.conf 2022/09/09 10:40:27 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "futureuser@domain.com" 2022/09/09 10:40:27 DEBUG: acquiring token failed: Offline 2022/09/09 10:40:27 DEBUG: Cache initialization 2022/09/09 10:40:27 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3348550469/001/cache 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3348550469/001/cache/passwd.db 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3348550469/001/cache/shadow.db 2022/09/09 10:40:27 DEBUG: Shadow db mode: 2 2022/09/09 10:40:27 DEBUG: Clean up database 2022/09/09 10:40:27 INFO: try to authenticate "futureuser@domain.com" from cache 2022/09/09 10:40:27 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:40:27 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-09-09 10:40:27.557169494 +0000 UTC m=+5.286098558. Revalidation needed every 90 days 2022/09/09 10:40:27 DEBUG: Close database request 2022/09/09 10:40:27 DEBUG: Close database request === RUN TestPamSmAuthenticate/authenticate_successfully_with_unmatched_case_(online) 2022/09/09 10:40:27 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:40:27 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/09/09 10:40:27 DEBUG: Authentication successful with user/password 2022/09/09 10:40:27 DEBUG: Cache initialization 2022/09/09 10:40:27 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)407052864/001/cache 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)407052864/001/cache/passwd.db 2022/09/09 10:40:27 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)407052864/001/cache/shadow.db 2022/09/09 10:40:27 DEBUG: Shadow db mode: 2 2022/09/09 10:40:27 DEBUG: Clean up database 2022/09/09 10:40:27 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:40:27 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:40:27 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:40:27 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:40:27 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:40:27 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:40:27 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:40:27 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_unexisting_users 2022/09/09 10:40:27 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:40:27 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/09/09 10:40:27 DEBUG: Got response: User doesn't exist === RUN TestPamSmAuthenticate/error_on_invalid_password 2022/09/09 10:40:29 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:40:29 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "invalid credentials" 2022/09/09 10:40:29 DEBUG: Got response: Invalid credentials === RUN TestPamSmAuthenticate/error_on_config_values_only_in_mismatching_domain 2022/09/09 10:40:32 DEBUG: Loading configuration from testdata/with-domain.conf 2022/09/09 10:40:32 ERROR: No valid configuration found: could not load valid configuration from testdata/with-domain.conf: missing required 'tenant_id' entry in configuration file === RUN TestPamSmAuthenticate/error_on_offline_with_purged_user_accoauthenticateunt 2022/09/09 10:40:34 DEBUG: Cache initialization 2022/09/09 10:40:34 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_purged_user_accoauthenticateunt1965960704/001/cache 2022/09/09 10:40:34 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_purged_user_accoauthenticateunt1965960704/001/cache/passwd.db 2022/09/09 10:40:34 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_purged_user_accoauthenticateunt1965960704/001/cache/shadow.db 2022/09/09 10:40:34 DEBUG: Shadow db mode: 2 2022/09/09 10:40:34 DEBUG: Clean up database 2022/09/09 10:40:34 DEBUG: Close database request 2022/09/09 10:40:34 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:40:34 DEBUG: request to close passwd iteration in db 2022/09/09 10:40:34 DEBUG: request to close group iteration in db 2022/09/09 10:40:34 DEBUG: request to close shadow iteration in db 2022/09/09 10:40:34 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:40:34 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/09/09 10:40:34 DEBUG: Got response: User doesn't exist 2022/09/09 10:40:36 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_unexisting_conf 2022/09/09 10:40:36 DEBUG: Loading configuration from testdata/doesnotexist.conf 2022/09/09 10:40:36 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_cache_can't_be_created/opened 2022/09/09 10:40:38 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:40:38 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/09/09 10:40:38 DEBUG: Authentication successful with user/password 2022/09/09 10:40:38 DEBUG: Cache initialization 2022/09/09 10:40:38 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_cache_cant_be_createdopened1993629781/001/cache 2022/09/09 10:40:38 ERROR: can't open/create cache: can't initiate database: cache creation can only be done by root user. Denying access. === RUN TestPamSmAuthenticate/offline,_connect_existing_user_from_cache 2022/09/09 10:40:40 DEBUG: Cache initialization 2022/09/09 10:40:40 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache1988052342/001/cache 2022/09/09 10:40:40 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache1988052342/001/cache/passwd.db 2022/09/09 10:40:40 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache1988052342/001/cache/shadow.db 2022/09/09 10:40:40 DEBUG: Shadow db mode: 2 2022/09/09 10:40:40 DEBUG: Clean up database 2022/09/09 10:40:40 DEBUG: Close database request 2022/09/09 10:40:40 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:40:40 DEBUG: request to close passwd iteration in db 2022/09/09 10:40:40 DEBUG: request to close group iteration in db 2022/09/09 10:40:40 DEBUG: request to close shadow iteration in db 2022/09/09 10:40:40 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:40:40 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "futureuser@domain.com" 2022/09/09 10:40:40 DEBUG: acquiring token failed: Offline 2022/09/09 10:40:40 DEBUG: Cache initialization 2022/09/09 10:40:40 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache1988052342/001/cache 2022/09/09 10:40:40 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache1988052342/001/cache/passwd.db 2022/09/09 10:40:40 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache1988052342/001/cache/shadow.db 2022/09/09 10:40:40 DEBUG: Shadow db mode: 2 2022/09/09 10:40:40 DEBUG: Clean up database 2022/09/09 10:40:40 INFO: try to authenticate "futureuser@domain.com" from cache 2022/09/09 10:40:40 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:40:40 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-09-09 10:40:40.43989243 +0000 UTC m=+18.168821493. Revalidation needed every 90 days 2022/09/09 10:40:40 DEBUG: Close database request 2022/09/09 10:40:40 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_offline_with_unpurged_old_user_account 2022/09/09 10:40:40 DEBUG: Cache initialization 2022/09/09 10:40:40 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1537952892/001/cache 2022/09/09 10:40:40 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1537952892/001/cache/passwd.db 2022/09/09 10:40:40 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1537952892/001/cache/shadow.db 2022/09/09 10:40:40 DEBUG: Shadow db mode: 2 2022/09/09 10:40:40 DEBUG: Clean up database 2022/09/09 10:40:40 DEBUG: Close database request 2022/09/09 10:40:40 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:40:40 DEBUG: request to close passwd iteration in db 2022/09/09 10:40:40 DEBUG: request to close group iteration in db 2022/09/09 10:40:40 DEBUG: request to close shadow iteration in db 2022/09/09 10:40:40 DEBUG: Loading configuration from testdata/forceoffline-expire-right-away.conf 2022/09/09 10:40:40 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "force offline" for user "veryolduser@domain.com" 2022/09/09 10:40:40 DEBUG: acquiring token failed: Offline 2022/09/09 10:40:40 DEBUG: Cache initialization 2022/09/09 10:40:40 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1537952892/001/cache 2022/09/09 10:40:40 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1537952892/001/cache/passwd.db 2022/09/09 10:40:40 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1537952892/001/cache/shadow.db 2022/09/09 10:40:40 DEBUG: Shadow db mode: 2 2022/09/09 10:40:40 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:40:40 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/09/09 10:40:40 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:40:40 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-09-09 10:40:40.586342307 +0000 UTC m=+18.315271372. Revalidation needed every 0 days 2022/09/09 10:40:40 ERROR: authenticating user "veryolduser@domain.com" from cache failed: offline credentials expired. Denying access. 2022/09/09 10:40:40 DEBUG: Close database request 2022/09/09 10:40:43 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_server_error 2022/09/09 10:40:43 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:40:43 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/09/09 10:40:43 ERROR: Can't read server response: invalid READ --- PASS: TestPamSmAuthenticate (22.98s) --- PASS: TestPamSmAuthenticate/specified_offline_expiration (0.17s) --- PASS: TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_for_a_new_user (0.15s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_on_config_with_values_only_in_matching_domain (0.13s) --- PASS: TestPamSmAuthenticate/error_on_invalid_conf (2.66s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_user_online_user_not_in_cache (1.84s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_(online) (0.13s) --- PASS: TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain (0.14s) --- PASS: TestPamSmAuthenticate/homedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache (0.18s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_with_unmatched_case_(online) (0.14s) --- PASS: TestPamSmAuthenticate/error_on_unexisting_users (2.01s) --- PASS: TestPamSmAuthenticate/error_on_invalid_password (2.29s) --- PASS: TestPamSmAuthenticate/error_on_config_values_only_in_mismatching_domain (2.04s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_purged_user_accoauthenticateunt (2.71s) --- PASS: TestPamSmAuthenticate/error_on_unexisting_conf (1.59s) --- PASS: TestPamSmAuthenticate/error_on_cache_can't_be_created/opened (1.87s) --- PASS: TestPamSmAuthenticate/offline,_connect_existing_user_from_cache (0.19s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_unpurged_old_user_account (2.51s) --- PASS: TestPamSmAuthenticate/error_on_server_error (2.21s) === 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.03s) PASS ok github.com/ubuntu/aad-auth/pam 96.149s 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 cd obj-powerpc64le-linux-gnu && mkdir -p /<>/debian/tmp/usr cd obj-powerpc64le-linux-gnu && cp -r bin /<>/debian/tmp/usr # Install PAM module configuration mkdir -p debian/tmp/usr/share/pam-configs cp debian/libpam-aad.pam-auth-update debian/tmp/usr/share/pam-configs/aad # Install configuration template to /etc mkdir -p debian/tmp/etc cp conf/aad.conf.template debian/tmp/etc/aad.conf # Install PAM and NSS libraries mkdir -p debian/tmp/usr/lib/powerpc64le-linux-gnu/security cp pam_aad.so debian/tmp/usr/lib/powerpc64le-linux-gnu/security make install -C nss/ DESTDIR=/<>/debian/tmp make[2]: Entering directory '/<>/nss' install -dm 0755 /<>/debian/tmp/usr/lib/powerpc64le-linux-gnu install -m 0644 libnss_aad.so.2 /<>/debian/tmp/usr/lib/powerpc64le-linux-gnu make[2]: Leaving directory '/<>/nss' # Install NSS helper to /usr/libexec mkdir -p debian/tmp/usr/libexec mv debian/tmp/usr/bin/aad-auth debian/tmp/usr/libexec # Generate and install translations GENERATE_ONLY_INSTALL_TO_DESTDIR=/<>/debian/tmp go generate -x ./internal/i18n go run generate-locales.go update-po ../../po/aad-auth.pot ../../po go run generate-locales.go generate-mo aad-auth ../../po ../../generated 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 debugedit: debian/libpam-aad/usr/lib/powerpc64le-linux-gnu/security/pam_aad.so: DWARF version 0 unhandled 23858e5581113506745628c24203a62e260ad99b 841d9aa5fb519125fea5305316d84ec18deaf0b9 debugedit: debian/libnss-aad/usr/libexec/aad-auth: DWARF version 0 unhandled 7945ee1f46752d4d8c70c64a015ac973599068d2 dh_makeshlibs -a -O--buildsystem=golang 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 dpkg-gencontrol: warning: package libnss-aad: substitution variable ${misc:Static-Built-Using} unused, but is defined dpkg-gencontrol: warning: package libpam-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: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 pkgstriptranslations: processing libpam-aad (in debian/libpam-aad); do_strip: , oemstrip: pkgstriptranslations: processing libnss-aad (in debian/libnss-aad); do_strip: , oemstrip: pkgstriptranslations: processing libnss-aad-dbgsym (in debian/.debhelper/libnss-aad/dbgsym-root); do_strip: , oemstrip: pkgstriptranslations: processing libpam-aad-dbgsym (in debian/.debhelper/libpam-aad/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/libnss-aad/DEBIAN/control, package libnss-aad, directory debian/libnss-aad pkgstripfiles: processing control file: debian/.debhelper/libnss-aad/dbgsym-root/DEBIAN/control, package libnss-aad-dbgsym, directory debian/.debhelper/libnss-aad/dbgsym-root dpkg-deb: building package 'libnss-aad-dbgsym' in 'debian/.debhelper/scratch-space/build-libnss-aad/libnss-aad-dbgsym_0.2_ppc64el.deb'. INFO: pkgstripfiles: waiting for lock (libnss-aad) ... Renaming libnss-aad-dbgsym_0.2_ppc64el.deb to libnss-aad-dbgsym_0.2_ppc64el.ddeb INFO: pkgstripfiles: waiting for lock (libnss-aad) ... INFO: pkgstripfiles: waiting for lock (libnss-aad) ... INFO: pkgstripfiles: waiting for lock (libnss-aad) ... INFO: pkgstripfiles: waiting for lock (libnss-aad) ... pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/libpam-aad/DEBIAN/control, package libpam-aad, directory debian/libpam-aad pkgstripfiles: processing control file: debian/.debhelper/libpam-aad/dbgsym-root/DEBIAN/control, package libpam-aad-dbgsym, directory debian/.debhelper/libpam-aad/dbgsym-root dpkg-deb: building package 'libpam-aad-dbgsym' in 'debian/.debhelper/scratch-space/build-libpam-aad/libpam-aad-dbgsym_0.2_ppc64el.deb'. pkgstripfiles: Running PNG optimization (using 4 cpus) for package libpam-aad ... pkgstripfiles: No PNG files. dpkg-deb: building package 'libpam-aad' in '../libpam-aad_0.2_ppc64el.deb'. pkgstripfiles: Running PNG optimization (using 4 cpus) for package libnss-aad ... pkgstripfiles: No PNG files. dpkg-deb: building package 'libnss-aad' in '../libnss-aad_0.2_ppc64el.deb'. Renaming libpam-aad-dbgsym_0.2_ppc64el.deb to libpam-aad-dbgsym_0.2_ppc64el.ddeb dpkg-genbuildinfo --build=any -O../aad-auth_0.2_ppc64el.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../aad-auth_0.2_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-09-09T10:41:02Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ aad-auth_0.2_ppc64el.changes: ----------------------------- Format: 1.8 Date: Fri, 09 Sep 2022 10:48:17 +0300 Source: aad-auth Binary: libnss-aad libpam-aad Built-For-Profiles: noudeb Architecture: ppc64el Version: 0.2 Distribution: kinetic-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Gabriel Nagy Description: libnss-aad - Azure Active Directory Authentication module for NSS libpam-aad - Azure Active Directory Authentication module for PAM Changes: aad-auth (0.2) kinetic; urgency=medium . [ Didier Roche ] [ Denison Barbosa ] [ Gabriel Nagy ] [ Jean-Baptiste Lallement ] * Rewrite NSS Go library in C - due to random crashes caused by loading a multithreaded shared library written in Go from NSS, we now have a thin C wrapper calling a Go executable which does the actual queries * Add translations supported by gettext to the PAM module - to support the future CLI integration, these are shipped in a common architecture-independent package * Ship a configuration template in the common package * Fix segfault on interrupted pam conversation * Fix FTBFS on armhf due to int type size * Various test improvements and fixes * Update dependencies to latest: - github.com/AzureAD/microsoft-authentication-library-for-go - github.com/go-ini/ini - github.com/mattn/go-sqlite3 Checksums-Sha1: 2f8e16882d48efc1731869e8ed8e9fd4166f36a6 7917 aad-auth_0.2_ppc64el.buildinfo 41fab83288b4fd08a23b65bb9b12ac3d0540739f 3731374 libnss-aad-dbgsym_0.2_ppc64el.ddeb 27690ab2bf4df2027924fabaa6207d92f415a864 1879906 libnss-aad_0.2_ppc64el.deb ffa58c8b0bcad6ba982d7cea18a9e71d3bbbb020 4466590 libpam-aad-dbgsym_0.2_ppc64el.ddeb 78c3f86193b38a01b353a4173a4fc44bef40ae57 3190106 libpam-aad_0.2_ppc64el.deb Checksums-Sha256: 1bf6b253ed7a20b56b97e0ee3d052a0eb8dc567ef59a3ab12925cf45534fbe52 7917 aad-auth_0.2_ppc64el.buildinfo cec811bc19d47f1d376afa50ce633c80a32355708ac33bbf5e1486cee3031ad9 3731374 libnss-aad-dbgsym_0.2_ppc64el.ddeb 37b3f9e784ed3e6571e9bb0f11a30f72e0feb079f34d976c487ec4c5de0387cd 1879906 libnss-aad_0.2_ppc64el.deb 13fdd51b807d2428ac1a6830def9df6752356f0ba2f3248ea5db12f61bd28cd8 4466590 libpam-aad-dbgsym_0.2_ppc64el.ddeb a8d198a177fed367ee01b10dccc72beb0b60a48195e43784cad52c68f652900d 3190106 libpam-aad_0.2_ppc64el.deb Files: 7b76455325c267738bfb6fc9e738e192 7917 admin optional aad-auth_0.2_ppc64el.buildinfo 527db5a00b23916de76e8e59b570d731 3731374 debug optional libnss-aad-dbgsym_0.2_ppc64el.ddeb e3c05dfd428654e693c860432be58088 1879906 admin optional libnss-aad_0.2_ppc64el.deb 6ef3b7592231972505818814ce3ab3d1 4466590 debug optional libpam-aad-dbgsym_0.2_ppc64el.ddeb 2768c543d0290d658455847453b4e992 3190106 admin optional libpam-aad_0.2_ppc64el.deb /<>/aad-auth_0.2_ppc64el.changes.new could not be renamed to /<>/aad-auth_0.2_ppc64el.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: aad-auth Binary: libnss-aad libnss-aad-dbgsym libpam-aad libpam-aad-dbgsym Architecture: ppc64el Version: 0.2 Checksums-Md5: 527db5a00b23916de76e8e59b570d731 3731374 libnss-aad-dbgsym_0.2_ppc64el.ddeb e3c05dfd428654e693c860432be58088 1879906 libnss-aad_0.2_ppc64el.deb 6ef3b7592231972505818814ce3ab3d1 4466590 libpam-aad-dbgsym_0.2_ppc64el.ddeb 2768c543d0290d658455847453b4e992 3190106 libpam-aad_0.2_ppc64el.deb Checksums-Sha1: 41fab83288b4fd08a23b65bb9b12ac3d0540739f 3731374 libnss-aad-dbgsym_0.2_ppc64el.ddeb 27690ab2bf4df2027924fabaa6207d92f415a864 1879906 libnss-aad_0.2_ppc64el.deb ffa58c8b0bcad6ba982d7cea18a9e71d3bbbb020 4466590 libpam-aad-dbgsym_0.2_ppc64el.ddeb 78c3f86193b38a01b353a4173a4fc44bef40ae57 3190106 libpam-aad_0.2_ppc64el.deb Checksums-Sha256: cec811bc19d47f1d376afa50ce633c80a32355708ac33bbf5e1486cee3031ad9 3731374 libnss-aad-dbgsym_0.2_ppc64el.ddeb 37b3f9e784ed3e6571e9bb0f11a30f72e0feb079f34d976c487ec4c5de0387cd 1879906 libnss-aad_0.2_ppc64el.deb 13fdd51b807d2428ac1a6830def9df6752356f0ba2f3248ea5db12f61bd28cd8 4466590 libpam-aad-dbgsym_0.2_ppc64el.ddeb a8d198a177fed367ee01b10dccc72beb0b60a48195e43784cad52c68f652900d 3190106 libpam-aad_0.2_ppc64el.deb Build-Origin: Ubuntu Build-Architecture: ppc64el Build-Date: Fri, 09 Sep 2022 10:41:02 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs usr-local-has-programs Installed-Build-Depends: adduser (= 3.121ubuntu1), autoconf (= 2.71-2), automake (= 1:1.16.5-1.3), autopoint (= 0.21-8), autotools-dev (= 20220109.1), base-files (= 12.2ubuntu2), base-passwd (= 3.6.0), bash (= 5.2~rc2-2ubuntu1), binutils (= 2.39-1ubuntu1), binutils-common (= 2.39-1ubuntu1), binutils-powerpc64le-linux-gnu (= 2.39-1ubuntu1), 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:12.2.0-1ubuntu1), cpp-12 (= 12.2.0-2ubuntu1), dash (= 0.5.11+git20210903+057cd650a4ed-8ubuntu1), debconf (= 1.5.79ubuntu1), debhelper (= 13.9.1ubuntu1), debianutils (= 5.7-0.3), debugedit (= 1:5.0-5), dh-apport (= 2.23.0-0ubuntu1), dh-autoreconf (= 20), dh-golang (= 1.58), dh-strip-nondeterminism (= 1.13.0-1), diffutils (= 1:3.8-1), dpkg (= 1.21.9ubuntu1), dpkg-dev (= 1.21.9ubuntu1), dwz (= 0.14-1build2), file (= 1:5.41-4), findutils (= 4.9.0-3ubuntu1), g++ (= 4:12.2.0-1ubuntu1), g++-12 (= 12.2.0-2ubuntu1), gcc (= 4:12.2.0-1ubuntu1), gcc-12 (= 12.2.0-2ubuntu1), gcc-12-base (= 12.2.0-2ubuntu1), gettext (= 0.21-8), gettext-base (= 0.21-8), golang-1.19-go (= 1.19-1ubuntu2), golang-1.19-src (= 1.19-1ubuntu2), golang-go (= 2:1.19~1), golang-src (= 2:1.19~1), grep (= 3.7-1build1), groff-base (= 1.22.4-8build1), gzip (= 1.12-1ubuntu1), hostname (= 3.23ubuntu2), init-system-helpers (= 1.64), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.3.1-1), libapparmor1 (= 3.0.7-1ubuntu1), libarchive-zip-perl (= 1.68-1), libargon2-1 (= 0~20171227-0.3), libasan8 (= 12.2.0-2ubuntu1), libatomic1 (= 12.2.0-2ubuntu1), libattr1 (= 1:2.5.1-1build1), libaudit-common (= 1:3.0.7-1build1), libaudit1 (= 1:3.0.7-1build1), libbinutils (= 2.39-1ubuntu1), libblkid-dev (= 2.38-4ubuntu1), libblkid1 (= 2.38-4ubuntu1), libbz2-1.0 (= 1.0.8-5build1), libc-bin (= 2.36-0ubuntu2), libc-dev-bin (= 2.36-0ubuntu2), libc6 (= 2.36-0ubuntu2), libc6-dev (= 2.36-0ubuntu2), libcap-ng0 (= 0.8.3-1), libcap2 (= 1:2.44-1build3), libcc1-0 (= 12.2.0-2ubuntu1), libcom-err2 (= 1.46.5-2ubuntu2), libcrypt-dev (= 1:4.4.28-2), libcrypt1 (= 1:4.4.28-2), libcryptsetup12 (= 2:2.5.0-2ubuntu1), libctf-nobfd0 (= 2.39-1ubuntu1), libctf0 (= 2.39-1ubuntu1), libdb5.3 (= 5.3.28+dfsg1-0.10), libdebconfclient0 (= 0.264ubuntu1), libdebhelper-perl (= 13.9.1ubuntu1), libdevmapper1.02.1 (= 2:1.02.185-1ubuntu1), libdpkg-perl (= 1.21.9ubuntu1), libdw1 (= 0.187-2), libelf1 (= 0.187-2), libexpat1 (= 2.4.8-1), libfdisk1 (= 2.38-4ubuntu1), libffi-dev (= 3.4.2-4), libffi8 (= 3.4.2-4), libfile-stripnondeterminism-perl (= 1.13.0-1), libgcc-12-dev (= 12.2.0-2ubuntu1), libgcc-s1 (= 12.2.0-2ubuntu1), libgcrypt20 (= 1.10.1-2ubuntu1), libgdbm-compat4 (= 1.23-1), libgdbm6 (= 1.23-1), libglib2.0-0 (= 2.73.3-3), libglib2.0-bin (= 2.73.3-3), libglib2.0-data (= 2.73.3-3), libglib2.0-dev (= 2.73.3-3), libglib2.0-dev-bin (= 2.73.3-3), libgmp10 (= 2:6.2.1+dfsg1-1ubuntu2), libgomp1 (= 12.2.0-2ubuntu1), libgpg-error0 (= 1.45-2), libgssapi-krb5-2 (= 1.20-1), libicu71 (= 71.1-3), libip4tc2 (= 1.8.7-1ubuntu6), libisl23 (= 0.25-1), libitm1 (= 12.2.0-2ubuntu1), libjson-c5 (= 0.16-1), libk5crypto3 (= 1.20-1), libkeyutils1 (= 1.6.3-1), libkmod2 (= 30+20220630-3ubuntu1), libkrb5-3 (= 1.20-1), libkrb5support0 (= 1.20-1), liblsan0 (= 12.2.0-2ubuntu1), liblz4-1 (= 1.9.3-2build2), liblzma5 (= 5.2.5-2.1), libmagic-mgc (= 1:5.41-4), libmagic1 (= 1:5.41-4), libmount-dev (= 2.38-4ubuntu1), libmount1 (= 2.38-4ubuntu1), libmpc3 (= 1.2.1-2build1), libmpdec3 (= 2.5.1-2build2), libmpfr6 (= 4.1.0-3build3), libncursesw6 (= 6.3+20220423-2), libnsl-dev (= 1.3.0-2build2), libnsl2 (= 1.3.0-2build2), libpam-modules (= 1.5.2-2ubuntu1), libpam-modules-bin (= 1.5.2-2ubuntu1), libpam-runtime (= 1.5.2-2ubuntu1), libpam0g (= 1.5.2-2ubuntu1), libpam0g-dev (= 1.5.2-2ubuntu1), libpcre2-16-0 (= 10.40-1ubuntu1), libpcre2-32-0 (= 10.40-1ubuntu1), libpcre2-8-0 (= 10.40-1ubuntu1), libpcre2-dev (= 10.40-1ubuntu1), libpcre2-posix3 (= 10.40-1ubuntu1), libpcre3 (= 2:8.39-14), libperl5.34 (= 5.34.0-5ubuntu1), libpipeline1 (= 1.5.6-2), libpython3-stdlib (= 3.10.6-1), libpython3.10-minimal (= 3.10.7-1), libpython3.10-stdlib (= 3.10.7-1), libquadmath0 (= 12.2.0-2ubuntu1), libreadline8 (= 8.2~rc2-2), libseccomp2 (= 2.5.4-1ubuntu1), libselinux1 (= 3.4-1), libselinux1-dev (= 3.4-1), libsemanage-common (= 3.4-1), libsemanage2 (= 3.4-1), libsepol-dev (= 3.4-2), libsepol2 (= 3.4-2), libsmartcols1 (= 2.38-4ubuntu1), libsqlite3-0 (= 3.39.2-1), libssl3 (= 3.0.5-2ubuntu1), libstdc++-12-dev (= 12.2.0-2ubuntu1), libstdc++6 (= 12.2.0-2ubuntu1), libsub-override-perl (= 0.09-3), libsystemd-shared (= 251.4-1ubuntu4), libsystemd0 (= 251.4-1ubuntu4), libtinfo6 (= 6.3+20220423-2), libtirpc-common (= 1.3.3+ds-1), libtirpc-dev (= 1.3.3+ds-1), libtirpc3 (= 1.3.3+ds-1), libtool (= 2.4.7-4), libtsan2 (= 12.2.0-2ubuntu1), libubsan1 (= 12.2.0-2ubuntu1), libuchardet0 (= 0.0.7-1build2), libudev1 (= 251.4-1ubuntu4), libunistring2 (= 1.0-1), libuuid1 (= 2.38-4ubuntu1), libxml2 (= 2.9.14+dfsg-1), libzstd1 (= 1.5.2+dfsg-1), linux-libc-dev (= 5.19.0-16.16), login (= 1:4.11.1+dfsg1-2ubuntu1), lsb-base (= 11.2ubuntu1), lto-disabled-list (= 35), m4 (= 1.4.19-1), make (= 4.3-4.1build1), man-db (= 2.10.2-2), mawk (= 1.3.4.20200120-3.1), media-types (= 8.0.0), mount (= 2.38-4ubuntu1), ncurses-base (= 6.3+20220423-2), ncurses-bin (= 6.3+20220423-2), 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), pkg-config (= 0.29.2-1ubuntu3), po-debconf (= 1.0.21+nmu1), python3 (= 3.10.6-1), python3-distutils (= 3.10.6-1), python3-lib2to3 (= 3.10.6-1), python3-minimal (= 3.10.6-1), python3.10 (= 3.10.7-1), python3.10-minimal (= 3.10.7-1), readline-common (= 8.2~rc2-2), rpcsvc-proto (= 1.4.2-0ubuntu6), sed (= 4.8-1ubuntu2), sensible-utils (= 0.0.17), systemd (= 251.4-1ubuntu4), sysvinit-utils (= 3.04-1ubuntu1), tar (= 1.34+dfsg-1build3), util-linux (= 2.38-4ubuntu1), util-linux-extra (= 2.38-4ubuntu1), uuid-dev (= 2.38-4ubuntu1), xz-utils (= 5.2.5-2.1), zlib1g (= 1:1.2.11.dfsg-4.1ubuntu1), zlib1g-dev (= 1:1.2.11.dfsg-4.1ubuntu1) Environment: DEB_BUILD_OPTIONS="parallel=4" DEB_BUILD_PROFILES="noudeb" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1662709697" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ libnss-aad_0.2_ppc64el.deb -------------------------- new Debian package, version 2.0. size 1879906 bytes: control archive=1733 bytes. 674 bytes, 17 lines control 276 bytes, 4 lines md5sums 1056 bytes, 40 lines * postinst #!/bin/sh 833 bytes, 40 lines * postrm #!/bin/sh 33 bytes, 1 lines shlibs 728 bytes, 26 lines symbols 74 bytes, 2 lines triggers Package: libnss-aad Source: aad-auth Version: 0.2 Architecture: ppc64el Maintainer: Ubuntu Developers Installed-Size: 5407 Depends: aad-common, libc6 (>= 2.34), libglib2.0-0 (>= 2.72.1) Built-Using: golang-1.19 (= 1.19-1ubuntu2) Section: admin Priority: optional Homepage: https://github.com/ubuntu/aad-auth Description: Azure Active Directory Authentication module for NSS Azure Active Directory Authentication enables authentication of Azure Active Directory accounts on your local system. It dynamically creates local accounts, supporting additional features like offline connectivity. . This package contains the NSS module. drwxr-xr-x root/root 0 2022-09-09 07:48 ./ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/lib/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/lib/powerpc64le-linux-gnu/ -rw-r--r-- root/root 67568 2022-09-09 07:48 ./usr/lib/powerpc64le-linux-gnu/libnss_aad.so.2 drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/libexec/ -rwxr-xr-x root/root 5442992 2022-09-09 07:48 ./usr/libexec/aad-auth drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/doc/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/doc/libnss-aad/ -rw-r--r-- root/root 630 2022-09-09 07:48 ./usr/share/doc/libnss-aad/changelog.gz -rw-r--r-- root/root 8266 2022-09-09 07:48 ./usr/share/doc/libnss-aad/copyright libpam-aad_0.2_ppc64el.deb -------------------------- new Debian package, version 2.0. size 3190106 bytes: control archive=3337 bytes. 672 bytes, 17 lines control 503 bytes, 7 lines md5sums 95 bytes, 11 lines * postinst #!/bin/sh 151 bytes, 9 lines * prerm #!/bin/sh 15482 bytes, 429 lines symbols 74 bytes, 2 lines triggers Package: libpam-aad Source: aad-auth Version: 0.2 Architecture: ppc64el Maintainer: Ubuntu Developers Installed-Size: 9800 Depends: aad-common, libc6 (>= 2.34), libpam0g (>= 0.99.7.1) Built-Using: golang-1.19 (= 1.19-1ubuntu2) Section: admin Priority: optional Homepage: https://github.com/ubuntu/aad-auth Description: Azure Active Directory Authentication module for PAM Azure Active Directory Authentication enables authentication of Azure Active Directory accounts on your local system. It dynamically creates local accounts, supporting additional features like offline connectivity. . This package contains the PAM module. drwxr-xr-x root/root 0 2022-09-09 07:48 ./ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/lib/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/lib/powerpc64le-linux-gnu/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/lib/powerpc64le-linux-gnu/security/ -rw-r--r-- root/root 9986480 2022-09-09 07:48 ./usr/lib/powerpc64le-linux-gnu/security/pam_aad.so drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/apport/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/apport/package-hooks/ -rw-r--r-- root/root 409 2022-09-09 07:48 ./usr/share/apport/package-hooks/libpam-aad.py drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/doc/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/doc/libpam-aad/ -rw-r--r-- root/root 560 2022-09-09 07:48 ./usr/share/doc/libpam-aad/NOTICE -rw-r--r-- root/root 630 2022-09-09 07:48 ./usr/share/doc/libpam-aad/changelog.gz -rw-r--r-- root/root 8266 2022-09-09 07:48 ./usr/share/doc/libpam-aad/copyright drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/lintian/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 109 2022-09-09 07:48 ./usr/share/lintian/overrides/libpam-aad drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/pam-configs/ -rw-r--r-- root/root 124 2022-09-09 07:48 ./usr/share/pam-configs/aad +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: ppc64el Build Type: any Build-Space: 114708 Build-Time: 343 Distribution: kinetic-proposed Host Architecture: ppc64el Install-Time: 17 Job: aad-auth_0.2.dsc Machine Architecture: ppc64el Package: aad-auth Package-Time: 360 Source-Version: 0.2 Space: 114708 Status: successful Version: 0.2 -------------------------------------------------------------------------------- Finished at 2022-09-09T10:41:02Z Build needed 00:06:00, 114708k 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-24348164 Scanning for processes to kill in build PACKAGEBUILD-24348164