Bug 1647490
Summary: | glibc: stdlib/test-bz22786 test suite failure on s390x [rhel-7.7] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Florian Weimer <fweimer> |
Component: | glibc | Assignee: | Florian Weimer <fweimer> |
Status: | CLOSED ERRATA | QA Contact: | Sergey Kolosov <skolosov> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.7 | CC: | ashankar, codonell, dj, fweimer, glibc-bugzilla, mcermak, mnewsome, pfrankli, qe-baseos-tools-bugs, skolosov |
Target Milestone: | rc | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | s390x | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glibc-2.17-265.el7 | Doc Type: | No Doc Update |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | 1638523 | Environment: | |
Last Closed: | 2019-08-06 12:49:40 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: | |||
Bug Depends On: | 1638523 | ||
Bug Blocks: | 1643040 |
Description
Florian Weimer
2018-11-07 15:24:35 UTC
Further required backports: commit 3bad2358d67d371497079bba4f8eca9c0096f4e2 Author: Stefan Liebler <stli.com> Date: Thu Aug 30 08:44:32 2018 +0200 Test stdlib/test-bz22786 exits now with unsupported if malloc fails. The test tries to allocate more than 2^31 bytes which will always fail on s390 as it has maximum 2^31bit of memory. Before commit 6c3a8a9d868a8deddf0d6dcc785b6d120de90523, this test returned unsupported if malloc fails. This patch re enables this behaviour. Furthermore support_delete_temp_files() failed to remove the temp directory in this case as it is not empty due to the created symlink. Thus the creation of the symlink is moved behind malloc. Reviewed-by: Carlos O'Donell <carlos> ChangeLog: * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED if malloc fails. commit 6c3a8a9d868a8deddf0d6dcc785b6d120de90523 Author: Paul Pluzhnikov <ppluzhnikov.corp.google.com> Date: Fri Aug 24 18:08:51 2018 -0700 Fix BZ#23400 (creating temporary files in source tree), and undefined behavior in test. *** Bug 1607947 has been marked as a duplicate of this bug. *** Verified, the test passes in glibc-2.17-265.el7.s390x, the test fails by timeout in glibc-2.17-262.el7.s390x. On 31bit architecture s390, it has the same behavior in both versions glibc-2.17-262.el7.s390 and glibc-2.17-265.el7.s390, the test fails with EXIT_UNSUPPORTED in both versions. Tested on a host with 2048 MB system memory. 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/RHSA-2019:2118 |