File "/corp/sta/opt/ActivePython-2.7/lib/python2.7/site-packages/trex_stl_lib/trex_stl_hltapi.py", line 718, in traffic_stats
stats = self.trex_client.get_stats(port_handle)
File "/corp/sta/opt/ActivePython-2.7/lib/python2.7/site-packages/trex_stl_lib/trex_stl_client.py", line 1199, in wrap2
ret = f(*args, **kwargs)
File "/corp/sta/opt/ActivePython-2.7/lib/python2.7/site-packages/trex_stl_lib/trex_stl_client.py", line 1660, in get_stats
return self.__get_stats(ports)
File "/corp/sta/opt/ActivePython-2.7/lib/python2.7/site-packages/trex_stl_lib/trex_stl_client.py", line 1018, in __get_stats
pgid_stats = self.get_pgid_stats()
File "/corp/sta/opt/ActivePython-2.7/lib/python2.7/site-packages/trex_stl_lib/trex_stl_client.py", line 1199, in wrap2
ret = f(*args, **kwargs)
File "/corp/sta/opt/ActivePython-2.7/lib/python2.7/site-packages/trex_stl_lib/trex_stl_client.py", line 2324, in get_pgid_stats
return self.pgid_stats.get_stats(pgid_list)
File "/corp/sta/opt/ActivePython-2.7/lib/python2.7/site-packages/trex_stl_lib/trex_stl_stats.py", line 1762, in get_stats
total += fs[val][int(port)]
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
And around same time, we observed below messages at trex server side.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()1:Could not count p:133920698 b:0 rx packets, on port 5, because no mapping was found.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()2:Could not count p:133928568 b:8571428352 tx packets on port 5, because no mapping was found.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()1:Could not count p:2 b:0 rx packets, on port 6, because no mapping was found.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()1:Could not count p:1 b:64 tx packets on port 7, because no mapping was found.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()2:Could not count p:6696427 b:0 rx packets, on port 7, because no mapping was found.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()2:Could not count p:133928568 b:0 rx packets, on port 12, because no mapping was found.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()1:Could not count p:133920698 b:0 rx packets, on port 13, because no mapping was found.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()1:Could not count p:2 b:0 rx packets, on port 14, because no mapping was found.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()2:Could not count p:6696427 b:428571328 tx packets on port 14, because no mapping was found.
May 09 00:27:54 htrex-20311.ca.stalab.ciena.com t-rex-64[25629]: CFlowStatRuleMgr::update_counters()2:Could not count p:6696427 b:0 rx packets, on port 15, because no mapping was found.
In the test, following steps were performed:
1. Connect to TRex server and acquire 3 ports.
2. Configure tagged stream with flow stats enable on each port.
3. Send/receive 6696428 frames 64 byte each from each port.
4. Collect statistics
Post these errors, all the connect API call in other tests which were trying to acquire any of above highlighted ports started failing with same python error as mentioned above. Moreover, starting console was also failing with similar error traceback.
[htrex-20311(dsaxena)]-> TRex 1004> ./start-console
Using 'python' as Python interpeter
Connecting to RPC server on localhost:4501 [SUCCESS]
Connecting to publisher server on localhost:4500 [SUCCESS]
Traceback (most recent call last):
File "/corp/sta/opt/ActivePython-2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/corp/sta/opt/ActivePython-2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/corp/sta/opt/TRex/v2.32/automation/trex_control_plane/stl/console/trex_console.py", line 989, in <module>
main()
File "/corp/sta/opt/TRex/v2.32/automation/trex_control_plane/stl/console/trex_console.py", line 942, in main
stateless_client.connect()
File "/corp/sta/opt/TRex/v2.32/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py", line 1199, in wrap2
ret = f(*args, **kwargs)
File "/corp/sta/opt/TRex/v2.32/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py", line 1768, in connect
rc = self.__connect()
File "/corp/sta/opt/TRex/v2.32/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py", line 975, in __connect
self.get_pgid_stats()
File "/corp/sta/opt/TRex/v2.32/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py", line 1199, in wrap2
ret = f(*args, **kwargs)
File "/corp/sta/opt/TRex/v2.32/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py", line 2324, in get_pgid_stats
return self.pgid_stats.get_stats(pgid_list)
File "/corp/sta/opt/TRex/v2.32/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py", line 1762, in get_stats
total += fs[val][int(port)]
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
Only solution which we found to resolve this issue was restart the trex server. Since we faced this issue a couple of times so would like to know the reason of this issue and how it should be handled so that smooth test execution can be carried out.
Is it a known issue and fixed in new releases?
Please confirm and let me know if any other detail is required to investigate this issue.
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/25b4a2c4-2c89-4205-b9fb-bef7d8b15a9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
streams -p 0 1 2 --code
Regarding traffic, it would help to get output of following trex-console command: (assuming acquired ports are 0, 1 and 2)streams -p 0 1 2 --code(You will need to mask out failing Python code lines in order for console to ignore the failing step(s) and continue, just to debug the issue)
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c301c1e8-e4f8-4b58-b523-812f9b43b3f9%40googlegroups.com.
def stop (self, ports = None, rx_delay_ms = None):
...
if rx_delay_ms is None:
if self.ports[ports[0]].is_virtual(): # assume all ports have same type
rx_delay_ms = 100
else:
rx_delay_ms = 1000
#rx_delay_ms = 10
The best would be if you could provide a setup where the issue occurs, so that we could debug it.
103 pkts pps bps port tx rx tx rx tx rx 0 0 6696427 0 0 0 0 1 6696427 0 0 0 0 0 2 0 31 0 0 0 0 3 0 6696427 0 0 0 0 4 6696427 0 0 0 0 0 5 0 5266 0 0 0 0 6 0 6700573 0 Infinity 0 null 7 6696427 0 null 0 null 0 8 0 6696427 0 0 0 0 9 0 0 0 0 0 0 10 0 31 0 0 0 0 11 0 6696427 0 0 0 0 12 0 0 0 0 0 0 13 0 5266 0 0 0 0 14 0 6700573 0 Infinity 0 null 15 0 0 0 0 0 0
Hi Yaroslav,Did you get the chance to try this? It would be very helpful if you can suggest fix for this issue since its impacting my tests. If further trial is needed with some code changes, I could do it at my end. Please suggest.
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/551e54c6-36d9-4fcd-b76c-d2be4866e156%40googlegroups.com.
The best would be if you could provide a setup where the issue occurs, so that we could debug it.
You are from Cisco, right?
We did not find what can cause "no mapping" stderr prints yet, we can, however, provide a patch that will eliminate "null" and "Infinity" from rates of bps and pps (they are causing exception in Python)
Another thing, in JSON-RPC, there are more rx packets on different ports than tx sent.
Is it expected?
It could be caused by "start" -> packets are sent -> there is high latency in network -> "stop" -> "start" again with same pg-id -> packets are arriving from the past -> more rx.
Could it be your case?
That would be great. If this is the problem that causing exception and patch fix could resolve the issue, that would unblock me.
In my environment, multiple DUTs are connected with one TRex VM which has 16 ports and 2-3 TRex ports are assigned per DUT so total 5-6 single DUT topology is created. I was running same test on these DUTs topology in batch mode to reproduce the issue that might have done something at TRex side which might caused these stats. In the test, traffic was run only once for each pg_id (102,103,203,201,301,302) and I think high latency in network was not observed. So I am not sure about these rx stats.
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/d0e516d9-21b5-46fa-aad4-334dde1ba650%40googlegroups.com.
Please try out this branch (it's based on v2.41)
https://github.com/ybrustin/trex-core/tree/flow_stats_nan_rates
Do you run the tests at different ports in serial way or in parallel?
Do you use the same pg_ids for different sets of ports? For example, is pg_id 103 used only with traffic sent from ports 1,4,7 or others too?
I will try this branch.
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/ef3fe3ce-6e0f-423f-935c-899e2a9d3d39%40googlegroups.com.
[root@htrex-20311 scripts]# ./t-rex-64 -i
Starting Scapy server.... Scapy server is started
The ports are bound/configured.
./t-rex-64: line 60: ./_t-rex-64: No such file or directory--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/c7aa69e4-e47a-4f62-a38b-88368a809d8c%40googlegroups.com.
[root@htrex-20311 linux_dpdk]# ./b configure
Setting top to : /root/divya/trex-patch/trex-core
Setting out to : /root/divya/trex-patch/trex-core/linux_dpdk/build_dpdk
Checking for program 'gcc, cc' : /usr/bin/gcc
Checking for program 'ar' : /usr/bin/ar
Checking for program 'g++, c++' : /usr/bin/g++
Checking for program 'ar' : /usr/bin/ar
Checking for program 'ldd' : /usr/bin/ldd
Checking for library z : not found
Could not determine Linux distribution.
Ubuntu install:
sudo apt install zlib1g-dev
Fedora install:
sudo yum install zlib-devel
The configuration failed
(complete log in /root/divya/trex-patch/trex-core/linux_dpdk/build_dpdk/config.log)sudo yum install zlib-devel
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/1714ab0e-7607-4e10-8fd6-f91c9bfdb982%40googlegroups.com.
Hi,
Yes, it is going to be part of next release.
Thanks,
Yaroslav
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/2a338458-b77b-4d81-8433-d0e1370ae283%40googlegroups.com.
trex(read-only)>streams -p 6 7 14 --code
[verbose] Sending Request To Server:
{
"id": "os9i34te",
"jsonrpc": "2.0",
"method": "get_all_streams",
"params": {
"api_h": "2VM8fWV7",
"port_id": 6
}
}
[verbose] Server Response:
[
{
"id": "os9i34te",
"jsonrpc": "2.0",
"result": {
"streams": {
"1": {
"action_count": 0,
"enabled": true,
"flags": 3,
"flow_stats": {
"enabled": true,
"rule_type": "stats",
"stream_id": 102
},
"isg": 0,
"mode": {
"rate": {
"type": "pps",
"value": 1339285
},
"total_pkts": 1,
"type": "single_burst"
},
"next_stream_id": -1,
"packet": {
"binary": "AFBWud5xAFBWud5wgQAwZAgARQAAKgAAAABAEWjCCgAAAQgAAAEEAQAMABY/Caqqqqqqqqqqqqqqqqqq",
"meta": ""
},
"self_start": true,
"vm": {
"instructions": [
{
"init_value": 2147483647,
"max_value": 2147483900,
"min_value": 2147483647,
"name": "inc_4_253_1",
"op": "inc",
"size": 4,
"step": 1,
"type": "flow_var"
},
{
"add_value": -1979711486,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 30,
"type": "write_flow_var"
},
{
"add_value": -2013265918,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 34,
"type": "write_flow_var"
},
{
"pkt_offset": 18,
"type": "fix_checksum_ipv4"
}
]
}
},
"2": {
"action_count": 0,
"enabled": true,
"flags": 3,
"flow_stats": {
"enabled": true,
"rule_type": "stats",
"stream_id": 103
},
"isg": 0,
"mode": {
"rate": {
"type": "pps",
"value": 1339285
},
"total_pkts": 6696427,
"type": "single_burst"
},
"next_stream_id": -1,
"packet": {
"binary": "AFBWud5yAFBWud5wgQAwZAgARQAAKgAAAABAEWjCCgAAAQgAAAEEAQAMABY/Caqqqqqqqqqqqqqqqqqq",
"meta": ""
},
"self_start": true,
"vm": {
"instructions": [
{
"init_value": 2147483647,
"max_value": 2147483900,
"min_value": 2147483647,
"name": "inc_4_253_1",
"op": "inc",
"size": 4,
"step": 1,
"type": "flow_var"
},
{
"add_value": -1979711486,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 30,
"type": "write_flow_var"
},
{
"add_value": -2013265918,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 34,
"type": "write_flow_var"
},
{
"pkt_offset": 18,
"type": "fix_checksum_ipv4"
}
]
}
}
}
}
}
]
[verbose] Sending Request To Server:
{
"id": "f1n7nthe",
"jsonrpc": "2.0",
"method": "get_all_streams",
"params": {
"api_h": "2VM8fWV7",
"port_id": 7
}
}
[verbose] Server Response:
[
{
"id": "f1n7nthe",
"jsonrpc": "2.0",
"result": {
"streams": {
"1": {
"action_count": 0,
"enabled": true,
"flags": 3,
"flow_stats": {
"enabled": true,
"rule_type": "stats",
"stream_id": 203
},
"isg": 0,
"mode": {
"rate": {
"type": "pps",
"value": 1339285
},
"total_pkts": 1,
"type": "single_burst"
},
"next_stream_id": -1,
"packet": {
"binary": "AFBWud5yAFBWud5xgQAwZAgARQAAKgAAAABAEWjCCgAAAQgAAAEEAQAMABY/Caqqqqqqqqqqqqqqqqqq",
"meta": ""
},
"self_start": true,
"vm": {
"instructions": [
{
"init_value": 2147483647,
"max_value": 2147483900,
"min_value": 2147483647,
"name": "inc_4_253_1",
"op": "inc",
"size": 4,
"step": 1,
"type": "flow_var"
},
{
"add_value": -1979711486,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 30,
"type": "write_flow_var"
},
{
"add_value": -2013265918,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 34,
"type": "write_flow_var"
},
{
"pkt_offset": 18,
"type": "fix_checksum_ipv4"
}
]
}
},
"2": {
"action_count": 0,
"enabled": true,
"flags": 3,
"flow_stats": {
"enabled": true,
"rule_type": "stats",
"stream_id": 201
},
"isg": 0,
"mode": {
"rate": {
"type": "pps",
"value": 1339285
},
"total_pkts": 6696427,
"type": "single_burst"
},
"next_stream_id": -1,
"packet": {
"binary": "AFBWud5wAFBWud5xgQAwZAgARQAAKgAAAABAEWjCCgAAAQgAAAEEAQAMABY/Caqqqqqqqqqqqqqqqqqq",
"meta": ""
},
"self_start": true,
"vm": {
"instructions": [
{
"init_value": 2147483647,
"max_value": 2147483900,
"min_value": 2147483647,
"name": "inc_4_253_1",
"op": "inc",
"size": 4,
"step": 1,
"type": "flow_var"
},
{
"add_value": -1979711486,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 30,
"type": "write_flow_var"
},
{
"add_value": -2013265918,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 34,
"type": "write_flow_var"
},
{
"pkt_offset": 18,
"type": "fix_checksum_ipv4"
}
]
}
}
}
}
}
]
[verbose] Sending Request To Server:
{
"id": "u6ja65bb",
"jsonrpc": "2.0",
"method": "get_all_streams",
"params": {
"api_h": "2VM8fWV7",
"port_id": 14
}
}
[verbose] Server Response:
[
{
"id": "u6ja65bb",
"jsonrpc": "2.0",
"result": {
"streams": {
"1": {
"action_count": 0,
"enabled": true,
"flags": 3,
"flow_stats": {
"enabled": true,
"rule_type": "stats",
"stream_id": 301
},
"isg": 0,
"mode": {
"rate": {
"type": "pps",
"value": 1339285
},
"total_pkts": 1,
"type": "single_burst"
},
"next_stream_id": -1,
"packet": {
"binary": "AFBWud5wAFBWud5ygQAwZAgARQAAKgAAAABAEWjCCgAAAQgAAAEEAQAMABY/Caqqqqqqqqqqqqqqqqqq",
"meta": ""
},
"self_start": true,
"vm": {
"instructions": [
{
"init_value": 2147483647,
"max_value": 2147483900,
"min_value": 2147483647,
"name": "inc_4_253_1",
"op": "inc",
"size": 4,
"step": 1,
"type": "flow_var"
},
{
"add_value": -1979711486,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 30,
"type": "write_flow_var"
},
{
"add_value": -2013265918,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 34,
"type": "write_flow_var"
},
{
"pkt_offset": 18,
"type": "fix_checksum_ipv4"
}
]
}
},
"2": {
"action_count": 0,
"enabled": true,
"flags": 3,
"flow_stats": {
"enabled": true,
"rule_type": "stats",
"stream_id": 302
},
"isg": 0,
"mode": {
"rate": {
"type": "pps",
"value": 1339285
},
"total_pkts": 6696427,
"type": "single_burst"
},
"next_stream_id": -1,
"packet": {
"binary": "AFBWud5xAFBWud5ygQAwZAgARQAAKgAAAABAEWjCCgAAAQgAAAEEAQAMABY/Caqqqqqqqqqqqqqqqqqq",
"meta": ""
},
"self_start": true,
"vm": {
"instructions": [
{
"init_value": 2147483647,
"max_value": 2147483900,
"min_value": 2147483647,
"name": "inc_4_253_1",
"op": "inc",
"size": 4,
"step": 1,
"type": "flow_var"
},
{
"add_value": -1979711486,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 30,
"type": "write_flow_var"
},
{
"add_value": -2013265918,
"is_big_endian": true,
"name": "inc_4_253_1",
"pkt_offset": 34,
"type": "write_flow_var"
},
{
"pkt_offset": 18,
"type": "fix_checksum_ipv4"
}
]
}
}
}
}
}
]
Port: 6
Stream ID: 1
packet = (Ether(src='00:50:56:b9:de:70', dst='00:50:56:b9:de:71', type=33024) /
Dot1Q(vlan=100, type=2048, id=1, prio=1) /
IP(src='10.0.0.1', proto=17, dst='8.0.0.1', chksum=26818, len=42, ihl=5, id=0) /
UDP(dport=12, sport=1025, len=22, chksum=16137) /
Raw(load='\xaa' * 14))
vm = STLVM()
vm.var(name='inc_4_253_1', size=4, op='inc', init_value='127.255.255.255', min_value='127.255.255.255', max_value='128.0.0.252', step=1)
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.src', add_val=-1979711486, byte_order='big')
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.dst', add_val=-2013265918, byte_order='big')
vm.fix_chksum(offset='IP')
stream = STLStream(packet = STLPktBuilder(pkt = packet, vm = vm),
flow_stats = STLFlowStats(102),
mac_src_override_by_pkt = True,
mac_dst_override_mode = 1,
mode = STLTXSingleBurst(total_pkts = 1, pps = 1339285))
Stream ID: 2
packet = (Ether(src='00:50:56:b9:de:70', dst='00:50:56:b9:de:72', type=33024) /
Dot1Q(vlan=100, type=2048, id=1, prio=1) /
IP(src='10.0.0.1', proto=17, dst='8.0.0.1', chksum=26818, len=42, ihl=5, id=0) /
UDP(dport=12, sport=1025, len=22, chksum=16137) /
Raw(load='\xaa' * 14))
vm = STLVM()
vm.var(name='inc_4_253_1', size=4, op='inc', init_value='127.255.255.255', min_value='127.255.255.255', max_value='128.0.0.252', step=1)
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.src', add_val=-1979711486, byte_order='big')
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.dst', add_val=-2013265918, byte_order='big')
vm.fix_chksum(offset='IP')
stream = STLStream(packet = STLPktBuilder(pkt = packet, vm = vm),
flow_stats = STLFlowStats(103),
mac_src_override_by_pkt = True,
mac_dst_override_mode = 1,
mode = STLTXSingleBurst(total_pkts = 6696427, pps = 1339285))
Port: 7
Stream ID: 1
packet = (Ether(src='00:50:56:b9:de:71', dst='00:50:56:b9:de:72', type=33024) /
Dot1Q(vlan=100, type=2048, id=1, prio=1) /
IP(src='10.0.0.1', proto=17, dst='8.0.0.1', chksum=26818, len=42, ihl=5, id=0) /
UDP(dport=12, sport=1025, len=22, chksum=16137) /
Raw(load='\xaa' * 14))
vm = STLVM()
vm.var(name='inc_4_253_1', size=4, op='inc', init_value='127.255.255.255', min_value='127.255.255.255', max_value='128.0.0.252', step=1)
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.src', add_val=-1979711486, byte_order='big')
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.dst', add_val=-2013265918, byte_order='big')
vm.fix_chksum(offset='IP')
stream = STLStream(packet = STLPktBuilder(pkt = packet, vm = vm),
flow_stats = STLFlowStats(203),
mac_src_override_by_pkt = True,
mac_dst_override_mode = 1,
mode = STLTXSingleBurst(total_pkts = 1, pps = 1339285))
Stream ID: 2
packet = (Ether(src='00:50:56:b9:de:71', dst='00:50:56:b9:de:70', type=33024) /
Dot1Q(vlan=100, type=2048, id=1, prio=1) /
IP(src='10.0.0.1', proto=17, dst='8.0.0.1', chksum=26818, len=42, ihl=5, id=0) /
UDP(dport=12, sport=1025, len=22, chksum=16137) /
Raw(load='\xaa' * 14))
vm = STLVM()
vm.var(name='inc_4_253_1', size=4, op='inc', init_value='127.255.255.255', min_value='127.255.255.255', max_value='128.0.0.252', step=1)
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.src', add_val=-1979711486, byte_order='big')
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.dst', add_val=-2013265918, byte_order='big')
vm.fix_chksum(offset='IP')
stream = STLStream(packet = STLPktBuilder(pkt = packet, vm = vm),
flow_stats = STLFlowStats(201),
mac_src_override_by_pkt = True,
mac_dst_override_mode = 1,
mode = STLTXSingleBurst(total_pkts = 6696427, pps = 1339285))
Port: 14
Stream ID: 1
packet = (Ether(src='00:50:56:b9:de:72', dst='00:50:56:b9:de:70', type=33024) /
Dot1Q(vlan=100, type=2048, id=1, prio=1) /
IP(src='10.0.0.1', proto=17, dst='8.0.0.1', chksum=26818, len=42, ihl=5, id=0) /
UDP(dport=12, sport=1025, len=22, chksum=16137) /
Raw(load='\xaa' * 14))
vm = STLVM()
vm.var(name='inc_4_253_1', size=4, op='inc', init_value='127.255.255.255', min_value='127.255.255.255', max_value='128.0.0.252', step=1)
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.src', add_val=-1979711486, byte_order='big')
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.dst', add_val=-2013265918, byte_order='big')
vm.fix_chksum(offset='IP')
stream = STLStream(packet = STLPktBuilder(pkt = packet, vm = vm),
flow_stats = STLFlowStats(301),
mac_src_override_by_pkt = True,
mac_dst_override_mode = 1,
mode = STLTXSingleBurst(total_pkts = 1, pps = 1339285))
Stream ID: 2
packet = (Ether(src='00:50:56:b9:de:72', dst='00:50:56:b9:de:71', type=33024) /
Dot1Q(vlan=100, type=2048, id=1, prio=1) /
IP(src='10.0.0.1', proto=17, dst='8.0.0.1', chksum=26818, len=42, ihl=5, id=0) /
UDP(dport=12, sport=1025, len=22, chksum=16137) /
Raw(load='\xaa' * 14))
vm = STLVM()
vm.var(name='inc_4_253_1', size=4, op='inc', init_value='127.255.255.255', min_value='127.255.255.255', max_value='128.0.0.252', step=1)
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.src', add_val=-1979711486, byte_order='big')
vm.write(fv_name='inc_4_253_1', pkt_offset='IP.dst', add_val=-2013265918, byte_order='big')
vm.fix_chksum(offset='IP')
stream = STLStream(packet = STLPktBuilder(pkt = packet, vm = vm),
flow_stats = STLFlowStats(302),
mac_src_override_by_pkt = True,
mac_dst_override_mode = 1,
mode = STLTXSingleBurst(total_pkts = 6696427, pps = 1339285))Hi, Divya.
I'm out of office for some time.
Could you try using different pg_id for different port(s), so that they don't interfere in statistics?
Thanks,
Yaroslav
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/0fae7ba7-00e4-45ff-8102-27ca345be1e7%40googlegroups.com.
stats(14,ibytes) = 428571328stats(14,ierrors) = 0stats(14,ipackets) = 6696427stats(14,obytes) = 0stats(14,oerrors) = 0stats(14,opackets) = 0stats(14,rx_bps) = 242386816.0stats(14,rx_bps_L1) = 318132656.0stats(14,rx_pps) = 473411.5stats(14,rx_util) = 3.18132656stats(14,tx_bps) = 42744.2stats(14,tx_bps_L1) = 56104.2stats(14,tx_pps) = 83.5stats(14,tx_util) = 0.000561042stats(6,ibytes) = 0stats(6,ierrors) = 0stats(6,ipackets) = 0stats(6,obytes) = 428571392stats(6,oerrors) = 0stats(6,opackets) = 6696428stats(6,rx_bps) = 42827.2stats(6,rx_bps_L1) = 56203.2stats(6,rx_pps) = 83.6stats(6,rx_util) = 0.00562032stats(6,tx_bps) = 242483504.0stats(6,tx_bps_L1) = 318259536.0stats(6,tx_pps) = 473600.2stats(6,tx_util) = 31.8259536stats(7,ibytes) = 64stats(7,ierrors) = 0stats(7,ipackets) = 1stats(7,obytes) = 0stats(7,oerrors) = 0stats(7,opackets) = 0stats(7,rx_bps) = 42769.1stats(7,rx_bps_L1) = 56129.1stats(7,rx_pps) = 83.5stats(7,rx_util) = 0.000561291stats(7,tx_bps) = 42826.0stats(7,tx_bps_L1) = 56202.0stats(7,tx_pps) = 83.6stats(7,tx_util) = 0.00056202stats(flow_stats,102,rx_pkts,15) = 1
stats(flow_stats,102,rx_pkts,7) = 1
stats(flow_stats,102,rx_pkts,total) = 2
stats(flow_stats,102,tx_bytes,6) = 64
stats(flow_stats,102,tx_bytes,total) = 64
stats(flow_stats,102,tx_pkts,6) = 1
stats(flow_stats,102,tx_pkts,total) = 1
stats(flow_stats,103,rx_pkts,14) = 6696427
stats(flow_stats,103,rx_pkts,6) = 6696427
stats(flow_stats,103,rx_pkts,total) = 13392854
stats(flow_stats,103,tx_bytes,6) = 428571328
stats(flow_stats,103,tx_bytes,total) = 428571328
stats(flow_stats,103,tx_pkts,6) = 6696427
stats(flow_stats,103,tx_pkts,total) = 6696427
stats(global,bw_per_core) = 5.867stats(global,cpu_util) = 1.034stats(global,queue_full) = 0stats(global,rx_bps) = 242472416.0stats(global,rx_cpu_util) = 0.0stats(global,rx_drop_bps) = 0.0stats(global,rx_pps) = 473578.7stats(global,tx_bps) = 242569072.0stats(global,tx_pps) = 473767.4stats(total,ibytes) = 428571392stats(total,ierrors) = 0stats(total,ipackets) = 6696428stats(total,obytes) = 428571392stats(total,oerrors) = 0stats(total,opackets) = 6696428stats(total,rx_bps) = 242472412.3stats(total,rx_bps_L1) = 318244988.3stats(total,rx_pps) = 473578.6stats(total,rx_util) = 3.187508171stats(total,tx_bps) = 242569074.2stats(total,tx_bps_L1) = 318371842.2stats(total,tx_pps) = 473767.3stats(total,tx_util) = 31.827076662Hi, Divya.
As we can't reproduce the issue, any new inputs are valuable.
Regarding latest results, could you clarify how did you run it?
1. Run the server
2. Clear stats
3. Start transmitting from single port 6
4. Stopped the traffic
5. Got shown results
Is it according to algorithm above?
Did the error appear immediately or you repeated steps 2-5?
Another question, are all interfaces of used NICs are in use by TRex? Or there are some interfaces under ESXi/Linux driver?
Thanks,
Yaroslav
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/6a0b3461-d256-42e2-b29e-c71d39efcd9f%40googlegroups.com.
And another question, are the stats you show were taken directly from JSON-RPC or from Python API? If it is the second, could you attach JSON-RPC response of stats?
1. Run the server
2. Clear stats
3. Start transmitting from single port 6
4. Stopped the traffic
5. Got shown results
Is it according to algorithm above?
Did the error appear immediately or you repeated steps 2-5?
Another question, are all interfaces of used NICs are in use by TRex? Or there are some interfaces under ESXi/Linux driver?
And another question, are the stats you show were taken directly from JSON-RPC or from Python API? If it is the second, could you attach JSON-RPC response of stats?
Hi Yaroslav,Did you get the chance to investigate the issue?
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/dff00cdc-6e4d-4651-8782-d05101c74d6b%40googlegroups.com.
Ok, I'll wait for your troubleshooting. This is kind of blocking for the tests, your inputs will be helpful to figure out and resolve the issue.
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/06cacbcd-8d8c-466a-8a4e-bdba12e8f5c3%40googlegroups.com.
Another thing, could you try the same tests with loopback or switch?
Could you confirm or refute that in the last test two iterations occurred after fresh run of TRex server?
It would be good to get RPC correspondence with the branch I've shared (and single port transmission).
Also, it would be good [in addition] to see "xstats" at beginning and end of iteration 2.
I have re-executed the test with single port transmission after fresh start of TRex server (using your branch) and collected RPC console log. PFA trex-console-verbose.log. (Headers are included in the log to show when those commands were executed on console).
"build_date": "May 22 2018",
"build_time": "02:49:36",
"built_by": "root",
"mode": "STL",
"version": "v2.36"
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/42f0f5b7-0ac3-43a0-b5e0-039694824c33%40googlegroups.com.
Yes, it was built from package which you shared (https://github.com/ybrustin/trex-core/tree/flow_stats_nan_rates).
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/81b86083-4736-47c3-a220-3270bed331eb%40googlegroups.com.
Did the last attachment with xstats correspond to error in the flow stats?
secIter(14,stream,102,rx,line_rate_percentage) = 0.0
secIter(14,stream,102,rx,total_pkt_bit_rate) = 0
secIter(14,stream,102,rx,total_pkt_bytes) = N/A
secIter(14,stream,102,rx,total_pkt_rate) = 0
secIter(14,stream,102,rx,total_pkts) = 0
secIter(14,stream,102,rx,total_pkts_bytes) = N/A
secIter(14,stream,102,tx,line_rate_percentage) = 0.0
secIter(14,stream,102,tx,total_pkt_bit_rate) = 0
secIter(14,stream,102,tx,total_pkt_bytes) = 0
secIter(14,stream,102,tx,total_pkt_rate) = 0
secIter(14,stream,102,tx,total_pkts) = 0
secIter(14,stream,102,tx,total_pkts_bytes) = 0
secIter(14,stream,103,rx,line_rate_percentage) = 0.0
secIter(14,stream,103,rx,total_pkt_bit_rate) = 0
secIter(14,stream,103,rx,total_pkt_bytes) = N/A
secIter(14,stream,103,rx,total_pkt_rate) = 0
secIter(14,stream,103,rx,total_pkts) = 6696427
secIter(14,stream,103,rx,total_pkts_bytes) = N/A
secIter(14,stream,103,tx,line_rate_percentage) = 0.0
secIter(14,stream,103,tx,total_pkt_bit_rate) = 0
secIter(14,stream,103,tx,total_pkt_bytes) = 0
secIter(14,stream,103,tx,total_pkt_rate) = 0
secIter(14,stream,103,tx,total_pkts) = 0
secIter(14,stream,103,tx,total_pkts_bytes) = 0
secIter(14,stream,201,rx,line_rate_percentage) = 0.0
secIter(14,stream,201,rx,total_pkt_bit_rate) = 0
secIter(14,stream,201,rx,total_pkt_bytes) = N/A
secIter(14,stream,201,rx,total_pkt_rate) = 0
secIter(14,stream,201,rx,total_pkts) = 0
secIter(14,stream,201,rx,total_pkts_bytes) = N/A
secIter(14,stream,201,tx,line_rate_percentage) = 0.0
secIter(14,stream,201,tx,total_pkt_bit_rate) = 0
secIter(14,stream,201,tx,total_pkt_bytes) = 0
secIter(14,stream,201,tx,total_pkt_rate) = 0
secIter(14,stream,201,tx,total_pkts) = 0
secIter(14,stream,201,tx,total_pkts_bytes) = 0
secIter(14,stream,203,rx,line_rate_percentage) = 0.0
secIter(14,stream,203,rx,total_pkt_bit_rate) = 0
secIter(14,stream,203,rx,total_pkt_bytes) = N/A
secIter(14,stream,203,rx,total_pkt_rate) = 0
secIter(14,stream,203,rx,total_pkts) = 0
secIter(14,stream,203,rx,total_pkts_bytes) = N/A
secIter(14,stream,203,tx,line_rate_percentage) = 0.0
secIter(14,stream,203,tx,total_pkt_bit_rate) = 0
secIter(14,stream,203,tx,total_pkt_bytes) = 0
secIter(14,stream,203,tx,total_pkt_rate) = 0
secIter(14,stream,203,tx,total_pkts) = 0
secIter(14,stream,203,tx,total_pkts_bytes) = 0
secIter(14,stream,301,rx,line_rate_percentage) = 0.0
secIter(14,stream,301,rx,total_pkt_bit_rate) = 0
secIter(14,stream,301,rx,total_pkt_bytes) = N/A
secIter(14,stream,301,rx,total_pkt_rate) = 0
secIter(14,stream,301,rx,total_pkts) = 0
secIter(14,stream,301,rx,total_pkts_bytes) = N/A
secIter(14,stream,301,tx,line_rate_percentage) = 0.0
secIter(14,stream,301,tx,total_pkt_bit_rate) = 0
secIter(14,stream,301,tx,total_pkt_bytes) = 0
secIter(14,stream,301,tx,total_pkt_rate) = 0
secIter(14,stream,301,tx,total_pkts) = 0
secIter(14,stream,301,tx,total_pkts_bytes) = 0
secIter(14,stream,302,rx,line_rate_percentage) = 0.0
secIter(14,stream,302,rx,total_pkt_bit_rate) = 0
secIter(14,stream,302,rx,total_pkt_bytes) = N/A
secIter(14,stream,302,rx,total_pkt_rate) = 0
secIter(14,stream,302,rx,total_pkts) = 0
secIter(14,stream,302,rx,total_pkts_bytes) = N/A
secIter(14,stream,302,tx,line_rate_percentage) = 0.0
secIter(14,stream,302,tx,total_pkt_bit_rate) = 0
secIter(14,stream,302,tx,total_pkt_bytes) = 0
secIter(14,stream,302,tx,total_pkt_rate) = 0
secIter(14,stream,302,tx,total_pkts) = 0
secIter(14,stream,302,tx,total_pkts_bytes) = 0
secIter(6,stream,102,rx,line_rate_percentage) = 0.0
secIter(6,stream,102,rx,total_pkt_bit_rate) = 0
secIter(6,stream,102,rx,total_pkt_bytes) = N/A
secIter(6,stream,102,rx,total_pkt_rate) = 0
secIter(6,stream,102,rx,total_pkts) = 0
secIter(6,stream,102,rx,total_pkts_bytes) = N/A
secIter(6,stream,102,tx,line_rate_percentage) = 0.0
secIter(6,stream,102,tx,total_pkt_bit_rate) = 0
secIter(6,stream,102,tx,total_pkt_bytes) = 64
secIter(6,stream,102,tx,total_pkt_rate) = 0
secIter(6,stream,102,tx,total_pkts) = 1
secIter(6,stream,102,tx,total_pkts_bytes) = 64
secIter(6,stream,103,rx,line_rate_percentage) = 0.0
secIter(6,stream,103,rx,total_pkt_bit_rate) = 0
secIter(6,stream,103,rx,total_pkt_bytes) = N/A
secIter(6,stream,103,rx,total_pkt_rate) = 0
secIter(6,stream,103,rx,total_pkts) = 6696427
secIter(6,stream,103,rx,total_pkts_bytes) = N/A
secIter(6,stream,103,tx,line_rate_percentage) = 0.0
secIter(6,stream,103,tx,total_pkt_bit_rate) = 0
secIter(6,stream,103,tx,total_pkt_bytes) = 428571328
secIter(6,stream,103,tx,total_pkt_rate) = 0
secIter(6,stream,103,tx,total_pkts) = 6696427
secIter(6,stream,103,tx,total_pkts_bytes) = 428571328
secIter(6,stream,201,rx,line_rate_percentage) = 0.0
secIter(6,stream,201,rx,total_pkt_bit_rate) = 0
secIter(6,stream,201,rx,total_pkt_bytes) = N/A
secIter(6,stream,201,rx,total_pkt_rate) = 0
secIter(6,stream,201,rx,total_pkts) = 0
secIter(6,stream,201,rx,total_pkts_bytes) = N/A
secIter(6,stream,201,tx,line_rate_percentage) = 0.0
secIter(6,stream,201,tx,total_pkt_bit_rate) = 0
secIter(6,stream,201,tx,total_pkt_bytes) = 0
secIter(6,stream,201,tx,total_pkt_rate) = 0
secIter(6,stream,201,tx,total_pkts) = 0
secIter(6,stream,201,tx,total_pkts_bytes) = 0
secIter(6,stream,203,rx,line_rate_percentage) = 0.0
secIter(6,stream,203,rx,total_pkt_bit_rate) = 0
secIter(6,stream,203,rx,total_pkt_bytes) = N/A
secIter(6,stream,203,rx,total_pkt_rate) = 0
secIter(6,stream,203,rx,total_pkts) = 0
secIter(6,stream,203,rx,total_pkts_bytes) = N/A
secIter(6,stream,203,tx,line_rate_percentage) = 0.0
secIter(6,stream,203,tx,total_pkt_bit_rate) = 0
secIter(6,stream,203,tx,total_pkt_bytes) = 0
secIter(6,stream,203,tx,total_pkt_rate) = 0
secIter(6,stream,203,tx,total_pkts) = 0
secIter(6,stream,203,tx,total_pkts_bytes) = 0
secIter(6,stream,301,rx,line_rate_percentage) = 0.0
secIter(6,stream,301,rx,total_pkt_bit_rate) = 0
secIter(6,stream,301,rx,total_pkt_bytes) = N/A
secIter(6,stream,301,rx,total_pkt_rate) = 0
secIter(6,stream,301,rx,total_pkts) = 0
secIter(6,stream,301,rx,total_pkts_bytes) = N/A
secIter(6,stream,301,tx,line_rate_percentage) = 0.0
secIter(6,stream,301,tx,total_pkt_bit_rate) = 0
secIter(6,stream,301,tx,total_pkt_bytes) = 0
secIter(6,stream,301,tx,total_pkt_rate) = 0
secIter(6,stream,301,tx,total_pkts) = 0
secIter(6,stream,301,tx,total_pkts_bytes) = 0
secIter(6,stream,302,rx,line_rate_percentage) = 0.0
secIter(6,stream,302,rx,total_pkt_bit_rate) = 0
secIter(6,stream,302,rx,total_pkt_bytes) = N/A
secIter(6,stream,302,rx,total_pkt_rate) = 0
secIter(6,stream,302,rx,total_pkts) = 0
secIter(6,stream,302,rx,total_pkts_bytes) = N/A
secIter(6,stream,302,tx,line_rate_percentage) = 0.0
secIter(6,stream,302,tx,total_pkt_bit_rate) = 0
secIter(6,stream,302,tx,total_pkt_bytes) = 0
secIter(6,stream,302,tx,total_pkt_rate) = 0
secIter(6,stream,302,tx,total_pkts) = 0
secIter(6,stream,302,tx,total_pkts_bytes) = 0
secIter(7,stream,102,rx,line_rate_percentage) = 0.0
secIter(7,stream,102,rx,total_pkt_bit_rate) = 0
secIter(7,stream,102,rx,total_pkt_bytes) = N/A
secIter(7,stream,102,rx,total_pkt_rate) = 0
secIter(7,stream,102,rx,total_pkts) = 1
secIter(7,stream,102,rx,total_pkts_bytes) = N/A
secIter(7,stream,102,tx,line_rate_percentage) = 0.0
secIter(7,stream,102,tx,total_pkt_bit_rate) = 0
secIter(7,stream,102,tx,total_pkt_bytes) = 0
secIter(7,stream,102,tx,total_pkt_rate) = 0
secIter(7,stream,102,tx,total_pkts) = 0
secIter(7,stream,102,tx,total_pkts_bytes) = 0
secIter(7,stream,103,rx,line_rate_percentage) = 0.0
secIter(7,stream,103,rx,total_pkt_bit_rate) = 0
secIter(7,stream,103,rx,total_pkt_bytes) = N/A
secIter(7,stream,103,rx,total_pkt_rate) = 0
secIter(7,stream,103,rx,total_pkts) = 0
secIter(7,stream,103,rx,total_pkts_bytes) = N/A
secIter(7,stream,103,tx,line_rate_percentage) = 0.0
secIter(7,stream,103,tx,total_pkt_bit_rate) = 0
secIter(7,stream,103,tx,total_pkt_bytes) = 0
secIter(7,stream,103,tx,total_pkt_rate) = 0
secIter(7,stream,103,tx,total_pkts) = 0
secIter(7,stream,103,tx,total_pkts_bytes) = 0
secIter(7,stream,201,rx,line_rate_percentage) = 0.0
secIter(7,stream,201,rx,total_pkt_bit_rate) = 0
secIter(7,stream,201,rx,total_pkt_bytes) = N/A
secIter(7,stream,201,rx,total_pkt_rate) = 0
secIter(7,stream,201,rx,total_pkts) = 0
secIter(7,stream,201,rx,total_pkts_bytes) = N/A
secIter(7,stream,201,tx,line_rate_percentage) = 0.0
secIter(7,stream,201,tx,total_pkt_bit_rate) = 0
secIter(7,stream,201,tx,total_pkt_bytes) = 0
secIter(7,stream,201,tx,total_pkt_rate) = 0
secIter(7,stream,201,tx,total_pkts) = 0
secIter(7,stream,201,tx,total_pkts_bytes) = 0
secIter(7,stream,203,rx,line_rate_percentage) = 0.0
secIter(7,stream,203,rx,total_pkt_bit_rate) = 0
secIter(7,stream,203,rx,total_pkt_bytes) = N/A
secIter(7,stream,203,rx,total_pkt_rate) = 0
secIter(7,stream,203,rx,total_pkts) = 0
secIter(7,stream,203,rx,total_pkts_bytes) = N/A
secIter(7,stream,203,tx,line_rate_percentage) = 0.0
secIter(7,stream,203,tx,total_pkt_bit_rate) = 0
secIter(7,stream,203,tx,total_pkt_bytes) = 0
secIter(7,stream,203,tx,total_pkt_rate) = 0
secIter(7,stream,203,tx,total_pkts) = 0
secIter(7,stream,203,tx,total_pkts_bytes) = 0
secIter(7,stream,301,rx,line_rate_percentage) = 0.0
secIter(7,stream,301,rx,total_pkt_bit_rate) = 0
secIter(7,stream,301,rx,total_pkt_bytes) = N/A
secIter(7,stream,301,rx,total_pkt_rate) = 0
secIter(7,stream,301,rx,total_pkts) = 0
secIter(7,stream,301,rx,total_pkts_bytes) = N/A
secIter(7,stream,301,tx,line_rate_percentage) = 0.0
secIter(7,stream,301,tx,total_pkt_bit_rate) = 0
secIter(7,stream,301,tx,total_pkt_bytes) = 0
secIter(7,stream,301,tx,total_pkt_rate) = 0
secIter(7,stream,301,tx,total_pkts) = 0
secIter(7,stream,301,tx,total_pkts_bytes) = 0
secIter(7,stream,302,rx,line_rate_percentage) = 0.0
secIter(7,stream,302,rx,total_pkt_bit_rate) = 0
secIter(7,stream,302,rx,total_pkt_bytes) = N/A
secIter(7,stream,302,rx,total_pkt_rate) = 0
secIter(7,stream,302,rx,total_pkts) = 0
secIter(7,stream,302,rx,total_pkts_bytes) = N/A
secIter(7,stream,302,tx,line_rate_percentage) = 0.0
secIter(7,stream,302,tx,total_pkt_bit_rate) = 0
secIter(7,stream,302,tx,total_pkt_bytes) = 0
secIter(7,stream,302,tx,total_pkt_rate) = 0
secIter(7,stream,302,tx,total_pkts) = 0
secIter(7,stream,302,tx,total_pkts_bytes) = 0
secIter(arp) = -
secIter(description) = Ethernet Controller X710 for 10GbE SFP+
secIter(dest) = 00:00:00:00:1f:00
secIter(driver) = net_i40e
secIter(fc) = none
secIter(fc_supported) = no
secIter(grat_arp) = off
secIter(hw_mac) = 00:90:0b:6d:37:32
secIter(index) = 14
secIter(is_fc_supported) = 0
secIter(is_led_supported) = 1
secIter(is_link_supported) = 1
secIter(is_virtual) = no
secIter(layer_mode) = Ethernet
secIter(led_change_supported) = yes
secIter(link) = UP
secIter(link_change_supported) = yes
secIter(log) =
secIter(mult) = off
secIter(numa) = 0
secIter(pci_addr) = 0000:00:1e.0
secIter(port_handle,14) = 14
secIter(port_handle,6) = 6
secIter(port_handle,7) = 7
secIter(prom) = on
secIter(prom_supported) = N/A
secIter(rx,caps) = flow_stats latency
secIter(rx,counters) = 127
secIter(rx_filter_mode) = hardware match
secIter(rx_queue) = off
secIter(speed) = 10
secIter(src_ipv4) = -
secIter(src_mac) = 00:00:00:00:1e:00
secIter(status) = 1
secIter(stopped) = 1
secIter(stream_id) = 302
secIter(supp_speeds) = 1000 10000
secIter(vlan) = -I've pushed another branch:
https://github.com/ybrustin/trex-core/tree/flow_stats_debug
It has two defines which would allow to debug it better by printing of TRex server:
1. All RPC conversation (request and response)
2. Flow stats entry to functions.
Please run the server with "--iom 0" so that there will be no usual statistics prints, only the debug ones.
Please attach output of server, and erroneous flow stats.
Also, please share the command you run the server.
If you could send single Python file to run and reproduce the error, it would help much.
secIter(6,stream,102,tx,total_pkts) = 1
secIter(7,stream,102,rx,total_pkts) = 1
secIter(6,stream,103,rx,total_pkts) = 6696427
secIter(6,stream,103,tx,total_pkts) = 6696427
secIter(14,stream,103,rx,total_pkts) = 6696427
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/3279933b-7d6e-4add-b23d-a9b4e9b60b74%40googlegroups.com.
...
[Message clipped]
So as you said that it'll not be fixed now just notify user about the error situation, any idea by which release it could be fixed?
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/637d117d-1b94-4681-bc28-91734a62e669%40googlegroups.com.
Will be used in next version (v2.42)
Hi Divya,
TRex version v2.43 was released with a few bug fixes.
WARNING: this version includes the consolidation of Client Python ASTF so a few things was changed in Python side, read the release notes for more info.
thanks,
Hanoh
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/edc1242c-8204-47fc-9980-ef1c82cea9c8%40googlegroups.com.