-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
test_models: fuzz test panda and CarState #30443
Merged
Merged
Changes from all commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
ab87a86
pre-hypothesis
sshane 2266386
some hypothesis junk
sshane 78a10de
this kinda works but is really slow due to counter check
sshane 3b52f1f
choose addrs from fingerprint
sshane dfe8d06
stash
sshane 25e4bc7
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane a81f85c
honda nidec brake pressed mismatches fixed
sshane 25d0fd0
bump panda
sshane 430d43b
stash
sshane aa3cfd5
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane 5faf816
tesla: use DI_torque2 (panda msg)
sshane 4eae58a
run
sshane eba6e59
run
sshane 012e7b9
ah this honda mismatch too
sshane 0d6c50f
no more multi can msgs
sshane 640a6e3
clean up, remove old file
sshane 86ffcd7
add todo
sshane f8fd185
prob can remove urandom
sshane 91f06c5
stash, huge examples
sshane e0534f7
fix pq standstill mismatch
sshane 6c235d1
yuge
sshane c7eeb77
yup there's a leak somewhere
sshane caa1f19
try to find leak
sshane d2c598a
skip dashcam (pq and tesla)
sshane 7d0317b
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane 0525041
PR comments
sshane 0f77532
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane 720d8a7
bump
sshane 41a33a1
draft stash
sshane e0ab1f5
fix alt brake hondas
sshane 13dd5c9
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane c5b1e2c
bump
sshane f1bd4e9
bump
sshane 9564eb1
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane e7cd55f
bump
sshane 9aaffda
some clean up
sshane ab61360
minor clean up
sshane f58b8c8
more clean up
sshane 8742aef
stash
sshane b11b32a
fix honda bug
sshane 226089d
more
sshane 32b8705
100 examples
sshane 0ccf8c2
revert tesla
sshane 27c053e
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane 04c7b81
no memory leak any more?
sshane 6a64684
bring back tests with skips
sshane 55de2c1
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane 26238ba
parameterize max_examples
sshane cbdcc05
skip interceptor
sshane fcd8b2b
is jenkins on my branch?
sshane be1d55e
ooh that's fast
sshane f549702
50 is not bad for GH CI
sshane 0968d2a
300 might be better with rest of test_models
sshane 79d24b5
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane 16b6035
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane 55cc0d7
no more detection
sshane 525655e
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane f66a69c
bump
sshane f613b7e
need CS_prev to catch bugs where openpilot changes and panda doesn't …
sshane 1b4aa92
need to simplify all this
sshane 43521a0
need a warm up first, since some signals are 1 by default (toyota's g…
sshane 5bd42fe
changes
sshane c81081f
set honda safety param
sshane 5e7d872
set toyota safety param
sshane 52b2296
bump panda
sshane aa47dc5
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane efaa89a
clean up honda
sshane 00e0b42
rm interceptor
sshane 1533013
thought interleaving addrs might help, but we can fine tune later
sshane af384e0
Revert "thought interleaving addrs might help, but we can fine tune l…
sshane 824c7ab
get size from dict
sshane 69304cd
what
sshane 61e3d21
add nocapture marker
sshane c764a2e
clean up
sshane f552952
try to raise logging level
sshane 26ef068
need to run last as pytest_runtest_call, since it starts capturing
sshane ce289bb
get capman conditionally
sshane 9e268e2
mark
sshane 19187a9
type fingerprint
sshane 5d91c60
should use gen_empty_fingerprint
sshane 6bfb3e6
no longer needed
sshane 6403f40
draft
sshane e859838
no longer need gc
sshane 886815d
clean that up
sshane 6d0238f
test everything!
sshane e835380
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane b916cf2
more clean up
sshane 1fb5d42
more
sshane 43a55b5
no point
sshane 5677d78
fix that
sshane ce18468
fix errors
sshane 1c1db22
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane 43ac48a
bump
sshane f4a3d58
nice even 300 examples for 300 segs
sshane 6ed0b91
final bump :fingers_crossed:
sshane 65df53b
better import order
sshane 71be169
remove debugging prints
sshane 7fc77b0
warm up kinda works
sshane 237be49
Revert "warm up kinda works"
sshane 0ff37cc
random seed
sshane 610a6cf
Merge remote-tracking branch 'upstream/master' into fuzzy-panda-carstate
sshane 66455ae
revert
sshane 1d04a6e
strat
sshane bd9db78
add expl comment
sshane 901f912
cmt
sshane e82a0e5
check controls allowed
sshane 4a31837
Revert "check controls allowed"
sshane e78d686
not unittests
sshane 0b87e59
run tests!
sshane 0328d95
run tests 2!
sshane eb316cf
run tests 3!
sshane ba5a54e
seed unused
sshane 7fb9752
revert
sshane 379c3f2
add shrink phase, and remove health check suppression
sshane ba20a99
hello
sshane 1e362b6
oncemore
sshane c6f687c
Update selfdrive/car/tests/test_models.py
sshane File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally we re-use the warm up code in
test_panda_safety_carstate
(or that whole function), but so far I haven't found a nice way to generate examples inside the function. Will do some more looking after this is merged