10 Commits

Author SHA1 Message Date
Cristian Le
7417ead6a2 Add tmt integration plan
See:
- https://github.com/teemtee/tmt/issues/4047
- https://github.com/teemtee/tmt/pull/4026

Signed-off-by: Cristian Le <git@lecris.dev>
2025-09-22 16:19:58 +02:00
Lokesh Mandvekar
9adca80681 Packit/TMT: run shellcheck tests on fedora envs
The ShellCheck tool currently doesn't exist on EPEL10, so we run them
only on Fedora and EL9 envs.
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=2328756

Packit test failure notifications have also been modified to reflect
tests other than podman tests.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-04-23 18:18:58 +05:30
Lokesh Mandvekar
7b910ea298 TMT: Simplify plans
The same set of tests are being run upstream and downstream.

Enablement of podman-next copr for bleeding-edge testing is handled by
plans/main.fmf and .packit.yaml automatically so there's no additional
need to specify `/upstream` and `/downstream`.

Also, no need to for a redundant `/system-test` inside
test/tmt/podman/system-test.fmf.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-04-22 16:49:25 +05:30
Lokesh Mandvekar
869804f487 TMT: account for environments on internal testing farm ranch
RHEL envs on the internal redhat testing farm ranch don't have any easy way
to install and enable the `epel-release` package.

Also, CentOS-Stream envs on the internal ranch have EPEL installed but
disabled.

This PR should account for both these envs. The tests on public ranch
should continue unaffected.

The packages required for testing have also been moved to the plan
preparation stage itself.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-01-21 17:33:08 +05:30
Lokesh Mandvekar
65484cb925 TMT: Replace adjust with prepare conditionals
Ensure all envs are setup correctly.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-01-15 16:29:47 +05:30
Lokesh Mandvekar
ec5947ce45 TMT: Add sanity tests from c9s downstream
This commit upstreams sanity tests added to CentOS Stream 9
contributed by Alex Jia <ajia@redhat.com>
Ref: https://gitlab.com/redhat/centos-stream/rpms/crun/-/merge_requests/117

These tests will now run for all active Fedora and CentOS Stream.

The existing podman system tests have also been made more idiomatic.

The rpm gating config also has updated rules for rhel updates.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2024-12-26 21:06:06 +05:30
Lokesh Mandvekar
7fcede6004 RPM/Packit: Fix wasm conditionals, cleanup rpm spec, update packit config
1. Wrongly mentioned conditionals were causing crun-wasm package
   creation on CentOS Stream 10 and ELN environments which don't have
   wasm support yet.

2. All environments that end up consuming rpm/crun.spec have rpmautospec
   enabled so we don't need these conditionals anymore. CentOS Stream 9
   should soon get rpmautospec support as well, and the current lack of it
   is not really a blocker to removal of these conditionals.

3. Simplify TMT tests

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2024-09-05 19:03:18 +05:30
Lokesh Mandvekar
e452395399 TMT: rewrite podman revdep tests to be usable without CI
Podman system tests specific to crun can now be run as Makefile targets
and don't need any specialized TMT setup.

TMT will trigger these tests upstream as well as downstream. Upstream
tests will use podman and other packages from the `podman-next` copr
wherever relevant, while downstream tests like zuul and bodhi gating
will use the official fedora/centos stream packages.

This commit will move all gating test maintenance upstream. Downstream
updates will simply sync over the relevant files from upstream (the
actual change to packit config to achieve this will be included in a
followup commit).

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-05-30 17:47:09 -04:00
Lokesh Mandvekar
aa72cc47e3 Packit/TMT: add centos-stream-10, cleanup tests
- remove rhel8 conditionals
- add centos stream 10 build tests
- add centos stream 10 and rhel 10 beta podman revdep tests but leave
  them disabled, pending netavark updates
- use idiomatic TMT logic
- switch wasm-library rpm dependency from Requires to Recommends for
  RHEL and CentOS envs to get internal testing-farm tests to pass. This
  is only a temporary fix.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-04-25 14:03:53 -04:00
Lokesh Mandvekar
0b7fc08aaf packit: podman reverse dependency tests
This commit adds podman system tests for Fedora, RHEL and CentOS
Stream 9 environments on aarch64 and x86_64.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-03-19 17:32:13 +05:30