Diff of the two buildlogs: -- --- b1/build.log 2024-11-13 11:14:09.824585333 +0000 +++ b2/build.log 2024-11-13 11:15:41.117322437 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Nov 12 23:13:18 -12 2024 -I: pbuilder-time-stamp: 1731496398 +I: Current time: Wed Dec 17 07:37:33 +14 2025 +I: pbuilder-time-stamp: 1765906653 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,54 +29,86 @@ 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/54138/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/88466/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 Dec 16 17:37 /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/88466/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/88466/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='45cf47cb455e4d3986155fbef9e5691c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='54138' - PS1='# ' - PS2='> ' + INVOCATION_ID=754c91c72d3e44dd80d280c2791cb75d + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=88466 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.HLzqmQ0D/pbuilderrc_QSmu --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.HLzqmQ0D/b1 --logfile b1/build.log ruby-dry-cli_1.1.0-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.HLzqmQ0D/pbuilderrc_2dHh --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.HLzqmQ0D/b2 --logfile b2/build.log ruby-dry-cli_1.1.0-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/54138/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/88466/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -251,7 +283,7 @@ Get: 133 http://deb.debian.org/debian unstable/main i386 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 134 http://deb.debian.org/debian unstable/main i386 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 135 http://deb.debian.org/debian unstable/main i386 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 44.7 MB in 1s (44.0 MB/s) +Fetched 44.7 MB in 1s (66.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:i386. (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 ... 19955 files and directories currently installed.) @@ -706,8 +738,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Nov 13 11:13:45 UTC 2024. -Universal Time is now: Wed Nov 13 11:13:45 UTC 2024. +Local time is now: Tue Dec 16 17:38:14 UTC 2025. +Universal Time is now: Tue Dec 16 17:38:14 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -827,7 +859,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/88466/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/88466/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 @@ -855,7 +891,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/d20241112-58943-738tf5/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20251217-98501-ic0mfx/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 @@ -863,7 +899,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/d20241112-58943-738tf5/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/d20251217-98501-ic0mfx/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 @@ -909,38 +945,7 @@ 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/i386-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/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 57562 - -Dry::CLI::Registry - .after - when object is given - raises error when it doesn't respond to #call - when command can't be found - raises error - when class is given - raises error when #initialize arity is not equal to 0 - .before - when object is given - raises error when it doesn't respond to #call - when command can't be found - raises error - when class is given - raises error when #initialize arity is not equal to 0 - -Inherited commands - works for subclasses - when --help flag - subclass do not - -Rendering - prints available commands for unknown command - -Subcommands - works with root command subcommands - with options - with params - works with params - with help param +Randomized with seed 45747 Commands with extra params @@ -948,343 +953,356 @@ and there are options parses both separately +Third-party gems + allows to add callbacks as a block + +Single command + root command with arguments and subcommands + with options + with arguments + with command + shows help + with combination of aliases + with option_one + shows usage + +Rendering + prints available commands for unknown command + Processes Errors - when SignalException - returns correct statuscode when Pipe Exception handles EPIPE without stacktrace + when SignalException + returns correct statuscode Dry::CLI::Inflector .dasherize - accepts any object that respond to #to_s - downcases input returns nil if input is nil replaces underscores with dashes replaces spaces with dashes + accepts any object that respond to #to_s + downcases input -Single command - root command with arguments and subcommands - with options - with arguments +Inline with command - with option_one - with combination of aliases - shows usage + with underscored option_one shows help +Inherited commands + works for subclasses + when --help flag + subclass do not + +Subcommands + works with root command subcommands + with params + with options + works with params + with help param + +Dry::CLI::Registry + .before + when command can't be found + raises error + 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 + .after + 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 + when command can't be found + raises error + CLI with command - with combination of aliases - with optional_arg shows help - with required_argument + with underscored boolean_option with underscored option_one - with boolean_option alias + with combination of aliases with underscoreed option_with_default alias - with underscored boolean_option + with optional_arg with option_one alias + with boolean_option alias + with required_argument when registry - passing block with no arguments - prints subcommand's commands - prints list options when calling help - allows to override a subcommand - calls subcommand - calls basic command with alias - prints required params - prints first level - prints required params with labels + passing module + prints available commands for unknown subcommand prints subcommand's subcommand + prints first level + calls basic command allows to override basic commands - allows to call array option - calls subcommand via intermediate alias prints available commands for unknown command + prints subcommand's commands + allows to call array option allows to add a subcommand - prints available commands for unknown subcommand - calls basic command + prints required params with labels + prints required params + calls basic command with alias + calls subcommand via intermediate alias + prints list options when calling help + allows to override a subcommand allows to invoke a subcommand via an inherited subcomand aliases + calls subcommand + with description + subclass does not inherit it + subclasses subclass does not inherit it with multible subclasses of Dry::CLI::Command subclasses do nod share options - callbacks - allows to add callbacks as a block + works with root command + shows help + works with params + with option using equal sign + with params + with option using space + without params + with inherited options + run has default verbosity_level + logs has verbosity_level set to WARNING + subrun has default verbosity_level too + addons has verbosity_level set to debug works with params - a param with unknown param - with boolean param a param using equal sign - with flag param - with help param - without params a param using alias + without params + with help 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 supported values - and with an unknown value passed - prints error - and with supported value passed - call the command with the option with required params - can be used - with unknown param + more than one param and with boolean params + only one param + more than one param + more than one param and with optional params + more than required params an error is displayed if there aren't required params - with default value and using options - no required - with inherited options - run has default verbosity_level - logs has verbosity_level set to WARNING - addons has verbosity_level set to debug - subrun has default verbosity_level too - with description - subclass does not inherit it - subclasses subclass does not inherit it - with inherited arguments - run expects APP_NAME and CMD_NAME - subrun expects APP_NAME and CMD_NAME - addons expects APP_NAME - logs expects APP_NAME - with help flag - shows run's help - shows subcommands - shows subrun's help - shows addon's help - shows log's help + an error is displayed if there are some required params + and a default value + returns the passed value + returns the default value if nothing is passed 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 - works with root command - shows help - works with params - with params - with option using equal sign with option using space without params + works with instances of commands + executes instance + callbacks + allows to add callbacks as a block with example subclass does not inherit it + with help flag + shows subrun's help + shows log's help + shows addon's help + shows run's help + shows subcommands + with inherited arguments + subrun expects APP_NAME and CMD_NAME + addons expects APP_NAME + logs expects APP_NAME + run expects APP_NAME and CMD_NAME works with params a param using space + a param using equal sign + with flag param with help param a param using alias without params - a param using equal sign + with boolean param + a param with unknown param with required params - only one param - more than one param and with optional params - more than one param and with boolean params - more than one param - an error is displayed if there are some required params + can be used + with unknown param + no required an error is displayed if there aren't required params - more than required params - and a default value - returns the default value if nothing is passed - returns the passed value - works with instances of commands - executes instance - passing block - calls subcommand via intermediate alias - prints available commands for unknown subcommand - prints subcommand's subcommand - prints list options when calling help - calls basic command + with default value and using options + 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 supported values + and with an unknown value passed + prints error + and with supported value passed + call the command with the option + passing block with no arguments + allows to call array option prints required params prints first level + prints subcommand's commands allows to override a subcommand + calls subcommand via intermediate alias calls subcommand calls basic command with alias - allows to override basic commands - prints available commands for unknown command - allows to call array option - allows to add a subcommand prints required params with labels - prints subcommand's commands + allows to add a subcommand + calls basic command allows to invoke a subcommand via an inherited subcomand aliases + allows to override basic commands + prints available commands for unknown subcommand + prints list options when calling help + prints subcommand's subcommand + prints available commands for unknown command works with root command shows help works with params - without params + with params with option using space with option using equal sign - with params - with help flag - shows addon's help - shows subcommands - shows log's help - shows subrun's help - shows run's help - with inherited arguments - run expects APP_NAME and CMD_NAME - subrun expects APP_NAME and CMD_NAME - logs expects APP_NAME - addons expects APP_NAME - with example - subclass does not inherit it - with multible subclasses of Dry::CLI::Command - subclasses do nod share options - callbacks - allows to add callbacks as a block + without params works with params - without params a param using alias + a param using equal sign a param using space with help param - a param using equal sign + without params with required params - an error is displayed if there aren't required params - an error is displayed if there are some required params more than one param and with boolean params more than one param and with optional params - only one param - more than one param + an error is displayed if there are some required params + an error is displayed if there aren't required params more than required params + more than one param + only one param and a default value - returns the passed value returns the default value if nothing is passed - works with instances of commands - executes instance + returns the passed value with description subclass does not inherit it subclasses subclass does not inherit it + with multible subclasses of Dry::CLI::Command + subclasses do nod share options + with help flag + shows run's help + shows subcommands + shows subrun's help + shows log's help + shows addon's help + with inherited options + run has default verbosity_level + logs has verbosity_level set to WARNING + addons has verbosity_level set to debug + subrun has default verbosity_level too + with example + subclass does not inherit it works with params - a param using equal sign - without params - a param using alias with flag param - with boolean param - a param using space a param with unknown param + without params + a param using space + with boolean param with help param - with extra params - is accessible via options[:args] - when there is a required argument - parses both separately - and there are options - parses both separately + a param using equal sign + a param using alias with supported values and with supported value passed call the command with the option and with an unknown value passed prints error with required params - with unknown param - an error is displayed if there aren't required params with default value and using options + an error is displayed if there aren't required params + with unknown param no required can be used with array param - allows to omit optional array argument capture all the remaining arguments - 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 + allows to omit optional array argument + 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 + works with instances of commands + executes instance works with command with arguments and subcommands shows help works with params - without params + with params with option using space with option using equal sign - with params - passing module - allows to override a subcommand - allows to call array option - prints required params - prints subcommand's commands - prints available commands for unknown subcommand + without params + 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 + passing block + prints list options when calling help prints required params with labels prints first level allows to override basic commands + prints subcommand's commands + prints available commands for unknown command prints subcommand's subcommand + allows to call array option calls subcommand - prints available commands for unknown command - prints list options when calling help + prints available commands for unknown subcommand + calls subcommand via intermediate alias + allows to override a subcommand + allows to add a subcommand + prints required params calls basic command allows to invoke a subcommand via an inherited subcomand aliases - calls subcommand via intermediate alias calls basic command with alias - allows to add a subcommand - 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 - works with command with arguments and subcommands + works with root command shows help works with params with option using equal sign - without params with option using space with params - with inherited options - addons has verbosity_level set to debug - logs has verbosity_level set to WARNING - subrun has default verbosity_level too - run has default verbosity_level - with help flag - shows subcommands - shows subrun's help - shows log's help - shows addon's help - shows run's help - works with params - a param using equal sign - with help param - a param using space - a param using alias - without params - with required params - an error is displayed if there are some required params - more than one param and with optional params - more than one param - only one param - an error is displayed if there aren't required params - more than 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 - with description - subclass does not inherit it - subclasses subclass does not inherit it - works with root command + without params + works with command with arguments and subcommands shows help works with params with params + without params with option using space with option using equal sign - without params - with multible subclasses of Dry::CLI::Command - subclasses do nod share options + with description + subclasses subclass does not inherit it + subclass does not inherit it + callbacks + allows to add callbacks as a block works with instances of commands executes instance + with example + subclass does not inherit it + with multible subclasses of Dry::CLI::Command + subclasses do nod share options + 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 works with params - with boolean param - with flag param - without params with help param - a param using equal sign + a param using alias + without params + with flag param + with boolean param a param with unknown param + a param using equal sign a param using space - a param using alias with array param - allows to omit optional array argument 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 + and with an unknown value passed + prints error with extra params is accessible via options[:args] when there is a required argument @@ -1292,70 +1310,88 @@ and there are options parses both separately with required params - with unknown param + no required an error is displayed if there aren't required params can be used - no required with default value and using options - with example - subclass does not inherit it - -Third-party gems - allows to add callbacks as a block - -Inline - with command - with underscored option_one - shows help + with unknown param + with help flag + shows addon's help + shows run's help + shows subcommands + shows log's help + shows subrun's help + with inherited options + subrun has default verbosity_level too + addons has verbosity_level set to debug + run has default verbosity_level + logs has verbosity_level set to WARNING + works with params + a param using space + a param using alias + with help param + a param using equal sign + without params + with required params + an error is displayed if there are some required params + more than required params + more than one param + only one param + more than one param and with boolean params + more than one param and with optional params + an error is displayed if there aren't required params + and a default value + returns the passed value + returns the default value if nothing is passed -Top 10 slowest examples (2.14 seconds, 54.2% of total time): +Top 10 slowest examples (1.64 seconds, 58.2% of total time): Processes Errors when SignalException returns correct statuscode - 0.50744 seconds ./spec/integration/processes_errors_spec.rb:5 + 0.50532 seconds ./spec/integration/processes_errors_spec.rb:5 Processes Errors when Pipe Exception handles EPIPE without stacktrace - 0.18521 seconds ./spec/integration/processes_errors_spec.rb:24 - Single command with command shows usage - 0.18309 seconds ./spec/integration/single_command_spec.rb:9 - Single command with command with option_one - 0.18248 seconds ./spec/integration/single_command_spec.rb:41 - Single command with command shows help - 0.18231 seconds ./spec/integration/single_command_spec.rb:16 - Commands with extra params when there is a required argument and there are options parses both separately - 0.18099 seconds ./spec/integration/commands_spec.rb:7 - Single command root command with arguments and subcommands with arguments - 0.18078 seconds ./spec/integration/single_command_spec.rb:59 + 0.15115 seconds ./spec/integration/processes_errors_spec.rb:24 Third-party gems allows to add callbacks as a block - 0.17932 seconds ./spec/integration/third_party_gems_spec.rb:4 - Inherited commands works for subclasses - 0.17903 seconds ./spec/integration/inherited_commands_spec.rb:18 + 0.14416 seconds ./spec/integration/third_party_gems_spec.rb:4 + Single command root command with arguments and subcommands with options + 0.12922 seconds ./spec/integration/single_command_spec.rb:70 Subcommands works with root command subcommands with params - 0.17545 seconds ./spec/integration/subcommands_spec.rb:37 + 0.12561 seconds ./spec/integration/subcommands_spec.rb:37 + Single command root command with arguments and subcommands with arguments + 0.12035 seconds ./spec/integration/single_command_spec.rb:59 + Inline with command shows help + 0.11666 seconds ./spec/integration/inline_spec.rb:9 + Commands with extra params when there is a required argument and there are options parses both separately + 0.11656 seconds ./spec/integration/commands_spec.rb:7 + Single command with command with combination of aliases + 0.11455 seconds ./spec/integration/single_command_spec.rb:49 + Inherited commands when --help flag subclass do not + 0.11391 seconds ./spec/integration/inherited_commands_spec.rb:5 Top 10 slowest example groups: Processes Errors - 0.34719 seconds average (0.69437 seconds / 2 examples) ./spec/integration/processes_errors_spec.rb:3 - Commands - 0.18237 seconds average (0.18237 seconds / 1 example) ./spec/integration/commands_spec.rb:3 + 0.3289 seconds average (0.65779 seconds / 2 examples) ./spec/integration/processes_errors_spec.rb:3 Third-party gems - 0.1798 seconds average (0.1798 seconds / 1 example) ./spec/integration/third_party_gems_spec.rb:3 + 0.1446 seconds average (0.1446 seconds / 1 example) ./spec/integration/third_party_gems_spec.rb:3 + Commands + 0.11789 seconds average (0.11789 seconds / 1 example) ./spec/integration/commands_spec.rb:3 Single command - 0.17935 seconds average (1.08 seconds / 6 examples) ./spec/integration/single_command_spec.rb:5 + 0.11633 seconds average (0.69797 seconds / 6 examples) ./spec/integration/single_command_spec.rb:5 + Inline + 0.11516 seconds average (0.23032 seconds / 2 examples) ./spec/integration/inline_spec.rb:5 + Subcommands + 0.11475 seconds average (0.34424 seconds / 3 examples) ./spec/integration/subcommands_spec.rb:5 Inherited commands - 0.17709 seconds average (0.35419 seconds / 2 examples) ./spec/integration/inherited_commands_spec.rb:3 + 0.11421 seconds average (0.22842 seconds / 2 examples) ./spec/integration/inherited_commands_spec.rb:3 Rendering - 0.17503 seconds average (0.17503 seconds / 1 example) ./spec/integration/rendering_spec.rb:5 - Subcommands - 0.17456 seconds average (0.52369 seconds / 3 examples) ./spec/integration/subcommands_spec.rb:5 - Inline - 0.17142 seconds average (0.34284 seconds / 2 examples) ./spec/integration/inline_spec.rb:5 + 0.11016 seconds average (0.11016 seconds / 1 example) ./spec/integration/rendering_spec.rb:5 Dry::CLI::Registry - 0.00177 seconds average (0.01063 seconds / 6 examples) ./spec/unit/dry/cli/registry_spec.rb:3 - CLI - 0.00158 seconds average (0.39273 seconds / 249 examples) ./spec/unit/dry/cli/cli_spec.rb:3 + 0.00184 seconds average (0.01102 seconds / 6 examples) ./spec/unit/dry/cli/registry_spec.rb:3 + Dry::CLI::Inflector + 0.00119 seconds average (0.00595 seconds / 5 examples) ./spec/unit/dry/cli/inflector_spec.rb:3 -Finished in 3.94 seconds (files took 0.59616 seconds to load) +Finished in 2.81 seconds (files took 0.43943 seconds to load) 278 examples, 0 failures -Randomized with seed 57562 +Randomized with seed 45747 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1386,12 +1422,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/88466/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/88466/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/54138 and its subdirectories -I: Current time: Tue Nov 12 23:14:09 -12 2024 -I: pbuilder-time-stamp: 1731496449 +I: removing directory /srv/workspace/pbuilder/88466 and its subdirectories +I: Current time: Wed Dec 17 07:38:36 +14 2025 +I: pbuilder-time-stamp: 1765906716