Commit Graph

99 Commits (spacecruft)

Author SHA1 Message Date
Adeeb Shihadeh 7e632900e5
cleanup car tests (#20562)
* cleanup test_car_models

* don't fail on that
2021-04-01 16:46:08 -07:00
Adeeb Shihadeh cfe4cea2c9
test build script in CI (#20482) 2021-03-25 20:22:59 -07:00
ZwX1616 65bb979c34
set_exposure_target test (#20318)
* build

* remove junk

* clean up

* clean up rebase

* new patterns

* add gts

* add to jenkis

* this more useful

* typo

* test only

* Update Jenkinsfile

* test flag

* remove from jenkins

* these should all just be common:wq

* oops

* unigt

* add to unit tests?

* build all is fine

Co-authored-by: Comma Device <device@comma.ai>
2021-03-12 17:40:50 -08:00
iejMac 539426033b
Move simulator CI to tools workflow (#20285)
* sim CI

* simulator CI

* scons already in Dockerfile.sim

* faster

* fast

* testing
2021-03-08 21:33:15 -08:00
Adeeb Shihadeh 7921759bbe
scons cache in CI (#20197)
* scons cache in ci

* clean up cache

* fix cleanup step

* non fixed key

* quote
2021-02-28 15:50:20 -08:00
Adeeb Shihadeh 9288031e6f CI: fix webcam cache 2021-02-27 21:54:34 -08:00
iejMac 9144dd7c2f
PlotJuggler CI with build from source (#20166)
* CI attempt

* fixing location

* fix

* fixes

* hardcode test_url for CI

* fixes

* cd fix

* Update tools/plotjuggler/juggle.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update tools/plotjuggler/test_plotjuggler.py

* fixes

* fixes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-02-26 17:14:37 -08:00
Adeeb Shihadeh c747654f05 add car bug report template 2021-02-20 19:03:00 -08:00
Adeeb Shihadeh 9ceb117591
fix prebuilt docker build (#20123)
* try this

* back to the schedule
2021-02-20 16:33:58 -08:00
Adeeb Shihadeh d1b44bbb34
tools: cleanup + setup CI (#20104)
* cleanup tools

* setup tools CI

* loggerd doesn't support this anymore

* cleanup

* builds with openpilot now
2021-02-17 20:37:01 -08:00
Willem Melching e9c4a75a5c
Remove dockerhub references from CI (#20038)
* cache from base image

* specify github repo
2021-02-08 11:53:47 +01:00
Adeeb Shihadeh afa1e69bc1
faster webcam CI (#19975)
* don't copy in openpilot

* need that

* try this

* reenable the condition
2021-01-30 17:56:54 -08:00
Adeeb Shihadeh a08360c4d0
build openpilot prebuilt on schedule (#19847)
* build openpilot prebuilt on schedule

* test

* back to schedule

* rename
2021-01-19 21:16:06 -08:00
Adeeb Shihadeh c75b84e596 remove docker prebuilt CI job 2021-01-19 20:02:08 -08:00
Willem Melching 667390701f
Fix macOS CI (#19822)
* does this fix the hash

* this is not the solution

* restore key doesnt work
2021-01-18 15:08:11 +01:00
Willem Melching 278a838231
Fix macOS CI (#19646)
* fix macOS ci

* no partial matches

* Change key
2021-01-04 21:34:23 +01:00
Adeeb Shihadeh 330f34bd0d cleanup mac build CI job 2021-01-03 12:39:31 -08:00
Mayfield cbc25cc0f1
Make macos ci homebrew dep-caching fast (#19632)
* try out /usr/local for homebrew caching

* TEMP: disable non-macos jobs

* TEMP: disable more

* sizes

* temp: nothing change

* more

* try -1

* quotes

* delete existing downloads

* fix ~ expansion

* nothing

* try caching cellar

* move to yaml

* nothing

* nothing

* asdf

* nothing

* fixed cache key

* nothing

* stay in home dir

* keep zstd

* brew link

* fix cleaning?

* brew link in yaml

* fix zstd exclusion

* capnp

* revert mac_setup

* finish up

* done
2021-01-03 12:33:42 -08:00
Adeeb Shihadeh 59d7c5e64a
move to github container registry + CI speedup (#19621) 2020-12-31 14:57:01 -08:00
Willem Melching 665f27e777 On status still triggers recursive builds
This reverts commit bd4b731e4e.
2020-11-25 14:22:44 +01:00
Willem Melching bd4b731e4e add back run on status 2020-11-25 13:52:42 +01:00
Adeeb Shihadeh cc1bca542d
update simulator to ubuntu 20.04 (#2463)
* fix sim build in 20.04

* run ci

* fix docker build

* restore ci cofnig

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-11-18 13:10:37 -08:00
Adeeb Shihadeh 818bd8a591 trim trailing whitespace 2020-11-05 14:11:41 -08:00
Adeeb Shihadeh 719c5e3598
ubuntu 16.04 -> 20.04 (#2378) 2020-10-29 16:51:09 -07:00
Adeeb Shihadeh 99029cda01 don't fail CI if artifacts don't upload 2020-10-20 15:29:15 -07:00
Adeeb Shihadeh cdf812de1e no CI on testing closet branches 2020-10-19 16:40:30 -07:00
Adeeb Shihadeh f4e18e0b74
Build openpilot with webcam support in CI (#2070) 2020-10-16 15:16:17 -07:00
Willem Melching 1b3f37d0cb change macos cache policy and fix typo 2020-10-13 16:55:46 +02:00
Willem Melching 4210ce24cf remove on status 2020-10-13 15:55:06 +02:00
grekiki fc1d01be81
add caching to CI tests (#2269)
* first caching attempt

* caching attempt

* caching attempt

* caching attempt

* caching attempt

* caching attempt

* dump logs

* does this work?

* Create cache folder

* Print folder contents

* Fix volume mount

* Update test.yaml

* add removed tests

* reduce diff

* reduce diff

* reduce diff

* reduce diff

* reduce diff

* readd coverage upload

* Update test.yaml

* add more caching

* Use hash of test file to compute cache key

* add cache to valgrind tests

* Update .github/workflows/test.yaml

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update .github/workflows/test.yaml

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Also hash workflow yaml

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-10-13 15:38:13 +02:00
Willem Melching 6bded95c90 Build sim container once an hour 2020-10-12 15:14:03 +02:00
Willem Melching f258366e0c
Try only extracting python folder (#2321) 2020-10-12 13:37:01 +02:00
grekiki a09fd7c860
CI: Add valgrind (#2245)
* prepare a test for valgrind by fixing linter issues

* something went wrong

* Try update cereal

* Not working, fixing replay_learning.py

* Testing

* Testing

* Working now

* More logs, a bit of cleaning, still no idea how this works

* Ok got 10% cleaning done

* trying some stackOverflow code

* Lots of cleaning

* wip

* Delete valgrind_testing.py

* Delete replay_learning.py

* Add to CI, cannot fail though

* Add to CI, cannot fail though

* Now the unit test should fail

* Dump valgrind output in case of a failure

* fix subrepos

* fix subs

* hopefully fixes every issue that we have

* wait for message confirmation

* Revert "wait for message confirmation"

This reverts commit ad7ba280ec6536015ac1a442c9732bfe42fd5664.

* fix local issues

* Revert "fix local issues"

This reverts commit 4498df21df471fa6e9360d50407eaefdf24ae69f.

* attempt 3 to fix things

* untested function extraction

* refactor

* add valgrind task

* add delay and BASEDIR

* Make test not fail, it is not designed for that

* fix subrepositories

* fix tests

* Real fix now :)

* scons

* ... stupid CI

* fix valgrind CI

* Update test.yaml

* Update test.yaml

* Update test.yaml

* add valgrind logs as file

* remove delays

* kill process more reliably

* rename action

* small cleanup

* fix casting to int in case of large leaks

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-10-05 16:09:32 +02:00
Willem Melching 8e0bb6a7ce
Fix MacOS CI (#2145)
* compile flag for cython

* fix more setups

* bump cereal

* reenable mac build

* don't let that fail the build

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-04 15:03:20 -07:00
Adeeb Shihadeh 562cde2022 this sounds better 2020-09-28 13:48:09 -07:00
Adeeb Shihadeh 6101951dc4 no more question issue type, we have discussions 2020-09-28 13:43:46 -07:00
Willem Melching bacc387ee6 disable CI simulator container build until fixed 2020-09-16 13:31:29 +02:00
Adeeb Shihadeh 54eb160e15
remove schedule-triggered CI workflow (#2178) 2020-09-15 21:48:27 -07:00
Adeeb Shihadeh 4cbf965165
fix simulator CI (#2159)
* pull image for cache

* typo

* cleanup dockerfile

* typo

* add pr trigger

* colon?
2020-09-12 14:31:20 -07:00
Willem Melching c68d0ef468 add repo check to sim ci build 2020-09-10 12:20:49 +02:00
Willem Melching dbb11d64c9 only build sim container on schedule 2020-09-10 12:15:45 +02:00
Vivek Aithal c5dfbe7a72
dockerize carla + openpilot (#2011)
* dockerize carla + openpilot

* separate dockerfile

* bring back CI dockerfile

* cleanup bridge

* add op docker build and start script

* build container in CI

* fix camerad hack

* remove most magic numbers from bridge.py

* openpilot-sim docker build and run scripts

* fix dmonitoring hacks

* revert controlsd hacks

* clean up build scripts

* singular

* fix path

* fix image name

* modify sim readme

* sim readme and start script changes

* dockerfile with working opengl

* working opengl + passing panda build_st in docker

* fix bug in sim docker file

* bugfix sim docker file

* bugfix all op-sim docker issues

* modify readme + run script

* IT DRIVES

* clean this up

* more cleanup

* cleanup docker stuff

* more cleanup

* start with openpilot-base

* install carla python package

* Script is not in lib

* chmod

* everything should be running in docker now, the code may not be nice though

* works locally...

* rhdChecked is deprecated

* Checkout using git lfs when building sim container

* try to pass the tests

* pull latest docker

* gps should not throw an error on openpilot launch in bridge.py

* fixed a coding style error

* Only start ubloxd in car

* fixed more style problems

* revert typo

* Use enviromental variable to prevent errors in a simulator

* Remove unused import

* Attempt to fix missing enviromental variable

* fix typo

* less work for users, auto tmux engagement

* less work for users, auto tmux engagement

* fix check for nvidia

* clean up nvidia check

* remove typo, shorted dockerfile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Bruce Wayne <batman@workstation-eu-gregor.eu.local>
Co-authored-by: Gregor Kikelj <gregor1234567890@gmail.com>
2020-09-10 12:14:49 +02:00
Adeeb Shihadeh 847fc1fefe temporarily disable mac build 2020-09-09 12:15:31 -07:00
Adeeb Shihadeh 9a9e829ce4 increase timeout on mac CI build 2020-08-27 13:15:20 -07:00
Willem Melching 39c7dc2072 fix prebuilt container 2020-08-24 14:43:24 +02:00
Adeeb Shihadeh a3f5643019
split dockerfile into base image and CI image (#2066)
* split dockerfile into base image and CI

* doesn't exist yet

* fix path

* cache on this branch

* latest

* use cache

* don't double pull
2020-08-23 18:18:19 -07:00
robbederks 7555379b2b
Car power integrator + power management refactor (#1994)
* wip, ready to test

* tweaks

* fix

* fix

* fix power monitoring

* fix param writing

* no forced charging on high voltage

* reset capacity on reboot

* don't shutdown unless started seen

* fix unused var warning

* fix linting errors

* time is always valid

* QCOM gate

* Local params

* decimate saving

* fix linting

* rename param

* Log car battery capacity

* fix put_nonblocking

* Added some unit tests

* Add test to docker test list

* fix precommit

* cleanup

* run tests in CI

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-17 11:56:27 +02:00
Adeeb Shihadeh c450110f96
Build openpilot on mac in CI (#1792)
* build on mac in CI

* coreutils

* python stuff

* pipenv

* newer clang

* init pyenv

* verbose

* init pyenv

* install eigen

* ffmpeg

* sdl

* libav

* libtool

* glfw

* add pipfile as cache key

* test cache

* fix cache path

* brew link

* update tools readme

* don't cache on pipfile

* skip python install if installed

* unlink

* simpler cachingm

* here's your key

* cache pip too

* cache pyenv
2020-08-10 00:44:24 -07:00
Adeeb Shihadeh d6288c1bb9
can't do nested html comments 2020-08-09 15:17:44 -07:00
Adeeb Shihadeh 5bd20dbe38 default pull request template 2020-08-09 15:06:47 -07:00