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

[BUG]: RIO1 No space left on device error #159

Open
gerth2 opened this issue Mar 12, 2025 · 1 comment
Open

[BUG]: RIO1 No space left on device error #159

gerth2 opened this issue Mar 12, 2025 · 1 comment

Comments

@gerth2
Copy link

gerth2 commented Mar 12, 2025

Problem description

A freshly imaged roboRIO 1.0 with 2025_v2.0 fails to deploy code.

A max reproducible example: https://github.com/RobotCasserole1736/RobotCasserole2025/tree/b239e696abe24fddd83049de2ab9fa714f1030fd

The reported issue is being out of disk space while doing pip install of all modules on the roboRIO, but adding up the reported sizes of all modules is only ~20% of the reported available disk space - there should be plenty of margin.

Log of deploy:

17:56:47:801 INFO    : paramiko.transport  : Connected (version 2.0, client OpenSSH_8.3)
17:56:47:942 INFO    : paramiko.transport  : Auth banner: b'NI Linux Real-Time (run mode)\n\nLog in with your NI-Auth credentials.\n\n'
17:56:47:943 INFO    : paramiko.transport  : Authentication (password) successful!
17:56:48:033 INFO    : robotpy.installer   : -> RoboRIO image version: 2025_v2.0
17:56:48:117 INFO    : robotpy.installer   : -> RoboRIO disk usage 171.5M/386.3M (45% full)
17:56:48:203 INFO    : robotpy.installer   : -> RoboRIO memory 86.9M/250.2M (65% full)
17:56:48:218 INFO    : deploy              : Clearing existing packages on RoboRIO before install (specify --no-uninstall to not do this)
17:56:48:219 INFO    : deploy              : Installing project requirements on RoboRIO:
17:56:48:219 INFO    : deploy              : - robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0
17:56:48:219 INFO    : deploy              : - photonlibpy==2025.1.1
17:56:48:219 INFO    : deploy              : - debugpy==1.8.11
17:56:48:219 INFO    : deploy              : - sleipnirgroup-choreolib==2025.0.1
17:56:48:219 INFO    : deploy              : - robotpy-playingwithfusion==2025.0.0
17:56:48:383 INFO    : paramiko.transport.sftp: [chan 4] Opened sftp connection (server version 3)
17:56:48:394 INFO    : paramiko.transport.sftp: [chan 4] sftp session closed.
WARNING: Disabling truststore since ssl support is missing
Looking in links: http://localhost:46129/pip_cache/
Collecting robotpy==2025.2.1.0 (from robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy-2025.2.1.0-py3-none-any.whl (2.2 kB)
Collecting photonlibpy==2025.1.1
  Downloading http://localhost:46129/pip_cache/photonlibpy-2025.1.1-py3-none-any.whl (54 kB)
Collecting debugpy==1.8.11
  Downloading http://localhost:46129/pip_cache/debugpy-1.8.11-py2.py3-none-any.whl (5.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.2/5.2 MB 3.4 MB/s eta 0:00:00
Collecting sleipnirgroup-choreolib==2025.0.1
  Downloading http://localhost:46129/pip_cache/sleipnirgroup_choreolib-2025.0.1-py3-none-any.whl (9.4 kB)
Collecting robotpy-playingwithfusion==2025.0.0
  Downloading http://localhost:46129/pip_cache/robotpy_playingwithfusion-2025.0.0-cp313-cp313-linux_roborio.whl (868 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 868.2/868.2 kB 2.0 MB/s eta 0:00:00
Collecting robotpy-wpiutil==2025.2.1 (from robotpy==2025.2.1.0->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy_wpiutil-2025.2.1-cp313-cp313-linux_roborio.whl (3.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 2.1 MB/s eta 0:00:00
Collecting robotpy-wpinet==2025.2.1 (from robotpy==2025.2.1.0->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy_wpinet-2025.2.1-cp313-cp313-linux_roborio.whl (708 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 708.2/708.2 kB 3.7 MB/s eta 0:00:00
Collecting robotpy-wpimath==2025.2.1 (from robotpy==2025.2.1.0->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy_wpimath-2025.2.1-cp313-cp313-linux_roborio.whl (6.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 3.1 MB/s eta 0:00:00
Collecting pyntcore==2025.2.1 (from robotpy==2025.2.1.0->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/pyntcore-2025.2.1-cp313-cp313-linux_roborio.whl (1.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 3.1 MB/s eta 0:00:00
Collecting robotpy-hal==2025.2.1 (from robotpy==2025.2.1.0->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy_hal-2025.2.1-cp313-cp313-linux_roborio.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 3.3 MB/s eta 0:00:00
Collecting wpilib==2025.2.1 (from robotpy==2025.2.1.0->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/wpilib-2025.2.1-cp313-cp313-linux_roborio.whl (4.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 3.0 MB/s eta 0:00:00
Collecting robotpy-wpilib-utilities<2026.0.0,>=2025.0.0 (from robotpy==2025.2.1.0->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy_wpilib_utilities-2025.0.0-py3-none-any.whl (48 kB)
Collecting robotpy-cli<2026.0.0,>=2024.0.0 (from robotpy==2025.2.1.0->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy_cli-2024.0.0-py3-none-any.whl (8.9 kB)
Collecting numpy~=2.1 (from photonlibpy==2025.1.1)
  Downloading http://localhost:46129/pip_cache/numpy-2.2.1-cp313-cp313-linux_roborio.whl (6.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 3.5 MB/s eta 0:00:00
Collecting robotpy-apriltag<2026,>=2025.2.1 (from photonlibpy==2025.1.1)
  Downloading http://localhost:46129/pip_cache/robotpy_apriltag-2025.2.1.2-cp313-cp313-linux_roborio.whl (514 kB)
Collecting robotpy-cscore<2026,>=2025.2.1 (from photonlibpy==2025.1.1)
  Downloading http://localhost:46129/pip_cache/robotpy_cscore-2025.2.1.2-cp313-cp313-linux_roborio.whl (8.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.4/8.4 MB 3.7 MB/s eta 0:00:00
Collecting robotpy-apriltag<2026,>=2025.2.1 (from photonlibpy==2025.1.1)
  Downloading http://localhost:46129/pip_cache/robotpy_apriltag-2025.2.1-cp313-cp313-linux_roborio.whl (514 kB)
Collecting numpy~=2.1 (from photonlibpy==2025.1.1)
  Downloading http://localhost:46129/pip_cache/numpy-2.1.3-cp313-cp313-linux_roborio.whl (6.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 2.0 MB/s eta 0:00:00
Collecting robotpy-cscore<2026,>=2025.2.1 (from photonlibpy==2025.1.1)
  Downloading http://localhost:46129/pip_cache/robotpy_cscore-2025.2.1-cp313-cp313-linux_roborio.whl (8.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.4/8.4 MB 3.6 MB/s eta 0:00:00
Collecting robotpy-opencv (from robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy_opencv-4.8.0%2Br2-py3-none-linux_roborio.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 4.2 MB/s eta 0:00:00
Collecting phoenix6~=25.1.0 (from robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/phoenix6-25.1.0-cp310-abi3-linux_roborio.whl (1.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 3.4 MB/s eta 0:00:00
Collecting robotpy-rev<2026.0.0,>=2025.0.0 (from robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy_rev-2025.0.2-cp313-cp313-linux_roborio.whl (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 3.9 MB/s eta 0:00:00
Collecting robotpy-openblas (from numpy~=2.1->photonlibpy==2025.1.1)
  Downloading http://localhost:46129/pip_cache/robotpy_openblas-0.3.28%2Br1-py3-none-linux_roborio.whl (4.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 3.6 MB/s eta 0:00:00
Collecting setuptools (from phoenix6~=25.1.0->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/setuptools-75.8.0-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 4.3 MB/s eta 0:00:00
Collecting robotpy-opencv-core==4.8.0+r2 (from robotpy-opencv->robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0)
  Downloading http://localhost:46129/pip_cache/robotpy_opencv_core-4.8.0%2Br2-py3-none-linux_roborio.whl (9.7 MB)
ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

     ━━━━━━━━╸                                2.1/9.7 MB 2.5 MB/s eta 0:00:04
ERROR: installing packages: Command '/home/admin/rpip --no-cache-dir --disable-pip-version-check install --no-index --root-user-action=ignore --find-links http://localhost:46129/pip_cache/ --upgrade --upgrade-strategy=eager 'robotpy[apriltag,cscore,phoenix6,rev]==2025.2.1.0' photonlibpy==2025.1.1 debugpy==1.8.11 sleipnirgroup-choreolib==2025.0.1 robotpy-playingwithfusion==2025.0.0' returned non-zero error status 1

If 'no matching distribution found', run 'python -m robotpy sync' to download your
project requirements from the internet (or --no-install to ignore).

Operating System

Windows, RoboRIO

Installed Python Packages

N/A - during initial deploy.

Reproducible example code

See description for repo link
@PeterJohnson PeterJohnson changed the title [BUG]: RIO1 OOM Error [BUG]: RIO1 No space left on device error Mar 12, 2025
@TheTripleV
Copy link
Member

Iirc whls are zips. Maybe there isn't enough space for the whl and the extracted contents to be on disk at the same time?

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

No branches or pull requests

2 participants