Commit Graph

73 Commits

Author SHA1 Message Date
Adeeb Shihadeh ad96d0d130 move athena tests to github actions (#22475)
* move athena tests to actions

* run

* fix timeout
old-commit-hash: de7a9e01160399228c30795769dc1ec6039cb8f4
2021-10-07 13:22:14 -07:00
Willem Melching efd535c88b Disable jenkins camerad test until device is fixed
old-commit-hash: b60fb46be69dbaa04432d15923e1eef65142eb17
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: b3705ede5e9dbc29dcf5ea02bb257a8f576a0556
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: 92cf5264cea9c91e41137f9abb2e2c5a7eaf8a61
2021-08-30 15:08:16 -07:00
Adeeb Shihadeh e306611224 disable tici camerad test while device is down for maintenance
old-commit-hash: 6b1119274bf50cddd19617561190dbb5fe182c61
2021-08-30 00:16:43 -07:00
Adeeb Shihadeh 4da8cf4f31 athena: hardcode jwt for tests
old-commit-hash: 7e3d00206697ed552f8b3ae7018dd2c879906ee2
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: 9ad935644b5116dd0d9821cc47abcaf19de393d7
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: 12948e661a6b6424739082ee614d81b4549c2753
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: 3a51a5c0f05c3274b8af7e5c2befa412156b597e
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: 0bfd994f73a73b321f0ac45e1f3f5d1e907e6962
2021-07-02 16:29:57 -07:00
Adeeb Shihadeh 28ba13acd2 increase jenkins timeout
old-commit-hash: cacdbea65804787956ee8533c1eaeb89e0d41f23
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: a0dabd94e9d04fdc772b3cb34b6cd016da29d971
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: cf6d133638caac0d974209f92be9c200cdbcbf3f
2021-05-28 23:08:08 -07:00
Adeeb Shihadeh 9b9a9c1c2c no jenkins on hotfix branches
old-commit-hash: 4970e2fba37048971e112131656d16039fab3d34
2021-05-27 15:03:23 -07:00
Adeeb Shihadeh ef2d27edb2 use build.py in jenkins
old-commit-hash: b79ec744838fa614935614f7315979438d0078e9
2021-05-24 19:52:54 -07:00
Adeeb Shihadeh d10ae3f077 reenable exposure tests
old-commit-hash: e10007d2e8f347672f6829d5750d6c00cd6e2156
2021-05-18 12:07:48 -07:00
Willem Melching 70a7e48fcb increase Jenkins timeout
old-commit-hash: 5bfe51aeb19d7123870d70af14aff77718166dd1
2021-05-18 15:38:23 +02:00
Willem Melching c5c1225a7d disable other exposure test
old-commit-hash: 39c6ea6d7cae38e772c264bfa894aaa6355af9f8
2021-05-18 14:16:37 +02:00
Willem Melching 09e69fd8f6 disable exposure test
old-commit-hash: 5ab6ab34139d9468a621a4fb233a83b7a0b23da3
2021-05-18 12:15:08 +02:00
Willem Melching dec3b1c58a j16 -> j8
old-commit-hash: b749ba4fe21fb11d803dd7d0dba58c2826ee7dc0
2021-05-17 16:13:53 +02:00
Adeeb Shihadeh 9a3cb26a57 raise jenkins timeout
old-commit-hash: 6075683474be5b8851b2f24fda6b463d83dd09d3
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: 6a824d765137e5141115e1727bcd553bd17eaaef
2021-04-13 15:08:00 -07:00
Adeeb Shihadeh 4561ff3a34 fix master-ci typo
old-commit-hash: 4e06665f55eb0f0cf169c2d654ccf52e8f14df66
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: 01dc011f9f47d86804f74a0538c6d9a7e63ae24b
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: 1858c696f23a92083ff649f65da9965f08e8f683
2021-04-11 15:05:14 -07:00
ZwX1616 f9a37f647f Revert "jenkins device maintenance"
This reverts commit 5088b6c2573962559ff114a70a278da24c34a4f6.

old-commit-hash: dd8f9a7263a9eec1eb2f8ac8b114979a8fa92bf0
2021-03-31 16:48:10 -07:00
ZwX1616 32b224662a jenkins device maintenance
old-commit-hash: e8d0d480396e380259a1baa2b62357565cb05454
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: 97133a8facf848d5fc709a0ab98ab2c26690ee19
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: e76c80ffa1b6167fd69465c66f31fbe475762330
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: 7aade3db43e1a651be0b8af76b214a691ec08884
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: 5a3b51130649356b14b24e3c82e014b3a0be95a8
2021-03-05 11:03:23 +01:00
Adeeb Shihadeh e2f847fc26 disable release3 build for now
old-commit-hash: c33a0d54ac5d0688fd0844fde633a2cfa7b2c927
2021-02-09 17:32:16 -08:00
Adeeb Shihadeh 8de51bbd65 fix failing CI jobs
old-commit-hash: 46c0e0e6f34e25cfdded9e19fdaa6abf30d8a7c2
2021-02-09 13:59:34 -08:00
Comma Device 1acdd80998 split the build and test running
old-commit-hash: 8f84f190629e5724b1eaff6c1e02b4972967ae1d
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: 49d4d5820190836d32089c3e79a2e47a02e7ce36
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: a712a4bd9c2f3b403485fa8bf7a66e0ac48fa6e5
2021-01-31 18:49:34 -08:00
ZwX1616 099a5a21e2 camerad frame lag/drop jenkins tests (#19945)
* clean up test

* not needed for now

* this be enough

* comment this out

* clean up

* adjust tolerance

* use sof on tici

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1a95127b0ef62fd744b2f9277b86d130020f5bde
2021-01-28 14:21:59 -08:00
Adeeb Shihadeh edd881fa16 more tici tests in jenkins (#19908)
* run loggerd tests on tici

* boardd loopback

* fix up seg length

* this doesn't add more coverage
old-commit-hash: 810ed30cab46baa737abcc8986ba7b2c69cad355
2021-01-24 17:54:03 -08:00
Adeeb Shihadeh 7a47f65f6c tici jenkins build (#19505)
* tici jenkins

* /usr/bin/bash

* source all

* fix model replay

* onroad tests
old-commit-hash: 8b1e51bbdd9bd8a0e7c6ee81cd0e60f8a0d48ecb
2021-01-23 18:34:18 -08:00
Adeeb Shihadeh 9e1f524965 On-device onroad CI test (#19792)
* start onroad test

* cpu usage test works

* nice print

* run in jenkins

* pretty reliable

* bump loggerd cpu usgae

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5a9769020d7031e31a7b80bfea0245a0b0fa238d
2021-01-16 18:11:53 -08:00
Adeeb Shihadeh 386ca29c6a reenable cpu usage test
old-commit-hash: def24ae27ad4cd5948731770745d5039f20ffcf2
2021-01-15 14:22:25 -08:00
Adeeb Shihadeh 2b02e086f8 build master-ci with the relase2 build device
old-commit-hash: cc2490bb1286a7fb5fecd679349708efaaafeae3
2021-01-12 16:24:34 -08:00
Adeeb Shihadeh afa522964a use scons cache for QCOM replay build in CI
old-commit-hash: 10268b66692b96888f4a63c015def5cdf884a26d
2021-01-12 16:10:18 -08:00
Adeeb Shihadeh c70fe39172 disable again for now, replay hw is down
old-commit-hash: 24ce55c2c20e94dc9be529d84cc8107101b42432
2021-01-10 21:58:09 -08:00
Adeeb Shihadeh 8a621c739d reenable cpu usage test
old-commit-hash: fa2d2a7162338229522c421242c5adbae4f7d957
2021-01-08 16:32:58 -08:00
Willem Melching 3f950832b9 VisionIPC 2.0 (#19641)
* Squashed vipc

* Update release files

* Remove else

* add visionipc to release files

* use poller in vipc receive

* opencl framework instead of lib on macos

* Fix camera webcam

* Fix opencl on mac in ui

* more webcam fixes

* typo in ui sconsfile

* Use cur_yuv_buf

* visionbuf c++ class

* Camera qcom was still using visionbuf_allocate

* Turn loggerd back on

* fix snapshot

* No build needed

* update test camerad

* no more release callback

* make encoder c++

* Revert "no more release callback"

This reverts commit e5707b07002fee665d0483d90713154efc2d70d4.

* fix exit handlers

* No need to check errno

* move release callback call

* s/VIPCBufExtra/VisionIpcBufExtra/g

* use non blocking connect

* ui use non blocking connect

* Lower condition variable wait time

* Snapshot cleanup

* bump cereal

* bump cereal
old-commit-hash: fb496c692a9ebdcda15069a8d4eb95734b587d68
2021-01-08 14:54:25 +01:00
Adeeb Shihadeh 0d895ad82a loggerd tests (#19671)
old-commit-hash: af81190cfcf96201f59b0461cc3fdd80cf8651a3
2021-01-06 19:18:35 -08:00
Adeeb Shihadeh 1362886a60 disable cpu usage test until CAN replay hw is fixed
old-commit-hash: a01a2ecc2411751a21cbf426f8256d09de9ae7f5
2020-12-31 15:01:38 -08:00
Adeeb Shihadeh 5bbe4f3d52 manager tests + make all processes exit cleanly (#19595)
* manager tests

* logcatd exits cleanly

* sigint

* boardd

* multiple dbus connections hangs for some reason

* clocksd proclogd

* network type from thermal

* fix tests

* fix android logcatd

* fix mac

* fix mac proclogd

* move on device athena tests

* build first

* build first

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ffa7e0cbdb0859751685caae1321d3ccf732fed9
2020-12-29 22:32:03 -08:00
Adeeb Shihadeh c4bff3f93b manager cleanup (#2634)
* start cleanup

* add uninstall to hw abstraction layer

* cleanup

* litte more

* don't build at import time

* fix tests

* don't build by default

* sync
old-commit-hash: 220853730d1d3163f5534ed5fd31ec5c30ad129f
2020-12-17 11:45:41 -08:00