upgrade 1.1.7

(cherry picked from commit 41ba6f6cfc9dea49c5e31205ca8bc5f499a87b54)
This commit is contained in:
Shine.Wang 2025-01-06 21:56:27 +08:00 committed by openeuler-sync-bot
parent 765ee095b1
commit 9dce4e2d09
8 changed files with 22 additions and 118119 deletions

View File

@ -0,0 +1,16 @@
# 1.1.7 Release announcement
## New
* [add kernel support for openEuler 24.03 LTS SP1](https://gitee.com/openeuler/oec-hardware/pulls/297)
## Bug Fixes
* [GPU test suite fix](https://gitee.com/openeuler/oec-hardware/pulls/303)
* [Kdump test suite fix](https://gitee.com/openeuler/oec-hardware/pulls/296)
* [Remove unused variable in cdrom test suite](https://gitee.com/openeuler/oec-hardware/pulls/281)
* [Optimize the display judgement of gpu and unify the location for downloading kernel source RPMs etc.](https://gitee.com/openeuler/oec-hardware/pulls/291)
* [Optimize "show_hugepages" function in dpdk test suite](https://gitee.com/openeuler/oec-hardware/pulls/287)
## Optimization
* [Update test_guide doc](https://gitee.com/openeuler/oec-hardware/pulls/282)
* [Update pci.ids](https://gitee.com/openeuler/oec-hardware/pulls/284)
* [Update the design doc of oech and add comments of main module](https://gitee.com/openeuler/oec-hardware/pulls/289)
* [Add the raid test identification of PM8222-SHBA](https://gitee.com/openeuler/oec-hardware/pulls/288)

View File

@ -1,12 +0,0 @@
diff -Naur rpm/hwcompatible/compatibility.py oech/hwcompatible/compatibility.py
--- rpm/hwcompatible/compatibility.py 2024-09-25 15:21:01.000000000 +0800
+++ oech/hwcompatible/compatibility.py 2024-10-15 08:48:21.768690626 +0800
@@ -341,6 +341,8 @@
sort_devices["disk"] = [empty_device]
if "RAID" in device.get_property("ID_PCI_SUBCLASS_FROM_DATABASE") or \
("SCSI" in device.get_property("ID_PCI_SUBCLASS_FROM_DATABASE") and
+ "SHBA" in device.get_property("ID_MODEL_FROM_DATABASE")) or \
+ ("SCSI" in device.get_property("ID_PCI_SUBCLASS_FROM_DATABASE") and
"HBA" not in device.get_property("ID_MODEL_FROM_DATABASE")):
if "raid" in sort_devices.keys():
sort_devices["raid"].extend([device])

View File

@ -1,14 +0,0 @@
diff -Naur rpm/tests/compatible/dpdk/hugepages.py oech/tests/compatible/dpdk/hugepages.py
--- rpm/tests/compatible/dpdk/hugepages.py 2024-09-25 15:21:01.000000000 +0800
+++ oech/tests/compatible/dpdk/hugepages.py 2024-10-18 10:06:36.033839943 +0800
@@ -62,6 +62,10 @@
for numa_path in glob.glob('/sys/devices/system/node/node*'):
node = numa_path[29:] # slice after /sys/devices/system/node/node
path = os.path.join(numa_path, 'hugepages')
+ if not os.path.exists(path):
+ self.logger.info("%s doesn't exist" % path)
+ continue
+
for hdir in os.listdir(path):
comm = self.command.run_cmd("cat %s/%s/nr_hugepages" % (path, hdir))
pages = int(comm[0].strip('\n'))

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -5,18 +5,14 @@
Name: oec-hardware Name: oec-hardware
Summary: openEuler Hardware Compatibility Test Suite Summary: openEuler Hardware Compatibility Test Suite
Version: 1.1.6 Version: 1.1.7
Release: 4 Release: 0
Group: Development/Tools Group: Development/Tools
License: Mulan PSL v2 License: Mulan PSL v2
URL: https://gitee.com/openeuler/oec-hardware URL: https://gitee.com/openeuler/oec-hardware
Source0: https://gitee.com/openeuler/oec-hardware/repository/archive/v%{version}.tar.gz Source0: https://gitee.com/openeuler/oec-hardware/repository/archive/v%{version}.tar.gz
# patch fix issue # patch fix issue
Patch0001: oec-hardware-1.1.6-1-fix-bug-raid-test-cannot-identify-PM8222-SHBA.patch
Patch0002: oec-hardware-1.1.6-2-fix-dpdk-show-numa-pages.patch
Patch0003: oec-hardware-1.1.6-3-optimize-gpu-display.patch
Patch0004: oec-hardware-1.1.6-4-kdump-fix.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gcc BuildRequires: gcc
@ -40,10 +36,6 @@ openEuler Hardware Compatibility Test Server
%prep %prep
%setup -q -c %setup -q -c
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build %build
%ifarch x86_64 aarch64 %ifarch x86_64 aarch64
@ -91,6 +83,10 @@ sed -i 's#grep openeulerversion /etc/openEuler-latest#grep %{vendor_lowercase}ve
rm -rf /var/lock/oech.lock rm -rf /var/lock/oech.lock
%changelog %changelog
* Mon Jan 06 2025 wangshuai <wangshuai321@huawei.com> - 1.1.7-0
- Add kernel support for openEuler 24.03 LTS SP1
- GPU test suite optimize
* Wed Nov 13 2024 wangshuai <wangshuai321@huawei.com> - 1.1.6-4 * Wed Nov 13 2024 wangshuai <wangshuai321@huawei.com> - 1.1.6-4
- Kdump test suite bugfix - Kdump test suite bugfix

Binary file not shown.

BIN
v1.1.7.tar.gz Normal file

Binary file not shown.