gh-137242: Add a --no-randomize option, and use it in Android CI#138649
gh-137242: Add a --no-randomize option, and use it in Android CI#138649freakboy3742 merged 4 commits into
Conversation
mhsmith
left a comment
There was a problem hiding this comment.
OK, this way is fine too.
Sorry, something went wrong.
|
!buildbot Android |
Sorry, something went wrong.
|
🤖 New build scheduled with the buildbot fleet by @vstinner for commit 754a8c4 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F138649%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Sorry, something went wrong.
freakboy3742
left a comment
There was a problem hiding this comment.
👍 Makes sense to me!
Sorry, something went wrong.
01895d2
into
python:main
Sep 8, 2025
|
Thanks @vstinner for the PR, and @freakboy3742 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, something went wrong.
pythonGH-138649) Adds a --no-randomize option to the CI runner, so that randomisation can be easily disabled for --fast-ci and --slow-ci configurations on single-threaded testing platforms like Android, iOS, and Emscripten. --------- (cherry picked from commit 01895d2) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Malcolm Smith <smith@chaquo.com>
|
Sorry, @vstinner and @freakboy3742, I could not cleanly backport this to |
Sorry, something went wrong.
…droid CI (pythonGH-138649) Adds a --no-randomize option to the CI runner, so that randomisation can be easily disabled for --fast-ci and --slow-ci configurations on single-threaded testing platforms like Android, iOS, and Emscripten. --------- (cherry picked from commit 01895d2) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Malcolm Smith <smith@chaquo.com>
…CI (GH-138649) (#138685) Adds a --no-randomize option to the CI runner, so that randomisation can be easily disabled for --fast-ci and --slow-ci configurations on single-threaded testing platforms like Android, iOS, and Emscripten. --------- (cherry picked from commit 01895d2) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Malcolm Smith <smith@chaquo.com>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot aarch64 Android 3.13 (tier-3) has failed when building commit 85649b7. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1590/builds/972 Summary of the results of the build (if available): Click to see traceback logsremote: Enumerating objects: 9, done.
remote: Counting objects: 20% (1/5)
remote: Counting objects: 40% (2/5)
remote: Counting objects: 60% (3/5)
remote: Counting objects: 80% (4/5)
remote: Counting objects: 100% (5/5)
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 20% (1/5)
remote: Compressing objects: 40% (2/5)
remote: Compressing objects: 60% (3/5)
remote: Compressing objects: 80% (4/5)
remote: Compressing objects: 100% (5/5)
remote: Compressing objects: 100% (5/5), done.
remote: Total 9 (delta 0), reused 0 (delta 0), pack-reused 4 (from 1)
From https://github.com/python/cpython
* branch 3.13 -> FETCH_HEAD
Note: switching to '85649b769f0db4992c061c8d17155c07553dda46'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 85649b769f0 [3.13] gh-137242: Add a --no-randomize option, and use it in Android CI (GH-138649) (#138685)
Switched to and reset branch '3.13'
configure: WARNING: no system libmpdec found; falling back to bundled libmpdec (deprecated and scheduled for removal in Python 3.16)
configure: WARNING: pkg-config is missing. Some dependencies may not be detected correctly.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 192k 100 192k 0 0 2196k 0 --:--:-- --:--:-- --:--:-- 2196k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 42455 100 42455 0 0 468k 0 --:--:-- --:--:-- --:--:-- 468k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 5041k 100 5041k 0 0 26.0M 0 --:--:-- --:--:-- --:--:-- 26.0M
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1257k 100 1257k 0 0 10.6M 0 --:--:-- --:--:-- --:--:-- 10.6M
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 635k 100 635k 0 0 4814k 0 --:--:-- --:--:-- --:--:-- 4814k
../../configure: line 4013: pkg-config: command not found
configure: WARNING: no system libmpdec found; falling back to bundled libmpdec (deprecated and scheduled for removal in Python 3.16)
configure: WARNING: pkg-config is missing. Some dependencies may not be detected correctly.
../../Python/fileutils.c:455:1: warning: unused function 'decode_current_locale' [-Wunused-function]
455 | decode_current_locale(const char* arg, wchar_t **wstr, size_t *wlen,
| ^~~~~~~~~~~~~~~~~~~~~
../../Python/fileutils.c:674:1: warning: unused function 'encode_current_locale' [-Wunused-function]
674 | encode_current_locale(const wchar_t *text, char **str,
| ^~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
../../Modules/_testexternalinspection.c:538:5: warning: code will never be executed [-Wunreachable-code]
538 | int pid;
| ^~~~~~~~
1 warning generated.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 8784 100 8784 0 0 242k 0 --:--:-- --:--:-- --:--:-- 245k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2894 100 2894 0 0 73375 0 --:--:-- --:--:-- --:--:-- 74205
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 43504 100 43504 0 0 1133k 0 --:--:-- --:--:-- --:--:-- 1148k |
Sorry, something went wrong.
|
@freakboy3742: I'm not sure what's going on, aarch64 Android 3.13 buildbot failed with:
|
Sorry, something went wrong.
|
This happened before in #137186 (comment), but I wasn't sure of the cause. I'll look into it. |
Sorry, something went wrong.
|
@freakboy3742: Like the last time this problem occurred, the buildbot server had about 12 GB of free space. The biggest offender was /Users/buildbot/Library/Logs/CoreSimulator: I deleted CoreSimulator.prev.log (30 GB), but I didn't restart the Android worker as I did last time, so this should be a better test of whether disk space is indeed the cause. |
Sorry, something went wrong.
Sounds like a cron job to rotate/clean up those logs (or better still, direct them to the build directory) might be called for. I'll investigate what can be done. |
Sorry, something went wrong.
For future reference: this apparently did resolve the problem. It's plausible that problems could start happening with 12 GB still available, because the iOS tests use a large amount of temporary space while running. But I still don't know why it would lead to this "unknown file type" error. |
Sorry, something went wrong.
--no-randomizeoption, and use it in Android CI #138303