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

[AIX] test_io: files was modified by test_io: (@test_6488748_tmpæ) on POWER6 AIX 3.9 #85883

Closed
vstinner opened this issue Sep 4, 2020 · 5 comments
Labels
3.9 only security fixes tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

vstinner commented Sep 4, 2020

BPO 41717
Nosy @vstinner, @skrah, @isidentical
Superseder
  • bpo-41401: Using non-ascii that require UTF-8 breaks AIX testing
  • 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 2020-09-05.13:26:54.788>
    created_at = <Date 2020-09-04.15:13:58.809>
    labels = ['tests', '3.9']
    title = '[AIX] test_io: files was modified by test_io: (@test_6488748_tmp\xc3\xa6) on POWER6 AIX 3.9'
    updated_at = <Date 2020-09-05.13:26:54.786>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-09-05.13:26:54.786>
    actor = 'skrah'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-09-05.13:26:54.788>
    closer = 'skrah'
    components = ['Tests']
    creation = <Date 2020-09-04.15:13:58.809>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41717
    keywords = []
    message_count = 5.0
    messages = ['376371', '376381', '376382', '376386', '376430']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'skrah', 'David.Edelsohn', 'BTaskaya']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '41401'
    type = None
    url = 'https://bugs.python.org/issue41717'
    versions = ['Python 3.9']

    @vstinner
    Copy link
    Member Author

    vstinner commented Sep 4, 2020

    '@test_6488748_tmpæ' is likely TESTFN_NONASCII which is exposed as test.support.os_helper.TESTFN, but test_io has many many tests using TESTFN.

    https://buildbot.python.org/all/#/builders/330/builds/20

    0:06:47 [130/425/1] test_io failed (env changed) (1 min 8 sec) -- running: test_concurrent_futures (31.1 sec)
    (...)
    Warning -- files was modified by test_io
    Before: []
    After: ['@test_6488748_tmpæ']

    Since build 1, 19 days ago:
    https://buildbot.python.org/all/#/builders/330/builds/1

    If someone is able to reproduce the issue, please attempt to identify which test method leaks the temporary file using the command:

    ./python -m test.bisect_cmd test_io --fail-env-changed -v

    After 10-20 minutes, the command should give the name of a single method which creates the temporary file.

    @vstinner vstinner added 3.9 only security fixes tests Tests in the Lib/test dir labels Sep 4, 2020
    @DavidEdelsohn
    Copy link
    Mannequin

    DavidEdelsohn mannequin commented Sep 4, 2020

    Bisection failed after 101 iterations and 0:20:29

    @vstinner
    Copy link
    Member Author

    vstinner commented Sep 4, 2020

    Bisection failed after 101 iterations and 0:20:29

    Oh :-( Does "./python -m test test_io --fail-env-changed -v" fail?

    @DavidEdelsohn
    Copy link
    Mannequin

    DavidEdelsohn mannequin commented Sep 4, 2020

    It's the same system. It doesn't fail alone. Didn't we both previously see issues with the interaction of tests due to the other of tests, that previous tests left things in the environment that affected later tests?

    @skrah
    Copy link
    Mannequin

    skrah mannequin commented Sep 5, 2020

    I think this is a duplicate of bpo-41401.

    @skrah skrah mannequin closed this as completed Sep 5, 2020
    @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.9 only security fixes tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant