services/jenkins-scripts.git
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 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 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

7 years agoGenerate manifest info for pre-release projects 24/137324/2
hyokeun [Wed, 5 Jul 2017 08:20:40 +0000 (17:20 +0900)]
Generate manifest info for pre-release projects

Change-Id: Ie639f8c965509e9aad4608156232707268a84702

7 years agoAdd job_test_trigger_automation.py 19/136519/2
Yonghee Han [Fri, 30 Jun 2017 05:34:06 +0000 (14:34 +0900)]
Add job_test_trigger_automation.py

migration of TRBS_TEST_AUTOMATION job
 local trigger for tester
 public trigger for tester

Change-Id: Ic4ac77bcd5a3d3a75bf784e1db18dd2f5736ffee

7 years agoUse OBS_package name on staging OBS project 81/136981/1
hyokeun [Tue, 4 Jul 2017 02:14:13 +0000 (11:14 +0900)]
Use OBS_package name on staging OBS project

If OBS_package field exists in mapping file, use this instead of spec name.

Change-Id: I4a7e0b62bc254a840c5d6d9171721df6e0636351

7 years agoMerge "sr_stage update" into devel
Junghyun Kim [Mon, 3 Jul 2017 08:26:49 +0000 (08:26 +0000)]
Merge "sr_stage update" into devel

7 years agoBUGFIX: python-jenkinsapi limitation 24/136724/1
hyokeun [Mon, 3 Jul 2017 04:45:07 +0000 (13:45 +0900)]
BUGFIX: python-jenkinsapi limitation

Problem: get_job() uses jenkins's system url which differs from internal url.
Todo: Use api/python requests instead.

Change-Id: I06a2297cc223574b3729d97c6b99531e144fc12c

7 years agosr_stage update 69/136569/1
Junghyun Kim [Fri, 30 Jun 2017 08:04:42 +0000 (17:04 +0900)]
sr_stage update

Change-Id: Ib7bad69f0d582f5319de0e5c5d5e45850203bc80
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years ago[TRBS][Fixed trbs test result receiver] 03/136503/5
Sanghoon Lee [Fri, 30 Jun 2017 04:32:04 +0000 (13:32 +0900)]
[TRBS][Fixed trbs test result receiver]

Handling duplicate data when TRBS is retriggered.

Change-Id: I74d0216b601a74ace3aeef6e4ef92ec81a9b2e9b

7 years agoMerge "[BuildMonitor] remove 'trbs' proj check code for detecting fail status" into...
SungHun Hwang [Fri, 30 Jun 2017 03:38:34 +0000 (03:38 +0000)]
Merge "[BuildMonitor] remove 'trbs' proj check code for detecting fail status" into devel

7 years agoRemove test code
hyokeun [Fri, 30 Jun 2017 02:14:17 +0000 (11:14 +0900)]
Remove test code

Change-Id: I7e2257ccf25026d11b079632d244a46b37e066de

7 years ago[BuildMonitor] remove 'trbs' proj check code for detecting fail status 71/136371/1
SungHun Hwang [Thu, 29 Jun 2017 08:01:31 +0000 (17:01 +0900)]
[BuildMonitor] remove 'trbs' proj check code for detecting fail status

PROBLEM:
  stay 'Accepted(Imaging)' status at SPIN dashboard

REASON:
  download server url is changed from download to download_trbs

SOLUTION:
  remove 'trbs' check code for updating fail status properly

Change-Id: Icc4f641548592c839d981c17bcf6f483188aa661
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
7 years agoMerge "Option to disabling log print in trigger_next()" into devel
hyokeun [Thu, 29 Jun 2017 05:41:32 +0000 (05:41 +0000)]
Merge "Option to disabling log print in trigger_next()" into devel

7 years agoBUGFIX: undefined attribute 92/136192/1
Junghyun Kim [Wed, 28 Jun 2017 10:52:07 +0000 (19:52 +0900)]
BUGFIX: undefined attribute

PROBLEM:
 - AttributeError: GitObsMapping instance has no attribute 'cur_OBS_staging_project'

SOLUTION:
 - assign "" at the initialization

Change-Id: I00389c3cf40a188b984e70dcb438a022e9fe7a3e
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoAdd a purge rule for smr project 71/136171/1
Yonghee Han [Wed, 28 Jun 2017 09:47:50 +0000 (18:47 +0900)]
Add a purge rule for smr project

Define : SMR_PURGE_PRJ_HOUR
Rule : find "Tizen" and "smr" and is not "Base"

Change-Id: I6a9d08d86a16fd6375f6421c55ed568c8e9060c8

7 years agoEnable trigger_next to sync 52/136152/2
Yonghee Han [Wed, 28 Jun 2017 08:42:03 +0000 (17:42 +0900)]
Enable trigger_next to sync

Bugfix : Can not sync to mirror server.
Solution : Add trigger_next to sync

Change-Id: If1521666a07ac9ed0a4eba328a737235629d9157

