Yonghee Han [Thu, 1 Dec 2016 01:35:51 +0000 (10:35 +0900)]
Fix snapdiff sync error when daily repo base is not present and weekly repo base is not present.
Change-Id: I4955082e1ee7b01c7854ad1e13ed79053e11a799
hyokeun [Wed, 30 Nov 2016 11:39:04 +0000 (20:39 +0900)]
Fix download_num in prerelease
Change-Id: I23e995573229010943f8de34a1366c51b312ba39
hyokeun [Mon, 28 Nov 2016 09:07:11 +0000 (18:07 +0900)]
Do not set download_num in post release process
Change-Id: Ia6c9a4bed82a153fad5c1b6a5f3022e1d43a4764
Yonghee Han [Mon, 28 Nov 2016 05:55:37 +0000 (21:55 -0800)]
Merge "Fix download_num in prerelease, Block image creation if build failed" into devel
hyokeun [Mon, 28 Nov 2016 04:40:25 +0000 (13:40 +0900)]
Fix download_num in prerelease, Block image creation if build failed
Change-Id: I135f79f7f7f6d6ada3028ff2b044257fa11311ee
Yonghee Han [Mon, 28 Nov 2016 02:22:24 +0000 (11:22 +0900)]
Cleanup repo directory when have a previous directory
Change-Id: Ie69a78384c970f6a62b1377ed69c80be7ea0ffb8
Yonghee Han [Mon, 28 Nov 2016 00:06:23 +0000 (09:06 +0900)]
add lock/unlock function for the re.job
cmd: unlock cmd: lock
Change-Id: I9e22dae616a8ff3023dbc9399a5340c65c5a95ea
SungHun Hwang [Fri, 11 Nov 2016 04:54:40 +0000 (13:54 +0900)]
[BuildMonitor] support the trbs project and enable the multi env
1. support the trbs project
2. enable the multi env and rearrange the job order
3. fixed the bm_img_size error at job_imager.py
Change-Id: I90b09d7e233f5f9a704992e2cceb536b6406889c
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Yonghee Han [Tue, 22 Nov 2016 06:02:19 +0000 (22:02 -0800)]
Merge "Now supports the action "build_progress"." into devel
Yonghee Han [Tue, 22 Nov 2016 03:48:06 +0000 (12:48 +0900)]
Add download_num in a obs description. Block build info update if download_num mismatch
Change-Id: I1e18c38ee53fdbc93fb777aad16493a262e6cfc8
Junghyun Kim [Mon, 21 Nov 2016 02:52:30 +0000 (11:52 +0900)]
Now supports the action "build_progress".
"HOME" is changed to "WORKSPACE"
Change-Id: I3963d57fa5e736b5a6d33ebca1bffab0a0dd019d
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SungHun Hwang [Thu, 10 Nov 2016 11:55:35 +0000 (20:55 +0900)]
[BuildMonitor] bugfixes
1. change the get bm_img_size routine
2. add build_project_id temporarily
Change-Id: I38cdf6685420dc5319c869f71fd4f721c28533d9
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SungHun Hwang [Thu, 10 Nov 2016 06:53:08 +0000 (15:53 +0900)]
[BuildMonitor] fix the TypeError bug at Python 2.7.8
Change-Id: I8912017fd147ea9acca52a6fef99221564093b2a
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SungHun Hwang [Thu, 10 Nov 2016 05:18:31 +0000 (14:18 +0900)]
[BuildMonitor] delete the buildmonitor.py in common folder
Change-Id: I62a1470a889da0ba961e0e97c06242629514a53a
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SungHun Hwang [Wed, 9 Nov 2016 07:27:00 +0000 (16:27 +0900)]
[BuildMonitor] change the monitoring method
1. structure
Before : module import & function call directly
After : add new jenkins job named "BUILD-MONITOR" & trigger the job
2. change the buildmonitor file
Before : buildmonitor.py in ~/jenkins-scripts/common folder
After : job_buildmonitor.py in ~/jenkins-scripts folder
3. modify the related jenkins job & spec files
Change-Id: I78afb496e10730acba84ca7d70825e319d419c2f
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Yonghee Han [Wed, 9 Nov 2016 02:06:01 +0000 (18:06 -0800)]
Merge "A dependency graph is generated automatically using the jenkins job "make_dep_graph"." into devel
Junghyun Kim [Wed, 2 Nov 2016 00:44:09 +0000 (09:44 +0900)]
A dependency graph is generated automatically using the jenkins job "make_dep_graph".
The graph is generated in the four cases below:
1. When prerelease project is created (triggered by pre_release_gerrit).
At this time, a build_progress graph is generated.
2. When prerelease project is published (triggered by pre_release_create->buildlogs).
At this time, a dependency graph including only packages triggered by the SR is generated.
3. When an SR is accepted (triggered by request).
At this time, a build_progress graph is generated.
4. When main project(e.g., Tizen:Mobile) is published (triggered by create_snapshot->buildlogs).
At this time, a dependency graph for the main project is generated.
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Conflicts:
job_post_image.py
packaging/jenkins-scripts.spec
Change-Id: I6706ff2da55d66f49afb56b14ae2107f67c1fca0
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SungHun Hwang [Thu, 3 Nov 2016 04:45:43 +0000 (13:45 +0900)]
[Buildmonitor] Added the build data logging parts for BuildMonitor
1. Added the build data logging parts in for BuildMonitor dashboard
which can show the status of each build steps from beginning to the end
2. The related actions and python files are as below
(1) gbs submit --------------- [job_submit.py]
(2) [pre] packae build ------- [on OBS]
(3) [pre] snapshot create ---- [job_pre_release_obs.py]
(4) [pre] image creation ---- [job_imager.py][job_post_imager.py]
(5) SR accept or reject ------ [job_request.py]
(6) [post] package build ----- [on OBS]
(7) [post] snapshot creation - [job_create_snapshot.py]
(8) [post] image creation ---- [job_imager.py]
(9) Completed
* pre : pre build / post : post build
3. The buildmonitor.py is the common interface file
Change-Id: Id97e8c5e131dc11713fdf58bbb0b794907cedaa1
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Yonghee Han [Wed, 2 Nov 2016 06:09:56 +0000 (23:09 -0700)]
Merge "Update scripts because scm/meta/git system is changed" into devel
hyokeun [Tue, 1 Nov 2016 05:56:53 +0000 (14:56 +0900)]
Skip updating ref-snapshot-info if no mapping exist
Change-Id: If95da95182bb601076d3a0f7a2a692c7e1d4fed3
Sehong Na [Sun, 30 Oct 2016 22:40:52 +0000 (07:40 +0900)]
Update scripts because scm/meta/git system is changed
Change-Id: I9477428527e899c967983badcdc2d767a5e375ff
Signed-off-by: Sehong Na <sehong.na@samsung.com>
hyokeun [Fri, 28 Oct 2016 01:02:16 +0000 (10:02 +0900)]
ENABLED flag for git-ref-mapping update
Change-Id: If15e1bcfac222c7bf56ece8797b14790cf7590b0
hyokeun [Thu, 27 Oct 2016 04:46:49 +0000 (13:46 +0900)]
Updating git-ref-mapping after release snapshot
Change-Id: I822f740afcbe5ed1e70a1e9ad884b75647b5160f
Yonghee Han [Tue, 25 Oct 2016 06:49:35 +0000 (15:49 +0900)]
Add gitbuildstatus in Prerelease project
Change-Id: I6ed6e93182f732bbf9a5a033a27b88d5b82827d3
Yonghee Han [Tue, 25 Oct 2016 04:13:02 +0000 (13:13 +0900)]
REPO_PUBLISHED event is generated only once when all repos are published. Delete chksnap option on prerelease project
Change-Id: Iecc5e89b4b7addebf956c3a3c2be4dded9d30392
Junghyun Kim [Mon, 17 Oct 2016 02:39:25 +0000 (11:39 +0900)]
Enable triggerring buildlogs even for prerelease projects.
Currently, creating a snapshot for prerelease projects (job_pre_release_obs.py)
does not trigger buildlogs unlike that for the main projects (job_create_snapshot.py).
To make a dependencey graph for prerelease projects, it is necessary to
include buildlogs job.
Change-Id: Iea5e1181a32e09efc8881aee02d8103b3587dca8
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Wed, 28 Sep 2016 05:04:27 +0000 (22:04 -0700)]
Merge "Modified to produce for the Prerelease Group SR." into devel
hyokeun [Wed, 28 Sep 2016 04:13:50 +0000 (13:13 +0900)]
Trigger post-image-creation job with failed status if imager stucked
Problem: When image creation job stucked and aborted itself, post-image-creation job will not be called.
Fix: Prepare dummy failed trigger infomation. It will always trigger remaining job.
Change-Id: I8d73ff72ffdfd77f25133ac19b7d82b0db37bcfc
Yonghee Han [Sat, 24 Sep 2016 00:16:44 +0000 (09:16 +0900)]
Modified to produce for the Prerelease
Group SR.
Normal operation
SR first build is complete, images created.
SR second build is complete, images created.
However, in the case of failure.
The problems do not stop with the first image produced does not create a second image.
Solution.
Modified to produce the first image and the second image can be generated.
Change-Id: Ibe3283040d56bed6e7ae68d682056edae012282e
Junghyun Kim [Fri, 2 Sep 2016 04:22:37 +0000 (13:22 +0900)]
Do not insert "CopyLinkedPackages: yes" multiple times.
Change-Id: I8d2f817c179596c780b1b0ff69d37f3f3fd820e2
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Thu, 18 Aug 2016 01:46:18 +0000 (18:46 -0700)]
Merge "Check existance of repo and image path for snapdiff" into devel
hyokeun [Thu, 18 Aug 2016 01:33:13 +0000 (10:33 +0900)]
Check existance of repo and image path for snapdiff
Change-Id: Ic0d685c48cdd72847670a7950f14ca32a4b70a3e
Sehong Na [Wed, 17 Aug 2016 08:14:31 +0000 (17:14 +0900)]
disable check user in group
Change-Id: Ife810ce8740ec8d38b7bf2f73760ff9e1a61ef4e
Signed-off-by: Sehong Na <sehong.na@samsung.com>
hyokeun [Wed, 17 Aug 2016 06:22:04 +0000 (15:22 +0900)]
Additional accepted action for re
Mismatch action parameter (accepted) between repa and re.
Change-Id: I0ed2656e4137545890a987df7ab8fa292c73c2f4
Junghyun Kim [Tue, 9 Aug 2016 02:03:01 +0000 (11:03 +0900)]
Add "\n" at the beginning of "CopyLinkedPackages: yes".
If "Rpmbuildstage: bb" does not have "\n" at the end of the string,
this could be possible "Rpmbuildstage: bbCopyLinkedPackages: yes".
Hence, just insert "\n" at the beginning.
Change-Id: I06fe5dba92c33c67b1f090503fd9d80a515e8765
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Thu, 4 Aug 2016 23:07:40 +0000 (08:07 +0900)]
Preventing unnecessary package builds for prerelease projects.
For normal OBS projects, if the result binary for package PKG_A is not changed,
packages depending on PKG_A are not build due to build-compare package.
However, for prerelease projects, if a build is triggers for package PKG_A,
all packages depends on PKG_A are built in prerelease projects.
REASON
To perform build-compare, we need two rpms: oldrpm and newrpm.
However, for prerelease projects, there is no oldrpm since there is no rpms built for the prerelease project.
SOLUTION
Sym-link rpm files from the linked projects.
For example,
ln -s /srv/obs/build/Tizen:Mobile/arm-wayland/armv7l/libnl2/*.rpm /srv/obs/build/home:prerelease:Tizen:Mobile:submit:tizen:
20160729.002907/arm-wayland/armv7l/libnl2
To do this, we have to change two things.
1. jenkins-script
To perform this functionality as an option, this functionality is performed only if "CopyLinkedPackages: yes" is in project config.
To do this, we have to change "job_submit.py" in jenkins-script.
"job_submit.py" adds "CopyLinkedPackages: yes" at the end of project config for prerelease projects.
2. bs_sched (OBS)
If "CopyLinkedPackages: yes" is found in project config, make a symbolic link for the package before this package is built.
Change-Id: I54ab531a8b8b73f1b7ea95cf0cd76c596954cc9a
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Tue, 26 Jul 2016 06:22:05 +0000 (15:22 +0900)]
Revert: 4) 5) : Check Human Error about SR tag
4) Check specfile exist under packaging
5) Check parse specfile
Change-Id: I461480eaafd07b005fb1751cf262416c1740a3e3
Yonghee Han [Tue, 26 Jul 2016 02:24:15 +0000 (11:24 +0900)]
fix for sending e-mail function error in job_submit.py
Change-Id: I032dd1534e1d6b29d7993e61fe5753056fa34d28
Yonghee Han [Tue, 26 Jul 2016 00:28:24 +0000 (09:28 +0900)]
fix : fail to create daily,weekly reports file.
Change-Id: I0f3b7271e173c0b13a9d1b039fb6e71da7e1af79
Yonghee Han [Fri, 22 Jul 2016 01:23:31 +0000 (10:23 +0900)]
Feature : Check Human Error about SR tag
1) check whether tag follow proper format : tag name format,date format
2) check whether tag is an annotated tag
3) Check if change is still under review
4) Check specfile exist under packaging
5) Check parse specfile
6) Report an e-mail message about the error to the submitter
Change-Id: Ibd722848e87c2148de730aa766c97883e842efca
Yonghee Han [Tue, 5 Jul 2016 11:02:10 +0000 (20:02 +0900)]
Job : check_scm_meta_git
Add new feature for using scm/meta/git.
Change-Id: I69a6e4de7a063e43645b009c963090b43d6f877e
Yonghee Han [Tue, 5 Jul 2016 00:24:52 +0000 (09:24 +0900)]
Fix retrigger the images for the Group submit.
disable publish flag and default publish flag
Change-Id: I24ea9f4d74e30742c6cf300ab3922f2fb726e229
hyokeun [Mon, 4 Jul 2016 10:50:34 +0000 (19:50 +0900)]
Prerelease - Get obs project info instead of request every packages
Change-Id: I8ee19c0860a0bf5654251f050df54da65b848965
Yonghee Han [Sat, 18 Jun 2016 04:29:39 +0000 (13:29 +0900)]
exception images_count of the post image job
Change-Id: I65246df6be192ee62109fa9d92b83f9c975e1537
Yonghee Han [Sat, 18 Jun 2016 00:51:03 +0000 (09:51 +0900)]
Fixed Notify email about reqeust author(Group submitter)
chage Build_id trigger to request_trigger_
change for jobs setting
Change-Id: I5d3c9d643665a83be7f16c49ed1f96733457ca01
Yonghee Han [Sat, 18 Jun 2016 00:37:40 +0000 (09:37 +0900)]
update the info when images and images_count is same
Change-Id: I51d907c246c32ad769f8e8af22adc202c3b62c86
Yonghee Han [Tue, 14 Jun 2016 23:48:30 +0000 (16:48 -0700)]
Merge "1) New workflow about Snapshot. 2) Add submitter on prorelease project. 3) Add chksnap option on prerelease project. 4) Unknown published status skipping prerelease repository creation as OBS" into devel
Sehong Na [Tue, 14 Jun 2016 07:38:42 +0000 (16:38 +0900)]
Job : check_scm_meta_git
Add new feature for using scm/meta/git.
It's submit type option in git-trees.
It's add checking syntax and applying to system related submit type option.
Change-Id: Iaeec73c57b30e4d47d8e3f901c0ed5c6ec3f32cf
Signed-off-by: Sehong Na <sehong.na@samsung.com>
Yonghee Han [Sat, 11 Jun 2016 06:55:24 +0000 (15:55 +0900)]
1) New workflow about Snapshot.
2) Add submitter on prorelease project.
3) Add chksnap option on prerelease project.
4) Unknown published status skipping prerelease repository creation as OBS
Change-Id: Ie0a1b3fc43770b3c7e88f4747eb10d109027341d
Sehong Na [Thu, 9 Jun 2016 07:49:40 +0000 (16:49 +0900)]
Add new job 'check_scm_meta_git'. It's for using scm/meta/git.
- Synchronize meta data in scm/meta/git to gerrit system automatically.
- Check syntax & semantics about scm/meta/git.
Change-Id: I552f6a0011a7b977f6221e309d2127ef2d95905b
Signed-off-by: Sehong Na <sehong.na@samsung.com>
hyokeun [Thu, 26 May 2016 01:58:18 +0000 (10:58 +0900)]
Add repo manifest file for ABS
Change-Id: Ib8aac2c21b06d8d3500446b9344754f67f792dab
Yonghee Han [Tue, 24 May 2016 02:05:29 +0000 (11:05 +0900)]
exception to KeyError: linkedbuild of repo_element.attrib.pop()
Change-Id: Ic1dbbc2efdae235175810612249162c256aa62f1
Yonghee Han [Mon, 23 May 2016 05:44:23 +0000 (14:44 +0900)]
1) Retry create_project(...) three times if it faild.
2) Merge person list then send meta update request only once. (instead of sending multiple requests)
Tested : Retry routine check OK.
Tested : Update meta for person check OK.
Change-Id: I7646b57dee077d3a2b2def4c0ef36e81c8eef04b
Yonghee Han [Wed, 18 May 2016 22:15:33 +0000 (07:15 +0900)]
description : disable a build flag before upload service and enable a build flag after link project
file : job_submit.py
Change-Id: Ic7052d4c01048c8693c28da5c19055b875fab5da
Yonghee Han [Mon, 18 Apr 2016 06:06:21 +0000 (15:06 +0900)]
Feature: Add rpmbuild stage options for prerelease job
Description : have to add PRERELEASE_RPMBUILD_STAGE in jobs/configuration
PRERELEASE_RPMBUILD_STAGE = bb or PRERELEASE_RPMBUILD_STAGE = ba
If you do not want to create the src.rpm file on OBS project, use a PRERELEASE_RPMBUILD_STAGE = bb
Change-Id: Ieb356b32dca5aa58526f1551a5184bf2efaa88ee
Yonghee Han [Fri, 15 Apr 2016 05:11:49 +0000 (22:11 -0700)]
Merge "Revert "description : disable a build flag before upload service and enable a build flag after link project file : job_submit.py"" into devel
Yonghee Han [Fri, 15 Apr 2016 05:05:39 +0000 (22:05 -0700)]
Revert "description : disable a build flag before upload service and enable a build flag after link project file : job_submit.py"
This reverts commit
ec5ab866cd0621aed570ed9ef23cefbd21ddfb83.
Change-Id: I88fac5fc0ae3565746e08198f759498f88f63217
Yonghee Han [Fri, 15 Apr 2016 01:37:16 +0000 (10:37 +0900)]
modify to check sync_status value when Sync function doing
Change-Id: I6377d04cbeb651200064284c092926ad03ec4397
Yonghee Han [Thu, 14 Apr 2016 10:44:21 +0000 (19:44 +0900)]
description : disable a build flag before upload service and enable a build flag after link project
file : job_submit.py
Change-Id: Icdbf9edac7da0cb31c6a4b7f7729cf1fb3dbff7a
Yonghee Han [Tue, 12 Apr 2016 07:29:45 +0000 (16:29 +0900)]
retry sync function because of rsync error
Change-Id: I353a755c25105dbf3e3b0246748ad29233ff178e
Yonghee Han [Sat, 26 Mar 2016 05:33:04 +0000 (14:33 +0900)]
Do not use 'Generates .files'
error : <urlopen error [Errno 101] Network is unreachable>
Change-Id: I28d1a0a6c955e54bab23cfdd01c1f80588fa558b
Yonghee Han [Thu, 24 Mar 2016 23:49:30 +0000 (08:49 +0900)]
Feature : Generates .files which contains package name and its file list
make the images_files file.ex)tizen-3.0-tv_20160324.9_tv-emulator.files
Change-Id: I6477485b5ff7aeafb649e06c80ef8d483f4d81c9
Yonghee Han [Thu, 24 Mar 2016 07:18:51 +0000 (16:18 +0900)]
1) add & update below funtion for the buildservice.py
----------------------------------------------------
update_buildstatus
update_info
link_projectDev
get_user_meta
create_copy_pac
get_dependson
show_upstream_rev
disable_build_flag
default_build_flag
2) Make file at packages depends & revision of OBS for the job_buildlog.py
Change-Id: I0d71f26ab270cd9ac54cdd48e2613963102856db
Yonghee Han [Tue, 15 Mar 2016 09:04:08 +0000 (18:04 +0900)]
Delete Tizen older directories based on policy: modify to search all directory
Change-Id: Ia848a4ed16f0c3ed92079bed992e87017ecd8ad4
Yonghee Han [Tue, 15 Mar 2016 07:18:46 +0000 (16:18 +0900)]
move project_src_rpm_cleanup in job_pre_release_obs.py
Change-Id: I2b9d7610b2e248ab53599ec2b9e791616c69695f
Yonghee Han [Mon, 14 Mar 2016 06:56:05 +0000 (15:56 +0900)]
cleanup src.rpm files on Live repo. we don't used src.rpm files on prerelease project.
Change-Id: Idf8f79631fc79473f625cff3cc833084b315b42b
Yonghee Han [Fri, 4 Mar 2016 23:30:29 +0000 (08:30 +0900)]
Release 1.1
Updated version, changelog and RELEASE_NOTES.
Change-Id: I3966f00d850ce941a48ab1862f6bf457d4731efb
Yonghee Han [Fri, 4 Mar 2016 08:29:16 +0000 (17:29 +0900)]
provide a multi branch name for the git-obs-map xml file. ex) <branch name="tizen,tizen_mobile" ...
Change-Id: I8f5e4573fb5224a5f0c434feb2f7582c85b09e03
Yonghee Han [Fri, 26 Feb 2016 09:55:52 +0000 (01:55 -0800)]
Merge "submitobs: Do not submit to projects using abs workflow" into devel
Yonghee Han [Fri, 26 Feb 2016 09:54:16 +0000 (01:54 -0800)]
Merge "Update git_obs_map function" into devel
Yonghee Han [Fri, 26 Feb 2016 08:29:05 +0000 (17:29 +0900)]
submitobs: Do not submit to projects using abs workflow
Submitobs job should skip submission If staging project is set to
abs in git-obs mapping
Change-Id: If1d8322d86d4fa2931db52bae28e85e06b36b878
Donghoon Shin [Fri, 26 Feb 2016 07:45:39 +0000 (16:45 +0900)]
Update git_obs_map function
Change-Id: Id772dbc2629ec5479e92f952387c4740c2ffcd41
Yonghee Han [Fri, 26 Feb 2016 07:14:01 +0000 (16:14 +0900)]
prerelease: get package name from xml files.
Change-Id: I1c88b02ca5b4fd6a3e02f9f7551403b77233fad6
ZhuoX Li [Tue, 10 Mar 2015 08:00:46 +0000 (16:00 +0800)]
Release 1.0
Updated version, changelog and RELEASE_NOTES.
Change-Id: Icee3ff2a79d146a1dd115d580b2b4807783a0337
Xu Chang [Tue, 3 Feb 2015 10:05:42 +0000 (18:05 +0800)]
Pylinted jenkins-scripts
Fixes: #1855
Change-Id: I94114571322aed43bdfa083c1bc13a290e55974d
Olev Kartau [Sat, 21 Feb 2015 14:31:15 +0000 (16:31 +0200)]
Added logs-collector script
This script copies,compresses Jenkins jobs logs aside to
JENKINS_HOME/logs-collected/ in order to save them
from Jenkins logs rotation which does not scale well
Change-Id: I0b46105db0ecb03e306512efde0b4f9da307683d
Ed Bartosh [Mon, 16 Feb 2015 20:49:55 +0000 (22:49 +0200)]
Remove Jenkins and OBS repos
Nothing in Services depends on Jenkins and OBS anymore, so it's safe to
remove their repos from .extra-repos.
Change-Id: I876fdcef4bac3b846db66f734743f293ff611a29
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Olev Kartau [Mon, 16 Feb 2015 09:25:39 +0000 (11:25 +0200)]
Move dir-purge-tool script to base project from common
Change-Id: Icae81662e19be9677f39f2c5f232c04053b1a74e
Olev Kartau [Thu, 12 Feb 2015 14:43:08 +0000 (16:43 +0200)]
Added directory purge tool
This shell script scans Tizen release directories, removes
entries old enough based on policy given by env.variables
Change-Id: I6ee22c578748d2f9ec1d93c5cdb4e119f978d812
ZhuoX Li [Thu, 12 Feb 2015 07:37:16 +0000 (15:37 +0800)]
Revert "Fix the aggregate packages are always broken state."
This reverts commit
0cc064af0bb38cb791c41cd621af0711788f0f8c.
Change-Id: I9e3139d7c6b4defcb2d3925626f8343be36f694d
Ed Bartosh [Tue, 10 Feb 2015 13:35:25 +0000 (15:35 +0200)]
Add OpenSUSE 13.1 repositories
Added OpenSUSE 13.1 repos to packaging/.extra-repos to support building
and testing for this distro with Jenkins.
Change-Id: Id5793ef7ff6f79224a8b464a95d1a87d1d0ec2ce
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Xu Chang [Tue, 20 Jan 2015 08:06:32 +0000 (16:06 +0800)]
Don't need import get_python_lib
Change-Id: I51b345d5c2d5452323d865054ae4b673becce797
Ed Bartosh [Sun, 1 Feb 2015 14:07:16 +0000 (16:07 +0200)]
job_re: Fix typo
Fixed typo in the otuput: rebuit->rebuilt
Change-Id: Id9b5c1694bb5983448f82265aa12d1a163e8d5cc
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
ZhuoX Li [Tue, 3 Feb 2015 08:53:59 +0000 (16:53 +0800)]
Release 0.15.13
Updated version and changelog.
Change-Id: Ie3223001ac8a444979143c992969f93888e1aace
ZhuoX Li [Mon, 2 Feb 2015 10:30:27 +0000 (18:30 +0800)]
Rectify mistake that was allowing for GPLv3.
The code was always intended to be released under GPLv2 license, not GPLv3.
Removed the obscure part about GPL license version,
and make explicit statement to release under GPLv2.
Change-Id: I16c90f45d111675799fb38da76b6079664ff2062
ZhuoX Li [Tue, 20 Jan 2015 09:42:56 +0000 (17:42 +0800)]
Fix packages build/link issue in pre-project
For example
After crosswalk was split to two packages,
we always need to create the link manually
when there is a crosswalk submission.
Fixes: #2336
Change-Id: I2819f090d48fafdc2a649a8b38fcc692220a3786
Igor Stoppa [Tue, 20 Jan 2015 10:10:03 +0000 (12:10 +0200)]
Improve logging about image testablity.
Log also when the image is supported.
In both cases (supported/unsupported), log also the name of the image.
Change-Id: I3fde2a5525078810f4c65a5f916e3145b1d127d7
Igor Stoppa [Tue, 20 Jan 2015 10:06:30 +0000 (12:06 +0200)]
Make error message more explicative.
The paramters referred to in the error messsage are coming from
the environment, but it's not very evident.
Now it should be.
Change-Id: I1d61eed4d033e92ef44714ee970e212298fa492f
Igor Stoppa [Fri, 16 Jan 2015 16:41:23 +0000 (18:41 +0200)]
Fix check for name of folder with results.
Drops the old "tztestrobot" in favor of the new "aft".
Change-Id: I52c133485f2b639e81b549040f917cee0eb423e1
Igor Stoppa [Thu, 15 Jan 2015 13:16:40 +0000 (15:16 +0200)]
Fix checks and return values for image test.
In case of image either missing or not supported,
the test is wrong and the image name is not propagated.
Change-Id: Iff91d15c0e0c3ba5fe8b51c4a1299c6642a231a5
Igor Stoppa [Thu, 15 Jan 2015 13:24:49 +0000 (15:24 +0200)]
Explicitly return 0
Fixes one spurious semicolon and explicitly returns 0 on all the
exit paths.
Change-Id: I7b78d3cf5d65da8d9dacbc04a8aa35a66a5bdc84
Igor Stoppa [Wed, 14 Jan 2015 10:40:46 +0000 (12:40 +0200)]
Hack: add one empty test case to the empty results.
Jenkins will not consider the empty results.xml if it is
completely devoid of test results, so an empty test case is added.
Change-Id: I58cddf30ae5207be24fb751c9b373ae5846d4ffb
Igor Stoppa [Fri, 16 Jan 2015 17:39:59 +0000 (19:39 +0200)]
Provide empty test details when testing is not run.
The field for test details must be filled with an empty string,
when there are no details available, because the test was not
executed.
Change-Id: I2a0dc4d715942e622af88688cf642bfdc4a9989f
ZhuoX Li [Sun, 4 Jan 2015 07:30:11 +0000 (15:30 +0800)]
Fix the bug about accepting muliple packages.
When accept/reject group submission, jenkins will accepts/rejects
muliple packages. There are the different sourcepackages and targetpackages.
we shouldn't use the same sourcepackage and targetpackage to work,
when accept/reject. So add them into the matched project.
Change-Id: Ie2e17897a3548f750e12dd79fb8f75e11138c3bd
Xu Chang [Tue, 13 Jan 2015 09:31:14 +0000 (17:31 +0800)]
Copy maintainer to their prerelease projects
Fixes: #2297
Change-Id: Ibd006df0061a95f376d1130be4c18cf29bcceccb
Signed-off-by: Xu Chang <changx.xu@intel.com>
Igor Stoppa [Tue, 13 Jan 2015 15:34:15 +0000 (17:34 +0200)]
Fix comments formatting.
Change-Id: I91d94d3a27fc0d316fd199dca902947cb973ccb1
Igor Stoppa [Tue, 13 Jan 2015 13:54:39 +0000 (15:54 +0200)]
Improve Error handling.
In case some of the expected parameters is missing,
survive and report it.
Change-Id: I608947b2a387735911544cf6aa49d96ea74434f9
Ed Bartosh [Sun, 11 Jan 2015 00:34:15 +0000 (02:34 +0200)]
job_re: make output parseable
Output of job_re is parsed by post-build groovy script.
This change adds "Submission xxxx has been yyyy" to the output to make
the output always parseable.
Change-Id: I70ce4de990ffd076df068420f748e8da651bc516
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Sun, 11 Jan 2015 00:30:29 +0000 (02:30 +0200)]
Implement locking and unlocking submissions
Implemented by disabling/enabling build globaly
for prerelease project.
Fixes: #2298
Change-Id: Ib7f072cd919b6495bb4a364fd9048031a7c8dddf
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Ed Bartosh [Sun, 11 Jan 2015 00:27:51 +0000 (02:27 +0200)]
buildservice: Implement set_global_flag
Implemented enabling and disabling of global OBS flags
publish,build,useforbuild,debuginfo.
This functionality will be used in job_re for locking and
unlocking prerelease projects.
Change-Id: I272d77612515e944b7c5ef73af2c4998bdb3346c
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>