Commit Graph

87 Commits

Author SHA1 Message Date
Adeeb Shihadeh
2229d4b02b jenkins: kill potentially leftover processes (#24078)
* jenkins: kill potentially leftover processes

* cleaner

* oops

* escape

* might already be dead
old-commit-hash: d14791525d
2022-03-30 15:43:47 -07:00
Adeeb Shihadeh
31cfc1b3bb Revert "disable until dos can be reflashed"
This reverts commit cc7114a516027639118040c7fd9b266d93f8bee5.

old-commit-hash: 2a0307a8cb
2022-02-11 11:45:22 -08:00
Adeeb Shihadeh
fac7291323 disable until dos can be reflashed
old-commit-hash: f231caf1e3
2022-02-10 20:31:02 -08:00
Adeeb Shihadeh
de54dd20ec jenkins: improve overall robustness (#23117)
* test onroad: more reliable log finding

* Update selfdrive/test/test_onroad.py

* write continue.sh in device setup

* clone

* try different delimeter

* try this instead

* fix keys path

* executable

* remove orphaned lock
old-commit-hash: 7c291a1b39
2021-12-04 21:07:57 -08:00
Adeeb Shihadeh
6828b2f01a jenkins: make agent per-stage
old-commit-hash: 077ec6725a
2021-11-30 22:18:43 -08:00
Adeeb Shihadeh
63bb9e9dc4 jenkins: build releases in parallel (#23070)
old-commit-hash: 700b1bcce7
2021-11-29 22:57:13 -08:00
ZwX1616
97175e78a1 test: Replay both models on C2/C3 (#23019)
* add dcam stream

* delete model_test

* both in jenkins

* update spinner

* get filename fn

* they are not random names

* update route

* new ref commit

* temporarily resize tmp

* clean up unlog send

* need calib 0

* revert device

* cleanup

* arg

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1ec8f03ec6
2021-11-24 15:59:19 -08:00
Adeeb Shihadeh
44568de155 faster jenkins (#22973)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e13630dfee
2021-11-18 23:43:09 -08:00
Adeeb Shihadeh
24e2912b4b jenkins: decrease timeout once tests start running
old-commit-hash: 31031a723c
2021-11-15 17:34:16 -08:00
Igor Biletskyy
26a994f2be Add test_boardd_loopback to Tici tests (#22804)
old-commit-hash: 6dec145e7f
2021-11-05 14:31:13 -07:00
Adeeb Shihadeh
a7ed7b7375 jenkins: run build_release.sh from source dir
old-commit-hash: 1e1f948c0c
2021-10-27 12:28:01 -07:00
Adeeb Shihadeh
997f3f0212 run onroad tests on release build (#22700)
* check startup aelrt

* release decorator

* run in jenkins

* run onroad tests

* no push

* fix release2 build

* fix path

* no overwrite

* single release build script

* make files_eon non empty

* files

* run in source

* add that for now

* print

* ignore initialzing

* print

* fetch

* run tests last

* check alert text

* revert some stuff

* fixup jenkinsfile

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7feae28705
2021-10-26 23:50:05 -07:00
Adeeb Shihadeh
c9ebc1c442 move nose tests to unittest (#22665)
* move to unittest

* boardd loopback

* no more nose

* phone only

* fix panda decorator
old-commit-hash: b5960b9dc8
2021-10-25 09:44:04 -07:00
Adeeb Shihadeh
3eb81e18ef reenable eon camerad test (#22668)
old-commit-hash: 31175a2fb2
2021-10-22 23:21:40 -07:00
Adeeb Shihadeh
ad96d0d130 move athena tests to github actions (#22475)
* move athena tests to actions

* run

* fix timeout
old-commit-hash: de7a9e0116
2021-10-07 13:22:14 -07:00
Willem Melching
efd535c88b Disable jenkins camerad test until device is fixed
old-commit-hash: b60fb46be6
2021-09-18 10:56:20 -07:00
Adeeb Shihadeh
9193e1afa1 Unify neos/agnos updaters (#22109)
* start moving neos updater

* downloading

* ui

* move recovery

* resuming

* add verification

* fix up launch

* test

* update updater

* fix mypy

* fake updater

* review suggestions

* more tests

* abc

* update bin

* raise

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b3705ede5e
2021-09-10 17:03:54 -07:00
Adeeb Shihadeh
619103a356 Revert "disable tici camerad test while device is down for maintenance"
This reverts commit fd97e588bcf9d361ce9ff3a355bf8cab8ae641b0.

old-commit-hash: 92cf5264ce
2021-08-30 15:08:16 -07:00
Adeeb Shihadeh
e306611224 disable tici camerad test while device is down for maintenance
old-commit-hash: 6b1119274b
2021-08-30 00:16:43 -07:00
Adeeb Shihadeh
4da8cf4f31 athena: hardcode jwt for tests
old-commit-hash: 7e3d002066
2021-08-19 14:19:14 -07:00
Adeeb Shihadeh
baec214e45 build release3 in CI (#21772)
* ci pushes this now

* fix path

* cd

* push
old-commit-hash: 9ad935644b
2021-07-28 22:19:30 -07:00
Adeeb Shihadeh
6eea281a19 soundd (#21619)
* refactor alerts

* doesn't go here anymore

* soudd

* handle controls unresponsive

* same check

* fix path

* update sound test

* nice

* fix c2

* add script

* update tests

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 12948e661a
2021-07-16 17:30:00 -07:00
Adeeb Shihadeh
ff4c816abd update release build (#21482)
* update master-ci

* move to /data

* fix tests

* fix source dir

* prune

* trailing slash

* compile
old-commit-hash: 3a51a5c0f0
2021-07-04 20:26:38 -07:00
Adeeb Shihadeh
19bc1b7397 fast jenkins (#21472)
* speed up setup

* speedup onroad test

* .git doesn't like inplace

* tici2

* no inplace

* revert

* fix

* that one too
old-commit-hash: 0bfd994f73
2021-07-02 16:29:57 -07:00
Adeeb Shihadeh
28ba13acd2 increase jenkins timeout
old-commit-hash: cacdbea658
2021-06-03 19:20:42 -07:00
Adeeb Shihadeh
fb62002e92 use scons cache by default (#21102)
* always use scons cache

* cleanup
old-commit-hash: a0dabd94e9
2021-06-01 17:12:32 -07:00
Adeeb Shihadeh
c7c49e8e35 fix up model tests + tools (#21071)
* unlogger: send yuv stream

* fix up model test tools

* fix unlogger

* rename model replay

* bump cereal

* test in actions

* no ci for now
old-commit-hash: cf6d133638
2021-05-28 23:08:08 -07:00
Adeeb Shihadeh
9b9a9c1c2c no jenkins on hotfix branches
old-commit-hash: 4970e2fba3
2021-05-27 15:03:23 -07:00
Adeeb Shihadeh
ef2d27edb2 use build.py in jenkins
old-commit-hash: b79ec74483
2021-05-24 19:52:54 -07:00
Adeeb Shihadeh
d10ae3f077 reenable exposure tests
old-commit-hash: e10007d2e8
2021-05-18 12:07:48 -07:00
Willem Melching
70a7e48fcb increase Jenkins timeout
old-commit-hash: 5bfe51aeb1
2021-05-18 15:38:23 +02:00
Willem Melching
c5c1225a7d disable other exposure test
old-commit-hash: 39c6ea6d7c
2021-05-18 14:16:37 +02:00
Willem Melching
09e69fd8f6 disable exposure test
old-commit-hash: 5ab6ab3413
2021-05-18 12:15:08 +02:00
Willem Melching
dec3b1c58a j16 -> j8
old-commit-hash: b749ba4fe2
2021-05-17 16:13:53 +02:00
Adeeb Shihadeh
9a3cb26a57 raise jenkins timeout
old-commit-hash: 6075683474
2021-05-03 21:53:28 -07:00
robbederks
5cd4a9ba36 Zookeeper support (#20000)
* zookeeper lib

* add ft4222 to dev pip packages and fix include error

* started on CI

* it's a file

* now it should be happy

* use docker for all on-device tests

* test scripts

* does this work?

* access to devices

* too broad. only usb enough?

* permissions for zookeeper usb

* as env var maybe?

* this?

* try this for now

* all devices

* move to correct location for impoerts

* right paths

* not running in the right agent?

* ofc not

* fix broken merge

* add ft4222 package again

* add timeout

* power monitor

* cleanup

Co-authored-by: Batman <batman@openpilot-ci.internal>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6a824d7651
2021-04-13 15:08:00 -07:00
Adeeb Shihadeh
4561ff3a34 fix master-ci typo
old-commit-hash: 4e06665f55
2021-04-11 20:29:46 -07:00
Adeeb Shihadeh
998ccacd70 more tici CI coverage (#20639)
* run onroad test in tici

* run in jenkins

* no /data/media

* doesn't exists there yet

* more updates

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 01dc011f9f
2021-04-11 15:56:17 -07:00
Adeeb Shihadeh
6387e8da63 wait for all jenkins tests before pushing master-ci (#20462)
* test on devel build

* fix athena test

* onroad test

* more of a unit test

* use scons cache

* script

* wait for all tests before pushing

* undo that

* add to release files

* onroad

* copy test files
old-commit-hash: 1858c696f2
2021-04-11 15:05:14 -07:00
ZwX1616
f9a37f647f Revert "jenkins device maintenance"
This reverts commit 5088b6c2573962559ff114a70a278da24c34a4f6.

old-commit-hash: dd8f9a7263
2021-03-31 16:48:10 -07:00
ZwX1616
32b224662a jenkins device maintenance
old-commit-hash: e8d0d48039
2021-03-30 18:41:32 -07:00
ZwX1616
40b1877c04 camerad jenkins box test (#20413)
* separate test

* send

* update test

* snapshot is rgb

* this does not belong here

* clean up

* tici

* no if

* no black frames

* flaky leds

* rename and cleanup

* should be stable and avoid lucky pass

* print

* logical and

* run in jenkins

* source profile on tici

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 97133a8fac
2021-03-26 13:23:18 -07:00
Adeeb Shihadeh
51c13aa552 APK purge (#20446)
* purge begins

* release files

* remove those

* no more android

* only qt

* text and spinner

* neos update script

* update sounds

* update cpu usage

* all done

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e76c80ffa1
2021-03-24 14:30:41 -07:00
Adeeb Shihadeh
5f00564755 auotmatic jenkins setup (#20448)
* auotmatic jenkins setup

* fix quote

* ne wkey
old-commit-hash: 7aade3db43
2021-03-23 17:46:53 -07:00
Willem Melching
c0098cec09 Manager cleanup (#20231)
* move manager in folder

* inital refactor

* call start

* small cleanup

* add comments

* use self.signal()

* order shouldnt matter

* newlines

* add helpers

* newlines

* add process config

* split out build part of manager

* this should fix most tests

* no sensord on pc

* dont start athena

* remove comment

* fix old athena test

* fix inject model

* fix test car models

* should be not none

* fix helpers exitcode

* ignore manage_athenad

* Use time.monotonic()

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

* combine init, remove spinner

* move manager test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a3b511306
2021-03-05 11:03:23 +01:00
Adeeb Shihadeh
e2f847fc26 disable release3 build for now
old-commit-hash: c33a0d54ac
2021-02-09 17:32:16 -08:00
Adeeb Shihadeh
8de51bbd65 fix failing CI jobs
old-commit-hash: 46c0e0e6f3
2021-02-09 13:59:34 -08:00
Comma Device
1acdd80998 split the build and test running
old-commit-hash: 8f84f19062
2021-02-01 20:35:37 -08:00
Adeeb Shihadeh
88566ec71c logcatd bugfix + tests (#19689)
* hack to exit cleanly

* move the hack

* add test

* run in ci

* unused

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 49d4d58201
2021-02-01 15:15:29 -08:00
Adeeb Shihadeh
162e363c02 build release3 (#19984)
* build release3

* copy agnos manifest

* build in jenkins

* nproc doesn't work

* no pandaextra

* revert that

* don't modify version from source

* build after tests

* restore the symlink

* only master

* remove apk

* revert that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a712a4bd9c
2021-01-31 18:49:34 -08:00