[DRE-maint] Bug#1027344: ruby-mail-room: FTBFS: ERROR: Test "ruby3.1" failed: Failure/Error: method.deliver!(Mail.read_from_string(message))

Lucas Nussbaum lucas at debian.org
Fri Dec 30 16:18:03 GMT 2022


Source: ruby-mail-room
Version: 0.10.0+really0.0.9-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221230 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>      Failure/Error: method.deliver!(Mail.read_from_string(message))
> 
>      Mocha::ExpectationError:
>        unexpected invocation: #<Mock:deliver!>.deliver!(#<Mock:0x2468>)
>        satisfied expectations:
>        - allowed any number of times, invoked once: Mail.read_from_string(any_parameters)
>        - expected exactly once, invoked once: LetterOpener::DeliveryMethod.new(:location => "/tmp/somewhere")
>        - allowed any number of times, invoked never: LetterOpener::DeliveryMethod.new(any_parameters)
>      # /<<PKGBUILDDIR>>/lib/mail_room/delivery/letter_opener.rb:28:in `deliver'
>      # /<<PKGBUILDDIR>>/spec/lib/delivery/letter_opener_spec.rb:18:in `block (3 levels) in <top (required)>'
> 
> Finished in 2.12 seconds (files took 0.63597 seconds to load)
> 83 examples, 3 failures, 4 pending
> 
> Failed examples:
> 
> rspec /<<PKGBUILDDIR>>/spec/lib/delivery/logger_spec.rb:21 # MailRoom::Delivery::Logger#initialize with a log path creates a new file to append to
> rspec /<<PKGBUILDDIR>>/spec/lib/delivery/letter_opener_spec.rb:21 # MailRoom::Delivery::LetterOpener#deliver parses the message string with Mail
> rspec /<<PKGBUILDDIR>>/spec/lib/delivery/letter_opener_spec.rb:15 # MailRoom::Delivery::LetterOpener#deliver creates a new LetterOpener::DeliveryMethod
> 
> Randomized with seed 16304
> 
> Coverage report generated for RSpec to /<<PKGBUILDDIR>>/coverage. 1017 / 1072 LOC (94.87%) 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.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.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 from:
http://qa-logs.debian.net/2022/12/30/ruby-mail-room_0.10.0+really0.0.9-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221230;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221230&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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