Test for testing
Signed-off-by: Adrian Reber <adrian@lisas.de>
This commit is contained in:
parent
2b165c960a
commit
22fc6f3ec2
@ -12,7 +12,7 @@
|
||||
|
||||
Name: criu
|
||||
Version: 3.15
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Provides: crtools = %{version}-%{release}
|
||||
Obsoletes: crtools <= 1.0-2
|
||||
Summary: Tool for Checkpoint/Restore in User-space
|
||||
@ -185,6 +185,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libcriu.a
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 09 2021 Adrian Reber <adrian@lisas.de> - 3.15-4
|
||||
- Test for testing
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.15-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
||||
10
gating.yaml
10
gating.yaml
@ -1,12 +1,14 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_testing
|
||||
decision_contexts: [bodhi_update_push_testing]
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional }
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
decision_contexts: [bodhi_update_push_stable]
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional }
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
|
||||
@ -4,18 +4,14 @@ set -eux
|
||||
|
||||
ls -la
|
||||
|
||||
echo "Start container with tomcat"
|
||||
podman --log-level debug run --tmpfs /tmp --tmpfs /usr/local/tomcat/logs -d docker://docker.io/yovfiatbeb/podman-criu-test
|
||||
echo "Start container"
|
||||
podman --log-level debug run -d quay.io/adrianreber/counter
|
||||
|
||||
echo "See which containers are running"
|
||||
podman ps
|
||||
|
||||
# tomcat needs some time to start up
|
||||
echo "Wait 15 seconds for tomcat to start"
|
||||
sleep 15
|
||||
|
||||
echo "Connect to tomcat in the container"
|
||||
curl `podman inspect -l | jq -r '.[0].NetworkSettings.IPAddress'`:8080/examples/servlets/servlet/HelloWorldExample -v
|
||||
echo "Connect to the container"
|
||||
curl `podman inspect -l | jq -r '.[0].NetworkSettings.IPAddress'`:8088
|
||||
|
||||
echo "Checkpoint container"
|
||||
podman --log-level debug container checkpoint -l
|
||||
@ -26,7 +22,6 @@ podman --log-level debug container restore -l
|
||||
|
||||
podman ps -a
|
||||
echo "Check if we can connect to the restored container"
|
||||
curl `podman inspect -l | jq -r '.[0].NetworkSettings.IPAddress'`:8080/examples/servlets/servlet/HelloWorldExample -v
|
||||
curl `podman inspect -l | jq -r '.[0].NetworkSettings.IPAddress'`:8088
|
||||
|
||||
ls -la
|
||||
echo test
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -26,7 +26,11 @@
|
||||
- nftables-devel
|
||||
- python3-pyyaml
|
||||
- python3-protobuf
|
||||
- python-unversioned-command
|
||||
tests:
|
||||
- zdtm:
|
||||
dir: .
|
||||
run: ./run-zdtm.sh
|
||||
- podman:
|
||||
dir: .
|
||||
run: ./run-podman-checkpoint-restore.sh
|
||||
|
||||
Loading…
Reference in New Issue
Block a user