Title: Thread sanitizer tests failing in GitHub actions · Issue #121946 · python/cpython · GitHub
Open Graph Title: Thread sanitizer tests failing in GitHub actions · Issue #121946 · python/cpython
X Title: Thread sanitizer tests failing in GitHub actions · Issue #121946 · python/cpython
Description: EDIT: The cause was due to a change in LLVM's Ubuntu package. I think this is due to a change in GitHub actions, not any particular commit. Commits that previously succeeded are now failing. I cannot reproduce the issue locally. The only...
Open Graph Description: EDIT: The cause was due to a change in LLVM's Ubuntu package. I think this is due to a change in GitHub actions, not any particular commit. Commits that previously succeeded are now failing. I cann...
X Description: EDIT: The cause was due to a change in LLVM's Ubuntu package. I think this is due to a change in GitHub actions, not any particular commit. Commits that previously succeeded are now failing. I ...
Opengraph URL: https://github.com/python/cpython/issues/121946
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Thread sanitizer tests failing in GitHub actions","articleBody":"**EDIT**: The cause was due to a change in LLVM's Ubuntu package.\r\n\r\nI think this is due to a ~~change in GitHub actions~~, not any particular commit. Commits that previously succeeded are now failing. I cannot reproduce the issue locally.\r\n\r\nThe only difference I see is in the reported `clang` build:\r\n\r\n`CC.version: Ubuntu clang version 18.1.8 (++20240717045746+3b5b5c1ec4a3-1~exp1~20240717165903.140)` (bad)\r\n`CC.version: Ubuntu clang version 18.1.8 (++20240714071213+3b5b5c1ec4a3-1~exp1~20240714191314.138)` (good)\r\n\r\nHowever, the runner `IMAGE_VERSION` doesn't look like it's changed:\r\n\r\n`IMAGE_VERSION: 20240714.1.0`\r\n\r\nNearly every test is failing:\r\n\r\nhttps://github.com/python/cpython/actions/runs/9982293102/job/27587742397\r\n\r\n```\r\n0:00:00 load avg: 2.83 Run 22 tests in parallel using 4 worker processes\r\n0:00:01 load avg: 2.93 [ 1/22/1] test_capi.test_pyatomic worker non-zero exit code (Exit code 66)\r\n0:00:03 load avg: 2.93 [ 2/22/2] test_code worker non-zero exit code (Exit code 66)\r\n0:00:06 load avg: 3.01 [ 3/22/3] test_functools worker non-zero exit code (Exit code 66)\r\n0:00:11 load avg: 3.01 [ 4/22/4] test_capi.test_mem worker non-zero exit code (Exit code 66)\r\n0:00:12 load avg: 3.01 [ 5/22/5] test_httpservers worker non-zero exit code (Exit code 66)\r\n0:00:16 load avg: 3.01 [ 6/22/6] test_enum worker non-zero exit code (Exit code 66)\r\n0:00:21 load avg: 3.01 [ 7/22/7] test_imaplib worker non-zero exit code (Exit code 66)\r\n0:00:39 load avg: 3.83 [ 8/22/8] test_importlib worker non-zero exit code (Exit code 66)\r\n0:00:41 load avg: 4.01 [ 9/22/9] test_logging worker non-zero exit code (Exit code 66)\r\n0:01:03 load avg: 3.79 [10/22/10] test_io worker non-zero exit code (Exit code 66) -- running (1): test_queue (42.2 sec)\r\n0:01:08 load avg: 4.21 [11/22/11] test_signal worker non-zero exit code (Exit code 66) -- running (1): test_queue (47.1 sec)\r\n0:01:09 load avg: 4.21 [12/22/12] test_sqlite3 worker non-zero exit code (Exit code 66) -- running (1): test_queue (48.0 sec)\r\n0:01:11 load avg: 4.11 [13/22/13] test_syslog worker non-zero exit code (Exit code 66) -- running (2): test_queue (50.3 sec), test_socket (30.1 sec)\r\n0:01:15 load avg: 4.82 [14/22/14] test_thread worker non-zero exit code (Exit code 66) -- running (2): test_queue (54.4 sec), test_socket (34.3 sec)\r\n0:01:17 load avg: 4.82 [15/22/15] test_threadedtempfile worker non-zero exit code (Exit code 66) -- running (2): test_queue (56.2 sec), test_socket (36.1 sec)\r\n0:01:20 load avg: 4.82 [16/22/16] test_queue worker non-zero exit code (Exit code 66) -- running (1): test_socket (39.0 sec)\r\n0:01:23 load avg: 4.68 [17/22/17] test_threading_local worker non-zero exit code (Exit code 66) -- running (1): test_socket (41.8 sec)\r\n0:01:24 load avg: 4.68 [18/22/18] test_ssl worker non-zero exit code (Exit code 66) -- running (1): test_socket (43.3 sec)\r\n0:01:29 load avg: 4.54 [19/22/19] test_threadsignals worker non-zero exit code (Exit code 66) -- running (1): test_socket (48.1 sec)\r\n0:01:50 load avg: 3.91 [20/22/20] test_weakref worker non-zero exit code (Exit code 66) -- running (2): test_threading (32.6 sec), test_socket (1 min 8 sec)\r\n0:01:53 load avg: 3.68 [21/22/21] test_socket worker non-zero exit code (Exit code 66) -- running (1): test_threading (35.4 sec)\r\n0:01:56 load avg: 3.46 [22/22/22] test_threading worker non-zero exit code (Exit code 66)\r\n\r\n```\r\n\r\nTSan logs are useless:\r\n\r\n```\r\nWARNING: ThreadSanitizer: data race (pid=8535)\r\n Write of size 8 at 0x56136380acd0 by main thread:\r\n #0 \u003cnull\u003e \u003cnull\u003e (python+0x31a5ee) (BuildId: 243a59[16](https://github.com/python/cpython/actions/runs/9982293102/job/27587742397#step:13:17)b2751fda530fabbdb48342727b53c0b8)\r\n #1 \u003cnull\u003e \u003cnull\u003e (python+0x31a4a6) (BuildId: 243a5916b2751fda530fabbdb48342727b53c0b8)\r\n #2 \u003cnull\u003e \u003cnull\u003e (python+0x4f1242) (BuildId: 243a5916b2751fda530fabbdb48342727b53c0b8)\r\n #3 \u003cnull\u003e \u003cnull\u003e (python+0x522ef7) (BuildId: 243a5916b2751fda530fabbdb48342727b53c0b8)\r\n...\r\n```\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-121975\r\n* gh-121981\n* gh-122032\n* gh-122131\n* gh-122466\n* gh-122467\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/colesbury","@type":"Person","name":"colesbury"},"datePublished":"2024-07-18T03:55:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/121946/cpython/issues/121946"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:009ca4f0-c108-29fa-464d-b996a621f5ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED66:D0E56:42FB7C:5D7CC3:696A6BA0 |
| html-safe-nonce | 337f5b54d6821d56afdfe8c4ebbe2de5bf195cbd2f3d4507ecf56626b4dbfae8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDY2OkQwRTU2OjQyRkI3Qzo1RDdDQzM6Njk2QTZCQTAiLCJ2aXNpdG9yX2lkIjoiNjA5NTU3MjQ4NjI0NzMxMjI4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | adfda8a3f4480137491a2dbf8f61b0452f51b5f7dd2973fcac04b6216b45b228 |
| hovercard-subject-tag | issue:2415162265 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/121946/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c7cf09cf5974cf8e5ad5267d27a8efa6dd2a3383829c175b4cda8393a277f6df/python/cpython/issues/121946 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c7cf09cf5974cf8e5ad5267d27a8efa6dd2a3383829c175b4cda8393a277f6df/python/cpython/issues/121946 |
| og:image:alt | EDIT: The cause was due to a change in LLVM's Ubuntu package. I think this is due to a change in GitHub actions, not any particular commit. Commits that previously succeeded are now failing. I cann... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | colesbury |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fea32d5b7276b841b7a803796d9715bc6cfb31ed549fdf9de2948ac25d12ba6 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f2d9f6432a5a115ec709295ae70623f33bb80aee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width