Diff of the two buildlogs: -- --- b1/build.log 2024-11-30 11:17:45.921814734 +0000 +++ b2/build.log 2024-11-30 11:19:37.504764094 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Nov 29 23:16:02 -12 2024 -I: pbuilder-time-stamp: 1732965362 +I: Current time: Sun Dec 1 01:17:57 +14 2024 +I: pbuilder-time-stamp: 1732965477 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying 0001-Drop-spec-hpack_test_spec.rb-since-there-is-no-raw-d.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/22031/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13476/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +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 Nov 30 11:18 /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/13476/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13476/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='trixie' - 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]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(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=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='8535082705e74cef9d34a7e5a18702fd' - 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='22031' - PS1='# ' - PS2='> ' + INVOCATION_ID=4ecd0e3ca4864a38a3b0041977fd52fa + 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=13476 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.wYS0FVXw/pbuilderrc_7Z1C --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.wYS0FVXw/b1 --logfile b1/build.log ruby-http-2_0.11.0-1.dsc' - SUDO_GID='110' - SUDO_UID='103' - 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.wYS0FVXw/pbuilderrc_yZyQ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.wYS0FVXw/b2 --logfile b2/build.log ruby-http-2_0.11.0-1.dsc' + SUDO_GID=114 + SUDO_UID=108 + 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 virt32z 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/22031/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/13476/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -274,7 +306,7 @@ Get: 156 http://deb.debian.org/debian trixie/main armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 157 http://deb.debian.org/debian trixie/main armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 158 http://deb.debian.org/debian trixie/main armhf ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 43.6 MB in 1s (49.5 MB/s) +Fetched 43.6 MB in 1s (45.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal: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 ... 19683 files and directories currently installed.) @@ -801,8 +833,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Nov 30 11:17:02 UTC 2024. -Universal Time is now: Sat Nov 30 11:17:02 UTC 2024. +Local time is now: Sat Nov 30 11:18:50 UTC 2024. +Universal Time is now: Sat Nov 30 11:18:50 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -942,7 +974,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-http-2-0.11.0/ && 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-http-2_0.11.0-1_source.changes +I: user script /srv/workspace/pbuilder/13476/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/13476/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-http-2-0.11.0/ && 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-http-2_0.11.0-1_source.changes dpkg-buildpackage: info: source package ruby-http-2 dpkg-buildpackage: info: source version 0.11.0-1 dpkg-buildpackage: info: source distribution unstable @@ -976,7 +1012,7 @@ │ ruby-http-2: Installing files and building extensions for ruby3.1 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241129-3947-6rw60b/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241201-18748-uncxe9/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: description and summary are identical WARNING: open-ended dependency on bundler (>= 0, development) is not recommended @@ -986,7 +1022,7 @@ Name: http-2 Version: 0.11.0 File: http-2-0.11.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-http-2/usr/share/rubygems-integration/all /tmp/d20241129-3947-6rw60b/http-2-0.11.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-http-2/usr/share/rubygems-integration/all /tmp/d20241201-18748-uncxe9/http-2-0.11.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-http-2-0.11.0/debian/ruby-http-2/usr/share/rubygems-integration/all/gems/http-2-0.11.0/example/Gemfile /build/reproducible-path/ruby-http-2-0.11.0/debian/ruby-http-2/usr/share/rubygems-integration/all/gems/http-2-0.11.0/example/README.md @@ -1042,371 +1078,435 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-http-2-0.11.0/debian/ruby-http-2/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-http-2-0.11.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/arm-linux-gnueabihf/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/arm-linux-gnueabihf/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 36939 +Randomized with seed 55953 -HTTP2::Server - should allow server push +HTTP2::Client + alt-svc + received in a stream + should not emit :alt_svc when the frame when contains a origin + should emit :altsvc + received in the connection + should not emit :altsvc when the frame when contains no host + should emit :altsvc when receiving one + push + should disallow client initiated push + should raise error on PUSH_PROMISE against stream 0 + should auto RST_STREAM promises against locally-RST stream + should emit promise headers for received PUSH_PROMISE + should raise error on PUSH_PROMISE against bogus stream + should emit stream object for received PUSH_PROMISE + should raise error on PUSH_PROMISE against non-idle stream initialization and settings - should emit SETTINGS on new connection - should return even stream IDs + should emit connection header and SETTINGS on new client connection should initialize client with custom connection settings - -HTTP2::Emitter - should execute callback exactly once - should raise error on missing callback - should allow events with no callbacks - should pass emitted callbacks to listeners - should allow multiple callbacks on single event - should execute callback with optional args + should initialize client when receiving server settings before sending ack + should return odd stream IDs + upgrade + initializes the first stream in the half-closed state + sends the preface + fails when client has already created streams HTTP2::Stream client API - .data should split large DATA frames - .reprioritize should emit PRIORITY frame - .data should emit DATA frames - .cancel should reset stream with cancel error code .headers should emit HEADERS frames - .refuse should reset stream with refused stream error code + .data should split large DATA frames .reprioritize should raise error if invoked by server - .data should split large multibyte DATA frames + .cancel should reset stream with cancel error code .window_update should emit WINDOW_UPDATE frames + .data should emit DATA frames + .reprioritize should emit PRIORITY frame + .data should split large multibyte DATA frames + .refuse should reset stream with refused stream error code flow control - should observe session flow control - should update window size on DATA frames only - should not update window when data received is less than half of maximum local window size should update window size on receipt of WINDOW_UPDATE - should update window when data received is over half of the maximum local window size + should not update window when data received is less than half of maximum local window size should initialize to default flow control window - server API - should emit received payload via on(:data) - should emit received priority parameters via on(:priority) - should emit received headers via on(:headers) - push - .promise push stream should have parent stream - .promise should emit server initiated stream - stream states - client: promise_headers > active > headers > .. > data > close - server: active > half close > close + should observe session flow control + should update window when data received is over half of the maximum local window size + should update window size on DATA frames only stream states - should initiliaze all streams to IDLE should set custom stream priority + should initiliaze all streams to IDLE half closed (remote) - should emit :close event on close transition - should reprioritize stream on received PRIORITY - should transition to closed on reciept of RST_STREAM frame - should increment remote_window on received WINDOW_UPDATE + should emit :half_close event on transition + should not transition to closed if END_STREAM flag is sent when overflowing window + should transition to closed when send buffer is emptied should ignore sent WINDOW_UPDATE frames should reprioritize stream on sent PRIORITY + should transition to closed on reciept of RST_STREAM frame + should reprioritize stream on received PRIORITY + should emit :close event on close transition + should transition to closed if RST_STREAM is sent should raise STREAM_CLOSED error on reciept of frames should transition to closed if END_STREAM flag is sent - should not transition to closed if END_STREAM flag is sent when overflowing window - should transition to closed if RST_STREAM is sent - should transition to closed when send buffer is emptied - should emit :half_close event on transition + should increment remote_window on received WINDOW_UPDATE closed remote closed stream - should ignore received WINDOW_UPDATE frames + should allow PRIORITY, RST_STREAM to be received should raise STREAM_CLOSED on receipt of frame - should raise STREAM_CLOSED on attempt to send frames should allow PRIORITY, RST_STREAM to be sent - should allow PRIORITY, RST_STREAM to be received should reprioritize stream on sent PRIORITY + should raise STREAM_CLOSED on attempt to send frames + should ignore received WINDOW_UPDATE frames should reprioritize stream on received PRIORITY local closed via RST_STREAM frame should ignore received frames + reserved (local) + should raise error if sending invalid frames + should allow HEADERS to be sent + should increment remote_window on received WINDOW_UPDATE + should transition to closed on sent RST_STREAM + should transition on sent PUSH_PROMISE + should raise error on receipt of invalid frames + should transition to closed on received RST_STREAM + should transition to half closed (remote) on sent HEADERS + should reprioritize stream on PRIORITY + idle + should transition to open on received HEADERS + should transition to reserved (remote) on received PUSH_PROMISE + should transition to reserved (local) on sent PUSH_PROMISE + should reprioritize stream on sent PRIORITY + should transition to open on sent HEADERS + should reprioritize stream on received PRIORITY open - should emit :close with reason - should transition to closed if receiving RST_STREAM - should transition to closed if sending RST_STREAM - should allow frames of any type to be received - should not emit :active on transition from open + should emit :close after frame is processed + should transition to half closed (remote) if receiving END_STREAM should transition to half closed if local opened with END_STREAM + should transition to closed if sending RST_STREAM should reprioritize stream on received PRIORITY should transition to half closed if remote opened with END_STREAM + should reprioritize stream on sent PRIORITY + should not emit :active on transition from open + should emit :close with reason + should transition to closed if receiving RST_STREAM should emit :close on close transition - should allow any valid frames types to be sent - should transition to half closed (remote) if receiving END_STREAM - should emit :close after frame is processed should emit :active on open transition + should allow frames of any type to be received + should allow any valid frames types to be sent should transition to half closed (local) if sending END_STREAM - should reprioritize stream on sent PRIORITY half closed (local) - should raise error on attempt to send invalid frames - should reprioritize stream on sent PRIORITY - should transition to closed if RST_STREAM frame is sent should ignore received WINDOW_UPDATE frames - should transition to closed on receipt of END_STREAM flag + should reprioritize stream (and decendants) on received PRIORITY should emit :close event on transition to closed - should transition to closed on receipt of RST_STREAM frame + should increment local_window on sent WINDOW_UPDATE should emit :half_close event on transition should ignore received PRIORITY frames - should reprioritize stream (and decendants) on received PRIORITY - should increment local_window on sent WINDOW_UPDATE + should transition to closed if RST_STREAM frame is sent + should transition to closed on receipt of END_STREAM flag + should reprioritize stream on sent PRIORITY + should raise error on attempt to send invalid frames + should transition to closed on receipt of RST_STREAM frame reserved (remote) - should reprioritize stream on PRIORITY should transition to half closed (local) on received HEADERS - should raise error if sending invalid frames - should transition to closed on sent RST_STREAM - should increment local_window on sent WINDOW_UPDATE - should raise error on receipt of invalid frames should transition on received PUSH_PROMISE - should transition to closed on received RST_STREAM - reserved (local) should raise error on receipt of invalid frames + should increment local_window on sent WINDOW_UPDATE should reprioritize stream on PRIORITY should transition to closed on received RST_STREAM - should increment remote_window on received WINDOW_UPDATE - should transition on sent PUSH_PROMISE - should allow HEADERS to be sent - should raise error if sending invalid frames - should transition to half closed (remote) on sent HEADERS should transition to closed on sent RST_STREAM - idle - should transition to reserved (local) on sent PUSH_PROMISE - should transition to reserved (remote) on received PUSH_PROMISE - should transition to open on sent HEADERS - should reprioritize stream on sent PRIORITY - should transition to open on received HEADERS - should reprioritize stream on received PRIORITY + should raise error if sending invalid frames + server API + should emit received payload via on(:data) + should emit received priority parameters via on(:priority) + should emit received headers via on(:headers) + push + .promise should emit server initiated stream + .promise push stream should have parent stream + stream states + server: active > half close > close + client: promise_headers > active > headers > .. > data > close + +HTTP2::Buffer + should force 8-bit encoding when adding data + should force 8-bit encoding + should return bytesize of the buffer + should unpack an unsigned 32-bit int + should read single byte at a time + +HTTP2::Emitter + should execute callback with optional args + should pass emitted callbacks to listeners + should execute callback exactly once + should allow multiple callbacks on single event + should raise error on missing callback + should allow events with no callbacks HTTP2::Framer - should determine frame length - should parse single frame at a time - should ignore unknown extension frames should process full frames only - HEADERS - should generate and parse bytes - should carry an optional stream priority - DATA - should generate and parse bytes - WINDOW_UPDATE - should generate and parse bytes + should ignore unknown extension frames + should parse single frame at a time + should determine frame length PRIORITY should generate and parse bytes - ALTSVC - should generate and parse bytes - GOAWAY - should treat debug payload as optional - should generate and parse bytes - CONTINUATION - should generate and parse bytes - SETTINGS - should generate and parse bytes - should raise exception on sending invalid stream ID - should raise exception on receiving invalid stream ID - should generate settings when id is given as an integer - should ignore custom settings when receiving - should ignore custom settings when sending - should raise exception on sending invalid setting - should raise exception on receiving invalid payload length RST_STREAM should generate and parse bytes + common header + should raise exception on invalid frame flag + should raise exception on invalid frame type when sending + should generate common 9 byte header + should parse common 9 byte header + should generate a large frame + should raise exception on invalid frame size + should raise exception on invalid stream ID PING + should generate and parse bytes should raise exception on invalid payload + ALTSVC + should generate and parse bytes + DATA should generate and parse bytes Padding parsing frames with invalid paddings should raise exception when the given padding is longer than the payload - generating with invalid padding length - should raise error on trying to generate data frame padded with invalid 1334 - should raise error on trying to generate data frame padded with invalid 0 - should raise error when adding a padding would make frame too large - should raise error on trying to generate data frame padded with invalid 257 - generating push_promise frame padded 1 - should parse a frame with padding - should preserve payload - should fill padded octets with zero - should generate a frame with padding generating data frame padded 256 should parse a frame with padding - should preserve payload - should fill padded octets with zero should generate a frame with padding - generating data frame padded 1 should fill padded octets with zero - should parse a frame with padding should preserve payload - should generate a frame with padding generating headers frame padded 1 should generate a frame with padding - should preserve payload should fill padded octets with zero should parse a frame with padding - generating push_promise frame padded 256 should preserve payload + generating push_promise frame padded 1 should generate a frame with padding should parse a frame with padding + should preserve payload should fill padded octets with zero + generating push_promise frame padded 256 + should generate a frame with padding + should fill padded octets with zero + should preserve payload + should parse a frame with padding generating headers frame padded 256 + should generate a frame with padding + should fill padded octets with zero + should preserve payload should parse a frame with padding + generating with invalid padding length + should raise error on trying to generate data frame padded with invalid 1334 + should raise error on trying to generate data frame padded with invalid 0 + should raise error when adding a padding would make frame too large + should raise error on trying to generate data frame padded with invalid 257 + generating data frame padded 1 should preserve payload - should fill padded octets with zero + should parse a frame with padding should generate a frame with padding - common header - should generate common 9 byte header - should raise exception on invalid frame type when sending - should generate a large frame - should raise exception on invalid stream ID - should raise exception on invalid frame flag - should parse common 9 byte header - should raise exception on invalid frame size + should fill padded octets with zero + HEADERS + should carry an optional stream priority + should generate and parse bytes + WINDOW_UPDATE + should generate and parse bytes + SETTINGS + should raise exception on receiving invalid stream ID + should ignore custom settings when sending + should raise exception on sending invalid stream ID + should raise exception on sending invalid setting + should generate settings when id is given as an integer + should generate and parse bytes + should raise exception on receiving invalid payload length + should ignore custom settings when receiving + GOAWAY + should treat debug payload as optional + should generate and parse bytes PUSH_PROMISE should generate and parse bytes + CONTINUATION + should generate and parse bytes -HTTP2::Client - alt-svc - received in a stream - should not emit :alt_svc when the frame when contains a origin - should emit :altsvc - received in the connection - should not emit :altsvc when the frame when contains no host - should emit :altsvc when receiving one - upgrade - sends the preface - initializes the first stream in the half-closed state - fails when client has already created streams +HTTP2::Server + should allow server push initialization and settings - should emit connection header and SETTINGS on new client connection + should emit SETTINGS on new connection should initialize client with custom connection settings - should initialize client when receiving server settings before sending ack - should return odd stream IDs - push - should emit stream object for received PUSH_PROMISE - should auto RST_STREAM promises against locally-RST stream - should raise error on PUSH_PROMISE against bogus stream - should raise error on PUSH_PROMISE against non-idle stream - should raise error on PUSH_PROMISE against stream 0 - should disallow client initiated push - should emit promise headers for received PUSH_PROMISE + should return even stream IDs -HTTP2::Buffer - should read single byte at a time - should unpack an unsigned 32-bit int - should return bytesize of the buffer - should force 8-bit encoding when adding data - should force 8-bit encoding +HTTP2::Connection + stream management + should change stream limit to received SETTINGS value + should not count reserved streams against stream limit + should initialize stream with HEADERS priority value + should not exceed stream limit set by peer + should initialize idle stream on PRIORITY frame + should count open streams against stream limit + should initialize to default stream limit (100) + flow control + should initialize streams with window specified by peer + should update window when data received is over half of the maximum local window size + should observe connection flow control + should initialize to default flow window + should update connection and stream windows on SETTINGS + cleanup_recently_closed + should cleanup old connections + initialization and settings + should raise error if SETTINGS stream != 0 + should not raise error if first frame is SETTINGS + should raise error if first frame is not settings + framing + should generate CONTINUATION if HEADERS is too long + should raise compression error on encode of invalid frame + should buffer incomplete frames + should raise connection error on decode of invalid frame + should not generate CONTINUATION if HEADERS fits exactly in a frame + should decompress header blocks regardless of stream state + should generate CONTINUATION if HEADERS exceed the max payload by one byte + should not generate CONTINUATION if HEADERS fits exactly in a frame + should compress stream headers + should decode non-contiguous header blocks + should emit encoded frames via on(:frame) + should require that split header blocks are a contiguous sequence + Headers pre/post processing + should not split zero-concatenated header field values + should not concatenate multiple occurences of a header field with the same name + settings synchronization + should reflect incoming settings when SETTINGS is received + should send SETTINGS ACK when SETTINGS is received + should reflect settings_max_frame_size recevied from peer + should reflect outgoing settings when ack is received + connection management + should respond to PING frames + should raise error when opening new stream after receiving GOAWAY + should process connection management frames after GOAWAY + should not raise an error on frame for a closed stream ID + should raise error when opening new stream after sending GOAWAY + should fire callback on PONG + should raise error on invalid connection header + should raise error on frame for invalid stream ID + should not raise error when receiving connection management frames immediately after emitting goaway + should fire callback on receipt of GOAWAY + should send GOAWAY frame on connection error + API + .settings should emit SETTINGS frames + .window_update should emit WINDOW_UPDATE frames + .ping should generate PING frames + .goaway should generate GOAWAY frame with last processed stream ID HTTP2::Header literal representation integer - should encode 1337 using a 5-bit prefix should encode 10 using a 0-bit prefix should encode 10 using a 5-bit prefix should encode 1337 using a 0-bit prefix + should encode 1337 using a 5-bit prefix string + should handle ascii codepoints with huffman should handle utf-8 codepoints with huffman - should handle long utf-8 strings without huffman - should handle ascii codepoints without huffman - should handle utf-8 codepoints without huffman should handle long utf-8 strings with huffman - should handle ascii codepoints with huffman + should handle utf-8 codepoints without huffman + should handle ascii codepoints without huffman + should handle long utf-8 strings without huffman choosing shorter representation should return huffman representation should return plain representation should return plain representation - header representation - should raise when decoding indexed representation with index zero - should handle indexed representation - literal w/o indexing representation - should handle indexed header - should handle literal header - literal w/ incremental indexing - should handle literal header - should handle indexed header - literal never indexed - should handle literal header - should handle indexed header decode - spec example D.3. Request Examples without Huffman - request 1 + spec example D.4.a. Request Examples with Huffman - Client Handling of Improperly Ordered Headers + request 2 + should emit expected headers should update header table should compute header table size - should emit expected headers request 3 - should update header table - should emit expected headers should compute header table size - request 2 should emit expected headers - should compute header table size should update header table - spec example D.4. Request Examples with Huffman request 1 + should emit expected headers should compute header table size should update header table - should emit expected headers + spec example D.3. Request Examples without Huffman request 2 + should compute header table size should emit expected headers should update header table - should compute header table size request 3 should update header table - should emit expected headers should compute header table size - spec example D.5. Response Examples without Huffman - request 3 should emit expected headers - should update header table - should compute header table size - request 2 + request 1 should update header table should compute header table size should emit expected headers - request 1 - should update header table + spec example D.5. Response Examples without Huffman + request 3 should emit expected headers + should update header table should compute header table size - spec example D.4.b. Request Examples with Huffman - Server Handling of Improperly Ordered Headers - request 1 - should raise CompressionError - spec example D.6.a. Response Examples with Huffman - dynamic table size updates should not trigger exceptions request 1 should compute header table size should update header table should emit expected headers - spec example D.4.a. Request Examples with Huffman - Client Handling of Improperly Ordered Headers - request 1 - should emit expected headers - should update header table - should compute header table size request 2 - should update header table should emit expected headers - should compute header table size - request 3 should update header table - should emit expected headers should compute header table size spec example D.6. Response Examples with Huffman - request 2 + request 1 should compute header table size - should update header table should emit expected headers + should update header table request 3 should emit expected headers - should compute header table size should update header table - request 1 should compute header table size - should update header table + request 2 + should compute header table size should emit expected headers - encode - spec example D.5. Response Examples without Huffman - request 3 -88c1611d4d6f6e2c203231204f637420323031332032303a31333a323220474d54c05a04677a69707738666f6f3d4153444a4b48514b425a584f5157454f50495541585157454f49553b206d61782d6167653d333630303b2076657273696f6e3d31 - should emit expected bytes on wire + should update header table + spec example D.6.a. Response Examples with Huffman - dynamic table size updates should not trigger exceptions + request 1 should update header table should compute header table size + should emit expected headers + spec example D.4.b. Request Examples with Huffman - Server Handling of Improperly Ordered Headers + request 1 + should raise CompressionError + spec example D.4. Request Examples with Huffman request 1 should compute header table size + should emit expected headers should update header table -4803333032580770726976617465611d4d6f6e2c203231204f637420323031332032303a31333a323120474d546e1768747470733a2f2f7777772e6578616d706c652e636f6d - should emit expected bytes on wire - request 2 + request 3 + should compute header table size should update header table + should emit expected headers + request 2 should compute header table size -4803333037c1c0bf - should emit expected bytes on wire + should emit expected headers + should update header table + shared compression context + should be initialized with empty headers + processing + should clear table if entry exceeds table size + should reject table size update if exceed limit + should shrink table if set smaller size + never indexed + should process indexed header with literal value + should process literal header with literal value + incremental indexing + should process literal header with literal value + should process indexed header with literal value + no indexing + should process literal header with literal value + should process indexed header with literal value + size bounds + should drop headers from end of table + encode + downcases the field + fills :path if empty + header representation + should raise when decoding indexed representation with index zero + should handle indexed representation + literal never indexed + should handle indexed header + should handle literal header + literal w/o indexing representation + should handle indexed header + should handle literal header + literal w/ incremental indexing + should handle literal header + should handle indexed header + encode spec example D.3. Request Examples without Huffman request 2 should update header table @@ -1414,170 +1514,106 @@ should emit expected bytes on wire should compute header table size request 1 - should compute header table size should update header table 828684410f7777772e6578616d706c652e636f6d should emit expected bytes on wire - request 3 should compute header table size - should update header table + request 3 828785bf400a637573746f6d2d6b65790c637573746f6d2d76616c7565 should emit expected bytes on wire - spec example D.4.a. Request Examples with Huffman - Client Handling of Improperly Ordered Headers - request 2 should update header table should compute header table size -828684be5886a8eb10649cbf + spec example D.4.a. Request Examples with Huffman - Client Handling of Improperly Ordered Headers + request 3 +828785bf408825a849e95ba97d7f8925a849e95bb8e8b4bf should emit expected bytes on wire + should compute header table size + should update header table request 1 should update header table should compute header table size 828684418cf1e3c2e5f23a6ba0ab90f4ff should emit expected bytes on wire - request 3 - should update header table + request 2 should compute header table size -828785bf408825a849e95ba97d7f8925a849e95bb8e8b4bf +828684be5886a8eb10649cbf should emit expected bytes on wire - spec example D.6. Response Examples with Huffman - request 3 -88c16196d07abe941054d444a8200595040b8166e084a62d1bffc05a839bd9ab77ad94e7821dd7f2e6c7b335dfdfcd5b3960d5af27087f3672c1ab270fb5291f9587316065c003ed4ee5b1063d5007 + should update header table + spec example D.4. Request Examples with Huffman + request 1 +828684418cf1e3c2e5f23a6ba0ab90f4ff should emit expected bytes on wire + should update header table should compute header table size + request 3 should update header table +828785bf408825a849e95ba97d7f8925a849e95bb8e8b4bf + should emit expected bytes on wire + should compute header table size request 2 + should update header table should compute header table size -4883640effc1c0bf +828684be5886a8eb10649cbf + should emit expected bytes on wire + spec example D.5. Response Examples without Huffman + request 2 +4803333037c1c0bf should emit expected bytes on wire + should compute header table size should update header table request 1 -488264025885aec3771a4b6196d07abe941054d444a8200595040b8166e082a62d1bff6e919d29ad171863c78f0b97c8e9ae82ae43d3 + should compute header table size +4803333032580770726976617465611d4d6f6e2c203231204f637420323031332032303a31333a323120474d546e1768747470733a2f2f7777772e6578616d706c652e636f6d should emit expected bytes on wire should update header table + request 3 should compute header table size - spec example D.4. Request Examples with Huffman - request 2 should update header table - should compute header table size -828684be5886a8eb10649cbf +88c1611d4d6f6e2c203231204f637420323031332032303a31333a323220474d54c05a04677a69707738666f6f3d4153444a4b48514b425a584f5157454f50495541585157454f49553b206d61782d6167653d333630303b2076657273696f6e3d31 should emit expected bytes on wire + spec example D.6. Response Examples with Huffman request 1 -828684418cf1e3c2e5f23a6ba0ab90f4ff +488264025885aec3771a4b6196d07abe941054d444a8200595040b8166e082a62d1bff6e919d29ad171863c78f0b97c8e9ae82ae43d3 should emit expected bytes on wire - should compute header table size should update header table + should compute header table size request 3 + should compute header table size +88c16196d07abe941054d444a8200595040b8166e084a62d1bffc05a839bd9ab77ad94e7821dd7f2e6c7b335dfdfcd5b3960d5af27087f3672c1ab270fb5291f9587316065c003ed4ee5b1063d5007 + should emit expected bytes on wire + should update header table + request 2 should update header table should compute header table size -828785bf408825a849e95ba97d7f8925a849e95bb8e8b4bf +4883640effc1c0bf should emit expected bytes on wire - shared compression context - should be initialized with empty headers - encode - fills :path if empty - downcases the field - processing - should clear table if entry exceeds table size - should shrink table if set smaller size - should reject table size update if exceed limit - never indexed - should process literal header with literal value - should process indexed header with literal value - size bounds - should drop headers from end of table - incremental indexing - should process literal header with literal value - should process indexed header with literal value - no indexing - should process literal header with literal value - should process indexed header with literal value - -HTTP2::Connection - Headers pre/post processing - should not split zero-concatenated header field values - should not concatenate multiple occurences of a header field with the same name - connection management - should not raise error when receiving connection management frames immediately after emitting goaway - should not raise an error on frame for a closed stream ID - should raise error when opening new stream after receiving GOAWAY - should process connection management frames after GOAWAY - should raise error when opening new stream after sending GOAWAY - should fire callback on PONG - should respond to PING frames - should fire callback on receipt of GOAWAY - should send GOAWAY frame on connection error - should raise error on invalid connection header - should raise error on frame for invalid stream ID - settings synchronization - should send SETTINGS ACK when SETTINGS is received - should reflect settings_max_frame_size recevied from peer - should reflect incoming settings when SETTINGS is received - should reflect outgoing settings when ack is received - API - .ping should generate PING frames - .window_update should emit WINDOW_UPDATE frames - .settings should emit SETTINGS frames - .goaway should generate GOAWAY frame with last processed stream ID - framing - should compress stream headers - should generate CONTINUATION if HEADERS is too long - should decompress header blocks regardless of stream state - should generate CONTINUATION if HEADERS exceed the max payload by one byte - should emit encoded frames via on(:frame) - should not generate CONTINUATION if HEADERS fits exactly in a frame - should raise connection error on decode of invalid frame - should raise compression error on encode of invalid frame - should decode non-contiguous header blocks - should require that split header blocks are a contiguous sequence - should not generate CONTINUATION if HEADERS fits exactly in a frame - should buffer incomplete frames - initialization and settings - should raise error if SETTINGS stream != 0 - should raise error if first frame is not settings - should not raise error if first frame is SETTINGS - stream management - should not exceed stream limit set by peer - should initialize idle stream on PRIORITY frame - should count open streams against stream limit - should change stream limit to received SETTINGS value - should not count reserved streams against stream limit - should initialize stream with HEADERS priority value - should initialize to default stream limit (100) - cleanup_recently_closed - should cleanup old connections - flow control - should initialize streams with window specified by peer - should update connection and stream windows on SETTINGS - should initialize to default flow window - should update window when data received is over half of the maximum local window size - should observe connection flow control HTTP2::Header::Huffman - encode - should encode www.example.com into f1e3c2e5f23a6ba0ab90f4ff - should encode Mon, 21 Oct 2013 20:13:21 GMT into d07abe941054d444a8200595040b8166e082a62d1bff - should encode no-cache into a8eb10649cbf decode + should raise when input is not padded by 1s should decode f1e3c2e5f23a6ba0ab90f4ff into www.example.com - should encode then decode 'http://www.craigslist.org/about/sites/' into the same - should raise when EOS is explicitly encoded - should encode then decode 'BX=c99r6jp89a7no&b=3&s=q4; localization=en-us%3Bus%3Bus' into the same - should decode a8eb10649cbf into no-cache + should raise when input is shorter than expected should decode d07abe941054d444a8200595040b8166e082a62d1bff into Mon, 21 Oct 2013 20:13:21 GMT + should encode then decode 'image/png,image/*;q=0.8,*/*;q=0.5' into the same + should encode then decode 'http://www.craigslist.org/about/sites/' into the same + should raise when exceedingly padded should encode/decode all_possible 2-byte sequences - should raise when input is shorter than expected - should encode then decode 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0' into the same should encode then decode 'cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A; cl_def_lang=en; cl_def_hp=shoals' into the same should encode then decode 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' into the same - should raise when input is not padded by 1s - should encode then decode 'image/png,image/*;q=0.8,*/*;q=0.5' into the same - should raise when exceedingly padded + should raise when EOS is explicitly encoded + should encode then decode 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0' into the same + should encode then decode 'BX=c99r6jp89a7no&b=3&s=q4; localization=en-us%3Bus%3Bus' into the same should encode then decode 'UTF-8でエンコードした日本語文字列' into the same + should decode a8eb10649cbf into no-cache + encode + should encode Mon, 21 Oct 2013 20:13:21 GMT into d07abe941054d444a8200595040b8166e082a62d1bff + should encode www.example.com into f1e3c2e5f23a6ba0ab90f4ff + should encode no-cache into a8eb10649cbf -Finished in 2.93 seconds (files took 0.69602 seconds to load) +Finished in 4.33 seconds (files took 1.03 seconds to load) 382 examples, 0 failures -Randomized with seed 36939 +Randomized with seed 55953 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1609,12 +1645,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/13476/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/13476/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/22031 and its subdirectories -I: Current time: Fri Nov 29 23:17:42 -12 2024 -I: pbuilder-time-stamp: 1732965462 +I: removing directory /srv/workspace/pbuilder/13476 and its subdirectories +I: Current time: Sun Dec 1 01:19:33 +14 2024 +I: pbuilder-time-stamp: 1732965573