[DRE-maint] Bug#839465: ruby-clockwork: FTBFS: ERROR: Test "ruby2.3" failed.

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


Source: ruby-clockwork
Version: 1.2.0-3
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):
> /usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby2.3                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=debian/ruby-clockwork/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -e gem\ \"clockwork\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-clockwork/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake
> /usr/bin/ruby2.3 -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/at_test.rb" "test/clockwork_test.rb" "test/database_events/sync_performer_test.rb" "test/event_test.rb" "test/manager_test.rb" "test/database_events/test_helpers.rb" -v
> 
> *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded *before* `require 'mocha/setup'`.
> 
> 
> *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use `require 'mocha/api'` instead of `require 'mocha/setup'`.
> 
> Run options: -v --seed 39490
> 
> # Running:
> 
> Clockwork::At#test_0002_8:20 = 0.00 s = .
> Clockwork::At#test_0005_16:** = 0.00 s = .
> Clockwork::At#test_0009_invalid time 32:00 = 0.00 s = .
> Clockwork::At#test_0012_invalid multi-line with *:10 = 0.00 s = .
> Clockwork::At#test_0003_**:20 with two stars = 0.00 s = .
> Clockwork::At#test_0011_invalid multi-line with 8:30 = 0.00 s = .
> Clockwork::At#test_0007_Saturday 12:00 = 0.00 s = .
> Clockwork::At#test_0010_invalid multi-line with Sat 12:00 = 0.00 s = .
> Clockwork::At#test_0004_*:20 with one star = 0.00 s = .
> Clockwork::At#test_0008_sat 12:00 = 0.00 s = .
> Clockwork::At#test_0001_16:20 = 0.00 s = .
> Clockwork::At#test_0013_invalid multi-line with 12:** = 0.00 s = .
> Clockwork::At#test_0006_8:** = 0.00 s = .
> Clockwork::Manager:::if option#test_0001_:if true then always run = 0.00 s = .
> Clockwork::Manager:::if option#test_0003_:if the first day of month = 0.00 s = .
> Clockwork::Manager:::if option#test_0004_:if it is compared to a time with zone = 0.00 s = E
> Clockwork::Manager:::if option#test_0002_:if false then never run = 0.00 s = .
> Clockwork::Manager:::if option#test_0005_:if is not callable then raise ArgumentError = 0.00 s = .
> Clockwork::Manager:::at option#test_0001_once a day at 16:20 = 0.00 s = .
> Clockwork::Manager:::at option#test_0002_twice a day at 16:20 and 18:10 = 0.00 s = .
> Clockwork::Manager::error_handler#test_0002_error is notified to logger and handler = 0.00 s = .
> Clockwork::Manager::error_handler#test_0001_registered error_handler handles error from event = 0.00 s = .
> Clockwork::Manager::error_handler#test_0003_error in handler will NOT be suppressed = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is less than model frequency period#test_0001_runs event only once within the model frequency period = 0.00 s = .
> Clockwork::Manager::callbacks#test_0003_should not run events if before_tick returns false = 0.00 s = .
> Clockwork::Manager::callbacks#test_0006_should run after_run callback for each event = 0.00 s = .
> Clockwork::Manager::callbacks#test_0005_should run even jobs only = 0.00 s = .
> Clockwork::Manager::callbacks#test_0004_should run before_run twice if two events are registered = 0.00 s = .
> Clockwork::Manager::callbacks#test_0007_should run after_tick callback once = 0.00 s = .
> Clockwork::Manager::callbacks#test_0001_should not accept unknown callback name = 0.00 s = .
> Clockwork::Manager::callbacks#test_0002_should run before_tick callback once on tick = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period::when #name is not defined#test_0001_runs daily event with at from databse only once = 0.00 s = .
> Clockwork::Manager#test_0006_aborts when no handler defined = 0.00 s = .
> Clockwork::Manager#test_0013_exceptions still set the last timestamp to avoid spastic error loops = 0.00 s = .
> Clockwork::Manager#test_0016_should accept unnamed job = 0.00 s = .
> Clockwork::Manager#test_0003_once an hour = 0.00 s = .
> Clockwork::Manager#test_0014_should be configurable = 0.00 s = .
> Clockwork::Manager#test_0001_once a minute = 0.00 s = .
> Clockwork::Manager#test_0008_general handler = 0.00 s = .
> Clockwork::Manager#test_0009_event-specific handler = 0.00 s = .
> Clockwork::Manager#test_0015_configuration should have reasonable defaults = 0.00 s = .
> Clockwork::Manager#test_0005_won't drift later and later = 0.00 s = .
> Clockwork::Manager#test_0010_should pass time to the general handler = 0.00 s = .
> Clockwork::Manager#test_0012_exceptions are trapped and logged = 0.00 s = .
> Clockwork::Manager#test_0017_should accept options without job name = 0.00 s = .
> Clockwork::Manager#test_0002_every three minutes = 0.00 s = .
> Clockwork::Manager#test_0004_once a week = 0.00 s = .
> Clockwork::Manager#test_0007_aborts when fails to parse = 0.00 s = .
> Clockwork::Manager#test_0011_should pass time to the event-specific handler = 0.00 s = .
> Clockwork::Event::#thread?::manager config thread option not set#test_0001_is true if event thread option is true = 0.00 s = .
> Clockwork#test_0002_should log event correctly = 0.00 s = .
> Clockwork#test_0005_should pass all arguments to every = 0.00 s = .
> Clockwork#test_0006_support module re-open style = 0.00 s = .
> Clockwork#test_0001_should run events with configured logger = 0.00 s = .
> Clockwork#test_0004_should not run anything after reset = 0.00 s = .
> Clockwork#test_0003_should pass event without modification to handler = 0.00 s = .
> Clockwork::Event::#thread?::manager config thread option set to true#test_0001_is true = 0.00 s = .
> Clockwork::Event::#thread?::manager config thread option set to true#test_0002_is false when event thread option set = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0002_fetches and registers multiple events from database = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0009_updates event frequency with new frequency = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0011_creates multiple event ats with comma separated at string = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0006_updates modified event frequency with event reloading = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0007_stoped running deleted events from database = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0003_does not run event again before frequency specified in database = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0008_updates event name with new name = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0001_fetches and registers event from database = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0010_updates event at with new at = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0012_allows syncing multiple database models = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0005_runs reloaded events from database repeatedly = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period#test_0004_runs event repeatedly with frequency specified in database = 0.00 s = .
> Clockwork::Manager::max_threads#test_0001_should warn when an event tries to generate threads more than max_threads = 0.00 s = .
> Clockwork::Manager::max_threads#test_0002_should not warn when thread is managed by others = 0.00 s = .
> Clockwork::Manager:::tz option#test_0002_should be able to specify a different timezone than local = 0.00 s = E
> Clockwork::Manager:::tz option#test_0005_should be able to override a default timezone in an event = 0.00 s = E
> Clockwork::Manager:::tz option#test_0003_should be able to specify a different timezone than local for multiple times = 0.00 s = E
> Clockwork::Manager:::tz option#test_0001_time zone is not set by default = 0.00 s = .
> Clockwork::Manager:::tz option#test_0004_should be able to configure a default timezone to use for all events = 0.00 s = E
> Clockwork::DatabaseEvents::SyncPerformer::setup::arguments#test_0001_raises argument error if model is not set = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::arguments#test_0002_raises argument error if every is not set = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::when database reload frequency is greater than model frequency period::when #name is defined#test_0001_runs daily event with at from databse only once = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::with task that responds to `tz`#test_0001_does not raise an error = 0.00 s = F
> Clockwork::DatabaseEvents::SyncPerformer::setup::with task that responds to `tz`#test_0002_does not run the event based on UTC = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::with task that responds to `tz`#test_0003_runs the event based on America/Montreal tz = 0.00 s = F
> Clockwork::DatabaseEvents::SyncPerformer::setup::with database event :at set to empty string#test_0001_does not raise an error = 0.00 s = .
> Clockwork::DatabaseEvents::SyncPerformer::setup::with database event :at set to empty string#test_0002_runs the event = 0.00 s = .
> 
> Finished in 0.030900s, 2750.7911 runs/s, 4595.4392 assertions/s.
> 
>   1) Error:
> Clockwork::Manager:::if option#test_0004_:if it is compared to a time with zone:
> TZInfo::DataSourceNotFound: No source of timezone data could be found.
> Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
>     /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/date_and_time/zones.rb:20:in `in_time_zone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:19:in `convert_timezone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:23:in `run_now?'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `block in events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `select'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:72:in `tick'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:21:in `assert_will_run'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:256:in `block (3 levels) in <top (required)>'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:204:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:255:in `time_it'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:275:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:799:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:322:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `each'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:335:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:308:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `block in __run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `map'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `__run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:135:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:62:in `block in autorun'
> 
> 
>   2) Error:
> Clockwork::Manager:::tz option#test_0002_should be able to specify a different timezone than local:
> TZInfo::DataSourceNotFound: No source of timezone data could be found.
> Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
>     /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/date_and_time/zones.rb:20:in `in_time_zone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:19:in `convert_timezone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:23:in `run_now?'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `block in events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `select'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:72:in `tick'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:28:in `assert_wont_run'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:199:in `block (3 levels) in <top (required)>'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:204:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:255:in `time_it'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:275:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:799:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:322:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `each'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:335:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:308:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `block in __run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `map'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `__run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:135:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:62:in `block in autorun'
> 
> 
>   3) Error:
> Clockwork::Manager:::tz option#test_0005_should be able to override a default timezone in an event:
> TZInfo::DataSourceNotFound: No source of timezone data could be found.
> Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
>     /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/date_and_time/zones.rb:20:in `in_time_zone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:19:in `convert_timezone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:23:in `run_now?'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `block in events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `select'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:72:in `tick'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:21:in `assert_will_run'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:224:in `block (3 levels) in <top (required)>'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:204:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:255:in `time_it'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:275:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:799:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:322:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `each'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:335:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:308:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `block in __run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `map'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `__run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:135:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:62:in `block in autorun'
> 
> 
>   4) Error:
> Clockwork::Manager:::tz option#test_0003_should be able to specify a different timezone than local for multiple times:
> TZInfo::DataSourceNotFound: No source of timezone data could be found.
> Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
>     /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/date_and_time/zones.rb:20:in `in_time_zone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:19:in `convert_timezone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:23:in `run_now?'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `block in events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `select'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:72:in `tick'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:28:in `assert_wont_run'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:206:in `block (3 levels) in <top (required)>'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:204:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:255:in `time_it'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:275:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:799:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:322:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `each'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:335:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:308:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `block in __run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `map'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `__run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:135:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:62:in `block in autorun'
> 
> 
>   5) Error:
> Clockwork::Manager:::tz option#test_0004_should be able to configure a default timezone to use for all events:
> TZInfo::DataSourceNotFound: No source of timezone data could be found.
> Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
>     /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/date_and_time/zones.rb:20:in `in_time_zone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:19:in `convert_timezone'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/event.rb:23:in `run_now?'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `block in events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `select'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:98:in `events_to_run'
>     /<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/lib/ruby/vendor_ruby/clockwork/manager.rb:72:in `tick'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:28:in `assert_wont_run'
>     /<<PKGBUILDDIR>>/test/manager_test.rb:216:in `block (3 levels) in <top (required)>'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:204:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:255:in `time_it'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:275:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:799:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:322:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `each'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:335:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:308:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `block in __run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `map'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `__run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:135:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:62:in `block in autorun'
> 
> 
>   6) Failure:
> Clockwork::DatabaseEvents::SyncPerformer::setup::with task that responds to `tz`#test_0001_does not raise an error [/<<PKGBUILDDIR>>/test/database_events/sync_performer_test.rb:270]:
> Raised an error: No source of timezone data could be found.
> Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
> 
> 
>   7) Failure:
> Clockwork::DatabaseEvents::SyncPerformer::setup::with task that responds to `tz`#test_0003_runs the event based on America/Montreal tz [/<<PKGBUILDDIR>>/test/database_events/sync_performer_test.rb:287]:
> Expected: 1
>   Actual: 0
> 
> 85 runs, 142 assertions, 2 failures, 5 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/at_test.rb" "test/clockwork_test.rb" "test/database_events/sync_performer_test.rb" "test/event_test.rb" "test/manager_test.rb" "test/database_events/test_helpers.rb" -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> 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-clockwork_1.2.0-3_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