Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ib7d31bcd9bab350a3b2443a15b4d9a533d774cca
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Hopefully, with CSIT config values, PDR lower than NDR will not happen.
+ Bump duration_sum default to an odd number,
so users are not surprised by not seeing standard median behavior.
For CSIT this should not matter, overheads hide ties
and number of trials (at least for STL) should stay the same.
Change-Id: Id7130f978c31e71227499612424007c473bcfac2
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Replaces MLRv2, suitable for "big bang" upgrade across CSIT.
PyPI metadata updated only partially (full edits will come separately).
Pylint wants less complexity, but the differences are only minor.
+ Use the same (new CSIT) defaults everywhere, also in Python library.
+ Update also PLRsearch to use the new result class.
+ Make upper bound optional in UTI.
+ Fix ASTF approximate duration detection.
+ Do not keep approximated_receive_rate (for MRR) in result structure.
Change-Id: I03406f32d5c93f56b527cb3f93791b61955dfd74
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
This fix is mainly needed for bisection using PDR values.
The impact on trending is smaller but still beneficial,
as this fix should reduce the amount of false anomalies
for two-band and other unstable tests.
+ Update metadata for 0.4.1 release into PyPI.
Change-Id: Iabab4df50f4c4ad034362820904a237c507fa710
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
This is the setup just used to upload:
https://pypi.org/project/jumpavg/0.4.0/
Change-Id: Ia48b053c578f1ac769613727dafcdd7851f912bd
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Change-Id: I9dc5b70d983471c8b2ba5788c52e81dcfc728f49
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
+ The main speedup comes from abandoning copy.deepcopy(),
doing shallow list copies (at most) and introcuding copy_fast().
+ Turn into dataclasses whenever possible, use type hints.
+ Simplify the partition search code,
+ It is now clearer the time complexity is O(N*(N+n)),
where N is number of samples, and n is the average size
of the last group of the current record glist.
+ Used black for formatting, so no u"" anymore.
+ Update metadata for 0.3.0 release.
Change-Id: I302203b4d42aeb22be1128e2fe72353a44eae5d0
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Change-Id: I8107097843a3bcddc28ac8a61f72614a3c3145ac
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
1. wrong symbol link path for MLRsearch.
2. self._received force to integer in _parse_traffic_results function.
Signed-off-by: Yulong Pei <yulong.pei@intel.com>
Change-Id: Ie86a549b222d28b8cecc889807044476975dffb1
|
|
Fix typo introduced in https://gerrit.fd.io/r/c/csit/+/23465
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Change-Id: Ie581fd612e7849500e061ac6f56f56b6eb322553
|
|
Change-Id: I6a9c4739167f96bd2123f85ff2f6693562dce3bc
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
This is the python3 change, the python2 is still used for testing bisect.
+ New version is 0.2.0 due to amount o API changes.
+ Jumpavg is now part of CSIT resource package tree.
+ Perpatch migrated to new jumpavg.
- PAL NOT updated (the update moved to a different Change).
Change-Id: I7d7a8bf8a411196c20c2a40a8c64478d6709bc07
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Change-Id: Ib2349f574720c61040f824f87bce01b5d68a2598
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Make number of doublings configurable,
keep Python default at 1, set Robot default to 2.
Also make docstring types unique
(pylint was complaining about classes and modules having the same name).
Increase MLRsearch version to 0.2.0.
Change-Id: Ib846032e79ff52994503c0cfef2f86655502c275
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
+ Rename search to MLRsearch in resources/libraries/python/.
+ Make PyPI/MLRsearch/MLRsearch a symlink to the renamed directory.
+ TrafficGenerator.py to import from the renamed directory/module.
- No change to MLRsearch code.
- Version stays at 0.1.1 to point to the latest released code.
Change-Id: I4a38b0b7f8f083fbb1a93b25522560144b4ef556
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
+ PyPI/jumpavg version bumped to 0.1.4.
+ presentation requirements bumped to 0.1.3.
+ Added stub for change log in readme.
Change-Id: I21a606ed7d9aa2b9cc761ed20f94bda41963a1a8
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
The algorithm for computing stdev has been changed
to a more stable one, based on Welford's algorithm.
Change-Id: I51e02d9c5c26cda0d4e998381d5011aa793e6483
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
This reverts commit 0c2c57d9965ab1db0d5404ad103871ac250339cb.
Reason for revert: unless you will fix this broken patch we have to revert this as it breaks several thing in the csit core ci/cd.
1) all tb are pypi offline this means no new pypi is automatically dowloaded. Everytime you change your version you have to update every tb. As this is not automated this will never work and put extreme overhead
2) this code is not pylint checked and not verified by any existing job breaking any kind of verificition mechanics in csit
3)there is no automation in terms of creating pypi (no job) this creates chicken egg problem that you cannot verify change unless new version is installed
Next time please think or consult with more seniored csit core developer
Unless above will be fixed i will revert on monday as now it breaks all jobs. I will set hard verification to framework setup (exception) so this will prevent next time merge.
Possible solution:
1)Move the directory back to resources and reference from csit directly not via pypi, leave the setup crap in dir and let users to create package on their own
Change-Id: Id530a9f19f668e45f73ffc9e7371bb453b59fd1b
Signed-off-by: Peter Mikus <pmikus@cisco.com>
|
|
+ Delete resources/libraries/python/search/.
+ Add MLRsearch==0.1.1 to requirements.txt.
+ Bump PyPI/MLRsearch version to 0.1.2.
Change-Id: I1f86d75ac8eb90ee3946dbac8c56280f39302f4d
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
+ Use first intermediate with goal in initial phase.
+ Measure above MRR if that got zero loss.
+ Always prioritizes NDR in internal search.
+ Rename classes.
+ Copy code for standalone PyPI publishing.
- Original files will be deleted after publish.
Change-Id: I5169d602d1e5e35a1894645cd52e70d791871608
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
+ Use the released version in PAL.
+ Bump the jumpavg source to 0.1.3 for next release.
+ Add PyPI/owners.txt to track python package owner group.
Change-Id: I29284a258b24f9991379719313f30cce0349c2bd
Signed-off-by: Tibor Frank <tifrank@cisco.com>
|
|
This reverts commit f7c46f067a8fb594d2460aaadbe1ca9282b657a8.
Change-Id: I409335daac8f9e02bea4e12f2141ab9ceb338964
Signed-off-by: Tibor Frank <tifrank@cisco.com>
|
|
+ Use the released version in PAL.
+ Bump the jumpavg source to 0.1.3 for next release.
+ Add PyPI/owners.txt to track python package owner group.
Change-Id: I0146efcc7c0b7eefc068464739afa605eda2b2d8
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
+ Move the jumpavg library code to separate directory.
- Bump to 0.1.2 has to be done later.
Change-Id: I9722ede48f00e99eeb68ca3f91e0bdeee2937973
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|