releng.git
7 years agoUpdate functest jjobs to run tox 89/35089/2
Cédric Ollivier [Sat, 20 May 2017 14:13:40 +0000 (16:13 +0200)]
Update functest jjobs to run tox

Depends-On: I934f4ac739d99d0cb29bea8c6aac6d6780b30901

Change-Id: Ic036cc9cc8377398efbb5eda4f90bb5dcc4e75a5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "fix conditional step label"
Jun Li [Sat, 20 May 2017 09:44:03 +0000 (09:44 +0000)]
Merge "fix conditional step label"

7 years agoMerge "add signout funcationality"
Serena Feng [Sat, 20 May 2017 07:30:09 +0000 (07:30 +0000)]
Merge "add signout funcationality"

7 years agofix conditional step label 75/35075/3
MatthewLi [Sat, 20 May 2017 01:02:49 +0000 (21:02 -0400)]
fix conditional step label

see error log

https://build.opnfv.org/ci/view/compass4nfv/job/compass-os-nosdn-nofeature-ha-baremetal-daily-danube/57/console

Change-Id: I925658a3f2c20e51153b4c6298e271e50a5673b5
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
7 years agopod configs are not going to live in directories 67/35067/1
agardner [Fri, 19 May 2017 18:29:22 +0000 (14:29 -0400)]
pod configs are not going to live in directories

They will be called pod[#].yaml
so we look for that instead

Change-Id: If36d347cf7bef3108a2d50d74a84de1a07b5bdd2
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoMerge "Download images and map the folder to container"
Jose Lausuch [Fri, 19 May 2017 09:15:13 +0000 (09:15 +0000)]
Merge "Download images and map the folder to container"

7 years agobugfix: extra fields are added when push results 35/35035/1
SerenaFeng [Fri, 19 May 2017 07:18:34 +0000 (15:18 +0800)]
bugfix: extra fields are added when push results

extra fields like 'carriers' & 'miss_checks' 'db_key'
are added when pushing result to TestDB

Change-Id: Ic8d0751bca14b3b3260df42c0f4f07456c9d5e05
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoDownload images and map the folder to container 21/34421/4
helenyao [Mon, 8 May 2017 07:41:48 +0000 (15:41 +0800)]
Download images and map the folder to container

This patch is to accommadate with the change in patch[1]
Before running the Functest Docker container, downloading all required
images first and map the folder to the container

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

Change-Id: I617bd988caf1fd354cf9ef675661d40742b693c6
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoadd signout funcationality 31/35031/1
SerenaFeng [Fri, 19 May 2017 06:50:17 +0000 (14:50 +0800)]
add signout funcationality

Change-Id: Ie101f07f0eb406eee4e1c7daa14b07aaaf554904
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoApex: fix daily scm gerrit refspec to null 11/35011/1
Tim Rozet [Thu, 18 May 2017 20:14:52 +0000 (16:14 -0400)]
Apex: fix daily scm gerrit refspec to null

Change-Id: I0a8d51c7e0a586469cfe25d0610f078fd937c9ba
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fix daily scm passing and yardstick deploy blocking 09/35009/1
Tim Rozet [Thu, 18 May 2017 19:50:11 +0000 (15:50 -0400)]
Apex: fix daily scm passing and yardstick deploy blocking

Change-Id: I5b8fd2784cbf78aec17bab89c9cd1cbf82324739
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fix daily scm and functest job blocking with deploy 07/35007/2
Tim Rozet [Thu, 18 May 2017 19:33:35 +0000 (15:33 -0400)]
Apex: fix daily scm and functest job blocking with deploy

Change-Id: I355745e42c510029ffc314fa03eb1a5ca1e3e74a
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoBuild Timeout Wrapper for Yardstick 97/34997/2
Trevor Bramwell [Thu, 18 May 2017 17:43:11 +0000 (10:43 -0700)]
Build Timeout Wrapper for Yardstick

Yardstick builds are hanging and not being caught for 19+ hours. Using
the build timeout plugin we should be able to quickly stop these builds
and let the project know much sooner there is an issue with their
builds.

The default timeout is set to fail if the job takes longer than 30 minutes.
This can be adjusted later if the time is too long or too short.

ssh-agent-wrapper is included as it is the default from globals, and
defaults are superceded by fields added to jobs.

Change-Id: I9529ab7b6ab8819ceb91694fefbb4ecb3f5cf81c
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
7 years agosupport showing user's specified contents after signin 81/34981/1
SerenaFeng [Thu, 18 May 2017 12:06:26 +0000 (20:06 +0800)]
support showing user's specified contents after signin

Change-Id: Ia8897860757a2395873ff6972a508c38d7139854
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoadd signin web to TestAPI 89/34889/4
SerenaFeng [Wed, 17 May 2017 10:31:26 +0000 (18:31 +0800)]
add signin web to TestAPI

Change-Id: I4d39a8561c8ebd3238a495e5799fd43fb1a508b9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "add missing dist files ignored by .gitignore"
Serena Feng [Thu, 18 May 2017 01:00:47 +0000 (01:00 +0000)]
Merge "add missing dist files ignored by .gitignore"

7 years agoMerge "refactor static_path to accomodate web portal"
Serena Feng [Thu, 18 May 2017 01:00:40 +0000 (01:00 +0000)]
Merge "refactor static_path to accomodate web portal"

7 years agoMerge "dovetail: conditional steps to run against specific scenarios"
Jun Li [Thu, 18 May 2017 00:59:40 +0000 (00:59 +0000)]
Merge "dovetail: conditional steps to run against specific scenarios"

7 years agoApex: remove blocking verify jobs per node 23/34923/1
Tim Rozet [Wed, 17 May 2017 22:16:10 +0000 (18:16 -0400)]
Apex: remove blocking verify jobs per node

Change-Id: I66e5af8dd11c2797e08c6b370fa1fd717ff57d41
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes missing blocking from j2 21/34921/1
Tim Rozet [Wed, 17 May 2017 22:08:18 +0000 (18:08 -0400)]
Apex: fixes missing blocking from j2

Change-Id: I7b79ed22f7dada6edf4ff6853499ceb434fab6bb
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: allow 3 simultaneous builds per node 19/34919/1
Tim Rozet [Wed, 17 May 2017 21:57:59 +0000 (17:57 -0400)]
Apex: allow 3 simultaneous builds per node

Change-Id: Ia0839e1c97ddf8cf9be770d9c791748b9bbefbe0
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoSet again run_tests.py's report flag 87/34887/1
Cédric Ollivier [Wed, 17 May 2017 10:02:47 +0000 (12:02 +0200)]
Set again run_tests.py's report flag

It was deleted by the previous change [1]

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

Change-Id: Icfc9b43c30febe21501a9413196cc84f9553ce39
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoadd missing dist files ignored by .gitignore 71/34671/4
SerenaFeng [Fri, 12 May 2017 11:42:41 +0000 (19:42 +0800)]
add missing dist files ignored by .gitignore

Change-Id: Ib29cb5887abb317012d83fb77dcf30e07099a479
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agorefactor static_path to accomodate web portal 65/34665/8
SerenaFeng [Fri, 12 May 2017 10:33:00 +0000 (18:33 +0800)]
refactor static_path to accomodate web portal

move tornado_swagger/static to opnfv_testapi/static
move swagger related 3rd libs to 3rd_party/swagger

Change-Id: I32bba10584c99d13687b93f32577e37581db0c63
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "bugfix: /resources.json and /APIs cannot be accessed"
Morgan Richomme [Wed, 17 May 2017 06:43:34 +0000 (06:43 +0000)]
Merge "bugfix: /resources.json and /APIs cannot be accessed"

7 years agoMerge "jjb: xci: bifrost: Clone git repositories to $WORKSPACE"
Markos Chandras [Tue, 16 May 2017 15:01:35 +0000 (15:01 +0000)]
Merge "jjb: xci: bifrost: Clone git repositories to $WORKSPACE"

7 years agoMerge "jjb: xci: xci-deploy.sh: Run the deployment script as normal user"
Markos Chandras [Tue, 16 May 2017 15:01:32 +0000 (15:01 +0000)]
Merge "jjb: xci: xci-deploy.sh: Run the deployment script as normal user"

7 years agoMerge "prototypes: xci: Look for SSH keys in $HOME directory"
Markos Chandras [Tue, 16 May 2017 15:01:30 +0000 (15:01 +0000)]
Merge "prototypes: xci: Look for SSH keys in $HOME directory"

7 years agoMerge "prototypes: xci: Move host keys away from / directory"
Markos Chandras [Tue, 16 May 2017 15:01:26 +0000 (15:01 +0000)]
Merge "prototypes: xci: Move host keys away from / directory"

7 years agoMerge "prototypes: xci: Add ability to use local repositories for testing"
Markos Chandras [Tue, 16 May 2017 15:01:23 +0000 (15:01 +0000)]
Merge "prototypes: xci: Add ability to use local repositories for testing"

7 years agoMerge "prototypes: bifrost: Remove OPNFV specific group_vars file"
Fatih Degirmenci [Tue, 16 May 2017 15:01:09 +0000 (15:01 +0000)]
Merge "prototypes: bifrost: Remove OPNFV specific group_vars file"

7 years agoMerge "prototypes: xci: configure-localhost: Use 'connection: local'"
Markos Chandras [Tue, 16 May 2017 14:58:58 +0000 (14:58 +0000)]
Merge "prototypes: xci: configure-localhost: Use 'connection: local'"

7 years agoMerge "prototypes: xci: provision-vm-nodes: Do not provision VMs as root."
Markos Chandras [Tue, 16 May 2017 14:58:55 +0000 (14:58 +0000)]
Merge "prototypes: xci: provision-vm-nodes: Do not provision VMs as root."

7 years agoMerge "prototypes: xci: user-vars: Move root directory away from /opt"
Markos Chandras [Tue, 16 May 2017 14:58:52 +0000 (14:58 +0000)]
Merge "prototypes: xci: user-vars: Move root directory away from /opt"

7 years agoMerge "prototypes: xci: xci-deploy: Do not use sudo when connecting to remote hosts"
Markos Chandras [Tue, 16 May 2017 14:58:49 +0000 (14:58 +0000)]
Merge "prototypes: xci: xci-deploy: Do not use sudo when connecting to remote hosts"

7 years agoMerge "prototypes: xci: Do not require root privileges in xci-deploy"
Markos Chandras [Tue, 16 May 2017 14:58:45 +0000 (14:58 +0000)]
Merge "prototypes: xci: Do not require root privileges in xci-deploy"

7 years agoApex: add ramdisk and kernel to upload 45/34845/1
Tim Rozet [Tue, 16 May 2017 13:50:06 +0000 (09:50 -0400)]
Apex: add ramdisk and kernel to upload

Change-Id: I81e89f9fe313977d6a06c6283cc5301f672a77c3
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "refactor config parser to facilitate adding new configs"
Serena Feng [Tue, 16 May 2017 11:33:40 +0000 (11:33 +0000)]
Merge "refactor config parser to facilitate adding new configs"

7 years agobugfix: /resources.json and /APIs cannot be accessed 35/34835/2
SerenaFeng [Tue, 16 May 2017 09:52:44 +0000 (17:52 +0800)]
bugfix: /resources.json and /APIs cannot be accessed

1. change the join way of discover_url
2. limit tornado version not to use latest 4.5

Change-Id: I39dfd3b32bf232a7c144087bc9d5f88fb6798ee7
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agodovetail: conditional steps to run against specific scenarios 13/34813/2
MatthewLi [Tue, 16 May 2017 03:05:12 +0000 (23:05 -0400)]
dovetail: conditional steps to run against specific scenarios

JIRA: DOVETAIL-432

1, the community CI resource is limited, for dovetail CI job,
there's no need to run against all scenarios, by now,
nosdn-nofeature-ha odl_l2-bgpvpn-ha odl_l2-nofeature-ha is enough.
2, jenkins conditional plugin will be used.
   plugin should be installed
   https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin
3, take compass as an example to see if it works

Change-Id: Ib23835cbf8801c36e35e088cd0d8bf2d6380e81a
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
7 years agoApex: fix clean cmds in deploy 15/34815/1
Tim Rozet [Tue, 16 May 2017 04:07:34 +0000 (00:07 -0400)]
Apex: fix clean cmds in deploy

Change-Id: I7da324903df1cc0c26cfba4433748dab459bbeb1
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: add gerrit to deploy 11/34811/1
Tim Rozet [Tue, 16 May 2017 02:55:18 +0000 (22:55 -0400)]
Apex: add gerrit to deploy

Change-Id: I9260d053c74584e1c80e880d73d8671e3515b4c2
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes node parameters and git revision on verify 09/34809/1
Tim Rozet [Tue, 16 May 2017 02:05:10 +0000 (22:05 -0400)]
Apex: fixes node parameters and git revision on verify

Change-Id: I02243d359b4204ab38dee143332c8d1bac86ac8e
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: adds missing deploy env vars 05/34805/1
Tim Rozet [Tue, 16 May 2017 01:57:16 +0000 (21:57 -0400)]
Apex: adds missing deploy env vars

Change-Id: I515afe7a8f230ebbece8ee4d99ca7744a6a35fb8
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes upload artifact 97/34797/1
Tim Rozet [Tue, 16 May 2017 00:19:29 +0000 (20:19 -0400)]
Apex: fixes upload artifact

Change-Id: Ib12722ec85fe46d1b6dccb7bfc2da748386dac97
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes build directory in upload artifact 93/34793/1
Tim Rozet [Mon, 15 May 2017 20:06:48 +0000 (16:06 -0400)]
Apex: fixes build directory in upload artifact

Change-Id: I5d3c5c76159a1bc4b83ef5855ad412962d00fcb6
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "KVMFORNFV: Common build packages for daily test cases"
Aric Gardner [Mon, 15 May 2017 19:26:38 +0000 (19:26 +0000)]
Merge "KVMFORNFV: Common build packages for daily test cases"

7 years agoApex: fix apex upload for images 91/34791/1
Tim Rozet [Mon, 15 May 2017 19:01:19 +0000 (15:01 -0400)]
Apex: fix apex upload for images

Change-Id: Ibff76b1ce7cb4e071e576fd111bfff8af2cc2021
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoKVMFORNFV: Common build packages for daily test cases 89/34789/1
Gundarapu Kalyan Reddy [Mon, 15 May 2017 18:38:42 +0000 (11:38 -0700)]
KVMFORNFV: Common build packages for daily test cases

This patch is used to upload the metadata file only for the artifacts
built by daily build job. Also used to add seperate checks for the
artifacts uploaded by build and test phases.

Change-Id: I4c760e2269f3251fd0de91a803123167fb2ad225
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
7 years agoApex: updates cache to unique name 87/34787/1
Tim Rozet [Mon, 15 May 2017 18:12:18 +0000 (14:12 -0400)]
Apex: updates cache to unique name

Change-Id: I4131efd042f5d1aa4e8a5dc78b24be8ba6fbf87c
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes dev label names for artifacts 85/34785/1
Tim Rozet [Mon, 15 May 2017 17:30:19 +0000 (13:30 -0400)]
Apex: fixes dev label names for artifacts

Change-Id: I2dae20c688ccd2cb690c01a843cb75d5743e129b
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes checking dev for verify build 79/34779/1
Tim Rozet [Mon, 15 May 2017 15:35:45 +0000 (11:35 -0400)]
Apex: fixes checking dev for verify build

Change-Id: I8f283f6db366fc55a7eb52789affed7426521d17
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes building rpms for patches 73/34773/1
Tim Rozet [Mon, 15 May 2017 13:51:16 +0000 (09:51 -0400)]
Apex: fixes building rpms for patches

Change-Id: I2de72d983035cbf79f9f09850cd98dfd349783ca
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoKVMFORNFV: Common build packages for daily test cases 59/34759/1
kalyanreddy [Mon, 15 May 2017 09:42:11 +0000 (15:12 +0530)]
KVMFORNFV: Common build packages for daily test cases

This patch is used to upload the metadata file only for the artifacts
built by daily build job so that both the kvmfornfv cyclictest and
packet forwarding test cases will download the same artifacts uploaded
by the daily build job for testing on the test pod.

Change-Id: Ic2d58eca4fc86a257877159bb6910a2d8e8f3887
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
7 years agoMerge "KVMFORNFV: Common build packages for daily test cases"
Jun Li [Mon, 15 May 2017 01:47:06 +0000 (01:47 +0000)]
Merge "KVMFORNFV: Common build packages for daily test cases"

7 years agoApex: adds timeouts to deploy and build jobs 37/34737/1
Tim Rozet [Sun, 14 May 2017 02:24:19 +0000 (22:24 -0400)]
Apex: adds timeouts to deploy and build jobs

Change-Id: I760952825e9f3d36d66ecb51e26a66b8ad69aaac
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes build directory assumption in upload artifact 07/34707/1
Tim Rozet [Sat, 13 May 2017 03:02:01 +0000 (23:02 -0400)]
Apex: fixes build directory assumption in upload artifact

Change-Id: Iae230e37137b0408a74ba74bd551a88dd6ffa076
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: changes build job to use git-scm-gerrit 03/34703/1
Tim Rozet [Sat, 13 May 2017 02:37:35 +0000 (22:37 -0400)]
Apex: changes build job to use git-scm-gerrit

Change-Id: I2701ecea73ae58dc6115a93cbfc8b35ef7949b3b
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agorefactor config parser to facilitate adding new configs 55/34655/3
SerenaFeng [Fri, 12 May 2017 09:02:35 +0000 (17:02 +0800)]
refactor config parser to facilitate adding new configs

refactor hardcoded config.py to facilitate adding new
configurations come along with web portal and Authentication
features

Change-Id: Ibc16166ade0d6e730bb4c9d81e9b9bc9b297faa1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoKVMFORNFV: Common build packages for daily test cases 51/34651/1
kalyanreddy [Fri, 12 May 2017 08:07:20 +0000 (13:37 +0530)]
KVMFORNFV: Common build packages for daily test cases

This patch is used to implement the common daily build job so that
both the kvmfornfv cyclictest and packet forwarding test cases will
download the same artifacts uploaded by the daily build job for
testing on the test pod.

Change-Id: Ifbe3ab1d6c62bd73c982065242cbfe29ce5dea1e
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
7 years agoMerge "re-enable testapi auto update"
Morgan Richomme [Fri, 12 May 2017 06:26:10 +0000 (06:26 +0000)]
Merge "re-enable testapi auto update"

7 years agoMerge "add web portal framework for TestAPI"
Morgan Richomme [Fri, 12 May 2017 06:26:03 +0000 (06:26 +0000)]
Merge "add web portal framework for TestAPI"

7 years agoMerge "big fixes: wrong path"
Morgan Richomme [Fri, 12 May 2017 06:25:22 +0000 (06:25 +0000)]
Merge "big fixes: wrong path"

7 years agoMerge "clarify schema base on swagger1.2 specification"
Serena Feng [Fri, 12 May 2017 02:12:33 +0000 (02:12 +0000)]
Merge "clarify schema base on swagger1.2 specification"

7 years agoadd web portal framework for TestAPI 31/34631/4
SerenaFeng [Thu, 11 May 2017 17:49:57 +0000 (01:49 +0800)]
add web portal framework for TestAPI

Change-Id: I62cea8b59ffe6a6cde98051c130f4502c07d3557
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "KVMFORNFV: Disable packet forwarding daily build job."
Jun Li [Fri, 12 May 2017 00:50:31 +0000 (00:50 +0000)]
Merge "KVMFORNFV: Disable packet forwarding daily build job."

7 years agojjb: xci: bifrost: Clone git repositories to $WORKSPACE 11/34611/4
Markos Chandras [Wed, 10 May 2017 23:26:15 +0000 (00:26 +0100)]
jjb: xci: bifrost: Clone git repositories to $WORKSPACE

Commit 0638af211db1 ("jjb: xci: xci-deploy.sh: Run the deployment
script as normal user") dropped 'sudo' from the bifrost provisioning
script. However this broke the jobs since the repositories were being
cloned into /opt where the jenkins user has not access to. As such,
clone the repositories in the $WORKSPACE directory instead.

Fixes: 0638af211db1 ("jjb: xci: xci-deploy.sh: Run the deployment script as normal user")
Change-Id: I55baceaada04496884470997562e3f512f2444a0
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agojjb: xci: xci-deploy.sh: Run the deployment script as normal user 09/34609/2
Markos Chandras [Tue, 9 May 2017 15:29:01 +0000 (16:29 +0100)]
jjb: xci: xci-deploy.sh: Run the deployment script as normal user

xci-deploy.sh can now be run as normal user so fix the Jenkins job
accordingly.

Change-Id: Ifd0d7e4c42c930dbee0bbc30836fadc1a54f2f95
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoprototypes: xci: Look for SSH keys in $HOME directory 07/34607/2
Markos Chandras [Wed, 10 May 2017 15:48:20 +0000 (16:48 +0100)]
prototypes: xci: Look for SSH keys in $HOME directory

We no longer run everything as root so we need to look for SSH keys
in the appropriate home directory.

Change-Id: Iae1f7eb80059e7d369c8e0c8b6c33c6a4f673f94
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoprototypes: xci: Move host keys away from / directory 05/34605/2
Markos Chandras [Wed, 10 May 2017 10:37:38 +0000 (11:37 +0100)]
prototypes: xci: Move host keys away from / directory

Putting the host keys in '/' requires root privileges so
it's best if we place them in the same directory like the
rest of the XCI files.

Change-Id: I030ed3d6cbb57bb984a78aeffb4eca2bd5c10bb0
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoprototypes: xci: Add ability to use local repositories for testing 03/34603/2
Markos Chandras [Tue, 9 May 2017 20:20:59 +0000 (21:20 +0100)]
prototypes: xci: Add ability to use local repositories for testing

When developing XCI features it's useful to be able to use the local
repositories rather than cloning them from git since that makes
it harder to test local modifications against XCI. As such, we add
three new variables which can be used to hold local paths to the
bifrost, releng and openstack-ansible repositories. We are still
cloning the repositories but we then use the 'synchronize' Ansible
module to copy modified files from the local repositories.

Change-Id: I6d593ea48d8b9c51415d9d0848f77a498ef2f486
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoprototypes: bifrost: Remove OPNFV specific group_vars file 01/34601/2
Markos Chandras [Tue, 9 May 2017 15:55:37 +0000 (16:55 +0100)]
prototypes: bifrost: Remove OPNFV specific group_vars file

The only reason we had this file was because we had to define our own
'ssh_public_key_path' variable to look in the /root directory since we
were running everything as root. Since we are now moving away from this
approach, this file is not needed anymore.

Change-Id: Ic938c4c8c877c95ce261721dc32fc5147081e236
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoprototypes: xci: configure-localhost: Use 'connection: local' 99/34599/2
Markos Chandras [Wed, 10 May 2017 10:39:35 +0000 (11:39 +0100)]
prototypes: xci: configure-localhost: Use 'connection: local'

Since we are operating on localhost, there is no need to do that via ssh
so we use 'connection: local' instead. Moreover, we do not need to
execute everything as root so we drop the remote user directive.

Change-Id: Ib2127edad29e2da1cd1beebf42cb8f0d278ce3ad
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoprototypes: xci: provision-vm-nodes: Do not provision VMs as root. 97/34597/2
Markos Chandras [Tue, 9 May 2017 14:41:22 +0000 (15:41 +0100)]
prototypes: xci: provision-vm-nodes: Do not provision VMs as root.

There is no need to provision VM nodes as root. The only thing that we
need to run as root is the destroy-env.sh script and for that we move
it to its own play so we can use Ansible's become directive. Moreover,
since this playbook operates on localhost we can use 'connection: local'
so we don't have to execute everything via ssh and possibly speed up
the whole process.

Change-Id: Ia9efd5f30e95385b5cf193dde352f93551846c0e
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoprototypes: xci: user-vars: Move root directory away from /opt 95/34595/2
Markos Chandras [Tue, 9 May 2017 14:37:24 +0000 (15:37 +0100)]
prototypes: xci: user-vars: Move root directory away from /opt

Having everything in the /opt implies root privileges. However, xci
should work as normal user and as such we use the /tmp directory as
the root directory.

Change-Id: I985ded289208e1de53ad0ba878afd5bfd745c3fd
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoApex: remove global build slave 39/34639/2
Tim Rozet [Thu, 11 May 2017 20:31:21 +0000 (16:31 -0400)]
Apex: remove global build slave

Change-Id: I2d4216e63a16baafcebe636107449b334c953f04
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: remove blocking on daily jobs 35/34635/1
Tim Rozet [Thu, 11 May 2017 20:16:34 +0000 (16:16 -0400)]
Apex: remove blocking on daily jobs

Change-Id: I6ee953c983fce4280d0e2e4653458cfbe6998710
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes promote jobs missing upload snapshot 33/34633/1
Tim Rozet [Thu, 11 May 2017 20:04:14 +0000 (16:04 -0400)]
Apex: fixes promote jobs missing upload snapshot

Change-Id: I850a287f4226d59968e06ff31e268d7d2b485e3d
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Sub repo for security gate, add lhinds as commiter"
Fatih Degirmenci [Thu, 11 May 2017 13:39:03 +0000 (13:39 +0000)]
Merge "Sub repo for security gate, add lhinds as commiter"

7 years agoMerge "Allow Asynchronous Apex Builds"
Tim Rozet [Thu, 11 May 2017 12:59:20 +0000 (12:59 +0000)]
Merge "Allow Asynchronous Apex Builds"

7 years agoclarify schema base on swagger1.2 specification 29/34529/2
SerenaFeng [Wed, 10 May 2017 02:59:40 +0000 (10:59 +0800)]
clarify schema base on swagger1.2 specification

Change-Id: I98e165ae943b54d6a38783f2a3822d381c247ee4
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "leverage tornado framework to simply impl of TestAPI"
Serena Feng [Thu, 11 May 2017 10:27:10 +0000 (10:27 +0000)]
Merge "leverage tornado framework to simply impl of TestAPI"

7 years agoMerge "correct the import impl of TestAPI"
Serena Feng [Thu, 11 May 2017 10:26:59 +0000 (10:26 +0000)]
Merge "correct the import impl of TestAPI"

7 years agoMerge "change swagger urls based on v1.2 specification"
Serena Feng [Thu, 11 May 2017 10:26:35 +0000 (10:26 +0000)]
Merge "change swagger urls based on v1.2 specification"

7 years agore-enable testapi auto update 17/34617/1
SerenaFeng [Thu, 11 May 2017 10:25:10 +0000 (18:25 +0800)]
re-enable testapi auto update

Change-Id: Ied3c2f0c0ba1bd8cbaaa44bfff52ea52614db56c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoKVMFORNFV: Disable packet forwarding daily build job. 43/34543/7
kalyanreddy [Wed, 10 May 2017 10:35:07 +0000 (16:05 +0530)]
KVMFORNFV: Disable packet forwarding daily build job.

This patch is used to disable the kvmfornfv packet forwarding
daily build job to avoid seperate rpm building for cyclictest
and packet forwarding test cases. Both the test cases will use
the rpms uploaded to artifacts as a part of cyclictest daily
build job for testing.

Change-Id: Ia6c1ce2ddc435aa5ae3cbf88b5cfedf6f6d3c106
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
7 years agobig fixes: wrong path 13/34613/1
Morgan Richomme [Thu, 11 May 2017 09:26:00 +0000 (11:26 +0200)]
big fixes: wrong path

- remove link to daisy for storperf results
- fix yardstick installer page links

Change-Id: Idae2163862c681db05cfc24c5c29eaea793d3c88
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoprototypes: xci: xci-deploy: Do not use sudo when connecting to remote hosts 93/34593/1
Markos Chandras [Wed, 10 May 2017 16:14:22 +0000 (17:14 +0100)]
prototypes: xci: xci-deploy: Do not use sudo when connecting to remote hosts

In preparation for running xci-deploy as normal user, we do not need to
gain elevated privileges in order to connect to remote hosts. SSH keys
will be placed in user's ssh directory so we can ssh as normal user.

Change-Id: Ieb705515ec191955a646839e8f195d089df184bd
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoprototypes: xci: Do not require root privileges in xci-deploy 91/34591/1
Markos Chandras [Tue, 9 May 2017 14:14:46 +0000 (15:14 +0100)]
prototypes: xci: Do not require root privileges in xci-deploy

There is no good reason to run the script as root. If elevated
privileges are required then we will do it on a per case basis.

Change-Id: I7195fb3a0026ea20ce04e0b652dd3c1c56ca5741
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoBugfix: Error when create pod.yaml file 73/34573/3
xudan [Thu, 11 May 2017 01:43:30 +0000 (21:43 -0400)]
Bugfix: Error when create pod.yaml file

JIRA: DOVETAIL-426

1. ImportError: No module named netaddr
2. rm: cannot remove '/home/opnfv/dovetail/userconfig/*': No such file or directory

Change-Id: I81ad703667c798589855fdafc1668644e9a342b9
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoAllow Asynchronous Apex Builds 33/21933/35
Trevor Bramwell [Mon, 19 Sep 2016 19:08:52 +0000 (12:08 -0700)]
Allow Asynchronous Apex Builds

- Remove any build blockers on 'apex-build-*' jobs.
- Adds script to download latest build artifacts before deployment.
- Make each deploy download the needed artifacts before running.
- ARTIFACT_VERSION now set to dev for verify builds to indicate tarball
  should be uploaded to artifacts repo
- apex.yml jjb is now generated by using apex-jjb-renderer
- scenarios are managed in scenarios.yaml

JIRA: APEX-328

Change-Id: I4a51565686bd2011a310c3926d8260cd4641dca5
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
7 years agoMerge "Bug Fixes: remove Db name + path"
Morgan Richomme [Wed, 10 May 2017 13:59:26 +0000 (13:59 +0000)]
Merge "Bug Fixes: remove Db name + path"

7 years agoBug Fixes: remove Db name + path 59/34559/1
Morgan Richomme [Wed, 10 May 2017 13:47:24 +0000 (15:47 +0200)]
Bug Fixes: remove Db name + path

as case have been renamed in testcases.yaml
no more need or translation name/Db name

Change-Id: I0656ec478369224d44d9c3cdf0c6426f140e4029
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "add qtip reporting"
Morgan Richomme [Wed, 10 May 2017 12:23:05 +0000 (12:23 +0000)]
Merge "add qtip reporting"

7 years agoMerge "Add short_description field to testcase in test API"
Morgan Richomme [Wed, 10 May 2017 12:16:16 +0000 (12:16 +0000)]
Merge "Add short_description field to testcase in test API"

7 years agoMerge "Bugfix: Error when create pod.yaml file"
Jun Li [Wed, 10 May 2017 11:00:57 +0000 (11:00 +0000)]
Merge "Bugfix: Error when create pod.yaml file"

7 years agoAdd short_description field to testcase in test API 95/34495/2
Morgan Richomme [Tue, 9 May 2017 13:36:45 +0000 (15:36 +0200)]
Add short_description field to testcase in test API

this field will be used for the catalogue
Description may be too long - displayed in case of roll over
name is often not explicit enough for humanes

Change-Id: Ibb1f74208376c93616fc89fa10fdeecaf0f8c8fb
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Add arm support in functest reporting pages"
Morgan Richomme [Wed, 10 May 2017 06:04:25 +0000 (06:04 +0000)]
Merge "Add arm support in functest reporting pages"

7 years agoleverage tornado framework to simply impl of TestAPI 33/34533/1
SerenaFeng [Wed, 10 May 2017 06:03:38 +0000 (14:03 +0800)]
leverage tornado framework to simply impl of TestAPI

1) make better use of initialize() method
2) better naming global arguments

Change-Id: I89dc72a358bcb2a5688a1ffeb3ed5d735d875a4a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agocorrect the import impl of TestAPI 31/34531/1
SerenaFeng [Wed, 10 May 2017 03:39:42 +0000 (11:39 +0800)]
correct the import impl of TestAPI

Change-Id: Ia721ff61e02b1819c32d228f5f8910364c139c8a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>