| "git clone --depth 1 https://github.com/ruby/ruby.git trunk_asan" exit with 0. |
| Cloning into 'trunk_asan'... |
| "./autogen.sh" exit with 0. |
| "autoconf" exit with 0. |
| "/tmp/ruby/src/trunk_asan/configure --prefix=/tmp/ruby/install/trunk_asan --disable-install-doc 'CC=clang-17' 'cflags=-fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0'" exit with 0. |
| "make update-download -j16" exit with 0. |
| make: rev-parse: No such file or directory |
| "make update-src -j16" exit with 0. |
| "make after-update -j16" exit with 0. |
| + cp /tmp/ruby/src/trunk_asan/enc/jis/props.h.blt /tmp/ruby/src/trunk_asan/enc/jis/props.h |
| "make miniruby -j16" exit with 0. |
| /tmp/ruby/src/trunk_asan/process.c:3857:1: warning: unused function 'has_privilege' [-Wunused-function] |
| 3857 | has_privilege(void) |
| | ^~~~~~~~~~~~~ |
| 1 warning generated. |
| "make ruby -j16" exit with 0. |
| "make all -j16" exit with 0. |
| libffi_version: 3.4.6 |
| "make install -j16" exit with 0. |
| "make yes-test-basic TESTS='-j16'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j16'" exit with 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| 1) |
| CVE-2019-8322 is resisted by sanitising owner names FAILED |
| Mock '#<Gem::Commands::OwnerCommand:0x00007bb45b4e1660 @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:0x00007bb45d9e4778 /tmp/ruby/src/trunk_asan/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:0x00007bb43528cc00 /tmp/ruby/src/trunk_asan/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:0x00007bb43528cac0 /tmp/ruby/src/trunk_asan/lib/rubygems/gemcutter_utilities.rb:38>], [["-a", "--add NEW_OWNER", "Add an owner by user identifier"], #<Proc:0x00007bb43528c958 /tmp/ruby/src/trunk_asan/lib/rubygems/commands/owner_command.rb:44>], [["-r", "--remove OLD_OWNER", "Remove an owner by user identifier"], #<Proc:0x00007bb43528c8e0 /tmp/ruby/src/trunk_asan/lib/rubygems/commands/owner_command.rb:48>], [["-h", "--host HOST", "Use another gemcutter-compatible host", " (e.g. https://rubygems.org)"], #<Proc:0x00007bb43528c7f0 /tmp/ruby/src/trunk_asan/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_asan/lib/rubygems/commands/owner_command.rb:83:in 'block (2 levels) in Gem::Commands::OwnerCommand#show_owners' |
| /tmp/ruby/src/trunk_asan/lib/rubygems/commands/owner_command.rb:81:in 'Array#each' |
| /tmp/ruby/src/trunk_asan/lib/rubygems/commands/owner_command.rb:81:in 'block in Gem::Commands::OwnerCommand#show_owners' |
| /tmp/ruby/src/trunk_asan/spec/ruby/security/cve_2019_8322_spec.rb:15:in 'with_response' |
| /tmp/ruby/src/trunk_asan/lib/rubygems/commands/owner_command.rb:77:in 'Gem::Commands::OwnerCommand#show_owners' |
| /tmp/ruby/src/trunk_asan/spec/ruby/security/cve_2019_8322_spec.rb:19:in 'block (2 levels) in <top (required)>' |
| /tmp/ruby/src/trunk_asan/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:0x00007bb45b4e1660 @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:0x00007bb45d9e4778 /tmp/ruby/src/trunk_asan/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:0x00007bb43528cc00 /tmp/ruby/src/trunk_asan/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:0x00007bb43528cac0 /tmp/ruby/src/trunk_asan/lib/rubygems/gemcutter_utilities.rb:38>], [["-a", "--add NEW_OWNER", "Add an owner by user identifier"], #<Proc:0x00007bb43528c958 /tmp/ruby/src/trunk_asan/lib/rubygems/commands/owner_command.rb:44>], [["-r", "--remove OLD_OWNER", "Remove an owner by user identifier"], #<Proc:0x00007bb43528c8e0 /tmp/ruby/src/trunk_asan/lib/rubygems/commands/owner_command.rb:48>], [["-h", "--host HOST", "Use another gemcutter-compatible host", " (e.g. https://rubygems.org)"], #<Proc:0x00007bb43528c7f0 /tmp/ruby/src/trunk_asan/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_asan/spec/ruby/security/cve_2019_8322_spec.rb:8:in '<top (required)>' |
| make: *** [uncommon.mk:966: yes-test-spec] Error 1 |