csit.git
2 years agoReport: Add 3n-icx 48/32248/2
Tibor Frank [Fri, 7 May 2021 07:55:41 +0000 (09:55 +0200)]
Report: Add 3n-icx

Change-Id: Iad037e8c921913869db7ed3b8da145e142d14a6c
Signed-off-by: Tibor Frank <tifrank@cisco.com>
2 years agoCRC: Remove the collection from before 30345 14/32214/1
Vratko Polak [Wed, 5 May 2021 12:17:17 +0000 (14:17 +0200)]
CRC: Remove the collection from before 30345

Use current stable VPP version as collection label.

Change-Id: I10552ca78f7496ccb94d4f05ff9af17df682acce
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2 years agoFIX: Vagrant ansible install 11/32211/1
pmikus [Wed, 5 May 2021 07:58:45 +0000 (07:58 +0000)]
FIX: Vagrant ansible install

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Ia81698d423f8545985bc1451080ae02cec91822b

2 years agoPAL: Fix plots generator 88/32188/1
Tibor Frank [Mon, 3 May 2021 10:17:03 +0000 (12:17 +0200)]
PAL: Fix plots generator

Csth hange-Id: I960c575841a92687a1272c905bbcc057de4a737e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: Idb1bad40d7bd138f072f84377c4706bfcce19238
Signed-off-by: Tibor Frank <tifrank@cisco.com>
2 years agoPAL: Refactor the processing of spec and download 21/32121/29
Tibor Frank [Mon, 26 Apr 2021 13:57:02 +0000 (15:57 +0200)]
PAL: Refactor the processing of spec and download

Change-Id: I204fdc3593a3702366727238f2b469d3d4320c2b
Signed-off-by: Tibor Frank <tifrank@cisco.com>
2 years agoUpdate VPP_STABLE_VER files 92/31892/2
Tibor Frank [Mon, 3 May 2021 05:29:12 +0000 (05:29 +0000)]
Update VPP_STABLE_VER files

Change-Id: I44fe8f5237da614194576156221562960cccf237
Signed-off-by: Tibor Frank <tifrank@cisco.com>
2 years agoTrending: Add 2n-tx2 crypto 78/32178/1
Tibor Frank [Fri, 30 Apr 2021 11:52:41 +0000 (13:52 +0200)]
Trending: Add 2n-tx2 crypto

Change-Id: I1c0235a5a3799627ba759372fa1d3355aa2b7eea
Signed-off-by: Tibor Frank <tifrank@cisco.com>
2 years agoInfra: Vagrant ansible version 36/32136/1
pmikus [Tue, 27 Apr 2021 12:56:06 +0000 (12:56 +0000)]
Infra: Vagrant ansible version

+ In some corner cases wrong ansible version can be installed.
  Fixing to specific version.

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Ia7f1a5644454af0819d06dbac900f69d083ca475

2 years agoInfra: Vagrant fix ansible path 35/32135/2
pmikus [Tue, 27 Apr 2021 12:08:15 +0000 (12:08 +0000)]
Infra: Vagrant fix ansible path

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Id7a7b71461cad40faeca7311679e7eedec2504fe

2 years agoInfra: Vagrant typo 34/32134/2
pmikus [Tue, 27 Apr 2021 11:37:05 +0000 (11:37 +0000)]
Infra: Vagrant typo

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I9c228c880c7cfc5b5007c08a5c1aa876594721f8

2 years agoInfra: AWS - add CSIT parameters to bootstrap 26/32126/5
Tomas Alexy [Mon, 26 Apr 2021 15:34:28 +0000 (17:34 +0200)]
Infra: AWS - add CSIT parameters to bootstrap

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: I41b5905bcaab303a74d9985283e469922e5fba94

2 years agoInfra: Add AWS how-to 59/32059/8
Tomas Alexy [Tue, 20 Apr 2021 10:57:43 +0000 (12:57 +0200)]
Infra: Add AWS how-to

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: Id111ee8e3113dae00a389ebfbb49628f35bbda6a

2 years agoUpdate VPP_STABLE_VER files 90/31890/2
Tibor Frank [Mon, 26 Apr 2021 05:25:14 +0000 (05:25 +0000)]
Update VPP_STABLE_VER files

Change-Id: Idc344ba9a83090ab181cf1bc34f2103821bf34b0
Signed-off-by: Tibor Frank <tifrank@cisco.com>
2 years agoFIX: Jenkins job health config 01/32101/1
pmikus [Fri, 23 Apr 2021 06:51:23 +0000 (06:51 +0000)]
FIX: Jenkins job health config

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I6acd32a210ab48c96f0dc96827a280794ebf79b0

