make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=tc_policce.sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-4/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
make[1]: Entering directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
TAP version 13
1..1
# overriding timeout to 21600
# selftests: net/forwarding: tc_police.sh
[  255.941046][  T732] tc (732) used greatest stack depth: 23512 bytes left
# TEST: police on rx                                                  [FAIL]
# Expected rate 76.2Mbps, got 42.3Mbps, which is -44% off. Required accuracy is +-10%.
# TEST: police on tx                                                  [FAIL]
# Expected rate 76.2Mbps, got 42.5Mbps, which is -44% off. Required accuracy is +-10%.
# TEST: police with shared policer - rx                               [FAIL]
# Expected rate 76.2Mbps, got 41.8Mbps, which is -45% off. Required accuracy is +-10%.
# TEST: police with shared policer - tx                               [FAIL]
# Expected rate 76.2Mbps, got 41.2Mbps, which is -45% off. Required accuracy is +-10%.
[  306.603554][  T927] Mirror/redirect action on
# TEST: police rx and mirror                                          [FAIL]
# Expected rate 76.2Mbps, got 22.0Mbps, which is -71% off. Required accuracy is +-10%.
# TEST: police tx and mirror                                          [FAIL]
# Expected rate 76.2Mbps, got 27.8Mbps, which is -63% off. Required accuracy is +-10%.
# TEST: police pps on rx                                              [ OK ]
# TEST: police pps on tx                                              [ OK ]
# TEST: police mtu (rx)                                               [ OK ]
# TEST: police mtu (tx)                                               [ OK ]
not ok 1 selftests: net/forwarding: tc_police.sh # exit=1
make[1]: Leaving directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
make: Leaving directory '/home/virtme/testing-4/tools/testing/selftests'
xx__-> echo $?
0
xx__->