Bug 1542677 - [regression] Internal testcases are failing in rust-toolset-7-cargo-0.24.0-1.el7
Summary: [regression] Internal testcases are failing in rust-toolset-7-cargo-0.24.0-1.el7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: DevTools
Classification: Red Hat
Component: cargo
Version: rust-toolset-7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 2018.2
Assignee: Josh Stone
QA Contact: Edjunior Barbosa Machado
Vladimír Slávik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-06 19:28 UTC by Edjunior Barbosa Machado
Modified: 2018-05-03 03:58 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-05-03 03:57:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
'rpmbuild --rebuild cargo-0.24.0-1.el7.src.rpm' in rhel-7.5 x86_64 output (87.31 KB, text/plain)
2018-02-06 19:28 UTC, Edjunior Barbosa Machado
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1280 0 None None None 2018-05-03 03:58:21 UTC

Description Edjunior Barbosa Machado 2018-02-06 19:28:14 UTC
Created attachment 1392252 [details]
'rpmbuild --rebuild cargo-0.24.0-1.el7.src.rpm' in rhel-7.5 x86_64 output

Description of problem:

Testcases bad_git_dependency, https_something_happens and ssh_something_happens from cargo internal testsuite were running successful in DevTools-2018.1 rust-toolset-7-cargo-0.23.0-1.el7 and are now failing in DevTools-2018.2 rust-toolset-7-cargo-0.24.0-1.el7 in RHEL-7.5:

$ diff <(grep FAILED$ devtools-2018.1-rhel-7_rust-toolset-7-cargo-0.23.0-1.el7.src.rpm_rebuild/x86_64_rhel-7.5_rebuild.log) <(grep FAILED$ devtools-2018.2-rhel-7_rust-toolset-7-cargo-0.24.0-1.el7.src.rpm_rebuild/x86_64_rhel-7.5_rebuild.log)
0a1
> test bad_git_dependency ... FAILED
1a3,4
> test https_something_happens ... FAILED
> test ssh_something_happens ... FAILED

Apart from these, wasm32_final_outputs is also failing, but it's not a regression from cargo-0.23.0-1.el7.

Version-Release number of selected component (if applicable):
rust-toolset-7-cargo-0.24.0-1.el7

How reproducible:
100%

Steps to Reproduce:
1. rpmbuild --rebuild cargo-0.24.0-1.el7.src.rpm (full output attached)

Comment 1 Josh Stone 2018-02-09 23:37:45 UTC
wasm32 fails because our LLVM doesn't have that target.  I'll see about either making that test detect this, or else just mask it; either way this is minor.

I can reproduce the rest in mock builds, both succeeding in 2018.1 and failing in 2018.2.  The git one looks like just bad pattern matching, and the https and ssh tests look like they failed to run localhost services for testing.  I don't know yet why these are any different than 2018.1.

Comment 2 Josh Stone 2018-02-23 00:14:28 UTC
The failures are gone in cargo 0.25.0.

Comment 7 errata-xmlrpc 2018-05-03 03:57:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:1280


Note You need to log in before you can comment on or make changes to this bug.