Skip to contentSkip to conversation

Test suite 'test_bmc_network_conf' in openbmc-test-automation

DISCUSSION Tony Lee (李文富) 3 participants 5 messages Apr 29, 2020 – May 14, 2020

lore
Share & tools
lore
#0 lore raw

Hi Rahul,

Cases like 'Configure Broadcast IP', 'Configure Multicast IP' and 'Configure Loopback IP' in redfish test_bmc_network_conf.robot. In these cases, when using redfish to set an invalid type ip (such as broadcast ip), an HTTP_BAD_REQUEST response is expected.

However, the invalid type ip in openbmc repo 'bmcweb' has no restrictions. Therefore, those test cases related to setting invalid type ip or gateway will fail.

Do you have any suggestions for this issue? Will these cases also fail in your environment?

Thanks
Best Regards,
Tony

#1 lore raw

[email protected]

Prashant
Can you look at this query?

Thanks,
Rahul

Quoted 20 lines · Tony Lee (李文富)

Hi Rahul,

Cases like 'Configure Broadcast IP', 'Configure Multicast IP' and 'Configure Loopback IP' in redfish test_bmc_network_conf.robot. In these cases, when using redfish to set an invalid type ip (such as broadcast ip), an HTTP_BAD_REQUEST response is expected.

However, the invalid type ip in openbmc repo 'bmcweb' has no restrictions. Therefore, those test cases related to setting invalid type ip or gateway will fail.

Do you have any suggestions for this issue? Will these cases also fail in your environment?

Thanks
Best Regards,
Tony

#2 lore raw

Hi Prashanth,

Do you have any suggestions for this issue? Will these cases also fail in your environment?

Thanks
Best Regards,
Tony

From: Rahul Maheshwari <[email protected]>
Sent: Thursday, April 30, 2020 8:09 PM
To: Tony Lee (李文富) <[email protected]>
Cc: [email protected]
Subject: Re: Test suite 'test_bmc_network_conf' in openbmc-test-automation

mailto:[email protected]

Prashant
Can you look at this query?

Thanks,
Rahul

On Wed, Apr 29, 2020 at 3:56 PM Tony Lee (李文富) <mailto:[email protected]> wrote:
Hi Rahul,

Cases like 'Configure Broadcast IP', 'Configure Multicast IP' and 'Configure Loopback IP' in redfish test_bmc_network_conf.robot. In these cases, when using redfish to set an invalid type ip (such as broadcast ip), an HTTP_BAD_REQUEST response is expected.

However, the invalid type ip in openbmc repo 'bmcweb' has no restrictions. Therefore, those test cases related to setting invalid type ip or gateway will fail.

Do you have any suggestions for this issue? Will these cases also fail in your environment?

Thanks
Best Regards,
Tony

#3 lore raw

Hi Tony,
These tests fail for us also. But we skip these tests while running network suite.

Prashanth Katti

From:   "Tony Lee (李文富)" <[email protected]>
To:     "[email protected]" <[email protected]>
Date:   14-05-2020 11:56
Subject:        [EXTERNAL] RE: Test suite 'test_bmc_network_conf' in 

openbmc-test-automation

Hi Prashanth,

Do you have any suggestions for this issue? Will these cases also fail in your environment?

Thanks
Best Regards,
Tony

From: Rahul Maheshwari <[email protected]>
Sent: Thursday, April 30, 2020 8:09 PM
To: Tony Lee (李文富) <[email protected]>
Cc: [email protected]
Subject: Re: Test suite 'test_bmc_network_conf' in openbmc-test-automation

mailto:[email protected]

Prashant
Can you look at this query?

Thanks,
Rahul

On Wed, Apr 29, 2020 at 3:56 PM Tony Lee (李文富) <
mailto:[email protected]> wrote:
Hi Rahul,

Cases like 'Configure Broadcast IP', 'Configure Multicast IP' and 'Configure Loopback IP' in redfish test_bmc_network_conf.robot. In these cases, when using redfish to set an invalid type ip (such as broadcast ip), an HTTP_BAD_REQUEST response is expected.

However, the invalid type ip in openbmc repo 'bmcweb' has no restrictions. Therefore, those test cases related to setting invalid type ip or gateway will fail.

Do you have any suggestions for this issue? Will these cases also fail in your environment?

Thanks
Best Regards,
Tony

#4 lore raw

I see. Thank you for the information.

Tony

From: Prashanth Katti1 <[email protected]>
Sent: Thursday, May 14, 2020 2:30 PM
To: Tony Lee (李文富) <[email protected]>
Cc: [email protected]
Subject: RE: Test suite 'test_bmc_network_conf' in openbmc-test-automation

Hi Tony,
These tests fail for us also. But we skip these tests while running network suite.

Prashanth Katti

From:        "Tony Lee (李文富)" <mailto:[email protected]>
To:        "mailto:[email protected]" <mailto:[email protected]>
Cc:        "mailto:[email protected]" <mailto:[email protected]>
Date:        14-05-2020 11:56
Subject:        [EXTERNAL] RE: Test suite 'test_bmc_network_conf' in openbmc-test-automation
________________________________________

Hi Prashanth,

Do you have any suggestions for this issue? Will these cases also fail in your environment?

Thanks
Best Regards,
Tony

From: Rahul Maheshwari <mailto:[email protected]>
Sent: Thursday, April 30, 2020 8:09 PM
To: Tony Lee (李文富) <mailto:[email protected]>
Cc: mailto:[email protected]
Subject: Re: Test suite 'test_bmc_network_conf' in openbmc-test-automation

mailto:[email protected]

Prashant
Can you look at this query?

Thanks,
Rahul

On Wed, Apr 29, 2020 at 3:56 PM Tony Lee (李文富) <mailto:[email protected]> wrote:
Hi Rahul,

Cases like 'Configure Broadcast IP', 'Configure Multicast IP' and 'Configure Loopback IP' in redfish test_bmc_network_conf.robot. In these cases, when using redfish to set an invalid type ip (such as broadcast ip), an HTTP_BAD_REQUEST response is expected.

However, the invalid type ip in openbmc repo 'bmcweb' has no restrictions. Therefore, those test cases related to setting invalid type ip or gateway will fail.

Do you have any suggestions for this issue? Will these cases also fail in your environment?

Thanks
Best Regards,
Tony