Skip to contentSkip to conversation

runtest/smoketest: Remove intermittent failed test case route4-change-dst

PATCH New Naresh Kamboju 2 participants 4 messages Sep 6, 2021 – Sep 10, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 runtest/smoketest: Remove intermittent failed test case route4-change-dst

The test case route4-change-dst fails intermittently creating the problem for smoketest results verdict. route4-change-dst is a stress test should not be a part of smoketest. because of these issues removing route4-change-dst from the smoketest.

---
 runtest/smoketest | 1 -
 1 file changed, 1 deletion(-)
runtest/smoketest +0 -1
index 7f395936e..dd689bd6f 100644
@@ -12,5 +12,4 @@ stat04 symlink01 -T stat04
 utime01A symlink01 -T utime01
 rename01A symlink01 -T rename01
 splice02 splice02 -s 20
-route4-change-dst route-change-dst.sh
 shell_test01 echo "SUCCESS" | shell_pipe01.sh
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/2 runtest/smoketest: Adding ping01 and ping02 test cases

Adding two ping test case to smoketest
ping01 ping01.sh
ping02 ping02.sh

---
 runtest/smoketest | 2 ++
 1 file changed, 2 insertions(+)
runtest/smoketest +2 -0
index dd689bd6f..361f1db29 100644
@@ -13,3 +13,5 @@ utime01A symlink01 -T utime01
 rename01A symlink01 -T rename01
 splice02 splice02 -s 20
 shell_test01 echo "SUCCESS" | shell_pipe01.sh
+ping01 ping01.sh
+ping02 ping02.sh
Signature · 1 line
2.30.2
#2 lore raw

PATCH 1/2 runtest/smoketest: Remove intermittent failed test case route4-change-dst

In reply to Naresh Kamboju

Hi Naresh,

Quoted 4 lines

The test case route4-change-dst fails intermittently creating the problem for smoketest results verdict. route4-change-dst is a stress test should not be a part of smoketest. because of these issues removing route4-change-dst from the smoketest.

Could you please be more specific about the failure?

I'm not against adding ping tests into smoketest runtest file, although just on might be enough. ping02.sh is the fastest from all 3 tests, maybe add it. Also -6 for IPv6 would be good (to detect problems with IPv6 setup).

But route-change-dst.sh is quick (actually 2 times faster than ping01) that it's not really a stress test in the default configuration, thus I'd prefer to keep it.

Kind regards,
Petr

#3 lore raw

PATCH 1/2 runtest/smoketest: Remove intermittent failed test case route4-change-dst

Hi Petr,

Quoted 8 lines · Petr Vorel

Hi Naresh,

Quoted 4 lines

The test case route4-change-dst fails intermittently creating the problem for smoketest results verdict. route4-change-dst is a stress test should not be a part of smoketest. because of these issues removing route4-change-dst from the smoketest.

Could you please be more specific about the failure?

Test log,

route-change-dst 1 TINFO: initialize 'lhost' 'ltp_ns_veth2' interface route-change-dst 1 TINFO: add local addr 10.0.0.2/24 route-change-dst 1 TINFO: add local addr fd00:1:1:1::2/64 route-change-dst 1 TINFO: initialize 'rhost' 'ltp_ns_veth1' interface

[   54.413187] IPv6: ADDRCONF(NETDEV_CHANGE): ltp_ns_veth2: link becomes ready

route-change-dst 1 TINFO: add remote addr 10.0.0.1/24 route-change-dst 1 TINFO: add remote addr fd00:1:1:1::1/64 route-change-dst 1 TINFO: Network config (local -- remote):
route-change-dst 1 TINFO: ltp_ns_veth2 -- ltp_ns_veth1 route-change-dst 1 TINFO: 10.0.0.2/24 -- 10.0.0.1/24 route-change-dst 1 TINFO: fd00:1:1:1::2/64 -- fd00:1:1:1::1/64 route-change-dst 1 TINFO: timeout per run is 0h 15m 0s route-change-dst 1 TINFO: change IPv4 route destination 100 times route-change-dst 1 TINFO: testing route '10.23.1.0/24'
bind: Cannot assign requested address
route-change-dst 1 TFAIL: ping -c1 -I 10.0.0.2 10.23.1.1 >/dev/null failed unexpectedly
route-change-dst 1 TINFO: initialize 'lhost' 'ltp_ns_veth2' interface route-change-dst 1 TINFO: add local addr 10.0.0.2/24 route-change-dst 1 TINFO: add local addr fd00:1:1:1::2/64 route-change-dst 1 TINFO: initialize 'rhost' 'ltp_ns_veth1' interface route-change-dst 1 TINFO: add remote addr 10.0.0.1/24 route-change-dst 1 TINFO: add remote addr fd00:1:1:1::1/64

Summary:
passed 0
failed 1

Quoted 4 lines

I'm not against adding ping tests into smoketest runtest file, although just on might be enough. ping02.sh is the fastest from all 3 tests, maybe add it. Also -6 for IPv6 would be good (to detect problems with IPv6 setup).

I will add
ping602 ping02.sh -6

Quoted 3 lines

But route-change-dst.sh is quick (actually 2 times faster than ping01) that it's not really a stress test in the default configuration, thus I'd prefer to keep it.

The actual problem with route-change-dst.sh is an intermittent failure test case.

Here is the link showing intermittent failure. (click on the loadmore button)
https://qa-reports.linaro.org/_/comparetest/?project=136&suite=ltp-smoketest-tests&test=route4-change-dst

- Naresh