releng.git
6 years agoInitiate packetization of Testing reporting 29/36929/11
Morgan Richomme [Tue, 4 Jul 2017 15:23:33 +0000 (17:23 +0200)]
Initiate packetization of Testing reporting

Testing reporting provides
- static reporting pages [1] (jinja2)
- landing pages including test case catalogue [2] (angular)

It consumes the Test API to build web pages providing status for
the testing projects (so far functest, yardstick, storperf and
qtip).

Dockerization has been initiated [3]. The goal is to replace the
static page hosted on testresults.opnfv.org by a docker regenerated
and redeployed when reporting code is changed

But the docker and more generally the testing reporting directory
must be refactored to
- manage dependencies properly
- leverage tox (py27, docs, pylint, pep8)

This patch
- setups tox (py27, pep8, pylint, docs)
- integrate the requirement management
- fix pep8 errors
- introduce 1 dummy unit test

This patch does not
- fix pylint errors
- create any doc

[1]: http://testresults.opnfv.org/reporting2/display/index.html
[2]: http://testresults.opnfv.org/reporting2/reporting/index.html
[3]: https://gerrit.opnfv.org/gerrit/#/c/36735/

Change-Id: I4613de7ca7036d6c6bbb8f58ade492b1d673599b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoMerge "Reporting docker deployment improvement"
Morgan Richomme [Thu, 6 Jul 2017 09:44:05 +0000 (09:44 +0000)]
Merge "Reporting docker deployment improvement"

6 years agoMerge "Functest verify jobs only for master branch"
Jose Lausuch [Thu, 6 Jul 2017 07:12:31 +0000 (07:12 +0000)]
Merge "Functest verify jobs only for master branch"

6 years agoMerge "bugfix: hardcoded testapi urls"
Jose Lausuch [Thu, 6 Jul 2017 07:11:40 +0000 (07:11 +0000)]
Merge "bugfix: hardcoded testapi urls"

6 years agoReporting docker deployment improvement 91/36991/2
chenjiankun [Thu, 6 Jul 2017 03:45:01 +0000 (03:45 +0000)]
Reporting docker deployment improvement

In the patch, I make build pages(landing page ...),
when docker build, when run a container, we can set
the api url(default:testresults.opnfv.org/reporting2) by -e;

For example:
1. In testresults.opnfv.org:
docker run -itd -p 8888:8000 -p 80:80 opnfv/reporting:tag
visit: http://testresults.opnfv.org/reporting2/reporting/index.html

2. Personal use:
docker run -itd -p 8888:8000 -p 80:80 -e SERVER_URL=192.168.131.2:8888 opnfv/reporting:tag
visit: http://192.168.131.2:8888/reporting/index.html

Change-Id: Ib838c12e785151acf9852f25eab254aedc520a1d
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
6 years agoChange the installer ip of daisy-baremetal 85/36985/1
Alex Yang [Thu, 6 Jul 2017 00:46:00 +0000 (08:46 +0800)]
Change the installer ip of daisy-baremetal

From 10.20.11.2 to 10.20.7.3

Change-Id: I796e2bcf3065df804eefec28c2ed9ecdcb198d7a
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoFunctest verify jobs only for master branch 99/36499/2
jose.lausuch [Mon, 26 Jun 2017 08:38:23 +0000 (10:38 +0200)]
Functest verify jobs only for master branch

The verify job is running tox which is not in stable/danube
branch. Therefore, the bugfixes in that branch fail.
This enables verify jobs only to master branch.

Change-Id: Iff2a7b5e2d6aaff489767e77ebfa9a16bb9326de
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
6 years agobugfix: hardcoded testapi urls 59/36959/2
SerenaFeng [Wed, 5 Jul 2017 08:20:54 +0000 (16:20 +0800)]
bugfix: hardcoded testapi urls

testapi webportal's urls are fixed in configure files
this patch aims to modify them according to base_url
provided when bringing up container

Change-Id: I29c461fc3b837e54d4ff5330dcaa520637590ff7
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
6 years agoMerge "remove scenarios"
Jun Li [Wed, 5 Jul 2017 01:53:27 +0000 (01:53 +0000)]
Merge "remove scenarios"

6 years agoMerge "Enable ODL scenarios jobs"
Serena Feng [Wed, 5 Jul 2017 01:50:39 +0000 (01:50 +0000)]
Merge "Enable ODL scenarios jobs"

6 years agoMerge "prototypes: xci: xci-deploy.sh: Append trailing slash for rsync vars"
Markos Chandras [Tue, 4 Jul 2017 18:02:48 +0000 (18:02 +0000)]
Merge "prototypes: xci: xci-deploy.sh: Append trailing slash for rsync vars"

