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: 63c8e8439b6d19020055f922340d8e33d906363a
This commit is contained in:
Willem Melching
2020-06-04 18:57:25 -07:00
committed by GitHub
parent 3d848e0d9e
commit ce6dd8d4e9
18 changed files with 271 additions and 54 deletions
+5 -1
View File
@@ -1,11 +1,15 @@
import json
import os
from common.android import ANDROID
from common.file_helpers import mkdirs_exists_ok
class MissingAuthConfigError(Exception):
pass
CONFIG_DIR = os.path.expanduser('~/.comma')
if ANDROID:
CONFIG_DIR = "/tmp/.comma"
else:
CONFIG_DIR = os.path.expanduser('~/.comma')
mkdirs_exists_ok(CONFIG_DIR)
def get_token():