This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [AIX] test_io: files was modified by test_io: (@test_6488748_tmpæ) on POWER6 AIX 3.9
Type: Stage: resolved
Components: Tests Versions: Python 3.9
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Using non-ascii that require UTF-8 breaks AIX testing
View: 41401
Assigned To: Nosy List: BTaskaya, David.Edelsohn, skrah, vstinner
Priority: normal Keywords:

Created on 2020-09-04 15:13 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (5)
msg376371 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-09-04 15:13
'@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.
msg376381 - (view) Author: David Edelsohn (David.Edelsohn) * Date: 2020-09-04 16:09
Bisection failed after 101 iterations and 0:20:29
msg376382 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-09-04 16:18
> Bisection failed after 101 iterations and 0:20:29

Oh :-( Does "./python -m test test_io --fail-env-changed -v" fail?
msg376386 - (view) Author: David Edelsohn (David.Edelsohn) * Date: 2020-09-04 16:34
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?
msg376430 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2020-09-05 13:26
I think this is a duplicate of #41401.
History
Date User Action Args
2022-04-11 14:59:35adminsetgithub: 85883
2020-09-05 13:26:54skrahsetstatus: open -> closed

superseder: Using non-ascii that require UTF-8 breaks AIX testing

nosy: + skrah
messages: + msg376430
resolution: duplicate
stage: resolved
2020-09-04 16:34:24David.Edelsohnsetmessages: + msg376386
2020-09-04 16:18:55vstinnersetmessages: + msg376382
2020-09-04 16:09:35David.Edelsohnsetmessages: + msg376381
2020-09-04 15:13:58vstinnercreate