1
0
Fork 0
Commit graph

32 commits

Author SHA1 Message Date
Jaroslav Škarvada
a6af3992f6
tests: checks 'make rpm'
This may catch regressions like #837.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2026-03-23 17:55:23 +01:00
Pavol Žáčik
096c402881
vm: Deprecate dirty_ratio in favour of dirty_bytes with %
Same for dirty_background_ratio and dirty_background_bytes.

Using both the ratio and the bytes is not compatible with
the current profile inheritance implementation, because it
is not possible for dirty_bytes in a child profile to override
dirty_ratio in its parent profile.

Resolves: RHEL-101578
2025-07-08 15:58:59 +02:00
Jaroslav Škarvada
1c746a35a2
Merge pull request #766 from zacikpa/ncat-fix
beakerlib: Use ncat explicitly instead of nc
2025-05-21 09:18:33 +02:00
Robin Hack
09650925b3 tests/beakerlib: remove old API call.
Library API has been changed downstream and we need
to reflect those changes in upstream.
2025-05-14 05:54:51 -04:00
Pavol Žáčik
8f1c757c87
beakerlib: Use ncat explicitly instead of nc
This is to make sure that we do not use netcat,
which does not work in the unix socket test.
2025-04-15 16:18:18 +02:00
Pavol Žáčik
155f2323a4
Adjust profiles to set dirty_(bytes|ratio) via the vm plugin 2024-12-11 21:05:21 +01:00
Jaroslav Škarvada
7a419499b1
spec: used macro for profiles path and other fixes
- improved conditionals for better readability
- fixed tuned-ppd not to run install twice
- used macro for profiles path
- consolidated names of related variables
- updated Makefile to update the current profile paths during
  installation
- fixed tests to use correct profile directory on RHEL/CentOS
- consolidated whitespaces and variable names in fixed tests

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-10-16 11:13:28 +02:00
Pavol Žáčik
609f2a47b0
tests: Restore TuneD service after the error messages test 2024-06-25 09:10:30 +02:00
Pavol Žáčik
b00c5984b5
tests: Do not run tunedDisableSystemdRateLimitingStart via rlRun 2024-06-25 08:32:42 +02:00
Pavol Žáčik
6d3aa949b3
Migrate profiles to /etc/tuned/profiles/ and /usr/lib/tuned/profiles/ 2024-04-03 11:01:10 +02:00
Jaroslav Škarvada
f4c976f2f5
Merge pull request #421 from RHEmployee/ratelimit
Update tests: disable systemd rate limiting.
2023-08-03 18:48:17 +02:00
Robin Hack
178bc00dc8 Update tests: disable systemd rate limiting. 2023-07-27 08:03:42 -04:00
Robin Hack
fb8b707aae tests/beakerlib: Add new test which covers socket API.
And fix licences.
2023-04-17 03:04:39 -04:00
Robin Hack
432253afc1 tests: add new tests. 2023-03-28 07:39:21 -04:00
Jaroslav Škarvada
e0deb1bdaf
beakerlib: fix systemd rate limiting for variables-support-in-profiles
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-03-15 00:31:00 +01:00
Jaroslav Škarvada
f9ae0ccfc5
Merge pull request #385 from RHEmployee/add-tests
beakerlibtests: add new test
2022-01-17 13:20:08 +01:00
Robin Hack
9bf602afba beakerlibtests: add new test
Add slowdown for centos stream -
systemd failure:
Active: failed (Result: start-limit-hit)
2022-01-17 06:27:57 -05:00
Robin Hack
00a9d5cde4 Tests: Be in sync with upstreaming guide. 2021-10-13 05:21:08 -04:00
Jaroslav Škarvada
78df85affe
Merge branch 'master' into project-rename 2021-06-03 17:20:55 +02:00
Jaroslav Škarvada
871e68bea1
tests: added rlRun python detect description to beaker test
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-06-03 16:08:55 +02:00
Jaroslav Škarvada
4f1901991e
ci: fixed RHEL-8
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-06-03 01:22:41 +02:00
Jaroslav Škarvada
49b74a8b56
ci: beakerlib tests fixes
Switch from the deprecated execution method.
Fix for the bz1798183-RFE-support-post-loaded-profile beakerlib test.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-05-20 14:54:45 +02:00
Jaroslav Škarvada
16d4acbaca
Project renamed to TuneD
The 'D' is now capital to clarify pronunciation.

DBus service name is kept as '/Tuned' not to break
backward compatibility.

This will also need update of downstream tests
which rely on the specific output strings containing
the name.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-05-17 22:09:02 +02:00
Ondřej Lysoněk
4f5f35830a Add support for a post-loaded profile
This is a minimal viable implementation of a post-loaded profile
feature. It was implemented to satisfy the needs of the
kernel_settings Ansible role.
https://github.com/linux-system-roles/kernel_settings

This feature allows us to apply a profile in a way that is
somewhat separate from the way profiles from the active_profile file
are applied. Namely, the post-loaded profile is always applied after
all the profiles from the active_profile (or more precisely, the
post-loaded profile is always put to the tail of the profile chain
when merging). Also, the post-loaded profile setting is not affected
by running 'tuned-adm profile <some profile>' - the post-loaded
profile remains applied.

The name of the post-loaded profile is stored in
/etc/tuned/post_loaded_profile.

The lack of support for multiple post-loaded profiles was more or less
an arbitrary decision. There are no problems with it, as far as I can
see. However, there is currently no use case for multiple post-loaded
profiles, so I decided to make things easier for our future selves -
it's one less thing to worry about if we need to make changes to the
profile loading logic. We can add support for multiple post-loaded
profiles anytime.

A number of other design decisions went into the
implementation. They are listed here:
https://github.com/redhat-performance/tuned/pull/272

Resolves: rhbz#1798183

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2020-06-01 19:11:29 +02:00
Petr Šplíchal
e82271a6bb Remove obsolete rhts imports from beakerlib tests 2019-11-20 13:15:58 +01:00
Jaroslav Škarvada
2bafe790be
beakerlib: fixed beakerlib path used in beakerlib test
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-11-20 11:56:25 +01:00
Petr Šplíchal
2ca4f84792 Remove extra fmf root, move test under beakerlib 2019-11-20 10:50:16 +01:00
Jaroslav Škarvada
cc974087a0
Merge pull request #212 from pvalena/fix-tmt
Fix packit / TMT tests.
2019-11-19 22:34:18 +01:00
Pavel Valena
2100a53b44 Fix packit / TMT tests. 2019-11-19 18:32:09 -02:00
Jaroslav Škarvada
7623044b58
packit: minor updates
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-11-19 19:58:43 +01:00
Jaroslav Škarvada
9841c1250f
beakerlib: added Robin's name and fixed description
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-11-18 16:38:01 +01:00
Jaroslav Škarvada
cff78c537c tests: moved tests under directory 'tests'
Also renamed directories to be more consistent.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-11-18 16:34:11 +01:00