Adeeb Shihadeh
2504341070
bootlog: remove timestamp from filename ( #31187 )
...
* bootlog: remove timestamp from filename
* revert route
* test
* revert that
* fix loggerd test
1 year ago
Adeeb Shihadeh
6fbd844216
mark as flaky for now
1 year ago
Justin Newberry
979dba33cd
Revert "test_loggerd: make rotation test more robust" ( #31168 )
1 year ago
Justin Newberry
35374f4d57
test_loggerd: make rotation test more robust ( #31160 )
...
* no randomness
* lots
* Revert "lots"
This reverts commit 2052fd6f7b
.
1 year ago
Adeeb Shihadeh
694fc378dd
loggerd: speedup unit tests ( #31115 )
...
* first speed it up
* pytestify
* no sleep
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
2280ac50b7
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>
1 year ago
Adeeb Shihadeh
19630c5af9
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
1 year ago
Adeeb Shihadeh
5f1e7649e3
update param in loggerd unit test
1 year ago
Adeeb Shihadeh
0b5fd7287e
uploader cleanup ( #31035 )
...
* Reapply "uploader cleanup" (#31033 )
This reverts commit 5e4df41b2f
.
* always sleep
* more cleanup
* little more
* fix linter
* little more
1 year ago
Justin Newberry
5e4df41b2f
Revert "uploader cleanup" ( #31033 )
1 year ago
Adeeb Shihadeh
c6c6a441eb
uploader cleanup ( #31029 )
...
* cleanup
* startup cleanup
* step
* Update test_uploader.py
1 year ago
Dean Lee
a1f53c70e6
uploader.py/listdir_by_creation: list directories only ( #30806 )
...
list only directories
Co-authored-by: Comma Device <device@comma.ai>
1 year ago
Adeeb Shihadeh
37351cbdc1
uploader: reduce max qlog/qcam size ( #30746 )
1 year ago
Dean Lee
a4179a7c23
encoder: reduce memory allocations and copying ( #28704 )
...
* reduce memory allocations and copying
* #include <vector>
1 year ago
Adeeb Shihadeh
35f819c823
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
1 year ago
Adeeb Shihadeh
a1d36961cf
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
1 year ago
Justin Newberry
4086795c29
Pytest: more post-test path cleanup ( #30556 )
...
* test cleanup
* missed this one
* remove that
* static class
1 year ago
Adeeb Shihadeh
c055fdc853
one more
1 year ago
Adeeb Shihadeh
3d36a0f70d
rm old loggerd debug scripts
1 year ago
Dean Lee
3527c1da67
loggerd: c++ LoggerState ( #25869 )
...
* c++ LoggerState
* trigger ci
* trigger ci
* merge master
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
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
f616dd77a1
loggerd: add wall time to initData ( #30251 )
...
* loggerd: add wall time to initData
* bump cereal
* fix
2 years ago
Adeeb Shihadeh
c347096c3e
finish hardware move to system/ ( #30140 )
...
* finish hardware move to system/
* fix release
* couple more
2 years ago
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2 years ago
Adeeb Shihadeh
2c1dfc2f34
use pytest for cpp tests ( #29833 )
...
* add pytest-cpp package (#29828 )
* add pytest-cpp package
* disable for now
* use in ci
* use pytest cpp
* use my branch
* add missing tests
* that doesn't make sense
* it was merged upstream
* replace TEST_RLOG_URL with a publicly accessible url
* PR Cleanup
* assert instead
* update poetry lock
* add comment about pytest-cpp
---------
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: deanlee <deanlee3@gmail.com>
2 years ago
Justin Newberry
73eda51a11
System: use paths for download folders too ( #29818 )
...
* use paths for download folders too
* trailing slash
* reset that
2 years ago
Justin Newberry
bfe990b112
System: cleanup paths to use a common class ( #29816 )
...
* use OP prefix for logmessage
* cleanup paths too
* cleanup the paths too
* add hw.py to release
* fix those issues
* fix unittests
* fix unittests
* fix unittests
* do swaglog_ipc properly across all the files
* fix that
* fix swaglog in c++
* review suggestions
2 years ago
Justin Newberry
4e69937d0d
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
2 years ago
Kacper Rączy
0bda43d71c
encoderd: fix crash when filename is null ( #29748 )
...
Use publish_name for thread name and debugging messages
2 years ago
Justin Newberry
a5ef9febb9
Tests: loggerd reduce iterations ( #29713 )
...
* reduce those iterations
* sleep time could be decreased too
* in case it's negative
2 years ago
Adeeb Shihadeh
72e2e2c9ec
pytest: strict config ( #29676 )
...
* pytest: strict config
* collection works
* fixes
2 years ago
Dean Lee
1e62999e75
v4l_encoder: convert macro `checked_ioctl` to funtion ( #29609 )
...
* break to multiple lines
* convert to function
* format errno
* use safe_ioctl
* cleanup
2 years ago
Adeeb Shihadeh
4917e22615
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
2 years ago
Dean Lee
d54fa5c7f1
v4l_encoder: fix error handling for poll ( #29166 )
...
* fix error handling for poll
* revert
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Dean Lee
7bfd3dac81
cpplint: add filter `whitespace/comma` ( #29595 )
2 years ago
Dean Lee
21da5a216f
cpplint: add filter `build/include_subdir` ( #29585 )
2 years ago
Dean Lee
ac93902983
cpplint: add filter `whitespace/forcolon` ( #29582 )
...
whitespace/forcolon
2 years ago
Dean Lee
95e9232963
encoder/VideoWriter: remove unnecessary call to `avcodec_close` ( #29039 )
2 years ago
Dean Lee
ddd849a882
encoderd: remove unnecessary calls to ` encoder_close()` on exit. ( #28970 )
2 years ago
Adeeb Shihadeh
e726505918
bump cereal ( #29561 )
2 years ago
Dean Lee
2d99521e75
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Dean Lee
363740a497
cpplint: add `readability/braces` filter ( #29554 )
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
db287496d8
Fixes for PYTHONWARNINGS=error ( #29381 )
2 years ago
Dean Lee
51cdf155d9
encoderd: fix indentation ( #29356 )
...
fix indentation
2 years ago
Vivek Aithal
81322a4805
[commabody] setup and run live stream encoders ( #29087 )
...
* op changes needed for body
* remove logmessaged callback
* add newlines
* add stream arg
* add stream_encoder to config
* supersets, avoid two encoderd
* fix recursive exit error
* fix loggerd crash
* add stream_encoderd cpu usage to test
* Update system/loggerd/loggerd.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* resolve comments
* stream_encoderd onroad to false
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Justin Newberry
4a9afd7554
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
Dean Lee
940954c13e
swaglog: enable type-checked against format string ( #29096 )
...
* check&fix fmt
* bump rednose
* correct format string
* bump rednose
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago