Initial commit to enable RHEL-9 gating for stalld

Resolves: rhbz#1966701
Signed-off-by: Mark Simmons msimmons@redhat.com
This commit is contained in:
Red Tail 2021-06-02 13:38:44 -04:00
parent fd0fbd7d51
commit 3f62a7a594
5 changed files with 48 additions and 5 deletions

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1 +1 @@
SHA512 (stalld-1.9.tar.xz) = f64d870b9f7883142289f1e92400733d39ff4f39550aa66663de49a230aceae54fc37bc175beda687ffc4316440425db39e1705e9ffd527672d5b4121200febb
SHA512 (stalld-1.10.tar.xz) = 839f63281ae637203135840fa1f3c8ce0ef5547463f65c9d0590237e801b96946eff21d1636549c57edfdf301adc392def24e0ccd6c43b6b2542166ec71a65a1

View File

@ -1,6 +1,6 @@
Name: stalld
Version: 1.9
Release: 2%{?dist}
Version: 1.10
Release: 1%{?dist}
Summary: Daemon that finds starving tasks and gives them a temporary boost
License: GPLv2
@ -51,8 +51,13 @@ allow 10 microseconds of runtime for 1 second of clock time.
%systemd_postun_with_restart %{name}.service
%changelog
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.9-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Apr 27 2021 Clark Williams <williams@redhat.com> - 1.10-1
- utils: Fix bounds check on cpu and end_cpu variables
- stalld: Support denylisting of tasks in stalld
- src/utils: use right argument for warning printf
* Wed Feb 17 2021 Clark Williams <williams@redhat.com> - 1.9-2
- update to pick up latest gating test
* Wed Feb 17 2021 Clark Williams <williams@redhat.com> - 1.9-1
- Set starvation threshold default to 30 seconds

View File

@ -0,0 +1,21 @@
#!/usr/bin/bash
# This will get uncommented once we have the rpm
# make sure we have stalld installed
if rpm -q --quiet stalld; then
:
else
sudo dnf install -y stalld
if [[ $? != 0 ]]; then
echo "install of stalld failed!"
exit 1
fi
fi
STALLD="/usr/bin/stalld"
# See if stalld is installed and executable
$STALLD --help 2>> /dev/null
if [[ $? != 0 ]]; then
exit 2
fi

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: scripts
run: ./run_tests.sh
required_packages:
- stalld