improve HITL robustness (#2333)

This commit is contained in:
Adeeb Shihadeh
2026-02-15 11:18:20 -08:00
committed by GitHub
parent 24fe11466d
commit 0ef2c72974
4 changed files with 7 additions and 2 deletions

3
.gitignore vendored
View File

@@ -37,3 +37,6 @@ tests/safety/coverage.info
*.profraw
*.profdata
mull.yml
.claude/
TASK.md

View File

@@ -8,7 +8,8 @@ WORKDIR $WORKDIR
# deps install
COPY pyproject.toml __init__.py setup.sh $WORKDIR
RUN mkdir -p $WORKDIR/python/ && touch $WORKDIR/__init__.py
RUN mkdir -p $WORKDIR/python/ $WORKDIR/board/body/ $WORKDIR/board/jungle/ && \
touch $WORKDIR/__init__.py $WORKDIR/board/__init__.py $WORKDIR/board/body/__init__.py $WORKDIR/board/jungle/__init__.py
RUN apt-get update && apt-get install -y --no-install-recommends sudo && DEBIAN_FRONTEND=noninteractive $WORKDIR/setup.sh
# second pass for the opendbc moving tag

2
Jenkinsfile vendored
View File

@@ -15,7 +15,7 @@ def docker_run(String step_label, int timeout_mins, String cmd) {
def phone(String ip, String step_label, String cmd) {
withCredentials([file(credentialsId: 'id_rsa', variable: 'key_file')]) {
def ssh_cmd = """
ssh -tt -o StrictHostKeyChecking=no -i ${key_file} 'comma@${ip}' /usr/bin/bash <<'END'
ssh -tt -o StrictHostKeyChecking=no -o ConnectTimeout=30 -o ConnectionAttempts=3 -o ServerAliveInterval=10 -o ServerAliveCountMax=3 -i ${key_file} 'comma@${ip}' /usr/bin/bash <<'END'
set -e

View File

@@ -148,6 +148,7 @@ def fixture_panda_setup(request):
init_jungle()
# init panda
assert Panda.wait_for_panda(_panda_serial, timeout=10), "panda not found"
p = Panda(serial=_panda_serial)
p.reset(reconnect=True)