diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/qatzip.spec b/qatzip.spec index d7d1614..054fa98 100644 --- a/qatzip.spec +++ b/qatzip.spec @@ -5,7 +5,7 @@ Name: qatzip Version: 1.0.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Intel QuickAssist Technology (QAT) QATzip Library License: BSD URL: https://github.com/intel/%{githubname} @@ -82,6 +82,9 @@ rm -vf %{buildroot}%{_mandir}/*.pdf %{_libdir}/libqatzip.so %changelog +* Wed Oct 20 2021 Vladis Dronov - 1.0.6-4 +- Add OSCI testing harness (bz 1874207) + * Mon Sep 13 2021 zm627 - 1.0.6-3 - Rebuild for qatzip v1.0.6 diff --git a/tests/README b/tests/README new file mode 100644 index 0000000..b485c12 --- /dev/null +++ b/tests/README @@ -0,0 +1,21 @@ +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=1747500#c50 for the details: + +> Test QATzip [ https://github.com/intel/QATzip/blob/master/README.md#test-qatzip ] +> Performance Test With QATzip [ https://github.com/intel/QATzip/blob/master/README.md#performance-test-with-qatzip ] +> +> The first one - “Test QATzip” provides the basic usage of qzip binary, the compression binary. +> You can perform basic test such as compression and decompression with this binary to check +> the installation of QATzip binary. +> +> The second one, whose binary is in the test directory of source code, mentioned in +> the performance test section, can be used for the verification of installation of QATzip lib. +> However, this test binary is not packaged in the rpm package, from an aspect that the user +> do not need to verify the installation... Since QATlib provides a different way of configuring +> QAT hardware from the original out of tree driver, some of the performance test cases are deprecated. diff --git a/tests/nulltest.sh b/tests/nulltest.sh new file mode 100755 index 0000000..74b68d4 --- /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, qatzip and QAT kernel patchsets +echo QATZip 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