[DRE-maint] Bug#1066730: ruby-clockwork: FTBFS: ERROR: Test "ruby3.1" failed.

Lucas Nussbaum lucas at debian.org
Wed Mar 13 14:52:45 GMT 2024


Source: ruby-clockwork
Version: 3.0.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"clockwork\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-clockwork/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
> /usr/bin/ruby3.1 -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/at_test.rb" "test/clockwork_test.rb" "test/database_events/event_store_test.rb" "test/database_events/synchronizer_test.rb" "test/event_test.rb" "test/manager_test.rb" "test/samples/signal_test.rb" "test/database_events/test_helpers.rb"  -v
> Run options: -v --seed 15149
> 
> # Running:
> 
> Clockwork#test_0006_should pass all arguments to every = 0.00 s = F
> Clockwork#test_0005_should not run anything after reset = 0.00 s = .
> Clockwork#test_0002_should log event correctly = 0.00 s = .
> Clockwork#test_0007_support module re-open style = 0.01 s = .
> Clockwork#test_0001_should run events with configured logger = 0.01 s = .
> Clockwork#test_0004_should pass event without modification to handler = 0.00 s = .
> Clockwork#test_0003_should log exceptions = 0.00 s = .
> Clockwork::Event::#run_now?::event skip_first_run option not set#test_0001_returns true on first attempt = 0.00 s = .
> Clockwork::Manager:::if option#test_0002_:if false then never 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.01 s = .
> Clockwork::Manager:::if option#test_0001_:if true then always run = 0.00 s = .
> Clockwork::Manager:::if option#test_0005_:if is not callable then raise ArgumentError = 0.00 s = .
> Clockwork::Event::#run_now?::event skip_first_run option set to false#test_0001_returns true on first attempt = 0.00 s = .
> Clockwork::Event::#run_now?::event skip_first_run option set to true#test_0001_returns false on first attempt = 0.00 s = .
> Clockwork::Event::#run_now?::event skip_first_run option set to true#test_0002_returns true on subsequent attempts = 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::Event::#thread?::manager config thread option not set#test_0001_is true if event thread option is true = 0.00 s = .
> Clockwork::Manager:::tz option#test_0002_should be able to specify a different timezone than local = 0.00 s = .
> Clockwork::Manager:::tz option#test_0003_should be able to specify a different timezone than local for multiple times = 0.00 s = .
> 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 = .
> Clockwork::Manager:::tz option#test_0005_should be able to override a default timezone in an event = 0.00 s = .
> Clockwork::DatabaseEvents::EventStore::#register#test_0001_adds the event to the event group = 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::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_0003_**:20 with two stars = 0.00 s = .
> Clockwork::At#test_0006_8:** = 0.00 s = .
> Clockwork::At#test_0007_Saturday 12:00 = 0.00 s = .
> Clockwork::At#test_0012_invalid multi-line with *:10 = 0.00 s = .
> Clockwork::At#test_0001_16:20 = 0.00 s = .
> Clockwork::At#test_0008_sat 12:00 = 0.00 s = .
> Clockwork::At#test_0004_*:20 with one star = 0.00 s = .
> Clockwork::At#test_0011_invalid multi-line with 8:30 = 0.00 s = .
> Clockwork::At#test_0013_invalid multi-line with 12:** = 0.00 s = .
> Clockwork::At#test_0010_invalid multi-line with Sat 12:00 = 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::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::Manager::error_handler#test_0002_error is notified to logger and handler = 0.00 s = .
> Clockwork::Manager::callbacks#test_0003_should not run events if before_tick returns false = 0.00 s = .
> Clockwork::Manager::callbacks#test_0001_should not accept unknown callback name = 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_0005_should run even jobs only = 0.00 s = .
> Clockwork::Manager::callbacks#test_0006_should run after_run callback for each event = 0.00 s = .
> Clockwork::Manager::callbacks#test_0007_should run after_tick callback once = 0.00 s = .
> Clockwork::Manager::callbacks#test_0002_should run before_tick callback once on tick = 0.00 s = .
> Clockwork::Manager#test_0009_event-specific handler = 0.00 s = .
> Clockwork::Manager#test_0012_exceptions are trapped and logged = 0.00 s = .
> Clockwork::Manager#test_0013_exceptions still set the last timestamp to avoid spastic error loops = 0.00 s = .
> Clockwork::Manager#test_0001_once a minute = 0.00 s = .
> Clockwork::Manager#test_0016_should accept unnamed job = 0.00 s = .
> Clockwork::Manager#test_0008_general handler = 0.00 s = .
> Clockwork::Manager#test_0003_once an hour = 0.00 s = .
> Clockwork::Manager#test_0011_should pass time to the event-specific handler = 0.00 s = .
> Clockwork::Manager#test_0004_once a week = 0.00 s = .
> Clockwork::Manager#test_0010_should pass time to the general handler = 0.00 s = .
> Clockwork::Manager#test_0002_every three minutes = 0.00 s = .
> Clockwork::Manager#test_0007_aborts when fails to parse = 0.00 s = .
> Clockwork::Manager#test_0005_won't drift later and later = 0.00 s = .
> Clockwork::Manager#test_0006_aborts when no handler defined = 0.00 s = .
> Clockwork::Manager#test_0014_should be configurable = 0.00 s = .
> Clockwork::Manager#test_0015_configuration should have reasonable defaults = 0.00 s = .
> Clockwork::Manager#test_0017_should accept options without job name = 0.00 s = .
> 
> Finished in 0.057109s, 1208.2182 runs/s, 2363.9052 assertions/s.
> 
>   1) Failure:
> Clockwork#test_0006_should pass all arguments to every [/<<PKGBUILDDIR>>/test/clockwork_test.rb:88]:
> Expected false to be truthy.
> 
> 69 runs, 135 assertions, 1 failures, 0 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/at_test.rb" "test/clockwork_test.rb" "test/database_events/event_store_test.rb" "test/database_events/synchronizer_test.rb" "test/event_test.rb" "test/manager_test.rb" "test/samples/signal_test.rb" "test/database_events/test_helpers.rb"  -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed.


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/ruby-clockwork_3.0.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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