From 5b06b3201f6e0e631120012348791f75c3748bc8 Mon Sep 17 00:00:00 2001 From: Vladis Dronov Date: Sun, 24 Mar 2024 23:13:07 +0100 Subject: [PATCH] Update to qatlib 24.02.0 Add zuc_sample to qatlib-tests package Use proper SPDX license identifiers Resolves: RHEL-20173 Signed-off-by: Vladis Dronov --- .gitignore | 2 +- gating.yaml | 6 ++++ qatlib.spec | 90 ++++++----------------------------------------- sources | 2 +- tests/README | 13 +++++++ tests/nulltest.sh | 6 ++++ tests/tests.yml | 10 ++++++ 7 files changed, 47 insertions(+), 82 deletions(-) create mode 100644 gating.yaml create mode 100644 tests/README create mode 100755 tests/nulltest.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 22f77e0..abe449e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/qatlib-23.11.0.tar.gz +/qatlib-*.tar.gz diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/qatlib.spec b/qatlib.spec index 03306c2..3017f79 100644 --- a/qatlib.spec +++ b/qatlib.spec @@ -3,12 +3,12 @@ %global libqat_soversion 4 %global libusdm_soversion 0 Name: qatlib -Version: 23.11.0 -Release: 3%{?dist} +Version: 24.02.0 +Release: 1%{?dist} Summary: Intel QuickAssist user space library # The entire source code is released under BSD. # For a breakdown of inbound licenses see the INSTALL file. -License: BSD and (BSD or GPLv2) +License: BSD-3-Clause AND ( BSD-3-Clause OR GPL-2.0-only ) URL: https://github.com/intel/%{name} Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel nasm @@ -119,6 +119,7 @@ exit 0 %attr(0754,-,qat) %{_bindir}/prime_sample %attr(0754,-,qat) %{_bindir}/hkdf_sample %attr(0754,-,qat) %{_bindir}/ec_montedwds_sample +%attr(0754,-,qat) %{_bindir}/zuc_sample %{_datadir}/qat/calgary %{_datadir}/qat/calgary32 %{_datadir}/qat/canterbury @@ -131,81 +132,10 @@ exit 0 %{_mandir}/man8/qat_init.sh.8* %changelog -* Fri Jan 26 2024 Fedora Release Engineering - 23.11.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild +* Fri Mar 22 2024 Vladis Dronov - 24.02.0-1 +- Update to qatlib 24.02.0 (RHEL-20173) +- Add zuc_sample to qatlib-tests package +- Use proper SPDX license identifiers -* Mon Jan 22 2024 Fedora Release Engineering - 23.11.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Nov 17 2023 Giovanni Cabiddu - 23.11.0-1 -- Update to qatlib 23.11.0 - -* Thu Sep 07 2023 Giovanni Cabiddu - 23.08.0-1 -- Add chaining_sample to qatlib-tests package -- Update to qatlib 23.08.0 - -* Fri Jul 21 2023 Fedora Release Engineering - 23.02.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Fri Feb 24 2023 Giovanni Cabiddu - 23.02.0-1 -- Update to qatlib 23.02.0 - -* Fri Jan 20 2023 Fedora Release Engineering - 22.07.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Tue Nov 15 2022 Giovanni Cabiddu - 22.07.2-1 -- Update to qatlib 22.07.2 - -* Thu Oct 20 2022 Giovanni Cabiddu - 22.07.1-1 -- Update to qatlib 22.07.1 - -* Fri Jul 22 2022 Fedora Release Engineering - 22.07.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jul 22 2022 Giovanni Cabiddu - 22.07.0-1 -- Update to qatlib 22.07 -- Removed patches as fixes are present in qatlib 22.07 -- Moved qat.service to separate rpm - -* Tue Mar 22 2022 Vladis Dronov - 21.11.0-3 -- Fix small issues in qatlib-tests package -- Update documentation from the upstream - -* Fri Jan 21 2022 Fedora Release Engineering - 21.11.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Nov 10 2021 Giovanni Cabiddu - 21.11.0-1 -- Update to qatlib 21.11 -- Add qatlib-tests package - -* Tue Sep 14 2021 Sahana Prasad - 21.08.0-2 -- Rebuilt with OpenSSL 3.0.0 - -* Wed Sep 08 2021 Giovanni Cabiddu - 21.08.0-1 -- Update to qatlib 21.08 - -* Mon Aug 16 2021 Vladis Dronov - 21.05.0-3 -- Add documentation files to the package - -* Fri Jul 23 2021 Fedora Release Engineering - 21.05.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue May 18 2021 Giovanni Cabiddu - 21.05.0-1 -- Update to qatlib 21.05 - -* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 20.10.0-4 -- Rebuilt for updated systemd-rpm-macros - See https://pagure.io/fesco/issue/2583. - -* Wed Jan 27 2021 Fedora Release Engineering - 20.10.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Dec 14 2020 Giovanni Cabiddu - 20.10.0-2 -- Add ExcludeArch i686 - -* Mon Nov 16 2020 Giovanni Cabiddu - 20.10.0-1 -- Update to qatlib 20.10 -- Fixes to spec to address comments from Fedora review - -* Mon Aug 10 2020 Mateusz Polrola - 20.08.0-1 -- Initial version of the package +* Fri Jan 26 2024 Vladis Dronov - 23.11.0-3 +- Initial import diff --git a/sources b/sources index e3f4b07..0effe4b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qatlib-23.11.0.tar.gz) = b2771ab5d069b0a76a266fa7eac3703da982bba8c988794a72072f7a3c647a2db48b8854cf03a030ba58bc85b6ff4f271688dbc3e3532b0ff9e88e959798ba7b +SHA512 (qatlib-24.02.0.tar.gz) = 34008396f1f8631d31e0f62b7192cff216dfe9a5ed9a02db9dc09d876b34b5daa7712c3f9679d949b25db35334a592770468dd808a0f5bd871274b84fa7ef3c2 diff --git a/tests/README b/tests/README new file mode 100644 index 0000000..29ee5c3 --- /dev/null +++ b/tests/README @@ -0,0 +1,13 @@ +these tests should be configured as BaseOS CI tests (not as OSCI tests), as +they require an x86_64 machine with QAT_4XXX (or later) hardware, so should +be run in Beaker. +see: https://docs.engineering.redhat.com/display/RTT/Onboarding+gating+tests +and: https://docs.engineering.redhat.com/pages/viewpage.action?pageId=53110084 +and: https://docs.engineering.redhat.com/display/RTT/Creating+and+Updating+beaker+test + +see https://bugzilla.redhat.com/show_bug.cgi?id=1725444#c31 for the details. + +QATlib includes some sample codes that can be used to do a sanity check. +However they require a platform with QAT_4XXX. The sample codes reside now +in qatlib-tests package in CRB. You can use cpa_sample_code for a general +sanity test. diff --git a/tests/nulltest.sh b/tests/nulltest.sh new file mode 100755 index 0000000..5bd192a --- /dev/null +++ b/tests/nulltest.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# we cannot the this since there is no machine with QAT_4XXX hardware in Beaker as of now +# Intel promised us to provide OtherQA for qatlib, qatengine and QAT kernel patchsets +echo QATLIB nulltest is PASS +exit 0 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..0e807fa --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,10 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - nulltest: + dir: . + run: nulltest.sh