Compare commits
10 Commits
8667e94ed3
...
d47074bbe1
Author | SHA1 | Date | |
---|---|---|---|
|
d47074bbe1 | ||
|
2d0a0ac1ce | ||
|
f7d3e7bb3b | ||
|
919703ad1c | ||
|
939a94b17d | ||
|
55a993c7c3 | ||
|
eb1b507989 | ||
|
05c01a4027 | ||
|
9a20262afc | ||
|
67fe6a0907 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -0,0 +1,5 @@
|
|||||||
|
*.swp
|
||||||
|
/linux-5.7.tar.xz
|
||||||
|
/linux-5.13.2.tar.xz
|
||||||
|
/linux-5.18.1.tar.xz
|
||||||
|
/linux-6.1.8.tar.xz
|
2
.rteval-loads.metadata
Normal file
2
.rteval-loads.metadata
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
e952cf4cc50c7299117b7346671817be47c0a945 linux-5.18.1.tar.xz
|
||||||
|
880471edaa649166a7db5e9689b90343b5ed1e4c linux-6.1.8.tar.xz
|
6
gating.yaml
Normal file
6
gating.yaml
Normal 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}
|
134
rteval-loads.spec
Normal file
134
rteval-loads.spec
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
Name: rteval-loads
|
||||||
|
Version: 1.6
|
||||||
|
Release: 3%{?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/v6.x/linux-6.1.8.tar.xz
|
||||||
|
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides source code for system loads used by the rteval package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/rteval/loadsource
|
||||||
|
install -m 644 %{SOURCE0} %{buildroot}%{_datadir}/rteval/loadsource
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{_datadir}/rteval/loadsource
|
||||||
|
%{_datadir}/rteval/loadsource/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* 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#2093058
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- Change the version number to sync with rteval-loads in rhel-8
|
||||||
|
Resolves: rhbz#2042214
|
||||||
|
|
||||||
|
* Tue Jan 18 2022 John Kacur <jkacur@redhat.com> - 1.4-16
|
||||||
|
- Rebuild for rhel-9.0
|
||||||
|
Resolves: rhbz#2042053
|
||||||
|
|
||||||
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-15
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Thu Jul 15 2021 John Kacur <jkacur@redhat.com> - 1.4-14
|
||||||
|
- Upgrade to linux-5.13.2
|
||||||
|
Resolves: rhbz#1890562
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-13
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- brew clashes
|
||||||
|
Resolves: rhbz#1859763
|
||||||
|
|
||||||
|
* Thu Jul 23 2020 John Kacur <jkacur@redhat.com> - 1.4-9
|
||||||
|
- Rebuild excluding aarch64 since stress-ng already exists there
|
||||||
|
Resolves: rhbz#1859763
|
||||||
|
|
||||||
|
* Thu Jul 23 2020 John Kacur <jkacur@redhat.com> - 1.4-8
|
||||||
|
- Upgrade to kernel linux-5.7
|
||||||
|
- Removing old "Obsoletes" from spec file
|
||||||
|
Resolves: rhbz#1859763
|
||||||
|
|
||||||
|
* Fri May 22 2020 John Kacur <jkacur@redhat.com> - 1.4-7
|
||||||
|
- Add stress-ng as a subpackage
|
||||||
|
Resolves: rhbz#1816357
|
||||||
|
|
||||||
|
* Thu Nov 21 2019 John Kacur <jkacur@redhat.com> - 1.4-6
|
||||||
|
- Update the gating test run_tests.sh for the kernel linux-5.1
|
||||||
|
Resolves: rhbz#1775202
|
||||||
|
|
||||||
|
* Fri Nov 08 2019 John Kacur <jkacur@redhat.com> - 1.4-5
|
||||||
|
- Upgrade to using kernel linux-5.1
|
||||||
|
Resolves: rhbz#1724827
|
||||||
|
|
||||||
|
* Mon Apr 01 2019 Clark Williams <williams@redhat.com> - 1.4-4
|
||||||
|
- OSCI gating framework
|
||||||
|
Resolves: rhbz#1682425
|
||||||
|
|
||||||
|
* Tue Jun 12 2018 John Kacur <jkacur@redhat.com> - 1.4-3
|
||||||
|
- Trigger a rebuild for rhel-8.0
|
||||||
|
|
||||||
|
* Thu Oct 19 2017 John Kacur <jkacur@redhat.com> - 1.4-2
|
||||||
|
- updated the url of the linux kernel in this spec file
|
||||||
|
Resolves: rhbz1504141
|
||||||
|
|
||||||
|
* Tue Jan 10 2017 Clark Williams <williams@redhat.com> - 1.4-1
|
||||||
|
- updated kernel tarball to 4.9 [1432625]
|
||||||
|
|
||||||
|
* Fri Jun 5 2015 Clark Williams <williams@redhat.com> - 1.3-3
|
||||||
|
- add requires for kernel-header package [1228740]
|
||||||
|
|
||||||
|
* Mon Nov 10 2014 Luis Claudio R. Goncalves <lgoncalv@redhat.com> - 1.3-2
|
||||||
|
- rebuild for RHEL-7.1 (1151569)
|
||||||
|
|
||||||
|
* Fri May 20 2011 Clark Williams <williams@redhat.com> - 1.3-1
|
||||||
|
- updated kernel tarball to 2.6.39
|
||||||
|
|
||||||
|
* Mon Feb 7 2011 Clark Williams <williams@redhat.com> - 1.2-3
|
||||||
|
- initial build for MRG 2.0 (RHEL6)
|
||||||
|
|
||||||
|
* Thu Jul 15 2010 Clark Williams <williams@redhat.com> - 1.2-2
|
||||||
|
- removed rteval require from specfile (caused circular dependency)
|
||||||
|
|
||||||
|
* Thu Jul 8 2010 Clark Williams <williams@redhat.com> - 1.2-1
|
||||||
|
- removed hackbench tarball (now using rt-tests hackbench)
|
||||||
|
|
||||||
|
* Fri Feb 19 2010 Clark Williams <williams@redhat.com> - 1.1-1
|
||||||
|
- updated hackbench source with fixes from David Sommerseth
|
||||||
|
<davids@redhat.com> to cleanup child processes
|
||||||
|
|
||||||
|
* Thu Nov 5 2009 Clark Williams <williams@redhat.com> - 1.0-1
|
||||||
|
- initial packaging effort
|
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA512 (linux-5.18.1.tar.xz) = 1d3f676403b7f21c6790cac568e9655f95012c250a7d0f35cb8223c8a36ce561b414a25cd85be6892607facb617247d4983f4be426388dd6c6817991a6da928d
|
||||||
|
SHA512 (linux-6.1.8.tar.xz) = c5af551e441f7f987419833a15d5b2191e13d1c321a022aef6b12227017a3f295e42e79cc6b8a05f41f7374ef11c8aa0d75bb8b1c157aaa072e8b8681364e783
|
20
tests/scripts/run_tests.sh
Normal file
20
tests/scripts/run_tests.sh
Normal 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.1.8.tar.xz ]]; then
|
||||||
|
echo "No load tarball found!"
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user