mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-25 07:52:03 +08:00
jenkins: kill potentially leftover processes (#24078)
* jenkins: kill potentially leftover processes * cleaner * oops * escape * might already be dead
This commit is contained in:
Vendored
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user