• Bug#1095887: ruby-sprockets-rails: autopkgtest failure with rails 7: Er

    From Antonio Terceiro@21:1/5 to All on Thu Feb 13 11:30:01 2025
    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

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmetx4YACgkQ/A2xu81G C94x1Q/9EqMwCO1RM8OKyoy18iiPl9TdphaB2I9pYTjVW8jCrc1793+7VeTvV33V cuvfa88rmTYT9xLwii5lmtEfvabxcbCnA77bsL5BhxaSXkWj9OzcUb16G4XkZ69a 7LJzMKjoOX3uC2eWx/spQFTYC0gO0nEojZex7DhtClE6miYpifZ2MpPui5Ucn8gQ 7i0+74tDf8q8DxcQ3sQmap0Ew39Tl05ub7DYErPJof4GL6vd+FCe2okCYBrI1pjc 6QrT27aa493et8FU+38M7Gdq7MKqY81ySlyRJlThjU5M2KgI7sniax7VWT8BclFe hmeKa0Py/vmhMy3C3wlMsu152/EzjrSOpMDAIGBOU7c+J2UmJUEl1vG1s8pVSBQz lJvK6+uuFOlMf9T9ncRwDFmiqEMObRKEFR66Wc2mpuYvoS9wHwxkwQnAopKCPcEx U/kxxDwI0G30tMVl68iSW0Z8EsqW1K6n+x0IUIhLXO+KkG/s9H0wPQ3y/pxMPo7q FgZurKPz6BQVgbnE0FIVzM36gl9kUCUCWHXr1iPLvs47s9HywpRUupTDytdDdxY8 iB3kL/mQvy2J9rvVppdllQtHSzDGT92gAENsPbj0ItWNmQCYJi2VyD4gM0pXRvoW vDeYn+O9LOyzLa4ny7G3fcr9Fkr1mpxRCzjev9rfRUGLbtotdpA=
    =ujjE
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to Antonio Terceiro on Wed Apr 9 12:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 9 Apr 2025 11:52:09 +0200
    with message-id <Z_ZDSTfonEc0mpmn@grub.nussbaum.fr>
    and subject line Re: 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
    has caused the Debian Bug report #1095887,
    regarding 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
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1095887: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095887
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Feb 2025 10:21:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-110.5 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,FROMDEVELOPER,LONGWORD,
    MD5_SHA1_SUM,PGPSIGNATURE,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 51; hammy, 150; neutral, 188; spammy,
    0. spammytokens: hammytokens:0.000-+--H*ct:pgp-sha256,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311
    Return-path: <terceiro@debian.org>
    Received: from stravinsky.debian.or