| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
CPUQuota= can deal with float percentages perfectly fine these days
(up to two places after the dot), so let's take that into account
when serializing the value to the transient unit file so we don't lose
precision when specifying e.g. "CPUQuota=0.5%".
|
| |
|
|
|
|
|
| |
Then, we can easily find relevant journal entry on failure.
This is especially useful when the test is running with --no-journal.
|
| |
|
| |
|
|
|
|
|
| |
Can be re-enabled once https://github.com/systemd/systemd/issues/33156
is solved
|
|
|
|
|
|
|
|
| |
A unit with StandardOutput=journal (the default) will get its stdout/stderr sockets
disconnected when journald stops, as the file descriptors on journald's side are
not preserved (it works on restart, as the FD Store keeps them open during restarts).
Set FileDescriptorStorePreserve=yes so that the journal FD's stay open during a soft
reboot, and applications don't get broken stdout/stderr.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It seems this introduced a regression in the CentOS CI;
14:25:58 FAILED TASKS:14:25:58 -------------
14:25:58 TEST-03-JOBS
14:25:58 TEST-52-HONORFIRSTSHUTDOWN
14:25:58 TEST-63-PATH
Revert for now.
This reverts commit da3c6fc55363af2163b4d2613c9951bdaea24810.
|
|\
| |
| | |
test: Run end.sh when running integration tests with mkosi
|
| | |
|
| |
| |
| |
| |
| | |
To match the other service units more and allow adding more
ExecStart= lines via dropins.
|
| |
| |
| |
| | |
Also, use trap for cleaning up the test environment.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This also adjusts LogLevelMax=.
Hopefully, this makes the test much stabler.
|
|/
|
|
|
|
| |
Fixes a bug introduced by 7ef26afca555a5e167ebc59514490906a46db2cb.
Fixes #33098.
|
|\
| |
| | |
Sanitizers
|
| |
| |
| |
| |
| |
| | |
This was a workaround to not run TEST-21-DFUZZER without sanitizers.
Now that we're going to get sanitizer support, let's run it by default
again.
|
| |
| |
| |
| |
| | |
Make sure that we're allowed to login by ordering ourselves after
systemd-user-sessions.service.
|
|\ \
| |/
|/| |
Test: several integration test improvements
|
| |
| |
| |
| |
| |
| |
| | |
TEST-64
The test triggers many uevents, and running both system and user service
managers make the test slow.
|
| | |
|
| |
| |
| |
| | |
Hopefully fixes #33111.
|
|/
|
|
| |
DNS setting propagation to resolved may take some time.
|
|\
| |
| | |
Fix formatting of speeds in networkctl
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes output a bit shorter and nicer. For us, shorter output is generally
better.
Also, drop unnecessary UINT64_C macros. The left operand is always uint64_t,
and C upcasting rules mean that it doesn't matter if the right operand is
narrower or signed, the operation is always done on the wider unsigned type.
|
| |
| |
| |
| | |
Let's not fail if directories already exist in cp_r().
|
| |
| |
| |
| |
| |
| |
| | |
When DynamicUser= is enabled, we need LD_PRELOAD to be configured
correctly as the tests will load systemd's nss module which will complain
when built with sanitizers if the sanitizer libraries were not loaded
first.
|
| |
| |
| |
| |
| | |
Some tests (e.g. test-udev.py) might trigger one of our NSS modules
which means LD_PRELOAD has to be configured properly.
|
| |
| |
| |
| | |
Required since we run with DynamicUser=1.
|
| |
| |
| |
| |
| |
| | |
The test does not work under sanitizers as strace is used. Until the
test is fixed to not use strace let's skip it when running with
sanitizers.
|
| | |
|
| |
| |
| |
| |
| | |
When running with sanitizers we need more memory otherwise the unit
gets OOM killed.
|
| |
| |
| |
| |
| | |
Otherwise qemu defaults to ide for which the module isn't always
available (e.g. it's missing in the debian linux cloud images).
|
| |
| |
| |
| |
| |
| |
| | |
The virtio-scsi driver is available in the KVM/cloud kernel
packages provided by distributions whereas the megasas2 driver is
not. Let's switch to virtio-scsi so we can switch back to the KVM/cloud
kernel packages.
|
| |
| |
| |
| |
| | |
This allows running integration tests that support it in nspawn
instead of qemu. This both gives extra coverage and speeds things up.
|
|/
|
|
|
| |
If we're not running the test as root, stick to using a virtual
machine, as mkosi can't do rootless nspawn yet.
|
|\
| |
| | |
Revert "TEST-19-CGROUP: Skip on opensuse"
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 60d064d3fdfc21d9209d81ed8b29fe0d90891ebf.
The logged test failure was because of missing memory controller in
testing cgroup. With the test fixed in previous commit, memory
attributes are delegated as expected.
Ref: #32439
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the test used to be run on distro that doesn't enable memory
accounting by default (such as openSUSE TW), there is no guarantee that
testing unit has memory.* cgroup attributes and delegation test would
fail if they are missing.
Require memory controller explicitly inside the unit so that test can
work in any environment.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PID1 may invoke a helper process, e.g. sd-close, during the test.
So, processes other than networkd and PID1 may be shown.
```
testtap99: tap pi multi_queue vnet_hdr persist filter
Attached to processes:systemd-network(2852)(sd-close)(2863)systemd(1)
```
Closes #33055.
|
|\ \
| | |
| | | |
Update wiki links
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
Or, trigger devices after the command incase the device is dm or md.
Fixes #33056.
|
| |
| |
| |
| |
| |
| | |
Note, journal_file_dump() is only used by tests.
Closes #33035.
|
| |
| |
| |
| | |
Fixes #32680.
|
|\ \
| | |
| | | |
Various integration test improvents
|
| | |
| | |
| | |
| | |
| | | |
Let's also put the meson + mkosi docs first to nudge readers towards
it instead of the old fashioned way to run the integration tests.
|