Diff of the two buildlogs: -- --- b1/build.log 2024-10-19 22:52:16.704650988 +0000 +++ b2/build.log 2024-10-19 22:56:09.500385419 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Oct 19 10:50:17 -12 2024 -I: pbuilder-time-stamp: 1729378217 +I: Current time: Sun Oct 20 12:52:27 +14 2024 +I: pbuilder-time-stamp: 1729378347 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying ruby-version-mismatch.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/27196/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10464/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 Oct 19 22:52 /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/10464/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10464/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]="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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='1baa6125ed3a46b493885619061332d5' - 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='27196' - PS1='# ' - PS2='> ' + INVOCATION_ID=20c54c4750824a8c96133e8c7e10c657 + 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=10464 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.wiqPZXUk/pbuilderrc_M8KW --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.wiqPZXUk/b1 --logfile b1/build.log ruby-dry-cli_1.1.0-2.dsc' - SUDO_GID='112' - SUDO_UID='106' - 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.wiqPZXUk/pbuilderrc_nxPQ --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.wiqPZXUk/b2 --logfile b2/build.log ruby-dry-cli_1.1.0-2.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 virt32b 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) 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/27196/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/10464/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -248,7 +280,7 @@ Get: 133 http://deb.debian.org/debian unstable/main armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 134 http://deb.debian.org/debian unstable/main armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 135 http://deb.debian.org/debian unstable/main armhf ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 41.9 MB in 1s (32.4 MB/s) +Fetched 41.9 MB in 8s (5110 kB/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 ... 19665 files and directories currently installed.) @@ -703,8 +735,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Oct 19 22:51:21 UTC 2024. -Universal Time is now: Sat Oct 19 22:51:21 UTC 2024. +Local time is now: Sat Oct 19 22:54:19 UTC 2024. +Universal Time is now: Sat Oct 19 22:54:19 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -824,7 +856,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-dry-cli-1.1.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-dry-cli_1.1.0-2_source.changes +I: user script /srv/workspace/pbuilder/10464/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/10464/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-dry-cli-1.1.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-dry-cli_1.1.0-2_source.changes dpkg-buildpackage: info: source package ruby-dry-cli dpkg-buildpackage: info: source version 1.1.0-2 dpkg-buildpackage: info: source distribution unstable @@ -852,7 +888,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-dry-cli/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-dry-cli-1.1.0/debian/ruby-dry-cli -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241019-31839-nftflu/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241020-26152-k6uh2z/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: description and summary are identical WARNING: See https://guides.rubygems.org/specification-reference/ for help @@ -860,7 +896,7 @@ Name: dry-cli Version: 1.1.0 File: dry-cli-1.1.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-dry-cli/usr/share/rubygems-integration/all /tmp/d20241019-31839-nftflu/dry-cli-1.1.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-dry-cli/usr/share/rubygems-integration/all /tmp/d20241020-26152-k6uh2z/dry-cli-1.1.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-dry-cli-1.1.0/debian/ruby-dry-cli/usr/share/rubygems-integration/all/gems/dry-cli-1.1.0/lib/dry/cli.rb /build/reproducible-path/ruby-dry-cli-1.1.0/debian/ruby-dry-cli/usr/share/rubygems-integration/all/gems/dry-cli-1.1.0/lib/dry/cli/banner.rb @@ -906,33 +942,24 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-dry-cli-1.1.0/debian/ruby-dry-cli/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-dry-cli-1.1.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 15906 - -Commands - with extra params - when there is a required argument - and there are options - parses both separately +Randomized with seed 13137 Dry::CLI::Inflector .dasherize replaces spaces with dashes - returns nil if input is nil - downcases input replaces underscores with dashes accepts any object that respond to #to_s - -Rendering - prints available commands for unknown command + downcases input + returns nil if input is nil Dry::CLI::Registry .after - when class is given - raises error when #initialize arity is not equal to 0 - when object is given - raises error when it doesn't respond to #call when command can't be found raises error + when object is given + raises error when it doesn't respond to #call + when class is given + raises error when #initialize arity is not equal to 0 .before when command can't be found raises error @@ -941,454 +968,497 @@ when object is given raises error when it doesn't respond to #call -Single command - root command with arguments and subcommands - with arguments - with options +Inline with command - shows usage - with combination of aliases - with option_one shows help - -Third-party gems - allows to add callbacks as a block + with underscored option_one Processes Errors + when SignalException +/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:281:in `flatten': Interrupt + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:281:in `authors=' + from /usr/lib/ruby/gems/3.1.0/specifications/default/un-0.2.0.gemspec:11:in `block in load' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2073:in `initialize' + from /usr/lib/ruby/gems/3.1.0/specifications/default/un-0.2.0.gemspec:4:in `new' + from /usr/lib/ruby/gems/3.1.0/specifications/default/un-0.2.0.gemspec:4:in `load' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1164:in `eval' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1164:in `load' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:809:in `block in each_spec' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:781:in `block (2 levels) in each_gemspec' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:780:in `each' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:780:in `block in each_gemspec' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:779:in `each' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:779:in `each_gemspec' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:808:in `each_spec' + from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:879:in `load_defaults' + from /usr/lib/ruby/vendor_ruby/rubygems.rb:1353:in `' + from :2:in `require' + from :2:in `' + returns correct statuscode (FAILED - 1) when Pipe Exception handles EPIPE without stacktrace - when SignalException - returns correct statuscode - -Subcommands - works with root command subcommands - with options - with params - works with params - with help param CLI + with command + with underscored option_one + with boolean_option alias + with option_one alias + with underscored boolean_option + with optional_arg + shows help + with underscoreed option_with_default alias + with required_argument + with combination of aliases when registry passing block - calls subcommand via intermediate alias - calls subcommand - prints first level - allows to add a subcommand + prints list options when calling help + prints subcommand's commands + allows to override basic commands calls basic command with alias allows to invoke a subcommand via an inherited subcomand aliases - allows to override a subcommand - prints required params - prints available commands for unknown subcommand + prints first level prints subcommand's subcommand calls basic command - allows to override basic commands + calls subcommand prints available commands for unknown command - prints required params with labels allows to call array option - prints subcommand's commands - prints list options when calling help + allows to override a subcommand + prints required params + prints required params with labels + calls subcommand via intermediate alias + allows to add a subcommand + prints available commands for unknown subcommand + with example + subclass does not inherit it with inherited options logs has verbosity_level set to WARNING run has default verbosity_level - addons has verbosity_level set to debug subrun has default verbosity_level too + addons has verbosity_level set to debug + with help flag + shows run's help + shows addon's help + shows subcommands + shows log's help + shows subrun's help works with root command shows help works with params with option using space - without params - with option using equal sign with params + with option using equal sign + without params with description subclasses subclass does not inherit it subclass does not inherit it - callbacks - allows to add callbacks as a block - with example - subclass does not inherit it - works with command with arguments and subcommands - shows help - works with params - with option using equal sign - with option using space - with params - without params works with params - a param using equal sign + with help param without params - a param using alias a param using space - with help param + with boolean param + with flag param + a param with unknown param + a param using equal sign + a param using alias + with supported values + and with an unknown value passed + prints error + and with supported value passed + call the command with the option + with array param + allows to omit optional array argument + capture all the remaining arguments with required params - more than one param - more than one param and with optional params - more than one param and with boolean params + with unknown param + with default value and using options + can be used + no required an error is displayed if there aren't required params - an error is displayed if there are some required params - more than required params - only one param - and a default value - returns the default value if nothing is passed - returns the passed value + with extra params + is accessible via options[:args] + when there is a required argument + parses both separately + and there are options + parses both separately + callbacks + allows to add callbacks as a block with multible subclasses of Dry::CLI::Command subclasses do nod share options - works with instances of commands - executes instance - with help flag - shows log's help - shows addon's help - shows subrun's help - shows subcommands - shows run's help + works with command with arguments and subcommands + shows help + works with params + with params + with option using equal sign + without params + with option using space with inherited arguments - logs expects APP_NAME subrun expects APP_NAME and CMD_NAME - addons expects APP_NAME run expects APP_NAME and CMD_NAME + addons expects APP_NAME + logs expects APP_NAME + works with instances of commands + executes instance works with params a param using alias a param using equal sign + a param using space without params - with boolean param - a param with unknown param with help param - with flag param - a param using space - with array param - allows to omit optional array argument - capture all the remaining arguments - with extra params - is accessible via options[:args] - when there is a required argument - parses both separately - and there are options - parses both separately with required params + more than required params + only one param an error is displayed if there aren't required params - no required - with default value and using options - with unknown param - can be used - with supported values - and with an unknown value passed - prints error - and with supported value passed - call the command with the option - passing module - prints list options when calling help - prints available commands for unknown subcommand + more than one param and with optional params + more than one param + an error is displayed if there are some required params + more than one param and with boolean params + and a default value + returns the default value if nothing is passed + returns the passed value + passing block with no arguments + allows to invoke a subcommand via an inherited subcomand aliases + calls basic command with alias + prints required params prints first level + prints list options when calling help calls subcommand - allows to call array option - allows to override a subcommand - allows to invoke a subcommand via an inherited subcomand aliases - allows to add a subcommand + prints subcommand's commands + prints available commands for unknown subcommand allows to override basic commands + calls subcommand via intermediate alias + prints available commands for unknown command + allows to call array option prints subcommand's subcommand prints required params with labels - calls subcommand via intermediate alias - prints required params - prints subcommand's commands - calls basic command with alias calls basic command - prints available commands for unknown command - with inherited options - run has default verbosity_level - subrun has default verbosity_level too - addons has verbosity_level set to debug - logs has verbosity_level set to WARNING - works with root command - shows help - works with params - with option using space - without params - with option using equal sign - with params - callbacks - allows to add callbacks as a block + allows to add a subcommand + allows to override a subcommand works with params a param using space - a param using equal sign a param using alias - without params with help param + without params + a param using equal sign with required params - an error is displayed if there aren't required params - more than one param and with boolean params more than required params + an error is displayed if there aren't required params more than one param and with optional params + more than one param and with boolean params more than one param - only one param an error is displayed if there are some required params + only one param and a default value returns the passed value returns the default value if nothing is passed - with inherited arguments - addons expects APP_NAME - run expects APP_NAME and CMD_NAME - subrun expects APP_NAME and CMD_NAME - logs expects APP_NAME - with description - subclasses subclass does not inherit it - subclass does not inherit it - works with instances of commands - executes instance with help flag shows run's help - shows subcommands - shows log's help shows subrun's help + shows log's help shows addon's help + shows subcommands + with inherited options + run has default verbosity_level + addons has verbosity_level set to debug + logs has verbosity_level set to WARNING + subrun has default verbosity_level too works with params - with flag param - without params with help param - a param using equal sign - a param with unknown param a param using alias a param using space with boolean param + with flag param + a param using equal sign + a param with unknown param + without params with extra params is accessible via options[:args] when there is a required argument parses both separately and there are options parses both separately - with array param - allows to omit optional array argument - capture all the remaining arguments with required params - an error is displayed if there aren't required params - can be used with unknown param no required with default value and using options + an error is displayed if there aren't required params + can be used + with array param + capture all the remaining arguments + allows to omit optional array argument with supported values and with an unknown value passed prints error and with supported value passed call the command with the option - with example + with description subclass does not inherit it + subclasses subclass does not inherit it + works with instances of commands + executes instance + with multible subclasses of Dry::CLI::Command + subclasses do nod share options + with inherited arguments + subrun expects APP_NAME and CMD_NAME + logs expects APP_NAME + run expects APP_NAME and CMD_NAME + addons expects APP_NAME works with command with arguments and subcommands shows help works with params - without params - with params with option using space + without params with option using equal sign - with multible subclasses of Dry::CLI::Command - subclasses do nod share options - passing block with no arguments - prints available commands for unknown command - prints first level - calls subcommand - prints subcommand's commands - allows to override a subcommand - calls basic command - prints subcommand's subcommand - prints available commands for unknown subcommand - prints list options when calling help - allows to call array option - calls subcommand via intermediate alias - allows to invoke a subcommand via an inherited subcomand aliases - calls basic command with alias - prints required params with labels - prints required params - allows to add a subcommand - allows to override basic commands + with params works with root command shows help works with params with params + without params with option using space with option using equal sign - without params - with help flag - shows log's help - shows subcommands - shows run's help - shows subrun's help - shows addon's help - works with instances of commands - executes instance - with multible subclasses of Dry::CLI::Command - subclasses do nod share options + with example + subclass does not inherit it callbacks allows to add callbacks as a block - with inherited arguments - logs expects APP_NAME - subrun expects APP_NAME and CMD_NAME - run expects APP_NAME and CMD_NAME - addons expects APP_NAME + passing module + calls subcommand via intermediate alias + prints available commands for unknown subcommand + prints subcommand's subcommand + allows to override a subcommand + allows to call array option + allows to invoke a subcommand via an inherited subcomand aliases + allows to add a subcommand + prints required params + prints subcommand's commands + allows to override basic commands + calls basic command with alias + calls basic command + prints available commands for unknown command + prints first level + prints list options when calling help + prints required params with labels + calls subcommand + with description + subclass does not inherit it + subclasses subclass does not inherit it works with params - a param using alias + with help param + without params + a param using space + a param with unknown param with flag param a param using equal sign - a param with unknown param with boolean param - a param using space - without params - with help param + a param using alias + with required params + an error is displayed if there aren't required params + with default value and using options + no required + with unknown param + can be used with supported values - and with an unknown value passed - prints error and with supported value passed call the command with the option + and with an unknown value passed + prints error with extra params is accessible via options[:args] when there is a required argument parses both separately and there are options parses both separately - with required params - with unknown param - an error is displayed if there aren't required params - with default value and using options - can be used - no required with array param allows to omit optional array argument capture all the remaining arguments - works with command with arguments and subcommands - shows help - works with params - with option using space - with option using equal sign - without params - with params - with description - subclass does not inherit it - subclasses subclass does not inherit it works with params - without params - a param using alias - a param using space a param using equal sign + a param using alias with help param + a param using space + without params with required params - more than one param and with boolean params - only one param more than required params - an error is displayed if there aren't required params + only one param more than one param - more than one param and with optional params an error is displayed if there are some required params + more than one param and with optional params + an error is displayed if there aren't required params + more than one param and with boolean params and a default value returns the passed value returns the default value if nothing is passed + works with root command + shows help + works with params + without params + with option using space + with option using equal sign + with params + with help flag + shows addon's help + shows subcommands + shows subrun's help + shows run's help + shows log's help + with multible subclasses of Dry::CLI::Command + subclasses do nod share options + callbacks + allows to add callbacks as a block + with inherited arguments + subrun expects APP_NAME and CMD_NAME + addons expects APP_NAME + run expects APP_NAME and CMD_NAME + logs expects APP_NAME + works with command with arguments and subcommands + shows help + works with params + with option using equal sign + with params + with option using space + without params + works with instances of commands + executes instance with inherited options subrun has default verbosity_level too - logs has verbosity_level set to WARNING run has default verbosity_level + logs has verbosity_level set to WARNING addons has verbosity_level set to debug with example subclass does not inherit it - with command - with optional_arg - with combination of aliases - with underscored boolean_option - with underscoreed option_with_default alias - with option_one alias - with underscored option_one - with boolean_option alias - with required_argument - shows help -Inline +Subcommands + works with params + with help param + works with root command subcommands + with options + with params + +Third-party gems + allows to add callbacks as a block + +Single command with command - with underscored option_one + with option_one + shows usage shows help + with combination of aliases + root command with arguments and subcommands + with options + with arguments + +Commands + with extra params + when there is a required argument + and there are options + parses both separately Inherited commands works for subclasses when --help flag subclass do not -Top 10 slowest examples (4.07 seconds, 51.6% of total time): - Processes Errors when SignalException returns correct statuscode - 0.51223 seconds ./spec/integration/processes_errors_spec.rb:5 - Rendering prints available commands for unknown command - 0.41603 seconds ./spec/integration/rendering_spec.rb:6 +Rendering + prints available commands for unknown command + +Failures: + + 1) Processes Errors when SignalException returns correct statuscode + Got 3 failures: + + 1.1) Failure/Error: expect(status1.exitstatus).to eq(129) + + expected: 129 + got: nil + + (compared using ==) + # ./spec/integration/processes_errors_spec.rb:17:in `block (3 levels) in ' + + 1.2) Failure/Error: expect(status2.exitstatus).to eq(130) + + expected: 130 + got: nil + + (compared using ==) + # ./spec/integration/processes_errors_spec.rb:18:in `block (3 levels) in ' + + 1.3) Failure/Error: expect(status15.exitstatus).to eq(143) + + expected: 143 + got: nil + + (compared using ==) + # ./spec/integration/processes_errors_spec.rb:19:in `block (3 levels) in ' + +Top 10 slowest examples (7.66 seconds, 53.6% of total time): Processes Errors when Pipe Exception handles EPIPE without stacktrace - 0.40487 seconds ./spec/integration/processes_errors_spec.rb:24 + 0.8952 seconds ./spec/integration/processes_errors_spec.rb:24 Single command with command with option_one - 0.40242 seconds ./spec/integration/single_command_spec.rb:41 - Commands with extra params when there is a required argument and there are options parses both separately - 0.40119 seconds ./spec/integration/commands_spec.rb:7 - Single command with command shows usage - 0.39618 seconds ./spec/integration/single_command_spec.rb:9 - Subcommands works with root command subcommands with params - 0.38706 seconds ./spec/integration/subcommands_spec.rb:37 - Single command root command with arguments and subcommands with arguments - 0.38514 seconds ./spec/integration/single_command_spec.rb:59 + 0.83586 seconds ./spec/integration/single_command_spec.rb:41 + Single command with command with combination of aliases + 0.81887 seconds ./spec/integration/single_command_spec.rb:49 Subcommands works with root command subcommands with options - 0.38362 seconds ./spec/integration/subcommands_spec.rb:48 + 0.804 seconds ./spec/integration/subcommands_spec.rb:48 + Inline with command shows help + 0.7943 seconds ./spec/integration/inline_spec.rb:9 + Subcommands works with params with help param + 0.78489 seconds ./spec/integration/subcommands_spec.rb:7 + Subcommands works with root command subcommands with params + 0.71655 seconds ./spec/integration/subcommands_spec.rb:37 Inherited commands when --help flag subclass do not - 0.38227 seconds ./spec/integration/inherited_commands_spec.rb:5 + 0.7097 seconds ./spec/integration/inherited_commands_spec.rb:5 + Single command with command shows help + 0.66086 seconds ./spec/integration/single_command_spec.rb:16 + Third-party gems allows to add callbacks as a block + 0.64462 seconds ./spec/integration/third_party_gems_spec.rb:4 Top 10 slowest example groups: - Processes Errors - 0.46093 seconds average (0.92186 seconds / 2 examples) ./spec/integration/processes_errors_spec.rb:3 - Rendering - 0.41888 seconds average (0.41888 seconds / 1 example) ./spec/integration/rendering_spec.rb:5 - Commands - 0.40502 seconds average (0.40502 seconds / 1 example) ./spec/integration/commands_spec.rb:3 Subcommands - 0.3836 seconds average (1.15 seconds / 3 examples) ./spec/integration/subcommands_spec.rb:5 + 0.77226 seconds average (2.32 seconds / 3 examples) ./spec/integration/subcommands_spec.rb:5 + Processes Errors + 0.76131 seconds average (1.52 seconds / 2 examples) ./spec/integration/processes_errors_spec.rb:3 Single command - 0.38097 seconds average (2.29 seconds / 6 examples) ./spec/integration/single_command_spec.rb:5 - Inherited commands - 0.3718 seconds average (0.7436 seconds / 2 examples) ./spec/integration/inherited_commands_spec.rb:3 + 0.67493 seconds average (4.05 seconds / 6 examples) ./spec/integration/single_command_spec.rb:5 Third-party gems - 0.35913 seconds average (0.35913 seconds / 1 example) ./spec/integration/third_party_gems_spec.rb:3 + 0.64617 seconds average (0.64617 seconds / 1 example) ./spec/integration/third_party_gems_spec.rb:3 Inline - 0.3486 seconds average (0.6972 seconds / 2 examples) ./spec/integration/inline_spec.rb:5 - Dry::CLI::Registry - 0.00522 seconds average (0.03133 seconds / 6 examples) ./spec/unit/dry/cli/registry_spec.rb:3 + 0.6381 seconds average (1.28 seconds / 2 examples) ./spec/integration/inline_spec.rb:5 + Inherited commands + 0.62583 seconds average (1.25 seconds / 2 examples) ./spec/integration/inherited_commands_spec.rb:3 + Rendering + 0.59905 seconds average (0.59905 seconds / 1 example) ./spec/integration/rendering_spec.rb:5 + Commands + 0.59442 seconds average (0.59442 seconds / 1 example) ./spec/integration/commands_spec.rb:3 CLI - 0.00341 seconds average (0.84988 seconds / 249 examples) ./spec/unit/dry/cli/cli_spec.rb:3 + 0.00793 seconds average (1.98 seconds / 249 examples) ./spec/unit/dry/cli/cli_spec.rb:3 + Dry::CLI::Registry + 0.00454 seconds average (0.02726 seconds / 6 examples) ./spec/unit/dry/cli/registry_spec.rb:3 -Finished in 7.89 seconds (files took 1.27 seconds to load) -278 examples, 0 failures +Finished in 14.3 seconds (files took 2.29 seconds to load) +278 examples, 1 failure -Randomized with seed 15906 +Failed examples: +rspec ./spec/integration/processes_errors_spec.rb:5 # Processes Errors when SignalException returns correct statuscode -┌──────────────────────────────────────────────────────────────────────────────┐ -│ dh_ruby --install finished │ -└──────────────────────────────────────────────────────────────────────────────┘ +Randomized with seed 13137 - dh_installdocs -O--buildsystem=ruby - dh_ruby_fixdocs -O--buildsystem=ruby - dh_installchangelogs -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-dry-cli: substitution variable ${shlibs:Depends} used, but is not defined - dh_md5sums -O--buildsystem=ruby - dh_builddeb -O--buildsystem=ruby -dpkg-deb: building package 'ruby-dry-cli' in '../ruby-dry-cli_1.1.0-2_all.deb'. - dpkg-genbuildinfo --build=binary -O../ruby-dry-cli_1.1.0-2_armhf.buildinfo - dpkg-genchanges --build=binary -O../ruby-dry-cli_1.1.0-2_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: not including original source code in upload +/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 failed +ERROR: Test "ruby3.1" failed. Exiting. +dh_auto_install: error: dh_ruby --install /build/reproducible-path/ruby-dry-cli-1.1.0/debian/ruby-dry-cli 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/10464/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Sat Oct 19 22:56:01 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 3.4G 0 3.4G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/10464/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/27196 and its subdirectories -I: Current time: Sat Oct 19 10:52:11 -12 2024 -I: pbuilder-time-stamp: 1729378331 +I: removing directory /srv/workspace/pbuilder/10464 and its subdirectories