diff --git a/Jenkinsfile b/Jenkinsfile index d12c8e4946..c01930b234 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,8 +19,13 @@ fi ln -snf ${env.TEST_DIR} /data/pythonpath if [ -f /EON ]; then + # kill all old procs in the openpilot cpuset + while read p; do + kill "\$p" || true + done < /dev/cpuset/app/tasks + echo \$\$ > /dev/cpuset/app/tasks || true - echo \$PPID > /dev/cpuset/app/tasks || true + mkdir -p /dev/shm chmod 777 /dev/shm fi