From fa52db517486abc99e1abc920340ee0b03a77929 Mon Sep 17 00:00:00 2001 From: Ed Kern Date: Thu, 15 Feb 2018 09:01:22 -0700 Subject: VPP: add pkg and pip list for csit builds Change-Id: Ib41bdffa79e6ff0551ec8fd4d96cbd2da5c4b052 Signed-off-by: Ed Kern --- jjb/scripts/setup_vpp_ubuntu_docker_test.sh | 19 +++++++++++++++++++ jjb/vpp/vpp.yaml | 1 + 2 files changed, 20 insertions(+) diff --git a/jjb/scripts/setup_vpp_ubuntu_docker_test.sh b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh index 41c8dd6ef..1828174cf 100644 --- a/jjb/scripts/setup_vpp_ubuntu_docker_test.sh +++ b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh @@ -9,6 +9,25 @@ ############################################################################## set -e -o pipefail +OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g') + if ! [ -z ${DOCKER_TEST} ] ; then mount -o remount /dev/shm -o size=512M || true + echo "/dev/shm remounted" +fi + +if [ "${OS_ID}" == "ubuntu" ]; then + dpkg-query -W -f='${binary:Package}\t${Version}\n' + pip list +elif [ "${OS_ID}" == "centos" ]; then + yum list installed + pip list +elif [ "${OS_ID}" == "opensuse" ]; then + yum list installed + pip list fi +if [ "x${IS_CSIT_VPP_JOB}" == "xTrue" ]; then + (cd dpdk ; apt-get download vpp-dpdk-dkms > /dev/null 2>&1) || true + ls -l dpdk/*.deb || true + echo "csit vpp-dpdk-dkms package download" +fi \ No newline at end of file diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 64fbc4af6..a808faedf 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -243,6 +243,7 @@ - include-raw-vpp-checkstyle.sh - shell: !include-raw-escape: + - ../scripts/setup_vpp_ubuntu_docker_test.sh - ../scripts/setup_vpp_dpdk_dev_env.sh - include-raw-vpp-build.sh - shell: -- cgit 1.2.3-korg