From 3ac6adc39308a266de784d00c34d278fe80a0df3 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Mon, 1 Jun 2020 18:57:04 -0700 Subject: [PATCH] Turn Jenkins CPU test back on (#1617) * run cpu test again * Update cpu values * Locationd can be more too * Give some updater allowance * Just remove updated old-commit-hash: b042ac034e539df09a7040dd4f28b2afc2429f55 --- common/manager_helpers.py | 9 ++++----- release/build_devel.sh | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/common/manager_helpers.py b/common/manager_helpers.py index e2a88b4f90..5f1c859648 100644 --- a/common/manager_helpers.py +++ b/common/manager_helpers.py @@ -6,28 +6,27 @@ def print_cpu_usage(first_proc, last_proc): r = 0 procs = [ ("selfdrive.controls.controlsd", 59.46), - ("./_modeld", 6.75), + ("./_modeld", 12.74), ("./loggerd", 28.49), ("selfdrive.controls.plannerd", 19.77), ("selfdrive.controls.radard", 9.54), ("./_ui", 9.54), ("./camerad", 7.07), - ("selfdrive.locationd.locationd", 27.46), - ("selfdrive.locationd.paramsd", 10.0), + ("selfdrive.locationd.locationd", 34.38), + ("selfdrive.locationd.paramsd", 11.53), ("./_sensord", 6.17), ("selfdrive.controls.dmonitoringd", 5.48), ("./boardd", 3.63), ("./_dmonitoringmodeld", 2.67), ("selfdrive.logmessaged", 2.71), ("selfdrive.thermald", 2.41), - ("selfdrive.locationd.calibrationd", 1.76), + ("selfdrive.locationd.calibrationd", 6.81), ("./proclogd", 1.54), ("./_gpsd", 0.09), ("./clocksd", 0.02), ("./ubloxd", 0.02), ("selfdrive.tombstoned", 0), ("./logcatd", 0), - ("selfdrive.updated", 0), ] dt = (last_proc.logMonoTime - first_proc.logMonoTime) / 1e9 diff --git a/release/build_devel.sh b/release/build_devel.sh index eb39f77810..c3028d5520 100755 --- a/release/build_devel.sh +++ b/release/build_devel.sh @@ -109,7 +109,7 @@ echo -n "1" > /data/params/d/HasCompletedSetup echo -n "1" > /data/params/d/CommunityFeaturesToggle PYTHONPATH="$TARGET_DIR:$TARGET_DIR/pyextra" nosetests -s selfdrive/test/test_openpilot.py -#PYTHONPATH="$TARGET_DIR:$TARGET_DIR/pyextra" GET_CPU_USAGE=1 selfdrive/manager.py +PYTHONPATH="$TARGET_DIR:$TARGET_DIR/pyextra" GET_CPU_USAGE=1 selfdrive/manager.py echo "[-] testing panda build T=$SECONDS" pushd panda/board/