Source: ruby-ammeter Version: 1.1.7-1 Severity: serious Justification: autopkgtest failure Tags: trixie sid ftbfs User: [email protected] Usertags: rails7
Hi,
We are about to upload rails 7 to unstable, as we are targetting to have rails
7 being released with Trixie.
After the last upload of rails 7 to experimental, we noticed that ruby-ammeter
fails its autopkgtests when run against that version of rails.
To reproduce this failure locally, you can run autopkgtest with the following
options:
--add-apt-release=experimental --pin-packages=experimental=src:rails
(or wait until rails 7 is uploaded to unstable)
Relevant part (hopefully):
>
> exist
> passes when the file exists (FAILED - 1)
> fails when the file does not exist (FAILED - 2)
> maintains default RSpec behavior
>
> have_correct_syntax
> ruby files
> checks if Ruby file has a proper syntax
> checks if Ruby file has an incorrect syntax
> erb files
> checks if simple ERB file has a proper syntax
> checks if simple ERB file has an incorrect syntax
> checks if complex ERB file has a proper syntax
> checks if complex ERB file has an incorrect syntax
> haml files
> checks if simple Haml file has a proper syntax
> checks if simple Haml file has an incorrect syntax
> checks if complex Haml file has a proper syntax
> checks if complex Haml file has an incorrect syntax
>
> have_method
> is expected to have method :some_method
> is expected to have method :some_method
> is expected not to have method :some_method
> is expected not to have method :some_other_method
>
> Failures:
>
> 1) exist passes when the file exists
> Failure/Error: expect('/some/file/path').to exist
>
> NoMethodError:
> private method `warn' called for class ActiveSupport::Deprecation
> #
> /usr/share/rubygems-integration/all/gems/ammeter-1.1.7/lib/ammeter/rspec/generator/matchers/exist.rb:5:in
> `block (2 levels) in <top (required)>'
> # ./spec/ammeter/rspec/generator/matchers/exist_spec.rb:6:in `block (2
> levels) in <top (required)>'
>
> 2) exist fails when the file does not exist
> Failure/Error: expect('/some/file/path').to_not exist
>
> NoMethodError:
> private method `warn' called for class ActiveSupport::Deprecation
> #
> /usr/share/rubygems-integration/all/gems/ammeter-1.1.7/lib/ammeter/rspec/generator/matchers/exist.rb:5:in
> `block (2 levels) in <top (required)>'
> # ./spec/ammeter/rspec/generator/matchers/exist_spec.rb:11:in `block (2
> levels) in <top (required)>'
>
> Finished in 0.18454 seconds (files took 1.38 seconds to load)
> 41 examples, 2 failures
>
> Failed examples:
>
> rspec ./spec/ammeter/rspec/generator/matchers/exist_spec.rb:4 # exist passes
> when the file exists
> rspec ./spec/ammeter/rspec/generator/matchers/exist_spec.rb:9 # exist fails
> when the file does not exist
>
> /usr/bin/ruby3.3
> -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
> mv ./.gem2deb.lib lib
> autopkgtest [19:02:32]: test gem2deb-test-runner: -----------------------]
> autopkgtest [19:02:32]: test gem2deb-test-runner: - - - - - - - - - -
> results - - - - - - - - - -
> gem2deb-test-runner FAIL non-zero exit status 1
> autopkgtest [19:02:32]: @@@@@@@@@@@@@@@@@@@@ summary
> gem2deb-test-runner FAIL non-zero exit status 1
The full autopkgtest logs are available and linked from
https://release.debian.org/britney/pseudo-excuses-experimental.html#rails
and after rails 7 gets into unstable, at
https://qa.debian.org/excuses.php?package=rails
signature.asc
Description: PGP signature

