Title: Failure to jar-deps due to ENOENT in ruby-maven-libs · Issue #8642 · jruby/jruby · GitHub
Open Graph Title: Failure to jar-deps due to ENOENT in ruby-maven-libs · Issue #8642 · jruby/jruby
X Title: Failure to jar-deps due to ENOENT in ruby-maven-libs · Issue #8642 · jruby/jruby
Description: This was seen while attempting to run StringIO tests on JRuby on MacOS (ruby/stringio#116). Linux and Windows CI runs had no similar issues. This appears to be mostly in Bundler and RubyGems, eventually trying to chmod a file that appare...
Open Graph Description: This was seen while attempting to run StringIO tests on JRuby on MacOS (ruby/stringio#116). Linux and Windows CI runs had no similar issues. This appears to be mostly in Bundler and RubyGems, event...
X Description: This was seen while attempting to run StringIO tests on JRuby on MacOS (ruby/stringio#116). Linux and Windows CI runs had no similar issues. This appears to be mostly in Bundler and RubyGems, event...
Opengraph URL: https://github.com/jruby/jruby/issues/8642
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failure to jar-deps due to ENOENT in ruby-maven-libs","articleBody":"This was seen while attempting to run StringIO tests on JRuby on MacOS (https://github.com/ruby/stringio/pull/116). Linux and Windows CI runs had no similar issues.\n\nThis appears to be mostly in Bundler and RubyGems, eventually trying to `chmod` a file that apparently can't be found in the vendored `ruby-maven-libs` library. This may be a flaw in the way that gem is structured, or a side effect of some jar-dependencies issue, or a concurrency bug hit by parallel Bundler jobs.\n\nI do D2D work on MacOS and have never seen this issue, and also could not reproduce it by duplicating the steps in stringio's CI on my local machine.\n\nThe failing jobs, while they are still accessible, can be found here:\n\nThe relevant part of the Bundler dump is here: https://github.com/ruby/stringio/actions/runs/13416611426?pr=116\n```\n> bundle install\n/Users/runner/.rubies/jruby-head/bin/bundle config --local path /Users/runner/work/stringio/stringio/vendor/bundle\n/Users/runner/.rubies/jruby-head/bin/bundle lock\nWriting lockfile to /Users/runner/work/stringio/stringio/Gemfile.lock\nFetching gem metadata from https://rubygems.org/.......\nResolving dependencies...\nCache key: setup-ruby-bundler-cache-v6-macos-14-arm64-jruby-head-wd-/Users/runner/work/stringio/stringio-with--without--only--Gemfile.lock-d799347c610add7980f5a75383dd88fab12bc30e8eb15d4afc32c9df58552f16\nWarning: Cache not found for keys: setup-ruby-bundler-cache-v6-macos-14-arm64-jruby-head-wd-/Users/runner/work/stringio/stringio-with--without--only--Gemfile.lock-d799347c610add7980f5a75383dd88fab12bc30e8eb15d4afc32c9df58552f16, setup-ruby-bundler-cache-v6-macos-14-arm64-jruby-head-wd-/Users/runner/work/stringio/stringio-with--without--only--Gemfile.lock-\n/Users/runner/.rubies/jruby-head/bin/bundle install --jobs 4\nFetching gem metadata from https://rubygems.org/.......\nFetching rake 13.2.1\nInstalling rake 13.2.1\nFetching date 3.4.1 (java)\nFetching jar-dependencies 0.5.5\nFetching rake-compiler 1.2.9\nFetching power_assert 2.0.5\nInstalling date 3.4.1 (java)\nInstalling power_assert 2.0.5\nInstalling rake-compiler 1.2.9\nInstalling jar-dependencies 0.5.5\nFetching ruby-maven-libs 3.9.9\nFetching test-unit 3.6.7\nFetching psych 5.2.3 (java)\nInstalling test-unit 3.6.7\nInstalling psych 5.2.3 (java)\nFetching test-unit-ruby-core 1.0.6\n jar dependencies for psych-5.2.3-java.gemspec . . .\nInstalling gem 'ruby-maven' . . .\nInstalling test-unit-ruby-core 1.0.6\nInstalling ruby-maven-libs 3.9.9\nInstalling gem 'ruby-maven-libs' . . .\n\nusing maven for the first time results in maven\ndownloading all its default plugin and can take time.\nas those plugins get cached on disk and further execution\nof maven is much faster then the first time.\n\n org.snakeyaml:snakeyaml-engine:2.9:compile\n--- ERROR REPORT TEMPLATE -------------------------------------------------------\n\nErrno::ENOENT: No such file or directory - /Users/runner/work/stringio/stringio/vendor/bundle/jruby/3.1.0/gems/ruby-maven-libs-3.9.9/maven-home/lib/httpcore-4.4.16.jar\n org/jruby/RubyFile.java:651:in `chmod'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/fileutils.rb:1326:in `chmod'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/fileutils.rb:1002:in `block in chmod'\n org/jruby/RubyArray.java:2009:in `each'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/fileutils.rb:1001:in `chmod'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package.rb:455:in `block in extract_tar_gz'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package/tar_reader.rb:65:in `each'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package.rb:423:in `block in extract_tar_gz'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package.rb:547:in `block in open_tar_gz'\n org/jruby/ext/zlib/RubyGzipFile.java:96:in `wrap'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package.rb:544:in `open_tar_gz'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package.rb:422:in `extract_tar_gz'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package.rb:396:in `block in extract_files'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package/tar_reader.rb:65:in `each'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package.rb:393:in `block in extract_files'\n org/jruby/RubyIO.java:1198:in `open'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package/file_source.rb:30:in `with_read_io'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/package.rb:390:in `extract_files'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/rubygems/installer.rb:853:in `extract_files'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/rubygems_gem_installer.rb:27:in `block in install'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/shared_helpers.rb:105:in `filesystem_access'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/rubygems_gem_installer.rb:26:in `install'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/source/rubygems.rb:205:in `install'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/installer/gem_installer.rb:55:in `install'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/installer/gem_installer.rb:17:in `install_from_spec'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/installer/parallel_installer.rb:133:in `do_install'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/installer/parallel_installer.rb:124:in `block in worker_pool'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/worker.rb:62:in `apply_func'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/worker.rb:57:in `block in process_queue'\n org/jruby/RubyKernel.java:17[25](https://github.com/ruby/stringio/actions/runs/13416611426/job/37478887997?pr=116#step:4:31):in `loop'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/worker.rb:54:in `process_queue'\n /Users/runner/.rubies/jruby-head/lib/ruby/stdlib/bundler/worker.rb:90:in `block in create_threads'\n```","author":{"url":"https://github.com/headius","@type":"Person","name":"headius"},"datePublished":"2025-02-19T16:08:58Z","url":"https://github.com/jruby/jruby/issues/8642"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c0906d7e-edf6-54ef-87fd-0b7a40a04bbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBEA:1B316D:65F510:8685C8:6B038FA8 |
| html-safe-nonce | 8eff476f7b08ebaa101ee2b4373833f812b3afdfc2df4e89e844efc4ad5c82cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkVBOjFCMzE2RDo2NUY1MTA6ODY4NUM4OjZCMDM4RkE4IiwidmlzaXRvcl9pZCI6IjQzMTc2OTc2NDM0MTAzMjk1MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e4a8279f7aacba8c6950bbc230235eafbab1bbf73d04b26dfd658d901ccd5594 |
| hovercard-subject-tag | issue:2863793809 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jruby/jruby/8642/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5fffe76abc968d33bae6f57b1abdc680de56f96335d2ff7f31584a99075ad6d2/jruby/jruby/issues/8642 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5fffe76abc968d33bae6f57b1abdc680de56f96335d2ff7f31584a99075ad6d2/jruby/jruby/issues/8642 |
| og:image:alt | This was seen while attempting to run StringIO tests on JRuby on MacOS (ruby/stringio#116). Linux and Windows CI runs had no similar issues. This appears to be mostly in Bundler and RubyGems, event... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | headius |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/jruby/jruby git https://github.com/jruby/jruby.git |
| octolytics-dimension-user_id | 55687 |
| octolytics-dimension-user_login | jruby |
| octolytics-dimension-repository_id | 168370 |
| octolytics-dimension-repository_nwo | jruby/jruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 168370 |
| octolytics-dimension-repository_network_root_nwo | jruby/jruby |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width