Bug 1085029
| Summary: | Ruby tests fail with latest Ruby | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Richard W.M. Jones <rjones> |
| Component: | libguestfs | Assignee: | Pino Toscano <ptoscano> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | acathrow, mbooth, ptoscano |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-04-22 12:36:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Richard W.M. Jones
2014-04-07 14:57:36 UTC
This seems to be because rubygem-minitest version has jumped from 4.x to 5.x. I was able to reproduce it on Rawhide by updating that package and running 'make -C ruby check'. Uninstalling rubygem-minitest and installing rubygem-unit-test fixes the problem. Unfortunately if you install rubygem-minitest then the test breaks again (even if rubygem-unit-test is installed). I have no idea what sort of horror in the Ruby language/environment causes this nonsense. Patches posted to mailing list: https://www.redhat.com/archives/libguestfs/2014-April/msg00049.html https://www.redhat.com/archives/libguestfs/2014-April/msg00050.html With the above, should be possible to use rubygem-minitest again. https://github.com/libguestfs/libguestfs/commit/fbae7f3e69ce598c52af71ec204f8dbd0a9ce5e5 https://github.com/libguestfs/libguestfs/commit/2f5e9066db817f75b245f256abc0c64dd1ae54eb fix the issue in libguestfs >= 1.27.6. |