gem2deb-test-runner failures with ruby-defaults 1:3.3~ubuntu3

Bug #2077617 reported by Pushkar Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
origami-pdf (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-archive-zip (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-attr-encrypted (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-chronic (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-clockwork (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-crass (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-declarative-option (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-default-value-for (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-html2haml (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-jsonpath (Ubuntu)
New
Undecided
Pushkar Kulkarni
ruby-launchy-shim (Ubuntu)
New
Undecided
Unassigned
ruby-memory-profiler (Ubuntu)
New
Undecided
Unassigned
ruby-representable (Ubuntu)
New
Undecided
Unassigned
ruby-safely-block (Ubuntu)
New
Undecided
Unassigned
ruby-slim (Ubuntu)
New
Undecided
Unassigned
ruby-toml (Ubuntu)
New
Undecided
Unassigned
ruby-uber (Ubuntu)
New
Undecided
Unassigned
rubygems-integration (Ubuntu)
New
Undecided
Unassigned

Bug Description

The autopkgtests of ruby-attr-encrypted that are run by the gem2deb-test-runner fail (e.g: [1]) with ruby-defaults 1:3.3~ubuntu3 due to a change in the behavior of the MiniTest gem. Ruby 3.3 comes with minitest 5.20.00. Startung version 5.19.0, the MiniTest class is no longer loaded by default. Either the use of "MiniTest" needs to be replaced by "Minitest" or env var MT_COMPAT needs to be defined.

-----

1088s /tmp/autopkgtest.MBvPc8/build.mV3/src/test/test_helper.rb:5:in `<top (required)>': uninitialized constant MiniTest (NameError)
1088s
1088s MiniTest::Test = MiniTest::Unit::TestCase
1088s ^^^^^^^^
1088s Did you mean? Minitest

----

[1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-oracular/oracular/amd64/r/ruby-attr-encrypted/20240820_142215_b81be@/log.gz

[2] https://docs.seattlerb.org/minitest/History_rdoc.html#label-5.19.0+-2F+2023-07-26

Related branches

Changed in ruby-attr-encrypted (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-archive-zip (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
summary: - autopkgtest failures with ruby-defaults 1:3.3~ubuntu3
+ gem2deb-test-runner failures with ruby-defaults 1:3.3~ubuntu3
description: updated
Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :

For now, we could wait for upstream projects to switch to using Minitest (instead of MiniTest) while using the MT_COMPAT solution.

description: updated
Changed in origami-pdf (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
tags: added: update-excuse
Changed in ruby-chronic (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-clockwork (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-crass (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-declarative-option (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-default-value-for (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-html2haml (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
Changed in ruby-jsonpath (Ubuntu):
assignee: nobody → Pushkar Kulkarni (pushkarnk)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.