Commit Graph

15 Commits

Author SHA1 Message Date
Jindrich Novy
79185cebe7 Fix RHEL10 tests - Related: RHEL-39410
Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2024-05-31 18:52:07 +02:00
Ed Santiago
67da5bfbb7 Much-belated cleanup
- remove all references to cgroups v1. That code never worked,
  and "cgroups v2" in test names was misleading because it
  implied an alternative. Remove it.
- refactor podman remote and local tests
- clean up docs
- Ansible bitrot cleanup ("this is deprecated, use that")

Tested using 1minutetip but even so this is a big change and
we need to be prepared for fallout in the next bodhi.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-02-02 10:38:08 +00:00
Lokesh Mandvekar
01f53fd3b5 tests: add passt to rpm -qa so we know what version is used in tests 2023-08-29 14:34:10 -04:00
Ed Santiago
a37af540a5 Disable systemd resolved
Fixes flake: 'dial tcp: lookup cdn03.quay.io: no such host'

Okay, doesn't actually fix as in _fix_, just fix as in "sweep it
under the rug". The actual bug is in systemd-resolved, or in the
quay.io/cloudflare.net DNS nameservers, or in the weird specific
setup for cdn03 (it's a CNAME, compared to cdn01/02 which are A).
Maybe a combination of all of the above. I don't care; I just
want the flakes gone. I realize that this makes our testing
environment different from default Fedora, and am okay with
that because I suspect many Fedora users disable systemd-resolved
as SOP.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-05-08 10:05:42 -06:00
Miroslav Vadkerti
f12cda32c2 Adjust tests for new Ansible
Testing Farm 2023-03.1 has updated to a new Ansible
version.

Unfortunately, playbooks using the deprecated `warn:`
parameter for the shell/command modules will fail
because this had been deprecated

This should fix the problem.

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2023-03-31 17:09:15 +00:00
Ed Santiago
8d5f758a1d setup: log results of 'ip addr'
Purpose: try to diagnose gating-test failure which looks like a
bad combination of netavark + cni

Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-05-09 06:26:05 -06:00
Ed Santiago
ec4650d2ca Gating tests: include more package versions
In headers of gating tests, also include aardvark, netavark,
containers-common, containernetworking-plugins

Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-03-07 11:26:10 -07:00
Ed Santiago
967f9534f2 gating tests: run podman-remote too
A small handful of bugs have blocked us from running podman-remote
in gating tests. Those are all fixed; it's time to enable testing.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-09-17 14:22:05 -06:00
Ed Santiago
c461125d7c Gating tests: run toolbox tests
Successful on rawhide as of toolbox-0.0.99.2^3.git075b9a8d2779-7.fc36
on 2021-09-13.

See: https://github.com/containers/podman/issues/10296

Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-09-13 09:48:10 -06:00
Ed Santiago
c085cdcd17 gating tests: include kernel version in Packages output
Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-05-18 10:08:58 -06:00
Ed Santiago
5dd1bdae66 Yet more ansible muckery, to get test results
Looks like the code I copied from standard-test-roles
has changed; let's reincorporate it.

In particular, there is now an annoying step that pulls
logs and artifacts from remote-host:/tmp/artifacts .
Well, that doesn't exist in our case because /tmp may
not survive reboots. Workaround: after completion of
each test, push our local (master) artifacts to remote.

And, fix a typo in results.yml

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-05-14 07:14:13 -06:00
Ed Santiago
04f2203e24 WIP: Keep trying to fix ansible
DO NOT COMMIT.

I'm simply trying to understand why reboot is failing.

This commit adds some debug statements to try to get
a sense for what grubenv looks like.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-05-13 10:19:19 -06:00
Ed Santiago
712ba62553 Yet more ansible hackery: create results.yml
Gating tests are still failing. Actually, the BATS portion is
all passing, it just seems to be the end part (infrastructure)
that fails. Let's try creating a results.yml file.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-05-12 06:39:48 -06:00
Ed Santiago
5b50b233ab Sigh. Put the reboot in a block.
Podman gating tests failed:

   ... back_again.changed): 'dict object' has no attribute 'changed'

Previous error (ignored) was a timeout in the reboot step. I have
no idea how to fix this, so let's try putting the reboot and wait
steps into a 'block' section and removing the '.changed'.

Tested with 1minutetip. Seems to work, but the reboot was quick
so it didn't trigger the same code.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-05-11 14:12:45 -06:00
Ed Santiago
567c3048f9 Complete rewrite of gating tests
This makes a mess of the gating test sources, all
for the sake of being able to run cgroups v1 tests.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-04-28 12:30:29 -06:00