summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-01-22 18:15:37 (GMT)
committerGitHub <noreply@github.com>2022-01-22 18:15:37 (GMT)
commitce7d66771ec64488134a1dd114015aa056eef696 (patch)
treedbbf2dc8cb06f2282f4135858225e664c08969fc
parent3a4c15bb9815b6f4652621fe6043ae18e0d202b3 (diff)
downloadcpython-ce7d66771ec64488134a1dd114015aa056eef696.zip
cpython-ce7d66771ec64488134a1dd114015aa056eef696.tar.gz
cpython-ce7d66771ec64488134a1dd114015aa056eef696.tar.bz2
bpo-45200: GHA Address Sanitizer skips 3 slowest tests (GH-30797)
Skip the 3 slowest tests of the Address Sanitizer CI of GitHub Actions: * test_tools * test_peg_generator * test_concurrent_futures These tests take between 5 and 20 minutes on this CI which makes this CI job the slowest. Making this CI job faster makes the whole Python workflow faster. These tests are run on all others CIs. Example of Address Sanitizer output: 10 slowest tests: - test_peg_generator: 17 min 33 sec - test_tools: 8 min 27 sec - test_concurrent_futures: 5 min 24 sec - test_zipfile: 2 min 41 sec - test_compileall: 2 min 21 sec - test_asyncio: 2 min 17 sec - test_gdb: 1 min 43 sec - test_weakref: 1 min 35 sec - test_pickle: 1 min 18 sec - test_subprocess: 1 min 12 sec Moreover, test_concurrent_futures also seems to be affected by bpo-45200 bug: libasan dead lock in pthread_create().
-rw-r--r--.github/workflows/build.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f11d51b..d6af174 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -306,4 +306,9 @@ jobs:
- name: Display build info
run: make pythoninfo
- name: Tests
- run: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu -x test_ctypes test_crypt test_decimal test_faulthandler test_interpreters test___all__ test_idle test_tix test_tk test_ttk_guionly test_ttk_textonly test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn"
+ # Skip test_tools test_peg_generator test_concurrent_futures because
+ # there are too slow: between 5 and 20 minutes on this CI.
+ #
+ # Skip multiprocessing and concurrent.futures tests which are affected by
+ # bpo-45200 bug: libasan dead lock in pthread_create().
+ run: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu -x test_ctypes test_crypt test_decimal test_faulthandler test_interpreters test___all__ test_idle test_tix test_tk test_ttk_guionly test_ttk_textonly test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn test_tools test_peg_generator test_concurrent_futures"