-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Intermittent test_tarfile failures on zLinux #66984
Comments
test_list_command_verbose intermittently fails because the date comparison differs by six hours. I suspect a bad interaction between tests, but have not been able to find the culprit. FAIL: test_list_command_verbose (test.test_tarfile.CommandLineTest) Traceback (most recent call last):
File "/mnt/9707/edelsohn/cpython-buildarea/3.x.edelsohn-zlinux-z/build/Lib/test/test_tarfile.py", line 1953, in test_list_command_verbose
self.assertEqual(out, expected)
AssertionError: b'?rw[39 chars]-01-05 18:19:43 ustar/conttype \n?rw-r--r-- ta[6470 chars]f \n' != b'?rw[39 chars]-01-06 00:19:43 ustar/conttype \n?rw-r--r-- ta[6470 chars]f \n' |
This is a duplicate of bpo-20220. |
Sorry, I was not aware of the other issue. Three tests seems to have intermittent failures. test_datetime |
I found the connection but I don't know the cause: Running test_imaplib prior to either test_datetime or test_tarfile causes the latter test to fail. test_datetime seems to fix the problem for test_tarfile if it precedes it. [1/3] test_imaplib [1/3] test_imaplib
[2/3] test_tarfile
test test_tarfile failed -- Traceback (most recent call last):
File "/mnt/9707/edelsohn/src/cpython/Lib/test/test_tarfile.py", line 1953, in test_list_command_verbose
self.assertEqual(out, expected)
AssertionError: b'?rw[39 chars]-01-05 18:19:43 ustar/conttype \n?rw-r--r-- ta[6470 chars]f \n' != b'?rw[39 chars]-01-06 00:19:43 ustar/conttype \n?rw-r--r-- ta[6470 chars]f \n' [3/3/1] test_datetime |
Its the @run_with_tz decorations in test_imaplib and test_datetime. The TZ is not being restored after the test. |
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: