Compare commits

...

No commits in common. "c8s" and "c9s" have entirely different histories.
c8s ... c9s

8 changed files with 75 additions and 9 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/qatzip-1.0.9.tar.gz
/qatzip-*.tar.gz

View File

@ -1 +1 @@
50c6dfb8f3eb44bd098588ffcbbe84911346bbc0 SOURCES/qatzip-1.0.9.tar.gz
b3102051fb9310c4a813a3202ddcd9ca2edfdb07 qatzip-1.2.0.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,16 +4,16 @@
%global libqatzip_soversion 3
Name: qatzip
Version: 1.0.9
Version: 1.2.0
Release: 1%{?dist}
Summary: Intel QuickAssist Technology (QAT) QATzip Library
License: BSD
License: BSD-3-Clause
URL: https://github.com/intel/%{githubname}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc >= 4.8.5
BuildRequires: zlib-devel >= 1.2.7
BuildRequires: qatlib-devel >= 22.07.0
BuildRequires: qatlib-devel >= 23.08.0
BuildRequires: autoconf automake libtool make lz4-devel
# The purpose of the package is to support hardware that only exists on x86_64 platforms
# https://bugzilla.redhat.com/show_bug.cgi?id=1987280
@ -46,7 +46,7 @@ This package contains headers and libraries required to build
applications that use the QATzip APIs.
%prep
%autosetup -p0 -n %{githubname}-%{version}
%autosetup -n %{githubname}-%{version}
%build
%set_build_flags
@ -74,6 +74,7 @@ rm -vf %{buildroot}%{_mandir}/*.pdf
%license LICENSE*
%{_mandir}/man1/qzip.1*
%{_bindir}/qzip
%{_bindir}/qatzip-test
%files libs
%license LICENSE*
@ -83,14 +84,35 @@ rm -vf %{buildroot}%{_mandir}/*.pdf
%doc docs/QATzip-man.pdf
%{_includedir}/qatzip.h
%{_libdir}/libqatzip.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Mar 22 2024 Vladis Dronov <vdronov@redhat.com> - 1.2.0-1
- Update to qatzip v1.2.0 (RHEL-20180)
- Add qatzip-test tool
- SW fallback
- Fix some bugs
* Mon Nov 20 2023 Vladis Dronov <vdronov@redhat.com> - 1.1.2-2
- Rebuild qatzip 1.1.2 for qatlib 23.11 (RHEL-15635)
* Wed Mar 29 2023 Vladis Dronov <vdronov@redhat.com> - 1.1.2-1
- Update to qatzip 1.1.2 (bz 2082438)
- Update README, update driver configure files
- Fix some bugs
- Add support for pkgconfig
* Mon Aug 08 2022 Vladis Dronov <vdronov@redhat.com> - 1.0.9-1
- Rebuild for qatzip v1.0.9 (bz 2048039)
- Rebuild for qatzip v1.0.9 (bz 2047744)
- Update to require qatlib-devel >= 22.07.0 due to soversion bump
* Wed Oct 13 2021 Vladis Dronov <vdronov@redhat.com> - 1.0.6-5
- Add OSCI testing harness (bz 1747500)
* Wed Feb 09 2022 Vladis Dronov <vdronov@redhat.com> - 1.0.7-1
- Rebuild for qatzip v1.0.7
- Fix snprintf truncation check (bz 2046925)
- Add -fstack-protector-strong build option (bz 2044889)
* Wed Oct 20 2021 Vladis Dronov <vdronov@redhat.com> - 1.0.6-5
- Add OSCI testing harness (bz 1874207)
* Mon Sep 13 2021 zm627 <zheng.ma@intel.com> - 1.0.6-3
- Rebuild for qatzip v1.0.6

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (qatzip-1.2.0.tar.gz) = 9c2305152aad5e0c75adcb5a600009fc4abe9c0aa3d9701a0b2dc283cbc4665d685d755973ae0da37e0850dd3d8e95c31fd5992b17c3c0dea1fff5e0371aa0d8

21
tests/README Normal file
View File

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

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, qatzip and QAT kernel patchsets
echo QATZip 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