Bug 1542677

Summary: [regression] Internal testcases are failing in rust-toolset-7-cargo-0.24.0-1.el7
Product: DevTools Reporter: Edjunior Barbosa Machado <emachado>
Component: cargoAssignee: Josh Stone <jistone>
Status: CLOSED ERRATA QA Contact: Edjunior Barbosa Machado <emachado>
Severity: unspecified Docs Contact: Vladimír Slávik <vslavik>
Priority: unspecified    
Version: rust-toolset-7CC: jcajka, kanderso, law, mcermak, tstellar, vslavik
Target Milestone: rc   
Target Release: 2018.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-03 03:57:59 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:
Attachments:
Description Flags
'rpmbuild --rebuild cargo-0.24.0-1.el7.src.rpm' in rhel-7.5 x86_64 output none

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