https://launchpad.net/ubuntu/+source/aad-auth/0.2/+build/24348163 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-arm64-054 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 14:03:41 UTC 2022 aarch64 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:44 ntpdate[1830]: adjust time server 10.211.37.1 offset -0.003222 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=kinetic --arch=armhf PACKAGEBUILD-24348163 --image-type chroot /home/buildd/filecache-default/bee0bc12d37b7f8f5575cac6dd1465e088af1717 Creating target for build PACKAGEBUILD-24348163 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=kinetic --arch=armhf PACKAGEBUILD-24348163 Starting target for build PACKAGEBUILD-24348163 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=kinetic --arch=armhf PACKAGEBUILD-24348163 '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-24348163 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=kinetic --arch=armhf PACKAGEBUILD-24348163 Updating target for build PACKAGEBUILD-24348163 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 armhf Packages [1323 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main Translation-en [511 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/universe armhf Packages [13.5 MB] Get:8 http://ftpmaster.internal/ubuntu kinetic/universe Translation-en [5790 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf Packages [64.4 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic-proposed/main Translation-en [30.9 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic-proposed/universe armhf Packages [187 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic-proposed/universe Translation-en [83.7 kB] Fetched 22.0 MB in 5s (4756 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 libstdc++-12-dev libstdc++6 libsystemd-shared libsystemd0 libubsan1 libudev1 linux-libc-dev lto-disabled-list systemd systemd-sysv usrmerge 22 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 47.7 MB of archives. After this operation, 427 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu kinetic/main armhf bash armhf 5.2~rc2-2ubuntu1 [676 kB] Get:2 http://ftpmaster.internal/ubuntu kinetic/main armhf systemd-sysv armhf 251.4-1ubuntu4 [11.2 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic/main armhf systemd armhf 251.4-1ubuntu4 [2785 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic/main armhf libsystemd-shared armhf 251.4-1ubuntu4 [1608 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main armhf libsystemd0 armhf 251.4-1ubuntu4 [305 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libcc1-0 armhf 12.2.0-2ubuntu1 [38.8 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libgomp1 armhf 12.2.0-2ubuntu1 [109 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libatomic1 armhf 12.2.0-2ubuntu1 [7666 B] Get:9 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libasan8 armhf 12.2.0-2ubuntu1 [2382 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libubsan1 armhf 12.2.0-2ubuntu1 [950 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf gcc-12-base armhf 12.2.0-2ubuntu1 [19.2 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libstdc++6 armhf 12.2.0-2ubuntu1 [603 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf g++-12 armhf 12.2.0-2ubuntu1 [9309 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libstdc++-12-dev armhf 12.2.0-2ubuntu1 [2238 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libgcc-12-dev armhf 12.2.0-2ubuntu1 [857 kB] Get:16 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf gcc-12 armhf 12.2.0-2ubuntu1 [16.2 MB] Get:17 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf cpp-12 armhf 12.2.0-2ubuntu1 [8151 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libgcc-s1 armhf 12.2.0-2ubuntu1 [41.1 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/main armhf libudev1 armhf 251.4-1ubuntu4 [72.5 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic/main armhf usrmerge all 29ubuntu2 [55.8 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf linux-libc-dev armhf 5.19.0-16.16 [1299 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main armhf lto-disabled-list all 35 [12.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 47.7 MB in 2s (21.9 MB/s) (Reading database ... 13303 files and directories currently installed.) Preparing to unpack .../bash_5.2~rc2-2ubuntu1_armhf.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 ... 13304 files and directories currently installed.) Preparing to unpack .../systemd-sysv_251.4-1ubuntu4_armhf.deb ... Unpacking systemd-sysv (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Preparing to unpack .../systemd_251.4-1ubuntu4_armhf.deb ... Unpacking systemd (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd-shared_251.4-1ubuntu4_armhf.deb ... Unpacking libsystemd-shared:armhf (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd0_251.4-1ubuntu4_armhf.deb ... Unpacking libsystemd0:armhf (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Setting up libsystemd0:armhf (251.4-1ubuntu4) ... (Reading database ... 13304 files and directories currently installed.) Preparing to unpack .../0-libcc1-0_12.2.0-2ubuntu1_armhf.deb ... Unpacking libcc1-0:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../1-libgomp1_12.2.0-2ubuntu1_armhf.deb ... Unpacking libgomp1:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../2-libatomic1_12.2.0-2ubuntu1_armhf.deb ... Unpacking libatomic1:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../3-libasan8_12.2.0-2ubuntu1_armhf.deb ... Unpacking libasan8:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../4-libubsan1_12.2.0-2ubuntu1_armhf.deb ... Unpacking libubsan1:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../5-gcc-12-base_12.2.0-2ubuntu1_armhf.deb ... Unpacking gcc-12-base:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Setting up gcc-12-base:armhf (12.2.0-2ubuntu1) ... (Reading database ... 13304 files and directories currently installed.) Preparing to unpack .../libstdc++6_12.2.0-2ubuntu1_armhf.deb ... Unpacking libstdc++6:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libstdc++6:armhf (12.2.0-2ubuntu1) ... (Reading database ... 13304 files and directories currently installed.) Preparing to unpack .../0-g++-12_12.2.0-2ubuntu1_armhf.deb ... Unpacking g++-12 (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../1-libstdc++-12-dev_12.2.0-2ubuntu1_armhf.deb ... Unpacking libstdc++-12-dev:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../2-libgcc-12-dev_12.2.0-2ubuntu1_armhf.deb ... Unpacking libgcc-12-dev:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../3-gcc-12_12.2.0-2ubuntu1_armhf.deb ... Unpacking gcc-12 (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../4-cpp-12_12.2.0-2ubuntu1_armhf.deb ... Unpacking cpp-12 (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../5-libgcc-s1_12.2.0-2ubuntu1_armhf.deb ... Unpacking libgcc-s1:armhf (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libgcc-s1:armhf (12.2.0-2ubuntu1) ... (Reading database ... 13304 files and directories currently installed.) Preparing to unpack .../libudev1_251.4-1ubuntu4_armhf.deb ... Unpacking libudev1:armhf (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Setting up libudev1:armhf (251.4-1ubuntu4) ... (Reading database ... 13304 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_armhf.deb ... Unpacking linux-libc-dev:armhf (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:armhf (5.19.0-16.16) ... Setting up libgomp1:armhf (12.2.0-2ubuntu1) ... Setting up libatomic1:armhf (12.2.0-2ubuntu1) ... Setting up libsystemd-shared:armhf (251.4-1ubuntu4) ... Setting up usrmerge (29ubuntu2) ... Setting up libubsan1:armhf (12.2.0-2ubuntu1) ... Setting up libasan8:armhf (12.2.0-2ubuntu1) ... Setting up libcc1-0:armhf (12.2.0-2ubuntu1) ... Setting up systemd (251.4-1ubuntu4) ... Initializing machine ID from random generator. Setting up libgcc-12-dev:armhf (12.2.0-2ubuntu1) ... Setting up systemd-sysv (251.4-1ubuntu4) ... Setting up libstdc++-12-dev:armhf (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-24348163 armhf kinetic-proposed -c chroot:build-PACKAGEBUILD-24348163 --arch=armhf --dist=kinetic-proposed --nolog aad-auth_0.2.dsc Initiating build PACKAGEBUILD-24348163 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 14:03:41 UTC 2022 armv7l sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-arm64-054.buildd +==============================================================================+ | aad-auth 0.2 (armhf) Fri, 09 Sep 2022 10:35:08 +0000 | +==============================================================================+ Package: aad-auth Version: 0.2 Source Version: 0.2 Distribution: kinetic-proposed Machine Architecture: arm64 Host Architecture: armhf Build Architecture: armhf Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-24348163/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/aad-auth-feGMAY/resolver-rfzDHU' 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-feGMAY/aad-auth-0.2' with '<>' I: NOTICE: Log filtering will replace 'build/aad-auth-feGMAY' 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 [528 B] Fetched 1928 B in 0s (82.1 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 111 MB of archives. After this operation, 538 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [748 B] Get:2 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libpython3.10-minimal armhf 3.10.7-1 [788 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic/main armhf libexpat1 armhf 2.4.8-1 [66.4 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf python3.10-minimal armhf 3.10.7-1 [1819 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main armhf python3-minimal armhf 3.10.6-1 [24.1 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main armhf media-types all 8.0.0 [24.9 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/main armhf libmpdec3 armhf 2.5.1-2build2 [76.5 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf libpython3.10-stdlib armhf 3.10.7-1 [1706 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic-proposed/main armhf python3.10 armhf 3.10.7-1 [497 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main armhf libpython3-stdlib armhf 3.10.6-1 [6850 B] Get:11 http://ftpmaster.internal/ubuntu kinetic/main armhf python3 armhf 3.10.6-1 [22.3 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/main armhf libelf1 armhf 0.187-2 [43.8 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/main armhf libglib2.0-0 armhf 2.73.3-3 [1337 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic/main armhf libglib2.0-data all 2.73.3-3 [18.4 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/main armhf libicu71 armhf 71.1-3 [10.3 MB] Get:16 http://ftpmaster.internal/ubuntu kinetic/main armhf libxml2 armhf 2.9.14+dfsg-1 [592 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic/main armhf bsdextrautils armhf 2.38-4ubuntu1 [76.6 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/main armhf libmagic-mgc armhf 1:5.41-4 [257 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/main armhf libmagic1 armhf 1:5.41-4 [80.1 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic/main armhf file armhf 1:5.41-4 [20.6 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic/main armhf gettext-base armhf 0.21-8 [37.6 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main armhf libuchardet0 armhf 0.0.7-1build2 [75.7 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main armhf groff-base armhf 1.22.4-8build1 [870 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic/main armhf libpipeline1 armhf 1.5.6-2 [26.1 kB] Get:25 http://ftpmaster.internal/ubuntu kinetic/main armhf man-db armhf 2.10.2-2 [1145 kB] Get:26 http://ftpmaster.internal/ubuntu kinetic/main armhf m4 armhf 1.4.19-1 [236 kB] Get:27 http://ftpmaster.internal/ubuntu kinetic/main armhf autoconf all 2.71-2 [338 kB] Get:28 http://ftpmaster.internal/ubuntu kinetic/main armhf autotools-dev all 20220109.1 [44.9 kB] Get:29 http://ftpmaster.internal/ubuntu kinetic/main armhf automake all 1:1.16.5-1.3 [558 kB] Get:30 http://ftpmaster.internal/ubuntu kinetic/main armhf autopoint all 0.21-8 [421 kB] Get:31 http://ftpmaster.internal/ubuntu kinetic/main armhf libdebhelper-perl all 13.9.1ubuntu1 [66.4 kB] Get:32 http://ftpmaster.internal/ubuntu kinetic/main armhf libtool all 2.4.7-4 [166 kB] Get:33 http://ftpmaster.internal/ubuntu kinetic/main armhf dh-autoreconf all 20 [16.1 kB] Get:34 http://ftpmaster.internal/ubuntu kinetic/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] Get:35 http://ftpmaster.internal/ubuntu kinetic/main armhf libsub-override-perl all 0.09-3 [9756 B] Get:36 http://ftpmaster.internal/ubuntu kinetic/main armhf libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] Get:37 http://ftpmaster.internal/ubuntu kinetic/main armhf dh-strip-nondeterminism all 1.13.0-1 [5344 B] Get:38 http://ftpmaster.internal/ubuntu kinetic/main armhf libdw1 armhf 0.187-2 [223 kB] Get:39 http://ftpmaster.internal/ubuntu kinetic/main armhf debugedit armhf 1:5.0-5 [42.8 kB] Get:40 http://ftpmaster.internal/ubuntu kinetic/main armhf dwz armhf 0.14-1build2 [99.2 kB] Get:41 http://ftpmaster.internal/ubuntu kinetic/main armhf gettext armhf 0.21-8 [802 kB] Get:42 http://ftpmaster.internal/ubuntu kinetic/main armhf intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:43 http://ftpmaster.internal/ubuntu kinetic/main armhf po-debconf all 1.0.21+nmu1 [233 kB] Get:44 http://ftpmaster.internal/ubuntu kinetic/main armhf debhelper all 13.9.1ubuntu1 [939 kB] Get:45 http://ftpmaster.internal/ubuntu kinetic/universe armhf dh-apport all 2.23.0-0ubuntu1 [7074 B] Get:46 http://ftpmaster.internal/ubuntu kinetic/main armhf golang-1.19-src all 1.19-1ubuntu2 [19.2 MB] Get:47 http://ftpmaster.internal/ubuntu kinetic/main armhf golang-1.19-go armhf 1.19-1ubuntu2 [62.9 MB] Get:48 http://ftpmaster.internal/ubuntu kinetic/main armhf golang-src all 2:1.19~1 [4466 B] Get:49 http://ftpmaster.internal/ubuntu kinetic/main armhf golang-go armhf 2:1.19~1 [43.3 kB] Get:50 http://ftpmaster.internal/ubuntu kinetic/main armhf libglib2.0-bin armhf 2.73.3-3 [87.4 kB] Get:51 http://ftpmaster.internal/ubuntu kinetic/main armhf libffi-dev armhf 3.4.2-4 [58.5 kB] Get:52 http://ftpmaster.internal/ubuntu kinetic/main armhf python3-lib2to3 all 3.10.6-1 [77.5 kB] Get:53 http://ftpmaster.internal/ubuntu kinetic/main armhf python3-distutils all 3.10.6-1 [139 kB] Get:54 http://ftpmaster.internal/ubuntu kinetic/main armhf libglib2.0-dev-bin armhf 2.73.3-3 [129 kB] Get:55 http://ftpmaster.internal/ubuntu kinetic/main armhf uuid-dev armhf 2.38-4ubuntu1 [31.2 kB] Get:56 http://ftpmaster.internal/ubuntu kinetic/main armhf libblkid-dev armhf 2.38-4ubuntu1 [180 kB] Get:57 http://ftpmaster.internal/ubuntu kinetic/main armhf libsepol-dev armhf 3.4-2 [359 kB] Get:58 http://ftpmaster.internal/ubuntu kinetic/main armhf libpcre2-16-0 armhf 10.40-1ubuntu1 [179 kB] Get:59 http://ftpmaster.internal/ubuntu kinetic/main armhf libpcre2-32-0 armhf 10.40-1ubuntu1 [172 kB] Get:60 http://ftpmaster.internal/ubuntu kinetic/main armhf libpcre2-posix3 armhf 10.40-1ubuntu1 [5524 B] Get:61 http://ftpmaster.internal/ubuntu kinetic/main armhf libpcre2-dev armhf 10.40-1ubuntu1 [663 kB] Get:62 http://ftpmaster.internal/ubuntu kinetic/main armhf libselinux1-dev armhf 3.4-1 [157 kB] Get:63 http://ftpmaster.internal/ubuntu kinetic/main armhf libmount-dev armhf 2.38-4ubuntu1 [14.7 kB] Get:64 http://ftpmaster.internal/ubuntu kinetic/main armhf pkg-config armhf 0.29.2-1ubuntu3 [46.0 kB] Get:65 http://ftpmaster.internal/ubuntu kinetic/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-4.1ubuntu1 [155 kB] Get:66 http://ftpmaster.internal/ubuntu kinetic/main armhf libglib2.0-dev armhf 2.73.3-3 [1655 kB] Get:67 http://ftpmaster.internal/ubuntu kinetic/main armhf libpam0g-dev armhf 1.5.2-2ubuntu1 [107 kB] Get:68 http://ftpmaster.internal/ubuntu kinetic/main armhf dh-golang all 1.58 [22.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 111 MB in 4s (26.0 MB/s) Selecting previously unselected package libpython3.10-minimal:armhf. (Reading database ... 13315 files and directories currently installed.) Preparing to unpack .../libpython3.10-minimal_3.10.7-1_armhf.deb ... Unpacking libpython3.10-minimal:armhf (3.10.7-1) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.4.8-1_armhf.deb ... Unpacking libexpat1:armhf (2.4.8-1) ... Selecting previously unselected package python3.10-minimal. Preparing to unpack .../python3.10-minimal_3.10.7-1_armhf.deb ... Unpacking python3.10-minimal (3.10.7-1) ... Setting up libpython3.10-minimal:armhf (3.10.7-1) ... Setting up libexpat1:armhf (2.4.8-1) ... Setting up python3.10-minimal (3.10.7-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 13617 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.10.6-1_armhf.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:armhf. Preparing to unpack .../2-libmpdec3_2.5.1-2build2_armhf.deb ... Unpacking libmpdec3:armhf (2.5.1-2build2) ... Selecting previously unselected package libpython3.10-stdlib:armhf. Preparing to unpack .../3-libpython3.10-stdlib_3.10.7-1_armhf.deb ... Unpacking libpython3.10-stdlib:armhf (3.10.7-1) ... Selecting previously unselected package python3.10. Preparing to unpack .../4-python3.10_3.10.7-1_armhf.deb ... Unpacking python3.10 (3.10.7-1) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../5-libpython3-stdlib_3.10.6-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.10.6-1) ... Setting up python3-minimal (3.10.6-1) ... Selecting previously unselected package python3. (Reading database ... 14018 files and directories currently installed.) Preparing to unpack .../00-python3_3.10.6-1_armhf.deb ... Unpacking python3 (3.10.6-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../01-libelf1_0.187-2_armhf.deb ... Unpacking libelf1:armhf (0.187-2) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../02-libglib2.0-0_2.73.3-3_armhf.deb ... Unpacking libglib2.0-0:armhf (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:armhf. Preparing to unpack .../04-libicu71_71.1-3_armhf.deb ... Unpacking libicu71:armhf (71.1-3) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../05-libxml2_2.9.14+dfsg-1_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../06-bsdextrautils_2.38-4ubuntu1_armhf.deb ... Unpacking bsdextrautils (2.38-4ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.41-4_armhf.deb ... Unpacking libmagic-mgc (1:5.41-4) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../08-libmagic1_1%3a5.41-4_armhf.deb ... Unpacking libmagic1:armhf (1:5.41-4) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.41-4_armhf.deb ... Unpacking file (1:5.41-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.21-8_armhf.deb ... Unpacking gettext-base (0.21-8) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../11-libuchardet0_0.0.7-1build2_armhf.deb ... Unpacking libuchardet0:armhf (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../12-groff-base_1.22.4-8build1_armhf.deb ... Unpacking groff-base (1.22.4-8build1) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../13-libpipeline1_1.5.6-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.6-2) ... Selecting previously unselected package man-db. Preparing to unpack .../14-man-db_2.10.2-2_armhf.deb ... Unpacking man-db (2.10.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../15-m4_1.4.19-1_armhf.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:armhf. Preparing to unpack .../27-libdw1_0.187-2_armhf.deb ... Unpacking libdw1:armhf (0.187-2) ... Selecting previously unselected package debugedit. Preparing to unpack .../28-debugedit_1%3a5.0-5_armhf.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../29-dwz_0.14-1build2_armhf.deb ... Unpacking dwz (0.14-1build2) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.21-8_armhf.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_armhf.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:armhf. Preparing to unpack .../38-golang-go_2%3a1.19~1_armhf.deb ... Unpacking golang-go:armhf (2:1.19~1) ... Selecting previously unselected package libglib2.0-bin. Preparing to unpack .../39-libglib2.0-bin_2.73.3-3_armhf.deb ... Unpacking libglib2.0-bin (2.73.3-3) ... Selecting previously unselected package libffi-dev:armhf. Preparing to unpack .../40-libffi-dev_3.4.2-4_armhf.deb ... Unpacking libffi-dev:armhf (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_armhf.deb ... Unpacking libglib2.0-dev-bin (2.73.3-3) ... Selecting previously unselected package uuid-dev:armhf. Preparing to unpack .../44-uuid-dev_2.38-4ubuntu1_armhf.deb ... Unpacking uuid-dev:armhf (2.38-4ubuntu1) ... Selecting previously unselected package libblkid-dev:armhf. Preparing to unpack .../45-libblkid-dev_2.38-4ubuntu1_armhf.deb ... Unpacking libblkid-dev:armhf (2.38-4ubuntu1) ... Selecting previously unselected package libsepol-dev:armhf. Preparing to unpack .../46-libsepol-dev_3.4-2_armhf.deb ... Unpacking libsepol-dev:armhf (3.4-2) ... Selecting previously unselected package libpcre2-16-0:armhf. Preparing to unpack .../47-libpcre2-16-0_10.40-1ubuntu1_armhf.deb ... Unpacking libpcre2-16-0:armhf (10.40-1ubuntu1) ... Selecting previously unselected package libpcre2-32-0:armhf. Preparing to unpack .../48-libpcre2-32-0_10.40-1ubuntu1_armhf.deb ... Unpacking libpcre2-32-0:armhf (10.40-1ubuntu1) ... Selecting previously unselected package libpcre2-posix3:armhf. Preparing to unpack .../49-libpcre2-posix3_10.40-1ubuntu1_armhf.deb ... Unpacking libpcre2-posix3:armhf (10.40-1ubuntu1) ... Selecting previously unselected package libpcre2-dev:armhf. Preparing to unpack .../50-libpcre2-dev_10.40-1ubuntu1_armhf.deb ... Unpacking libpcre2-dev:armhf (10.40-1ubuntu1) ... Selecting previously unselected package libselinux1-dev:armhf. Preparing to unpack .../51-libselinux1-dev_3.4-1_armhf.deb ... Unpacking libselinux1-dev:armhf (3.4-1) ... Selecting previously unselected package libmount-dev:armhf. Preparing to unpack .../52-libmount-dev_2.38-4ubuntu1_armhf.deb ... Unpacking libmount-dev:armhf (2.38-4ubuntu1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../53-pkg-config_0.29.2-1ubuntu3_armhf.deb ... Unpacking pkg-config (0.29.2-1ubuntu3) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../54-zlib1g-dev_1%3a1.2.11.dfsg-4.1ubuntu1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-4.1ubuntu1) ... Selecting previously unselected package libglib2.0-dev:armhf. Preparing to unpack .../55-libglib2.0-dev_2.73.3-3_armhf.deb ... Unpacking libglib2.0-dev:armhf (2.73.3-3) ... Selecting previously unselected package libpam0g-dev:armhf. Preparing to unpack .../56-libpam0g-dev_1.5.2-2ubuntu1_armhf.deb ... Unpacking libpam0g-dev:armhf (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_armhf.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (8.0.0) ... Setting up libpipeline1:armhf (1.5.6-2) ... Setting up libicu71:armhf (71.1-3) ... Setting up bsdextrautils (2.38-4ubuntu1) ... Setting up libpam0g-dev:armhf (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:armhf (2.73.3-3) ... No schema files found: doing nothing. Setting up libdebhelper-perl (13.9.1ubuntu1) ... Setting up libmagic1:armhf (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:armhf (3.4.2-4) ... Setting up dh-apport (2.23.0-0ubuntu1) ... Setting up libpcre2-16-0:armhf (10.40-1ubuntu1) ... Setting up autotools-dev (20220109.1) ... Setting up libpcre2-32-0:armhf (10.40-1ubuntu1) ... Setting up libglib2.0-data (2.73.3-3) ... Setting up uuid-dev:armhf (2.38-4ubuntu1) ... Setting up autopoint (0.21-8) ... Setting up pkg-config (0.29.2-1ubuntu3) ... Setting up libsepol-dev:armhf (3.4-2) ... Setting up autoconf (2.71-2) ... Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-4.1ubuntu1) ... Setting up libpcre2-posix3:armhf (10.40-1ubuntu1) ... Setting up libuchardet0:armhf (0.0.7-1build2) ... Setting up libmpdec3:armhf (2.5.1-2build2) ... Setting up libsub-override-perl (0.09-3) ... Setting up golang-src (2:1.19~1) ... Setting up libelf1:armhf (0.187-2) ... Setting up libxml2:armhf (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:armhf (2.38-4ubuntu1) ... Setting up libdw1:armhf (0.187-2) ... Setting up gettext (0.21-8) ... Setting up libpcre2-dev:armhf (10.40-1ubuntu1) ... Setting up libtool (2.4.7-4) ... Setting up golang-go:armhf (2:1.19~1) ... Setting up libselinux1-dev:armhf (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:armhf (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:armhf (2.38-4ubuntu1) ... Setting up libpython3-stdlib:armhf (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:armhf (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 (armhf included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 14:03:41 UTC 2022 arm64 (armv7l) 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-arm-linux-gnueabihf_2.39-1ubuntu1 binutils-common_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 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 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 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 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-24348163 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-24348163 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-24348163 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 armhf 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/arm-linux-gnueabihf/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-arm-linux-gnueabihf && go install -trimpath -v -p 4 github.com/ubuntu/aad-auth/nss/aad-auth internal/goarch internal/unsafeheader internal/goexperiment internal/cpu internal/goos runtime/internal/math internal/abi runtime/internal/sys runtime/internal/syscall internal/race sync/atomic internal/itoa encoding internal/bytealg runtime/internal/atomic math/bits math unicode/utf8 unicode crypto/internal/subtle runtime 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 time internal/syscall/unix internal/syscall/execenv bytes regexp/syntax bufio crypto/internal/randutil context internal/poll io/fs regexp embed github.com/ubuntu/aad-auth/vendor/golang.org/x/crypto/blowfish os internal/fmtsort encoding/binary vendor/golang.org/x/net/dns/dnsmessage encoding/base64 crypto/cipher io/ioutil fmt crypto/internal/boring path/filepath crypto/sha1 crypto/sha256 crypto/sha512 internal/godebug internal/intern net/netip database/sql/driver net/url flag github.com/ubuntu/aad-auth/vendor/github.com/snapcore/go-gettext/pluralforms database/sql log math/big github.com/ubuntu/aad-auth/internal/logger github.com/ubuntu/aad-auth/vendor/github.com/snapcore/go-gettext os/user github.com/ubuntu/aad-auth/internal/i18n net github.com/ubuntu/aad-auth/vendor/github.com/mattn/go-sqlite3 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/shadow github.com/ubuntu/aad-auth/internal/nss/passwd github.com/ubuntu/aad-auth/nss/aad-auth make[1]: Leaving directory '/<>' dh_auto_test -a -O--buildsystem=golang cd obj-arm-linux-gnueabihf && 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/can_authenticate_with_password_only === PAUSE TestAuthenticate/can_authenticate_with_password_only === RUN TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins === PAUSE TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins === RUN TestAuthenticate/no_such_user === PAUSE TestAuthenticate/no_such_user === RUN TestAuthenticate/unknown_error_code === PAUSE TestAuthenticate/unknown_error_code === RUN TestAuthenticate/can_authenticate_even_with_mfa_required === PAUSE TestAuthenticate/can_authenticate_even_with_mfa_required === 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/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/multiple_errors,_first_known_(here_invalid_credentials)_wins === PAUSE TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins === CONT TestAuthenticate/can_authenticate_with_password_only 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "success@domain.com" 2022/09/09 10:40:17 DEBUG: Authentication successful with user/password === CONT TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins 2022/09/09 10:40:17 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:40:17 DEBUG: Got response: Invalid credentials === CONT TestAuthenticate/unknown_error_type 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unknown error type" 2022/09/09 10:40:17 DEBUG: acquiring token failed: not a msal error === CONT TestAuthenticate/invalid_credentials 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "invalid credentials" 2022/09/09 10:40:17 DEBUG: Got response: Invalid credentials === CONT TestAuthenticate/invalid_server_response 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "invalid server response" 2022/09/09 10:40:17 ERROR: Invalid server response, not a json object: invalid character 'N' looking for beginning of value === CONT TestAuthenticate/unreadable_server_response 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unreadable server response" 2022/09/09 10:40:17 ERROR: Can't read server response: invalid READ === CONT TestAuthenticate/can't_connect_to_authority 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "connection failed" for user "success@domain.com" 2022/09/09 10:40:17 ERROR: Connection to authority failed: connection failed === CONT TestAuthenticate/can_authenticate_even_with_mfa_required 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "requireMFA@domain.com" 2022/09/09 10:40:17 DEBUG: Authentication successful even if requiring MFA === CONT TestAuthenticate/unknown_error_code 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unknown error code" 2022/09/09 10:40:17 ERROR: Unknown error code(s) from server: [4242] === CONT TestAuthenticate/no_such_user 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "no such user" 2022/09/09 10:40:17 DEBUG: Got response: User doesn't exist === CONT TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins 2022/09/09 10:40:17 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "multiple errors, first known is mfa" 2022/09/09 10:40:17 DEBUG: Authentication successful even if requiring MFA --- PASS: TestAuthenticate (0.00s) --- PASS: TestAuthenticate/can_authenticate_with_password_only (0.00s) --- PASS: TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins (0.00s) --- PASS: TestAuthenticate/unknown_error_type (0.00s) --- PASS: TestAuthenticate/invalid_credentials (0.00s) --- PASS: TestAuthenticate/invalid_server_response (0.00s) --- PASS: TestAuthenticate/unreadable_server_response (0.00s) --- PASS: TestAuthenticate/can't_connect_to_authority (0.00s) --- PASS: TestAuthenticate/can_authenticate_even_with_mfa_required (0.00s) --- PASS: TestAuthenticate/unknown_error_code (0.00s) --- PASS: TestAuthenticate/no_such_user (0.00s) --- PASS: TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/aad 0.012s === 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 === CONT TestNextGroupCloseBeforeIterationEnds === RUN TestParseHomeDir/handle_%f === CONT TestNextGroupEntryNoGroup === CONT TestNextGroupEntry === PAUSE TestParseHomeDir/handle_%f === RUN TestParseHomeDir/handle_%d === PAUSE TestParseHomeDir/handle_%d === 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_%u === PAUSE TestParseHomeDir/handle_%u === RUN TestParseHomeDir/handle_%U === PAUSE TestParseHomeDir/handle_%U === RUN TestParseHomeDir/handle_%f_without_domain_attached === PAUSE TestParseHomeDir/handle_%f_without_domain_attached === RUN TestParseHomeDir/handle_%l === PAUSE TestParseHomeDir/handle_%l === RUN TestParseHomeDir/handle_%% === PAUSE TestParseHomeDir/handle_%% === 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 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 TestGetGroupByName === RUN TestGetGroupByName/get_existing_group_by_name === PAUSE TestGetGroupByName/get_existing_group_by_name === RUN TestGetGroupByName/error_on_non_existing_group === PAUSE TestGetGroupByName/error_on_non_existing_group === CONT TestCanAuthenticate === RUN TestCanAuthenticate/error_on_wrong_password === PAUSE TestCanAuthenticate/error_on_wrong_password === RUN TestCanAuthenticate/error_on_wrong_user === PAUSE TestCanAuthenticate/error_on_wrong_user === RUN TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file === PAUSE TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file === RUN TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ === PAUSE TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ === RUN TestCanAuthenticate/can_authenticate_one_user 2022/09/09 10:41:56 DEBUG: Cache initialization === PAUSE TestCanAuthenticate/can_authenticate_one_user 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextGroupCloseBeforeIterationEnds1256403859/001 === RUN TestCanAuthenticate/handle_separately_multiple_users_and_password === PAUSE TestCanAuthenticate/handle_separately_multiple_users_and_password === RUN TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO === PAUSE TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO === CONT TestUpdate === RUN TestUpdate/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 === 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 === CONT TestCleanupDB === RUN TestCleanupDB/clean_up_old_users === PAUSE TestCleanupDB/clean_up_old_users === RUN TestCleanupDB/do_not_clean_up_anyone === PAUSE TestCleanupDB/do_not_clean_up_anyone === CONT TestCloseCacheDifferentOptions 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds1256403859/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds1256403859/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestCloseCacheDifferentOptions3530658856/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions3530658856/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions3530658856/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestCloseCacheDifferentOptions3530658856/002 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions3530658856/002/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions3530658856/002/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextGroupEntryNoGroup3692104019/001 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Close database request --- PASS: TestCloseCacheDifferentOptions (0.08s) === CONT TestCloseCacheRetention 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupEntryNoGroup3692104019/001/shadow.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupEntryNoGroup3692104019/001/passwd.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextGroupEntry3486765704/001 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: Close database request --- PASS: TestNextGroupEntryNoGroup (0.11s) === CONT TestNew === RUN TestNew/can't_create_DB_not_being_root_UID_or_GID === PAUSE TestNew/can't_create_DB_not_being_root_UID_or_GID === RUN TestNew/can't_open_existing_cache_with_wrong_passwd_permission === PAUSE TestNew/can't_open_existing_cache_with_wrong_passwd_permission === RUN TestNew/can_still_open_shadow_file_RO === PAUSE TestNew/can_still_open_shadow_file_RO === RUN TestNew/no_access_to_shadow_file_is_still_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/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'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 === CONT TestNextPasswdCloseBeforeIterationEnds 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupEntry3486765704/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupEntry3486765704/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestCloseCacheRetention2915287891/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestCloseCacheRetention2915287891/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestCloseCacheRetention2915287891/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextGroupCloseBeforeIterationEnds1256403859/001 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds1256403859/001/shadow.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds1256403859/001/passwd.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextPasswdCloseBeforeIterationEnds93945881/001 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds93945881/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds93945881/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextGroupEntry3486765704/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupEntry3486765704/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextGroupEntry3486765704/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Reusing existing opened cache 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: request next group entry in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db --- PASS: TestNextGroupEntry (0.23s) === CONT TestNextShadowCloseBeforeIterationEnds 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextShadowCloseBeforeIterationEnds1725290966/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds1725290966/001/shadow.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds1725290966/001/passwd.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextPasswdCloseBeforeIterationEnds93945881/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds93945881/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds93945881/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextShadowCloseBeforeIterationEnds1725290966/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds1725290966/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds1725290966/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: request next shadow entry in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: request next shadow entry in db 2022/09/09 10:41:56 DEBUG: request next shadow entry in db 2022/09/09 10:41:56 DEBUG: request next shadow entry in db 2022/09/09 10:41:56 DEBUG: request next shadow entry in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Close database request --- PASS: TestNextGroupCloseBeforeIterationEnds (0.33s) === CONT TestNextShadowEntryNoShadow 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextShadowEntryNoShadow3525050580/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowEntryNoShadow3525050580/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowEntryNoShadow3525050580/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: request next shadow entry in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db --- PASS: TestNextShadowEntryNoShadow (0.03s) === CONT TestNextShadowEntry 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextShadowEntry2908524162/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowEntry2908524162/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowEntry2908524162/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db --- PASS: TestNextPasswdCloseBeforeIterationEnds (0.28s) === CONT TestGetShadowByName === 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 === 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 === CONT TestNextPasswdEntry 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextPasswdEntry4015451184/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdEntry4015451184/001/shadow.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdEntry4015451184/001/passwd.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Close database request --- PASS: TestNextShadowCloseBeforeIterationEnds (0.19s) === CONT TestNextPasswdEntryNoUser 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextPasswdEntryNoUser1037944887/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdEntryNoUser1037944887/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdEntryNoUser1037944887/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: Close database request --- PASS: TestNextPasswdEntryNoUser (0.04s) === CONT TestGetUserByUID === RUN TestGetUserByUID/error_on_non_existing_user === PAUSE TestGetUserByUID/error_on_non_existing_user === RUN TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password === PAUSE TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db === RUN TestGetUserByUID/have_access_to_encrypted_password_in_RW_too 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db === PAUSE TestGetUserByUID/have_access_to_encrypted_password_in_RW_too === RUN TestGetUserByUID/no_encrypted_password === PAUSE TestGetUserByUID/no_encrypted_password === CONT TestGetUserByName === 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 === RUN TestGetUserByName/error_on_non_existing_user === PAUSE TestGetUserByName/error_on_non_existing_user === CONT TestParseHomeDir/handle_%f 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%U 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/multiple_patterns_separated_with_characters 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/pattern_after_string 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%% 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%l 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%f_without_domain_attached 2022/09/09 10:41:56 DEBUG: Getting home directory for userWithoutDomain === CONT TestParseHomeDir/full_path_without_modifier_is_returned_as_is 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%u 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/error_out_on_path_with_invalid_pattern 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/multiple_consecutive_patterns 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%d 2022/09/09 10:41:56 DEBUG: Getting home directory for user1@test.com --- PASS: TestParseHomeDir (0.00s) --- PASS: TestParseHomeDir/handle_%f (0.00s) --- PASS: TestParseHomeDir/handle_%U (0.00s) --- PASS: TestParseHomeDir/multiple_patterns_separated_with_characters (0.00s) --- PASS: TestParseHomeDir/pattern_after_string (0.00s) --- PASS: TestParseHomeDir/handle_%% (0.00s) --- PASS: TestParseHomeDir/handle_%l (0.00s) --- PASS: TestParseHomeDir/handle_%f_without_domain_attached (0.00s) --- PASS: TestParseHomeDir/full_path_without_modifier_is_returned_as_is (0.00s) --- PASS: TestParseHomeDir/handle_%u (0.00s) --- PASS: TestParseHomeDir/error_out_on_path_with_invalid_pattern (0.00s) --- PASS: TestParseHomeDir/multiple_consecutive_patterns (0.00s) --- PASS: TestParseHomeDir/handle_%d (0.00s) === CONT TestGetGroupByGID/get_existing_group_by_gid 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestGetGroupByGIDget_existing_group_by_gid2791418376/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid2791418376/001/shadow.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid2791418376/001/passwd.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextShadowEntry2908524162/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowEntry2908524162/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextShadowEntry2908524162/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: request next shadow entry in db 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestNextPasswdEntry4015451184/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdEntry4015451184/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestNextPasswdEntry4015451184/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: request next passwd entry in db 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Close database request --- PASS: TestNextPasswdEntry (0.10s) === CONT TestGetGroupByGID/error_on_non_existing_group 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestGetGroupByGIDerror_on_non_existing_group2737769334/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group2737769334/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group2737769334/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestGetGroupByGIDget_existing_group_by_gid2791418376/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid2791418376/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid2791418376/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: getting group information from cache for gid 1929326240 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db === CONT TestGetGroupByName/get_existing_group_by_name 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestGetGroupByNameget_existing_group_by_name272029359/001 2022/09/09 10:41:56 DEBUG: request next shadow entry in db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name272029359/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name272029359/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestGetGroupByGIDerror_on_non_existing_group2737769334/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group2737769334/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group2737769334/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: getting group information from cache for gid 4242 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: Close database request --- PASS: TestGetGroupByGID (0.00s) --- PASS: TestGetGroupByGID/get_existing_group_by_gid (0.09s) --- PASS: TestGetGroupByGID/error_on_non_existing_group (0.10s) 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/error_on_wrong_password 2022/09/09 10:41:56 DEBUG: Cache initialization 2022/09/09 10:41:56 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_password825800294/001 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password825800294/001/passwd.db 2022/09/09 10:41:56 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password825800294/001/shadow.db 2022/09/09 10:41:56 DEBUG: Shadow db mode: 2 2022/09/09 10:41:56 DEBUG: Clean up database 2022/09/09 10:41:56 DEBUG: Close database request 2022/09/09 10:41:56 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:56 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:56 DEBUG: request to close group iteration in db 2022/09/09 10:41:56 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestGetGroupByNameget_existing_group_by_name272029359/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name272029359/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name272029359/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db === CONT TestGetGroupByName/error_on_non_existing_group 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestGetGroupByNameerror_on_non_existing_group11866213/001 2022/09/09 10:41:57 DEBUG: request next shadow entry in db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group11866213/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group11866213/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_password825800294/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password825800294/001/shadow.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password825800294/001/passwd.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Last online login was: 2022-09-07 10:41:56 +0000 UTC. Current time: 2022-09-09 10:41:57.053184159 +0000 UTC m=+0.687120778. Revalidation needed every 90 days 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestGetGroupByNameerror_on_non_existing_group11866213/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group11866213/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group11866213/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: getting group information from cache for "notexist@domain.com" 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db --- PASS: TestGetGroupByName (0.00s) --- PASS: TestGetGroupByName/get_existing_group_by_name (0.10s) --- PASS: TestGetGroupByName/error_on_non_existing_group (0.07s) === CONT TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4065114088/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4065114088/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4065114088/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:41:57 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:41:57 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:41:57 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: request next shadow entry in db 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db --- PASS: TestNextShadowEntry (0.40s) === CONT TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO613082488/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO613082488/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO613082488/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 1 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO613082488/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO613082488/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO613082488/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 1 2022/09/09 10:41:57 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Last online login was: 2022-09-07 10:41:57 +0000 UTC. Current time: 2022-09-09 10:41:57.174453531 +0000 UTC m=+0.808390150. Revalidation needed every 90 days 2022/09/09 10:41:57 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/handle_separately_multiple_users_and_password 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password904872684/001 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password904872684/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password904872684/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password904872684/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password904872684/001/shadow.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password904872684/001/passwd.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Last online login was: 2022-09-07 10:41:57 +0000 UTC. Current time: 2022-09-09 10:41:57.265848285 +0000 UTC m=+0.899784979. Revalidation needed every 90 days 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/can_authenticate_one_user 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_one_user774317944/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user774317944/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user774317944/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4065114088/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4065114088/001/shadow.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4065114088/001/passwd.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 0 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_one_user774317944/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user774317944/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user774317944/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Last online login was: 2022-09-07 10:41:57 +0000 UTC. Current time: 2022-09-09 10:41:57.379993619 +0000 UTC m=+1.013930238. Revalidation needed every 90 days 2022/09/09 10:41:57 INFO: try to authenticate "otheruser@domain.com" from cache 2022/09/09 10:41:57 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/09/09 10:41:57 DEBUG: Last online login was: 2022-09-07 10:41:57 +0000 UTC. Current time: 2022-09-09 10:41:57.390417647 +0000 UTC m=+1.024354291. Revalidation needed every 90 days 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request === CONT TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ 2022/09/09 10:41:57 DEBUG: Close database request === CONT TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_3683133044/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_3683133044/001/shadow.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_3683133044/001/passwd.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3495469274/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3495469274/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3495469274/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 0 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_3683133044/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_3683133044/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_3683133044/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:41:57 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/09/09 10:41:57 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:41:57 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-09-09 10:41:57.551704513 +0000 UTC m=+1.185641132. Revalidation needed every 0 days 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/error_on_wrong_user 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_user2957482526/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user2957482526/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user2957482526/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Don't teardown cache as still in use by 1 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3495469274/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3495469274/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3495469274/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 0 2022/09/09 10:41:57 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request === CONT TestCleanupDB/clean_up_old_users 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCleanupDBclean_up_old_users3799200855/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users3799200855/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users3799200855/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_user2957482526/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user2957482526/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user2957482526/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 INFO: try to authenticate "does not exist user" from cache 2022/09/09 10:41:57 DEBUG: getting user information from cache for "does not exist user" 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db --- PASS: TestCanAuthenticate (0.00s) --- PASS: TestCanAuthenticate/error_on_wrong_password (0.25s) --- PASS: TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO (0.20s) --- PASS: TestCanAuthenticate/handle_separately_multiple_users_and_password (0.26s) --- PASS: TestCanAuthenticate/can_authenticate_one_user (0.15s) --- PASS: TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ (0.08s) --- PASS: TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file (0.12s) --- PASS: TestCanAuthenticate/error_on_wrong_user (0.08s) === CONT TestUpdate/can't_insert_with_shadow_Read_Only 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestUpdatecant_insert_with_shadow_Read_Only577804154/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_Read_Only577804154/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_Read_Only577804154/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 1 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:41:57 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:41:57 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:41:57 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Close database request === CONT TestUpdate/can't_insert_with_shadow_unavailable_Only 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only1014556597/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only1014556597/001/shadow.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only1014556597/001/passwd.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 0 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:41:57 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:41:57 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:41:57 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Close database request === CONT TestUpdate/collide_generated_uids 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestUpdatecollide_generated_uids3042365921/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecollide_generated_uids3042365921/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatecollide_generated_uids3042365921/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: generate user id for user "firstuser@domain.com" 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 INFO: user id for "firstuser@domain.com" is 3233547936 2022/09/09 10:41:57 DEBUG: Getting home directory for firstuser@domain.com 2022/09/09 10:41:57 DEBUG: inserting in cache user "firstuser@domain.com" 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestCleanupDBclean_up_old_users3799200855/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users3799200855/001/shadow.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users3799200855/001/passwd.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: encrypt password for user "firstuser@domain.com" 2022/09/09 10:41:57 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:41:57 DEBUG: getting user information from cache for "middleolduser@domain.com" 2022/09/09 10:41:57 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: Close database request === CONT TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2190189960/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2190189960/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2190189960/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:41:57 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:41:57 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:41:57 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: updating from last online login information for user "firstuser@domain.com" 2022/09/09 10:41:57 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:41:57 DEBUG: getting user information from cache for "userfirst@domain.com" 2022/09/09 10:41:57 DEBUG: generate user id for user "userfirst@domain.com" 2022/09/09 10:41:57 INFO: user id for "userfirst@domain.com" is 3233547937 2022/09/09 10:41:57 DEBUG: Getting home directory for userfirst@domain.com 2022/09/09 10:41:57 DEBUG: inserting in cache user "userfirst@domain.com" 2022/09/09 10:41:57 DEBUG: encrypt password for user "userfirst@domain.com" 2022/09/09 10:41:57 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:57 DEBUG: updating from last online login information for user "userfirst@domain.com" 2022/09/09 10:41:57 DEBUG: getting user information from cache for "userfirst@domain.com" 2022/09/09 10:41:57 DEBUG: Close database request 2022/09/09 10:41:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:57 DEBUG: request to close group iteration in db 2022/09/09 10:41:57 DEBUG: request to close shadow iteration in db === CONT TestUpdate/we_don’t_create_about_the_user_case 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestUpdatewe_dont_create_about_the_user_case4180203123/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatewe_dont_create_about_the_user_case4180203123/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdatewe_dont_create_about_the_user_case4180203123/001/shadow.db 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: getting user information from cache for "MyUser" 2022/09/09 10:41:57 DEBUG: generate user id for user "MyUser" 2022/09/09 10:41:57 DEBUG: Cache initialization 2022/09/09 10:41:57 DEBUG: Opening cache in /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2190189960/001 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2190189960/001/passwd.db 2022/09/09 10:41:57 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login2190189960/001/shadow.db 2022/09/09 10:41:57 INFO: user id for "MyUser" is 650373726 2022/09/09 10:41:57 DEBUG: Getting home directory for MyUser 2022/09/09 10:41:57 DEBUG: inserting in cache user "MyUser" 2022/09/09 10:41:57 DEBUG: Shadow db mode: 2 2022/09/09 10:41:57 DEBUG: Clean up database 2022/09/09 10:41:57 DEBUG: encrypt password for user "MyUser" 2022/09/09 10:41:58 DEBUG: updating from last online login information for user "MyUser" 2022/09/09 10:41:58 DEBUG: getting user information from cache for "MyUser" 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db === CONT TestUpdate/insert_2_new_users 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestUpdateinsert_2_new_users3498042598/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestUpdateinsert_2_new_users3498042598/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestUpdateinsert_2_new_users3498042598/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:41:58 DEBUG: generate user id for user "firstuser@domain.com" 2022/09/09 10:41:58 INFO: user id for "firstuser@domain.com" is 3233547936 2022/09/09 10:41:58 DEBUG: Getting home directory for firstuser@domain.com 2022/09/09 10:41:58 DEBUG: inserting in cache user "firstuser@domain.com" 2022/09/09 10:41:58 DEBUG: encrypt password for user "firstuser@domain.com" 2022/09/09 10:41:58 DEBUG: updating from last online login information for user "firstuser@domain.com" 2022/09/09 10:41:58 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:41:58 DEBUG: getting user information from cache for "seconduser@domain.com" 2022/09/09 10:41:58 DEBUG: generate user id for user "seconduser@domain.com" 2022/09/09 10:41:58 INFO: user id for "seconduser@domain.com" is 909690528 2022/09/09 10:41:58 DEBUG: Getting home directory for seconduser@domain.com 2022/09/09 10:41:58 DEBUG: inserting in cache user "seconduser@domain.com" 2022/09/09 10:41:58 DEBUG: encrypt password for user "seconduser@domain.com" 2022/09/09 10:41:58 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: updating from last online login information for user "seconduser@domain.com" 2022/09/09 10:41:58 DEBUG: getting user information from cache for "seconduser@domain.com" 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db === CONT TestUpdate/insert_a_new_user 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestUpdateinsert_a_new_user3446469042/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestUpdateinsert_a_new_user3446469042/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestUpdateinsert_a_new_user3446469042/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:41:58 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:41:58 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:41:58 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db === CONT TestCleanupDB/do_not_clean_up_anyone 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestCleanupDBdo_not_clean_up_anyone443406498/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone443406498/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone443406498/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db === CONT TestNew/can't_create_DB_not_being_root_UID_or_GID 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewcant_create_DB_not_being_root_UID_or_GID2688861435/001 === CONT TestNew/reuse_opened_cache 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewreuse_opened_cache1562217538/001 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewreuse_opened_cache1562217538/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewreuse_opened_cache1562217538/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Reusing existing opened cache 2022/09/09 10:41:58 DEBUG: Close database request === CONT TestNew/create_cache_with_all_permissions 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewcreate_cache_with_all_permissions1522999448/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcreate_cache_with_all_permissions1522999448/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcreate_cache_with_all_permissions1522999448/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestCleanupDBdo_not_clean_up_anyone443406498/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone443406498/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone443406498/001/shadow.db === CONT TestNew/can't_open_existing_cache_with_wrong_shadow_permission 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:41:58 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2171153939/001 2022/09/09 10:41:58 DEBUG: getting user information from cache for "middleolduser@domain.com" 2022/09/09 10:41:58 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Close database request --- PASS: TestCleanupDB (0.00s) --- PASS: TestCleanupDB/clean_up_old_users (0.14s) --- PASS: TestCleanupDB/do_not_clean_up_anyone (0.15s) === CONT TestNew/can't_create_a_cache_with_Shadow_group 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2171153939/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2171153939/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewcant_create_a_cache_with_Shadow_group271138987/001 === CONT TestNew/no_access_to_shadow_file_is_still_allowed 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewno_access_to_shadow_file_is_still_allowed286756539/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewno_access_to_shadow_file_is_still_allowed286756539/001/shadow.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewno_access_to_shadow_file_is_still_allowed286756539/001/passwd.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 0 2022/09/09 10:41:58 DEBUG: Close database request === CONT TestNew/reuse_closed_cache_(files_exists) 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewreuse_closed_cache_(files_exists)1068154308/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)1068154308/001/shadow.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)1068154308/001/passwd.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2171153939/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2171153939/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2171153939/001/shadow.db === CONT TestNew/can_still_open_shadow_file_RO 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewcan_still_open_shadow_file_RO2164248239/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcan_still_open_shadow_file_RO2164248239/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcan_still_open_shadow_file_RO2164248239/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 1 2022/09/09 10:41:58 DEBUG: Close database request === CONT TestNew/can't_open_existing_cache_with_wrong_passwd_permission 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission427033020/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission427033020/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission427033020/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewreuse_closed_cache_(files_exists)1068154308/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)1068154308/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)1068154308/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request === CONT TestGetShadowByName/error_on_non_existing_user_shadow 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow418843254/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow418843254/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow418843254/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 1 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow418843254/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow418843254/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow418843254/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 1 2022/09/09 10:41:58 DEBUG: getting shadow information from cache for "notexist@domain.com" 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Close database request === CONT TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password4121761757/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password4121761757/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password4121761757/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 1 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission427033020/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission427033020/001/shadow.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission427033020/001/passwd.db --- PASS: TestNew (0.00s) --- PASS: TestNew/can't_create_DB_not_being_root_UID_or_GID (0.00s) --- PASS: TestNew/reuse_opened_cache (0.03s) --- PASS: TestNew/create_cache_with_all_permissions (0.05s) --- PASS: TestNew/can't_create_a_cache_with_Shadow_group (0.07s) --- PASS: TestNew/no_access_to_shadow_file_is_still_allowed (0.03s) --- PASS: TestNew/can't_open_existing_cache_with_wrong_shadow_permission (0.15s) --- PASS: TestNew/can_still_open_shadow_file_RO (0.03s) --- PASS: TestNew/reuse_closed_cache_(files_exists) (0.14s) --- PASS: TestNew/can't_open_existing_cache_with_wrong_passwd_permission (0.14s) 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db === CONT TestGetShadowByName/have_access_to_encrypted_password_in_RW_too 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too2636488385/001 2022/09/09 10:41:58 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too2636488385/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too2636488385/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password4121761757/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password4121761757/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password4121761757/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 1 2022/09/09 10:41:59 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too2636488385/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too2636488385/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too2636488385/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db === CONT TestGetShadowByName/error_on_no_access_to_shadow_file 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file2218594370/001 2022/09/09 10:41:59 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request --- PASS: TestUpdate (0.00s) --- PASS: TestUpdate/can't_insert_with_shadow_Read_Only (0.03s) --- PASS: TestUpdate/can't_insert_with_shadow_unavailable_Only (0.02s) --- PASS: TestUpdate/collide_generated_uids (0.27s) --- PASS: TestUpdate/we_don’t_create_about_the_user_case (0.18s) --- PASS: TestUpdate/insert_2_new_users (0.29s) --- PASS: TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow (1.44s) --- PASS: TestUpdate/insert_a_new_user (0.16s) --- PASS: TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login (1.45s) === CONT TestGetUserByUID/error_on_non_existing_user 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file2218594370/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file2218594370/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByUIDerror_on_non_existing_user2936988441/001 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request === CONT TestGetUserByName/get_existing_user_by_name_with_encrypted_password 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user2936988441/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user2936988441/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password2984963886/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password2984963886/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password2984963886/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 1 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file2218594370/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file2218594370/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file2218594370/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db --- PASS: TestGetShadowByName (0.00s) --- PASS: TestGetShadowByName/error_on_non_existing_user_shadow (0.05s) --- PASS: TestGetShadowByName/have_access_to_encrypted_password_in_RW_too (0.17s) --- PASS: TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password (0.24s) --- PASS: TestGetShadowByName/error_on_no_access_to_shadow_file (0.08s) === CONT TestGetUserByUID/no_encrypted_password 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByUIDno_encrypted_password971926514/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password971926514/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password971926514/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByUIDerror_on_non_existing_user2936988441/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user2936988441/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user2936988441/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: getting user information from cache for uid 4242 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/have_access_to_encrypted_password_in_RW_too 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2703770064/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2703770064/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2703770064/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password2984963886/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password2984963886/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password2984963886/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 1 2022/09/09 10:41:59 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByUIDno_encrypted_password971926514/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password971926514/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password971926514/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1517865661/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1517865661/001/shadow.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1517865661/001/passwd.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 1 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2703770064/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2703770064/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too2703770064/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1517865661/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1517865661/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password1517865661/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 1 2022/09/09 10:41:59 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Close database request === CONT TestGetUserByName/error_on_non_existing_user 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByNameerror_on_non_existing_user317748045/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user317748045/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user317748045/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db === CONT TestGetUserByName/no_encrypted_password 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByNameno_encrypted_password3754454613/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password3754454613/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password3754454613/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByNameerror_on_non_existing_user317748045/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user317748045/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user317748045/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: getting user information from cache for "notexist@domain.com" 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db === CONT TestGetUserByName/have_access_to_encrypted_password_in_RW_too 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too1908556073/001 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request --- PASS: TestGetUserByUID (0.00s) --- PASS: TestGetUserByUID/error_on_non_existing_user (0.09s) --- PASS: TestGetUserByUID/no_encrypted_password (0.08s) --- PASS: TestGetUserByUID/have_access_to_encrypted_password_in_RW_too (0.21s) --- PASS: TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password (0.21s) 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too1908556073/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too1908556073/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByNameno_encrypted_password3754454613/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password3754454613/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password3754454613/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 0 2022/09/09 10:41:59 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too1908556073/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too1908556073/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too1908556073/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: getting user information from cache for "myuser@domain.com" --- PASS: TestCloseCacheRetention (3.17s) 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db --- PASS: TestGetUserByName (0.00s) --- PASS: TestGetUserByName/get_existing_user_by_name_with_encrypted_password (0.24s) --- PASS: TestGetUserByName/error_on_non_existing_user (0.08s) --- PASS: TestGetUserByName/no_encrypted_password (0.08s) --- PASS: TestGetUserByName/have_access_to_encrypted_password_in_RW_too (0.19s) PASS ok github.com/ubuntu/aad-auth/internal/cache 3.366s === RUN TestLoadDefaultHomeAndShell === PAUSE TestLoadDefaultHomeAndShell === RUN TestLoadConfig === PAUSE TestLoadConfig === CONT TestLoadDefaultHomeAndShell === RUN TestLoadDefaultHomeAndShell/file_with_only_dshell === PAUSE TestLoadDefaultHomeAndShell/file_with_only_dshell === RUN TestLoadDefaultHomeAndShell/file_with_no_values === PAUSE TestLoadDefaultHomeAndShell/file_with_no_values === RUN TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values === PAUSE TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values === RUN TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values === PAUSE TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values === RUN TestLoadDefaultHomeAndShell/file_with_both_home_and_shell === PAUSE TestLoadDefaultHomeAndShell/file_with_both_home_and_shell === RUN TestLoadDefaultHomeAndShell/file_with_only_dhome === PAUSE TestLoadDefaultHomeAndShell/file_with_only_dhome === CONT TestLoadDefaultHomeAndShell/file_with_only_dshell === CONT TestLoadConfig === RUN TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain === RUN TestLoadConfig/aad.conf_with_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 === PAUSE TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value === RUN TestLoadConfig/aad.conf_does_not_exist === PAUSE TestLoadConfig/aad.conf_does_not_exist === 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_'homedirpattern'_and_'shell'_values_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain === RUN TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' === RUN TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' === PAUSE TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' === 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_'app_id'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'app_id'_only_in_domain === RUN TestLoadConfig/aad.conf,_all_values,_only_in_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_only_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'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'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_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/add.conf_with_'shell'_only_in_domain === PAUSE TestLoadConfig/add.conf_with_'shell'_only_in_domain === RUN TestLoadConfig/aad.conf,_all_values,_with_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_with_domain === RUN TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf === PAUSE TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf === RUN TestLoadConfig/aad.conf,_all_values,_mismatch_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_mismatch_domain === RUN TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain === RUN TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain === RUN TestLoadConfig/aad.conf_missing_'app_id'_value === PAUSE TestLoadConfig/aad.conf_missing_'app_id'_value === RUN TestLoadConfig/aad.conf,_all_values,_no_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_no_domain === RUN TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain === RUN TestLoadConfig/aad.conf_missing_'tenant_id'_value === PAUSE TestLoadConfig/aad.conf_missing_'tenant_id'_value === CONT TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values === CONT TestLoadDefaultHomeAndShell/file_with_no_values === CONT TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values 2022/09/09 10:41:56 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_'tenant_id'_value 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_tenantId.conf === CONT TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-tenantId_only_in_domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_no_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-no_domain.conf === CONT TestLoadConfig/aad.conf_missing_'app_id'_value 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_appId.conf === CONT TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_tenantId-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_shell-domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_mismatch_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-with_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf 2022/09/09 10:41:56 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_'homedirpattern'_only_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-homedirpattern_only_in_domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_with_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-with_domain.conf === CONT TestLoadConfig/add.conf_with_'shell'_only_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-shell_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_appId-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_expiration-domain.conf === CONT TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain === CONT TestLoadDefaultHomeAndShell/file_with_only_dhome === CONT TestLoadDefaultHomeAndShell/file_with_both_home_and_shell === CONT TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-homedirpattern_and_shell_only_in_domain.conf 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-expiration_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell-domain.conf --- PASS: TestLoadDefaultHomeAndShell (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_only_dshell (0.00s) --- PASS: TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_no_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_only_dhome (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_both_home_and_shell (0.00s) === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern-domain.conf === CONT TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-invalid_expiration.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values_and_wrong_adduser.conf 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf 2022/09/09 10:41:56 WARNING: Invalid cache revalidation period strconv.Atoi: parsing "lalala": invalid syntax 2022/09/09 10:41:56 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_'app_id'_only_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-appId_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'shell' 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_shell.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern' 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern.conf === CONT TestLoadConfig/aad.conf,_all_values,_only_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_expiration.conf === CONT TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-invalid_expiration-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf 2022/09/09 10:41:56 WARNING: Invalid cache revalidation period strconv.Atoi: parsing "lalala": invalid syntax === CONT TestLoadConfig/aad.conf_does_not_exist 2022/09/09 10:41:56 DEBUG: Loading configuration from testdata/TestLoadConfig/doestnotexists.conf --- PASS: TestLoadConfig (0.00s) --- PASS: TestLoadConfig/aad.conf_missing_'tenant_id'_value (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_no_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_missing_'app_id'_value (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_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_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_with_domain (0.00s) --- PASS: TestLoadConfig/add.conf_with_'shell'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values_and_wrong_adduser.conf (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'app_id'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'shell' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern' (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' (0.00s) --- PASS: TestLoadConfig/aad.conf_does_not_exist (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/config 0.024s ? github.com/ubuntu/aad-auth/internal/consts [no test files] ? github.com/ubuntu/aad-auth/internal/generators [no test files] === RUN TestTranslations === RUN TestTranslations/No_loc_fallbacks_to_LANG_if_no_LC_MESSAGES === RUN TestTranslations/Missing_domain === RUN TestTranslations/Invalid_locale_directory === RUN TestTranslations/Multiple_text_elems === RUN TestTranslations/Prefer_locale-langpack_to_locale === RUN TestTranslations/en_DK@_is_en_DK === RUN TestTranslations/en_DK._is_en_DK === RUN TestTranslations/Missing_locale === RUN TestTranslations/Init_wasn't_ran === RUN TestTranslations/Fallback_to_en_if_en_DK_isn't_present === RUN TestTranslations/Untranslated_elem === RUN TestTranslations/One_text_elem,_prefer_en_DK_over_en === RUN TestTranslations/No_loc_prefers_LC_MESSAGES_first --- PASS: TestTranslations (0.02s) --- PASS: TestTranslations/No_loc_fallbacks_to_LANG_if_no_LC_MESSAGES (0.00s) --- PASS: TestTranslations/Missing_domain (0.00s) --- PASS: TestTranslations/Invalid_locale_directory (0.00s) --- PASS: TestTranslations/Multiple_text_elems (0.00s) --- PASS: TestTranslations/Prefer_locale-langpack_to_locale (0.00s) --- PASS: TestTranslations/en_DK@_is_en_DK (0.00s) --- PASS: TestTranslations/en_DK._is_en_DK (0.00s) --- PASS: TestTranslations/Missing_locale (0.00s) --- PASS: TestTranslations/Init_wasn't_ran (0.00s) --- PASS: TestTranslations/Fallback_to_en_if_en_DK_isn't_present (0.00s) --- PASS: TestTranslations/Untranslated_elem (0.00s) --- PASS: TestTranslations/One_text_elem,_prefer_en_DK_over_en (0.00s) --- PASS: TestTranslations/No_loc_prefers_LC_MESSAGES_first (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/i18n 0.055s === RUN TestNormalizeMsg === PAUSE TestNormalizeMsg === RUN TestCtxWithLogger --- PASS: TestCtxWithLogger (0.00s) === RUN TestCloseLoggerFromContextNoLogger 2022/09/09 10:40:16 ERROR: no logger attached to context --- PASS: TestCloseLoggerFromContextNoLogger (0.00s) === RUN TestLogging === RUN TestLogging/err,_on_stderr === RUN TestLogging/crit,_on_stderr === RUN TestLogging/debug,_with_logger === RUN TestLogging/debug,_on_stderr === RUN TestLogging/info,_with_logger === RUN TestLogging/warn,_on_stderr === RUN TestLogging/err,_with_logger === RUN TestLogging/info,_on_stderr === RUN TestLogging/warn,_with_logger === RUN TestLogging/crit,_with_logger === RUN TestLogging/message_already_have_an_EOL --- PASS: TestLogging (0.00s) --- PASS: TestLogging/err,_on_stderr (0.00s) --- PASS: TestLogging/crit,_on_stderr (0.00s) --- PASS: TestLogging/debug,_with_logger (0.00s) --- PASS: TestLogging/debug,_on_stderr (0.00s) --- PASS: TestLogging/info,_with_logger (0.00s) --- PASS: TestLogging/warn,_on_stderr (0.00s) --- PASS: TestLogging/err,_with_logger (0.00s) --- PASS: TestLogging/info,_on_stderr (0.00s) --- PASS: TestLogging/warn,_with_logger (0.00s) --- PASS: TestLogging/crit,_with_logger (0.00s) --- PASS: TestLogging/message_already_have_an_EOL (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.009s === RUN TestConvertErr === PAUSE TestConvertErr === RUN TestCtxWithSyslogLogger === PAUSE TestCtxWithSyslogLogger === RUN TestCtxWithSyslogLoggerDebugWithEnVariable === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/log_debug_message_when_in_debug_mode === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/log_to_stderr_when_set_to 2022/09/09 10:41:55 ERROR: no logger attached to context === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/don't_log_anything_when_not_in_debug --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/log_debug_message_when_in_debug_mode (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/log_to_stderr_when_set_to (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/don't_log_anything_when_not_in_debug (0.00s) === RUN TestLogging === PAUSE TestLogging === CONT TestConvertErr === 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 === 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 === CONT TestConvertErr/wrapped_ErrNotFoundSuccess_error_retains_original_error_type === CONT TestLogging === 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 === RUN TestLogging/info_message_is_printed_with_default_log_level === PAUSE TestLogging/info_message_is_printed_with_default_log_level === CONT TestLogging/debug === CONT TestCtxWithSyslogLogger --- PASS: TestCtxWithSyslogLogger (0.00s) === CONT TestConvertErr/wrapped_ErrNotFoundENoEnt_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrUnavailableENoEnt_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrTryAgainERange_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrTryAgainEAgain_error_retains_original_error_type === CONT TestConvertErr/nil_error_should_return_nil === CONT TestConvertErr/random_error_is_converted_to_ErrUnavailableENoEnt === CONT TestConvertErr/wrapped_ErrNoEnt_error_is_converted_to_ErrNotFoundENoEnt --- PASS: TestConvertErr (0.00s) --- PASS: TestConvertErr/wrapped_ErrNotFoundSuccess_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrNotFoundENoEnt_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrUnavailableENoEnt_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrTryAgainERange_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/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) === CONT TestLogging/info_message_is_printed_with_default_log_level === CONT TestLogging/debug_is_not_printed_with_default_log_level === CONT TestLogging/crit === CONT TestLogging/err === CONT TestLogging/warn === CONT TestLogging/info --- PASS: TestLogging (0.00s) --- PASS: TestLogging/debug (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 ok github.com/ubuntu/aad-auth/internal/nss 0.064s === RUN TestNewByName === PAUSE TestNewByName === RUN TestNewByGID === PAUSE TestNewByGID === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works2969030037/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works2969030037/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works2969030037/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works2969030037/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works2969030037/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works2969030037/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Close database request === RUN TestNextEntry/get_all_groups 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNextEntryget_all_groups3170430671/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups3170430671/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups3170430671/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNextEntryget_all_groups3170430671/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups3170430671/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups3170430671/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Close database request === RUN TestNextEntry/no_group_in_db_does_not_fail 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNextEntryno_group_in_db_does_not_fail4026181844/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntryno_group_in_db_does_not_fail4026181844/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntryno_group_in_db_does_not_fail4026181844/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first857764331/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first857764331/001/shadow.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first857764331/001/passwd.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: Close database request --- PASS: TestNextEntry (0.25s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.08s) --- PASS: TestNextEntry/get_all_groups (0.07s) --- PASS: TestNextEntry/no_group_in_db_does_not_fail (0.04s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.06s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration848918781/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration848918781/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration848918781/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/09/09 10:41:58 WARNING: group entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1449934600/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1449934600/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1449934600/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache2010492190/001 --- PASS: TestStartEndEntryIteration (0.05s) --- 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:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne3839073219/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne3839073219/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne3839073219/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne3839073219/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne3839073219/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne3839073219/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Reusing existing opened cache 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: get next group entry 2022/09/09 10:41:58 DEBUG: request next group entry in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 WARNING: group entry iteration ended without initialization first 2022/09/09 10:41:58 DEBUG: Close database request --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.08s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestToCgroup === PAUSE TestToCgroup === CONT TestNewByName === CONT TestNewByGID === CONT TestToCgroup === RUN TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad === RUN TestNewByGID/get_existing_group_by_gid === PAUSE TestNewByGID/get_existing_group_by_gid === RUN TestToCgroup/can_convert_group_to_C_group === RUN TestNewByGID/error_on_non_existing_group === PAUSE TestToCgroup/can_convert_group_to_C_group === PAUSE TestNewByGID/error_on_non_existing_group === RUN TestToCgroup/can_convert_group_with_five_members_to_C_group === PAUSE TestToCgroup/can_convert_group_with_five_members_to_C_group === RUN TestNewByGID/error_on_cache_not_available === PAUSE TestNewByGID/error_on_cache_not_available === RUN TestToCgroup/can't_allocate_with_buffer_too_small === PAUSE TestToCgroup/can't_allocate_with_buffer_too_small === CONT TestNewByGID/get_existing_group_by_gid === CONT TestToCgroup/can_convert_group_to_C_group 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByGIDget_existing_group_by_gid1059979624/001 === 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/error_on_cache_not_available === CONT TestNewByGID/error_on_non_existing_group === 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 === RUN TestNewByName/get_existing_group_by_name === PAUSE TestNewByName/get_existing_group_by_name === RUN TestNewByName/error_on_non_existing_group === PAUSE TestNewByName/error_on_non_existing_group === CONT TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid1059979624/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid1059979624/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_cache_not_available3934664369/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available3934664369/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available3934664369/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_non_existing_group1929829266/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group1929829266/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group1929829266/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByNameshadow_group_is_ignored,_as_not_part_of_aad1543913943/001 2022/09/09 10:41:58 DEBUG: Requesting an group entry matching GID 1929326240 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameshadow_group_is_ignored,_as_not_part_of_aad1543913943/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameshadow_group_is_ignored,_as_not_part_of_aad1543913943/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByGIDget_existing_group_by_gid1059979624/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid1059979624/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid1059979624/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Requesting an group entry matching GID 1929326240 2022/09/09 10:41:58 DEBUG: getting group information from cache for gid 1929326240 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_cache_not_available3934664369/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available3934664369/001/passwd.db 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Close database request === CONT TestNewByName/get_existing_group_by_name 2022/09/09 10:41:58 DEBUG: Cache initialization === CONT TestNewByName/error_on_non_existing_group 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_group_by_name2491245060/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name2491245060/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name2491245060/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_group3292355883/001 2022/09/09 10:41:58 DEBUG: Requesting an group entry matching GID 4242 2022/09/09 10:41:58 DEBUG: Requesting a group entry matching name "shadow" 2022/09/09 10:41:58 DEBUG: Ignoring shadow group as it's not in our database 2022/09/09 10:41:58 DEBUG: Close database request === CONT TestNewByName/error_on_cache_not_available 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group3292355883/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group3292355883/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_non_existing_group1929829266/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group1929829266/001/shadow.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group1929829266/001/passwd.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: getting group information from cache for gid 4242 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Close database request --- PASS: TestNewByGID (0.00s) --- PASS: TestNewByGID/get_existing_group_by_gid (0.14s) --- PASS: TestNewByGID/error_on_cache_not_available (0.14s) --- PASS: TestNewByGID/error_on_non_existing_group (0.22s) 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available1554155513/001 2022/09/09 10:41:58 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available1554155513/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available1554155513/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_group_by_name2491245060/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name2491245060/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name2491245060/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:58 DEBUG: request to close group iteration in db 2022/09/09 10:41:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:58 DEBUG: Requesting a group entry matching name "notexists@domain.com" 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_group3292355883/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group3292355883/001/passwd.db 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group3292355883/001/shadow.db 2022/09/09 10:41:58 DEBUG: Shadow db mode: 2 2022/09/09 10:41:58 DEBUG: Clean up database 2022/09/09 10:41:58 DEBUG: getting group information from cache for "notexists@domain.com" 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Close database request 2022/09/09 10:41:58 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:41:58 DEBUG: Cache initialization 2022/09/09 10:41:58 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available1554155513/001 2022/09/09 10:41:58 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available1554155513/001/passwd.db 2022/09/09 10:41:58 DEBUG: Close database request --- PASS: TestNewByName (0.00s) --- PASS: TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad (0.20s) --- PASS: TestNewByName/get_existing_group_by_name (0.11s) --- PASS: TestNewByName/error_on_non_existing_group (0.14s) --- PASS: TestNewByName/error_on_cache_not_available (0.10s) PASS ok github.com/ubuntu/aad-auth/internal/nss/group 0.696s === RUN TestNewByName === PAUSE TestNewByName === RUN TestNewByUID === PAUSE TestNewByUID === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works4163396985/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works4163396985/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works4163396985/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works4163396985/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works4163396985/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works4163396985/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request === RUN TestNextEntry/get_all_users 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users2440230348/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2440230348/001/shadow.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2440230348/001/passwd.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users2440230348/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2440230348/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users2440230348/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request === RUN TestNextEntry/no_user_in_db_does_not_fail 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNextEntryno_user_in_db_does_not_fail3361691435/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail3361691435/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail3361691435/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first4090450294/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first4090450294/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first4090450294/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: Close database request --- PASS: TestNextEntry (0.36s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.13s) --- PASS: TestNextEntry/get_all_users (0.10s) --- PASS: TestNextEntry/no_user_in_db_does_not_fail (0.03s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.10s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress2775142641/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress2775142641/001/shadow.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress2775142641/001/passwd.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache3341411765/001 === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration4111793619/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration4111793619/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration4111793619/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/09/09 10:41:59 WARNING: passwd entry iteration ended without initialization first --- PASS: TestStartEndEntryIteration (0.05s) --- 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.02s) --- PASS: TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration (0.00s) === RUN TestRestartIterationWithoutEndingPreviousOne 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne940630783/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne940630783/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne940630783/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne940630783/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne940630783/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne940630783/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Reusing existing opened cache 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: get next passwd entry 2022/09/09 10:41:59 DEBUG: request next passwd entry in db 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 WARNING: passwd entry iteration ended without initialization first 2022/09/09 10:41:59 DEBUG: Close database request --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.05s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestToCpasswd === PAUSE TestToCpasswd === CONT TestNewByName === RUN TestNewByName/get_existing_user_by_name === CONT TestToCpasswd === RUN TestToCpasswd/can_convert_to_C_pwd === PAUSE TestToCpasswd/can_convert_to_C_pwd === RUN TestToCpasswd/can't_allocate_with_buffer_too_small === PAUSE TestToCpasswd/can't_allocate_with_buffer_too_small === CONT TestToCpasswd/can_convert_to_C_pwd === CONT TestNewByUID === 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 TestNewByUID/error_on_cache_not_available === PAUSE TestNewByUID/error_on_cache_not_available === CONT TestNewByUID/get_existing_user_by_uid 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByUIDget_existing_user_by_uid899657512/001 === 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 TestToCpasswd/can't_allocate_with_buffer_too_small --- PASS: TestToCpasswd (0.00s) --- PASS: TestToCpasswd/can_convert_to_C_pwd (0.00s) --- PASS: TestToCpasswd/can't_allocate_with_buffer_too_small (0.00s) === CONT TestNewByUID/error_on_non_existing_user === CONT TestNewByUID/error_on_cache_not_available === CONT TestNewByName/get_existing_user_by_name 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid899657512/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid899657512/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_non_existing_user2770936540/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2770936540/001/shadow.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2770936540/001/passwd.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_cache_not_available50853356/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available50853356/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available50853356/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Requesting a passwd entry matching UID 1929326240 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name3748647098/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name3748647098/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name3748647098/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Requesting a passwd entry matching UID 4242 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByUIDget_existing_user_by_uid899657512/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid899657512/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid899657512/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_non_existing_user2770936540/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2770936540/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user2770936540/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request === CONT TestNewByName/error_on_non_existing_user 2022/09/09 10:41:59 DEBUG: getting user information from cache for uid 4242 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user2994526722/001 === CONT TestNewByName/error_on_cache_not_available 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user2994526722/001/shadow.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user2994526722/001/passwd.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available3114613733/001 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Requesting a passwd entry matching UID 1929326240 2022/09/09 10:41:59 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available3114613733/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available3114613733/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_cache_not_available50853356/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available50853356/001/passwd.db 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name3748647098/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name3748647098/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name3748647098/001/shadow.db --- PASS: TestNewByUID (0.00s) --- PASS: TestNewByUID/get_existing_user_by_uid (0.14s) --- PASS: TestNewByUID/error_on_non_existing_user (0.14s) --- PASS: TestNewByUID/error_on_cache_not_available (0.22s) 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:41:59 DEBUG: request to close passwd iteration in db 2022/09/09 10:41:59 DEBUG: request to close group iteration in db 2022/09/09 10:41:59 DEBUG: request to close shadow iteration in db 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Requesting a passwd entry matching name "notexists@domain.com" 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user2994526722/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user2994526722/001/passwd.db 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user2994526722/001/shadow.db 2022/09/09 10:41:59 DEBUG: Shadow db mode: 2 2022/09/09 10:41:59 DEBUG: Clean up database 2022/09/09 10:41:59 DEBUG: getting user information from cache for "notexists@domain.com" 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Close database request 2022/09/09 10:41:59 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available3114613733/001 2022/09/09 10:41:59 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available3114613733/001/passwd.db 2022/09/09 10:41:59 DEBUG: Close database request --- PASS: TestNewByName (0.00s) --- PASS: TestNewByName/get_existing_user_by_name (0.22s) --- PASS: TestNewByName/error_on_non_existing_user (0.10s) --- PASS: TestNewByName/error_on_cache_not_available (0.12s) PASS ok github.com/ubuntu/aad-auth/internal/nss/passwd 0.759s === RUN TestNewByName === PAUSE TestNewByName === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/09/09 10:41:59 DEBUG: Cache initialization 2022/09/09 10:41:59 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works3545644556/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works3545644556/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works3545644556/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:00 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:00 DEBUG: request to close group iteration in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works3545644556/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works3545644556/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works3545644556/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: Close database request === RUN TestNextEntry/get_all_users 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users732743796/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users732743796/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users732743796/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:00 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:00 DEBUG: request to close group iteration in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users732743796/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users732743796/001/shadow.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users732743796/001/passwd.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: Close database request === RUN TestNextEntry/no_user_in_db_does_not_fail 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNextEntryno_user_in_db_does_not_fail71253266/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail71253266/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail71253266/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3157551136/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3157551136/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3157551136/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:00 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:00 DEBUG: request to close group iteration in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: Close database request --- PASS: TestNextEntry (0.21s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.08s) --- PASS: TestNextEntry/get_all_users (0.05s) --- 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/can_start_and_end_iteration 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration10072028/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration10072028/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration10072028/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/09/09 10:42:00 WARNING: shadow entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress4075960285/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress4075960285/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress4075960285/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache1383260961/001 --- PASS: TestStartEndEntryIteration (0.05s) --- 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:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne1605886408/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1605886408/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1605886408/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:00 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:00 DEBUG: request to close group iteration in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne1605886408/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1605886408/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne1605886408/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: Reusing existing opened cache 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: get next shadow entry 2022/09/09 10:42:00 DEBUG: request next shadow entry in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 WARNING: shadow entry iteration ended without initialization first 2022/09/09 10:42:00 DEBUG: Close database request --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.06s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestToCshadow === PAUSE TestToCshadow === CONT TestNewByName === RUN TestNewByName/error_on_cache_not_available === PAUSE TestNewByName/error_on_cache_not_available === 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 TestNewByName/error_on_cache_not_available === 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 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available402780486/001 === CONT TestNewByName/error_on_non_existing_user === CONT TestNewByName/get_existing_user_by_name === CONT TestToCshadow/can't_allocate_with_buffer_too_small --- 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:42:00 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available402780486/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available402780486/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user3149495789/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user3149495789/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user3149495789/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name451506540/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name451506540/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name451506540/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:00 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:00 DEBUG: request to close group iteration in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:00 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:00 DEBUG: request to close group iteration in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:00 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:00 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:42:00 DEBUG: request to close group iteration in db 2022/09/09 10:42:00 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available402780486/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available402780486/001/passwd.db 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: Requesting a shadow entry matching name "notexists@domain.com" 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user3149495789/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user3149495789/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user3149495789/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: getting shadow information from cache for "notexists@domain.com" 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:42:00 DEBUG: Cache initialization 2022/09/09 10:42:00 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name451506540/001 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name451506540/001/passwd.db 2022/09/09 10:42:00 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name451506540/001/shadow.db 2022/09/09 10:42:00 DEBUG: Shadow db mode: 2 2022/09/09 10:42:00 DEBUG: Clean up database 2022/09/09 10:42:00 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:42:00 DEBUG: Close database request 2022/09/09 10:42:00 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.13s) PASS ok github.com/ubuntu/aad-auth/internal/nss/shadow 0.472s === 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 === CONT TestLogging === RUN TestLogging/debug === PAUSE TestLogging/debug === RUN TestLogging/info === RUN TestNewLogger/new_logger,_no_debug,_no_message === PAUSE TestNewLogger/new_logger,_no_debug,_no_message === PAUSE TestLogging/info === CONT TestAuthenticate === CONT TestNewLogger/new_logger,_debug_enabled === CONT TestNewLogger/new_logger,_no_debug,_no_message === RUN TestAuthenticate/error_on_cache_can't_be_created/opened --- PASS: TestNewLogger (0.00s) --- PASS: TestNewLogger/new_logger,_debug_enabled (0.00s) --- PASS: TestNewLogger/new_logger,_no_debug,_no_message (0.00s) === 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 TestAuthenticate/error_on_cache_can't_be_created/opened === PAUSE TestLogging/info_message_is_printed_with_default_log_level === CONT TestLogging/debug === CONT TestLogging/crit === CONT TestLogging/info_message_is_printed_with_default_log_level === CONT TestLogging/warn === CONT TestLogging/info === CONT TestLogging/debug_is_not_printed_with_default_log_level === CONT TestLogging/err === RUN TestAuthenticate/specified_offline_expiration === PAUSE TestAuthenticate/specified_offline_expiration === RUN TestAuthenticate/Offline,_connect_existing_user_from_cache === PAUSE TestAuthenticate/Offline,_connect_existing_user_from_cache === RUN TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) === PAUSE TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) === RUN TestAuthenticate/error_on_invalid_conf === PAUSE TestAuthenticate/error_on_invalid_conf === RUN TestAuthenticate/error_on_unexisting_users === PAUSE TestAuthenticate/error_on_unexisting_users === 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/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_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 === CONT TestAuthenticate/error_on_cache_can't_be_created/opened --- PASS: TestLogging (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/warn (0.00s) --- PASS: TestLogging/info (0.00s) --- PASS: TestLogging/debug_is_not_printed_with_default_log_level (0.00s) --- PASS: TestLogging/err (0.00s) === CONT TestAuthenticate/authenticate_successfully_(online) 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/simple-aad.conf === CONT TestAuthenticate/error_on_server_error 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:42:03 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:42:03 DEBUG: Authentication successful with user/password 2022/09/09 10:42:03 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "unreadable server response" === CONT TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache 2022/09/09 10:42:03 ERROR: Can't read server response: invalid READ 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_cache_cant_be_createdopened802448594/001 2022/09/09 10:42:03 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_unexisting_users 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:42:03 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "no such user" 2022/09/09 10:42:03 DEBUG: Got response: User doesn't exist 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache2502707807/001 === CONT TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:42:03 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:42:03 DEBUG: Authentication successful with user/password 2022/09/09 10:42:03 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:42:03 DEBUG: Authentication successful with user/password === CONT TestAuthenticate/error_on_invalid_conf 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/invalid-aad.conf 2022/09/09 10:42:03 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/Offline,_connect_existing_user_from_cache 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache2502707807/001/passwd.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache2502707807/001/shadow.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Clean up database 2022/09/09 10:42:03 DEBUG: Close database request 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)376172963/001 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)376172963/001/passwd.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)376172963/001/shadow.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Clean up database 2022/09/09 10:42:03 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateauthenticate_successfully_(online)3467290085/001 2022/09/09 10:42:03 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:42:03 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:42:03 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:42:03 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_(online)3467290085/001/shadow.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_(online)3467290085/001/passwd.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Clean up database 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:42:03 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:42:03 DEBUG: acquiring token failed: Offline 2022/09/09 10:42:03 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3651632401/001 2022/09/09 10:42:03 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:42:03 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:42:03 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:42:03 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:42:03 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3651632401/001/passwd.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3651632401/001/shadow.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Clean up database 2022/09/09 10:42:03 DEBUG: Close database request 2022/09/09 10:42:03 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:03 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:03 DEBUG: request to close group iteration in db 2022/09/09 10:42:03 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache2502707807/001 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache2502707807/001/passwd.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache2502707807/001/shadow.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Clean up database 2022/09/09 10:42:03 INFO: try to authenticate "success@domain.com" from cache 2022/09/09 10:42:03 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:42:03 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:03 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:03 DEBUG: request to close group iteration in db 2022/09/09 10:42:03 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:03 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:42:03 DEBUG: Close database request 2022/09/09 10:42:03 DEBUG: Close database request === CONT TestAuthenticate/specified_offline_expiration 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/withoffline-expiration.conf 2022/09/09 10:42:03 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:42:03 DEBUG: Authentication successful with user/password 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticatespecified_offline_expiration1785707787/001 2022/09/09 10:42:03 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:42:03 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:42:03 DEBUG: acquiring token failed: Offline 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticatespecified_offline_expiration1785707787/001/passwd.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticatespecified_offline_expiration1785707787/001/shadow.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Clean up database 2022/09/09 10:42:03 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3651632401/001 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3651632401/001/shadow.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache3651632401/001/passwd.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Clean up database 2022/09/09 10:42:03 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:42:03 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:42:03 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:42:03 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:42:03 INFO: try to authenticate "futureuser@domain.com" from cache 2022/09/09 10:42:03 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:42:03 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-09-09 10:42:03.700205613 +0000 UTC m=+0.215103343. Revalidation needed every 90 days 2022/09/09 10:42:03 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:42:03 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:42:03 DEBUG: Close database request === CONT TestAuthenticate/error_on_offline_with_purged_user_account 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_purged_user_account2712412435/001 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_purged_user_account2712412435/001/shadow.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_purged_user_account2712412435/001/passwd.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Clean up database 2022/09/09 10:42:03 DEBUG: Close database request 2022/09/09 10:42:03 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:03 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:03 DEBUG: request to close group iteration in db 2022/09/09 10:42:03 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:03 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:42:03 DEBUG: Close database request 2022/09/09 10:42:03 DEBUG: Close database request === CONT TestAuthenticate/error_on_offline_with_unpurged_old_user_account 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account986861920/001 2022/09/09 10:42:03 DEBUG: Close database request === CONT TestAuthenticate/error_on_invalid_password 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:42:03 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:42:03 DEBUG: Got response: Invalid credentials === CONT TestAuthenticate/error_on_unexisting_conf 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/doesnotexist.conf 2022/09/09 10:42:03 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 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account986861920/001/passwd.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account986861920/001/shadow.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Clean up database 2022/09/09 10:42:03 DEBUG: Close database request 2022/09/09 10:42:03 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:03 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:03 DEBUG: request to close group iteration in db 2022/09/09 10:42:03 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:03 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:42:03 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:42:03 DEBUG: Got response: User doesn't exist 2022/09/09 10:42:03 DEBUG: Close database request 2022/09/09 10:42:03 DEBUG: Close database request 2022/09/09 10:42:03 DEBUG: Loading configuration from testdata/forceoffline-expire-right-away.conf 2022/09/09 10:42:03 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:42:03 DEBUG: acquiring token failed: Offline 2022/09/09 10:42:03 DEBUG: Cache initialization 2022/09/09 10:42:03 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account986861920/001 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account986861920/001/passwd.db 2022/09/09 10:42:03 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account986861920/001/shadow.db 2022/09/09 10:42:03 DEBUG: Shadow db mode: 2 2022/09/09 10:42:03 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:42:03 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/09/09 10:42:03 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:42:03 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-09-09 10:42:03.963967483 +0000 UTC m=+0.478865213. Revalidation needed every 0 days 2022/09/09 10:42:03 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:42:03 ERROR: authenticating user "veryolduser@domain.com" from cache failed: offline credentials expired. Denying access. 2022/09/09 10:42:03 DEBUG: Close database request 2022/09/09 10:42:03 DEBUG: Close database request --- PASS: TestAuthenticate (0.00s) --- PASS: TestAuthenticate/error_on_server_error (0.00s) --- PASS: TestAuthenticate/error_on_cache_can't_be_created/opened (0.00s) --- PASS: TestAuthenticate/error_on_unexisting_users (0.00s) --- PASS: TestAuthenticate/error_on_invalid_conf (0.00s) --- PASS: TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache (0.15s) --- PASS: TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) (0.35s) --- PASS: TestAuthenticate/Offline,_connect_existing_user_from_cache (0.38s) --- PASS: TestAuthenticate/authenticate_successfully_(online) (0.40s) --- PASS: TestAuthenticate/error_on_invalid_password (0.00s) --- PASS: TestAuthenticate/error_on_unexisting_conf (0.00s) --- PASS: TestAuthenticate/error_on_offline_with_purged_user_account (0.08s) --- PASS: TestAuthenticate/specified_offline_expiration (0.28s) --- PASS: TestAuthenticate/error_on_offline_with_unpurged_old_user_account (0.07s) PASS ok github.com/ubuntu/aad-auth/internal/pam 0.505s ? github.com/ubuntu/aad-auth/internal/testutils [no test files] === RUN TestNormalizeName === PAUSE TestNormalizeName === CONT TestNormalizeName === RUN TestNormalizeName/lowercase_named_is_unchanged === PAUSE TestNormalizeName/lowercase_named_is_unchanged === RUN TestNormalizeName/name_with_mixed_case_is_lowercase === PAUSE TestNormalizeName/name_with_mixed_case_is_lowercase === CONT TestNormalizeName/lowercase_named_is_unchanged === CONT TestNormalizeName/name_with_mixed_case_is_lowercase --- PASS: TestNormalizeName (0.00s) --- PASS: TestNormalizeName/lowercase_named_is_unchanged (0.00s) --- PASS: TestNormalizeName/name_with_mixed_case_is_lowercase (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/user 0.010s === RUN TestGetent === RUN TestGetent/try_to_list_entry_from_shadow_by_uid 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_entry_from_shadow_by_uid1693261584/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_uid1693261584/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_uid1693261584/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting entry "165119649" from shadow 2022/09/09 10:42:06 DEBUG: Getting entry with id '�' from shadow 2022/09/09 10:42:06 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_list_passwd_with_empty_cache 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_with_empty_cache3478138366/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache3478138366/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache3478138366/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Getting all entries from passwd 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_with_empty_cache3478138366/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache3478138366/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache3478138366/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: get next passwd entry 2022/09/09 10:42:06 DEBUG: request next passwd entry in db 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db === RUN TestGetent/error_trying_to_list_unsupported_db 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenterror_trying_to_list_unsupported_db743641993/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_unsupported_db743641993/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_unsupported_db743641993/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_list_non-existent_entry_in_passwd 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd1200130956/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd1200130956/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd1200130956/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting entry "doesnotexist@domain.com" from passwd 2022/09/09 10:42:06 DEBUG: Getting entry with name "doesnotexist@domain.com" from passwd 2022/09/09 10:42:06 DEBUG: Requesting a passwd entry matching name "doesnotexist@domain.com" 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd1200130956/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd1200130956/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd1200130956/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: getting user information from cache for "doesnotexist@domain.com" 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_list_passwd_without_cache_and_no_permission_to_create_it 2022/09/09 10:42:06 DEBUG: Getting all entries from passwd 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_without_cache_and_no_permission_to_create_it3995506256/001 2022/09/09 10:42:06 DEBUG: Returning to NSS error: -1 with errno: 2 === RUN TestGetent/list_local_shadow_entry_without_cache 2022/09/09 10:42:06 DEBUG: Getting entry "root" from shadow 2022/09/09 10:42:06 DEBUG: Getting entry with name "root" from shadow 2022/09/09 10:42:06 DEBUG: Requesting a shadow entry matching name "root" 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_local_shadow_entry_without_cache2196340324/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_local_shadow_entry_without_cache2196340324/001/shadow.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_local_shadow_entry_without_cache2196340324/001/passwd.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: getting shadow information from cache for "root" 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning to NSS error: 0 with errno: 2 === RUN TestGetent/old_entries_in_shadow_are_cleaned 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_shadow_are_cleaned3391781523/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned3391781523/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned3391781523/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting all entries from shadow 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_shadow_are_cleaned3391781523/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned3391781523/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned3391781523/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: get next shadow entry 2022/09/09 10:42:06 DEBUG: request next shadow entry in db 2022/09/09 10:42:06 DEBUG: get next shadow entry 2022/09/09 10:42:06 DEBUG: request next shadow entry in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/list_entries_in_passwd 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd1706994250/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd1706994250/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd1706994250/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting all entries from passwd 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd1706994250/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd1706994250/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd1706994250/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: get next passwd entry 2022/09/09 10:42:06 DEBUG: request next passwd entry in db 2022/09/09 10:42:06 DEBUG: get next passwd entry 2022/09/09 10:42:06 DEBUG: request next passwd entry in db 2022/09/09 10:42:06 DEBUG: get next passwd entry 2022/09/09 10:42:06 DEBUG: request next passwd entry in db 2022/09/09 10:42:06 DEBUG: get next passwd entry 2022/09/09 10:42:06 DEBUG: request next passwd entry in db 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/list_entries_in_shadow 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_shadow10039227/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow10039227/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow10039227/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting all entries from shadow 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_shadow10039227/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow10039227/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow10039227/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: get next shadow entry 2022/09/09 10:42:06 DEBUG: request next shadow entry in db 2022/09/09 10:42:06 DEBUG: get next shadow entry 2022/09/09 10:42:06 DEBUG: request next shadow entry in db 2022/09/09 10:42:06 DEBUG: get next shadow entry 2022/09/09 10:42:06 DEBUG: request next shadow entry in db 2022/09/09 10:42:06 DEBUG: get next shadow entry 2022/09/09 10:42:06 DEBUG: request next shadow entry in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_list_group_without_cache_and_no_permission_to_create_it 2022/09/09 10:42:06 DEBUG: Getting all entries from group 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_without_cache_and_no_permission_to_create_it3082855299/001 2022/09/09 10:42:06 DEBUG: Returning to NSS error: -1 with errno: 2 === RUN TestGetent/list_entries_in_group_without_access_to_shadow 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group_without_access_to_shadow3463561967/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow3463561967/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow3463561967/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting all entries from group 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group_without_access_to_shadow3463561967/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow3463561967/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow3463561967/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 0 2022/09/09 10:42:06 DEBUG: get next group entry 2022/09/09 10:42:06 DEBUG: request next group entry in db 2022/09/09 10:42:06 DEBUG: get next group entry 2022/09/09 10:42:06 DEBUG: request next group entry in db 2022/09/09 10:42:06 DEBUG: get next group entry 2022/09/09 10:42:06 DEBUG: request next group entry in db 2022/09/09 10:42:06 DEBUG: get next group entry 2022/09/09 10:42:06 DEBUG: request next group entry in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/list_entry_from_passwd_by_uid 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_uid763057744/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid763057744/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid763057744/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting entry "165119649" from passwd 2022/09/09 10:42:06 DEBUG: Getting entry with id '�' from passwd 2022/09/09 10:42:06 DEBUG: Requesting a passwd entry matching UID 165119649 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_uid763057744/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid763057744/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid763057744/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: getting user information from cache for uid 165119649 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/list_entries_in_group 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group3185315832/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group3185315832/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group3185315832/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting all entries from group 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group3185315832/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group3185315832/001/shadow.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group3185315832/001/passwd.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: get next group entry 2022/09/09 10:42:06 DEBUG: request next group entry in db 2022/09/09 10:42:06 DEBUG: get next group entry 2022/09/09 10:42:06 DEBUG: request next group entry in db 2022/09/09 10:42:06 DEBUG: get next group entry 2022/09/09 10:42:06 DEBUG: request next group entry in db 2022/09/09 10:42:06 DEBUG: get next group entry 2022/09/09 10:42:06 DEBUG: request next group entry in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_without_cache_and_no_permission_to_create_it 2022/09/09 10:42:06 DEBUG: Getting all entries from shadow 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_cache_and_no_permission_to_create_it4262016162/001 2022/09/09 10:42:06 DEBUG: Returning to NSS error: -1 with errno: 2 === RUN TestGetent/try_to_list_group_with_empty_cache 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_with_empty_cache3247310556/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache3247310556/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache3247310556/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Getting all entries from group 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_with_empty_cache3247310556/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache3247310556/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache3247310556/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: get next group entry 2022/09/09 10:42:06 DEBUG: request next group entry in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db === RUN TestGetent/try_to_list_group_without_permission_on_cache 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_without_permission_on_cache2763027658/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_without_permission_on_cache2763027658/001/shadow.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_without_permission_on_cache2763027658/001/passwd.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting all entries from group 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_without_permission_on_cache2763027658/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_without_permission_on_cache2763027658/001/passwd.db 2022/09/09 10:42:06 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_without_permission_on_cache 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache2173483579/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache2173483579/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache2173483579/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting all entries from shadow 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache2173483579/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache2173483579/001/shadow.db 2022/09/09 10:42:06 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_get_shadow_entry_with_explicit_empty_key 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key3419658596/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key3419658596/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key3419658596/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting entry "" from shadow 2022/09/09 10:42:06 DEBUG: Getting entry with name "" from shadow 2022/09/09 10:42:06 DEBUG: Requesting a shadow entry matching name "" 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key3419658596/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key3419658596/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key3419658596/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: getting shadow information from cache for "" 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_without_access_to_shadow 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1690727595/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1690727595/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1690727595/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting all entries from shadow 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1690727595/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1690727595/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1690727595/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 0 2022/09/09 10:42:06 DEBUG: get next shadow entry 2022/09/09 10:42:06 DEBUG: request next shadow entry in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_list_passwd_without_permission_on_cache 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache1874541264/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache1874541264/001/passwd.db 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache1874541264/001/shadow.db 2022/09/09 10:42:06 DEBUG: Shadow db mode: 2 2022/09/09 10:42:06 DEBUG: Clean up database 2022/09/09 10:42:06 DEBUG: Close database request 2022/09/09 10:42:06 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:06 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:06 DEBUG: request to close group iteration in db 2022/09/09 10:42:06 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:06 DEBUG: Getting all entries from passwd 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache1874541264/001 2022/09/09 10:42:06 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache1874541264/001/passwd.db 2022/09/09 10:42:06 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:06 DEBUG: Close database request === RUN TestGetent/try_to_get_group_entry_with_explicit_empty_key 2022/09/09 10:42:06 DEBUG: Cache initialization 2022/09/09 10:42:06 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key93942460/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key93942460/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key93942460/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting entry "" from group 2022/09/09 10:42:07 DEBUG: Getting entry with name "" from group 2022/09/09 10:42:07 DEBUG: Requesting a group entry matching name "" 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key93942460/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key93942460/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key93942460/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting group information from cache for "" 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/list_entry_from_passwd_by_name 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_name268269945/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name268269945/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name268269945/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting entry "myuser@domain.com" from passwd 2022/09/09 10:42:07 DEBUG: Getting entry with name "myuser@domain.com" from passwd 2022/09/09 10:42:07 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_name268269945/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name268269945/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name268269945/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/list_entry_from_shadow_by_name 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_shadow_by_name3401404941/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name3401404941/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name3401404941/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:42:07 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:42:07 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_shadow_by_name3401404941/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name3401404941/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name3401404941/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/list_entry_from_group_by_gid 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_gid4244159305/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid4244159305/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid4244159305/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting entry "165119649" from group 2022/09/09 10:42:07 DEBUG: Getting entry with id '�' from group 2022/09/09 10:42:07 DEBUG: Requesting an group entry matching GID 165119649 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_gid4244159305/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid4244159305/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid4244159305/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting group information from cache for gid 165119649 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/try_to_list_non-existent_entry_in_shadow 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow724575921/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow724575921/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow724575921/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting entry "doesnotexist@domain.com" from shadow 2022/09/09 10:42:07 DEBUG: Getting entry with name "doesnotexist@domain.com" from shadow 2022/09/09 10:42:07 DEBUG: Requesting a shadow entry matching name "doesnotexist@domain.com" 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow724575921/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow724575921/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow724575921/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting shadow information from cache for "doesnotexist@domain.com" 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/list_local_group_entry_without_cache 2022/09/09 10:42:07 DEBUG: Getting entry "0" from group 2022/09/09 10:42:07 DEBUG: Getting entry with id '\x00' from group 2022/09/09 10:42:07 DEBUG: Requesting an group entry matching GID 0 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_local_group_entry_without_cache1658777976/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_local_group_entry_without_cache1658777976/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_local_group_entry_without_cache1658777976/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting group information from cache for gid 0 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 2 === RUN TestGetent/old_entries_in_group_are_cleaned 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_group_are_cleaned3333846110/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned3333846110/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned3333846110/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting all entries from group 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_group_are_cleaned3333846110/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned3333846110/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned3333846110/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: get next group entry 2022/09/09 10:42:07 DEBUG: request next group entry in db 2022/09/09 10:42:07 DEBUG: get next group entry 2022/09/09 10:42:07 DEBUG: request next group entry in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/error_trying_to_list_entry_by_name_from_unsupported_db 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenterror_trying_to_list_entry_by_name_from_unsupported_db2287312485/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_entry_by_name_from_unsupported_db2287312485/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_entry_by_name_from_unsupported_db2287312485/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_with_empty_cache 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_with_empty_cache1679772118/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache1679772118/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache1679772118/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Getting all entries from shadow 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_with_empty_cache1679772118/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache1679772118/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache1679772118/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: get next shadow entry 2022/09/09 10:42:07 DEBUG: request next shadow entry in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db === RUN TestGetent/list_local_passwd_entry_without_cache 2022/09/09 10:42:07 DEBUG: Getting entry "0" from passwd 2022/09/09 10:42:07 DEBUG: Getting entry with id '\x00' from passwd 2022/09/09 10:42:07 DEBUG: Requesting a passwd entry matching UID 0 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_local_passwd_entry_without_cache2015868178/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_local_passwd_entry_without_cache2015868178/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_local_passwd_entry_without_cache2015868178/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting user information from cache for uid 0 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 2 === RUN TestGetent/old_entries_in_passwd_are_cleaned 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_passwd_are_cleaned2529823102/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned2529823102/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned2529823102/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting all entries from passwd 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_passwd_are_cleaned2529823102/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned2529823102/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned2529823102/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: get next passwd entry 2022/09/09 10:42:07 DEBUG: request next passwd entry in db 2022/09/09 10:42:07 DEBUG: get next passwd entry 2022/09/09 10:42:07 DEBUG: request next passwd entry in db 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/list_entries_in_passwd_without_access_to_shadow 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow3001472895/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow3001472895/001/shadow.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow3001472895/001/passwd.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting all entries from passwd 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow3001472895/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow3001472895/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow3001472895/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 0 2022/09/09 10:42:07 DEBUG: get next passwd entry 2022/09/09 10:42:07 DEBUG: request next passwd entry in db 2022/09/09 10:42:07 DEBUG: get next passwd entry 2022/09/09 10:42:07 DEBUG: request next passwd entry in db 2022/09/09 10:42:07 DEBUG: get next passwd entry 2022/09/09 10:42:07 DEBUG: request next passwd entry in db 2022/09/09 10:42:07 DEBUG: get next passwd entry 2022/09/09 10:42:07 DEBUG: request next passwd entry in db 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/list_entry_from_group_by_name 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_name166508413/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name166508413/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name166508413/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting entry "myuser@domain.com" from group 2022/09/09 10:42:07 DEBUG: Getting entry with name "myuser@domain.com" from group 2022/09/09 10:42:07 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_name166508413/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name166508413/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name166508413/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/try_to_list_non-existent_entry_in_group 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_group3657088706/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group3657088706/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group3657088706/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting entry "doesnotexist@domain.com" from group 2022/09/09 10:42:07 DEBUG: Getting entry with name "doesnotexist@domain.com" from group 2022/09/09 10:42:07 DEBUG: Requesting a group entry matching name "doesnotexist@domain.com" 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_group3657088706/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group3657088706/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group3657088706/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting group information from cache for "doesnotexist@domain.com" 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/try_to_get_passwd_entry_with_explicit_empty_key 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1126453187/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1126453187/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1126453187/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting entry "" from passwd 2022/09/09 10:42:07 DEBUG: Getting entry with name "" from passwd 2022/09/09 10:42:07 DEBUG: Requesting a passwd entry matching name "" 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1126453187/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1126453187/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1126453187/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting user information from cache for "" 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:07 DEBUG: Close database request === RUN TestGetent/try_to_list_entry_from_shadow_by_name_without_access_to_shadow 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow3569293987/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow3569293987/001/shadow.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow3569293987/001/passwd.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:42:07 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:42:07 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow3569293987/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow3569293987/001/shadow.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow3569293987/001/passwd.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 0 2022/09/09 10:42:07 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:07 DEBUG: Close database request --- PASS: TestGetent (1.65s) --- PASS: TestGetent/try_to_list_entry_from_shadow_by_uid (0.07s) --- PASS: TestGetent/try_to_list_passwd_with_empty_cache (0.03s) --- PASS: TestGetent/error_trying_to_list_unsupported_db (0.06s) --- PASS: TestGetent/try_to_list_non-existent_entry_in_passwd (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_shadow_are_cleaned (0.06s) --- PASS: TestGetent/list_entries_in_passwd (0.05s) --- PASS: TestGetent/list_entries_in_shadow (0.06s) --- PASS: TestGetent/try_to_list_group_without_cache_and_no_permission_to_create_it (0.00s) --- PASS: TestGetent/list_entries_in_group_without_access_to_shadow (0.05s) --- PASS: TestGetent/list_entry_from_passwd_by_uid (0.07s) --- PASS: TestGetent/list_entries_in_group (0.05s) --- PASS: TestGetent/try_to_list_shadow_without_cache_and_no_permission_to_create_it (0.00s) --- PASS: TestGetent/try_to_list_group_with_empty_cache (0.03s) --- PASS: TestGetent/try_to_list_group_without_permission_on_cache (0.07s) --- PASS: TestGetent/try_to_list_shadow_without_permission_on_cache (0.05s) --- PASS: TestGetent/try_to_get_shadow_entry_with_explicit_empty_key (0.06s) --- PASS: TestGetent/try_to_list_shadow_without_access_to_shadow (0.06s) --- PASS: TestGetent/try_to_list_passwd_without_permission_on_cache (0.06s) --- PASS: TestGetent/try_to_get_group_entry_with_explicit_empty_key (0.06s) --- PASS: TestGetent/list_entry_from_passwd_by_name (0.06s) --- PASS: TestGetent/list_entry_from_shadow_by_name (0.08s) --- PASS: TestGetent/list_entry_from_group_by_gid (0.05s) --- PASS: TestGetent/try_to_list_non-existent_entry_in_shadow (0.05s) --- PASS: TestGetent/list_local_group_entry_without_cache (0.02s) --- PASS: TestGetent/old_entries_in_group_are_cleaned (0.05s) --- PASS: TestGetent/error_trying_to_list_entry_by_name_from_unsupported_db (0.05s) --- PASS: TestGetent/try_to_list_shadow_with_empty_cache (0.02s) --- PASS: TestGetent/list_local_passwd_entry_without_cache (0.02s) --- PASS: TestGetent/old_entries_in_passwd_are_cleaned (0.06s) --- PASS: TestGetent/list_entries_in_passwd_without_access_to_shadow (0.04s) --- PASS: TestGetent/list_entry_from_group_by_name (0.05s) --- PASS: TestGetent/try_to_list_non-existent_entry_in_group (0.05s) --- PASS: TestGetent/try_to_get_passwd_entry_with_explicit_empty_key (0.04s) --- PASS: TestGetent/try_to_list_entry_from_shadow_by_name_without_access_to_shadow (0.04s) === RUN TestIntegration === PAUSE TestIntegration === RUN TestFmtGetentOutput === PAUSE TestFmtGetentOutput === CONT TestIntegration === CONT TestFmtGetentOutput === RUN TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess === PAUSE TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess === RUN TestFmtGetentOutput/properly_format_with_nil_error === PAUSE TestFmtGetentOutput/properly_format_with_nil_error === RUN TestFmtGetentOutput/properly_format_with_no_entries === PAUSE TestFmtGetentOutput/properly_format_with_no_entries === 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_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_error_ErrNotFoundSuccess 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_an_error_and_multiple_entries 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 2 === CONT TestFmtGetentOutput/properly_format_with_unknown_Err 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 1 with errno: 22 === CONT TestFmtGetentOutput/properly_format_with_error_ErrNotFoundENoEnt 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 2 === CONT TestFmtGetentOutput/properly_format_with_error_ErrUnavailableENoEnt 2022/09/09 10:42:07 DEBUG: Returning to NSS error: -1 with errno: 2 === CONT TestFmtGetentOutput/properly_format_with_error_ErrTryAgainERange 2022/09/09 10:42:07 DEBUG: Returning to NSS error: -2 with errno: 34 === CONT TestFmtGetentOutput/properly_format_with_error_ErrTryAgainEAgain 2022/09/09 10:42:07 DEBUG: Returning to NSS error: -2 with errno: 11 === CONT TestFmtGetentOutput/properly_format_with_multiple_entries 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_no_entries 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_nil_error 2022/09/09 10:42:07 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 --- PASS: TestFmtGetentOutput (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess (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_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) --- PASS: TestFmtGetentOutput/properly_format_with_no_entries (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_nil_error (0.00s) === 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/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_group_without_access_to_shadow === PAUSE TestIntegration/list_group_without_access_to_shadow === 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/list_entry_from_passwd_by_uid === PAUSE TestIntegration/list_entry_from_passwd_by_uid === 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/returns_nothing_when_listing_shadow_without_permission_on_cache === PAUSE TestIntegration/returns_nothing_when_listing_shadow_without_permission_on_cache === 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/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/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_shadow_with_empty_cache === PAUSE TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache === RUN TestIntegration/old_entries_in_passwd_are_cleaned === PAUSE TestIntegration/old_entries_in_passwd_are_cleaned === RUN TestIntegration/list_entry_from_passwd_by_name === PAUSE TestIntegration/list_entry_from_passwd_by_name === RUN TestIntegration/list_entry_from_group_by_name === PAUSE TestIntegration/list_entry_from_group_by_name === RUN TestIntegration/list_entry_from_group_by_gid === PAUSE TestIntegration/list_entry_from_group_by_gid === 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/old_entries_in_shadow_are_cleaned === PAUSE TestIntegration/old_entries_in_shadow_are_cleaned === 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/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_shadow_without_access === PAUSE TestIntegration/returns_nothing_when_listing_shadow_without_access === RUN TestIntegration/list_local_group_entry_without_cache === PAUSE TestIntegration/list_local_group_entry_without_cache === RUN TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache === PAUSE TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_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/error_on_get_entry_from_passwd_with_explicit_empty_key === PAUSE TestIntegration/error_on_get_entry_from_passwd_with_explicit_empty_key === RUN TestIntegration/list_shadow === PAUSE TestIntegration/list_shadow === 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_passwd_with_empty_cache === PAUSE TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache === RUN TestIntegration/returns_nothing_when_listing_group_with_empty_cache === PAUSE TestIntegration/returns_nothing_when_listing_group_with_empty_cache === RUN TestIntegration/list_local_passwd_entry_without_cache === PAUSE TestIntegration/list_local_passwd_entry_without_cache === RUN TestIntegration/error_on_trying_to_list_unsupported_db === PAUSE TestIntegration/error_on_trying_to_list_unsupported_db === RUN TestIntegration/list_passwd_without_access_to_shadow === PAUSE TestIntegration/list_passwd_without_access_to_shadow === RUN TestIntegration/list_entry_from_group_by_name_without_access_to_shadow === PAUSE TestIntegration/list_entry_from_group_by_name_without_access_to_shadow === RUN TestIntegration/list_group === PAUSE TestIntegration/list_group === RUN TestIntegration/error_when_listing_non-existent_entry_in_passwd === PAUSE TestIntegration/error_when_listing_non-existent_entry_in_passwd === RUN TestIntegration/error_when_listing_non-existent_entry_in_shadow === PAUSE TestIntegration/error_when_listing_non-existent_entry_in_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/error_when_listing_non-existent_entry_in_group === PAUSE TestIntegration/error_when_listing_non-existent_entry_in_group === RUN TestIntegration/list_local_shadow_entry_without_cache === PAUSE TestIntegration/list_local_shadow_entry_without_cache === RUN TestIntegration/old_entries_in_group_are_cleaned === PAUSE TestIntegration/old_entries_in_group_are_cleaned === CONT TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_trying_to_list_entry_by_name_from_unsupported_db1197971350/001 === CONT TestIntegration/returns_nothing_when_listing_shadow_without_access === CONT TestIntegration/error_when_listing_non-existent_entry_in_shadow === CONT TestIntegration/error_on_trying_to_list_unsupported_db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_entry_by_name_from_unsupported_db1197971350/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_entry_by_name_from_unsupported_db1197971350/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3147199641/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3147199641/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3147199641/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow2522182023/001 Unknown database: unsupported Try `getent --help' or `getent --usage' for more information. 2022/09/09 10:42:07 DEBUG: Close database request === CONT TestIntegration/list_local_passwd_entry_without_cache root:x:0:0:root:/root:/bin/bash === CONT TestIntegration/returns_nothing_when_listing_group_with_empty_cache 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow2522182023/001/shadow.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow2522182023/001/passwd.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_trying_to_list_unsupported_db2777594282/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_unsupported_db2777594282/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_unsupported_db2777594282/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3047576592/001 2022/09/09 10:42:07 DEBUG: Getting all entries from shadow 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3147199641/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3147199641/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3147199641/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 0 2022/09/09 10:42:07 DEBUG: get next shadow entry 2022/09/09 10:42:07 DEBUG: request next shadow entry in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:07 ERROR: no logger attached to context 2022/09/09 10:42:07 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3047576592/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3047576592/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache3356987842/001 Unknown database: unsupported Try `getent --help' or `getent --usage' for more information. 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache3356987842/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache3356987842/001/shadow.db === CONT TestIntegration/returns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it 2022/09/09 10:42:07 DEBUG: Getting entry "doesnotexist@domain.com" from shadow 2022/09/09 10:42:07 DEBUG: Getting entry with name "doesnotexist@domain.com" from shadow 2022/09/09 10:42:07 DEBUG: Requesting a shadow entry matching name "doesnotexist@domain.com" 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow2522182023/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow2522182023/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow2522182023/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: getting shadow information from cache for "doesnotexist@domain.com" 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:07 ERROR: no logger attached to context 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request === CONT TestIntegration/list_shadow 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationlist_shadow1388829370/001 2022/09/09 10:42:07 DEBUG: Getting all entries from group 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3047576592/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3047576592/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache3047576592/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: get next group entry 2022/09/09 10:42:07 DEBUG: request next group entry in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:42:07 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:42:07 DEBUG: Close database request === CONT TestIntegration/error_on_get_entry_from_passwd_with_explicit_empty_key 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow1388829370/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow1388829370/001/shadow.db 2022/09/09 10:42:07 DEBUG: Getting all entries from group 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it2504608059/001 2022/09/09 10:42:07 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:07 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:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database === CONT TestIntegration/returns_nothing_when_listing_group_without_permission_on_cache 2022/09/09 10:42:07 DEBUG: Getting all entries from passwd 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache3356987842/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache3356987842/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache3356987842/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: get next passwd entry 2022/09/09 10:42:07 DEBUG: request next passwd entry in db 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:42:07 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:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache 2022/09/09 10:42:07 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:07 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:07 DEBUG: request to close group iteration in db 2022/09/09 10:42:07 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key4093916892/001 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key4093916892/001/passwd.db 2022/09/09 10:42:07 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key4093916892/001/shadow.db 2022/09/09 10:42:07 DEBUG: Shadow db mode: 2 2022/09/09 10:42:07 DEBUG: Clean up database 2022/09/09 10:42:07 DEBUG: Close database request 2022/09/09 10:42:07 DEBUG: Cache initialization 2022/09/09 10:42:07 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache2356987594/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache2356987594/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache2356987594/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache2282423569/001 2022/09/09 10:42:08 DEBUG: Getting all entries from shadow 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_shadow1388829370/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow1388829370/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow1388829370/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: get next shadow entry 2022/09/09 10:42:08 DEBUG: request next shadow entry in db 2022/09/09 10:42:08 DEBUG: get next shadow entry 2022/09/09 10:42:08 DEBUG: request next shadow entry in db 2022/09/09 10:42:08 DEBUG: get next shadow entry 2022/09/09 10:42:08 DEBUG: request next shadow entry in db 2022/09/09 10:42:08 DEBUG: get next shadow entry 2022/09/09 10:42:08 DEBUG: request next shadow entry in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 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:42:08 DEBUG: Close database request === CONT TestIntegration/list_local_group_entry_without_cache root:x:0: === CONT TestIntegration/list_local_shadow_entry_without_cache 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache2282423569/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache2282423569/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Getting entry "" from passwd 2022/09/09 10:42:08 DEBUG: Getting entry with name "" from passwd 2022/09/09 10:42:08 DEBUG: Requesting a passwd entry matching name "" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key4093916892/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key4093916892/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key4093916892/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting user information from cache for "" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/old_entries_in_group_are_cleaned 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_group_are_cleaned1143643988/001 2022/09/09 10:42:08 DEBUG: Getting entry "root" from shadow 2022/09/09 10:42:08 DEBUG: Getting entry with name "root" from shadow 2022/09/09 10:42:08 DEBUG: Requesting a shadow entry matching name "root" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_local_shadow_entry_without_cache622696548/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_local_shadow_entry_without_cache622696548/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_local_shadow_entry_without_cache622696548/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting shadow information from cache for "root" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context === CONT TestIntegration/error_when_listing_non-existent_entry_in_group 2022/09/09 10:42:08 DEBUG: Getting all entries from group 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache2356987594/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache2356987594/001/passwd.db 2022/09/09 10:42:08 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:08 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:42:08 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned1143643988/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned1143643988/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3923852135/001 2022/09/09 10:42:08 DEBUG: Getting all entries from passwd 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache2282423569/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache2282423569/001/passwd.db 2022/09/09 10:42:08 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:08 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:42:08 DEBUG: Close database request === CONT TestIntegration/list_entry_from_shadow_by_name 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3923852135/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3923852135/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache688045166/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache688045166/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache688045166/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_shadow_by_name2672910564/001 2022/09/09 10:42:08 DEBUG: Getting all entries from group 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_group_are_cleaned1143643988/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned1143643988/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned1143643988/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Getting all entries from shadow 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache688045166/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache688045166/001/shadow.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache688045166/001/passwd.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: get next shadow entry 2022/09/09 10:42:08 DEBUG: request next shadow entry in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:42:08 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:42:08 DEBUG: Close database request === CONT TestIntegration/error_when_listing_entry_from_shadow_by_uid_without_access 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name2672910564/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name2672910564/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid_without_access1250171316/001 2022/09/09 10:42:08 DEBUG: Getting entry "doesnotexist@domain.com" from group 2022/09/09 10:42:08 DEBUG: Getting entry with name "doesnotexist@domain.com" from group 2022/09/09 10:42:08 DEBUG: Requesting a group entry matching name "doesnotexist@domain.com" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3923852135/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3923852135/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3923852135/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting group information from cache for "doesnotexist@domain.com" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/old_entries_in_shadow_are_cleaned 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid_without_access1250171316/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid_without_access1250171316/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow1631052267/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow1631052267/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow1631052267/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_shadow_are_cleaned623452334/001 2022/09/09 10:42:08 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:42:08 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:42:08 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_shadow_by_name2672910564/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name2672910564/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name2672910564/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context myuser@domain.com:*::::::: 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/error_on_get_entry_from_group_with_explicit_empty_key 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned623452334/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned623452334/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key2754588547/001 2022/09/09 10:42:08 DEBUG: Getting entry "165119649" from shadow 2022/09/09 10:42:08 DEBUG: Getting entry with id '�' from shadow 2022/09/09 10:42:08 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/list_entry_from_group_by_gid 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key2754588547/001/shadow.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key2754588547/001/passwd.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Getting entry "165119649" from passwd 2022/09/09 10:42:08 DEBUG: Getting entry with id '�' from passwd 2022/09/09 10:42:08 DEBUG: Requesting a passwd entry matching UID 165119649 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow1631052267/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow1631052267/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow1631052267/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 0 2022/09/09 10:42:08 DEBUG: getting user information from cache for uid 165119649 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context user@otherdomain.com:x:165119649:165119649::/home/user@otherdomain.com:/bin/bash 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/list_entry_from_group_by_name 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid2914036429/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid2914036429/001/shadow.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid2914036429/001/passwd.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name860042154/001 2022/09/09 10:42:08 DEBUG: Getting all entries from shadow 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_shadow_are_cleaned623452334/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned623452334/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned623452334/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: get next shadow entry 2022/09/09 10:42:08 DEBUG: request next shadow entry in db 2022/09/09 10:42:08 DEBUG: get next shadow entry 2022/09/09 10:42:08 DEBUG: request next shadow entry in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context futureuser@domain.com:$2a$10$cF4IsiVtLzwUTpboXHlv.eaK4BCnwn4r/Rjdry5iSJpq6zAjA0gGy::::::: 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_name 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name860042154/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name860042154/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name2933514379/001 2022/09/09 10:42:08 DEBUG: Getting entry "" from group 2022/09/09 10:42:08 DEBUG: Getting entry with name "" from group 2022/09/09 10:42:08 DEBUG: Requesting a group entry matching name "" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key2754588547/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key2754588547/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key2754588547/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting group information from cache for "" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/old_entries_in_passwd_are_cleaned 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name2933514379/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name2933514379/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_passwd_are_cleaned463622281/001 2022/09/09 10:42:08 DEBUG: Getting entry "165119649" from group 2022/09/09 10:42:08 DEBUG: Getting entry with id '�' from group 2022/09/09 10:42:08 DEBUG: Requesting an group entry matching GID 165119649 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid2914036429/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid2914036429/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid2914036429/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting group information from cache for gid 165119649 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context user@otherdomain.com:x:165119649:user@otherdomain.com 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_shadow_without_permission_on_cache 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned463622281/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned463622281/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1860249615/001 2022/09/09 10:42:08 DEBUG: Getting entry "myuser@domain.com" from group 2022/09/09 10:42:08 DEBUG: Getting entry with name "myuser@domain.com" from group 2022/09/09 10:42:08 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name860042154/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name860042154/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name860042154/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context myuser@domain.com:x:1929326240:myuser@domain.com 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1860249615/001/shadow.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1860249615/001/passwd.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Getting all entries from shadow 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it3688038805/001 2022/09/09 10:42:08 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context === CONT TestIntegration/list_passwd 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd977757707/001 2022/09/09 10:42:08 DEBUG: Getting entry "myuser@domain.com" from passwd 2022/09/09 10:42:08 DEBUG: Getting entry with name "myuser@domain.com" from passwd 2022/09/09 10:42:08 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name2933514379/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name2933514379/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name2933514379/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context myuser@domain.com:x:1929326240:1929326240::/home/myuser@domain.com:/bin/bash 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/error_when_listing_entry_from_shadow_by_uid 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd977757707/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd977757707/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid426196290/001 2022/09/09 10:42:08 DEBUG: Getting all entries from passwd 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_passwd_are_cleaned463622281/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned463622281/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned463622281/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 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:42:08 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid426196290/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid426196290/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1860553172/001 2022/09/09 10:42:08 DEBUG: Getting all entries from shadow 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1860249615/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1860249615/001/passwd.db 2022/09/09 10:42:08 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/list_group 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1860553172/001/shadow.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1860553172/001/passwd.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_group1714288193/001 2022/09/09 10:42:08 DEBUG: Getting all entries from passwd 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd977757707/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd977757707/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd977757707/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 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:42:08 DEBUG: Close database request === CONT TestIntegration/error_when_listing_non-existent_entry_in_passwd 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_group1714288193/001/shadow.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_group1714288193/001/passwd.db 2022/09/09 10:42:08 DEBUG: Getting entry "165119649" from shadow 2022/09/09 10:42:08 DEBUG: Getting entry with id '�' from shadow 2022/09/09 10:42:08 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/list_entry_from_group_by_name_without_access_to_shadow 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd4249971008/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd4249971008/001/shadow.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd4249971008/001/passwd.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow994449379/001 2022/09/09 10:42:08 DEBUG: Getting entry "myuser@domain.com" from passwd 2022/09/09 10:42:08 DEBUG: Getting entry with name "myuser@domain.com" from passwd 2022/09/09 10:42:08 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1860553172/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1860553172/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow1860553172/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 0 2022/09/09 10:42:08 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context myuser@domain.com:x:1929326240:1929326240::/home/myuser@domain.com:/bin/bash 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/list_passwd_without_access_to_shadow 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow994449379/001/shadow.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow994449379/001/passwd.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd_without_access_to_shadow2741111326/001 2022/09/09 10:42:08 DEBUG: Getting all entries from group 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_group1714288193/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_group1714288193/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_group1714288193/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 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:42:08 DEBUG: Close database request === CONT TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow2741111326/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow2741111326/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3493148469/001 2022/09/09 10:42:08 DEBUG: Getting entry "doesnotexist@domain.com" from passwd 2022/09/09 10:42:08 DEBUG: Getting entry with name "doesnotexist@domain.com" from passwd 2022/09/09 10:42:08 DEBUG: Requesting a passwd entry matching name "doesnotexist@domain.com" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd4249971008/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd4249971008/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd4249971008/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting user information from cache for "doesnotexist@domain.com" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/error_when_listing_entry_from_shadow_by_name_without_access 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3493148469/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3493148469/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2756218160/001 2022/09/09 10:42:08 DEBUG: Getting entry "myuser@domain.com" from group 2022/09/09 10:42:08 DEBUG: Getting entry with name "myuser@domain.com" from group 2022/09/09 10:42:08 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow994449379/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow994449379/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow994449379/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 0 2022/09/09 10:42:08 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context myuser@domain.com:x:1929326240:myuser@domain.com 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2756218160/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2756218160/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Getting all entries from passwd 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it2893848872/001 2022/09/09 10:42:08 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:08 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/list_entry_from_passwd_by_uid 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid2046243959/001 2022/09/09 10:42:08 DEBUG: Getting all entries from passwd 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd_without_access_to_shadow2741111326/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow2741111326/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow2741111326/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 0 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: get next passwd entry 2022/09/09 10:42:08 DEBUG: request next passwd entry in db 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 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:42:08 DEBUG: Close database request === CONT TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid2046243959/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid2046243959/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key3820146437/001 2022/09/09 10:42:08 DEBUG: Getting entry "165119649" from group 2022/09/09 10:42:08 DEBUG: Getting entry with id '�' from group 2022/09/09 10:42:08 DEBUG: Requesting an group entry matching GID 165119649 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3493148469/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3493148469/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow3493148469/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 0 2022/09/09 10:42:08 DEBUG: getting group information from cache for gid 165119649 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context user@otherdomain.com:x:165119649:user@otherdomain.com 2022/09/09 10:42:08 DEBUG: Close database request === CONT TestIntegration/list_group_without_access_to_shadow 2022/09/09 10:42:08 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:42:08 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:42:08 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2756218160/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2756218160/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access2756218160/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 0 2022/09/09 10:42:08 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key3820146437/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key3820146437/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_group_without_access_to_shadow3322727830/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow3322727830/001/shadow.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow3322727830/001/passwd.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: Getting entry "165119649" from passwd 2022/09/09 10:42:08 DEBUG: Getting entry with id '�' from passwd 2022/09/09 10:42:08 DEBUG: Requesting a passwd entry matching UID 165119649 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid2046243959/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid2046243959/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid2046243959/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting user information from cache for uid 165119649 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 ERROR: no logger attached to context user@otherdomain.com:x:165119649:165119649::/home/user@otherdomain.com:/bin/bash 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:42:08 DEBUG: request to close passwd iteration in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: request to close shadow iteration in db 2022/09/09 10:42:08 DEBUG: Getting entry "" from shadow 2022/09/09 10:42:08 DEBUG: Getting entry with name "" from shadow 2022/09/09 10:42:08 DEBUG: Requesting a shadow entry matching name "" 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key3820146437/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key3820146437/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key3820146437/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 2 2022/09/09 10:42:08 DEBUG: Clean up database 2022/09/09 10:42:08 DEBUG: getting shadow information from cache for "" 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:42:08 ERROR: no logger attached to context 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Getting all entries from group 2022/09/09 10:42:08 DEBUG: Cache initialization 2022/09/09 10:42:08 DEBUG: Opening cache in /tmp/TestIntegrationlist_group_without_access_to_shadow3322727830/001 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow3322727830/001/passwd.db 2022/09/09 10:42:08 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow3322727830/001/shadow.db 2022/09/09 10:42:08 DEBUG: Shadow db mode: 0 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: get next group entry 2022/09/09 10:42:08 DEBUG: request next group entry in db 2022/09/09 10:42:08 DEBUG: request to close group iteration in db 2022/09/09 10:42:08 DEBUG: Close database request 2022/09/09 10:42:08 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:42:08 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:42:08 DEBUG: Close database request --- PASS: TestIntegration (0.01s) --- PASS: TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db (0.07s) --- PASS: TestIntegration/list_local_passwd_entry_without_cache (0.00s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_without_access (0.14s) --- PASS: TestIntegration/error_on_trying_to_list_unsupported_db (0.18s) --- PASS: TestIntegration/error_when_listing_non-existent_entry_in_shadow (0.18s) --- PASS: TestIntegration/returns_nothing_when_listing_group_with_empty_cache (0.12s) --- PASS: TestIntegration/returns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it (0.03s) --- PASS: TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache (0.07s) --- PASS: TestIntegration/list_shadow (0.09s) --- PASS: TestIntegration/list_local_group_entry_without_cache (0.00s) --- PASS: TestIntegration/error_on_get_entry_from_passwd_with_explicit_empty_key (0.12s) --- PASS: TestIntegration/list_local_shadow_entry_without_cache (0.05s) --- PASS: TestIntegration/returns_nothing_when_listing_group_without_permission_on_cache (0.13s) --- PASS: TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache (0.17s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache (0.10s) --- PASS: TestIntegration/old_entries_in_group_are_cleaned (0.12s) --- PASS: TestIntegration/error_when_listing_non-existent_entry_in_group (0.13s) --- PASS: TestIntegration/list_entry_from_shadow_by_name (0.13s) --- PASS: TestIntegration/error_when_listing_entry_from_shadow_by_uid_without_access (0.10s) --- PASS: TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow (0.13s) --- PASS: TestIntegration/old_entries_in_shadow_are_cleaned (0.15s) --- PASS: TestIntegration/error_on_get_entry_from_group_with_explicit_empty_key (0.13s) --- PASS: TestIntegration/list_entry_from_group_by_gid (0.12s) --- PASS: TestIntegration/list_entry_from_group_by_name (0.16s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it (0.01s) --- PASS: TestIntegration/list_entry_from_passwd_by_name (0.14s) --- PASS: TestIntegration/old_entries_in_passwd_are_cleaned (0.14s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_without_permission_on_cache (0.14s) --- PASS: TestIntegration/list_passwd (0.11s) --- PASS: TestIntegration/error_when_listing_entry_from_shadow_by_uid (0.11s) --- PASS: TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow (0.11s) --- PASS: TestIntegration/list_group (0.13s) --- PASS: TestIntegration/error_when_listing_non-existent_entry_in_passwd (0.12s) --- PASS: TestIntegration/list_entry_from_group_by_name_without_access_to_shadow (0.14s) --- PASS: TestIntegration/returns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it (0.02s) --- PASS: TestIntegration/list_passwd_without_access_to_shadow (0.12s) --- PASS: TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow (0.13s) --- PASS: TestIntegration/error_when_listing_entry_from_shadow_by_name_without_access (0.11s) --- PASS: TestIntegration/list_entry_from_passwd_by_uid (0.10s) --- PASS: TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key (0.13s) --- PASS: TestIntegration/list_group_without_access_to_shadow (0.11s) PASS ok github.com/ubuntu/aad-auth/nss/aad-auth 7.033s === RUN TestPamSmAuthenticate === RUN TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_for_a_new_user 2022/09/09 10:43:50 DEBUG: Loading configuration from testdata/aad-with-homedir-and-shell.conf 2022/09/09 10:43:50 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:43:50 DEBUG: Authentication successful with user/password 2022/09/09 10:43:50 DEBUG: Cache initialization 2022/09/09 10:43:50 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_for_a_new_user2334860687/001/cache 2022/09/09 10:43:50 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_for_a_new_user2334860687/001/cache/passwd.db 2022/09/09 10:43:50 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_for_a_new_user2334860687/001/cache/shadow.db 2022/09/09 10:43:50 DEBUG: Shadow db mode: 2 2022/09/09 10:43:50 DEBUG: Clean up database 2022/09/09 10:43:50 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:43:50 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:43:50 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:43:50 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:43:50 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:43:50 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:43:50 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:43:50 DEBUG: Close database request === RUN TestPamSmAuthenticate/homedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache 2022/09/09 10:43:50 DEBUG: Cache initialization 2022/09/09 10:43:50 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache2230147462/001/cache 2022/09/09 10:43:50 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache2230147462/001/cache/passwd.db 2022/09/09 10:43:50 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache2230147462/001/cache/shadow.db 2022/09/09 10:43:50 DEBUG: Shadow db mode: 2 2022/09/09 10:43:50 DEBUG: Clean up database 2022/09/09 10:43:50 DEBUG: Close database request 2022/09/09 10:43:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:43:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:43:50 DEBUG: request to close group iteration in db 2022/09/09 10:43:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:43:50 DEBUG: Loading configuration from testdata/forceoffline-with-homedir-and-shell.conf 2022/09/09 10:43:50 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:43:50 DEBUG: acquiring token failed: Offline 2022/09/09 10:43:50 DEBUG: Cache initialization 2022/09/09 10:43:50 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache2230147462/001/cache 2022/09/09 10:43:50 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache2230147462/001/cache/passwd.db 2022/09/09 10:43:50 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache2230147462/001/cache/shadow.db 2022/09/09 10:43:50 DEBUG: Shadow db mode: 2 2022/09/09 10:43:50 DEBUG: Clean up database 2022/09/09 10:43:50 INFO: try to authenticate "futureuser@domain.com" from cache 2022/09/09 10:43:50 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:43:50 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-09-09 10:43:50.967640796 +0000 UTC m=+0.274812955. Revalidation needed every 90 days 2022/09/09 10:43:51 DEBUG: Close database request 2022/09/09 10:43:51 DEBUG: Close database request === RUN TestPamSmAuthenticate/authenticate_successfully_on_config_with_values_only_in_matching_domain 2022/09/09 10:43:51 DEBUG: Loading configuration from testdata/with-domain.conf 2022/09/09 10:43:51 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:43:51 DEBUG: Authentication successful with user/password 2022/09/09 10:43:51 DEBUG: Cache initialization 2022/09/09 10:43:51 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_on_config_with_values_only_in_matching_domain2731132118/001/cache 2022/09/09 10:43:51 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_on_config_with_values_only_in_matching_domain2731132118/001/cache/passwd.db 2022/09/09 10:43:51 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_on_config_with_values_only_in_matching_domain2731132118/001/cache/shadow.db 2022/09/09 10:43:51 DEBUG: Shadow db mode: 2 2022/09/09 10:43:51 DEBUG: Clean up database 2022/09/09 10:43:51 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:43:51 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:43:51 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:43:51 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:43:51 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:43:51 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:43:51 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:43:51 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_config_values_only_in_mismatching_domain 2022/09/09 10:43:51 DEBUG: Loading configuration from testdata/with-domain.conf 2022/09/09 10:43:51 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_user_online_user_not_in_cache 2022/09/09 10:43:53 DEBUG: Cache initialization 2022/09/09 10:43:53 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache899193741/001/cache 2022/09/09 10:43:53 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache899193741/001/cache/passwd.db 2022/09/09 10:43:53 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache899193741/001/cache/shadow.db 2022/09/09 10:43:53 DEBUG: Shadow db mode: 2 2022/09/09 10:43:53 DEBUG: Clean up database 2022/09/09 10:43:53 DEBUG: Close database request 2022/09/09 10:43:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:43:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:43:53 DEBUG: request to close group iteration in db 2022/09/09 10:43:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:43:53 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:43:53 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:43:53 DEBUG: acquiring token failed: Offline 2022/09/09 10:43:53 DEBUG: Cache initialization 2022/09/09 10:43:53 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache899193741/001/cache 2022/09/09 10:43:53 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache899193741/001/cache/passwd.db 2022/09/09 10:43:53 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache899193741/001/cache/shadow.db 2022/09/09 10:43:53 DEBUG: Shadow db mode: 2 2022/09/09 10:43:53 DEBUG: Clean up database 2022/09/09 10:43:53 INFO: try to authenticate "success@domain.com" from cache 2022/09/09 10:43:53 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:43:53 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:43:53 DEBUG: Close database request 2022/09/09 10:43:55 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_server_error 2022/09/09 10:43:55 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:43:55 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:43:55 ERROR: Can't read server response: invalid READ === RUN TestPamSmAuthenticate/offline,_connect_existing_user_from_cache 2022/09/09 10:43:57 DEBUG: Cache initialization 2022/09/09 10:43:57 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache357177243/001/cache 2022/09/09 10:43:57 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache357177243/001/cache/passwd.db 2022/09/09 10:43:57 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache357177243/001/cache/shadow.db 2022/09/09 10:43:57 DEBUG: Shadow db mode: 2 2022/09/09 10:43:57 DEBUG: Clean up database 2022/09/09 10:43:57 DEBUG: Close database request 2022/09/09 10:43:57 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:43:57 DEBUG: request to close passwd iteration in db 2022/09/09 10:43:57 DEBUG: request to close group iteration in db 2022/09/09 10:43:57 DEBUG: request to close shadow iteration in db 2022/09/09 10:43:57 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:43:57 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:43:57 DEBUG: acquiring token failed: Offline 2022/09/09 10:43:57 DEBUG: Cache initialization 2022/09/09 10:43:57 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache357177243/001/cache 2022/09/09 10:43:57 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache357177243/001/cache/passwd.db 2022/09/09 10:43:57 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache357177243/001/cache/shadow.db 2022/09/09 10:43:57 DEBUG: Shadow db mode: 2 2022/09/09 10:43:57 DEBUG: Clean up database 2022/09/09 10:43:57 INFO: try to authenticate "futureuser@domain.com" from cache 2022/09/09 10:43:57 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:43:57 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-09-09 10:43:57.37702185 +0000 UTC m=+6.684194059. Revalidation needed every 90 days 2022/09/09 10:43:57 DEBUG: Close database request 2022/09/09 10:43:57 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_unexisting_users 2022/09/09 10:43:57 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:43:57 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:43:57 DEBUG: Got response: User doesn't exist === RUN TestPamSmAuthenticate/error_on_invalid_password 2022/09/09 10:43:59 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:43:59 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:43:59 DEBUG: Got response: Invalid credentials === RUN TestPamSmAuthenticate/error_on_offline_with_purged_user_accoauthenticateunt 2022/09/09 10:44:01 DEBUG: Cache initialization 2022/09/09 10:44:01 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_purged_user_accoauthenticateunt558728595/001/cache 2022/09/09 10:44:01 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_purged_user_accoauthenticateunt558728595/001/cache/passwd.db 2022/09/09 10:44:01 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_purged_user_accoauthenticateunt558728595/001/cache/shadow.db 2022/09/09 10:44:01 DEBUG: Shadow db mode: 2 2022/09/09 10:44:01 DEBUG: Clean up database 2022/09/09 10:44:01 DEBUG: Close database request 2022/09/09 10:44:01 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:44:01 DEBUG: request to close passwd iteration in db 2022/09/09 10:44:01 DEBUG: request to close group iteration in db 2022/09/09 10:44:01 DEBUG: request to close shadow iteration in db 2022/09/09 10:44:01 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:44:01 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:44:01 DEBUG: Got response: User doesn't exist 2022/09/09 10:44:03 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_offline_with_unpurged_old_user_account 2022/09/09 10:44:03 DEBUG: Cache initialization 2022/09/09 10:44:03 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1128780783/001/cache 2022/09/09 10:44:03 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1128780783/001/cache/passwd.db 2022/09/09 10:44:03 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1128780783/001/cache/shadow.db 2022/09/09 10:44:03 DEBUG: Shadow db mode: 2 2022/09/09 10:44:03 DEBUG: Clean up database 2022/09/09 10:44:03 DEBUG: Close database request 2022/09/09 10:44:03 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:44:03 DEBUG: request to close passwd iteration in db 2022/09/09 10:44:03 DEBUG: request to close group iteration in db 2022/09/09 10:44:03 DEBUG: request to close shadow iteration in db 2022/09/09 10:44:03 DEBUG: Loading configuration from testdata/forceoffline-expire-right-away.conf 2022/09/09 10:44:03 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:44:03 DEBUG: acquiring token failed: Offline 2022/09/09 10:44:03 DEBUG: Cache initialization 2022/09/09 10:44:03 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1128780783/001/cache 2022/09/09 10:44:03 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1128780783/001/cache/passwd.db 2022/09/09 10:44:03 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1128780783/001/cache/shadow.db 2022/09/09 10:44:03 DEBUG: Shadow db mode: 2 2022/09/09 10:44:03 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:44:03 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/09/09 10:44:03 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:44:03 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-09-09 10:44:03.730345467 +0000 UTC m=+13.037517701. Revalidation needed every 0 days 2022/09/09 10:44:03 ERROR: authenticating user "veryolduser@domain.com" from cache failed: offline credentials expired. Denying access. 2022/09/09 10:44:03 DEBUG: Close database request 2022/09/09 10:44:05 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:44:05 DEBUG: Loading configuration from testdata/aad-with-homedir-and-shell-domain.conf 2022/09/09 10:44:05 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:44:05 DEBUG: Authentication successful with user/password 2022/09/09 10:44:05 DEBUG: Cache initialization 2022/09/09 10:44:05 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain3600075973/001/cache 2022/09/09 10:44:05 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain3600075973/001/cache/passwd.db 2022/09/09 10:44:05 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain3600075973/001/cache/shadow.db 2022/09/09 10:44:05 DEBUG: Shadow db mode: 2 2022/09/09 10:44:05 DEBUG: Clean up database 2022/09/09 10:44:05 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:44:05 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:44:05 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:44:05 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:44:05 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:44:05 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:44:05 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:44:05 DEBUG: Close database request === RUN TestPamSmAuthenticate/authenticate_successfully_with_unmatched_case_(online) 2022/09/09 10:44:05 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:44:05 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:44:05 DEBUG: Authentication successful with user/password 2022/09/09 10:44:05 DEBUG: Cache initialization 2022/09/09 10:44:05 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)4025451182/001/cache 2022/09/09 10:44:05 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)4025451182/001/cache/passwd.db 2022/09/09 10:44:05 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)4025451182/001/cache/shadow.db 2022/09/09 10:44:05 DEBUG: Shadow db mode: 2 2022/09/09 10:44:05 DEBUG: Clean up database 2022/09/09 10:44:05 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:44:05 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:44:05 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:44:05 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:44:05 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:44:05 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:44:06 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:44:06 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_unexisting_conf 2022/09/09 10:44:06 DEBUG: Loading configuration from testdata/doesnotexist.conf 2022/09/09 10:44:06 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:44:08 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:44:08 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:44:08 DEBUG: Authentication successful with user/password 2022/09/09 10:44:08 DEBUG: Cache initialization 2022/09/09 10:44:08 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_cache_cant_be_createdopened3761040390/001/cache 2022/09/09 10:44:08 ERROR: can't open/create cache: can't initiate database: cache creation can only be done by root user. Denying access. === RUN TestPamSmAuthenticate/authenticate_successfully_(online) 2022/09/09 10:44:09 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:44: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:44:09 DEBUG: Authentication successful with user/password 2022/09/09 10:44:09 DEBUG: Cache initialization 2022/09/09 10:44:09 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)4047213263/001/cache 2022/09/09 10:44:09 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)4047213263/001/cache/passwd.db 2022/09/09 10:44:09 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)4047213263/001/cache/shadow.db 2022/09/09 10:44:09 DEBUG: Shadow db mode: 2 2022/09/09 10:44:09 DEBUG: Clean up database 2022/09/09 10:44:09 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:44:09 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:44:09 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:44:09 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:44:09 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:44:09 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:44:10 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:44:10 DEBUG: Close database request === RUN TestPamSmAuthenticate/specified_offline_expiration 2022/09/09 10:44:10 DEBUG: Loading configuration from testdata/withoffline-expiration.conf 2022/09/09 10:44:10 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:44:10 DEBUG: Authentication successful with user/password 2022/09/09 10:44:10 DEBUG: Cache initialization 2022/09/09 10:44:10 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatespecified_offline_expiration2559667246/001/cache 2022/09/09 10:44:10 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatespecified_offline_expiration2559667246/001/cache/passwd.db 2022/09/09 10:44:10 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatespecified_offline_expiration2559667246/001/cache/shadow.db 2022/09/09 10:44:10 DEBUG: Shadow db mode: 2 2022/09/09 10:44:10 DEBUG: Clean up database 2022/09/09 10:44:10 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:44:10 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:44:10 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:44:10 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:44:10 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:44:10 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:44:10 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:44:10 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_invalid_conf 2022/09/09 10:44:10 DEBUG: Loading configuration from testdata/invalid-aad.conf 2022/09/09 10:44:10 ERROR: No valid configuration found: could not load valid configuration from testdata/invalid-aad.conf: missing required 'app_id' entry in configuration file --- PASS: TestPamSmAuthenticate (21.88s) --- PASS: TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_for_a_new_user (0.18s) --- PASS: TestPamSmAuthenticate/homedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache (0.19s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_on_config_with_values_only_in_matching_domain (0.18s) --- PASS: TestPamSmAuthenticate/error_on_config_values_only_in_mismatching_domain (2.05s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_user_online_user_not_in_cache (2.05s) --- PASS: TestPamSmAuthenticate/error_on_server_error (1.93s) --- PASS: TestPamSmAuthenticate/offline,_connect_existing_user_from_cache (0.21s) --- PASS: TestPamSmAuthenticate/error_on_unexisting_users (1.87s) --- PASS: TestPamSmAuthenticate/error_on_invalid_password (2.15s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_purged_user_accoauthenticateunt (2.15s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_unpurged_old_user_account (2.08s) --- PASS: TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain (0.17s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_with_unmatched_case_(online) (0.18s) --- PASS: TestPamSmAuthenticate/error_on_unexisting_conf (2.11s) --- PASS: TestPamSmAuthenticate/error_on_cache_can't_be_created/opened (1.72s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_(online) (0.18s) --- PASS: TestPamSmAuthenticate/specified_offline_expiration (0.18s) --- PASS: TestPamSmAuthenticate/error_on_invalid_conf (2.32s) === 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.05s) PASS ok github.com/ubuntu/aad-auth/pam 129.199s 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-arm-linux-gnueabihf && mkdir -p /<>/debian/tmp/usr cd obj-arm-linux-gnueabihf && 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/arm-linux-gnueabihf/security cp pam_aad.so debian/tmp/usr/lib/arm-linux-gnueabihf/security make install -C nss/ DESTDIR=/<>/debian/tmp make[2]: Entering directory '/<>/nss' install -dm 0755 /<>/debian/tmp/usr/lib/arm-linux-gnueabihf install -m 0644 libnss_aad.so.2 /<>/debian/tmp/usr/lib/arm-linux-gnueabihf 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/arm-linux-gnueabihf/security/pam_aad.so: DWARF version 45721 unhandled 41f9415fb73bd58fb9d6d70e58ad0f85f3d1d53f 3c26d8a661340bc6e958f41a1681984b1900e6e1 debugedit: debian/libnss-aad/usr/libexec/aad-auth: DWARF version 5669 unhandled 3964d3627b8f0e3b69dfa537d891a4cc18f33d54 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 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 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 libnss-aad (in debian/libnss-aad); do_strip: , oemstrip: pkgstriptranslations: processing libpam-aad (in debian/libpam-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 INFO: pkgstripfiles: waiting for lock (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_armhf.deb'. INFO: pkgstripfiles: waiting for lock (libnss-aad) ... Renaming libnss-aad-dbgsym_0.2_armhf.deb to libnss-aad-dbgsym_0.2_armhf.ddeb 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_armhf.deb'. pkgstripfiles: Running PNG optimization (using 4 cpus) for package libpam-aad ... pkgstripfiles: No PNG files. INFO: pkgstripfiles: waiting for lock (libnss-aad) ... dpkg-deb: building package 'libpam-aad' in '../libpam-aad_0.2_armhf.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_armhf.deb'. Renaming libpam-aad-dbgsym_0.2_armhf.deb to libpam-aad-dbgsym_0.2_armhf.ddeb dpkg-genbuildinfo --build=any -O../aad-auth_0.2_armhf.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../aad-auth_0.2_armhf.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:44:47Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ aad-auth_0.2_armhf.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: armhf 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: b1363623ac88602d574382cd6a111a13cb20553d 7760 aad-auth_0.2_armhf.buildinfo 6fd020cb51aa344ab02356277eccfaaca6016d7f 2983036 libnss-aad-dbgsym_0.2_armhf.ddeb 544a4176ddcc48c42b8d249cd9073e733f322248 1661190 libnss-aad_0.2_armhf.deb 5019a6463d4c40c4063e56a6b3a334284c6278b3 4428784 libpam-aad-dbgsym_0.2_armhf.ddeb 9f5c84b1c1d952d0838041dfc29f5f27da159fa5 3137528 libpam-aad_0.2_armhf.deb Checksums-Sha256: 982bb9741ee3c95a7acdb453799b1f5955ac16df930455ed3aff52740cddc677 7760 aad-auth_0.2_armhf.buildinfo 2958303070c25c0f177a30ba8b32c727baa39a95596e5a594bb1757d828b5757 2983036 libnss-aad-dbgsym_0.2_armhf.ddeb 20b587c6ae5c3731242d18e117883aabf6616bab9eaeeb93ab9fcf08cdce1c47 1661190 libnss-aad_0.2_armhf.deb 1e72ffff6a03a750473a90e441be7b0a04c3f66ffd3ebc1e7e18c43630fd2996 4428784 libpam-aad-dbgsym_0.2_armhf.ddeb aa3856e108b39799a1824858eb462b12cde32b1f16e175a17ed1d74341d3aab8 3137528 libpam-aad_0.2_armhf.deb Files: 09b55cf649d5e7d2e39b5e39614030b6 7760 admin optional aad-auth_0.2_armhf.buildinfo 0d82191c8dcb11c6a2b9f78fd087bf54 2983036 debug optional libnss-aad-dbgsym_0.2_armhf.ddeb 80fcd158eca3c2e1fb82337a7d385c3b 1661190 admin optional libnss-aad_0.2_armhf.deb 917a795457f544aade94c4914feeb637 4428784 debug optional libpam-aad-dbgsym_0.2_armhf.ddeb 0b826692808b31fe9b24fa0e8c66e2ef 3137528 admin optional libpam-aad_0.2_armhf.deb /<>/aad-auth_0.2_armhf.changes.new could not be renamed to /<>/aad-auth_0.2_armhf.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: armhf Version: 0.2 Checksums-Md5: 0d82191c8dcb11c6a2b9f78fd087bf54 2983036 libnss-aad-dbgsym_0.2_armhf.ddeb 80fcd158eca3c2e1fb82337a7d385c3b 1661190 libnss-aad_0.2_armhf.deb 917a795457f544aade94c4914feeb637 4428784 libpam-aad-dbgsym_0.2_armhf.ddeb 0b826692808b31fe9b24fa0e8c66e2ef 3137528 libpam-aad_0.2_armhf.deb Checksums-Sha1: 6fd020cb51aa344ab02356277eccfaaca6016d7f 2983036 libnss-aad-dbgsym_0.2_armhf.ddeb 544a4176ddcc48c42b8d249cd9073e733f322248 1661190 libnss-aad_0.2_armhf.deb 5019a6463d4c40c4063e56a6b3a334284c6278b3 4428784 libpam-aad-dbgsym_0.2_armhf.ddeb 9f5c84b1c1d952d0838041dfc29f5f27da159fa5 3137528 libpam-aad_0.2_armhf.deb Checksums-Sha256: 2958303070c25c0f177a30ba8b32c727baa39a95596e5a594bb1757d828b5757 2983036 libnss-aad-dbgsym_0.2_armhf.ddeb 20b587c6ae5c3731242d18e117883aabf6616bab9eaeeb93ab9fcf08cdce1c47 1661190 libnss-aad_0.2_armhf.deb 1e72ffff6a03a750473a90e441be7b0a04c3f66ffd3ebc1e7e18c43630fd2996 4428784 libpam-aad-dbgsym_0.2_armhf.ddeb aa3856e108b39799a1824858eb462b12cde32b1f16e175a17ed1d74341d3aab8 3137528 libpam-aad_0.2_armhf.deb Build-Origin: Ubuntu Build-Architecture: armhf Build-Date: Fri, 09 Sep 2022 10:44:46 +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-arm-linux-gnueabihf (= 2.39-1ubuntu1), binutils-common (= 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), 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), 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), 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), 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_armhf.deb ------------------------ new Debian package, version 2.0. size 1661190 bytes: control archive=1720 bytes. 672 bytes, 17 lines control 274 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: armhf Maintainer: Ubuntu Developers Installed-Size: 4354 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/arm-linux-gnueabihf/ -rw-r--r-- root/root 66984 2022-09-09 07:48 ./usr/lib/arm-linux-gnueabihf/libnss_aad.so.2 drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/libexec/ -rwxr-xr-x root/root 4364748 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_armhf.deb ------------------------ new Debian package, version 2.0. size 3137528 bytes: control archive=3320 bytes. 670 bytes, 17 lines control 501 bytes, 7 lines md5sums 95 bytes, 11 lines * postinst #!/bin/sh 151 bytes, 9 lines * prerm #!/bin/sh 15367 bytes, 424 lines symbols 74 bytes, 2 lines triggers Package: libpam-aad Source: aad-auth Version: 0.2 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 8858 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/arm-linux-gnueabihf/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/lib/arm-linux-gnueabihf/security/ -rw-r--r-- root/root 9022376 2022-09-09 07:48 ./usr/lib/arm-linux-gnueabihf/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: armhf Build Type: any Build-Space: 104732 Build-Time: 549 Distribution: kinetic-proposed Host Architecture: armhf Install-Time: 29 Job: aad-auth_0.2.dsc Machine Architecture: arm64 Package: aad-auth Package-Time: 579 Source-Version: 0.2 Space: 104732 Status: successful Version: 0.2 -------------------------------------------------------------------------------- Finished at 2022-09-09T10:44:47Z Build needed 00:09:39, 104732k disk space Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=kinetic --arch=armhf PACKAGEBUILD-24348163 Scanning for processes to kill in build PACKAGEBUILD-24348163