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

Thread Sanitizer failure: LLVMSymbolizer: error reading file: No such file or directory in free-threaded TSan CI #118495

Closed
colesbury opened this issue May 1, 2024 · 0 comments
Assignees
Labels
tests Tests in the Lib/test dir topic-free-threading

Comments

@colesbury
Copy link
Contributor

colesbury commented May 1, 2024

See: https://github.com/python/cpython/actions/runs/8915487425/job/24485217543 and https://github.com/python/cpython/actions/runs/8915976859/job/24486582444?pr=118493

0:03:54 load avg: 3.29 [21/22/1] test_threading failed (1 failure) (1 min 5 sec) -- running (1): test_weakref (56.6 sec)
/home/runner/work/cpython/cpython/Lib/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method skip.<locals>.decorator of <test.test_threading.ThreadJoinOnShutdown testMethod=test_2_join_in_forked_process>>)
  return self.run(*args, **kwds)
/home/runner/work/cpython/cpython/Lib/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method skip.<locals>.decorator of <test.test_threading.ThreadJoinOnShutdown testMethod=test_3_join_in_forked_from_thread>>)
  return self.run(*args, **kwds)
/home/runner/work/cpython/cpython/Lib/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method skip.<locals>.decorator of <test.test_threading.ThreadJoinOnShutdown testMethod=test_clear_threads_states_after_fork>>)
  return self.run(*args, **kwds)
/home/runner/work/cpython/cpython/Lib/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method skip.<locals>.decorator of <test.test_threading.ThreadJoinOnShutdown testMethod=test_reinit_tls_after_fork>>)
  return self.run(*args, **kwds)
/home/runner/work/cpython/cpython/Lib/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method skip.<locals>.decorator of <test.test_threading.ThreadTests testMethod=test_dummy_thread_after_fork>>)
  return self.run(*args, **kwds)
/home/runner/work/cpython/cpython/Lib/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method skip.<locals>.decorator of <test.test_threading.ThreadTests testMethod=test_is_alive_after_fork>>)
  return self.run(*args, **kwds)
/home/runner/work/cpython/cpython/Lib/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method skip.<locals>.decorator of <test.test_threading.ThreadTests testMethod=test_main_thread_after_fork>>)
  return self.run(*args, **kwds)
/home/runner/work/cpython/cpython/Lib/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method skip.<locals>.decorator of <test.test_threading.ThreadTests testMethod=test_main_thread_after_fork_from_nonmain_thread>>)
  return self.run(*args, **kwds)
test test_threading failed -- Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython/Lib/test/test_threading.py", line 8[50](https://github.com/python/cpython/actions/runs/8915487425/job/24485217543#step:12:51), in test_main_thread_after_fork_from_dummy_thread
    self.test_main_thread_after_fork_from_foreign_thread(create_dummy=True)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cpython/cpython/Lib/test/test_threading.py", line 839, in test_main_thread_after_fork_from_foreign_thread
    self.assertEqual(err.decode(), "")
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: 'LLVMSymbolizer: error reading file: No such file or directory\n' != ''
- LLVMSymbolizer: error reading file: No such file or directory
0:04:17 load avg: 2.64 [22/22/1] test_weakref passed (1 min 19 sec)

Linked PRs

@colesbury colesbury added tests Tests in the Lib/test dir topic-free-threading labels May 1, 2024
colesbury pushed a commit that referenced this issue May 3, 2024
…AN (#118530)

This is unsupported. Note that `skip_unless_reliable_fork()` checks for
the conditions used by the decorators that were removed, along with checking
for TSAN.
@mpage mpage closed this as completed May 3, 2024
SonicField pushed a commit to SonicField/cpython that referenced this issue May 8, 2024
…ith TSAN (python#118530)

This is unsupported. Note that `skip_unless_reliable_fork()` checks for
the conditions used by the decorators that were removed, along with checking
for TSAN.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir topic-free-threading
Projects
None yet
Development

No branches or pull requests

2 participants