commaai / commaai/openpilot

Make test_onroad stressful

Open
#34,295 2 comments 0 reactions 0 assignees View on GitHub
CI / testing enhancement
Dominant language
Python
Stars
63.7k
Forks
11.4k
Avg merge
17h 53m
Merged PRs (30d)
171

Description

Now that test_onroad is reliable, it's time to add some things to really stress the system:
* lots of disk load: openpilot shouldn't rely on a responsive disk. catches things like reading params in a real-time loop
* change the system time: catch things like https://github.com/tinygrad/tinygrad/commit/cda34ccadf07181422dfb9ff38470d1454cfff1e

Contributor guide

Open the contributing guide

Research direction

Start by locating the reliable test_onroad entry point and reviewing how it currently exercises the system. Define stress scenarios for heavy disk load and system-time changes, then verify that test_onroad remains reliable and catches failures such as reading parameters in a real-time loop or depending on wall-clock time.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.