csit/resources/tools/trex/trex_stateless_stop.py, branch oper-241202 Integration tests http://git.fd.io/csit/atom?h=oper-241202 2020-05-06T14:03:21+00:00 Separate files needing GPL license 2020-05-06T14:03:21+00:00 Vratko Polak vrpolak@cisco.com 2020-05-04T11:05:26+00:00 urn:sha1:79f5ba9bf7656972dd988508eff9465562dde42c + Keep apache license for now, until this is completed: https://wiki.fd.io/view/TSC/Relicensing_Procedure + Add utilities for switching license comment blocks. - They do not preserve attributes, so executable flag is lost. + Move the affected files to GPL/. + Update paths so files are executed from the new location. + Change the way scripts are started to do not require executable flag. + Employ OptionString when constructing longer command lines. + Move also PacketVerifier.py and TrafficScriptArg.py as they are linked with traffic scripts. + That means the two files are outside "resources" package tree now. + Added __init__.py files so relative imports work in new package tree. + Start traffic scripts as python modules to allow relative imports. + Once again needed because they are outside the default PYTHONPATH. Change-Id: Ieb135629e890adbaf5b79497570f3be25b746f9f Signed-off-by: Vratko Polak <vrpolak@cisco.com> Performance: TRex approximatedDuration and approximateRate 2020-04-27T13:57:08+00:00 Peter Mikus pmikus@cisco.com 2020-01-10T12:44:45+00:00 urn:sha1:fcce2ca13e7dacebf719fd9f7a6dcc8fb24f56ef - API to provide duration for send and receive traffic Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Id186a200be66b7703348e6fd3099ffd405e915ae T-Rex: Upgrade to 2.73 with DDP profile fix 2020-01-07T15:46:40+00:00 Peter Mikus pmikus@cisco.com 2019-12-10T09:04:59+00:00 urn:sha1:45b4d9166c38767d18f4b73403927a2c5494cc6a Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Icaa99e0a71a19ba23697c21a4b5aa046813a718a Python3: resources and libraries 2019-11-28T17:26:21+00:00 Jan Gelety jgelety@cisco.com 2019-11-12T04:27:43+00:00 urn:sha1:d68951ac245150eeefa6e0f4156e4c1b5c9e9325 Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2 Signed-off-by: Jan Gelety <jgelety@cisco.com> Reconf tests: Fix async measurements 2019-09-24T07:47:06+00:00 Vratko Polak vrpolak@cisco.com 2019-09-23T13:00:00+00:00 urn:sha1:bab0b570345ceb6ffeaec9e47a50e62d7303387e TRex does not zero the server counters. It copies the values to use as reference, and subtracts them when asked for results. But the reference is stored in the client (not the server). And CSIT uses different scripts to start and stop async traffic, which means different clients. This patch introduces a workaround. Async start will return xstats objects to use as reference, and async stop will use the objects to compute the correct results. The xstats objects are stored in TrafficGenerator instance. Sync measurement does not export the counters, to shorten logs. Other improvements: + Make stop_traffic_on_tg return measurement results directly. + Rename --async to --async_start as "async" is reserved in Python 3.7 + Minor pylint, docstring and typo fixes. Change-Id: I5fc56a0763afb7d62cfa7c0651f96b6867de3e15 Signed-off-by: Vratko Polak <vrpolak@cisco.com> TRex: 2.61 2019-09-12T07:10:34+00:00 Peter Mikus pmikus@cisco.com 2019-09-11T11:19:27+00:00 urn:sha1:6a80c9028d71a1502a2f2a64b4646af4c5958733 - HDRhistogram can be rebased and used in separate patch. Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ic7ce752344c6e1791af7cf7b7effde65ac2be680 Introduce reconfig suites, for dot1q+ip4+vxlan 2019-08-23T15:00:29+00:00 Vratko Polak vrpolak@cisco.com 2019-08-23T15:00:29+00:00 urn:sha1:ff820e3d53434889aacde2373314c3be8d00f765 Ticket: CSIT-1551 + Config copied from other suites. + Layer keywords prepared for additional chains. + Renamed "create" argument to "vlan_per_chain". + TrafficGenerator result extraction improvements. + Also unified TG type and subtype checking. + Throughput estimated as PDR for zero PLR. + Actual Qemu start is skipped. + Parse xstats instead of stats in trex stop scipt. - Because stats are unconditionally cleared on each script connect. + Remember start values to get better ReceiveMeasurementResult at stop. + Expose loss count and time as appropriate test message. + Autogen support. + Multiple chain amounts and core densities. - Only 1 additional chain. + Proper TAGs. Documented. + Clarified min framesize tags are for TG-DUT. + Added a TODO concerning overhead values. + Added 118B tag. + Robot performance keywords improvements. + Added missing return value documentation. + Frame size as required test variable, not an explicit argument. + MLRsearch keyword to store result (not into test message). - TODO: De-duplicate: main keyword to measure, minor to set test message. - But implementation uses the fact default arguments are different. + Keywords for starting and stopping background traffic. - No checks whether start-stop pair is complete. + Multiple minor indentation and logging improvements. - Missing / TODOs: - Support also vlan_per_chain=True? - Support dot1q without vxlan? - Support also deletion? - How to package config steps so -reconf can be generated from -ndrpdr? Change-Id: If0270697f9ffa837c34ef802917220a53f156703 Signed-off-by: Vratko Polak <vrpolak@cisco.com> Python3: TRex driver 2019-06-10T07:53:37+00:00 Peter Mikus pmikus@cisco.com 2019-06-06T12:19:59+00:00 urn:sha1:dc3efb44b1b30554f2aa46752cf0db119b79ee6c Change-Id: I25f7598b52c87ec1a2d4c6f22680d5200b583e2c Signed-off-by: Peter Mikus <pmikus@cisco.com> CSIT-1425 Upgrade TRex to v2.54 2019-05-24T09:40:06+00:00 Tibor Frank tifrank@cisco.com 2019-02-05T09:20:41+00:00 urn:sha1:f90655a9efa6c97a8901ce5095bc64b0c7518739 Change-Id: I71010c18210e88828ded0bc679997d76f34886cb Signed-off-by: Peter Mikus <pmikus@cisco.com> CSIT-885 Updagrade TRex to v2.35 2018-01-04T11:24:34+00:00 Peter Mikus pmikus@cisco.com 2018-01-04T08:56:37+00:00 urn:sha1:45393e98c3162faaa2fdc86ef471798a8e4bb5f2 Change-Id: I82681fc9ea52d72323d48ac78507ef1c571ca712 Signed-off-by: Peter Mikus <pmikus@cisco.com>
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>csit/resources/tools/trex/trex_stateless_stop.py, branch oper-241202</title>
<subtitle>Integration tests</subtitle>
<id>http://git.fd.io/csit/atom?h=oper-241202</id>
<link rel="self" href="http://git.fd.io/csit/atom?h=oper-241202"/>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/"/>
<updated>2020-05-06T14:03:21+00:00</updated>
<entry>
<title>Separate files needing GPL license</title>
<updated>2020-05-06T14:03:21+00:00</updated>
<author>
<name>Vratko Polak</name>
<email>vrpolak@cisco.com</email>
</author>
<published>2020-05-04T11:05:26+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=79f5ba9bf7656972dd988508eff9465562dde42c"/>
<id>urn:sha1:79f5ba9bf7656972dd988508eff9465562dde42c</id>
<content type="text"> + Keep apache license for now, until this is completed: https://wiki.fd.io/view/TSC/Relicensing_Procedure + Add utilities for switching license comment blocks. - They do not preserve attributes, so executable flag is lost. + Move the affected files to GPL/. + Update paths so files are executed from the new location. + Change the way scripts are started to do not require executable flag. + Employ OptionString when constructing longer command lines. + Move also PacketVerifier.py and TrafficScriptArg.py as they are linked with traffic scripts. + That means the two files are outside "resources" package tree now. + Added __init__.py files so relative imports work in new package tree. + Start traffic scripts as python modules to allow relative imports. + Once again needed because they are outside the default PYTHONPATH. Change-Id: Ieb135629e890adbaf5b79497570f3be25b746f9f Signed-off-by: Vratko Polak <vrpolak@cisco.com> </content>
</entry>
<entry>
<title>Performance: TRex approximatedDuration and approximateRate</title>
<updated>2020-04-27T13:57:08+00:00</updated>
<author>
<name>Peter Mikus</name>
<email>pmikus@cisco.com</email>
</author>
<published>2020-01-10T12:44:45+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=fcce2ca13e7dacebf719fd9f7a6dcc8fb24f56ef"/>
<id>urn:sha1:fcce2ca13e7dacebf719fd9f7a6dcc8fb24f56ef</id>
<content type="text"> - API to provide duration for send and receive traffic Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Id186a200be66b7703348e6fd3099ffd405e915ae </content>
</entry>
<entry>
<title>T-Rex: Upgrade to 2.73 with DDP profile fix</title>
<updated>2020-01-07T15:46:40+00:00</updated>
<author>
<name>Peter Mikus</name>
<email>pmikus@cisco.com</email>
</author>
<published>2019-12-10T09:04:59+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=45b4d9166c38767d18f4b73403927a2c5494cc6a"/>
<id>urn:sha1:45b4d9166c38767d18f4b73403927a2c5494cc6a</id>
<content type="text"> Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Icaa99e0a71a19ba23697c21a4b5aa046813a718a </content>
</entry>
<entry>
<title>Python3: resources and libraries</title>
<updated>2019-11-28T17:26:21+00:00</updated>
<author>
<name>Jan Gelety</name>
<email>jgelety@cisco.com</email>
</author>
<published>2019-11-12T04:27:43+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=d68951ac245150eeefa6e0f4156e4c1b5c9e9325"/>
<id>urn:sha1:d68951ac245150eeefa6e0f4156e4c1b5c9e9325</id>
<content type="text"> Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2 Signed-off-by: Jan Gelety <jgelety@cisco.com> </content>
</entry>
<entry>
<title>Reconf tests: Fix async measurements</title>
<updated>2019-09-24T07:47:06+00:00</updated>
<author>
<name>Vratko Polak</name>
<email>vrpolak@cisco.com</email>
</author>
<published>2019-09-23T13:00:00+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=bab0b570345ceb6ffeaec9e47a50e62d7303387e"/>
<id>urn:sha1:bab0b570345ceb6ffeaec9e47a50e62d7303387e</id>
<content type="text"> TRex does not zero the server counters. It copies the values to use as reference, and subtracts them when asked for results. But the reference is stored in the client (not the server). And CSIT uses different scripts to start and stop async traffic, which means different clients. This patch introduces a workaround. Async start will return xstats objects to use as reference, and async stop will use the objects to compute the correct results. The xstats objects are stored in TrafficGenerator instance. Sync measurement does not export the counters, to shorten logs. Other improvements: + Make stop_traffic_on_tg return measurement results directly. + Rename --async to --async_start as "async" is reserved in Python 3.7 + Minor pylint, docstring and typo fixes. Change-Id: I5fc56a0763afb7d62cfa7c0651f96b6867de3e15 Signed-off-by: Vratko Polak <vrpolak@cisco.com> </content>
</entry>
<entry>
<title>TRex: 2.61</title>
<updated>2019-09-12T07:10:34+00:00</updated>
<author>
<name>Peter Mikus</name>
<email>pmikus@cisco.com</email>
</author>
<published>2019-09-11T11:19:27+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=6a80c9028d71a1502a2f2a64b4646af4c5958733"/>
<id>urn:sha1:6a80c9028d71a1502a2f2a64b4646af4c5958733</id>
<content type="text"> - HDRhistogram can be rebased and used in separate patch. Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ic7ce752344c6e1791af7cf7b7effde65ac2be680 </content>
</entry>
<entry>
<title>Introduce reconfig suites, for dot1q+ip4+vxlan</title>
<updated>2019-08-23T15:00:29+00:00</updated>
<author>
<name>Vratko Polak</name>
<email>vrpolak@cisco.com</email>
</author>
<published>2019-08-23T15:00:29+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=ff820e3d53434889aacde2373314c3be8d00f765"/>
<id>urn:sha1:ff820e3d53434889aacde2373314c3be8d00f765</id>
<content type="text"> Ticket: CSIT-1551 + Config copied from other suites. + Layer keywords prepared for additional chains. + Renamed "create" argument to "vlan_per_chain". + TrafficGenerator result extraction improvements. + Also unified TG type and subtype checking. + Throughput estimated as PDR for zero PLR. + Actual Qemu start is skipped. + Parse xstats instead of stats in trex stop scipt. - Because stats are unconditionally cleared on each script connect. + Remember start values to get better ReceiveMeasurementResult at stop. + Expose loss count and time as appropriate test message. + Autogen support. + Multiple chain amounts and core densities. - Only 1 additional chain. + Proper TAGs. Documented. + Clarified min framesize tags are for TG-DUT. + Added a TODO concerning overhead values. + Added 118B tag. + Robot performance keywords improvements. + Added missing return value documentation. + Frame size as required test variable, not an explicit argument. + MLRsearch keyword to store result (not into test message). - TODO: De-duplicate: main keyword to measure, minor to set test message. - But implementation uses the fact default arguments are different. + Keywords for starting and stopping background traffic. - No checks whether start-stop pair is complete. + Multiple minor indentation and logging improvements. - Missing / TODOs: - Support also vlan_per_chain=True? - Support dot1q without vxlan? - Support also deletion? - How to package config steps so -reconf can be generated from -ndrpdr? Change-Id: If0270697f9ffa837c34ef802917220a53f156703 Signed-off-by: Vratko Polak <vrpolak@cisco.com> </content>
</entry>
<entry>
<title>Python3: TRex driver</title>
<updated>2019-06-10T07:53:37+00:00</updated>
<author>
<name>Peter Mikus</name>
<email>pmikus@cisco.com</email>
</author>
<published>2019-06-06T12:19:59+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=dc3efb44b1b30554f2aa46752cf0db119b79ee6c"/>
<id>urn:sha1:dc3efb44b1b30554f2aa46752cf0db119b79ee6c</id>
<content type="text"> Change-Id: I25f7598b52c87ec1a2d4c6f22680d5200b583e2c Signed-off-by: Peter Mikus <pmikus@cisco.com> </content>
</entry>
<entry>
<title>CSIT-1425 Upgrade TRex to v2.54</title>
<updated>2019-05-24T09:40:06+00:00</updated>
<author>
<name>Tibor Frank</name>
<email>tifrank@cisco.com</email>
</author>
<published>2019-02-05T09:20:41+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=f90655a9efa6c97a8901ce5095bc64b0c7518739"/>
<id>urn:sha1:f90655a9efa6c97a8901ce5095bc64b0c7518739</id>
<content type="text"> Change-Id: I71010c18210e88828ded0bc679997d76f34886cb Signed-off-by: Peter Mikus <pmikus@cisco.com> </content>
</entry>
<entry>
<title>CSIT-885 Updagrade TRex to v2.35</title>
<updated>2018-01-04T11:24:34+00:00</updated>
<author>
<name>Peter Mikus</name>
<email>pmikus@cisco.com</email>
</author>
<published>2018-01-04T08:56:37+00:00</published>
<link rel="alternate" type="text/html" href="http://git.fd.io/csit/commit/?id=45393e98c3162faaa2fdc86ef471798a8e4bb5f2"/>
<id>urn:sha1:45393e98c3162faaa2fdc86ef471798a8e4bb5f2</id>
<content type="text"> Change-Id: I82681fc9ea52d72323d48ac78507ef1c571ca712 Signed-off-by: Peter Mikus <pmikus@cisco.com> </content>
</entry>
</feed>