| 2026-02-04 15:21:35.314 | INFO | ThreadID:4864 | tc_script.scripts.inner_case.cases.migrate.iBMC.TaiShan.25_Redfish.01_RedfishResourceMgmt.12_AbnormalityTest.08_propertyTest.REDFISH_ROLES_Cust1_034--line:363 |
CaseId:
REDFISH_ROLES_Cust1_034
RunLevel:
Level 2
CaseName:
修改自定义1用户权限为Login、
ConfigureManager、KVMmgnt、VMMmgnt、Powermgnt、
Securitymgnt、Diagnosemgnt、ConfigureUsers、
ConfigureComponents测试
PreCondition:
1、BMC正常运行;
2、BMC中已配置好本地用户root(有用户管理权限);
TestStep:
1、创建会话信息,请求如下:
URI信息:https://192.168.51.18/redfish/v1/SessionService/Sessions
Headers信息:Content-Type:application/json
Body信息:
{
"UserName":"root",
"Password": "******"
}
请求方法:POST
2、发送请求,查看响应报文,有结果 A)
3、鉴权成功后获取自定义用户1角色信息,请求如下:
URI信息:https://192.168.24.86/redfish/v1/AccountService/Roles/CustomRole1
Header信息:
X-Auth-Token:xxx(xxx为步骤2的X-Auth-Token值)
Body信息:空
请求方法:GET
4、发送请求,查看响应报文,有结果 B)
5、设置自定义用户1角色信息,请求如下:
URI信息:https://192.168.24.86/redfish/v1/AccountService/Roles/CustomRole1
Header信息:
X-Auth-Token:xxx(xxx为步骤2的X-Auth-Token值)
If-Match:xxx(xxx为步骤4的If-Match值)
Body信息:
{
"AssignedPrivileges": [
"Login",
"ConfigureManager",
"ConfigureUsers",
"ConfigureComponents"
],
"OemPrivileges": [
"KVM",
"VMM",
"SecuritySettings",
"PowerControl",
"Diagnosis"
]
}
请求方法:PATCH
6、发送请求,查看响应报文,有结果 C)
7、查看响应报文,有结果 D)
ExpectedResult:
A)请求发送成功,响应报文符合规范,响应码为201;
响应头信息包含: X-Auth-Token
B)请求发送成功,响应报文符合规范,响应码为200;
响应头信息包含: ETag
C)请求发送成功,响应报文符合规范,响应码为200,响应报文如下:
Body信息:
D)请求发送成功,响应报文符合规范,响应码为200,响应报文如下:
Body信息:
{
"@odata.context": "/redfish/v1/$metadata#
AccountService/Roles/Members/$entity",
"@odata.id": "/redfish/v1/AccountService/Roles/CustomRole1",
"@odata.type": "#Role.v1_0_2.Role",
"Id": "customrole1",
"Name": "User Role",
"IsPredefined": false,
"AssignedPrivileges": [
"Login",
"Login",
"ConfigureSelf"]
"OemPrivileges": [
"KVM",
"VMM",
"SecuritySettings",
"PowerControl",
"Diagnosis"
]
}
Remark:
Last Modified:
|
| 2026-02-04 15:21:35.314 | INFO | ThreadID:4864 | tc_script.scripts.inner_case.cases.migrate.iBMC.TaiShan.25_Redfish.01_RedfishResourceMgmt.12_AbnormalityTest.08_propertyTest.REDFISH_ROLES_Cust1_034--line:618 | Parameter:
{} |
| 2026-02-04 15:21:35.470 | TC_START | ThreadID:4864 | kpautos.engine.engine--line:194 | TestCase Start |
| 2026-02-04 15:21:35.486 | INFO | ThreadID:4864 | tc_script.scripts.inner_case.cases.migrate.iBMC.TaiShan.25_Redfish.01_RedfishResourceMgmt.12_AbnormalityTest.08_propertyTest.REDFISH_ROLES_Cust1_034--line:200 | ###PRE-TEST-CASE: REDFISH_ROLES_Cust1_034 ### |
| 2026-02-04 15:21:35.486 | INFO | ThreadID:4864 | tc_script.scripts.inner_case.cases.migrate.iBMC.TaiShan.25_Redfish.01_RedfishResourceMgmt.12_AbnormalityTest.08_propertyTest.REDFISH_ROLES_Cust1_034--line:116 | Pre Test Case Start.... |
| 2026-02-04 15:21:35.486 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:35.515 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_ipmi_mgt_property with params: {} on CommandType: None |
| 2026-02-04 15:21:35.516 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'IpmiMgt': {'Id': '0'}}} |
| 2026-02-04 15:21:35.517 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:35.518 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_user_mgt_property with params: {} on CommandType: None |
| 2026-02-04 15:21:35.519 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'UserMgt': {'Id': '0'}}} |
| 2026-02-04 15:21:35.520 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:35.520 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_redfish_property with params: {} on CommandType: None |
| 2026-02-04 15:21:35.521 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.public--line:70 | url: https://192.168.40.125/redfish/v1/ |
| 2026-02-04 15:21:35.702 | INFO | ThreadID:4864 | kptest.wrapper.api.redfish.v0.bmcredfish--line:997 | {'@odata.context': '/redfish/v1/$metadata#ServiceRoot.ServiceRoot',
'@odata.id': '/redfish/v1/',
'@odata.type': '#ServiceRoot.v1_17_0.ServiceRoot',
'AccountService': {'@odata.id': '/redfish/v1/AccountService'},
'CertificateService': {'@odata.id': '/redfish/v1/CertificateService'},
'Chassis': {'@odata.id': '/redfish/v1/Chassis'},
'EventService': {'@odata.id': '/redfish/v1/EventService'},
'Id': 'RootService',
'JobService': {'@odata.id': '/redfish/v1/JobService'},
'JsonSchemas': {'@odata.id': '/redfish/v1/JSONSchemas'},
'Links': {'Sessions': {'@odata.id': '/redfish/v1/SessionService/Sessions'}},
'Managers': {'@odata.id': '/redfish/v1/Managers'},
'Name': 'Root Service',
'Oem': {'openUBMC': {'AccountLockoutDuration': 300,
'AssetService': {'@odata.id': '/redfish/v1/Oem/openUBMC/AssetService'},
'ChassisHeightU': 2,
'Copyright': 'openUBMC 2025. All rights reserved.',
'DocSupportFlag': False,
'DomainName': ['', '', '', '', '', ''],
'FQDN': 'huawei',
'HostName': 'huawei',
'LanguageSet': 'zh,ru,ja,fr,en',
'MajorVersion': '5',
'ObservabilityService': {'@odata.id': '/redfish/v1/Oem/openUBMC/ObservabilityService'},
'PerformanceCollection': {'@odata.id': '/redfish/v1/PerformanceCollection'},
'ProductName': 'R624 K2',
'ProductPicture': 'image_huhe',
'ProductSerialNumber': '',
'SecurityBanner': 'WARNING! This system is PRIVATE and '
'PROPRIETARY and may only be accessed '
'by authorized users. Unauthorized use '
'of the system is prohibited. The '
'owner, or its agents, may monitor any '
'activity or communication on the '
'system. The owner, or its agents, may '
'retrieve any information stored '
'within the system. By accessing and '
'using the system, you are consenting '
'to such monitoring and information '
'retrieval for law enforcement and '
'other purposes.',
'SmsName': 'iBMA',
'SmsUpdateService': [{'@odata.id': '/redfish/v1/Sms/1/UpdateService'}],
'SoftwareName': 'openUBMC',
'StartupDurationSeconds': 0,
'StartupState': 'Completed',
'SystemAssembly': {'@odata.id': '/redfish/v1/Oem/openUBMC/SystemAssembly'},
'SystemOverview': {'@odata.id': '/redfish/v1/SystemOverview'}}},
'ProtocolFeaturesSupported': {'DeepOperations': {'DeepPATCH': False,
'DeepPOST': True,
'MaxLevels': 1},
'ExcerptQuery': False,
'ExpandQuery': {'ExpandAll': False,
'Levels': True,
'Links': False,
'MaxLevels': 1,
'NoLinks': True},
'FilterQuery': True,
'FilterQueryComparisonOperations': True,
'FilterQueryCompoundOperations': True,
'OnlyMemberQuery': True,
'SelectQuery': True,
'TopSkipQuery': True},
'RedfishVersion': '1.20.1',
'Registries': {'@odata.id': '/redfish/v1/Registries'},
'SessionService': {'@odata.id': '/redfish/v1/SessionService'},
'Systems': {'@odata.id': '/redfish/v1/Systems'},
'Tasks': {'@odata.id': '/redfish/v1/TaskService'},
'TelemetryService': {'@odata.id': '/redfish/v1/TelemetryService'},
'UUID': '8FBD8116-4812-8252-11F0-04F45D243680',
'UpdateService': {'@odata.id': '/redfish/v1/UpdateService'},
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:38 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '2735', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ServiceRoot.json>;rel=describedby', 'ETag': 'W/"f7b36dec"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.189449,
'status_code': 200} |
| 2026-02-04 15:21:35.702 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'RedFish': {'Id': 'RootService', 'Version': '1.20.1'}}} |
| 2026-02-04 15:21:35.702 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:35.702 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_system_mgt_property with params: {} on CommandType: None |
| 2026-02-04 15:21:35.717 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'SystemMgt': {'Id': '0'}}} |
| 2026-02-04 15:21:35.717 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:35.717 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_alarm_event_property with params: {} on CommandType: None |
| 2026-02-04 15:21:35.717 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.public--line:70 | url: https://192.168.40.125/redfish/v1/ |
| 2026-02-04 15:21:35.874 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'AlarmEvent': {'Id': '0', 'ProductName': ''}}} |
| 2026-02-04 15:21:36.608 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:36.608 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_plug_property with params: {} on CommandType: None |
| 2026-02-04 15:21:36.608 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'ansible': {'id': '0',
'name': 'ansible',
'type': 'cmdline',
'version': 'v0.1'},
'cmdlets': {'id': '3',
'name': 'cmdlets',
'type': 'cmdline',
'version': 'v0.1'},
'urest': {'id': '2',
'name': 'urest',
'type': 'cmdline',
'version': 'v0.1'},
'vcenter': {'id': '1',
'name': 'vcenter',
'type': 'web',
'version': 'v0.1'}}} |
| 2026-02-04 15:21:36.608 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:36.608 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_storage_mgt_property with params: {} on CommandType: None |
| 2026-02-04 15:21:36.608 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.root--line:70 | url: https://192.168.40.125/redfish/v1/ |
| 2026-02-04 15:21:36.796 | INFO | ThreadID:4864 | kptest.wrapper.api.redfish.v0.bmcredfish--line:98 | API Version : 1.201 |
| 2026-02-04 15:21:36.796 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.root--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ServiceRoot.ServiceRoot', '@odata.id': '/redfish/v1/', '@odata.type': '#ServiceRoot.v1_17_0.ServiceRoot', 'Id': 'RootService', 'Name': 'Root Service', 'RedfishVersion': '1.20.1', 'UUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'Systems': {'@odata.id': '/redfish/v1/Systems'}, 'Chassis': {'@odata.id': '/redfish/v1/Chassis'}, 'Managers': {'@odata.id': '/redfish/v1/Managers'}, 'Tasks': {'@odata.id': '/redfish/v1/TaskService'}, 'SessionService': {'@odata.id': '/redfish/v1/SessionService'}, 'AccountService': {'@odata.id': '/redfish/v1/AccountService'}, 'EventService': {'@odata.id': '/redfish/v1/EventService'}, 'Links': {'Sessions': {'@odata.id': '/redfish/v1/SessionService/Sessions'}}, 'UpdateService': {'@odata.id': '/redfish/v1/UpdateService'}, 'Registries': {'@odata.id': '/redfish/v1/Registries'}, 'JsonSchemas': {'@odata.id': '/redfish/v1/JSONSchemas'}, 'CertificateService': {'@odata.id': '/redfish/v1/CertificateService'}, 'JobService': {'@odata.id': '/redfish/v1/JobService'}, 'TelemetryService': {'@odata.id': '/redfish/v1/TelemetryService'}, 'ProtocolFeaturesSupported': {'DeepOperations': {'DeepPATCH': False, 'DeepPOST': True, 'MaxLevels': 1}, 'ExpandQuery': {'ExpandAll': False, 'Levels': True, 'MaxLevels': 1, 'Links': False, 'NoLinks': True}, 'FilterQuery': True, 'FilterQueryComparisonOperations': True, 'FilterQueryCompoundOperations': True, 'SelectQuery': True, 'OnlyMemberQuery': True, 'ExcerptQuery': False, 'TopSkipQuery': True}, 'Oem': {'openUBMC': {'SmsUpdateService': [{'@odata.id': '/redfish/v1/Sms/1/UpdateService'}], 'SystemOverview': {'@odata.id': '/redfish/v1/SystemOverview'}, 'PerformanceCollection': {'@odata.id': '/redfish/v1/PerformanceCollection'}, 'AssetService': {'@odata.id': '/redfish/v1/Oem/openUBMC/AssetService'}, 'SecurityBanner': 'WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.', 'ProductName': 'R624 K2', 'ProductSerialNumber': '', 'HostName': 'huawei', 'LanguageSet': 'zh,ru,ja,fr,en', 'Copyright': 'openUBMC 2025. All rights reserved.', 'DocSupportFlag': False, 'DomainName': ['', '', '', '', '', ''], 'ProductPicture': 'image_huhe', 'AccountLockoutDuration': 300, 'SmsName': 'iBMA', 'SoftwareName': 'openUBMC', 'MajorVersion': '5', 'ChassisHeightU': 2, 'FQDN': 'huawei', 'StartupDurationSeconds': 0, 'StartupState': 'Completed', 'SystemAssembly': {'@odata.id': '/redfish/v1/Oem/openUBMC/SystemAssembly'}, 'ObservabilityService': {'@odata.id': '/redfish/v1/Oem/openUBMC/ObservabilityService'}}}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:39 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '2735', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ServiceRoot.json>;rel=describedby', 'ETag': 'W/"f7b36dec"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.176828} |
| 2026-02-04 15:21:36.796 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:70 | url: https://192.168.40.125/redfish/v1/Systems |
| 2026-02-04 15:21:37.139 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ComputerSystemCollection.ComputerSystemCollection', '@odata.id': '/redfish/v1/Systems', '@odata.type': '#ComputerSystemCollection.ComputerSystemCollection', 'Name': 'Computer System Collection', 'Members@odata.count': 1, 'Members': [{'@odata.id': '/redfish/v1/Systems/1'}], 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:39 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '303', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystemCollection.json>;rel=describedby', 'ETag': 'W/"256ff801"', 'OData-Version': '4.0', 'Allow': 'GET', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.349277} |
| 2026-02-04 15:21:37.155 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1 |
| 2026-02-04 15:21:38.141 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ComputerSystem.ComputerSystem', '@odata.id': '/redfish/v1/Systems/1', '@odata.type': '#ComputerSystem.v1_2_0.ComputerSystem', 'Id': '1', 'Name': 'Computer System', 'AssetTag': '--', 'Manufacturer': 'Huawei', 'Model': None, 'SerialNumber': None, 'UUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'SystemType': 'Physical', 'HostName': 'localhost.localdomain', 'PartNumber': None, 'HostingRole': ['ApplicationServer'], 'HostWatchdogTimer': {'FunctionEnabled': True, 'TimeoutAction': 'ResetSystem'}, 'Status': {'State': 'Enabled', 'Oem': {'openUBMC': {'Severity': 'Critical'}}, 'Health': 'Critical'}, 'PowerState': 'On', 'PowerRestorePolicy': 'AlwaysOn', 'Boot': {'BootSourceOverrideTarget': 'Hdd', 'BootSourceOverrideEnabled': 'Continuous', 'BootSourceOverrideMode': 'UEFI', 'BootSourceOverrideTarget@Redfish.AllowableValues': ['None', 'Pxe', 'Floppy', 'Cd', 'Hdd', 'BiosSetup']}, 'TrustedModules': [], 'BiosVersion': '1.16', 'ProcessorSummary': {'Count': 2, 'Model': 'Kunpeng 920 7270Z', 'Status': {'Oem': {'openUBMC': {'Severity': 'Informational'}}, 'HealthRollup': 'OK'}}, 'MemorySummary': {'TotalSystemMemoryGiB': 1021.02, 'Status': {'Oem': {'openUBMC': {'Severity': 'Informational'}}, 'HealthRollup': 'OK'}}, 'Processors': {'@odata.id': '/redfish/v1/Systems/1/Processors'}, 'Memory': {'@odata.id': '/redfish/v1/Systems/1/Memory'}, 'EthernetInterfaces': {'@odata.id': '/redfish/v1/Systems/1/EthernetInterfaces'}, 'Storage': {'@odata.id': '/redfish/v1/Systems/1/Storages'}, 'NetworkInterfaces': {'@odata.id': '/redfish/v1/Systems/1/NetworkInterfaces'}, 'LogServices': {'@odata.id': '/redfish/v1/Systems/1/LogServices'}, 'PCIeDevices': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13'}], 'PCIeFunctions': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13/Functions/1'}], 'Bios': {'@odata.id': '/redfish/v1/Systems/1/Bios'}, 'Links': {'Chassis': [{'@odata.id': '/redfish/v1/Chassis/1'}], 'Managers': [{'@odata.id': '/redfish/v1/Managers/1'}]}, 'Oem': {'openUBMC': {'HealthSummary': {'CriticalAlarmCount': 3, 'MajorAlarmCount': 0, 'MinorAlarmCount': 2}, 'ConfigurationModel': '', 'OSVersion': 'Kylin Linux Advanced Server V10 (Halberd)', 'MajorOSVersion': 'V10', 'MinorOSVersion': '0', 'MajorPatchVersion': None, 'MinorPatchVersion': None, 'KernalVersion': '4.19.90-89.11.v2401.ky10.aarch64', 'HostnameSyncEnabled': True, 'DomainName': '(none)', 'HostDescription': None, 'ProductAlias': 'Server', 'ProductName': 'R624 K2', 'ProductVersion': 'V6', 'CPUUsagePercent': 0, 'CPUThresholdPercent': 100, 'MemoryUsagePercent': 1, 'MemoryThresholdPercent': 100, 'HardDiskThresholdPercent': 100, 'NetBandwidthThresholdPercent': 100, 'SystemMemoryBuffersGiB': 0.01, 'SystemMemoryCachedGiB': 1.84, 'SystemMemoryFreeGiB': 1010.8, 'TotalSystemMemoryGiB': 1021.02, 'SystemSerialNumber': None, 'TeeosVersion': None, 'DeviceOwnerID': '', 'CPUPowerAdjustment': {'CPUPLimit': 6, 'CPUTLimit': 6}, 'CPUTotalCores': 128, 'HealthLedState': 'Blinking', 'PartitionLists': [{'PartitionName': '/dev/mapper/klas-root', 'UsagePercent': 2, 'UsedCapacityGB': 44.79, 'TotalCapacityGB': 3519.68}, {'PartitionName': '/dev/nvme0n1p2', 'UsagePercent': 20, 'UsedCapacityGB': 0.19, 'TotalCapacityGB': 0.99}, {'PartitionName': '/dev/nvme0n1p1', 'UsagePercent': 2, 'UsedCapacityGB': 0.01, 'TotalCapacityGB': 0.58}], 'SafePowerOffTimeoutEnabled': True, 'SafePowerOffTimoutSeconds': 180, 'SafePowerOffDefaultTimeoutSeconds': 600, 'SafePowerOffMaxTimeoutSeconds': 6000, 'SafePowerOffMinTimeoutSeconds': 10, 'PanelPowerButtonEnabled': True, 'PowerOnStrategy': 'TurnOn', 'PreviousPowerState': 'On', 'PowerOnStrategyExceptions': [], 'PowerOnAfterCpuThermalTrip': True, 'DelaySecondsAfterCpuThermalTrip': 300, 'LeakDetectionSupport': False, 'PowerRestoreDelayMode': 'DefaultDelay', 'PowerRestoreDelaySeconds': 0, 'WakeOnLANStatus': None, 'SlotWidth': None, 'PostState': 'FinishedPost', 'StorageConfigReady': 1, 'BootupSequence': ['Others', 'Hdd', 'Pxe', 'Cd'], 'SwitchIpInfo': {'Base': None, 'Fabric': None, 'FC': None}, 'SwitchInfo': {'Base': None, 'Fabric': None}, 'PresentFrus': [{'FruType': 'OS', 'PowerState': 'On'}], 'PchModel': None, 'LocalKvmEnabled': True, 'AutoCloseLocalDisplay': False, 'StorageSummary': {'Count': 1, 'Status': {'Severity': 'Informational', 'HealthRollup': 'OK'}}, 'LogicalDriveSummary': {'Count': 0, 'Status': {'Severity': 'Informational', 'HealthRollup': 'OK'}}, 'StorageSubsystemSummary': {'Status': {'Severity': 'Informational', 'HealthRollup': 'OK'}}, 'StorageViewsSummary': {'RaidControllers': [{'Name': 'SP686C-M-16i 4G', 'Link': {'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'}, 'VolumeSupported': True, 'Volumes': [], 'Drives': []}], 'Drives': [{'Name': 'Disk9', 'CryptoEraseSupported': False, 'Link': {'@odata.id': '/redfish/v1/Chassis/1/Drives/HDDPlaneDisk9'}}]}, 'BootModeIpmiSWDisplayEnabled': True, 'BootModeConfigOverIpmiEnabled': True, 'BiosDynamicParamConfig': {'DEMTEnabled': False}, 'InfiniBandInterfaces': {'@odata.id': '/redfish/v1/Systems/1/InfiniBandInterfaces'}, 'NetworkBondings': {'@odata.id': '/redfish/v1/Systems/1/NetworkBondings'}, 'NetworkBridge': {'@odata.id': '/redfish/v1/Systems/1/NetworkBridge'}, 'ProcessorView': {'@odata.id': '/redfish/v1/Systems/1/ProcessorView'}, 'MemoryView': {'@odata.id': '/redfish/v1/Systems/1/MemoryView'}, 'DigitalWarranty': {'@odata.id': '/redfish/v1/Systems/1/DigitalWarranty'}, 'ProcessorsHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/ProcessorsHistoryUsageRate'}, 'MemoryHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/MemoryHistoryUsageRate'}, 'NetworkHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/NetworkHistoryUsageRate'}, 'DeviceSlotID': 0, 'EnclosureSN': None, 'BMAService': '2.16.0', 'BMARunningStatus': 'Running', 'BMADriver': '0.3.4', 'SmsEnabled': True, 'SelOverWritePolicy': 'ClearAfterFull'}}, 'Actions': {'#ComputerSystem.Reset': {'target': '/redfish/v1/Systems/1/Actions/ComputerSystem.Reset', '@Redfish.ActionInfo': '/redfish/v1/Systems/1/ResetActionInfo'}, 'Oem': {'openUBMC': {'#ComputerSystem.FruControl': {'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.FruControl', '@Redfish.ActionInfo': '/redfish/v1/Systems/1/FruControlActionInfo'}, '#ComputerSystem.ClearNetworkHistoryUsageRate': {'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.ClearNetworkHistoryUsageRate', '@Redfish.ActionInfo': '/redfish/v1/Systems/1/ClearNetworkHistoryUsageRateActionInfo'}}}}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:40 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6739', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystem.json>;rel=describedby', 'ETag': 'W/"fe4b1b80"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.979489} |
| 2026-02-04 15:21:38.141 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.standard.storage--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1/Storages |
| 2026-02-04 15:21:38.375 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.standard.storage--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#StorageCollection.StorageCollection', '@odata.id': '/redfish/v1/Systems/1/Storages', '@odata.type': '#StorageCollection.StorageCollection', 'Name': 'Storage Collection', 'Members@odata.count': 1, 'Members': [{'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'}], 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:41 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '300', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/StorageCollection.json>;rel=describedby', 'ETag': 'W/"e6fab4aa"', 'OData-Version': '4.0', 'Allow': 'GET', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.236035} |
| 2026-02-04 15:21:38.390 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ComputerSystem.ComputerSystem', '@odata.id': '/redfish/v1/Systems/1', '@odata.type': '#ComputerSystem.v1_2_0.ComputerSystem', 'Id': '1', 'Name': 'Computer System', 'AssetTag': '--', 'Manufacturer': 'Huawei', 'Model': None, 'SerialNumber': None, 'UUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'SystemType': 'Physical', 'HostName': 'localhost.localdomain', 'PartNumber': None, 'HostingRole': ['ApplicationServer'], 'HostWatchdogTimer': {'FunctionEnabled': True, 'TimeoutAction': 'ResetSystem'}, 'Status': {'State': 'Enabled', 'Oem': {'openUBMC': {'Severity': 'Critical'}}, 'Health': 'Critical'}, 'PowerState': 'On', 'PowerRestorePolicy': 'AlwaysOn', 'Boot': {'BootSourceOverrideTarget': 'Hdd', 'BootSourceOverrideEnabled': 'Continuous', 'BootSourceOverrideMode': 'UEFI', 'BootSourceOverrideTarget@Redfish.AllowableValues': ['None', 'Pxe', 'Floppy', 'Cd', 'Hdd', 'BiosSetup']}, 'TrustedModules': [], 'BiosVersion': '1.16', 'ProcessorSummary': {'Count': 2, 'Model': 'Kunpeng 920 7270Z', 'Status': {'Oem': {'openUBMC': {'Severity': 'Informational'}}, 'HealthRollup': 'OK'}}, 'MemorySummary': {'TotalSystemMemoryGiB': 1021.02, 'Status': {'Oem': {'openUBMC': {'Severity': 'Informational'}}, 'HealthRollup': 'OK'}}, 'Processors': {'@odata.id': '/redfish/v1/Systems/1/Processors'}, 'Memory': {'@odata.id': '/redfish/v1/Systems/1/Memory'}, 'EthernetInterfaces': {'@odata.id': '/redfish/v1/Systems/1/EthernetInterfaces'}, 'Storage': {'@odata.id': '/redfish/v1/Systems/1/Storages'}, 'NetworkInterfaces': {'@odata.id': '/redfish/v1/Systems/1/NetworkInterfaces'}, 'LogServices': {'@odata.id': '/redfish/v1/Systems/1/LogServices'}, 'PCIeDevices': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13'}], 'PCIeFunctions': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12/Functions/1'}, {'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13/Functions/1'}], 'Bios': {'@odata.id': '/redfish/v1/Systems/1/Bios'}, 'Links': {'Chassis': [{'@odata.id': '/redfish/v1/Chassis/1'}], 'Managers': [{'@odata.id': '/redfish/v1/Managers/1'}]}, 'Oem': {'openUBMC': {'HealthSummary': {'CriticalAlarmCount': 3, 'MajorAlarmCount': 0, 'MinorAlarmCount': 2}, 'ConfigurationModel': '', 'OSVersion': 'Kylin Linux Advanced Server V10 (Halberd)', 'MajorOSVersion': 'V10', 'MinorOSVersion': '0', 'MajorPatchVersion': None, 'MinorPatchVersion': None, 'KernalVersion': '4.19.90-89.11.v2401.ky10.aarch64', 'HostnameSyncEnabled': True, 'DomainName': '(none)', 'HostDescription': None, 'ProductAlias': 'Server', 'ProductName': 'R624 K2', 'ProductVersion': 'V6', 'CPUUsagePercent': 0, 'CPUThresholdPercent': 100, 'MemoryUsagePercent': 1, 'MemoryThresholdPercent': 100, 'HardDiskThresholdPercent': 100, 'NetBandwidthThresholdPercent': 100, 'SystemMemoryBuffersGiB': 0.01, 'SystemMemoryCachedGiB': 1.84, 'SystemMemoryFreeGiB': 1010.8, 'TotalSystemMemoryGiB': 1021.02, 'SystemSerialNumber': None, 'TeeosVersion': None, 'DeviceOwnerID': '', 'CPUPowerAdjustment': {'CPUPLimit': 6, 'CPUTLimit': 6}, 'CPUTotalCores': 128, 'HealthLedState': 'Blinking', 'PartitionLists': [{'PartitionName': '/dev/mapper/klas-root', 'UsagePercent': 2, 'UsedCapacityGB': 44.79, 'TotalCapacityGB': 3519.68}, {'PartitionName': '/dev/nvme0n1p2', 'UsagePercent': 20, 'UsedCapacityGB': 0.19, 'TotalCapacityGB': 0.99}, {'PartitionName': '/dev/nvme0n1p1', 'UsagePercent': 2, 'UsedCapacityGB': 0.01, 'TotalCapacityGB': 0.58}], 'SafePowerOffTimeoutEnabled': True, 'SafePowerOffTimoutSeconds': 180, 'SafePowerOffDefaultTimeoutSeconds': 600, 'SafePowerOffMaxTimeoutSeconds': 6000, 'SafePowerOffMinTimeoutSeconds': 10, 'PanelPowerButtonEnabled': True, 'PowerOnStrategy': 'TurnOn', 'PreviousPowerState': 'On', 'PowerOnStrategyExceptions': [], 'PowerOnAfterCpuThermalTrip': True, 'DelaySecondsAfterCpuThermalTrip': 300, 'LeakDetectionSupport': False, 'PowerRestoreDelayMode': 'DefaultDelay', 'PowerRestoreDelaySeconds': 0, 'WakeOnLANStatus': None, 'SlotWidth': None, 'PostState': 'FinishedPost', 'StorageConfigReady': 1, 'BootupSequence': ['Others', 'Hdd', 'Pxe', 'Cd'], 'SwitchIpInfo': {'Base': None, 'Fabric': None, 'FC': None}, 'SwitchInfo': {'Base': None, 'Fabric': None}, 'PresentFrus': [{'FruType': 'OS', 'PowerState': 'On'}], 'PchModel': None, 'LocalKvmEnabled': True, 'AutoCloseLocalDisplay': False, 'StorageSummary': {'Count': 1, 'Status': {'Severity': 'Informational', 'HealthRollup': 'OK'}}, 'LogicalDriveSummary': {'Count': 0, 'Status': {'Severity': 'Informational', 'HealthRollup': 'OK'}}, 'StorageSubsystemSummary': {'Status': {'Severity': 'Informational', 'HealthRollup': 'OK'}}, 'StorageViewsSummary': {'RaidControllers': [{'Name': 'SP686C-M-16i 4G', 'Link': {'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'}, 'VolumeSupported': True, 'Volumes': [], 'Drives': []}], 'Drives': [{'Name': 'Disk9', 'CryptoEraseSupported': False, 'Link': {'@odata.id': '/redfish/v1/Chassis/1/Drives/HDDPlaneDisk9'}}]}, 'BootModeIpmiSWDisplayEnabled': True, 'BootModeConfigOverIpmiEnabled': True, 'BiosDynamicParamConfig': {'DEMTEnabled': False}, 'InfiniBandInterfaces': {'@odata.id': '/redfish/v1/Systems/1/InfiniBandInterfaces'}, 'NetworkBondings': {'@odata.id': '/redfish/v1/Systems/1/NetworkBondings'}, 'NetworkBridge': {'@odata.id': '/redfish/v1/Systems/1/NetworkBridge'}, 'ProcessorView': {'@odata.id': '/redfish/v1/Systems/1/ProcessorView'}, 'MemoryView': {'@odata.id': '/redfish/v1/Systems/1/MemoryView'}, 'DigitalWarranty': {'@odata.id': '/redfish/v1/Systems/1/DigitalWarranty'}, 'ProcessorsHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/ProcessorsHistoryUsageRate'}, 'MemoryHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/MemoryHistoryUsageRate'}, 'NetworkHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/NetworkHistoryUsageRate'}, 'DeviceSlotID': 0, 'EnclosureSN': None, 'BMAService': '2.16.0', 'BMARunningStatus': 'Running', 'BMADriver': '0.3.4', 'SmsEnabled': True, 'SelOverWritePolicy': 'ClearAfterFull'}}, 'Actions': {'#ComputerSystem.Reset': {'target': '/redfish/v1/Systems/1/Actions/ComputerSystem.Reset', '@Redfish.ActionInfo': '/redfish/v1/Systems/1/ResetActionInfo'}, 'Oem': {'openUBMC': {'#ComputerSystem.FruControl': {'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.FruControl', '@Redfish.ActionInfo': '/redfish/v1/Systems/1/FruControlActionInfo'}, '#ComputerSystem.ClearNetworkHistoryUsageRate': {'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.ClearNetworkHistoryUsageRate', '@Redfish.ActionInfo': '/redfish/v1/Systems/1/ClearNetworkHistoryUsageRateActionInfo'}}}}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:40 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6739', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystem.json>;rel=describedby', 'ETag': 'W/"fe4b1b80"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.979489} |
| 2026-02-04 15:21:38.390 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.standard.storage--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1/Storages |
| 2026-02-04 15:21:38.656 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.standard.storage--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#StorageCollection.StorageCollection', '@odata.id': '/redfish/v1/Systems/1/Storages', '@odata.type': '#StorageCollection.StorageCollection', 'Name': 'Storage Collection', 'Members@odata.count': 1, 'Members': [{'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'}], 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:41 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '300', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/StorageCollection.json>;rel=describedby', 'ETag': 'W/"e6fab4aa"', 'OData-Version': '4.0', 'Allow': 'GET', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.262137} |
| 2026-02-04 15:21:38.671 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.standard.storage--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1/Storages/RAIDStorage0 |
| 2026-02-04 15:21:39.324 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'0': {'id': '0',
'level': ['RAID0',
'RAID1',
'RAID5',
'RAID6',
'RAID10',
'RAID50',
'RAID60'],
'manufacture': 'Huawei',
'model': 'SP686C-M-16i 4G',
'name': 'PCIe Card 12 (SP686C-M-16i 4G) Controller',
'type': 'B80121'}}} |
| 2026-02-04 15:21:39.324 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:39.324 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_sys_info with params: {} on CommandType: None |
| 2026-02-04 15:21:39.324 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1 |
| 2026-02-04 15:21:40.422 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#ComputerSystem.ComputerSystem',
'@odata.id': '/redfish/v1/Systems/1',
'@odata.type': '#ComputerSystem.v1_2_0.ComputerSystem',
'Actions': {'#ComputerSystem.Reset': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ResetActionInfo',
'target': '/redfish/v1/Systems/1/Actions/ComputerSystem.Reset'},
'Oem': {'openUBMC': {'#ComputerSystem.ClearNetworkHistoryUsageRate': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ClearNetworkHistoryUsageRateActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.ClearNetworkHistoryUsageRate'},
'#ComputerSystem.FruControl': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/FruControlActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.FruControl'}}}},
'AssetTag': '--',
'Bios': {'@odata.id': '/redfish/v1/Systems/1/Bios'},
'BiosVersion': '1.16',
'Boot': {'BootSourceOverrideEnabled': 'Continuous',
'BootSourceOverrideMode': 'UEFI',
'BootSourceOverrideTarget': 'Hdd',
'BootSourceOverrideTarget@Redfish.AllowableValues': ['None',
'Pxe',
'Floppy',
'Cd',
'Hdd',
'BiosSetup']},
'EthernetInterfaces': {'@odata.id': '/redfish/v1/Systems/1/EthernetInterfaces'},
'HostName': 'localhost.localdomain',
'HostWatchdogTimer': {'FunctionEnabled': True, 'TimeoutAction': 'ResetSystem'},
'HostingRole': ['ApplicationServer'],
'Id': '1',
'Links': {'Chassis': [{'@odata.id': '/redfish/v1/Chassis/1'}],
'Managers': [{'@odata.id': '/redfish/v1/Managers/1'}]},
'LogServices': {'@odata.id': '/redfish/v1/Systems/1/LogServices'},
'Manufacturer': 'Huawei',
'Memory': {'@odata.id': '/redfish/v1/Systems/1/Memory'},
'MemorySummary': {'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}},
'TotalSystemMemoryGiB': 1021.02},
'Model': None,
'Name': 'Computer System',
'NetworkInterfaces': {'@odata.id': '/redfish/v1/Systems/1/NetworkInterfaces'},
'Oem': {'openUBMC': {'AutoCloseLocalDisplay': False,
'BMADriver': '0.3.4',
'BMARunningStatus': 'Running',
'BMAService': '2.16.0',
'BiosDynamicParamConfig': {'DEMTEnabled': False},
'BootModeConfigOverIpmiEnabled': True,
'BootModeIpmiSWDisplayEnabled': True,
'BootupSequence': ['Others', 'Hdd', 'Pxe', 'Cd'],
'CPUPowerAdjustment': {'CPUPLimit': 6, 'CPUTLimit': 6},
'CPUThresholdPercent': 100,
'CPUTotalCores': 128,
'CPUUsagePercent': 0,
'ConfigurationModel': '',
'DelaySecondsAfterCpuThermalTrip': 300,
'DeviceOwnerID': '',
'DeviceSlotID': 0,
'DigitalWarranty': {'@odata.id': '/redfish/v1/Systems/1/DigitalWarranty'},
'DomainName': '(none)',
'EnclosureSN': None,
'HardDiskThresholdPercent': 100,
'HealthLedState': 'Blinking',
'HealthSummary': {'CriticalAlarmCount': 3,
'MajorAlarmCount': 0,
'MinorAlarmCount': 2},
'HostDescription': None,
'HostnameSyncEnabled': True,
'InfiniBandInterfaces': {'@odata.id': '/redfish/v1/Systems/1/InfiniBandInterfaces'},
'KernalVersion': '4.19.90-89.11.v2401.ky10.aarch64',
'LeakDetectionSupport': False,
'LocalKvmEnabled': True,
'LogicalDriveSummary': {'Count': 0,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'MajorOSVersion': 'V10',
'MajorPatchVersion': None,
'MemoryHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/MemoryHistoryUsageRate'},
'MemoryThresholdPercent': 100,
'MemoryUsagePercent': 1,
'MemoryView': {'@odata.id': '/redfish/v1/Systems/1/MemoryView'},
'MinorOSVersion': '0',
'MinorPatchVersion': None,
'NetBandwidthThresholdPercent': 100,
'NetworkBondings': {'@odata.id': '/redfish/v1/Systems/1/NetworkBondings'},
'NetworkBridge': {'@odata.id': '/redfish/v1/Systems/1/NetworkBridge'},
'NetworkHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/NetworkHistoryUsageRate'},
'OSVersion': 'Kylin Linux Advanced Server V10 (Halberd)',
'PanelPowerButtonEnabled': True,
'PartitionLists': [{'PartitionName': '/dev/mapper/klas-root',
'TotalCapacityGB': 3519.68,
'UsagePercent': 2,
'UsedCapacityGB': 44.79},
{'PartitionName': '/dev/nvme0n1p2',
'TotalCapacityGB': 0.99,
'UsagePercent': 20,
'UsedCapacityGB': 0.19},
{'PartitionName': '/dev/nvme0n1p1',
'TotalCapacityGB': 0.58,
'UsagePercent': 2,
'UsedCapacityGB': 0.01}],
'PchModel': None,
'PostState': 'FinishedPost',
'PowerOnAfterCpuThermalTrip': True,
'PowerOnStrategy': 'TurnOn',
'PowerOnStrategyExceptions': [],
'PowerRestoreDelayMode': 'DefaultDelay',
'PowerRestoreDelaySeconds': 0,
'PresentFrus': [{'FruType': 'OS', 'PowerState': 'On'}],
'PreviousPowerState': 'On',
'ProcessorView': {'@odata.id': '/redfish/v1/Systems/1/ProcessorView'},
'ProcessorsHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/ProcessorsHistoryUsageRate'},
'ProductAlias': 'Server',
'ProductName': 'R624 K2',
'ProductVersion': 'V6',
'SafePowerOffDefaultTimeoutSeconds': 600,
'SafePowerOffMaxTimeoutSeconds': 6000,
'SafePowerOffMinTimeoutSeconds': 10,
'SafePowerOffTimeoutEnabled': True,
'SafePowerOffTimoutSeconds': 180,
'SelOverWritePolicy': 'ClearAfterFull',
'SlotWidth': None,
'SmsEnabled': True,
'StorageConfigReady': 1,
'StorageSubsystemSummary': {'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageSummary': {'Count': 1,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageViewsSummary': {'Drives': [{'CryptoEraseSupported': False,
'Link': {'@odata.id': '/redfish/v1/Chassis/1/Drives/HDDPlaneDisk9'},
'Name': 'Disk9'}],
'RaidControllers': [{'Drives': [],
'Link': {'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'},
'Name': 'SP686C-M-16i '
'4G',
'VolumeSupported': True,
'Volumes': []}]},
'SwitchInfo': {'Base': None, 'Fabric': None},
'SwitchIpInfo': {'Base': None,
'FC': None,
'Fabric': None},
'SystemMemoryBuffersGiB': 0.01,
'SystemMemoryCachedGiB': 1.84,
'SystemMemoryFreeGiB': 1010.8,
'SystemSerialNumber': None,
'TeeosVersion': None,
'TotalSystemMemoryGiB': 1021.02,
'WakeOnLANStatus': None}},
'PCIeDevices': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13'}],
'PCIeFunctions': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13/Functions/1'}],
'PartNumber': None,
'PowerRestorePolicy': 'AlwaysOn',
'PowerState': 'On',
'ProcessorSummary': {'Count': 2,
'Model': 'Kunpeng 920 7270Z',
'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}}},
'Processors': {'@odata.id': '/redfish/v1/Systems/1/Processors'},
'SerialNumber': None,
'Status': {'Health': 'Critical',
'Oem': {'openUBMC': {'Severity': 'Critical'}},
'State': 'Enabled'},
'Storage': {'@odata.id': '/redfish/v1/Systems/1/Storages'},
'SystemType': 'Physical',
'TrustedModules': [],
'UUID': '8FBD8116-4812-8252-11F0-04F45D243680',
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:43 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6739', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystem.json>;rel=describedby', 'ETag': 'W/"fe4b1b80"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 1.092869,
'status_code': 200} |
| 2026-02-04 15:21:40.422 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:40.422 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_sys_info with params: {} on CommandType: None |
| 2026-02-04 15:21:40.422 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1 |
| 2026-02-04 15:21:41.422 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#ComputerSystem.ComputerSystem',
'@odata.id': '/redfish/v1/Systems/1',
'@odata.type': '#ComputerSystem.v1_2_0.ComputerSystem',
'Actions': {'#ComputerSystem.Reset': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ResetActionInfo',
'target': '/redfish/v1/Systems/1/Actions/ComputerSystem.Reset'},
'Oem': {'openUBMC': {'#ComputerSystem.ClearNetworkHistoryUsageRate': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ClearNetworkHistoryUsageRateActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.ClearNetworkHistoryUsageRate'},
'#ComputerSystem.FruControl': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/FruControlActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.FruControl'}}}},
'AssetTag': '--',
'Bios': {'@odata.id': '/redfish/v1/Systems/1/Bios'},
'BiosVersion': '1.16',
'Boot': {'BootSourceOverrideEnabled': 'Continuous',
'BootSourceOverrideMode': 'UEFI',
'BootSourceOverrideTarget': 'Hdd',
'BootSourceOverrideTarget@Redfish.AllowableValues': ['None',
'Pxe',
'Floppy',
'Cd',
'Hdd',
'BiosSetup']},
'EthernetInterfaces': {'@odata.id': '/redfish/v1/Systems/1/EthernetInterfaces'},
'HostName': 'localhost.localdomain',
'HostWatchdogTimer': {'FunctionEnabled': True, 'TimeoutAction': 'ResetSystem'},
'HostingRole': ['ApplicationServer'],
'Id': '1',
'Links': {'Chassis': [{'@odata.id': '/redfish/v1/Chassis/1'}],
'Managers': [{'@odata.id': '/redfish/v1/Managers/1'}]},
'LogServices': {'@odata.id': '/redfish/v1/Systems/1/LogServices'},
'Manufacturer': 'Huawei',
'Memory': {'@odata.id': '/redfish/v1/Systems/1/Memory'},
'MemorySummary': {'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}},
'TotalSystemMemoryGiB': 1021.02},
'Model': None,
'Name': 'Computer System',
'NetworkInterfaces': {'@odata.id': '/redfish/v1/Systems/1/NetworkInterfaces'},
'Oem': {'openUBMC': {'AutoCloseLocalDisplay': False,
'BMADriver': '0.3.4',
'BMARunningStatus': 'Running',
'BMAService': '2.16.0',
'BiosDynamicParamConfig': {'DEMTEnabled': False},
'BootModeConfigOverIpmiEnabled': True,
'BootModeIpmiSWDisplayEnabled': True,
'BootupSequence': ['Others', 'Hdd', 'Pxe', 'Cd'],
'CPUPowerAdjustment': {'CPUPLimit': 6, 'CPUTLimit': 6},
'CPUThresholdPercent': 100,
'CPUTotalCores': 128,
'CPUUsagePercent': 0,
'ConfigurationModel': '',
'DelaySecondsAfterCpuThermalTrip': 300,
'DeviceOwnerID': '',
'DeviceSlotID': 0,
'DigitalWarranty': {'@odata.id': '/redfish/v1/Systems/1/DigitalWarranty'},
'DomainName': '(none)',
'EnclosureSN': None,
'HardDiskThresholdPercent': 100,
'HealthLedState': 'Blinking',
'HealthSummary': {'CriticalAlarmCount': 3,
'MajorAlarmCount': 0,
'MinorAlarmCount': 2},
'HostDescription': None,
'HostnameSyncEnabled': True,
'InfiniBandInterfaces': {'@odata.id': '/redfish/v1/Systems/1/InfiniBandInterfaces'},
'KernalVersion': '4.19.90-89.11.v2401.ky10.aarch64',
'LeakDetectionSupport': False,
'LocalKvmEnabled': True,
'LogicalDriveSummary': {'Count': 0,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'MajorOSVersion': 'V10',
'MajorPatchVersion': None,
'MemoryHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/MemoryHistoryUsageRate'},
'MemoryThresholdPercent': 100,
'MemoryUsagePercent': 1,
'MemoryView': {'@odata.id': '/redfish/v1/Systems/1/MemoryView'},
'MinorOSVersion': '0',
'MinorPatchVersion': None,
'NetBandwidthThresholdPercent': 100,
'NetworkBondings': {'@odata.id': '/redfish/v1/Systems/1/NetworkBondings'},
'NetworkBridge': {'@odata.id': '/redfish/v1/Systems/1/NetworkBridge'},
'NetworkHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/NetworkHistoryUsageRate'},
'OSVersion': 'Kylin Linux Advanced Server V10 (Halberd)',
'PanelPowerButtonEnabled': True,
'PartitionLists': [{'PartitionName': '/dev/mapper/klas-root',
'TotalCapacityGB': 3519.68,
'UsagePercent': 2,
'UsedCapacityGB': 44.79},
{'PartitionName': '/dev/nvme0n1p2',
'TotalCapacityGB': 0.99,
'UsagePercent': 20,
'UsedCapacityGB': 0.19},
{'PartitionName': '/dev/nvme0n1p1',
'TotalCapacityGB': 0.58,
'UsagePercent': 2,
'UsedCapacityGB': 0.01}],
'PchModel': None,
'PostState': 'FinishedPost',
'PowerOnAfterCpuThermalTrip': True,
'PowerOnStrategy': 'TurnOn',
'PowerOnStrategyExceptions': [],
'PowerRestoreDelayMode': 'DefaultDelay',
'PowerRestoreDelaySeconds': 0,
'PresentFrus': [{'FruType': 'OS', 'PowerState': 'On'}],
'PreviousPowerState': 'On',
'ProcessorView': {'@odata.id': '/redfish/v1/Systems/1/ProcessorView'},
'ProcessorsHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/ProcessorsHistoryUsageRate'},
'ProductAlias': 'Server',
'ProductName': 'R624 K2',
'ProductVersion': 'V6',
'SafePowerOffDefaultTimeoutSeconds': 600,
'SafePowerOffMaxTimeoutSeconds': 6000,
'SafePowerOffMinTimeoutSeconds': 10,
'SafePowerOffTimeoutEnabled': True,
'SafePowerOffTimoutSeconds': 180,
'SelOverWritePolicy': 'ClearAfterFull',
'SlotWidth': None,
'SmsEnabled': True,
'StorageConfigReady': 1,
'StorageSubsystemSummary': {'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageSummary': {'Count': 1,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageViewsSummary': {'Drives': [{'CryptoEraseSupported': False,
'Link': {'@odata.id': '/redfish/v1/Chassis/1/Drives/HDDPlaneDisk9'},
'Name': 'Disk9'}],
'RaidControllers': [{'Drives': [],
'Link': {'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'},
'Name': 'SP686C-M-16i '
'4G',
'VolumeSupported': True,
'Volumes': []}]},
'SwitchInfo': {'Base': None, 'Fabric': None},
'SwitchIpInfo': {'Base': None,
'FC': None,
'Fabric': None},
'SystemMemoryBuffersGiB': 0.01,
'SystemMemoryCachedGiB': 1.84,
'SystemMemoryFreeGiB': 1010.8,
'SystemSerialNumber': None,
'TeeosVersion': None,
'TotalSystemMemoryGiB': 1021.02,
'WakeOnLANStatus': None}},
'PCIeDevices': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13'}],
'PCIeFunctions': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13/Functions/1'}],
'PartNumber': None,
'PowerRestorePolicy': 'AlwaysOn',
'PowerState': 'On',
'ProcessorSummary': {'Count': 2,
'Model': 'Kunpeng 920 7270Z',
'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}}},
'Processors': {'@odata.id': '/redfish/v1/Systems/1/Processors'},
'SerialNumber': None,
'Status': {'Health': 'Critical',
'Oem': {'openUBMC': {'Severity': 'Critical'}},
'State': 'Enabled'},
'Storage': {'@odata.id': '/redfish/v1/Systems/1/Storages'},
'SystemType': 'Physical',
'TrustedModules': [],
'UUID': '8FBD8116-4812-8252-11F0-04F45D243680',
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:44 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6739', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystem.json>;rel=describedby', 'ETag': 'W/"fe4b1b80"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.982691,
'status_code': 200} |
| 2026-02-04 15:21:41.422 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:41.422 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_sys_info with params: {} on CommandType: None |
| 2026-02-04 15:21:41.422 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1 |
| 2026-02-04 15:21:42.434 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#ComputerSystem.ComputerSystem',
'@odata.id': '/redfish/v1/Systems/1',
'@odata.type': '#ComputerSystem.v1_2_0.ComputerSystem',
'Actions': {'#ComputerSystem.Reset': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ResetActionInfo',
'target': '/redfish/v1/Systems/1/Actions/ComputerSystem.Reset'},
'Oem': {'openUBMC': {'#ComputerSystem.ClearNetworkHistoryUsageRate': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ClearNetworkHistoryUsageRateActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.ClearNetworkHistoryUsageRate'},
'#ComputerSystem.FruControl': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/FruControlActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.FruControl'}}}},
'AssetTag': '--',
'Bios': {'@odata.id': '/redfish/v1/Systems/1/Bios'},
'BiosVersion': '1.16',
'Boot': {'BootSourceOverrideEnabled': 'Continuous',
'BootSourceOverrideMode': 'UEFI',
'BootSourceOverrideTarget': 'Hdd',
'BootSourceOverrideTarget@Redfish.AllowableValues': ['None',
'Pxe',
'Floppy',
'Cd',
'Hdd',
'BiosSetup']},
'EthernetInterfaces': {'@odata.id': '/redfish/v1/Systems/1/EthernetInterfaces'},
'HostName': 'localhost.localdomain',
'HostWatchdogTimer': {'FunctionEnabled': True, 'TimeoutAction': 'ResetSystem'},
'HostingRole': ['ApplicationServer'],
'Id': '1',
'Links': {'Chassis': [{'@odata.id': '/redfish/v1/Chassis/1'}],
'Managers': [{'@odata.id': '/redfish/v1/Managers/1'}]},
'LogServices': {'@odata.id': '/redfish/v1/Systems/1/LogServices'},
'Manufacturer': 'Huawei',
'Memory': {'@odata.id': '/redfish/v1/Systems/1/Memory'},
'MemorySummary': {'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}},
'TotalSystemMemoryGiB': 1021.02},
'Model': None,
'Name': 'Computer System',
'NetworkInterfaces': {'@odata.id': '/redfish/v1/Systems/1/NetworkInterfaces'},
'Oem': {'openUBMC': {'AutoCloseLocalDisplay': False,
'BMADriver': '0.3.4',
'BMARunningStatus': 'Running',
'BMAService': '2.16.0',
'BiosDynamicParamConfig': {'DEMTEnabled': False},
'BootModeConfigOverIpmiEnabled': True,
'BootModeIpmiSWDisplayEnabled': True,
'BootupSequence': ['Others', 'Hdd', 'Pxe', 'Cd'],
'CPUPowerAdjustment': {'CPUPLimit': 6, 'CPUTLimit': 6},
'CPUThresholdPercent': 100,
'CPUTotalCores': 128,
'CPUUsagePercent': 0,
'ConfigurationModel': '',
'DelaySecondsAfterCpuThermalTrip': 300,
'DeviceOwnerID': '',
'DeviceSlotID': 0,
'DigitalWarranty': {'@odata.id': '/redfish/v1/Systems/1/DigitalWarranty'},
'DomainName': '(none)',
'EnclosureSN': None,
'HardDiskThresholdPercent': 100,
'HealthLedState': 'Blinking',
'HealthSummary': {'CriticalAlarmCount': 3,
'MajorAlarmCount': 0,
'MinorAlarmCount': 2},
'HostDescription': None,
'HostnameSyncEnabled': True,
'InfiniBandInterfaces': {'@odata.id': '/redfish/v1/Systems/1/InfiniBandInterfaces'},
'KernalVersion': '4.19.90-89.11.v2401.ky10.aarch64',
'LeakDetectionSupport': False,
'LocalKvmEnabled': True,
'LogicalDriveSummary': {'Count': 0,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'MajorOSVersion': 'V10',
'MajorPatchVersion': None,
'MemoryHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/MemoryHistoryUsageRate'},
'MemoryThresholdPercent': 100,
'MemoryUsagePercent': 1,
'MemoryView': {'@odata.id': '/redfish/v1/Systems/1/MemoryView'},
'MinorOSVersion': '0',
'MinorPatchVersion': None,
'NetBandwidthThresholdPercent': 100,
'NetworkBondings': {'@odata.id': '/redfish/v1/Systems/1/NetworkBondings'},
'NetworkBridge': {'@odata.id': '/redfish/v1/Systems/1/NetworkBridge'},
'NetworkHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/NetworkHistoryUsageRate'},
'OSVersion': 'Kylin Linux Advanced Server V10 (Halberd)',
'PanelPowerButtonEnabled': True,
'PartitionLists': [{'PartitionName': '/dev/mapper/klas-root',
'TotalCapacityGB': 3519.68,
'UsagePercent': 2,
'UsedCapacityGB': 44.79},
{'PartitionName': '/dev/nvme0n1p2',
'TotalCapacityGB': 0.99,
'UsagePercent': 20,
'UsedCapacityGB': 0.19},
{'PartitionName': '/dev/nvme0n1p1',
'TotalCapacityGB': 0.58,
'UsagePercent': 2,
'UsedCapacityGB': 0.01}],
'PchModel': None,
'PostState': 'FinishedPost',
'PowerOnAfterCpuThermalTrip': True,
'PowerOnStrategy': 'TurnOn',
'PowerOnStrategyExceptions': [],
'PowerRestoreDelayMode': 'DefaultDelay',
'PowerRestoreDelaySeconds': 0,
'PresentFrus': [{'FruType': 'OS', 'PowerState': 'On'}],
'PreviousPowerState': 'On',
'ProcessorView': {'@odata.id': '/redfish/v1/Systems/1/ProcessorView'},
'ProcessorsHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/ProcessorsHistoryUsageRate'},
'ProductAlias': 'Server',
'ProductName': 'R624 K2',
'ProductVersion': 'V6',
'SafePowerOffDefaultTimeoutSeconds': 600,
'SafePowerOffMaxTimeoutSeconds': 6000,
'SafePowerOffMinTimeoutSeconds': 10,
'SafePowerOffTimeoutEnabled': True,
'SafePowerOffTimoutSeconds': 180,
'SelOverWritePolicy': 'ClearAfterFull',
'SlotWidth': None,
'SmsEnabled': True,
'StorageConfigReady': 1,
'StorageSubsystemSummary': {'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageSummary': {'Count': 1,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageViewsSummary': {'Drives': [{'CryptoEraseSupported': False,
'Link': {'@odata.id': '/redfish/v1/Chassis/1/Drives/HDDPlaneDisk9'},
'Name': 'Disk9'}],
'RaidControllers': [{'Drives': [],
'Link': {'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'},
'Name': 'SP686C-M-16i '
'4G',
'VolumeSupported': True,
'Volumes': []}]},
'SwitchInfo': {'Base': None, 'Fabric': None},
'SwitchIpInfo': {'Base': None,
'FC': None,
'Fabric': None},
'SystemMemoryBuffersGiB': 0.01,
'SystemMemoryCachedGiB': 1.84,
'SystemMemoryFreeGiB': 1010.8,
'SystemSerialNumber': None,
'TeeosVersion': None,
'TotalSystemMemoryGiB': 1021.02,
'WakeOnLANStatus': None}},
'PCIeDevices': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13'}],
'PCIeFunctions': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13/Functions/1'}],
'PartNumber': None,
'PowerRestorePolicy': 'AlwaysOn',
'PowerState': 'On',
'ProcessorSummary': {'Count': 2,
'Model': 'Kunpeng 920 7270Z',
'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}}},
'Processors': {'@odata.id': '/redfish/v1/Systems/1/Processors'},
'SerialNumber': None,
'Status': {'Health': 'Critical',
'Oem': {'openUBMC': {'Severity': 'Critical'}},
'State': 'Enabled'},
'Storage': {'@odata.id': '/redfish/v1/Systems/1/Storages'},
'SystemType': 'Physical',
'TrustedModules': [],
'UUID': '8FBD8116-4812-8252-11F0-04F45D243680',
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:45 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6739', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystem.json>;rel=describedby', 'ETag': 'W/"fe4b1b80"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 1.006335,
'status_code': 200} |
| 2026-02-04 15:21:42.449 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:42.449 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_sys_info with params: {} on CommandType: None |
| 2026-02-04 15:21:42.449 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1 |
| 2026-02-04 15:21:43.547 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#ComputerSystem.ComputerSystem',
'@odata.id': '/redfish/v1/Systems/1',
'@odata.type': '#ComputerSystem.v1_2_0.ComputerSystem',
'Actions': {'#ComputerSystem.Reset': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ResetActionInfo',
'target': '/redfish/v1/Systems/1/Actions/ComputerSystem.Reset'},
'Oem': {'openUBMC': {'#ComputerSystem.ClearNetworkHistoryUsageRate': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ClearNetworkHistoryUsageRateActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.ClearNetworkHistoryUsageRate'},
'#ComputerSystem.FruControl': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/FruControlActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.FruControl'}}}},
'AssetTag': '--',
'Bios': {'@odata.id': '/redfish/v1/Systems/1/Bios'},
'BiosVersion': '1.16',
'Boot': {'BootSourceOverrideEnabled': 'Continuous',
'BootSourceOverrideMode': 'UEFI',
'BootSourceOverrideTarget': 'Hdd',
'BootSourceOverrideTarget@Redfish.AllowableValues': ['None',
'Pxe',
'Floppy',
'Cd',
'Hdd',
'BiosSetup']},
'EthernetInterfaces': {'@odata.id': '/redfish/v1/Systems/1/EthernetInterfaces'},
'HostName': 'localhost.localdomain',
'HostWatchdogTimer': {'FunctionEnabled': True, 'TimeoutAction': 'ResetSystem'},
'HostingRole': ['ApplicationServer'],
'Id': '1',
'Links': {'Chassis': [{'@odata.id': '/redfish/v1/Chassis/1'}],
'Managers': [{'@odata.id': '/redfish/v1/Managers/1'}]},
'LogServices': {'@odata.id': '/redfish/v1/Systems/1/LogServices'},
'Manufacturer': 'Huawei',
'Memory': {'@odata.id': '/redfish/v1/Systems/1/Memory'},
'MemorySummary': {'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}},
'TotalSystemMemoryGiB': 1021.02},
'Model': None,
'Name': 'Computer System',
'NetworkInterfaces': {'@odata.id': '/redfish/v1/Systems/1/NetworkInterfaces'},
'Oem': {'openUBMC': {'AutoCloseLocalDisplay': False,
'BMADriver': '0.3.4',
'BMARunningStatus': 'Running',
'BMAService': '2.16.0',
'BiosDynamicParamConfig': {'DEMTEnabled': False},
'BootModeConfigOverIpmiEnabled': True,
'BootModeIpmiSWDisplayEnabled': True,
'BootupSequence': ['Others', 'Hdd', 'Pxe', 'Cd'],
'CPUPowerAdjustment': {'CPUPLimit': 6, 'CPUTLimit': 6},
'CPUThresholdPercent': 100,
'CPUTotalCores': 128,
'CPUUsagePercent': 0,
'ConfigurationModel': '',
'DelaySecondsAfterCpuThermalTrip': 300,
'DeviceOwnerID': '',
'DeviceSlotID': 0,
'DigitalWarranty': {'@odata.id': '/redfish/v1/Systems/1/DigitalWarranty'},
'DomainName': '(none)',
'EnclosureSN': None,
'HardDiskThresholdPercent': 100,
'HealthLedState': 'Blinking',
'HealthSummary': {'CriticalAlarmCount': 3,
'MajorAlarmCount': 0,
'MinorAlarmCount': 2},
'HostDescription': None,
'HostnameSyncEnabled': True,
'InfiniBandInterfaces': {'@odata.id': '/redfish/v1/Systems/1/InfiniBandInterfaces'},
'KernalVersion': '4.19.90-89.11.v2401.ky10.aarch64',
'LeakDetectionSupport': False,
'LocalKvmEnabled': True,
'LogicalDriveSummary': {'Count': 0,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'MajorOSVersion': 'V10',
'MajorPatchVersion': None,
'MemoryHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/MemoryHistoryUsageRate'},
'MemoryThresholdPercent': 100,
'MemoryUsagePercent': 1,
'MemoryView': {'@odata.id': '/redfish/v1/Systems/1/MemoryView'},
'MinorOSVersion': '0',
'MinorPatchVersion': None,
'NetBandwidthThresholdPercent': 100,
'NetworkBondings': {'@odata.id': '/redfish/v1/Systems/1/NetworkBondings'},
'NetworkBridge': {'@odata.id': '/redfish/v1/Systems/1/NetworkBridge'},
'NetworkHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/NetworkHistoryUsageRate'},
'OSVersion': 'Kylin Linux Advanced Server V10 (Halberd)',
'PanelPowerButtonEnabled': True,
'PartitionLists': [{'PartitionName': '/dev/mapper/klas-root',
'TotalCapacityGB': 3519.68,
'UsagePercent': 2,
'UsedCapacityGB': 44.79},
{'PartitionName': '/dev/nvme0n1p2',
'TotalCapacityGB': 0.99,
'UsagePercent': 20,
'UsedCapacityGB': 0.19},
{'PartitionName': '/dev/nvme0n1p1',
'TotalCapacityGB': 0.58,
'UsagePercent': 2,
'UsedCapacityGB': 0.01}],
'PchModel': None,
'PostState': 'FinishedPost',
'PowerOnAfterCpuThermalTrip': True,
'PowerOnStrategy': 'TurnOn',
'PowerOnStrategyExceptions': [],
'PowerRestoreDelayMode': 'DefaultDelay',
'PowerRestoreDelaySeconds': 0,
'PresentFrus': [{'FruType': 'OS', 'PowerState': 'On'}],
'PreviousPowerState': 'On',
'ProcessorView': {'@odata.id': '/redfish/v1/Systems/1/ProcessorView'},
'ProcessorsHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/ProcessorsHistoryUsageRate'},
'ProductAlias': 'Server',
'ProductName': 'R624 K2',
'ProductVersion': 'V6',
'SafePowerOffDefaultTimeoutSeconds': 600,
'SafePowerOffMaxTimeoutSeconds': 6000,
'SafePowerOffMinTimeoutSeconds': 10,
'SafePowerOffTimeoutEnabled': True,
'SafePowerOffTimoutSeconds': 180,
'SelOverWritePolicy': 'ClearAfterFull',
'SlotWidth': None,
'SmsEnabled': True,
'StorageConfigReady': 1,
'StorageSubsystemSummary': {'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageSummary': {'Count': 1,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageViewsSummary': {'Drives': [{'CryptoEraseSupported': False,
'Link': {'@odata.id': '/redfish/v1/Chassis/1/Drives/HDDPlaneDisk9'},
'Name': 'Disk9'}],
'RaidControllers': [{'Drives': [],
'Link': {'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'},
'Name': 'SP686C-M-16i '
'4G',
'VolumeSupported': True,
'Volumes': []}]},
'SwitchInfo': {'Base': None, 'Fabric': None},
'SwitchIpInfo': {'Base': None,
'FC': None,
'Fabric': None},
'SystemMemoryBuffersGiB': 0.01,
'SystemMemoryCachedGiB': 1.84,
'SystemMemoryFreeGiB': 1010.8,
'SystemSerialNumber': None,
'TeeosVersion': None,
'TotalSystemMemoryGiB': 1021.02,
'WakeOnLANStatus': None}},
'PCIeDevices': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13'}],
'PCIeFunctions': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13/Functions/1'}],
'PartNumber': None,
'PowerRestorePolicy': 'AlwaysOn',
'PowerState': 'On',
'ProcessorSummary': {'Count': 2,
'Model': 'Kunpeng 920 7270Z',
'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}}},
'Processors': {'@odata.id': '/redfish/v1/Systems/1/Processors'},
'SerialNumber': None,
'Status': {'Health': 'Critical',
'Oem': {'openUBMC': {'Severity': 'Critical'}},
'State': 'Enabled'},
'Storage': {'@odata.id': '/redfish/v1/Systems/1/Storages'},
'SystemType': 'Physical',
'TrustedModules': [],
'UUID': '8FBD8116-4812-8252-11F0-04F45D243680',
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:46 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6739', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystem.json>;rel=describedby', 'ETag': 'W/"fe4b1b80"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 1.080897,
'status_code': 200} |
| 2026-02-04 15:21:43.547 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:43.547 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_sys_info with params: {} on CommandType: None |
| 2026-02-04 15:21:43.547 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1 |
| 2026-02-04 15:21:44.547 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#ComputerSystem.ComputerSystem',
'@odata.id': '/redfish/v1/Systems/1',
'@odata.type': '#ComputerSystem.v1_2_0.ComputerSystem',
'Actions': {'#ComputerSystem.Reset': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ResetActionInfo',
'target': '/redfish/v1/Systems/1/Actions/ComputerSystem.Reset'},
'Oem': {'openUBMC': {'#ComputerSystem.ClearNetworkHistoryUsageRate': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ClearNetworkHistoryUsageRateActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.ClearNetworkHistoryUsageRate'},
'#ComputerSystem.FruControl': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/FruControlActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.FruControl'}}}},
'AssetTag': '--',
'Bios': {'@odata.id': '/redfish/v1/Systems/1/Bios'},
'BiosVersion': '1.16',
'Boot': {'BootSourceOverrideEnabled': 'Continuous',
'BootSourceOverrideMode': 'UEFI',
'BootSourceOverrideTarget': 'Hdd',
'BootSourceOverrideTarget@Redfish.AllowableValues': ['None',
'Pxe',
'Floppy',
'Cd',
'Hdd',
'BiosSetup']},
'EthernetInterfaces': {'@odata.id': '/redfish/v1/Systems/1/EthernetInterfaces'},
'HostName': 'localhost.localdomain',
'HostWatchdogTimer': {'FunctionEnabled': True, 'TimeoutAction': 'ResetSystem'},
'HostingRole': ['ApplicationServer'],
'Id': '1',
'Links': {'Chassis': [{'@odata.id': '/redfish/v1/Chassis/1'}],
'Managers': [{'@odata.id': '/redfish/v1/Managers/1'}]},
'LogServices': {'@odata.id': '/redfish/v1/Systems/1/LogServices'},
'Manufacturer': 'Huawei',
'Memory': {'@odata.id': '/redfish/v1/Systems/1/Memory'},
'MemorySummary': {'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}},
'TotalSystemMemoryGiB': 1021.02},
'Model': None,
'Name': 'Computer System',
'NetworkInterfaces': {'@odata.id': '/redfish/v1/Systems/1/NetworkInterfaces'},
'Oem': {'openUBMC': {'AutoCloseLocalDisplay': False,
'BMADriver': '0.3.4',
'BMARunningStatus': 'Running',
'BMAService': '2.16.0',
'BiosDynamicParamConfig': {'DEMTEnabled': False},
'BootModeConfigOverIpmiEnabled': True,
'BootModeIpmiSWDisplayEnabled': True,
'BootupSequence': ['Others', 'Hdd', 'Pxe', 'Cd'],
'CPUPowerAdjustment': {'CPUPLimit': 6, 'CPUTLimit': 6},
'CPUThresholdPercent': 100,
'CPUTotalCores': 128,
'CPUUsagePercent': 0,
'ConfigurationModel': '',
'DelaySecondsAfterCpuThermalTrip': 300,
'DeviceOwnerID': '',
'DeviceSlotID': 0,
'DigitalWarranty': {'@odata.id': '/redfish/v1/Systems/1/DigitalWarranty'},
'DomainName': '(none)',
'EnclosureSN': None,
'HardDiskThresholdPercent': 100,
'HealthLedState': 'Blinking',
'HealthSummary': {'CriticalAlarmCount': 3,
'MajorAlarmCount': 0,
'MinorAlarmCount': 2},
'HostDescription': None,
'HostnameSyncEnabled': True,
'InfiniBandInterfaces': {'@odata.id': '/redfish/v1/Systems/1/InfiniBandInterfaces'},
'KernalVersion': '4.19.90-89.11.v2401.ky10.aarch64',
'LeakDetectionSupport': False,
'LocalKvmEnabled': True,
'LogicalDriveSummary': {'Count': 0,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'MajorOSVersion': 'V10',
'MajorPatchVersion': None,
'MemoryHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/MemoryHistoryUsageRate'},
'MemoryThresholdPercent': 100,
'MemoryUsagePercent': 1,
'MemoryView': {'@odata.id': '/redfish/v1/Systems/1/MemoryView'},
'MinorOSVersion': '0',
'MinorPatchVersion': None,
'NetBandwidthThresholdPercent': 100,
'NetworkBondings': {'@odata.id': '/redfish/v1/Systems/1/NetworkBondings'},
'NetworkBridge': {'@odata.id': '/redfish/v1/Systems/1/NetworkBridge'},
'NetworkHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/NetworkHistoryUsageRate'},
'OSVersion': 'Kylin Linux Advanced Server V10 (Halberd)',
'PanelPowerButtonEnabled': True,
'PartitionLists': [{'PartitionName': '/dev/mapper/klas-root',
'TotalCapacityGB': 3519.68,
'UsagePercent': 2,
'UsedCapacityGB': 44.79},
{'PartitionName': '/dev/nvme0n1p2',
'TotalCapacityGB': 0.99,
'UsagePercent': 20,
'UsedCapacityGB': 0.19},
{'PartitionName': '/dev/nvme0n1p1',
'TotalCapacityGB': 0.58,
'UsagePercent': 2,
'UsedCapacityGB': 0.01}],
'PchModel': None,
'PostState': 'FinishedPost',
'PowerOnAfterCpuThermalTrip': True,
'PowerOnStrategy': 'TurnOn',
'PowerOnStrategyExceptions': [],
'PowerRestoreDelayMode': 'DefaultDelay',
'PowerRestoreDelaySeconds': 0,
'PresentFrus': [{'FruType': 'OS', 'PowerState': 'On'}],
'PreviousPowerState': 'On',
'ProcessorView': {'@odata.id': '/redfish/v1/Systems/1/ProcessorView'},
'ProcessorsHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/ProcessorsHistoryUsageRate'},
'ProductAlias': 'Server',
'ProductName': 'R624 K2',
'ProductVersion': 'V6',
'SafePowerOffDefaultTimeoutSeconds': 600,
'SafePowerOffMaxTimeoutSeconds': 6000,
'SafePowerOffMinTimeoutSeconds': 10,
'SafePowerOffTimeoutEnabled': True,
'SafePowerOffTimoutSeconds': 180,
'SelOverWritePolicy': 'ClearAfterFull',
'SlotWidth': None,
'SmsEnabled': True,
'StorageConfigReady': 1,
'StorageSubsystemSummary': {'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageSummary': {'Count': 1,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageViewsSummary': {'Drives': [{'CryptoEraseSupported': False,
'Link': {'@odata.id': '/redfish/v1/Chassis/1/Drives/HDDPlaneDisk9'},
'Name': 'Disk9'}],
'RaidControllers': [{'Drives': [],
'Link': {'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'},
'Name': 'SP686C-M-16i '
'4G',
'VolumeSupported': True,
'Volumes': []}]},
'SwitchInfo': {'Base': None, 'Fabric': None},
'SwitchIpInfo': {'Base': None,
'FC': None,
'Fabric': None},
'SystemMemoryBuffersGiB': 0.01,
'SystemMemoryCachedGiB': 1.84,
'SystemMemoryFreeGiB': 1010.8,
'SystemSerialNumber': None,
'TeeosVersion': None,
'TotalSystemMemoryGiB': 1021.02,
'WakeOnLANStatus': None}},
'PCIeDevices': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13'}],
'PCIeFunctions': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13/Functions/1'}],
'PartNumber': None,
'PowerRestorePolicy': 'AlwaysOn',
'PowerState': 'On',
'ProcessorSummary': {'Count': 2,
'Model': 'Kunpeng 920 7270Z',
'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}}},
'Processors': {'@odata.id': '/redfish/v1/Systems/1/Processors'},
'SerialNumber': None,
'Status': {'Health': 'Critical',
'Oem': {'openUBMC': {'Severity': 'Critical'}},
'State': 'Enabled'},
'Storage': {'@odata.id': '/redfish/v1/Systems/1/Storages'},
'SystemType': 'Physical',
'TrustedModules': [],
'UUID': '8FBD8116-4812-8252-11F0-04F45D243680',
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:47 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6739', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystem.json>;rel=describedby', 'ETag': 'W/"fe4b1b80"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.996147,
'status_code': 200} |
| 2026-02-04 15:21:44.547 | DEBUG | ThreadID:4864 | kptest.host.hostbase--line:139 | Discover Host With Host OS: Linux Class |
| 2026-02-04 15:21:44.578 | DEBUG | ThreadID:4864 | kptest.host.hostbase--line:139 | Discover Host With Host OS: Linux Class |
| 2026-02-04 15:21:44.609 | DEBUG | ThreadID:4864 | kptest.host.hostbase--line:139 | Discover Host With Host OS: Linux Class |
| 2026-02-04 15:21:44.625 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:44.625 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_sqlite_mgt_property with params: {} on CommandType: None |
| 2026-02-04 15:21:44.625 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'SqliteMgt': {'Id': '0'}}} |
| 2026-02-04 15:21:44.625 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:44.625 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_firmware_mgt_property with params: {} on CommandType: None |
| 2026-02-04 15:21:44.625 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.public--line:70 | url: https://192.168.40.125/redfish/v1/ |
| 2026-02-04 15:21:44.813 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'FirmwareMgt': {'Id': '0', 'ProductName': ''}}} |
| 2026-02-04 15:21:44.813 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:422 | https service port: 443 |
| 2026-02-04 15:21:44.938 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:44.953 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_log_mgt_property with params: {} on CommandType: None |
| 2026-02-04 15:21:44.953 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.root--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ServiceRoot.ServiceRoot', '@odata.id': '/redfish/v1/', '@odata.type': '#ServiceRoot.v1_17_0.ServiceRoot', 'Id': 'RootService', 'Name': 'Root Service', 'RedfishVersion': '1.20.1', 'UUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'Systems': {'@odata.id': '/redfish/v1/Systems'}, 'Chassis': {'@odata.id': '/redfish/v1/Chassis'}, 'Managers': {'@odata.id': '/redfish/v1/Managers'}, 'Tasks': {'@odata.id': '/redfish/v1/TaskService'}, 'SessionService': {'@odata.id': '/redfish/v1/SessionService'}, 'AccountService': {'@odata.id': '/redfish/v1/AccountService'}, 'EventService': {'@odata.id': '/redfish/v1/EventService'}, 'Links': {'Sessions': {'@odata.id': '/redfish/v1/SessionService/Sessions'}}, 'UpdateService': {'@odata.id': '/redfish/v1/UpdateService'}, 'Registries': {'@odata.id': '/redfish/v1/Registries'}, 'JsonSchemas': {'@odata.id': '/redfish/v1/JSONSchemas'}, 'CertificateService': {'@odata.id': '/redfish/v1/CertificateService'}, 'JobService': {'@odata.id': '/redfish/v1/JobService'}, 'TelemetryService': {'@odata.id': '/redfish/v1/TelemetryService'}, 'ProtocolFeaturesSupported': {'DeepOperations': {'DeepPATCH': False, 'DeepPOST': True, 'MaxLevels': 1}, 'ExpandQuery': {'ExpandAll': False, 'Levels': True, 'MaxLevels': 1, 'Links': False, 'NoLinks': True}, 'FilterQuery': True, 'FilterQueryComparisonOperations': True, 'FilterQueryCompoundOperations': True, 'SelectQuery': True, 'OnlyMemberQuery': True, 'ExcerptQuery': False, 'TopSkipQuery': True}, 'Oem': {'openUBMC': {'SmsUpdateService': [{'@odata.id': '/redfish/v1/Sms/1/UpdateService'}], 'SystemOverview': {'@odata.id': '/redfish/v1/SystemOverview'}, 'PerformanceCollection': {'@odata.id': '/redfish/v1/PerformanceCollection'}, 'AssetService': {'@odata.id': '/redfish/v1/Oem/openUBMC/AssetService'}, 'SecurityBanner': 'WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.', 'ProductName': 'R624 K2', 'ProductSerialNumber': '', 'HostName': 'huawei', 'LanguageSet': 'zh,ru,ja,fr,en', 'Copyright': 'openUBMC 2025. All rights reserved.', 'DocSupportFlag': False, 'DomainName': ['', '', '', '', '', ''], 'ProductPicture': 'image_huhe', 'AccountLockoutDuration': 300, 'SmsName': 'iBMA', 'SoftwareName': 'openUBMC', 'MajorVersion': '5', 'ChassisHeightU': 2, 'FQDN': 'huawei', 'StartupDurationSeconds': 0, 'StartupState': 'Completed', 'SystemAssembly': {'@odata.id': '/redfish/v1/Oem/openUBMC/SystemAssembly'}, 'ObservabilityService': {'@odata.id': '/redfish/v1/Oem/openUBMC/ObservabilityService'}}}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:39 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '2735', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ServiceRoot.json>;rel=describedby', 'ETag': 'W/"f7b36dec"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.176828} |
| 2026-02-04 15:21:44.953 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.managers--line:70 | url: https://192.168.40.125/redfish/v1/Managers |
| 2026-02-04 15:21:45.187 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.managers--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ManagerCollection.ManagerCollection', '@odata.id': '/redfish/v1/Managers', '@odata.type': '#ManagerCollection.ManagerCollection', 'Name': 'Manager Collection', 'Members@odata.count': 1, 'Members': [{'@odata.id': '/redfish/v1/Managers/1'}], 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:48 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '269', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ManagerCollection.json>;rel=describedby', 'ETag': 'W/"a29d650c"', 'OData-Version': '4.0', 'Allow': 'GET', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.216983} |
| 2026-02-04 15:21:45.187 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.managers--line:70 | url: https://192.168.40.125/redfish/v1/Managers/1 |
| 2026-02-04 15:21:45.688 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.managers--line:70 | url: https://192.168.40.125/redfish/v1/Managers |
| 2026-02-04 15:21:45.923 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'parser': {'1': {'id': '1',
'logService': ['OperateLog',
'RunLog',
'SecurityLog',
'SelLog']}}} |
| 2026-02-04 15:21:45.923 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:422 | https service port: 443 |
| 2026-02-04 15:21:46.032 | DEBUG | ThreadID:4864 | kptest.host.hostbase--line:139 | Discover Host With Host OS: Linux Class |
| 2026-02-04 15:21:46.079 | DEBUG | ThreadID:4864 | kptest.host.hostbase--line:139 | Discover Host With Host OS: Linux Class |
| 2026-02-04 15:21:46.110 | ERROR | ThreadID:4864 | tc_script.scripts.inner_case.cases.migrate.iBMC.TaiShan.25_Redfish.01_RedfishResourceMgmt.12_AbnormalityTest.08_propertyTest.REDFISH_ROLES_Cust1_034--line:1017 | An issue occurred while trying to run the pre_test_case steps for REDFISH_ROLES_Cust1_034 :
Traceback (most recent call last):
File "kpautos\engine\engine.py", line 209, in _runTest
File "kptest\log\case_analysis\analysis_logger_wrapper.py", line 36, in wrapper
File "tc_script\scripts\inner_case\cases\migrate\iBMC\TaiShan\25_Redfish\01_RedfishResourceMgmt\12_AbnormalityTest\08_propertyTest\REDFISH_ROLES_Cust1_034.py", line 118, in pre_test_case
File "tc_script\scripts\inner_case\cases\migrate\iBMC\CommonLogic\BMCLogic\EventReportLogic.py", line 86, in bind_custom_fun_event_report
File "tc_script\scripts\inner_case\cases\migrate\iBMC\CommonLogic\BMCLogic\EventReportLogic.py", line 47, in pre_condition
File "kptest\service\service.py", line 285, in get_config
kptest.exception.kptest_exception.KPTestException: 找不到id为1的Syslogserver服务 |
| 2026-02-04 15:21:46.110 | INFO | ThreadID:4864 | kpautos.engine.engine--line:258 | ###POST-TEST-CASE### |
| 2026-02-04 15:21:46.110 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:46.110 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: refresh_cache with params: {} on CommandType: None |
| 2026-02-04 15:21:46.110 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | None |
| 2026-02-04 15:21:46.110 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:46.110 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: get_sys_info with params: {} on CommandType: None |
| 2026-02-04 15:21:46.110 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.root--line:70 | url: https://192.168.40.125/redfish/v1/ |
| 2026-02-04 15:21:46.298 | INFO | ThreadID:4864 | kptest.wrapper.api.redfish.v0.bmcredfish--line:98 | API Version : 1.201 |
| 2026-02-04 15:21:46.298 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.root--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ServiceRoot.ServiceRoot', '@odata.id': '/redfish/v1/', '@odata.type': '#ServiceRoot.v1_17_0.ServiceRoot', 'Id': 'RootService', 'Name': 'Root Service', 'RedfishVersion': '1.20.1', 'UUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'Systems': {'@odata.id': '/redfish/v1/Systems'}, 'Chassis': {'@odata.id': '/redfish/v1/Chassis'}, 'Managers': {'@odata.id': '/redfish/v1/Managers'}, 'Tasks': {'@odata.id': '/redfish/v1/TaskService'}, 'SessionService': {'@odata.id': '/redfish/v1/SessionService'}, 'AccountService': {'@odata.id': '/redfish/v1/AccountService'}, 'EventService': {'@odata.id': '/redfish/v1/EventService'}, 'Links': {'Sessions': {'@odata.id': '/redfish/v1/SessionService/Sessions'}}, 'UpdateService': {'@odata.id': '/redfish/v1/UpdateService'}, 'Registries': {'@odata.id': '/redfish/v1/Registries'}, 'JsonSchemas': {'@odata.id': '/redfish/v1/JSONSchemas'}, 'CertificateService': {'@odata.id': '/redfish/v1/CertificateService'}, 'JobService': {'@odata.id': '/redfish/v1/JobService'}, 'TelemetryService': {'@odata.id': '/redfish/v1/TelemetryService'}, 'ProtocolFeaturesSupported': {'DeepOperations': {'DeepPATCH': False, 'DeepPOST': True, 'MaxLevels': 1}, 'ExpandQuery': {'ExpandAll': False, 'Levels': True, 'MaxLevels': 1, 'Links': False, 'NoLinks': True}, 'FilterQuery': True, 'FilterQueryComparisonOperations': True, 'FilterQueryCompoundOperations': True, 'SelectQuery': True, 'OnlyMemberQuery': True, 'ExcerptQuery': False, 'TopSkipQuery': True}, 'Oem': {'openUBMC': {'SmsUpdateService': [{'@odata.id': '/redfish/v1/Sms/1/UpdateService'}], 'SystemOverview': {'@odata.id': '/redfish/v1/SystemOverview'}, 'PerformanceCollection': {'@odata.id': '/redfish/v1/PerformanceCollection'}, 'AssetService': {'@odata.id': '/redfish/v1/Oem/openUBMC/AssetService'}, 'SecurityBanner': 'WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.', 'ProductName': 'R624 K2', 'ProductSerialNumber': '', 'HostName': 'huawei', 'LanguageSet': 'zh,ru,ja,fr,en', 'Copyright': 'openUBMC 2025. All rights reserved.', 'DocSupportFlag': False, 'DomainName': ['', '', '', '', '', ''], 'ProductPicture': 'image_huhe', 'AccountLockoutDuration': 300, 'SmsName': 'iBMA', 'SoftwareName': 'openUBMC', 'MajorVersion': '5', 'ChassisHeightU': 2, 'FQDN': 'huawei', 'StartupDurationSeconds': 0, 'StartupState': 'Completed', 'SystemAssembly': {'@odata.id': '/redfish/v1/Oem/openUBMC/SystemAssembly'}, 'ObservabilityService': {'@odata.id': '/redfish/v1/Oem/openUBMC/ObservabilityService'}}}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:49 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '2735', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ServiceRoot.json>;rel=describedby', 'ETag': 'W/"f7b36dec"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.180753} |
| 2026-02-04 15:21:46.298 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:70 | url: https://192.168.40.125/redfish/v1/Systems |
| 2026-02-04 15:21:46.735 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ComputerSystemCollection.ComputerSystemCollection', '@odata.id': '/redfish/v1/Systems', '@odata.type': '#ComputerSystemCollection.ComputerSystemCollection', 'Name': 'Computer System Collection', 'Members@odata.count': 1, 'Members': [{'@odata.id': '/redfish/v1/Systems/1'}], 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:49 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '303', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystemCollection.json>;rel=describedby', 'ETag': 'W/"256ff801"', 'OData-Version': '4.0', 'Allow': 'GET', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.426373} |
| 2026-02-04 15:21:46.735 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.systems--line:70 | url: https://192.168.40.125/redfish/v1/Systems/1 |
| 2026-02-04 15:21:47.968 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#ComputerSystem.ComputerSystem',
'@odata.id': '/redfish/v1/Systems/1',
'@odata.type': '#ComputerSystem.v1_2_0.ComputerSystem',
'Actions': {'#ComputerSystem.Reset': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ResetActionInfo',
'target': '/redfish/v1/Systems/1/Actions/ComputerSystem.Reset'},
'Oem': {'openUBMC': {'#ComputerSystem.ClearNetworkHistoryUsageRate': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/ClearNetworkHistoryUsageRateActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.ClearNetworkHistoryUsageRate'},
'#ComputerSystem.FruControl': {'@Redfish.ActionInfo': '/redfish/v1/Systems/1/FruControlActionInfo',
'target': '/redfish/v1/Systems/1/Actions/Oem/openUBMC/ComputerSystem.FruControl'}}}},
'AssetTag': '--',
'Bios': {'@odata.id': '/redfish/v1/Systems/1/Bios'},
'BiosVersion': '1.16',
'Boot': {'BootSourceOverrideEnabled': 'Continuous',
'BootSourceOverrideMode': 'UEFI',
'BootSourceOverrideTarget': 'Hdd',
'BootSourceOverrideTarget@Redfish.AllowableValues': ['None',
'Pxe',
'Floppy',
'Cd',
'Hdd',
'BiosSetup']},
'EthernetInterfaces': {'@odata.id': '/redfish/v1/Systems/1/EthernetInterfaces'},
'HostName': 'localhost.localdomain',
'HostWatchdogTimer': {'FunctionEnabled': True, 'TimeoutAction': 'ResetSystem'},
'HostingRole': ['ApplicationServer'],
'Id': '1',
'Links': {'Chassis': [{'@odata.id': '/redfish/v1/Chassis/1'}],
'Managers': [{'@odata.id': '/redfish/v1/Managers/1'}]},
'LogServices': {'@odata.id': '/redfish/v1/Systems/1/LogServices'},
'Manufacturer': 'Huawei',
'Memory': {'@odata.id': '/redfish/v1/Systems/1/Memory'},
'MemorySummary': {'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}},
'TotalSystemMemoryGiB': 1021.02},
'Model': None,
'Name': 'Computer System',
'NetworkInterfaces': {'@odata.id': '/redfish/v1/Systems/1/NetworkInterfaces'},
'Oem': {'openUBMC': {'AutoCloseLocalDisplay': False,
'BMADriver': '0.3.4',
'BMARunningStatus': 'Running',
'BMAService': '2.16.0',
'BiosDynamicParamConfig': {'DEMTEnabled': False},
'BootModeConfigOverIpmiEnabled': True,
'BootModeIpmiSWDisplayEnabled': True,
'BootupSequence': ['Others', 'Hdd', 'Pxe', 'Cd'],
'CPUPowerAdjustment': {'CPUPLimit': 6, 'CPUTLimit': 6},
'CPUThresholdPercent': 100,
'CPUTotalCores': 128,
'CPUUsagePercent': 0,
'ConfigurationModel': '',
'DelaySecondsAfterCpuThermalTrip': 300,
'DeviceOwnerID': '',
'DeviceSlotID': 0,
'DigitalWarranty': {'@odata.id': '/redfish/v1/Systems/1/DigitalWarranty'},
'DomainName': '(none)',
'EnclosureSN': None,
'HardDiskThresholdPercent': 100,
'HealthLedState': 'Blinking',
'HealthSummary': {'CriticalAlarmCount': 3,
'MajorAlarmCount': 0,
'MinorAlarmCount': 2},
'HostDescription': None,
'HostnameSyncEnabled': True,
'InfiniBandInterfaces': {'@odata.id': '/redfish/v1/Systems/1/InfiniBandInterfaces'},
'KernalVersion': '4.19.90-89.11.v2401.ky10.aarch64',
'LeakDetectionSupport': False,
'LocalKvmEnabled': True,
'LogicalDriveSummary': {'Count': 0,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'MajorOSVersion': 'V10',
'MajorPatchVersion': None,
'MemoryHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/MemoryHistoryUsageRate'},
'MemoryThresholdPercent': 100,
'MemoryUsagePercent': 1,
'MemoryView': {'@odata.id': '/redfish/v1/Systems/1/MemoryView'},
'MinorOSVersion': '0',
'MinorPatchVersion': None,
'NetBandwidthThresholdPercent': 100,
'NetworkBondings': {'@odata.id': '/redfish/v1/Systems/1/NetworkBondings'},
'NetworkBridge': {'@odata.id': '/redfish/v1/Systems/1/NetworkBridge'},
'NetworkHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/NetworkHistoryUsageRate'},
'OSVersion': 'Kylin Linux Advanced Server V10 (Halberd)',
'PanelPowerButtonEnabled': True,
'PartitionLists': [{'PartitionName': '/dev/mapper/klas-root',
'TotalCapacityGB': 3519.68,
'UsagePercent': 2,
'UsedCapacityGB': 44.79},
{'PartitionName': '/dev/nvme0n1p2',
'TotalCapacityGB': 0.99,
'UsagePercent': 20,
'UsedCapacityGB': 0.19},
{'PartitionName': '/dev/nvme0n1p1',
'TotalCapacityGB': 0.58,
'UsagePercent': 2,
'UsedCapacityGB': 0.01}],
'PchModel': None,
'PostState': 'FinishedPost',
'PowerOnAfterCpuThermalTrip': True,
'PowerOnStrategy': 'TurnOn',
'PowerOnStrategyExceptions': [],
'PowerRestoreDelayMode': 'DefaultDelay',
'PowerRestoreDelaySeconds': 0,
'PresentFrus': [{'FruType': 'OS', 'PowerState': 'On'}],
'PreviousPowerState': 'On',
'ProcessorView': {'@odata.id': '/redfish/v1/Systems/1/ProcessorView'},
'ProcessorsHistoryUsageRate': {'@odata.id': '/redfish/v1/Systems/1/ProcessorsHistoryUsageRate'},
'ProductAlias': 'Server',
'ProductName': 'R624 K2',
'ProductVersion': 'V6',
'SafePowerOffDefaultTimeoutSeconds': 600,
'SafePowerOffMaxTimeoutSeconds': 6000,
'SafePowerOffMinTimeoutSeconds': 10,
'SafePowerOffTimeoutEnabled': True,
'SafePowerOffTimoutSeconds': 180,
'SelOverWritePolicy': 'ClearAfterFull',
'SlotWidth': None,
'SmsEnabled': True,
'StorageConfigReady': 1,
'StorageSubsystemSummary': {'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageSummary': {'Count': 1,
'Status': {'HealthRollup': 'OK',
'Severity': 'Informational'}},
'StorageViewsSummary': {'Drives': [{'CryptoEraseSupported': False,
'Link': {'@odata.id': '/redfish/v1/Chassis/1/Drives/HDDPlaneDisk9'},
'Name': 'Disk9'}],
'RaidControllers': [{'Drives': [],
'Link': {'@odata.id': '/redfish/v1/Systems/1/Storages/RAIDStorage0'},
'Name': 'SP686C-M-16i '
'4G',
'VolumeSupported': True,
'Volumes': []}]},
'SwitchInfo': {'Base': None, 'Fabric': None},
'SwitchIpInfo': {'Base': None,
'FC': None,
'Fabric': None},
'SystemMemoryBuffersGiB': 0.01,
'SystemMemoryCachedGiB': 1.84,
'SystemMemoryFreeGiB': 1010.8,
'SystemSerialNumber': None,
'TeeosVersion': None,
'TotalSystemMemoryGiB': 1021.02,
'WakeOnLANStatus': None}},
'PCIeDevices': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13'}],
'PCIeFunctions': [{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard1/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard2/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard5/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard11/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/PCIeCard12/Functions/1'},
{'@odata.id': '/redfish/v1/Chassis/1/PCIeDevices/OCPCard13/Functions/1'}],
'PartNumber': None,
'PowerRestorePolicy': 'AlwaysOn',
'PowerState': 'On',
'ProcessorSummary': {'Count': 2,
'Model': 'Kunpeng 920 7270Z',
'Status': {'HealthRollup': 'OK',
'Oem': {'openUBMC': {'Severity': 'Informational'}}}},
'Processors': {'@odata.id': '/redfish/v1/Systems/1/Processors'},
'SerialNumber': None,
'Status': {'Health': 'Critical',
'Oem': {'openUBMC': {'Severity': 'Critical'}},
'State': 'Enabled'},
'Storage': {'@odata.id': '/redfish/v1/Systems/1/Storages'},
'SystemType': 'Physical',
'TrustedModules': [],
'UUID': '8FBD8116-4812-8252-11F0-04F45D243680',
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:50 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6739', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ComputerSystem.json>;rel=describedby', 'ETag': 'W/"fe4b1b80"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 1.22677,
'status_code': 200} |
| 2026-02-04 15:21:47.968 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:47.968 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: set_account_service_info_redfish with params: {'Oem': {'openUBMC': {'EmergencyLoginUser': ''}}} on CommandType: None |
| 2026-02-04 15:21:47.984 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.root--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ServiceRoot.ServiceRoot', '@odata.id': '/redfish/v1/', '@odata.type': '#ServiceRoot.v1_17_0.ServiceRoot', 'Id': 'RootService', 'Name': 'Root Service', 'RedfishVersion': '1.20.1', 'UUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'Systems': {'@odata.id': '/redfish/v1/Systems'}, 'Chassis': {'@odata.id': '/redfish/v1/Chassis'}, 'Managers': {'@odata.id': '/redfish/v1/Managers'}, 'Tasks': {'@odata.id': '/redfish/v1/TaskService'}, 'SessionService': {'@odata.id': '/redfish/v1/SessionService'}, 'AccountService': {'@odata.id': '/redfish/v1/AccountService'}, 'EventService': {'@odata.id': '/redfish/v1/EventService'}, 'Links': {'Sessions': {'@odata.id': '/redfish/v1/SessionService/Sessions'}}, 'UpdateService': {'@odata.id': '/redfish/v1/UpdateService'}, 'Registries': {'@odata.id': '/redfish/v1/Registries'}, 'JsonSchemas': {'@odata.id': '/redfish/v1/JSONSchemas'}, 'CertificateService': {'@odata.id': '/redfish/v1/CertificateService'}, 'JobService': {'@odata.id': '/redfish/v1/JobService'}, 'TelemetryService': {'@odata.id': '/redfish/v1/TelemetryService'}, 'ProtocolFeaturesSupported': {'DeepOperations': {'DeepPATCH': False, 'DeepPOST': True, 'MaxLevels': 1}, 'ExpandQuery': {'ExpandAll': False, 'Levels': True, 'MaxLevels': 1, 'Links': False, 'NoLinks': True}, 'FilterQuery': True, 'FilterQueryComparisonOperations': True, 'FilterQueryCompoundOperations': True, 'SelectQuery': True, 'OnlyMemberQuery': True, 'ExcerptQuery': False, 'TopSkipQuery': True}, 'Oem': {'openUBMC': {'SmsUpdateService': [{'@odata.id': '/redfish/v1/Sms/1/UpdateService'}], 'SystemOverview': {'@odata.id': '/redfish/v1/SystemOverview'}, 'PerformanceCollection': {'@odata.id': '/redfish/v1/PerformanceCollection'}, 'AssetService': {'@odata.id': '/redfish/v1/Oem/openUBMC/AssetService'}, 'SecurityBanner': 'WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.', 'ProductName': 'R624 K2', 'ProductSerialNumber': '', 'HostName': 'huawei', 'LanguageSet': 'zh,ru,ja,fr,en', 'Copyright': 'openUBMC 2025. All rights reserved.', 'DocSupportFlag': False, 'DomainName': ['', '', '', '', '', ''], 'ProductPicture': 'image_huhe', 'AccountLockoutDuration': 300, 'SmsName': 'iBMA', 'SoftwareName': 'openUBMC', 'MajorVersion': '5', 'ChassisHeightU': 2, 'FQDN': 'huawei', 'StartupDurationSeconds': 0, 'StartupState': 'Completed', 'SystemAssembly': {'@odata.id': '/redfish/v1/Oem/openUBMC/SystemAssembly'}, 'ObservabilityService': {'@odata.id': '/redfish/v1/Oem/openUBMC/ObservabilityService'}}}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:49 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '2735', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ServiceRoot.json>;rel=describedby', 'ETag': 'W/"f7b36dec"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.180753} |
| 2026-02-04 15:21:47.984 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:70 | url: https://192.168.40.125/redfish/v1/AccountService |
| 2026-02-04 15:21:48.296 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#AccountService.AccountService', '@odata.id': '/redfish/v1/AccountService', '@odata.type': '#AccountService.v1_15_1.AccountService', 'Id': 'AccountService', 'Name': 'Account Service', 'MinPasswordLength': 8, 'MaxPasswordLength': 20, 'AccountLockoutThreshold': 5, 'AccountLockoutDuration': 300, 'PasswordExpirationDays': None, 'AccountLockoutCounterResetAfter': 300, 'AuthFailureLoggingThreshold': 1, 'HTTPBasicAuth': 'Enabled', 'LocalAccountAuth': 'LocalFirst', 'ServiceEnabled': True, 'Status': {'State': 'Enabled', 'Health': 'OK'}, 'Oem': {'openUBMC': {'CLISessionTimeoutMinutes': 15, 'PasswordComplexityCheckEnabled': True, 'AccountInactiveTimelimit': 0, 'UsernamePasswordCompareInfo': {'UsernamePasswordCompareEnabled': False, 'UsernamePasswordCompareLength': 4}, 'SSHPasswordAuthenticationEnabled': True, 'CertificateOverdueWarningTime': 90, 'OSUserManagementEnabled': True, 'OSAdministratorPrivilegeEnabled': True, 'PasswordValidityDays': None, 'MinimumPasswordAgeDays': None, 'PreviousPasswordsDisallowedCount': None, 'SecurityBannerEnabled': True, 'SecurityBanner': 'WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.', 'DefaultSecurityBanner': 'WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.', 'TlsVersion': ['Tls1.2', 'Tls1.3'], 'EmergencyLoginUser': '', 'TwoFactorAuthenticationInformation': {'TwoFactorAuthenticationStateEnabled': False, 'CertificateRevocationCheckEnabled': False, 'CrlVerificationEnabled': True, 'RootCertificate': [{'ServerCert': {'IssueBy': 'CN=Huawei Secure Server CA, OU=IT, O=Huawei, L=ShenZhen, S=GuangDong, C=CN', 'IssueTo': 'CN=Huawei Secure Server CA, OU=IT, O=Huawei, L=ShenZhen, S=GuangDong, C=CN', 'ValidFrom': 'Jan 26 2026 UTC', 'ValidTo': 'Jan 24 2036 UTC', 'SerialNumber': 'b4 52 91 35 4e 66 d7 b1', 'SignatureAlgorithm': 'SHA256', 'KeyUsage': 'CRL Sign, Certificate Sign', 'PublicKeyLengthBits': 2048, 'FingerPrint': '4e9eb44cfdc1b0ad9262f81348d337991b649fa9399c2018256154b8047decae', 'IsImportCrl': False, 'CrlValidFrom': None, 'CrlValidTo': None}, 'CertId': 1}]}, 'InitialAccountPrivilegeRestrictEnabled': False, 'PasswordRulePolicy': 'Default', 'PasswordPattern': '', 'InterChassisAuthentication': {'Enabled': False, 'AccessRole': 'Administrator'}, 'Actions': {'#AccountService.ImportRootCertificate': {'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportRootCertificate', '@Redfish.ActionInfo': '/redfish/v1/AccountService/ImportRootCertificateActionInfo'}, '#AccountService.DeleteRootCertificate': {'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteRootCertificate', '@Redfish.ActionInfo': '/redfish/v1/AccountService/DeleteRootCertificateActionInfo'}, '#AccountService.ImportCrl': {'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportCrl', '@Redfish.ActionInfo': '/redfish/v1/AccountService/ImportCrlActionInfo'}, '#AccountService.DeleteCrl': {'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteCrl', '@Redfish.ActionInfo': '/redfish/v1/AccountService/DeleteCrlActionInfo'}}, 'LdapService': {'@odata.id': '/redfish/v1/AccountService/LdapService'}, 'KerberosService': {'@odata.id': '/redfish/v1/AccountService/KerberosService'}}}, 'Accounts': {'@odata.id': '/redfish/v1/AccountService/Accounts'}, 'LDAP': {'ServiceEnabled': True, 'ServiceAddresses': [''], 'Authentication': {'AuthenticationType': 'UsernameAndPassword'}, 'Certificates': {'@odata.id': '/redfish/v1/Managers/1/Certificates'}, 'LDAPService': {'SearchSettings': {'BaseDistinguishedNames': ['']}}, 'RemoteRoleMapping': [{'LocalRole': None, 'RemoteGroup': None}, {'LocalRole': None, 'RemoteGroup': None}, {'LocalRole': None, 'RemoteGroup': None}, {'LocalRole': None, 'RemoteGroup': None}, {'LocalRole': None, 'RemoteGroup': None}]}, 'Roles': {'@odata.id': '/redfish/v1/AccountService/Roles'}, 'PrivilegeMap': {'@odata.id': '/redfish/v1/AccountService/PrivilegeMap'}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:51 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '4532', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/AccountService.json>;rel=describedby', 'ETag': 'W/"97f79e7a"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.314245} |
| 2026-02-04 15:21:48.312 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:289 | url: https://192.168.40.125/redfish/v1/AccountService |
| 2026-02-04 15:21:48.624 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:302 | getresponse :{"@odata.context":"/redfish/v1/$metadata#AccountService.AccountService","@odata.id":"/redfish/v1/AccountService","@odata.type":"#AccountService.v1_15_1.AccountService","Id":"AccountService","Name":"Account Service","MinPasswordLength":8,"MaxPasswordLength":20,"AccountLockoutThreshold":5,"AccountLockoutDuration":300,"PasswordExpirationDays":null,"AccountLockoutCounterResetAfter":300,"AuthFailureLoggingThreshold":1,"HTTPBasicAuth":"Enabled","LocalAccountAuth":"LocalFirst","ServiceEnabled":true,"Status":{"State":"Enabled","Health":"OK"},"Oem":{"openUBMC":{"CLISessionTimeoutMinutes":15,"PasswordComplexityCheckEnabled":true,"AccountInactiveTimelimit":0,"UsernamePasswordCompareInfo":{"UsernamePasswordCompareEnabled":false,"UsernamePasswordCompareLength":4},"SSHPasswordAuthenticationEnabled":true,"CertificateOverdueWarningTime":90,"OSUserManagementEnabled":true,"OSAdministratorPrivilegeEnabled":true,"PasswordValidityDays":null,"MinimumPasswordAgeDays":null,"PreviousPasswordsDisallowedCount":null,"SecurityBannerEnabled":true,"SecurityBanner":"WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.","DefaultSecurityBanner":"WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.","TlsVersion":["Tls1.2","Tls1.3"],"EmergencyLoginUser":"","TwoFactorAuthenticationInformation":{"TwoFactorAuthenticationStateEnabled":false,"CertificateRevocationCheckEnabled":false,"CrlVerificationEnabled":true,"RootCertificate":[{"ServerCert":{"IssueBy":"CN=Huawei Secure Server CA, OU=IT, O=Huawei, L=ShenZhen, S=GuangDong, C=CN","IssueTo":"CN=Huawei Secure Server CA, OU=IT, O=Huawei, L=ShenZhen, S=GuangDong, C=CN","ValidFrom":"Jan 26 2026 UTC","ValidTo":"Jan 24 2036 UTC","SerialNumber":"b4 52 91 35 4e 66 d7 b1","SignatureAlgorithm":"SHA256","KeyUsage":"CRL Sign, Certificate Sign","PublicKeyLengthBits":2048,"FingerPrint":"4e9eb44cfdc1b0ad9262f81348d337991b649fa9399c2018256154b8047decae","IsImportCrl":false,"CrlValidFrom":null,"CrlValidTo":null},"CertId":1}]},"InitialAccountPrivilegeRestrictEnabled":false,"PasswordRulePolicy":"Default","PasswordPattern":"","InterChassisAuthentication":{"Enabled":false,"AccessRole":"Administrator"},"Actions":{"#AccountService.ImportRootCertificate":{"target":"/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportRootCertificate","@Redfish.ActionInfo":"/redfish/v1/AccountService/ImportRootCertificateActionInfo"},"#AccountService.DeleteRootCertificate":{"target":"/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteRootCertificate","@Redfish.ActionInfo":"/redfish/v1/AccountService/DeleteRootCertificateActionInfo"},"#AccountService.ImportCrl":{"target":"/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportCrl","@Redfish.ActionInfo":"/redfish/v1/AccountService/ImportCrlActionInfo"},"#AccountService.DeleteCrl":{"target":"/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteCrl","@Redfish.ActionInfo":"/redfish/v1/AccountService/DeleteCrlActionInfo"}},"LdapService":{"@odata.id":"/redfish/v1/AccountService/LdapService"},"KerberosService":{"@odata.id":"/redfish/v1/AccountService/KerberosService"}}},"Accounts":{"@odata.id":"/redfish/v1/AccountService/Accounts"},"LDAP":{"ServiceEnabled":true,"ServiceAddresses":[""],"Authentication":{"AuthenticationType":"UsernameAndPassword"},"Certificates":{"@odata.id":"/redfish/v1/Managers/1/Certificates"},"LDAPService":{"SearchSettings":{"BaseDistinguishedNames":[""]}},"RemoteRoleMapping":[{"LocalRole":null,"RemoteGroup":null},{"LocalRole":null,"RemoteGroup":null},{"LocalRole":null,"RemoteGroup":null},{"LocalRole":null,"RemoteGroup":null},{"LocalRole":null,"RemoteGroup":null}]},"Roles":{"@odata.id":"/redfish/v1/AccountService/Roles"},"PrivilegeMap":{"@odata.id":"/redfish/v1/AccountService/PrivilegeMap"}} |
| 2026-02-04 15:21:48.640 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:304 | headers_tmp['If-Match'] :%s W/"97f79e7a" |
| 2026-02-04 15:21:48.640 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:70 | url: https://192.168.40.125/redfish/v1/AccountService |
| 2026-02-04 15:21:49.296 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:314 | response :%s {'@odata.context': '/redfish/v1/$metadata#AccountService.AccountService',
'@odata.id': '/redfish/v1/AccountService',
'@odata.type': '#AccountService.v1_15_1.AccountService',
'AccountLockoutCounterResetAfter': 300,
'AccountLockoutDuration': 300,
'AccountLockoutThreshold': 5,
'Accounts': {'@odata.id': '/redfish/v1/AccountService/Accounts'},
'AuthFailureLoggingThreshold': 1,
'HTTPBasicAuth': 'Enabled',
'Id': 'AccountService',
'LDAP': {'Authentication': {'AuthenticationType': 'UsernameAndPassword'},
'Certificates': {'@odata.id': '/redfish/v1/Managers/1/Certificates'},
'LDAPService': {'SearchSettings': {'BaseDistinguishedNames': ['']}},
'RemoteRoleMapping': [{'LocalRole': None, 'RemoteGroup': None},
{'LocalRole': None, 'RemoteGroup': None},
{'LocalRole': None, 'RemoteGroup': None},
{'LocalRole': None, 'RemoteGroup': None},
{'LocalRole': None, 'RemoteGroup': None}],
'ServiceAddresses': [''],
'ServiceEnabled': True},
'LocalAccountAuth': 'LocalFirst',
'MaxPasswordLength': 20,
'MinPasswordLength': 8,
'Name': 'Account Service',
'Oem': {'openUBMC': {'AccountInactiveTimelimit': 0,
'Actions': {'#AccountService.DeleteCrl': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/DeleteCrlActionInfo',
'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteCrl'},
'#AccountService.DeleteRootCertificate': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/DeleteRootCertificateActionInfo',
'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteRootCertificate'},
'#AccountService.ImportCrl': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/ImportCrlActionInfo',
'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportCrl'},
'#AccountService.ImportRootCertificate': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/ImportRootCertificateActionInfo',
'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportRootCertificate'}},
'CLISessionTimeoutMinutes': 15,
'CertificateOverdueWarningTime': 90,
'DefaultSecurityBanner': 'WARNING! This system is '
'PRIVATE and PROPRIETARY and '
'may only be accessed by '
'authorized users. Unauthorized '
'use of the system is '
'prohibited. The owner, or its '
'agents, may monitor any '
'activity or communication on '
'the system. The owner, or its '
'agents, may retrieve any '
'information stored within the '
'system. By accessing and using '
'the system, you are consenting '
'to such monitoring and '
'information retrieval for law '
'enforcement and other '
'purposes.',
'EmergencyLoginUser': '',
'InitialAccountPrivilegeRestrictEnabled': False,
'InterChassisAuthentication': {'AccessRole': 'Administrator',
'Enabled': False},
'KerberosService': {'@odata.id': '/redfish/v1/AccountService/KerberosService'},
'LdapService': {'@odata.id': '/redfish/v1/AccountService/LdapService'},
'MinimumPasswordAgeDays': None,
'OSAdministratorPrivilegeEnabled': True,
'OSUserManagementEnabled': True,
'PasswordComplexityCheckEnabled': True,
'PasswordPattern': '',
'PasswordRulePolicy': 'Default',
'PasswordValidityDays': None,
'PreviousPasswordsDisallowedCount': None,
'SSHPasswordAuthenticationEnabled': True,
'SecurityBanner': 'WARNING! This system is PRIVATE and '
'PROPRIETARY and may only be accessed '
'by authorized users. Unauthorized use '
'of the system is prohibited. The '
'owner, or its agents, may monitor any '
'activity or communication on the '
'system. The owner, or its agents, may '
'retrieve any information stored '
'within the system. By accessing and '
'using the system, you are consenting '
'to such monitoring and information '
'retrieval for law enforcement and '
'other purposes.',
'SecurityBannerEnabled': True,
'TlsVersion': ['Tls1.2', 'Tls1.3'],
'TwoFactorAuthenticationInformation': {'CertificateRevocationCheckEnabled': False,
'CrlVerificationEnabled': True,
'RootCertificate': [{'CertId': 1,
'ServerCert': {'CrlValidFrom': None,
'CrlValidTo': None,
'FingerPrint': '4e9eb44cfdc1b0ad9262f81348d337991b649fa9399c2018256154b8047decae',
'IsImportCrl': False,
'IssueBy': 'CN=Huawei '
'Secure '
'Server '
'CA, '
'OU=IT, '
'O=Huawei, '
'L=ShenZhen, '
'S=GuangDong, '
'C=CN',
'IssueTo': 'CN=Huawei '
'Secure '
'Server '
'CA, '
'OU=IT, '
'O=Huawei, '
'L=ShenZhen, '
'S=GuangDong, '
'C=CN',
'KeyUsage': 'CRL '
'Sign, '
'Certificate '
'Sign',
'PublicKeyLengthBits': 2048,
'SerialNumber': 'b4 '
'52 '
'91 '
'35 '
'4e '
'66 '
'd7 '
'b1',
'SignatureAlgorithm': 'SHA256',
'ValidFrom': 'Jan '
'26 '
'2026 '
'UTC',
'ValidTo': 'Jan '
'24 '
'2036 '
'UTC'}}],
'TwoFactorAuthenticationStateEnabled': False},
'UsernamePasswordCompareInfo': {'UsernamePasswordCompareEnabled': False,
'UsernamePasswordCompareLength': 4}}},
'PasswordExpirationDays': None,
'PrivilegeMap': {'@odata.id': '/redfish/v1/AccountService/PrivilegeMap'},
'Roles': {'@odata.id': '/redfish/v1/AccountService/Roles'},
'ServiceEnabled': True,
'Status': {'Health': 'OK', 'State': 'Enabled'},
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:52 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '4532', 'Connection': 'keep-alive', 'OData-Version': '4.0', 'ETag': 'W/"97f79e7a"', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.651603,
'status_code': 200} |
| 2026-02-04 15:21:49.296 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#AccountService.AccountService',
'@odata.id': '/redfish/v1/AccountService',
'@odata.type': '#AccountService.v1_15_1.AccountService',
'AccountLockoutCounterResetAfter': 300,
'AccountLockoutDuration': 300,
'AccountLockoutThreshold': 5,
'Accounts': {'@odata.id': '/redfish/v1/AccountService/Accounts'},
'AuthFailureLoggingThreshold': 1,
'HTTPBasicAuth': 'Enabled',
'Id': 'AccountService',
'LDAP': {'Authentication': {'AuthenticationType': 'UsernameAndPassword'},
'Certificates': {'@odata.id': '/redfish/v1/Managers/1/Certificates'},
'LDAPService': {'SearchSettings': {'BaseDistinguishedNames': ['']}},
'RemoteRoleMapping': [{'LocalRole': None, 'RemoteGroup': None},
{'LocalRole': None, 'RemoteGroup': None},
{'LocalRole': None, 'RemoteGroup': None},
{'LocalRole': None, 'RemoteGroup': None},
{'LocalRole': None, 'RemoteGroup': None}],
'ServiceAddresses': [''],
'ServiceEnabled': True},
'LocalAccountAuth': 'LocalFirst',
'MaxPasswordLength': 20,
'MinPasswordLength': 8,
'Name': 'Account Service',
'Oem': {'openUBMC': {'AccountInactiveTimelimit': 0,
'Actions': {'#AccountService.DeleteCrl': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/DeleteCrlActionInfo',
'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteCrl'},
'#AccountService.DeleteRootCertificate': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/DeleteRootCertificateActionInfo',
'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteRootCertificate'},
'#AccountService.ImportCrl': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/ImportCrlActionInfo',
'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportCrl'},
'#AccountService.ImportRootCertificate': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/ImportRootCertificateActionInfo',
'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportRootCertificate'}},
'CLISessionTimeoutMinutes': 15,
'CertificateOverdueWarningTime': 90,
'DefaultSecurityBanner': 'WARNING! This system is '
'PRIVATE and PROPRIETARY and '
'may only be accessed by '
'authorized users. Unauthorized '
'use of the system is '
'prohibited. The owner, or its '
'agents, may monitor any '
'activity or communication on '
'the system. The owner, or its '
'agents, may retrieve any '
'information stored within the '
'system. By accessing and using '
'the system, you are consenting '
'to such monitoring and '
'information retrieval for law '
'enforcement and other '
'purposes.',
'EmergencyLoginUser': '',
'InitialAccountPrivilegeRestrictEnabled': False,
'InterChassisAuthentication': {'AccessRole': 'Administrator',
'Enabled': False},
'KerberosService': {'@odata.id': '/redfish/v1/AccountService/KerberosService'},
'LdapService': {'@odata.id': '/redfish/v1/AccountService/LdapService'},
'MinimumPasswordAgeDays': None,
'OSAdministratorPrivilegeEnabled': True,
'OSUserManagementEnabled': True,
'PasswordComplexityCheckEnabled': True,
'PasswordPattern': '',
'PasswordRulePolicy': 'Default',
'PasswordValidityDays': None,
'PreviousPasswordsDisallowedCount': None,
'SSHPasswordAuthenticationEnabled': True,
'SecurityBanner': 'WARNING! This system is PRIVATE and '
'PROPRIETARY and may only be accessed '
'by authorized users. Unauthorized use '
'of the system is prohibited. The '
'owner, or its agents, may monitor any '
'activity or communication on the '
'system. The owner, or its agents, may '
'retrieve any information stored '
'within the system. By accessing and '
'using the system, you are consenting '
'to such monitoring and information '
'retrieval for law enforcement and '
'other purposes.',
'SecurityBannerEnabled': True,
'TlsVersion': ['Tls1.2', 'Tls1.3'],
'TwoFactorAuthenticationInformation': {'CertificateRevocationCheckEnabled': False,
'CrlVerificationEnabled': True,
'RootCertificate': [{'CertId': 1,
'ServerCert': {'CrlValidFrom': None,
'CrlValidTo': None,
'FingerPrint': '4e9eb44cfdc1b0ad9262f81348d337991b649fa9399c2018256154b8047decae',
'IsImportCrl': False,
'IssueBy': 'CN=Huawei '
'Secure '
'Server '
'CA, '
'OU=IT, '
'O=Huawei, '
'L=ShenZhen, '
'S=GuangDong, '
'C=CN',
'IssueTo': 'CN=Huawei '
'Secure '
'Server '
'CA, '
'OU=IT, '
'O=Huawei, '
'L=ShenZhen, '
'S=GuangDong, '
'C=CN',
'KeyUsage': 'CRL '
'Sign, '
'Certificate '
'Sign',
'PublicKeyLengthBits': 2048,
'SerialNumber': 'b4 '
'52 '
'91 '
'35 '
'4e '
'66 '
'd7 '
'b1',
'SignatureAlgorithm': 'SHA256',
'ValidFrom': 'Jan '
'26 '
'2026 '
'UTC',
'ValidTo': 'Jan '
'24 '
'2036 '
'UTC'}}],
'TwoFactorAuthenticationStateEnabled': False},
'UsernamePasswordCompareInfo': {'UsernamePasswordCompareEnabled': False,
'UsernamePasswordCompareLength': 4}}},
'PasswordExpirationDays': None,
'PrivilegeMap': {'@odata.id': '/redfish/v1/AccountService/PrivilegeMap'},
'Roles': {'@odata.id': '/redfish/v1/AccountService/Roles'},
'ServiceEnabled': True,
'Status': {'Health': 'OK', 'State': 'Enabled'},
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:52 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '4532', 'Connection': 'keep-alive', 'OData-Version': '4.0', 'ETag': 'W/"97f79e7a"', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.651603,
'status_code': 200} |
| 2026-02-04 15:21:49.296 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:49.312 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: modify_snmp_info_redfish with params: {'SnmpTrapNotification': {'TrapV3User': 'Administrator'}} on CommandType: None |
| 2026-02-04 15:21:49.312 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.root--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ServiceRoot.ServiceRoot', '@odata.id': '/redfish/v1/', '@odata.type': '#ServiceRoot.v1_17_0.ServiceRoot', 'Id': 'RootService', 'Name': 'Root Service', 'RedfishVersion': '1.20.1', 'UUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'Systems': {'@odata.id': '/redfish/v1/Systems'}, 'Chassis': {'@odata.id': '/redfish/v1/Chassis'}, 'Managers': {'@odata.id': '/redfish/v1/Managers'}, 'Tasks': {'@odata.id': '/redfish/v1/TaskService'}, 'SessionService': {'@odata.id': '/redfish/v1/SessionService'}, 'AccountService': {'@odata.id': '/redfish/v1/AccountService'}, 'EventService': {'@odata.id': '/redfish/v1/EventService'}, 'Links': {'Sessions': {'@odata.id': '/redfish/v1/SessionService/Sessions'}}, 'UpdateService': {'@odata.id': '/redfish/v1/UpdateService'}, 'Registries': {'@odata.id': '/redfish/v1/Registries'}, 'JsonSchemas': {'@odata.id': '/redfish/v1/JSONSchemas'}, 'CertificateService': {'@odata.id': '/redfish/v1/CertificateService'}, 'JobService': {'@odata.id': '/redfish/v1/JobService'}, 'TelemetryService': {'@odata.id': '/redfish/v1/TelemetryService'}, 'ProtocolFeaturesSupported': {'DeepOperations': {'DeepPATCH': False, 'DeepPOST': True, 'MaxLevels': 1}, 'ExpandQuery': {'ExpandAll': False, 'Levels': True, 'MaxLevels': 1, 'Links': False, 'NoLinks': True}, 'FilterQuery': True, 'FilterQueryComparisonOperations': True, 'FilterQueryCompoundOperations': True, 'SelectQuery': True, 'OnlyMemberQuery': True, 'ExcerptQuery': False, 'TopSkipQuery': True}, 'Oem': {'openUBMC': {'SmsUpdateService': [{'@odata.id': '/redfish/v1/Sms/1/UpdateService'}], 'SystemOverview': {'@odata.id': '/redfish/v1/SystemOverview'}, 'PerformanceCollection': {'@odata.id': '/redfish/v1/PerformanceCollection'}, 'AssetService': {'@odata.id': '/redfish/v1/Oem/openUBMC/AssetService'}, 'SecurityBanner': 'WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.', 'ProductName': 'R624 K2', 'ProductSerialNumber': '', 'HostName': 'huawei', 'LanguageSet': 'zh,ru,ja,fr,en', 'Copyright': 'openUBMC 2025. All rights reserved.', 'DocSupportFlag': False, 'DomainName': ['', '', '', '', '', ''], 'ProductPicture': 'image_huhe', 'AccountLockoutDuration': 300, 'SmsName': 'iBMA', 'SoftwareName': 'openUBMC', 'MajorVersion': '5', 'ChassisHeightU': 2, 'FQDN': 'huawei', 'StartupDurationSeconds': 0, 'StartupState': 'Completed', 'SystemAssembly': {'@odata.id': '/redfish/v1/Oem/openUBMC/SystemAssembly'}, 'ObservabilityService': {'@odata.id': '/redfish/v1/Oem/openUBMC/ObservabilityService'}}}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:49 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '2735', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ServiceRoot.json>;rel=describedby', 'ETag': 'W/"f7b36dec"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.180753} |
| 2026-02-04 15:21:49.312 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.managers--line:70 | url: https://192.168.40.125/redfish/v1/Managers |
| 2026-02-04 15:21:49.562 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.managers--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ManagerCollection.ManagerCollection', '@odata.id': '/redfish/v1/Managers', '@odata.type': '#ManagerCollection.ManagerCollection', 'Name': 'Manager Collection', 'Members@odata.count': 1, 'Members': [{'@odata.id': '/redfish/v1/Managers/1'}], 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:52 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '269', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ManagerCollection.json>;rel=describedby', 'ETag': 'W/"a29d650c"', 'OData-Version': '4.0', 'Allow': 'GET', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.256571} |
| 2026-02-04 15:21:49.577 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.managers--line:70 | url: https://192.168.40.125/redfish/v1/Managers/1 |
| 2026-02-04 15:21:50.093 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.managers--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#Manager.Manager', '@odata.id': '/redfish/v1/Managers/1', '@odata.type': '#Manager.v1_9_0.Manager', 'Id': '1', 'Name': 'Manager', 'ManagerType': 'BMC', 'FirmwareVersion': '5.00.50.22', 'UUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'Model': 'openUBMC', 'DateTime': '2026-02-04T15:02:52+08:03', 'DateTimeLocalOffset': 'UTC+08:03', 'LastResetTime': '2026-02-04T09:45:26+08:03', 'Manufacturer': 'openUBMC', 'Status': {'Health': 'OK', 'Oem': {'openUBMC': {'Severity': 'Informational'}}, 'State': 'Enabled'}, 'GraphicalConsole': {'ServiceEnabled': True, 'MaxConcurrentSessions': 2, 'ConnectTypesSupported': ['KVMIP']}, 'SerialConsole': {'ServiceEnabled': True, 'MaxConcurrentSessions': 1, 'ConnectTypesSupported': ['IPMI']}, 'NetworkProtocol': {'@odata.id': '/redfish/v1/Managers/1/NetworkProtocol'}, 'EthernetInterfaces': {'@odata.id': '/redfish/v1/Managers/1/EthernetInterfaces'}, 'LogServices': {'@odata.id': '/redfish/v1/Managers/1/LogServices'}, 'VirtualMedia': {'@odata.id': '/redfish/v1/Managers/1/VirtualMedia'}, 'CommandShell': {'ServiceEnabled': True, 'MaxConcurrentSessions': 10, 'ConnectTypesSupported': ['SSH']}, 'Description': 'Manager Instance', 'PowerState': 'On', 'ServiceEntryPointUUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'HostInterfaces': {'@odata.id': '/redfish/v1/Managers/1/HostInterfaces/1'}, 'SerialInterfaces': {'@odata.id': '/redfish/v1/Managers/1/SerialInterfaces/1'}, 'Oem': {'openUBMC': {'TimeZoneConfigurable': True, 'HostName': 'huawei', 'DefaultIPv4Info': {'IPMode': 'Static', 'IPv4Address': '192.168.40.125'}, 'DeviceIPv4': '192.168.40.125', 'DeviceIPv6': 'fec0:0070:4000::168:40:125', 'DomainName': '', 'LanguageSet': 'zh,ru,ja,fr,en', 'BMCUpTime': '0 days 05h:17m:26s', 'ProductUniqueID': '0x00000001030ABF00', 'PlatformType': '0x20', 'SPStatus': 'SPIsOperable', 'RemoteOEMInfo': [], 'DeviceLocation': None, 'Stateless': {'SysManagerId': None, 'SysManagerIP': None, 'SysManagerPort': 26957, 'ControlPowerOnEnabled': False, 'AutoSearchEnabled': False}, 'MaxServerCount': 1, 'SystemManagerInfo': {'Id': None, 'Name': None, 'Ip': None, 'LockedTime': None}, 'LoginRule': [{'MemberId': 'Rule1', 'RuleEnabled': False, 'StartTime': None, 'EndTime': None, 'IP': None, 'Mac': None}, {'MemberId': 'Rule2', 'RuleEnabled': False, 'StartTime': None, 'EndTime': None, 'IP': None, 'Mac': None}, {'MemberId': 'Rule3', 'RuleEnabled': False, 'StartTime': None, 'EndTime': None, 'IP': None, 'Mac': None}], 'BMCSecurityMode': 'Normal', 'Retirement': {'Status': 'Idle', 'Progress': 0, 'Details': []}, 'SecurityService': {'@odata.id': '/redfish/v1/Managers/1/SecurityService'}, 'SecurityPolicy': {'@odata.id': '/redfish/v1/Managers/1/SecurityPolicy'}, 'SnmpService': {'@odata.id': '/redfish/v1/Managers/1/SnmpService'}, 'SmtpService': {'@odata.id': '/redfish/v1/Managers/1/SmtpService'}, 'LldpService': {'@odata.id': '/redfish/v1/Managers/1/LldpService'}, 'SyslogService': {'@odata.id': '/redfish/v1/Managers/1/SyslogService'}, 'KvmService': {'@odata.id': '/redfish/v1/Managers/1/KvmService'}, 'NtpService': {'@odata.id': '/redfish/v1/Managers/1/NtpService'}, 'VncService': {'@odata.id': '/redfish/v1/Managers/1/VncService'}, 'SPService': {'@odata.id': '/redfish/v1/Managers/1/SPService'}, 'SmsService': {'@odata.id': '/redfish/v1/Managers/1/SmsService'}, 'DiagnosticService': {'@odata.id': '/redfish/v1/Managers/1/DiagnosticService'}, 'FDMService': {'@odata.id': '/redfish/v1/Managers/1/FDMService'}, 'EnergySavingService': {'@odata.id': '/redfish/v1/Managers/1/EnergySavingService'}, 'FusionPartition': None, 'RemoteBMCIPv4Address': None, 'VGAUSBDVDEnabled': None, 'USBMgmtService': {'@odata.id': '/redfish/v1/Managers/1/USBMgmtService'}, 'FlashWriteProtectState': 'ReadWrite', 'FlashStatictis': {'VendorName': 'YangtzeMemory', 'LifeTime': '90%+', 'TotalDataWritten': '0.105GB', 'TotalDataWrittenIn15Days': '0.105GB', 'ReservedBlocks': None, 'RuntimeBadBlocks': None}, 'Platform': 'Arm', 'EthernetInterfaces': {'@odata.id': '/redfish/v1/Managers/1/NICs'}, 'Certificates': {'@odata.id': '/redfish/v1/Managers/1/Certificates'}, 'RevokedVersionEnabled': False, 'RevokedVersions': []}}, 'Actions': {'#Manager.Reset': {'target': '/redfish/v1/Managers/1/Actions/Manager.Reset', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ResetActionInfo'}, '#Manager.ResetToDefaults': {'target': '/redfish/v1/Managers/1/Actions/Manager.ResetToDefaults', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ResetToDefaultsActionInfo'}, 'Oem': {'openUBMC': {'#Manager.DeleteLanguage': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.DeleteLanguage', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/DeleteLanguageActionInfo'}, '#Manager.RestoreFactory': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.RestoreFactory', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/RestoreFactoryActionInfo'}, '#Manager.RollBack': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.RollBack', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/RollBackActionInfo'}, '#Manager.Dump': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.Dump', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/DumpActionInfo'}, '#Manager.QuickDump': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.QuickDump', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/QuickDumpActionInfo'}, '#Manager.ImportConfiguration': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.ImportConfiguration', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ImportConfigurationActionInfo'}, '#Manager.ExportConfiguration': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.ExportConfiguration', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ExportConfigurationActionInfo'}, '#Manager.GeneralDownload': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.GeneralDownload', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/GeneralDownloadActionInfo'}, '#Manager.ImportIntrusionDetectionConfiguration': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.ImportIntrusionDetectionConfiguration', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ImportIntrusionDetectionConfigurationActionInfo'}, '#Manager.SetFusionPartition': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.SetFusionPartition', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/SetFusionPartitionActionInfo'}, '#Manager.RetireSystem': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.RetireSystem', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/RetireSystemActionInfo'}, '#Manager.TestConnection': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.TestConnection', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/TestConnectionActionInfo'}, '#Manager.ImportRevokedVersion': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.ImportRevokedVersion', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ImportRevokedVersionActionInfo'}}}}, 'Links': {'ManagerForServers': [{'@odata.id': '/redfish/v1/Systems/1'}], 'ManagerForChassis': [{'@odata.id': '/redfish/v1/Chassis/1'}], 'ManagerInChassis': {'@odata.id': '/redfish/v1/Chassis/1'}}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:52 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6787', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/Manager.json>;rel=describedby', 'ETag': 'W/"0faabed2"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.504905} |
| 2026-02-04 15:21:50.093 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.managers--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#Manager.Manager', '@odata.id': '/redfish/v1/Managers/1', '@odata.type': '#Manager.v1_9_0.Manager', 'Id': '1', 'Name': 'Manager', 'ManagerType': 'BMC', 'FirmwareVersion': '5.00.50.22', 'UUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'Model': 'openUBMC', 'DateTime': '2026-02-04T15:02:52+08:03', 'DateTimeLocalOffset': 'UTC+08:03', 'LastResetTime': '2026-02-04T09:45:26+08:03', 'Manufacturer': 'openUBMC', 'Status': {'Health': 'OK', 'Oem': {'openUBMC': {'Severity': 'Informational'}}, 'State': 'Enabled'}, 'GraphicalConsole': {'ServiceEnabled': True, 'MaxConcurrentSessions': 2, 'ConnectTypesSupported': ['KVMIP']}, 'SerialConsole': {'ServiceEnabled': True, 'MaxConcurrentSessions': 1, 'ConnectTypesSupported': ['IPMI']}, 'NetworkProtocol': {'@odata.id': '/redfish/v1/Managers/1/NetworkProtocol'}, 'EthernetInterfaces': {'@odata.id': '/redfish/v1/Managers/1/EthernetInterfaces'}, 'LogServices': {'@odata.id': '/redfish/v1/Managers/1/LogServices'}, 'VirtualMedia': {'@odata.id': '/redfish/v1/Managers/1/VirtualMedia'}, 'CommandShell': {'ServiceEnabled': True, 'MaxConcurrentSessions': 10, 'ConnectTypesSupported': ['SSH']}, 'Description': 'Manager Instance', 'PowerState': 'On', 'ServiceEntryPointUUID': '8FBD8116-4812-8252-11F0-04F45D243680', 'HostInterfaces': {'@odata.id': '/redfish/v1/Managers/1/HostInterfaces/1'}, 'SerialInterfaces': {'@odata.id': '/redfish/v1/Managers/1/SerialInterfaces/1'}, 'Oem': {'openUBMC': {'TimeZoneConfigurable': True, 'HostName': 'huawei', 'DefaultIPv4Info': {'IPMode': 'Static', 'IPv4Address': '192.168.40.125'}, 'DeviceIPv4': '192.168.40.125', 'DeviceIPv6': 'fec0:0070:4000::168:40:125', 'DomainName': '', 'LanguageSet': 'zh,ru,ja,fr,en', 'BMCUpTime': '0 days 05h:17m:26s', 'ProductUniqueID': '0x00000001030ABF00', 'PlatformType': '0x20', 'SPStatus': 'SPIsOperable', 'RemoteOEMInfo': [], 'DeviceLocation': None, 'Stateless': {'SysManagerId': None, 'SysManagerIP': None, 'SysManagerPort': 26957, 'ControlPowerOnEnabled': False, 'AutoSearchEnabled': False}, 'MaxServerCount': 1, 'SystemManagerInfo': {'Id': None, 'Name': None, 'Ip': None, 'LockedTime': None}, 'LoginRule': [{'MemberId': 'Rule1', 'RuleEnabled': False, 'StartTime': None, 'EndTime': None, 'IP': None, 'Mac': None}, {'MemberId': 'Rule2', 'RuleEnabled': False, 'StartTime': None, 'EndTime': None, 'IP': None, 'Mac': None}, {'MemberId': 'Rule3', 'RuleEnabled': False, 'StartTime': None, 'EndTime': None, 'IP': None, 'Mac': None}], 'BMCSecurityMode': 'Normal', 'Retirement': {'Status': 'Idle', 'Progress': 0, 'Details': []}, 'SecurityService': {'@odata.id': '/redfish/v1/Managers/1/SecurityService'}, 'SecurityPolicy': {'@odata.id': '/redfish/v1/Managers/1/SecurityPolicy'}, 'SnmpService': {'@odata.id': '/redfish/v1/Managers/1/SnmpService'}, 'SmtpService': {'@odata.id': '/redfish/v1/Managers/1/SmtpService'}, 'LldpService': {'@odata.id': '/redfish/v1/Managers/1/LldpService'}, 'SyslogService': {'@odata.id': '/redfish/v1/Managers/1/SyslogService'}, 'KvmService': {'@odata.id': '/redfish/v1/Managers/1/KvmService'}, 'NtpService': {'@odata.id': '/redfish/v1/Managers/1/NtpService'}, 'VncService': {'@odata.id': '/redfish/v1/Managers/1/VncService'}, 'SPService': {'@odata.id': '/redfish/v1/Managers/1/SPService'}, 'SmsService': {'@odata.id': '/redfish/v1/Managers/1/SmsService'}, 'DiagnosticService': {'@odata.id': '/redfish/v1/Managers/1/DiagnosticService'}, 'FDMService': {'@odata.id': '/redfish/v1/Managers/1/FDMService'}, 'EnergySavingService': {'@odata.id': '/redfish/v1/Managers/1/EnergySavingService'}, 'FusionPartition': None, 'RemoteBMCIPv4Address': None, 'VGAUSBDVDEnabled': None, 'USBMgmtService': {'@odata.id': '/redfish/v1/Managers/1/USBMgmtService'}, 'FlashWriteProtectState': 'ReadWrite', 'FlashStatictis': {'VendorName': 'YangtzeMemory', 'LifeTime': '90%+', 'TotalDataWritten': '0.105GB', 'TotalDataWrittenIn15Days': '0.105GB', 'ReservedBlocks': None, 'RuntimeBadBlocks': None}, 'Platform': 'Arm', 'EthernetInterfaces': {'@odata.id': '/redfish/v1/Managers/1/NICs'}, 'Certificates': {'@odata.id': '/redfish/v1/Managers/1/Certificates'}, 'RevokedVersionEnabled': False, 'RevokedVersions': []}}, 'Actions': {'#Manager.Reset': {'target': '/redfish/v1/Managers/1/Actions/Manager.Reset', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ResetActionInfo'}, '#Manager.ResetToDefaults': {'target': '/redfish/v1/Managers/1/Actions/Manager.ResetToDefaults', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ResetToDefaultsActionInfo'}, 'Oem': {'openUBMC': {'#Manager.DeleteLanguage': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.DeleteLanguage', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/DeleteLanguageActionInfo'}, '#Manager.RestoreFactory': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.RestoreFactory', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/RestoreFactoryActionInfo'}, '#Manager.RollBack': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.RollBack', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/RollBackActionInfo'}, '#Manager.Dump': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.Dump', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/DumpActionInfo'}, '#Manager.QuickDump': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.QuickDump', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/QuickDumpActionInfo'}, '#Manager.ImportConfiguration': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.ImportConfiguration', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ImportConfigurationActionInfo'}, '#Manager.ExportConfiguration': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.ExportConfiguration', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ExportConfigurationActionInfo'}, '#Manager.GeneralDownload': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.GeneralDownload', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/GeneralDownloadActionInfo'}, '#Manager.ImportIntrusionDetectionConfiguration': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.ImportIntrusionDetectionConfiguration', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ImportIntrusionDetectionConfigurationActionInfo'}, '#Manager.SetFusionPartition': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.SetFusionPartition', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/SetFusionPartitionActionInfo'}, '#Manager.RetireSystem': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.RetireSystem', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/RetireSystemActionInfo'}, '#Manager.TestConnection': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.TestConnection', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/TestConnectionActionInfo'}, '#Manager.ImportRevokedVersion': {'target': '/redfish/v1/Managers/1/Actions/Oem/openUBMC/Manager.ImportRevokedVersion', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/ImportRevokedVersionActionInfo'}}}}, 'Links': {'ManagerForServers': [{'@odata.id': '/redfish/v1/Systems/1'}], 'ManagerForChassis': [{'@odata.id': '/redfish/v1/Chassis/1'}], 'ManagerInChassis': {'@odata.id': '/redfish/v1/Chassis/1'}}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:52 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '6787', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/Manager.json>;rel=describedby', 'ETag': 'W/"0faabed2"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.504905} |
| 2026-02-04 15:21:50.093 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:70 | url: https://192.168.40.125/redfish/v1/Managers/1/SnmpService |
| 2026-02-04 15:21:50.453 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#HwSnmpService.HwSnmpService', '@odata.id': '/redfish/v1/Managers/1/SnmpService', '@odata.type': '#HwSnmpService.v1_0_0.HwSnmpService', 'Name': 'SnmpService', 'Id': 'SnmpService', 'SnmpV1Enabled': False, 'SnmpV2CEnabled': False, 'SnmpV3Enabled': True, 'SnmpV1V2CLoginRule': [], 'LongPasswordEnabled': True, 'RWCommunityEnabled': True, 'ReadOnlyCommunity': 'roAdministrator@9000', 'ReadWriteCommunity': 'rwAdministrator@9000', 'SnmpV3AuthUser': ['Administrator'], 'SnmpV3EngineID': '0x80001f880348128fbd81168ef4', 'SystemContact': 'contact@openubmc.cn', 'SystemLocation': None, 'ReportType': 'OemEvent', 'SnmpTrapNotification': {'ServiceEnabled': False, 'TrapVersion': 'V1', 'TrapV3User': 'Administrator', 'TrapServerIdentity': 'BoardSN', 'CommunityName': 'Prod99#$', 'AlarmSeverity': 'Normal', 'TrapServer': [{'BobEnabled': False, 'Enabled': True, 'TrapServerAddress': '192.168.40.23', 'TrapServerPort': 162, 'MemberId': '0'}, {'BobEnabled': False, 'Enabled': True, 'TrapServerAddress': '', 'TrapServerPort': 7, 'MemberId': '1'}, {'BobEnabled': False, 'Enabled': True, 'TrapServerAddress': '', 'TrapServerPort': 7, 'MemberId': '2'}, {'BobEnabled': False, 'Enabled': True, 'TrapServerAddress': '', 'TrapServerPort': 2345, 'MemberId': '3'}], 'TrapMode': 'PreciseAlarm'}, 'PasswordRulePolicy': 'Default', 'PasswordPattern': '', 'Actions': {'#SnmpService.SubmitTestEvent': {'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.SubmitTestEvent', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/SubmitTestEventActionInfo'}, '#SnmpService.ConfigSnmpV3PrivPasswd': {'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.ConfigSnmpV3PrivPasswd', '@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/ConfigSnmpV3PrivPasswdActionInfo'}}, 'Links': {'LoginRule': [{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/0'}, {'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/1'}, {'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/2'}]}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:53 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '1922', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/HwSnmpService.json>;rel=describedby', 'ETag': 'W/"39f7980e"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.350897} |
| 2026-02-04 15:21:50.453 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:289 | url: https://192.168.40.125/redfish/v1/Managers/1/SnmpService |
| 2026-02-04 15:21:50.859 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:302 | getresponse :{"@odata.context":"/redfish/v1/$metadata#HwSnmpService.HwSnmpService","@odata.id":"/redfish/v1/Managers/1/SnmpService","@odata.type":"#HwSnmpService.v1_0_0.HwSnmpService","Name":"SnmpService","Id":"SnmpService","SnmpV1Enabled":false,"SnmpV2CEnabled":false,"SnmpV3Enabled":true,"SnmpV1V2CLoginRule":[],"LongPasswordEnabled":true,"RWCommunityEnabled":true,"ReadOnlyCommunity":"roAdministrator@9000","ReadWriteCommunity":"rwAdministrator@9000","SnmpV3AuthUser":["Administrator"],"SnmpV3EngineID":"0x80001f880348128fbd81168ef4","SystemContact":"contact@openubmc.cn","SystemLocation":null,"ReportType":"OemEvent","SnmpTrapNotification":{"ServiceEnabled":false,"TrapVersion":"V1","TrapV3User":"Administrator","TrapServerIdentity":"BoardSN","CommunityName":"Prod99#$","AlarmSeverity":"Normal","TrapServer":[{"BobEnabled":false,"Enabled":true,"TrapServerAddress":"192.168.40.23","TrapServerPort":162,"MemberId":"0"},{"BobEnabled":false,"Enabled":true,"TrapServerAddress":"","TrapServerPort":7,"MemberId":"1"},{"BobEnabled":false,"Enabled":true,"TrapServerAddress":"","TrapServerPort":7,"MemberId":"2"},{"BobEnabled":false,"Enabled":true,"TrapServerAddress":"","TrapServerPort":2345,"MemberId":"3"}],"TrapMode":"PreciseAlarm"},"PasswordRulePolicy":"Default","PasswordPattern":"","Actions":{"#SnmpService.SubmitTestEvent":{"target":"/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.SubmitTestEvent","@Redfish.ActionInfo":"/redfish/v1/Managers/1/SnmpService/SubmitTestEventActionInfo"},"#SnmpService.ConfigSnmpV3PrivPasswd":{"target":"/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.ConfigSnmpV3PrivPasswd","@Redfish.ActionInfo":"/redfish/v1/Managers/1/SnmpService/ConfigSnmpV3PrivPasswdActionInfo"}},"Links":{"LoginRule":[{"@odata.id":"/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/0"},{"@odata.id":"/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/1"},{"@odata.id":"/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/2"}]}} |
| 2026-02-04 15:21:50.859 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:304 | headers_tmp['If-Match'] :%s W/"39f7980e" |
| 2026-02-04 15:21:50.859 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:70 | url: https://192.168.40.125/redfish/v1/Managers/1/SnmpService |
| 2026-02-04 15:21:51.577 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:314 | response :%s {'@odata.context': '/redfish/v1/$metadata#HwSnmpService.HwSnmpService',
'@odata.id': '/redfish/v1/Managers/1/SnmpService',
'@odata.type': '#HwSnmpService.v1_0_0.HwSnmpService',
'Actions': {'#SnmpService.ConfigSnmpV3PrivPasswd': {'@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/ConfigSnmpV3PrivPasswdActionInfo',
'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.ConfigSnmpV3PrivPasswd'},
'#SnmpService.SubmitTestEvent': {'@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/SubmitTestEventActionInfo',
'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.SubmitTestEvent'}},
'Id': 'SnmpService',
'Links': {'LoginRule': [{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/0'},
{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/1'},
{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/2'}]},
'LongPasswordEnabled': True,
'Name': 'SnmpService',
'PasswordPattern': '',
'PasswordRulePolicy': 'Default',
'RWCommunityEnabled': True,
'ReadOnlyCommunity': 'roAdministrator@9000',
'ReadWriteCommunity': 'rwAdministrator@9000',
'ReportType': 'OemEvent',
'SnmpTrapNotification': {'AlarmSeverity': 'Normal',
'CommunityName': 'Prod99#$',
'ServiceEnabled': False,
'TrapMode': 'PreciseAlarm',
'TrapServer': [{'BobEnabled': False,
'Enabled': True,
'MemberId': '0',
'TrapServerAddress': '192.168.40.23',
'TrapServerPort': 162},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '1',
'TrapServerAddress': '',
'TrapServerPort': 7},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '2',
'TrapServerAddress': '',
'TrapServerPort': 7},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '3',
'TrapServerAddress': '',
'TrapServerPort': 2345}],
'TrapServerIdentity': 'BoardSN',
'TrapV3User': 'Administrator',
'TrapVersion': 'V1'},
'SnmpV1Enabled': False,
'SnmpV1V2CLoginRule': [],
'SnmpV2CEnabled': False,
'SnmpV3AuthUser': ['Administrator'],
'SnmpV3Enabled': True,
'SnmpV3EngineID': '0x80001f880348128fbd81168ef4',
'SystemContact': 'contact@openubmc.cn',
'SystemLocation': None,
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:54 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '1922', 'Connection': 'keep-alive', 'OData-Version': '4.0', 'ETag': 'W/"39f7980e"', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.700707,
'status_code': 200} |
| 2026-02-04 15:21:51.577 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#HwSnmpService.HwSnmpService',
'@odata.id': '/redfish/v1/Managers/1/SnmpService',
'@odata.type': '#HwSnmpService.v1_0_0.HwSnmpService',
'Actions': {'#SnmpService.ConfigSnmpV3PrivPasswd': {'@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/ConfigSnmpV3PrivPasswdActionInfo',
'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.ConfigSnmpV3PrivPasswd'},
'#SnmpService.SubmitTestEvent': {'@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/SubmitTestEventActionInfo',
'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.SubmitTestEvent'}},
'Id': 'SnmpService',
'Links': {'LoginRule': [{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/0'},
{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/1'},
{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/2'}]},
'LongPasswordEnabled': True,
'Name': 'SnmpService',
'PasswordPattern': '',
'PasswordRulePolicy': 'Default',
'RWCommunityEnabled': True,
'ReadOnlyCommunity': 'roAdministrator@9000',
'ReadWriteCommunity': 'rwAdministrator@9000',
'ReportType': 'OemEvent',
'SnmpTrapNotification': {'AlarmSeverity': 'Normal',
'CommunityName': 'Prod99#$',
'ServiceEnabled': False,
'TrapMode': 'PreciseAlarm',
'TrapServer': [{'BobEnabled': False,
'Enabled': True,
'MemberId': '0',
'TrapServerAddress': '192.168.40.23',
'TrapServerPort': 162},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '1',
'TrapServerAddress': '',
'TrapServerPort': 7},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '2',
'TrapServerAddress': '',
'TrapServerPort': 7},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '3',
'TrapServerAddress': '',
'TrapServerPort': 2345}],
'TrapServerIdentity': 'BoardSN',
'TrapV3User': 'Administrator',
'TrapVersion': 'V1'},
'SnmpV1Enabled': False,
'SnmpV1V2CLoginRule': [],
'SnmpV2CEnabled': False,
'SnmpV3AuthUser': ['Administrator'],
'SnmpV3Enabled': True,
'SnmpV3EngineID': '0x80001f880348128fbd81168ef4',
'SystemContact': 'contact@openubmc.cn',
'SystemLocation': None,
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:54 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '1922', 'Connection': 'keep-alive', 'OData-Version': '4.0', 'ETag': 'W/"39f7980e"', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.700707,
'status_code': 200} |
| 2026-02-04 15:21:51.577 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:51.577 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: modify_snmp_info_redfish with params: {'SnmpTrapNotification': {'TrapVersion': 'V1'}} on CommandType: None |
| 2026-02-04 15:21:51.577 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:289 | url: https://192.168.40.125/redfish/v1/Managers/1/SnmpService |
| 2026-02-04 15:21:51.937 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:302 | getresponse :{"@odata.context":"/redfish/v1/$metadata#HwSnmpService.HwSnmpService","@odata.id":"/redfish/v1/Managers/1/SnmpService","@odata.type":"#HwSnmpService.v1_0_0.HwSnmpService","Name":"SnmpService","Id":"SnmpService","SnmpV1Enabled":false,"SnmpV2CEnabled":false,"SnmpV3Enabled":true,"SnmpV1V2CLoginRule":[],"LongPasswordEnabled":true,"RWCommunityEnabled":true,"ReadOnlyCommunity":"roAdministrator@9000","ReadWriteCommunity":"rwAdministrator@9000","SnmpV3AuthUser":["Administrator"],"SnmpV3EngineID":"0x80001f880348128fbd81168ef4","SystemContact":"contact@openubmc.cn","SystemLocation":null,"ReportType":"OemEvent","SnmpTrapNotification":{"ServiceEnabled":false,"TrapVersion":"V1","TrapV3User":"Administrator","TrapServerIdentity":"BoardSN","CommunityName":"Prod99#$","AlarmSeverity":"Normal","TrapServer":[{"BobEnabled":false,"Enabled":true,"TrapServerAddress":"192.168.40.23","TrapServerPort":162,"MemberId":"0"},{"BobEnabled":false,"Enabled":true,"TrapServerAddress":"","TrapServerPort":7,"MemberId":"1"},{"BobEnabled":false,"Enabled":true,"TrapServerAddress":"","TrapServerPort":7,"MemberId":"2"},{"BobEnabled":false,"Enabled":true,"TrapServerAddress":"","TrapServerPort":2345,"MemberId":"3"}],"TrapMode":"PreciseAlarm"},"PasswordRulePolicy":"Default","PasswordPattern":"","Actions":{"#SnmpService.SubmitTestEvent":{"target":"/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.SubmitTestEvent","@Redfish.ActionInfo":"/redfish/v1/Managers/1/SnmpService/SubmitTestEventActionInfo"},"#SnmpService.ConfigSnmpV3PrivPasswd":{"target":"/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.ConfigSnmpV3PrivPasswd","@Redfish.ActionInfo":"/redfish/v1/Managers/1/SnmpService/ConfigSnmpV3PrivPasswdActionInfo"}},"Links":{"LoginRule":[{"@odata.id":"/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/0"},{"@odata.id":"/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/1"},{"@odata.id":"/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/2"}]}} |
| 2026-02-04 15:21:51.952 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:304 | headers_tmp['If-Match'] :%s W/"39f7980e" |
| 2026-02-04 15:21:51.952 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:70 | url: https://192.168.40.125/redfish/v1/Managers/1/SnmpService |
| 2026-02-04 15:21:52.593 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.huawei.snmpservice--line:314 | response :%s {'@odata.context': '/redfish/v1/$metadata#HwSnmpService.HwSnmpService',
'@odata.id': '/redfish/v1/Managers/1/SnmpService',
'@odata.type': '#HwSnmpService.v1_0_0.HwSnmpService',
'Actions': {'#SnmpService.ConfigSnmpV3PrivPasswd': {'@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/ConfigSnmpV3PrivPasswdActionInfo',
'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.ConfigSnmpV3PrivPasswd'},
'#SnmpService.SubmitTestEvent': {'@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/SubmitTestEventActionInfo',
'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.SubmitTestEvent'}},
'Id': 'SnmpService',
'Links': {'LoginRule': [{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/0'},
{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/1'},
{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/2'}]},
'LongPasswordEnabled': True,
'Name': 'SnmpService',
'PasswordPattern': '',
'PasswordRulePolicy': 'Default',
'RWCommunityEnabled': True,
'ReadOnlyCommunity': 'roAdministrator@9000',
'ReadWriteCommunity': 'rwAdministrator@9000',
'ReportType': 'OemEvent',
'SnmpTrapNotification': {'AlarmSeverity': 'Normal',
'CommunityName': 'Prod99#$',
'ServiceEnabled': False,
'TrapMode': 'PreciseAlarm',
'TrapServer': [{'BobEnabled': False,
'Enabled': True,
'MemberId': '0',
'TrapServerAddress': '192.168.40.23',
'TrapServerPort': 162},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '1',
'TrapServerAddress': '',
'TrapServerPort': 7},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '2',
'TrapServerAddress': '',
'TrapServerPort': 7},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '3',
'TrapServerAddress': '',
'TrapServerPort': 2345}],
'TrapServerIdentity': 'BoardSN',
'TrapV3User': 'Administrator',
'TrapVersion': 'V1'},
'SnmpV1Enabled': False,
'SnmpV1V2CLoginRule': [],
'SnmpV2CEnabled': False,
'SnmpV3AuthUser': ['Administrator'],
'SnmpV3Enabled': True,
'SnmpV3EngineID': '0x80001f880348128fbd81168ef4',
'SystemContact': 'contact@openubmc.cn',
'SystemLocation': None,
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:55 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '1922', 'Connection': 'keep-alive', 'OData-Version': '4.0', 'ETag': 'W/"39f7980e"', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.62907,
'status_code': 200} |
| 2026-02-04 15:21:52.593 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#HwSnmpService.HwSnmpService',
'@odata.id': '/redfish/v1/Managers/1/SnmpService',
'@odata.type': '#HwSnmpService.v1_0_0.HwSnmpService',
'Actions': {'#SnmpService.ConfigSnmpV3PrivPasswd': {'@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/ConfigSnmpV3PrivPasswdActionInfo',
'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.ConfigSnmpV3PrivPasswd'},
'#SnmpService.SubmitTestEvent': {'@Redfish.ActionInfo': '/redfish/v1/Managers/1/SnmpService/SubmitTestEventActionInfo',
'target': '/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.SubmitTestEvent'}},
'Id': 'SnmpService',
'Links': {'LoginRule': [{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/0'},
{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/1'},
{'@odata.id': '/redfish/v1/Managers/1#/Oem/openUBMC/LoginRule/2'}]},
'LongPasswordEnabled': True,
'Name': 'SnmpService',
'PasswordPattern': '',
'PasswordRulePolicy': 'Default',
'RWCommunityEnabled': True,
'ReadOnlyCommunity': 'roAdministrator@9000',
'ReadWriteCommunity': 'rwAdministrator@9000',
'ReportType': 'OemEvent',
'SnmpTrapNotification': {'AlarmSeverity': 'Normal',
'CommunityName': 'Prod99#$',
'ServiceEnabled': False,
'TrapMode': 'PreciseAlarm',
'TrapServer': [{'BobEnabled': False,
'Enabled': True,
'MemberId': '0',
'TrapServerAddress': '192.168.40.23',
'TrapServerPort': 162},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '1',
'TrapServerAddress': '',
'TrapServerPort': 7},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '2',
'TrapServerAddress': '',
'TrapServerPort': 7},
{'BobEnabled': False,
'Enabled': True,
'MemberId': '3',
'TrapServerAddress': '',
'TrapServerPort': 2345}],
'TrapServerIdentity': 'BoardSN',
'TrapV3User': 'Administrator',
'TrapVersion': 'V1'},
'SnmpV1Enabled': False,
'SnmpV1V2CLoginRule': [],
'SnmpV2CEnabled': False,
'SnmpV3AuthUser': ['Administrator'],
'SnmpV3Enabled': True,
'SnmpV3EngineID': '0x80001f880348128fbd81168ef4',
'SystemContact': 'contact@openubmc.cn',
'SystemLocation': None,
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:55 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '1922', 'Connection': 'keep-alive', 'OData-Version': '4.0', 'ETag': 'W/"39f7980e"', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.62907,
'status_code': 200} |
| 2026-02-04 15:21:52.593 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:52.593 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: bmc_cli_set_snmp_trap_v3_user with params: {'username': 'Administrator'} on CommandType: CommandType.BMCSSH |
| 2026-02-04 15:21:52.593 | CMD | ThreadID:4864 | kptest.wrapper.dispatcher--line:548 | [Host: 192.168.40.125] ipmcset -t trap -d user -v Administrator |
| 2026-02-04 15:21:52.593 | DEBUG | ThreadID:4864 | kptest.command.connection.ssh.sshbase--line:94 | current view is `default` |
| 2026-02-04 15:21:52.593 | DEBUG | ThreadID:4864 | kptest.command.connection.ssh.sshbase--line:124 | 192.168.40.125 send cmd: ipmcset -t trap -d user -v Administrator |
| 2026-02-04 15:21:53.889 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:550 | [Host: 192.168.40.125]
Set trap username successfully. |
| 2026-02-04 15:21:53.904 | INFO | ThreadID:4864 | kptest.api.apibase--line:23 | run wrapper on once dispatcher: HostType.BMC. |
| 2026-02-04 15:21:53.904 | INFO | ThreadID:4864 | kptest.wrapper.dispatcher--line:582 | Run Wrapper Method: getaccount_info_collections_redfish with params: {} on CommandType: None |
| 2026-02-04 15:21:53.904 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#AccountService.AccountService', '@odata.id': '/redfish/v1/AccountService', '@odata.type': '#AccountService.v1_15_1.AccountService', 'Id': 'AccountService', 'Name': 'Account Service', 'MinPasswordLength': 8, 'MaxPasswordLength': 20, 'AccountLockoutThreshold': 5, 'AccountLockoutDuration': 300, 'PasswordExpirationDays': None, 'AccountLockoutCounterResetAfter': 300, 'AuthFailureLoggingThreshold': 1, 'HTTPBasicAuth': 'Enabled', 'LocalAccountAuth': 'LocalFirst', 'ServiceEnabled': True, 'Status': {'State': 'Enabled', 'Health': 'OK'}, 'Oem': {'openUBMC': {'CLISessionTimeoutMinutes': 15, 'PasswordComplexityCheckEnabled': True, 'AccountInactiveTimelimit': 0, 'UsernamePasswordCompareInfo': {'UsernamePasswordCompareEnabled': False, 'UsernamePasswordCompareLength': 4}, 'SSHPasswordAuthenticationEnabled': True, 'CertificateOverdueWarningTime': 90, 'OSUserManagementEnabled': True, 'OSAdministratorPrivilegeEnabled': True, 'PasswordValidityDays': None, 'MinimumPasswordAgeDays': None, 'PreviousPasswordsDisallowedCount': None, 'SecurityBannerEnabled': True, 'SecurityBanner': 'WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.', 'DefaultSecurityBanner': 'WARNING! This system is PRIVATE and PROPRIETARY and may only be accessed by authorized users. Unauthorized use of the system is prohibited. The owner, or its agents, may monitor any activity or communication on the system. The owner, or its agents, may retrieve any information stored within the system. By accessing and using the system, you are consenting to such monitoring and information retrieval for law enforcement and other purposes.', 'TlsVersion': ['Tls1.2', 'Tls1.3'], 'EmergencyLoginUser': '', 'TwoFactorAuthenticationInformation': {'TwoFactorAuthenticationStateEnabled': False, 'CertificateRevocationCheckEnabled': False, 'CrlVerificationEnabled': True, 'RootCertificate': [{'ServerCert': {'IssueBy': 'CN=Huawei Secure Server CA, OU=IT, O=Huawei, L=ShenZhen, S=GuangDong, C=CN', 'IssueTo': 'CN=Huawei Secure Server CA, OU=IT, O=Huawei, L=ShenZhen, S=GuangDong, C=CN', 'ValidFrom': 'Jan 26 2026 UTC', 'ValidTo': 'Jan 24 2036 UTC', 'SerialNumber': 'b4 52 91 35 4e 66 d7 b1', 'SignatureAlgorithm': 'SHA256', 'KeyUsage': 'CRL Sign, Certificate Sign', 'PublicKeyLengthBits': 2048, 'FingerPrint': '4e9eb44cfdc1b0ad9262f81348d337991b649fa9399c2018256154b8047decae', 'IsImportCrl': False, 'CrlValidFrom': None, 'CrlValidTo': None}, 'CertId': 1}]}, 'InitialAccountPrivilegeRestrictEnabled': False, 'PasswordRulePolicy': 'Default', 'PasswordPattern': '', 'InterChassisAuthentication': {'Enabled': False, 'AccessRole': 'Administrator'}, 'Actions': {'#AccountService.ImportRootCertificate': {'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportRootCertificate', '@Redfish.ActionInfo': '/redfish/v1/AccountService/ImportRootCertificateActionInfo'}, '#AccountService.DeleteRootCertificate': {'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteRootCertificate', '@Redfish.ActionInfo': '/redfish/v1/AccountService/DeleteRootCertificateActionInfo'}, '#AccountService.ImportCrl': {'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.ImportCrl', '@Redfish.ActionInfo': '/redfish/v1/AccountService/ImportCrlActionInfo'}, '#AccountService.DeleteCrl': {'target': '/redfish/v1/AccountService/Oem/openUBMC/Actions/AccountService.DeleteCrl', '@Redfish.ActionInfo': '/redfish/v1/AccountService/DeleteCrlActionInfo'}}, 'LdapService': {'@odata.id': '/redfish/v1/AccountService/LdapService'}, 'KerberosService': {'@odata.id': '/redfish/v1/AccountService/KerberosService'}}}, 'Accounts': {'@odata.id': '/redfish/v1/AccountService/Accounts'}, 'LDAP': {'ServiceEnabled': True, 'ServiceAddresses': [''], 'Authentication': {'AuthenticationType': 'UsernameAndPassword'}, 'Certificates': {'@odata.id': '/redfish/v1/Managers/1/Certificates'}, 'LDAPService': {'SearchSettings': {'BaseDistinguishedNames': ['']}}, 'RemoteRoleMapping': [{'LocalRole': None, 'RemoteGroup': None}, {'LocalRole': None, 'RemoteGroup': None}, {'LocalRole': None, 'RemoteGroup': None}, {'LocalRole': None, 'RemoteGroup': None}, {'LocalRole': None, 'RemoteGroup': None}]}, 'Roles': {'@odata.id': '/redfish/v1/AccountService/Roles'}, 'PrivilegeMap': {'@odata.id': '/redfish/v1/AccountService/PrivilegeMap'}, 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:51 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '4532', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/AccountService.json>;rel=describedby', 'ETag': 'W/"97f79e7a"', 'OData-Version': '4.0', 'Allow': 'GET,PATCH', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.314245} |
| 2026-02-04 15:21:53.904 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:70 | url: https://192.168.40.125/redfish/v1/AccountService/Accounts |
| 2026-02-04 15:21:54.248 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:43 | 打印self._cache_data值:{'@odata.context': '/redfish/v1/$metadata#ManagerAccountCollection.ManagerAccountCollection', '@odata.id': '/redfish/v1/AccountService/Accounts', '@odata.type': '#ManagerAccountCollection.ManagerAccountCollection', 'Name': 'Accounts Collection', 'Members@odata.count': 1, 'Members': [{'@odata.context': '/redfish/v1/$metadata#ManagerAccount.ManagerAccount', '@odata.id': '/redfish/v1/AccountService/Accounts/2', '@odata.type': '#ManagerAccount.v1_8_0.ManagerAccount', 'Id': '2', 'Name': 'User Account', 'Password': None, 'UserName': 'Administrator', 'RoleId': 'Administrator', 'ReauthKey': 'null', 'Locked': False, 'Enabled': True, 'HostBootstrapAccount': False, 'Oem': {'openUBMC': {'AccountInsecurePromptEnabled': False, 'FirstLoginPolicy': 'PromptPasswordReset', 'MutualAuthClientCert': None, 'SSHPublicKeyHash': None, 'LoginInterface': ['SNMP', 'Redfish', 'Local', 'SFTP', 'SSH', 'IPMI', 'Web'], 'SnmpV3AuthProtocol': 'SHA256', 'SnmpV3PrivPasswd': None, 'SnmpV3PrivProtocol': 'AES', 'SNMPEncryptPwdInit': False, 'Deleteable': False, 'DelDisableReason': 'UniqueAdminUser', 'LoginRule': [], 'PasswordValidityDays': None, 'LoginAudit': {'LastLoginTime': '2026-02-04T06:59:39+08:03', 'LastLoginIp': '192.168.40.23', 'LastLoginInterface': 'Redfish'}, 'Actions': {'#Account.ImportMutualAuthClientCert': {'target': '/redfish/v1/AccountService/Accounts/2/Oem/openUBMC/Actions/Account.ImportMutualAuthClientCert', '@Redfish.ActionInfo': '/redfish/v1/AccountService/Accounts/2/ImportMutualAuthClientCertActionInfo'}, '#Account.DeleteMutualAuthClientCert': {'target': '/redfish/v1/AccountService/Accounts/2/Oem/openUBMC/Actions/Account.DeleteMutualAuthClientCert', '@Redfish.ActionInfo': '/redfish/v1/AccountService/Accounts/2/DeleteMutualAuthClientCertActionInfo'}, '#Account.ImportSSHPublicKey': {'target': '/redfish/v1/AccountService/Accounts/2/Oem/openUBMC/Actions/Account.ImportSSHPublicKey', '@Redfish.ActionInfo': '/redfish/v1/AccountService/Accounts/2/ImportSSHPublicKeyActionInfo'}, '#Account.DeleteSSHPublicKey': {'target': '/redfish/v1/AccountService/Accounts/2/Oem/openUBMC/Actions/Account.DeleteSSHPublicKey', '@Redfish.ActionInfo': '/redfish/v1/AccountService/Accounts/2/DeleteSSHPublicKeyActionInfo'}}}}, 'Links': {'Role': {'@odata.id': '/redfish/v1/AccountService/Roles/Administrator'}}}], 'status_code': 200, 'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:57 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '2198', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ManagerAccountCollection.json>;rel=describedby', 'ETag': 'W/"1631ab46"', 'OData-Version': '4.0', 'Allow': 'GET,POST', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'}, 'response_time': 0.33798} |
| 2026-02-04 15:21:54.266 | DEBUG | ThreadID:4864 | kptest.wrapper.api.redfish.v0.root.accountservice--line:70 | url: https://192.168.40.125/redfish/v1/AccountService/Accounts |
| 2026-02-04 15:21:54.655 | CMD_RESPONSE | ThreadID:4864 | kptest.wrapper.dispatcher--line:631 | {'@odata.context': '/redfish/v1/$metadata#ManagerAccountCollection.ManagerAccountCollection',
'@odata.id': '/redfish/v1/AccountService/Accounts',
'@odata.type': '#ManagerAccountCollection.ManagerAccountCollection',
'Members': [{'@odata.context': '/redfish/v1/$metadata#ManagerAccount.ManagerAccount',
'@odata.id': '/redfish/v1/AccountService/Accounts/2',
'@odata.type': '#ManagerAccount.v1_8_0.ManagerAccount',
'Enabled': True,
'HostBootstrapAccount': False,
'Id': '2',
'Links': {'Role': {'@odata.id': '/redfish/v1/AccountService/Roles/Administrator'}},
'Locked': False,
'Name': 'User Account',
'Oem': {'openUBMC': {'AccountInsecurePromptEnabled': False,
'Actions': {'#Account.DeleteMutualAuthClientCert': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/Accounts/2/DeleteMutualAuthClientCertActionInfo',
'target': '/redfish/v1/AccountService/Accounts/2/Oem/openUBMC/Actions/Account.DeleteMutualAuthClientCert'},
'#Account.DeleteSSHPublicKey': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/Accounts/2/DeleteSSHPublicKeyActionInfo',
'target': '/redfish/v1/AccountService/Accounts/2/Oem/openUBMC/Actions/Account.DeleteSSHPublicKey'},
'#Account.ImportMutualAuthClientCert': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/Accounts/2/ImportMutualAuthClientCertActionInfo',
'target': '/redfish/v1/AccountService/Accounts/2/Oem/openUBMC/Actions/Account.ImportMutualAuthClientCert'},
'#Account.ImportSSHPublicKey': {'@Redfish.ActionInfo': '/redfish/v1/AccountService/Accounts/2/ImportSSHPublicKeyActionInfo',
'target': '/redfish/v1/AccountService/Accounts/2/Oem/openUBMC/Actions/Account.ImportSSHPublicKey'}},
'DelDisableReason': 'UniqueAdminUser',
'Deleteable': False,
'FirstLoginPolicy': 'PromptPasswordReset',
'LoginAudit': {'LastLoginInterface': 'Redfish',
'LastLoginIp': '192.168.40.23',
'LastLoginTime': '2026-02-04T06:59:39+08:03'},
'LoginInterface': ['SNMP',
'Redfish',
'Local',
'SFTP',
'SSH',
'IPMI',
'Web'],
'LoginRule': [],
'MutualAuthClientCert': None,
'PasswordValidityDays': None,
'SNMPEncryptPwdInit': False,
'SSHPublicKeyHash': None,
'SnmpV3AuthProtocol': 'SHA256',
'SnmpV3PrivPasswd': None,
'SnmpV3PrivProtocol': 'AES'}},
'Password': None,
'ReauthKey': 'null',
'RoleId': 'Administrator',
'UserName': 'Administrator'}],
'Members@odata.count': 1,
'Name': 'Accounts Collection',
'headers': {'Server': 'WebServer/1.0.0', 'Date': 'Wed, 04 Feb 2026 06:59:57 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '2198', 'Connection': 'keep-alive', 'Link': '</redfish/v1/SchemaStore/en/ManagerAccountCollection.json>;rel=describedby', 'ETag': 'W/"1631ab46"', 'OData-Version': '4.0', 'Allow': 'GET,POST', 'X-Frame-Options': 'DENY', 'X-Download-Options': 'noopen', 'X-XSS-Protection': '1;mode=block', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Content-Security-Policy': "default-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' wss://*:*; img-src 'self' data:; frame-src 'self'; font-src 'self' data:; object-src 'self'; style-src 'self'; form-action 'self'; frame-ancestors 'self'; plugin-types 'none'", 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Referrer-Policy': 'no-referrer'},
'response_time': 0.389738,
'status_code': 200} |
| 2026-02-04 15:21:54.670 | PASS | ThreadID:4864 | tc_script.scripts.inner_case.cases.migrate.iBMC.TaiShan.25_Redfish.01_RedfishResourceMgmt.12_AbnormalityTest.08_propertyTest.REDFISH_ROLES_Cust1_034--line:282 | REDFISH_ROLES_Cust1_034 Post TestCase Passed |
| 2026-02-04 15:21:54.686 | INFO | ThreadID:4864 | kpautos.engine.engine--line:1530 | Error to reset single connection: invalid literal for int() with base 10: '' |
| 2026-02-04 15:21:54.795 | TC_END | ThreadID:4864 | tc_script.scripts.inner_case.cases.migrate.iBMC.TaiShan.25_Redfish.01_RedfishResourceMgmt.12_AbnormalityTest.08_propertyTest.REDFISH_ROLES_Cust1_034--line:306 | TestCase End |