replay: /tmp partition too small
- Dominant language
- Python
- Stars
- 63.7k
- Forks
- 11.4k
- Avg merge
- 17h 53m
- Merged PRs (30d)
- 171
Description
### Describe the bug
On the comma device run:
```./tools/replay/replay --demo```
```
Seeking to 0 s, segment 0 │
│Loading video from local file: /tmp/comma_download_cache/525c0033723f6d92cfaf12206ab0090c2d8cd9d9cff5c28643b1fcc6cec4b81d │
│Hardware configuration not found │
│No device with hardware decoder found. fallback to CPU decoding. │
│merging segments: 0 │
│camera[0] frame size 1928x1208 │
│Loading video from local file: /tmp/comma_download_cache/855d1cc01b0c2914a7edcabffc50aef97de979e14208d5b08c715367d2e06cc8 │
│merging segments: 0, 1 │
│Loading video from local file: /tmp/comma_download_cache/705f2e46cd0d24310eb9c18bf5a22c2d0c2c8f35b7c25ad527104965fedc815c │
│Failed to open input file or find video stream
```
you can see the first file is fully downloaded, then the second file is truncated and the third is 0.
```
comma@comma-fa9d355d:/data/openpilot$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
tmpfs 150M 150M 0 100% /tmp
comma@comma-fa9d355d:/data/openpilot$ ls -l /tmp/comma_download_cache/525c0033723f6d92cfaf12206ab0090c2d8cd9d9cff5c28643b1fcc6cec4b81d
-rw-rw-r-- 1 comma comma 74988929 Jun 19 22:23 /tmp/comma_download_cache/525c0033723f6d92cfaf12206ab0090c2d8cd9d9cff5c28643b1fcc6cec4b81d
comma@comma-fa9d355d:/data/openpilot$ ls -l /tmp/comma_download_cache/855d1cc01b0c2914a7edcabffc50aef97de979e14208d5b08c715367d2e06cc8
-rw-rw-r-- 1 comma comma 52686848 Jun 19 22:24 /tmp/comma_download_cache/855d1cc01b0c2914a7edcabffc50aef97de979e14208d5b08c715367d2e06cc8
comma@comma-fa9d355d:/data/openpilot$ ls -l /tmp/comma_download_cache/705f2e46cd0d24310eb9c18bf5a22c2d0c2c8f35b7c25ad527104965fedc815c
-rw-rw-r-- 1 comma comma 0 Jun 19 22:24 /tmp/comma_download_cache/705f2e46cd0d24310eb9c18bf5a22c2d0c2c8f35b7c25ad527104965fedc815c
```
yes i can run `export COMMA_CACHE=/data/cache && export FILEREADER_CACHE=1` to fix it but thought i should mention it because it was not obvious what was wrong.
Contributor guide
Assessment
This issue has not been assessed yet.