Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing under a squashfuse_ll read-only mount #12300

Closed
hotpxl opened this issue May 9, 2024 · 0 comments · Fixed by #12301
Closed

Crashing under a squashfuse_ll read-only mount #12300

hotpxl opened this issue May 9, 2024 · 0 comments · Fixed by #12301

Comments

@hotpxl
Copy link
Contributor

hotpxl commented May 9, 2024

a detailed description of the bug or problem you are having

pytest is crashing with OSError: [Errno 38] Function not implemented when it's run under a squashfuse_ll mountpoint. the exception comes from within

_pytest/assertion/rewrite.py:1102: in try_makedirs
    os.makedirs(cache_dir, exist_ok=True)

this is because squashfuse_ll returns ENOSYS instead of EROFS for a read-only filesystem, which pytest doesn't know how to handle

pytest and operating system versions

d49f1fc (main as of Wed May 8 10:13:30 2024 -0300)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant