summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2017-02-28Move case base from tempest_smoke_serial to snaps_healthcheckMorgan Richomme3-9/+11
It will allow to show additional scenarios in the reporting page the scenarios that fail on healthcheck or smoke tests before running tempest_smoke_serial Change-Id: I0d9ba84296bfc867ab80caa7873bb5bcb8469fc2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-27[Functest] Add Tempest Defcore test to the dashboardjose.lausuch1-0/+2
Change-Id: Id2292198d1e34a2de1d2b9ccdda83f565f771df1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-27Merge "make unittest cover server.py in TestAPI"Morgan Richomme5-19/+56
2017-02-27Merge "Use new-style classes which inherit from object in TestAPI"Morgan Richomme1-1/+1
2017-02-27Merge "Add storperf reportign status page Create associated static storperf ↵Morgan Richomme9-4/+277
page Prepare vsperf, qtip, bottlenecks Put Yardstick scenario class into utils directory"
2017-02-27Use new-style classes which inherit from object in TestAPISerenaFeng1-1/+1
JIRA: FUNCTEST-707 Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-27make unittest cover server.py in TestAPISerenaFeng5-19/+56
Change-Id: Id379e6786e1f61fb1032f80636da107156e68fb5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-24leverage tox to facilitate the developmentSerenaFeng3-0/+78
Before submitting a patch, we need to execute flake8, unittest, open coverage report, now with the help of tox any pytest, we can process them all with only one command. pytest is choosen here is because of its useful assert showcase, and powerful properties and healthy ecosystem(plugins of mock etc) Change-Id: I7ee89da370da08cc2bc70f7d3b1e2741d7d2e1e8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-24add unittest of config.pySerenaFeng8-17/+105
Change-Id: I96639c47d27ef449d02528efad23e2499daa3def Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-24fix internal port of TestAPISerenaFeng2-9/+3
There are too many parameters when starting TestAPI container, it will confuse the user. I learned that docker containers like Jenkins and mongo the internal port is fixed, the user only need to change the exposed port, so the same strategy is adopted here Change-Id: I59424f5a1f36945d906975a741b631019fcbd46d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-24Add storperf reportign status pageMorgan Richomme9-4/+277
Create associated static storperf page Prepare vsperf, qtip, bottlenecks Put Yardstick scenario class into utils directory Change-Id: I874d1733fe3f37dc5dd557559478e7e0b25371d7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-24Merge "Added Search_Results Page"Morgan Richomme35-317/+22669
2017-02-22Add Netready and Barometer tests to the reporting dashboardjose.lausuch1-3/+6
Change-Id: Idc09d3461ee5af09625aba3cf2219b64318145c8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-22Add unit tests to token based authenticationrohitsakala3-2/+121
Projects has been choosen as an helper to test token success,invalid and unauthorized JIRA: FUNCTEST-739 Change-Id: Iecc68821f5cc85630c17e54144723cc6f5e21ded Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-21Add token based authentication for post/update/deleterohitsakala6-0/+34
As the mongodb database is not so secure today, this has been added. The token is stored in the mongoDB database. For now, authenticate variable is set false so that there would be no problem in accessing the databse by jenkins jobs. JIRA: FUNCTEST-730 Change-Id: I12b3907d650fc63efbdb031ebf3dd09519750109 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-21fix violation of import rule in TestAPISerenaFeng17-274/+273
TestAPI violate import rule of OpenStack Style a lot, like Do not import objects, only modules Do not import more than one module per line Alphabetically order your imports by the full module path This patch is mean to fix them. Change-Id: Ia05b944a74b3f443c9101a9840f613f9a6f5ae49 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-17Allow ericsson-virtual12 to to push test logs using gsutiljose.lausuch1-1/+1
This jjob complains about it's not a CI POD: https://build.opnfv.org/ci/job/functest-fuel-virtual-suite-master/253/console Change-Id: I7d65350060a855ab5bfddd1abdbe127fe3e0fbf3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-15Added Search_Results PageKumar Rishabh35-317/+22669
Also added animations and actions pertaining to index and search_results page. Change-Id: If3966991f165626ca2b13a4ac62af6a777a22903 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-02-15Merge "implement delete and related unittest"Jose Lausuch2-12/+34
2017-02-15implement delete and related unittestSerenaFeng2-12/+34
JIRA: RELENG-163 Change-Id: I7fe45f3e92c3dc5f5b32582561249150a2cdb8cf Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-14Bug Fix: tranlate build tag into jenkins urlMorgan Richomme4-7/+18
Include HEALTHCHECK Tier in the reporting Change-Id: I4a5a8aeb7564ca35c9199c7925ac344b43270d87 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-14Fix flake8 violations in relengjose.lausuch14-166/+208
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14Bug fix: Huawei POD12 was still not considered as CI PODMorgan Richomme1-1/+1
Missing space in list of CI PODs Change-Id: I631ffcac6b8cb9a2f42c55610eb01c43edfae9f4 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-11Change automation to original testresults serverrohitsakala1-2/+2
Changed port from 8711 to 8082 and auto to test in url. There are 3 successful builds. https://build.opnfv.org/ci/job/testapi-automate-master/ Change-Id: I099b026eb22c7d95d8bf7345837e7c2234ef571d Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-10Merge "update scenario and related unittest"Morgan Richomme4-28/+384
2017-02-10Added VNF_Catalogue ServerKumar Rishabh16-146/+458
Change-Id: I45cedac46f06e6e1f080dd3bc38d6f79eec37fa6 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-02-09vsperf: replace intel-pod3 by intel-pod12Martin Klozik1-2/+2
Intel POD dedicated to VSPERF was moved to new location and renamed to Intel POD 12. Change-Id: I98a2204de90f6a491edb9e378da46600d4f29978 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Aric Gardner <agardner@linuxfoundation.org> Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-02-09update scenario and related unittestSerenaFeng4-28/+384
JIRA: RELENG-163 Change-Id: I137898dc84de5f8cb6cab5de9b4ac5de5e4bb978 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-09Add huawei-pod12 (used for JOID) in ci-production listMorgan Richomme1-1/+1
Change-Id: Icf5b89e608d604fb0fec3369b680db9e341b2b35 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-09Merge "[bugfix] wrong regular expression to fetch controller ip by hostname"Jun Li1-1/+1
2017-02-09[bugfix] wrong regular expression to fetch controller ip by hostnamemeimei1-1/+1
Change-Id: Idcf6739498837e828dd65897f599dada720fb48e Signed-off-by: meimei <meimei@huawei.com>
2017-02-08Merge "Update on Functest reporting processing"Morgan Richomme3-11/+27
2017-02-06Change testresults url to auto testresults urlrohitsakala1-2/+2
The url is being changed to auto because the auto testresults website is updated and the api-docs should be in sync with the testresults website. Note - The auto testresults is created temporarily. Change-Id: If2428511c46183bd57b1a466fbdd04786528b103 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-06Update on Functest reporting processingMorgan Richomme3-11/+27
- new param to exclude or not results from virtual PODs - new param to exclude or not noha results - fix path - add rally_sanity in black list until we fixed the format issue Change-Id: Ie952f7d6968a322edbcf2effffbc1a75beddc52f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-03Added helper scriptsKumar Rishabh3-0/+151
Helper scripts to migrate schema for the mysql database. Change-Id: Id598c398318967a117a4dbaa3dc21eab22b24d68 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-02-03Added VNF_Catalogue Landing PageKumar Rishabh5-0/+1696
Change-Id: Idc5184c3e98bff5297afe18c5e8e25e91490b767 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-1/+1
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-27utils: jenkins-jnlp-connect.sh: Drop hardcoded paths for mkdir and chownMarkos Chandras1-6/+9
mkdir and chown are installed in /bin on Ubuntu so determine their path during runtime. Change-Id: I654ad81dfe370b84b9727532e7ee0a37bfd4028f Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-01-25Merge "Add nose and coverage requirements in unittest script"Jose Lausuch1-9/+5
2017-01-24[Fuel] [Functest] Change AUTH_URL to use v3 in the RC filejose.lausuch1-0/+8
Although Fuel default RC file sets export OS_IDENTITY_API_VERSION=3, the AUTH_URL is poiting to ip:port. By adding /v3 at the end of the URL, some API calls work. Change-Id: I745e38524cef6105c23950f318d392e7473366bf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-25Add nose and coverage requirements in unittest scriptrohitsakala1-9/+5
bugfix to :- https://build.opnfv.org/ci/job/testapi-verify-master/22/console Change-Id: I0eaa730aed68ce11b9095c2810c223a0519ffcde Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-24Merge "Remove start and finish builders from jenkins job"Jose Lausuch4-42/+12
2017-01-23Merge "Add code coverage report in jenkins job"Morgan Richomme2-14/+37
2017-01-23Add code coverage report in jenkins jobrohitsakala2-14/+37
Modified existing bash script to enable code coverage report in jenkins job. Removed test-requirements.txt. JIRA: FUNCTEST-703 Change-Id: I7ea6b5c87ce7d098dcb0c74ed195db0f6c3b9692 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-22Shortening swagger spec nicknamesrohitsakala6-22/+22
This is being done because titles have become so long in index of documentation [0] that they don't fit in one line. [0] http://artifacts.opnfv.org/releng/docs/testapi.html JIRA: FUNCTEST-704 Change-Id: I046a21d7ceac6dc203ac71d169d4303095bdc69c Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-21Remove start and finish builders from jenkins jobrohitsakala4-42/+12
Removing those builders as it is unnecessary to start and finish server instead calling testresults.opnfv.org for specs. JIRA: FUNCTEST-705 Change-Id: Icfbce0c0eaf9d4ca20920de78450a1ffd580344c Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-20Merge "Add ericsson-pod1 as it is complained by CI"Fatih Degirmenci1-1/+1
2017-01-20Add ericsson-pod1 as it is complained by CIhelenyao1-1/+1
Change-Id: I1b8492e6c2de1a4cd5f426358d850ff89c93d9bb Signed-off-by: helenyao <yaohelan@huawei.com>
2017-01-20Merge "Add exit in build script to notify jenkins"Jose Lausuch2-1/+6
2017-01-20Merge "implement get/query scenario(s) and add unittest"Serena Feng7-27/+289