[DRE-maint] Bug#1102307: ruby-file-tail: FTBFS: flaky tests
Santiago Vila
sanvila at debian.org
Mon Apr 7 14:21:05 BST 2025
Package: src:ruby-file-tail
Version: 1.2.0-1
Severity: important
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
[ please read the notes at the end ]
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_auto_clean -O--buildsystem=ruby
dh_ruby --clean
W: XS-Ruby-Versions is deprecated, and will be ignored
dh_autoreconf_clean -O--buildsystem=ruby
dh_clean -O--buildsystem=ruby
debian/rules binary
dh binary --buildsystem=ruby --with ruby
dh_update_autotools_config -O--buildsystem=ruby
dh_autoreconf -O--buildsystem=ruby
dh_auto_configure -O--buildsystem=ruby
dh_ruby --configure
dh_auto_build -O--buildsystem=ruby
dh_ruby --build
dh_auto_test -O--buildsystem=ruby
dh_ruby --test
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=ruby
dh_prep -O--buildsystem=ruby
dh_auto_install --destdir=debian/ruby-file-tail/ -O--buildsystem=ruby
dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-file-tail
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â ruby-file-tail: Install files â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
install -d /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/bin
install -D -m755 /<<PKGBUILDDIR>>/bin/rtail /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/bin/rtail
install -d /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/lib/ruby/vendor_ruby
install -D -m644 /<<PKGBUILDDIR>>/lib/file/tail/group.rb /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/lib/ruby/vendor_ruby/file/tail/group.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/file/tail/line_extension.rb /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/lib/ruby/vendor_ruby/file/tail/line_extension.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/file/tail/logfile.rb /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/lib/ruby/vendor_ruby/file/tail/logfile.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/file/tail/tailer.rb /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/lib/ruby/vendor_ruby/file/tail/tailer.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/file/tail/version.rb /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/lib/ruby/vendor_ruby/file/tail/version.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/file/tail.rb /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/lib/ruby/vendor_ruby/file/tail.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/file-tail.rb /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/lib/ruby/vendor_ruby/file-tail.rb
Rewriting shebang line of /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/bin/rtail
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â ruby-file-tail: Install Rubygems integration metadata â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
generating gemspec at /<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/share/rubygems-integration/all/specifications/file-tail-1.2.0.gemspec
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Run tests for ruby3.3 from debian/ruby-tests.rb â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-file-tail/usr/share/rubygems-integration/all:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 debian/ruby-tests.rb
Loaded suite debian/ruby-tests
Started
F
===============================================================================
Failure: test_tail_remove(FileTailTest)
/<<PKGBUILDDIR>>/tests/file_tail_test.rb:216:in `test_tail_remove'
213: end
214: appender.join
215: logger.join
=> 216: assert_equal(10, lines.size)
217: assert reopened
218: end
219:
<10> expected but was
<0>
diff:
? 10
===============================================================================
Finished in 22.366284126 seconds.
-------------------------------------------------------------------------------
19 tests, 67 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
94.7368% passed
-------------------------------------------------------------------------------
0.85 tests/s, 3.00 assertions/s
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-file-tail returned exit code 1
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
In this particular case, the build was made on AWS machines of type
m7a.medium and r7a.medium. Incidentally, those machines have a single CPU,
but at this point it's not clear yet if that's the condition which triggers
the build failure or, for example, the fact that they are overall slower
than other instance types, or maybe some other reason.
If you could not reproduce the bug using GRUB_CMDLINE_LINUX="nr_cpus=1"
please contact me privately, as I am willing to provide ssh access to a
virtual machine where the bug is fully reproducible.
Disclaimer: Please note that this is probably a violation of
Debian Policy 4.2, and the only reason I'm initially reporting
it as "important" is to avoid discussing about the severity.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-file-tail, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-ruby-extras-maintainers
mailing list