7 years agoMerge "BUGFIX : trigger to importrpm" into devel
Yonghee Han [Wed, 28 Jun 2017 09:03:51 +0000 (09:03 +0000)]
Merge "BUGFIX :  trigger to importrpm" into devel

7 years agoBUGFIX : trigger to importrpm 74/136074/3
Yonghee Han [Wed, 28 Jun 2017 04:10:21 +0000 (13:10 +0900)]
BUGFIX :  trigger to importrpm

Add a environment variable
  IMPORT_RPM , REPO_PATH, BUILDID

To use : ref-copy-project-obs job
  SRC_PROJECT : Tizen:3.0:Mobile:ref:20170626.1
  DEST_PROJECT : Tizen:3.0:Mobile:smr:20170626.1

remove a project field of data fields.

Change-Id: I25217ebc3339f06038326e28d280ae5a5778b43b

7 years agoMerge "Separate env parameter REF_USE_FOR_PRERELEASE" into devel
hyokeun [Wed, 28 Jun 2017 08:47:59 +0000 (08:47 +0000)]
Merge "Separate env parameter REF_USE_FOR_PRERELEASE" into devel

7 years agoSeparate env parameter REF_USE_FOR_PRERELEASE 66/135866/2
hyokeun [Tue, 27 Jun 2017 06:32:39 +0000 (15:32 +0900)]
Separate env parameter REF_USE_FOR_PRERELEASE

Change-Id: I84e68071635278025c2e50c85a62b993b1ef1241

7 years agoOption to disabling log print in trigger_next() 82/136082/1
hyokeun [Wed, 28 Jun 2017 04:42:05 +0000 (13:42 +0900)]
Option to disabling log print in trigger_next()

Change-Id: I282cd1618cb64543479607bcb07fd3d6fe7ae55e

7 years agoMerge "BUGFIX: change environment variable" into devel
Junghyun Kim [Wed, 28 Jun 2017 02:17:12 +0000 (02:17 +0000)]
Merge "BUGFIX: change environment variable" into devel

7 years agoMerge "ABS: Use PUBLIC_OBS_* parameters" into devel
hyokeun [Wed, 28 Jun 2017 01:50:58 +0000 (01:50 +0000)]
Merge "ABS: Use PUBLIC_OBS_* parameters" into devel

7 years agoBUGFIX: change environment variable 00/135900/1
Junghyun Kim [Tue, 27 Jun 2017 08:32:47 +0000 (17:32 +0900)]
BUGFIX: change environment variable

To match environment varibles for both SPIN and public,
we will use JENKINS_URL_INTERNAL, JENKINS_USER, JENKINS_PW

Change-Id: Icc60c2286efbf58e31c0ba985b3e5eeefaa3e066
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoABS: Use PUBLIC_OBS_* parameters 63/135863/1
hyokeun [Tue, 27 Jun 2017 06:22:49 +0000 (15:22 +0900)]
ABS: Use PUBLIC_OBS_* parameters

Change-Id: I6ae5ce7bf189e8adf1a6d9de0950998fbc50efc1

7 years agoAdd time interval between each git tagging 23/135823/1
hyokeun [Tue, 27 Jun 2017 01:42:23 +0000 (10:42 +0900)]
Add time interval between each git tagging

Change-Id: Icb01ee6dad742ba4d7433b7885b6b94390f8e518

7 years agoRemove duplicated items caused by both MappingV1 and MappingV2 19/135819/1
hyokeun [Tue, 27 Jun 2017 00:50:11 +0000 (09:50 +0900)]
Remove duplicated items caused by both MappingV1 and MappingV2

Change-Id: I91e4b63eb0acf29cc64d7361727c27a12b46a638

7 years agoMerge "NEW FEATURE: Control ondemand slaves" into devel
hyokeun [Mon, 26 Jun 2017 08:06:32 +0000 (08:06 +0000)]
Merge "NEW FEATURE: Control ondemand slaves" into devel

7 years agoNEW FEATURE: Control ondemand slaves 77/134777/3
hyokeun [Fri, 16 Jun 2017 08:22:15 +0000 (17:22 +0900)]
NEW FEATURE: Control ondemand slaves

Dynamically create/release imager slaves through python AWS SDK.

Change-Id: I4ace932e298546bb94a7fa9c0a9c0bdfb9b199a1

7 years agoMerge "Create a _aggregate package of related pakcages in submit jobs" into devel
Yonghee Han [Mon, 26 Jun 2017 02:54:27 +0000 (02:54 +0000)]
Merge "Create a _aggregate package of related pakcages in submit jobs" into devel

7 years agoMerge "Do not handle non-existing repo when create repos" into devel
Yonghee Han [Fri, 23 Jun 2017 00:40:35 +0000 (00:40 +0000)]
Merge "Do not handle non-existing repo when create repos" into devel

7 years agoMerge "Alternative implementation of git-domain mapping" into devel
Yonghee Han [Fri, 23 Jun 2017 00:37:22 +0000 (00:37 +0000)]
Merge "Alternative implementation of git-domain mapping" into devel

7 years agoCreate a _aggregate package of related pakcages in submit jobs 10/135510/1
Yonghee Han [Fri, 23 Jun 2017 00:35:44 +0000 (09:35 +0900)]
Create a _aggregate package of related pakcages in submit jobs

PROBLEM:
 broken problem of _aggregate package to use the link project

SOLUTION:
 create a _aggregate package when create Prelease project
 REPA : latest version

Change-Id: I5e81b0e7ebdd7dd6e2239d96abfb8abf9eabb2fc

7 years agoMerge "NEW: SR grouping for pre-release" into devel
hyokeun [Fri, 23 Jun 2017 00:19:06 +0000 (00:19 +0000)]
Merge "NEW: SR grouping for pre-release" into devel

7 years agoMerge "Fixed mismatch base url problem: download_trbs solve : download" into devel
Yonghee Han [Fri, 23 Jun 2017 00:14:34 +0000 (00:14 +0000)]
Merge "Fixed mismatch base url problem: download_trbs solve : download" into devel

7 years agoFixed mismatch base url 26/135326/2
Yonghee Han [Thu, 22 Jun 2017 01:45:27 +0000 (10:45 +0900)]
Fixed mismatch base url
problem: download_trbs
solve : download

Add define : RSYNC_DOWNLOAD_BASE_URL
replace from URL_PUBLIC_REPO_BASE to RSYNC_DOWNLOAD_BASE_URL

Change-Id: I4635ff83d187451ff86f274c229e10c7ed85e386

7 years agoAdd to set default char-set encoding to utf-8 01/135501/1
SungHun Hwang [Thu, 22 Jun 2017 22:30:24 +0000 (07:30 +0900)]
Add to set default char-set encoding to utf-8

PROBLEM:
  post-image-creation job failed

REASON:
  Among the submitter name, there is a character
  which is out of range in ascii code as below

  e.g) "submitter": "\u0141ukasz Stelmach <l.stelmach@samsung.com>

SOLUTION:
  Add to set default char-set encoding to utf-8
  at 'post-image-creation' step

[error_log]
    print "%s='%s'" % (key, data[key])
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0141'
                    in position 11: ordinal not in range(128)

Change-Id: I20952a06f1d3fa6772bc42920f51be09407b27c2
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
7 years agoMerge "Make REPA status 'succeeded' if no error occurs." into devel
Junghyun Kim [Thu, 22 Jun 2017 04:07:31 +0000 (04:07 +0000)]
Merge "Make REPA status 'succeeded' if no error occurs." into devel

7 years agoAlternative implementation of git-domain mapping 28/135328/1
Junghyun Kim [Thu, 22 Jun 2017 01:52:24 +0000 (10:52 +0900)]
Alternative implementation of git-domain mapping

PROBLEM:
SPIN gerrit does not maintain scm/meta/git repository.
So, it is not possible to git-domain-user mapping using scm/meta/git

SOLUTION:
Gather data directly from gerrit.

Change-Id: I8513b5a0bd8255fb9e4741061536d48574a78293
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoDo not handle non-existing repo when create repos 09/135309/2
hyokeun [Thu, 22 Jun 2017 00:04:36 +0000 (09:04 +0900)]
Do not handle non-existing repo when create repos

Problem: If there exist no matched directory in live repo,
         it collects all rpms from other repos.

Change-Id: I59429968451540ba1879eb2deee8e2bbedbc54d1

7 years agoModified jenkins-scripts 05/135305/1
Yonghee Han [Wed, 21 Jun 2017 23:46:42 +0000 (08:46 +0900)]
Modified jenkins-scripts
1) Change the trigger_next from remote_jenkins
2) remove the --bwlimit=5120000 , --will-cite options.
3) Reduce the delay time 30 -> 10 for sync_repo.

Change-Id: Id7e9234f1cc395a35eb9021588e5561ff4af9aee

7 years agoMerge "Change AWS configuration parameter name" into devel
hyokeun [Wed, 21 Jun 2017 23:27:51 +0000 (23:27 +0000)]
Merge "Change AWS configuration parameter name" into devel

7 years agoMake REPA status 'succeeded' if no error occurs. 84/134784/1
Junghyun Kim [Tue, 20 Jun 2017 04:38:57 +0000 (13:38 +0900)]
Make REPA status 'succeeded' if no error occurs.

Change-Id: I322536cb0a5513f0778cc9557f8d6cac7f7b3b14
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoChange AWS configuration parameter name 69/134769/1
hyokeun [Tue, 20 Jun 2017 04:02:41 +0000 (13:02 +0900)]
Change AWS configuration parameter name

Change-Id: Icd3ebcfcf8e906bf6b2f9f228398c5054b05de05

7 years agoABS: check mandatory keys for git obs map 86/134686/1
hyokeun [Tue, 20 Jun 2017 03:42:49 +0000 (12:42 +0900)]
ABS: check mandatory keys for git obs map

Change-Id: I182f089966b4e2428b84ea135b7bce16b18b02be