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 >
2024-05-17 11:01:44 -07:00
Justin Newberry
1c201295c7
test_navd: parameterize random test ( #31376 )
...
* parameterized
* import
* dumb
2024-02-08 11:41:56 -08:00
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 >
2024-02-07 20:52:21 -08:00
Adeeb Shihadeh
7f35d0a909
disable TestManager.test_clean_exit for now
2024-01-24 11:53:03 -08:00
Adeeb Shihadeh
7cd9568423
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
2024-01-19 14:05:03 -08:00
Adeeb Shihadeh
f3689ef561
remove old ref to manager_prepare
2024-01-19 10:44:46 -08:00
Adeeb Shihadeh
99d51bf02c
Revert "Simplify passive mode handling ( #30593 )"
2023-12-04 15:05:05 -08:00
Adeeb Shihadeh
5ccff25d88
Simplify passive mode handling ( #30593 )
...
* simplify passive handling
* makes more sense
2023-12-03 13:59:59 -08:00
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
2023-11-07 17:35:44 -08:00
Adeeb Shihadeh
af86e30566
remove mapsd exit code exception ( #30398 )
2023-11-06 21:26:52 -08:00
Shane Smiskol
84b897cf44
manager: test process exclusion ( #29586 )
...
* add test
* add comment
* Update selfdrive/manager/test/test_manager.py
* more accurate
2023-08-24 00:34:36 -07:00
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 db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh
571bf47b0a
mapsd exit needs some work
2023-07-24 20:22:14 -07:00
Adeeb Shihadeh
2aa3000371
test_manager: skip mapsd check for now
2023-07-18 19:15:47 -07:00
Adeeb Shihadeh
100fe10c7c
jenkins: tmp disable sim test due to ZMQ bug ( #27043 )
2023-01-22 15:08:36 -08:00
Comma Device
4293705648
test manager: use ensure_running to start relevant procs
2023-01-22 16:28:20 -06:00
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 >
2022-11-11 21:50:09 -08:00
Adeeb Shihadeh
e8c8bd902d
updated: prevent blocking on git ( #25788 )
...
* updated: prevent blocking on git
* remove that
2022-09-14 18:02:06 -07:00
Adeeb Shihadeh
2cff05be43
UI: exit gracefully ( #25388 )
...
* UI: exit gracefully
* cleanup
Co-authored-by: Comma Device <device@comma.ai >
2022-08-07 18:41:54 -07:00
Adeeb Shihadeh
39da6912ea
misc jenkins fixups ( #24840 )
...
* bump cereal
* remove that
* pull cl image
* lil docker cleanup
2022-06-12 18:00:00 -07:00
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
2022-06-11 16:38:24 -07:00
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 >
2022-06-02 15:20:51 +02:00
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
2022-05-30 15:15:51 +02:00
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
2022-04-18 17:55:23 -07:00
Adeeb Shihadeh
7e66a944b2
fix startup test
2021-12-06 14:40:42 -08:00
Adeeb Shihadeh
e13630dfee
faster jenkins ( #22973 )
...
Co-authored-by: Comma Device <device@comma.ai >
2021-11-18 23:43:09 -08:00
Willem Melching
1289ebe9bd
make soundd exit cleanly ( #22794 )
2021-11-04 15:50:48 +01:00
Willem Melching
802efe0e22
soundd doesnt exit cleanly
2021-11-04 15:05:16 +01:00
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 >
2021-10-26 23:50:05 -07:00
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
2021-07-02 16:29:57 -07:00
Adeeb Shihadeh
90271c245d
manager test: check procs are alive ( #20632 )
...
Co-authored-by: Comma Device <device@comma.ai >
2021-04-08 23:46:20 -07:00
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
2021-03-24 14:44:39 +01:00
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 >
2021-03-05 11:03:23 +01:00