From c9e2839f3eeeb6483cbb936a9adced2b27fe6377 Mon Sep 17 00:00:00 2001 From: Vladis Dronov Date: Tue, 7 Mar 2023 12:02:02 +0100 Subject: [PATCH] Update to qatengine 0.6.19 Resolves: rhbz#2082435 Signed-off-by: Vladis Dronov --- .gitignore | 4 ++-- gating.yaml | 6 ++++++ qatengine.spec | 7 +++++-- sources | 2 +- tests/README | 13 +++++++++++++ tests/nulltest.sh | 6 ++++++ tests/tests.yml | 10 ++++++++++ 7 files changed, 43 insertions(+), 5 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 343e875..2a4bd96 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/qatengine-0.6.15.tar.gz -/qatengine-0.6.15.tar.gz +SOURCES/qatengine-0.6.19.tar.gz +/qatengine-0.6.19.tar.gz diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/qatengine.spec b/qatengine.spec index cb39792..f40ca98 100644 --- a/qatengine.spec +++ b/qatengine.spec @@ -4,8 +4,8 @@ %global enginesdir %(pkg-config --variable=enginesdir libcrypto) Name: qatengine -Version: 0.6.15 -Release: 2%{?dist} +Version: 0.6.19 +Release: 1%{?dist} Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine # Most of the source code is BSD, with the following exceptions: # - e_qat.txt, e_qat_err.c, and e_qat_err.h are OpenSSL @@ -46,6 +46,9 @@ autoreconf -ivf %exclude %{enginesdir}/qatengine.la %changelog +* Tue Mar 07 2023 Vladis Dronov - 0.6.19-1 +- Update to qatengine v0.6.19 (bz 2082435) + * Tue Sep 06 2022 Vladis Dronov - 0.6.15-2 - Rebuild due to soverion bump (bz 2048036) diff --git a/sources b/sources index 5fe1e8d..c2901bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qatengine-0.6.15.tar.gz) = 5a310382df090c63c5730584f4916963d6772bbe8695d284ed11ff2b527936823c6458aa23da457edd2f16e6906d364ac47d8bf84c1d84d6272ceda79bb0f45c +SHA512 (qatengine-0.6.19.tar.gz) = 02dda5797b0d44c38e8257981351a477f11bf28fc58d59f8fbdc29669d27bbc4e7255a58ac32ad7ac2fb9ca1f349d2178cf93962625838115aaff34be73aadef diff --git a/tests/README b/tests/README new file mode 100644 index 0000000..086bc99 --- /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=1747499#c35 for the details: + +> There is no make test inside qatengine. And yes the test procedures you mentioned +> in README are enough to test it with OpenSSL. +> https://github.com/intel/QAT_Engine#test-the-intel-quickassist-technology-openssl-engine +> https://github.com/intel/QAT_Engine#run-speed-with-the-intel-quickassist-technology-openssl-engine diff --git a/tests/nulltest.sh b/tests/nulltest.sh new file mode 100755 index 0000000..7664bf7 --- /dev/null +++ b/tests/nulltest.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# we cannot test 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 QATEngine 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