https://launchpad.net/ubuntu/+source/aad-auth/0.2/+build/24348166 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-s390x-018 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 14:00:33 UTC 2022 s390x 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:45 ntpdate[1909]: adjust time server 10.211.37.1 offset -0.002225 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=kinetic --arch=s390x PACKAGEBUILD-24348166 --image-type chroot /home/buildd/filecache-default/8d83e5a8c0e71d89e50aa772480282231f48e921 Creating target for build PACKAGEBUILD-24348166 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=kinetic --arch=s390x PACKAGEBUILD-24348166 Starting target for build PACKAGEBUILD-24348166 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=kinetic --arch=s390x PACKAGEBUILD-24348166 '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-24348166 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=kinetic --arch=s390x PACKAGEBUILD-24348166 Updating target for build PACKAGEBUILD-24348166 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 s390x Packages [1315 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main Translation-en [511 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/universe s390x Packages [13.8 MB] Get:8 http://ftpmaster.internal/ubuntu kinetic/universe Translation-en [5790 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x Packages [71.9 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic-proposed/main Translation-en [30.9 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic-proposed/universe s390x Packages [179 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic-proposed/universe Translation-en [83.7 kB] Fetched 22.3 MB in 4s (5371 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: bash cpp-12 g++-12 gcc-12 gcc-12-base libasan8 libatomic1 libcc1-0 libgcc-12-dev libgcc-s1 libgomp1 libitm1 libstdc++-12-dev libstdc++6 libsystemd-shared libsystemd0 libubsan1 libudev1 linux-libc-dev lto-disabled-list systemd systemd-sysv usrmerge 23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 48.1 MB of archives. After this operation, 399 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu kinetic/main s390x bash s390x 5.2~rc2-2ubuntu1 [793 kB] Get:2 http://ftpmaster.internal/ubuntu kinetic/main s390x systemd-sysv s390x 251.4-1ubuntu4 [11.2 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic/main s390x systemd s390x 251.4-1ubuntu4 [2694 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic/main s390x libsystemd-shared s390x 251.4-1ubuntu4 [1604 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main s390x libsystemd0 s390x 251.4-1ubuntu4 [313 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libcc1-0 s390x 12.2.0-2ubuntu1 [45.5 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libgomp1 s390x 12.2.0-2ubuntu1 [122 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libitm1 s390x 12.2.0-2ubuntu1 [29.5 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libatomic1 s390x 12.2.0-2ubuntu1 [8944 B] Get:10 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libasan8 s390x 12.2.0-2ubuntu1 [2408 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libubsan1 s390x 12.2.0-2ubuntu1 [958 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x gcc-12-base s390x 12.2.0-2ubuntu1 [19.2 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libstdc++6 s390x 12.2.0-2ubuntu1 [728 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x g++-12 s390x 12.2.0-2ubuntu1 [9436 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libstdc++-12-dev s390x 12.2.0-2ubuntu1 [2192 kB] Get:16 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libgcc-12-dev s390x 12.2.0-2ubuntu1 [853 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x gcc-12 s390x 12.2.0-2ubuntu1 [16.2 MB] Get:18 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x cpp-12 s390x 12.2.0-2ubuntu1 [8165 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libgcc-s1 s390x 12.2.0-2ubuntu1 [28.3 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic/main s390x libudev1 s390x 251.4-1ubuntu4 [78.7 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic/main s390x usrmerge all 29ubuntu2 [55.8 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x linux-libc-dev s390x 5.19.0-16.16 [1332 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main s390x lto-disabled-list all 35 [12.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 48.1 MB in 2s (20.8 MB/s) (Reading database ... 13352 files and directories currently installed.) Preparing to unpack .../bash_5.2~rc2-2ubuntu1_s390x.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 ... 13353 files and directories currently installed.) Preparing to unpack .../systemd-sysv_251.4-1ubuntu4_s390x.deb ... Unpacking systemd-sysv (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Preparing to unpack .../systemd_251.4-1ubuntu4_s390x.deb ... Unpacking systemd (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd-shared_251.4-1ubuntu4_s390x.deb ... Unpacking libsystemd-shared:s390x (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd0_251.4-1ubuntu4_s390x.deb ... Unpacking libsystemd0:s390x (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Setting up libsystemd0:s390x (251.4-1ubuntu4) ... (Reading database ... 13353 files and directories currently installed.) Preparing to unpack .../0-libcc1-0_12.2.0-2ubuntu1_s390x.deb ... Unpacking libcc1-0:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../1-libgomp1_12.2.0-2ubuntu1_s390x.deb ... Unpacking libgomp1:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../2-libitm1_12.2.0-2ubuntu1_s390x.deb ... Unpacking libitm1:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../3-libatomic1_12.2.0-2ubuntu1_s390x.deb ... Unpacking libatomic1:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../4-libasan8_12.2.0-2ubuntu1_s390x.deb ... Unpacking libasan8:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../5-libubsan1_12.2.0-2ubuntu1_s390x.deb ... Unpacking libubsan1:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../6-gcc-12-base_12.2.0-2ubuntu1_s390x.deb ... Unpacking gcc-12-base:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Setting up gcc-12-base:s390x (12.2.0-2ubuntu1) ... (Reading database ... 13353 files and directories currently installed.) Preparing to unpack .../libstdc++6_12.2.0-2ubuntu1_s390x.deb ... Unpacking libstdc++6:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libstdc++6:s390x (12.2.0-2ubuntu1) ... (Reading database ... 13353 files and directories currently installed.) Preparing to unpack .../0-g++-12_12.2.0-2ubuntu1_s390x.deb ... Unpacking g++-12 (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../1-libstdc++-12-dev_12.2.0-2ubuntu1_s390x.deb ... Unpacking libstdc++-12-dev:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../2-libgcc-12-dev_12.2.0-2ubuntu1_s390x.deb ... Unpacking libgcc-12-dev:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../3-gcc-12_12.2.0-2ubuntu1_s390x.deb ... Unpacking gcc-12 (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../4-cpp-12_12.2.0-2ubuntu1_s390x.deb ... Unpacking cpp-12 (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../5-libgcc-s1_12.2.0-2ubuntu1_s390x.deb ... Unpacking libgcc-s1:s390x (12.2.0-2ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libgcc-s1:s390x (12.2.0-2ubuntu1) ... (Reading database ... 13353 files and directories currently installed.) Preparing to unpack .../libudev1_251.4-1ubuntu4_s390x.deb ... Unpacking libudev1:s390x (251.4-1ubuntu4) over (251.4-1ubuntu1) ... Setting up libudev1:s390x (251.4-1ubuntu4) ... (Reading database ... 13353 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_s390x.deb ... Unpacking linux-libc-dev:s390x (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:s390x (5.19.0-16.16) ... Setting up libgomp1:s390x (12.2.0-2ubuntu1) ... Setting up libatomic1:s390x (12.2.0-2ubuntu1) ... Setting up libsystemd-shared:s390x (251.4-1ubuntu4) ... Setting up usrmerge (29ubuntu2) ... Setting up libubsan1:s390x (12.2.0-2ubuntu1) ... Setting up libasan8:s390x (12.2.0-2ubuntu1) ... Setting up libcc1-0:s390x (12.2.0-2ubuntu1) ... Setting up libitm1:s390x (12.2.0-2ubuntu1) ... Setting up systemd (251.4-1ubuntu4) ... Initializing machine ID from random generator. Setting up libgcc-12-dev:s390x (12.2.0-2ubuntu1) ... Setting up systemd-sysv (251.4-1ubuntu4) ... Setting up libstdc++-12-dev:s390x (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-24348166 s390x kinetic-proposed -c chroot:build-PACKAGEBUILD-24348166 --arch=s390x --dist=kinetic-proposed --nolog aad-auth_0.2.dsc Initiating build PACKAGEBUILD-24348166 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 14:00:33 UTC 2022 s390x sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-s390x-018.buildd +==============================================================================+ | aad-auth 0.2 (s390x) Fri, 09 Sep 2022 10:34:59 +0000 | +==============================================================================+ Package: aad-auth Version: 0.2 Source Version: 0.2 Distribution: kinetic-proposed Machine Architecture: s390x Host Architecture: s390x Build Architecture: s390x Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-24348166/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/aad-auth-KGxYGH/resolver-kwLwyP' 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-KGxYGH/aad-auth-0.2' with '<>' I: NOTICE: Log filtering will replace 'build/aad-auth-KGxYGH' 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 [530 B] Fetched 1930 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils debhelper debugedit dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz file gettext gettext-base golang-1.19-go golang-1.19-src golang-go golang-src groff-base intltool-debian libarchive-zip-perl libblkid-dev libdebhelper-perl libdw1 libelf1 libexpat1 libffi-dev libfile-stripnondeterminism-perl libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libicu71 libmagic-mgc libmagic1 libmount-dev libmpdec3 libpam0g-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpipeline1 libpython3-stdlib libpython3.10-minimal libpython3.10-stdlib libselinux1-dev libsepol-dev libsub-override-perl libtool libuchardet0 libxml2 m4 man-db media-types pkg-config po-debconf python3 python3-distutils python3-lib2to3 python3-minimal python3.10 python3.10-minimal uuid-dev zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc libasprintf-dev libgettextpo-dev bzr | brz git mercurial subversion groff libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin | libgdk-pixbuf2.0-dev libxml2-utils libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl python3-doc python3-tk python3-venv python3.10-venv python3.10-doc binfmt-support Recommended packages: curl | wget | lynx libarchive-cpio-perl shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils debhelper debugedit dh-apport dh-autoreconf dh-golang dh-strip-nondeterminism dwz file gettext gettext-base golang-1.19-go golang-1.19-src golang-go golang-src groff-base intltool-debian libarchive-zip-perl libblkid-dev libdebhelper-perl libdw1 libelf1 libexpat1 libffi-dev libfile-stripnondeterminism-perl libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libicu71 libmagic-mgc libmagic1 libmount-dev libmpdec3 libpam0g-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpipeline1 libpython3-stdlib libpython3.10-minimal libpython3.10-stdlib libselinux1-dev libsepol-dev libsub-override-perl libtool libuchardet0 libxml2 m4 man-db media-types pkg-config po-debconf python3 python3-distutils python3-lib2to3 python3-minimal python3.10 python3.10-minimal sbuild-build-depends-main-dummy uuid-dev zlib1g-dev 0 upgraded, 68 newly installed, 0 to remove and 0 not upgraded. Need to get 113 MB of archives. After this operation, 581 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [750 B] Get:2 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libpython3.10-minimal s390x 3.10.7-1 [798 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic/main s390x libexpat1 s390x 2.4.8-1 [87.6 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x python3.10-minimal s390x 3.10.7-1 [1945 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main s390x python3-minimal s390x 3.10.6-1 [24.1 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main s390x media-types all 8.0.0 [24.9 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/main s390x libmpdec3 s390x 2.5.1-2build2 [90.8 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x libpython3.10-stdlib s390x 3.10.7-1 [1753 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic-proposed/main s390x python3.10 s390x 3.10.7-1 [497 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main s390x libpython3-stdlib s390x 3.10.6-1 [6850 B] Get:11 http://ftpmaster.internal/ubuntu kinetic/main s390x python3 s390x 3.10.6-1 [22.3 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/main s390x libelf1 s390x 0.187-2 [54.4 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/main s390x libglib2.0-0 s390x 2.73.3-3 [1419 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic/main s390x libglib2.0-data all 2.73.3-3 [18.4 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/main s390x libicu71 s390x 71.1-3 [10.5 MB] Get:16 http://ftpmaster.internal/ubuntu kinetic/main s390x libxml2 s390x 2.9.14+dfsg-1 [706 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic/main s390x bsdextrautils s390x 2.38-4ubuntu1 [71.6 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/main s390x libmagic-mgc s390x 1:5.41-4 [258 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/main s390x libmagic1 s390x 1:5.41-4 [84.8 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic/main s390x file s390x 1:5.41-4 [21.4 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic/main s390x gettext-base s390x 0.21-8 [37.8 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main s390x libuchardet0 s390x 0.0.7-1build2 [76.4 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main s390x groff-base s390x 1.22.4-8build1 [928 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic/main s390x libpipeline1 s390x 1.5.6-2 [23.4 kB] Get:25 http://ftpmaster.internal/ubuntu kinetic/main s390x man-db s390x 2.10.2-2 [1178 kB] Get:26 http://ftpmaster.internal/ubuntu kinetic/main s390x m4 s390x 1.4.19-1 [243 kB] Get:27 http://ftpmaster.internal/ubuntu kinetic/main s390x autoconf all 2.71-2 [338 kB] Get:28 http://ftpmaster.internal/ubuntu kinetic/main s390x autotools-dev all 20220109.1 [44.9 kB] Get:29 http://ftpmaster.internal/ubuntu kinetic/main s390x automake all 1:1.16.5-1.3 [558 kB] Get:30 http://ftpmaster.internal/ubuntu kinetic/main s390x autopoint all 0.21-8 [421 kB] Get:31 http://ftpmaster.internal/ubuntu kinetic/main s390x libdebhelper-perl all 13.9.1ubuntu1 [66.4 kB] Get:32 http://ftpmaster.internal/ubuntu kinetic/main s390x libtool all 2.4.7-4 [166 kB] Get:33 http://ftpmaster.internal/ubuntu kinetic/main s390x dh-autoreconf all 20 [16.1 kB] Get:34 http://ftpmaster.internal/ubuntu kinetic/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] Get:35 http://ftpmaster.internal/ubuntu kinetic/main s390x libsub-override-perl all 0.09-3 [9756 B] Get:36 http://ftpmaster.internal/ubuntu kinetic/main s390x libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] Get:37 http://ftpmaster.internal/ubuntu kinetic/main s390x dh-strip-nondeterminism all 1.13.0-1 [5344 B] Get:38 http://ftpmaster.internal/ubuntu kinetic/main s390x libdw1 s390x 0.187-2 [242 kB] Get:39 http://ftpmaster.internal/ubuntu kinetic/main s390x debugedit s390x 1:5.0-5 [47.5 kB] Get:40 http://ftpmaster.internal/ubuntu kinetic/main s390x dwz s390x 0.14-1build2 [104 kB] Get:41 http://ftpmaster.internal/ubuntu kinetic/main s390x gettext s390x 0.21-8 [851 kB] Get:42 http://ftpmaster.internal/ubuntu kinetic/main s390x intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:43 http://ftpmaster.internal/ubuntu kinetic/main s390x po-debconf all 1.0.21+nmu1 [233 kB] Get:44 http://ftpmaster.internal/ubuntu kinetic/main s390x debhelper all 13.9.1ubuntu1 [939 kB] Get:45 http://ftpmaster.internal/ubuntu kinetic/universe s390x dh-apport all 2.23.0-0ubuntu1 [7074 B] Get:46 http://ftpmaster.internal/ubuntu kinetic/main s390x golang-1.19-src all 1.19-1ubuntu2 [19.2 MB] Get:47 http://ftpmaster.internal/ubuntu kinetic/main s390x golang-1.19-go s390x 1.19-1ubuntu2 [64.0 MB] Get:48 http://ftpmaster.internal/ubuntu kinetic/main s390x golang-src all 2:1.19~1 [4466 B] Get:49 http://ftpmaster.internal/ubuntu kinetic/main s390x golang-go s390x 2:1.19~1 [43.3 kB] Get:50 http://ftpmaster.internal/ubuntu kinetic/main s390x libglib2.0-bin s390x 2.73.3-3 [91.4 kB] Get:51 http://ftpmaster.internal/ubuntu kinetic/main s390x libffi-dev s390x 3.4.2-4 [58.8 kB] Get:52 http://ftpmaster.internal/ubuntu kinetic/main s390x python3-lib2to3 all 3.10.6-1 [77.5 kB] Get:53 http://ftpmaster.internal/ubuntu kinetic/main s390x python3-distutils all 3.10.6-1 [139 kB] Get:54 http://ftpmaster.internal/ubuntu kinetic/main s390x libglib2.0-dev-bin s390x 2.73.3-3 [127 kB] Get:55 http://ftpmaster.internal/ubuntu kinetic/main s390x uuid-dev s390x 2.38-4ubuntu1 [32.6 kB] Get:56 http://ftpmaster.internal/ubuntu kinetic/main s390x libblkid-dev s390x 2.38-4ubuntu1 [185 kB] Get:57 http://ftpmaster.internal/ubuntu kinetic/main s390x libsepol-dev s390x 3.4-2 [362 kB] Get:58 http://ftpmaster.internal/ubuntu kinetic/main s390x libpcre2-16-0 s390x 10.40-1ubuntu1 [198 kB] Get:59 http://ftpmaster.internal/ubuntu kinetic/main s390x libpcre2-32-0 s390x 10.40-1ubuntu1 [185 kB] Get:60 http://ftpmaster.internal/ubuntu kinetic/main s390x libpcre2-posix3 s390x 10.40-1ubuntu1 [6002 B] Get:61 http://ftpmaster.internal/ubuntu kinetic/main s390x libpcre2-dev s390x 10.40-1ubuntu1 [704 kB] Get:62 http://ftpmaster.internal/ubuntu kinetic/main s390x libselinux1-dev s390x 3.4-1 [162 kB] Get:63 http://ftpmaster.internal/ubuntu kinetic/main s390x libmount-dev s390x 2.38-4ubuntu1 [14.7 kB] Get:64 http://ftpmaster.internal/ubuntu kinetic/main s390x pkg-config s390x 0.29.2-1ubuntu3 [47.3 kB] Get:65 http://ftpmaster.internal/ubuntu kinetic/main s390x zlib1g-dev s390x 1:1.2.11.dfsg-4.1ubuntu1 [169 kB] Get:66 http://ftpmaster.internal/ubuntu kinetic/main s390x libglib2.0-dev s390x 2.73.3-3 [1706 kB] Get:67 http://ftpmaster.internal/ubuntu kinetic/main s390x libpam0g-dev s390x 1.5.2-2ubuntu1 [110 kB] Get:68 http://ftpmaster.internal/ubuntu kinetic/main s390x dh-golang all 1.58 [22.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 113 MB in 5s (22.0 MB/s) Selecting previously unselected package libpython3.10-minimal:s390x. (Reading database ... 13365 files and directories currently installed.) Preparing to unpack .../libpython3.10-minimal_3.10.7-1_s390x.deb ... Unpacking libpython3.10-minimal:s390x (3.10.7-1) ... Selecting previously unselected package libexpat1:s390x. Preparing to unpack .../libexpat1_2.4.8-1_s390x.deb ... Unpacking libexpat1:s390x (2.4.8-1) ... Selecting previously unselected package python3.10-minimal. Preparing to unpack .../python3.10-minimal_3.10.7-1_s390x.deb ... Unpacking python3.10-minimal (3.10.7-1) ... Setting up libpython3.10-minimal:s390x (3.10.7-1) ... Setting up libexpat1:s390x (2.4.8-1) ... Setting up python3.10-minimal (3.10.7-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 13667 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.10.6-1_s390x.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:s390x. Preparing to unpack .../2-libmpdec3_2.5.1-2build2_s390x.deb ... Unpacking libmpdec3:s390x (2.5.1-2build2) ... Selecting previously unselected package libpython3.10-stdlib:s390x. Preparing to unpack .../3-libpython3.10-stdlib_3.10.7-1_s390x.deb ... Unpacking libpython3.10-stdlib:s390x (3.10.7-1) ... Selecting previously unselected package python3.10. Preparing to unpack .../4-python3.10_3.10.7-1_s390x.deb ... Unpacking python3.10 (3.10.7-1) ... Selecting previously unselected package libpython3-stdlib:s390x. Preparing to unpack .../5-libpython3-stdlib_3.10.6-1_s390x.deb ... Unpacking libpython3-stdlib:s390x (3.10.6-1) ... Setting up python3-minimal (3.10.6-1) ... Selecting previously unselected package python3. (Reading database ... 14068 files and directories currently installed.) Preparing to unpack .../00-python3_3.10.6-1_s390x.deb ... Unpacking python3 (3.10.6-1) ... Selecting previously unselected package libelf1:s390x. Preparing to unpack .../01-libelf1_0.187-2_s390x.deb ... Unpacking libelf1:s390x (0.187-2) ... Selecting previously unselected package libglib2.0-0:s390x. Preparing to unpack .../02-libglib2.0-0_2.73.3-3_s390x.deb ... Unpacking libglib2.0-0:s390x (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:s390x. Preparing to unpack .../04-libicu71_71.1-3_s390x.deb ... Unpacking libicu71:s390x (71.1-3) ... Selecting previously unselected package libxml2:s390x. Preparing to unpack .../05-libxml2_2.9.14+dfsg-1_s390x.deb ... Unpacking libxml2:s390x (2.9.14+dfsg-1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../06-bsdextrautils_2.38-4ubuntu1_s390x.deb ... Unpacking bsdextrautils (2.38-4ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.41-4_s390x.deb ... Unpacking libmagic-mgc (1:5.41-4) ... Selecting previously unselected package libmagic1:s390x. Preparing to unpack .../08-libmagic1_1%3a5.41-4_s390x.deb ... Unpacking libmagic1:s390x (1:5.41-4) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.41-4_s390x.deb ... Unpacking file (1:5.41-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.21-8_s390x.deb ... Unpacking gettext-base (0.21-8) ... Selecting previously unselected package libuchardet0:s390x. Preparing to unpack .../11-libuchardet0_0.0.7-1build2_s390x.deb ... Unpacking libuchardet0:s390x (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../12-groff-base_1.22.4-8build1_s390x.deb ... Unpacking groff-base (1.22.4-8build1) ... Selecting previously unselected package libpipeline1:s390x. Preparing to unpack .../13-libpipeline1_1.5.6-2_s390x.deb ... Unpacking libpipeline1:s390x (1.5.6-2) ... Selecting previously unselected package man-db. Preparing to unpack .../14-man-db_2.10.2-2_s390x.deb ... Unpacking man-db (2.10.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../15-m4_1.4.19-1_s390x.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:s390x. Preparing to unpack .../27-libdw1_0.187-2_s390x.deb ... Unpacking libdw1:s390x (0.187-2) ... Selecting previously unselected package debugedit. Preparing to unpack .../28-debugedit_1%3a5.0-5_s390x.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../29-dwz_0.14-1build2_s390x.deb ... Unpacking dwz (0.14-1build2) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.21-8_s390x.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_s390x.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:s390x. Preparing to unpack .../38-golang-go_2%3a1.19~1_s390x.deb ... Unpacking golang-go:s390x (2:1.19~1) ... Selecting previously unselected package libglib2.0-bin. Preparing to unpack .../39-libglib2.0-bin_2.73.3-3_s390x.deb ... Unpacking libglib2.0-bin (2.73.3-3) ... Selecting previously unselected package libffi-dev:s390x. Preparing to unpack .../40-libffi-dev_3.4.2-4_s390x.deb ... Unpacking libffi-dev:s390x (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_s390x.deb ... Unpacking libglib2.0-dev-bin (2.73.3-3) ... Selecting previously unselected package uuid-dev:s390x. Preparing to unpack .../44-uuid-dev_2.38-4ubuntu1_s390x.deb ... Unpacking uuid-dev:s390x (2.38-4ubuntu1) ... Selecting previously unselected package libblkid-dev:s390x. Preparing to unpack .../45-libblkid-dev_2.38-4ubuntu1_s390x.deb ... Unpacking libblkid-dev:s390x (2.38-4ubuntu1) ... Selecting previously unselected package libsepol-dev:s390x. Preparing to unpack .../46-libsepol-dev_3.4-2_s390x.deb ... Unpacking libsepol-dev:s390x (3.4-2) ... Selecting previously unselected package libpcre2-16-0:s390x. Preparing to unpack .../47-libpcre2-16-0_10.40-1ubuntu1_s390x.deb ... Unpacking libpcre2-16-0:s390x (10.40-1ubuntu1) ... Selecting previously unselected package libpcre2-32-0:s390x. Preparing to unpack .../48-libpcre2-32-0_10.40-1ubuntu1_s390x.deb ... Unpacking libpcre2-32-0:s390x (10.40-1ubuntu1) ... Selecting previously unselected package libpcre2-posix3:s390x. Preparing to unpack .../49-libpcre2-posix3_10.40-1ubuntu1_s390x.deb ... Unpacking libpcre2-posix3:s390x (10.40-1ubuntu1) ... Selecting previously unselected package libpcre2-dev:s390x. Preparing to unpack .../50-libpcre2-dev_10.40-1ubuntu1_s390x.deb ... Unpacking libpcre2-dev:s390x (10.40-1ubuntu1) ... Selecting previously unselected package libselinux1-dev:s390x. Preparing to unpack .../51-libselinux1-dev_3.4-1_s390x.deb ... Unpacking libselinux1-dev:s390x (3.4-1) ... Selecting previously unselected package libmount-dev:s390x. Preparing to unpack .../52-libmount-dev_2.38-4ubuntu1_s390x.deb ... Unpacking libmount-dev:s390x (2.38-4ubuntu1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../53-pkg-config_0.29.2-1ubuntu3_s390x.deb ... Unpacking pkg-config (0.29.2-1ubuntu3) ... Selecting previously unselected package zlib1g-dev:s390x. Preparing to unpack .../54-zlib1g-dev_1%3a1.2.11.dfsg-4.1ubuntu1_s390x.deb ... Unpacking zlib1g-dev:s390x (1:1.2.11.dfsg-4.1ubuntu1) ... Selecting previously unselected package libglib2.0-dev:s390x. Preparing to unpack .../55-libglib2.0-dev_2.73.3-3_s390x.deb ... Unpacking libglib2.0-dev:s390x (2.73.3-3) ... Selecting previously unselected package libpam0g-dev:s390x. Preparing to unpack .../56-libpam0g-dev_1.5.2-2ubuntu1_s390x.deb ... Unpacking libpam0g-dev:s390x (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_s390x.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (8.0.0) ... Setting up libpipeline1:s390x (1.5.6-2) ... Setting up libicu71:s390x (71.1-3) ... Setting up bsdextrautils (2.38-4ubuntu1) ... Setting up libpam0g-dev:s390x (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:s390x (2.73.3-3) ... No schema files found: doing nothing. Setting up libdebhelper-perl (13.9.1ubuntu1) ... Setting up libmagic1:s390x (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:s390x (3.4.2-4) ... Setting up dh-apport (2.23.0-0ubuntu1) ... Setting up libpcre2-16-0:s390x (10.40-1ubuntu1) ... Setting up autotools-dev (20220109.1) ... Setting up libpcre2-32-0:s390x (10.40-1ubuntu1) ... Setting up libglib2.0-data (2.73.3-3) ... Setting up uuid-dev:s390x (2.38-4ubuntu1) ... Setting up autopoint (0.21-8) ... Setting up pkg-config (0.29.2-1ubuntu3) ... Setting up libsepol-dev:s390x (3.4-2) ... Setting up autoconf (2.71-2) ... Setting up zlib1g-dev:s390x (1:1.2.11.dfsg-4.1ubuntu1) ... Setting up libpcre2-posix3:s390x (10.40-1ubuntu1) ... Setting up libuchardet0:s390x (0.0.7-1build2) ... Setting up libmpdec3:s390x (2.5.1-2build2) ... Setting up libsub-override-perl (0.09-3) ... Setting up golang-src (2:1.19~1) ... Setting up libelf1:s390x (0.187-2) ... Setting up libxml2:s390x (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:s390x (2.38-4ubuntu1) ... Setting up libdw1:s390x (0.187-2) ... Setting up gettext (0.21-8) ... Setting up libpcre2-dev:s390x (10.40-1ubuntu1) ... Setting up libtool (2.4.7-4) ... Setting up golang-go:s390x (2:1.19~1) ... Setting up libselinux1-dev:s390x (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:s390x (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:s390x (2.38-4ubuntu1) ... Setting up libpython3-stdlib:s390x (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:s390x (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 (s390x included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 14:00:33 UTC 2022 s390x (s390x) Toolchain package versions: binutils_2.39-1ubuntu1 dpkg-dev_1.21.9ubuntu1 g++-12_12.2.0-2ubuntu1 gcc-12_12.2.0-2ubuntu1 libc6-dev_2.36-0ubuntu2 libstdc++-12-dev_12.2.0-2ubuntu1 libstdc++6_12.2.0-2ubuntu1 linux-libc-dev_5.19.0-16.16 Package versions: adduser_3.121ubuntu1 advancecomp_2.3-1 apt_2.5.2 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-8 autotools-dev_20220109.1 base-files_12.2ubuntu2 base-passwd_3.6.0 bash_5.2~rc2-2ubuntu1 binutils_2.39-1ubuntu1 binutils-common_2.39-1ubuntu1 binutils-s390x-linux-gnu_2.39-1ubuntu1 bsdextrautils_2.38-4ubuntu1 bsdutils_1:2.38-4ubuntu1 build-essential_12.9ubuntu3 bzip2_1.0.8-5build1 ca-certificates_20211016 coreutils_8.32-4.1ubuntu1 cpp_4:12.2.0-1ubuntu1 cpp-12_12.2.0-2ubuntu1 dash_0.5.11+git20210903+057cd650a4ed-8ubuntu1 debconf_1.5.79ubuntu1 debhelper_13.9.1ubuntu1 debianutils_5.7-0.3 debugedit_1:5.0-5 dh-apport_2.23.0-0ubuntu1 dh-autoreconf_20 dh-golang_1.58 dh-strip-nondeterminism_1.13.0-1 diffutils_1:3.8-1 dpkg_1.21.9ubuntu1 dpkg-dev_1.21.9ubuntu1 dwz_0.14-1build2 e2fsprogs_1.46.5-2ubuntu2 fakeroot_1.29-1ubuntu1 file_1:5.41-4 findutils_4.9.0-3ubuntu1 g++_4:12.2.0-1ubuntu1 g++-12_12.2.0-2ubuntu1 gcc_4:12.2.0-1ubuntu1 gcc-12_12.2.0-2ubuntu1 gcc-12-base_12.2.0-2ubuntu1 gettext_0.21-8 gettext-base_0.21-8 golang-1.19-go_1.19-1ubuntu2 golang-1.19-src_1.19-1ubuntu2 golang-go_2:1.19~1 golang-src_2:1.19~1 gpg_2.2.35-3ubuntu1 gpg-agent_2.2.35-3ubuntu1 gpgconf_2.2.35-3ubuntu1 gpgv_2.2.35-3ubuntu1 grep_3.7-1build1 groff-base_1.22.4-8build1 gzip_1.12-1ubuntu1 hostname_3.23ubuntu2 init_1.64 init-system-helpers_1.64 intltool-debian_0.35.0+20060710.5 libacl1_2.3.1-1 libapparmor1_3.0.7-1ubuntu1 libapt-pkg6.0_2.5.2 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.3 libasan8_12.2.0-2ubuntu1 libassuan0_2.5.5-4 libatomic1_12.2.0-2ubuntu1 libattr1_1:2.5.1-1build1 libaudit-common_1:3.0.7-1build1 libaudit1_1:3.0.7-1build1 libbinutils_2.39-1ubuntu1 libblkid-dev_2.38-4ubuntu1 libblkid1_2.38-4ubuntu1 libbz2-1.0_1.0.8-5build1 libc-bin_2.36-0ubuntu2 libc-dev-bin_2.36-0ubuntu2 libc6_2.36-0ubuntu2 libc6-dev_2.36-0ubuntu2 libcap-ng0_0.8.3-1 libcap2_1:2.44-1build3 libcc1-0_12.2.0-2ubuntu1 libcom-err2_1.46.5-2ubuntu2 libcrypt-dev_1:4.4.28-2 libcrypt1_1:4.4.28-2 libcryptsetup12_2:2.5.0-2ubuntu1 libctf-nobfd0_2.39-1ubuntu1 libctf0_2.39-1ubuntu1 libdb5.3_5.3.28+dfsg1-0.10 libdebconfclient0_0.264ubuntu1 libdebhelper-perl_13.9.1ubuntu1 libdevmapper1.02.1_2:1.02.185-1ubuntu1 libdpkg-perl_1.21.9ubuntu1 libdw1_0.187-2 libelf1_0.187-2 libexpat1_2.4.8-1 libext2fs2_1.46.5-2ubuntu2 libfakeroot_1.29-1ubuntu1 libfdisk1_2.38-4ubuntu1 libffi-dev_3.4.2-4 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-1 libgcc-12-dev_12.2.0-2ubuntu1 libgcc-s1_12.2.0-2ubuntu1 libgcrypt20_1.10.1-2ubuntu1 libgdbm-compat4_1.23-1 libgdbm6_1.23-1 libglib2.0-0_2.73.3-3 libglib2.0-bin_2.73.3-3 libglib2.0-data_2.73.3-3 libglib2.0-dev_2.73.3-3 libglib2.0-dev-bin_2.73.3-3 libgmp10_2:6.2.1+dfsg1-1ubuntu2 libgnutls30_3.7.7-2ubuntu1 libgomp1_12.2.0-2ubuntu1 libgpg-error0_1.45-2 libgssapi-krb5-2_1.20-1 libhogweed6_3.8.1-2 libicu71_71.1-3 libidn2-0_2.3.3-1 libip4tc2_1.8.7-1ubuntu6 libisl23_0.25-1 libitm1_12.2.0-2ubuntu1 libjson-c5_0.16-1 libk5crypto3_1.20-1 libkeyutils1_1.6.3-1 libkmod2_30+20220630-3ubuntu1 libkrb5-3_1.20-1 libkrb5support0_1.20-1 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 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-24348166 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-24348166 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-24348166 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 s390x 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/s390x-linux-gnu/glib-2.0/include -lglib-2.0 -fPIC -shared -Wl,-soname,libnss_aad.so.2 -o libnss_aad.so.2 common.c: In function ‘run_aad_auth’: common.c:52:9: warning: format not a string literal and no format arguments [-Wformat-security] 52 | g_fprintf(stderr, err); | ^~~~~~~~~ common.c:60:9: warning: format not a string literal and no format arguments [-Wformat-security] 60 | g_fprintf(stderr, err); | ^~~~~~~~~ make[2]: Leaving directory '/<>/nss' # Build the CLI # DH_GOLANG_BUILDPKG=github.com/ubuntu/aad-auth/cmd/aad-auth dh_auto_build # Build the NSS helper binary DH_GOLANG_BUILDPKG=github.com/ubuntu/aad-auth/nss/aad-auth dh_auto_build cd obj-s390x-linux-gnu && go install -trimpath -v -p 4 github.com/ubuntu/aad-auth/nss/aad-auth internal/goexperiment internal/goarch internal/unsafeheader internal/goos internal/cpu internal/abi runtime/internal/atomic runtime/internal/math runtime/internal/sys runtime/internal/syscall internal/race sync/atomic internal/bytealg internal/itoa encoding math/bits unicode/utf8 unicode crypto/internal/subtle math 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 reflect strings hash crypto bytes time internal/syscall/unix internal/syscall/execenv bufio regexp/syntax crypto/internal/randutil github.com/ubuntu/aad-auth/vendor/golang.org/x/crypto/blowfish vendor/golang.org/x/net/dns/dnsmessage context internal/poll io/fs regexp internal/fmtsort encoding/binary os embed crypto/cipher encoding/base64 crypto/internal/boring crypto/sha1 crypto/sha256 crypto/sha512 fmt io/ioutil path/filepath internal/godebug internal/intern net/netip flag database/sql/driver net/url github.com/ubuntu/aad-auth/vendor/github.com/snapcore/go-gettext/pluralforms database/sql log math/big os/user github.com/ubuntu/aad-auth/vendor/github.com/snapcore/go-gettext github.com/ubuntu/aad-auth/internal/i18n github.com/ubuntu/aad-auth/internal/logger net 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/passwd github.com/ubuntu/aad-auth/internal/nss/shadow github.com/ubuntu/aad-auth/nss/aad-auth make[1]: Leaving directory '/<>' dh_auto_test -a -O--buildsystem=golang cd obj-s390x-linux-gnu && go test -vet=off -v -p 4 github.com/ubuntu/aad-auth/internal/aad github.com/ubuntu/aad-auth/internal/cache github.com/ubuntu/aad-auth/internal/config github.com/ubuntu/aad-auth/internal/consts github.com/ubuntu/aad-auth/internal/generators github.com/ubuntu/aad-auth/internal/i18n github.com/ubuntu/aad-auth/internal/logger github.com/ubuntu/aad-auth/internal/nss github.com/ubuntu/aad-auth/internal/nss/group github.com/ubuntu/aad-auth/internal/nss/passwd github.com/ubuntu/aad-auth/internal/nss/shadow github.com/ubuntu/aad-auth/internal/pam github.com/ubuntu/aad-auth/internal/testutils github.com/ubuntu/aad-auth/internal/user github.com/ubuntu/aad-auth/nss/aad-auth github.com/ubuntu/aad-auth/pam === RUN TestAuthenticate === PAUSE TestAuthenticate === CONT TestAuthenticate === RUN TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins === PAUSE TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins === RUN TestAuthenticate/can't_connect_to_authority === PAUSE TestAuthenticate/can't_connect_to_authority === RUN TestAuthenticate/unreadable_server_response === PAUSE TestAuthenticate/unreadable_server_response === RUN TestAuthenticate/no_such_user === PAUSE TestAuthenticate/no_such_user === RUN TestAuthenticate/unknown_error_code === PAUSE TestAuthenticate/unknown_error_code === RUN TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins === PAUSE TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins === RUN TestAuthenticate/can_authenticate_with_password_only === PAUSE TestAuthenticate/can_authenticate_with_password_only === RUN TestAuthenticate/can_authenticate_even_with_mfa_required === PAUSE TestAuthenticate/can_authenticate_even_with_mfa_required === RUN TestAuthenticate/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 === CONT TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "multiple errors, first known is mfa" === CONT TestAuthenticate/can_authenticate_with_password_only 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "success@domain.com" === CONT TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins 2022/09/09 10:37:08 DEBUG: Authentication successful even if requiring MFA 2022/09/09 10:37:08 DEBUG: Authentication successful with user/password === CONT TestAuthenticate/unreadable_server_response 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unreadable server response" === CONT TestAuthenticate/no_such_user 2022/09/09 10:37:08 ERROR: Can't read server response: invalid READ 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "no such user" === CONT TestAuthenticate/can't_connect_to_authority 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "connection failed" for user "success@domain.com" 2022/09/09 10:37:08 ERROR: Connection to authority failed: connection failed === CONT TestAuthenticate/invalid_credentials 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "invalid credentials" 2022/09/09 10:37:08 DEBUG: Got response: User doesn't exist === CONT TestAuthenticate/invalid_server_response 2022/09/09 10:37:08 DEBUG: Got response: Invalid credentials 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "invalid server response" === CONT TestAuthenticate/unknown_error_type 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unknown error type" 2022/09/09 10:37:08 ERROR: Invalid server response, not a json object: invalid character 'N' looking for beginning of value 2022/09/09 10:37:08 DEBUG: acquiring token failed: not a msal error === CONT TestAuthenticate/can_authenticate_even_with_mfa_required === CONT TestAuthenticate/unknown_error_code 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "requireMFA@domain.com" 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "unknown error code" 2022/09/09 10:37:08 DEBUG: Authentication successful even if requiring MFA 2022/09/09 10:37:08 ERROR: Unknown error code(s) from server: [4242] 2022/09/09 10:37:08 DEBUG: Connecting to "https://login.microsoftonline.com/tenant id", with clientID "valid" for user "multiple errors, first known is invalid credential" 2022/09/09 10:37:08 DEBUG: Got response: Invalid credentials --- PASS: TestAuthenticate (0.00s) --- PASS: TestAuthenticate/multiple_errors,_first_known_(here_mfa)_wins (0.00s) --- PASS: TestAuthenticate/can_authenticate_with_password_only (0.00s) --- PASS: TestAuthenticate/unreadable_server_response (0.00s) --- PASS: TestAuthenticate/can't_connect_to_authority (0.00s) --- PASS: TestAuthenticate/no_such_user (0.00s) --- PASS: TestAuthenticate/invalid_credentials (0.00s) --- PASS: TestAuthenticate/invalid_server_response (0.00s) --- PASS: TestAuthenticate/unknown_error_type (0.00s) --- PASS: TestAuthenticate/can_authenticate_even_with_mfa_required (0.00s) --- PASS: TestAuthenticate/unknown_error_code (0.00s) --- PASS: TestAuthenticate/multiple_errors,_first_known_(here_invalid_credentials)_wins (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/aad 0.004s === RUN TestParseHomeDir === PAUSE TestParseHomeDir === RUN TestNew === PAUSE TestNew === RUN TestCloseCacheRetention === PAUSE TestCloseCacheRetention === RUN TestCloseCacheDifferentOptions === PAUSE TestCloseCacheDifferentOptions === RUN TestCleanupDB === PAUSE TestCleanupDB === RUN TestUpdate === PAUSE TestUpdate === RUN TestCanAuthenticate === PAUSE TestCanAuthenticate === RUN TestGetGroupByName === PAUSE TestGetGroupByName === RUN TestGetGroupByGID === PAUSE TestGetGroupByGID === RUN TestNextGroupEntry === PAUSE TestNextGroupEntry === RUN TestNextGroupEntryNoGroup === PAUSE TestNextGroupEntryNoGroup === RUN TestNextGroupCloseBeforeIterationEnds === PAUSE TestNextGroupCloseBeforeIterationEnds === RUN TestGetUserByName === PAUSE TestGetUserByName === RUN TestGetUserByUID === PAUSE TestGetUserByUID === RUN TestNextPasswdEntry === PAUSE TestNextPasswdEntry === RUN TestNextPasswdEntryNoUser === PAUSE TestNextPasswdEntryNoUser === RUN TestNextPasswdCloseBeforeIterationEnds === PAUSE TestNextPasswdCloseBeforeIterationEnds === RUN TestGetShadowByName === PAUSE TestGetShadowByName === RUN TestNextShadowEntry === PAUSE TestNextShadowEntry === RUN TestNextShadowEntryNoShadow === PAUSE TestNextShadowEntryNoShadow === RUN TestNextShadowCloseBeforeIterationEnds === PAUSE TestNextShadowCloseBeforeIterationEnds === CONT TestParseHomeDir === RUN TestParseHomeDir/handle_%U === PAUSE TestParseHomeDir/handle_%U === RUN TestParseHomeDir/handle_%l === PAUSE TestParseHomeDir/handle_%l === RUN TestParseHomeDir/handle_%% === PAUSE TestParseHomeDir/handle_%% === RUN TestParseHomeDir/multiple_patterns_separated_with_characters === PAUSE TestParseHomeDir/multiple_patterns_separated_with_characters === RUN TestParseHomeDir/full_path_without_modifier_is_returned_as_is === PAUSE TestParseHomeDir/full_path_without_modifier_is_returned_as_is === RUN TestParseHomeDir/handle_%f === PAUSE TestParseHomeDir/handle_%f === RUN TestParseHomeDir/handle_%d === PAUSE TestParseHomeDir/handle_%d === RUN TestParseHomeDir/handle_%f_without_domain_attached === PAUSE TestParseHomeDir/handle_%f_without_domain_attached === RUN TestParseHomeDir/pattern_after_string === CONT TestNextGroupCloseBeforeIterationEnds === PAUSE TestParseHomeDir/pattern_after_string === CONT TestNextGroupEntryNoGroup === CONT TestNextPasswdCloseBeforeIterationEnds 2022/09/09 10:37:49 DEBUG: Cache initialization === RUN TestParseHomeDir/multiple_consecutive_patterns 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextGroupCloseBeforeIterationEnds424522632/001 === PAUSE TestParseHomeDir/multiple_consecutive_patterns === 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 === CONT TestNextGroupEntry 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds424522632/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds424522632/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextGroupEntryNoGroup3131847935/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupEntryNoGroup3131847935/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupEntryNoGroup3131847935/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextPasswdCloseBeforeIterationEnds255009132/001 --- PASS: TestNextGroupEntryNoGroup (0.02s) === CONT TestGetGroupByGID === RUN TestGetGroupByGID/error_on_non_existing_group === PAUSE TestGetGroupByGID/error_on_non_existing_group === RUN TestGetGroupByGID/get_existing_group_by_gid === PAUSE TestGetGroupByGID/get_existing_group_by_gid === CONT TestGetGroupByName === RUN TestGetGroupByName/get_existing_group_by_name === PAUSE TestGetGroupByName/get_existing_group_by_name === RUN TestGetGroupByName/error_on_non_existing_group === PAUSE TestGetGroupByName/error_on_non_existing_group === CONT TestCanAuthenticate === RUN TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file === PAUSE TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file === RUN TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ === PAUSE TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ === RUN TestCanAuthenticate/can_authenticate_one_user === PAUSE TestCanAuthenticate/can_authenticate_one_user === RUN TestCanAuthenticate/handle_separately_multiple_users_and_password === PAUSE TestCanAuthenticate/handle_separately_multiple_users_and_password === RUN TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO === PAUSE TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO === RUN TestCanAuthenticate/error_on_wrong_password === PAUSE TestCanAuthenticate/error_on_wrong_password === RUN TestCanAuthenticate/error_on_wrong_user === PAUSE TestCanAuthenticate/error_on_wrong_user === CONT TestUpdate === RUN TestUpdate/insert_2_new_users === PAUSE TestUpdate/insert_2_new_users === RUN TestUpdate/we_don’t_create_about_the_user_case === PAUSE TestUpdate/we_don’t_create_about_the_user_case === RUN TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login === PAUSE TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login === RUN TestUpdate/collide_generated_uids === PAUSE TestUpdate/collide_generated_uids === RUN TestUpdate/can't_insert_with_shadow_unavailable_Only === PAUSE TestUpdate/can't_insert_with_shadow_unavailable_Only === RUN TestUpdate/can't_insert_with_shadow_Read_Only === PAUSE TestUpdate/can't_insert_with_shadow_Read_Only === RUN TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow === PAUSE TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow === RUN TestUpdate/insert_a_new_user === PAUSE TestUpdate/insert_a_new_user === 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:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds255009132/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds255009132/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextGroupEntry1224357634/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupEntry1224357634/001/shadow.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupEntry1224357634/001/passwd.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCloseCacheDifferentOptions1356125442/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions1356125442/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions1356125442/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCloseCacheDifferentOptions1356125442/002 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions1356125442/002/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCloseCacheDifferentOptions1356125442/002/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextGroupCloseBeforeIterationEnds424522632/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds424522632/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupCloseBeforeIterationEnds424522632/001/shadow.db --- PASS: TestCloseCacheDifferentOptions (0.04s) === CONT TestCloseCacheRetention 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextPasswdCloseBeforeIterationEnds255009132/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds255009132/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdCloseBeforeIterationEnds255009132/001/shadow.db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextGroupEntry1224357634/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupEntry1224357634/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextGroupEntry1224357634/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCloseCacheRetention3267789384/001 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: request next group entry in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request --- PASS: TestNextGroupEntry (0.06s) === CONT TestNew === RUN TestNew/reuse_opened_cache === PAUSE TestNew/reuse_opened_cache === RUN TestNew/can't_create_DB_not_being_root_UID_or_GID === PAUSE TestNew/can't_create_DB_not_being_root_UID_or_GID === RUN TestNew/can't_create_a_cache_with_Shadow_group === PAUSE TestNew/can't_create_a_cache_with_Shadow_group === RUN TestNew/can_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/create_cache_with_all_permissions === PAUSE TestNew/create_cache_with_all_permissions === RUN TestNew/reuse_closed_cache_(files_exists) === PAUSE TestNew/reuse_closed_cache_(files_exists) === 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't_open_existing_cache_with_wrong_shadow_permission === PAUSE TestNew/can't_open_existing_cache_with_wrong_shadow_permission === CONT TestNextShadowCloseBeforeIterationEnds 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCloseCacheRetention3267789384/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCloseCacheRetention3267789384/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextShadowCloseBeforeIterationEnds532025111/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds532025111/001/shadow.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds532025111/001/passwd.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Reusing existing opened cache 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextShadowCloseBeforeIterationEnds532025111/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds532025111/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowCloseBeforeIterationEnds532025111/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: request next shadow entry in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: request next shadow entry in db 2022/09/09 10:37:49 DEBUG: request next shadow entry in db 2022/09/09 10:37:49 DEBUG: request next shadow entry in db 2022/09/09 10:37:49 DEBUG: request next shadow entry in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request --- PASS: TestNextPasswdCloseBeforeIterationEnds (0.17s) === CONT TestNextPasswdEntry 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextPasswdEntry193662555/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdEntry193662555/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdEntry193662555/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db --- PASS: TestNextGroupCloseBeforeIterationEnds (0.18s) === CONT TestNextShadowEntryNoShadow 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextShadowEntryNoShadow2828010504/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowEntryNoShadow2828010504/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowEntryNoShadow2828010504/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: request next shadow entry in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db --- PASS: TestNextShadowCloseBeforeIterationEnds (0.13s) === CONT TestNextPasswdEntryNoUser --- PASS: TestNextShadowEntryNoShadow (0.01s) === CONT TestNextShadowEntry 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextPasswdEntryNoUser1598716042/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdEntryNoUser1598716042/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdEntryNoUser1598716042/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: Close database request --- PASS: TestNextPasswdEntryNoUser (0.01s) === CONT TestGetUserByUID === RUN TestGetUserByUID/have_access_to_encrypted_password_in_RW_too === PAUSE TestGetUserByUID/have_access_to_encrypted_password_in_RW_too === RUN TestGetUserByUID/no_encrypted_password === PAUSE TestGetUserByUID/no_encrypted_password === 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:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextShadowEntry2465562848/001 === CONT TestGetShadowByName === RUN TestGetShadowByName/have_access_to_encrypted_password_in_RW_too === PAUSE TestGetShadowByName/have_access_to_encrypted_password_in_RW_too === RUN TestGetShadowByName/error_on_non_existing_user_shadow === PAUSE TestGetShadowByName/error_on_non_existing_user_shadow === RUN TestGetShadowByName/error_on_no_access_to_shadow_file === PAUSE TestGetShadowByName/error_on_no_access_to_shadow_file === 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 === CONT TestGetUserByName === RUN TestGetUserByName/error_on_non_existing_user === PAUSE TestGetUserByName/error_on_non_existing_user === RUN TestGetUserByName/get_existing_user_by_name_with_encrypted_password === PAUSE TestGetUserByName/get_existing_user_by_name_with_encrypted_password === RUN TestGetUserByName/have_access_to_encrypted_password_in_RW_too === PAUSE TestGetUserByName/have_access_to_encrypted_password_in_RW_too === RUN TestGetUserByName/no_encrypted_password === PAUSE TestGetUserByName/no_encrypted_password === CONT TestParseHomeDir/handle_%U 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%d 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%u 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/error_out_on_path_with_invalid_pattern 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/multiple_consecutive_patterns 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/pattern_after_string 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%f_without_domain_attached 2022/09/09 10:37:49 DEBUG: Getting home directory for userWithoutDomain === CONT TestParseHomeDir/multiple_patterns_separated_with_characters 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%f 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/full_path_without_modifier_is_returned_as_is 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%% 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com === CONT TestParseHomeDir/handle_%l 2022/09/09 10:37:49 DEBUG: Getting home directory for user1@test.com --- PASS: TestParseHomeDir (0.00s) --- PASS: TestParseHomeDir/handle_%U (0.00s) --- PASS: TestParseHomeDir/handle_%d (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/pattern_after_string (0.00s) --- PASS: TestParseHomeDir/handle_%f_without_domain_attached (0.00s) --- PASS: TestParseHomeDir/multiple_patterns_separated_with_characters (0.00s) --- PASS: TestParseHomeDir/handle_%f (0.00s) --- PASS: TestParseHomeDir/full_path_without_modifier_is_returned_as_is (0.00s) --- PASS: TestParseHomeDir/handle_%% (0.00s) --- PASS: TestParseHomeDir/handle_%l (0.00s) === CONT TestGetGroupByGID/error_on_non_existing_group 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowEntry2465562848/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowEntry2465562848/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextPasswdEntry193662555/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdEntry193662555/001/shadow.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextPasswdEntry193662555/001/passwd.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: request next passwd entry in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestGetGroupByGIDerror_on_non_existing_group3892475290/001 --- PASS: TestNextPasswdEntry (0.04s) === CONT TestGetGroupByName/get_existing_group_by_name 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group3892475290/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group3892475290/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestGetGroupByNameget_existing_group_by_name1162210080/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name1162210080/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name1162210080/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestGetGroupByGIDerror_on_non_existing_group3892475290/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group3892475290/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByGIDerror_on_non_existing_group3892475290/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: getting group information from cache for gid 4242 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request === CONT TestGetGroupByGID/get_existing_group_by_gid 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestGetGroupByGIDget_existing_group_by_gid1808519037/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid1808519037/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid1808519037/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestNextShadowEntry2465562848/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowEntry2465562848/001/shadow.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestNextShadowEntry2465562848/001/passwd.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: request next shadow entry in db 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestGetGroupByNameget_existing_group_by_name1162210080/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name1162210080/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByNameget_existing_group_by_name1162210080/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3800258193/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3800258193/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3800258193/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 0 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestGetGroupByGIDget_existing_group_by_gid1808519037/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid1808519037/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByGIDget_existing_group_by_gid1808519037/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: getting group information from cache for gid 1929326240 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db --- PASS: TestGetGroupByGID (0.00s) --- PASS: TestGetGroupByGID/error_on_non_existing_group (0.03s) --- PASS: TestGetGroupByGID/get_existing_group_by_gid (0.02s) === CONT TestGetGroupByName/error_on_non_existing_group 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestGetGroupByNameerror_on_non_existing_group2815774864/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group2815774864/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group2815774864/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3800258193/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3800258193/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_checking_when_cant_access_shadow_file3800258193/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 0 2022/09/09 10:37:49 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db === CONT TestUpdate/insert_2_new_users 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestUpdateinsert_2_new_users3595586969/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestUpdateinsert_2_new_users3595586969/001/shadow.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestUpdateinsert_2_new_users3595586969/001/passwd.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:37:49 DEBUG: generate user id for user "firstuser@domain.com" 2022/09/09 10:37:49 INFO: user id for "firstuser@domain.com" is 3233547936 2022/09/09 10:37:49 DEBUG: Getting home directory for firstuser@domain.com 2022/09/09 10:37:49 DEBUG: inserting in cache user "firstuser@domain.com" 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestGetGroupByNameerror_on_non_existing_group2815774864/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group2815774864/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestGetGroupByNameerror_on_non_existing_group2815774864/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: getting group information from cache for "notexist@domain.com" 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db --- PASS: TestGetGroupByName (0.00s) --- PASS: TestGetGroupByName/get_existing_group_by_name (0.03s) --- PASS: TestGetGroupByName/error_on_non_existing_group (0.02s) === CONT TestCanAuthenticate/error_on_wrong_user 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_user1935282147/001 2022/09/09 10:37:49 DEBUG: encrypt password for user "firstuser@domain.com" 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user1935282147/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user1935282147/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_user1935282147/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user1935282147/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_user1935282147/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 INFO: try to authenticate "does not exist user" from cache 2022/09/09 10:37:49 DEBUG: getting user information from cache for "does not exist user" 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request === CONT TestCanAuthenticate/error_on_wrong_password 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_password3205796933/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password3205796933/001/shadow.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password3205796933/001/passwd.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCanAuthenticateerror_on_wrong_password3205796933/001 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password3205796933/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticateerror_on_wrong_password3205796933/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 2 2022/09/09 10:37:49 DEBUG: Clean up database 2022/09/09 10:37:49 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:37:49 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:49 DEBUG: Last online login was: 2022-09-07 10:37:49 +0000 UTC. Current time: 2022-09-09 10:37:49.887553596 +0000 UTC m=+0.308540888. Revalidation needed every 90 days 2022/09/09 10:37:49 DEBUG: request next shadow entry in db 2022/09/09 10:37:49 DEBUG: updating from last online login information for user "firstuser@domain.com" 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO 2022/09/09 10:37:49 DEBUG: Cache initialization 2022/09/09 10:37:49 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2364701521/001 2022/09/09 10:37:49 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:37:49 DEBUG: getting user information from cache for "seconduser@domain.com" 2022/09/09 10:37:49 DEBUG: generate user id for user "seconduser@domain.com" 2022/09/09 10:37:49 INFO: user id for "seconduser@domain.com" is 909690528 2022/09/09 10:37:49 DEBUG: Getting home directory for seconduser@domain.com 2022/09/09 10:37:49 DEBUG: inserting in cache user "seconduser@domain.com" 2022/09/09 10:37:49 DEBUG: encrypt password for user "seconduser@domain.com" 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2364701521/001/passwd.db 2022/09/09 10:37:49 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2364701521/001/shadow.db 2022/09/09 10:37:49 DEBUG: Shadow db mode: 1 2022/09/09 10:37:49 DEBUG: Close database request 2022/09/09 10:37:49 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:49 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:49 DEBUG: request to close group iteration in db 2022/09/09 10:37:49 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2364701521/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2364701521/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_even_with_shadow_file_RO2364701521/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 1 2022/09/09 10:37:50 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Last online login was: 2022-09-07 10:37:49 +0000 UTC. Current time: 2022-09-09 10:37:50.008348368 +0000 UTC m=+0.429335669. Revalidation needed every 90 days 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: updating from last online login information for user "seconduser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "seconduser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/handle_separately_multiple_users_and_password 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password932894159/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password932894159/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password932894159/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password932894159/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password932894159/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatehandle_separately_multiple_users_and_password932894159/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Last online login was: 2022-09-07 10:37:50 +0000 UTC. Current time: 2022-09-09 10:37:50.141128798 +0000 UTC m=+0.562116091. Revalidation needed every 90 days 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db === CONT TestCanAuthenticate/can_authenticate_one_user 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_one_user1495709587/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user1495709587/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user1495709587/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCanAuthenticatecan_authenticate_one_user1495709587/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user1495709587/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatecan_authenticate_one_user1495709587/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 INFO: try to authenticate "myuser@domain.com" from cache 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Last online login was: 2022-09-07 10:37:50 +0000 UTC. Current time: 2022-09-09 10:37:50.171665469 +0000 UTC m=+0.592652761. Revalidation needed every 90 days 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db --- PASS: TestNextShadowEntry (0.41s) === CONT TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_1926987602/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_1926987602/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_1926987602/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_1926987602/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_1926987602/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCanAuthenticatedo_not_let_too_old_unpurged_accounts_to_log_in_1926987602/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:37:50 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/09/09 10:37:50 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:37:50 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-09-09 10:37:50.198093237 +0000 UTC m=+0.619080529. Revalidation needed every 0 days 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db === CONT TestUpdate/can't_insert_with_shadow_unavailable_Only 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only3680001954/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only3680001954/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_unavailable_Only3680001954/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 0 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:37:50 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:37:50 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:37:50 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db === CONT TestUpdate/insert_a_new_user 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestUpdateinsert_a_new_user4008768138/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdateinsert_a_new_user4008768138/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdateinsert_a_new_user4008768138/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:37:50 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:37:50 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:37:50 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db === CONT TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4128951832/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4128951832/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4128951832/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:37:50 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:37:50 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:37:50 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:37:50 INFO: try to authenticate "otheruser@domain.com" from cache 2022/09/09 10:37:50 DEBUG: getting user information from cache for "otheruser@domain.com" 2022/09/09 10:37:50 DEBUG: Last online login was: 2022-09-07 10:37:50 +0000 UTC. Current time: 2022-09-09 10:37:50.337755614 +0000 UTC m=+0.758742906. Revalidation needed every 90 days 2022/09/09 10:37:50 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db === CONT TestUpdate/can't_insert_with_shadow_Read_Only 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestUpdatecant_insert_with_shadow_Read_Only2234015970/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_Read_Only2234015970/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecant_insert_with_shadow_Read_Only2234015970/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 1 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:37:50 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:37:50 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:37:50 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request === CONT TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login1942395457/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login1942395457/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login1942395457/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: generate user id for user "myuser@domain.com" 2022/09/09 10:37:50 INFO: user id for "myuser@domain.com" is 1929326240 2022/09/09 10:37:50 DEBUG: Getting home directory for myuser@domain.com 2022/09/09 10:37:50 DEBUG: inserting in cache user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db --- PASS: TestCanAuthenticate (0.00s) --- PASS: TestCanAuthenticate/error_on_checking_when_can’t_access_shadow_file (0.02s) --- PASS: TestCanAuthenticate/error_on_wrong_user (0.02s) --- PASS: TestCanAuthenticate/error_on_wrong_password (0.11s) --- PASS: TestCanAuthenticate/can_authenticate_even_with_shadow_file_RO (0.16s) --- PASS: TestCanAuthenticate/do_not_let_too_old_unpurged_accounts_to_log_in_ (0.02s) --- PASS: TestCanAuthenticate/can_authenticate_one_user (0.13s) --- PASS: TestCanAuthenticate/handle_separately_multiple_users_and_password (0.36s) === CONT TestUpdate/collide_generated_uids 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestUpdatecollide_generated_uids1383113036/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecollide_generated_uids1383113036/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecollide_generated_uids1383113036/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:37:50 DEBUG: generate user id for user "firstuser@domain.com" 2022/09/09 10:37:50 INFO: user id for "firstuser@domain.com" is 3233547936 2022/09/09 10:37:50 DEBUG: Getting home directory for firstuser@domain.com 2022/09/09 10:37:50 DEBUG: inserting in cache user "firstuser@domain.com" 2022/09/09 10:37:50 DEBUG: encrypt password for user "firstuser@domain.com" 2022/09/09 10:37:50 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: updating from last online login information for user "firstuser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "firstuser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "userfirst@domain.com" 2022/09/09 10:37:50 DEBUG: generate user id for user "userfirst@domain.com" 2022/09/09 10:37:50 INFO: user id for "userfirst@domain.com" is 3233547937 2022/09/09 10:37:50 DEBUG: Getting home directory for userfirst@domain.com 2022/09/09 10:37:50 DEBUG: inserting in cache user "userfirst@domain.com" 2022/09/09 10:37:50 DEBUG: encrypt password for user "userfirst@domain.com" 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login1942395457/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login1942395457/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdateupdate_an_existing_user_should_refresh_password_and_last_online_login1942395457/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4128951832/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4128951832/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatecant_update_an_existing_user_failed_if_no_access_to_shadow4128951832/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 0 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Don't teardown cache as still in use by 1 2022/09/09 10:37:50 DEBUG: updating from last online login information for user "userfirst@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "userfirst@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db === CONT TestUpdate/we_don’t_create_about_the_user_case 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestUpdatewe_dont_create_about_the_user_case3492723875/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatewe_dont_create_about_the_user_case3492723875/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestUpdatewe_dont_create_about_the_user_case3492723875/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for "MyUser" 2022/09/09 10:37:50 DEBUG: generate user id for user "MyUser" 2022/09/09 10:37:50 INFO: user id for "MyUser" is 650373726 2022/09/09 10:37:50 DEBUG: Getting home directory for MyUser 2022/09/09 10:37:50 DEBUG: inserting in cache user "MyUser" 2022/09/09 10:37:50 DEBUG: encrypt password for user "MyUser" 2022/09/09 10:37:50 DEBUG: updating from last online login information for user "MyUser" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "MyUser" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db === CONT TestCleanupDB/clean_up_old_users 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCleanupDBclean_up_old_users1386497368/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users1386497368/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users1386497368/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCleanupDBclean_up_old_users1386497368/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users1386497368/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCleanupDBclean_up_old_users1386497368/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "middleolduser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request === CONT TestCleanupDB/do_not_clean_up_anyone 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCleanupDBdo_not_clean_up_anyone3796353181/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone3796353181/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone3796353181/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestCleanupDBdo_not_clean_up_anyone3796353181/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone3796353181/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestCleanupDBdo_not_clean_up_anyone3796353181/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:37:50 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "middleolduser@domain.com" 2022/09/09 10:37:50 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestCleanupDB (0.00s) --- PASS: TestCleanupDB/clean_up_old_users (0.03s) --- PASS: TestCleanupDB/do_not_clean_up_anyone (0.02s) === CONT TestNew/reuse_opened_cache 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewreuse_opened_cache1883129790/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewreuse_opened_cache1883129790/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewreuse_opened_cache1883129790/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Reusing existing opened cache 2022/09/09 10:37:50 DEBUG: Close database request === CONT TestNew/create_cache_with_all_permissions 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewcreate_cache_with_all_permissions973146068/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewcreate_cache_with_all_permissions973146068/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewcreate_cache_with_all_permissions973146068/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request === CONT TestNew/can't_open_existing_cache_with_wrong_shadow_permission 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2125725101/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2125725101/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2125725101/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2125725101/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2125725101/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_shadow_permission2125725101/001/shadow.db === CONT TestNew/can't_open_existing_cache_with_wrong_passwd_permission 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3688367783/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3688367783/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3688367783/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3688367783/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestNewcant_open_existing_cache_with_wrong_passwd_permission3688367783/001/passwd.db === CONT TestNew/reuse_closed_cache_(files_exists) 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestNewreuse_closed_cache_(files_exists)1411270125/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)1411270125/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)1411270125/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 2 2022/09/09 10:37:51 DEBUG: Clean up database 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestNewreuse_closed_cache_(files_exists)1411270125/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)1411270125/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestNewreuse_closed_cache_(files_exists)1411270125/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 2 2022/09/09 10:37:51 DEBUG: Clean up database 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db === CONT TestNew/can_still_open_shadow_file_RO 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestNewcan_still_open_shadow_file_RO1730288608/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestNewcan_still_open_shadow_file_RO1730288608/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestNewcan_still_open_shadow_file_RO1730288608/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 1 2022/09/09 10:37:51 DEBUG: Close database request === CONT TestNew/no_access_to_shadow_file_is_still_allowed 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestNewno_access_to_shadow_file_is_still_allowed775712066/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestNewno_access_to_shadow_file_is_still_allowed775712066/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestNewno_access_to_shadow_file_is_still_allowed775712066/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: Close database request === CONT TestNew/can't_create_a_cache_with_Shadow_group 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestNewcant_create_a_cache_with_Shadow_group4185375797/001 === CONT TestNew/can't_create_DB_not_being_root_UID_or_GID 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestNewcant_create_DB_not_being_root_UID_or_GID3560073167/001 === CONT TestGetUserByUID/have_access_to_encrypted_password_in_RW_too --- PASS: TestNew (0.00s) --- PASS: TestNew/reuse_opened_cache (0.01s) --- PASS: TestNew/create_cache_with_all_permissions (0.01s) --- PASS: TestNew/can't_open_existing_cache_with_wrong_shadow_permission (0.11s) --- PASS: TestNew/can't_open_existing_cache_with_wrong_passwd_permission (0.11s) --- PASS: TestNew/reuse_closed_cache_(files_exists) (0.11s) --- PASS: TestNew/can_still_open_shadow_file_RO (0.01s) --- PASS: TestNew/no_access_to_shadow_file_is_still_allowed (0.01s) --- PASS: TestNew/can't_create_a_cache_with_Shadow_group (0.00s) --- PASS: TestNew/can't_create_DB_not_being_root_UID_or_GID (0.00s) 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too4080838352/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too4080838352/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too4080838352/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 2 2022/09/09 10:37:51 DEBUG: Clean up database 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too4080838352/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too4080838352/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDhave_access_to_encrypted_password_in_RW_too4080838352/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 2 2022/09/09 10:37:51 DEBUG: Clean up database 2022/09/09 10:37:51 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/error_on_non_existing_user 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByUIDerror_on_non_existing_user40863164/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user40863164/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user40863164/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByUIDerror_on_non_existing_user40863164/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user40863164/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDerror_on_non_existing_user40863164/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: getting user information from cache for uid 4242 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password2917298978/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password2917298978/001/shadow.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password2917298978/001/passwd.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 1 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password2917298978/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password2917298978/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDget_existing_user_by_uid_with_encrypted_password2917298978/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 1 2022/09/09 10:37:51 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db === CONT TestGetUserByUID/no_encrypted_password 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByUIDno_encrypted_password1345105750/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password1345105750/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password1345105750/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByUIDno_encrypted_password1345105750/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password1345105750/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByUIDno_encrypted_password1345105750/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request --- PASS: TestGetUserByUID (0.00s) --- PASS: TestGetUserByUID/have_access_to_encrypted_password_in_RW_too (0.10s) --- PASS: TestGetUserByUID/error_on_non_existing_user (0.02s) --- PASS: TestGetUserByUID/get_existing_user_by_uid_with_encrypted_password (0.10s) --- PASS: TestGetUserByUID/no_encrypted_password (0.02s) 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db === CONT TestGetShadowByName/have_access_to_encrypted_password_in_RW_too 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too60073832/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too60073832/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too60073832/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 2 2022/09/09 10:37:51 DEBUG: Clean up database 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too60073832/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too60073832/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNamehave_access_to_encrypted_password_in_RW_too60073832/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 2 2022/09/09 10:37:51 DEBUG: Clean up database 2022/09/09 10:37:51 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db === CONT TestGetShadowByName/error_on_no_access_to_shadow_file 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file498932916/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file498932916/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file498932916/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file498932916/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file498932916/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_no_access_to_shadow_file498932916/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request === CONT TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3074847930/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3074847930/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3074847930/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 1 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3074847930/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3074847930/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameget_existing_shadow_information_for_user_by_name_with_encrypted_password3074847930/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 1 2022/09/09 10:37:51 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: encrypt password for user "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request === CONT TestGetShadowByName/error_on_non_existing_user_shadow 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4101886316/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4101886316/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4101886316/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 1 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4101886316/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4101886316/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetShadowByNameerror_on_non_existing_user_shadow4101886316/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 1 2022/09/09 10:37:51 DEBUG: getting shadow information from cache for "notexist@domain.com" 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db === CONT TestGetUserByName/error_on_non_existing_user --- PASS: TestGetShadowByName (0.00s) --- PASS: TestGetShadowByName/have_access_to_encrypted_password_in_RW_too (0.08s) --- PASS: TestGetShadowByName/error_on_no_access_to_shadow_file (0.01s) --- PASS: TestGetShadowByName/get_existing_shadow_information_for_user_by_name_with_encrypted_password (0.15s) --- PASS: TestGetShadowByName/error_on_non_existing_user_shadow (0.02s) 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByNameerror_on_non_existing_user1175890788/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user1175890788/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user1175890788/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByNameerror_on_non_existing_user1175890788/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user1175890788/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameerror_on_non_existing_user1175890788/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: getting user information from cache for "notexist@domain.com" 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db === CONT TestGetUserByName/have_access_to_encrypted_password_in_RW_too 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2823624361/001 2022/09/09 10:37:51 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request === CONT TestGetUserByName/no_encrypted_password 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2823624361/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2823624361/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 2 2022/09/09 10:37:51 DEBUG: Clean up database 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByNameno_encrypted_password1320553956/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password1320553956/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password1320553956/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: updating from last online login information for user "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db --- PASS: TestUpdate (0.00s) --- PASS: TestUpdate/insert_2_new_users (0.28s) --- PASS: TestUpdate/can't_insert_with_shadow_unavailable_Only (0.01s) --- PASS: TestUpdate/insert_a_new_user (0.17s) --- PASS: TestUpdate/can't_insert_with_shadow_Read_Only (0.01s) --- PASS: TestUpdate/collide_generated_uids (0.17s) --- PASS: TestUpdate/we_don’t_create_about_the_user_case (0.10s) --- PASS: TestUpdate/update_an_existing_user_should_refresh_password_and_last_online_login (1.34s) --- PASS: TestUpdate/can't_update_an_existing_user_failed_if_no_access_to_shadow (1.46s) === CONT TestGetUserByName/get_existing_user_by_name_with_encrypted_password 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password1907853384/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password1907853384/001/shadow.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password1907853384/001/passwd.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 1 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2823624361/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2823624361/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNamehave_access_to_encrypted_password_in_RW_too2823624361/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 2 2022/09/09 10:37:51 DEBUG: Clean up database 2022/09/09 10:37:51 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByNameno_encrypted_password1320553956/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password1320553956/001/shadow.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameno_encrypted_password1320553956/001/passwd.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 0 2022/09/09 10:37:51 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Cache initialization 2022/09/09 10:37:51 DEBUG: Opening cache in /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password1907853384/001 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password1907853384/001/passwd.db 2022/09/09 10:37:51 DEBUG: check file permissions on /tmp/TestGetUserByNameget_existing_user_by_name_with_encrypted_password1907853384/001/shadow.db 2022/09/09 10:37:51 DEBUG: Shadow db mode: 1 2022/09/09 10:37:51 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: Close database request 2022/09/09 10:37:51 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:51 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:51 DEBUG: request to close group iteration in db 2022/09/09 10:37:51 DEBUG: request to close shadow iteration in db --- PASS: TestGetUserByName (0.00s) --- PASS: TestGetUserByName/error_on_non_existing_user (0.01s) --- PASS: TestGetUserByName/no_encrypted_password (0.02s) --- PASS: TestGetUserByName/get_existing_user_by_name_with_encrypted_password (0.11s) --- PASS: TestGetUserByName/have_access_to_encrypted_password_in_RW_too (0.15s) 2022/09/09 10:37:52 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:52 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:52 DEBUG: request to close group iteration in db 2022/09/09 10:37:52 DEBUG: request to close shadow iteration in db --- PASS: TestCloseCacheRetention (3.05s) PASS ok github.com/ubuntu/aad-auth/internal/cache 3.111s === RUN TestLoadDefaultHomeAndShell === PAUSE TestLoadDefaultHomeAndShell === RUN TestLoadConfig === PAUSE TestLoadConfig === CONT TestLoadDefaultHomeAndShell === 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 === 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 === CONT TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values === CONT TestLoadConfig === RUN TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain === RUN TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'homedirpattern'_only_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_'offline_credentials_expiration'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' === RUN TestLoadConfig/aad.conf,_all_values,_with_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_with_domain === RUN TestLoadConfig/aad.conf,_all_values,_only_in_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_only_in_domain === RUN TestLoadConfig/aad.conf_with_'app_id'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'app_id'_only_in_domain === RUN TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf === PAUSE TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf === RUN TestLoadConfig/aad.conf,_all_values,_no_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_no_domain === RUN TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value === PAUSE TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value === RUN TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain === RUN TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain === PAUSE TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain === RUN TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain === RUN TestLoadConfig/aad.conf,_all_values,_mismatch_domain === PAUSE TestLoadConfig/aad.conf,_all_values,_mismatch_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_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_'shell' === PAUSE TestLoadConfig/aad.conf_with_missing_'shell' === RUN TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' === PAUSE TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' === RUN TestLoadConfig/aad.conf_with_'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_missing_'app_id'_value === PAUSE TestLoadConfig/aad.conf_missing_'app_id'_value === RUN TestLoadConfig/aad.conf_with_missing_'homedirpattern' === PAUSE TestLoadConfig/aad.conf_with_missing_'homedirpattern' === RUN TestLoadConfig/add.conf_with_'shell'_only_in_domain === PAUSE TestLoadConfig/add.conf_with_'shell'_only_in_domain === RUN TestLoadConfig/aad.conf_missing_'tenant_id'_value === PAUSE TestLoadConfig/aad.conf_missing_'tenant_id'_value === RUN TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain === PAUSE TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain === CONT TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_tenantId-domain.conf === CONT TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values 2022/09/09 10:37:49 DEBUG: Could not open testdata/TestLoadDefaultHomeAndShell/foo/doesnotexists.conf, using defaults for homedir and shell: open testdata/TestLoadDefaultHomeAndShell/foo/doesnotexists.conf: no such file or directory === CONT TestLoadDefaultHomeAndShell/file_with_no_values === CONT TestLoadDefaultHomeAndShell/file_with_only_dshell === CONT TestLoadDefaultHomeAndShell/file_with_only_dhome === CONT TestLoadDefaultHomeAndShell/file_with_both_home_and_shell --- PASS: TestLoadDefaultHomeAndShell (0.00s) --- PASS: TestLoadDefaultHomeAndShell/empty_path_to_adduser.conf_returns_empty_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_does_not_exists_returns_empty_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_no_values (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_only_dshell (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_only_dhome (0.00s) --- PASS: TestLoadDefaultHomeAndShell/file_with_both_home_and_shell (0.00s) === CONT TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_appId-domain.conf === CONT TestLoadConfig/aad.conf_missing_'tenant_id'_value 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_tenantId.conf === CONT TestLoadConfig/aad.conf_with_'tenant_id'_only_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-tenantId_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-invalid_expiration-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern' 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern.conf 2022/09/09 10:37:49 WARNING: Invalid cache revalidation period strconv.Atoi: parsing "lalala": invalid syntax === CONT TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_expiration.conf === CONT TestLoadConfig/aad.conf_missing_'app_id'_value 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_appId.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values_and_wrong_adduser.conf 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf 2022/09/09 10:37:49 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_'offline_credentials_expiration'_only_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-expiration_only_in_domain.conf === CONT TestLoadConfig/aad.conf_does_not_exist 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/doestnotexists.conf === CONT TestLoadConfig/aad.conf_with_missing_'shell' === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_shell.conf 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern-domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell-domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_mismatch_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-with_domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_only_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_shell-domain.conf === CONT TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-invalid_expiration.conf === CONT TestLoadConfig/aad.conf,_all_values,_no_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-no_domain.conf 2022/09/09 10:37:49 WARNING: Invalid cache revalidation period strconv.Atoi: parsing "lalala": invalid syntax === CONT TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf 2022/09/09 10:37:49 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_'app_id'_only_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-appId_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_expiration-domain.conf === CONT TestLoadConfig/aad.conf,_all_values,_with_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-all_values-with_domain.conf === CONT TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-missing_homedirpattern_and_shell.conf === CONT TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-homedirpattern_and_shell_only_in_domain.conf === CONT TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-homedirpattern_only_in_domain.conf === CONT TestLoadConfig/add.conf_with_'shell'_only_in_domain 2022/09/09 10:37:49 DEBUG: Loading configuration from testdata/TestLoadConfig/aad-shell_only_in_domain.conf --- PASS: TestLoadConfig (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_required_'tenant_id'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_required_'app_id'_value_in_domain (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_with_missing_'homedirpattern' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_missing_'app_id'_value (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values_and_wrong_adduser.conf (0.00s) --- PASS: TestLoadConfig/aad.conf_does_not_exist (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'offline_credentials_expiration'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'shell' (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell'_values_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_mismatch_domain (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'shell'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_invalid_'offline_credentials_expiration'_value (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_no_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedir'_and_'shell'_values,_but_valid_adduser.conf (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'app_id'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'offline_credentials_expiration'_value_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_missing_'homedirpattern'_and_'shell' (0.00s) --- PASS: TestLoadConfig/aad.conf,_all_values,_with_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'homedirpattern'_and_'shell'_only_in_domain (0.00s) --- PASS: TestLoadConfig/add.conf_with_'shell'_only_in_domain (0.00s) --- PASS: TestLoadConfig/aad.conf_with_'homedirpattern'_only_in_domain (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/config 0.013s ? github.com/ubuntu/aad-auth/internal/consts [no test files] ? github.com/ubuntu/aad-auth/internal/generators [no test files] === RUN TestTranslations === RUN TestTranslations/en_DK@_is_en_DK === RUN TestTranslations/No_loc_prefers_LC_MESSAGES_first === RUN TestTranslations/Init_wasn't_ran === RUN TestTranslations/Multiple_text_elems === RUN TestTranslations/Prefer_locale-langpack_to_locale === RUN TestTranslations/Untranslated_elem === RUN TestTranslations/One_text_elem,_prefer_en_DK_over_en === RUN TestTranslations/en_DK._is_en_DK === RUN TestTranslations/No_loc_fallbacks_to_LANG_if_no_LC_MESSAGES === RUN TestTranslations/Missing_locale === RUN TestTranslations/Missing_domain === RUN TestTranslations/Invalid_locale_directory === RUN TestTranslations/Fallback_to_en_if_en_DK_isn't_present --- PASS: TestTranslations (0.01s) --- PASS: TestTranslations/en_DK@_is_en_DK (0.00s) --- PASS: TestTranslations/No_loc_prefers_LC_MESSAGES_first (0.00s) --- PASS: TestTranslations/Init_wasn't_ran (0.00s) --- PASS: TestTranslations/Multiple_text_elems (0.00s) --- PASS: TestTranslations/Prefer_locale-langpack_to_locale (0.00s) --- PASS: TestTranslations/Untranslated_elem (0.00s) --- PASS: TestTranslations/One_text_elem,_prefer_en_DK_over_en (0.00s) --- PASS: TestTranslations/en_DK._is_en_DK (0.00s) --- PASS: TestTranslations/No_loc_fallbacks_to_LANG_if_no_LC_MESSAGES (0.00s) --- PASS: TestTranslations/Missing_locale (0.00s) --- PASS: TestTranslations/Missing_domain (0.00s) --- PASS: TestTranslations/Invalid_locale_directory (0.00s) --- PASS: TestTranslations/Fallback_to_en_if_en_DK_isn't_present (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/i18n 0.019s === RUN TestNormalizeMsg === PAUSE TestNormalizeMsg === RUN TestCtxWithLogger --- PASS: TestCtxWithLogger (0.00s) === RUN TestCloseLoggerFromContextNoLogger 2022/09/09 10:37:08 ERROR: no logger attached to context --- PASS: TestCloseLoggerFromContextNoLogger (0.00s) === RUN TestLogging === RUN TestLogging/debug,_with_logger === RUN TestLogging/info,_with_logger === RUN TestLogging/info,_on_stderr === RUN TestLogging/warn,_on_stderr === RUN TestLogging/err,_with_logger === RUN TestLogging/crit,_with_logger === RUN TestLogging/crit,_on_stderr === RUN TestLogging/message_already_have_an_EOL === RUN TestLogging/debug,_on_stderr === RUN TestLogging/warn,_with_logger === RUN TestLogging/err,_on_stderr --- PASS: TestLogging (0.00s) --- PASS: TestLogging/debug,_with_logger (0.00s) --- PASS: TestLogging/info,_with_logger (0.00s) --- PASS: TestLogging/info,_on_stderr (0.00s) --- PASS: TestLogging/warn,_on_stderr (0.00s) --- PASS: TestLogging/err,_with_logger (0.00s) --- PASS: TestLogging/crit,_with_logger (0.00s) --- PASS: TestLogging/crit,_on_stderr (0.00s) --- PASS: TestLogging/message_already_have_an_EOL (0.00s) --- PASS: TestLogging/debug,_on_stderr (0.00s) --- PASS: TestLogging/warn,_with_logger (0.00s) --- PASS: TestLogging/err,_on_stderr (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.003s === RUN TestConvertErr === PAUSE TestConvertErr === RUN TestCtxWithSyslogLogger === PAUSE TestCtxWithSyslogLogger === RUN TestCtxWithSyslogLoggerDebugWithEnVariable === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/log_to_stderr_when_set_to 2022/09/09 10:37:49 ERROR: no logger attached to context === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/don't_log_anything_when_not_in_debug === RUN TestCtxWithSyslogLoggerDebugWithEnVariable/log_debug_message_when_in_debug_mode --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/log_to_stderr_when_set_to (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/don't_log_anything_when_not_in_debug (0.00s) --- PASS: TestCtxWithSyslogLoggerDebugWithEnVariable/log_debug_message_when_in_debug_mode (0.00s) === RUN TestLogging === PAUSE TestLogging === CONT TestConvertErr === CONT TestLogging === RUN TestLogging/debug_is_not_printed_with_default_log_level === PAUSE TestLogging/debug_is_not_printed_with_default_log_level === RUN TestLogging/info_message_is_printed_with_default_log_level === PAUSE TestLogging/info_message_is_printed_with_default_log_level === RUN TestLogging/debug === PAUSE TestLogging/debug === RUN TestLogging/info === PAUSE TestLogging/info === RUN TestLogging/warn === PAUSE TestLogging/warn === RUN TestLogging/err === PAUSE TestLogging/err === RUN TestLogging/crit === PAUSE TestLogging/crit === CONT TestLogging/debug_is_not_printed_with_default_log_level === CONT TestCtxWithSyslogLogger --- PASS: TestCtxWithSyslogLogger (0.00s) === 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 === 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 === CONT TestConvertErr/nil_error_should_return_nil === CONT TestLogging/crit === CONT TestLogging/err === CONT TestLogging/warn === CONT TestLogging/info === CONT TestLogging/debug === CONT TestLogging/info_message_is_printed_with_default_log_level --- PASS: TestLogging (0.00s) --- PASS: TestLogging/debug_is_not_printed_with_default_log_level (0.00s) --- PASS: TestLogging/crit (0.00s) --- PASS: TestLogging/err (0.00s) --- PASS: TestLogging/warn (0.00s) --- PASS: TestLogging/info (0.00s) --- PASS: TestLogging/debug (0.00s) --- PASS: TestLogging/info_message_is_printed_with_default_log_level (0.00s) === CONT TestConvertErr/random_error_is_converted_to_ErrUnavailableENoEnt === CONT TestConvertErr/wrapped_ErrNoEnt_error_is_converted_to_ErrNotFoundENoEnt === CONT TestConvertErr/wrapped_ErrNotFoundSuccess_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrNotFoundENoEnt_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrUnavailableENoEnt_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrTryAgainERange_error_retains_original_error_type === CONT TestConvertErr/wrapped_ErrTryAgainEAgain_error_retains_original_error_type --- PASS: TestConvertErr (0.00s) --- PASS: TestConvertErr/nil_error_should_return_nil (0.00s) --- PASS: TestConvertErr/random_error_is_converted_to_ErrUnavailableENoEnt (0.00s) --- PASS: TestConvertErr/wrapped_ErrNoEnt_error_is_converted_to_ErrNotFoundENoEnt (0.00s) --- PASS: TestConvertErr/wrapped_ErrNotFoundSuccess_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrNotFoundENoEnt_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrUnavailableENoEnt_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrTryAgainERange_error_retains_original_error_type (0.00s) --- PASS: TestConvertErr/wrapped_ErrTryAgainEAgain_error_retains_original_error_type (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/nss 0.025s === RUN TestNewByName === PAUSE TestNewByName === RUN TestNewByGID === PAUSE TestNewByGID === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works1041248062/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1041248062/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1041248062/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works1041248062/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1041248062/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1041248062/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestNextEntry/get_all_groups 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryget_all_groups1474466081/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups1474466081/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups1474466081/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryget_all_groups1474466081/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups1474466081/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_groups1474466081/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestNextEntry/no_group_in_db_does_not_fail 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryno_group_in_db_does_not_fail2097246764/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryno_group_in_db_does_not_fail2097246764/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryno_group_in_db_does_not_fail2097246764/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3427609668/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3427609668/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3427609668/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestNextEntry (0.08s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.02s) --- PASS: TestNextEntry/get_all_groups (0.04s) --- PASS: TestNextEntry/no_group_in_db_does_not_fail (0.01s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.02s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration633893770/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration633893770/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration633893770/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/09/09 10:37:50 WARNING: group entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1254784162/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1254784162/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1254784162/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache799607260/001 --- PASS: TestStartEndEntryIteration (0.01s) --- PASS: TestStartEndEntryIteration/can_start_and_end_iteration (0.01s) --- PASS: TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration (0.00s) --- PASS: TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress (0.01s) --- PASS: TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache (0.00s) === RUN TestRestartIterationWithoutEndingPreviousOne 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne2697655544/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne2697655544/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne2697655544/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne2697655544/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne2697655544/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne2697655544/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Reusing existing opened cache 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: get next group entry 2022/09/09 10:37:50 DEBUG: request next group entry in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 WARNING: group entry iteration ended without initialization first 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.01s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestToCgroup === PAUSE TestToCgroup === CONT TestNewByName === 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 === RUN TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad === PAUSE TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad === CONT TestNewByName/error_on_cache_not_available 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available624751240/001 === CONT TestNewByGID === RUN TestNewByGID/get_existing_group_by_gid === PAUSE TestNewByGID/get_existing_group_by_gid === RUN TestNewByGID/error_on_non_existing_group === PAUSE TestNewByGID/error_on_non_existing_group === RUN TestNewByGID/error_on_cache_not_available === PAUSE TestNewByGID/error_on_cache_not_available === CONT TestNewByGID/get_existing_group_by_gid === CONT TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad === CONT TestToCgroup === RUN TestToCgroup/can't_allocate_with_buffer_too_small === PAUSE TestToCgroup/can't_allocate_with_buffer_too_small === RUN TestToCgroup/can_convert_group_to_C_group === PAUSE TestToCgroup/can_convert_group_to_C_group === RUN TestToCgroup/can_convert_group_with_five_members_to_C_group === PAUSE TestToCgroup/can_convert_group_with_five_members_to_C_group === CONT TestToCgroup/can't_allocate_with_buffer_too_small === CONT TestNewByName/error_on_non_existing_group 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available624751240/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available624751240/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByGIDget_existing_group_by_gid2108268948/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid2108268948/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid2108268948/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameshadow_group_is_ignored,_as_not_part_of_aad3503638147/001 2022/09/09 10:37:50 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameshadow_group_is_ignored,_as_not_part_of_aad3503638147/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameshadow_group_is_ignored,_as_not_part_of_aad3503638147/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_group1725020821/001 2022/09/09 10:37:50 DEBUG: Requesting an group entry matching GID 1929326240 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group1725020821/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group1725020821/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available624751240/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available624751240/001/shadow.db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByGIDget_existing_group_by_gid2108268948/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid2108268948/001/passwd.db === CONT TestNewByGID/error_on_cache_not_available 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDget_existing_group_by_gid2108268948/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting group information from cache for gid 1929326240 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_cache_not_available2893613278/001 2022/09/09 10:37:50 DEBUG: Close database request === CONT TestNewByGID/error_on_non_existing_group 2022/09/09 10:37:50 DEBUG: Requesting a group entry matching name "shadow" 2022/09/09 10:37:50 DEBUG: Ignoring shadow group as it's not in our database 2022/09/09 10:37:50 DEBUG: Close database request === CONT TestToCgroup/can_convert_group_with_five_members_to_C_group === CONT TestToCgroup/can_convert_group_to_C_group --- PASS: TestToCgroup (0.00s) --- PASS: TestToCgroup/can't_allocate_with_buffer_too_small (0.00s) --- PASS: TestToCgroup/can_convert_group_with_five_members_to_C_group (0.00s) --- PASS: TestToCgroup/can_convert_group_to_C_group (0.00s) === CONT TestNewByName/get_existing_group_by_name 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available2893613278/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available2893613278/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Requesting a group entry matching name "notexists@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_non_existing_group3344198085/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group3344198085/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group3344198085/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_group_by_name995143250/001 2022/09/09 10:37:50 DEBUG: Requesting an group entry matching GID 1929326240 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name995143250/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name995143250/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_group1725020821/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group1725020821/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_group1725020821/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting group information from cache for "notexists@domain.com" 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_cache_not_available2893613278/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_cache_not_available2893613278/001/passwd.db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Requesting an group entry matching GID 4242 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByGIDerror_on_non_existing_group3344198085/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group3344198085/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByGIDerror_on_non_existing_group3344198085/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting group information from cache for gid 4242 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestNewByGID (0.00s) --- PASS: TestNewByGID/get_existing_group_by_gid (0.04s) --- PASS: TestNewByGID/error_on_cache_not_available (0.04s) --- PASS: TestNewByGID/error_on_non_existing_group (0.04s) 2022/09/09 10:37:50 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_group_by_name995143250/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name995143250/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_group_by_name995143250/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestNewByName (0.00s) --- PASS: TestNewByName/error_on_cache_not_available (0.03s) --- PASS: TestNewByName/shadow_group_is_ignored,_as_not_part_of_aad (0.04s) --- PASS: TestNewByName/error_on_non_existing_group (0.07s) --- PASS: TestNewByName/get_existing_group_by_name (0.05s) PASS ok github.com/ubuntu/aad-auth/internal/nss/group 0.204s === RUN TestNewByName === PAUSE TestNewByName === RUN TestNewByUID === PAUSE TestNewByUID === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works1282486737/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1282486737/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1282486737/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works1282486737/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1282486737/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1282486737/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestNextEntry/get_all_users 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users1675004777/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1675004777/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1675004777/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users1675004777/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1675004777/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1675004777/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestNextEntry/no_user_in_db_does_not_fail 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryno_user_in_db_does_not_fail1372266757/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail1372266757/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail1372266757/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first2766191097/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first2766191097/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first2766191097/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestNextEntry (0.09s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.03s) --- PASS: TestNextEntry/get_all_users (0.03s) --- PASS: TestNextEntry/no_user_in_db_does_not_fail (0.01s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.02s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration1625264790/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration1625264790/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration1625264790/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/09/09 10:37:50 WARNING: passwd entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3423932582/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3423932582/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress3423932582/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache3759937761/001 --- PASS: TestStartEndEntryIteration (0.02s) --- PASS: TestStartEndEntryIteration/can_start_and_end_iteration (0.01s) --- PASS: TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration (0.00s) --- PASS: TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress (0.01s) --- PASS: TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache (0.00s) === RUN TestRestartIterationWithoutEndingPreviousOne 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne2518005545/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne2518005545/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne2518005545/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne2518005545/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne2518005545/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne2518005545/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Reusing existing opened cache 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: get next passwd entry 2022/09/09 10:37:50 DEBUG: request next passwd entry in db 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 WARNING: passwd entry iteration ended without initialization first 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.02s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestToCpasswd === PAUSE TestToCpasswd === CONT TestNewByName === RUN TestNewByName/get_existing_user_by_name === PAUSE TestNewByName/get_existing_user_by_name === RUN TestNewByName/error_on_non_existing_user === PAUSE TestNewByName/error_on_non_existing_user === CONT TestToCpasswd === RUN TestToCpasswd/can_convert_to_C_pwd === PAUSE TestToCpasswd/can_convert_to_C_pwd === RUN TestToCpasswd/can't_allocate_with_buffer_too_small === PAUSE TestToCpasswd/can't_allocate_with_buffer_too_small === CONT TestToCpasswd/can_convert_to_C_pwd === CONT TestToCpasswd/can't_allocate_with_buffer_too_small --- PASS: TestToCpasswd (0.00s) --- PASS: TestToCpasswd/can_convert_to_C_pwd (0.00s) --- PASS: TestToCpasswd/can't_allocate_with_buffer_too_small (0.00s) === CONT TestNewByUID === RUN TestNewByUID/error_on_cache_not_available === PAUSE TestNewByUID/error_on_cache_not_available === 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 === CONT TestNewByUID/error_on_cache_not_available 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_cache_not_available3726059194/001 === CONT TestNewByUID/error_on_non_existing_user === CONT TestNewByUID/get_existing_user_by_uid === RUN TestNewByName/error_on_cache_not_available === PAUSE TestNewByName/error_on_cache_not_available === CONT TestNewByName/get_existing_user_by_name 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available3726059194/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available3726059194/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_non_existing_user268727088/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user268727088/001/passwd.db 2022/09/09 10:37:50 DEBUG: Requesting a passwd entry matching UID 1929326240 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user268727088/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByUIDget_existing_user_by_uid3624485755/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid3624485755/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid3624485755/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name1671800569/001 2022/09/09 10:37:50 DEBUG: Requesting a passwd entry matching UID 4242 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name1671800569/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name1671800569/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_cache_not_available3726059194/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_cache_not_available3726059194/001/passwd.db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db === CONT TestNewByName/error_on_cache_not_available 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByUIDerror_on_non_existing_user268727088/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user268727088/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDerror_on_non_existing_user268727088/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for uid 4242 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available1453091248/001 2022/09/09 10:37:50 DEBUG: Requesting a passwd entry matching UID 1929326240 2022/09/09 10:37:50 DEBUG: Close database request === CONT TestNewByName/error_on_non_existing_user 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available1453091248/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available1453091248/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByUIDget_existing_user_by_uid3624485755/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid3624485755/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByUIDget_existing_user_by_uid3624485755/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for uid 1929326240 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user147223230/001 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestNewByUID (0.00s) --- PASS: TestNewByUID/error_on_cache_not_available (0.05s) --- PASS: TestNewByUID/error_on_non_existing_user (0.05s) --- PASS: TestNewByUID/get_existing_user_by_uid (0.07s) 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user147223230/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user147223230/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name1671800569/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name1671800569/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name1671800569/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available1453091248/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available1453091248/001/passwd.db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Requesting a passwd entry matching name "notexists@domain.com" 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user147223230/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user147223230/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user147223230/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting user information from cache for "notexists@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestNewByName (0.00s) --- PASS: TestNewByName/error_on_cache_not_available (0.03s) --- PASS: TestNewByName/get_existing_user_by_name (0.08s) --- PASS: TestNewByName/error_on_non_existing_user (0.04s) PASS ok github.com/ubuntu/aad-auth/internal/nss/passwd 0.242s === RUN TestNewByName === PAUSE TestNewByName === RUN TestNextEntry === RUN TestNextEntry/partial_iteration_then_ends_works 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works1792041333/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1792041333/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1792041333/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntrypartial_iteration_then_ends_works1792041333/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1792041333/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntrypartial_iteration_then_ends_works1792041333/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestNextEntry/get_all_users 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users1704231788/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1704231788/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1704231788/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryget_all_users1704231788/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1704231788/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryget_all_users1704231788/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestNextEntry/no_user_in_db_does_not_fail 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryno_user_in_db_does_not_fail1694764427/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail1694764427/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryno_user_in_db_does_not_fail1694764427/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestNextEntry/error_on_iteration_not_being_initialized_first 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3960840404/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3960840404/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNextEntryerror_on_iteration_not_being_initialized_first3960840404/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestNextEntry (0.09s) --- PASS: TestNextEntry/partial_iteration_then_ends_works (0.02s) --- PASS: TestNextEntry/get_all_users (0.03s) --- PASS: TestNextEntry/no_user_in_db_does_not_fail (0.02s) --- PASS: TestNextEntry/error_on_iteration_not_being_initialized_first (0.02s) === RUN TestStartEndEntryIteration === RUN TestStartEndEntryIteration/can_start_and_end_iteration 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationcan_start_and_end_iteration1831397314/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration1831397314/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationcan_start_and_end_iteration1831397314/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration 2022/09/09 10:37:50 WARNING: shadow entry iteration ended without initialization first === RUN TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1845277208/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1845277208/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestStartEndEntryIterationerror_in_start_when_iteration_already_in_progress1845277208/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Close database request === RUN TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestStartEndEntryIterationerror_in_start_when_error_on_opening_cache44467542/001 --- PASS: TestStartEndEntryIteration (0.02s) --- PASS: TestStartEndEntryIteration/can_start_and_end_iteration (0.01s) --- PASS: TestStartEndEntryIteration/no_error_when_ending_a_not_started_iteration (0.00s) --- PASS: TestStartEndEntryIteration/error_in_start_when_iteration_already_in_progress (0.01s) --- PASS: TestStartEndEntryIteration/error_in_start_when_error_on_opening_cache (0.00s) === RUN TestRestartIterationWithoutEndingPreviousOne 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne194457138/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne194457138/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne194457138/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestRestartIterationWithoutEndingPreviousOne194457138/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne194457138/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestRestartIterationWithoutEndingPreviousOne194457138/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Reusing existing opened cache 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: get next shadow entry 2022/09/09 10:37:50 DEBUG: request next shadow entry in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 WARNING: shadow entry iteration ended without initialization first 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestRestartIterationWithoutEndingPreviousOne (0.02s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestToCshadow === PAUSE TestToCshadow === CONT TestNewByName === 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 === RUN TestNewByName/get_existing_user_by_name === PAUSE TestNewByName/get_existing_user_by_name === CONT TestNewByName/error_on_non_existing_user 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user1519802046/001 === 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 === CONT TestNewByName/get_existing_user_by_name === PAUSE TestToCshadow/can't_allocate_with_buffer_too_small === CONT TestToCshadow/can_convert_to_C_shadow === CONT TestNewByName/error_on_cache_not_available === 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:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user1519802046/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user1519802046/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name3727398557/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name3727398557/001/shadow.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name3727398557/001/passwd.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available4009911618/001 2022/09/09 10:37:50 DEBUG: Requesting a shadow entry matching name "notexists@domain.com" 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available4009911618/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available4009911618/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:50 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:50 DEBUG: request to close group iteration in db 2022/09/09 10:37:50 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_non_existing_user1519802046/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user1519802046/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_non_existing_user1519802046/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting shadow information from cache for "notexists@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameget_existing_user_by_name3727398557/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name3727398557/001/passwd.db 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameget_existing_user_by_name3727398557/001/shadow.db 2022/09/09 10:37:50 DEBUG: Shadow db mode: 2 2022/09/09 10:37:50 DEBUG: Clean up database 2022/09/09 10:37:50 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Close database request 2022/09/09 10:37:50 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:37:50 DEBUG: Cache initialization 2022/09/09 10:37:50 DEBUG: Opening cache in /tmp/TestNewByNameerror_on_cache_not_available4009911618/001 2022/09/09 10:37:50 DEBUG: check file permissions on /tmp/TestNewByNameerror_on_cache_not_available4009911618/001/passwd.db 2022/09/09 10:37:50 DEBUG: Close database request --- PASS: TestNewByName (0.00s) --- PASS: TestNewByName/error_on_non_existing_user (0.04s) --- PASS: TestNewByName/get_existing_user_by_name (0.04s) --- PASS: TestNewByName/error_on_cache_not_available (0.05s) PASS ok github.com/ubuntu/aad-auth/internal/nss/shadow 0.189s === RUN TestNewLogger === PAUSE TestNewLogger === RUN TestLogging === PAUSE TestLogging === RUN TestInfo --- PASS: TestInfo (0.00s) === RUN TestInfoWithNoPamInContext --- PASS: TestInfoWithNoPamInContext (0.00s) === RUN TestAuthenticate === PAUSE TestAuthenticate === CONT TestNewLogger === RUN TestNewLogger/new_logger,_debug_enabled === PAUSE TestNewLogger/new_logger,_debug_enabled === RUN TestNewLogger/new_logger,_no_debug,_no_message === PAUSE TestNewLogger/new_logger,_no_debug,_no_message === CONT TestNewLogger/new_logger,_debug_enabled === CONT TestAuthenticate === RUN TestAuthenticate/error_on_offline_with_unpurged_old_user_account === PAUSE TestAuthenticate/error_on_offline_with_unpurged_old_user_account === RUN TestAuthenticate/error_on_unexisting_conf === PAUSE TestAuthenticate/error_on_unexisting_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/error_on_offline_with_purged_user_account === PAUSE TestAuthenticate/error_on_offline_with_purged_user_account === RUN TestAuthenticate/error_on_invalid_conf === PAUSE TestAuthenticate/error_on_invalid_conf === RUN TestAuthenticate/error_on_invalid_password === PAUSE TestAuthenticate/error_on_invalid_password === RUN TestAuthenticate/error_on_server_error === PAUSE TestAuthenticate/error_on_server_error === RUN TestAuthenticate/error_on_cache_can't_be_created/opened === PAUSE TestAuthenticate/error_on_cache_can't_be_created/opened === RUN TestAuthenticate/authenticate_successfully_(online) === PAUSE TestAuthenticate/authenticate_successfully_(online) === RUN TestAuthenticate/specified_offline_expiration === PAUSE TestAuthenticate/specified_offline_expiration === RUN TestAuthenticate/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) === CONT TestAuthenticate/error_on_offline_with_unpurged_old_user_account 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1585137289/001 === CONT TestAuthenticate/error_on_cache_can't_be_created/opened === CONT TestAuthenticate/error_on_offline_with_purged_user_account 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:37:52 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:37:52 DEBUG: Authentication successful with user/password === CONT TestLogging === RUN TestLogging/info_message_is_printed_with_default_log_level === PAUSE TestLogging/info_message_is_printed_with_default_log_level === RUN TestLogging/debug === PAUSE TestLogging/debug === RUN TestLogging/info === PAUSE TestLogging/info === RUN TestLogging/warn === PAUSE TestLogging/warn === RUN TestLogging/err === PAUSE TestLogging/err === RUN TestLogging/crit === PAUSE TestLogging/crit === RUN TestLogging/debug_is_not_printed_with_default_log_level === PAUSE TestLogging/debug_is_not_printed_with_default_log_level === CONT TestLogging/info_message_is_printed_with_default_log_level === CONT TestNewLogger/new_logger,_no_debug,_no_message --- PASS: TestNewLogger (0.00s) --- PASS: TestNewLogger/new_logger,_debug_enabled (0.00s) --- PASS: TestNewLogger/new_logger,_no_debug,_no_message (0.00s) === CONT TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:37:52 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:37:52 DEBUG: Authentication successful with user/password 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1585137289/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1585137289/001/shadow.db 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Clean up database 2022/09/09 10:37:52 DEBUG: Close database request 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_cache_cant_be_createdopened2154454166/001 2022/09/09 10:37:52 ERROR: can't open/create cache: can't initiate database: cache creation can only be done by root user. Denying access. 2022/09/09 10:37:52 DEBUG: No use of cache, closing underlying DB. === CONT TestAuthenticate/error_on_server_error 2022/09/09 10:37:52 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:52 DEBUG: request to close group iteration in db 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:37:52 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:52 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:37:52 ERROR: Can't read server response: invalid READ 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_purged_user_account3395924101/001 === CONT TestAuthenticate/error_on_invalid_password 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:37:52 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:37:52 DEBUG: Got response: Invalid credentials === CONT TestAuthenticate/error_on_invalid_conf 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/invalid-aad.conf 2022/09/09 10:37:52 ERROR: No valid configuration found: could not load valid configuration from testdata/invalid-aad.conf: missing required 'app_id' entry in configuration file === CONT TestLogging/crit === CONT TestAuthenticate/Offline,_connect_existing_user_from_cache 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_purged_user_account3395924101/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_purged_user_account3395924101/001/shadow.db 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Clean up database 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)2553222025/001 2022/09/09 10:37:52 DEBUG: Close database request 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/forceoffline-expire-right-away.conf 2022/09/09 10:37:52 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:37:52 DEBUG: acquiring token failed: Offline 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)2553222025/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_with_unmatched_case_(online)2553222025/001/shadow.db 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Clean up database 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache2997136556/001 2022/09/09 10:37:52 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:37:52 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:37:52 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:37:52 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:37:52 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:37:52 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:37:52 DEBUG: Got response: User doesn't exist 2022/09/09 10:37:52 DEBUG: Close database request === CONT TestAuthenticate/specified_offline_expiration 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/withoffline-expiration.conf 2022/09/09 10:37:52 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:37:52 DEBUG: Authentication successful with user/password 2022/09/09 10:37:52 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache2997136556/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache2997136556/001/shadow.db 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Clean up database 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1585137289/001 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1585137289/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_unpurged_old_user_account1585137289/001/shadow.db 2022/09/09 10:37:52 DEBUG: Close database request 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticatespecified_offline_expiration761835699/001 2022/09/09 10:37:52 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/09/09 10:37:52 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:37:52 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-09-09 10:37:52.615858347 +0000 UTC m=+0.045114800. Revalidation needed every 0 days 2022/09/09 10:37:52 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:37:52 ERROR: authenticating user "veryolduser@domain.com" from cache failed: offline credentials expired. Denying access. 2022/09/09 10:37:52 DEBUG: Close database request 2022/09/09 10:37:52 DEBUG: Close database request === CONT TestAuthenticate/authenticate_successfully_(online) 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:37:52 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:37:52 DEBUG: Authentication successful with user/password 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticatespecified_offline_expiration761835699/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticatespecified_offline_expiration761835699/001/shadow.db 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Clean up database 2022/09/09 10:37:52 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:52 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:52 DEBUG: request to close group iteration in db 2022/09/09 10:37:52 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateauthenticate_successfully_(online)4116984470/001 2022/09/09 10:37:52 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:37:52 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:37:52 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:37:52 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:37:52 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:37:52 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:37:52 DEBUG: acquiring token failed: Offline 2022/09/09 10:37:52 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_(online)4116984470/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateauthenticate_successfully_(online)4116984470/001/shadow.db 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Clean up database 2022/09/09 10:37:52 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache2997136556/001 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache2997136556/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateOffline,_connect_existing_user_from_cache2997136556/001/shadow.db 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Clean up database 2022/09/09 10:37:52 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:37:52 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:37:52 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:37:52 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:37:52 INFO: try to authenticate "futureuser@domain.com" from cache 2022/09/09 10:37:52 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:37:52 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-09-09 10:37:52.635101861 +0000 UTC m=+0.064358315. Revalidation needed every 90 days 2022/09/09 10:37:52 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:37:52 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:37:52 DEBUG: Close database request === CONT TestLogging/debug_is_not_printed_with_default_log_level === CONT TestLogging/warn === CONT TestLogging/err === CONT TestAuthenticate/error_on_unexisting_users 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:37:52 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:37:52 DEBUG: Got response: User doesn't exist === CONT TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache3966105216/001 2022/09/09 10:37:52 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:37:52 DEBUG: Close database request === CONT TestLogging/info === CONT TestAuthenticate/error_on_unexisting_conf 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/doesnotexist.conf 2022/09/09 10:37:52 ERROR: No valid configuration found: could not load valid configuration from testdata/doesnotexist.conf: could not open file testdata/doesnotexist.conf: open testdata/doesnotexist.conf: no such file or directory === CONT TestLogging/debug --- PASS: TestLogging (0.00s) --- PASS: TestLogging/info_message_is_printed_with_default_log_level (0.00s) --- PASS: TestLogging/crit (0.00s) --- PASS: TestLogging/debug_is_not_printed_with_default_log_level (0.00s) --- PASS: TestLogging/warn (0.00s) --- PASS: TestLogging/err (0.00s) --- PASS: TestLogging/info (0.00s) --- PASS: TestLogging/debug (0.00s) 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache3966105216/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache3966105216/001/shadow.db 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Clean up database 2022/09/09 10:37:52 DEBUG: Close database request 2022/09/09 10:37:52 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:52 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:52 DEBUG: request to close group iteration in db 2022/09/09 10:37:52 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:52 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:37:52 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:37:52 DEBUG: acquiring token failed: Offline 2022/09/09 10:37:52 DEBUG: Cache initialization 2022/09/09 10:37:52 DEBUG: Opening cache in /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache3966105216/001 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache3966105216/001/passwd.db 2022/09/09 10:37:52 DEBUG: check file permissions on /tmp/TestAuthenticateerror_on_offline_with_user_online_user_not_in_cache3966105216/001/shadow.db 2022/09/09 10:37:52 DEBUG: Shadow db mode: 2 2022/09/09 10:37:52 DEBUG: Clean up database 2022/09/09 10:37:52 INFO: try to authenticate "success@domain.com" from cache 2022/09/09 10:37:52 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:37:52 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:37:52 DEBUG: Close database request 2022/09/09 10:37:52 DEBUG: Close database request 2022/09/09 10:37:52 DEBUG: Close database request 2022/09/09 10:37:52 DEBUG: Close database request 2022/09/09 10:37:52 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:37:52 DEBUG: Close database request --- PASS: TestAuthenticate (0.00s) --- PASS: TestAuthenticate/error_on_cache_can't_be_created/opened (0.01s) --- PASS: TestAuthenticate/error_on_server_error (0.00s) --- PASS: TestAuthenticate/error_on_invalid_password (0.00s) --- PASS: TestAuthenticate/error_on_invalid_conf (0.00s) --- PASS: TestAuthenticate/error_on_offline_with_purged_user_account (0.03s) --- PASS: TestAuthenticate/error_on_offline_with_unpurged_old_user_account (0.04s) --- PASS: TestAuthenticate/authenticate_successfully_with_unmatched_case_(online) (0.14s) --- PASS: TestAuthenticate/error_on_unexisting_users (0.00s) --- PASS: TestAuthenticate/specified_offline_expiration (0.11s) --- PASS: TestAuthenticate/error_on_unexisting_conf (0.00s) --- PASS: TestAuthenticate/error_on_offline_with_user_online_user_not_in_cache (0.02s) --- PASS: TestAuthenticate/Offline,_connect_existing_user_from_cache (0.17s) --- PASS: TestAuthenticate/authenticate_successfully_(online) (0.19s) PASS ok github.com/ubuntu/aad-auth/internal/pam 0.252s ? github.com/ubuntu/aad-auth/internal/testutils [no test files] === RUN TestNormalizeName === PAUSE TestNormalizeName === CONT TestNormalizeName === RUN TestNormalizeName/name_with_mixed_case_is_lowercase === PAUSE TestNormalizeName/name_with_mixed_case_is_lowercase === RUN TestNormalizeName/lowercase_named_is_unchanged === PAUSE TestNormalizeName/lowercase_named_is_unchanged === CONT TestNormalizeName/name_with_mixed_case_is_lowercase === CONT TestNormalizeName/lowercase_named_is_unchanged --- PASS: TestNormalizeName (0.00s) --- PASS: TestNormalizeName/name_with_mixed_case_is_lowercase (0.00s) --- PASS: TestNormalizeName/lowercase_named_is_unchanged (0.00s) PASS ok github.com/ubuntu/aad-auth/internal/user 0.002s === RUN TestGetent === RUN TestGetent/list_local_passwd_entry_without_cache 2022/09/09 10:37:53 DEBUG: Getting entry "0" from passwd 2022/09/09 10:37:53 DEBUG: Getting entry with id '\x00' from passwd 2022/09/09 10:37:53 DEBUG: Requesting a passwd entry matching UID 0 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_local_passwd_entry_without_cache3436163639/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_local_passwd_entry_without_cache3436163639/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_local_passwd_entry_without_cache3436163639/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting user information from cache for uid 0 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 2 === RUN TestGetent/old_entries_in_shadow_are_cleaned 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_shadow_are_cleaned2643099614/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned2643099614/001/shadow.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned2643099614/001/passwd.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting all entries from shadow 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_shadow_are_cleaned2643099614/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned2643099614/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_shadow_are_cleaned2643099614/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: get next shadow entry 2022/09/09 10:37:53 DEBUG: request next shadow entry in db 2022/09/09 10:37:53 DEBUG: get next shadow entry 2022/09/09 10:37:53 DEBUG: request next shadow entry in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_entries_in_group_without_access_to_shadow 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group_without_access_to_shadow2678685405/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow2678685405/001/shadow.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow2678685405/001/passwd.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting all entries from group 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group_without_access_to_shadow2678685405/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow2678685405/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group_without_access_to_shadow2678685405/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 0 2022/09/09 10:37:53 DEBUG: get next group entry 2022/09/09 10:37:53 DEBUG: request next group entry in db 2022/09/09 10:37:53 DEBUG: get next group entry 2022/09/09 10:37:53 DEBUG: request next group entry in db 2022/09/09 10:37:53 DEBUG: get next group entry 2022/09/09 10:37:53 DEBUG: request next group entry in db 2022/09/09 10:37:53 DEBUG: get next group entry 2022/09/09 10:37:53 DEBUG: request next group entry in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_entries_in_passwd 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd3793489655/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd3793489655/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd3793489655/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting all entries from passwd 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd3793489655/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd3793489655/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd3793489655/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: get next passwd entry 2022/09/09 10:37:53 DEBUG: request next passwd entry in db 2022/09/09 10:37:53 DEBUG: get next passwd entry 2022/09/09 10:37:53 DEBUG: request next passwd entry in db 2022/09/09 10:37:53 DEBUG: get next passwd entry 2022/09/09 10:37:53 DEBUG: request next passwd entry in db 2022/09/09 10:37:53 DEBUG: get next passwd entry 2022/09/09 10:37:53 DEBUG: request next passwd entry in db 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_entries_in_shadow 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_shadow313254959/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow313254959/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow313254959/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting all entries from shadow 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_shadow313254959/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow313254959/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_shadow313254959/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: get next shadow entry 2022/09/09 10:37:53 DEBUG: request next shadow entry in db 2022/09/09 10:37:53 DEBUG: get next shadow entry 2022/09/09 10:37:53 DEBUG: request next shadow entry in db 2022/09/09 10:37:53 DEBUG: get next shadow entry 2022/09/09 10:37:53 DEBUG: request next shadow entry in db 2022/09/09 10:37:53 DEBUG: get next shadow entry 2022/09/09 10:37:53 DEBUG: request next shadow entry in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_list_passwd_with_empty_cache 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_with_empty_cache190167696/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache190167696/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache190167696/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Getting all entries from passwd 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_with_empty_cache190167696/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache190167696/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_with_empty_cache190167696/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: get next passwd entry 2022/09/09 10:37:53 DEBUG: request next passwd entry in db 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_entry_from_group_by_gid 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_gid2912354918/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid2912354918/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid2912354918/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "165119649" from group 2022/09/09 10:37:53 DEBUG: Getting entry with id '�' from group 2022/09/09 10:37:53 DEBUG: Requesting an group entry matching GID 165119649 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_gid2912354918/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid2912354918/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_gid2912354918/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting group information from cache for gid 165119649 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_list_non-existent_entry_in_shadow 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow293320949/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow293320949/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow293320949/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "doesnotexist@domain.com" from shadow 2022/09/09 10:37:53 DEBUG: Getting entry with name "doesnotexist@domain.com" from shadow 2022/09/09 10:37:53 DEBUG: Requesting a shadow entry matching name "doesnotexist@domain.com" 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow293320949/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow293320949/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_shadow293320949/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting shadow information from cache for "doesnotexist@domain.com" 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_local_group_entry_without_cache 2022/09/09 10:37:53 DEBUG: Getting entry "0" from group 2022/09/09 10:37:53 DEBUG: Getting entry with id '\x00' from group 2022/09/09 10:37:53 DEBUG: Requesting an group entry matching GID 0 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_local_group_entry_without_cache4167970710/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_local_group_entry_without_cache4167970710/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_local_group_entry_without_cache4167970710/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting group information from cache for gid 0 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 2 === RUN TestGetent/try_to_get_group_entry_with_explicit_empty_key 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key540497322/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key540497322/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key540497322/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "" from group 2022/09/09 10:37:53 DEBUG: Getting entry with name "" from group 2022/09/09 10:37:53 DEBUG: Requesting a group entry matching name "" 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key540497322/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key540497322/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_group_entry_with_explicit_empty_key540497322/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting group information from cache for "" 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_without_cache_and_no_permission_to_create_it 2022/09/09 10:37:53 DEBUG: Getting all entries from shadow 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_cache_and_no_permission_to_create_it4003051463/001 2022/09/09 10:37:53 DEBUG: Returning to NSS error: -1 with errno: 2 === RUN TestGetent/try_to_list_passwd_without_permission_on_cache 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache4080721373/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache4080721373/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache4080721373/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting all entries from passwd 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache4080721373/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_passwd_without_permission_on_cache4080721373/001/passwd.db 2022/09/09 10:37:53 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_entry_from_group_by_name 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_name3889601634/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name3889601634/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name3889601634/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "myuser@domain.com" from group 2022/09/09 10:37:53 DEBUG: Getting entry with name "myuser@domain.com" from group 2022/09/09 10:37:53 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_group_by_name3889601634/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name3889601634/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_group_by_name3889601634/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_list_entry_from_shadow_by_uid 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_entry_from_shadow_by_uid1723155802/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_uid1723155802/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_uid1723155802/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "165119649" from shadow 2022/09/09 10:37:53 DEBUG: Getting entry with id '�' from shadow 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_list_passwd_without_cache_and_no_permission_to_create_it 2022/09/09 10:37:53 DEBUG: Getting all entries from passwd 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_passwd_without_cache_and_no_permission_to_create_it2393360480/001 2022/09/09 10:37:53 DEBUG: Returning to NSS error: -1 with errno: 2 === RUN TestGetent/try_to_list_group_without_cache_and_no_permission_to_create_it 2022/09/09 10:37:53 DEBUG: Getting all entries from group 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_without_cache_and_no_permission_to_create_it952007198/001 2022/09/09 10:37:53 DEBUG: Returning to NSS error: -1 with errno: 2 === RUN TestGetent/try_to_list_group_with_empty_cache 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_with_empty_cache264943082/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache264943082/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache264943082/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Getting all entries from group 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_with_empty_cache264943082/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache264943082/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_with_empty_cache264943082/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: get next group entry 2022/09/09 10:37:53 DEBUG: request next group entry in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_with_empty_cache 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_with_empty_cache2224058663/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache2224058663/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache2224058663/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Getting all entries from shadow 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_with_empty_cache2224058663/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache2224058663/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_with_empty_cache2224058663/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: get next shadow entry 2022/09/09 10:37:53 DEBUG: request next shadow entry in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db === RUN TestGetent/list_local_shadow_entry_without_cache 2022/09/09 10:37:53 DEBUG: Getting entry "root" from shadow 2022/09/09 10:37:53 DEBUG: Getting entry with name "root" from shadow 2022/09/09 10:37:53 DEBUG: Requesting a shadow entry matching name "root" 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_local_shadow_entry_without_cache1768415214/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_local_shadow_entry_without_cache1768415214/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_local_shadow_entry_without_cache1768415214/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting shadow information from cache for "root" 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 2 === RUN TestGetent/old_entries_in_passwd_are_cleaned 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_passwd_are_cleaned3861515066/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned3861515066/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned3861515066/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting all entries from passwd 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_passwd_are_cleaned3861515066/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned3861515066/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_passwd_are_cleaned3861515066/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: get next passwd entry 2022/09/09 10:37:53 DEBUG: request next passwd entry in db 2022/09/09 10:37:53 DEBUG: get next passwd entry 2022/09/09 10:37:53 DEBUG: request next passwd entry in db 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_entries_in_group 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group2575838155/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group2575838155/001/shadow.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group2575838155/001/passwd.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting all entries from group 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_group2575838155/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group2575838155/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_group2575838155/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: get next group entry 2022/09/09 10:37:53 DEBUG: request next group entry in db 2022/09/09 10:37:53 DEBUG: get next group entry 2022/09/09 10:37:53 DEBUG: request next group entry in db 2022/09/09 10:37:53 DEBUG: get next group entry 2022/09/09 10:37:53 DEBUG: request next group entry in db 2022/09/09 10:37:53 DEBUG: get next group entry 2022/09/09 10:37:53 DEBUG: request next group entry in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_list_non-existent_entry_in_passwd 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd2985058158/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd2985058158/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd2985058158/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "doesnotexist@domain.com" from passwd 2022/09/09 10:37:53 DEBUG: Getting entry with name "doesnotexist@domain.com" from passwd 2022/09/09 10:37:53 DEBUG: Requesting a passwd entry matching name "doesnotexist@domain.com" 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd2985058158/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd2985058158/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_passwd2985058158/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting user information from cache for "doesnotexist@domain.com" 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_without_permission_on_cache 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4147609519/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4147609519/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4147609519/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting all entries from shadow 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4147609519/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_permission_on_cache4147609519/001/passwd.db 2022/09/09 10:37:53 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_get_passwd_entry_with_explicit_empty_key 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1457629500/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1457629500/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1457629500/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "" from passwd 2022/09/09 10:37:53 DEBUG: Getting entry with name "" from passwd 2022/09/09 10:37:53 DEBUG: Requesting a passwd entry matching name "" 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1457629500/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1457629500/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_passwd_entry_with_explicit_empty_key1457629500/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting user information from cache for "" 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_entry_from_passwd_by_uid 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_uid1329933154/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid1329933154/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid1329933154/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "165119649" from passwd 2022/09/09 10:37:53 DEBUG: Getting entry with id '�' from passwd 2022/09/09 10:37:53 DEBUG: Requesting a passwd entry matching UID 165119649 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_uid1329933154/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid1329933154/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_uid1329933154/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting user information from cache for uid 165119649 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/try_to_list_non-existent_entry_in_group 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_group3001379011/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group3001379011/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group3001379011/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "doesnotexist@domain.com" from group 2022/09/09 10:37:53 DEBUG: Getting entry with name "doesnotexist@domain.com" from group 2022/09/09 10:37:53 DEBUG: Requesting a group entry matching name "doesnotexist@domain.com" 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_non-existent_entry_in_group3001379011/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group3001379011/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_non-existent_entry_in_group3001379011/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting group information from cache for "doesnotexist@domain.com" 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/error_trying_to_list_unsupported_db 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetenterror_trying_to_list_unsupported_db1745948543/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_unsupported_db1745948543/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_unsupported_db1745948543/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_entry_from_passwd_by_name 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_name2662457550/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name2662457550/001/shadow.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name2662457550/001/passwd.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:53 DEBUG: Getting entry "myuser@domain.com" from passwd 2022/09/09 10:37:53 DEBUG: Getting entry with name "myuser@domain.com" from passwd 2022/09/09 10:37:53 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_passwd_by_name2662457550/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name2662457550/001/shadow.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_passwd_by_name2662457550/001/passwd.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:53 DEBUG: Close database request === RUN TestGetent/list_entry_from_shadow_by_name 2022/09/09 10:37:53 DEBUG: Cache initialization 2022/09/09 10:37:53 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_shadow_by_name1789203149/001 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name1789203149/001/passwd.db 2022/09/09 10:37:53 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name1789203149/001/shadow.db 2022/09/09 10:37:53 DEBUG: Shadow db mode: 2 2022/09/09 10:37:53 DEBUG: Clean up database 2022/09/09 10:37:53 DEBUG: Close database request 2022/09/09 10:37:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:53 DEBUG: request to close group iteration in db 2022/09/09 10:37:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetentlist_entry_from_shadow_by_name1789203149/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name1789203149/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentlist_entry_from_shadow_by_name1789203149/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 DEBUG: Close database request === RUN TestGetent/try_to_list_entry_from_shadow_by_name_without_access_to_shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow2936570388/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow2936570388/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow2936570388/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow2936570388/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow2936570388/001/shadow.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_entry_from_shadow_by_name_without_access_to_shadow2936570388/001/passwd.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 DEBUG: Close database request === RUN TestGetent/list_entries_in_passwd_without_access_to_shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow4170943150/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow4170943150/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow4170943150/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from passwd 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow4170943150/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow4170943150/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentlist_entries_in_passwd_without_access_to_shadow4170943150/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 DEBUG: Close database request === RUN TestGetent/try_to_get_shadow_entry_with_explicit_empty_key 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key4197589425/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key4197589425/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key4197589425/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting entry "" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with name "" from shadow 2022/09/09 10:37:54 DEBUG: Requesting a shadow entry matching name "" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key4197589425/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key4197589425/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_get_shadow_entry_with_explicit_empty_key4197589425/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting shadow information from cache for "" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 DEBUG: Close database request === RUN TestGetent/error_trying_to_list_entry_by_name_from_unsupported_db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetenterror_trying_to_list_entry_by_name_from_unsupported_db746091685/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_entry_by_name_from_unsupported_db746091685/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenterror_trying_to_list_entry_by_name_from_unsupported_db746091685/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Close database request === RUN TestGetent/try_to_list_shadow_without_access_to_shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1408223387/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1408223387/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1408223387/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1408223387/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1408223387/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_shadow_without_access_to_shadow1408223387/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: get next shadow entry 2022/09/09 10:37:54 DEBUG: request next shadow entry in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 DEBUG: Close database request === RUN TestGetent/old_entries_in_group_are_cleaned 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_group_are_cleaned2614470450/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned2614470450/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned2614470450/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetentold_entries_in_group_are_cleaned2614470450/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned2614470450/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetentold_entries_in_group_are_cleaned2614470450/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 DEBUG: Close database request === RUN TestGetent/try_to_list_group_without_permission_on_cache 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_without_permission_on_cache4292050581/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_without_permission_on_cache4292050581/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_without_permission_on_cache4292050581/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestGetenttry_to_list_group_without_permission_on_cache4292050581/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestGetenttry_to_list_group_without_permission_on_cache4292050581/001/passwd.db 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 DEBUG: Close database request --- PASS: TestGetent (0.51s) --- PASS: TestGetent/list_local_passwd_entry_without_cache (0.01s) --- PASS: TestGetent/old_entries_in_shadow_are_cleaned (0.02s) --- PASS: TestGetent/list_entries_in_group_without_access_to_shadow (0.02s) --- PASS: TestGetent/list_entries_in_passwd (0.02s) --- PASS: TestGetent/list_entries_in_shadow (0.02s) --- PASS: TestGetent/try_to_list_passwd_with_empty_cache (0.01s) --- PASS: TestGetent/list_entry_from_group_by_gid (0.02s) --- PASS: TestGetent/try_to_list_non-existent_entry_in_shadow (0.02s) --- PASS: TestGetent/list_local_group_entry_without_cache (0.01s) --- PASS: TestGetent/try_to_get_group_entry_with_explicit_empty_key (0.02s) --- PASS: TestGetent/try_to_list_shadow_without_cache_and_no_permission_to_create_it (0.00s) --- PASS: TestGetent/try_to_list_passwd_without_permission_on_cache (0.02s) --- PASS: TestGetent/list_entry_from_group_by_name (0.02s) --- PASS: TestGetent/try_to_list_entry_from_shadow_by_uid (0.02s) --- PASS: TestGetent/try_to_list_passwd_without_cache_and_no_permission_to_create_it (0.00s) --- PASS: TestGetent/try_to_list_group_without_cache_and_no_permission_to_create_it (0.00s) --- PASS: TestGetent/try_to_list_group_with_empty_cache (0.01s) --- PASS: TestGetent/try_to_list_shadow_with_empty_cache (0.01s) --- PASS: TestGetent/list_local_shadow_entry_without_cache (0.01s) --- PASS: TestGetent/old_entries_in_passwd_are_cleaned (0.02s) --- PASS: TestGetent/list_entries_in_group (0.02s) --- PASS: TestGetent/try_to_list_non-existent_entry_in_passwd (0.02s) --- PASS: TestGetent/try_to_list_shadow_without_permission_on_cache (0.01s) --- PASS: TestGetent/try_to_get_passwd_entry_with_explicit_empty_key (0.02s) --- PASS: TestGetent/list_entry_from_passwd_by_uid (0.02s) --- PASS: TestGetent/try_to_list_non-existent_entry_in_group (0.02s) --- PASS: TestGetent/error_trying_to_list_unsupported_db (0.02s) --- PASS: TestGetent/list_entry_from_passwd_by_name (0.02s) --- PASS: TestGetent/list_entry_from_shadow_by_name (0.02s) --- PASS: TestGetent/try_to_list_entry_from_shadow_by_name_without_access_to_shadow (0.02s) --- PASS: TestGetent/list_entries_in_passwd_without_access_to_shadow (0.02s) --- PASS: TestGetent/try_to_get_shadow_entry_with_explicit_empty_key (0.02s) --- PASS: TestGetent/error_trying_to_list_entry_by_name_from_unsupported_db (0.01s) --- PASS: TestGetent/try_to_list_shadow_without_access_to_shadow (0.01s) --- PASS: TestGetent/old_entries_in_group_are_cleaned (0.02s) --- PASS: TestGetent/try_to_list_group_without_permission_on_cache (0.02s) === RUN TestIntegration === PAUSE TestIntegration === RUN TestFmtGetentOutput === PAUSE TestFmtGetentOutput === CONT TestIntegration === CONT TestFmtGetentOutput === RUN TestFmtGetentOutput/properly_format_with_nil_error === PAUSE TestFmtGetentOutput/properly_format_with_nil_error === RUN TestFmtGetentOutput/properly_format_with_multiple_entries === PAUSE TestFmtGetentOutput/properly_format_with_multiple_entries === RUN TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess === PAUSE TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess === RUN TestFmtGetentOutput/properly_format_with_no_entries === PAUSE TestFmtGetentOutput/properly_format_with_no_entries === RUN TestFmtGetentOutput/properly_format_with_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_nil_error 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_error_ErrTryAgainERange 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -2 with errno: 34 === CONT TestFmtGetentOutput/properly_format_with_an_error_and_multiple_entries === CONT TestFmtGetentOutput/properly_format_with_error_ErrTryAgainEAgain 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -2 with errno: 11 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 === CONT TestFmtGetentOutput/properly_format_with_no_entries 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_unknown_Err 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 1 with errno: 22 === CONT TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_error_ErrNotFoundENoEnt 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 === CONT TestFmtGetentOutput/properly_format_with_multiple_entries 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 === CONT TestFmtGetentOutput/properly_format_with_error_ErrUnavailableENoEnt 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 --- PASS: TestFmtGetentOutput (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_nil_error (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_an_error_and_multiple_entries (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_no_entries (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_unknown_Err (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_error_ErrNotFoundSuccess (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_error_ErrNotFoundENoEnt (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_error_ErrUnavailableENoEnt (0.00s) --- PASS: TestFmtGetentOutput/properly_format_with_multiple_entries (0.00s) === 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/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/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_passwd_without_access_to_shadow === PAUSE TestIntegration/list_passwd_without_access_to_shadow === RUN TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow === PAUSE TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow === RUN TestIntegration/list_entry_from_group_by_name === PAUSE TestIntegration/list_entry_from_group_by_name === RUN TestIntegration/error_when_listing_entry_from_shadow_by_uid === PAUSE TestIntegration/error_when_listing_entry_from_shadow_by_uid === RUN TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow === PAUSE TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow === RUN TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow === PAUSE TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow === RUN TestIntegration/returns_nothing_when_listing_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/returns_nothing_when_listing_shadow_without_access === PAUSE TestIntegration/returns_nothing_when_listing_shadow_without_access === RUN TestIntegration/list_entry_from_group_by_gid === PAUSE TestIntegration/list_entry_from_group_by_gid === RUN TestIntegration/error_when_listing_non-existent_entry_in_shadow === PAUSE TestIntegration/error_when_listing_non-existent_entry_in_shadow === RUN TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache === PAUSE TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache === RUN TestIntegration/old_entries_in_passwd_are_cleaned === PAUSE TestIntegration/old_entries_in_passwd_are_cleaned === RUN TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache === PAUSE TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache === RUN TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key === PAUSE TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key === 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/list_passwd === PAUSE TestIntegration/list_passwd === RUN TestIntegration/list_local_group_entry_without_cache === PAUSE TestIntegration/list_local_group_entry_without_cache === RUN TestIntegration/list_entry_from_group_by_name_without_access_to_shadow === PAUSE TestIntegration/list_entry_from_group_by_name_without_access_to_shadow === 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/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/error_on_trying_to_list_unsupported_db === PAUSE TestIntegration/error_on_trying_to_list_unsupported_db === RUN TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache === PAUSE TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache === RUN TestIntegration/list_local_shadow_entry_without_cache === PAUSE TestIntegration/list_local_shadow_entry_without_cache === RUN TestIntegration/old_entries_in_shadow_are_cleaned === PAUSE TestIntegration/old_entries_in_shadow_are_cleaned === 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_group_with_explicit_empty_key === PAUSE TestIntegration/error_on_get_entry_from_group_with_explicit_empty_key === RUN TestIntegration/list_entry_from_passwd_by_name === PAUSE TestIntegration/list_entry_from_passwd_by_name === RUN TestIntegration/list_shadow === PAUSE TestIntegration/list_shadow === 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/old_entries_in_group_are_cleaned === PAUSE TestIntegration/old_entries_in_group_are_cleaned === RUN TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db === PAUSE TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db === RUN TestIntegration/list_group_without_access_to_shadow === PAUSE TestIntegration/list_group_without_access_to_shadow === RUN TestIntegration/list_entry_from_shadow_by_name === PAUSE TestIntegration/list_entry_from_shadow_by_name === RUN TestIntegration/error_when_listing_non-existent_entry_in_group === PAUSE TestIntegration/error_when_listing_non-existent_entry_in_group === CONT TestIntegration/list_group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_group3922443355/001 === CONT TestIntegration/list_passwd === CONT TestIntegration/error_on_get_entry_from_group_with_explicit_empty_key === CONT TestIntegration/returns_nothing_when_listing_group_without_permission_on_cache 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_group3922443355/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_group3922443355/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd3170015687/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd3170015687/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd3170015687/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key899299395/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key899299395/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key899299395/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache1725943568/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache1725943568/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache1725943568/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_group3922443355/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_group3922443355/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_group3922443355/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 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:121: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:37:54 DEBUG: Close database request === CONT TestIntegration/error_when_listing_non-existent_entry_in_group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3622734572/001 2022/09/09 10:37:54 DEBUG: Getting all entries from passwd 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd3170015687/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd3170015687/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd3170015687/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 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:121: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:37:54 DEBUG: Close database request === CONT TestIntegration/list_entry_from_shadow_by_name 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3622734572/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3622734572/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_shadow_by_name3896886347/001 2022/09/09 10:37:54 DEBUG: Getting entry "" from group 2022/09/09 10:37:54 DEBUG: Getting entry with name "" from group 2022/09/09 10:37:54 DEBUG: Requesting a group entry matching name "" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key899299395/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key899299395/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_group_with_explicit_empty_key899299395/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting group information from cache for "" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/list_group_without_access_to_shadow 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name3896886347/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name3896886347/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_group_without_access_to_shadow3144116649/001 2022/09/09 10:37:54 DEBUG: Getting all entries from group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache1725943568/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_without_permission_on_cache1725943568/001/passwd.db 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 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:121:buildd 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow3144116649/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow3144116649/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_trying_to_list_entry_by_name_from_unsupported_db1458244797/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_entry_by_name_from_unsupported_db1458244797/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_entry_by_name_from_unsupported_db1458244797/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting entry "doesnotexist@domain.com" from group 2022/09/09 10:37:54 DEBUG: Getting entry with name "doesnotexist@domain.com" from group 2022/09/09 10:37:54 DEBUG: Requesting a group entry matching name "doesnotexist@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3622734572/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3622734572/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_group3622734572/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting group information from cache for "doesnotexist@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/old_entries_in_group_are_cleaned 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_group_are_cleaned780878843/001 2022/09/09 10:37:54 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_shadow_by_name3896886347/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name3896886347/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_shadow_by_name3896886347/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context myuser@domain.com:*::::::: 2022/09/09 10:37:54 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:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned780878843/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned780878843/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache2240302363/001 2022/09/09 10:37:54 DEBUG: Getting all entries from group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_group_without_access_to_shadow3144116649/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow3144116649/001/shadow.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_group_without_access_to_shadow3144116649/001/passwd.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 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:121: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:37:54 DEBUG: Close database request === CONT TestIntegration/list_shadow Unknown database: unsupported Try `getent --help' or `getent --usage' for more information. 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_name 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache2240302363/001/shadow.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache2240302363/001/passwd.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_shadow2782655605/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow2782655605/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow2782655605/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name2146645548/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name2146645548/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name2146645548/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_group_are_cleaned780878843/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned780878843/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_group_are_cleaned780878843/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 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:121:buildd futureuser@domain.com:x:80938656:futureuser@domain.com 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_shadow_without_permission_on_cache 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1721623944/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1721623944/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1721623944/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Getting all entries from group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache2240302363/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache2240302363/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_group_with_empty_cache2240302363/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next group entry 2022/09/09 10:37:54 DEBUG: request next group entry in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:37:54 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:121:buildd 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_uid 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid3275646013/001 2022/09/09 10:37:54 DEBUG: Getting all entries from shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_shadow2782655605/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow2782655605/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_shadow2782655605/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next shadow entry 2022/09/09 10:37:54 DEBUG: request next shadow entry in db 2022/09/09 10:37:54 DEBUG: get next shadow entry 2022/09/09 10:37:54 DEBUG: request next shadow entry in db 2022/09/09 10:37:54 DEBUG: get next shadow entry 2022/09/09 10:37:54 DEBUG: request next shadow entry in db 2022/09/09 10:37:54 DEBUG: get next shadow entry 2022/09/09 10:37:54 DEBUG: request next shadow entry in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 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:37:54 DEBUG: Close database request === CONT TestIntegration/error_when_listing_entry_from_shadow_by_name_without_access 2022/09/09 10:37:54 DEBUG: Getting entry "myuser@domain.com" from passwd 2022/09/09 10:37:54 DEBUG: Getting entry with name "myuser@domain.com" from passwd 2022/09/09 10:37:54 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name2146645548/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name2146645548/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name2146645548/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context myuser@domain.com:x:1929326240:1929326240::/home/myuser@domain.com:/bin/bash 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid3275646013/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid3275646013/001/shadow.db === CONT TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access950556560/001 2022/09/09 10:37:54 DEBUG: Getting all entries from shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1721623944/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_permission_on_cache1721623944/001/passwd.db 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access950556560/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access950556560/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key2131425595/001 2022/09/09 10:37:54 DEBUG: Getting entry "165119649" from passwd 2022/09/09 10:37:54 DEBUG: Getting entry with id '�' from passwd 2022/09/09 10:37:54 DEBUG: Requesting a passwd entry matching UID 165119649 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid3275646013/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid3275646013/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid3275646013/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting user information from cache for uid 165119649 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context user@otherdomain.com:x:165119649:165119649::/home/user@otherdomain.com:/bin/bash 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/old_entries_in_passwd_are_cleaned 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key2131425595/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key2131425595/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache175701707/001 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache175701707/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache175701707/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_passwd_are_cleaned1606770961/001 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Getting entry "myuser@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with name "myuser@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Requesting a shadow entry matching name "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access950556560/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access950556560/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_name_without_access950556560/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: getting shadow information from cache for "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned1606770961/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned1606770961/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache430918253/001 2022/09/09 10:37:54 DEBUG: Getting entry "" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with name "" from shadow 2022/09/09 10:37:54 DEBUG: Requesting a shadow entry matching name "" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key2131425595/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key2131425595/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_shadow_with_explicit_empty_key2131425595/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting shadow information from cache for "" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/error_when_listing_non-existent_entry_in_shadow 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache430918253/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache430918253/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow186840360/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow186840360/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow186840360/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from passwd 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache175701707/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_permission_on_cache175701707/001/passwd.db 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 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:121:Debian source builder,,,:/var/lib/sbuild:/bin/bash 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/list_entry_from_group_by_gid 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid833734874/001 2022/09/09 10:37:54 DEBUG: Getting all entries from passwd 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache430918253/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache430918253/001/shadow.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_passwd_with_empty_cache430918253/001/passwd.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:37:54 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:121:Debian source builder,,,:/var/lib/sbuild:/bin/bash 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_shadow_without_access 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid833734874/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid833734874/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3649519015/001 2022/09/09 10:37:54 DEBUG: Getting all entries from passwd 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_passwd_are_cleaned1606770961/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned1606770961/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_passwd_are_cleaned1606770961/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 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:121:Debian source builder,,,:/var/lib/sbuild:/bin/bash futureuser@domain.com:x:80938656:80938656::/home/futureuser@domain.com:/bin/bash 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/error_on_trying_to_list_unsupported_db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3649519015/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3649519015/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Getting entry "doesnotexist@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with name "doesnotexist@domain.com" from shadow 2022/09/09 10:37:54 DEBUG: Requesting a shadow entry matching name "doesnotexist@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow186840360/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow186840360/001/shadow.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_shadow186840360/001/passwd.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting shadow information from cache for "doesnotexist@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/old_entries_in_shadow_are_cleaned 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_trying_to_list_unsupported_db1596169697/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_unsupported_db1596169697/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_trying_to_list_unsupported_db1596169697/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_shadow_are_cleaned3175153679/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned3175153679/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned3175153679/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting entry "165119649" from group 2022/09/09 10:37:54 DEBUG: Getting entry with id '�' from group 2022/09/09 10:37:54 DEBUG: Requesting an group entry matching GID 165119649 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid833734874/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid833734874/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid833734874/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting group information from cache for gid 165119649 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context user@otherdomain.com:x:165119649:user@otherdomain.com 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/list_local_shadow_entry_without_cache Unknown database: unsupported Try `getent --help' or `getent --usage' for more information. 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Getting all entries from shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3649519015/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3649519015/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_access3649519015/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: get next shadow entry 2022/09/09 10:37:54 DEBUG: request next shadow entry in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context === CONT TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache584997587/001 === CONT TestIntegration/list_entry_from_group_by_name 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache584997587/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache584997587/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name1670067984/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name1670067984/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name1670067984/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Getting all entries from shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationold_entries_in_shadow_are_cleaned3175153679/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned3175153679/001/shadow.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationold_entries_in_shadow_are_cleaned3175153679/001/passwd.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next shadow entry 2022/09/09 10:37:54 DEBUG: request next shadow entry in db 2022/09/09 10:37:54 DEBUG: get next shadow entry 2022/09/09 10:37:54 DEBUG: request next shadow entry in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context futureuser@domain.com:$2a$10$cF4IsiVtLzwUTpboXHlv.eaK4BCnwn4r/Rjdry5iSJpq6zAjA0gGy::::::: 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db === CONT TestIntegration/returns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it 2022/09/09 10:37:54 DEBUG: Getting entry "root" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with name "root" from shadow 2022/09/09 10:37:54 DEBUG: Requesting a shadow entry matching name "root" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_local_shadow_entry_without_cache1465621842/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_local_shadow_entry_without_cache1465621842/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_local_shadow_entry_without_cache1465621842/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting shadow information from cache for "root" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context === CONT TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow166109821/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow166109821/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow166109821/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache584997587/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache584997587/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationreturns_nothing_when_listing_shadow_with_empty_cache584997587/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: get next shadow entry 2022/09/09 10:37:54 DEBUG: request next shadow entry in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow3335580142/001 2022/09/09 10:37:54 DEBUG: Getting all entries from passwd 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it3484495831/001 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 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:121:Debian source builder,,,:/var/lib/sbuild:/bin/bash === CONT TestIntegration/error_when_listing_entry_from_shadow_by_uid 2022/09/09 10:37:54 DEBUG: Getting entry "myuser@domain.com" from group 2022/09/09 10:37:54 DEBUG: Getting entry with name "myuser@domain.com" from group 2022/09/09 10:37:54 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name1670067984/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name1670067984/001/shadow.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name1670067984/001/passwd.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context myuser@domain.com:x:1929326240:myuser@domain.com 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/error_when_listing_entry_from_shadow_by_uid_without_access 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow3335580142/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow3335580142/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid2812306342/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid2812306342/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid2812306342/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Getting entry "165119649" from group 2022/09/09 10:37:54 DEBUG: Getting entry with id '�' from group 2022/09/09 10:37:54 DEBUG: Requesting an group entry matching GID 165119649 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow166109821/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow166109821/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_gid_without_access_to_shadow166109821/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: getting group information from cache for gid 165119649 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context user@otherdomain.com:x:165119649:user@otherdomain.com 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid_without_access459397473/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid_without_access459397473/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_entry_from_shadow_by_uid_without_access459397473/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from group 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it1523852665/001 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 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:121:buildd === CONT TestIntegration/error_on_get_entry_from_passwd_with_explicit_empty_key 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key640773083/001 2022/09/09 10:37:54 DEBUG: Getting entry "myuser@domain.com" from passwd 2022/09/09 10:37:54 DEBUG: Getting entry with name "myuser@domain.com" from passwd 2022/09/09 10:37:54 DEBUG: Requesting a passwd entry matching name "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow3335580142/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow3335580142/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_name_without_access_to_shadow3335580142/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: getting user information from cache for "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context myuser@domain.com:x:1929326240:1929326240::/home/myuser@domain.com:/bin/bash 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow 2022/09/09 10:37:54 DEBUG: Getting entry "165119649" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with id '�' from shadow 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key640773083/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key640773083/001/shadow.db 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/list_passwd_without_access_to_shadow 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3522839609/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3522839609/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3522839609/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd_without_access_to_shadow5979605/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow5979605/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow5979605/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting entry "165119649" from shadow 2022/09/09 10:37:54 DEBUG: Getting entry with id '�' from shadow 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/returns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it 2022/09/09 10:37:54 DEBUG: Getting entry "" from passwd 2022/09/09 10:37:54 DEBUG: Getting entry with name "" from passwd 2022/09/09 10:37:54 DEBUG: Requesting a passwd entry matching name "" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key640773083/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key640773083/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_on_get_entry_from_passwd_with_explicit_empty_key640773083/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting user information from cache for "" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/list_entry_from_group_by_name_without_access_to_shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow309515926/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow309515926/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow309515926/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting all entries from shadow 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationreturns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it1097436640/001 2022/09/09 10:37:54 DEBUG: Returning to NSS error: -1 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context === CONT TestIntegration/list_local_group_entry_without_cache 2022/09/09 10:37:54 DEBUG: Getting entry "165119649" from passwd 2022/09/09 10:37:54 DEBUG: Getting entry with id '�' from passwd 2022/09/09 10:37:54 DEBUG: Requesting a passwd entry matching UID 165119649 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3522839609/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3522839609/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_passwd_by_uid_without_access_to_shadow3522839609/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: getting user information from cache for uid 165119649 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context user@otherdomain.com:x:165119649:165119649::/home/user@otherdomain.com:/bin/bash 2022/09/09 10:37:54 DEBUG: Close database request === CONT TestIntegration/error_when_listing_non-existent_entry_in_passwd 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd2860323925/001 root:x:0: 2022/09/09 10:37:54 DEBUG: Getting all entries from passwd 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_passwd_without_access_to_shadow5979605/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow5979605/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_passwd_without_access_to_shadow5979605/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: get next passwd entry 2022/09/09 10:37:54 DEBUG: request next passwd entry in db 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 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:121: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:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd2860323925/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd2860323925/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: Getting entry "myuser@domain.com" from group 2022/09/09 10:37:54 DEBUG: Getting entry with name "myuser@domain.com" from group 2022/09/09 10:37:54 DEBUG: Requesting a group entry matching name "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow309515926/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow309515926/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationlist_entry_from_group_by_name_without_access_to_shadow309515926/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 0 2022/09/09 10:37:54 DEBUG: getting group information from cache for "myuser@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning NSS STATUS SUCCESS with errno: 0 2022/09/09 10:37:54 ERROR: no logger attached to context myuser@domain.com:x:1929326240:myuser@domain.com 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:37:54 DEBUG: request to close passwd iteration in db 2022/09/09 10:37:54 DEBUG: request to close group iteration in db 2022/09/09 10:37:54 DEBUG: request to close shadow iteration in db 2022/09/09 10:37:54 DEBUG: Getting entry "doesnotexist@domain.com" from passwd 2022/09/09 10:37:54 DEBUG: Getting entry with name "doesnotexist@domain.com" from passwd 2022/09/09 10:37:54 DEBUG: Requesting a passwd entry matching name "doesnotexist@domain.com" 2022/09/09 10:37:54 DEBUG: Cache initialization 2022/09/09 10:37:54 DEBUG: Opening cache in /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd2860323925/001 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd2860323925/001/passwd.db 2022/09/09 10:37:54 DEBUG: check file permissions on /tmp/TestIntegrationerror_when_listing_non-existent_entry_in_passwd2860323925/001/shadow.db 2022/09/09 10:37:54 DEBUG: Shadow db mode: 2 2022/09/09 10:37:54 DEBUG: Clean up database 2022/09/09 10:37:54 DEBUG: getting user information from cache for "doesnotexist@domain.com" 2022/09/09 10:37:54 DEBUG: Close database request 2022/09/09 10:37:54 DEBUG: Returning to NSS error: 0 with errno: 2 2022/09/09 10:37:54 ERROR: no logger attached to context 2022/09/09 10:37:54 DEBUG: Close database request --- PASS: TestIntegration (0.00s) --- PASS: TestIntegration/list_group (0.07s) --- PASS: TestIntegration/list_passwd (0.08s) --- PASS: TestIntegration/error_on_get_entry_from_group_with_explicit_empty_key (0.08s) --- PASS: TestIntegration/returns_nothing_when_listing_group_without_permission_on_cache (0.09s) --- PASS: TestIntegration/error_when_listing_non-existent_entry_in_group (0.04s) --- PASS: TestIntegration/list_entry_from_shadow_by_name (0.04s) --- PASS: TestIntegration/list_local_passwd_entry_without_cache (0.00s) --- PASS: TestIntegration/list_group_without_access_to_shadow (0.04s) --- PASS: TestIntegration/error_on_trying_to_list_entry_by_name_from_unsupported_db (0.03s) --- PASS: TestIntegration/old_entries_in_group_are_cleaned (0.04s) --- PASS: TestIntegration/returns_nothing_when_listing_group_with_empty_cache (0.04s) --- PASS: TestIntegration/list_shadow (0.04s) --- PASS: TestIntegration/list_entry_from_passwd_by_name (0.04s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_without_permission_on_cache (0.03s) --- PASS: TestIntegration/list_entry_from_passwd_by_uid (0.03s) --- PASS: TestIntegration/error_when_listing_entry_from_shadow_by_name_without_access (0.05s) --- PASS: TestIntegration/error_on_get_entry_from_shadow_with_explicit_empty_key (0.05s) --- PASS: TestIntegration/returns_nothing_when_listing_passwd_without_permission_on_cache (0.06s) --- PASS: TestIntegration/returns_nothing_when_listing_passwd_with_empty_cache (0.03s) --- PASS: TestIntegration/old_entries_in_passwd_are_cleaned (0.07s) --- PASS: TestIntegration/error_when_listing_non-existent_entry_in_shadow (0.05s) --- PASS: TestIntegration/list_entry_from_group_by_gid (0.04s) --- PASS: TestIntegration/error_on_trying_to_list_unsupported_db (0.03s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_without_access (0.05s) --- PASS: TestIntegration/old_entries_in_shadow_are_cleaned (0.04s) --- PASS: TestIntegration/list_local_shadow_entry_without_cache (0.02s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_with_empty_cache (0.03s) --- PASS: TestIntegration/returns_nothing_when_listing_passwd_without_cache_and_no_permission_to_create_it (0.02s) --- PASS: TestIntegration/list_entry_from_group_by_name (0.04s) --- PASS: TestIntegration/list_entry_from_group_by_gid_without_access_to_shadow (0.03s) --- PASS: TestIntegration/returns_nothing_when_listing_group_without_cache_and_no_permission_to_create_it (0.01s) --- PASS: TestIntegration/list_entry_from_passwd_by_name_without_access_to_shadow (0.03s) --- PASS: TestIntegration/error_when_listing_entry_from_shadow_by_uid (0.03s) --- PASS: TestIntegration/error_when_listing_entry_from_shadow_by_uid_without_access (0.05s) --- PASS: TestIntegration/error_on_get_entry_from_passwd_with_explicit_empty_key (0.03s) --- PASS: TestIntegration/returns_nothing_when_listing_shadow_without_cache_and_no_permission_to_create_it (0.02s) --- PASS: TestIntegration/list_entry_from_passwd_by_uid_without_access_to_shadow (0.05s) --- PASS: TestIntegration/list_local_group_entry_without_cache (0.00s) --- PASS: TestIntegration/list_passwd_without_access_to_shadow (0.04s) --- PASS: TestIntegration/list_entry_from_group_by_name_without_access_to_shadow (0.03s) --- PASS: TestIntegration/error_when_listing_non-existent_entry_in_passwd (0.02s) PASS ok github.com/ubuntu/aad-auth/nss/aad-auth 2.858s === RUN TestPamSmAuthenticate === RUN TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain 2022/09/09 10:38:37 DEBUG: Loading configuration from testdata/aad-with-homedir-and-shell-domain.conf 2022/09/09 10:38:37 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:38:37 DEBUG: Authentication successful with user/password 2022/09/09 10:38:37 DEBUG: Cache initialization 2022/09/09 10:38:37 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain3071213290/001/cache 2022/09/09 10:38:37 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain3071213290/001/cache/passwd.db 2022/09/09 10:38:37 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain3071213290/001/cache/shadow.db 2022/09/09 10:38:37 DEBUG: Shadow db mode: 2 2022/09/09 10:38:37 DEBUG: Clean up database 2022/09/09 10:38:37 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:38:37 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:38:37 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:38:37 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:38:37 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:38:37 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:38:37 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:38:37 DEBUG: Close database request === RUN TestPamSmAuthenticate/specified_offline_expiration 2022/09/09 10:38:37 DEBUG: Loading configuration from testdata/withoffline-expiration.conf 2022/09/09 10:38:37 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:38:37 DEBUG: Authentication successful with user/password 2022/09/09 10:38:37 DEBUG: Cache initialization 2022/09/09 10:38:37 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatespecified_offline_expiration362835447/001/cache 2022/09/09 10:38:37 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatespecified_offline_expiration362835447/001/cache/passwd.db 2022/09/09 10:38:37 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatespecified_offline_expiration362835447/001/cache/shadow.db 2022/09/09 10:38:37 DEBUG: Shadow db mode: 2 2022/09/09 10:38:37 DEBUG: Clean up database 2022/09/09 10:38:37 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:38:37 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:38:37 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:38:37 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:38:37 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:38:37 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:38:37 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:38:37 DEBUG: Close database request === RUN TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_for_a_new_user 2022/09/09 10:38:37 DEBUG: Loading configuration from testdata/aad-with-homedir-and-shell.conf 2022/09/09 10:38:37 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:38:37 DEBUG: Authentication successful with user/password 2022/09/09 10:38:37 DEBUG: Cache initialization 2022/09/09 10:38:37 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_for_a_new_user695449361/001/cache 2022/09/09 10:38:37 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_for_a_new_user695449361/001/cache/passwd.db 2022/09/09 10:38:37 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatecorrectly_set_homedir_and_shell_values_for_a_new_user695449361/001/cache/shadow.db 2022/09/09 10:38:37 DEBUG: Shadow db mode: 2 2022/09/09 10:38:37 DEBUG: Clean up database 2022/09/09 10:38:37 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:38:37 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:38:37 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:38:37 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:38:37 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:38:37 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:38:37 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:38:37 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_invalid_password 2022/09/09 10:38:37 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:38:37 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:38:37 DEBUG: Got response: Invalid credentials === RUN TestPamSmAuthenticate/error_on_server_error 2022/09/09 10:38:39 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:38:39 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:38:39 ERROR: Can't read server response: invalid READ === RUN TestPamSmAuthenticate/error_on_cache_can't_be_created/opened 2022/09/09 10:38:41 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:38:41 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:38:41 DEBUG: Authentication successful with user/password 2022/09/09 10:38:41 DEBUG: Cache initialization 2022/09/09 10:38:41 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_cache_cant_be_createdopened4178691031/001/cache 2022/09/09 10:38:41 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_on_config_with_values_only_in_matching_domain 2022/09/09 10:38:43 DEBUG: Loading configuration from testdata/with-domain.conf 2022/09/09 10:38:43 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:38:43 DEBUG: Authentication successful with user/password 2022/09/09 10:38:43 DEBUG: Cache initialization 2022/09/09 10:38:43 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_on_config_with_values_only_in_matching_domain1769376094/001/cache 2022/09/09 10:38:43 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_on_config_with_values_only_in_matching_domain1769376094/001/cache/passwd.db 2022/09/09 10:38:43 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_on_config_with_values_only_in_matching_domain1769376094/001/cache/shadow.db 2022/09/09 10:38:43 DEBUG: Shadow db mode: 2 2022/09/09 10:38:43 DEBUG: Clean up database 2022/09/09 10:38:43 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:38:43 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:38:43 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:38:43 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:38:43 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:38:43 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:38:43 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:38:43 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_unexisting_users 2022/09/09 10:38:43 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:38:43 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:38:43 DEBUG: Got response: User doesn't exist === RUN TestPamSmAuthenticate/error_on_offline_with_unpurged_old_user_account 2022/09/09 10:38:46 DEBUG: Cache initialization 2022/09/09 10:38:46 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1747336327/001/cache 2022/09/09 10:38:46 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1747336327/001/cache/passwd.db 2022/09/09 10:38:46 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1747336327/001/cache/shadow.db 2022/09/09 10:38:46 DEBUG: Shadow db mode: 2 2022/09/09 10:38:46 DEBUG: Clean up database 2022/09/09 10:38:46 DEBUG: Close database request 2022/09/09 10:38:46 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:38:46 DEBUG: request to close passwd iteration in db 2022/09/09 10:38:46 DEBUG: request to close group iteration in db 2022/09/09 10:38:46 DEBUG: request to close shadow iteration in db 2022/09/09 10:38:46 DEBUG: Loading configuration from testdata/forceoffline-expire-right-away.conf 2022/09/09 10:38:46 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:38:46 DEBUG: acquiring token failed: Offline 2022/09/09 10:38:46 DEBUG: Cache initialization 2022/09/09 10:38:46 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1747336327/001/cache 2022/09/09 10:38:46 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1747336327/001/cache/passwd.db 2022/09/09 10:38:46 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_unpurged_old_user_account1747336327/001/cache/shadow.db 2022/09/09 10:38:46 DEBUG: Shadow db mode: 2 2022/09/09 10:38:46 DEBUG: Do not clean up database as revalidation period is set to 0 2022/09/09 10:38:46 INFO: try to authenticate "veryolduser@domain.com" from cache 2022/09/09 10:38:46 DEBUG: getting user information from cache for "veryolduser@domain.com" 2022/09/09 10:38:46 DEBUG: Last online login was: 1971-11-12 23:22:48 +0000 UTC. Current time: 2022-09-09 10:38:46.03838427 +0000 UTC m=+8.993908398. Revalidation needed every 0 days 2022/09/09 10:38:46 ERROR: authenticating user "veryolduser@domain.com" from cache failed: offline credentials expired. Denying access. 2022/09/09 10:38:46 DEBUG: Close database request 2022/09/09 10:38:47 DEBUG: Close database request === RUN TestPamSmAuthenticate/homedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache 2022/09/09 10:38:47 DEBUG: Cache initialization 2022/09/09 10:38:47 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3739709189/001/cache 2022/09/09 10:38:47 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3739709189/001/cache/passwd.db 2022/09/09 10:38:47 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3739709189/001/cache/shadow.db 2022/09/09 10:38:47 DEBUG: Shadow db mode: 2 2022/09/09 10:38:47 DEBUG: Clean up database 2022/09/09 10:38:47 DEBUG: Close database request 2022/09/09 10:38:47 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:38:47 DEBUG: request to close passwd iteration in db 2022/09/09 10:38:47 DEBUG: request to close group iteration in db 2022/09/09 10:38:47 DEBUG: request to close shadow iteration in db 2022/09/09 10:38:47 DEBUG: Loading configuration from testdata/forceoffline-with-homedir-and-shell.conf 2022/09/09 10:38:47 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:38:47 DEBUG: acquiring token failed: Offline 2022/09/09 10:38:47 DEBUG: Cache initialization 2022/09/09 10:38:47 DEBUG: Opening cache in /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3739709189/001/cache 2022/09/09 10:38:47 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3739709189/001/cache/passwd.db 2022/09/09 10:38:47 DEBUG: check file permissions on /tmp/TestPamSmAuthenticatehomedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache3739709189/001/cache/shadow.db 2022/09/09 10:38:47 DEBUG: Shadow db mode: 2 2022/09/09 10:38:47 DEBUG: Clean up database 2022/09/09 10:38:47 INFO: try to authenticate "futureuser@domain.com" from cache 2022/09/09 10:38:47 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:38:47 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-09-09 10:38:47.864242413 +0000 UTC m=+10.819766539. Revalidation needed every 90 days 2022/09/09 10:38:47 DEBUG: Close database request 2022/09/09 10:38:47 DEBUG: Close database request === RUN TestPamSmAuthenticate/authenticate_successfully_with_unmatched_case_(online) 2022/09/09 10:38:47 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:38:47 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:38:47 DEBUG: Authentication successful with user/password 2022/09/09 10:38:47 DEBUG: Cache initialization 2022/09/09 10:38:47 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)3560813048/001/cache 2022/09/09 10:38:47 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)3560813048/001/cache/passwd.db 2022/09/09 10:38:47 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_with_unmatched_case_(online)3560813048/001/cache/shadow.db 2022/09/09 10:38:47 DEBUG: Shadow db mode: 2 2022/09/09 10:38:47 DEBUG: Clean up database 2022/09/09 10:38:47 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:38:47 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:38:47 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:38:47 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:38:47 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:38:47 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:38:48 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:38:48 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_invalid_conf 2022/09/09 10:38:48 DEBUG: Loading configuration from testdata/invalid-aad.conf 2022/09/09 10:38:48 ERROR: No valid configuration found: could not load valid configuration from testdata/invalid-aad.conf: missing required 'app_id' entry in configuration file === RUN TestPamSmAuthenticate/error_on_unexisting_conf 2022/09/09 10:38:49 DEBUG: Loading configuration from testdata/doesnotexist.conf 2022/09/09 10:38:49 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_config_values_only_in_mismatching_domain 2022/09/09 10:38:51 DEBUG: Loading configuration from testdata/with-domain.conf 2022/09/09 10:38: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:38:53 DEBUG: Cache initialization 2022/09/09 10:38:53 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache3064720392/001/cache 2022/09/09 10:38:53 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache3064720392/001/cache/passwd.db 2022/09/09 10:38:53 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache3064720392/001/cache/shadow.db 2022/09/09 10:38:53 DEBUG: Shadow db mode: 2 2022/09/09 10:38:53 DEBUG: Clean up database 2022/09/09 10:38:53 DEBUG: Close database request 2022/09/09 10:38:53 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:38:53 DEBUG: request to close passwd iteration in db 2022/09/09 10:38:53 DEBUG: request to close group iteration in db 2022/09/09 10:38:53 DEBUG: request to close shadow iteration in db 2022/09/09 10:38:53 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:38: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:38:53 DEBUG: acquiring token failed: Offline 2022/09/09 10:38:53 DEBUG: Cache initialization 2022/09/09 10:38:53 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache3064720392/001/cache 2022/09/09 10:38:53 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache3064720392/001/cache/passwd.db 2022/09/09 10:38:53 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_user_online_user_not_in_cache3064720392/001/cache/shadow.db 2022/09/09 10:38:53 DEBUG: Shadow db mode: 2 2022/09/09 10:38:53 DEBUG: Clean up database 2022/09/09 10:38:53 INFO: try to authenticate "success@domain.com" from cache 2022/09/09 10:38:53 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:38: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:38:53 DEBUG: Close database request 2022/09/09 10:38:55 DEBUG: Close database request === RUN TestPamSmAuthenticate/error_on_offline_with_purged_user_accoauthenticateunt 2022/09/09 10:38:55 DEBUG: Cache initialization 2022/09/09 10:38:55 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateerror_on_offline_with_purged_user_accoauthenticateunt1180316159/001/cache 2022/09/09 10:38:55 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_purged_user_accoauthenticateunt1180316159/001/cache/passwd.db 2022/09/09 10:38:55 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateerror_on_offline_with_purged_user_accoauthenticateunt1180316159/001/cache/shadow.db 2022/09/09 10:38:55 DEBUG: Shadow db mode: 2 2022/09/09 10:38:55 DEBUG: Clean up database 2022/09/09 10:38:55 DEBUG: Close database request 2022/09/09 10:38:55 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:38:55 DEBUG: request to close passwd iteration in db 2022/09/09 10:38:55 DEBUG: request to close group iteration in db 2022/09/09 10:38:55 DEBUG: request to close shadow iteration in db 2022/09/09 10:38:55 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:38:55 DEBUG: Connecting to "https://login.microsoftonline.com/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", with clientID "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj" for user "veryolduser@domain.com" 2022/09/09 10:38:55 DEBUG: Got response: User doesn't exist 2022/09/09 10:38:58 DEBUG: Close database request === RUN TestPamSmAuthenticate/authenticate_successfully_(online) 2022/09/09 10:38:58 DEBUG: Loading configuration from testdata/simple-aad.conf 2022/09/09 10:38:58 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:38:58 DEBUG: Authentication successful with user/password 2022/09/09 10:38:58 DEBUG: Cache initialization 2022/09/09 10:38:58 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)4172500391/001/cache 2022/09/09 10:38:58 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)4172500391/001/cache/passwd.db 2022/09/09 10:38:58 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateauthenticate_successfully_(online)4172500391/001/cache/shadow.db 2022/09/09 10:38:58 DEBUG: Shadow db mode: 2 2022/09/09 10:38:58 DEBUG: Clean up database 2022/09/09 10:38:58 DEBUG: getting user information from cache for "success@domain.com" 2022/09/09 10:38:58 DEBUG: generate user id for user "success@domain.com" 2022/09/09 10:38:58 INFO: user id for "success@domain.com" is 9448096 2022/09/09 10:38:58 DEBUG: Getting home directory for success@domain.com 2022/09/09 10:38:58 DEBUG: inserting in cache user "success@domain.com" 2022/09/09 10:38:58 DEBUG: encrypt password for user "success@domain.com" 2022/09/09 10:38:58 DEBUG: updating from last online login information for user "success@domain.com" 2022/09/09 10:38:58 DEBUG: Close database request === RUN TestPamSmAuthenticate/offline,_connect_existing_user_from_cache 2022/09/09 10:38:58 DEBUG: Cache initialization 2022/09/09 10:38:58 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache719903599/001/cache 2022/09/09 10:38:58 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache719903599/001/cache/passwd.db 2022/09/09 10:38:58 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache719903599/001/cache/shadow.db 2022/09/09 10:38:58 DEBUG: Shadow db mode: 2 2022/09/09 10:38:58 DEBUG: Clean up database 2022/09/09 10:38:58 DEBUG: Close database request 2022/09/09 10:38:58 DEBUG: No use of cache, closing underlying DB. 2022/09/09 10:38:58 DEBUG: request to close passwd iteration in db 2022/09/09 10:38:58 DEBUG: request to close group iteration in db 2022/09/09 10:38:58 DEBUG: request to close shadow iteration in db 2022/09/09 10:38:58 DEBUG: Loading configuration from testdata/forceoffline.conf 2022/09/09 10:38:58 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:38:58 DEBUG: acquiring token failed: Offline 2022/09/09 10:38:58 DEBUG: Cache initialization 2022/09/09 10:38:58 DEBUG: Opening cache in /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache719903599/001/cache 2022/09/09 10:38:58 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache719903599/001/cache/passwd.db 2022/09/09 10:38:58 DEBUG: check file permissions on /tmp/TestPamSmAuthenticateoffline,_connect_existing_user_from_cache719903599/001/cache/shadow.db 2022/09/09 10:38:58 DEBUG: Shadow db mode: 2 2022/09/09 10:38:58 DEBUG: Clean up database 2022/09/09 10:38:58 INFO: try to authenticate "futureuser@domain.com" from cache 2022/09/09 10:38:58 DEBUG: getting user information from cache for "futureuser@domain.com" 2022/09/09 10:38:58 DEBUG: Last online login was: 2054-04-03 13:36:08 +0000 UTC. Current time: 2022-09-09 10:38:58.135392584 +0000 UTC m=+21.090916712. Revalidation needed every 90 days 2022/09/09 10:38:58 DEBUG: Close database request 2022/09/09 10:38:58 DEBUG: Close database request --- PASS: TestPamSmAuthenticate (21.16s) --- PASS: TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_specified_at_domain_for_a_new_user_with_matching_domain (0.09s) --- PASS: TestPamSmAuthenticate/specified_offline_expiration (0.09s) --- PASS: TestPamSmAuthenticate/correctly_set_homedir_and_shell_values_for_a_new_user (0.09s) --- PASS: TestPamSmAuthenticate/error_on_invalid_password (1.90s) --- PASS: TestPamSmAuthenticate/error_on_server_error (2.51s) --- PASS: TestPamSmAuthenticate/error_on_cache_can't_be_created/opened (2.12s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_on_config_with_values_only_in_matching_domain (0.10s) --- PASS: TestPamSmAuthenticate/error_on_unexisting_users (2.06s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_unpurged_old_user_account (1.82s) --- PASS: TestPamSmAuthenticate/homedir_and_shell_values_should_not_change_for_user_that_was_already_on_cache (0.11s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_with_unmatched_case_(online) (0.10s) --- PASS: TestPamSmAuthenticate/error_on_invalid_conf (1.75s) --- PASS: TestPamSmAuthenticate/error_on_unexisting_conf (1.88s) --- PASS: TestPamSmAuthenticate/error_on_config_values_only_in_mismatching_domain (2.16s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_user_online_user_not_in_cache (2.12s) --- PASS: TestPamSmAuthenticate/error_on_offline_with_purged_user_accoauthenticateunt (2.06s) --- PASS: TestPamSmAuthenticate/authenticate_successfully_(online) (0.10s) --- PASS: TestPamSmAuthenticate/offline,_connect_existing_user_from_cache (0.10s) === 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.01s) PASS ok github.com/ubuntu/aad-auth/pam 65.665s 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-s390x-linux-gnu && mkdir -p /<>/debian/tmp/usr cd obj-s390x-linux-gnu && cp -r bin /<>/debian/tmp/usr # Install PAM module configuration mkdir -p debian/tmp/usr/share/pam-configs cp debian/libpam-aad.pam-auth-update debian/tmp/usr/share/pam-configs/aad # Install configuration template to /etc mkdir -p debian/tmp/etc cp conf/aad.conf.template debian/tmp/etc/aad.conf # Install PAM and NSS libraries mkdir -p debian/tmp/usr/lib/s390x-linux-gnu/security cp pam_aad.so debian/tmp/usr/lib/s390x-linux-gnu/security make install -C nss/ DESTDIR=/<>/debian/tmp make[2]: Entering directory '/<>/nss' install -dm 0755 /<>/debian/tmp/usr/lib/s390x-linux-gnu install -m 0644 libnss_aad.so.2 /<>/debian/tmp/usr/lib/s390x-linux-gnu make[2]: Leaving directory '/<>/nss' # Install NSS helper to /usr/libexec mkdir -p debian/tmp/usr/libexec mv debian/tmp/usr/bin/aad-auth debian/tmp/usr/libexec # Generate and install translations GENERATE_ONLY_INSTALL_TO_DESTDIR=/<>/debian/tmp go generate -x ./internal/i18n go run generate-locales.go update-po ../../po/aad-auth.pot ../../po go run generate-locales.go generate-mo aad-auth ../../po ../../generated make[1]: Leaving directory '/<>' dh_install -a -O--buildsystem=golang dh_installdocs -a -O--buildsystem=golang dh_installchangelogs -a -O--buildsystem=golang dh_installsystemduser -a -O--buildsystem=golang dh_apport -a -O--buildsystem=golang dh_lintian -a -O--buildsystem=golang dh_perl -a -O--buildsystem=golang dh_link -a -O--buildsystem=golang dh_strip_nondeterminism -a -O--buildsystem=golang dh_compress -a -O--buildsystem=golang dh_fixperms -a -O--buildsystem=golang dh_missing -a -O--buildsystem=golang dh_strip -a -O--buildsystem=golang 41999da2ec018513630c84666f337fb42ba70690 debugedit: debian/libpam-aad/usr/lib/s390x-linux-gnu/security/pam_aad.so: DWARF version 0 unhandled debugedit: debian/libnss-aad/usr/libexec/aad-auth: DWARF version 0 unhandled 8ea64fa2cc79dd8dc229e107f09dde9b1e948f81 7dfb447f623bbddd04961ecfe19e3a31ec9d7126 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-dbgsym (in debian/.debhelper/libnss-aad/dbgsym-root); do_strip: , oemstrip: pkgstriptranslations: processing libpam-aad (in debian/libpam-aad); do_strip: , oemstrip: pkgstriptranslations: processing libnss-aad (in debian/libnss-aad); 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/libpam-aad/DEBIAN/control, package libpam-aad, directory debian/libpam-aad pkgstripfiles: Running PNG optimization (using 4 cpus) for package libpam-aad ... pkgstripfiles: processing control file: debian/libnss-aad/DEBIAN/control, package libnss-aad, directory debian/libnss-aad pkgstripfiles: No PNG files. dpkg-deb: building package 'libpam-aad' in '../libpam-aad_0.2_s390x.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_s390x.deb'. pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com 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_s390x.deb'. 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_s390x.deb'. Renaming libnss-aad-dbgsym_0.2_s390x.deb to libnss-aad-dbgsym_0.2_s390x.ddeb Renaming libpam-aad-dbgsym_0.2_s390x.deb to libpam-aad-dbgsym_0.2_s390x.ddeb dpkg-genbuildinfo --build=any -O../aad-auth_0.2_s390x.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../aad-auth_0.2_s390x.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:39:13Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ aad-auth_0.2_s390x.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: s390x 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: 3df83d60c735802f2b2c86263ce80a763f52410d 7786 aad-auth_0.2_s390x.buildinfo ff89d5d36058f680972591b1a4fbf310ce2547a5 3095530 libnss-aad-dbgsym_0.2_s390x.ddeb 7fe09ef8d4b920bf55e3585fc927d16f53b4b37f 1673816 libnss-aad_0.2_s390x.deb 94e3a36b61a32517c5d88034fca6a22a6451ee7d 4547260 libpam-aad-dbgsym_0.2_s390x.ddeb 5ed2c28761fe40ee7bc7e52712d6795741d2ac0b 3225350 libpam-aad_0.2_s390x.deb Checksums-Sha256: ff1b7f4eeb853ebd4a3ced19d35c51bd8b18196ad660cfc5bc1b6914e126e1e5 7786 aad-auth_0.2_s390x.buildinfo 382f7faf706138bbc6365a0caf5feb0d6928c2092883e75f5c45e8feb0f0f366 3095530 libnss-aad-dbgsym_0.2_s390x.ddeb d90bf6351a04b392722210ff88f001ce07ad5c14ab9403ddd1387ddf6d7a8370 1673816 libnss-aad_0.2_s390x.deb d5a9046eab5e8083b9c464466333cc205734565b98f5262bb87ce018b29ea4a2 4547260 libpam-aad-dbgsym_0.2_s390x.ddeb 8892d1e99ffea32ebb18d8b17de3d5755013b56d423ad32ec150b7d4afebfc77 3225350 libpam-aad_0.2_s390x.deb Files: 33ca6d4b50b7d76d45893abfd6fc8920 7786 admin optional aad-auth_0.2_s390x.buildinfo 16b63fcac3b41e0a382da4b1ecb723e8 3095530 debug optional libnss-aad-dbgsym_0.2_s390x.ddeb 110b98808eb0f02b61addb2084d13494 1673816 admin optional libnss-aad_0.2_s390x.deb edbc71f5f7b016ba62f0e1b49563de84 4547260 debug optional libpam-aad-dbgsym_0.2_s390x.ddeb 68022a2211788dfba95b0bd4e17478a6 3225350 admin optional libpam-aad_0.2_s390x.deb /<>/aad-auth_0.2_s390x.changes.new could not be renamed to /<>/aad-auth_0.2_s390x.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: s390x Version: 0.2 Checksums-Md5: 16b63fcac3b41e0a382da4b1ecb723e8 3095530 libnss-aad-dbgsym_0.2_s390x.ddeb 110b98808eb0f02b61addb2084d13494 1673816 libnss-aad_0.2_s390x.deb edbc71f5f7b016ba62f0e1b49563de84 4547260 libpam-aad-dbgsym_0.2_s390x.ddeb 68022a2211788dfba95b0bd4e17478a6 3225350 libpam-aad_0.2_s390x.deb Checksums-Sha1: ff89d5d36058f680972591b1a4fbf310ce2547a5 3095530 libnss-aad-dbgsym_0.2_s390x.ddeb 7fe09ef8d4b920bf55e3585fc927d16f53b4b37f 1673816 libnss-aad_0.2_s390x.deb 94e3a36b61a32517c5d88034fca6a22a6451ee7d 4547260 libpam-aad-dbgsym_0.2_s390x.ddeb 5ed2c28761fe40ee7bc7e52712d6795741d2ac0b 3225350 libpam-aad_0.2_s390x.deb Checksums-Sha256: 382f7faf706138bbc6365a0caf5feb0d6928c2092883e75f5c45e8feb0f0f366 3095530 libnss-aad-dbgsym_0.2_s390x.ddeb d90bf6351a04b392722210ff88f001ce07ad5c14ab9403ddd1387ddf6d7a8370 1673816 libnss-aad_0.2_s390x.deb d5a9046eab5e8083b9c464466333cc205734565b98f5262bb87ce018b29ea4a2 4547260 libpam-aad-dbgsym_0.2_s390x.ddeb 8892d1e99ffea32ebb18d8b17de3d5755013b56d423ad32ec150b7d4afebfc77 3225350 libpam-aad_0.2_s390x.deb Build-Origin: Ubuntu Build-Architecture: s390x Build-Date: Fri, 09 Sep 2022 10:39:12 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs usr-local-has-programs Installed-Build-Depends: adduser (= 3.121ubuntu1), autoconf (= 2.71-2), automake (= 1:1.16.5-1.3), autopoint (= 0.21-8), autotools-dev (= 20220109.1), base-files (= 12.2ubuntu2), base-passwd (= 3.6.0), bash (= 5.2~rc2-2ubuntu1), binutils (= 2.39-1ubuntu1), binutils-common (= 2.39-1ubuntu1), binutils-s390x-linux-gnu (= 2.39-1ubuntu1), bsdextrautils (= 2.38-4ubuntu1), bsdutils (= 1:2.38-4ubuntu1), build-essential (= 12.9ubuntu3), bzip2 (= 1.0.8-5build1), coreutils (= 8.32-4.1ubuntu1), cpp (= 4:12.2.0-1ubuntu1), cpp-12 (= 12.2.0-2ubuntu1), dash (= 0.5.11+git20210903+057cd650a4ed-8ubuntu1), debconf (= 1.5.79ubuntu1), debhelper (= 13.9.1ubuntu1), debianutils (= 5.7-0.3), debugedit (= 1:5.0-5), dh-apport (= 2.23.0-0ubuntu1), dh-autoreconf (= 20), dh-golang (= 1.58), dh-strip-nondeterminism (= 1.13.0-1), diffutils (= 1:3.8-1), dpkg (= 1.21.9ubuntu1), dpkg-dev (= 1.21.9ubuntu1), dwz (= 0.14-1build2), file (= 1:5.41-4), findutils (= 4.9.0-3ubuntu1), g++ (= 4:12.2.0-1ubuntu1), g++-12 (= 12.2.0-2ubuntu1), gcc (= 4:12.2.0-1ubuntu1), gcc-12 (= 12.2.0-2ubuntu1), gcc-12-base (= 12.2.0-2ubuntu1), gettext (= 0.21-8), gettext-base (= 0.21-8), golang-1.19-go (= 1.19-1ubuntu2), golang-1.19-src (= 1.19-1ubuntu2), golang-go (= 2:1.19~1), golang-src (= 2:1.19~1), grep (= 3.7-1build1), groff-base (= 1.22.4-8build1), gzip (= 1.12-1ubuntu1), hostname (= 3.23ubuntu2), init-system-helpers (= 1.64), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.3.1-1), libapparmor1 (= 3.0.7-1ubuntu1), libarchive-zip-perl (= 1.68-1), libargon2-1 (= 0~20171227-0.3), libasan8 (= 12.2.0-2ubuntu1), libatomic1 (= 12.2.0-2ubuntu1), libattr1 (= 1:2.5.1-1build1), libaudit-common (= 1:3.0.7-1build1), libaudit1 (= 1:3.0.7-1build1), libbinutils (= 2.39-1ubuntu1), libblkid-dev (= 2.38-4ubuntu1), libblkid1 (= 2.38-4ubuntu1), libbz2-1.0 (= 1.0.8-5build1), libc-bin (= 2.36-0ubuntu2), libc-dev-bin (= 2.36-0ubuntu2), libc6 (= 2.36-0ubuntu2), libc6-dev (= 2.36-0ubuntu2), libcap-ng0 (= 0.8.3-1), libcap2 (= 1:2.44-1build3), libcc1-0 (= 12.2.0-2ubuntu1), libcom-err2 (= 1.46.5-2ubuntu2), libcrypt-dev (= 1:4.4.28-2), libcrypt1 (= 1:4.4.28-2), libcryptsetup12 (= 2:2.5.0-2ubuntu1), libctf-nobfd0 (= 2.39-1ubuntu1), libctf0 (= 2.39-1ubuntu1), libdb5.3 (= 5.3.28+dfsg1-0.10), libdebconfclient0 (= 0.264ubuntu1), libdebhelper-perl (= 13.9.1ubuntu1), libdevmapper1.02.1 (= 2:1.02.185-1ubuntu1), libdpkg-perl (= 1.21.9ubuntu1), libdw1 (= 0.187-2), libelf1 (= 0.187-2), libexpat1 (= 2.4.8-1), libfdisk1 (= 2.38-4ubuntu1), libffi-dev (= 3.4.2-4), libffi8 (= 3.4.2-4), libfile-stripnondeterminism-perl (= 1.13.0-1), libgcc-12-dev (= 12.2.0-2ubuntu1), libgcc-s1 (= 12.2.0-2ubuntu1), libgcrypt20 (= 1.10.1-2ubuntu1), libgdbm-compat4 (= 1.23-1), libgdbm6 (= 1.23-1), libglib2.0-0 (= 2.73.3-3), libglib2.0-bin (= 2.73.3-3), libglib2.0-data (= 2.73.3-3), libglib2.0-dev (= 2.73.3-3), libglib2.0-dev-bin (= 2.73.3-3), libgmp10 (= 2:6.2.1+dfsg1-1ubuntu2), libgomp1 (= 12.2.0-2ubuntu1), libgpg-error0 (= 1.45-2), libgssapi-krb5-2 (= 1.20-1), libicu71 (= 71.1-3), libip4tc2 (= 1.8.7-1ubuntu6), libisl23 (= 0.25-1), libitm1 (= 12.2.0-2ubuntu1), libjson-c5 (= 0.16-1), libk5crypto3 (= 1.20-1), libkeyutils1 (= 1.6.3-1), libkmod2 (= 30+20220630-3ubuntu1), libkrb5-3 (= 1.20-1), libkrb5support0 (= 1.20-1), 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_s390x.deb ------------------------ new Debian package, version 2.0. size 1673816 bytes: control archive=1723 bytes. 672 bytes, 17 lines control 270 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: s390x Maintainer: Ubuntu Developers Installed-Size: 4877 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/s390x-linux-gnu/ -rw-r--r-- root/root 18464 2022-09-09 07:48 ./usr/lib/s390x-linux-gnu/libnss_aad.so.2 drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/libexec/ -rwxr-xr-x root/root 4948112 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_s390x.deb ------------------------ new Debian package, version 2.0. size 3225350 bytes: control archive=3325 bytes. 670 bytes, 17 lines control 497 bytes, 7 lines md5sums 95 bytes, 11 lines * postinst #!/bin/sh 151 bytes, 9 lines * prerm #!/bin/sh 15389 bytes, 425 lines symbols 74 bytes, 2 lines triggers Package: libpam-aad Source: aad-auth Version: 0.2 Architecture: s390x Maintainer: Ubuntu Developers Installed-Size: 9984 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/s390x-linux-gnu/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/lib/s390x-linux-gnu/security/ -rw-r--r-- root/root 10175480 2022-09-09 07:48 ./usr/lib/s390x-linux-gnu/security/pam_aad.so drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/apport/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/apport/package-hooks/ -rw-r--r-- root/root 409 2022-09-09 07:48 ./usr/share/apport/package-hooks/libpam-aad.py drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/doc/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/doc/libpam-aad/ -rw-r--r-- root/root 560 2022-09-09 07:48 ./usr/share/doc/libpam-aad/NOTICE -rw-r--r-- root/root 630 2022-09-09 07:48 ./usr/share/doc/libpam-aad/changelog.gz -rw-r--r-- root/root 8266 2022-09-09 07:48 ./usr/share/doc/libpam-aad/copyright drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/lintian/ drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 109 2022-09-09 07:48 ./usr/share/lintian/overrides/libpam-aad drwxr-xr-x root/root 0 2022-09-09 07:48 ./usr/share/pam-configs/ -rw-r--r-- root/root 124 2022-09-09 07:48 ./usr/share/pam-configs/aad +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: s390x Build Type: any Build-Space: 111432 Build-Time: 239 Distribution: kinetic-proposed Host Architecture: s390x Install-Time: 14 Job: aad-auth_0.2.dsc Machine Architecture: s390x Package: aad-auth Package-Time: 254 Source-Version: 0.2 Space: 111432 Status: successful Version: 0.2 -------------------------------------------------------------------------------- Finished at 2022-09-09T10:39:13Z Build needed 00:04:14, 111432k disk space Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=kinetic --arch=s390x PACKAGEBUILD-24348166 Scanning for processes to kill in build PACKAGEBUILD-24348166