Adeeb Shihadeh
43dd214f52
Revert "pytest: discover openpilot/ ( #32561 )" ( #32622 )
...
This reverts commit 9c272f9ef90b7c032884aa0ad54b8d5630de14fc.
old-commit-hash: 149238845c1ed98dc5b86446c5c6d49e53b5e340
2024-06-04 12:09:06 -07:00
Adeeb Shihadeh
86b6103657
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
old-commit-hash: c59887c8109dd8d33ea2e7169995184fbe38cc3a
2024-06-03 15:48:56 -07:00
Mauricio Alvarez Leon
ddd78718a6
pytest: discover openpilot/ (#32561 )
...
* pytest: discover everything in openpilot/
* ignore process replay
* remove --ignore=openpilot/
* ignore directories in root
* remove skip in selfdrive/test/process_replay
* use openpilot directory
* set openpilot directory for test_translations
* omit generated config.py files
* run ci
* cd into openpilot for test_translation
* &&
* remove rm main_test_en command
* remove echo
* increase shm-size to 2G
* remove rm
* test only cpp_files that are test_*.cc~
* add process_replay test skip
* use addopts in pyproject to ignore test_processes
* try --rootdir for pytest
* cleanups / add rootdir in PYTEST env
* add rm create_test_translations
* revert poetry.lock
* simplify
* no regen!
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 00b10f3d9ad03a6695446aab7b3a34d86229549a
2024-06-02 14:53:32 -07:00
Adeeb Shihadeh
549bc535cd
Revert no pyenv ( #32547 )
...
* Revert "`ubuntu_setup`: fix `No module apt_pkg` error when setting up (#32526 )"
This reverts commit d850f07acb58e4fc6d530241a31c0917c2b6613e.
* Revert "Removal of pyenv (#32512 )"
This reverts commit 41f72d5ca75aab9a9beb3181aca9f177e5a003f8.
old-commit-hash: 1eb938b8e81a3321adf1064e8ef348b8c7073d4c
2024-05-26 21:21:50 -07:00
Adeeb Shihadeh
6dc8eecee7
Make release files a blacklist ( #32540 )
...
* blacklist
* little nicer
* whitelist
* cleanup
* igore body
* more skip
old-commit-hash: fe7d3429abd85c120f0205093149eb9eabc81cb1
2024-05-25 18:47:16 -07:00
Adeeb Shihadeh
cc4f53e6c6
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
old-commit-hash: accdade4cfe73cdca41f5afa73cf4ad085802930
2024-05-25 12:41:17 -07:00
Mauricio Alvarez Leon
f90655a1ff
ubuntu_setup: fix No module apt_pkg error when setting up (#32526 )
...
* no apt_pkg fix
* check arch
* fix if
* cleanup
* reorder
* increase shm size for selfdrive tests
* add comment explaining reinstall
* refine
old-commit-hash: f4322666c6adc4dd2da569f483f6e108f18fe32a
2024-05-24 21:38:23 -07:00
Adeeb Shihadeh
f6bafe95f6
Revert "CI: move car docs diff job ( #32496 )"
...
This reverts commit aa372959f53f92f01778fae4c6f01960d1f040b4.
old-commit-hash: 49d7edfe11add9abc09b46b271ea8b646797c080
2024-05-20 23:33:16 -07:00
Adeeb Shihadeh
3a09d909e8
CI: move car docs diff job ( #32496 )
...
* CI: move car docs diff job
* no if
old-commit-hash: da42c4a561343749a4970d7908ed7a3b2ed0402e
2024-05-20 23:11:19 -07:00
Adeeb Shihadeh
947ca354f7
CI: merge build jobs ( #32495 )
...
old-commit-hash: 936e8d3d801e3ef52660eb0940293197598514bf
2024-05-20 23:01:42 -07:00
Adeeb Shihadeh
70f2c6610a
bump up cars timeout for the GHA runners
...
old-commit-hash: 861c52e01579f4ce86a2f19f2014afa2af1ae501
2024-05-17 20:53:52 -07:00
Adeeb Shihadeh
e932b0836f
CI: move regen into replay job ( #32460 )
...
old-commit-hash: 57c8510a42b086bd2479f90f8d7a26b010454c89
2024-05-17 19:48:14 -07:00
Adeeb Shihadeh
eaa6fe2510
remove old valgrind replay test
...
old-commit-hash: e1a697fee521eedad2210d8e01d668e2bb020ace
2024-05-17 19:43:47 -07:00
Adeeb Shihadeh
a2bb2dc9f4
CI: move model tests ( #32459 )
...
old-commit-hash: 27da6bd752817a2af5df86cf1366c083ff732ffe
2024-05-17 19:31:55 -07:00
Adeeb Shihadeh
de22ac6ff5
CI: use less parallel jobs for cars ( #32458 )
...
* CI: use less parallel jobs for cars
* 2
old-commit-hash: 4388a2aa68a59cdcf7c7577a4ee38e71aac611bd
2024-05-17 19:20:18 -07:00
cl0cks4fe
639a634f7c
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 >
old-commit-hash: dd9d5d4528ff0a61c7699abc1b63ba8fd282632f
2024-05-17 11:01:44 -07:00
Adeeb Shihadeh
cec27f9db5
prep for ubuntu 24.04 ( #32307 )
...
* update to ubuntu 24.04
* latest
* revert those
* fix that
* vla
* try that
* fix uid
* keep 20.04 support
* just prep for now
old-commit-hash: a44add160e206aa87a2996372860846cc54ca29c
2024-04-28 16:24:04 -07:00
Andrew Goodbody
4d57211300
Update actions to replace deprecated versions ( #32246 )
...
actions/cache@v3 uses the deprecated Node.js 16 so update to
use v4 which uses Node.js 20. This also applies to save and
restore
old-commit-hash: ba2538c29cba02856e900ebe8ebc1cefb57bdadc
2024-04-19 12:33:45 -07:00
Justin Newberry
b40ce1b085
bump codecov ( #32241 )
...
old-commit-hash: 746901e6b02fe24595834a8bc5672d9aa59359b8
2024-04-17 15:47:19 -07:00
Justin Newberry
4de27acf3d
more car info -> car docs ( #31885 )
...
old-commit-hash: 0b92f4e9ee59b9de7ef0895d6d35e06027d3891c
2024-03-17 16:53:57 -07:00
Justin Newberry
aedba00f13
gha: remove trailing spaces ( #31872 )
...
remove trailing spaces
old-commit-hash: c1d0d35f8bc043df098c483154c36bb8e955b02d
2024-03-14 16:20:02 -07:00
Justin Newberry
5b173679c2
CI: Retry multiarch build ( #31570 )
...
hardware
old-commit-hash: adb7e2e2297ecfc00e333155d4c8d0666c2c9205
2024-02-23 20:54:48 -08:00
Justin Newberry
626c13bd84
CI: reduce car tests timeout ( #31433 )
...
* reduce cars timeout
* 10
old-commit-hash: b4a11a722955f5ca6dd787cfb3d34aeddc3d5255
2024-02-13 11:57:08 -08:00
Justin Newberry
c50146837e
Docker: merge opencl and base images ( #31338 )
...
* mergeem
* don't change workdir
old-commit-hash: ceecf39c54e95e1bf973ea221fb3c5e7f215aecb
2024-02-06 17:11:00 -08:00
Justin Newberry
3c67b8df09
CI: enable logical cpus for all selfdrive tests ( #31281 )
...
logical
old-commit-hash: 28a15dbfe916c40d30a4901484e2d75fcb8af4cc
2024-02-02 15:45:59 -08:00
Justin Newberry
26181374e6
CI: use auto-cache for test_models ( #31171 )
...
use auto cache
old-commit-hash: 6262de44190ffd02bf6dc7db418599885db800f3
2024-01-25 20:37:25 -08:00
Justin Newberry
d9a324dc92
CI: generate test_ui report ( #31151 )
...
* add test
* simpler
* simpler
* false
* move these here
* faster
* map takes logner to render
old-commit-hash: faf99ba711cb12e33e0e1b6034ec146b65f7a854
2024-01-25 16:49:38 -08:00
Justin Newberry
d3ead5e4ff
test_ui: create test ui screenshots and html report ( #31147 )
...
* test ui
* report + common
* in ci
* fix
* dont enable in ci yet
old-commit-hash: e2ec5be6eec73f6455727313ba2b9c5bb01cce8c
2024-01-24 13:54:31 -08:00
Justin Newberry
20526ce562
car tests on namespace ( #31080 )
...
cars
old-commit-hash: dc9ffd2f100891554eaaad10139f233229390d56
2024-01-19 14:53:52 -08:00
Adeeb Shihadeh
85b48a800e
bump that up
...
old-commit-hash: 8a26b4383f6dfa6a1fca7d4db5bfcc0d4b06deda
2024-01-19 13:19:41 -08:00
Hoang Bui
8aad664943
Enable cache for pre-commit ( #31071 )
...
* enable cache
* test cache
* commai cache
* remove id
* only save on master
---------
Co-authored-by: Justin Newberry <justin@comma.ai >
old-commit-hash: f0f7e86dcc1c1a5ab3fbf68854e6f609691eda25
2024-01-19 13:06:02 -08:00
Justin Newberry
11b807cd32
CI: use namespace.io ( #31064 )
...
* namespace
* mkdir
* fix
* restore only
* restore
* v3
* disable provenance
old-commit-hash: 35ed8a0886d8badf05f72edc597a536e1b03d08c
2024-01-18 22:13:19 -08:00
Justin Newberry
d6922d3522
Revert "CI: use namespace.so" ( #31060 )
...
old-commit-hash: 23cbfe9eb3fc3fd3655e41d44a63a20e04bae1f1
2024-01-18 17:35:24 -08:00
Justin Newberry
d792c3c5bb
CI: use namespace.so ( #31056 )
...
* namespace
* mkdir
* fix
* restore only
* restore
* v3
old-commit-hash: 9ee0a8a2b1abb01eeaca7aa9de5fa86ee60a59e9
2024-01-18 17:17:53 -08:00
Justin Newberry
934225a448
replace pytest-timeouts with pytest-timeout ( #31053 )
...
* one timeout
* timeout
* higher timeout for now
* bump
old-commit-hash: d98b33adc8aaf10d0174d59e4065802c70a3413a
2024-01-18 16:19:49 -08:00
Adeeb Shihadeh
96e9a7d3ce
CI: speedup unit test job ( #30995 )
...
* start
* mv to buildjet
* fix
old-commit-hash: e17e66180c3a9432e6d303ca36ff0e4af763dace
2024-01-13 21:16:35 -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
9e35f77f78
Revert "buildjet: pin location to de" ( #30956 )
...
Revert "buildjet: pin location to de (#30955 )"
This reverts commit 5ce506c1ee95f7c6afe622430bc6d7eb3f167d5f.
old-commit-hash: af1b7e5c5912f328d196ff7da952f756a0fc5d04
2024-01-10 15:11:20 -08:00
Justin Newberry
d2d2190973
buildjet: pin location to de ( #30955 )
...
* pin location
* stringify
* Fix
* fromjson
* flip the parens
* and those
old-commit-hash: 576cba217d1334b6429762bb47dfdb77adc576d1
2024-01-10 13:48:35 -08:00
Justin Newberry
e1dd457277
CI: set CI=1 in docker image ( #30889 )
...
* ci=1
* wrong spot
old-commit-hash: 9b25bfc61866ff7853218e72aebd10df3c28595c
2024-01-02 13:48:16 -08:00
Justin Newberry
6c6f6ef45a
CI: set CI=1 globally ( #30888 )
...
ci=1
old-commit-hash: 86bd3379522c67da94a3ac6f3e0628bffa14ce50
2024-01-02 13:17:19 -08:00
Adeeb Shihadeh
9ae1b6473c
run test_fuzzy.py with pytest
...
old-commit-hash: b0b4ae9c15e5e4651a83bc9a0a857baf27513d4b
2023-12-18 14:38:57 -08:00
Justin Newberry
0939b25bc4
CI: move test_maprenderer to GH actions ( #30610 )
...
maprenderer to ci
old-commit-hash: 5d668701cb69c1e3d170109a8e788a2acbacebd3
2023-12-14 16:59:28 -08:00
Justin Newberry
553a18c065
CI: add codecov token ( #30716 )
...
* add codecov token
* retrigger with token
old-commit-hash: a3c0e2bd2500e04da1b8afd39657e7e12e555a7e
2023-12-13 11:50:44 -08:00
Justin Newberry
059aa6ffd9
Revert "Process Replay: move to pytest ( #30260 )" ( #30687 )
...
This reverts commit eb8f3f7f568aa0e294b32226ae5c5ed5e1b75e9d.
old-commit-hash: 7b5d4d031adb0e2fecf36772bbbb95e2989b9cc7
2023-12-11 14:46:56 -08:00
Adeeb Shihadeh
d84af30348
bump model unit test timeout
...
old-commit-hash: afd5877be8260afd840512d477b9164595343eed
2023-11-30 21:48:11 -08:00
Justin Newberry
6af8e72604
Process Replay: move to pytest ( #30260 )
...
* process replay pytest
* enable long diff
* readd job name
* make it executable
* cleanup imports
* retrigger
old-commit-hash: 90c873ab1def0756f6f91fcb7f2d6fad503e3f49
2023-11-13 13:50:23 -08:00
Justin Newberry
efaa3ea500
Pytest: default settings on PC improvements ( #30441 )
...
* always multithreaded
* multithreaded
* pkill correct process
* escape more
* load for interfaces
old-commit-hash: 2ad82cbfb064676401876a20e49e3965c40344a0
2023-11-13 10:45:24 -08:00
Justin Newberry
a0b0c1c4e7
CI: codecov for multiprocessing ( #30432 )
...
old-commit-hash: 26294173207cd5e3c586ca71a88fdd3a09fc7345
2023-11-10 10:02:05 -08:00
Justin Newberry
0a901ebe02
Revert "CI: codecov for multiprocessing" ( #30431 )
...
Revert "CI: codecov for multiprocessing (#30428 )"
This reverts commit 3b07eefe35677ba9cd35680864b88d5eacd3a25e.
old-commit-hash: 863fdec50e6e222b4b50157c7fe2e254de3435bd
2023-11-09 15:52:28 -08:00