| "git clone --depth 1 https://github.com/ruby/ruby.git trunk-random2" exit with 0. |
| Cloning into 'trunk-random2'... |
| Updating files: 57% (6539/11388) |
| "./autogen.sh" exit with 0. |
| "autoconf" exit with 0. |
| "/tmp/ruby/src/trunk-random2/configure --prefix=/tmp/ruby/install/trunk-random2 --disable-install-doc --enable-shared" exit with 0. |
| configure: WARNING: something wrong with CXXFLAGS="" |
| "make update-download -j4" exit with 0. |
| make: rev-parse: No such file or directory |
| "make update-src -j4" exit with 0. |
| "make after-update -j4" exit with 0. |
| + cp /tmp/ruby/src/trunk-random2/enc/jis/props.h.blt /tmp/ruby/src/trunk-random2/enc/jis/props.h |
| "make miniruby -j4" exit with 0. |
| "make ruby -j4" exit with 0. |
| "make all -j4" exit with 0. |
| "make install -j4" exit with 0. |
| "make yes-btest TESTOPTS='-q -j4'" exit with 0. |
| |
| "make yes-test-basic TESTS=\"--test-order=random\"" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS=\"--test-order=random\"" exit with 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS=\"--test-order=random\"" exit with 512. |
| 1) |
| CVE-2019-8322 is resisted by sanitising owner names FAILED |
| Mock '#<Gem::Commands::OwnerCommand:0x00007a99a66ca600 @command="owner", @summary="Manage gem owners of a gem on the push server", @program_name="gem owner", @defaults={add: [], remove: []}, @options={}, @option_groups={"Local/Remote": [[["-p", "--[no-]http-proxy [URL]", Gem::URI::HTTP, "Use HTTP proxy for remote operations"], #<Proc:0x00007a998a90b4d0 /tmp/ruby/src/trunk-random2/lib/rubygems/local_remote_options.rb:92>]], options: [[["-k", "--key KEYNAME", Symbol, "Use the given API key", "from /home/ko1/.local/share/gem/credentials"], #<Proc:0x00007a998a9064f8 /tmp/ruby/src/trunk-random2/lib/rubygems/gemcutter_utilities.rb:27>], [["--otp CODE", "Digit code for multifactor authentication", "You can also use the environment variable GEM_HOST_OTP_CODE"], #<Proc:0x00007a998a9063e0 /tmp/ruby/src/trunk-random2/lib/rubygems/gemcutter_utilities.rb:38>], [["-a", "--add NEW_OWNER", "Add an owner by user identifier"], #<Proc:0x00007a998a9062a0 /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:44>], [["-r", "--remove OLD_OWNER", "Remove an owner by user identifier"], #<Proc:0x00007a998a906228 /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:48>], [["-h", "--host HOST", "Use another gemcutter-compatible host", " (e.g. https://rubygems.org)"], #<Proc:0x00007a998a9061b0 /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:54>]]}, @deprecated_options={"owner" => {}}, @parser=nil, @when_invoked=nil>': method say |
| called with unexpected arguments ("- .]2;nyan. ()") |
| /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:83:in 'block (2 levels) in Gem::Commands::OwnerCommand#show_owners' |
| /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:81:in 'Array#each' |
| /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:81:in 'block in Gem::Commands::OwnerCommand#show_owners' |
| /tmp/ruby/src/trunk-random2/spec/ruby/security/cve_2019_8322_spec.rb:15:in 'with_response' |
| /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:77:in 'Gem::Commands::OwnerCommand#show_owners' |
| /tmp/ruby/src/trunk-random2/spec/ruby/security/cve_2019_8322_spec.rb:19:in 'block (2 levels) in <top (required)>' |
| /tmp/ruby/src/trunk-random2/spec/ruby/security/cve_2019_8322_spec.rb:8:in '<top (required)>' |
| 2) |
| An exception occurred during: Mock.verify_count |
| CVE-2019-8322 is resisted by sanitising owner names FAILED |
| Mock '#<Gem::Commands::OwnerCommand:0x00007a99a66ca600 @command="owner", @summary="Manage gem owners of a gem on the push server", @program_name="gem owner", @defaults={add: [], remove: []}, @options={}, @option_groups={"Local/Remote": [[["-p", "--[no-]http-proxy [URL]", Gem::URI::HTTP, "Use HTTP proxy for remote operations"], #<Proc:0x00007a998a90b4d0 /tmp/ruby/src/trunk-random2/lib/rubygems/local_remote_options.rb:92>]], options: [[["-k", "--key KEYNAME", Symbol, "Use the given API key", "from /home/ko1/.local/share/gem/credentials"], #<Proc:0x00007a998a9064f8 /tmp/ruby/src/trunk-random2/lib/rubygems/gemcutter_utilities.rb:27>], [["--otp CODE", "Digit code for multifactor authentication", "You can also use the environment variable GEM_HOST_OTP_CODE"], #<Proc:0x00007a998a9063e0 /tmp/ruby/src/trunk-random2/lib/rubygems/gemcutter_utilities.rb:38>], [["-a", "--add NEW_OWNER", "Add an owner by user identifier"], #<Proc:0x00007a998a9062a0 /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:44>], [["-r", "--remove OLD_OWNER", "Remove an owner by user identifier"], #<Proc:0x00007a998a906228 /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:48>], [["-h", "--host HOST", "Use another gemcutter-compatible host", " (e.g. https://rubygems.org)"], #<Proc:0x00007a998a9061b0 /tmp/ruby/src/trunk-random2/lib/rubygems/commands/owner_command.rb:54>]]}, @deprecated_options={"owner" => {}}, @parser=nil, @when_invoked=nil>' expected to receive say("- .]2;nyan.") exactly 1 times |
| but received it 0 times |
| /tmp/ruby/src/trunk-random2/spec/ruby/security/cve_2019_8322_spec.rb:8:in '<top (required)>' |
| make: *** [uncommon.mk:966: yes-test-spec] Error 1 |