You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On running switch tests, it getting failed. I am new to it and unable to understand the problem. Please help me with it.
sudo ./bmv2/run_tests.sh
[sudo] password for p4user:
WARNING: No route found for IPv6 destination :: (no default route?)
ERROR: name 'ThreeBytesField' is not defined
ERROR: name 'ThreeBytesField' is not defined
ERROR: name 'ThreeBytesField' is not defined
switch.L2Test ... Cleaning state
Sending packet port 1 -> port 2 on vlan 10 (192.168.0.1 -> 10.0.0.1 [id = 101])
ok
Ran 1 test in 1.173s
OK
switch.L2FloodTest.runTest ... Cleaning state
ok
Ran 1 test in 0.961s
OK
switch.L3Ipv6Test ...
Cleaning state
Sending packet port 1 -> port 2 (10.10.10.1 -> 20.20.20.1 [id = 101])
ok
Ran 1 test in 1.190s
OK
switch.L2QinQTest ...
Cleaning state
Sending packet port 1 (QinQ) -> port 2 (Untagged)
Sending packet port 2 (Untagged) -> port 2 (QinQ)
ok
Ran 1 test in 2.173s
OK
switch.L2LearningTest ... Cleaning state
new mac learnt [0, 34, 34, 34, 34, 34] on port 1
ok
Ran 1 test in 7.155s
OK
switch.L3VxlanTunnelTest ...
Cleaning state
Sending packet port 1 -> port 2 - Vxlan tunnel encap
Inner packet (10.168.10.1 -> 10.168.11.1 [id = 101])
Outer packet (10.10.10.1 -> 10.10.10.2 [vnid = 0x1234, id = 101])
Sending packet port 2 -> port 1 - Vxlan tunnel decap
Inner packet (10.168.11.1 -> 10.168.10.1 [id = 101])
Outer packet (10.10.10.2 -> 10.10.10.1 [vnid = 0x1234, id = 101])
ERROR
Hi All,
On running switch tests, it getting failed. I am new to it and unable to understand the problem. Please help me with it.
sudo ./bmv2/run_tests.sh
[sudo] password for p4user:
WARNING: No route found for IPv6 destination :: (no default route?)
ERROR: name 'ThreeBytesField' is not defined
ERROR: name 'ThreeBytesField' is not defined
ERROR: name 'ThreeBytesField' is not defined
switch.L2Test ... Cleaning state
Sending packet port 1 -> port 2 on vlan 10 (192.168.0.1 -> 10.0.0.1 [id = 101])
ok
Ran 1 test in 1.173s
OK
switch.L2FloodTest.runTest ... Cleaning state
ok
Ran 1 test in 0.961s
OK
switch.L3Ipv6Test ...
Cleaning state
Sending packet port 1 -> port 2 (10.10.10.1 -> 20.20.20.1 [id = 101])
ok
Ran 1 test in 1.190s
OK
switch.L2QinQTest ...
Cleaning state
Sending packet port 1 (QinQ) -> port 2 (Untagged)
Sending packet port 2 (Untagged) -> port 2 (QinQ)
ok
Ran 1 test in 2.173s
OK
switch.L2LearningTest ... Cleaning state
new mac learnt [0, 34, 34, 34, 34, 34] on port 1
ok
Ran 1 test in 7.155s
OK
switch.L3VxlanTunnelTest ...
Cleaning state
Sending packet port 1 -> port 2 - Vxlan tunnel encap
Inner packet (10.168.10.1 -> 10.168.11.1 [id = 101])
Outer packet (10.10.10.1 -> 10.10.10.2 [vnid = 0x1234, id = 101])
Sending packet port 2 -> port 1 - Vxlan tunnel decap
Inner packet (10.168.11.1 -> 10.168.10.1 [id = 101])
Outer packet (10.10.10.2 -> 10.10.10.1 [vnid = 0x1234, id = 101])
ERROR
======================================================================
ERROR: switch.L3VxlanTunnelTest
Traceback (most recent call last):
File "/home/p4user/ProjectDetNet/switch/tests/ptf-tests/pd-tests/switch.py", line 740, in runTest
send_packet(self, 2, str(vxlan_pkt2))
File "/usr/local/lib/python2.7/dist-packages/ptf-0.9.1-py2.7.egg/ptf/testutils.py", line 2226, in send_packet
sent += test.dataplane.send(device, port, pkt)
File "/usr/local/lib/python2.7/dist-packages/ptf-0.9.1-py2.7.egg/ptf/dataplane.py", line 689, in send
bytes = self.ports[(device_number, port_number)].send(packet)
File "/usr/local/lib/python2.7/dist-packages/ptf-0.9.1-py2.7.egg/ptf/dataplane.py", line 178, in send
return self.socket.send(packet)
error: [Errno 22] Invalid argument
Ran 1 test in 1.187s
FAILED (errors=1)
switch.L3Ipv4Test ...
Cleaning state
Sending packet port 1 -> port 2 (10.10.10.1 -> 20.20.20.1 [id = 101])
ok
Ran 1 test in 1.163s
OK
switch.L2VxlanTunnelTest ...
Cleaning state
Sending packet port 1 -> port 2 - Vxlan tunnel encap
Inner packet (192.168.10.1 -> 192.168.20.2 [id = 101])
Outer packet (10.10.10.1 -> 10.10.10.2 [vnid = 0x1234, id = 101])
Sending packet port 2 -> port 1 - Vxlan tunnel decap
Inner packet (192.168.10.2 -> 192.168.20.1 [id = 101])
Outer packet (10.10.10.2 -> 10.10.10.1 [vnid = 0x1234, id = 101])
ERROR
======================================================================
ERROR: switch.L2VxlanTunnelTest
Traceback (most recent call last):
File "/home/p4user/ProjectDetNet/switch/tests/ptf-tests/pd-tests/switch.py", line 536, in runTest
send_packet(self, 2, str(vxlan_pkt2))
File "/usr/local/lib/python2.7/dist-packages/ptf-0.9.1-py2.7.egg/ptf/testutils.py", line 2226, in send_packet
sent += test.dataplane.send(device, port, pkt)
File "/usr/local/lib/python2.7/dist-packages/ptf-0.9.1-py2.7.egg/ptf/dataplane.py", line 689, in send
bytes = self.ports[(device_number, port_number)].send(packet)
File "/usr/local/lib/python2.7/dist-packages/ptf-0.9.1-py2.7.egg/ptf/dataplane.py", line 178, in send
return self.socket.send(packet)
error: [Errno 22] Invalid argument
Ran 1 test in 1.219s
FAILED (errors=1)
ATTENTION: SOME TESTS DID NOT PASS!!!
The following tests errored:
L3VxlanTunnelTest, L2VxlanTunnelTest
Regards,
Rajeev
The text was updated successfully, but these errors were encountered: