From b5636942cd266f66343f0d67ee3f9d3b1dbbc4a9 Mon Sep 17 00:00:00 2001 From: ChengyuZhu6 Date: Thu, 7 Mar 2024 21:52:39 +0800 Subject: [PATCH] CI: Install protobuf-compiler in the ci environment To test PR kata-containers/kata-containers#8484, the compilation process for the kata-agent relies on protoc. The unit tests failed on arm64: http://jenkins.katacontainers.io/job/kata-containers-2.0-ubuntu20.04-ARM-unit/3424/console. Fixes: #5815 Signed-off-by: ChengyuZhu6 --- .ci/jenkins_job_build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/jenkins_job_build.sh b/.ci/jenkins_job_build.sh index 7aeeef939..643860883 100755 --- a/.ci/jenkins_job_build.sh +++ b/.ci/jenkins_job_build.sh @@ -231,6 +231,8 @@ run_unit_test() { sudo -E INSTALL_IN_GOPATH=false ./ci/install_yq.sh echo "Install clang" sudo -E apt-get install -y clang + echo "Install protobuf-compiler" + sudo -E apt-get install -y protobuf-compiler echo "Installing libseccomp library from sources" libseccomp_install_dir=$(mktemp -d -t libseccomp.XXXXXXXXXX) gperf_install_dir=$(mktemp -d -t gperf.XXXXXXXXXX)