Commit Graph

9 Commits

Author SHA1 Message Date
Martin Cermak
91acc811a1 CI Tests: Set DEBUGINFOD_URLS based on test FMF context.
Tests are supposed to be executed within defined context, such as e.g.
tmt --root . -c arch=x86_64 -c distro=fedora-38 -c trigger=build run ...

FTR: https://tmt.readthedocs.io/en/stable/spec/plans.html#context

This update sets DEBUGINFOD_URLS based on the provided distro
via the ci.fmf file.
2023-05-19 10:34:46 +02:00
Martin Cermak
671f002697 Make yamllint happier 2023-02-21 18:46:22 +01:00
Martin Cermak
da710f5bb8 CI tests: On Fedora run Tier1 tests only. 2023-02-21 16:46:33 +01:00
Martin Cermak
d5b191f9b0 tests: Fix fmf plan deprecated attributes 2022-12-12 13:55:48 +01:00
Martin Cermak
8d5d041590 Include downstream/RHEL tests
Find new home for downstream RHEL tests.  Upstream them.  The set of
tests used for fedora gating stays intact:  The gating tests are only
those having the tier1 tag set in their main.fmf file.  The testplan
plans/ci.fmf filters the others out from gating.

The set of Fedora gating tests stays the same as it was before this
change.
2022-05-10 09:56:18 +02:00
Martin Cermak
d2216bc0af CI Gating: Exclude conflicting glibc-headers from dnf transaction 2021-11-24 09:28:33 +01:00
Martin Cermak
20a55c19f6 CI tests: SELinux setup common for all the tests
Userspace probing needs custom SELinux setup so that systemtap
can do userspace probing using dyninst.  See check_dyninst_sebools()
in stapdyn/dynutil.cxx for details.

This update moves such SELinux setup out from the userspace-probes
testcase, and makes it common for all the systemtap CI tests.
2021-06-14 18:44:12 +02:00
Martin Cermak
107122a4e8 CI tests: Add more tests
- Separate the "stap-prep" phase out to a separate phase
 - Add tests/Sanity/byteman-java-methods-probing
 - Add tests/Sanity/kernel-modules
 - Add tests/Sanity/userspace-probes
 - Add tests/Sanity/stap-server-basic-sanity
 - Add tests/Regression/small-tests
2021-06-09 16:28:54 +02:00
Martin Cermak
bd7878dd23 Introduce Fedora CI gating.
Introduce CI gating.  This will introduce new testcase called
fedora-ci.koji-build.tier0.functional and will configure it
as a mandatory CI gating testcase for elfutils fedora builds.

The provided test case is executed by running ./runtest.sh.
The main.fmf file keeps the testcase metadata.  The plans and
.fmf folders contain configuration files needed for execution
of provided testcases within the Fedora CI infrastructure.

The provided testcase relies upon the debuginfod server
providing needed kernel-debuginfo.  It was tested with
staging instance of the debuginfod server running at
https://debuginfod.stg.fedoraproject.org/ .

Provided test uses Flexible Metadata Format, as documented in
https://fmf.readthedocs.io/ .
2021-04-14 17:02:36 +02:00