2 years agoInfra: Vagrant upgrade to focal 39/31939/4
pmikus [Fri, 9 Apr 2021 07:04:27 +0000 (07:04 +0000)]
Infra: Vagrant upgrade to focal

+ Upgradfe to focal
+ Move to better place
+ Integrate with ansible library

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Ibddea33efa2c3587251f9f03921282fb47ffee31

2 years agoFrameworkSetup: increase timeout 73/32073/1
Juraj Linkeš [Wed, 21 Apr 2021 11:21:32 +0000 (13:21 +0200)]
FrameworkSetup: increase timeout

We're hitting a SSHTimeout exception when copying the framework,
increase the timeout to fix this.

Change-Id: Ic72b9b8b96290c3f0e705d79742bbd39b0bf1e71
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2 years agoReport: Hide 2n-icx 68/32068/1
Tibor Frank [Wed, 21 Apr 2021 04:59:11 +0000 (06:59 +0200)]
Report: Hide 2n-icx

Change-Id: I1b324586e0ba64b114ad43b9404ee35faee0f787
Signed-off-by: Tibor Frank <tifrank@cisco.com>
2 years agoCRC: Add collection for 30345 62/32062/2
Vratko Polak [Tue, 20 Apr 2021 14:11:34 +0000 (16:11 +0200)]
CRC: Add collection for 30345

30345 only afects CRC values, not what the messages do.

Change-Id: I83b64a30d56e54164a5b3150101f702a9f2fba34
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2 years agotox: Add job-spec checker 40/31940/8
Tibor Frank [Fri, 9 Apr 2021 07:37:30 +0000 (09:37 +0200)]
tox: Add job-spec checker

Change-Id: I2bbdc28431b6271d1950ec0e74bf708cae841146
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoDPDK bump 89/31989/6
pmikus [Thu, 15 Apr 2021 10:12:10 +0000 (10:12 +0000)]
DPDK bump

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I6edd980cb72111a008ae7fa19e1a4df279febdb2

3 years agoUpdate VPP_STABLE_VER files 86/31886/2
Tibor Frank [Mon, 19 Apr 2021 05:44:15 +0000 (05:44 +0000)]
Update VPP_STABLE_VER files

Change-Id: I027539dc5309d4a927a5fdd3a6b5059f7fea9d09
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoReport: 2n-icx - fix the order of chapters 26/32026/1
Tibor Frank [Mon, 19 Apr 2021 05:31:10 +0000 (07:31 +0200)]
Report: 2n-icx - fix the order of chapters

Change-Id: I736a4a20a216e935f409d3a385574f20b3df63ce
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoReport: Add 2n-icx latency 15/32015/2
Tibor Frank [Fri, 16 Apr 2021 17:35:25 +0000 (19:35 +0200)]
Report: Add 2n-icx latency

Change-Id: Ie8a4c93340aa6f74dc3f5ac5f1a4669ac8469dbe
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoReport: Add 2n-icx 08/32008/5
Tibor Frank [Fri, 16 Apr 2021 12:21:38 +0000 (14:21 +0200)]
Report: Add 2n-icx

Change-Id: I22e089ebb343bbb3fd057c1f1638942ea03f65fa
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoPAL: Add a new download path 91/31991/5
Tibor Frank [Thu, 15 Apr 2021 11:38:01 +0000 (13:38 +0200)]
PAL: Add a new download path

- "{job}/{build}/{filename}"

Change-Id: Ibdd86a708e17df32b4866e058614da5e9814a8f0
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoAWS: Add jobspecs 75/31975/3
Tomas Alexy [Wed, 14 Apr 2021 11:57:30 +0000 (13:57 +0200)]
AWS: Add jobspecs

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: I93c3d2a25bddc6623c131b5cd1742bb55b1ee7c3

3 years agocommon.sh - fix 3n AWS topology tag selection 88/31988/2
Tomas Alexy [Thu, 15 Apr 2021 08:49:14 +0000 (10:49 +0200)]
common.sh - fix 3n AWS topology tag selection

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: Ic6dd4a14887d572487d7d4efcca8a437cf140ca9

3 years agorequirements: Update Sphinx to the latest versions 86/31986/1
Tibor Frank [Thu, 15 Apr 2021 04:34:14 +0000 (06:34 +0200)]
requirements: Update Sphinx to the latest versions

Change-Id: I4efcbe62d696227ce33444da38d06573fbfcbba6
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoPAL: Update Sphinx to the latest versions 74/31974/1
Tibor Frank [Wed, 14 Apr 2021 11:17:29 +0000 (13:17 +0200)]
PAL: Update Sphinx to the latest versions

Change-Id: Id42b7e63f5bef7c99d9c1cd564e1e749ed3d2542
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoPAL: Fix path to the theme 73/31973/9
Tibor Frank [Wed, 14 Apr 2021 08:27:57 +0000 (10:27 +0200)]
PAL: Fix path to the theme

