Commit Graph

26 Commits

Author SHA1 Message Date
Adeeb Shihadeh 92ed48ae5c
HITL tests: add timeouts (#1352)
* set timeout

* closest

* more timeout

* fan test is slow

* retry

* break

* bump
2023-06-04 01:00:17 -07:00
Adeeb Shihadeh be2ca72f81 Revert "CI: automatically update on-device dependencies (#1420)"
This reverts commit 463795d497.
2023-05-17 18:03:45 -07:00
Adeeb Shihadeh 463795d497
CI: automatically update on-device dependencies (#1420)
* CI: automatically update on-device dependencies

* unset that

* bump
2023-05-17 17:21:26 -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 7aaca348c2
HITL tests: nose -> pytest (#1301)
* HITL tests: nose -> pytest

* run all

* add back partial tests

* big speed up

* fix skipping

* enable all

* that's expected

* clean up after ourselves

* jungle is fixture

* fix

---------

Co-authored-by: Bruce Wayne <batman@comma.ai>
2023-03-22 21:38:37 -07:00
Robbe Derks 56fae8a283 pin SCons to fix safety tests 2023-03-16 11:24:57 +01:00
Shane Smiskol eed75e7232
Bump opendbc ref and update pylint (#1197)
* Update opendbc ref

* fix linting

* fix linting

* bump opendbc ref and pylint to fix import error bug

* ignore unspecified-encoding (openpilot does this)

* this will fail until openpilot is bumped

* bump openpilot

* wait... this works now?!

* bump opendbc to master
2022-12-15 15:30:21 -08:00
Adeeb Shihadeh a42b104c35
SPI handle in python lib (#1131)
* SPI handle in python lib

* add spidev

* unify those

* clean up connect

* clean that up

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
2022-11-03 22:18:12 -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
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
dependabot[bot] caf350b62b
Bump numpy from 1.21.0 to 1.22.0 (#975)
* Bump numpy from 1.21.0 to 1.22.0

Bumps [numpy](https://github.com/numpy/numpy) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update requirements.txt

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-15 10:50:40 -07:00
dependabot[bot] 7214657278
Bump numpy from 1.17.2 to 1.21.0 (#908)
Bumps [numpy](https://github.com/numpy/numpy) from 1.17.2 to 1.21.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst.txt)
- [Commits](https://github.com/numpy/numpy/compare/v1.17.2...v1.21.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 18:39:52 -07:00
Willem Melching 79f5e6fe86
Update libusb to 2.0.1 (#816)
* update libusb

* update setup.py
2022-01-04 11:07:54 +01:00
Adeeb Shihadeh 1fc38fc165
update pre-commit hooks (#755)
* update pre-commit hooks

* Update requirements.txt

* Update .pre-commit-config.yaml

* Update rigol.py
2021-10-29 16:41:12 -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 49c7615ed3
ubuntu 16.04 -> 20.04 (#608)
* ubuntu 16.04 -> 20.04

* fix pip

* think pyenv installs this

* bump python

* non interactive

* fix pyenv install

* python serial

* bump cffi

* fix index log build

* logreader dependency
2020-10-23 23:14:58 -07:00
martinl 32199b2e49
Replace pycrypto with pycryptodome (#581)
* replace pycrypto with pycryptodome

* replace all instances with pycryptodome
2020-08-05 12:58:43 -07:00
Willem Melching b8267341a1
Add pre commit checks + CI (#545)
* Add pre commit checks

* untested but should work

* fix typo in dockerfile

* add sqlite

* add pylintrc to ignore usb1 members

* Typo in stage name

* Move to requirements
2020-05-29 11:52:03 -07:00
Jason Young 598074c192
Volkswagen safety updates: Phase 2 (#445)
* CRC and counter checks, standstill/brake checks

* Clean up a tsk_06 that snuck through

* Be consistent about how we call _msg_esp_05

* Reduce scope: haunted by the ghost of MISRA future

* Improved check/test for in-motion braking

* MISRA styling fix
2020-02-20 13:57:07 -08:00
Riccardo 1b004a18e9 Same flake8 version as the one in openpilot 2019-12-03 11:40:31 -08:00
Riccardo e82ba5f2e0 Same pylint version as the one in openpilot 2019-12-03 11:39:45 -08:00
Riccardo 7434c5ce28 centralize requirements for tests 2019-10-15 14:21:33 -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
George Hotz 7e47cd72b9 make flashing over SPI work 2017-04-28 19:32:09 -07:00
George Hotz 0550e87492 add pycrypto to requirements 2017-04-25 20:42:32 -07:00
George Hotz 52856e28d1 add requirements.txt 2017-04-06 18:25:53 -07:00