[DRE-maint] Bug#839479: ruby-delayed-job-active-record: FTBFS: ERROR: Test "ruby2.3" failed: Failure/Error: raise DataSourceNotFound, "No source of timezone data could be found.\nPlease refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error."

Lucas Nussbaum lucas at debian.org
Sat Oct 1 14:18:16 UTC 2016


Source: ruby-delayed-job-active-record
Version: 4.0.3-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161001 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
>      Failure/Error: raise DataSourceNotFound, "No source of timezone data could be found.\nPlease refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error."
> 
>      TZInfo::DataSourceNotFound:
>        No source of timezone data could be found.
>        Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
>      Shared Example Group: "a delayed_job backend" called from ./spec/delayed/backend/active_record_spec.rb:5
>      # /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:182:in `rescue in create_default_data_source'
>      # /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:179:in `create_default_data_source'
>      # /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:40:in `block in get'
>      # /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:39:in `synchronize'
>      # /usr/lib/ruby/vendor_ruby/tzinfo/data_source.rb:39:in `get'
>      # /usr/lib/ruby/vendor_ruby/tzinfo/timezone.rb:629:in `data_source'
>      # /usr/lib/ruby/vendor_ruby/tzinfo/timezone.rb:92:in `get'
>      # /usr/lib/ruby/vendor_ruby/tzinfo/timezone_proxy.rb:67:in `real_timezone'
>      # /usr/lib/ruby/vendor_ruby/tzinfo/timezone_proxy.rb:30:in `period_for_utc'
>      # /usr/lib/ruby/vendor_ruby/tzinfo/timezone.rb:549:in `current_period'
>      # /usr/lib/ruby/vendor_ruby/active_support/values/time_zone.rb:281:in `utc_offset'
>      # /usr/lib/ruby/vendor_ruby/active_support/values/time_zone.rb:243:in `block in []'
>      # /usr/lib/ruby/vendor_ruby/active_support/values/time_zone.rb:243:in `tap'
>      # /usr/lib/ruby/vendor_ruby/active_support/values/time_zone.rb:243:in `[]'
>      # /usr/lib/ruby/vendor_ruby/active_support/core_ext/time/zones.rb:61:in `find_zone!'
>      # /usr/lib/ruby/vendor_ruby/active_support/core_ext/time/zones.rb:40:in `zone='
>      # /usr/lib/ruby/vendor_ruby/delayed/backend/shared_spec.rb:230:in `block (3 levels) in <top (required)>'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:236:in `instance_exec'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:236:in `block in run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:478:in `block in with_around_and_singleton_context_hooks'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:435:in `block in with_around_example_hooks'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:478:in `block in run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:616:in `run_around_example_hooks_for'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:478:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:435:in `with_around_example_hooks'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:478:in `with_around_and_singleton_context_hooks'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:233:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:581:in `block in run_examples'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:577:in `map'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:577:in `run_examples'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:543:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:544:in `block in run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:544:in `map'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:544:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:544:in `block in run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:544:in `map'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:544:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:119:in `block (3 levels) in run_specs'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:119:in `map'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:119:in `block (2 levels) in run_specs'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1680:in `with_suite_hooks'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block in run_specs'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:77:in `report'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:117:in `run_specs'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:93:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:78:in `run'
>      # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
>      # /usr/bin/rspec:4:in `<main>'
>      # 
>      #   Showing full backtrace because every line was filtered out.
>      #   See docs for RSpec::Configuration#backtrace_exclusion_patterns and
>      #   RSpec::Configuration#backtrace_inclusion_patterns for more information.
>      # ------------------
>      # --- Caused by: ---
>      # TZInfo::ZoneinfoDirectoryNotFound:
>      #   None of the paths included in TZInfo::ZoneinfoDataSource.search_path are valid zoneinfo directories.
>      #   /usr/lib/ruby/vendor_ruby/tzinfo/zoneinfo_data_source.rb:180:in `initialize'
> 
> Finished in 0.08565 seconds (files took 0.58075 seconds to load)
> 33 examples, 1 failure
> 
> Failed examples:
> 
> rspec './spec/delayed/backend/active_record_spec.rb[1:1:7:4]' # Delayed::Backend::ActiveRecord::Job behaves like a delayed_job backend reserve reserves jobs scheduled for the past when time zones are involved
> 
> /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
> ERROR: Test "ruby2.3" failed: 

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/01/ruby-delayed-job-active-record_4.0.3-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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