Change-Id: I960c575841a92687a1272c905bbcc057de4a737e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoInfra: common.sh - add ENA 50g NIC 65/31965/2
Tomas Alexy [Tue, 13 Apr 2021 13:11:17 +0000 (15:11 +0200)]
Infra: common.sh - add ENA 50g NIC

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: Idc672f6086ab9d4ad38b52947a52c667d0908d8f

3 years agoTerraform: change slack api hooks 64/31964/1
pmikus [Tue, 13 Apr 2021 12:44:30 +0000 (12:44 +0000)]
Terraform: change slack api hooks

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I3ae716a6a35f8fce994c3333e29a33b8aa2ebe56

3 years agoInfra: Ansible E810 ddp/driver 63/31963/2
pmikus [Tue, 13 Apr 2021 12:01:20 +0000 (12:01 +0000)]
Infra: Ansible E810 ddp/driver

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I383ae63bdfb24a9e8a5cd629a711537607ebf4e9

3 years agoTrening: unhide cx556a tests 62/31962/1
Tibor Frank [Tue, 13 Apr 2021 11:54:06 +0000 (13:54 +0200)]
Trening: unhide cx556a tests

Change-Id: Ie5543ac0da678a10a2e62fc7be1b0b3f212c746b
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoUpdate VPP_STABLE_VER files 81/31881/3
Tibor Frank [Mon, 12 Apr 2021 05:29:09 +0000 (05:29 +0000)]
Update VPP_STABLE_VER files

Change-Id: I7f998fef3250368ea9b88ff3eb5d46762ece82ff
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoInfra: AWS bootstrap integration 31/31931/5
Tomas Alexy [Thu, 8 Apr 2021 13:50:24 +0000 (15:50 +0200)]
Infra: AWS bootstrap integration

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: I254c79201a198ee054851c934167a24e9e8803cb

3 years agojob-spec: Fix job-specs 41/31941/2
Tibor Frank [Fri, 9 Apr 2021 07:42:25 +0000 (09:42 +0200)]
job-spec: Fix job-specs

- remove redundant empty lines
- fix the number of tests in job-spec and its duration

Change-Id: I50fc0f151dedf7d2e9858ecc3959ab42a243bb1d
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoDocs: Update file structure 28/31928/2
pmikus [Thu, 8 Apr 2021 12:08:47 +0000 (12:08 +0000)]
Docs: Update file structure

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I9422584caf87cb163c44ff4ac16df07f288581ce

3 years agoRemove obsolete image builder 29/31929/1
pmikus [Thu, 8 Apr 2021 12:12:30 +0000 (12:12 +0000)]
Remove obsolete image builder

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I6cb73a6b9fbbdec2d7127f2457cbe21d12cd3e64

3 years agoInfra: UEFI PXE integrated infra 83/31283/33
pmikus [Mon, 15 Feb 2021 12:01:48 +0000 (12:01 +0000)]
Infra: UEFI PXE integrated infra

+ uefi
 + dnsmasq
 + nginx
+ ubuntu focal {arm64|amd64}

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I9974a5b9255d64ba8b8231cf81f59c048b52bbba

3 years agoAnsible git move 25/31925/4
pmikus [Thu, 8 Apr 2021 10:44:18 +0000 (10:44 +0000)]
Ansible git move

+ Better accessibility
+ Compliant with fdio.infra._function_
  - function [pxe|terraform|ansible|vagrant]
+ dill==0.3.3 also applied on TBs
  - ci-man to follow today
- Docs to be updated in separate patch

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Iff9eaa29d63044188cc8160db2d9b44b7635782a

3 years agoInfra: AWS Update to Ubuntu 20.04 62/31862/7
Tomas Alexy [Thu, 1 Apr 2021 13:44:14 +0000 (15:44 +0200)]
Infra: AWS Update to Ubuntu 20.04

- Change AMI image to Ubuntu 20.04
- Add calibration role
- Add AWS vfio-patch for kernel 5.8+
- Prepare root module's main.tf to be used with environment variables

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: I7db3f28ba573a5a8a1dc07179ef78ef34ce9ebf3

3 years agojob-specs: Update durations of arm mrr jobs 18/31918/1
Juraj Linkeš [Wed, 7 Apr 2021 09:31:24 +0000 (11:31 +0200)]
job-specs: Update durations of arm mrr jobs

Update after new policy tests were enabled in iterative 2n-tx2 and
3n-tsh.

Change-Id: I53986f8c7ba6cd83c73d7d615da07a32ad99c24b
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoSetupFramework: Log env activation outputs 03/31903/3
Vratko Polak [Tue, 6 Apr 2021 14:53:09 +0000 (16:53 +0200)]
SetupFramework: Log env activation outputs

Useful for verifying how much is SUT ready for requirements.txt content.

Change-Id: I1e8443f2f9391d646e79a451a88df961845700e4
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoDPDK buid: Fix sed command 07/31907/1
Vratko Polak [Tue, 6 Apr 2021 16:56:25 +0000 (18:56 +0200)]
DPDK buid: Fix sed command

The previous way of concatenating strings would not work even in Python.

Change-Id: Ice06f4a06fefbc4e42ee2572786244207dfefa11
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoUpdate VPP_STABLE_VER files 79/31879/2
Tibor Frank [Tue, 6 Apr 2021 05:44:39 +0000 (05:44 +0000)]
Update VPP_STABLE_VER files

Change-Id: I8030b6efcb8c510bfdb82523ffe1610707fcc7c5
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoJob specs: add crypto tests to Arm perf jobs 63/31863/1
Juraj Linkeš [Thu, 1 Apr 2021 14:05:36 +0000 (16:05 +0200)]
Job specs: add crypto tests to Arm perf jobs

Increase coverage by adding aes128gcm protection mode and policy
testcases.

Change-Id: I6f9e7b89208397efe4e06a63d3e06caaf19f3b0a
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoIPsec: add 4, 40 and 400 tunnel policy tests 40/31840/3
Juraj Linkeš [Wed, 31 Mar 2021 13:45:44 +0000 (15:45 +0200)]
IPsec: add 4, 40 and 400 tunnel policy tests

Add more granularity test policy tests. Mirror the number of tunnels in
other IPsec tests under 1000 tunnels.

Change-Id: I9bde7447a5d809bab05db132bf6cb524e97e19b3
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoMLRsearch: Update PyPI metadata for v0.4.0 42/31842/1
Vratko Polak [Wed, 31 Mar 2021 15:26:11 +0000 (17:26 +0200)]
MLRsearch: Update PyPI metadata for v0.4.0

Change-Id: I8107097843a3bcddc28ac8a61f72614a3c3145ac
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoTrafficGenerator: Less logging of unsent 94/31794/3
Vratko Polak [Mon, 29 Mar 2021 15:54:51 +0000 (17:54 +0200)]
TrafficGenerator: Less logging of unsent

When a trial has explicit stop instead of duration
(e.g. for show run), the computation of unsent packets is wrong,
so simply do not log the result.

Change-Id: I7722c85b156f92e456eda212104abdb216e78b04
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoIPsec: add 2n crypto policy udir perf tests 05/31605/23
Juraj Linkeš [Wed, 10 Mar 2021 08:31:23 +0000 (09:31 +0100)]
IPsec: add 2n crypto policy udir perf tests

Add 2n1l udir 1 and 1000 tunnel sw policy IPsec tests to mirror the
existing 3n tests.

Add static ip neighbor mac entries which can't be retrieved in 2node
setups.

Change-Id: I13dd557cbeed7f907fa9b4c21e4e245d48916513
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoDevice: Add stats test with AVF 28/31828/5
Vratko Polak [Tue, 30 Mar 2021 13:20:41 +0000 (15:20 +0200)]
Device: Add stats test with AVF

+ Extract the stats keyword into a library.

Change-Id: Icfaaa32c2a97d479ba0339acf34b865006949a89
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoPAPI stats: Use list as argument to ls 26/31826/2
Vratko Polak [Tue, 30 Mar 2021 14:31:26 +0000 (16:31 +0200)]
PAPI stats: Use list as argument to ls

In the VPP PAPI stats code, the "ls" argument has always [0]
been named "patterns", suggesting it expects a list of strings.
In the CSIT utility we have always [1] been using it wrong
(passing a single string), but it happened to work
as VPP code had a workaround [2] for that.
This workaround that got removed by accident in [3],
and will be reintroduced in [4].

This change fixes occasional failures in CSIT
(if merged sooner than [4]), mainly useful
in aviding such failures during bisection.

[0] https://gerrit.fd.io/r/c/vpp/+/14584/4/src/vpp-api/python/vpp_papi/vpp_stats.py#122
[1] https://gerrit.fd.io/r/c/csit/+/18419/13/resources/tools/papi/vpp_papi_provider.py#181
[2] https://gerrit.fd.io/r/c/vpp/+/14584/4/src/vpp-api/python/vpp_papi/vpp_stats.py#64
[3] https://gerrit.fd.io/r/c/vpp/+/31678
[4] https://gerrit.fd.io/r/c/vpp/+/31817

Change-Id: Ic0f9d906be064b386b67154ba738646c4362aa2b
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agodoc: add fdio dc vexxhost server inventory across all locations 62/30662/14
Maciek Konstantynowicz [Thu, 7 Jan 2021 19:51:56 +0000 (19:51 +0000)]
doc: add fdio dc vexxhost server inventory across all locations

Change-Id: I17ffb5912964bd0c2da59ad4843dfb411f9c3e0c
Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
3 years agoUpdate VPP_STABLE_VER files 25/31725/6
Tibor Frank [Mon, 29 Mar 2021 06:07:01 +0000 (06:07 +0000)]
Update VPP_STABLE_VER files

Change-Id: I696cb7687574faa5b8acc14c469a0861e1ed9294
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoInfra: AWS deployment improvements 59/31659/2
Tomas Alexy [Tue, 16 Mar 2021 11:25:09 +0000 (12:25 +0100)]
Infra: AWS deployment improvements

- Add checks where missing
- Serialize instance deployment to prevent race conditions
Deploy tg -> sut1 (-> sut2) then start ansible provisioning on all instances
- Bump AWS provisioner version to 3.32

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: I9a53b1de96574674f3608f19a8f5ac297eb1bd86

3 years agoFIX: VPP version file name based on OS 76/31776/5
pmikus [Thu, 25 Mar 2021 18:38:33 +0000 (18:38 +0000)]
FIX: VPP version file name based on OS

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Icab8b87498e8487268857bb04c5ba7069d9297e3

3 years agoSTL traffic: Use the sleep+stop logic 84/31284/96
Vratko Polak [Thu, 25 Mar 2021 18:26:35 +0000 (19:26 +0100)]
STL traffic: Use the sleep+stop logic

+ PPS limit for AWS set to 1.2 Mpps.
+ The logic is very similar to that one in ASTF driver.
 + This helps for testbeds with high duration stretching (e.g. AWS).
 + Difference: No transaction scale, and we deal with floats.
+ Update loss counting to count unsent packets as lost.
 + Also count "unsent" transactions for other transaction types.
 + If nonzero, log the number of unsent packets/transactions.
+ Make STL and ASTF time overhead constant (called delay) configurable.
+ Subtract delay from approximated_duration, also for ASTF.

Change-Id: I6ee6aa6fba4f110ba1636e1b0ff76cac64383e33
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoParametrize T-Rex rx/tx descriptors count 67/31767/16
Tomas Alexy [Thu, 25 Mar 2021 14:15:17 +0000 (15:15 +0100)]
Parametrize T-Rex rx/tx descriptors count

Additional configuration can provide performance boosts when running in virtual environments
If set to 0, uses default DPDK value
By tuning this value it's also possible to run T-Rex 2.88 with ENA NICs on AWS

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: I43c86ea1d9aa854a1087f07fe544ac77a5b80397

3 years agoansible: update TX2 VPP Device hugepages and ifs 78/31778/2
Juraj Linkeš [Fri, 26 Mar 2021 08:30:58 +0000 (09:30 +0100)]
ansible: update TX2 VPP Device hugepages and ifs

These interfaces are not used, so remove them until we actually use
them.
Use less amount of hugepages since we don't need as much and the rest of
the memory is more useful for build/host processes.

Change-Id: I52b2d6e2812e5cadeab9e51a1bae3688794f414a
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoFrameworkSetup: fix timeout in Arm setup 45/31745/1
Juraj Linkeš [Wed, 24 Mar 2021 14:28:22 +0000 (15:28 +0100)]
FrameworkSetup: fix timeout in Arm setup

Framework extraction in Arm jobs is taking longer than the current
timeout. Increase the timeout to fix this.

Change-Id: I436d3131fcd7c25fd1f9607095712b4a8aa2d28c
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoFrameworkSetup: catch all exceptions in threads 04/31704/5
Juraj Linkeš [Tue, 23 Mar 2021 07:46:16 +0000 (08:46 +0100)]
FrameworkSetup: catch all exceptions in threads

Any uncaught exception in a thread running setup_node or cleanup_node
will prevent the result of that thread's execution from being passed
to the main thread. Since the main thread assumes there will be a result
for each thread, this leads to false positives. Catch all exceptions
in those background threads to fix this.

Change-Id: I64013dfc671e576290c8376a58c754ed21b9ba3e
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoInfra: fix NUMA count in Arm DPDK build 05/31705/3
Juraj Linkeš [Tue, 23 Mar 2021 09:06:50 +0000 (10:06 +0100)]
Infra: fix NUMA count in Arm DPDK build

The default NUMA value for Taishan build is insufficient and results in
failed test runs. Fix by increasing the amount to what's on the device.

Change-Id: Ia7c761e81ee9063d7129472d9caa8cebbbb7e1cf
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoGeneve: Re-write the creation of tunnels in python 67/31167/11
Tibor Frank [Mon, 8 Feb 2021 16:19:32 +0000 (17:19 +0100)]
Geneve: Re-write the creation of tunnels in python

Change-Id: I8b20134ad10abd9c021270b98c3110bd186946d5
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoMLRsearch: Support other than just two ratios 54/30954/61
Vratko Polak [Mon, 22 Mar 2021 16:11:21 +0000 (17:11 +0100)]
MLRsearch: Support other than just two ratios

+ Change some method names and argument types:
 + Do not mention NDR and PDR, except as examples.
 + Return list of ReceiveRateInterval instead of NdrPdrResult.
 + The resulting intervals can be degenerate when hitting min/max rate.
+ Rename quantity name parts from "fraction" to "ratio".
+ Intervals are no longer tracked for each target ratio.
 + They are found dynamically from known results.
+ Add effective_loss_ratio field to avoid loss inversion effects.
+ Move some functions to separate files.
 + Bound search logic moved to MeasurementDatabase.py
 + ProgressState moved to its file.
 + WidthArithmetics.py holds small computation functions.
+ Use parameter expansion_coefficient instead of "doublings".
+ Do uneven bisect to save time when width is not power of two times goal.
+ Timeout now correctly tracked for the whole search,
  not just the current phase.
+ Make logging (debug) function pluggable.
 + Added debug log messages for initial phase.
+ Do not mark as subclass if contructor signature differs.
+ Avoid re-measure on scale-limited (ASTF) profiles.
+ Remove outdated comments.
+ Bump copyright years.

Change-Id: I93f693b4f186f59030ee5ac21b78acc890109813
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoFIX: LXC image 99/31699/1
pmikus [Mon, 22 Mar 2021 13:07:24 +0000 (13:07 +0000)]
FIX: LXC image

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I73f7a1095b7cee52fade8a31285e405727548394

3 years agoUpdate VPP_STABLE_VER files 73/31573/2
Tibor Frank [Mon, 22 Mar 2021 07:29:56 +0000 (07:29 +0000)]
Update VPP_STABLE_VER files

Change-Id: I9649d4b7ed84e0dc7a0dafaf6aa78bc93c7fe5a6
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoTox: Increase verbosity 90/31690/3
Vratko Polak [Fri, 19 Mar 2021 10:45:20 +0000 (11:45 +0100)]
Tox: Increase verbosity

CSIT is becoming stricter in avoiding downloads during run,
as everything should be pre-cached in executor image.
This change makes it easier for human to detect downloads.

Change-Id: If7085f96ef1033f7f9405a86232a3d39a239d3e1
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoFrameworkSetup: Detect socket.timeout 91/31691/1
Vratko Polak [Fri, 19 Mar 2021 13:01:52 +0000 (14:01 +0100)]
FrameworkSetup: Detect socket.timeout

Otherwise setup "passes" leading to confusing errors later.
Example: https://logs.fd.io/production/vex-yul-rot-jenkins-1/csit-vpp-perf-mrr-daily-master-2n-skx/1251/archives/log.html.gz#s1-s1-s1-k1-k2

Change-Id: I56b14e2eb75679c7c10b00b3f9c6bf07902e5166
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agofix two issues 58/31658/2
Yulong Pei [Tue, 16 Mar 2021 16:43:08 +0000 (00:43 +0800)]
fix two issues

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

3 years agoInfra: Shared TG Ansible rules 76/31676/1
pmikus [Thu, 18 Mar 2021 08:36:38 +0000 (08:36 +0000)]
Infra: Shared TG Ansible rules

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I7d505d99003c4ab48b191c1d534513768d03bc83

3 years agoRevert "Ubuntu 20.04: Bump dill version." 71/31571/1
Peter Mikus [Thu, 18 Mar 2021 07:21:23 +0000 (07:21 +0000)]
Revert "Ubuntu 20.04: Bump dill version."

This reverts commit b6ab0f191ddc6b98b15c6629be34d3566b8d3992.

Reason for revert: wrong procedure, must be updated on all testbed and all images

Change-Id: I16e5d017d6b6413fe8474af90805970fb8832304
Signed-off-by: pmikus <pmikus@cisco.com>
3 years agoUbuntu 20.04: Bump dill version. 69/31669/4
Vratko Polak [Wed, 17 Mar 2021 13:35:44 +0000 (14:35 +0100)]
Ubuntu 20.04: Bump dill version.

This fixes the "an integer is required (got type bytes)" TypeError.

Change-Id: I63e23f1261cdfd86338d2f37ec9dff99d130f175
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoPAL: Remove instalation of system dependencies 68/31668/3
Tibor Frank [Wed, 17 Mar 2021 09:49:31 +0000 (10:49 +0100)]
PAL: Remove instalation of system dependencies

