GNU bug report logs - #42115
ruby-bond fails its test suite, breaking ruby-iruby

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sun, 28 Jun 2020 22:59:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42115 in the body.
You can then email your comments to 42115 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42115; Package guix. (Sun, 28 Jun 2020 22:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 28 Jun 2020 22:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: ruby-bond fails its test suite, breaking ruby-iruby
Date: Sun, 28 Jun 2020 18:58:18 -0400
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




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 21 Oct 2020 04:23:02 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Wed, 21 Oct 2020 04:23:02 GMT) Full text and rfc822 format available.

Message #10 received at 42115-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 42115-done <at> debbugs.gnu.org
Subject: Re: bug#42115: ruby-bond fails its test suite, breaking ruby-iruby
Date: Wed, 21 Oct 2020 00:22:14 -0400
Hello,

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

> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 18 Nov 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.