ruby-bond fails its test suite, breaking ruby-iruby

  • Done
  • quality assurance status badge
Details
One participant
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
normal
M
M
Maxim Cournoyer wrote on 29 Jun 2020 00:58
(name . bug-guix)(address . bug-guix@gnu.org)
87lfk6lrw5.fsf@gmail.com
Hello,

The test suite of the ruby-bond package fails with 14 errors like the following:

Mocha::NotInitializedError: Mocha methods cannot be used outside the context of a test
/tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:9:in `block (3 levels) in <top (required)>': start - prints error if readline doesn't have all required methods
/gnu/store/9dshwx1qqrdyhsj2galh70g5l427p6f9-ruby-mocha-on-bacon-0.2.3/lib/ruby/vendor_ruby/gems/mocha-on-bacon-0.2.3/lib/mocha-on-bacon.rb:54:in `it'
/tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:10:in `block (2 levels) in <top (required)>'
/gnu/store/ch5i4pvyx1mfywpnby5xd7w0qs9qnvsm-ruby-bacon-bits-0.1.0/lib/ruby/vendor_ruby/gems/bacon-bits-0.1.0/lib/bacon/bits.rb:20:in `describe'
/tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:4:in `block in <top (required)>'
/tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:3:in `<top (required)>'
/gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in `load'
/gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in
`<top (required)>

230 tests, 476 assertions, 0 failures, 14 errors

Tested with commit 8fdd0da49c81366a2061da35739cede3df107e15, but occurs
on master as well.

Maxim
M
M
Maxim Cournoyer wrote on 21 Oct 2020 06:22
(address . 42115-done@debbugs.gnu.org)
87eels439l.fsf@gmail.com
Hello,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

Toggle quote (22 lines)
> Hello,
>
> The test suite of the ruby-bond package fails with 14 errors like the following:
>
> Mocha::NotInitializedError: Mocha methods cannot be used outside the context of a test
> /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:9:in `block (3 levels) in <top (required)>': start - prints error if readline doesn't have all required methods
> /gnu/store/9dshwx1qqrdyhsj2galh70g5l427p6f9-ruby-mocha-on-bacon-0.2.3/lib/ruby/vendor_ruby/gems/mocha-on-bacon-0.2.3/lib/mocha-on-bacon.rb:54:in `it'
> /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:10:in `block (2 levels) in <top (required)>'
> /gnu/store/ch5i4pvyx1mfywpnby5xd7w0qs9qnvsm-ruby-bacon-bits-0.1.0/lib/ruby/vendor_ruby/gems/bacon-bits-0.1.0/lib/bacon/bits.rb:20:in `describe'
> /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:4:in `block in <top (required)>'
> /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:3:in `<top (required)>'
> /gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in `load'
> /gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in
> `<top (required)>
>
> 230 tests, 476 assertions, 0 failures, 14 errors
>
> Tested with commit 8fdd0da49c81366a2061da35739cede3df107e15, but occurs
> on master as well.
>
> Maxim

Mitigated in commit 18a29cb361.

Closing,

Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 42115@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 42115
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch