Diff of the two buildlogs: -- --- b1/build.log 2024-04-26 03:38:43.638595832 +0000 +++ b2/build.log 2024-04-26 03:42:01.562159907 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 25 15:36:11 -12 2024 -I: pbuilder-time-stamp: 1714102571 +I: Current time: Fri Apr 26 17:38:54 +14 2024 +I: pbuilder-time-stamp: 1714102734 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying 0001-Don-t-use-bundle-in-the-test-suite.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28616/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23559/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4b. +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 Apr 26 03:39 /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/23559/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23559/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='dcbeefbf631d43c797747a5fdc259db2' - 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='28616' - PS1='# ' - PS2='> ' + INVOCATION_ID=9f701ea4618b46cfa0cc71a5da9ed618 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=23559 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.f83Q6s0t/pbuilderrc_m0LM --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.f83Q6s0t/b1 --logfile b1/build.log camo_2.3.0+dfsg-1.1.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.f83Q6s0t/pbuilderrc_ztZO --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.f83Q6s0t/b2 --logfile b2/build.log camo_2.3.0+dfsg-1.1.dsc' + SUDO_GID=116 + SUDO_UID=112 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64a 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-armmp #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 25 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/28616/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 22 07:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/23559/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -196,7 +228,7 @@ Get: 74 http://deb.debian.org/debian unstable/main armhf ruby-rack all 2.2.7-1 [132 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf ruby-rest-client all 2.1.0-3 [46.0 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf thin armhf 1.8.1-2+b1 [59.1 kB] -Fetched 38.9 MB in 1s (37.6 MB/s) +Fetched 38.9 MB in 3s (12.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:armhf. (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 ... 19440 files and directories currently installed.) @@ -530,7 +562,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/camo-2.3.0+dfsg/ && 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 > ../camo_2.3.0+dfsg-1.1_source.changes +I: user script /srv/workspace/pbuilder/23559/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/23559/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/camo-2.3.0+dfsg/ && 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 > ../camo_2.3.0+dfsg-1.1_source.changes dpkg-buildpackage: info: source package camo dpkg-buildpackage: info: source version 2.3.0+dfsg-1.1 dpkg-buildpackage: info: source distribution unstable @@ -564,11 +600,11 @@ make[1]: Entering directory '/build/reproducible-path/camo-2.3.0+dfsg' nodejs server.js & rake --trace test -SSL-Proxy running on 8081 with pid:1215 version:2.3.0. +SSL-Proxy running on 8081 with pid:27709 version:2.3.0. ** Invoke test (first_time) ** Execute test Loaded suite test/proxy_test -Started(node:1215) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. +Started(node:27709) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `nodejs --trace-deprecation ...` to show where the warning was created) .........E @@ -737,7 +773,28 @@ 207: end 208: =============================================================================== -.E +F +=============================================================================== +Failure: test_forwards_404_with_image(CamoProxyPathTest) +test/proxy_test.rb:150:in `block in test_forwards_404_with_image' + 147: uri = request_uri("http://#{host}/octocat.jpg") + 148: response = RestClient.get(uri){ |response, request, result| response } + 149: assert_equal(404, response.code) + => 150: assert_equal("image/jpeg", response.headers[:content_type]) + 151: end + 152: end + 153: +test/proxy_test.rb:27:in `spawn_server' +test/proxy_test.rb:146:in `test_forwards_404_with_image' +<"image/jpeg"> expected but was + + +diff: +? "image/jpeg" +? n l +? ? ?????????? +=============================================================================== +E =============================================================================== Error: test_png_image_with_delimited_content_type_url(CamoProxyPathTest): RestClient::NotFound: 404 Not Found /usr/lib/ruby/vendor_ruby/restclient/abstract_response.rb:249:in `exception_with_response' @@ -803,7 +860,36 @@ 122: end 123: =============================================================================== -.E +E +=============================================================================== +Error: test_proxy_localhost_test_server(CamoProxyPathTest): Errno::ECONNREFUSED: Failed to open TCP connection to localhost:9292 (Connection refused - connect(2) for 127.0.0.1:9292) +/usr/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock' +/usr/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock' +/usr/lib/ruby/3.1.0/socket.rb:56:in `connect_internal' +/usr/lib/ruby/3.1.0/socket.rb:137:in `connect' +/usr/lib/ruby/3.1.0/socket.rb:642:in `block in tcp' +/usr/lib/ruby/3.1.0/socket.rb:227:in `each' +/usr/lib/ruby/3.1.0/socket.rb:227:in `foreach' +/usr/lib/ruby/3.1.0/socket.rb:632:in `tcp' +/usr/lib/ruby/3.1.0/net/http.rb:998:in `connect' +/usr/lib/ruby/3.1.0/net/http.rb:976:in `do_start' +/usr/lib/ruby/3.1.0/net/http.rb:965:in `start' +/usr/lib/ruby/vendor_ruby/restclient/request.rb:727:in `transmit' +/usr/lib/ruby/vendor_ruby/restclient/request.rb:163:in `execute' +/usr/lib/ruby/vendor_ruby/restclient/request.rb:63:in `execute' +/usr/lib/ruby/vendor_ruby/restclient.rb:66:in `get' +test/proxy_test.rb:36:in `block in test_proxy_localhost_test_server' + 33: + 34: def test_proxy_localhost_test_server + 35: spawn_server(:ok) do |host| + => 36: response = RestClient.get("http://#{host}/octocat.jpg") + 37: assert_equal(200, response.code) + 38: + 39: response = request("http://#{host}/octocat.jpg") +test/proxy_test.rb:27:in `spawn_server' +test/proxy_test.rb:35:in `test_proxy_localhost_test_server' +=============================================================================== +E =============================================================================== Error: test_proxy_survives_redirect_without_location(CamoProxyPathTest): RestClient::NotFound: 404 Not Found /usr/lib/ruby/vendor_ruby/restclient/abstract_response.rb:249:in `exception_with_response' @@ -1101,7 +1187,28 @@ 207: end 208: =============================================================================== -.E +F +=============================================================================== +Failure: test_forwards_404_with_image(CamoProxyQueryStringTest) +test/proxy_test.rb:150:in `block in test_forwards_404_with_image' + 147: uri = request_uri("http://#{host}/octocat.jpg") + 148: response = RestClient.get(uri){ |response, request, result| response } + 149: assert_equal(404, response.code) + => 150: assert_equal("image/jpeg", response.headers[:content_type]) + 151: end + 152: end + 153: +test/proxy_test.rb:27:in `spawn_server' +test/proxy_test.rb:146:in `test_forwards_404_with_image' +<"image/jpeg"> expected but was + + +diff: +? "image/jpeg" +? n l +? ? ?????????? +=============================================================================== +E =============================================================================== Error: test_png_image_with_delimited_content_type_url(CamoProxyQueryStringTest): RestClient::NotFound: 404 Not Found /usr/lib/ruby/vendor_ruby/restclient/abstract_response.rb:249:in `exception_with_response' @@ -1167,7 +1274,36 @@ 122: end 123: =============================================================================== -.E +E +=============================================================================== +Error: test_proxy_localhost_test_server(CamoProxyQueryStringTest): Errno::ECONNREFUSED: Failed to open TCP connection to localhost:9292 (Connection refused - connect(2) for 127.0.0.1:9292) +/usr/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock' +/usr/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock' +/usr/lib/ruby/3.1.0/socket.rb:56:in `connect_internal' +/usr/lib/ruby/3.1.0/socket.rb:137:in `connect' +/usr/lib/ruby/3.1.0/socket.rb:642:in `block in tcp' +/usr/lib/ruby/3.1.0/socket.rb:227:in `each' +/usr/lib/ruby/3.1.0/socket.rb:227:in `foreach' +/usr/lib/ruby/3.1.0/socket.rb:632:in `tcp' +/usr/lib/ruby/3.1.0/net/http.rb:998:in `connect' +/usr/lib/ruby/3.1.0/net/http.rb:976:in `do_start' +/usr/lib/ruby/3.1.0/net/http.rb:965:in `start' +/usr/lib/ruby/vendor_ruby/restclient/request.rb:727:in `transmit' +/usr/lib/ruby/vendor_ruby/restclient/request.rb:163:in `execute' +/usr/lib/ruby/vendor_ruby/restclient/request.rb:63:in `execute' +/usr/lib/ruby/vendor_ruby/restclient.rb:66:in `get' +test/proxy_test.rb:36:in `block in test_proxy_localhost_test_server' + 33: + 34: def test_proxy_localhost_test_server + 35: spawn_server(:ok) do |host| + => 36: response = RestClient.get("http://#{host}/octocat.jpg") + 37: assert_equal(200, response.code) + 38: + 39: response = request("http://#{host}/octocat.jpg") +test/proxy_test.rb:27:in `spawn_server' +test/proxy_test.rb:35:in `test_proxy_localhost_test_server' +=============================================================================== +E =============================================================================== Error: test_proxy_survives_redirect_without_location(CamoProxyQueryStringTest): RestClient::NotFound: 404 Not Found /usr/lib/ruby/vendor_ruby/restclient/abstract_response.rb:249:in `exception_with_response' @@ -1300,12 +1436,12 @@ 91: =============================================================================== -Finished in 24.372084116 seconds. +Finished in 19.259903232 seconds. ------------------------------------------------------------------------------- -58 tests, 56 assertions, 2 failures, 28 errors, 0 pendings, 0 omissions, 0 notifications -48.2759% passed +58 tests, 52 assertions, 4 failures, 30 errors, 0 pendings, 0 omissions, 0 notifications +41.3793% passed ------------------------------------------------------------------------------- -2.38 tests/s, 2.30 assertions/s +3.01 tests/s, 2.70 assertions/s pkill -KILL -xf "nodejs server.js" make[1]: Leaving directory '/build/reproducible-path/camo-2.3.0+dfsg' fakeroot debian/rules binary @@ -1345,12 +1481,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/23559/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23559/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/28616 and its subdirectories -I: Current time: Thu Apr 25 15:38:39 -12 2024 -I: pbuilder-time-stamp: 1714102719 +I: removing directory /srv/workspace/pbuilder/23559 and its subdirectories +I: Current time: Fri Apr 26 17:41:56 +14 2024 +I: pbuilder-time-stamp: 1714102916