Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

8 changed files with 88 additions and 29 deletions

7
.gitignore vendored
View File

@ -1 +1,6 @@
SOURCES/linux-5.18.1.tar.xz
*.swp
/linux-5.7.tar.xz
/linux-5.13.2.tar.xz
/linux-5.18.1.tar.xz
/linux-6.1.8.tar.xz
/linux-6.6.1.tar.xz

View File

@ -1 +0,0 @@
e952cf4cc50c7299117b7346671817be47c0a945 SOURCES/linux-5.18.1.tar.xz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# rteval-loads
The rteval-loads package

6
gating.yaml Normal file
View File

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

View File

@ -1,11 +1,12 @@
Name: rteval-loads
Version: 1.6
Release: 2%{?dist}
Release: 4%{?dist}
Summary: Source files for rteval loads
Group: Development/Tools
License: GPLv2
URL: https://git.kernel.org/pub/scm/utils/rteval/rteval.git
Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.18.1.tar.xz
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-6.6.1.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -17,8 +18,8 @@ This package provides source code for system loads used by the rteval package
%build
%install
mkdir -p ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
install -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
mkdir -p %{buildroot}%{_datadir}/rteval/loadsource
install -m 644 %{SOURCE0} %{buildroot}%{_datadir}/rteval/loadsource
%files
%defattr(-,root,root,-)
@ -26,38 +27,51 @@ install -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
%{_datadir}/rteval/loadsource/*
%changelog
* Fri Jun 03 2022 John Kacur <jkacur@redhat.com> - 1.6-2
- Upgrade run_tests.sh with the new kernel version
Resolves: rhbz#2093059
* Thu Nov 09 2023 John Kacur <jkacur@redhat.com> - 1.6-4
- Upgrade the the kernel to linux-6.6.1
- Make the gating tests match the correct kernel version
Resolves: RHEL-14482
* Fri Jun 03 2022 John Kacur <jkacur@redhat.com> - 1.6-1
* Fri Feb 03 2023 John Kacur <jkacur@redhat.com> - 1.6-3
- Upgrade the gating tests to match the kernel version in rteval-loads
Resolves: rhbz#2166356
jiraProject == RHELPLAN-147319
* Fri Feb 03 2023 John Kacur <jkacur@redhat.com> - 1.6-2
- Upgrade the kernel to linux-6.1.8.tar.xz
Resolves: rhbz#2166356
jiraProject == RHELPLAN-147319
* Fri Jun 03 2022 John Kacur<jkacur@redhat.com> - 1.6-1
- Upgrade the kernel to linux-5.18.1.tar.xz
Resolves: rhbz#2093059
Resolves: rhbz#2093058
* Wed Jan 19 2022 John Kacur <jkacur@redhat.com> - 1.5-2
* Wed Jan 19 2022 John Kacur <jkacur@redhat.com> - 1.5-1
- Fix the gating test to match the kernel version delivered by rteval-loads
Resolves: rhbz#2042213
- Change the version number to sync with rteval-loads in rhel-8
Resolves: rhbz#2042214
* Thu Jan 13 2022 John Kacur <jkacur@redhat.com> - 1.5-1
- Update to kernel
Resolves: rhbz#2017513
* Tue Jan 18 2022 John Kacur <jkacur@redhat.com> - 1.4-16
- Rebuild for rhel-9.0
Resolves: rhbz#2042053
* Tue Oct 26 2021 John Kacur <jkacur@redhat.com> - 1.4-14
- Remove stress-ng from rteval-loads
Resolves:rhbz#2007027
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-15
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed Apr 28 2021 John Kacur <jkacur@redhat.com> - 1.4-13
- Rebuild rteval-build with a fixed binutils in brew
- Bump the release number of stress-ng as well
Resolves: rhbz#1954451
* Thu Jul 15 2021 John Kacur <jkacur@redhat.com> - 1.4-14
- Upgrade to linux-5.13.2
Resolves: rhbz#1890562
* Mon Apr 12 2021 John Kacur <jkacur@redhat.com> - 1.4-12
- Update stress-ng to 0.12.06 upstream
Resolves: rhbz#1947648
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-13
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Fri Jan 08 2021 John Kacur <jkacur@redhat.com> - 1.4-11
- Update the URL source to the correct current location.
Resolves: rhbz#1914420
* Thu Jan 28 2021 John Kacur <jkacur@redhat.com> - 1.4-12
- Since this package only delivers kernel, moving the spec requires
for building it to the rteval packages
* Sun Jan 10 2021 John Kacur <jkacur@redhat.com> - 1.4-11
- Remove stress-ng since it is already packaged with Fedora
* Thu Jul 23 2020 John Kacur <jkacur@redhat.com> - 1.4-10
- Rebuild bumping up both packages release number to avoid

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (linux-6.6.1.tar.xz) = d0aa5c3e686089c21e4a155cda1c46215c877f82dd15f7e4e7ba8a4a8c161baccc110488262e139507ff9e625e0118ade888f3e54ac5d75b9acfa2163932dcc7

View File

@ -0,0 +1,20 @@
#!/usr/bin/bash
# make sure we have rteval installed
if rpm -q --quiet rteval-loads; then
:
else
sudo dnf install -y rteval-loads
if [[ $? != 0 ]]; then
echo "install of rteval failed!"
exit 1
fi
fi
# check that the tarball is in place
if [[ ! -f /usr/share/rteval/loadsource/linux-6.6.1.tar.xz ]]; then
echo "No load tarball found!"
exit 3
fi
exit 0

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:
- rteval-loads