VPP: add pkg and pip list for csit builds 74/10574/2
authorEd Kern <ejk@cisco.com>
Thu, 15 Feb 2018 16:01:22 +0000 (09:01 -0700)
committerEd Kern <ejk@cisco.com>
Thu, 15 Feb 2018 16:55:57 +0000 (09:55 -0700)
Change-Id: Ib41bdffa79e6ff0551ec8fd4d96cbd2da5c4b052
Signed-off-by: Ed Kern <ejk@cisco.com>
jjb/scripts/setup_vpp_ubuntu_docker_test.sh
jjb/vpp/vpp.yaml

index 41c8dd6..1828174 100644 (file)
@@ -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
index 64fbc4a..a808fae 100644 (file)
                 - 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: