[DRE-maint] Bug#1052730: ruby-delayed-job: FTBFS: ERROR: Test "ruby3.1" failed: ArgumentError:

Lucas Nussbaum lucas at debian.org
Tue Sep 26 13:40:49 BST 2023


Source: ruby-delayed-job
Version: 4.1.9-1.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>      ArgumentError:
>        Invalid Timezone: US/Eastern
>      Shared Example Group: "a delayed_job backend" called from ./spec/test_backend_spec.rb:4
>      # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/core_ext/time/zones.rb:100:in `rescue in find_zone!'
>      # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/core_ext/time/zones.rb:82:in `find_zone!'
>      # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/core_ext/time/zones.rb:42:in `zone='
>      # ./lib/delayed/backend/shared_spec.rb:233:in `block (3 levels) in <top (required)>'
>      # ------------------
>      # --- Caused by: ---
>      # TZInfo::InvalidTimezoneIdentifier:
>      #   Invalid identifier: US/Eastern
>      #   /usr/share/rubygems-integration/all/gems/tzinfo-2.0.6/lib/tzinfo/data_source.rb:321:in `validate_timezone_identifier'
> 
> Deprecation Warnings:
> 
> The implicit block expectation syntax is deprecated, you should pass a block rather than an argument to `expect` to use the provided block expectation matcher or the matcher must implement `supports_value_expectations?`. e.g  `expect { value }.to raise Delayed::FatalBackendError` not `expect(value).to raise Delayed::FatalBackendError`
> 
> 
> If you need more of the backtrace for any of these deprecations to
> identify where to make the necessary changes, you can configure
> `config.raise_errors_for_deprecations!`, and it will turn the
> deprecation warnings into errors, giving you the full backtrace.
> 
> 1 deprecation warning total
> 
> Finished in 1.63 seconds (files took 1.28 seconds to load)
> 177 examples, 1 failure
> 
> Failed examples:
> 
> rspec './spec/test_backend_spec.rb[1:1:7:4]' # Delayed::Backend::Test::Job it should behave like a delayed_job backend reserve reserves jobs scheduled for the past when time zones are involved
> 
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/ruby-delayed-job_4.1.9-1.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-ruby-extras-maintainers mailing list