Newly added selftests: net: test_vxlan_fdb_changelink.sh Failed on
4.19, 4.14, 4.9 and 4.4
PASS on 4.20, mainline and -next
This test case is added in kselftest version update to 4.20.

selftests: net: test_vxlan_fdb_changelink.sh
expected two remotes after fdb append [ OK ]
expected two remotes after link set [FAIL]
not ok 1.. selftests: net: test_vxlan_fdb_changelink.sh [FAIL]
selftests: net_test_vxlan_fdb_changelink.sh [FAIL]

Test output with set -x:
------------------------------
+ ./test_vxlan_fdb_changelink.sh
+ ip link add name vx up type vxlan id 2000 dstport 4789
+ bridge fdb ap dev vx 00:00:00:00:00:00 dst 192.0.2.20 self permanent
+ bridge fdb ap dev vx 00:00:00:00:00:00 dst 192.0.2.30 self permanent
+ check_remotes 'fdb append'
+ local 'what=fdb append'
+ shift
++ wc -l
++ grep 00:00:00:00:00:00
++ bridge fdb sh dev vx
+ local N=2
+ echo -ne 'expected two remotes after fdb append\t'
expected two remotes after fdb append + [[ 2 != 2 ]]
+ echo '[ OK ]'
[ OK ]
+ ip link set dev vx type vxlan remote 192.0.2.30
+ check_remotes 'link set'
+ local 'what=link set'
+ shift
++ bridge fdb sh dev vx
++ grep 00:00:00:00:00:00
++ wc -l
+ local N=3
+ echo -ne 'expected two remotes after link set\t'
expected two remotes after link set + [[ 3 != 2 ]]
+ echo '[FAIL]'
[FAIL]
+ EXIT_STATUS=1
+ ip link del dev vx
+ exit 1

Test results comparison,
------------------------
https://qa-reports.linaro.org/_/comparetest/?project=22&project=6&project=58&project=135&project=141&project=40&project=23&suite=kselftest&test=net_test_vxlan_fdb_changelink.sh

Full test log,
https://lkft.validation.linaro.org/scheduler/job/584159#L10161
https://lkft.validation.linaro.org/scheduler/job/590328#L1286

Reply via email to