summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-05-13Apex: adds timeouts to deploy and build jobsTim Rozet2-0/+20
Change-Id: I760952825e9f3d36d66ecb51e26a66b8ad69aaac Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-12Apex: fixes build directory assumption in upload artifactTim Rozet1-3/+2
Change-Id: Iae230e37137b0408a74ba74bd551a88dd6ffa076 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-12Apex: changes build job to use git-scm-gerritTim Rozet2-2/+2
Change-Id: I2701ecea73ae58dc6115a93cbfc8b35ef7949b3b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-12refactor config parser to facilitate adding new configsSerenaFeng3-100/+40
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>
2017-05-12KVMFORNFV: Common build packages for daily test caseskalyanreddy1-5/+5
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>
2017-05-12Merge "re-enable testapi auto update"Morgan Richomme1-2/+1
2017-05-12Merge "add web portal framework for TestAPI"Morgan Richomme340-1/+85415
2017-05-12Merge "big fixes: wrong path"Morgan Richomme2-5/+4
2017-05-12Merge "clarify schema base on swagger1.2 specification"Serena Feng1-3/+3
2017-05-12add web portal framework for TestAPISerenaFeng340-1/+85415
Change-Id: I62cea8b59ffe6a6cde98051c130f4502c07d3557 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-12Merge "KVMFORNFV: Disable packet forwarding daily build job."Jun Li1-23/+39
2017-05-11jjb: xci: bifrost: Clone git repositories to $WORKSPACEMarkos Chandras2-10/+10
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>
2017-05-11jjb: xci: xci-deploy.sh: Run the deployment script as normal userMarkos Chandras1-1/+1
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>
2017-05-11prototypes: xci: Look for SSH keys in $HOME directoryMarkos Chandras1-1/+1
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>
2017-05-11prototypes: xci: Move host keys away from / directoryMarkos Chandras4-2/+11
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>
2017-05-11prototypes: xci: Add ability to use local repositories for testingMarkos Chandras4-0/+88
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>
2017-05-11prototypes: bifrost: Remove OPNFV specific group_vars fileMarkos Chandras1-53/+0
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>
2017-05-11prototypes: xci: configure-localhost: Use 'connection: local'Markos Chandras1-1/+1
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>
2017-05-11prototypes: xci: provision-vm-nodes: Do not provision VMs as root.Markos Chandras1-1/+16
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>
2017-05-11prototypes: xci: user-vars: Move root directory away from /optMarkos Chandras1-4/+5
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>
2017-05-11Apex: remove global build slaveTim Rozet3-6/+6
Change-Id: I2d4216e63a16baafcebe636107449b334c953f04 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-11Apex: remove blocking on daily jobsTim Rozet2-24/+0
Change-Id: I6ee953c983fce4280d0e2e4653458cfbe6998710 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-11Apex: fixes promote jobs missing upload snapshotTim Rozet2-4/+4
Change-Id: I850a287f4226d59968e06ff31e268d7d2b485e3d Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-11Merge "Sub repo for security gate, add lhinds as commiter"Fatih Degirmenci1-0/+1
2017-05-11Merge "Allow Asynchronous Apex Builds"Tim Rozet10-841/+2179
2017-05-11clarify schema base on swagger1.2 specificationSerenaFeng1-3/+3
Change-Id: I98e165ae943b54d6a38783f2a3822d381c247ee4 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-11Merge "leverage tornado framework to simply impl of TestAPI"Serena Feng4-35/+37
2017-05-11Merge "correct the import impl of TestAPI"Serena Feng13-53/+55
2017-05-11Merge "change swagger urls based on v1.2 specification"Serena Feng3-10/+11
2017-05-11re-enable testapi auto updateSerenaFeng1-2/+1
Change-Id: Ied3c2f0c0ba1bd8cbaaa44bfff52ea52614db56c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-11KVMFORNFV: Disable packet forwarding daily build job.kalyanreddy1-23/+39
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>
2017-05-11big fixes: wrong pathMorgan Richomme2-5/+4
- remove link to daisy for storperf results - fix yardstick installer page links Change-Id: Idae2163862c681db05cfc24c5c29eaea793d3c88 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-05-11prototypes: xci: xci-deploy: Do not use sudo when connecting to remote hostsMarkos Chandras1-4/+4
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>
2017-05-11prototypes: xci: Do not require root privileges in xci-deployMarkos Chandras2-11/+7
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>
2017-05-10Bugfix: Error when create pod.yaml filexudan1-1/+2
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>
2017-05-10Allow Asynchronous Apex BuildsTrevor Bramwell10-841/+2179
- 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>
2017-05-10Merge "Bug Fixes: remove Db name + path"Morgan Richomme4-60/+15
2017-05-10Bug Fixes: remove Db name + pathMorgan Richomme4-60/+15
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>
2017-05-10Merge "add qtip reporting"Morgan Richomme8-0/+380
2017-05-10Merge "Add short_description field to testcase in test API"Morgan Richomme1-6/+9
2017-05-10Merge "Bugfix: Error when create pod.yaml file"Jun Li2-1/+6
2017-05-10Add short_description field to testcase in test APIMorgan Richomme1-6/+9
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>
2017-05-10Merge "Add arm support in functest reporting pages"Morgan Richomme4-209/+266
2017-05-10leverage tornado framework to simply impl of TestAPISerenaFeng4-35/+37
1) make better use of initialize() method 2) better naming global arguments Change-Id: I89dc72a358bcb2a5688a1ffeb3ed5d735d875a4a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-10correct the import impl of TestAPISerenaFeng13-53/+55
Change-Id: Ia721ff61e02b1819c32d228f5f8910364c139c8a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-10change swagger urls based on v1.2 specificationSerenaFeng3-10/+11
According to swagger1.2 specification, The Swagger specification is comprised of two file types: The Resources Listing and The API Declaration. https://github.com/OAI/OpenAPI-Specification/blob/master/versions/1.2.md Change-Id: I8f92897e41dbf6d4d2c3b1fe64ea6729f04cf3ad Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-09Bugfix: Error when create pod.yaml filexudan2-1/+6
JIRA: DOVETAIL-426 os.path.makedirs(os.path.dirname(args.filepath)) AttributeError: 'module' object has no attribute 'makedirs' Change-Id: I2b75576f05b7926b76148ea6152e4479215344f5 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-09Wild card needed now that compass4nfv configs have been addedagardner1-1/+1
Change-Id: I490b7b1de44e7a04ea631ffa4808f633353f94c5 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-05-09XCI: change functest job to use masterTim Rozet1-1/+1
Change-Id: If0ce98b4d6f86a0bb6ad5b7b78bf134ef87c1fd9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-093rd Party CI: Adds carbon branch to ODL xciTim Rozet2-5/+16
Change-Id: I53ddedb80f19ec9f8224cb0e22e4657b1472169f Signed-off-by: Tim Rozet <trozet@redhat.com>