Commit graph

12 commits

Author SHA1 Message Date
Martin Pitt
b400577547 test: Stop installing chrome-remote-interface in tmt 2024-08-14 12:30:45 +03:00
Martin Pitt
dfca8ebe76 test: Drop testing on CentOS 8 Stream
C8S is going to be EOL in a month [1], and we are not going to do a RHEL
8 update at this point any more.

Keep testing on rhel-8-10 though, as we do want to keep the code working
for the beiboot scenario or backports.

[1] https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/
2024-04-29 09:11:58 +02:00
Martin Pitt
fec7c33258 fmf: Restrict "-stream" TEST_OS suffix to CentOS 8/9
Our c10s CI image is called "centos-10" without the -stream suffix. This
fits better with `os-release` and makes the names shorter. Adjust the
building of `$TEST_OS` accordingly.

[1] https://github.com/cockpit-project/bots/pull/6218
2024-04-16 12:38:26 +02:00
Martin Pitt
ee5e9bd243 fmf: Use correct os-release
With commit 2e8b932e, run-test.sh now runs inside the cockpit/tasks
container, and its os-release is irrelevant. Read the host's os-release
instead to compute a correct `$TEST_OS`.
2024-03-18 08:50:36 +01:00
Martin Pitt
84608a1680 fmf: Go back to running the tests with Firefox
That brings back Firefox coverage, and also avoids OOM errors with
Chromium. This was already applied to our other projects.
2024-03-18 08:50:36 +01:00
Allison Karlitskaya
2e8b932ece test/browser: run tests inside the tasks container
This simplifies the "outside" setup quite a bit and gives us the same
tasks container that test runs on the Cockpit CI run under.

This change also implicitly changes the test browser to chromium (which
is no longer an issue — we just use it from the tasks container).
2024-03-15 15:22:56 +01:00
Martin Pitt
9544f57220 fmf: Plumb through $TEST_* variables for unexpected messages
This will allow us to control the value from test plans, in particular
for disabling at least some unexpected message checks for reverse
dependency testing. We don't want to disable unexpected messages
in general for fmf, as we are looking for exactly these in e.g.
selinux-policy reverse dependency tests.

Move from `su` to `runtest`, as with the former it's impossible to plumb
through variables with non-trivial characters, as they cannot be quoted.

Taken from c38692fa4c
2023-08-28 08:53:51 +02:00
Jelle van der Waa
bd2ac26df6 Drop sizzle test dependency 2023-07-31 19:27:09 +02:00
Martin Pitt
c04d951964 packit: Run tests on CentOS 9 stream 2021-11-16 15:20:32 +01:00
Martin Pitt
72c15c4b82 packit: Enable CentOS Stream 8 2021-10-07 12:38:03 +02:00
Martin Pitt
5d15bdac5c fmf: Dependency installation robustification
Sync some improvements from cockpit-machines:

 * Unbreak running `tmt` in local trees with an already existing ./bots
   symlink.
 * Don't install all NPM packages, only chrome-remote-interface and sizzle.
 * Disable detection of affected tests, taking too long for real
   projects.
2021-10-07 12:38:03 +02:00
Martin Pitt
09823650e2 Add FMF test metadata and scripts
Copy and adjust the browser.sh and run-test.sh scripts from
cockpit-podman, which we have used in Fedora/RHEL dist-git gating and
packit tests for a while.
2021-03-04 11:25:53 +01:00