hyokeun [Fri, 25 Aug 2017 00:49:51 +0000 (00:49 +0000)]
Merge "TPE-208 Test trigger - remove hard-coded branch" into devel
hyokeun [Fri, 25 Aug 2017 00:49:45 +0000 (00:49 +0000)]
Merge "TPE-202 Retry git checkout if failed in submit job" into devel
SoonKyu Park [Thu, 24 Aug 2017 09:50:34 +0000 (18:50 +0900)]
Add new jenkins job : 'gbs-ref-fullbuild' when master branch of scm/git-ref-mapping is update
Perform gbs fullbuild for specific profile/repository/architecture
- Start from Tizen:Unified/standard/armv7l
And then perform image creation
Change-Id: I5b6f50a3c636d691d15f0d94825b574c8eef5497
jiseob.jang [Thu, 24 Aug 2017 08:26:27 +0000 (17:26 +0900)]
add inserting size information of dotnet binary.
add inserting num of dotnet apps.
Change-Id: I68e511bc6fe9779c28cfe5e5a7ef43c96e695a16
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
hyokeun [Tue, 22 Aug 2017 12:05:25 +0000 (21:05 +0900)]
TPE-208 Test trigger - remove hard-coded branch
Change-Id: I73d299bb8eaadf11f2cda67cd304add69391617c
hyokeun [Tue, 22 Aug 2017 06:28:28 +0000 (06:28 +0000)]
Merge "TPE-193 Prepare SR Sync data along with commit id and submitter" into devel
hyokeun [Mon, 21 Aug 2017 08:42:48 +0000 (17:42 +0900)]
Fix type error
Change-Id: I5597eaf2b35c414b3f97546398ca281849e56654
hyokeun [Mon, 21 Aug 2017 06:30:35 +0000 (15:30 +0900)]
TPE-202 Retry git checkout if failed in submit job
Change-Id: I839a4d0210849d0ab5bf8be1b79d40fa9bcbc16e
hyokeun [Mon, 21 Aug 2017 05:28:31 +0000 (05:28 +0000)]
Merge "TPE-195 Reference creation fail to detect git change" into devel
hyokeun [Mon, 21 Aug 2017 05:28:21 +0000 (05:28 +0000)]
Merge "SR-SYNC: requests changes" into devel
hyokeun [Wed, 9 Aug 2017 08:37:26 +0000 (17:37 +0900)]
SR-SYNC: requests changes
1. Add submissions field into OBS description
2. Handle all submit entries rather than first item in the request info
3. Trash _link file if _service exists for all the accepted packages
Change-Id: Id7b9b78d8b4e7911bf7c844b3251af1eff3aecb0
hyokeun [Fri, 18 Aug 2017 09:16:54 +0000 (18:16 +0900)]
TPE-195 Reference creation fail to detect git change
Problem: Git repository change check was not implemented.
Fix: Compare git path from source project and manifest.
Change-Id: Ie0926750afdf40325a1a4fbe95f585612da1eeb8
hyokeun [Fri, 18 Aug 2017 07:15:46 +0000 (16:15 +0900)]
TPE-172 ABS: Use profile from tizen-manifest.xml
Change-Id: I8f5e9241618f511dd3d489110b85a7d1946c12cc
hyokeun [Fri, 18 Aug 2017 07:02:39 +0000 (07:02 +0000)]
Merge "TPE-181 Check tag before SR submit from dashboard" into devel
hyokeun [Fri, 18 Aug 2017 07:02:29 +0000 (07:02 +0000)]
Merge "TPE-180 Skip deleted SR tag processing in requests job" into devel
hyokeun [Fri, 18 Aug 2017 07:02:19 +0000 (07:02 +0000)]
Merge "TPE-190 Register _tpk branch to test trigger info" into devel
hyokeun [Fri, 18 Aug 2017 06:07:42 +0000 (15:07 +0900)]
TPE-181 Check tag before SR submit from dashboard
Change-Id: I4f28d94016c519103a9402494e590e60790094bf
hyokeun [Fri, 18 Aug 2017 05:35:08 +0000 (14:35 +0900)]
TPE-180 Skip deleted SR tag processing in requests job
Problem: If developer removed SR tag before accept/reject it,
the requests job will broke due to fail to search tag info.
Fix: Skip deleted tag.
Change-Id: Iba6bb4f9e05a0c36eec206602545b0dbeb790cf8
hyokeun [Fri, 18 Aug 2017 04:25:46 +0000 (13:25 +0900)]
TPE-193 Prepare SR Sync data along with commit id and submitter
Change-Id: I176567b5ad545a81fcfcd6d240c57cedcf5dfbda
hyokeun [Fri, 18 Aug 2017 01:26:23 +0000 (10:26 +0900)]
TPE-190 Register _tpk branch to test trigger info
Problem: tpk branch naming was changed to use profile name inside it.
Fix: Filter required profile names from environment variable.
Change-Id: Ifb8bcc7a17468dbb7037a2f0399b2aa1061160ec
SungHun Hwang [Thu, 17 Aug 2017 10:10:53 +0000 (19:10 +0900)]
[BuildMonitor] TPE-185 fix the SR status error
PROBLEM:
The status in Fhub3.0 stays 'Testing' step
REASON:
finding bulid_project_id part is mssing
SOLUTION:
change the code to get the build_project_id
Change-Id: Ic09131fc814725847d95fe76639ab40f0a4f6845
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
hyokeun [Wed, 16 Aug 2017 11:06:32 +0000 (11:06 +0000)]
Merge "Set proper git user while SR tagging from dashboard" into devel
hyokeun [Wed, 16 Aug 2017 11:06:26 +0000 (11:06 +0000)]
Merge "Fix fork git check routine" into devel
hyokeun [Wed, 16 Aug 2017 10:50:41 +0000 (19:50 +0900)]
Set proper git user while SR tagging from dashboard
Change-Id: I57ca19a2210a04295051d3cbd872b1fbb3fb0047
hyokeun [Wed, 16 Aug 2017 08:56:52 +0000 (17:56 +0900)]
Fix fork git check routine
Change-Id: I6fea33de036117141655596121df338ee2ad293c
hyokeun [Wed, 16 Aug 2017 08:44:04 +0000 (17:44 +0900)]
Trigger rootstrap creation for SPIN infra
Change-Id: I863a7e0acf8158f0725d14ca6914a0d8ff64a2b7
hyokeun [Wed, 16 Aug 2017 07:57:07 +0000 (16:57 +0900)]
Get information from matching tag instead of latest reference.
Problem: git for-each-ref will fetch latest reference.
If newer reference comes while processing submit job, it will fetch wrong data.
Fix: Specify git tag to list up.
Change-Id: I9d2eba5400d3acf1af4c2b29a497867446322737
hyokeun [Mon, 14 Aug 2017 01:41:58 +0000 (01:41 +0000)]
Merge "TPE-163 Do not send email noti for SR tag deletion" into devel
hyokeun [Mon, 14 Aug 2017 01:41:50 +0000 (01:41 +0000)]
Merge "TPE-167 Bugfix: Retry failed prerelease creation" into devel
hyokeun [Mon, 14 Aug 2017 01:37:06 +0000 (10:37 +0900)]
TPE-163 Do not send email noti for SR tag deletion
Change-Id: Ifb6878e686861e708b55ec99a31633994b7c743f
hyokeun [Mon, 14 Aug 2017 01:29:38 +0000 (01:29 +0000)]
Merge "SPIN update" into devel
hyokeun [Mon, 14 Aug 2017 01:26:38 +0000 (10:26 +0900)]
TPE-167 Bugfix: Retry failed prerelease creation
Retry routine was missing when submit job merge.
Change-Id: Ib49c57523d9711ffe1ce418c50dc923758eae165
hyokeun [Fri, 11 Aug 2017 00:49:18 +0000 (09:49 +0900)]
SR-SYNC: Wait until the dashboard finalizing snapshot info
Problem: No data if the dashboard has not been updated snapshot info.
Cause: Waiting for the completion of post-snapshot job or BUILD-MONITOR.
Fix: Wait some time and request again.
Change-Id: Ia880c61e7eb3b1792be4f35141f4618aa2d98ed9
hyokeun [Thu, 10 Aug 2017 10:59:04 +0000 (19:59 +0900)]
Fix: Wrong condition check of target_project
Change-Id: Ife810411253ab293698eb912f40d4fd7e0e849e8
hyokeun [Thu, 10 Aug 2017 10:57:25 +0000 (10:57 +0000)]
Merge "Fix: Change reference build check project name" into devel
hyokeun [Thu, 10 Aug 2017 10:13:41 +0000 (19:13 +0900)]
Fix: Change reference build check project name
Change-Id: Ie3a0188373ad4787f47dcf9bec89e5ec4a962de2
SungHun Hwang [Wed, 9 Aug 2017 11:56:19 +0000 (20:56 +0900)]
[BuildMonitor] SR-SYNC: change the submit job and buildmonitor job
change the submit and buildmonitor job
to support the SR-SYNC function for MCD project
Change-Id: Ic686e0862ef6eb660480c52e94fb2bfbd2e0671d
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
hyokeun [Wed, 9 Aug 2017 10:59:10 +0000 (19:59 +0900)]
SR-SYNC: Rename env parameter
Change-Id: Ia2050436fb97ddb4d4f3801568a304d34456e175
hyokeun [Wed, 9 Aug 2017 10:16:38 +0000 (10:16 +0000)]
Merge "Skip making repo directory rather than crash" into devel
hyokeun [Wed, 9 Aug 2017 09:37:47 +0000 (18:37 +0900)]
SPIN update
Change-Id: I370c8e19e3ce20272bddbacdb43dc18aa4722154
hyokeun [Wed, 9 Aug 2017 08:34:08 +0000 (17:34 +0900)]
SR-SYNC: submit job changes
For SR-SYNC mode, adding submissions fields.
Do not update other fields because its not a real SR.
Change-Id: Id539e8ad5f344fc235c60b8737034ddaadbe9dbc
Yonghee Han [Wed, 9 Aug 2017 08:22:16 +0000 (08:22 +0000)]
Merge "Fix logs-collector for Debugging" into devel
Yonghee Han [Wed, 9 Aug 2017 07:50:59 +0000 (16:50 +0900)]
Add Tizen:4.0:Unified, Tizen:3.0:Base for SPIN Sync
Add Tizen:4.0:Unified for ABS
Change-Id: Ib44901dedba93bf2c2d2e76f83c68f4de5638ed0
hyokeun [Wed, 9 Aug 2017 05:45:16 +0000 (05:45 +0000)]
Merge "E-mail guide: Do not delete SR tags." into devel
hyokeun [Wed, 9 Aug 2017 05:38:43 +0000 (14:38 +0900)]
Skip making repo directory rather than crash
NOTICE: Need to handle repo errors in other way.
Change-Id: Ie15998475f3c409c4a87e7fc00caca6bd0480cb5
hyokeun [Wed, 9 Aug 2017 04:44:47 +0000 (13:44 +0900)]
ABS: Change profile setup process
Profiles from configuration rather than git path or project name.
Change-Id: I80aa83dc6c6e53b7beb56230d0facbdc483f4351
hyokeun [Tue, 8 Aug 2017 03:05:55 +0000 (12:05 +0900)]
E-mail guide: Do not delete SR tags.
Change-Id: I03c407838590f5bdfd1dd40d3df9e1204bf21931
hyokeun [Mon, 7 Aug 2017 23:55:15 +0000 (08:55 +0900)]
Add +x permission on bash scripts
Change-Id: I4800482b10c1f17f53a98b11822202e3ac2de976
hyokeun [Mon, 7 Aug 2017 12:24:26 +0000 (21:24 +0900)]
Fix of not updating parameters for multi-project configuration
Change-Id: I80214c5f5c2293409c9777aa93277522356826d2
hyokeun [Mon, 7 Aug 2017 12:21:59 +0000 (12:21 +0000)]
Merge "RBS: Adding Tizen:4.0:MCD:Z4" into devel
hyokeun [Mon, 7 Aug 2017 10:36:36 +0000 (10:36 +0000)]
Merge "Fix: False alarm when VCS tag not found from rpm header" into devel
hyokeun [Mon, 7 Aug 2017 10:36:29 +0000 (10:36 +0000)]
Merge "DRAFT: Trigger group SR for SR-SYNC request" into devel
hyokeun [Mon, 7 Aug 2017 10:35:01 +0000 (19:35 +0900)]
RBS: Adding Tizen:4.0:MCD:Z4
Change-Id: I6e0bcc1442077997ce6b47d5901c482045a3c7e8
hyokeun [Mon, 7 Aug 2017 08:44:06 +0000 (17:44 +0900)]
Fix: False alarm when VCS tag not found from rpm header
Change-Id: I41d0a9df4962f5ffe1a714ab1c958eec65de64d8
hyokeun [Fri, 4 Aug 2017 00:48:00 +0000 (00:48 +0000)]
Merge "Support multiple snapshot conf files" into devel
hyokeun [Thu, 3 Aug 2017 07:46:31 +0000 (16:46 +0900)]
Support multiple snapshot conf files
Change-Id: Id98ff20ec73aab6ac92ece5041c3e0c5364b6327
hyokeun [Thu, 3 Aug 2017 02:54:31 +0000 (11:54 +0900)]
DRAFT: Trigger group SR for SR-SYNC request
On SPIN infra, reference snapshot -> trigger SR sync.
1. Fetch SR list from Dashboard.
2. Additional mark will be added to the git repo as following;
Pure git: +, Forked git: -
3. Request to create prerelease OBS project.
Change-Id: I3246d0b88f160909d41676cd2c209c4d8e94323b
hyokeun [Thu, 3 Aug 2017 02:48:59 +0000 (11:48 +0900)]
Skip remove_overlaps for full list search
remove_overlaps() remove entries based on staging project.
This behavior is not fit for full list search.
Change-Id: I2afd7e357cad7859ffbc6872e96f0aab864fdb88
hyokeun [Thu, 3 Aug 2017 01:19:06 +0000 (10:19 +0900)]
ABS: Fix vm share path
Change-Id: Ib0cf5af423c42bd7370d135af46c5efe71a0739d
hyokeun [Thu, 3 Aug 2017 01:05:13 +0000 (10:05 +0900)]
ABS: Support infra switch
Change-Id: I5e60b8863277b0e0cd99eb097a9c5502c5528bc9
hyokeun [Wed, 2 Aug 2017 07:06:05 +0000 (07:06 +0000)]
Merge "Bugfix: Check null before inserting item" into devel
hyokeun [Wed, 2 Aug 2017 06:38:32 +0000 (15:38 +0900)]
Bugfix: Check null before inserting item
Change-Id: I86eeb71067039e9209413ce6aee5d7875fc5cbbd
hyokeun [Wed, 2 Aug 2017 05:55:02 +0000 (14:55 +0900)]
ABS: Use privileged gerrit account
Change-Id: I28efe5d7259ba86d46223952f9adbe43448f81cd
SungHun Hwang [Wed, 2 Aug 2017 01:36:30 +0000 (01:36 +0000)]
Merge "[BuildMonitor] Add submit_time data at [sr_status] table" into devel
SungHun Hwang [Tue, 1 Aug 2017 23:53:44 +0000 (08:53 +0900)]
[BuildMonitor] Add submit_time data at [sr_status] table
- Add submit_time data at [sr_status] table
- import method changed
(datetime.datetime -> datetime)
Change-Id: Ia35351819841378f3cf66c56683bae8787a4c0a5
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
hyokeun [Wed, 2 Aug 2017 00:18:52 +0000 (09:18 +0900)]
Prerelease - Always create repos
Change-Id: I5f848ac1caa11c555e11d025bd81e65bf3e284e1
hyokeun [Tue, 1 Aug 2017 11:33:22 +0000 (20:33 +0900)]
ABS: Remove test code
Change-Id: Icd2db31e50cab3232ff4be16711f015cd206b339
hyokeun [Tue, 1 Aug 2017 09:04:49 +0000 (18:04 +0900)]
ABS: change code structure
Change-Id: I4b1508d2376200666973f31705292bf723e7e2bf
hyokeun [Sat, 29 Jul 2017 02:48:45 +0000 (11:48 +0900)]
Move common APIs to common/workflow module
Change-Id: I07bfa5013b4dc8113ad6a694d1c85b6762e0fa29
hyokeun [Sat, 29 Jul 2017 02:48:45 +0000 (11:48 +0900)]
Move common APIs to common/workflow module
Change-Id: I07bfa5013b4dc8113ad6a694d1c85b6762e0fa29
Junghyun Kim [Fri, 28 Jul 2017 07:28:35 +0000 (07:28 +0000)]
Merge "revert git config when an exception occurs." into devel
Junghyun Kim [Fri, 28 Jul 2017 07:28:27 +0000 (07:28 +0000)]
Merge "missing "return return_obj"" into devel
hyokeun [Fri, 28 Jul 2017 05:17:26 +0000 (14:17 +0900)]
Fix of Report manifest error
Change-Id: I5c310064dd2793a5fc3aa0b6360076e9123d0b42
hyokeun [Fri, 28 Jul 2017 01:27:38 +0000 (10:27 +0900)]
Report manifest error
Problem: Duplicated rpms generated for the same source.
Cause: Not removing the old package after renaming the package name.
Action: Send e-mail notification to the mailing list.
Change-Id: Iadf1c2a89e0d51684809fde82ec47963f58c64a8
Junghyun Kim [Wed, 26 Jul 2017 07:42:45 +0000 (16:42 +0900)]
revert git config when an exception occurs.
PROBLEM:
- When an excepition occurs, it is possible that masquerade user
remains.
SOLUTION:
- When an exception occurs, restore original user name.
Change-Id: Ida4e2d9f68dde8ccb93e23c25c788a3d5ea58f46
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Wed, 26 Jul 2017 05:15:21 +0000 (14:15 +0900)]
Fix logs-collector for Debugging
PROBLEM: can not find the log file of jobnumber
SOLUTION : We do not need to using a links because jenkins version upgraded
Change-Id: I1b20440d567d2470ff997e1b88e2395e03dee2be
Junghyun Kim [Tue, 25 Jul 2017 04:59:39 +0000 (13:59 +0900)]
missing "return return_obj"
Change-Id: I530a7376fbe47f243e265eeceb6290da8609e040
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
hyokeun [Mon, 24 Jul 2017 09:03:23 +0000 (18:03 +0900)]
Use latest image-configurations.rpm
In Unified builds, there could be exist out-dated image-configurations.rpm.
When creating ks file, use latest one(sort by name).
Change-Id: I1b102af2c7555296fa364a9440c066c24bf72287
Sanghoon Lee [Mon, 24 Jul 2017 08:01:07 +0000 (17:01 +0900)]
[TRBS][Updated jira issue receiver]
1. Updated jira issue receiver due to change the jira policy.
2. Received as file parameter.
Change-Id: I77274efd568a011376b93bf023d752997ad30b06
hyokeun [Mon, 24 Jul 2017 05:50:29 +0000 (05:50 +0000)]
Merge "Fix attribute error in SMTPDataError" into devel
hyokeun [Mon, 24 Jul 2017 04:26:53 +0000 (04:26 +0000)]
Merge "Fix indentation" into devel
hyokeun [Fri, 21 Jul 2017 02:34:52 +0000 (11:34 +0900)]
Fix indentation
Change-Id: Ic399e34fc0c76ea92764ae0f0683cb91c6b514ed
hyokeun [Wed, 19 Jul 2017 23:59:26 +0000 (08:59 +0900)]
Split obs creation task from pre-release-gerrit job
Change-Id: Ia49ab8c249bf6e4d955147f55dc6ce6554cf0477
hyokeun [Fri, 21 Jul 2017 00:34:25 +0000 (09:34 +0900)]
Fix attribute error in SMTPDataError
Change-Id: Ia2395b6f224f5597ee857bc629ec87ce845c022d
Junghyun Kim [Tue, 18 Jul 2017 23:13:17 +0000 (23:13 +0000)]
Merge "test check routine changed." into devel
hyokeun [Tue, 18 Jul 2017 07:03:52 +0000 (16:03 +0900)]
Support OBS_use_specname for submitobs job
Change-Id: If98d4adfe65f45184aaf1f5d7b327fe488723e99
hyokeun [Tue, 18 Jul 2017 05:02:14 +0000 (05:02 +0000)]
Merge "Check error condition before sync repo" into devel
hyokeun [Tue, 18 Jul 2017 01:22:25 +0000 (01:22 +0000)]
Merge "Keep build numbers when re-installing jenkins" into devel
Junghyun Kim [Tue, 18 Jul 2017 00:36:56 +0000 (09:36 +0900)]
test check routine changed.
PROBLEM:
- If tct fail(0) and ref fail(1), set to failed even if it is good.
- If tct pass(10) and ref pass(9), set to failed even if it is good.
SOLUTION:
- Set them succeeded for both cases.
Change-Id: I6e27b172d979343fa6735826be7c68095014905a
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Mon, 17 Jul 2017 23:23:59 +0000 (23:23 +0000)]
Merge "assign right build_project_id" into devel
hyokeun [Mon, 17 Jul 2017 09:11:53 +0000 (18:11 +0900)]
Check error condition before sync repo
Problem: Recently we met "host down" exception while creating directories.
Change-Id: I0e31b087176220dbb691f933ce8b7b2ca39d3beb
hyokeun [Fri, 14 Jul 2017 07:18:57 +0000 (16:18 +0900)]
Keep build numbers when re-installing jenkins
Change-Id: I3659333f59082e33770d0a363c06f045b91a0a84
SoonKyu Park [Wed, 12 Jul 2017 11:51:17 +0000 (20:51 +0900)]
reference snapshot url error in gbs-config in job_update_gbs_meta.py
Change-Id: I2ad2bfeebfdd8077f7e47f9c8f2ea5f1c713c5ca
Junghyun Kim [Wed, 12 Jul 2017 08:00:58 +0000 (17:00 +0900)]
assign right build_project_id
PROBLEM:
- right build_project_id should be set for right info_stage data.
SOLUTION:
- Use snapshot name to get build_project_id
Change-Id: Ie720a5433105f23d2f1bd8d791e7c355f4cd0df4
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Wed, 12 Jul 2017 02:43:46 +0000 (11:43 +0900)]
DXLTTC-785 First SR acceptance problem.
PROBLEM : If you have a linked package when you first accept it, it will be added to linked package.
SOLUTION : First, create initial package and will be added to SR package.
Change-Id: I21ee6a4beccd9953f8503f789bdad49502da25e4
Yonghee Han [Wed, 12 Jul 2017 01:24:10 +0000 (01:24 +0000)]
Merge "DXLTTC-783 Problems with pre-release projects" into devel
SungHun Hwang [Tue, 11 Jul 2017 09:07:31 +0000 (18:07 +0900)]
fix the problem that trigger order is mixed up
PROBLEM:
display 'succuss' on dashboard
but actually the image was not created
REASON:
the trigger infomation order was mixed up
between 'pre-release-image-creator' and 'BUILD-MONIOTR' job
SOLUTION:
1. change the code from 'break' to 'return'
bcz the rest progress does not need anymore
2. remove DUMMY code
Change-Id: I898f57a74b97bb6b5f9e11f134c751f4dad9186f
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Yonghee Han [Tue, 11 Jul 2017 02:56:35 +0000 (11:56 +0900)]
DXLTTC-783 Problems with pre-release projects
Problem : remain the project folder in /srv/obs/build of backend server.
Solution : change the delete_project function from the cleanup funtion in a job_request job.
_bs.delete_project(prj) -> _bs.cleanup(prj, "This project has expired")
Change-Id: I56e3d22a97fc3d65438eb47640dbd62b9aa8a80c
hyokeun [Tue, 11 Jul 2017 02:17:57 +0000 (11:17 +0900)]
chmod -x for all script files
Change-Id: Ie681133b19ba68560407ed102b3d9f4df7b048d9
hyokeun [Tue, 11 Jul 2017 01:06:53 +0000 (10:06 +0900)]
Remove _link if _service file exists when accepting SR.
Problem: When accepting packages to multiple-linked project, it branches rather than creating it.
This will create _link package which references the original project's.
Workaround: Remove _link if exists and set associated comments for history.
Change-Id: Ibcddef330ad666405d29bc58812ff7afc723a973