6 years agoMerge "Use former calls to running Functest in Danube"
Jose Lausuch [Tue, 4 Jul 2017 13:26:06 +0000 (13:26 +0000)]
Merge "Use former calls to running Functest in Danube"

6 years agoMerge "add zte-virtul3 and zte-virtul4 to Doctor CI pods"
Ryota Mibu [Tue, 4 Jul 2017 13:19:36 +0000 (13:19 +0000)]
Merge "add zte-virtul3 and zte-virtul4 to Doctor CI pods"

6 years agoUse former calls to running Functest in Danube 11/36911/1
jose.lausuch [Tue, 4 Jul 2017 12:35:23 +0000 (14:35 +0200)]
Use former calls to running Functest in Danube

Change-Id: I472a41e3c2ad41e97a6f4ea3b82d72df73c8416b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
6 years agoremove scenarios 87/36887/2
wutianwei [Tue, 4 Jul 2017 06:44:24 +0000 (14:44 +0800)]
remove scenarios

compass4nfv don't support openo, moon,onos in master branch
so we remove these scenario

Change-Id: Ibfad2b352b1236dac48453101860cdd538528aa3
Signed-off-by: wutianwei <wutianwei1@huawei.com>
6 years agodovetail change tag to cvp.0.2.0 95/36895/3
MatthewLi [Tue, 4 Jul 2017 07:37:59 +0000 (03:37 -0400)]
dovetail change tag to cvp.0.2.0

after https://gerrit.opnfv.org/gerrit/#/c/36775/ merged
let it run in CI

Change-Id: I46a4a55aab673c346291428eccdc24c77cfd8bc4
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
6 years agoEnable ODL scenarios jobs 73/36873/2
Zhijiang Hu [Mon, 3 Jul 2017 17:39:51 +0000 (01:39 +0800)]
Enable ODL scenarios jobs

This PS does the follwoing things:
1. Enable ODL scenarios jobs on CI Pod
2. Change default scenario from ha to noha

Change-Id: I548174bfa551aa06b6d9bfe64cf119eea37efda3
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
6 years agoMerge "Add jenkins jobs for automatic reporting dashboard deployment"
Jose Lausuch [Tue, 4 Jul 2017 07:29:05 +0000 (07:29 +0000)]
Merge "Add jenkins jobs for automatic reporting dashboard deployment"

6 years agoadd zte-virtul3 and zte-virtul4 to Doctor CI pods 89/36589/6
Ryota MIBU [Tue, 27 Jun 2017 14:24:05 +0000 (14:24 +0000)]
add zte-virtul3 and zte-virtul4 to Doctor CI pods

Change-Id: I1a27979cad590886fb5cdb039d69611a473cbe3c
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
6 years agoAllow zte-virtual1 publish logs to artifact repo 89/36889/1
jose.lausuch [Tue, 4 Jul 2017 07:08:52 +0000 (09:08 +0200)]
Allow zte-virtual1 publish logs to artifact repo

Change-Id: I0a8935351444909b13ed306baf4f36311c8186c9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
6 years agoMerge "add python verify job for doctor"
Ryota Mibu [Tue, 4 Jul 2017 02:46:13 +0000 (02:46 +0000)]
Merge "add python verify job for doctor"

6 years agoMerge changes from topics 'prototypes/xci/config/pinned-versions-bump-dates', 'protot...
Markos Chandras [Mon, 3 Jul 2017 21:46:37 +0000 (21:46 +0000)]
Merge changes from topics 'prototypes/xci/config/pinned-versions-bump-dates', 'prototypes/xci/config/pinned-versions-bump-bifrost-version'

* changes:
  prototypes: xci: scripts: Update SHA dates
  prototypes: xci: update-osa-version-files: Add support for updating bifrost SHAs

6 years agoMerge "xci: Fix README for setting dev path instructions"
Fatih Degirmenci [Mon, 3 Jul 2017 21:39:15 +0000 (21:39 +0000)]
Merge "xci: Fix README for setting dev path instructions"

6 years agoMerge "prototypes: xci: Update SHAs for OSA and its roles"
Markos Chandras [Mon, 3 Jul 2017 21:34:08 +0000 (21:34 +0000)]
Merge "prototypes: xci: Update SHAs for OSA and its roles"

6 years agoprototypes: xci: xci-deploy.sh: Append trailing slash for rsync vars 77/36877/1
Markos Chandras [Mon, 3 Jul 2017 21:24:41 +0000 (22:24 +0100)]
prototypes: xci: xci-deploy.sh: Append trailing slash for rsync vars

The 'synchronize' Ansible module uses rsync and for that we need
to indicate that we want to copy the contents of the development path
and not the development path itself. As such we need to ensure that a
trailing slash is always appended to the user variables but we need to
also ensure that we will not end up with double slashes.

Change-Id: I0103b754585931fa1dcd3966c52d7e4a8f2f63f6
Signed-off-by: Markos Chandras <mchandras@suse.de>
6 years agoMerge "barometer: Fix upload URL"
Fatih Degirmenci [Mon, 3 Jul 2017 21:12:12 +0000 (21:12 +0000)]
Merge "barometer: Fix upload URL"

6 years agoxci: Fix README for setting dev path instructions 75/36875/1
Fatih Degirmenci [Mon, 3 Jul 2017 18:29:22 +0000 (20:29 +0200)]
xci: Fix README for setting dev path instructions

Change-Id: I56c727c242b6826f87a64246b6b4736a637c1abe
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
6 years agobarometer: Fix upload URL 67/36867/1
Fatih Degirmenci [Mon, 3 Jul 2017 15:17:14 +0000 (17:17 +0200)]
barometer: Fix upload URL

Change-Id: Id8c5572adb2691882519b0136346a393dd4115f9
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
6 years agoWeekly Anteater Project Additions 65/36865/1
lukehinds [Mon, 3 Jul 2017 13:45:02 +0000 (14:45 +0100)]
Weekly Anteater Project Additions

https://wiki.opnfv.org/display/INF/Project+Roll+Out+for+Anteater

Week begining July the 2nd

Depends-on: I3610868930f0d6033e528548dceb09b3279b6b8d

Change-Id: I541ab95f054e8159f41f16520083f71ea2dc5d1f
Signed-off-by: lukehinds <lhinds@redhat.com>
6 years agoMerge "Directly call Functest console scripts"
Morgan Richomme [Mon, 3 Jul 2017 11:56:18 +0000 (11:56 +0000)]
Merge "Directly call Functest console scripts"

6 years agoprototypes: xci: scripts: Update SHA dates 55/36855/1
Markos Chandras [Mon, 3 Jul 2017 08:37:17 +0000 (09:37 +0100)]
prototypes: xci: scripts: Update SHA dates

Update the dates in the pinned-versions file whenever we update
the SHAs.

Change-Id: I23ebd90a3fc688a7501fcb2d32217357f8c31657
Signed-off-by: Markos Chandras <mchandras@suse.de>
6 years agoprototypes: xci: update-osa-version-files: Add support for updating bifrost SHAs 07/36707/3
Markos Chandras [Thu, 29 Jun 2017 08:46:32 +0000 (09:46 +0100)]
prototypes: xci: update-osa-version-files: Add support for updating bifrost SHAs

Add a second optional argument to update the bifrost SHA instead of
doing this bit manually.

Change-Id: I0fab8745ae08ad4f54a2a1f5b0b7a64fde4b8295
Signed-off-by: Markos Chandras <mchandras@suse.de>
6 years agoprototypes: xci: Update SHAs for OSA and its roles 97/36697/4
Markos Chandras [Thu, 29 Jun 2017 07:03:12 +0000 (08:03 +0100)]
prototypes: xci: Update SHAs for OSA and its roles

This also updates the second (pre_release) argument of
'update_ansible_role_requirements' from 'false' to 'true' so that
non-openstack roles can be updated as well.

Change-Id: Id424499f44c9b51c02d56e5d93580faeea50ad12
Signed-off-by: Markos Chandras <mchandras@suse.de>
6 years agofix dovetail branch issue 37/36837/1
MatthewLi [Mon, 3 Jul 2017 01:55:01 +0000 (21:55 -0400)]
fix dovetail branch issue

error logs

https://build.opnfv.org/ci/view/dovetail/job/dovetail-fuel-baremetal-proposed_tests-danube/43/console

Change-Id: I0634041a0679fa7f3e6a4e6c627b3205a3b0372d
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
6 years agoAdd jenkins jobs for automatic reporting dashboard deployment 35/36735/26
rohitsakala [Thu, 29 Jun 2017 16:38:05 +0000 (22:08 +0530)]
Add jenkins jobs for automatic reporting dashboard deployment

Jenkins Jobs have been added for automating the deployment of the
reporting dashboard. Also multijob has been added for automating the
update of docker in the docker hub and generating docs which is empty
for now. Modified unit tests of reporting to make it run from any
directory.

Modified the testapi jenkins jobs yaml file to generic so that many
other modules which may have the same usecases can be integrated easily
just like the reporting one that is done now.

Change-Id: Id13a55416e17199dae1dd6ce64f7c167d117ba37
Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
6 years agoMerge "barometer: remove old script from merge job steps"
Fatih Degirmenci [Fri, 30 Jun 2017 23:22:25 +0000 (23:22 +0000)]
Merge "barometer: remove old script from merge job steps"

6 years agoDirectly call Functest console scripts 05/36805/2
Cédric Ollivier [Fri, 30 Jun 2017 20:03:09 +0000 (22:03 +0200)]
Directly call Functest console scripts

It conforms jjobs with "Define console_scripts" [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/36781/

Change-Id: I9209e6efa1b493e24135402a46df72aaa14115d1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoadd python verify job for doctor 19/33819/3
dongwenjuan [Wed, 26 Apr 2017 06:53:38 +0000 (14:53 +0800)]
add python verify job for doctor

Change-Id: I5432c5c87f0eed279cba0b80947761a81a72cd61
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
6 years agothis script is called by jenkins user 91/35591/2
agardner [Wed, 31 May 2017 18:37:30 +0000 (14:37 -0400)]
this script is called by jenkins user

we need to sudo the mkdir

Change-Id: I4db726e92566917ecd384884cf1a3c60354c2065
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMerge "bug fix: typo in bottlenecks naming (reporting page)"
Aric Gardner [Thu, 29 Jun 2017 18:44:21 +0000 (18:44 +0000)]
Merge "bug fix: typo in bottlenecks naming (reporting page)"

6 years agobarometer: remove old script from merge job steps 15/36715/1
Maryam Tahhan [Thu, 29 Jun 2017 10:37:48 +0000 (11:37 +0100)]
barometer: remove old script from merge job steps

Change-Id: Ic28513d75f15d4b25a67ccdbc1a2732fe0029411
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
6 years agoMerge "barometer: include the barometer-project-parameter"
Fatih Degirmenci [Thu, 29 Jun 2017 08:33:50 +0000 (08:33 +0000)]
Merge "barometer: include the barometer-project-parameter"

6 years agoRemove invalid Timed trigger from Bifrost Jobs 05/35605/3
Trevor Bramwell [Thu, 1 Jun 2017 00:08:41 +0000 (17:08 -0700)]
Remove invalid Timed trigger from Bifrost Jobs

A disabled trigger is set to the empty string, not prefixed with a
comment character.

Change-Id: I0b29857f0907f33bb0fb8156bb6db84113f1479d
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "refactor list operation"
Jose Lausuch [Wed, 28 Jun 2017 17:48:29 +0000 (17:48 +0000)]
Merge "refactor list operation"

6 years agoMerge "bugfix: Exception when the results is empty"
Morgan Richomme [Wed, 28 Jun 2017 15:33:05 +0000 (15:33 +0000)]
Merge "bugfix: Exception when the results is empty"

6 years agoMerge "prototypes: xci: scripts: Add update-osa-version-files.sh script"
Markos Chandras [Wed, 28 Jun 2017 14:41:53 +0000 (14:41 +0000)]
Merge "prototypes: xci: scripts: Add update-osa-version-files.sh script"

6 years agobarometer: include the barometer-project-parameter 29/36629/1
Maryam Tahhan [Wed, 28 Jun 2017 08:13:17 +0000 (09:13 +0100)]
barometer: include the barometer-project-parameter

Change-Id: I503674dbec81c7255664818c3305311086db9ca3
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
6 years agoMerge "dovetail run against different scenarios of compass"
Jun Li [Wed, 28 Jun 2017 06:47:33 +0000 (06:47 +0000)]
Merge "dovetail run against different scenarios of compass"

6 years agorefactor list operation 21/36621/2
SerenaFeng [Wed, 28 Jun 2017 06:10:45 +0000 (14:10 +0800)]
refactor list operation

all operations mix together make it very difficult to read

Change-Id: I7e4a12fd13a7aa0dc0c8fc09b69c7e43a2ab18ac
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
6 years agobugfix: Exception when the results is empty 13/36613/3
SerenaFeng [Wed, 28 Jun 2017 03:22:59 +0000 (11:22 +0800)]
bugfix: Exception when the results is empty

list operation crash when limit is not provided, error message:
OperationFailure: the limit must be positive

JIRA: RELENG-265

Change-Id: Id8db93b594010d054a71d301d9c42eed113c12e1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
6 years agoMerge "Pass fully qualified anteater path to Docker run"
Trevor Bramwell [Tue, 27 Jun 2017 19:00:48 +0000 (19:00 +0000)]
Merge "Pass fully qualified anteater path to Docker run"

6 years agoPass fully qualified anteater path to Docker run 01/36601/3
Trevor Bramwell [Tue, 27 Jun 2017 15:17:02 +0000 (08:17 -0700)]
Pass fully qualified anteater path to Docker run

With moving anteater into a virtualenv inside the container, it is no
longer installed to a location accessible by the default PATH. Using the
absolute path to the anteater binary should allow this to run.

Change-Id: I978e96d6de1b6c7bb63ff877b5bc77e1b6ee44df
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "bugfix: pagination crash due to memory limitation"
Jose Lausuch [Tue, 27 Jun 2017 13:37:17 +0000 (13:37 +0000)]
Merge "bugfix: pagination crash due to memory limitation"

6 years agobug fix: typo in bottlenecks naming (reporting page) 81/36581/1
Morgan Richomme [Tue, 27 Jun 2017 13:14:46 +0000 (15:14 +0200)]
bug fix: typo in bottlenecks naming (reporting page)

Change-Id: Ifb2047e688117c7c9af33031467f2025d530f187
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agobugfix: pagination crash due to memory limitation 69/36569/1
SerenaFeng [Tue, 27 Jun 2017 11:13:32 +0000 (19:13 +0800)]
bugfix: pagination crash due to memory limitation

MongoDB sorts the results in memory, and the default mem limitation is
32M, if the sort operation consumes more than that it will return an
error:
OperationFailure: Executor error during find command: OperationFailed
Sort operation used more than the maximum 33554432 bytes of RAM. Add an
index, or specify a smaller limit.

To solve this problem, here we leverage aggregate() and
allowDiskUse=True, it is said will not be limited by memory

Change-Id: Id698ad1d02912e8b350a33a926fcccc390814fcc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
6 years agodovetail run against different scenarios of compass 97/36497/3
MatthewLi [Mon, 26 Jun 2017 08:26:24 +0000 (04:26 -0400)]
dovetail run against different scenarios of compass

JIRA: DOVETAIL-454

1, scenarios to run
https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool
scenarios installer
os-nosdn-nofeature-ha    Apex
os-nosdn-kvm-ha     Apex
 os-odl_l3-fdio-ha   Apex
os-odl_l2-nofeature-ha  Compass
os-nosdn-nofeature-ha  Compass
os-onos-nofeature-ha  Compass
os-odl_l3-nofeature-ha  Compass
os-nosdn-ovs-ha  Fuel
os-odl_l2-bgpvpn-ha  Fuel
os-odl_l3-nofeature-ha  Fuel
os-nosdn-nofeature-ha Fuel
os-nosdn-kvm_ovs_dpdk-ha Fuel

2, time map(in order to reduce resource in CI)
MON, WED, FRI, SUN ----> latest
TUE, THU, SAT ---> cvp.0.1.0

Change-Id: If9c3fc514e4260530fc4f73299eedd9c1b022692
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
6 years agoMerge "bug fix: consider pagination when retrieveing results for reporting"
Morgan Richomme [Tue, 27 Jun 2017 06:54:08 +0000 (06:54 +0000)]
Merge "bug fix: consider pagination when retrieveing results for reporting"

6 years agobug fix: consider pagination when retrieveing results for reporting 27/36527/1
Morgan Richomme [Mon, 26 Jun 2017 15:04:41 +0000 (17:04 +0200)]
bug fix: consider pagination when retrieveing results for reporting

Due to pagination feature introduced in test API, reporting pages
only considered the first page of results retrieved by the API
the number of pages is now detected to aggregate the results

JIRA: RELENG-259

Change-Id: I0ac90b125baf8c16341c8db22f5602fedd4cdf1b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoEnable onos-sfc baremetal daily job 23/36523/1
chigang [Mon, 26 Jun 2017 14:17:21 +0000 (22:17 +0800)]
Enable onos-sfc baremetal daily job

JIRA:-

Because Baremetal resource is limit, it will take more than 3 hours
in each circle. so diable ocl and enable onos-sfc.

Change-Id: I6a9cfd20324bc5dfa79e6cfc4b5ee3b4e84a3085
Signed-off-by: chigang <chigang@huawei.com>
6 years agoMerge "Add licenses to Dovetail scripts"
Jun Li [Mon, 26 Jun 2017 09:03:26 +0000 (09:03 +0000)]
Merge "Add licenses to Dovetail scripts"

6 years agoAdd licenses to Dovetail scripts 95/36495/1
xudan [Mon, 26 Jun 2017 08:26:52 +0000 (04:26 -0400)]
Add licenses to Dovetail scripts

JIRA: DOVETAIL-453

Change-Id: I40110eae6eac86953f482f83e0b082149c3d0377
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoMerge "Bugfix: Dovetail CI failed with Permission denied"
Jun Li [Mon, 26 Jun 2017 06:55:57 +0000 (06:55 +0000)]
Merge "Bugfix: Dovetail CI failed with Permission denied"

6 years agoBugfix: Dovetail CI failed with Permission denied 53/36453/3
xudan [Mon, 26 Jun 2017 01:46:35 +0000 (21:46 -0400)]
Bugfix: Dovetail CI failed with Permission denied

JIRA: DOVETAIL-451

1. Dovetail CI jobs failed because of Permission denied.
2. The directory ${WORKSPACE}/cvp/pre_config is created with sudo privilege,
   so fetch_os_creds without sudo got Permission denied.
3. Remove the sudo when create directory ${WORKSPACE}/cvp/pre_config.

Change-Id: I802dc1cf8479b61929a9311800e65d357f4a7d34
Signed-off-by: xudan <xudan16@huawei.com>
6 years ago[yardstick] Pass "BRANCH" variable to yardstick docekr container 61/36461/1
JingLu5 [Mon, 26 Jun 2017 02:25:23 +0000 (02:25 +0000)]
[yardstick] Pass "BRANCH" variable to yardstick docekr container

Recently update of utils/fetch_os_creds.sh in commit 8359219bae93a028f6205cdc9460654f9e45c217
use a "BRANCH" varibale in fuel environmet
Currently Yardstick didn't pass such variable to yardstick docker, which causes the following error:
/home/opnfv/repos/releng/utils/fetch_os_creds.sh: line 75: BRANCH: unbound variable

This patch fix this error by Pass "BRANCH" variable to yardstick docekr container

Change-Id: Ifcf3df7107b2f4b493b37c7ef5473f170a8edb94
Signed-off-by: JingLu5 <lvjing5@huawei.com>
6 years agoBugfix: Dovetail CI failed on fuel because of BRANCH: unbound variable 35/36435/1
xudan [Sat, 24 Jun 2017 03:30:22 +0000 (23:30 -0400)]
Bugfix: Dovetail CI failed on fuel because of BRANCH: unbound variable

JIRA: DOVETAIL-451

1. Dovetail CI jobs failed on fuel becase lack of BRANCH.
   fetch_os_creds.sh: line 75: BRANCH: unbound variable
2. That's mainly because of Dovetail uses sudo to run fetch_os_creds.sh.
3. BRANCH is jenkins' env param and root's env lacks of this param.

Change-Id: I3163d6e9f099e979bace00ce993b422ad60f6b8f
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoMerge "barometer: setmeta on properties files"
Aric Gardner [Fri, 23 Jun 2017 17:19:52 +0000 (17:19 +0000)]
Merge "barometer: setmeta on properties files"

6 years agoMerge "Add octopus|pharos|functest to ci gate security"
Aric Gardner [Fri, 23 Jun 2017 15:49:40 +0000 (15:49 +0000)]
Merge "Add octopus|pharos|functest to ci gate security"

6 years agoMerge "Changing urls of testapi api and resources"
Serena Feng [Fri, 23 Jun 2017 08:12:36 +0000 (08:12 +0000)]
Merge "Changing urls of testapi api and resources"

6 years agoAdjusting for GMT 87/36387/1
mbeierl [Thu, 22 Jun 2017 18:43:42 +0000 (14:43 -0400)]
Adjusting for GMT

Change-Id: Id0719a6fb3bbe509fe6a76b305736a82f58bdc68
Signed-off-by: mbeierl <mark.beierl@dell.com>
6 years agoMerge "Directly Run Anteater Docker Container"
Luke Hinds [Thu, 22 Jun 2017 17:12:37 +0000 (17:12 +0000)]
Merge "Directly Run Anteater Docker Container"

6 years agoMerge "support pagination in TestAPI"
Serena Feng [Thu, 22 Jun 2017 02:19:20 +0000 (02:19 +0000)]
Merge "support pagination in TestAPI"

6 years agobarometer: setmeta on properties files 33/36333/2
Fatih Degirmenci [Wed, 21 Jun 2017 23:10:53 +0000 (01:10 +0200)]
barometer: setmeta on properties files

Change-Id: I9c8b86488c0dab04068b978864dff017bd5a95e9
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
6 years agoMerge "barometer: update daily job with artifacts build"
Fatih Degirmenci [Wed, 21 Jun 2017 23:06:52 +0000 (23:06 +0000)]
Merge "barometer: update daily job with artifacts build"

6 years agoMerge "Disabling Gluon RPM puild job"
Fatih Degirmenci [Wed, 21 Jun 2017 22:59:21 +0000 (22:59 +0000)]
Merge "Disabling Gluon RPM puild job"

6 years agoDirectly Run Anteater Docker Container 05/36205/2
Trevor Bramwell [Mon, 19 Jun 2017 18:06:12 +0000 (11:06 -0700)]
Directly Run Anteater Docker Container

The current approach is to run /bin/bash in a fully privilaged docker
container as the root user and exec the anteater command from this.

There are a couple of reasons this approach doesn't make sense:

1) anteater is not a long running service
2) anteater doesn't need any privilaged access to the host
3) anteater is already a compiled binary and can be ran directly

Because the anteater container doesn't need access to all the host
devices nor is it running docker containers inside of docker, the
`--privileged=true` flag can be removed.

Note: '--rm' is added as well to ensure volumes do not persist past the
container lifecycle and lead to build server running out of disk space.

JIRA: RELENG-250

Change-Id: I1ec90b3737abf591b6b3373fe2fc8f52cdcfb11a
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "bug fix: bad format for start/time in Tempest reporting"
Morgan Richomme [Wed, 21 Jun 2017 14:46:03 +0000 (14:46 +0000)]
Merge "bug fix: bad format for start/time in Tempest reporting"

6 years agoAdd octopus|pharos|functest to ci gate security 11/36311/1
agardner [Wed, 21 Jun 2017 14:43:17 +0000 (10:43 -0400)]
Add octopus|pharos|functest to ci gate security

JIRA: RELENG-252

Change-Id: I884853cc3faf4cd24832bf5f35078a0913f2a0b3
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agobug fix: bad format for start/time in Tempest reporting 03/36303/2
Morgan Richomme [Wed, 21 Jun 2017 13:37:39 +0000 (15:37 +0200)]
bug fix: bad format for start/time in Tempest reporting

Change-Id: Ic9792023b9041dbe8081ff9840caa2cf2901b189
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoDisabling Gluon RPM puild job 07/36307/1
Georg Kunz [Wed, 21 Jun 2017 13:44:20 +0000 (15:44 +0200)]
Disabling Gluon RPM puild job

Disabling the Gluon rpm build job because the Gluon scenario won't
be included in the Euphrates release. The Danube build and deploy
job use the already built artifacts.

Change-Id: I08ffb2975482c4954906f1068a37cc5eab119123
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoMerge "make website accessible via testresults.opnfv.org/test"
Morgan Richomme [Wed, 21 Jun 2017 09:03:30 +0000 (09:03 +0000)]
Merge "make website accessible via testresults.opnfv.org/test"

6 years agoMerge "Support to build docker image with commit id"
Jun Li [Wed, 21 Jun 2017 08:05:17 +0000 (08:05 +0000)]
Merge "Support to build docker image with commit id"

6 years ago--user nobody did not work on ericsson-build3 59/36259/1
agardner [Tue, 20 Jun 2017 16:04:45 +0000 (12:04 -0400)]
--user nobody did not work on ericsson-build3

also change job to only run weekly

Change-Id: I5f0d5f1d7020c02b2f3ec76aa7f5da2196184529
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMerge "[yardstick] add Ross to email recipients"
Aric Gardner [Tue, 20 Jun 2017 16:00:00 +0000 (16:00 +0000)]
Merge "[yardstick] add Ross to email recipients"

6 years agoMerge "Generalize Gerrit non-voting Review Macro Name"
Aric Gardner [Tue, 20 Jun 2017 15:59:15 +0000 (15:59 +0000)]
Merge "Generalize Gerrit non-voting Review Macro Name"

