diff --git a/upstreamcentostests.sh b/upstreamcentostests.sh index ed92648f4c55556d4c136a63872d6b08bc7c0990..5f8adf26315005c3a80be87498b390b509918829 100755 --- a/upstreamcentostests.sh +++ b/upstreamcentostests.sh @@ -3,7 +3,7 @@ # libunistring host command is linked against libunistring on c8, which is not the case for c7 # We need to install it although it is removed in the kickstart file -yum install git jq libunistring -y +yum install git jq libunistring iproute -y # Find the last commit that passed upstream's Jenkins PASSING=$(curl -s https://ci.centos.org/job/CentOS-Core-QA-t_functional-c8-64/lastSuccessfulBuild/api/json | jq -r '.actions[] | select(.lastBuiltRevision) | .lastBuiltRevision.SHA1') @@ -11,7 +11,8 @@ PASSING=${PASSING:-master} git clone https://gitlab.cern.ch/linuxsupport/centos_functional_tests.git cd centos_functional_tests -git reset --hard $PASSING +BRANCH=$(git reset --hard $PASSING) +echo -e "\e[1m\e[32m$BRANCH\e[0m" # Skipping list is way longer than for cc7-base as image creation is different, # cc7-base was systemd ready, meaning most of these skips are service related @@ -43,6 +44,7 @@ cat > ./skipped-tests.list <<DELIM 8|tests/p_httpd/*|httpd results in 403 for all requests, disabling for now 8|tests/p_initscripts/*|No systemd therefore cannot be tested 8|tests/p_ipa-server/*|No Freeipa default tests, also, we use cern-get-keytab +8|tests/p_iptraf/*|iptraf doesn't log any traffic 8|tests/p_kernel/*|No kernel therefore cannot be tested 8|tests/p_lftp/*|No systemd therefore cannot be tested 8|tests/p_libvirt/*|No systemd therefore cannot be tested