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
Using non-ascii that require UTF-8 breaks AIX testing #85573
Comments
bpo-41069 introduces tests for paths/files containing non-ascii characters. On AIX - since the merge of PR21035 and PR21156 - the bots have been broken, i.e., returning test failed. commit 700cfa8
commit f925407
++++++++ Sadly, I cannot determine - exactly - where it is going wrong as the verbose results ends (says SUCCESS, but there is an ENV change, so bot says FAILED) as: ---------------------------------------------------------------------- Ran 614 tests in 59.122s OK (skipped=8) == Tests result: SUCCESS == 1 test altered the execution environment: Total duration: 59.8 sec |
Thank you for your report (and for all other heroic work for maintaining AIX). Breaking only one test on AIX looks like a good news. Do you able to run tests manually? Could you please run the following command?
It may help to determine what exactly the test was broken. |
Neat! extra arguments!! The warnings - extracted: == CPython 3.10.0a0 (heads/master-dirty:b1a8730, Jul 26 2020, 14:00:34) [GCC 7.2.0] ---------------------------------------------------------------------- Ran 1 test in 0.026s OK +++++ ---------------------------------------------------------------------- Ran 1 test in 0.026s OK == Tests result: SUCCESS == 1 test altered the execution environment: ++++ == CPython 3.10.0a0 (heads/master-dirty:b1a8730, Jul 26 2020, 14:00:34) [GCC 7.2.0] ---------------------------------------------------------------------- Ran 1 test in 0.001s OK
Warning -- Unraisable exception
Exception ignored in: <_io.BufferedRWPair object at 0x30689750>
Traceback (most recent call last):
File "/home/aixtools/cpython/cpython-master/Lib/test/support/__init__.py", line 613, in gc_collect
gc.collect()
ValueError: flush of closed file
Warning -- Unraisable exception
Exception ignored in: <_io.BufferedWriter>
Traceback (most recent call last):
File "/home/aixtools/cpython/cpython-master/Lib/test/support/__init__.py", line 613, in gc_collect
gc.collect()
ValueError: flush of closed file
test_io failed (env changed) == Tests result: SUCCESS == 1 test altered the execution environment: Hope this helps! |
There are two errors in test_io, both are not related to AIX. The first one is in test_fspath_support. It is exposed on non-UTF-8 locales. AIX by accident use ISO8859-1 locale by default. The second one is in test_reader_writer_close_error_on_close and related to garbage collector. Seems it is only exposed when run this test separately. |
Excellent!! aixtools@gcc119:[/home/aixtools/cpython/cpython-master]git pr 21640 aixtools@gcc119:[/home/aixtools/cpython/cpython-master]./python -m test == Tests result: SUCCESS == 1 test OK. Total duration: 1 min On 27/07/2020 16:16, Serhiy Storchaka wrote:
|
Automatic backport does not work due to changes in the test.support module. Victor, do you mind to backport PR 21640 to 3.9 and 3.8? |
The 'master' branch bot is working again, the 3.9 branch is still broken, and the 3.8 branch seems, as yet, unaffected. |
As much as I wish I had the skills to do the cherry picking - I am not going to touch this. The AIX bots for 3.9 branch continue to report broken for test_io (ENV change) - as they still wait for the backport for that branch! |
It should now be fixed. Thanks. |
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: