Enable gating tests for C9

Resolves: rhbz#1955119
This commit is contained in:
Adrian Reber 2021-05-05 12:17:45 -04:00
parent 92467b1b63
commit 4e13461dcb
3 changed files with 13 additions and 25 deletions

View File

@ -1,12 +1,6 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_testing
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional }
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional }
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -4,19 +4,6 @@ set -x
uname -a
# Two IPv6 related tests are failing in CI, not sure why.
echo "Network setup"
cat /etc/hosts
ip a
ping localhost -c 3 -4
ping localhost -c 3 -6
ping localhost -c 3
ip route save > /tmp/test
echo $?
file /tmp/test
rpm -q iproute
# These zdtm tests are skipped because they fail only in CI system
EXCLUDES=" \
-x zdtm/static/socket-tcp-reseted \
@ -43,13 +30,16 @@ run_test() {
RESULT=42
# F30, F29 do not provide python -> python3 symlink
test -e /usr/bin/python || ln -sf /usr/bin/python3 /usr/bin/python
python -V
# this socket brakes CRIU's test cases
rm -f /var/lib/sss/pipes/nss
# Move away the nft binary to avoid confusions with CRIU.
# This is already fixed upstream.
[ -e /usr/sbin/nft ] && mv /usr/sbin/nft /usr/sbin/nft.away
cd source
echo "Build CRIU"

View File

@ -22,11 +22,15 @@
- python3-devel
- libnl3-devel
- libcap-devel
- libaio-devel
- nftables-devel
- libaio-devel
- python3-pyyaml
- python3-protobuf
- python-unversioned-command
tests:
- zdtm:
dir: .
run: ./run-zdtm.sh
- podman:
dir: .
run: ./run-podman-checkpoint-restore.sh