Update to qatengine v0.6.10

And add OSCI testing harness

Resolves: rhbz#2012945

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
This commit is contained in:
Vladis Dronov 2021-11-15 11:10:11 +01:00
parent 09d2822ab5
commit 77617064fe
7 changed files with 43 additions and 4 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/qatengine-0.6.7.tar.gz
/qatengine-0.6.10.tar.gz

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

@ -4,7 +4,7 @@
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
Name: qatengine
Version: 0.6.7
Version: 0.6.10
Release: 1%{?dist}
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
# Most of the source code is BSD, with the following exceptions:
@ -18,7 +18,7 @@ Source0: https://github.com/intel/%{githubname}/archive/v%{version}/%{nam
BuildRequires: gcc make pkg-config
BuildRequires: autoconf automake libtool
BuildRequires: openssl-devel >= 1.1.1
BuildRequires: qatlib-devel >= 20.10.0
BuildRequires: qatlib-devel >= 21.08.0
# https://bugzilla.redhat.com/show_bug.cgi?id=1909065
ExcludeArch: %{arm} aarch64 %{power64} s390x i686
@ -46,6 +46,10 @@ autoreconf -ivf
%exclude %{enginesdir}/qatengine.la
%changelog
* Mon Nov 15 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.10-1
- Update to qatengine v0.6.10 (bz 2012945)
- Add OSCI testing harness
* Wed Aug 18 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.7-1
- Update to qatengine v0.6.7 with openssl-3 support (bz 1874206, bz 1953498)
- Add documentation files to a package

View File

@ -1 +1 @@
SHA512 (qatengine-0.6.7.tar.gz) = 7bb8ea0fb9f60f5dddd74f5443db44c220bd893d1fe234cbc38478d90f6c29956cfa7c79c7fa2490e596bc8263fa89f018dd4144ec96ee19b940cb5fd170ee46
SHA512 (qatengine-0.6.10.tar.gz) = 22ac81a8a361f90fe3f1aa85a0e0cdff83c5621602ff1b1c56265e87f3dd5498f2c10fa31d07ec4d0165739b34fcb3671fbf5ebe71aeb2d7e91cde2ad0de6c86

13
tests/README Normal file
View File

@ -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

6
tests/nulltest.sh Executable file
View File

@ -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

10
tests/tests.yml Normal file
View File

@ -0,0 +1,10 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- nulltest:
dir: .
run: nulltest.sh