Source: ruby-mail-room
Version: 0.10.0+really0.0.24-1
Severity: important
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby-mocha-2

Hi,

We are trying to update ruby-mocha to version 2, currently available in 
experimental.
During a test rebuild, ruby-mail-room was found to fail to build in that 
situation.

To reproduce this locally, you need to install ruby-mocha from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
>      Failure/Error: @server.start
> 
>      Mocha::StubbingError:
>        #<Mock:0x2a80> was instantiated in one test but it is receiving 
> invocations within another test. This can lead to unintended interactions 
> between tests and hence unexpected test failures. Ensure that every test 
> correctly cleans up any state that it introduces.
>      # 
> /build/reproducible-path/ruby-mail-room-0.10.0+really0.0.24/lib/mail_room/health_check.rb:18:in
>  `block in run'
> 
> Finished in 2.79 seconds (files took 1.07 seconds to load)
> 118 examples, 1 failure, 4 pending
> 
> Failed examples:
> 
> rspec 
> /build/reproducible-path/ruby-mail-room-0.10.0+really0.0.24/spec/lib/health_check_spec.rb:36
>  # MailRoom::HealthCheck#run sets running to true
> 
> Randomized with seed 51322
> 
> Coverage report generated for RSpec to 
> /build/reproducible-path/ruby-mail-room-0.10.0+really0.0.24/coverage. 1475 / 
> 1541 LOC (95.72%) covered.
> Stopped processing SimpleCov as a previous error not related to SimpleCov has 
> been detected
> /usr/bin/ruby3.1 
> -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
> pkill redis-server || true
> ERROR: Test "ruby3.1" failed: 


The full build log is available at
https://people.debian.org/~terceiro/ruby-mocha-2/ruby-mail-room_arm64-2024-12-20T10:19:48Z.build

This bug report is being filed as severity important, but will be raised to
serious once ruby-mocha is updated in unstable.

Attachment: signature.asc
Description: PGP signature

Reply via email to