FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-81793: Skip tests for os.link(follow_links=) on Android by serhiy-storchaka · Pull Request #133386 · python/cpython · GitHub

/ cpython Public

gh-81793: Skip tests for os.link(follow_links=) on Android - #133386

Closed
serhiy-storchaka wants to merge 2 commits into
python:mainfrom
serhiy-storchaka:test-link-follow_symlinks
Closed

gh-81793: Skip tests for os.link(follow_links=) on Android#133386
serhiy-storchaka wants to merge 2 commits into
python:mainfrom
serhiy-storchaka:test-link-follow_symlinks

Conversation

serhiy-storchaka commented May 4, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member Author

Example of failure: https://buildbot.python.org/#/builders/1594/builds/2228/steps/8/logs/stdio

======================================================================
ERROR: test_link_follow_symlinks (test.test_posix.PosixTester.test_link_follow_symlinks) [no follow_symlinks]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/user/0/org.python.testbed/files/python/lib/python3.14/test/test_posix.py", line 1537, in test_link_follow_symlinks
    posix.link(symlink, link)
    ~~~~~~~~~~^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '@test_1785_tmpæsymlink' -> '@test_1785_tmpælink'
======================================================================
ERROR: test_link_follow_symlinks (test.test_posix.PosixTester.test_link_follow_symlinks) [follow_symlinks=False]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/user/0/org.python.testbed/files/python/lib/python3.14/test/test_posix.py", line 1548, in test_link_follow_symlinks
    posix.link(symlink, link, follow_symlinks=False)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '@test_1785_tmpæsymlink' -> '@test_1785_tmpælink_nofollow'
======================================================================
ERROR: test_link_follow_symlinks (test.test_posix.PosixTester.test_link_follow_symlinks) [follow_symlinks=True]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/user/0/org.python.testbed/files/python/lib/python3.14/test/test_posix.py", line 1560, in test_link_follow_symlinks
    posix.link(symlink, link, follow_symlinks=True)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '@test_1785_tmpæsymlink' -> '@test_1785_tmpælink_following'
----------------------------------------------------------------------

Oh, it also fails without follow_symlinks.

Copy link
Copy Markdown
Member Author

!buildbot Android

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 312e193 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F133386%2Fmerge

The command will test the builders whose names match following regular expression: Android

The builders matched are:

  • AMD64 Android PR
  • aarch64 Android PR

serhiy-storchaka deleted the test-link-follow_symlinks branch May 4, 2025 18:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL