Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
11 months ago
Adeeb Shihadeh
accdade4cf
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
11 months ago
cl0cks4fe
dd9d5d4528
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
11 months ago
Justin Newberry
1c201295c7
test_navd: parameterize random test ( #31376 )
...
* parameterized
* import
* dumb
1 year ago
Justin Newberry
c79d1e0192
test_manager: ensure test independence ( #31364 )
...
* ensure independent
* still run 10- times
* need index
---------
Co-authored-by: Comma Device <device@comma.ai>
1 year ago
Adeeb Shihadeh
7f35d0a909
disable TestManager.test_clean_exit for now
1 year ago
Adeeb Shihadeh
7cd9568423
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
1 year ago
Adeeb Shihadeh
f3689ef561
remove old ref to manager_prepare
1 year ago
Adeeb Shihadeh
99d51bf02c
Revert "Simplify passive mode handling ( #30593 )"
1 year ago
Adeeb Shihadeh
5ccff25d88
Simplify passive mode handling ( #30593 )
...
* simplify passive handling
* makes more sense
1 year ago
Justin Newberry
aec7cea30d
Pytest: tici mark for skipping on-device tests ( #30412 )
...
* mark tici
* not those ones
* missed that one
* add those
* add pypoetry
* oops
1 year ago
Adeeb Shihadeh
af86e30566
remove mapsd exit code exception ( #30398 )
1 year ago
Shane Smiskol
84b897cf44
manager: test process exclusion ( #29586 )
...
* add test
* add comment
* Update selfdrive/manager/test/test_manager.py
* more accurate
2 years ago
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
2 years ago
Adeeb Shihadeh
571bf47b0a
mapsd exit needs some work
2 years ago
Adeeb Shihadeh
2aa3000371
test_manager: skip mapsd check for now
2 years ago
Adeeb Shihadeh
100fe10c7c
jenkins: tmp disable sim test due to ZMQ bug ( #27043 )
2 years ago
Comma Device
4293705648
test manager: use ensure_running to start relevant procs
2 years ago
Kurt Nistelberger
5f094b8368
CI: regroup devices ( #26436 )
...
* regroup ci devices
* cleanup looopback test
* split loopback devices
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2 years ago
Adeeb Shihadeh
e8c8bd902d
updated: prevent blocking on git ( #25788 )
...
* updated: prevent blocking on git
* remove that
3 years ago
Adeeb Shihadeh
2cff05be43
UI: exit gracefully ( #25388 )
...
* UI: exit gracefully
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
39da6912ea
misc jenkins fixups ( #24840 )
...
* bump cereal
* remove that
* pull cl image
* lil docker cleanup
3 years ago
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
3 years ago
Willem Melching
f49a9c9fd2
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
3 years ago
Willem Melching
e72d6b5689
navd: rewrite in python ( #24621 )
...
* navd: start python rewrite
* use enum
* send empty instruction packet
* parse banner
* cleanup
* switch to coordinate class
* add segment transition logic
* add recompute logic
* cleanup old navd code
* split out helpers
* cleanup release files
* fix typo
* fix docs
* add typing to helpers
* small fixes
* move outside of ui
* get last pos from param
* add ui restart detection
* check running
* send route
* set navInstruction to invalid with no active route
* whitespace
* do not overwrite response and use ratekeeper
* reuse params object
* remove navd exception
3 years ago
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
3 years ago
Adeeb Shihadeh
7e66a944b2
fix startup test
3 years ago
Adeeb Shihadeh
e13630dfee
faster jenkins ( #22973 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
1289ebe9bd
make soundd exit cleanly ( #22794 )
4 years ago
Willem Melching
802efe0e22
soundd doesnt exit cleanly
4 years ago
Adeeb Shihadeh
7feae28705
run onroad tests on release build ( #22700 )
...
* check startup aelrt
* release decorator
* run in jenkins
* run onroad tests
* no push
* fix release2 build
* fix path
* no overwrite
* single release build script
* make files_eon non empty
* files
* run in source
* add that for now
* print
* ignore initialzing
* print
* fetch
* run tests last
* check alert text
* revert some stuff
* fixup jenkinsfile
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
0bfd994f73
fast jenkins ( #21472 )
...
* speed up setup
* speedup onroad test
* .git doesn't like inplace
* tici2
* no inplace
* revert
* fix
* that one too
4 years ago
Adeeb Shihadeh
90271c245d
manager test: check procs are alive ( #20632 )
...
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
0e338d2b91
use scons to build panda fw ( #20457 )
...
* use scons to build panda fw
* add arm gcc to dockerfile
* install gcc on macOS
* pandad shutdown test is flaky and broken due to faster startup
* bump panda
4 years ago
Willem Melching
5a3b511306
Manager cleanup ( #20231 )
...
* move manager in folder
* inital refactor
* call start
* small cleanup
* add comments
* use self.signal()
* order shouldnt matter
* newlines
* add helpers
* newlines
* add process config
* split out build part of manager
* this should fix most tests
* no sensord on pc
* dont start athena
* remove comment
* fix old athena test
* fix inject model
* fix test car models
* should be not none
* fix helpers exitcode
* ignore manage_athenad
* Use time.monotonic()
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* combine init, remove spinner
* move manager test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
49d4d58201
logcatd bugfix + tests ( #19689 )
...
* hack to exit cleanly
* move the hack
* add test
* run in ci
* unused
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
ffa7e0cbdb
manager tests + make all processes exit cleanly ( #19595 )
...
* manager tests
* logcatd exits cleanly
* sigint
* boardd
* multiple dbus connections hangs for some reason
* clocksd proclogd
* network type from thermal
* fix tests
* fix android logcatd
* fix mac
* fix mac proclogd
* move on device athena tests
* build first
* build first
Co-authored-by: Comma Device <device@comma.ai>
4 years ago