Diff of the two buildlogs: -- --- b1/build.log 2023-04-22 23:20:53.181903111 +0000 +++ b2/build.log 2023-04-22 23:21:58.555005786 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 24 17:42:18 -12 2024 -I: pbuilder-time-stamp: 1716615738 +I: Current time: Sun Apr 23 13:20:56 +14 2023 +I: pbuilder-time-stamp: 1682205656 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./tmuxinator_3.0.5.orig.tar.gz] I: copying [./tmuxinator_3.0.5-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Jun 9 15:42:12 2022 -12 +gpgv: Signature made Fri Jun 10 17:42:12 2022 +14 gpgv: using RSA key 66A4EA704FE240558D6AC2E69394F354891D7E07 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./tmuxinator_3.0.5-1.dsc: no acceptable signature found @@ -28,52 +28,84 @@ dpkg-source: info: applying 0002-Drop-SimpleCov-for-reproducible-build.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/26694/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1190/tmp/hooks/D01_modify_environment starting +debug: Running on codethink14-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 23 13:21 /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/1190/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1190/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='26694' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=1190 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.o59SDquT/pbuilderrc_mchw --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.o59SDquT/b1 --logfile b1/build.log tmuxinator_3.0.5-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.o59SDquT/pbuilderrc_SkVZ --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.o59SDquT/b2 --logfile b2/build.log --extrapackages usrmerge tmuxinator_3.0.5-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink11-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/26694/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 23 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1190/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -305,7 +337,7 @@ Get: 168 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] Get: 169 http://deb.debian.org/debian bookworm/main arm64 ruby-xdg all 2.2.3-1.1 [12.0 kB] Get: 170 http://deb.debian.org/debian bookworm/main arm64 tmux arm64 3.3a-3 [419 kB] -Fetched 49.0 MB in 2s (28.4 MB/s) +Fetched 49.0 MB in 1s (37.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -1008,8 +1040,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/tmuxinator-3.0.5/ && 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 > ../tmuxinator_3.0.5-1_source.changes +I: user script /srv/workspace/pbuilder/1190/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/1190/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/tmuxinator-3.0.5/ && 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 > ../tmuxinator_3.0.5-1_source.changes dpkg-buildpackage: info: source package tmuxinator dpkg-buildpackage: info: source version 3.0.5-1 dpkg-buildpackage: info: source distribution unstable @@ -1089,212 +1130,224 @@ RUBYLIB=/build/tmuxinator-3.0.5/debian/tmuxinator/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/tmuxinator-3.0.5/debian/tmuxinator/usr/share/rubygems-integration/all:/build/tmuxinator-3.0.5/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/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/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 1728 +Randomized with seed 62612 Tmuxinator::Config - #project - with a local project, but no global project - gets the project as path to the yml file - with an non-local project yml - gets the project as path to the yml file - without project yml - gets the project as path to the yml file - #sample - gets the path of the sample project - #default_path_option - >= 1.8 - returns -c - < 1.8 - returns default-path - #validate - when a project config file is provided - should raise if the project config file can't be found - should load and validate the project - should take precedence over a local project - should take precedence over a named project - when no project can be found - should raise with NO_PROJECT_FOUND_MSG - when no project name is provided - should raise if the local project file doesn't exist - and tmuxinator.yml exists - should load and validate the local project - and tmuxinator.yaml exists - should load and validate the local project - when a project name is provided - should raise if the project file can't be found - should load and validate the project + #home + is ~/.tmuxinator + #default + gets the path of the default config #configs - gets a sorted list of all projects lists only projects in $TMUXINATOR_CONFIG when set + gets a sorted list of all projects #directory - environment variable $TMUXINATOR_CONFIG non-blank - is $TMUXINATOR_CONFIG - both $XDG_CONFIG_HOME/tmuxinator and ~/.tmuxinator exist - is #xdg defaulting to xdg with parent directory(s) that do not exist creates parent directories if required only ~/.tmuxinator exists is ~/.tmuxinator + environment variable $TMUXINATOR_CONFIG non-blank + is $TMUXINATOR_CONFIG + both $XDG_CONFIG_HOME/tmuxinator and ~/.tmuxinator exist + is #xdg only $XDG_CONFIG_HOME/tmuxinator exists is #xdg - #default - gets the path of the default config - #default? - when the file exists - returns true - when the file doesn't exist - returns true - #home - is ~/.tmuxinator - #directories - without TMUXINATOR_CONFIG environment - contains #xdg before #home - is empty if no configuration directories exist - with TMUXINATOR_CONFIG environment - is only [$TMUXINATOR_CONFIG] if set - #enviroment - environment variable $TMUXINATOR_CONFIG is not empty - is $TMUXINATOR_CONFIG - environment variable $TMUXINATOR_CONFIG is nil - is an empty string - environment variable $TMUXINATOR_CONFIG is set and empty - is an empty string #exists? checks if the given project exists + #sample + gets the path of the sample project #local_project - with a project yml - gets the project as path to the yml file - without project yml - gets the project as path to the yml file - #local? - checks if the given project exists - #global_project without project yml gets the project as path to the yml file - with duplicate project files - is the first .yml file found - with project yml + with a project yml gets the project as path to the yml file - with project yaml - gets the project as path to the yaml file #version - when reported version is 'v3.5' - is expected to eq 3.5 - when reported version is '1.0' - is expected to eq 1.0 - when reported version is '2.9a' - is expected to eq 2.9 - when reported version is '-123-' - is expected to eq 123.0 - when reported version is '2.9ä' - is expected to eq 2.9 + when reported version is '' + is expected to eq 0.0 when reported version is '5935' is expected to eq 5935.0 + when reported version is '0.8' + is expected to eq 0.8 + when reported version is '-123-' + is expected to eq 123.0 + when reported version is 'master' + is expected to eq Infinity when reported version is 'v3.12.5' is expected to eq 3.12 + when reported version is '2.9a' + is expected to eq 2.9 + when reported version is '!@#^%' + is expected to eq 0.0 + when reported version is '3.0-rc5' + is expected to eq 3.0 + when reported version is '2.9ä' + is expected to eq 2.9 + when reported version is 'next-3.1' + is expected to eq 3.1 + when reported version is '2.4' + is expected to eq 2.4 + when reported version is '1.0' + is expected to eq 1.0 when reported version is '1.9' is expected to eq 1.9 + when reported version is 'v3.5' + is expected to eq 3.5 when reported version is 'v3.12.0' is expected to eq 3.12 when reported version is '1.9a' is expected to eq 1.9 - when reported version is 'next-3.1' - is expected to eq 3.1 - when reported version is '3.0-rc5' - is expected to eq 3.0 - when reported version is '2.4' - is expected to eq 2.4 - when reported version is '0.8' - is expected to eq 0.8 when reported version is 'foobar' is expected to eq 0.0 - when reported version is 'master' - is expected to eq Infinity - when reported version is '' - is expected to eq 0.0 - when reported version is '!@#^%' - is expected to eq 0.0 + #project + with an non-local project yml + gets the project as path to the yml file + without project yml + gets the project as path to the yml file + with a local project, but no global project + gets the project as path to the yml file + #local? + checks if the given project exists + #global_project + with duplicate project files + is the first .yml file found + with project yaml + gets the project as path to the yaml file + with project yml + gets the project as path to the yml file + without project yml + gets the project as path to the yml file + #enviroment + environment variable $TMUXINATOR_CONFIG is set and empty + is an empty string + environment variable $TMUXINATOR_CONFIG is nil + is an empty string + environment variable $TMUXINATOR_CONFIG is not empty + is $TMUXINATOR_CONFIG + #default? + when the file doesn't exist + returns true + when the file exists + returns true + #validate + when a project config file is provided + should take precedence over a local project + should raise if the project config file can't be found + should take precedence over a named project + should load and validate the project + when no project name is provided + should raise if the local project file doesn't exist + and tmuxinator.yml exists + should load and validate the local project + and tmuxinator.yaml exists + should load and validate the local project + when a project name is provided + should raise if the project file can't be found + should load and validate the project + when no project can be found + should raise with NO_PROJECT_FOUND_MSG #xdg is $XDG_CONFIG_HOME/tmuxinator - -Tmuxinator::Pane - creates an instance - is expected to eql "foo:0.1" + #directories + without TMUXINATOR_CONFIG environment + contains #xdg before #home + is empty if no configuration directories exist + with TMUXINATOR_CONFIG environment + is only [$TMUXINATOR_CONFIG] if set + #default_path_option + >= 1.8 + returns -c + < 1.8 + returns default-path Tmuxinator::Cli - #create_project - when creating a traditional named project - it should behave like a_proper_project - should create a valid project - attach option - attach - sets force_attach to false when no attach argument is provided - sets force_attach to true when 'attach: true' is provided - sets force_attach to false when 'attach: false' is provided - detach - sets force_detach to true when 'attach: false' is provided - sets force_detach to false when 'attach: true' is provided - sets force_detach to false when no attach argument is provided + #version + prints the current version + #debug + project config file + renders the project if given a valid project config file + does not render the project if given a bogus project config file + named project + renders the project + force attach renders the project with attach code + force detach renders the project without attach code + renders the project with custom session + #list + no arguments are given + lists all projects + set --newline flag + force output to be one entry per line + #stop + unsupported version + prints the warning + with --suppress-tmux-version-warning flag + does not print the warning + with project name + stop the project + supported version + does not print the warning + #copy + existing project doesn't exist + exit with error code + new project already exists + prompts user to confirm overwrite + #implode + confirms deletion of all projects + deletes the configuration directory(s) + $TMUXINATOR_CONFIG specified + only deletes projects in that directory + #start(custom_name) + no deprecations + starts the project + #delete + with multiple arguments + all projects do not exist + outputs multiple error messages + all projects exist + deletes the projects + only one project exists + deletes one project + outputs an error message + with a single argument + project doesn't exist + outputs an error message + project exists + deletes the project + local project exists + deletes the local project ::bootstrap and there is a local project config - when no args are supplied - should call #local when one or more args are supplied it should behave like bootstrap_with_arguments + and the first arg is a tmuxinator command + should call ::start and the first arg is - a tmuxinator project name - should call #start a thor command (-v) should call ::start (help) should call ::start + a tmuxinator project name + should call #start something else should call ::start - and the first arg is a tmuxinator command - should call ::start + when no args are supplied + should call #local and there is no local project config + when no args are supplied + should call ::start when one or more args are supplied it should behave like bootstrap_with_arguments and the first arg is + something else + should call ::start a thor command (-v) should call ::start (help) should call ::start - something else - should call ::start a tmuxinator project name should call #start and the first arg is a tmuxinator command should call ::start - when no args are supplied - should call ::start - #new - with the --local option - existing project doesn't exist - creates a new tmuxinator project file - file exists - just opens the file - from a session - with tmux < 1.6 - is unsupported - with tmux >= 1.6 - session doesn't exist - fails - session exists - creates a project file -for-testing-tmuxinator - without the --local option - file exists - just opens the file - existing project doesn't exist - creates a new tmuxinator project file - #version - prints the current version - #start(custom_name) - no deprecations - starts the project #local when the command used is 'local' it should behave like local_project @@ -1302,201 +1355,119 @@ when the command used is '.' it should behave like local_project starts the project - unsupported version - prints the warning - with --suppress-tmux-version-warning flag - does not print the warning - supported version - does not print the warning - #stop supported version does not print the warning - with project name - stop the project unsupported version prints the warning with --suppress-tmux-version-warning flag does not print the warning - #copy - existing project doesn't exist - exit with error code - new project already exists - prompts user to confirm overwrite - base thor functionality - it should behave like base_thor_functionality - supports help - supports -v - with a local project config - it should behave like base_thor_functionality - supports help - supports -v - #generate_project_file - should generate a project file using the correct project file path - should always generate a project file - #completions - gets completions - #start(with project config file) - no deprecations - starts the project if given a valid project config file - does not set the project name - passes additional arguments through - does not start the project if given a bogus project config file #commands lists the commands - exit status - returns a non-zero status when an error occurs - no arguments - runs without error - #list - set --newline flag - force output to be one entry per line - no arguments are given - lists all projects - #doctor - checks requirements - #implode - confirms deletion of all projects - deletes the configuration directory(s) - $TMUXINATOR_CONFIG specified - only deletes projects in that directory #start + deprecations + prints the deprecations + supported version + does not print the warning no deprecations starts the project accepts a flag for alternate name accepts a project config file flag accepts additional arguments - deprecations - prints the deprecations - supported version - does not print the warning unsupported version prints the warning with --suppress-tmux-version-warning flag does not print the warning - #edit + #find_project_file when the project file _does_ already exist should _not_ generate a new project file - #find_project_file when the project file does not already exist should generate a project file + #doctor + checks requirements + base thor functionality + with a local project config + it should behave like base_thor_functionality + supports help + supports -v + it should behave like base_thor_functionality + supports help + supports -v + #start(with project config file) + no deprecations + passes additional arguments through + starts the project if given a valid project config file + does not start the project if given a bogus project config file + does not set the project name + #create_project + attach option + attach + sets force_attach to false when 'attach: false' is provided + sets force_attach to true when 'attach: true' is provided + sets force_attach to false when no attach argument is provided + detach + sets force_detach to false when 'attach: true' is provided + sets force_detach to false when no attach argument is provided + sets force_detach to true when 'attach: false' is provided + when creating a traditional named project + it should behave like a_proper_project + should create a valid project + #edit when the project file _does_ already exist should _not_ generate a new project file - #debug - project config file - does not render the project if given a bogus project config file - renders the project if given a valid project config file - named project - renders the project - force attach renders the project with attach code - force detach renders the project without attach code - renders the project with custom session - #delete - with multiple arguments - only one project exists - outputs an error message - deletes one project - all projects exist - deletes the projects - all projects do not exist - outputs multiple error messages - with a single argument - local project exists - deletes the local project - project exists - deletes the project - project doesn't exist - outputs an error message - -Tmuxinator::Window - #build_commands - command is empty - returns an empty array - command is a hash - returns an empty array - command is a string - returns the command - command is an array - returns the flattened command - #name_options - with a name - specifies name with tmux name option - without a name - specifies no tmux name option - #tmux_new_window_command - constructs window command with path, target, and name options - name not set - does not set name option - root not set - has an extra space instead of path_part - #tmux_synchronize_panes - synchronization enabled - should set the synchronize-panes window option on - #pre - pre is not present - returns nil - pre is a string - returns the pre command - #root - with window root - gets the window root - without window root - gets the project root - #tmux_select_first_pane - targets the pane based on the configured pane_base_index - #synchronize_before? - synchronization not specified - is expected to equal false - synchronize is 'after' - is expected to equal false - synchronize is 'before' - is expected to equal true - synchronize is true - is expected to equal true - synchronization disabled - is expected to equal false - #panes - with nil - returns an empty Array - with a three element Array - creates three panes - returns three panes - nested collections - with nested hash - returns two panes in an Array - with nested array - returns two panes in an Array - with a String - returns one pane in an Array - #synchronize_after? - synchronization is 'after' - is expected to equal true - synchronization is true - is expected to equal false - synchronization is 'before' - is expected to equal false - synchronization not specified - is expected to equal false - synchronization disabled - is expected to equal false - #initialize - creates an instance + #generate_project_file + should always generate a project file + should generate a project file using the correct project file path + #new + from a session + with tmux < 1.6 + is unsupported + with tmux >= 1.6 + session exists + creates a project file +for-testing-tmuxinator + session doesn't exist + fails + with the --local option + file exists + just opens the file + existing project doesn't exist + creates a new tmuxinator project file + without the --local option + existing project doesn't exist + creates a new tmuxinator project file + file exists + just opens the file + #completions + gets completions + exit status + returns a non-zero status when an error occurs + no arguments + runs without error Tmuxinator::Doctor + .editor? + $EDITOR is set + returns true + $EDITOR is not set + returns false .shell? $SHELL is set returns true $SHELL is not set returns false - .editor? - $EDITOR is not set - returns false - $EDITOR is set - returns true .installed? - tmux is not installed - returns false tmux is installed returns true + tmux is not installed + returns false + +Tmuxinator::WemuxSupport + #tmux + is expected to eq "wemux" + #render + renders the template + #name + is expected to eq "wemux" Tmuxinator::Hooks #commands_from @@ -1506,35 +1477,35 @@ joins array using ; Tmuxinator::Hooks::Project - #hook_on_project_stop + #hook_on_project_first_start it should behave like a project hook calls Hooks.commands_from - hook value is string - returns the string hook value is Array joins array using ; - #hook_on_project_start + hook value is string + returns the string + #hook_on_project_exit it should behave like a project hook calls Hooks.commands_from hook value is Array joins array using ; hook value is string returns the string - #hook_on_project_exit + #hook_on_project_start it should behave like a project hook calls Hooks.commands_from - hook value is string - returns the string hook value is Array joins array using ; + hook value is string + returns the string #hook_on_project_restart it should behave like a project hook calls Hooks.commands_from - hook value is Array - joins array using ; hook value is string returns the string - #hook_on_project_first_start + hook value is Array + joins array using ; + #hook_on_project_stop it should behave like a project hook calls Hooks.commands_from hook value is string @@ -1542,174 +1513,243 @@ hook value is Array joins array using ; +Tmuxinator::Pane + creates an instance + is expected to eql "foo:0.1" + +Tmuxinator::Window + #synchronize_after? + synchronization is true + is expected to equal false + synchronization is 'before' + is expected to equal false + synchronization disabled + is expected to equal false + synchronization is 'after' + is expected to equal true + synchronization not specified + is expected to equal false + #tmux_synchronize_panes + synchronization enabled + should set the synchronize-panes window option on + #pre + pre is a string + returns the pre command + pre is not present + returns nil + #initialize + creates an instance + #panes + with a String + returns one pane in an Array + with nil + returns an empty Array + nested collections + with nested hash + returns two panes in an Array + with nested array + returns two panes in an Array + with a three element Array + returns three panes + creates three panes + #tmux_new_window_command + constructs window command with path, target, and name options + name not set + does not set name option + root not set + has an extra space instead of path_part + #name_options + with a name + specifies name with tmux name option + without a name + specifies no tmux name option + #root + with window root + gets the window root + without window root + gets the project root + #tmux_select_first_pane + targets the pane based on the configured pane_base_index + #build_commands + command is a hash + returns an empty array + command is an array + returns the flattened command + command is a string + returns the command + command is empty + returns an empty array + #synchronize_before? + synchronize is 'before' + is expected to equal true + synchronize is true + is expected to equal true + synchronization not specified + is expected to equal false + synchronization disabled + is expected to equal false + synchronize is 'after' + is expected to equal false + Tmuxinator::Project should include Hooks - #startup_window - startup window not specified - returns base index instead - startup window specified - gets the startup window from project config - #get_pane_base_index - extracts pane-base-index from the global tmux window options - #socket - socket path is present - gets the socket path - tmux_new_session_command - when first window is nameless - returns command to for new detached session without a window name - when first window has a name - returns command to start a new detached session - #pre - pre in yaml is Array - joins array using ; - pre in yaml is string - returns the string - #tmux_command - tmux_command is not specified - returns the default - tmux_command specified - gets the custom tmux command + ::load + should return an instance of the class if the file loads + should raise if the project file doesn't parse + #attach? + attach is not defined in yaml + returns true + attach is true in yaml + returns true + attach is false in yaml + returns false + attach is true in yaml, but command line forces detach + returns false + attach is false in yaml, but command line forces attach + returns true + #send_pane_command + command for pane is not empty + returns the tmux command + no command for pane + returns empty string + #name + as number + will gracefully handle a name given as a number + as emoji + will gracefully handle a name given as an emoji + without name + displays error message + wemux + is wemux + window as non-string literal + will gracefully handle a window name given as a non-string literal + without deprecations + gets the name + with deprecations + still gets the name + #commands + splits commands into an array #pre_window pre_window in yaml is Array joins array using ; + pre_window in yaml is string + returns the string with deprecations - rbenv option is present + pre_tab is present still gets the correct pre_window command rvm option is present still gets the correct pre_window command - pre_tab is present + rbenv option is present still gets the correct pre_window command - pre_window in yaml is string - returns the string + #get_base_index + extracts base-index from the global tmux options #root - without deprecations - gets the root with deprecations still gets the root without root doesn't throw an error - #window - gets the window and index for tmux + without deprecations + gets the root + #get_pane_base_index + extracts pane-base-index from the global tmux window options #render renders the tmux config wemux -sh: 1: wemux: not found +sh: line 1: wemux: command not found renders the wemux config - with alias - renders the tmux config custom name renders the tmux config with custom name - #root? - root are present - returns true - #get_base_index - extracts base-index from the global tmux options - #name - wemux - is wemux - without name - displays error message - without deprecations - gets the name - with deprecations - still gets the name - as number - will gracefully handle a name given as a number - as emoji - will gracefully handle a name given as an emoji - window as non-string literal - will gracefully handle a window name given as a non-string literal - #name? - name is present - returns true - #tmux_options - with deprecations - still gets the tmux options - no tmux options - returns nothing - #attach? - attach is not defined in yaml - returns true - attach is false in yaml - returns false - attach is true in yaml, but command line forces detach - returns false - attach is true in yaml - returns true - attach is false in yaml, but command line forces attach - returns true + with alias + renders the tmux config #base_index - base index present - gets the base index when pane_base_index is 1 and base_index is unset gets the tmux default of 0 base index not present defaults to 0 - ::parse_settings - returns settings in a hash - removes settings from args - tmux_kill_session_command - when first window has a name - returns command to start a new detached session - #tmux_has_session? - no active sessions - should return false if no sessions are found - active sessions - should return false if a partial (prefix) match is found - should return true only when `tmux ls` has the named session - ::load - should raise if the project file doesn't parse - should return an instance of the class if the file loads - #startup_pane - startup pane not specified - returns the base pane instead - startup pane specified - get the startup pane index from project config - #windows? - windows are present - returns true - #send_pane_command - no command for pane - returns empty string - command for pane is not empty + base index present + gets the base index + #socket + socket path is present + gets the socket path + #startup_window + startup window specified + gets the startup window from project config + startup window not specified + returns base index instead + #send_keys + command for window is not empty returns the tmux command - #commands - splits commands into an array + no command for window + returns empty string + #name? + name is present + returns true #deprecations without deprecations is empty with deprecations is not empty + #pre + pre in yaml is string + returns the string + pre in yaml is Array + joins array using ; + #window + gets the window and index for tmux + #initialize + valid yaml + creates an instance + #tmux_has_session? + active sessions + should return true only when `tmux ls` has the named session + should return false if a partial (prefix) match is found + no active sessions + should return false if no sessions are found + #windows? + windows are present + returns true + #root? + root are present + returns true #windows without deprecations gets the list of windows with deprecations -server exited unexpectedly still gets the list of windows - #initialize - valid yaml - creates an instance + #tmux_options + with deprecations + still gets the tmux options + no tmux options + returns nothing + ::parse_settings + returns settings in a hash + removes settings from args #validate! should raise if there are no windows defined should raise if there is not a project name - #send_keys - no command for window - returns empty string - command for window is not empty - returns the tmux command - -Tmuxinator::WemuxSupport - #name - is expected to eq "wemux" - #tmux - is expected to eq "wemux" - #render - renders the template + tmux_new_session_command + when first window has a name + returns command to start a new detached session + when first window is nameless + returns command to for new detached session without a window name + #tmux_command + tmux_command is not specified + returns the default + tmux_command specified + gets the custom tmux command + #startup_pane + startup pane specified + get the startup pane index from project config + startup pane not specified + returns the base pane instead + tmux_kill_session_command + when first window has a name + returns command to start a new detached session -Finished in 4.89 seconds (files took 2.54 seconds to load) +Finished in 2.98 seconds (files took 1.8 seconds to load) 270 examples, 0 failures -Randomized with seed 1728 +Randomized with seed 62612 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1752,12 +1792,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1190/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1190/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/26694 and its subdirectories -I: Current time: Fri May 24 17:43:51 -12 2024 -I: pbuilder-time-stamp: 1716615831 +I: removing directory /srv/workspace/pbuilder/1190 and its subdirectories +I: Current time: Sun Apr 23 13:21:57 +14 2023 +I: pbuilder-time-stamp: 1682205717