summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
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
2017-01-20Add exit in build script to notify jenkinsrohitsakala2-1/+6
Jenkins job gives success even if swagger codegen fails, so added appropriate code to make jenkins build fail if swagger codegen fails. Change-Id: Ia8e61a7b37531ecfa16c7fd60bf8101d6da9fc5f Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-19Merge "Add Huawei pod6 and 7"Morgan Richomme1-0/+1
2017-01-18Merge "Clean case declaration prototype"Morgan Richomme3-297/+0
2017-01-18Merge "Use public endpoints in the RC file for compass only"Jose Lausuch1-0/+11
2017-01-18Add Huawei pod6 and 7Morgan Richomme1-0/+1
JIRA: FUNCTEST-693 Change-Id: I134d32045656969ba52c395a95b4d9255a197cc7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-18implement get/query scenario(s) and add unittestSerenaFeng7-27/+289
supported queries: scenario name/version/installer/project JIRA: RELENG-163 Change-Id: I3f6ea6e3c81edff30569918e0789e8c1e693b9fc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-17Clean case declaration prototypeMorgan Richomme3-297/+0
not used in Colorado angular framework (landing page) could be used for Danube Change-Id: I86ded631b4c5b78260bd03b376bf6264dabc2f89 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-17Declare additional huawei PODSMorgan Richomme1-1/+2
new pods have been declared in the DB they are used as production pods and may push results to artifact Change-Id: Ifca4e68b4d8e9fe696142db59e48d255f5b3019c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-17Merge "Fix a bug - add requests in virtualenv"Morgan Richomme4-7/+13
2017-01-17Use public endpoints in the RC file for compass onlyjose.lausuch1-0/+11
Change-Id: Ic6be1e5559653145e6a80442b205533901c0a2bd Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-17Merge "bugfix: fail to access testapi swagger"Morgan Richomme1-1/+1
2017-01-17bugfix: fail to access testapi swaggerSerenaFeng1-1/+1
bugfix [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/opnfv_testapi/tornado_swagger/static/index.html' Change-Id: Id1cad9a34a3a0331a2f8a0c27c2fa54ca40c7bd6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-16Fix a bug - add requests in virtualenvrohitsakala4-7/+13
Change-Id: Iecd20b69f7a3abf04a34d4ee7e9c94f1a039d8b1 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-16implement create scenario and add unittestSerenaFeng6-7/+135
JIRA: RELENG-163 Change-Id: Id715a2e5de1022cfd0a745505771d250935541bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-12Merge "Add Daisy for reporting"Morgan Richomme4-0/+4
2017-01-11Merge "utils/jenkins-jnlp-connect.sh: Make sure the pid directory exists"Fatih Degirmenci1-1/+13
2017-01-11[FUNCTEST-FUEL] Remove URL swapNikolas Hermanns1-5/+0
Since the virtual deployments are now able to use the internal mgmt network we remove the swap Change-Id: I8eed4dd8218a78c697ffde4716c35170fa72d814 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-11[Functest] Removing admin to Public enpoint swapNikolas Hermanns1-7/+0
The openstack.creds file is not aligned with commonly used methodologies. Change-Id: Iba0afc83ebbe35dd189cc35e5bf682680fc96535 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-11utils/jenkins-jnlp-connect.sh: Make sure the pid directory existsMarkos Chandras1-1/+13
/var/run/ is only writable by root so Monit will fail to create the necessary subdirectory for the jenkins pid file since we run it as the 'jenkin' user. We add another entry to the monit configuration file to check the presence and the permissions of that directory before we try to start the jenkins slave. Change-Id: Ica7153c3e90900f60e4f65708c8f08abf5af9201 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-01-11[Functest][Keystone] --long argument not available anymoreNikolas Hermanns1-2/+2
For newton we have to grep differently for the public ip. Change-Id: I646358005b163829004e0016514e254575d03157 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-10Add Daisy for reportingMorgan Richomme4-0/+4
Change-Id: Ie9d6d5e351e5d673252f08ed304d4fef96a1e00b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-09add scenario models and frameworkSerenaFeng6-3/+157
JIRA: RELENG-163 Change-Id: I36a51022c087621d9539dc40f7d9acee4db95dfb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-05Merge "utils: jenkins-jnlp-connect.sh: Fix 'started_monit' block indentation"Fatih Degirmenci1-23/+23
2017-01-05Merge "Create Jenkins Job for testapi automation"Serena Feng4-0/+121
2017-01-04Merge "Create Test Reporting landing page"Morgan Richomme47-1/+20488
2017-01-04Create Jenkins Job for testapi automationrohitsakala4-0/+121
Right now, only builder for creating testapi doc is included JIRA: FUNCTEST-664 Change-Id: If0a34154084c1d01ed6b997d2226779da43bcb14 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-04Update nicknames in swagger specrohitsakala5-18/+18
Swagger codegen uses nicknames for defining titles in the api documentation. Link - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/1.2.md Change-Id: Ia35718b77dfcac53317384c4445225f28e505919 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-03Merge "Fix installation of testapi in virtualenv"Morgan Richomme1-3/+11
2017-01-03Merge "Fix compass public vip fetch bug in Newton"Jun Li1-3/+11
2017-01-03Merge "modify the output message in push-test-log.sh"Jun Li1-1/+1
2016-12-30Create Test Reporting landing pagechenjiankun47-1/+20488
JIRA: RELENG-165 In this patch, I do the follow things: 1.deploy tornado server(currently I haven't write any backend code, since the backend code depend on the testapi and I need to communicate with Serena). 2.landing page code(almostly finished. But I haven't the data, so for now, the data this page shows is a mock json. When the testapi and my backend code ready, this page will finally finished) 3.deployment: supervisor + nginx + tornado + angular usage: docker run -itd -p 8000:8000 opnfv/reporting:<tag> visit landing page: http://server_ip:8000/reporting/index.html test api: http://server_ip:8000/landing-page/filters visit old reporting page: http://server_ip:8000/display/master/yardstick/status-apex.html Change-Id: I527ab2661ce9e84b2942ebe673afbf5f2bc7878f Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-12-29Fix compass public vip fetch bug in NewtonQiLiang1-3/+11
Error log: More than one endpoint exists with the name 'identity'. fetch_os_creds.info: public_ip: Change-Id: Ie7c8eeec5e84de4c38a17b4e718be65f36c562a7 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-12-29Fix installation of testapi in virtualenvrohitsakala1-3/+11
Ref :- https://openstack.nimeyo.com/87286/openstack-packaging-all-definition-data-files-config-setup Change-Id: I2519d3930bfeb4d22f92623dcc7ac88e2980b132 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2016-12-28modify the output message in push-test-log.shwutianwei1-1/+1
This patch modify the output message. It make people quickly find the error, when failed to run the command: gsutil ls Change-Id: Idff6a4fd7b627c1566049ac266af852b6ae49497 Signed-off-by: wutianwei <wutianwei1@huawei.com>