services/jenkins-scripts.git
7 years agoTPE-195 Reference creation fail to detect git change 08/144908/1
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

7 years agoTPE-172 ABS: Use profile from tizen-manifest.xml
hyokeun [Fri, 18 Aug 2017 07:15:46 +0000 (16:15 +0900)]
TPE-172 ABS: Use profile from tizen-manifest.xml

Change-Id: I8f5e9241618f511dd3d489110b85a7d1946c12cc

7 years agoMerge "TPE-181 Check tag before SR submit from dashboard" into devel
hyokeun [Fri, 18 Aug 2017 07:02:39 +0000 (07:02 +0000)]
Merge "TPE-181 Check tag before SR submit from dashboard" into devel

7 years agoMerge "TPE-180 Skip deleted SR tag processing in requests job" 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

7 years agoMerge "TPE-190 Register _tpk branch to test trigger info" 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

7 years agoTPE-181 Check tag before SR submit from dashboard 28/144828/1
hyokeun [Fri, 18 Aug 2017 06:07:42 +0000 (15:07 +0900)]
TPE-181 Check tag before SR submit from dashboard

Change-Id: I4f28d94016c519103a9402494e590e60790094bf

7 years agoTPE-180 Skip deleted SR tag processing in requests job 18/144818/1
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

7 years agoTPE-190 Register _tpk branch to test trigger info 73/144773/1
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

7 years ago[BuildMonitor] TPE-185 fix the SR status error 65/144665/1
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>
7 years agoMerge "Set proper git user while SR tagging from dashboard" into devel
hyokeun [Wed, 16 Aug 2017 11:06:32 +0000 (11:06 +0000)]
Merge "Set proper git user while SR tagging from dashboard" into devel

7 years agoMerge "Fix fork git check routine" into devel
hyokeun [Wed, 16 Aug 2017 11:06:26 +0000 (11:06 +0000)]
Merge "Fix fork git check routine" into devel

7 years agoSet proper git user while SR tagging from dashboard 74/144374/1
hyokeun [Wed, 16 Aug 2017 10:50:41 +0000 (19:50 +0900)]
Set proper git user while SR tagging from dashboard

Change-Id: I57ca19a2210a04295051d3cbd872b1fbb3fb0047

7 years agoFix fork git check routine 37/144337/1
hyokeun [Wed, 16 Aug 2017 08:56:52 +0000 (17:56 +0900)]
Fix fork git check routine

Change-Id: I6fea33de036117141655596121df338ee2ad293c

7 years agoTrigger rootstrap creation for SPIN infra 36/144336/1
hyokeun [Wed, 16 Aug 2017 08:44:04 +0000 (17:44 +0900)]
Trigger rootstrap creation for SPIN infra

Change-Id: I863a7e0acf8158f0725d14ca6914a0d8ff64a2b7

7 years agoGet information from matching tag instead of latest reference. 12/144312/2
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

7 years agoMerge "TPE-163 Do not send email noti for SR tag deletion" into devel
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

7 years agoMerge "TPE-167 Bugfix: Retry failed prerelease creation" into devel
hyokeun [Mon, 14 Aug 2017 01:41:50 +0000 (01:41 +0000)]
Merge "TPE-167 Bugfix: Retry failed prerelease creation" into devel

7 years agoTPE-163 Do not send email noti for SR tag deletion 12/143912/1
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

7 years agoMerge "SPIN update" into devel
hyokeun [Mon, 14 Aug 2017 01:29:38 +0000 (01:29 +0000)]
Merge "SPIN update" into devel

7 years agoTPE-167 Bugfix: Retry failed prerelease creation 09/143909/1
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

7 years agoSR-SYNC: Wait until the dashboard finalizing snapshot info 48/143648/1
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

7 years agoFix: Wrong condition check of target_project 71/143571/1
hyokeun [Thu, 10 Aug 2017 10:59:04 +0000 (19:59 +0900)]
Fix: Wrong condition check of target_project

Change-Id: Ife810411253ab293698eb912f40d4fd7e0e849e8

7 years agoMerge "Fix: Change reference build check project name" into devel
hyokeun [Thu, 10 Aug 2017 10:57:25 +0000 (10:57 +0000)]
Merge "Fix: Change reference build check project name" into devel

7 years agoFix: Change reference build check project name 62/143562/1
hyokeun [Thu, 10 Aug 2017 10:13:41 +0000 (19:13 +0900)]
Fix: Change reference build check project name

Change-Id: Ie3a0188373ad4787f47dcf9bec89e5ec4a962de2

7 years ago[BuildMonitor] SR-SYNC: change the submit job and buildmonitor job 84/143384/3
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>
7 years agoSR-SYNC: Rename env parameter
hyokeun [Wed, 9 Aug 2017 10:59:10 +0000 (19:59 +0900)]
SR-SYNC: Rename env parameter

Change-Id: Ia2050436fb97ddb4d4f3801568a304d34456e175

7 years agoMerge "Skip making repo directory rather than crash" into devel
hyokeun [Wed, 9 Aug 2017 10:16:38 +0000 (10:16 +0000)]
Merge "Skip making repo directory rather than crash" into devel

7 years agoSPIN update 31/143331/1
hyokeun [Wed, 9 Aug 2017 09:37:47 +0000 (18:37 +0900)]
SPIN update

Change-Id: I370c8e19e3ce20272bddbacdb43dc18aa4722154

7 years agoSR-SYNC: submit job changes 07/143307/1
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

7 years agoMerge "Fix logs-collector for Debugging" into devel
Yonghee Han [Wed, 9 Aug 2017 08:22:16 +0000 (08:22 +0000)]
Merge "Fix logs-collector for Debugging" into devel

7 years agoAdd Tizen:4.0:Unified, Tizen:3.0:Base for SPIN Sync 86/143286/2
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

7 years agoMerge "E-mail guide: Do not delete SR tags." into devel
hyokeun [Wed, 9 Aug 2017 05:45:16 +0000 (05:45 +0000)]
Merge "E-mail guide: Do not delete SR tags." into devel

7 years agoSkip making repo directory rather than crash 09/143209/1
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

7 years agoABS: Change profile setup process 00/143200/1
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

7 years agoE-mail guide: Do not delete SR tags. 45/142945/1
hyokeun [Tue, 8 Aug 2017 03:05:55 +0000 (12:05 +0900)]
E-mail guide: Do not delete SR tags.

Change-Id: I03c407838590f5bdfd1dd40d3df9e1204bf21931

7 years agoAdd +x permission on bash scripts 07/142907/1
hyokeun [Mon, 7 Aug 2017 23:55:15 +0000 (08:55 +0900)]
Add +x permission on bash scripts

Change-Id: I4800482b10c1f17f53a98b11822202e3ac2de976

7 years agoFix of not updating parameters for multi-project configuration
hyokeun [Mon, 7 Aug 2017 12:24:26 +0000 (21:24 +0900)]
Fix of not updating parameters for multi-project configuration

Change-Id: I80214c5f5c2293409c9777aa93277522356826d2

7 years agoMerge "RBS: Adding Tizen:4.0:MCD:Z4" into devel
hyokeun [Mon, 7 Aug 2017 12:21:59 +0000 (12:21 +0000)]
Merge "RBS: Adding Tizen:4.0:MCD:Z4" into devel

7 years agoMerge "Fix: False alarm when VCS tag not found from rpm header" 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

7 years agoMerge "DRAFT: Trigger group SR for SR-SYNC request" 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

7 years agoRBS: Adding Tizen:4.0:MCD:Z4 67/142867/1
hyokeun [Mon, 7 Aug 2017 10:35:01 +0000 (19:35 +0900)]
RBS: Adding Tizen:4.0:MCD:Z4

Change-Id: I6e0bcc1442077997ce6b47d5901c482045a3c7e8

7 years agoFix: False alarm when VCS tag not found from rpm header 15/142815/1
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

7 years agoMerge "Support multiple snapshot conf files" into devel
hyokeun [Fri, 4 Aug 2017 00:48:00 +0000 (00:48 +0000)]
Merge "Support multiple snapshot conf files" into devel

7 years agoSupport multiple snapshot conf files 67/142267/1
hyokeun [Thu, 3 Aug 2017 07:46:31 +0000 (16:46 +0900)]
Support multiple snapshot conf files

Change-Id: Id98ff20ec73aab6ac92ece5041c3e0c5364b6327

7 years agoDRAFT: Trigger group SR for SR-SYNC request 75/142175/1
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

7 years agoSkip remove_overlaps for full list search 68/142168/1
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

7 years agoABS: Fix vm share path
hyokeun [Thu, 3 Aug 2017 01:19:06 +0000 (10:19 +0900)]
ABS: Fix vm share path

Change-Id: Ib0cf5af423c42bd7370d135af46c5efe71a0739d

7 years agoABS: Support infra switch
hyokeun [Thu, 3 Aug 2017 01:05:13 +0000 (10:05 +0900)]
ABS: Support infra switch

Change-Id: I5e60b8863277b0e0cd99eb097a9c5502c5528bc9

7 years agoMerge "Bugfix: Check null before inserting item" into devel
hyokeun [Wed, 2 Aug 2017 07:06:05 +0000 (07:06 +0000)]
Merge "Bugfix: Check null before inserting item" into devel

7 years agoBugfix: Check null before inserting item 70/141970/1
hyokeun [Wed, 2 Aug 2017 06:38:32 +0000 (15:38 +0900)]
Bugfix: Check null before inserting item

Change-Id: I86eeb71067039e9209413ce6aee5d7875fc5cbbd

7 years agoABS: Use privileged gerrit account 53/141953/1
hyokeun [Wed, 2 Aug 2017 05:55:02 +0000 (14:55 +0900)]
ABS: Use privileged gerrit account

Change-Id: I28efe5d7259ba86d46223952f9adbe43448f81cd

7 years agoMerge "[BuildMonitor] Add submit_time data at [sr_status] table" into devel
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

7 years ago[BuildMonitor] Add submit_time data at [sr_status] table 53/141853/2
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>
7 years agoPrerelease - Always create repos 55/141855/1
hyokeun [Wed, 2 Aug 2017 00:18:52 +0000 (09:18 +0900)]
Prerelease - Always create repos

Change-Id: I5f848ac1caa11c555e11d025bd81e65bf3e284e1

7 years agoABS: Remove test code
hyokeun [Tue, 1 Aug 2017 11:33:22 +0000 (20:33 +0900)]
ABS: Remove test code

Change-Id: Icd2db31e50cab3232ff4be16711f015cd206b339

7 years agoABS: change code structure 41/141741/1
hyokeun [Tue, 1 Aug 2017 09:04:49 +0000 (18:04 +0900)]
ABS: change code structure

Change-Id: I4b1508d2376200666973f31705292bf723e7e2bf

7 years agoMove common APIs to common/workflow module 45/141245/2
hyokeun [Sat, 29 Jul 2017 02:48:45 +0000 (11:48 +0900)]
Move common APIs to common/workflow module

Change-Id: I07bfa5013b4dc8113ad6a694d1c85b6762e0fa29

7 years agoMove common APIs to common/workflow module 45/141245/1
hyokeun [Sat, 29 Jul 2017 02:48:45 +0000 (11:48 +0900)]
Move common APIs to common/workflow module

Change-Id: I07bfa5013b4dc8113ad6a694d1c85b6762e0fa29

7 years agoMerge "revert git config when an exception occurs." into devel
Junghyun Kim [Fri, 28 Jul 2017 07:28:35 +0000 (07:28 +0000)]
Merge "revert git config when an exception occurs." into devel

7 years agoMerge "missing "return return_obj"" into devel
Junghyun Kim [Fri, 28 Jul 2017 07:28:27 +0000 (07:28 +0000)]
Merge "missing "return return_obj"" into devel

7 years agoFix of Report manifest error
hyokeun [Fri, 28 Jul 2017 05:17:26 +0000 (14:17 +0900)]
Fix of Report manifest error

Change-Id: I5c310064dd2793a5fc3aa0b6360076e9123d0b42

7 years agoReport manifest error 33/141033/2
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

7 years agorevert git config when an exception occurs. 42/140742/1
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>
7 years agoFix logs-collector for Debugging 87/140687/1
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

7 years agomissing "return return_obj" 49/140449/1
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>
7 years agoUse latest image-configurations.rpm 71/140271/1
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

7 years ago[TRBS][Updated jira issue receiver] 45/140245/3
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

7 years agoMerge "Fix attribute error in SMTPDataError" into devel
hyokeun [Mon, 24 Jul 2017 05:50:29 +0000 (05:50 +0000)]
Merge "Fix attribute error in SMTPDataError" into devel

7 years agoMerge "Fix indentation" into devel
hyokeun [Mon, 24 Jul 2017 04:26:53 +0000 (04:26 +0000)]
Merge "Fix indentation" into devel

7 years agoFix indentation 89/139889/1
hyokeun [Fri, 21 Jul 2017 02:34:52 +0000 (11:34 +0900)]
Fix indentation

Change-Id: Ic399e34fc0c76ea92764ae0f0683cb91c6b514ed

7 years agoSplit obs creation task from pre-release-gerrit job 63/139863/2
hyokeun [Wed, 19 Jul 2017 23:59:26 +0000 (08:59 +0900)]
Split obs creation task from pre-release-gerrit job

Change-Id: Ia49ab8c249bf6e4d955147f55dc6ce6554cf0477

7 years agoFix attribute error in SMTPDataError 53/139853/1
hyokeun [Fri, 21 Jul 2017 00:34:25 +0000 (09:34 +0900)]
Fix attribute error in SMTPDataError

Change-Id: Ia2395b6f224f5597ee857bc629ec87ce845c022d

7 years agoMerge "test check routine changed." into devel
Junghyun Kim [Tue, 18 Jul 2017 23:13:17 +0000 (23:13 +0000)]
Merge "test check routine changed." into devel

7 years agoSupport OBS_use_specname for submitobs job 70/139270/3
hyokeun [Tue, 18 Jul 2017 07:03:52 +0000 (16:03 +0900)]
Support OBS_use_specname for submitobs job

Change-Id: If98d4adfe65f45184aaf1f5d7b327fe488723e99

7 years agoMerge "Check error condition before sync repo" into devel
hyokeun [Tue, 18 Jul 2017 05:02:14 +0000 (05:02 +0000)]
Merge "Check error condition before sync repo" into devel

7 years agoMerge "Keep build numbers when re-installing jenkins" into devel
hyokeun [Tue, 18 Jul 2017 01:22:25 +0000 (01:22 +0000)]
Merge "Keep build numbers when re-installing jenkins" into devel

7 years agotest check routine changed. 79/139179/1
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>
7 years agoMerge "assign right build_project_id" into devel
Junghyun Kim [Mon, 17 Jul 2017 23:23:59 +0000 (23:23 +0000)]
Merge "assign right build_project_id" into devel

7 years agoCheck error condition before sync repo 97/139097/1
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

7 years agoKeep build numbers when re-installing jenkins 98/138898/1
hyokeun [Fri, 14 Jul 2017 07:18:57 +0000 (16:18 +0900)]
Keep build numbers when re-installing jenkins

Change-Id: I3659333f59082e33770d0a363c06f045b91a0a84

7 years agoreference snapshot url error in gbs-config in job_update_gbs_meta.py 28/138528/1
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

7 years agoassign right build_project_id 57/138457/1
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>
7 years agoDXLTTC-785 First SR acceptance problem. 66/138366/1
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

7 years agoMerge "DXLTTC-783 Problems with pre-release projects" into devel
Yonghee Han [Wed, 12 Jul 2017 01:24:10 +0000 (01:24 +0000)]
Merge "DXLTTC-783 Problems with pre-release projects" into devel

7 years agofix the problem that trigger order is mixed up 30/138330/1
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>
7 years agoDXLTTC-783 Problems with pre-release projects 63/138063/2
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

7 years agochmod -x for all script files 47/138047/1
hyokeun [Tue, 11 Jul 2017 02:17:57 +0000 (11:17 +0900)]
chmod -x for all script files

Change-Id: Ie681133b19ba68560407ed102b3d9f4df7b048d9

7 years agoRemove _link if _service file exists when accepting SR. 18/138018/2
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

7 years ago[TRBS][Handling when reference result is not existed] 18/137818/7
Sanghoon Lee [Mon, 10 Jul 2017 02:37:04 +0000 (11:37 +0900)]
[TRBS][Handling when reference result is not existed]

PROBLEM:
- DA TRBS doesn't have REF and PERF result.

SOLUTION:
- When REF and PERF result is not existed, then skip the inserting into db.

Change-Id: I14db54ffc8f758de87deb2c2713d28d65b23b88b

7 years agoFix divide by zero 05/137805/1
Junghyun Kim [Mon, 10 Jul 2017 00:47:41 +0000 (09:47 +0900)]
Fix divide by zero

PROBLEM:
- We found there are the case that 'total_case' is zero.
- In this case, a 'divide by zero' exception occurs.

SOLUTION:
- Prior to the division, check if the value is zero.

Change-Id: Ia0d299cad2556b724f6cb85c87860da3da811cee
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoModify job_update_gbs_meta.py as 'BASIC_SNAPSHOT_URL' is removed in jobs/configuration 74/137674/1
SoonKyu Park [Fri, 7 Jul 2017 04:50:59 +0000 (13:50 +0900)]
Modify job_update_gbs_meta.py as 'BASIC_SNAPSHOT_URL' is removed in jobs/configuration

Change-Id: I32fcfbe8fb89e64848b2e60366e8b803ce3a69ca

7 years agoMerge "BUGFIX: undefined attribute" into devel
Junghyun Kim [Thu, 6 Jul 2017 23:51:34 +0000 (23:51 +0000)]
Merge "BUGFIX: undefined attribute" into devel

7 years agoMerge "extension changed: php -> html" into devel
Junghyun Kim [Thu, 6 Jul 2017 23:51:19 +0000 (23:51 +0000)]
Merge "extension changed: php -> html" into devel

7 years agoMerge "Adding linked build packages to test-trigger info." into devel
hyokeun [Thu, 6 Jul 2017 10:28:39 +0000 (10:28 +0000)]
Merge "Adding linked build packages to test-trigger info." into devel

7 years agoextension changed: php -> html 65/137565/1
Junghyun Kim [Thu, 6 Jul 2017 10:13:57 +0000 (19:13 +0900)]
extension changed: php -> html

This javascript code moves the page if node is double-clicked.
Since we do not use php anymore, use html.

Change-Id: I35d1d4f97a8b41b0cc59a58e7f726003d4ada0fd
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoAdd new jenkins job : 'update-gbs-meta' when master branch of scm/git-ref-mapping... 17/137517/1
SoonKyu Park [Thu, 6 Jul 2017 07:47:01 +0000 (16:47 +0900)]
Add new jenkins job : 'update-gbs-meta' when master branch of scm/git-ref-mapping is updated

Update following gbs fullbuild related meta file
scm/manifest
scm/meta/gbs-config
scm/meta/build-config

Change-Id: Id148aa998c11be10ca769f83e53bc3778c5bde5d

7 years agoAdding linked build packages to test-trigger info. 76/137476/3
hyokeun [Thu, 6 Jul 2017 05:55:31 +0000 (14:55 +0900)]
Adding linked build packages to test-trigger info.

1. Read manifest xml file if exist.
2. Add 'linked_build_packages': ['blah', 'blah'] into .prerelease.description file.

Change-Id: I6e251bd632bd95fc824f35345e2ae2e275ecaf44

7 years agoMerge "BUGFIX: missing count increment" into devel
hyokeun [Thu, 6 Jul 2017 01:10:36 +0000 (01:10 +0000)]
Merge "BUGFIX: missing count increment" into devel

7 years agoMerge "Add job_test_trigger_automation.py" into devel
Yonghee Han [Thu, 6 Jul 2017 00:33:22 +0000 (00:33 +0000)]
Merge "Add job_test_trigger_automation.py" into devel

7 years agoBUGFIX: missing count increment 19/137419/1
hyokeun [Thu, 6 Jul 2017 00:31:48 +0000 (09:31 +0900)]
BUGFIX: missing count increment

Change-Id: I21093fa34b0b6d88775d973b3ced2e491887d055