6 years ago[yardstick] add Ross to email recipients 49/36249/2
Ross Brattain [Tue, 20 Jun 2017 15:23:00 +0000 (08:23 -0700)]
[yardstick] add Ross to email recipients

as yardstick PTL I'd like to get Jenkins results emails

Change-Id: If053ab72902c145a13e0dc965ff69211f33c4a88
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agobarometer: update daily job with artifacts build 31/35831/4
Maryam Tahhan [Tue, 6 Jun 2017 12:54:28 +0000 (13:54 +0100)]
barometer: update daily job with artifacts build

Update the barometer dailty job to build and upload appropriate build
collateral to artifacts.opnfv.org.

Change-Id: I387fc22439e43ba805a992bc46f14090db57dbf4
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
6 years agosupport pagination in TestAPI 31/36231/2
SerenaFeng [Tue, 20 Jun 2017 09:40:38 +0000 (17:40 +0800)]
support pagination in TestAPI

In this patch, pagination is supported, so you can go through results
leveraging: http://testresults.opnfv.org/test/api/v1/results?page=2

Change-Id: Ibe31c787643f27dbb06c4899e713b3c8e716e784
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
6 years agoMerge "[fuel] Add missing ssh key to environment vars"
Fatih Degirmenci [Tue, 20 Jun 2017 08:32:43 +0000 (08:32 +0000)]
Merge "[fuel] Add missing ssh key to environment vars"

