From: Dave Wallace Date: Wed, 11 Jun 2025 22:17:50 +0000 (-0400) Subject: fix(hst): mount /var/crash in hst containers for core files X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=7a57f9fb579a2a9385fcfc9dbd3212841a5a23c1;p=ci-management.git fix(hst): mount /var/crash in hst containers for core files - Needed to fix HST core file processing Change-Id: I046fd343b860070785a317f064879b14a24224c1 Signed-off-by: Dave Wallace --- diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-aarch64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-aarch64-jobtemplate.yaml index 9d099ad07..6c9b80266 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-aarch64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-aarch64-jobtemplate.yaml @@ -15,6 +15,7 @@ Job: image: fdiotools/builder-ubuntu2204:prod-aarch64 volumes: - /tmp/ccache.ubuntu2204:/scratch/ccache + - /var/crash:/var/crash - /scratch/nomad:/scratch/nomad:ro Resources: # Limit scheduling of only 1 job per server by specifying max cpushares and more than half memory diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml index 817f02981..65ba29f7b 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml @@ -15,6 +15,7 @@ Job: image: fdiotools/builder-ubuntu2204:prod-x86_64 volumes: - /tmp/ccache.ubuntu2204:/scratch/ccache + - /var/crash:/var/crash - /scratch/nomad:/scratch/nomad:ro Resources: # Limit scheduling of only 1 job per server by specifying max cpushares and more than half memory diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-aarch64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-aarch64-jobtemplate.yaml index 721beb1c3..665aa7620 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-aarch64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-aarch64-jobtemplate.yaml @@ -26,6 +26,7 @@ Job: image: fdiotools/builder-ubuntu2204:sandbox-aarch64 volumes: - /tmp/ccache.ubuntu2204:/scratch/ccache + - /var/crash:/var/crash - /scratch/nomad:/scratch/nomad:ro Artifacts: - GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml index b74f5f547..01e9e127b 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml @@ -26,6 +26,7 @@ Job: image: fdiotools/builder-ubuntu2204:sandbox-x86_64 volumes: - /tmp/ccache.ubuntu2204:/scratch/ccache + - /var/crash:/var/crash - /scratch/nomad:/scratch/nomad:ro Artifacts: - GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2404-prod-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2404-prod-x86_64-jobtemplate.yaml index dfa3489ad..49b8b0b92 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2404-prod-x86_64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2404-prod-x86_64-jobtemplate.yaml @@ -15,6 +15,7 @@ Job: image: fdiotools/builder-ubuntu2404:prod-x86_64 volumes: - /tmp/ccache.ubuntu2404:/scratch/ccache + - /var/crash:/var/crash - /scratch/nomad:/scratch/nomad:ro Resources: # Limit scheduling of only 1 job per server by specifying max cpushares and more than half memory diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2404-sandbox-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2404-sandbox-x86_64-jobtemplate.yaml index 268700a99..14c745b2d 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2404-sandbox-x86_64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2404-sandbox-x86_64-jobtemplate.yaml @@ -26,6 +26,7 @@ Job: image: fdiotools/builder-ubuntu2404:sandbox-x86_64 volumes: - /tmp/ccache.ubuntu2404:/scratch/ccache + - /var/crash:/var/crash - /scratch/nomad:/scratch/nomad:ro Artifacts: - GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar diff --git a/jjb/scripts/vpp/debug-hst.sh b/jjb/scripts/vpp/debug-hst.sh index bf26aa83f..fbbcd4cef 100755 --- a/jjb/scripts/vpp/debug-hst.sh +++ b/jjb/scripts/vpp/debug-hst.sh @@ -47,7 +47,11 @@ hst_build_run() { } if [ "${DRYRUN,,}" != "true" ] ; then + echo "Check for system core files" + ls -l /var/crash || true hst_build_run + echo "Check for system core files" + ls -l /var/crash || true fi if [ -n "$BUILD_ERROR" ] ; then BUILD_RESULT="$BUILD_ERROR" diff --git a/jjb/scripts/vpp/hst.sh b/jjb/scripts/vpp/hst.sh index 1a5f3cad8..0dd4e6a02 100755 --- a/jjb/scripts/vpp/hst.sh +++ b/jjb/scripts/vpp/hst.sh @@ -54,8 +54,12 @@ hst_test() { } if [ "${DRYRUN,,}" != "true" ] ; then + echo "Check for system core files" + ls -l /var/crash || true vpp_make_build hst_test + echo "Check for system core files" + ls -l /var/crash || true fi if [ -n "$BUILD_ERROR" ] ; then BUILD_RESULT="$BUILD_ERROR"