Commit Graph

395 Commits

Author SHA1 Message Date
Adeeb Shihadeh
df6154b591 log git commit date (#31490)
* log git commit date

* unix ts

* fix

* bump cereal

* cleanup
old-commit-hash: 0723c2bc5f22a079685c1643fa2d72f70eeff087
2024-02-16 13:19:10 -08:00
Justin Newberry
bde8845913 test_qcomgpsd: subtest the gps_runtime scenarios (#31485)
* subtest this

* runtime

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c2b9f7163ace207038d4d17096f056b61c7644ba
2024-02-15 13:12:11 -08:00
Justin Newberry
955508c7ab Revert "test_qcomgpsd: parametize tests" (#31441)
Revert "test_qcomgpsd: parametize tests (#31430)"

This reverts commit 29d2fa667dcb6617d947a6bc1e80479774396dc0.
old-commit-hash: 659cdec3d077cbcaba2521f45ecff396cb9f7cfb
2024-02-13 15:27:36 -08:00
Adeeb Shihadeh
4101f3d725 tici: log SOM ID (#31440)
* tici: log SOM ID

* no cat
old-commit-hash: 3cf845d9521f9062bbcc7ae0db7195576ca632a4
2024-02-13 15:01:32 -08:00
Adeeb Shihadeh
9fab120968 timed: publish clocks periodically (#31434)
* timed: publish clocks periodically

* simplify

* Apply suggestions from code review
old-commit-hash: c5739651a241788f9c84ebf705325de57aabfc39
2024-02-13 14:22:46 -08:00
Justin Newberry
c80b2283a4 test_qcomgpsd: parametize tests (#31430)
* parameterize qcomgpsd

* one line
old-commit-hash: 6f4d3883484d454b629d65a806b558692b890f09
2024-02-13 11:16:24 -08:00
Adeeb Shihadeh
adcac1f207 SubMaster: improve service aliveness checks (#31391)
* bump cereal

* fix

* fixes

* single poll

* bump

* bump

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 279d2c3b2319bab73bbc9ed103911b6df3b0dc02
2024-02-12 10:11:37 -08:00
Justin Newberry
de4644aa73 camerad: assert isp started successfully (#31385)
* isp assert

* disable this for testing

* Revert "disable this for testing"

This reverts commit e65cf6d4b457babcc1a980d40079a2d6aa6540b8.

* move below
old-commit-hash: c9951e9d6c14b860d4b13952fca5540a91ff5813
2024-02-10 14:49:45 -08:00
Adeeb Shihadeh
b4c03185d4 bump cereal (#31392)
* bump cereal

* update those

* update refs

* bump cereal

* bump

* bump cereal

* bump

* fix

* bump

* typo:
old-commit-hash: daceb171bde5aef4ea483e8054456187772afe92
2024-02-09 21:44:23 -08:00
Adeeb Shihadeh
db71508d61 sensord: fix IRQ affinity (#31384)
old-commit-hash: 135deb43246ec61eeb9c8bce16a59ee8ea58c1e3
2024-02-08 16:40:43 -08:00
Justin Newberry
eee5af9baa test_power_draw: combine mapsd and navmodeld (#31375)
* combine

* combine

* combine

* simpler

* nounion
old-commit-hash: 70288d1742c2cc84f4419f3411056d81bad4b59b
2024-02-08 11:31:55 -08:00
Adeeb Shihadeh
9b86a20d64 agnos 9.6 (#31357)
* agnos 9.6

* manifest
old-commit-hash: 4228b6420bf6ba56bc798239cc05078c9d5d8440
2024-02-07 16:15:09 -08:00
Justin Newberry
0fa5f49cac test_power_draw: wait for power instead of fixed warmup time (#31318)
* wait for valid

* reuuse that

* assert warmup

* Wip

* fix that

* reset

* none

* timeout

* maxlen

* consecutive

* proc

* fix

* local

* same as before

* mean

* fixes

* SA

* this is the real warmup time

* this is the real warmup time

* Cleanup

* Cleanup

* monotonic + len

* reduce duplication

* fix

* fix

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: caa9dff61043a27a15f597633bea08f214833f0a
2024-02-07 13:54:46 -08:00
Adeeb Shihadeh
c6378bab30 agnos 9.5 (#31313)
* agnos 9.4

* agnos 9.5
old-commit-hash: ff1dd1f4ddcfa56779097b5a229c61775520ea9d
2024-02-07 13:23:58 -08:00
Adeeb Shihadeh
35c9578c5e fix bootlog count (#31319)
old-commit-hash: cbd46802b05b8883d6fa3f64fa069a5d5aaabd17
2024-02-05 23:00:45 -08:00
Kacper Rączy
be6fdf72ee webrtcd: lazy import of aiortc (#31304)
* Lazy imports in webrtcd

* Lazy imports in web.py

* Type hints

* Remove FrameReaderVideoStreamTrack

* leave the aiohttp.web import

* Leave the client session

* main leftover
old-commit-hash: 35d848ad5290ed9c0747b0ac20a5affab6a561d2
2024-02-05 19:04:59 -08:00
Adeeb Shihadeh
973de5710a add cavli modem config (#31297)
* add cavli modem config

* fix linter

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a094179b4d2231e3f43b25596ecb20d6b9c4be70
2024-02-04 14:26:03 -08:00
Greg Hogan
14e12980f5 simplify git remote is comma check (#31284)
* simplify git remote is comma check

* cast to str

* eliminate default and always return string

* add type annotation for cache decorator

* fix up default handling
old-commit-hash: 7affba06d89b366d98f42c4ea3a2f904e6ef3357
2024-02-02 21:23:32 -08:00
Justin Newberry
fd799bc05a Pytest: consistent hardware state for tici tests (#31279)
* consistent hardware

* consistent hardware

* moved

* this too

* ruff

* s

* duplicated

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0277fc5548bc87a17ae34b914df0593d034e5e94
2024-02-02 14:18:01 -08:00
Adeeb Shihadeh
2632a41c1e encoderd: get frame size over vipc (#31276)
* encoderd: get frame size over vipc

* bump cereal

* fix ffmpeg

* no print
old-commit-hash: a5766e27967707d51c4e7181a3509c78b3671d16
2024-02-02 12:53:12 -08:00
Adeeb Shihadeh
53659bbb43 camerad: flip OS04C10 image
old-commit-hash: 4962ffa14cc32cfcf121a3c1383523a39c3b149f
2024-02-01 20:24:00 -08:00
Justin Newberry
05204fbde3 Create message mocking tools (#31249)
* add mocking tools

* fix map renderer

* use for power draw

* fix those

* whitespace

* rename to services

* fix the rate

* remove
old-commit-hash: 086c509fde806bb03f89765800d9667f4de6a372
2024-01-31 18:47:49 -08:00
Adeeb Shihadeh
adc65c2293 agnos 9.3 (#31163)
* agnos 9.2

* agnos 9.3
old-commit-hash: 6caf89bca531b2e1e5f514dcebd82e33cb0dadd1
2024-01-29 17:44:14 -08:00
Adeeb Shihadeh
048629564e bootlog: remove timestamp from filename (#31187)
* bootlog: remove timestamp from filename

* revert route

* test

* revert that

* fix loggerd test
old-commit-hash: 25043410705f2a7a275e69ec513c8889465d4ba3
2024-01-26 19:17:38 -08:00
Adeeb Shihadeh
5441587c6b mark as flaky for now
old-commit-hash: 6fbd8442164fbc4dde8949d63c67a9a600a3f896
2024-01-26 14:37:22 -08:00
Adeeb Shihadeh
9488aafba4 add flaky package
old-commit-hash: fe4abaa6f693b000056d2ce8c2492fb64c3e313d
2024-01-25 17:38:09 -08:00
Comma Device
96497667fa allow a couple retries
old-commit-hash: 076810d5bd62f357e594212be665d0e2c06a739f
2024-01-25 17:13:35 -08:00
Justin Newberry
1e197545c6 Revert "test_loggerd: make rotation test more robust" (#31168)
old-commit-hash: 979dba33cda2c54686e0e07f439ce06aa2598b1f
2024-01-25 17:11:03 -08:00
Justin Newberry
1dae90e219 test_loggerd: make rotation test more robust (#31160)
* no randomness

* lots

* Revert "lots"

This reverts commit 2052fd6f7b8dc4c53fbb7c726026070918d5de00.
old-commit-hash: 35374f4d577d0bf835ae146954010ef61a3c2fa4
2024-01-25 12:13:43 -08:00
Ruben Medina
031e88f2c9 add size to system alt image manifest entry (#31154)
old-commit-hash: 8472ae5317d98a41dae28b2cd1e72ac05b5cae04
2024-01-24 23:35:39 -08:00
Adeeb Shihadeh
12d2d861f2 Revert "Switch from json11 to nlohmann/json (#31093)"
This reverts commit 8fa1e8aa53defca264272a66531d639b3d569418.

old-commit-hash: 88757c12b3371a1ba5b3ebabc9e85faad0a19d56
2024-01-22 22:41:59 -08:00
mtribiere
cb3a834067 Switch from json11 to nlohmann/json (#31093)
* Initial commit

* fix release/file_common

* Update common/swaglog.cc

* Swtiched serialize cc

* move to lfs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ee036482b8152f0e7650895c6f4bac5d4f00e00f
2024-01-22 22:35:47 -08:00
Adeeb Shihadeh
b8fbf60097 timed: always pull time and timezone from GPS (#31112)
* timed

* rm timezoned

* just gps

* ok

* little more

* fix

* datetime

* sleep a little

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 827aa2e4fad3334e594f8a259444f9461579fa2d
2024-01-22 18:35:11 -08:00
Adeeb Shihadeh
dc6a23a1bc loggerd: speedup unit tests (#31115)
* first speed it up

* pytestify

* no sleep
old-commit-hash: 694fc378dd1b4dc4b26847efb25af538133d0685
2024-01-22 17:24:42 -08:00
Justin Newberry
4080bec11d pytest: add marker for sharing the download cache (#31082)
* fix cache

* with a marker
old-commit-hash: 3846130d8e15ea71e9576ae62b69918757edc7b8
2024-01-22 16:30:59 -08:00
Adeeb Shihadeh
5e9dc2c415 cleanup tests that are now useless (#31098)
* disable that onoe

* e2e tests catch this

* rm more useless checks
old-commit-hash: 78e20cff3906ee76c356e8bdef920397e60389b4
2024-01-21 14:49:57 -08:00
Harald Schäfer
66dbadb029 Delete lat planner (#31089)
* Initial commit

* Fixup

* typo

* ignore lateral plan

* Update cereal

* Remove lateralPlan

* Fix release build

* Fix release build

* give car params

* Add carParams to include_all_types

* Write car param in powerdraw test

* add demo mode

* Update model regf

* proc replay ref commit

* Try

* Move enum definition

* Update cereal

* typo

* Write car param for modeld test

* Update ref

* Update model ref again

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: e6c97c384671b448f307a7ed91416886f2186d80
2024-01-21 12:09:48 -08:00
Adeeb Shihadeh
436b5dacd9 test_power_draw: check msgs expect first for cleaner error
old-commit-hash: e0d0896dcfbab482e10ef90794c746497b359321
2024-01-20 17:20:21 -08:00
Adeeb Shihadeh
972650f0eb remove dashcam branch (#31081)
* remove dashcam branch

* fix

* more cleanup

* remove param

* one more
old-commit-hash: 7cd9568423a2e78187d16018b70a78f56c02027d
2024-01-19 14:05:03 -08:00
Comma Device
ebcfcf6087 fix param path
old-commit-hash: e2df83089fe0050d41ef3d7f9241c75b14cba134
2024-01-18 20:12:04 -08:00
Adeeb Shihadeh
8a84e369a0 bootlog doesn't block startup (#31061)
* bootlog doesn't block startup

* keep params

* fix

* cleanup
old-commit-hash: c4362bd958d1473b97ae336fd0e9bd7b50fe4fb9
2024-01-18 20:04:08 -08:00
Adeeb Shihadeh
6124ecf1c1 uploader: restrict qcam upload on metered connctions (#31047)
* uploader: restrict qcam upload on metered connctions

* route requesting

* rename

* str

* cleanup

* strip dongle

* upload bookmarked segments

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2280ac50b76264dadd170e8f23bf0c3bf68ef61c
2024-01-17 21:41:58 -08:00
Adeeb Shihadeh
3d85d3d857 uploader: delay uploading crash and boot logs on metered connections (#31045)
* uploader: delay uploading some files on metered connections

* just crash and boot for now
old-commit-hash: 19630c5af989fb62d1c920e54f838969c6158453
2024-01-17 17:43:41 -08:00
Adeeb Shihadeh
6c21bbacae update param in loggerd unit test
old-commit-hash: 5f1e7649e3725667a7a753a89f31834aa28eb2b1
2024-01-17 15:08:36 -08:00
Adeeb Shihadeh
269fbedbcb cleanup old params (#31039)
* cleanup old params

* one more
old-commit-hash: 7ce29ef08e9ee9c930238f697bfe3b69f6be368e
2024-01-17 14:42:07 -08:00
Adeeb Shihadeh
d6a8213c80 uploader cleanup (#31035)
* Reapply "uploader cleanup" (#31033)

This reverts commit a2723989bced503a4506684a4a6fdc6c8101f7b2.

* always sleep

* more cleanup

* little more

* fix linter

* little more
old-commit-hash: 0b5fd7287e715707e32b7e6978e296918dd34234
2024-01-17 14:24:09 -08:00
Justin Newberry
7f09117bf0 Revert "uploader cleanup" (#31033)
old-commit-hash: 5e4df41b2f4c379157844dc4c19ef496ca658088
2024-01-17 11:07:38 -08:00
Adeeb Shihadeh
4580cd1eb9 uploader cleanup (#31029)
* cleanup

* startup cleanup

* step

* Update test_uploader.py
old-commit-hash: c6c6a441eb61c7ac28fb94b05b91fbb8837b9236
2024-01-16 19:54:07 -08:00
Adeeb Shihadeh
8277f37c4b camerad: move ae test to pytest/catch2 (#30994)
* mv ae gray test

* cleanup
old-commit-hash: 3e601b5e8fcaf2fd0885cc64949fa1349a8069eb
2024-01-13 15:40:25 -08:00
Justin Newberry
f087595f90 test_proclog: fix conflict with pytest (#30989)
old-commit-hash: 884de6e4570545ccf4ee3e6ff8d2f59e4a0847c6
2024-01-13 00:30:55 -05:00