6 years agoSupport to build docker image with commit id 23/36223/2
MatthewLi [Tue, 20 Jun 2017 07:05:38 +0000 (03:05 -0400)]
Support to build docker image with commit id

JIRA: DOVETAIL-447

this support dovetail to make tag/container snapshot at some
commit id

this will also used for functest/yardstick if needed, since their danube.2.0/3.0
may not satisfy dovetail requirements, while their snapshots at some commit id
satisfy.

Change-Id: I76cf6df586d1c9f0f563c6bfc039e3e271dc3de8
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
6 years agoMerge "change the timeout to 4 hours"
Jun Li [Tue, 20 Jun 2017 06:32:52 +0000 (06:32 +0000)]
Merge "change the timeout to 4 hours"

6 years agomake website accessible via testresults.opnfv.org/test 13/36213/1
SerenaFeng [Tue, 20 Jun 2017 03:41:15 +0000 (11:41 +0800)]
make website accessible via testresults.opnfv.org/test

Currently, testapi website can not be fully accessed through
testresults.opnfv.org/test, due to http://testresults.opnfv.org/test is
not a root url. In this patch leverage relative path to make it accessible

Change-Id: I56983d2221791d8a060039ec829278d31ecb5048
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
6 years agoGeneralize Gerrit non-voting Review Macro Name 99/35899/2
Trevor Bramwell [Wed, 7 Jun 2017 21:55:09 +0000 (14:55 -0700)]
Generalize Gerrit non-voting Review Macro Name

This patch updates the 'report-docs-build-result-to-gerrit' macro name
to reflect that it can work well for more than just the opnfvdocs project.

To take advantage of this macro a build merely needs to write
out the file 'gerrit_comment.txt' with the information they want posted
back to gerrit, and include the macro in the list of builders.

Change-Id: Ifbdc5734fe7e7231be0cfd16d6b8d69cb1383bfd
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "Add weekly job for security scan"
Aric Gardner [Mon, 19 Jun 2017 19:00:08 +0000 (19:00 +0000)]
Merge "Add weekly job for security scan"

6 years agoAdd weekly job for security scan 83/36083/10
Aric Gardner [Wed, 14 Jun 2017 04:03:12 +0000 (12:03 +0800)]
Add weekly job for security scan

Added license headers
remove errexit from report to gerrit
run as --user nobody

Change-Id: I4b65dbae1f255015877766a0afa44e9b9898651c
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "Add doctor arm verify job (skip-vote)"
Aric Gardner [Mon, 19 Jun 2017 17:51:17 +0000 (17:51 +0000)]
Merge "Add doctor arm verify job (skip-vote)"

6 years agochange the timeout to 4 hours 89/36189/1
wutianwei [Mon, 19 Jun 2017 11:42:26 +0000 (19:42 +0800)]
change the timeout to 4 hours

it need to download the tar.gz and We install the packages inline.
Due to the network, sometimes it will cost more time.
150 minutes still is not enough.

Change-Id: I28ff7840dc3d705c4d0a32cde718230d92b6ea19
Signed-off-by: wutianwei <wutianwei1@huawei.com>
6 years ago[fuel] Add missing ssh key to environment vars 85/36185/1
Michael Polenchuk [Mon, 19 Jun 2017 11:01:43 +0000 (15:01 +0400)]
[fuel] Add missing ssh key to environment vars

Change-Id: I1f110b7b981cb5c325c853cbde8462d271684a19
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "Define an extra vars path and copy into playbooks"
Fatih Degirmenci [Mon, 19 Jun 2017 10:35:22 +0000 (10:35 +0000)]
Merge "Define an extra vars path and copy into playbooks"

6 years agoMerge "Talk about development mode for XCI"
Fatih Degirmenci [Mon, 19 Jun 2017 10:34:54 +0000 (10:34 +0000)]
Merge "Talk about development mode for XCI"

6 years agoTalk about development mode for XCI 31/35731/3
Yolanda Robla [Fri, 2 Jun 2017 12:37:54 +0000 (14:37 +0200)]
Talk about development mode for XCI

Explain the usage of OPNFV_RELENG_DEV_PATH

Change-Id: I19e3946c9ea78a6bb0521818b58af297a396d80d