Since for some reason upstream grep deprecated "fgrep", and for some reason
fedora packagers followed suit, some these tests scripts fail with the goofy
"fgrep: warning: fgrep is obsolescent; using grep -F" warning.
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.
tests/Regression/RHEL6Feature-cpp-methods:
Fix locale/LANG dependent sort collation prob
tests/Regression/python-probing:
Make sure needed debuginfo is in place
tests/Regression/wrong-data-returned-by-nfs-commit-done:
Refactor, improve clranup, simplify
Reflect elfutils upstream commit e939590219 (PR25502) changing the
location of the client cache. Without this update the first run of
the testcase works, but not the subsequent runs.
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.
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.
- 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
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/ .