[DRE-maint] Bug#998638: ruby-localhost: spec/localhost/protocol_spec.rb fails on ci.debian.net and salsa

Antonio Terceiro terceiro at debian.org
Fri Nov 5 12:10:32 GMT 2021


Source: ruby-localhost
Version: 1.1.8-2
Severity: serious
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

I was looking at the testing migration excuses for puma, which brought
me to ruby-localhost. spec/localhost/protocol_spec.rb very often, but
not always, fails. This is currently blocking testing migration.

Example of failed logs:

on ci.debian.net:
https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-localhost/16388045/log.gz

on salsa:
https://salsa.debian.org/ruby-team/ruby-localhost/-/jobs/2150375 (i386 build)
https://salsa.debian.org/ruby-team/ruby-localhost/-/jobs/2150382 (autopkgtest)

I even tried a new upstream version 1.1.9 that is available to see if it
made things better, but it doesn't:
https://salsa.debian.org/ruby-team/ruby-localhost/-/commits/test
https://salsa.debian.org/ruby-team/ruby-localhost/-/pipelines/310716

One option is skipping this test, at least for now, with a patch like
this:

----------------8<----------------8<----------------8<-----------------
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index cf1591e..6010dd7 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -2,4 +2,5 @@ require 'gem2deb/rake/spectask'

 Gem2Deb::Rake::RSpecTask.new do |spec|
   spec.pattern = './spec/**/*_spec.rb'
+  spec.exclude_pattern = './spec/localhost/protocol_spec.rb'
 end
----------------8<----------------8<----------------8<-----------------

But ideally we would want to fix it.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211105/89b9cea5/attachment.sig>


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