Commit Graph

23 Commits

Author SHA1 Message Date
Shane Smiskol
8326f9f90c manager: test process exclusion (#29586)
* add test

* add comment

* Update selfdrive/manager/test/test_manager.py

* more accurate
old-commit-hash: 84b897cf44
2023-08-24 00:34:36 -07:00
Adeeb Shihadeh
16ec56398c 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
old-commit-hash: a9626f95b6
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh
fcdc91aa35 mapsd exit needs some work
old-commit-hash: 571bf47b0a
2023-07-24 20:22:14 -07:00
Adeeb Shihadeh
d76b76c090 test_manager: skip mapsd check for now
old-commit-hash: 2aa3000371
2023-07-18 19:15:47 -07:00
Adeeb Shihadeh
276f026749 jenkins: tmp disable sim test due to ZMQ bug (#27043)
old-commit-hash: 100fe10c7c
2023-01-22 15:08:36 -08:00
Comma Device
487189dae5 test manager: use ensure_running to start relevant procs
old-commit-hash: 4293705648
2023-01-22 16:28:20 -06:00
Kurt Nistelberger
2efa3cecc1 CI: regroup devices (#26436)
* regroup ci devices

* cleanup looopback test

* split loopback devices

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 5f094b8368
2022-11-11 21:50:09 -08:00
Adeeb Shihadeh
8e7b9f68fc updated: prevent blocking on git (#25788)
* updated: prevent blocking on git

* remove that
old-commit-hash: e8c8bd902d
2022-09-14 18:02:06 -07:00
Adeeb Shihadeh
76a74b6830 UI: exit gracefully (#25388)
* UI: exit gracefully

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2cff05be43
2022-08-07 18:41:54 -07:00
Adeeb Shihadeh
5425336963 misc jenkins fixups (#24840)
* bump cereal

* remove that

* pull cl image

* lil docker cleanup
old-commit-hash: 39da6912ea
2022-06-12 18:00:00 -07:00
Adeeb Shihadeh
9a45a3b99b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
old-commit-hash: 1139fe507b
2022-06-11 16:38:24 -07:00
Willem Melching
753045c73d 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>
old-commit-hash: f49a9c9fd2
2022-06-02 15:20:51 +02:00
Willem Melching
2c343d2fe3 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
old-commit-hash: e72d6b5689
2022-05-30 15:15:51 +02:00
Adeeb Shihadeh
5a9644261f remove comma two support (#24248)
* remove comma two support

* cleanup release files

* little more

* more libs

* no more gralloc

* add snpe back
old-commit-hash: 5c48e7bc86
2022-04-18 17:55:23 -07:00
Adeeb Shihadeh
4511a8f0ec fix startup test
old-commit-hash: 7e66a944b2
2021-12-06 14:40:42 -08:00
Adeeb Shihadeh
44568de155 faster jenkins (#22973)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e13630dfee
2021-11-18 23:43:09 -08:00
Willem Melching
ef6ae61c5e make soundd exit cleanly (#22794)
old-commit-hash: 1289ebe9bd
2021-11-04 15:50:48 +01:00
Willem Melching
6712c4e520 soundd doesnt exit cleanly
old-commit-hash: 802efe0e22
2021-11-04 15:05:16 +01:00
Adeeb Shihadeh
997f3f0212 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>
old-commit-hash: 7feae28705
2021-10-26 23:50:05 -07:00
Adeeb Shihadeh
19bc1b7397 fast jenkins (#21472)
* speed up setup

* speedup onroad test

* .git doesn't like inplace

* tici2

* no inplace

* revert

* fix

* that one too
old-commit-hash: 0bfd994f73
2021-07-02 16:29:57 -07:00
Adeeb Shihadeh
2da7a80bcb manager test: check procs are alive (#20632)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 90271c245d
2021-04-08 23:46:20 -07:00
Willem Melching
285e086d80 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
old-commit-hash: 0e338d2b91
2021-03-24 14:44:39 +01:00
Willem Melching
c0098cec09 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>
old-commit-hash: 5a3b511306
2021-03-05 11:03:23 +01:00