Skip to content

fix(jenkins): bump audit agent to ubuntu24 for SAST glibc 2.34 - #3519

Merged
ehl-jf merged 1 commit into
masterfrom
JGC-495-fix-audit
May 28, 2026
Merged

ehl-jf merged 1 commit into
masterfrom
JGC-495-fix-audit

Conversation

@ehl-jf

@ehl-jf ehl-jf commented May 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Switches the Jenkins agent label from docker-ubuntu20-xlarge to docker-ubuntu24-xlarge (single-line change to Jenkinsfile:17).
  • Resolves the release-pipeline failure: failed to run Sast scan. Exit code received: exit status 51 seen in the Audit stage.

Root cause

The analyzer-manager SAST sub-binary (zd_scanner/scanner) is a PyInstaller-packed Python 3.14 app whose native extension _dfa.cpython-314-x86_64-linux-gnu.so is linked against GLIBC_2.34. The previous docker-ubuntu20-xlarge agent ships glibc 2.31, which is too old:

ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
(required by .../zd_scanner/native/_dfa.cpython-314-x86_64-linux-gnu.so)

Other JAS scanners (SCA, Secrets, IaC) are unaffected because they use a Go binary (jas_scanner / tf_scanner), not the Python zd_scanner. That's why only SAST was failing while the rest of the audit ran clean.

Ubuntu 24.04 ships glibc 2.39, which satisfies the requirement.

Test plan

  • Confirm docker-ubuntu24-xlarge agent pool is online and accepts the job.
  • Trigger a release run on this branch and verify the Audit stage completes without exit status 51.
  • Verify the rest of the release flow (build, deb/rpm pack, Windows signing, docker publish, distribution) is unaffected by the agent change.

Reproduced locally in ubuntu:20.04 (fails identically) and verified the root cause via the analyzer-manager debug log (AM_LOG_DIRECTORY).

…ST exit 51)

The analyzer-manager SAST sub-binary (zd_scanner) is a PyInstaller-
packed Python 3.14 app with a native extension built against
GLIBC_2.34. The docker-ubuntu20-xlarge agent ships glibc 2.31, which
is too old:

  ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34'
  not found (required by .../zd_scanner/native/_dfa.cpython-314-...so)

Switching the agent label to docker-ubuntu24-xlarge (glibc 2.39)
restores SAST and resolves the `Sast scan exit status 51` failure
seen in the Audit stage.
@ehl-jf ehl-jf added the ignore for release Automatically generated release notes label May 28, 2026
@ehl-jf ehl-jf added the safe to test Approve running integration tests on a pull request label May 28, 2026
@ehl-jf
ehl-jf merged commit 80496a2 into master May 28, 2026
118 of 120 checks passed
@ehl-jf
ehl-jf deleted the JGC-495-fix-audit branch May 28, 2026 07:17

This branch had an error being deployed

1 failed deployment
frogbot — 51cc7758 Deployed May 28, 2026 by ehl-jf via scan-pull-request #4343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore for release Automatically generated release notes safe to test Approve running integration tests on a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants