Diff of the two buildlogs: -- --- b1/build.log 2023-05-18 15:00:48.163098555 +0000 +++ b2/build.log 2023-05-18 15:01:29.933258598 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 18 02:58:22 -12 2023 -I: pbuilder-time-stamp: 1684421902 +I: Current time: Thu Jun 20 11:23:50 +14 2024 +I: pbuilder-time-stamp: 1718832230 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-chef-config_16.12.3.orig.tar.gz] I: copying [./ruby-chef-config_16.12.3-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Jun 12 19:19:19 2021 -12 +gpgv: Signature made Sun Jun 13 21:19:19 2021 +14 gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-chef-config_16.12.3-2.dsc: no acceptable signature found @@ -25,135 +25,167 @@ dpkg-source: info: unpacking ruby-chef-config_16.12.3-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2713596/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4020076/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 20 11:23 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/4020076/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4020076/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='60413774551345e2be9f3f0f1ffe8d8b' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2713596' - PS1='# ' - PS2='> ' + INVOCATION_ID=e9823a5aae3145648bfd0ca3ee7acd9d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4020076 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.gcKDGOl5/pbuilderrc_Fuw3 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gcKDGOl5/b1 --logfile b1/build.log ruby-chef-config_16.12.3-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.gcKDGOl5/pbuilderrc_xaEE --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gcKDGOl5/b2 --logfile b2/build.log --extrapackages usrmerge ruby-chef-config_16.12.3-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/2713596/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 20 11:23 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/4020076/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -350,7 +382,7 @@ Get: 137 http://deb.debian.org/debian bookworm/main amd64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.5 kB] Get: 138 http://deb.debian.org/debian bookworm/main amd64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 139 http://deb.debian.org/debian bookworm/main amd64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] -Fetched 47.0 MB in 1s (33.5 MB/s) +Fetched 47.0 MB in 1s (42.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19596 files and directories currently installed.) @@ -929,8 +961,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-chef-config-16.12.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-chef-config_16.12.3-2_source.changes +I: user script /srv/workspace/pbuilder/4020076/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/4020076/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-chef-config-16.12.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-chef-config_16.12.3-2_source.changes dpkg-buildpackage: info: source package ruby-chef-config dpkg-buildpackage: info: source version 16.12.3-2 dpkg-buildpackage: info: source distribution unstable @@ -959,7 +1002,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-chef-config/ -O--buildsystem=ruby dh_ruby --install /build/ruby-chef-config-16.12.3/debian/ruby-chef-config -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230518-2739708-gj6pke/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240620-4027949-d2ugd1/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on fuzzyurl (>= 0) is not recommended use a bounded requirement, such as '~> x.y' @@ -970,7 +1013,7 @@ Name: chef-config Version: 16.12.3 File: chef-config-16.12.3.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-chef-config/usr/share/rubygems-integration/all /tmp/d20230518-2739708-gj6pke/chef-config-16.12.3.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-chef-config/usr/share/rubygems-integration/all /tmp/d20240620-4027949-d2ugd1/chef-config-16.12.3.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-chef-config-16.12.3/debian/ruby-chef-config/usr/share/rubygems-integration/all/gems/chef-config-16.12.3/lib/chef-config.rb /build/ruby-chef-config-16.12.3/debian/ruby-chef-config/usr/share/rubygems-integration/all/gems/chef-config-16.12.3/lib/chef-config/config.rb @@ -1020,81 +1063,16 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 19641 +Randomized with seed 59370 -ChefConfig::PathHelper - windows_max_length_exceeded? - returns false if the path is over 259 characters but uses the \\?\ prefix - returns false if the path is not too long (259 + NUL) for the standard API - returns true if the path is too long (259 + NUL) for the API - canonical_path - not on windows - returns a canonical path - forcing windows/non-windows - forcing unix - cleanpath removes extra slashes alone - cleanpath changes backslashes into slashes and leaves slashes alone - cleanpath does not remove leading double backslash - path_separator is / - platform-specific #join behavior - joins components that don't end in separators - joins components when some end with separators - joins components when some end and start with separators - forcing windows - cleanpath changes slashes into backslashes and leaves backslashes alone - path_separator is \ - cleanpath does not remove leading double backslash - platform-specific #join behavior - joins components when some end with separators - joins components when some end and start with separators - joins components that don't end in separators - joins components on Windows when some end with unix separators - escape_glob - escapes characters reserved by glob - when given more than one argument - joins, cleanpaths, and escapes characters reserved by glob - common functionality - dirname - dirname('a/b/c') is 'a/b' - dirname('/a/b/c') is '/a/b' - dirname('abc') is '.' - dirname('/') is '/' - dirname('a/b/c/') is 'a/b' - join - joins starting with '' resolve to absolute paths - joins ending with '' add a / to the end - paths_eql? - returns false if the paths are different - returns true if the paths are the same - on unix - cleanpath removes extra slashes alone - cleanpath does not remove leading double backslash - path_separator is / - cleanpath changes backslashes into slashes and leaves slashes alone - platform-specific #join behavior - joins components when some end and start with separators - joins components when some end with separators - joins components that don't end in separators - escape_glob_dir - escapes characters reserved by glob without using backslashes for path separators - when given more than one argument - joins, cleanpaths, and escapes characters reserved by glob - all_homes - on unix - when HOME is not set - returns an empty array - validate_path - on windows - returns the path if the path passes the tests - raises an error if the path has invalid characters - does not raise an error if everything looks great - Adds the \\?\ prefix if the path exceeds MAX_LENGTH and does not have it - printable? - returns true when given 'abc' in unicode - returns true when given japanese unicode - returns false if the string contains a non-printable character - returns false if the string contains a newline or tab - returns true if the string contains no non-printable characters +ChefConfig.fips? + on *nix + fips file is present and contains 1 + returns true + fips file does not contain 1 + returns false + fips file is not present + returns false ChefConfig::Config validation_client_name @@ -1102,388 +1080,453 @@ sets the validation client to chef-validator with a normal server URL sets the validation client to myorg-validator - On Unix - ChefConfig::Config[:internal_locale] - on error - should default to 'en_US.UTF-8' - when the result does not include 'en_*.UTF-8' - should fall back to C locale - when the result includes 'en_US.UTF-8' - returns an English UTF-8 locale - when the result includes 'en_*.utf8' - returns an English UTF-8 locale - when the result includes 'en_*.UTF-8' - returns an English UTF-8 locale - when the result includes 'en_US.utf8' - returns an English UTF-8 locale - when the result includes 'C.UTF-8' - returns an English UTF-8 locale - when the result includes 'en.UTF-8' - returns an English UTF-8 locale - class method: platform_specific_path - should return given path on non-windows systems + config attribute writer: chef_server_url + sets the server url + when the url is invalid + raises an exception + when the url has a leading space + strips the space from the url when setting + when the url is a frozen string + strips the space from the url when setting without raising an error + data collector URL + when using default settings + for Chef Solo legacy mode + sets the data collector server URL to nil + for local mode + sets the data collector server URL to nil + for Chef Client + configures the data collector URL as a relative path to the Chef Server URL + Treating deprecation warnings as errors + outside of our test environment + defaults to NOT treating deprecation warnings as errors + when using our default RSpec configuration + sets CHEF_TREAT_DEPRECATION_WARNINGS_AS_ERRORS environment variable + treats deprecation warnings as errors in child processes when testing + defaults to treating deprecation warnings as errors + #var_chef_path + when forced to unix + etc_chef_dir is /etc/chef + var_root_dir is /var + var_chef_dir is /var/chef + on unix + var_root_dir is /var + etc_chef_dir is /etc/chef + var_chef_dir is /var/chef + when forced to windows + var_root_dir is C:\ + etc_chef_dir is C:\chef + var_chef_dir is C:\chef + when configuring formatters + configures a formatter with a short name + configures a formatter with a file output + has an empty list of formatters by default + export_proxies + when the proxy is provided without a scheme +/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ + automatically adds the scheme to the proxy url + when nothing is set + does not export any proxy settings + when proxy_pass and proxy_user are not provided +/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ + does not populate the user or password + when proxy_pass and proxy_user are passed as empty strings +/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ + does not populate the user or password + when all the users and passwords are set but no proxies are set + does not export any proxy settings + when ftp_proxy, proxy_pass and proxy_user are set +/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ + exports ENV['ftp_proxy'] + no_proxy is set + exports ENV['no_proxy'] + when http_proxy, proxy_pass and proxy_user are set +/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ + exports ENV['http_proxy'] + when https_proxy, proxy_pass and proxy_user are set +/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ + exports ENV['https_proxy'] + On Windows + ChefConfig::Config[:event_handlers] + should be able to add custom handlers + sets a event_handlers to an empty array by default default values + ChefConfig::Config[:environment_path] defaults to /var/chef/environments ChefConfig::Config[:file_backup_path] defaults to /var/chef/backup - ChefConfig::Config[:cookbook_artifact_path] defaults to /var/chef/cookbook_artifacts - ChefConfig::Config[:data_bag_path] defaults to /var/chef/data_bags ChefConfig::Config[:ssl_verify_mode] defaults to :verify_peer - ChefConfig::Config[:ssl_ca_path] defaults to nil ChefConfig::Config[:show_download_progress] defaults to false - ChefConfig::Config[:ssl_ca_file] defaults to nil - ChefConfig::Config[:environment_path] defaults to /var/chef/environments - ChefConfig::Config[:stream_execute_output] defaults to false ChefConfig::Config[:download_progress_interval] defaults to every 10% - ChefConfig::Config[:fips] - returns false when no environment is set and not enabled on system - when ENV['CHEF_FIPS'] is set - returns true - when fips is enabled on system - returns true - when ENV['CHEF_FIPS'] is empty - returns false - ChefConfig::Config[:client_key] - sets the default path to the client key - when target mode is enabled - sets the default path to the client key with the target host name - when local mode is enabled - returns nil + ChefConfig::Config[:data_bag_path] defaults to /var/chef/data_bags + ChefConfig::Config[:ssl_ca_path] defaults to nil + ChefConfig::Config[:stream_execute_output] defaults to false + ChefConfig::Config[:cookbook_artifact_path] defaults to /var/chef/cookbook_artifacts + finding the windows embedded dir + doesn't error when not in an omnibus install + finds the embedded dir in the default location + finds the embedded dir in a custom install location + sets the ssl_ca_cert path if the cert file is available + ChefConfig::Config[:cache_path] + when /var/chef exists and is not accessible + defaults to $HOME/.chef + and target mode is enabled + cache path defaults to $HOME/.chef with the target host name + when chef is running in local mode + and config_dir is /a/b/c + cache_path is /a/b/c/local-mode-cache + and config_dir is /a/b/c/ + cache_path is /a/b/c/local-mode-cache + when /var/chef exists and is accessible + defaults to /var/chef + and target mode is enabled + cache path includes the target host name + when /var/chef does not exist and /var is not accessible + defaults to $HOME/.chef + when /var/chef does not exist and /var is accessible + defaults to /var/chef setting the config dir + when the user's home dir is windows specific + config_dir is with backslashes + and chef is running in local mode + config_dir is with backslashes + when the config file is given with a relative path + expands the path when determining config_dir + does not set derived paths at FS root when the config file is /etc/chef/client.rb config_dir is /etc/chef - and chef is running in local mode - config_dir is /etc/chef when config_dir is set to /other/config/dir/ yields the explicit value - when the config file is given with a relative path - does not set derived paths at FS root - expands the path when determining config_dir + and chef is running in local mode + config_dir is /etc/chef when the user's home dir is /home/charlie/ config_dir is /home/charlie/.chef/ and chef is running in local mode config_dir is /home/charlie/.chef/ - ChefConfig::Config[:repo_mode] - when local mode is enabled - defaults to 'hosted_everything' - and osc_compat is enabled - defaults to 'everything' - when local mode is not enabled - and the chef_server_url is multi-tenant - defaults to 'hosted_everything' - and the chef_server_url is not multi-tenant - defaults to 'everything' ChefConfig::Config[:chef_repo_path] + when cookbook_path is set to multiple paths + is set to an Array of paths one directory up from the cookbook_paths when cookbook_path is set to a single path is set to a path one directory up from the cookbook_path when cookbook_path is not set but cookbook_artifact_path is set is set to a path one directory up from the cookbook_artifact_path when cookbook_path is not set is set to the cache_path - when cookbook_path is set to multiple paths - is set to an Array of paths one directory up from the cookbook_paths + ChefConfig::Config[:fips] + returns false when no environment is set and not enabled on system + when ENV['CHEF_FIPS'] is empty + returns false + when fips is enabled on system + returns true + when ENV['CHEF_FIPS'] is set + returns true + ChefConfig::Config[:repo_mode] + when local mode is not enabled + and the chef_server_url is not multi-tenant + defaults to 'everything' + and the chef_server_url is multi-tenant + defaults to 'hosted_everything' + when local mode is enabled + defaults to 'hosted_everything' + and osc_compat is enabled + defaults to 'everything' ChefConfig::Config[:chef_server_root] - when chef_server_url matches '../organizations/*' with a trailing slash + when chef_server_url matches '../organizations/*' without a trailing slash returns the full URL without /organizations/* - when chef_server_url isn't set manually - returns the default of 'https://localhost:443' - when chef_server_url is a standard URL without the string organization(s) - returns the full URL without any modifications when chef_server_url matches '..organizations..' but not '../organizations/*' returns the full URL without any modifications - when chef_server_url matches '../organizations/*' without a trailing slash + when chef_server_url matches '../organizations/*' with a trailing slash returns the full URL without /organizations/* - ChefConfig::Config[:cache_path] - when /var/chef exists and is accessible - defaults to /var/chef - and target mode is enabled - cache path includes the target host name - when chef is running in local mode - and config_dir is /a/b/c/ - cache_path is /a/b/c/local-mode-cache - and config_dir is /a/b/c - cache_path is /a/b/c/local-mode-cache - when /var/chef does not exist and /var is not accessible - defaults to $HOME/.chef - when /var/chef does not exist and /var is accessible - defaults to /var/chef - when /var/chef exists and is not accessible - defaults to $HOME/.chef - and target mode is enabled - cache path defaults to $HOME/.chef with the target host name - ChefConfig::Config[:event_handlers] - should be able to add custom handlers - sets a event_handlers to an empty array by default + when chef_server_url is a standard URL without the string organization(s) + returns the full URL without any modifications + when chef_server_url isn't set manually + returns the default of 'https://localhost:443' + ChefConfig::Config[:client_key] + sets the default path to the client key + when local mode is enabled + returns nil + when target mode is enabled + sets the default path to the client key with the target host name + class method: windows_installation_drive + should return D: on a windows system + class method: platform_specific_path + a windows system with chef installed on D: drive + should return a windows path rooted in D: + a windows system with chef installed on C: drive + should return a windows path rooted in C: ChefConfig::Config[:user_valid_regex] on a platform that is not Windows allows one letter usernames - class method: windows_installation_drive - should return nil on a non-windows system ChefConfig::Config[:user_home] - should set when HOME is provided falls back to the current working directory when HOME and USERPROFILE is not set + should set when HOME is provided ChefConfig::Config[:encrypted_data_bag_secret] /etc/chef/encrypted_data_bag_secret does not exist sets the value to nil /etc/chef/encrypted_data_bag_secret exists sets the value to /etc/chef/encrypted_data_bag_secret + ChefConfig::Config[:internal_locale] + when the result includes 'en_*.UTF-8' + returns an English UTF-8 locale + when the result includes 'en_US.UTF-8' + returns an English UTF-8 locale + when the result includes 'en.UTF-8' + returns an English UTF-8 locale + when the result includes 'C.UTF-8' + returns an English UTF-8 locale + when the result includes 'en_*.utf8' + returns an English UTF-8 locale + when the result does not include 'en_*.UTF-8' + should fall back to C locale + on error + should default to 'en_US.UTF-8' + when the result includes 'en_US.utf8' + returns an English UTF-8 locale + parsing arbitrary config from the CLI + when given a boolean + converts to a boolean type and applies the config option + when given a simple string option + applies the string option + expand relative paths + when passes multiple cookbook_paths in config options + expanded paths + when passes multiple config options + expanded paths + when given cookbook_path + expanded cookbook_path + when given an integer value + converts to a numeric type and applies the config option + when given spaces between `key = value` + handles the extra spaces and applies the config option + when given a blank value + sets the value to nil + when no arbitrary config is given + succeeds + when given input that is not in key=value form + raises UnparsableConfigOption allowing chefdk configuration outside of chefdk allows arbitrary settings in the chefdk config context proxy_uri when no_proxy is set when no_proxy is included on a list is expected to eq nil - when no_proxy is a domain with a dot prefix - is expected to eq nil - when no_proxy includes the same domain with a wildcard - is expected to eq nil when no_proxy is a domain with no wildcard is expected to eq nil when no_proxy is included on a list with wildcards is expected to eq nil + when no_proxy is a domain with a dot prefix + is expected to eq nil when no_proxy is the exact host is expected to eq nil + when no_proxy includes the same domain with a wildcard + is expected to eq nil + when an empty proxy is set by the environment + does not fail with URI parse exception when the proxy is set by the environment contains the port contains the host - when an empty proxy is set by the environment - does not fail with URI parse exception when the config setting is normalized (does not contain the scheme) - contains the port contains the host - export_proxies - when proxy_pass and proxy_user are not provided -/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ - does not populate the user or password - when all the users and passwords are set but no proxies are set - does not export any proxy settings - when nothing is set - does not export any proxy settings - when https_proxy, proxy_pass and proxy_user are set -/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ - exports ENV['https_proxy'] - when the proxy is provided without a scheme -/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ - automatically adds the scheme to the proxy url - when ftp_proxy, proxy_pass and proxy_user are set -/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ - exports ENV['ftp_proxy'] - when proxy_pass and proxy_user are passed as empty strings -/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ - does not populate the user or password - when http_proxy, proxy_pass and proxy_user are set -/usr/share/rubygems-integration/all/gems/addressable-2.8.1/lib/addressable/uri.rb:417: warning: character class has duplicated range: /[^a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:\@\[\:\]]/ - exports ENV['http_proxy'] - no_proxy is set - exports ENV['no_proxy'] - when configuring formatters - configures a formatter with a short name - has an empty list of formatters by default - configures a formatter with a file output - #var_chef_path - when forced to unix - etc_chef_dir is /etc/chef - var_chef_dir is /var/chef - var_root_dir is /var - on unix - etc_chef_dir is /etc/chef - var_root_dir is /var - var_chef_dir is /var/chef - when forced to windows - var_chef_dir is C:\chef - etc_chef_dir is C:\chef - var_root_dir is C:\ - Treating deprecation warnings as errors - outside of our test environment - defaults to NOT treating deprecation warnings as errors - when using our default RSpec configuration - treats deprecation warnings as errors in child processes when testing - defaults to treating deprecation warnings as errors - sets CHEF_TREAT_DEPRECATION_WARNINGS_AS_ERRORS environment variable - config attribute writer: chef_server_url - sets the server url - when the url is invalid - raises an exception - when the url has a leading space - strips the space from the url when setting - when the url is a frozen string - strips the space from the url when setting without raising an error - On Windows + contains the port + On Unix + ChefConfig::Config[:user_valid_regex] + on a platform that is not Windows + allows one letter usernames default values ChefConfig::Config[:ssl_ca_path] defaults to nil - ChefConfig::Config[:ssl_verify_mode] defaults to :verify_peer - ChefConfig::Config[:file_backup_path] defaults to /var/chef/backup - ChefConfig::Config[:data_bag_path] defaults to /var/chef/data_bags ChefConfig::Config[:download_progress_interval] defaults to every 10% - ChefConfig::Config[:cookbook_artifact_path] defaults to /var/chef/cookbook_artifacts - ChefConfig::Config[:environment_path] defaults to /var/chef/environments ChefConfig::Config[:show_download_progress] defaults to false + ChefConfig::Config[:ssl_ca_file] defaults to nil ChefConfig::Config[:stream_execute_output] defaults to false - ChefConfig::Config[:repo_mode] - when local mode is not enabled - and the chef_server_url is not multi-tenant - defaults to 'everything' - and the chef_server_url is multi-tenant - defaults to 'hosted_everything' + ChefConfig::Config[:cookbook_artifact_path] defaults to /var/chef/cookbook_artifacts + ChefConfig::Config[:ssl_verify_mode] defaults to :verify_peer + ChefConfig::Config[:environment_path] defaults to /var/chef/environments + ChefConfig::Config[:data_bag_path] defaults to /var/chef/data_bags + ChefConfig::Config[:file_backup_path] defaults to /var/chef/backup + ChefConfig::Config[:client_key] + sets the default path to the client key when local mode is enabled - defaults to 'hosted_everything' - and osc_compat is enabled - defaults to 'everything' + returns nil + when target mode is enabled + sets the default path to the client key with the target host name ChefConfig::Config[:chef_server_root] - when chef_server_url matches '..organizations..' but not '../organizations/*' - returns the full URL without any modifications when chef_server_url is a standard URL without the string organization(s) returns the full URL without any modifications - when chef_server_url matches '../organizations/*' without a trailing slash - returns the full URL without /organizations/* + when chef_server_url matches '..organizations..' but not '../organizations/*' + returns the full URL without any modifications when chef_server_url matches '../organizations/*' with a trailing slash returns the full URL without /organizations/* + when chef_server_url matches '../organizations/*' without a trailing slash + returns the full URL without /organizations/* when chef_server_url isn't set manually returns the default of 'https://localhost:443' - ChefConfig::Config[:fips] - returns false when no environment is set and not enabled on system - when fips is enabled on system - returns true - when ENV['CHEF_FIPS'] is empty - returns false - when ENV['CHEF_FIPS'] is set - returns true setting the config dir - when the config file is /etc/chef/client.rb - config_dir is /etc/chef - and chef is running in local mode - config_dir is /etc/chef - when config_dir is set to /other/config/dir/ - yields the explicit value when the config file is given with a relative path - does not set derived paths at FS root expands the path when determining config_dir + does not set derived paths at FS root when the user's home dir is /home/charlie/ config_dir is /home/charlie/.chef/ and chef is running in local mode config_dir is /home/charlie/.chef/ - when the user's home dir is windows specific - config_dir is with backslashes + when the config file is /etc/chef/client.rb + config_dir is /etc/chef + when config_dir is set to /other/config/dir/ + yields the explicit value and chef is running in local mode - config_dir is with backslashes - ChefConfig::Config[:client_key] - sets the default path to the client key - when target mode is enabled - sets the default path to the client key with the target host name + config_dir is /etc/chef + ChefConfig::Config[:fips] + returns false when no environment is set and not enabled on system + when ENV['CHEF_FIPS'] is set + returns true + when fips is enabled on system + returns true + when ENV['CHEF_FIPS'] is empty + returns false + ChefConfig::Config[:repo_mode] when local mode is enabled - returns nil - finding the windows embedded dir - finds the embedded dir in the default location - finds the embedded dir in a custom install location - sets the ssl_ca_cert path if the cert file is available - doesn't error when not in an omnibus install + defaults to 'hosted_everything' + and osc_compat is enabled + defaults to 'everything' + when local mode is not enabled + and the chef_server_url is not multi-tenant + defaults to 'everything' + and the chef_server_url is multi-tenant + defaults to 'hosted_everything' ChefConfig::Config[:cache_path] + when /var/chef exists and is not accessible + defaults to $HOME/.chef + and target mode is enabled + cache path defaults to $HOME/.chef with the target host name + when /var/chef does not exist and /var is not accessible + defaults to $HOME/.chef when chef is running in local mode and config_dir is /a/b/c cache_path is /a/b/c/local-mode-cache and config_dir is /a/b/c/ cache_path is /a/b/c/local-mode-cache - when /var/chef does not exist and /var is not accessible - defaults to $HOME/.chef when /var/chef does not exist and /var is accessible defaults to /var/chef - when /var/chef exists and is not accessible - defaults to $HOME/.chef - and target mode is enabled - cache path defaults to $HOME/.chef with the target host name when /var/chef exists and is accessible defaults to /var/chef and target mode is enabled cache path includes the target host name ChefConfig::Config[:chef_repo_path] - when cookbook_path is not set - is set to the cache_path - when cookbook_path is set to multiple paths - is set to an Array of paths one directory up from the cookbook_paths when cookbook_path is not set but cookbook_artifact_path is set is set to a path one directory up from the cookbook_artifact_path + when cookbook_path is set to multiple paths + is set to an Array of paths one directory up from the cookbook_paths + when cookbook_path is not set + is set to the cache_path when cookbook_path is set to a single path is set to a path one directory up from the cookbook_path - class method: platform_specific_path - a windows system with chef installed on C: drive - should return a windows path rooted in C: - a windows system with chef installed on D: drive - should return a windows path rooted in D: + ChefConfig::Config[:encrypted_data_bag_secret] + /etc/chef/encrypted_data_bag_secret exists + sets the value to /etc/chef/encrypted_data_bag_secret + /etc/chef/encrypted_data_bag_secret does not exist + sets the value to nil ChefConfig::Config[:user_home] should set when HOME is provided falls back to the current working directory when HOME and USERPROFILE is not set ChefConfig::Config[:event_handlers] - should be able to add custom handlers sets a event_handlers to an empty array by default + should be able to add custom handlers ChefConfig::Config[:internal_locale] - when the result does not include 'en_*.UTF-8' - should fall back to C locale - on error - should default to 'en_US.UTF-8' - when the result includes 'en_*.UTF-8' + when the result includes 'en_*.utf8' returns an English UTF-8 locale - when the result includes 'C.UTF-8' + when the result includes 'en.UTF-8' returns an English UTF-8 locale when the result includes 'en_US.UTF-8' returns an English UTF-8 locale - when the result includes 'en_*.utf8' - returns an English UTF-8 locale - when the result includes 'en.UTF-8' + on error + should default to 'en_US.UTF-8' + when the result does not include 'en_*.UTF-8' + should fall back to C locale + when the result includes 'en_*.UTF-8' returns an English UTF-8 locale when the result includes 'en_US.utf8' returns an English UTF-8 locale - ChefConfig::Config[:user_valid_regex] - on a platform that is not Windows - allows one letter usernames + when the result includes 'C.UTF-8' + returns an English UTF-8 locale class method: windows_installation_drive - should return D: on a windows system - ChefConfig::Config[:encrypted_data_bag_secret] - /etc/chef/encrypted_data_bag_secret exists - sets the value to /etc/chef/encrypted_data_bag_secret - /etc/chef/encrypted_data_bag_secret does not exist - sets the value to nil - data collector URL - when using default settings - for Chef Client - configures the data collector URL as a relative path to the Chef Server URL - for Chef Solo legacy mode - sets the data collector server URL to nil - for local mode - sets the data collector server URL to nil - parsing arbitrary config from the CLI - when given spaces between `key = value` - handles the extra spaces and applies the config option - when given a simple string option - applies the string option - when no arbitrary config is given - succeeds - when given an integer value - converts to a numeric type and applies the config option - when given a boolean - converts to a boolean type and applies the config option - expand relative paths - when passes multiple config options - expanded paths - when passes multiple cookbook_paths in config options - expanded paths - when given cookbook_path - expanded cookbook_path - when given a blank value - sets the value to nil - when given input that is not in key=value form - raises UnparsableConfigOption + should return nil on a non-windows system + class method: platform_specific_path + should return given path on non-windows systems -ChefConfig.fips? - on *nix - fips file is present and contains 1 - returns true - fips file does not contain 1 - returns false - fips file is not present - returns false +ChefConfig::PathHelper + paths_eql? + returns true if the paths are the same + returns false if the paths are different + printable? + returns true if the string contains no non-printable characters + returns true when given japanese unicode + returns true when given 'abc' in unicode + returns false if the string contains a non-printable character + returns false if the string contains a newline or tab + common functionality + dirname + dirname('abc') is '.' + dirname('a/b/c/') is 'a/b' + dirname('/') is '/' + dirname('/a/b/c') is '/a/b' + dirname('a/b/c') is 'a/b' + join + joins starting with '' resolve to absolute paths + joins ending with '' add a / to the end + windows_max_length_exceeded? + returns true if the path is too long (259 + NUL) for the API + returns false if the path is over 259 characters but uses the \\?\ prefix + returns false if the path is not too long (259 + NUL) for the standard API + escape_glob_dir + escapes characters reserved by glob without using backslashes for path separators + when given more than one argument + joins, cleanpaths, and escapes characters reserved by glob + canonical_path + not on windows + returns a canonical path + on unix + cleanpath changes backslashes into slashes and leaves slashes alone + cleanpath does not remove leading double backslash + path_separator is / + cleanpath removes extra slashes alone + platform-specific #join behavior + joins components when some end with separators + joins components that don't end in separators + joins components when some end and start with separators + all_homes + on unix + when HOME is not set + returns an empty array + escape_glob + escapes characters reserved by glob + when given more than one argument + joins, cleanpaths, and escapes characters reserved by glob + forcing windows/non-windows + forcing windows + cleanpath does not remove leading double backslash + path_separator is \ + cleanpath changes slashes into backslashes and leaves backslashes alone + platform-specific #join behavior + joins components when some end with separators + joins components on Windows when some end with unix separators + joins components when some end and start with separators + joins components that don't end in separators + forcing unix + cleanpath removes extra slashes alone + cleanpath does not remove leading double backslash + cleanpath changes backslashes into slashes and leaves slashes alone + path_separator is / + platform-specific #join behavior + joins components when some end and start with separators + joins components that don't end in separators + joins components when some end with separators + validate_path + on windows + returns the path if the path passes the tests + does not raise an error if everything looks great + Adds the \\?\ prefix if the path exceeds MAX_LENGTH and does not have it + raises an error if the path has invalid characters -Finished in 1.27 seconds (files took 1.19 seconds to load) +Finished in 0.35989 seconds (files took 0.4302 seconds to load) 237 examples, 0 failures -Randomized with seed 19641 +Randomized with seed 59370 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1515,12 +1558,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/4020076/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4020076/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2713596 and its subdirectories -I: Current time: Thu May 18 03:00:47 -12 2023 -I: pbuilder-time-stamp: 1684422047 +I: removing directory /srv/workspace/pbuilder/4020076 and its subdirectories +I: Current time: Thu Jun 20 11:24:30 +14 2024 +I: pbuilder-time-stamp: 1718832270