Commit Graph

239 Commits

Author SHA1 Message Date
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
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: 1a95127b0e
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: 810ed30cab
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: 8b1e51bbdd
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: 5a9769020d
2021-01-16 18:11:53 -08:00
Adeeb Shihadeh 386ca29c6a reenable cpu usage test
old-commit-hash: def24ae27a
2021-01-15 14:22:25 -08:00
Adeeb Shihadeh 2b02e086f8 build master-ci with the relase2 build device
old-commit-hash: cc2490bb12
2021-01-12 16:24:34 -08:00
Adeeb Shihadeh afa522964a use scons cache for QCOM replay build in CI
old-commit-hash: 10268b6669
2021-01-12 16:10:18 -08:00
Adeeb Shihadeh c70fe39172 disable again for now, replay hw is down
old-commit-hash: 24ce55c2c2
2021-01-10 21:58:09 -08:00
Adeeb Shihadeh 8a621c739d reenable cpu usage test
old-commit-hash: fa2d2a7162
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: fb496c692a
2021-01-08 14:54:25 +01:00
Adeeb Shihadeh 0d895ad82a loggerd tests (#19671)
old-commit-hash: af81190cfc
2021-01-06 19:18:35 -08:00
Adeeb Shihadeh 1362886a60 disable cpu usage test until CAN replay hw is fixed
old-commit-hash: a01a2ecc24
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: ffa7e0cbdb
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: 220853730d
2020-12-17 11:45:41 -08:00
Willem Melching 6e6410cd65 Jenkins: 1 hour pipeline timeout
old-commit-hash: 9e919fb5e0
2020-10-15 19:16:28 +02:00
ZwX1616 a54d95fdbb Test camerad in CI (#2297)
* remove unused junk

* check frame pkts

* from magic

* self

* cleanup

* add todo

* no opencv

* run in J

* fix conv

* make 250x faster

* abs

* should be +1

* depends on starting phase

* block on furniture refactor

* fixed

* restart test

* check ex

* need scaling
old-commit-hash: cb58e79ee8
2020-10-09 16:31:25 -07:00
Adeeb Shihadeh 27b7daec32 don't run jenkins on testing closet branches
old-commit-hash: 4422d0c8a8
2020-10-07 15:51:59 -07:00
Adeeb Shihadeh 0184a43999 run loggerd tests in CI (#2241)
* run loggerd tests in jenkins

* fast

* check segs on the fly

* missing import

* wait for dir

* no thread

* relax FILE_SIZE_TOLERANCE

* cleanup

* unused

* set ci flag

* wait longer for first seg

* fix race condition with setting RecordFront

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 427d4a5a9e
2020-10-01 18:42:43 -07:00
Adeeb Shihadeh 25400f9456 jenkins: clean workspace (#2248)
old-commit-hash: 846b56831f
2020-09-29 22:14:54 -07:00
Adeeb Shihadeh 993b6b43ac 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
old-commit-hash: a3f5643019
2020-08-23 18:18:19 -07:00
Adeeb Shihadeh 32be24d601 add missing agent for jenkins job
old-commit-hash: 100f2958fc
2020-08-12 12:47:32 -07:00
Adeeb Shihadeh c2b1d97b20 NEOS background updater (#1892)
old-commit-hash: cb5a2996e7
2020-08-12 11:39:21 -07:00
Adeeb Shihadeh 072f8bd84d Test standalone binary builds in CI (#2008)
* test updater, spinner, and text window build in CI

* we dont ship the libs for updater in release branches
old-commit-hash: 1f4714ba98
2020-08-10 21:52:26 -07:00
Adeeb Shihadeh 37f8ca00aa Improve CPU usage test reliability (#2002)
* run phone tests in parallel

* better cpu test

* re-enable test

* no root

* terms version

* not one

* yes

* debug

* that's coverd by min cpu percent
old-commit-hash: ecf0a8c8d4
2020-08-08 20:59:32 -07:00
Adeeb Shihadeh ff65bef323 Setup PC testing in Jenkins (#1984)
* build openpilot docker container in jenkins

* use cache

* run all stages in parallel

* move device tests

* wrap in stages

* it's docker

* doesn't work, but jenkins should cache the image

* steps

* disable phone tests for now

* we're root

* enable everything

* clean up our mess

* skip checkout

* need a plugin for that

* remove that

* parallel

* Revert "parallel"

This reverts commit e3e5af9dc9.

* this is ugly

* Revert "this is ugly"

This reverts commit e839959352.
old-commit-hash: 90d5383354
2020-08-05 20:21:04 -07:00
Adeeb Shihadeh 011c336047 Improve on-device CI reliability (#1922)
old-commit-hash: 90fc1c6028
2020-07-25 02:12:19 -07:00
Adeeb Shihadeh bda90d828e increase Jenkins timeout, clean builds take a long time
old-commit-hash: 63ab7930de
2020-07-09 10:43:19 -07:00
Adeeb Shihadeh b38c33cc47 Boardd loopback test (#1840)
* start boardd loopback test

* let's try this in CI

* fix jenkinsfile

* remove old

* rename

* check msgs

* should be reliable now

* send more
old-commit-hash: 3ab0b49656
2020-07-08 19:42:03 -07:00
Adeeb Shihadeh 617c6fa84c use special 'eon-build' device for release build
old-commit-hash: 65d800c4f5
2020-07-07 16:41:04 -07:00
Adeeb Shihadeh 44afc4ae3c Build release2 and dashcam in CI (#1834)
* start building release2 in CI

* build script

* bring over changes from test branch

* fix build release test

* remove references to test branches

* ucnomment push

* fix duplicate remove

* two commits for dashcam

* need the key
old-commit-hash: c715661656
2020-07-07 14:17:09 -07:00
Adeeb Shihadeh 0d79150606 Sound test (#1820)
* WIP sound test

* it does something

* refactor

* phone only

* update release files

* test sound card init

* add to CI

* check writes

* increase time

* unused

* only build cereal

* small tolerance

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f1afb3e3ae
2020-07-05 17:56:24 -07:00
Adeeb Shihadeh de457fddc2 On-device CI framework (#1784)
* let's see if this works

* fix build_release actions job

* does jenkins like this config

* separate jenkinsfile for release build

* fix devel build

* devel build should work

* always pass that for now

* run modeld replay

* release2 build will be a separate PR

* pass env to phone shell

* force checkout

* run on real jenkins eons

* add timeout

* rsync

* more timeout

* trailing slash

* fix branch detection

* debug

* not sure why paramiko doesn't pass it through

* newline

* CI_PUSH

* still not passing it

* test branch

* should be good now
old-commit-hash: 32f03ec8a5
2020-07-03 19:12:05 -07:00
Willem Melching ce6dd8d4e9 Model + camerad test (#1622)
* kind of works

* move that

* hack to get camerad to reliably terminate

* not sure why SIGTERM wasn't working before

* compare bytes

* clean up some hacks

* gitignore

* fix that

* WIP

* no reboot

* comparison works

* pretty print

* fix build

* run in jenkins

* python path

* space

* raise timeout

* new eon

* skip the copy

* spinner

* spin less

* update model ref commit

* reenable that

* clean up

* fix jenkinsfile

* parallel

* wrap it in a stage

* fix linter

* better progress

* lower timeout

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 63c8e8439b
2020-06-04 18:57:25 -07:00
Willem Melching b80ad41680 Re enable athenad test (#1058)
* Renable athena test

* debug

* Revert "debug"

This reverts commit 30f68055f8.

* Specify correct pythonpath for tests

Co-authored-by: Andy <andyh2@me.com>

old-commit-hash: 960b42c523
2020-02-11 19:26:34 -08:00
Willem Melching 6a6a1fbbab Jenkins pipeline to create master-ci (#1019)
* Added Jenkinsfile

* Added Jenkinsfile

* Added Jenkinsfile

* change order

* sudo

* whoami?

* Added Jenkinsfile

* install git

* Untested build scripts

* Add lockable resource

* Fix syntax

* Only one stage

* fix target dir

* Use deploy key

* noqa on test_openpilot

* Fix version.h path

* Cleanup release files

* Add linter scripts to release

* Update jenkinsfile

* Fix path

* this should work

* Use python3 docker container

* Run in correct directory

* Setup /data/pythonpath

Co-authored-by: commaci-public <60409688+commaci-public@users.noreply.github.com>

old-commit-hash: 0319861700
2020-01-30 13:06:45 -08:00
Willem Melching a7223b9d82 cleanup and make linting part of ci work
old-commit-hash: 7f813d23ce
2020-01-17 13:03:44 -08:00
George Hotz 06c6ee312b root directory non hidden files
old-commit-hash: 012535a84e
2020-01-17 10:22:00 -08:00