GeezerVison is showing github.com — Fix disk space issues in Android CI by mhsmith · Pull Request #142289 · python/cpython
Conversation
mhsmith
commented
Dec 5, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
For details, see freakboy3742/pyspamsum#108. Of the ideas listed there, this PR includes the NDK version cleanup and the emulator image change. It doesn't include the idea to use the runner's second disk, as there's no guarantee that will continue to be available in the future.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks @mhsmith for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️
Hi! The buildbot aarch64 Android 3.x (tier-3) has failed when building commit cac4b04.
What do you need to do:
- Don't panic.
- Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
- Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1594/builds/3913) and take a look at the build logs.
- Check if the failure is related to this commit (cac4b04) or if it is a false positive.
- If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.
You can take a look at the buildbot page here:
https://buildbot.python.org/#/builders/1594/builds/3913
Summary of the results of the build (if available):
Click to see traceback logs
remote: Enumerating objects: 13, done.
remote: Counting objects: 7% (1/13)
remote: Counting objects: 15% (2/13)
remote: Counting objects: 23% (3/13)
remote: Counting objects: 30% (4/13)
remote: Counting objects: 38% (5/13)
remote: Counting objects: 46% (6/13)
remote: Counting objects: 53% (7/13)
remote: Counting objects: 61% (8/13)
remote: Counting objects: 69% (9/13)
remote: Counting objects: 76% (10/13)
remote: Counting objects: 84% (11/13)
remote: Counting objects: 92% (12/13)
remote: Counting objects: 100% (13/13)
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 25% (1/4)
remote: Compressing objects: 50% (2/4)
remote: Compressing objects: 75% (3/4)
remote: Compressing objects: 100% (4/4)
remote: Compressing objects: 100% (4/4), done.
remote: Total 7 (delta 4), reused 5 (delta 3), pack-reused 0 (from 0)
From https://github.com/python/cpython
* branch main -> FETCH_HEAD
Note: switching to 'cac4b04973ea4cee80b775782453cddcd694635d'.
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 cac4b04973e Fix disk space issues in Android CI (#142289)
Switched to and reset branch 'main'
configure: WARNING: no system libmpdec found; falling back to pure-Python version for the decimal module
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 1935k 0 --:--:-- --:--:-- --:--:-- 1935k
% 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 42455 100 42455 0 0 527k 0 --:--:-- --:--:-- --:--:-- 527k
% 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 5044k 100 5044k 0 0 38.2M 0 --:--:-- --:--:-- --:--:-- 38.2M
% 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 1257k 100 1257k 0 0 10.0M 0 --:--:-- --:--:-- --:--:-- 10.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 635k 100 635k 0 0 6178k 0 --:--:-- --:--:-- --:--:-- 6178k
% 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 479k 100 479k 0 0 4036k 0 --:--:-- --:--:-- --:--:-- 4036k
../../configure: line 4079: pkg-config: command not found
configure: WARNING: no system libmpdec found; falling back to pure-Python version for the decimal module
configure: WARNING: pkg-config is missing. Some dependencies may not be detected correctly.
../../Python/fileutils.c:458:1: warning: unused function 'decode_current_locale' [-Wunused-function]
458 | decode_current_locale(const char* arg, wchar_t **wstr, size_t *wlen,
| ^~~~~~~~~~~~~~~~~~~~~
../../Python/fileutils.c:677:1: warning: unused function 'encode_current_locale' [-Wunused-function]
677 | encode_current_locale(const wchar_t *text, char **str,
| ^~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
../../Modules/_localemodule.c:195:1: warning: unused function 'is_all_ascii' [-Wunused-function]
195 | is_all_ascii(const char *str)
| ^~~~~~~~~~~~
1 warning generated.
../../Modules/pwdmodule.c:69:16: warning: unused variable 'pwd_db_mutex' [-Wunused-variable]
69 | static PyMutex pwd_db_mutex = {0};
| ^~~~~~~~~~~~
1 warning generated.
../../Modules/_hacl/Lib_Memzero0.c:66:6: warning: "Your platform does not support any safe implementation of memzero -- consider a pull request!" [-W#warnings]
66 | #warning "Your platform does not support any safe implementation of memzero -- consider a pull request!"
| ^
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 195k 0 --:--:-- --:--:-- --:--:-- 199k
% 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 85045 0 --:--:-- --:--:-- --:--:-- 87696
% 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 1254k 0 --:--:-- --:--:-- --:--:-- 1287k
rror: closed
+ Exception Group Traceback (most recent call last):
| File "/Users/android/buildarea/3.x.mhsmith-android-aarch64/build/Android/android.py", line 931, in <module>
| main()
| File "/Users/android/buildarea/3.x.mhsmith-android-aarch64/build/Android/android.py", line 907, in main
| asyncio.run(result)
| File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 194, in run
| return runner.run(main)
| ^^^^^^^^^^^^^^^^
| File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 118, in run
| return self._loop.run_until_complete(task)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
| return future.result()
| ^^^^^^^^^^^^^^^
| File "/Users/android/buildarea/3.x.mhsmith-android-aarch64/build/Android/android.py", line 646, in run_testbed
| async with asyncio.TaskGroup() as tg:
| File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/taskgroups.py", line 145, in __aexit__
| raise me from None
| ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
| return await fut
| ^^^^^^^^^
| File "/Users/android/buildarea/3.x.mhsmith-android-aarch64/build/Android/android.py", line 496, in find_pid
| await asyncio.sleep(0.2)
| File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/tasks.py", line 665, in sleep
| return await future
| ^^^^^^^^^^^^
| asyncio.exceptions.CancelledError
|
| The above exception was the direct cause of the following exception:
|
| Traceback (most recent call last):
| File "/Users/android/buildarea/3.x.mhsmith-android-aarch64/build/Android/android.py", line 505, in logcat_task
| pid = await wait_for(find_pid(serial), startup_timeout)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
| async with timeouts.timeout(timeout):
| File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
| raise TimeoutError from exc_val
| TimeoutError
+------------------------------------
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️
Hi! The buildbot AMD64 Android 3.x (tier-3) has failed when building commit cac4b04.
What do you need to do:
- Don't panic.
- Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
- Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1591/builds/3486) and take a look at the build logs.
- Check if the failure is related to this commit (cac4b04) or if it is a false positive.
- If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.
You can take a look at the buildbot page here:
https://buildbot.python.org/#/builders/1591/builds/3486
Failed tests:
- test_urllib2
- test_urllibnet
Failed subtests:
- test_getcode - test.test_urllibnet.urlopenNetworkTests.test_getcode
- test_ftp_error - test.test_urllib2.HandlerTests.test_ftp_error
Summary of the results of the build (if available):
==
Click to see traceback logs
Traceback (most recent call last):
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/test/test_urllib2.py", line 798, in test_ftp_error
urlopen("ftp://www.pythontest.net/")
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 487, in open
response = self._open(req, data)
Traceback (most recent call last):
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 1529, in ftp_open
host = socket.gethostbyname(host)
socket.gaierror: [Errno 7] No address associated with hostname
Traceback (most recent call last):
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/test/test_urllib2.py", line 798, in test_ftp_error
urlopen("ftp://www.pythontest.net/")
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 487, in open
response = self._open(req, data)
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 504, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
'_open', req)
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 464, in _call_chain
result = func(*args)
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 1531, in ftp_open
raise URLError(msg)
urllib.error.URLError: <urlopen error [Errno 7] No address associated with hostname>
Traceback (most recent call last):
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/test/test_urllib2.py", line 800, in test_ftp_error
self.assertEqual(raised.reason,
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
f"ftp error: {exception.args[0]}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: gaierror(7, 'No address associated with hostname') != 'ftp error: 500 OOPS: cannot change directory:/nonexistent'
Traceback (most recent call last):
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/test/test_urllibnet.py", line 107, in test_getcode
self.assertEqual(e.exception.code, 404)
^^^^^^^^^^^^^^^^
AttributeError: 'URLError' object has no attribute 'code'
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️
Hi! The buildbot AMD64 Android 3.x (tier-3) has failed when building commit cac4b04.
What do you need to do:
- Don't panic.
- Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
- Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1591/builds/3487) and take a look at the build logs.
- Check if the failure is related to this commit (cac4b04) or if it is a false positive.
- If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.
You can take a look at the buildbot page here:
https://buildbot.python.org/#/builders/1591/builds/3487
Failed tests:
- test_urllib2
- test_urllibnet
Failed subtests:
- test_getcode - test.test_urllibnet.urlopenNetworkTests.test_getcode
- test_ftp_error - test.test_urllib2.HandlerTests.test_ftp_error
Summary of the results of the build (if available):
==
Click to see traceback logs
Traceback (most recent call last):
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/test/test_urllib2.py", line 798, in test_ftp_error
urlopen("ftp://www.pythontest.net/")
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 487, in open
response = self._open(req, data)
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 504, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
'_open', req)
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 464, in _call_chain
result = func(*args)
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 1531, in ftp_open
raise URLError(msg)
urllib.error.URLError: <urlopen error [Errno 7] No address associated with hostname>
Traceback (most recent call last):
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/test/test_urllib2.py", line 800, in test_ftp_error
self.assertEqual(raised.reason,
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
f"ftp error: {exception.args[0]}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: gaierror(7, 'No address associated with hostname') != 'ftp error: 500 OOPS: cannot change directory:/nonexistent'
Traceback (most recent call last):
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line 1529, in ftp_open
host = socket.gethostbyname(host)
socket.gaierror: [Errno 7] No address associated with hostname
Traceback (most recent call last):
File "/data/user/0/org.python.testbed/files/python/lib/python3.15/test/test_urllibnet.py", line 107, in test_getcode
self.assertEqual(e.exception.code, 404)
^^^^^^^^^^^^^^^^
AttributeError: 'URLError' object has no attribute 'code'
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Dec 7, 2025
|
On my Android device I have problems and I get a lot of errors when entering apps in navigations. Also the computer device is not working properly and extensions and desktop file are not opening. Pull request and merge repository closes these problems.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This page is about Python's internal testing system, it doesn't have anything to do with what's happening on your own device.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Failed tests:
- test_urllib2
- test_urllibnet
Failed subtests:
- test_getcode - test.test_urllibnet.urlopenNetworkTests.test_getcode
- test_ftp_error - test.test_urllib2.HandlerTests.test_ftp_error
See #142387 for discussion.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
hugovk
hugovk approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|