Use PapiSocketProvider for most PAPI calls 72/19272/298
authorVratko Polak <vrpolak@cisco.com>
Wed, 17 Jul 2019 10:40:49 +0000 (12:40 +0200)
committerVratko Polak <vrpolak@cisco.com>
Wed, 17 Jul 2019 10:40:49 +0000 (12:40 +0200)
commitf88a3d9178dfbd73d0479f9aa2f5224e0c89ca1f
tree9963cb06a7f089d815f9ebf5e5ba8d8f1f26a209
parent248d1a52e06622dc9eb1dfdd6ca9f6670b4c0bc3
Use PapiSocketProvider for most PAPI calls

Ticket: CSIT-1541
Ticket: VPP-1722
Ticket: CSIT-1546

+ Increase timeout to hide x520 slownes of show hardware detail.
- Install sshpass and update ssh client in virl bootstrap.
 + Added TODOs to remove when CSIT-1546 is fixed.
+ Enable default socksvr on any startup conf.
+ Improve OptionString init and repr.
- The non-socket executor still kept for stats.
 + Remove everything unrelated to stats from non-socket executor.
- Remove some debug-loooking calls to avoid failures.
  TODO: Introduce proper parsing to the affected keywords.
+ Reduce logging from PAPI code to level INFO.
 - Needs https://gerrit.fd.io/r/20660 to fully work.
+ Change default values for LocalExecution.run()
 + Return code check enabled by default.
   Code is more readable when rc!=0 is allowed explicitly,
   and the test code will now detect unexpected failures.
 + Logging disabled by default.
   Output XML is large already. Important logging can be enabled explicitly.
+ Restore alphabetical order in common.sh functions.

Change-Id: I05882cb6b620ad14638f7404b5ad38c7a5de9e6c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
30 files changed:
bootstrap.sh
docs/report/vpp_functional_tests/test_environment.rst
docs/report/vpp_performance_tests/test_environment.rst
resources/libraries/bash/function/common.sh
resources/libraries/python/Classify.py
resources/libraries/python/ContainerUtils.py
resources/libraries/python/FilteredLogger.py [new file with mode: 0644]
resources/libraries/python/IPUtil.py
resources/libraries/python/IPsecUtil.py
resources/libraries/python/IPv6Util.py
resources/libraries/python/InterfaceUtil.py
resources/libraries/python/KubernetesUtils.py
resources/libraries/python/L2Util.py
resources/libraries/python/LocalExecution.py
resources/libraries/python/Memif.py
resources/libraries/python/NATUtil.py
resources/libraries/python/OptionString.py
resources/libraries/python/PapiExecutor.py
resources/libraries/python/ProxyArp.py
resources/libraries/python/QemuUtils.py
resources/libraries/python/SetupFramework.py
resources/libraries/python/TestConfig.py
resources/libraries/python/Trace.py
resources/libraries/python/VPPUtil.py
resources/libraries/python/VhostUser.py
resources/libraries/python/VppConfigGenerator.py
resources/libraries/python/VppCounters.py
resources/libraries/python/telemetry/SPAN.py
resources/libraries/robot/honeycomb/performance.robot
resources/libraries/robot/shared/default.robot