Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Currently if multiple tests are run with a QnQ section defined the QnQ
segment gets appended to the frame. This leads to invalid frames when
the test is run for more than 1 iteration. With this patch the QnQ is
updated if the QnQ segment has already been created.
JIRA: YARDSTICK-1513
Change-Id: I4ba6ef89380ccf1cb8a132ff5bf048935a87f0c9
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
|
|
|
|
List of changes:
- update Sequence runner to use new mechanism for reporting data (kpi)
- add new rfc2544 example test case that executes the same test with
different framesizes sequentially
JIRA: YARDSTICK-1592
Change-Id: I731cf1ca40f7232b26ea68f81d22248ebc53eb62
Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
|
|
JIRA: YARDSTICK-1589
After calling STLclient.connect() there is no check if
connection was sucessfull or not.
Added a check for success on connect, retry if failure
and disconnect and connect on timeout.
If still connect failed then do not resume .. end with
LOG.critial and exit.
Change-Id: Ifd306b7920d9acbc16681cf79bf952d5af31eb64
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
|
|
JIRA: YARDSTICK-1546
Change-Id: I3575223ef8231fb4d574e961360b0f2d90a71749
Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
|
|
JIRA: YARDSTICK-1439
Change-Id: I26441fe1f6e34a867c1f19d60d2247e888af6c54
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
|
|
Rate resolution value is compared with the difference between
the rates in two consecutive iterations. If the difference
is smaller than the resolution, the test stops.
JIRA: YYARDSTICK-1592
Change-Id: I3f203d33d1688734a59a8f62f31e3ad238bc63b0
Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
|
|
|
|
|
|
time.sleep was called in a number of classes which wasn't
mocked in the tests.
This accounted for 2.5 minutes of UT execution time.
The calls to time.sleep() have been mocked, and the test
execution time has been reduced.
JIRA: YARDSTICK-1595
Change-Id: I0a4f4962513cf8845471b074347601e33b35ef25
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
|
|
Ixload uses its own version of python
By default it will fail to import yardstick.common exceptions.
For this reason for this reason ixload exceptions should be kept
in http_ixload.py
JIRA: YARDSTICK-1587
Change-Id: I5673fb5b89bbcdf4d3c60c283231d44d770999ec
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
|
|
List of changes:
- Added new scenario NSPerf-RFC2544 that runs complete test per
runner's iteration
- NSPerf is still present for backward compatibility
- Added ScenarioOutput class which allows scenario to report
data (kpi,...) at any moment of time (not only once per run)
- New output mechanism is used only by new NSPerf-RFC2544 scenario
JIRA: YARDSTICK-1592
Change-Id: Ica8078f61d895f74df90e8eaad7a675b28bd19c6
Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
|
|
JIRA: YARDSTICK-1593
Change-Id: I3ec352dd577c6030fa86a2817e264ba7c80773f1
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
|
|
|
|
JIRA: YARDSTICK-1591
Change-Id: I5130602e767009d83f7b39801006d68bcc126ba6
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
|
|
The existing implementation of IPC is not finished and isn't used
by any of the VNFs/TG implementation. It is used in the code but does
nothing from functionality perspective.
New syncronization mechanism is going to be implemented by using
different approach than it was designed before. Thus, the current
IPC mechanism is not going to be re-used. So, removing it.
The IPC consumer/producer implementation is left as it may be
required for other purposes.
- Remove SampleVNF MQ consumer class
- Remove IterationIPC MQ producer for VNF control messages
- Remove MQ producer from SampleVNFTrafficGen class
- Remove TrafficGeneratorProducer class
- Remove IterationIPC runner
- Remove unused task_id form VNF Generic initialization as it is not
required for synchronization of VNFs/TGs anymore.
- Fix UT
JIRA: YARDSTICK-1592
Change-Id: I65fe51bcbd1bfeea0c43eb79ca6fb2aab5b65ae7
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
|
|
|
|
* changes:
Additional rework of NSB report
Only show metrics for selected nodes in data table
Fix conversion to JS for HTML reports
|
|
|
|
service recovery for HA tcs"
|
|
recovery for HA tcs
make sla check for process recovery optional: only check when sla is
set.
JIRA: YARDSTICK-1512
Change-Id: I717d39614a1af2ee9e62dec3b8a32d7d611f557e
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
|
|
|
|
Change-Id: I6f301b0a3d77a692aa06d570eaa6ef3e820973d7
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
|
|
|
|
Changed default rate from 100pps to 100%.
Set Ip mask to 32
JIRA: YARDSTICK-1566
Change-Id: I4c0245297b2d6b254c06155047c3499f6572e9c5
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
|
|
Support Open/Close interactive terminal on a SSH channel.
Support Execute command on interactive terminal.
JIRA: YARDSTICK-1482
Change-Id: I0d1588707c3fb3e5e65fb72115f27e713d4b4828
Signed-off-by: treyad <treyad@viosoft.com>
|
|
network_services/vnf_generic/vnf/test_sample_vnf.py:TestVnfSshHelper"
|
|
|
|
|
|
JIRA: YARDSTICK-1566
Change-Id: I6a826d5662a1dfc818c9f1ddf94b3f01c3d37d3b
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
|
|
Protocol interfaces are creating with config from pod file
Static IP configuration are creating from testcase flow options
JIRA: YARDSTICK-1570
Change-Id: I74cde67b5084d5b65d09934fe8fce7760b5ea461
Signed-off-by: Myron Sosyak <myronx.sosyak@intel.com>
|
|
JIRA: YARDSTICK-1571
Cores in PROX support multiple configurations
NSB supports today the more basic one, i.e. [core x]
When one wants to use multiple cores sharing the same
configuration, instead of copying the whole [core]
section, PROX support the following syntax
[core x-y]
where x is the 1st core and y the last one
or (for instance) [core x,y,z]
NSB Now supports
[core a,b,c,d]
[core a-d]
[core a,c-d]
Change-Id: I34cd107143c89e16d58e7a99e1887ffbf720a5d1
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
|
|
|
|
- Make format_for_jstree expect a list of metric names
- Avoid displaying timestamps twice in initial data table
- Sort metrics in initial data table
- Display testcase name
- Fix styling
- Make better use of JS and jQuery features
- Move event handler to JS file
- Avoid adding multiple tbody elements into data table
- Adjust unit tests and functional tests accordingly
JIRA: YARDSTICK-1367
Topic: report/html_table (12 of 12)
Change-Id: I85d853f8e392953cace67e94fa0af2e2492a2b86
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
|
|
Together with timestamps, separately added into the table.
Optimize the showcasing of graphs and table.
JIRA: YARDSTICK-1367
Topic: report/html_table (11 of 12)
Change-Id: I263960b059fd27409b36f825664da8c2804e0425
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
|
|
Some new fields in InfluxDB have plain text contents that AST cannot
parse as valid expressions, resulting in exceptions being raised by
yardstick CLI commands "report generate" and "report generate-nsb".
Reworked _generate_common() to properly handle and convert:
- unicode, str and missing keys
- None, unicode, str, float, long and int values
- float, long and int stored as unicode or str values
Added test__generate_common() unit test, to verify all possible
conversion flavors.
Also renamed incorrect "tasks" to "metrics".
Also fixed warning in Python3 for some unit tests, caused by
deprecation of unittest.TestCase.assertRaisesRegexp().
JIRA: YARDSTICK-1367
Topic: report/html_table (10 of 12)
Change-Id: Iff75bfd2c1dcaf3806f67f52f0ea594f10aceb5b
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
|
|
JIRA: YARDSTICK-1367
Topic: report/html_table (9 of 12)
Change-Id: I987203c4b3f49fb0f205e9b4c71bcbf4618041a0
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
|
|
|
|
JIRA: YARDSTICK-1367
Topic: report/html_table (8 of 12)
Change-Id: I8a2f96224a745334b67dd71875bebb3b69b9adc3
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
|
|
|
|
Add protocol interface creation.
Add static protocols ipv4 configuration.
JIRA: YARDSTICK-1566
Change-Id: I484d212873ce7e638626053baaf6a972a6ef9f69
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
|
|
Moved function definitions into separate nsb_report.js file for ease
of editing, while keeping generated HTML reports self-contained, for
storage and publishing purposes.
JIRA: YARDSTICK-1367
Topic: report/html_table (7 of 12)
Change-Id: I3b3cf8aae8425b486a711a76f4bb2bf8d7fe5ab5
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
|
|
This JavaScript library is available under MIT license.
Also adjusted version for jQuery and jsTree,
and added fallback font-family names.
JIRA: YARDSTICK-1367
Topic: report/html_table (6 of 12)
Change-Id: Ibe8b7e3d1f1365d2cbc019bfc22762aaa365a4e1
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
|
|
|
|
|
|
|
|
Frame rate can be configured per traffic profile and per traffic flow.
By default traffic profile is applied to all traffic flows. If per
flow rate is specified it overrides default value from profile.
JIRA: YARDSTICK-1568
Change-Id: I388ed78869358de17d6485be0cd0d058983390e2
Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
|
|
When we run the testcase, if there was a exception in iteration
_work_process, the process will still run on ,and the test result will
not affected by the exception.
JIRA: YARDSTICK-1555
Change-Id: I03803c0473015379bb0eb20ed7d474a2d923a4e3
Signed-off-by: cope.li <cope.li@huawei.com>
|
|
JIRA: YARDSTICK-1434
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: Ieabcdf401d608a3a5f0a0bd9fbbe754591878bd5
|