Gating tests: many fixes
1) Ugh. Update the podman test scaffolding so it invokes the magic 'loginctl enable-linger' command necessary for rootless podman to work. 1a) [minor] update the rpm-versions and environment dump 2) Bring gating.yaml up-to-date, including (ugh) duplication that will help us avoid maintenance burden when we fork f33 Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
parent
5c34ced4e9
commit
ee8d49cc5e
@ -2,5 +2,13 @@
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_testing
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
|
@ -5,7 +5,13 @@
|
||||
|
||||
# Log program and kernel versions
|
||||
echo "Important package versions:"
|
||||
rpm -qa | egrep 'conmon|podman|iptable|slirp|systemd' | sort | sed -e 's/^/ /'
|
||||
uname -a
|
||||
(
|
||||
uname -r
|
||||
rpm -qa | egrep 'podman|conmon|crun|runc|iptable|slirp|systemd|container-selinux' | sort
|
||||
) | sed -e 's/^/ /'
|
||||
|
||||
# Log environment; or at least the useful bits
|
||||
echo "Environment:"
|
||||
env | grep -v LS_COLORS= | sort | sed -e 's/^/ /'
|
||||
|
||||
bats /usr/share/podman/test/system
|
||||
|
@ -19,5 +19,5 @@
|
||||
# running the test with su doesn't create the directory for fedora user on /run/user/
|
||||
# so create it manually
|
||||
dir: ./
|
||||
run: mkdir /run/user/$(id -u fedora); chown fedora /run/user/$(id -u fedora); su -c ${PWD}/test_podman.sh - fedora
|
||||
run: loginctl enable-linger fedora; su -c ${PWD}/test_podman.sh - fedora
|
||||
timeout: 15m
|
||||
|
Loading…
Reference in New Issue
Block a user