Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix disk space issues in Android CI#142289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugovk merged 1 commit intopython:mainfrommhsmith:android-disk-space
Dec 5, 2025

Conversation

@mhsmith
Copy link
Member

@mhsmithmhsmith commentedDec 5, 2025
edited
Loading

For details, seefreakboy3742/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.

@mhsmithmhsmith added skip issue skip news needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsDec 5, 2025
@mhsmithmhsmith marked this pull request as ready for reviewDecember 5, 2025 13:02
@hugovkhugovkenabled auto-merge (squash)December 5, 2025 13:07
@hugovkhugovk merged commitcac4b04 intopython:mainDec 5, 2025
58 checks passed
@miss-islington-app
Copy link

Thanks@mhsmith for the PR, and@hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestDec 5, 2025
(cherry picked from commitcac4b04)Co-authored-by: Malcolm Smith <smith@chaquo.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestDec 5, 2025
(cherry picked from commitcac4b04)Co-authored-by: Malcolm Smith <smith@chaquo.com>
@bedevere-app
Copy link

GH-142292 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelDec 5, 2025
@bedevere-app
Copy link

GH-142293 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelDec 5, 2025
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotaarch64 Android 3.x (tier-3) has failed when building commitcac4b04.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. 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.
  4. Check if the failure is related to this commit (cac4b04) or if it is a false positive.
  5. 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_HEADNote:switching to 'cac4b04973ea4cee80b775782453cddcd694635d'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.If you want to create a new branch to retain commits you create, you maydo 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 falseHEAD 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 moduleconfigure: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 --:--:-- --:--:-- --:--:--     0100  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 --:--:-- --:--:-- --:--:--     0100 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 --:--:-- --:--:-- --:--:--     0100 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 --:--:-- --:--:-- --:--:--     0100 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 --:--:-- --:--:-- --:--:--     0100  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 --:--:-- --:--:-- --:--:--     0100  479k  100  479k    0     0  4036k      0 --:--:-- --:--:-- --:--:-- 4036k../../configure:line 4079: pkg-config: command not foundconfigure:WARNING: no system libmpdec found; falling back to pure-Python version for the decimal moduleconfigure: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 --:--:-- --:--:-- --:--:--     0100  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 --:--:-- --:--:-- --:--:--     0100  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 --:--:-- --:--:-- --:--:--     0100 43504  100 43504    0     0  1254k      0 --:--:-- --:--:-- --:--:-- 1287krror: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", line520,in wait_for|returnawait fut|^^^^^^^^^|   File"/Users/android/buildarea/3.x.mhsmith-android-aarch64/build/Android/android.py", line496,in find_pid|await asyncio.sleep(0.2)|   File"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/tasks.py", line665,in sleep|returnawait 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", line505,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", line519,in wait_for|asyncwith timeouts.timeout(timeout):|   File"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/timeouts.py", line115,in__aexit__|raiseTimeoutErrorfrom exc_val|TimeoutError+------------------------------------

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 Android 3.x (tier-3) has failed when building commitcac4b04.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. 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.
  4. Check if the failure is related to this commit (cac4b04) or if it is a false positive.
  5. 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", line798, intest_ftp_error    urlopen("ftp://www.pythontest.net/")~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line487, inopen    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", line1529, inftp_open    host= socket.gethostbyname(host)socket.gaierror:[Errno 7] No address associated with hostnameTraceback (most recent call last):  File"/data/user/0/org.python.testbed/files/python/lib/python3.15/test/test_urllib2.py", line798, intest_ftp_error    urlopen("ftp://www.pythontest.net/")~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line504, 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", line464, in_call_chain    result= func(*args)  File"/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line1531, inftp_openraise 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", line800, intest_ftp_errorself.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", line107, intest_getcodeself.assertEqual(e.exception.code,404)^^^^^^^^^^^^^^^^AttributeError:'URLError' object has no attribute 'code'

Yhg1s pushed a commit that referenced this pull requestDec 5, 2025
Fix disk space issues in Android CI (GH-142289)(cherry picked from commitcac4b04)Co-authored-by: Malcolm Smith <smith@chaquo.com>
hugovk pushed a commit that referenced this pull requestDec 5, 2025
Co-authored-by: Malcolm Smith <smith@chaquo.com>
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 Android 3.x (tier-3) has failed when building commitcac4b04.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. 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.
  4. Check if the failure is related to this commit (cac4b04) or if it is a false positive.
  5. 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", line798, intest_ftp_error    urlopen("ftp://www.pythontest.net/")~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line504, 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", line464, in_call_chain    result= func(*args)  File"/data/user/0/org.python.testbed/files/python/lib/python3.15/urllib/request.py", line1531, inftp_openraise 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", line800, intest_ftp_errorself.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", line1529, inftp_open    host= socket.gethostbyname(host)socket.gaierror:[Errno 7] No address associated with hostnameTraceback (most recent call last):  File"/data/user/0/org.python.testbed/files/python/lib/python3.15/test/test_urllibnet.py", line107, intest_getcodeself.assertEqual(e.exception.code,404)^^^^^^^^^^^^^^^^AttributeError:'URLError' object has no attribute 'code'

@Ascalad
Copy link

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.

@mhsmith
Copy link
MemberAuthor

This page is about Python's internal testing system, it doesn't have anything to do with what's happening on your own device.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@hugovkhugovkhugovk approved these changes

@freakboy3742freakboy3742Awaiting requested review from freakboy3742freakboy3742 is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@mhsmith@bedevere-bot@Ascalad@hugovk

[8]ページ先頭

©2009-2026 Movatter.jp