Diff of the two buildlogs: -- --- b1/build.log 2023-05-02 06:51:22.101000608 +0000 +++ b2/build.log 2023-05-02 06:52:03.595178648 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 3 01:11:48 -12 2024 -I: pbuilder-time-stamp: 1717420308 +I: Current time: Tue May 2 20:51:24 +14 2023 +I: pbuilder-time-stamp: 1683010284 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-secure-headers_6.3.2.orig.tar.gz] I: copying [./ruby-secure-headers_6.3.2-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Jun 25 07:55:35 2021 -12 +gpgv: Signature made Sat Jun 26 09:55:35 2021 +14 gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-secure-headers_6.3.2-1.dsc: no acceptable signature found @@ -28,135 +28,167 @@ dpkg-source: info: applying 03-fix-library-path.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3105023/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3938226/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-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 May 2 20:51 /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/3938226/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3938226/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=16' - 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=15' + 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='004e3e27713f4646a3a01be75b5ad8d7' - 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='3105023' - PS1='# ' - PS2='> ' + INVOCATION_ID=40b77a4a2c404af0a555eab612c184f1 + 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=3938226 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.MzTAenBl/pbuilderrc_myJy --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.MzTAenBl/b1 --logfile b1/build.log ruby-secure-headers_6.3.2-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.MzTAenBl/pbuilderrc_6QL1 --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.MzTAenBl/b2 --logfile b2/build.log --extrapackages usrmerge ruby-secure-headers_6.3.2-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 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 + Linux i-capture-the-hostname 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 2023 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 2023 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 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 2023 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 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 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 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 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 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 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 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 2023 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 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 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 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 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/3105023/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 11:23 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 03:20 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 00:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 00:02 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 22:35 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 04:43 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 03:33 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 02:40 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 00:02 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 00:02 more + -rwsr-xr-x 1 root root 59704 Mar 24 00:02 mount + -rwxr-xr-x 1 root root 18744 Mar 24 00:02 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:23 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 06:31 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 2 20:51 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 00:02 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 14520 Nov 3 06:31 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 22:35 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 00:02 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 00:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 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/3938226/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -360,7 +392,7 @@ Get: 154 http://deb.debian.org/debian bookworm/main amd64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 155 http://deb.debian.org/debian bookworm/main amd64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] Get: 156 http://deb.debian.org/debian bookworm/main amd64 ruby-useragent all 0.16.8-1.1 [12.0 kB] -Fetched 48.5 MB in 1s (54.8 MB/s) +Fetched 48.5 MB in 2s (30.0 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.) @@ -1007,8 +1039,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-secure-headers-6.3.2/ && 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-secure-headers_6.3.2-1_source.changes +I: user script /srv/workspace/pbuilder/3938226/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/3938226/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-secure-headers-6.3.2/ && 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-secure-headers_6.3.2-1_source.changes dpkg-buildpackage: info: source package ruby-secure-headers dpkg-buildpackage: info: source version 6.3.2-1 dpkg-buildpackage: info: source distribution unstable @@ -1042,7 +1085,7 @@ dh_auto_install --destdir=debian/ruby-secure-headers/ -O--buildsystem=ruby dh_ruby --install /build/ruby-secure-headers-6.3.2/debian/ruby-secure-headers W: DH_RUBY_GEM_INSTALL_BLACKLIST_APPEND is deprecated, please use DH_RUBY_GEM_INSTALL_EXCLUDE instead (needs gem2deb >= 1.6~) -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240603-3119606-v5346g/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230502-3947164-qgr4r0/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: license value 'Apache Public License 2.0' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. @@ -1054,7 +1097,7 @@ Name: secure_headers Version: 6.3.2 File: secure_headers-6.3.2.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-secure-headers/usr/share/rubygems-integration/all /tmp/d20240603-3119606-v5346g/secure_headers-6.3.2.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-secure-headers/usr/share/rubygems-integration/all /tmp/d20230502-3947164-qgr4r0/secure_headers-6.3.2.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-secure-headers-6.3.2/debian/ruby-secure-headers/usr/share/rubygems-integration/all/gems/secure_headers-6.3.2/lib/secure_headers.rb /build/ruby-secure-headers-6.3.2/debian/ruby-secure-headers/usr/share/rubygems-integration/all/gems/secure_headers-6.3.2/lib/secure_headers/configuration.rb @@ -1111,313 +1154,230 @@ [Coveralls] Set up the SimpleCov formatter. [Coveralls] Using SimpleCov's default settings. -Randomized with seed 39065 +Randomized with seed 25430 -SecureHeaders::XXssProtection - is expected to eq ["X-XSS-Protection", "1; mode=block; report=https://www.secure.com/reports"] - is expected to eq ["X-XSS-Protection", "1; mode=block"] - with invalid configuration - should raise an error when providing a string that is not valid - when using a hash value - should raise an error if mode != block - should raise an error if no value key is supplied - should allow string values ('1' or '0' are the only valid strings) - should raise an error if an invalid key is supplied - -SecureHeaders::XPermittedCrossDomainPolicies - is expected to eq ["X-Permitted-Cross-Domain-Policies", "none"] - is expected to eq ["X-Permitted-Cross-Domain-Policies", "master-only"] - valid configuration values - accepts 'all' - accepts 'by-ftp-filename' - accepts 'by-content-type' - accepts 'master-only' - accepts nil - invlaid configuration values - doesn't accept invalid values - -SecureHeaders::PolicyManagement - #combine_policies - combines directives where the original value is nil and the hash is frozen - does not combine the default-src value for directives that don't fall back to default sources - overrides the :block_all_mixed_content flag - overrides the report_only flag - raises an error if appending to a OPT_OUT policy - combines the default-src value with the override if the directive was unconfigured - #validate_config! - rejects unknown directives / config - accepts anything of the form allow-* as a sandbox value - requires :report_only to be a truthy value - requires :preserve_schemes to be a truthy value - requires :upgrade_insecure_requests to be a boolean value - performs light validation on source lists - requires all source lists to be an array of strings - rejects anything not of the form allow-* as a sandbox value - allows report_only to be set in a report-only config - allows nil values - accepts OPT_OUT as a script-src value - accepts all keys - rejects anything not of the form type/subtype as a plugin-type value - accepts true as a sandbox policy - accepts anything of the form type/subtype as a plugin-type value - requires :block_all_mixed_content to be a boolean value - requires a :script_src value - doesn't allow report_only to be set in a non-report-only config - requires a :default_src value - -SecureHeaders::ReferrerPolicy - is expected to eq ["Referrer-Policy", "origin-when-cross-origin"] - is expected to eq ["Referrer-Policy", "no-referrer"] - is expected to eq ["Referrer-Policy", "origin-when-cross-origin, strict-origin-when-cross-origin"] - invalid configuration values - doesn't accept invalid values - doesn't accept invalid types - valid configuration values - accepts 'unsafe-url' - accepts 'strict-origin' - accepts 'strict-origin-when-cross-origin' - accepts nil - accepts 'same-origin' - accepts 'no-referrer' - accepts 'origin' - accepts 'origin-when-cross-origin' - accepts array of policy values - accepts 'no-referrer-when-downgrade' - -SecureHeaders::XFrameOptions - #value - is expected to eq ["X-Frame-Options", "sameorigin"] - is expected to eq ["X-Frame-Options", "DENY"] - with invalid configuration - does not allow garbage - allows SAMEORIGIN - allows ALLOW-FROM* - allows DENY - -SecureHeaders::Middleware - sets the headers - respects overrides - uses named overrides - cookies - flags cookies from configuration - sets the secure cookie flag correctly on interleaved http/https requests - flags cookies with a combination of SameSite configurations - disables secure cookies for non-https requests - cookies - allows opting out of cookie protection with OPT_OUT alone - cookies should be flagged - flags cookies as secure - cookies should not be flagged - does not flags cookies as secure - -SecureHeaders::ExpectCertificateTransparency - is expected to eq "max-age=1234" - is expected to eq "enforce, max-age=1234, report-uri=\"https://report-uri.io/expect-ct\"" - is expected to eq "enforce, max-age=1234" - is expected to eq "max-age=1234, report-uri=\"https://report-uri.io/expect-ct\"" - is expected to eq "max-age=1234" - with an invalid configuration - raises an exception with an invalid enforce value - raises an exception when configuration isn't a hash - raises an exception with an invalid max-age - raises an exception when max-age is not provided +SecureHeaders::ViewHelpers + raises an error when using previously unknown hashed content with precomputed hashes for a given file + raises an error when using hashed content without precomputed hashes + avoids calling content_security_policy_nonce internally + raises an error when using hashed content with precomputed hashes, but none for the given file + adds known hash values to the corresponding headers when the helper is used -SecureHeaders::ClearSiteData - validate_config! - fails for Array of non-String config - succeeds for `nil` config - succeeds for `true` config - succeeds for opt-out config - fails for other types of config - succeeds for empty config - succeeds for Array of Strings config - make_header - returns nil with opt-out config - returns nil with empty config - returns nil with nil config - returns specified types - returns all types with `true` config - make_header_value - returns a string of quoted values that are comma separated +with an invalid configuration + raises an exception when SameSite is not configured with a Hash + raises an exception when both only and except filters are provided + raises an exception when SameSite none and strict enforcement modes are configured with booleans + raises an exception when not configured with a Hash + raises an exception when configured without a boolean(true or OPT_OUT)/Hash + raises an exception when SameSite none and lax enforcement modes are configured with booleans + raises an exception when both lax and strict only filters are provided to SameSite configurations + raises an exception when SameSite lax and strict enforcement modes are configured with booleans + raises an exception when both lax and strict only filters are provided to SameSite configurations + raises an exception when configured with false + raises an exception when both only and except filters are provided to SameSite configurations + raises an exception when SameSite lax and strict enforcement modes are configured with booleans + raises an exception when SameSite strict and lax enforcement modes are configured with booleans + raises an exception when SameSite lax and none enforcement modes are configured with booleans + raises an exception when SameSite strict and none enforcement modes are configured with booleans SecureHeaders - raises a NotYetConfiguredError if trying to opt-out of unconfigured headers - raises a AlreadyConfiguredError if trying to configure and default has already been set - raises a NotYetConfiguredError if default has not been set raises and ArgumentError when referencing an override that has not been set + raises a NotYetConfiguredError if default has not been set + raises a AlreadyConfiguredError if trying to configure and default has already been set + raises a NotYetConfiguredError if trying to opt-out of unconfigured headers #header_hash_for - Overrides the current default config if default config changes during request - allows you to opt out entirely - Carries options over when using overrides - allows you to opt out of individual headers via API - allows you to override X-Frame-Options settings does not set the HSTS header if request is over HTTP allows you to override opting out + allows you to opt out entirely + allows you to opt out of individual headers via API + Overrides the current default config if default config changes during request + Carries options over when using overrides produces a hash of headers with default config + allows you to override X-Frame-Options settings content security policy - overrides individual directives - does not support the deprecated `report_only: true` format - appends a value to csp directive - appends a hash to a missing script-src value appends a nonce to a missing script-src value - Raises an error if csp_report_only is used with `report_only: false` overrides non-existant directives appends a nonce to the script-src when used + appends a value to csp directive + appends a hash to a missing script-src value + overrides individual directives supports named appends + does not support the deprecated `report_only: true` format + Raises an error if csp_report_only is used with `report_only: false` setting two headers - allows appending to the report only policy - allows appending to both policies - allows overriding the enforced policy - sets different headers when the configs are different sets identical values when the configs are the same - allows overriding both policies - allows appending to the enforced policy allows overriding the report only policy + allows overriding both policies + allows overriding the enforced policy + allows appending to both policies allows you to opt-out of enforced CSP + allows appending to the report only policy + allows appending to the enforced policy + sets different headers when the configs are different when inferring which config to modify + updates both headers if both are configured updates the report only header when configured updates the enforced header when configured - updates both headers if both are configured validation + raises errors for unknown directives + validates your xcto config upon configuration validates your referrer_policy config upon configuration - validates your xfo config upon configuration - validates your cookies config upon configuration - validates your xdo config upon configuration validates your x_xss config upon configuration - validates your clear site data config upon configuration validates your x_permitted_cross_domain_policies config upon configuration + validates your xdo config upon configuration validates your hsts config upon configuration - raises errors for unknown directives - validates your xcto config upon configuration validates your csp config upon configuration - -SecureHeaders::ContentSecurityPolicy - #value - includes prefetch-src - supports script-src-attr directive - creates maximally strict sandbox policy when passed true - deduplicates any source expressions - supports strict-dynamic and opting out of the appended 'unsafe-inline' - does not add a directive if the value is nil - creates maximally strict sandbox policy when passed no sandbox token values - deprecates and escapes semicolons in directive source lists - minifies source expressions based on overlapping wildcards - does not remove schemes when :preserve_schemes is true - discards source expressions (besides unsafe-* and non-host source values) when * is present - removes nil from source lists - does not remove schemes from report-uri values - does add a boolean directive if the value is true - supports style-src-attr directive - does not build directives with a value of OPT_OUT (and bypasses directive requirements) - does not emit a warning when using frame-src - discards 'none' values if any other source expressions are present - deprecates and escapes semicolons in directive source lists - includes navigate-to - allows script as a require-sri-src - supports style-src-elem directive - does not add a directive if the value is an empty array (or all nil) - allows script and style as a require-sri-src - does not add a boolean directive if the value is false - removes http/s schemes from hosts - allows style as a require-sri-src - creates sandbox policy when passed valid sandbox token values - supports script-src-elem directive - uses a safe but non-breaking default value - supports strict-dynamic - #name - when in report-only mode - is expected to eq "Content-Security-Policy-Report-Only" - when in enforce mode - is expected to eq "Content-Security-Policy" - -SecureHeaders::XContentTypeOptions - #value - is expected to eq ["X-Content-Type-Options", "nosniff"] - is expected to eq ["X-Content-Type-Options", "nosniff"] - invalid configuration values - accepts nil - doesn't accept anything besides no-sniff - accepts nosniff - -SecureHeaders::Configuration - deprecates the secure_cookies configuration - gives cookies a default config - stores an override - allows me to be explicit too - has a default config - allows OPT_OUT - dup results in a copy of the default config - has an 'noop' override - #named_append - raises on configuring an existing append - raises when an override with the given name exists - #override - raises when a named append with the given name exists - raises on configuring an existing override + validates your clear site data config upon configuration + validates your cookies config upon configuration + validates your xfo config upon configuration SecureHeaders::XDownloadOptions is expected to eq ["X-Download-Options", "noopen"] is expected to eq ["X-Download-Options", "noopen"] invalid configuration values - doesn't accept anything besides noopen accepts noopen accepts nil + doesn't accept anything besides noopen -SecureHeaders::ViewHelpers - raises an error when using previously unknown hashed content with precomputed hashes for a given file - avoids calling content_security_policy_nonce internally - raises an error when using hashed content with precomputed hashes, but none for the given file - adds known hash values to the corresponding headers when the helper is used - raises an error when using hashed content without precomputed hashes +SecureHeaders::ClearSiteData + make_header + returns nil with opt-out config + returns all types with `true` config + returns specified types + returns nil with nil config + returns nil with empty config + validate_config! + succeeds for `nil` config + succeeds for Array of Strings config + succeeds for `true` config + succeeds for empty config + succeeds for opt-out config + fails for Array of non-String config + fails for other types of config + make_header_value + returns a string of quoted values that are comma separated -with an invalid configuration - raises an exception when configured without a boolean(true or OPT_OUT)/Hash - raises an exception when both only and except filters are provided to SameSite configurations - raises an exception when both only and except filters are provided - raises an exception when SameSite strict and lax enforcement modes are configured with booleans - raises an exception when both lax and strict only filters are provided to SameSite configurations - raises an exception when SameSite none and strict enforcement modes are configured with booleans - raises an exception when not configured with a Hash - raises an exception when SameSite strict and none enforcement modes are configured with booleans - raises an exception when SameSite lax and strict enforcement modes are configured with booleans - raises an exception when SameSite none and lax enforcement modes are configured with booleans - raises an exception when configured with false - raises an exception when SameSite lax and strict enforcement modes are configured with booleans - raises an exception when SameSite is not configured with a Hash - raises an exception when SameSite lax and none enforcement modes are configured with booleans - raises an exception when both lax and strict only filters are provided to SameSite configurations +SecureHeaders::ReferrerPolicy + is expected to eq ["Referrer-Policy", "origin-when-cross-origin"] + is expected to eq ["Referrer-Policy", "origin-when-cross-origin, strict-origin-when-cross-origin"] + is expected to eq ["Referrer-Policy", "no-referrer"] + valid configuration values + accepts 'origin' + accepts 'origin-when-cross-origin' + accepts 'strict-origin' + accepts 'same-origin' + accepts array of policy values + accepts 'no-referrer' + accepts 'strict-origin-when-cross-origin' + accepts 'no-referrer-when-downgrade' + accepts 'unsafe-url' + accepts nil + invalid configuration values + doesn't accept invalid values + doesn't accept invalid types + +SecureHeaders::Middleware + respects overrides + sets the headers + uses named overrides + cookies + sets the secure cookie flag correctly on interleaved http/https requests + disables secure cookies for non-https requests + flags cookies from configuration + flags cookies with a combination of SameSite configurations + cookies + allows opting out of cookie protection with OPT_OUT alone + cookies should not be flagged + does not flags cookies as secure + cookies should be flagged + flags cookies as secure + +SecureHeaders::XFrameOptions + #value + is expected to eq ["X-Frame-Options", "DENY"] + is expected to eq ["X-Frame-Options", "sameorigin"] + with invalid configuration + allows SAMEORIGIN + allows ALLOW-FROM* + allows DENY + does not allow garbage SecureHeaders::Cookie - preserves existing attributes does not tamper with cookies when using OPT_OUT is used applies httponly, secure, and samesite by default + preserves existing attributes prevents duplicate flagging of attributes - Secure cookies - when configured with a boolean - flags cookies as Secure - when configured with a Hash - flags cookies as Secure when whitelisted - does not flag cookies as Secure when excluded SameSite cookies + flags SameSite=Lax + flags SameSite=Lax when configured with a boolean flags SameSite=None - samesite: true sets all cookies to samesite=lax + flags SameSite=None when configured with a boolean + does not flag cookies as SameSite=Lax when excluded flags SameSite=Strict when configured with a boolean - flags properly when both lax and strict are configured - does not flag cookies as SameSite=None when excluded + ignores configuration if the cookie is already flagged does not flag cookies as SameSite=Strict when excluded - flags SameSite=Lax when configured with a boolean + flags properly when both lax and strict are configured flags SameSite=Strict when configured with a boolean flags SameSite=Strict - ignores configuration if the cookie is already flagged - flags SameSite=None when configured with a boolean - does not flag cookies as SameSite=Lax when excluded - flags SameSite=Lax + does not flag cookies as SameSite=None when excluded + samesite: true sets all cookies to samesite=lax HttpOnly cookies - when configured with a boolean - flags cookies as HttpOnly when configured with a Hash does not flag cookies as HttpOnly when excluded flags cookies as HttpOnly when whitelisted + when configured with a boolean + flags cookies as HttpOnly + Secure cookies + when configured with a boolean + flags cookies as Secure + when configured with a Hash + does not flag cookies as Secure when excluded + flags cookies as Secure when whitelisted + +SecureHeaders::Configuration + has an 'noop' override + has a default config + allows me to be explicit too + dup results in a copy of the default config + deprecates the secure_cookies configuration + stores an override + gives cookies a default config + allows OPT_OUT + #override + raises when a named append with the given name exists + raises on configuring an existing override + #named_append + raises on configuring an existing append + raises when an override with the given name exists + +SecureHeaders::PolicyManagement + #combine_policies + does not combine the default-src value for directives that don't fall back to default sources + combines directives where the original value is nil and the hash is frozen + overrides the :block_all_mixed_content flag + overrides the report_only flag + raises an error if appending to a OPT_OUT policy + combines the default-src value with the override if the directive was unconfigured + #validate_config! + accepts true as a sandbox policy + requires :block_all_mixed_content to be a boolean value + allows nil values + requires a :default_src value + requires :report_only to be a truthy value + doesn't allow report_only to be set in a non-report-only config + accepts anything of the form allow-* as a sandbox value + performs light validation on source lists + rejects unknown directives / config + requires :upgrade_insecure_requests to be a boolean value + allows report_only to be set in a report-only config + requires a :script_src value + accepts anything of the form type/subtype as a plugin-type value + requires :preserve_schemes to be a truthy value + requires all source lists to be an array of strings + accepts all keys + rejects anything not of the form type/subtype as a plugin-type value + rejects anything not of the form allow-* as a sandbox value + accepts OPT_OUT as a script-src value SecureHeaders::StrictTransportSecurity #value @@ -1425,14 +1385,97 @@ is expected to eq ["Strict-Transport-Security", "max-age=631138519"] with an invalid configuration with a string argument + raises an exception with an invalid format raises an exception if max-age is not supplied raises an exception with an invalid max-age - raises an exception with an invalid format -Finished in 0.46943 seconds (files took 1.53 seconds to load) +SecureHeaders::XPermittedCrossDomainPolicies + is expected to eq ["X-Permitted-Cross-Domain-Policies", "none"] + is expected to eq ["X-Permitted-Cross-Domain-Policies", "master-only"] + valid configuration values + accepts 'all' + accepts nil + accepts 'by-ftp-filename' + accepts 'by-content-type' + accepts 'master-only' + invlaid configuration values + doesn't accept invalid values + +SecureHeaders::XContentTypeOptions + #value + is expected to eq ["X-Content-Type-Options", "nosniff"] + is expected to eq ["X-Content-Type-Options", "nosniff"] + invalid configuration values + doesn't accept anything besides no-sniff + accepts nil + accepts nosniff + +SecureHeaders::XXssProtection + is expected to eq ["X-XSS-Protection", "1; mode=block; report=https://www.secure.com/reports"] + is expected to eq ["X-XSS-Protection", "1; mode=block"] + with invalid configuration + should raise an error when providing a string that is not valid + when using a hash value + should raise an error if no value key is supplied + should allow string values ('1' or '0' are the only valid strings) + should raise an error if an invalid key is supplied + should raise an error if mode != block + +SecureHeaders::ContentSecurityPolicy + #value + supports script-src-elem directive + removes http/s schemes from hosts + does not remove schemes from report-uri values + uses a safe but non-breaking default value + discards 'none' values if any other source expressions are present + creates maximally strict sandbox policy when passed no sandbox token values + does not add a directive if the value is an empty array (or all nil) + supports style-src-elem directive + creates maximally strict sandbox policy when passed true + includes navigate-to + removes nil from source lists + does add a boolean directive if the value is true + includes prefetch-src + supports style-src-attr directive + does not add a boolean directive if the value is false + discards source expressions (besides unsafe-* and non-host source values) when * is present + deduplicates any source expressions + supports script-src-attr directive + allows script and style as a require-sri-src + allows script as a require-sri-src + supports strict-dynamic and opting out of the appended 'unsafe-inline' + does not emit a warning when using frame-src + deprecates and escapes semicolons in directive source lists + minifies source expressions based on overlapping wildcards + creates sandbox policy when passed valid sandbox token values + does not build directives with a value of OPT_OUT (and bypasses directive requirements) + does not add a directive if the value is nil + supports strict-dynamic + deprecates and escapes semicolons in directive source lists + does not remove schemes when :preserve_schemes is true + allows style as a require-sri-src + #name + when in enforce mode + is expected to eq "Content-Security-Policy" + when in report-only mode + is expected to eq "Content-Security-Policy-Report-Only" + +SecureHeaders::ExpectCertificateTransparency + is expected to eq "max-age=1234, report-uri=\"https://report-uri.io/expect-ct\"" + is expected to eq "max-age=1234" + is expected to eq "enforce, max-age=1234" + is expected to eq "enforce, max-age=1234, report-uri=\"https://report-uri.io/expect-ct\"" + is expected to eq "max-age=1234" + with an invalid configuration + raises an exception when max-age is not provided + raises an exception when configuration isn't a hash + raises an exception with an invalid max-age + raises an exception with an invalid enforce value + +Finished in 0.18949 seconds (files took 0.54075 seconds to load) 240 examples, 0 failures -Randomized with seed 39065 +Randomized with seed 25430 [Coveralls] Outside the CI environment, not sending data. @@ -1465,12 +1508,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3938226/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3938226/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/3105023 and its subdirectories -I: Current time: Mon Jun 3 01:14:21 -12 2024 -I: pbuilder-time-stamp: 1717420461 +I: removing directory /srv/workspace/pbuilder/3938226 and its subdirectories +I: Current time: Tue May 2 20:52:02 +14 2023 +I: pbuilder-time-stamp: 1683010322