Bug 2279089

Summary: aws-c-common ExcludeArch s390x: Three '_threaded_reallocs' tests fail (Subprocess aborted): 0 == memcmp(alloc, &thread_data->thread_idx, 1)
Product: [Fedora] Fedora Reporter: Dominik Wombacher <dominik>
Component: aws-c-commonAssignee: David Duncan <davdunc>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: cloud-sig, davdunc
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
URL: https://github.com/awslabs/aws-c-common/issues/1111
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 485231, 2279275    

Description Dominik Wombacher 2024-05-04 19:32:23 UTC
When building aws-c-common on Arch s390x, three tests fail.

```
99% tests passed, 3 tests failed out of 443
Total Test time (real) =   8.73 sec
The following tests FAILED:
	265 - sba_threaded_reallocs (Subprocess aborted)
	268 - default_threaded_reallocs (Subprocess aborted)
	270 - aligned_threaded_reallocs (Subprocess aborted)
Errors while running CTest
```

The tests pass without issues on x86_64, aarch64 and ppc64le.

There was a bug report upstream about the same issue in October 2020 (staled): https://github.com/awslabs/aws-c-common/issues/710

New issue created upstream: https://github.com/awslabs/aws-c-common/issues/1111

Opening this bug because `ExcludeArch: s390x` will be set in aws-c-common from version `0.9.17` till the problem is fixed upstream.

Reproducible: Always

Comment 1 Aoife Moloney 2025-02-26 13:02:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.