Skip to content

On AIX, test_unpack_archive_xztar fails with default MAXDATA settings #79885

Closed

Description

@aixtools
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']

    Activity

    1. aixtools commented on Jan 10, 2019

      @aixtools
      ContributorAuthor

      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.

    2. miss-islington commented on Feb 18, 2019

      @miss-islington
      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

    3. miss-islington commented on Feb 18, 2019

      @miss-islington
      Contributor

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

    4. aixtools commented on Mar 10, 2019

      @aixtools
      ContributorAuthor

      Could this also be backported to 3.7 and 3.6 please?

    5. aixtools commented on Mar 11, 2019

      @aixtools
      ContributorAuthor

      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\>


    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifetestsTests in the Lib/test dirtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions