summaryrefslogtreecommitdiffstats
path: root/jjb
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 Lausuch1-15/+1
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 Richomme2-18/+20
2017-01-23Add code coverage report in jenkins jobrohitsakala2-18/+20
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-22Merge "Compass4NFV CI verify support centos7"mei mei1-0/+5
2017-01-21Remove start and finish builders from jenkins jobrohitsakala1-15/+1
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-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-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-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 "[ODL-pipe]Use of the daily suite from Functest"Fatih Degirmenci2-17/+2
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 "jjb: infra: bifrost-upload-logs.sh: Generate a landing page"Fatih Degirmenci2-4/+25
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-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-17Merge "Fix a bug - add requests in virtualenv"Morgan Richomme1-1/+1
2017-01-17Add docker update builder to jenkins jobrohitsakala2-0/+29
JIRA: FUNCTEST-688 Change-Id: I67717f4a7ecfdc0c7bfbb5ed664aa6573c02d463 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-17Merge "infra: bifrost: Upload build logs to artifacts.opnfv.org"Fatih Degirmenci2-5/+58
2017-01-17Merge "Remove colorado jobs and create danube jobs"Fatih Degirmenci38-191/+209
2017-01-17Merge "Avoid removing the whole file system"Fatih Degirmenci4-5/+21
2017-01-16Fix a bug - add requests in virtualenvrohitsakala1-1/+1
Change-Id: Iecd20b69f7a3abf04a34d4ee7e9c94f1a039d8b1 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-16Merge "Rebalance master vs. colorado scenario triggers"Fatih Degirmenci1-10/+10
2017-01-16[ODL-pipe]Use of the daily suite from FunctestNikolas Hermanns2-17/+2
Change-Id: I658f8992f52d7ab5278299c70285cd53d305a0c6 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-16[compass] enable healthcheck and vping as smoke test in verify jobmeimei2-11/+22
Change-Id: I7b4ad69b1c7c7b59b9feadef8808a1ef81a34367 Signed-off-by: meimei <meimei@huawei.com>
2017-01-14Merge "dovetail: separate dovetail jenkins job"Jun Li2-10/+6
2017-01-13dovetail: separate dovetail jenkins jobMatthewLi2-10/+6
JIRA: DOVETAIL-177 Change-Id: Iaa21373ae7f5bbc777872ea9b6ac9479b1dcff08 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-13Avoid removing the whole file systemNikolas Hermanns4-5/+21
If scripts are used by hand and WORKSPACE is not set then rm -rf /* will remove the filesystem. Change-Id: I9bb9ee6643d3916fedc7d3848ecf9b03bde10fae Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-13barometer-jjb: fix jobs to not build as rootMaryam Tahhan1-4/+4
Change-Id: I4d179400914d985e99f8295c47282d61dbb175cd Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-01-12Revert "[ODL-pipe]Use of the daily suite from Functest"Fatih Degirmenci1-1/+2
This reverts commit 8d8493864406132bcc8e84a38a67b5fc3947d566. Change-Id: I0c1978c87cdee998f4d58754f3e128e51b6e2dc6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-12[ODL-pipe]Use of the daily suite from FunctestNikolas Hermanns1-2/+1
Change-Id: Iee3b50360948352b31c0e63e5ce51e1c2869d4b3 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-12infra: bifrost: Upload build logs to artifacts.opnfv.orgMarkos Chandras2-5/+58
Change-Id: I0ba0fe05911dc7ea7cf31286b2f083f85ec5c549 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-01-12[compass]adapt multi-nics deployment in intel-pod8meimei1-0/+4
Change-Id: I01f755401a724b15b8670e02aa2ebbf1e582952a Signed-off-by: meimei <meimei@huawei.com>