aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-08Change nsb_setup.sh to use NSB image instead of rawMytnyk, Volodymyr1-1/+1
The `ansible/roles/create_samplevnfs_image/tasks/main.yml` ansible role uses raw NSB image (yardstick-xenial-server.raw) to upload it to OpenStack instead QCOW2 NSB converted image (yardstick-nsb-image.img which is converted from the raw). Changed the create_samplevnfs_image role to to use NSB image. JIRA: YARDSTICK-1000 Change-Id: Ieda9f14e6882ca854331b4eccc9a4cb390b6a475 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-02-07Merge "Improve ovs_deploy.bash script"Ross Brattain1-16/+7
2018-02-07Merge "Auto Generated INFO.yaml file"Ross Brattain1-0/+80
2018-02-07Add a missing colon in the sample configRodolfo Alonso Hernandez1-1/+1
Just in case anyone uses this file for testing. Change-Id: Iff0489f839f3985e43ac31d2a89147e5f16c59e9 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-02-06Merge "Adding three missing test case descriptions"Rodolfo Alonso Hernandez2-1/+4
2018-02-06Auto Generated INFO.yaml fileagardner1-0/+80
INFO.yaml meant to be machine readable. This file was auto generated from an ldap lookup and your projects INFO file. Meeting times are not currently filled out. please ammend this patchset to complete Going forward comitter promotions should be done against this file. PTLs: Must be merged for you to gain delete access on testresults.opnfv.org If project_lead: is missing (my script could not parse) please amend with same from commiters section eg: project_lead: &opnfv_$project_ptl name: 'Lead Name' email: 'lead email' id: 'lead lfid' company: 'lead company' Change-Id: I241279fba0d9acf69d38242a30541ddb90d22d67 Signed-off-by: agardner <agardner@linuxfoundation.org> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2018-02-03Merge "Fix i40vf driver download URL"Emma Foley1-1/+1
2018-02-02Fix i40vf driver download URLRodolfo Alonso Hernandez1-1/+1
Fix the download URL of i40vf driver introduced in 15e122a770d6349c84801dd05891e21661cbad2c. In order to avoid the redirection, the URL should be: https://netix.dl.sourceforge.net/project/e1000/ i40evf%20stable/{{ i40evf_version }}/{{ i40evf_gzfile }} JIRA: YARDSTICK-993 Change-Id: Ie19d11d36417914e823b81867046123204111d76 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-02-02Removed zero from tc numberMika Rautakumpu1-1/+1
Originally tc number was TC0042, after fix TC042. Change-Id: I3c36e39a141ec8eb74f9f00d7218bd511a56fbc9 Signed-off-by: Mika Rautakumpu <mika.rautakumpu@nokia.com>
2018-02-01Merge "Adding new vFirewall Test cases based on Concurrency, Connections per ↵Ross Brattain59-0/+2980
second, Throughput and Transactions per second for various http locator image sizes including 1b, 4k, 64k, 256k, 1024k"
2018-02-01Merge "Add "img_property" when building Yardstick image"Ross Brattain2-39/+7
2018-02-01Adding three missing test case descriptionsMika Rautakumpu2-1/+4
HA tests TC056, TC057 and TC058 are missing from Yardstick test case list. Missing white space added to tc056.rst. Change-Id: Id56a22ad96af8c3d05d95fb58259e9683ce9fab0 Signed-off-by: Mika Rautakumpu <mika.rautakumpu@nokia.com>
2018-01-31Merge "Modify fuel_baremetal pod config file"Ross Brattain2-10/+15
2018-01-30Add sample OpenStack/SRIOV RFC2544 based TCMytnyk, Volodymyr1-0/+88
Add sample OpenStack/SRIOV RFC2544 based test case which can be run using external Trex. Console log: http://paste.openstack.org/show/658002/ Result output: http://paste.openstack.org/show/658004/ JIRA: YARDSTICK-967 Change-Id: Id0e2d6d47f459c7e6a3370735bab74f7ce502b24 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-01-29Merge "Add Intel Fortville 40G VF driver to sample VNF image"Rodolfo Alonso Hernandez8-0/+165
2018-01-29Merge "Change CivetWeb download URL"Ross Brattain1-2/+2
2018-01-29Merge "Fix up tests for Parser scenario"Ross Brattain2-28/+45
2018-01-29Merge "Move tests: unit/cmd/"Ross Brattain5-1/+1
2018-01-29Add Intel Fortville 40G VF driver to sample VNF imageMytnyk, Volodymyr8-0/+165
1) Add common YAML config file to add kernel drivers to sample VNF image. 2) Add Intel Fortville 40G VF driverto sample VNF image using common YAML config file for drivers. 3) Configure i40evf driver to load on boot JIRA: YARDSTICK-968 Change-Id: I223c8a10d77352baf4f41a481f465970655ba251 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-01-29Merge "Adding support to pull docker images behind proxy"Emma Foley1-0/+10
2018-01-29Improve ovs_deploy.bash scriptRodolfo Alonso Hernandez1-16/+7
Improved ovs_deploy.bash script [1]: - Check if there is an error during the execution. - Removed "prerequisites" function because is not called. - Modified DPDK package installation: execute "make config" and then "make" - Added comments. [1]https://github.com/opnfv/yardstick/blob/master/yardstick/resources/scripts/install/ovs_deploy.bash JIRA: YARDSTICK-916 Change-Id: I3029f983dde72aa46f6fdd61dd64d086ab3c2af6 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-01-27Fix up tests for Parser scenarioEmma Foley2-28/+45
* Check the results at the test methods * Remove print statement from Parser scenario * Replace assertEquals(x, True) with assertTrue(x) Change-Id: I5c2612692e625fc888c7ce7637b9e1625440724a Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-01-27Adding support to pull docker images behind proxyDeepak S1-0/+10
This patch creates a http_proxy.conf in docker service, to enable docker commands behind the proxy Change-Id: Iac38a086026c11e89e534728467dc7da0e01ba59 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2018-01-26Merge "Add python-openstackclient in docker image"Ross Brattain1-1/+1
2018-01-26Merge "Replace assertEqual(x, True|False) with assert[True|False](x)"Ross Brattain22-48/+48
2018-01-26Merge changes from topic 'bug/yardstick-864'Ross Brattain17-170/+206
* changes: Replace assertEquals with assertEqual Make files pep8 compliant before using assertTrue|False
2018-01-26Merge "Remove generated file in 'test_build_vm_xml'"Rodolfo Alonso Hernandez1-3/+3
2018-01-26Modify fuel_baremetal pod config fileting wu2-10/+15
The current HA testcases failed on fuel baremetal installer with reason "SSHTimeout". This is due to incorrect ssh login info in the pod config file. The change is to by running 'prepare_env.sh' script to - read env vars 'USER_NAME' and 'SSH_KEY' - replace the 'node_username' to env var 'USER_NAME' - replace the "node_keyfile" to env var 'SSH_KEY' JIRA: ARMBAND-317 Change-Id: I0239892f447ae99ab4025eedcd133e1b6f04e5a5 Signed-off-by: ting wu <ting.wu@enea.com>
2018-01-26Add python-openstackclient in docker imageAlex Yang1-1/+1
"openstack: command not found" error occurred in [1]. The version of python-openstackclient is listed in [2]. This program should be installed in the container image to make CI work for now. [1]: https://build.opnfv.org/ci/job/yardstick-daisy-baremetal-daily-master/114/ [2]: https://github.com/openstack/requirements/blob/stable/pike/global-requirements.txt Change-Id: Idb50e26bb2ca36f2dd6b6dddf94680d479cb9c9f Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-01-25Replace assertEqual(x, True|False) with assert[True|False](x)Emma Foley22-48/+48
Change-Id: Id19df79b4d27aab1a83d8350ce6395e87c13472b JIRA: YARDSTICK-903 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-01-25Replace assertEquals with assertEqualEmma Foley6-18/+17
unittest.assertEquals is deprecated[1], and has been replaced with unittest.assertEqual. [1] https://docs.python.org/2/library/unittest.html#deprecated-aliases Change-Id: I9c6320e3a9ec5528036b529a9c32fc48b0bcfd62 JIRA: YARDSTICK-864 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-01-25Make files pep8 compliant before using assertTrue|FalseEmma Foley13-152/+189
JIRA: YARDSTICK-903 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Change-Id: Id7912b5ddee36e7366bcfa824379853efd0a89f1
2018-01-25Move tests: unit/cmd/Emma Foley5-1/+1
* Fix pylint errors * Add TODOs Some errors are ignored locally, as they were a symptom of other problems. These issues have been flagged with a TODO, and should be fixed later. Change-Id: I505d72e1c646fea1976a0bf854369c6b6308bbb1 Jira: YARDSTICK-837 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-01-25Remove img_modify_playbook from nsb_setup.sh scriptMytnyk, Volodymyr2-2/+2
The `img_modify_playbook` variable is not used anymore by the build_yardstick_image.yml. The `img_property` variable is used instead. The `img_modify_playbook` usage has been removed and the `img_property` has been introduced in YARDSTICK-879 JIRA story. JIRA: YARDSTICK-964 Change-Id: I0239544c4f4078de7a4817292ab6bd789c21e944 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com> Signed-off-by: Alonso Hernandez, Rodolfo <rodolfo.alonso.hernandez@intel.com>
2018-01-24Remove generated file in 'test_build_vm_xml'Rodolfo Alonso Hernandez1-3/+3
Change I22e95c488e27d6e2a8fdf6c1a07faab275fa6bba introduced a change in test case 'test_build_vm_xml' [1]. This test case generates a file which is stored locally but never removed. [1]https://github.com/opnfv/yardstick/blob/80dc9034edeb05f66bfa6264ae0adf0f6aea60da/tests/unit/benchmark/contexts/standalone/test_model.py JIRA: YARDSTICK-918 Change-Id: I91d39bb37c3d8a273fe68155bb308c5a3bc1ca9d Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-01-24Merge "'libvirt' guest console in Standalone model"Ross Brattain2-24/+31
2018-01-24Merge "Check RS for virtualized OpenStack/Yardstick"Ross Brattain5-0/+133
2018-01-24Merge "Cleanup of redundant files from Prox directory"Rodolfo Alonso Hernandez15-631/+0
2018-01-24Check RS for virtualized OpenStack/YardstickStepan Andrushko5-0/+133
Draft for env requirements reading and validation Script can be run from tools/virt_ci_rampup.sh. First requirement file is parsed/stored. This file must be created in ahead and named as 'infra_deploy.yaml'. Then separate ansible role is used to validate resources. Ansible-role fails if there is not enough resources on the host for cpu, ram, disk space. JIRA: YARDSTICK-945 Change-Id: I86cd4bdc963de3aa51392fc73a239cbd426bc64a Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-01-23Merge "Use assertIn(x, y) instead of other variations"Rodolfo Alonso Hernandez2-16/+22
2018-01-23Cleanup of redundant files from Prox directoryAbhijit Sinha15-631/+0
JIRA: YARDSTICK-965 Removed the redundant files and directory from Prox test folder. Change-Id: I6167f0a4ccdd581153dad3ec9f5eaaf2619aacbd Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
2018-01-23Merge "Enable iommu support in grub"Ross Brattain3-0/+123
2018-01-23Rename ResourceProfile.check_if_sa_running()Emma Foley7-55/+53
* Update log message and rename method to make debugging easier * Fix pep8 violations in touched files JIRA: YARDSTICK-859 Change-Id: Id138d72cd8557ffacd5dcc81d06feeb484e13625 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-01-22Enable iommu support in grubJan Malanik3-0/+123
JIRA: YARDSTICK-895 It's required for sriov standalone yardstick tests. This part of commit message will be deleted: This code will be enabled when https://gerrit.opnfv.org/gerrit/#/c/47957/ will be merged, because it requires host reboot. Change-Id: I0ec9cbf90a9d83d54e545fcf421b8baf206601a4 Signed-off-by: Jan Malanik <janx.malanik@intel.com> Signed-off-by: Malanik Jan <janx.malanik@intel.com>
2018-01-22Merge "Clean unit tests in "benchmark.scenarios.lib.test_create_volume.py"Ross Brattain2-21/+71
2018-01-22Merge "Move tests: unit/dispatcher"Ross Brattain3-9/+3
2018-01-22Merge "Move tests: unit/orchestrator/"Ross Brattain3-84/+231
2018-01-22Merge "Replace "oslo_utils.importutils" with standard library "importlib""Ross Brattain6-29/+73
2018-01-22Clean unit tests in "benchmark.scenarios.lib.test_create_volume.pyEmma Foley2-21/+71
* Use mock_object.assert_called_with instead of self.assertTrue(mock_object.called) * Remove an unneeded if clause in CreateVolume * Add individual tests for each method in CreateVolume Change-Id: I54cc56434d316f059b3822879145e6a299866fcb Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-01-20Merge "update docs for procedure after host reboot"Ross Brattain1-6/+10