Change-Id: I66024f3110804499fa32628b0f72711413d741ac
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoIPsec: fix SA policy cli 67/31667/3
Juraj Linkeš [Wed, 17 Mar 2021 07:27:33 +0000 (08:27 +0100)]
IPsec: fix SA policy cli

The tunnel specification in "ipsec sa add" has changed. Update the cli
the reflect this.

Change-Id: I11d788798419b96b1289c53052eedb9767252df6
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoansible: arm perf TG update 20/30520/6
Juraj Linkeš [Fri, 18 Dec 2020 08:28:38 +0000 (09:28 +0100)]
ansible: arm perf TG update

Update TG to shared (docker) TG and add hugepages accordingly.

Change-Id: I45ece9d1c8d6dbc3174661447ae46a7e28613313
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
3 years agoFIX: ARM VPP_DEVICE executor 66/31666/1
pmikus [Wed, 17 Mar 2021 07:26:12 +0000 (07:26 +0000)]
FIX: ARM VPP_DEVICE executor

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I2a5554884d49ab8063d84c914e447b29d79c676b

3 years agoInfra: csit-sut temporary build 64/31664/2
pmikus [Tue, 16 Mar 2021 20:41:48 +0000 (20:41 +0000)]
Infra: csit-sut temporary build

- Untill the issue with fdiotools will be solved

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I3c2b06f37014a0571487d527447d90ceafdf52a9

3 years agoInfra: Upgrade csit-dut image 55/31655/4
pmikus [Tue, 16 Mar 2021 06:51:48 +0000 (06:51 +0000)]
Infra: Upgrade csit-dut image

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I0341a1564ba510acf46bda3e24225209abef2f82

3 years agoPerf: Bump T-Rex to 2.88 52/31652/4
pmikus [Mon, 15 Mar 2021 19:45:04 +0000 (19:45 +0000)]
Perf: Bump T-Rex to 2.88

+ Mellanox 4.6 is not for Ubuntu 20.04
+ Mellanox for ubuntu 20.04 is 4.9+
+ T-Rex 2.86 is not for Mellanox 4.6+
+ T-Rex for Mellanox 5.2 is 2.88+
==================================
= Bump

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I902dfc2a43e6718b385e89f31a34260e09d61bd3

3 years agoAPI options: Fix case when no options are present 40/31640/2
Vratko Polak [Mon, 15 Mar 2021 09:02:45 +0000 (10:02 +0100)]
API options: Fix case when no options are present

In that case we want to pass by returning an empty dict,
as docstring already describes.
Before this, the code failed when checking for included version.

Change-Id: Ia0d6b81a64ad0e7027ac7daf15c72ace1f6982ce
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoInfra: Ansible Ubuntu 20.04 follow-ups 51/31651/1
pmikus [Mon, 15 Mar 2021 19:36:40 +0000 (19:36 +0000)]
Infra: Ansible Ubuntu 20.04 follow-ups

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I36a8b4a6cab976f51685df56c0dc2d95c00e248f

3 years agoPAL: set DEBIAN_FRONTEND=noninteractive in run_report.sh 39/31639/1
Tibor Frank [Mon, 15 Mar 2021 08:32:41 +0000 (09:32 +0100)]
PAL: set DEBIAN_FRONTEND=noninteractive in run_report.sh

Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: I30037a41019ca1071b1dad443a0d09054c09fb3e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoUpdate VPP_STABLE_VER files 64/31564/2
Tibor Frank [Mon, 15 Mar 2021 05:18:56 +0000 (05:18 +0000)]
Update VPP_STABLE_VER files

Change-Id: Ic0ab23721178d8e8c7322806899bc36d33ae59ad
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoAllow IPSECSW on 2node testbeds 27/31627/2
Vratko Polak [Fri, 12 Mar 2021 11:39:37 +0000 (12:39 +0100)]
Allow IPSECSW on 2node testbeds

Change-Id: I71d72699a7fa99749e2554fcb2252f8bd86bfdfa
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoPAL: Optimize specification of elements 24/31524/29
Tibor Frank [Thu, 4 Mar 2021 11:30:07 +0000 (12:30 +0100)]
PAL: Optimize specification of elements

- plot_mrr_box_name
- plot_ndrpdr_box_name
- plot_perf_box_name
- plot_tsa_name
- plot_nf_reconf_box_name
- plot_nf_heatmap
- plot_cpta

Change-Id: I28ff2ea0e4f610e5ce48ffd083bf9a37bdc2f62d
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoInfra: Minor ansible tweaks 11/31611/1
pmikus [Thu, 11 Mar 2021 08:30:44 +0000 (08:30 +0000)]
Infra: Minor ansible tweaks

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I47de0b78ed64b2426d39c5edf22ec36866609e8e

3 years agoInfra: Switch csit-shim to fdiotools 77/31577/7
pmikus [Sun, 7 Mar 2021 08:57:13 +0000 (08:57 +0000)]
Infra: Switch csit-shim to fdiotools

+ use /u/fdiotools
+ use ubuntu 20.04

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I091e63a0d9e50de203b1527c7500b3864a616af6

3 years agoInfra: Do not strict check keys in Ansible 86/31586/8
pmikus [Mon, 8 Mar 2021 12:08:26 +0000 (12:08 +0000)]
Infra: Do not strict check keys in Ansible

- not until we migrate to SSH keys in ubuntu 2004

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I796f86922c672ba053d64f317cf6adb46b845cac

3 years agoAPI: Track options and version 84/31584/5
Vratko Polak [Tue, 9 Mar 2021 13:22:34 +0000 (14:22 +0100)]
API: Track options and version

If options are not present in .api.json file
(e.g. old PVP build), use an empty dict.
If a message is used in CSIT, check its options.
Tolerate vat_help, but print warning for others.
This aims to discover in-progress and obsolete APIs.

If .api.json version is not detected, or starts with "0.",
add a "version" item to options, so they get reported.

Change-Id: Ic5a9423157728a58f7ad306c7bd9eaef3bd92488
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 years agoInfra: AWS/Azure fix OOM issues on smaller instances 41/31541/2
Tomas Alexy [Fri, 5 Mar 2021 10:15:55 +0000 (11:15 +0100)]
Infra: AWS/Azure fix OOM issues on smaller instances

Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech>
Change-Id: Ic799f5eeaf03f34386603421c1d9282167c25aa5

3 years agoInfra: Add reschedule policy 76/31576/4
pmikus [Sat, 6 Mar 2021 21:03:37 +0000 (21:03 +0000)]
Infra: Add reschedule policy

Add rechedule policy to jobs so in case of failure they will respawn
in a endless loop

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I15698d9e147644e68bec549fc53474d421b25d9a

3 years agoUpdate VPP_STABLE_VER files 59/31559/2
Tibor Frank [Mon, 8 Mar 2021 05:56:28 +0000 (05:56 +0000)]
Update VPP_STABLE_VER files

Change-Id: I6ebf0bb7eb831619140a4a556f9c24b95760774e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoInfra: Docker DNS on Nomad hosts 55/31555/2
pmikus [Sat, 6 Mar 2021 19:34:41 +0000 (19:34 +0000)]
Infra: Docker DNS on Nomad hosts

+ Make the host default resolver

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Ifadb8901c66b65b2213878180c87370262ab22f0

3 years agoInfra: Move nginx service closer to storage 44/31544/5
pmikus [Fri, 5 Mar 2021 11:48:19 +0000 (11:48 +0000)]
Infra: Move nginx service closer to storage

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I3bbaa6c458e7994e964f7a07f69f9dab008a48fd

3 years agoPAL: repeat the download if it fails 2 47/31547/1
Tibor Frank [Fri, 5 Mar 2021 13:10:08 +0000 (14:10 +0100)]
PAL: repeat the download if it fails 2

Change-Id: I9bba50281bfe65f62a1cfab76364d834dc10d80c
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoPAL: repeat the download if it fails 46/31546/2
Tibor Frank [Fri, 5 Mar 2021 12:36:47 +0000 (13:36 +0100)]
PAL: repeat the download if it fails

Change-Id: I0a977009345ca5e46d23cc55405c6fd9b6e61c58
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoFIX: JenkinsJob alert condition 43/31543/2
pmikus [Fri, 5 Mar 2021 11:36:29 +0000 (11:36 +0000)]
FIX: JenkinsJob alert condition

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I1b996d0ed6252ed2b790656879e9068ff9c52039

3 years agoPAL: Fix: ignore verifying the SSL certificate 39/31539/1
Tibor Frank [Fri, 5 Mar 2021 08:00:47 +0000 (09:00 +0100)]
PAL: Fix: ignore verifying the SSL certificate

Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: Ia39c9fcfc6240a30d48b492ec5e1451d8279c646
Signed-off-by: Tibor Frank <tifrank@cisco.com>
3 years agoPAL: download - ignore verifying the SSL certificate 38/31538/1
Tibor Frank [Fri, 5 Mar 2021 07:43:45 +0000 (08:43 +0100)]
PAL: download - ignore verifying the SSL certificate

- only for https://logs.nginx.service.consul/vex-yul-rot-jenkins-1

Change-Id: Ibdcc59a44d5aae331aeef22fad54c4e90b2eec6b
Signed-off-by: Tibor Frank <tifrank@cisco.com>