Closed Wlyy0314 closed 1 year ago
@wangxin When running this test case, it always reports that the number of messages received is 0. What configuration should be done to run this test case?
Hi @Wlyy0314 Currently, ip/test_ip_packet.py can't be run on KVM testbed.
Sample: https://www.testbed-tools.org/scheduler/testplan/9890
Description ./run_tests.sh -n vms-kvm-t0 -d vlab-01 -c ip/test_ip_packet.py -f vtestbed.csv -i veos_vtb
Steps to reproduce the issue: 1. 2. 3.
Describe the results you received:
Failed: Received 0 packets in rx, not in expected range Describe the results you expected:
self = <tests.ip.test_ip_packet.TestIPPacket object at 0x7f407004e690> duthost =
ptfadapter =
common_param = ([(u'10.0.0.61', [u'Ethernet120']), (u'10.0.0.63', [u'Ethernet124'])], u'PortChannel103', True, 30, {u'PortChannel101'..., u'PortChannel104': [u'Ethernet124']}, {'Ethernet0': 0, 'Ethernet100': 25, 'Ethernet104': 26, 'Ethernet108': 27, ...})
common_param = ([(u'10.0.0.61', [u'Ethernet120']), (u'10.0.0.63', [u'Ethernet124'])], u'PortChannel103', True, 30, {u'PortChannel101'..., u'PortChannel104': [u'Ethernet124']}, {'Ethernet0': 0, 'Ethernet100': 25, 'Ethernet104': 26, 'Ethernet108': 27, ...}) duthost =
exp_pkt = <ptf.mask.Mask instance at 0x7f406e235d70>
match_cnt = 682
out_ifaces = [u'Ethernet112', u'Ethernet116', u'Ethernet120', u'Ethernet124']
out_ptf_indices = [28, 29, 30, 31]
out_rif_ifaces = ['PortChannel101', 'PortChannel102', 'PortChannel103', 'PortChannel104']
pc_ports_map = {u'PortChannel101': [u'Ethernet112'], u'PortChannel102': [u'Ethernet116'], u'PortChannel103': [u'Ethernet120'], u'PortChannel104': [u'Ethernet124']}
peer_ip_ifaces_pair = [(u'10.0.0.61', [u'Ethernet120']), (u'10.0.0.63', [u'Ethernet124'])]
pkt = <Ether dst=52:54:00:e8:45:75 src=aa:d7:77:94:65:1e type=IPv4 |<IP ihl=5 tos=...9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb' |>>>
portstat_out = {'Ethernet0': {'rx_bps': '0.00 B/s', 'rx_drp': '0', 'rx_err': '0', 'rx_ok': '0', ...}, 'Ethernet100': {'rx_bps': '0.00...: '0', 'rx_ok': '0', ...}, 'Ethernet108': {'rx_bps': '0.00 B/s', 'rx_drp': '0', 'rx_err': '0', 'rx_ok': '0', ...}, ...}
ptf_indices = {'Ethernet0': 0, 'Ethernet100': 25, 'Ethernet104': 26, 'Ethernet108': 27, ...}
ptf_port_idx = 30
ptfadapter =
rif_counter_out = {'PortChannel101': {'rx_bps': '0.00 B/s', 'rx_err': '0', 'rx_ok': '0', 'rx_pps': '0.00/s', ...}, 'PortChannel102': {'r...': '0.00/s', ...}, 'PortChannel104': {'rx_bps': '0.00 B/s', 'rx_err': '0', 'rx_ok': '0', 'rx_pps': '0.00/s', ...}, ...}
rif_rx_ifaces = u'PortChannel103'
rif_support = True
rx_drp = 0
rx_err = 0
rx_ok = 0
self = <tests.ip.test_ip_packet.TestIPPacket object at 0x7f407004e690>
tx_drp = 0
tx_err = 0
tx_ok = 0
ip/test_ip_packet.py:202: Failed
Additional information you deem important: