| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Otherwise find fails with an error.
|
|
|
|
|
| |
Similar to Github Actions, since we don't build with sanitizers in
the packit job, let's skip TEST-21-DFUZZER.
|
|
|
|
|
|
| |
If we save journals in /tmp, we can run a larger number of tests in
parallel so let's make use of the larger number of CPUs if the tests
run on a beefy machine.
|
| |
|
|
|
|
|
|
|
|
|
| |
This effectively reverts b8582198ca1e6fe390f7169e623a9130b68a6b36
as I can not get the testing farm bare metal machines working
downstream and even if I managed to, without also using the testing
farm bare metal machines upstream (for which there is no capacity),
the setup would very quickly bitrot anyway so we'll just run the
container based tests for now.
|
| |
|
| |
|
|
|
|
|
| |
We expect to run as root within testing farm and to have permissions
to do selinux relabelling so let's enable it explicitly.
|
|
|
|
|
|
| |
When running the integration tests downstream, it's useful to be
able to test that a new systemd version doesn't introduce any AVC
denials, so let's add a knob to make that possible.
|
|
|
|
|
|
|
| |
Downstream we sometimes end up with machines with lots of CPUs which
leads to running out of memory when trying to run the tests in VMs.
So let's switch to a different heuristic when we have lots of CPUs to
avoid running out of memory.
|
| |
|
|
|
|
|
| |
If running tmt locally to debug the test script, make sure we don't
mess with /etc/yum.repos.d.
|
|
|
|
|
|
| |
Globs inside quotes aren't expanded and we need the glob to be more
specific to avoid matching multiple entries inside the tmt source
directory.
|
|
|
|
|
| |
All that's needed is dist-git-source: true so remove the other settings
that aren't required.
|
|
|
|
|
| |
The tests might be running unprivileged or in an environment without
selinux so let's not fail if we can't put it in permissive mode.
|
| |
|
|
|
|
|
|
|
|
|
| |
We can use our upstream fmf definitions to run downstream tests in
the Fedora systemd dist-git repository
(https://src.fedoraproject.org/rpms/systemd). To have access to the
dist-git sources when running the tests, we enable dist-git-source: true
downstream which makes the sources available in $TMT_SOURCE_DIR so
let's make sure we use those sources if they're available.
|
|
|
|
|
|
|
|
| |
Let's assume the workflow file containing the mkosi always being
available.
Also fix the detection while we're at it by not leaving the systemd
directory.
|
|
This moves https://src.fedoraproject.org/tests/systemd into upstream
so it's one less moving piece that we need to remember. While we're at
it, do various cleanups as well:
- Remove non-packit logic
- Set NO_BUILD in mkosi.local.conf as it's not picked up from the
process environment
- Don't set unused environment variables
- Remove workdir logic as we run in an ephemeral VM already
- Drop --verbose from meson test to reduce noise
from passed tests
- Use mkosi sandbox and drop duplicated deps from metadata file
- Stop running the unit tests as they already run as part of the rpm
build and as part of the integration tests.
- Various style fixes
|