Diff of the two buildlogs: -- --- b1/build.log 2024-01-08 20:32:15.794521651 +0000 +++ b2/build.log 2024-01-08 20:37:09.369895440 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 8 08:29:41 -12 2024 -I: pbuilder-time-stamp: 1704745781 +I: Current time: Tue Jan 9 10:32:28 +14 2024 +I: pbuilder-time-stamp: 1704745948 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -26,49 +26,81 @@ dpkg-source: info: unpacking ruby-tty-command_0.10.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/12965/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/25555/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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 Jan 8 20:33 /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/25555/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/25555/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='bookworm' - 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]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(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=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='d8c3781dfab24c7dba06eda2a055b2d4' - 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='12965' - PS1='# ' - PS2='> ' + INVOCATION_ID=b21783daec8546478a1b311abfc63465 + 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=25555 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.eDR5vYpp/pbuilderrc_Reca --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.eDR5vYpp/b1 --logfile b1/build.log ruby-tty-command_0.10.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.eDR5vYpp/pbuilderrc_JrOb --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.eDR5vYpp/b2 --logfile b2/build.log ruby-tty-command_0.10.1-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + 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 jtx1a 6.1.0-17-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-armmp-lpae #1 SMP Debian 6.1.69-1 (2023-12-30) armv7l GNU/Linux I: ls -l /bin total 4964 -rwxr-xr-x 1 root root 838488 Apr 23 2023 bash @@ -128,7 +160,7 @@ -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 14152 Jul 28 23:46 run-parts -rwxr-xr-x 1 root root 133372 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 8 20:33 sh -> /bin/bash -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty -rwsr-xr-x 1 root root 50800 Mar 23 2023 su @@ -154,7 +186,7 @@ -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/12965/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/25555/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -331,7 +363,7 @@ Get: 131 http://deb.debian.org/debian bookworm/main armhf ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.5 kB] Get: 132 http://deb.debian.org/debian bookworm/main armhf ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 133 http://deb.debian.org/debian bookworm/main armhf ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] -Fetched 44.6 MB in 1s (34.3 MB/s) +Fetched 44.6 MB in 5s (8899 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-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 ... 17881 files and directories currently installed.) @@ -887,7 +919,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-tty-command-0.10.1/ && 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-tty-command_0.10.1-1_source.changes +I: user script /srv/workspace/pbuilder/25555/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/25555/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-tty-command-0.10.1/ && 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-tty-command_0.10.1-1_source.changes dpkg-buildpackage: info: source package ruby-tty-command dpkg-buildpackage: info: source version 0.10.1-1 dpkg-buildpackage: info: source distribution unstable @@ -916,7 +952,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-tty-command/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-tty-command-0.10.1/debian/ruby-tty-command -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240108-18073-92ddpg/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240108-30828-31jjan/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' @@ -928,7 +964,7 @@ Name: tty-command Version: 0.10.1 File: tty-command-0.10.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-command/usr/share/rubygems-integration/all /tmp/d20240108-18073-92ddpg/tty-command-0.10.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-command/usr/share/rubygems-integration/all /tmp/d20240108-30828-31jjan/tty-command-0.10.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-tty-command-0.10.1/debian/ruby-tty-command/usr/share/rubygems-integration/all/gems/tty-command-0.10.1/lib/tty-command.rb /build/reproducible-path/ruby-tty-command-0.10.1/debian/ruby-tty-command/usr/share/rubygems-integration/all/gems/tty-command-0.10.1/lib/tty/command.rb @@ -976,60 +1012,55 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-tty-command-0.10.1/debian/ruby-tty-command/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-tty-command-0.10.1/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 -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 5857 +Randomized with seed 23610 -TTY::Command#run - runs command and prints to stdout - runs command successfully with logging - runs command and fails with logging - raises ExitError on command failure - runs command successfully with logging without uuid set locally - streams output data - runs command successfully with logging without uuid set globally - does not persist environment variables - preserves ANSI codes - logs phased output in one line - runs command successfully with logging without color +TTY::Command#test + implements classic bash command + +TTY::Command redirect + redirects to a file + redirects STDOUT -> :err + redirects STDOUT -> /dev/null + redirects multiple fds to a file + redirects 1 -> 2 + redirects :out -> :err + accepts standard shell redirects + redirects :stdout -> :stderr + redirects to a file as an array value + +TTY::Command::Printers::Pretty + doesn't print output on success when only_output_on_error is true + prints command stdout data + prints command stderr data + prints successful command exit in color + prints command start in color + prints command start without color + prints command start without uuid + prints output on error when only_output_on_error is true + prints command exit without exit status in color + prints output on error & raises ExitError when only_output_on_error is true + prints failure command exit in color TTY::Command#run + times out an infite process with constant output times out infinite process without input or output times out an infinite process with constant input data - times out an infite process with constant output -TTY::Command::Cmd::new - converts command to hash - accepts command as [cmdname, arg1, ...] - runs command as a group - accepts command with environemnt string keys - escapes special characters in split arguments - escapes arguments that need escaping - requires at least command argument - runs command with umask, chdir - accepts a command as heredoc - runs command in specified directory - requires non empty command argument - accepts command with environment as [cmdname, arg1, ..., opts] - updates command options with global only when not already present - accepts command as [[cmdname, argv0], arg1, ...] - runs command with umask, user, chdir and env - accepts environment as first argument - escapes environment values - accepts command with multiple environment keys - runs command in specified directory with environment - runs command with umask - runs command with umask, chdir & user - escapes directory path with fanky characters - runs command as a user in a group - provides unique identifier - accepts a command - handles environment with fanky characters - runs command as a user +TTY::Command::Truncator + overflows prefix and suffix + writes both prefix and suffix + writes nil content + reflows suffix with less content + writes content within maximum size + reflows suffix with more content + omits bytes + writes more bytes letter TTY::Command::Printers::Progress - doesn't print command stdout data + prints successful command exit in color prints failure command exit in color + doesn't print command stdout data doesn't print command start - prints successful command exit in color TTY::Command dry run queries for dry mode @@ -1037,161 +1068,202 @@ allows to run command in dry mode doesn't collect printout to stdin or stderr -TTY::Command input - reads user input data +TTY::Command::Result + isn't equivalent with another object + is the same with equivalent object + exits successfully + reads stdout + doesn't exit + exist with non-zero code + iterates over output with global delimiter + iterates over output with argument delimiter + provides runtime + iterates over output with default delimiter + accesses exit code + +TTY::Command#run + runs command successfully with logging without color + raises ExitError on command failure + runs command and prints to stdout + runs command and fails with logging + runs command successfully with logging + does not persist environment variables + runs command successfully with logging without uuid set globally + logs phased output in one line (FAILED - 1) + runs command successfully with logging without uuid set locally + preserves ANSI codes + streams output data + +TTY::Command::Printers::Quiet + doesn't print command start or exit + prints command stderr data + prints output on error when only_output_on_error is true + prints command stdout data + doesn't print output on success when only_output_on_error is true TTY::Command :printer - detects null printer + uses printer based on class name uses printer based on instance uses custom printer + fails to find printer for nil + detects null printer fails to find printer based on name - uses printer based on class name detects printer based on name - fails to find printer for nil -TTY::Command redirect - redirects STDOUT -> /dev/null - redirects 1 -> 2 - redirects to a file - redirects STDOUT -> :err - redirects multiple fds to a file - accepts standard shell redirects - redirects to a file as an array value - redirects :stdout -> :stderr - redirects :out -> :err - -TTY::Command::Truncator - writes nil content - reflows suffix with more content - omits bytes - writes content within maximum size - writes more bytes letter - overflows prefix and suffix - writes both prefix and suffix - reflows suffix with less content +TTY::Command input + reads user input data TTY::Command#run encodes output as unicode by default encodes all commands output as binary encodes output as binary -TTY::Command :output - runs command and prints to a file - -TTY::Command::Result - exits successfully - iterates over output with default delimiter - isn't equivalent with another object - doesn't exit - accesses exit code - iterates over output with global delimiter - provides runtime - reads stdout - iterates over output with argument delimiter - exist with non-zero code - is the same with equivalent object +TTY::Command :pty + executes command in pseudo terminal mode as global option + executes command in pseudo terminal mode as command option + logs phased output in pseudo terminal mode (FAILED - 2) -TTY::Command::Printers::Pretty - prints command start without uuid - prints failure command exit in color - prints output on error when only_output_on_error is true - prints command stderr data - doesn't print output on success when only_output_on_error is true - prints command stdout data - prints command start without color - prints command exit without exit status in color - prints command start in color - prints output on error & raises ExitError when only_output_on_error is true - prints successful command exit in color +TTY::Command::ExitError info + explains no stdin & stdout + displays stdin & stdout TTY::Command#ruby - runs ruby with a single string argument runs ruby with multiple arguments - -TTY::Command::Printers::Quiet - prints output on error when only_output_on_error is true - prints command stderr data - prints command stdout data - doesn't print command start or exit - doesn't print output on success when only_output_on_error is true + runs ruby with a single string argument TTY::Command::Printers::Null - doesn't print command stdout data - doesn't print command stderr data doesn't print command start or exit + doesn't print command stderr data + doesn't print command stdout data -TTY::Command :pty - executes command in pseudo terminal mode as global option - logs phased output in pseudo terminal mode - executes command in pseudo terminal mode as command option +TTY::Command :output + runs command and prints to a file -TTY::Command::ExitError info - explains no stdin & stdout - displays stdin & stdout +TTY::Command::Cmd::new + runs command with umask, chdir + accepts command with multiple environment keys + runs command as a group + accepts command with environment as [cmdname, arg1, ..., opts] + escapes directory path with fanky characters + runs command with umask, user, chdir and env + runs command in specified directory with environment + requires non empty command argument + runs command with umask, chdir & user + accepts command as [cmdname, arg1, ...] + accepts command with environemnt string keys + updates command options with global only when not already present + escapes special characters in split arguments + runs command with umask + escapes arguments that need escaping + accepts environment as first argument + accepts a command as heredoc + handles environment with fanky characters + runs command as a user + accepts command as [[cmdname, argv0], arg1, ...] + accepts a command + requires at least command argument + runs command as a user in a group + provides unique identifier + runs command in specified directory + converts command to hash + escapes environment values Custom Printer prints command start accepts options - prints command stdout data prints command exit + prints command stdout data -TTY::Command#test - implements classic bash command +Failures: + + 1) TTY::Command#run logs phased output in one line + Failure/Error: + expect(lines).to eq([ + "[\e[32m#{uuid}\e[0m] Running \e[33;1mruby #{phased_output}\e[0m\n", + "[\e[32m#{uuid}\e[0m] \t..........\n", + "[\e[32m#{uuid}\e[0m] Finished in x seconds with exit status 0 " \ + "(\e[32;1msuccessful\e[0m)\n" + ]) + + expected: ["[\e[32mxxxx\e[0m] Running \e[33;1mruby /build/reproducible-path/ruby-tty-command-0.10.1/spec/fixtures/phased_output\e[0m\n", "[\e[32mxxxx\e[0m] \t..........\n", "[\e[32mxxxx\e[0m] Finished in x seconds with exit status 0 (\e[32;1msuccessful\e[0m)\n"] + got: ["[\e[32mxxxx\e[0m] Running \e[33;1mruby /build/reproducible-path/ruby-tty-command-0.10.1/spec/fixtures/phased_output\e[0m\n", "[\e[32mxxxx\e[0m] \t..........\n", "[\e[32mxxxx\e[0m] Finished in x second with exit status 0 (\e[32;1msuccessful\e[0m)\n"] + + (compared using ==) + + Diff: + @@ -1,4 +1,4 @@ + [xxxx] Running ruby /build/reproducible-path/ruby-tty-command-0.10.1/spec/fixtures/phased_output\n + [xxxx] ..........\n + -[xxxx] Finished in x seconds with exit status 0 (successful)\n + +[xxxx] Finished in x second with exit status 0 (successful)\n + # ./spec/unit/run_spec.rb:159:in `block (2 levels) in ' + + 2) TTY::Command :pty logs phased output in pseudo terminal mode + Failure/Error: + expect(lines).to eq([ + "[\e[32m#{uuid}\e[0m] Running \e[33;1mruby #{phased_output}\e[0m\n", + "[\e[32m#{uuid}\e[0m] \t.\n", + "[\e[32m#{uuid}\e[0m] \t.\n", + "[\e[32m#{uuid}\e[0m] \t.\n", + "[\e[32m#{uuid}\e[0m] \t.\n", + "[\e[32m#{uuid}\e[0m] \t.\n", + "[\e[32m#{uuid}\e[0m] \t.\n", + "[\e[32m#{uuid}\e[0m] \t.\n", + "[\e[32m#{uuid}\e[0m] \t.\n", + + expected: ["[\e[32mxxxx\e[0m] Running \e[33;1mruby /build/reproducible-path/ruby-tty-command-0.10.1/spec/fixtures/phased_output\e[0m\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] Finished in x seconds with exit status 0 (\e[32;1msuccessful\e[0m)\n"] + got: ["[\e[32mxxxx\e[0m] Running \e[33;1mruby /build/reproducible-path/ruby-tty-command-0.10.1/spec/fixtures/phased_output\e[0m\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] \t.\n", "[\e[32mxxxx\e[0m] Finished in x second with exit status 0 (\e[32;1msuccessful\e[0m)\n"] + + (compared using ==) + + Diff: + @@ -9,5 +9,5 @@ + [xxxx] .\n + [xxxx] .\n + [xxxx] .\n + -[xxxx] Finished in x seconds with exit status 0 (successful)\n + +[xxxx] Finished in x second with exit status 0 (successful)\n + # ./spec/unit/pty_spec.rb:44:in `block (2 levels) in ' -Top 2 slowest examples (0.8879 seconds, 18.7% of total time): - TTY::Command::Printers::Pretty prints output on error & raises ExitError when only_output_on_error is true - 0.44478 seconds ./spec/unit/printers/pretty_spec.rb:120 +Top 2 slowest examples (3.64 seconds, 19.6% of total time): TTY::Command::Printers::Pretty prints output on error when only_output_on_error is true - 0.44312 seconds ./spec/unit/printers/pretty_spec.rb:144 + 1.9 seconds ./spec/unit/printers/pretty_spec.rb:144 + TTY::Command::Printers::Quiet doesn't print output on success when only_output_on_error is true + 1.74 seconds ./spec/unit/printers/quiet_spec.rb:37 Top 2 slowest example groups: TTY::Command :pty - 0.22169 seconds average (0.66506 seconds / 3 examples) ./spec/unit/pty_spec.rb:3 - TTY::Command input - 0.22025 seconds average (0.22025 seconds / 1 example) ./spec/unit/input_spec.rb:3 + 1.02 seconds average (3.07 seconds / 3 examples) ./spec/unit/pty_spec.rb:3 + TTY::Command::Printers::Quiet + 0.69109 seconds average (3.46 seconds / 5 examples) ./spec/unit/printers/quiet_spec.rb:3 -Finished in 4.75 seconds (files took 0.48108 seconds to load) -120 examples, 0 failures +Finished in 18.52 seconds (files took 2.02 seconds to load) +120 examples, 2 failures -Randomized with seed 5857 +Failed examples: +rspec ./spec/unit/run_spec.rb:144 # TTY::Command#run logs phased output in one line +rspec ./spec/unit/pty_spec.rb:28 # TTY::Command :pty logs phased output in pseudo terminal mode -┌──────────────────────────────────────────────────────────────────────────────┐ -│ dh_ruby --install finished │ -└──────────────────────────────────────────────────────────────────────────────┘ +Randomized with seed 23610 - dh_installdocs -O--buildsystem=ruby - dh_ruby_fixdocs -O--buildsystem=ruby - dh_installchangelogs -O--buildsystem=ruby - dh_installexamples -O--buildsystem=ruby - dh_installsystemduser -O--buildsystem=ruby - dh_perl -O--buildsystem=ruby - dh_link -O--buildsystem=ruby - dh_strip_nondeterminism -O--buildsystem=ruby - dh_compress -X.rb -O--buildsystem=ruby - dh_fixperms -O--buildsystem=ruby - dh_missing -O--buildsystem=ruby - dh_ruby_fixdepends -O--buildsystem=ruby - dh_installdeb -O--buildsystem=ruby - dh_gencontrol -O--buildsystem=ruby -dpkg-gencontrol: warning: Depends field of package ruby-tty-command: substitution variable ${shlibs:Depends} used, but is not defined -dpkg-gencontrol: warning: package ruby-tty-command: substitution variable ${ruby:Versions} used, but is not defined - dh_md5sums -O--buildsystem=ruby - dh_builddeb -O--buildsystem=ruby -dpkg-deb: building package 'ruby-tty-command' in '../ruby-tty-command_0.10.1-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../ruby-tty-command_0.10.1-1_armhf.buildinfo - dpkg-genchanges --build=binary -O../ruby-tty-command_0.10.1-1_armhf.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: including full source code in upload +/usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed +ERROR: Test "ruby3.1" failed. Exiting. +dh_auto_install: error: dh_ruby --install /build/reproducible-path/ruby-tty-command-0.10.1/debian/ruby-tty-command returned exit code 1 +make: *** [debian/rules:7: binary] Error 25 +dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/25555/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Mon Jan 8 20:36:59 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 2.0G 0 2.0G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/25555/tmp/hooks/C01_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/12965 and its subdirectories -I: Current time: Mon Jan 8 08:32:12 -12 2024 -I: pbuilder-time-stamp: 1704745932 +I: removing directory /srv/workspace/pbuilder/25555 and its subdirectories