You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Verbose option ignored when running tests with "-ci" #139208
Another problem I've noticed: I can pass -v to the test runner and it will give a verbose output of the tests run, but if I pass --fast-ci or --slow-ci, the -v seems to be ignored:
stan@raspberrypi:~/cpython $ ./python -W error -m test --fast-ci test_importlib --dont-add-python-opts -v
== CPython 3.15.0a0 (heads/gh-138313:43357c2, Sep 7 2025, 18:10:29) [GCC 12.2.0]
== Linux-6.12.20+rpt-rpi-v8-aarch64-with-glibc2.36 little-endian
== Python build: release
== cwd: /home/stan/cpython/build/test_python_worker_3504242æ
== CPU count: 4
== encodings: locale=ISO-8859-1 FS=utf-8
== resources: all,-cpu
Using random seed: 27757186
0:00:00 load avg: 0.36 Run 1 test in parallel using 1 worker process (timeout: 10 min, worker timeout: 15 min)
0:00:10 load avg: 0.46 [1/1] test_importlib passed
== Tests result: SUCCESS ==
10 slowest tests:
- test_importlib: 10.5 sec
1 test OK.
Total duration: 10.5 sec
Total tests: run=1,349 skipped=19
Total test files: run=1/1
Result: SUCCESS
stan@raspberrypi:~/cpython $ ./python -W error -m test --slow-ci test_importlib --dont-add-python-opts -v
== CPython 3.15.0a0 (heads/gh-138313:43357c2, Sep 7 2025, 18:10:29) [GCC 12.2.0]
== Linux-6.12.20+rpt-rpi-v8-aarch64-with-glibc2.36 little-endian
== Python build: release
== cwd: /home/stan/cpython/build/test_python_worker_3504340æ
== CPU count: 4
== encodings: locale=ISO-8859-1 FS=utf-8
== resources: all
Using random seed: 958552036
0:00:00 load avg: 0.30 Run 1 test in parallel using 1 worker process (timeout: 20 min, worker timeout: 25 min)
0:00:10 load avg: 0.48 [1/1] test_importlib passed
== Tests result: SUCCESS ==
10 slowest tests:
- test_importlib: 10.4 sec
1 test OK.
Total duration: 10.4 sec
Total tests: run=1,349 skipped=19
Total test files: run=1/1
Result: SUCCESS
So I'm not at all confident on which tests are being run because the test runner is only reporting running one test.
Activity
AA-Turner commentedon Sep 21, 2025
cc @vstinner
pythongh-139208: Fix regrtest --fast-ci --verbose
pythongh-139208: Fix regrtest --fast-ci --verbose
vstinner commentedon Sep 22, 2025
I wrote #139240 to fix this behavior.
gh-139208: Fix regrtest --fast-ci --verbose (#139240)
pythongh-139208: Fix regrtest --fast-ci --verbose (pythonGH-139240)
pythongh-139208: Fix regrtest --fast-ci --verbose (pythonGH-139240)
vstinner commentedon Sep 23, 2025
Fixed. Thanks for your bug report.
[3.13] gh-139208: Fix regrtest --fast-ci --verbose (GH-139240) (#139261)
[3.14] gh-139208: Fix regrtest --fast-ci --verbose (GH-139240) (#139260)
hugovk commentedon Oct 8, 2025
Backports merged to all bugfix branches.