aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-07-22Remove selected VIRL testsPeter Mikus1-1/+1
- These are not going to be converted to vpp_device Change-Id: I0148be014fee476f3dc1a72c51316aace0f2350f Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-07-17Use PapiSocketProvider for most PAPI callsVratko Polak1-2/+4
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>
2019-06-27VAT-to-PAPI: IPFIX and SPANTibor Frank1-1/+1
Change-Id: I34bdc17d6350e5a441dabd9154620627780f4c12 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-06-04virl: re-distribute test suites to virl simulationsJan Gelety1-1/+1
Change-Id: I7758d888f1a5edc42cba3c6131b8c882e709dc91 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-05-31CSIT-1468: InterfaceUtil migration from VAT to PAPIJan Gelety1-0/+1
Change-Id: I0062710d58996be767a852dc00545fedd60a5c72 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-01-28FIX: skip tap tests due to changes APIJan Gelety1-0/+2
Change-Id: Icc703c7055047b81a8281776c78752f145d9d004 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-01-24CSIT-1407 FIX vpp install after VPP changesPeter Mikus1-1/+1
Change-Id: I9148f6de75c3100f827eedec48c4c0ccb343bc54 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-11-29FIX: Exclude softwire func tests from executionJan Gelety1-0/+2
CSIT-1371 Map commands were remove from VAT by patch https://gerrit.fd.io/r/#/c/16115/. Excluding softwire functional tests from execution until corresponding csit KWs are fixed. Change-Id: I2adc580fb4770746c355f12f5ce7e7f8823255d8 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-10-24Remove usage of vpp-ext-deps packageJan Gelety1-1/+0
This package is not needed for csit enymore. Change-Id: Ie32a9c9322873e66554bb69112d4428697c866db Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-10-19FIX: Correct the packagecloud.io URL pathPeter Mikus1-0/+1
Change-Id: I8aae4cb85f9bb1efaa19d75e2fd7c9593f20756d Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit e44edcedef4dd2fee1c21b122b4bc6bb8586598e)
2018-09-13CSIT-1282 Migrate from Nexus.fd.io to packagecloud.ioPeter Mikus1-4/+6
Change-Id: Ib4e72dc8e3c0fedfcd702f4f97bc4f26cbc642e9 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-19Use pkg download script in bootstrap filesPeter Mikus1-54/+38
Download specific version of VPP/DKMS via download script. Change-Id: I6585790224d746a9edea7fa6624e810f389218e6 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-03-16VPP install and verify in __init__.robotAndrej Kilvady1-0/+2
Move VPP installation to separate test in test suite setup phase to clearly indicate any issue with VPP installation. Added test to check VPP responsiveness after installation. Change-Id: Idc2c78152e23aa7301bb5dbf9b1b6f4b639c3e84 Signed-off-by: Andrej Kilvady <andrej.kilvady@pantheon.tech>
2018-03-07FIX: Bootstrap.sh for functional VIRL jobsPeter Mikus1-5/+3
- Fix the path of temporary result files to workspace instead of /run/shm Change-Id: I4819ef5d6371412a91b6736aa36b223df38eacac Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-03-07CSIT-988: Fix functional bootstrapPeter Mikus1-2/+6
Change-Id: I6fb16e799e991ce01e9f997a05c4be72a26ce3af Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-02-28Update of VPP_STABLE_VER files + fix Centos dep listPeter Mikus1-1/+1
Change-Id: Icd149927c6b2893f8f716df29d8de475e809be49 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-02-13Increase virl2 and virl3 servers IP capacity in bootstrap.shJan Gelety1-2/+2
Change-Id: Ia64bfdbcc1ea5218a7b3b6708ad75662129a46cc Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-11-29CSIT-859: KW to add crypto SW device to startup.confJan Gelety1-1/+1
Change-Id: I8441d58a2d7f604b64fff358a3cef8d72289dcdc Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-10-31Update of VPP_STABLE_VER files and DPDK_STABLE_VER fileJan Gelety1-1/+1
- use new vpp ref build - ubuntu 16.04: 18.01-rc0~156-gae5a02f~b3093_amd64 - use new vpp ref build - centos7: 18.01-rc0~156_gae5a02f~b3090.x86_64 - use new dpdk version: 17.08-vpp2 - builds tested by semiweekly jobs: https://jenkins.fd.io/view/csit/job/csit-vpp-verify-master-ubuntu1604-semiweekly/85/ https://jenkins.fd.io/view/csit/job/csit-vpp-verify-master-centos7-semiweekly/85/ - remove vpp-debuginfo centos7 artifact as not provided for new versions Change-Id: I18445feac98304e7e7ecdf77968acebf2d5aef09 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-07-03Remove DPDK package download from vpp-csit* jobsPeter Mikus1-4/+0
Remove downloading if DPDK package from Nexus if the job is vpp-csit*. Change-Id: I37aada67c4334433618e122676fd1f50591b6742 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-06-29CSIT-687: Directory structure reorganizationTibor Frank1-2/+2
Change-Id: I772c9e214be2461adf58124998d272e7d795220f Signed-off-by: Tibor Frank <tifrank@cisco.com> Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
2017-06-22FIX of IP quota calculationJan Gelety1-10/+10
- use SIM limit per VIRL server instead of VM limit per VIRL Change-Id: I8b6688e3c37fd26f294a84f8435447302aad6e5b Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-06-05CSIT-607 Optimize VIRL job scheduling algorithmPeter Mikus1-2/+434
Optimize VIRL job scheduling algorithm based on available VIRL host capacity. Add IP pool availability pre-checks. - add quota based on max. allowe IPs and max. allowe VMs per virl - use one common bootstrap file instead of two separate files (one for ubutnut, another for centos) Change-Id: Ic40122a084624ff9c5eafa9f372b0451e857e29a Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-02-09Enable to pass vpp pacakges to VIRL in case of vpp patchJan Gelety1-2/+2
Change-Id: Ibab23153b698470e640530c44d95ca6f3c4898b2 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-01-27Add Centos specific bootstrap files.Thomas F Herbert1-366/+3
Add download and install script for rpms. Add topology virl file for Centos. Change VPP repo urls for centos. JIRA: CSIT-356 Change-Id: I3a0a88958a712d1b652f19c76e5e1b019796d0ae Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2017-01-25Remove _base from test suite dir namesJan Gelety1-1/+1
Change-Id: I2e495f99a88dedc47f64efcc14722bb629a25f02 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-01-24Correction of dpdk packages download when vpp deb packages providedJan Gelety1-5/+4
Change-Id: I7cefd0797103e5062eb48df95ad2e48cdddc19b6 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-01-24csit-func-tc-naming-change - phase 1Jan Gelety1-1/+1
- change of ts directories - change of ts file names - splitting of former files to more files when suitable - more details: https://wiki.fd.io/view/CSIT/csit-perf-tc-naming-change Change-Id: Ifda1038f8323735f86c1be7ba7f93e3fda183618 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-01-23Update of VPP_STABLE_VERJan Gelety1-2/+7
- use new vpp ref build: 17.04-rc0~134-g2ce7f98~b1759_amd64 - build tested by semiweekly job: https://jenkins.fd.io/job/csit-vpp-verify-master-semiweekly/1076/ - use new path for DPDK packages Change-Id: I1001ee3a22817f97a60b3a6555e3026d2b153913 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-01-02CSIT-488 TLDK jbb validation jobs need cmake installedpmikus1-1/+1
Add cmake into VIRL Ubuntu image Change-Id: I2cd33a58c0043a2c3e04809d1f73068520767929 Signed-off-by: pmikus <pmikus@cisco.com>
2016-12-12Correct the checking of return values.Tibor Frank1-3/+3
Change-Id: Icf9f37e0ab0ce4eef3532d3b18f82e9dc5f8f999 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2016-11-30CSIT-467 Add libpcap-dev packages to VIRL imagepmikus1-1/+1
- Add libpcap-dev packages to VIRL image - Small fixes Change-Id: I111b0d7e89180ffb7efa76c6503e687f715367f8 Signed-off-by: pmikus <pmikus@cisco.com>
2016-10-14CSIT-351: Testing Ubuntu 16.04.1 changespmikus1-1/+4
- Update the repository to get xenial packages - Update phy topology files with new pass - Update bootstrap to use new VIRL image - Update framework to reflect 16.04 dependencies - CSIT-116: Modify VIRL username/password Change-Id: I4de44755170fd0481acef34c7c2d9c299bc300da Signed-off-by: pmikus <pmikus@cisco.com>
2016-10-08Switch VIRL image version to 1.3pmikus1-1/+1
- Ubuntu 14.04.4 - Includes all changes in 1.1 and 1.2 (Java 8, Docker, Bridge utils) - Add StrongSwan package Change-Id: Iedf7e701e79062de0cd2d11d8d2e78c132d239fc Signed-off-by: pmikus <pmikus@cisco.com>
2016-10-03CSIT-235: Switched Port Analyzer mirroring (SPAN) - IPv4selias1-1/+1
- add library for SPAN setup - add telemetry traffic script and a keyword to run it - add "telemetry" folders for python and robot libraries - move IPFIX libraries to these new folders - add first SPAN test case, mirroring IPv4 ICMP packets Change-Id: Ibca35f724c13662bf80dce2d7e2649d1a0b8676a Signed-off-by: selias <samelias@cisco.com>
2016-09-25Use tmp directory for log filesJan Gelety1-4/+8
- store log files in tmp directory and exclude all files in this directory from archiving when creating tarballs Change-Id: Ie3e11670c9d466c5fcf41d03ccd0a7bbb04ffeb0 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-09-20CSIT-360: Parallel test sets runJan Gelety1-83/+247
- use parallel test set runs on as many VIRL sessions as needed for defined test sets Change-Id: I7640f15894a1451aba963989fab4dc838f2ab6d8 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-09-12CSIT-383: IPSEC IPv4 negative test casesJan Gelety1-1/+1
- use integrity and/or encryption key(s) different from integrity and encryption keys stored on VPP node to create tx packet on TG Change-Id: I38bf7e1dd6f488e605bad991c7a7f4d1ff226e8c Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-08-29Update of VPP_STABLE_VERJan Gelety1-7/+8
- use new vpp ref build: 16.12-rc0~30-g35f9daa~b1052_amd64 - build tested by semiweekly job: https://jenkins.fd.io/job/csit-vpp-verify-master-semiweekly/1031/ Change-Id: I858e483498de017610de30c984d49a7c78a92649 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-08-25CSIT-28: IPSEC basic conectivity test - IPv4Jan Gelety1-1/+1
- use all supported encryption and integrity algorithms in tunnel mode and in transport mode Change-Id: I2ae395d88d514b2ca3f62ab9aecbb27d8fb827b0 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-08-15CSIT-226: Install vpp-plugins deb package on DUTMatej Klotton1-0/+1
Change-Id: I3d8fd7454c7629dbe048470ebb17dbc0c542f1af Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-07-22CSIT-220: Rename directories in tests directoryMatej Klotton1-1/+2
- Move performance directory one level up and rename it to “perf” - Rename “suites” directory to “func” - Create __init__.py in “perf” directory - Rename fds_related_tests to fds Change-Id: I59f06afe1c5b95dd8a48417b8fbfd1fca8797097 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-07-01TEST: PERF pybot output set width to 150 charactersMiroslav Miklus1-1/+1
Change-Id: Iaa914280f7193a10072735fbcd67fcd668d3a12e Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-06-29CSIT-181: Remove fds tests from vpp-csit-verify and csit-vpp-verify jobsJan Gelety1-0/+1
- add tag SKIP_PATCH to FDS related tests and exclude them from execution in case of vpp-csit-verify and csit-vpp-verify jobs Change-Id: I14237a78529b3d3c9b586041a24ceef303c1394b Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-06-17Use common file names to store VPP stable build data in branchesJan Gelety1-5/+4
- use the same file names VPP_REPO_URL and VPP_STABLE_VER acrross branches to store the current branch repo url and stable vpp build version Change-Id: Ie7c020d5b3722bfe3eb34a374b98a29cc76676f2 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-06-10Use files to store VPP stable build dataJan Gelety1-6/+7
- add VPP_REPO_URL file to store path to VPP build repository - add VPP_STABLE_VER file to store VPP stable build version - adapt bootstrap*.sh files to read VPP build repository path and VPP stable build version from files Change-Id: I2997320ec3df68eaf092795e5d553fb3f024d366 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-06-02CSIT-128: Remove EXPECTED_FAILING tag from VXLAN over IPv6 test casesJan Gelety1-1/+1
- update vpp build to version 16.09-rc0~47-g3419d0b~b214_amd64 in bootstrap.sh and bootstrap-vpp-verify-weekly.sh - remove tag EXPECTED_FAILING from VXLAN over IPv6 test cases as the VPP-98 is closed Change-Id: I377f7ee931424e6d38e918aeb9fc7ab450875631 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-06-02CSIT-114: Eliminate repeated download of PIP packagesCarsten Koester1-1/+1
Allow VirtualEnv to use existing system-wide packages if they already exist. Change-Id: I6f39178d56e81affea0bee7b9065bef66712ddaa Signed-off-by: Carsten Koester <ckoester@cisco.com>
2016-05-31CSIT-98: MAC split-horizon group, part IIJan Gelety1-2/+2
- test cases to test MAC split-horizon group functionality together with VXLAN tunnel over IPv4 and over IPv6 - two IPv6 tests tagged EXPECTED_FAILING until VPP-98 is closed - added update of bootstrap.sh - vpp build updated to version 16.09-rc0~33-g4b46c84~b200_amd64 Change-Id: I1da6a98b11f5c39cd114abb35bb8f398cbbebf63 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-05-16Add VIRL host selection mechanism to bootstrapCarsten Koester1-12/+52
Add a mechanism to the bootstrap script that allows it to select one out of multiple candidate VIRL hosts. In addition, fix a few cosmetic issues wrt. connecting to the VIRL host: * Use consistent set of SSH options * Consistently use constant instead of hardcoded key filename * Use relative path names for start-/stop-testcase scripts Change-Id: I0d2972f170de82dd5d98da88656f5f962fca2415 Signed-off-by: Carsten Koester <ckoester@cisco.com>