jiankang.fan [Thu, 29 Mar 2018 09:28:33 +0000 (17:28 +0800)]
Release 1.4.7
Change-Id: I6261e580aad3c0235d66e6af43c90fbd9e63ae63
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
Yonghee Han [Thu, 29 Mar 2018 10:25:07 +0000 (19:25 +0900)]
Fix a problem that slows down operations.
Sometimes problems updating large a mount of database data.
The data is a packages of unresolvable broken.
Change-Id: Ic31ba816f4b63e545eb2512ba8fb194d57af21b0
Yonghee Han [Thu, 29 Mar 2018 08:59:24 +0000 (17:59 +0900)]
Add function : Git Sync project
PMB -> trigger -> git sync -> update DB
Needed for auto git sync.
Check branch and merge branch to merge.
Change-Id: I19cf540e80206858c1d2985ac5486a847ade2912
hyokeun [Tue, 27 Mar 2018 09:15:09 +0000 (18:15 +0900)]
Call build monitor under _enabled feature
Change-Id: I6de44b71001289b28f6e32e96cce92e03dbe0d9d
hyokeun [Tue, 27 Mar 2018 09:04:13 +0000 (09:04 +0000)]
Merge "Fix ref creation error" into devel
hyokeun [Tue, 27 Mar 2018 09:04:08 +0000 (09:04 +0000)]
Merge "OBS Worker Scailing - Do not give scailing factor" into devel
hyokeun [Tue, 27 Mar 2018 09:04:02 +0000 (09:04 +0000)]
Merge "GBS - Set default system mail Aborting jobs configuration Mark build fail reason Adding system build info for image creation" into devel
hyokeun [Tue, 27 Mar 2018 09:03:56 +0000 (09:03 +0000)]
Merge "GBS - Return if no packages selected" into devel
hyokeun [Tue, 27 Mar 2018 09:03:49 +0000 (09:03 +0000)]
Merge "RBS - Creating MDE related rootstraps for 5.0" into devel
SoonKyu Park [Fri, 23 Mar 2018 08:55:30 +0000 (17:55 +0900)]
1. 'git_ref_mapping_info' parameter (infomation from git-ref-mapping git) will be used in reference gbs fullbuild
2. Base working for 'removing package in image'
Change-Id: Ic6d29b720fb3e30443f7b62261fcbfe6190c9499
SoonKyu Park [Wed, 21 Mar 2018 02:42:58 +0000 (11:42 +0900)]
Fix error and add new feature on gbs dashboard build
1. Change method to match buildlog file and spec file name
2. Add summary.log after one-repo-arch gbs build to use gbs build results in snapshot creation
: gbsfullbuild-image-creation job will not be triggered if gbs build is failed
3. Fix error to find build error reason
4. update-gbs-meta/gbs-ref-fullbuild/gbsfullbuild-create-snapshot functionality will be alternatively done by gbs dashboard build
5. Fix job_buildmonitor.py to handle gbs dashboard build with same tag name
6. Add current time to 'gbs release build' tag name
7. Handle 'repo init/sync' failure case
: as-is : job_gbsdbbuild_one_repoarch_build return fail
: to-be : job_gbsdbbuild_one_repoarch_build return success but mark repo init/sync failure reason
Change-Id: Idd055cd94e194e7d2bad342b0254fa480eaab7ef
hyokeun [Tue, 20 Mar 2018 08:23:15 +0000 (17:23 +0900)]
Fix ref creation error
Change-Id: I2bd6ddf6258a027fc23c141d8c07c5e902c6e1df
hyokeun [Tue, 20 Mar 2018 08:20:31 +0000 (17:20 +0900)]
OBS Worker Scailing - Do not give scailing factor
Change-Id: If6e2a6af062c2c9388e33c609e625dd48a61814f
hyokeun [Tue, 20 Mar 2018 08:08:15 +0000 (17:08 +0900)]
GBS - Set default system mail
Aborting jobs configuration
Mark build fail reason
Adding system build info for image creation
Change-Id: Ic9ad2b625cd200d7d8bf383c8e0c3d743da371cb
hyokeun [Tue, 20 Mar 2018 08:02:05 +0000 (17:02 +0900)]
GBS - Return if no packages selected
Change-Id: I965c338e0b5bacf7201c5e3e5af7080bf53ffa42
hyokeun [Wed, 14 Mar 2018 03:06:14 +0000 (12:06 +0900)]
RBS - Creating MDE related rootstraps for 5.0
Change-Id: Ie363dc6da98b1bcbb7169025fc1f78bac4aa25e3
hyokeun [Wed, 14 Mar 2018 00:41:48 +0000 (09:41 +0900)]
Fix base build id issue
Change-Id: I5b327c0e67949e5179ff4029e7654bbcffff9d56
hyokeun [Tue, 13 Mar 2018 04:55:58 +0000 (13:55 +0900)]
Ref - Fix not updating duplicated packages
Problem: Manifest based ref creation have limitation.
Cause: If previous reference have the same git repository for multiple packages,
the next reference cannot update it properly
because the manifest does not hold package name.
Fix: If multiple git repository found in todo_dict
force update related packages based on the manifest content.
Change-Id: I07a9e7da05fb6f6eab2473ec268c9237c710f798
SoonKyu Park [Sat, 10 Mar 2018 04:22:52 +0000 (13:22 +0900)]
When gbs dashboard build failed with 'repo init' or 'repo sync', update PMB gbs build status as 'Build(Failed)'
Change-Id: I7fda97c7ca30d3f2536bccdca63dd4123b36949c
SoonKyu Park [Fri, 9 Mar 2018 23:45:13 +0000 (08:45 +0900)]
1. Deploy 'Daily GBS Build'
2. Handle '_aggregate' package
3. Change db-query handling method to speed-up 'gbs_build_package' db query
Change-Id: I179a16e41f431350fa60faa0dc12a7de8d0fb8ed
hyokeun [Fri, 9 Mar 2018 07:55:49 +0000 (07:55 +0000)]
Merge "Adding base id for post build snapshot" into devel
hyokeun [Fri, 9 Mar 2018 04:42:06 +0000 (13:42 +0900)]
Fix not updating tag-commit mapping
Change-Id: I1afafce7a60a87e82c679a195e95335d69d257d5
hyokeun [Thu, 8 Mar 2018 01:09:03 +0000 (10:09 +0900)]
ABS - Do not check LICENSE in case of build check
Change-Id: Ic2a268e52c3459e4078dc6de112ceb74f43cc87b
hyokeun [Tue, 6 Mar 2018 09:25:53 +0000 (18:25 +0900)]
GBS - Abort action
Change-Id: I241294a6765d49322702e664d41d2d957feec280
SoonKyu Park [Mon, 5 Mar 2018 05:57:27 +0000 (14:57 +0900)]
Fix not to create package DB for repository which uses '_' in its name
Change-Id: Ib133dcc044dbe0329f832096a12237b6e4ee6776
hyokeun [Mon, 5 Mar 2018 07:07:08 +0000 (07:07 +0000)]
Merge "ABS - Remove hard coded branch checking" into devel
hyokeun [Mon, 5 Mar 2018 07:07:00 +0000 (07:07 +0000)]
Merge "GBS: Insert build numbers" into devel
hyokeun [Mon, 5 Mar 2018 07:06:54 +0000 (07:06 +0000)]
Merge "GBS - shrink reason data to id index" into devel
hyokeun [Mon, 5 Mar 2018 07:06:47 +0000 (07:06 +0000)]
Merge "ABS - update strict commit and tag with extention" into devel
hyokeun [Mon, 5 Mar 2018 01:58:04 +0000 (10:58 +0900)]
ABS - Remove hard coded branch checking
Change-Id: Iecce04a1d3fc2e27ffcd3b175fb9133d55251df8
hyokeun [Mon, 5 Mar 2018 07:02:38 +0000 (07:02 +0000)]
Merge "Fix submit tag parsing error" into devel
SoonKyu Park [Fri, 2 Mar 2018 10:59:53 +0000 (19:59 +0900)]
1.Not perform gbs dashboard build for arch which is specified as 'disable' in meta file
2.Remove old build results in gbsdbbuild live repo
Change-Id: I7522050f78fcb13bbc93799c88991d9cf762baca
SoonKyu Park [Thu, 22 Feb 2018 08:24:14 +0000 (17:24 +0900)]
1. GBS buildlog will be copied after removing version,release number
2. Modify binary-list package calculation algorithm on gbs dependency build
Change-Id: I1832963af8cb207034cf5841e9746a4958908c23
hyokeun [Fri, 2 Mar 2018 04:56:01 +0000 (13:56 +0900)]
Fix submit tag parsing error
Change-Id: I3675a7d647f7201162c376826eb5e2f23b44abc4
Yonghee Han [Tue, 27 Feb 2018 11:56:30 +0000 (20:56 +0900)]
Fixed about connect to github
Add precondition : do not trigger when is not a submit tag
Fixed git_project : fetch_url + project
Change-Id: I1f9753e54a8b8ac202176c1ed9a7d6dc59256f27
Yonghee Han [Tue, 27 Feb 2018 11:37:15 +0000 (20:37 +0900)]
Fixed trigger_next count of Sync Project
Fixed an issue where multiple projects were not triggered.
Change-Id: I1cdcde724ce8497bc25436451475ee8878abedef
hyokeun [Fri, 23 Feb 2018 00:44:10 +0000 (09:44 +0900)]
GBS: Insert build numbers
Change-Id: I97f6e1b0b02f733f5a8063a2f849cd83153c9f13
Yonghee Han [Thu, 22 Feb 2018 03:08:55 +0000 (12:08 +0900)]
Fixed request job for the github connection
Need to update github info to OBS description
Add delete obs prelease project for accepted tag
Change-Id: Id04637776e85a448782f874670f2b22a70b54490
hyokeun [Thu, 22 Feb 2018 03:03:07 +0000 (12:03 +0900)]
GBS - shrink reason data to id index
Change-Id: I5e4cd853de2eff0c96ef3304898c504600f9665f
hyokeun [Thu, 22 Feb 2018 00:43:00 +0000 (09:43 +0900)]
ABS - update strict commit and tag with extention
Change-Id: Id2f0f11b8626edfafe24081be38d7c31acf5031e
SoonKyu Park [Wed, 21 Feb 2018 11:50:36 +0000 (20:50 +0900)]
gbs_stage table update on gbs dashboard building
Change-Id: If06be50b894bbfa795e12b132e474894da43dc3f
hyokeun [Wed, 21 Feb 2018 09:11:49 +0000 (09:11 +0000)]
Merge "GBS - misc_info column for stage" into devel
hyokeun [Wed, 21 Feb 2018 07:52:46 +0000 (16:52 +0900)]
GBS - misc_info column for stage
Change-Id: I539ed1ca80fc32c055a921a6e367036f2ceca726
SoonKyu Park [Wed, 21 Feb 2018 02:21:07 +0000 (11:21 +0900)]
Update gbs_stage on 'gbs dashboard build' for dashboard overall stage update
Change-Id: I3fde4e557052f625291bff7372fed6a217c59557
hyokeun [Wed, 21 Feb 2018 00:27:30 +0000 (09:27 +0900)]
GBS add queued stage
Change-Id: I561981794c4b38aece2187552691dc217a37e807
hyokeun [Wed, 21 Feb 2018 00:09:56 +0000 (09:09 +0900)]
Move gbs_update_dashboard to gbsutils.py
Change-Id: I162936d79bfb4964f9363cc8ec1eeb72921273ad
park [Tue, 20 Feb 2018 06:20:15 +0000 (06:20 +0000)]
Merge "GBS dashbaord update default option" into devel
hyokeun [Tue, 20 Feb 2018 06:10:33 +0000 (06:10 +0000)]
Merge "SR auto reject purge date from DB" into devel
hyokeun [Tue, 20 Feb 2018 06:09:59 +0000 (06:09 +0000)]
Merge "Use latest commit id for gbs commit" into devel
hyokeun [Tue, 20 Feb 2018 06:03:37 +0000 (15:03 +0900)]
GBS dashbaord update default option
Change-Id: I6f361347e242138e663386f4b66727c9b190ed23
hyokeun [Tue, 20 Feb 2018 05:12:40 +0000 (14:12 +0900)]
SR auto reject purge date from DB
Change-Id: I1b64f5ba8f274ec69d6eabafc1c99a976387f94e
SoonKyu Park [Tue, 13 Feb 2018 09:52:40 +0000 (18:52 +0900)]
Trigger gbs build in public dashboard -> Run gbs dashboard build in public jenkins
Change-Id: I88a77d2d072fc6593390f505b2ddbe2b86eaf558
hyokeun [Tue, 13 Feb 2018 08:02:41 +0000 (17:02 +0900)]
Use latest commit id for gbs commit
Change-Id: I73002af434ea26642bc40ac69cc5e56f1eaeb1e3
hyokeun [Tue, 13 Feb 2018 06:10:58 +0000 (15:10 +0900)]
Adding base id for post build snapshot
Change-Id: I420d505420dca1470587e5f288afc354041a35ad
SoonKyu Park [Tue, 13 Feb 2018 05:03:36 +0000 (14:03 +0900)]
DB work for GBS Dashboard build
Change-Id: I13f18524cf93cd516bdb237a4b91cd1795a68b85
hyokeun [Mon, 12 Feb 2018 07:52:28 +0000 (07:52 +0000)]
Merge "Api for gbs dashboard update" into devel
hyokeun [Mon, 12 Feb 2018 07:38:07 +0000 (16:38 +0900)]
Api for gbs dashboard update
Change-Id: I2dca7b792a39ae3f4c007ce6478dc976fb5ad84f
hyokeun [Mon, 12 Feb 2018 05:13:34 +0000 (14:13 +0900)]
DB connect timeout to 3 seconds
Change-Id: I2dd5fb6683533397aea2d75aa2ef8e1509853a7f
hyokeun [Wed, 7 Feb 2018 02:11:31 +0000 (02:11 +0000)]
Merge "Fix name conflict from parent class" into devel
hyokeun [Wed, 7 Feb 2018 02:11:26 +0000 (02:11 +0000)]
Merge "Search git_commit with branch" into devel
hyokeun [Tue, 6 Feb 2018 02:35:37 +0000 (11:35 +0900)]
Fix name conflict from parent class
Change-Id: I907f2326dac97415159404c7f052eca8ab9d7ab3
hyokeun [Mon, 5 Feb 2018 06:58:23 +0000 (15:58 +0900)]
Search git_commit with branch
Change-Id: I0287ab1a0cf4e98b31c6ae040a42917c313ddfe6
Yonghee Han [Mon, 5 Feb 2018 05:22:35 +0000 (14:22 +0900)]
Delete data after check the duplicated manifest
Need to delete a data when Trigger rebuild.
Change-Id: I5793c0c2813ea1b0aef813965a91110c7a40e9fb
Yonghee Han [Mon, 5 Feb 2018 05:21:43 +0000 (05:21 +0000)]
Merge "Workaround code for HTTP Error 408" into devel
hyokeun [Mon, 5 Feb 2018 05:16:04 +0000 (05:16 +0000)]
Merge "Skip SR if all the packages are from forked git." into devel
hyokeun [Mon, 5 Feb 2018 05:16:00 +0000 (05:16 +0000)]
Merge "Fix commit id update" into devel
hyokeun [Mon, 5 Feb 2018 05:15:56 +0000 (05:15 +0000)]
Merge "Adding gbs stage table name" into devel
hyokeun [Mon, 5 Feb 2018 05:09:42 +0000 (14:09 +0900)]
Skip SR if all the packages are from forked git.
Change-Id: I8da6893ba47a69da479ef531fb90c0b11db8938c
hyokeun [Mon, 5 Feb 2018 02:32:15 +0000 (11:32 +0900)]
Fix commit id update
Change-Id: I643f0207ab75b0940060f1a74277371aff350709
hyokeun [Mon, 5 Feb 2018 02:28:24 +0000 (02:28 +0000)]
Merge "Handle TRIGGER_INFO" into devel
hyokeun [Mon, 5 Feb 2018 02:28:17 +0000 (02:28 +0000)]
Merge "Fix sr sync code" into devel
hyokeun [Mon, 5 Feb 2018 01:29:29 +0000 (10:29 +0900)]
Adding gbs stage table name
Change-Id: If017f847275d63fb61a5f6ff87956561ebf00ad7
Yonghee Han [Fri, 2 Feb 2018 04:58:28 +0000 (13:58 +0900)]
Workaround code for HTTP Error 408
PROBLEM : HTTP Error 408: Request Timeout
SOLUTION : Retry for Error exception
Change-Id: I09311b0c06c215b9d10f6c97239f7a06aebb6b8f
hyokeun [Fri, 2 Feb 2018 02:34:56 +0000 (11:34 +0900)]
Handle TRIGGER_INFO
Change-Id: I0057c850e65f7bca23e42dc4c7033829cd90f5f1
hyokeun [Thu, 1 Feb 2018 10:16:50 +0000 (10:16 +0000)]
Merge "Remove test code" into devel
hyokeun [Thu, 1 Feb 2018 10:16:12 +0000 (19:16 +0900)]
Fix sr sync code
Change-Id: I25173109f3a4536d348bc8f6e46f85a05fa69bac
Yonghee Han [Thu, 1 Feb 2018 08:14:17 +0000 (17:14 +0900)]
Change the query way to get build_project_id
use the snapshot_name to query
Change-Id: Ib508a2fd6b1b102406464af66a3e45ad8be70a7c
Yonghee Han [Thu, 1 Feb 2018 04:43:41 +0000 (04:43 +0000)]
Merge "Add status field in sr_commit table and updated on dashboard" into devel
Yonghee Han [Tue, 30 Jan 2018 08:42:22 +0000 (17:42 +0900)]
Add status field in sr_commit table and updated on dashboard
N : New package
R : Renamed package or Git Repository
Change-Id: Ieabca49f4ce6be64e32a5f0c2a69aae47ac41e94
hyokeun [Mon, 29 Jan 2018 08:31:45 +0000 (17:31 +0900)]
Base code of gbs dashboard
Change-Id: I5056cb3b764b618912b77c8a4cc2305fc1f5b55c
hyokeun [Tue, 30 Jan 2018 01:25:11 +0000 (10:25 +0900)]
Remove test code
Change-Id: Ib88c7f98567c20c1d9d0d5c0bf6495cf3a49ff4b
SoonKyu Park [Mon, 29 Jan 2018 02:15:55 +0000 (11:15 +0900)]
Add jenkins jobs and utils for gbs build on dashboard
Change-Id: I53b0bebf3dd7cd28ba722c314da7b0312fc546e4
hyokeun [Sat, 27 Jan 2018 08:54:16 +0000 (17:54 +0900)]
Updating git commits into dashboard db
Change-Id: Idb66e55e3998f41c4fb95862031f34bc9466bb18
hyokeun [Sat, 27 Jan 2018 04:08:12 +0000 (04:08 +0000)]
Merge "Fix undefined error" into devel
hyokeun [Sat, 27 Jan 2018 04:07:33 +0000 (04:07 +0000)]
Merge "ABS check 64 bit rootstraps for mobile profile" into devel
hyokeun [Sat, 27 Jan 2018 04:07:25 +0000 (04:07 +0000)]
Merge "ABS: Save enough logs" into devel
hyokeun [Sat, 27 Jan 2018 04:07:16 +0000 (04:07 +0000)]
Merge "ABS: Remove previous tpk tag if the same build was requested" into devel
hyokeun [Fri, 26 Jan 2018 08:04:54 +0000 (08:04 +0000)]
Merge "Call buildmonitor only if submit is successful" into devel
Yonghee Han [Fri, 26 Jan 2018 07:53:55 +0000 (16:53 +0900)]
Add Data Compression and Decompression in trigger_next, trigger_info
To use : Add a compresss=True to the trigger_next parameter
Move update-manifest function from download to master because download server cannot connect the database server.
Change-Id: Iea0b81dfb282998a6faf49b8fe72d0fbfc3c9f34
hyokeun [Fri, 26 Jan 2018 05:19:08 +0000 (14:19 +0900)]
ABS check 64 bit rootstraps for mobile profile
Change-Id: I6fdd952eab66c727ef35e83dfbf735add9a32623
hyokeun [Fri, 26 Jan 2018 01:44:13 +0000 (10:44 +0900)]
ABS: Save enough logs
Change-Id: I3306c98ab7442e813ea2532c70f53f611365870e
hyokeun [Fri, 26 Jan 2018 01:15:01 +0000 (10:15 +0900)]
Call buildmonitor only if submit is successful
Change-Id: Ie540420b1d2e0d2d3ee5db4421bb35d6e710613b
hyokeun [Thu, 25 Jan 2018 07:38:18 +0000 (16:38 +0900)]
ABS: Remove previous tpk tag if the same build was requested
Change-Id: I4354a830daf3cf72f3a58a53cef0712da297cb03
hyokeun [Thu, 25 Jan 2018 00:41:24 +0000 (09:41 +0900)]
Fix undefined error
Change-Id: I18cdc176b40d64f63114bb9b7727797628ef9959
hyokeun [Thu, 25 Jan 2018 00:39:39 +0000 (00:39 +0000)]
Merge "Exit current pre-release-create if the same build is in the queue" into devel
hyokeun [Thu, 25 Jan 2018 00:39:34 +0000 (00:39 +0000)]
Merge "ABS: Set default mobile profile if no profile tag in manifest" into devel
hyokeun [Thu, 25 Jan 2018 00:39:23 +0000 (00:39 +0000)]
Merge "Precheck VM status before assigning jobs" into devel
Yonghee Han [Thu, 25 Jan 2018 00:00:54 +0000 (09:00 +0900)]
Fixed type check error for the condition
Fixed check for contains branch of the submit tag
Change-Id: Ibb4c49fd158742aefb9bb2b6c88434e0b16ba45f
hyokeun [Wed, 24 Jan 2018 06:56:49 +0000 (15:56 +0900)]
Exit current pre-release-create if the same build is in the queue
Change-Id: Id9123dd0f8a0a8babb9be4848a9fa00d8d2ba00b
hyokeun [Mon, 22 Jan 2018 07:39:09 +0000 (16:39 +0900)]
Precheck VM status before assigning jobs
Change-Id: I69613384505c4b84271195e5be4b9b9f0ef9a4b1