Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On AIX, test_unpack_archive_xztar fails with default MAXDATA settings #79885

Closed
aixtools opened this issue Jan 10, 2019 · 5 comments
Closed

On AIX, test_unpack_archive_xztar fails with default MAXDATA settings #79885

aixtools opened this issue Jan 10, 2019 · 5 comments
Labels
3.8 only security fixes tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@aixtools
Copy link
Contributor

BPO 35704
Nosy @aixtools, @miss-islington
PRs
  • bpo-35704: Prevent test_shutil fail result when AIX is 32-bit and MAXDATA < 0x20000000 #11500
  • bpo-35704: Include correct NEWS entry #11914
  • [3.7] bpo-35704: Fix test_shutil result for 32-bit AIX when MAXDATA < 0x20000000 [GH-11500] #14194
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-02-18.11:24:29.670>
    created_at = <Date 2019-01-10.09:12:51.298>
    labels = ['3.8', 'type-feature', 'tests']
    title = 'On AIX, test_unpack_archive_xztar fails with default MAXDATA settings'
    updated_at = <Date 2019-09-10.13:57:40.904>
    user = 'https://github.com/aixtools'

    bugs.python.org fields:

    activity = <Date 2019-09-10.13:57:40.904>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-02-18.11:24:29.670>
    closer = 'ncoghlan'
    components = ['Tests']
    creation = <Date 2019-01-10.09:12:51.298>
    creator = 'Michael.Felt'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35704
    keywords = ['patch']
    message_count = 5.0
    messages = ['333370', '335807', '335818', '337627', '337703']
    nosy_count = 2.0
    nosy_names = ['Michael.Felt', 'miss-islington']
    pr_nums = ['11500', '11914', '14194']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue35704'
    versions = ['Python 3.8']

    @aixtools
    Copy link
    Contributor Author

    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.

    @aixtools aixtools added 3.8 only security fixes tests Tests in the Lib/test dir type-feature A feature request or enhancement labels Jan 10, 2019
    @miss-islington
    Copy link
    Contributor

    New changeset ef110b1 by Miss Islington (bot) (Michael Felt) in branch 'master':
    bpo-35704: Prevent test_shutil fail result when AIX is 32-bit and MAXDATA < 0x20000000 (GH-11500)
    ef110b1

    @miss-islington
    Copy link
    Contributor

    New changeset 02c04f2 by Miss Islington (bot) (Nick Coghlan) in branch 'master':
    bpo-35704: Include correct NEWS entry (GH-11914)
    02c04f2

    @aixtools
    Copy link
    Contributor Author

    Could this also be backported to 3.7 and 3.6 please?

    @aixtools aixtools added the 3.7 (EOL) end of life label Mar 10, 2019
    @aixtools
    Copy link
    Contributor Author

    On 10/03/2019 19:25, Michael Felt wrote:

    Michael Felt <aixtools@felt.demon.nl> added the comment:

    Could this also be backported to 3.7 and 3.6 please?
    Only 3.7 I guess - As 3.6 is in security mode.

    ----------
    versions: +Python 3.6, Python 3.7


    Python tracker <report@bugs.python.org>
    <https://bugs.python.org/issue35704\>


    @ned-deily ned-deily removed the 3.7 (EOL) end of life label Sep 10, 2019
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes tests Tests in the Lib/test dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants