classification
Title: On AIX, test_unpack_archive_xztar fails with default MAXDATA settings
Type: enhancement Stage: patch review
Components: Tests Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Michael.Felt
Priority: normal Keywords: patch

Created on 2019-01-10 09:12 by Michael.Felt, last changed 2019-01-10 09:22 by Michael.Felt.

Pull Requests
URL Status Linked Edit
PR 11500 open Michael.Felt, 2019-01-10 09:22
Messages (1)
msg333370 - (view) Author: Michael Felt (Michael.Felt) * Date: 2019-01-10 09:12
By default AIX builds 32-bit applications - and the combined .data, .bss and .stack areas share one memory segment of 256 Mbyte.

This can be modified by either specifying a larger value for maxdata during linking (e.g., with LDFLAGS=-bmaxdata:0x40000000) or using the program ldedit (e.g., ldedit -b maxdata:0x40000000).

The subtest test_shutil.test_unpack_archive_xztar fails with the default. The patch here looks at the MAXDATA value of the executable XCOFF headers and skips the test when AIX is 32-bit and MAXDATA < 0x20000000.

This helps the result of AIX bots to be more accurate - as this so-called failure is not an issue with python itself.
History
Date User Action Args
2019-01-10 09:22:59Michael.Feltsetkeywords: + patch
stage: patch review
pull_requests: + pull_request11029
2019-01-10 09:12:51Michael.Feltcreate