Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #384185

Bug#1095887: ruby-sprockets-rails: autopkgtest failure with rails 7: Errno::ENOENT: No such file or directory @ rb_sysopen - [...]/app/public/assets/foo-4ef5541f349f7ed5a0d6b71f2fa4c82745ca106ae02f212aea5129726ac6f6ab.js.gz.7120.2374.421244

From Antonio Terceiro <terceiro@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1095887: ruby-sprockets-rails: autopkgtest failure with rails 7: Errno::ENOENT: No such file or directory @ rb_sysopen - [...]/app/public/assets/foo-4ef5541f349f7ed5a0d6b71f2fa4c82745ca106ae02f212aea5129726ac6f6ab.js.gz.7120.2374.421244
Date 2025-02-13 11:30 +0100
Message-ID <KfEDL-gsRO-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: ruby-sprockets-rails
Version: 3.5.2-2
Severity: serious
Justification: autopkgtest failure
Tags: trixie sid ftbfs
User: debian-ruby@lists.debian.org
Usertags: rails7

Hi,

We are about to upload rails 7 to unstable, as we are targetting to have rails
7 being released with Trixie.

After the last upload of rails 7 to experimental, we noticed that ruby-sprockets-rails
fails its autopkgtests when run against that version of rails.

To reproduce this failure locally, you can run autopkgtest with the following
options:

--add-apt-release=experimental --pin-packages=experimental=src:rails

(or wait until rails 7 is uploaded to unstable)

Relevant part (hopefully):
> 0.15 s = .
> TestRailtie#test_custom_compressors = TestRailtie#test_resolve_assets_in_css_urls_when_false_avoids_registering_postprocessor = TestRailtie#test_quiet_assets_inserts_middleware = 0.17 s = .
> 0.19 s = E
> 0.16 s = .
> 0.15 s = .
> 0.16 s = .
> 0.22 s = .
> 0.18 s = .
> 0.14 s = .
> 0.14 s = .
> 0.18 s = .
> 0.14 s = .
> 0.18 s = .
> 0.15 s = .
> 0.17 s = .
> 0.15 s = .
> 0.17 s = .
> 0.15 s = .
> 0.15 s = .
> 0.18 s = .
> 0.17 s = .
> 0.15 s = .
> 0.15 s = .
> 0.18 s = .
> 0.19 s = .
> 
> Finished in 6.945721s, 21.7400 runs/s, 114.3150 assertions/s.
> 
> 1) Error:
> TestRailtie#test_task_precompile_compile_false:
> Errno::ENOENT: No such file or directory @ rb_sysopen - /tmp/autopkgtest-lxc.wf1_graa/downtmp/build.qK2/src/tmp/app/public/assets/foo-4ef5541f349f7ed5a0d6b71f2fa4c82745ca106ae02f212aea5129726ac6f6ab.js.gz.7120.2374.421244
> /usr/lib/ruby/vendor_ruby/sprockets/path_utils.rb:358:in `initialize'
> /usr/lib/ruby/vendor_ruby/sprockets/path_utils.rb:358:in `open'
> /usr/lib/ruby/vendor_ruby/sprockets/path_utils.rb:358:in `atomic_write'
> /usr/lib/ruby/vendor_ruby/sprockets/exporters/base.rb:65:in `write'
> /usr/lib/ruby/vendor_ruby/sprockets/exporters/zlib_exporter.rb:27:in `call'
> /usr/lib/ruby/vendor_ruby/sprockets/manifest.rb:199:in `block (3 levels) in compile'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promise.rb:534:in `block in on_fulfill'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promise.rb:564:in `block in realize'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
> <internal:kernel>:187:in `loop'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
> /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
> 
> 151 runs, 794 assertions, 0 failures, 1 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/test_asset_url_processor.rb" "test/test_helper.rb" "test/test_quiet_assets.rb" "test/test_railtie.rb" "test/test_sourcemapping_url_processor.rb" "test/test_task.rb"  -v]
> /usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default
> (See full trace by running task with --trace)
> mv ./.gem2deb.lib lib
> autopkgtest [19:13:00]: test gem2deb-test-runner: -----------------------]
> autopkgtest [19:13:00]: test gem2deb-test-runner:  - - - - - - - - - - results - - - - - - - - - -
> gem2deb-test-runner  FAIL non-zero exit status 1


The full autopkgtest logs are available and linked from
https://release.debian.org/britney/pseudo-excuses-experimental.html#rails
and after rails 7 gets into unstable, at
https://qa.debian.org/excuses.php?package=rails

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1095887: ruby-sprockets-rails: autopkgtest failure with rails 7: Errno::ENOENT: No such file or directory @ rb_sysopen - [...]/app/public/assets/foo-4ef5541f349f7ed5a0d6b71f2fa4c82745ca106ae02f212aea5129726ac6f6ab.js.gz.7120.2374.421244 Antonio Terceiro <terceiro@debian.org> - 2025-02-13 11:30 +0100
  Bug#1095887: marked as done (ruby-sprockets-rails: autopkgtest  failure with rails 7: Errno::ENOENT: No such file or directory @  rb_sysopen - [...]/app/public/assets/foo-4ef5541f349f7ed5a0d6b71f2fa4c82745ca106ae02f212aea5129726ac6f6ab.js.gz.7120.2374.421244) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-04-09 12:00 +0200

csiph-web