Skip to content

Conversation

@hannahwestra25
Copy link
Contributor

@hannahwestra25 hannahwestra25 commented Nov 21, 2025

Description

Integration tests and linux pre-commit tests are flaky / failing with "no space left on device error"

ERROR: Could not install packages due to an OSError.
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 458, in run
    installed = install_given_reqs(
                ^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pip/_internal/req/__init__.py", line 84, in install_given_reqs
    requirement.install(
  File "/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pip/_internal/req/req_install.py", line 781, in install
    install_wheel(
  File "/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py", line 737, in install_wheel
    _install_wheel(
  File "/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py", line 595, in _install_wheel
    file.save()
  File "/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py", line 372, in save
    shutil.copyfileobj(f, dest, blocksize)
  File "/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/shutil.py", line 204, in copyfileobj
    fdst_write(buf)
OSError: [Errno 28] No space left on device

This change removes the pip cache whenever we pip install pyrit

Tests and Documentation

N/A

@hannahwestra25 hannahwestra25 changed the title [DRAFT] fix out of memory errors [FIX] fix out of memory errors Nov 21, 2025
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 this pull request may close these issues.

1 participant