[DRE-maint] Bug#1129909: ruby-rubocop-ast: FTBFS: failing tests
Santiago Vila
sanvila at debian.org
Thu Mar 5 23:49:41 GMT 2026
Package: src:ruby-rubocop-ast
Version: 1.49.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202603/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-rubocop-ast, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_auto_clean -O--buildsystem=ruby
dh_ruby --clean
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
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rake -f tasks/compile.rake generate
[... snipped ...]
with a single-quoted string
is expected to be single quoted
with a %Q() delimited string
is expected not to be single quoted
with a character literal
is expected not to be single quoted
#heredoc?
with a heredoc
is expected to be heredoc
with a normal string
is expected not to be heredoc
with a string with interpolation
is expected not to be heredoc
RuboCop::AST::DstrNode
#value
with interpolation
is expected to eq "foo \#{bar} baz"
with a multiline string
is expected to eq "this is a multiline string"
with implicit concatenation
is expected to eq "foo bar baz"
#percent_literal?
with a %Q() delimited string
is expected to be percent literal :Q
is expected not to be percent literal :%
is expected to be percent literal
is expected not to be percent literal :q
with a %() delimited string
is expected not to be percent literal :Q
is expected not to be percent literal :q
is expected to be percent literal :%
is expected to be percent literal
with a quoted string
is expected not to be percent literal
is expected not to be percent literal :q
is expected not to be percent literal :Q
is expected not to be percent literal :%
#double_quoted?
with a %() delimited string
is expected not to be double quoted
with a double-quoted string
is expected to be double quoted
with a %Q() delimited string
is expected not to be double quoted
#single_quoted?
with a %() delimited string
is expected not to be single quoted
with a %Q() delimited string
is expected not to be single quoted
with a double-quoted string
is expected not to be single quoted
RuboCop::AST::OrNode
#lhs
with a semantic or node
is expected to be sym type
with a logical or node
is expected to be sym type
#rhs
with a logical or node
is expected to be int type
with a semantic or node
is expected to be int type
#semantic_operator?
with a semantic or node
is expected to be semantic operator
with a logical or node
is expected not to be semantic operator
#operator
with a logical or node
is expected to eq "||"
with a semantic or node
is expected to eq "or"
#alternate_operator
with a logical or node
is expected to eq "or"
with a semantic or node
is expected to eq "||"
#inverse_operator
with a semantic or node
is expected to eq "and"
with a logical or node
is expected to eq "&&"
#logical_operator?
with a logical or node
is expected to be logical operator
with a semantic or node
is expected not to be logical operator
.new
with a semantic or node
is expected to be a kind of RuboCop::AST::OrNode
with a logical or node
is expected to be a kind of RuboCop::AST::OrNode
RuboCop::AST::KeywordSplatNode
#operator
is expected to eq "**"
#hash_rocket?
is expected not to be hash rocket
#same_line?
when pairs are on separate lines
is expected not to be same line s(:kwsplat,
s(:send, nil, :foo))
when a multiline pair shares the same line
is expected to be same line s(:kwsplat,
s(:send, nil, :foo))
is expected to be same line s(:pair,
s(:sym, :a),
s(:begin))
when both pairs are on the same line
is expected to be same line s(:kwsplat,
s(:send, nil, :foo))
when forwarded keyword rest arguments
.new
is expected to be a kind of RuboCop::AST::KeywordSplatNode
#value
is expected to eq s(:forwarded_kwrestarg)
#kwsplat_type?
is expected to be kwsplat type
#operator
is expected to eq "**"
#hash_rocket?
is expected not to be hash rocket
#forwarded_kwrestarg_type?
is expected to be forwarded kwrestarg type
#key
is expected to eq s(:forwarded_kwrestarg)
#colon?
is expected not to be colon
#key_delta
with alignment set to :left
when using hash rocket delimiters
when keyword splat is on the same line
is expected to eq 0
when keyword splat is behind
is expected to eq -2
when keyword splat is aligned
is expected to eq 0
when keyword splat is ahead
is expected to eq 2
when using colon delimiters
when keyword splat is ahead
is expected to eq 2
when keyword splat is on the same line
is expected to eq 0
when keyword splat is behind
is expected to eq -2
when keyword splat is aligned
is expected to eq 0
with alignment set to :right
when using colon delimiters
when keyword splat is ahead
is expected to eq 0
when keyword splat is on the same line
is expected to eq 0
when keyword splat is behind
is expected to eq 0
when keyword splat is aligned
is expected to eq 0
when using hash rocket delimiters
when keyword splat is behind
is expected to eq 0
when keyword splat is ahead
is expected to eq 0
when keyword splat is on the same line
is expected to eq 0
when keyword splat is aligned
is expected to eq 0
#forwarded_kwrestarg_type?
is expected not to be forwarded kwrestarg type
#value_delta
when using hash rocket delimiters
when keyword splat is left aligned
is expected to eq 0
when keyword splat is ahead
is expected to eq 0
when keyword splat is on the same line
is expected to eq 0
when keyword splat is behind
is expected to eq 0
when using colon delimiters
when keyword splat is on the same line
is expected to eq 0
when keyword splat is left aligned
is expected to eq 0
when keyword splat is ahead
is expected to eq 0
when keyword splat is behind
is expected to eq 0
#colon?
is expected not to be colon
#value
is expected to eq s(:kwsplat,
s(:send, nil, :foo))
#kwsplat_type?
is expected to be kwsplat type
#key
is expected to eq s(:kwsplat,
s(:send, nil, :foo))
.new
is expected to be a kind of RuboCop::AST::KeywordSplatNode
RuboCop::AST::InPatternNode
when using Ruby 2.7 or newer
#pattern
with an alternative pattern
is expected to be match alt type
with an array pattern
is expected to be array pattern type
with a pin operator
is expected to be pin type
with a hash pattern
is expected to be hash pattern type
with a variable pattern
is expected to be match var type
with a value pattern
is expected to be int type
with an as pattern
is expected to be match as type
#branch_index
is expected to eq 1
is expected to eq 0
is expected to eq 2
#then?
without a then keyword
is expected not to be then
with a then keyword
is expected to be then
#body
with a then keyword
is expected to be sym type
without a then keyword
is expected to be array type
.new
is expected to be a kind of RuboCop::AST::InPatternNode
Failures:
1) RuboCop::AST::Traversal knows all current node types
Failure/Error: expect(described_class::MISSING).to eq []
expected: []
got: [:blocknilarg]
(compared using ==)
Diff:
@@ -1 +1 @@
-[]
+[:blocknilarg]
# ./spec/rubocop/ast/traversal_spec.rb:123:in `block (2 levels) in <top (required)>'
Finished in 1.97 seconds (files took 0.62494 seconds to load)
2716 examples, 1 failure
Failed examples:
rspec ./spec/rubocop/ast/traversal_spec.rb:122 # RuboCop::AST::Traversal knows all current node types
Randomized with seed 45136
/usr/bin/ruby3.3 -ruri -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed)
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in `run_tests_for_version'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in run_tests'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:57:in `install'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install'
from /usr/bin/dh_ruby:89:in `<main>'
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-rubocop-ast returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-ruby-extras-maintainers
mailing list