openbmc / openbmc-test-automation

Apache License 2.0
98 stars 92 forks source link

Test Ipmi Payload #2242

Open justin0309 opened 1 month ago

justin0309 commented 1 month ago

openbmc code base: 2.14.0 auto-test : v4.0-stable

For the test items of Test Deactivate Payload, I based on https://github.com/openbmc/phosphor-net-ipmid/commit/34a2c4120d8f10b6beba09a7c55c4df9015445f1 This commit fix, according to the description

//Deactivate SOL
~$ipmitool -I lanplus -H <BMC-IP> -U <UserID> -P <PWD> -C 17 raw 0x06
           0x49 0x01 0x01 0x00 0x00 0x00 0x00
Response: Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0
           cmd=0x49 rsp=0x80): Unknown (0x80)

image But this behavior will still be considered as fail in auto-test, so should I modify the test process or the source code?

In addition, Verify Set User Access Payload For Invalid User '' does not contain 'rsp=0xcc' Verify Get User Access Payload For Invalid User ' 02 00 00 00' does not contain 'rsp=0xcc' Verify Get Channel Payload Support For Invalid Channel 'Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x4e rsp=0xff): Unspecified error' does not contain 'rsp=0xcc' I don’t know if these three response codes are code or auto-test that need to be modified.

gkeishin commented 1 month ago

@Ganesan149 @aravinth0510 @KothaiSrini Can your help respond to the above? or are you also seeing the same?