Commit Graph

48 Commits

Author SHA1 Message Date
Adeeb Shihadeh 7b323413d2
jenkins: run bootkick tests (#1688)
* jenkins: run bootkick tests

* flip that

* little longer

* increase

* disable can

---------

Co-authored-by: Bruce Wayne <batman@comma.ai>
2023-10-09 21:52:15 -07:00
Adeeb Shihadeh 43bed1aa47
jungle HITL tests setup (#1665)
* setup new zoo

* run

* fix

---------

Co-authored-by: Bruce Wayne <batman@comma.ai>
2023-09-30 23:19:06 -07:00
Adeeb Shihadeh 124a83c0bf disable forest while it's rebuilt 2023-08-30 11:18:40 -07:00
Adeeb Shihadeh 235067a22b
run HITL tests in parallel (#1566)
* seems to work

* cleanup

* run in ci

* fail on first

* fix jungle scope

---------

Co-authored-by: Bruce Wayne <batman@comma.ai>
2023-08-06 20:51:26 -07:00
Adeeb Shihadeh 77b09a3160
misc hitl test cleanup (#1562)
* misc hitl test cleanup

* adjust that

* update

* tres fix

---------

Co-authored-by: Bruce Wayne <batman@comma.ai>
Co-authored-by: Comma Device <device@comma.ai>
2023-08-06 16:30:21 -07:00
Adeeb Shihadeh 6e1d35b033
more complete jungle reflash (#1557)
* more complete jungle reflash

* no spi!

* mv flash

* mv that
2023-08-04 21:51:09 -07:00
Adeeb Shihadeh b2741013f6
instructions for flashing internal panda (#1521)
* instructions for flashing internal panda

* Update board/README.md
2023-07-17 20:17:18 -07:00
Adeeb Shihadeh 945a379af9 tmp disable that 2023-06-27 16:10:10 -07:00
Adeeb Shihadeh 01887e03ba HITL: temp disable tres dfu tests 2023-06-21 15:18:42 -07:00
Adeeb Shihadeh adc0c12f7b HITL tests: enable flashing tests on tres 2023-06-11 19:56:09 -07:00
Adeeb Shihadeh f2f596b342
more robust HITL test prep (#1449) 2023-06-08 11:17:35 -07:00
Adeeb Shihadeh f5c28f811d
tres: run fan tests (#1422) 2023-05-18 15:46:06 -07:00
Adeeb Shihadeh a93bc954c5
SPI HITL tests + cleanup (#1417)
* start comms hitl tests

* pull that out

* revert that

* more test

* fix warnings

* fix linter

* another simple case

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-17 17:13:12 -07:00
Adeeb Shihadeh 2dfb9815ed
HITL tests: disable partial tests on branches (#1406)
Co-authored-by: Bruce Wayne <batman@comma.ai>
2023-05-08 14:18:43 -07:00
Adeeb Shihadeh cf307348af
CI: run HITL tests on tres (#1326)
* run on tres

* disable those for now

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-18 22:17:11 -07:00
Robbe Derks d3904a9f75
HITL fan test (#1330)
* hitl fan test

* enable cooldown on dos as well

* small cleanup

* get expected RPM from panda class

* fix

* overshoot test

* fix max RPM getting

* fix percentage

* revert cooldown fix

---------

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-04-18 14:47:22 -07:00
Adeeb Shihadeh eef3d026e3
CI: run HITL tests on dos (#1304)
* run on dos

* skip voltage on dos

* run these

* revert that

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-03 20:21:10 -07:00
Adeeb Shihadeh b6c378ad02
CI: set PYTHONWARNINGS=error (#1323)
* CI: set PYTHONWARNINGS=error

* update resetter

* fix build warnings

* bump jungle

* fix one more

* fix linter

---------

Co-authored-by: Bruce Wayne <batman@comma.ai>
2023-04-02 09:33:35 -07:00
Adeeb Shihadeh 416981d1f7
CI: setup tres (#1322) 2023-04-01 19:28:54 -07:00
Adeeb Shihadeh 6a8ed7f147
CI: setup dos (#1321)
* CI: setup dos

* just build and flash for now

* fix new device setup
2023-04-01 18:52:32 -07:00
Adeeb Shihadeh d375ce6421 jenkins updates for new master 2022-12-08 16:14:22 -08:00
Adeeb Shihadeh 93ecd31d3d don't clog up jenkins build queue 2022-12-07 22:23:41 -08:00
Adeeb Shihadeh 2e0cba00c2 bump timeout for full HITL tests 2022-11-03 20:50:42 -07:00
Adeeb Shihadeh b3e9292922
HITL test fixups (#1117)
* automated -> hitl

* simplify

* jenkinsfile cleanup

* cleanup

* fix new linter errors

* fix ws cleanup

* some retry

* more cleaning up after ourselves

* unpin scons

* bump opendbc

* fix quotes

* enable flaky

* debug print

Co-authored-by: Bruce Wayne <batman@comma.ai>
2022-11-03 17:24:28 -07:00
Igor Biletskyy ac21dbe551
H7: add chiplet panda support (RPv2) (#1049)
* temporarily disable Jenkins

* firmware

* python lib

* tests

* ..

* usb load switch to high

* it is still red

* usb power mode remove

* Revert "temporarily disable Jenkins"

This reverts commit a911cfad8d.

* forgot this

* common periph

* change name

* board tick

* add V2 to CI

* update known bootstub
2022-09-09 20:13:06 -07:00
Igor Biletskyy 7e79f631ad
CI: add hardware reflasher (#1041)
* like that

* don't need that

* cln

* one lock like that?

* or that

* rename

* guard with __name__ check

* lib import

* 20 min is on the edge
2022-08-24 17:17:02 -07:00
Adeeb Shihadeh abaa9f8968
always build all projects + test libs (#1038)
* always build all projects

* and tests

* fix that
2022-08-19 11:41:34 -07:00
Adeeb Shihadeh 7f6ef7cd00
fix flashing H7 in bootstub + tests (#1007)
Co-authored-by: Bruce Wayne <batman@comma.ai>
2022-08-02 22:28:54 -07:00
Adeeb Shihadeh fe3ad834c6
improved HITL test reliability (#897)
* improved HITL test reliability

* little more

* revert that

* little speedup

* some speed up

Co-authored-by: Bruce Wayne <batman@comma.ai>
2022-08-02 17:05:47 -07:00
Igor Biletskyy 305d4e6d2a
Red Panda: add separate CAN FD test to CI (#807)
* initial simple test

* linter

* ...
2021-12-11 14:36:00 -08:00
Igor Biletskyy b38dea38c4
Jenkins: update jungle serials (#774) 2021-11-11 20:57:15 -08:00
Igor Biletskyy ad90646001
Support for STM32H7 and Red Panda (#694)
* H7 drivers

* Include H7 into the code

* fix flash write for H7

* get serial from flasher.h from F4 and H7

* flash.sh and recover.sh for gen3

* add set_data_speed for BRS CAN FD

* build all fws

* gen3 to panda lib

* gen3 name in scons project

* disable fd can and brs

* gen3 to CI tests

* jenkins fix for new tests and build_all

* fix pedal test

* pedal in panda tests again...

* cleanup llfdcan.h

* cleanup clock.h

* Add LDORDY bit check instead of delay

* missing define in stm32h735xx.h lib

* board_id helper

* enable debug detection again

* clean gpio inits

* fix board_id helper, make cleaner

* comment MCUs in stm lib for faster misra

* target MCU

* misra-5.5

* improve headers and misra speed

* cleanup CI tests

* change naming from gen3 to h7

* readable if statement

* cleanup llusb.h

* only cycle one transceifer in bus-off

* move unused funcs to common header

* bus_off_err reset

* misra 10.4 fdcan

* extern to can_data_speed variable

* limit can_data_speed array size to 3

* reinit fd can on data speed change

* Improve test with ELM327 and extaddr check

* bugfix for fdcan

* panda python config naming

* abstracted init request in llfdcan

* misra fdcan

* Improve llusb.h for H7
2021-08-02 20:26:15 -07:00
Igor ada4f7e177
Add pedal tests to CI (#680)
* Add pedal tests to CI

* Organized as unittest

* Linter and imports

* Ignore 'none' serials

* Force into DFU

* Check in softloader mode

* Pin jungle commit

* Add silent mode to pedal

* Move pedal serial to const

* split CIs

* full path to canhandle

* Revert adding silent mode to pedal

* improve

* increase timeout pedal test
2021-07-06 20:29:51 -07:00
Adeeb Shihadeh 78c24982a9
Remove non-EON panda build (#671)
* Remove non-EON panda build

* missed that

* fixup readme

* more readme

* simplify ci

* add USB command to disable heartbeat checks in debug mode

* clean that up too

* more cleanup

* fix path

* disable heartbeat in set_safety_mode

* more red

* remove one more EON ref
2021-06-21 13:54:09 -07:00
Willem Melching ad9ecefe65
Switch panda to scons builder (#635)
* add scons builder

* cleanup 1

* remove building from python code

* add pedal build

* fixup flags

* add EON flag

* change github actions to scons

* fixup automated tests

* move flashing scripts

* fix indent

* remove version.mk

* fix not in git

* fix linker script filename

* untested pedal flashing scripts

* add release option

* better asserts

* swap condition

* enable usb and fix flash script

* usb flash is not supported

* use button to enable dfu mode

* no usb because misra

* remove sleep
2021-03-24 14:44:32 +01:00
Adeeb Shihadeh 8b41ed3b81
Deprecate ESP (#592)
* remove unused wifi tests

* remove that one too

* no bootmode from ESP

* clean that up

* remove two more wifi tests

* remove boardesp and esptool

* esp_gps -> gps

* missed those

* remove esptool refs

* remove esp certs

* no more wifi

* that was old

* cleanup jenkins dockerfile

* fix linter

* remove more wifi refs

* clone panda jungle from github

* no copy

* always default esp to off
2020-08-26 15:37:50 -07:00
robbederks e1c34a1a29
Panda Jungle testing (#394)
Rebase all open branches on this commit to make sure they are tested correctly!
2019-11-26 16:18:34 -08:00
rbiasini f9053f5df4
more Python 3 fixes, attempting to fix jenkins wifi regresison test (#295)
* more Python 3 fixes, attempting to fix jenkins wifi regresison test. Not successful, but closer.
2019-10-10 12:34:52 -07:00
Riccardo 9403dbebe9 Need to fix wifi test before re-enabling. 2019-10-08 20:03:18 -07:00
Testing closet 70d4fd7f64 cleanup docker container on failure 2019-07-10 10:19:44 -07:00
Adeeb Shihadeh 79e9735ae1 rename 5_wifi_udp.py 2019-07-03 20:02:53 -07:00
quillford 3c3ff0c03b
Update Jenkinsfile (#239) 2019-07-03 19:47:41 -07:00
Adeeb Shihadeh 004e543cc2 Jenkins: run EON test first 2019-07-03 11:09:49 -07:00
Willem Melching 4396fb9e8e
Update jenkinsfile (#193)
* updat jenkinsfile

* skip wifi flash tests

* flah esp

* Revert "skip wifi flash tests"

This reverts commit 530ccb780d.

* dont build release ESP code
2019-05-21 09:09:30 -07:00
Nigel Armstrong 252dec22e1 Change docker tags in jenkins to use git commit instead of build_id
Build_id can repeat and cause problems
2019-05-10 15:47:04 -07:00
Nigel Armstrong 11c4cdcc44 Cleanup leftover jenkins command 2019-04-10 21:10:15 -07:00
Nigel Armstrong 22572d949b Fix Jenkins build dockerfiles with same name 2019-04-10 20:59:48 -07:00
Nigel Armstrong 1d2f8f0abf
Jenkins (#179)
* Improve panda automated testing

 * begin testing both white and grey panda
 * Improve wifi reliability

* First commit for docker

* Fix usb devices not showing up on reconnect

* Add tests for two pandas, latency and throughput

* Add Jenkinsfile

* Allow flashing release on wifi

* Fix Jenkins stuck in DFU mode and docker container running

* Add pandaextra from xx to docker

* Need more time for ST to restart, sometimes

* Add xml output to tests

* Try making wifi more reliable

* Fix infinite loop in ping

* Check connected after flash

* Cleanup two panda tests

* Try fixing failing test with check after udp

* Try to fix with sleep

* Temporarily run just 5 and 6

* Cleanup

* Desperate times call for desperate measurse

* BUGFIX: power saving when rx only

* Fix failing when white panda is first after udp

* Test both Dev and EON build

* Jenkins test results for both builds

* Better test case naming
2019-04-09 14:09:18 -07:00