summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-24jjb: infra: bifrost-verify.sh: Always create the landing pageMarkos Chandras1-16/+19
Previously, the function would have returned if no bifrost logs were present. However, this prevented the landing page from being generated and uploaded since that happens at the very end of that function. We rewored the code to always create a landing page even if there are no bifrost logs to upload. Change-Id: Ice557d0a42324a135d7f0e5ec94ec22811cc0ae7 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-01-24Merge "jjb: infra: bifrost-verify.sh: Replace 'exit' with 'return'"Fatih Degirmenci1-1/+1
2017-01-24jjb: infra: bifrost-verify.sh: Replace 'exit' with 'return'Markos Chandras1-1/+1
When there are no bifrost logs (possibly because the build broke far too early) we shouldn't exit at all. This is a valid scenario so we should return back to the caller and exit using the bifrost 'exit code' instead. Change-Id: I55a847dea7a6f4209b0e4fb71fad6bb00f6df08b Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-01-24Merge "Remove start and finish builders from jenkins job"Jose Lausuch5-57/+13
2017-01-24Merge "Enable CI notification when the image build failed"Jose Lausuch1-0/+23
2017-01-24Merge "added support for kubernetes job."Morgan Richomme3-38/+111
2017-01-24Merge "[macro] property logrotate"Ryota Mibu32-6/+72
2017-01-23Merge "Add code coverage report in jenkins job"Morgan Richomme4-32/+57
2017-01-23Merge "Propose Markos Chandras as new committer to Releng"Fatih Degirmenci1-0/+1
2017-01-23Merge "Shortening swagger spec nicknames"Morgan Richomme6-22/+22
2017-01-23Add code coverage report in jenkins jobrohitsakala4-32/+57
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-22Merge "Compass4NFV CI verify support centos7"mei mei1-0/+5
2017-01-21Remove start and finish builders from jenkins jobrohitsakala5-57/+13
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-20jjb: infra: bifrost-verify.sh: Download the build log to $WORKDIRMarkos Chandras1-3/+3
We need to store the build log into a location where we have write access. We will use the $WORKDIR for that. Fixes the following problem. /tmp/hudson5015921933634723839.sh: line 23: build_log.txt: Permission denied Change-Id: Ib8f00853a84a42bcc90155e4ca11bb89d921a867 Signed-off-by: Markos Chandras <mchandras@suse.de>
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 "jjb: infra: bifrost-verify.sh: Rework code for uploading the build log"Fatih Degirmenci1-1/+3
2017-01-20Merge "implement get/query scenario(s) and add unittest"Serena Feng7-27/+289
2017-01-20jjb: infra: bifrost-verify.sh: Rework code for uploading the build logMarkos Chandras1-1/+3
gsutil does not support compression on streaming uploads so rework the code to save the log into a temporary file first. Fixes the following error: CommandException: gzip compression is not currently supported on streaming uploads. Remove the compression flag or save the streamed output temporarily to a file before uploading. Change-Id: I3976bf3271be3aff8bc7b656ac49de6986ca6c36 Signed-off-by: Markos Chandras <mchandras@suse.de>
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-20Merge "jjb: infra: bifrost-upload-logs.sh: Consolidate upload step to main job"Fatih Degirmenci3-60/+50
2017-01-20Merge "[testapi] Add build parameter to run jenkins job."Fatih Degirmenci1-0/+1
2017-01-20[testapi] Add build parameter to run jenkins job.rohitsakala1-0/+1
opnfv-build-ubuntu-defaults has been added so that the job will run on build servers which have python verison > 2.6. Change-Id: Iea2a12da88cc5f7ff625b060425241ab33cc9d85 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-20Enable CI notification when the image build failedhelenyao1-0/+23
JIRA: FUNCTEST-666 Change-Id: I4bfb6690f01df67ce113e972963a698276157afa Signed-off-by: helenyao <yaohelan@huawei.com>
2017-01-20[macro] property logrotateRyota MIBU32-6/+72
This patch defines 'logrotate-default' property and replace 'logrotate' by it, as 'logrotate' is deprecated on jenkins>=1.637 . Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-20[doctor] fix doctor profiling jobRyota MIBU2-76/+55
Doctor profiling jobs have to be executed on ool-* pods, since we need pre-deployed OpenStack for those jobs. This patch also: - merge job templates for verify job and profiling job - move experimental trigger to jjb/global/releng-macros.yml Change-Id: If0283a734bec77d3f1bbab72d169f44ff1cd1c99 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-19jjb: infra: bifrost-upload-logs.sh: Consolidate upload step to main jobMarkos Chandras3-60/+50
In case of job failures, the upload builder is not executed so the published links are dead. We move the upload step to the EXIT handler which is always executed despite the main job exit code. Moreover, The gsutil tool can compress the files itself but in such a way that the web browser can still display the contents without the need for the user to download and uncompress the file himself. This makes debugging more convenient. We also make the whole upload process somewhat less noisy. Finally, we include the $GERRIT_PATCHSET_NUMBER in the title and hyperlink since we provide and retain build results for each patchset instead of a single set just for the latest one. Change-Id: I43efd519a5743661d1f258aa338fb0769f59b6ed Suggested-by: Julien Zhang <zhang.jun3g@zte.com.cn> # compression only Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-01-19added support for kubernetes job.Narinder Gupta3-38/+111
This patch is to add support for Kubernetes jobs in JOID. We have added os (openstack) or k8 (kubernetes) during deployment. Change-Id: Ide33cb3c1d1d0e8c4b99af2acd721c0a41073dd6 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-19Merge "Add new jenkins job for unittests"Morgan Richomme2-6/+69
2017-01-19Compass4NFV CI verify support centos7liyuenan1-0/+5
JIRA:- Change-Id: I9b86014081ca03287bdf63a88fb7b4baf9ee564a Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-01-19fuel: Remove colorado jobs and create danube jobsFatih Degirmenci6-362/+106
Obsolete plugin jobs and scripts are also removed. Change-Id: I16f8d932a492fdd1d8eb2caa5f8bc4aa9183327b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-19Add new jenkins job for unittestsrohitsakala2-6/+69
JIRA: FUNCTEST-687 Change-Id: I1fd616c32e3185bc6ec452af2c1bd88f46812ec2 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-19Merge "Add docker update builder to jenkins job"Morgan Richomme2-0/+29
2017-01-19Merge "Add Huawei pod6 and 7"Morgan Richomme1-0/+1
2017-01-18storperf: Fix GIT_BASE for slave and disable danube daily jobFatih Degirmenci2-3/+16
Change-Id: Ia6c544901fb9c7c434104c095b9e2f173f7f5571 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-18Merge "Clean case declaration prototype"Morgan Richomme3-297/+0
2017-01-18Merge "[ODL-pipe]Use of the daily suite from Functest"Fatih Degirmenci2-17/+2
2017-01-18Propose Markos Chandras as new committer to RelengFatih Degirmenci1-0/+1
Change-Id: I52353b88332dec89ba4c3cfc4cd8660abf34e533 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-18jjb: infra: bifrost-upload-logs.sh: Copy landing page to the GS serverMarkos Chandras1-3/+5
Moreover, rename 'console.txt' to 'build_log.txt' to make it clearer what this log is about. Finally, make the webpage title a hyperlink to the actual Gerrit page. Change-Id: I251bcd75ac1a559e64e17ba10f7f8b6af069743d Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-01-18Merge "Use public endpoints in the RC file for compass only"Jose Lausuch1-0/+11
2017-01-18Merge "jjb: infra: bifrost-upload-logs.sh: Generate a landing page"Fatih Degirmenci2-4/+25
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-18jjb: infra: bifrost-upload-logs.sh: Generate a landing pageMarkos Chandras2-4/+25
Create a basic web page to contain all the collected build logs. The reason for creating this page is that the OPNFV web server does not list the subdirectory contents so we need another way to expose all the uploaded logs. Moreover, hide the gsutils stdout output since it just adds extra noise to the already massive console log. Finally, drop the 'popd' command argument since it causes the command to fail and mark the whole build as failed. Change-Id: Iad25e5cf62fda650bad3c9d83671cde84c7467d8 Signed-off-by: Markos Chandras <mchandras@suse.de>
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-17Enabling StorPerf Daily Jobmbeierl1-2/+2
Move the daily job to execute on slaves labelled as storperf-pod. Enable the daily job Change-Id: I43baca969a7357f5835e0abbcd822d3d001f8d0d JIRA: STORPERF-87 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-01-17jjb: infra: bifrost-upload-logs: Fix Google storage variableMarkos Chandras1-1/+1
BIFROST_GS_STORAGE is an old artifact so replace it with BIFROST_LOG_URL. Change-Id: I4b9d56e4b3478850152f7eca9b41b5cc36807049 Signed-off-by: Markos Chandras <mchandras@suse.de>
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>