diff --git a/0003-fix-bug-in-test_hotpatch.py.patch b/0003-fix-bug-in-test_hotpatch.py.patch new file mode 100644 index 0000000..a402546 --- /dev/null +++ b/0003-fix-bug-in-test_hotpatch.py.patch @@ -0,0 +1,27 @@ +From ccbd7a6dea68303fb7ec6f777f0e6b8d9e6c7773 Mon Sep 17 00:00:00 2001 +From: wang-guangge +Date: Wed, 15 Nov 2023 10:35:42 +0800 +Subject: [PATCH] fix bug in test_hotpatch.py + +--- + hotpatch/test_hotpatch.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hotpatch/test_hotpatch.py b/hotpatch/test_hotpatch.py +index f46faed..e903d55 100644 +--- a/hotpatch/test_hotpatch.py ++++ b/hotpatch/test_hotpatch.py +@@ -13,8 +13,8 @@ + import unittest + from unittest import mock + +-from .hotpatch import HotpatchCommand +-from .syscare import SUCCEED, FAIL ++from .hotpatch_ops import HotpatchCommand ++from .syscare import FAIL, SUCCEED + + + class HotpatchTestCase(unittest.TestCase): +-- +2.27.0 + diff --git a/aops-ceres.spec b/aops-ceres.spec index 2f54881..16e1a90 100644 --- a/aops-ceres.spec +++ b/aops-ceres.spec @@ -2,13 +2,14 @@ Name: aops-ceres Version: v1.3.4 -Release: 5 +Release: 6 Summary: An agent which needs to be adopted in client, it managers some plugins, such as gala-gopher(kpi collection), fluentd(log collection) and so on. License: MulanPSL2 URL: https://gitee.com/openeuler/%{name} Source0: %{name}-%{version}.tar.gz Patch0001: 0001-support-kabi-check.patch Patch0002: 0002-modify-re-of-kernel-filter.patch +Patch0003: 0003-fix-bug-in-test_hotpatch.py.patch BuildRequires: python3-setuptools Requires: python3-requests python3-jsonschema python3-libconf @@ -88,6 +89,9 @@ install -b -m755 ./extra-tools/da-tool/script/da-tool.sh ${RPM_BUILD_ROOT} %attr(755, root, root) %{_bindir}/da-tool-analysis %changelog +* Wed Nov 15 2023 wangguangge - v1.3.4-6 +- fix bug in test_hotpatch.py + * Tue Nov 14 2023 liuchanggeng - v1.3.4-5 - update buildrequires of da-tool