SungHun Hwang [Thu, 16 Mar 2017 00:35:04 +0000 (09:35 +0900)]
[BuildMonitor] apply bulk insert for [build_snapshot_package] table
[job_buildmonitor.py]
1. put the information of build pkgs into query_list
2. call do_many_query func
[buildmonitor_db.py]
1. add 'do_many_query' func
Change-Id: I9966eec4870288060a6945a545bb5104e087182a
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Junghyun Kim [Thu, 16 Mar 2017 00:26:37 +0000 (17:26 -0700)]
Merge "BUGFIX: %s -> {release_type}" into devel
Junghyun Kim [Thu, 16 Mar 2017 00:24:24 +0000 (09:24 +0900)]
BUGFIX: %s -> {release_type}
Change-Id: Ib91e36a3d71a8bd04d0fce4931917356f91311f1
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Thu, 16 Mar 2017 00:23:16 +0000 (17:23 -0700)]
Merge "release-snapshot can be triggered by Tizen dashboard" into devel
Junghyun Kim [Wed, 15 Mar 2017 10:35:42 +0000 (19:35 +0900)]
release-snapshot can be triggered by Tizen dashboard
PARAMETER CHANGED:
profile -> obs_project
version (NEW)
release-snapshot triggers BUILD-MONITOR with bm_stage RELEASE_SNAPSHOT
profile can be obtained from obs_project using snapshot-repo-conf
jenkins-jobs will be updated together.
Change-Id: I945be1756426c3c9b88a901d5cf1afa59b395c16
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SungHun Hwang [Wed, 15 Mar 2017 23:14:27 +0000 (16:14 -0700)]
Merge "[BuildMonitor] change the method of getting the build_project_id" into devel
hyokeun [Tue, 14 Mar 2017 02:25:00 +0000 (19:25 -0700)]
Merge "Mapping log prints" into devel
Junghyun Kim [Tue, 14 Mar 2017 02:14:30 +0000 (19:14 -0700)]
Merge "Do not perform the job if any queued item in the same job exists" into devel
Junghyun Kim [Tue, 14 Mar 2017 02:14:13 +0000 (19:14 -0700)]
Merge "Do not hide the dependency graph at the beginning." into devel
hyokeun [Tue, 14 Mar 2017 01:14:53 +0000 (10:14 +0900)]
Mapping log prints
Change-Id: I3bad2b0b00bcf5c5211823c472f1624028b7f56d
SungHun Hwang [Mon, 13 Mar 2017 06:54:42 +0000 (15:54 +0900)]
[BuildMonitor] change the method of getting the build_project_id
1. change the method of getting the build_project_id
to prevent getting the wrong build_project_id
when there are too many jenkins jobs including the 'BUILD-MONITOR' job simultaneously
[CHAGNED]
1-1. # get last_bpid_of_build_snapshot
1-2. # get post_build_project_id
1-3. # use the prev last_bpid if there is no post_build_project_id (for manual trigger)
2. the query_data in some functions should be changed from 'project' to 'bm_snapshot_name'
bcz of the above solution
3. clean up some codes
3-1. replace the query_data from build_id to bm_snapshot_name
to clarify the meaning of the snapshot name
3-2. remove unused code
Change-Id: Ia659e8461b6ed0a0c2ad87e178bc96e12c3c1707
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Junghyun Kim [Mon, 13 Mar 2017 05:37:00 +0000 (14:37 +0900)]
Do not perform the job if any queued item in the same job exists
This job performs branch-project mappings for all git repos.
Therefore, it is okay to perform only the last job.
To do this, I added code to check 'queueItem' in this job.
Change-Id: I3ebfb1c1ba17d93412d58db658d93d513d7ddc64
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Fri, 10 Mar 2017 08:03:50 +0000 (17:03 +0900)]
Do not hide the dependency graph at the beginning.
Change-Id: I2e83c2b9fb5ebc73f8195b2abe94992890c723fc
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Fri, 10 Mar 2017 06:53:17 +0000 (15:53 +0900)]
Use the hardlink function to copy from snapshots to release
Release-snapshot job is very slow.
Change-Id: I75323893001a7e0d729d45f96961e6b832384d88
Junghyun Kim [Fri, 10 Mar 2017 04:37:07 +0000 (13:37 +0900)]
ADD LICENSE and use MAPPING_PRJ caching dir
MAPPING_PRJ caching directory is used directly instead of cloning.
Change-Id: I2890abc8bf2e2451ff98fb3adcff31cffcc38635
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Fri, 10 Mar 2017 01:12:12 +0000 (17:12 -0800)]
Merge "NEW JOB: update_git_obs_mapping_for_dashboard" into devel
Junghyun Kim [Thu, 9 Mar 2017 03:45:27 +0000 (12:45 +0900)]
NEW JOB: update_git_obs_mapping_for_dashboard
This job stores git-obs-mapping information by parsing
scm/git-obs-mapping for dashboard.
Change-Id: I5d1c63219d0b4cea59377b9bde27214f551f572a
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
hyokeun [Thu, 9 Mar 2017 08:15:12 +0000 (17:15 +0900)]
Create ABS prerelease project on the public
AS-IS: ABS prerelease was created SPIN infra.
TO-BE: It will go through the same flow as other prereleases.
Change-Id: I27ff57cc07d6b8ccbed43cf96e98c0ad7f37f3b9
Yonghee Han [Thu, 9 Mar 2017 06:04:06 +0000 (15:04 +0900)]
Rules for find a specfile
First : must have a single specfile.
If we have a multi specfile
1) first: search a basename specfile of git project
2) second: search a first specfile of sorted the multi specfiles.
Change-Id: I2591f74f176ae60a9bbbfb359f65d3ff07942c82
Junghyun Kim [Thu, 9 Mar 2017 01:18:06 +0000 (17:18 -0800)]
Merge "BUGFIX: insert build_target_id if not present." into devel
Junghyun Kim [Thu, 9 Mar 2017 01:17:59 +0000 (17:17 -0800)]
Merge "NEWJOB: litmus_jira_issue_receiver and litmus_tct_file_receiver" into devel
SoonKyu Park [Wed, 8 Mar 2017 11:52:40 +0000 (03:52 -0800)]
Merge "Rename createrepo-c to createrepo_c" into devel
SoonKyu Park [Wed, 8 Mar 2017 11:45:41 +0000 (20:45 +0900)]
Rename createrepo-c to createrepo_c
Change-Id: Ib7061de3aff231aabb7c9eed4750ee1b937963b4
SungHun Hwang [Wed, 8 Mar 2017 04:43:48 +0000 (13:43 +0900)]
[BuildMonitor] disable the 'get_src_prj_lst' func & 'src_project empty check' part
PROBLEM:
The projects which is registered at DROPPED_PRERELEASE_PROJECTS list
are NOT inserted any tables. So when SR was accepted,
Post_Snap_Start / Post_Snap_End job were failed
bcz the related table doesn't exist
SOLUTION:
disable the 'get_src_prj_lst' func & 'src_project empty check' part
Change-Id: I7767c3a5c098f043df60ab7f0823a755d66e5567
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SoonKyu Park [Wed, 8 Mar 2017 09:30:08 +0000 (18:30 +0900)]
Release 1.4.2
Change-Id: Ic58cafd1ae2c2c9f8e72db1ea0918f69a8d021b6
Junghyun Kim [Wed, 8 Mar 2017 07:29:35 +0000 (16:29 +0900)]
BUGFIX: insert build_target_id if not present.
Change-Id: Ib91aad86182e67cf27548e6195e677688fc600ba
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Wed, 8 Mar 2017 04:12:21 +0000 (13:12 +0900)]
Enable OBS_use_specname feature
<branch name="tizen" OBS_project="Tizen:Unified" OBS_staging_project="prerelease" OBS_use_specname="yes"/>
Change-Id: I791f309991d4a5802614bcd75af1cfc58010500c
Yonghee Han [Wed, 8 Mar 2017 03:46:02 +0000 (12:46 +0900)]
Add NOT_ANNOTATED_MSG string
Change-Id: Ia1250306856ffb5adac3ed03745554aa5701fe26
Junghyun Kim [Wed, 8 Mar 2017 02:23:07 +0000 (11:23 +0900)]
NEWJOB: litmus_jira_issue_receiver and litmus_tct_file_receiver
These scripts are written by Jaekyu Park<jk7744.park@samsung.com>.
Change-Id: I3e77263ee617cf8ea76c28912f6ff5ae7bf63ed5
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Wed, 8 Mar 2017 02:06:29 +0000 (18:06 -0800)]
Revert "Use the OBS_package name on Staging OBS project If a obs package has one spec file then there is use of OBS_package name in git-obs-mapping.xml ex) To use : <project OBS_package="pkgmgr-server" name="platform/core/appfw/pkgmgr-server"/>"
This reverts commit
3de9b73de25d8a44eebec86aa196dabf86a98e42.
Change-Id: I50c8ace327eb7afe388372ca6dfb648f6e783a2a
Yonghee Han [Wed, 8 Mar 2017 02:09:43 +0000 (18:09 -0800)]
Merge " Add virtual branch mapping Funtion: Prerelease Rules : check for contains branch in prerelease If the branch name of SR Tag is a virtual branch name, check the real branch name for git branchs. Remove contains branch mapping" into devel
hyokeun [Wed, 8 Mar 2017 01:27:54 +0000 (17:27 -0800)]
Merge "Chage type from list to dict for mapping objects" into devel
Yonghee Han [Tue, 7 Mar 2017 12:00:38 +0000 (21:00 +0900)]
Add virtual branch mapping
Funtion: Prerelease
Rules : check for contains branch in prerelease
If the branch name of SR Tag is a virtual branch name, check the real branch name for git branchs.
Remove contains branch mapping
Change-Id: Id33a3542c41fd62a6385e71a836d99368f9ea41d
Junghyun Kim [Tue, 7 Mar 2017 05:08:16 +0000 (14:08 +0900)]
Insert package info if not present.
Change-Id: I57dedb072e751c0670104f7b0b05e2aa2a50901d
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
hyokeun [Tue, 7 Mar 2017 02:35:36 +0000 (11:35 +0900)]
Chage type from list to dict for mapping objects
1. Type change
2. Spec file check routine merge
Change-Id: I253846124c5717711e92c38f3d138723697226c5
Junghyun Kim [Tue, 7 Mar 2017 00:24:42 +0000 (09:24 +0900)]
Processing [TRBS]_UPDATE_BUILD_LOG
Change-Id: I2c8283699fb58c70e0fb1af2f25ac26287b48020
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Mon, 6 Mar 2017 09:40:32 +0000 (18:40 +0900)]
CHANGED: build fail check routine (bBuildFail)
Change-Id: I242a20a7e8379060368100bd36ab152913fef66a
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Mon, 6 Mar 2017 05:24:40 +0000 (14:24 +0900)]
[BuildMonitor] Update unresolvable/broken status by buildmonitor
PROBLEM:
If OBS generates unresolvable/broken events, too many
events can be generated during building.
SOLUTION:
To prohibit this, instead of OBS, snapshot jobs in Jenkins
(pre-release-create and create-snapshot)
update those build statuses.
Change-Id: I97ee4346d37c0919064b79173b7042c49dc7a4ae
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Mon, 6 Mar 2017 02:36:41 +0000 (18:36 -0800)]
Merge "NEW JOB: update_scm_meta_git_for_dashboard" into devel
SungHun Hwang [Fri, 3 Mar 2017 03:55:03 +0000 (12:55 +0900)]
[BuildMonitor] fix 'BUILD-MONITOR(Pre_Snap_End)' job incorrect order issue
PROBLEM:
'BUILD-MONITOR(Pre_Snap_End)' job is triggered by 'pre-release-create' job
the triggering order of Sender('pre-release-create') is always correct
but sometimes the executing order of Receiver('BUILD-MONITOR') is incorrect
SOLUTION:
add new TriggerBuilder for 'Pre_Snap_End' at the bottom
to make sure to execute in correct order
Change-Id: I5bf19acd70485bff780bea8e9628fd41e4679f26
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Yonghee Han [Fri, 3 Mar 2017 02:26:57 +0000 (11:26 +0900)]
Move enable link project status for prerelease after enable the build flag
Sometimes prelease project status is present the build disable
Change-Id: I092c298b81d577b6cbcdc82512596ee095a54fcb
Junghyun Kim [Tue, 28 Feb 2017 04:17:52 +0000 (13:17 +0900)]
NEW JOB: update_scm_meta_git_for_dashboard
This job makes two mappings:
1) mappings between git projects and gerrit domans
2) mappings between gerrit domains and user-emails
This information is saved in JSON format.
This will be used in Tizen dashboard.
-- Previous version uses source management by Jenkins,
but it does not work properly.
Hence, it is changed to cloning git repositories manually.
Change-Id: I1198143e9f72a46807ffffb2d841f4c9c792c1dd
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SungHun Hwang [Thu, 2 Mar 2017 04:56:04 +0000 (20:56 -0800)]
Merge "[BuildMonitor] fix 'BUILD-MONITOR(Post_Image)' job fail issue after 'SR Accept'" into devel
SungHun Hwang [Tue, 28 Feb 2017 06:21:34 +0000 (15:21 +0900)]
[BuildMonitor] fix 'BUILD-MONITOR(Post_Image)' job fail issue after 'SR Accept'
1. After 'SR Accept', occasionally,
'BUILD-MONITOR' job which bm_stage is 'Post_Image' failed
this is bcz env file is overlapped and
the order of inserting the table_id is twisted
So I fixed the trigger_next code
2. fix typo
Change-Id: I2714c58fd54fb46f3e0a891e8f330ea5a5f37c8e
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Yonghee Han [Tue, 14 Feb 2017 08:16:46 +0000 (17:16 +0900)]
Verify that the SR was created on the correct branch
ex) Good SR
$ git checkout tizen_3.0
$ gbs submit -m 'Good SR'
Bad SR
$ git checkout tizen
$ gbs submit --tag submit/tizen_3.0/{date}.{time} -m 'Bad SR'
Change-Id: I1560a18d7466d047fb1c4f25afd1563b2f1b8fbe
SungHun Hwang [Mon, 27 Feb 2017 07:59:03 +0000 (16:59 +0900)]
[BuildMonitor] fix to get the right bm_img_path when there are various img file formats
fix to get the right bm_img_path from 'manifest.json' file
when there are various img file formats
mic support various image file formats (*.tar.gz, *.bz2, etc)
some images in common profile are created by *.bz2
Change-Id: Id9506867062b418a61591e6b0556b361821fd2ac
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Junghyun Kim [Mon, 27 Feb 2017 07:05:15 +0000 (23:05 -0800)]
Merge "Update sr_stage table for testing" into devel
SungHun Hwang [Mon, 27 Feb 2017 01:01:10 +0000 (10:01 +0900)]
[BuildMonitor] revert add 'ORDER BY id desc LIMIT 1'
revet add 'ORDER BY id desc LIMIT 1' patch
this is not a root cause
===========================================================================
add 'ORDER BY id desc(ending) LIMIT 1' when selecting the build_snapshot_id
to prevent getting the wrong build_snapshot_id
===========================================================================
Change-Id: I131c06b8e9a6c3eea92711ae7de5573110b49ec4
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Junghyun Kim [Mon, 27 Feb 2017 00:31:29 +0000 (09:31 +0900)]
Update sr_stage table for testing
Change-Id: Ia1aebaa766dc0aab52f4d62eac5964225277627d
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SungHun Hwang [Mon, 27 Feb 2017 00:18:54 +0000 (16:18 -0800)]
Merge "[BuildMonitor] clear the code after changing the build fail check method" into devel
SungHun Hwang [Mon, 27 Feb 2017 00:07:23 +0000 (09:07 +0900)]
[BuildMonitor] clear the code after changing the build fail check method
Change-Id: I8885c51ef937e0d069ce0ec4f2f74f3a9f68ae97
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Junghyun Kim [Thu, 23 Feb 2017 03:46:18 +0000 (12:46 +0900)]
ADDED: inserting data to table trbs_smoke_suite_test
Fixed by Jaekyu Park
Change-Id: Ie5ee33f226779a1abdc6f88615bf737e5e7a8256
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SungHun Hwang [Sun, 26 Feb 2017 22:59:46 +0000 (07:59 +0900)]
[BuildMonitor] change the build fail check method
change the build fail check method from the status of [build_project] table
to bBuildFail which is passed over from snapshot job
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SoonKyu Park [Fri, 24 Feb 2017 04:35:01 +0000 (13:35 +0900)]
Release 1.4.1
Junghyun Kim [Tue, 21 Feb 2017 05:08:12 +0000 (14:08 +0900)]
Do not remove xml files in directory 'depends'
Change-Id: I374ce7fe4137c603f36412e62fa9ae2c6d20f6e7
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Fri, 17 Feb 2017 06:24:44 +0000 (15:24 +0900)]
Change the Raise error code when did not found image-configurations in prerelease
must continue to create images.
Change-Id: Idd1a6acc054906aa6ae3464aaa8cc0019873a139
SungHun Hwang [Tue, 14 Feb 2017 11:03:42 +0000 (20:03 +0900)]
[BuildMonitor] add 'ORDER BY id desc LIMIT 1'
add 'ORDER BY id desc(ending) LIMIT 1' when selecting the build_snapshot_id
to prevent getting the wrong build_snapshot_id
Change-Id: I6dcba6fbbcd2a4ef6c0dc2b3b1cfc596619efcad
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Yonghee Han [Tue, 14 Feb 2017 08:47:54 +0000 (17:47 +0900)]
Use the OBS_package name on Staging OBS project
If a obs package has one spec file then there is use of OBS_package name in git-obs-mapping.xml
ex)
To use : <project OBS_package="pkgmgr-server" name="platform/core/appfw/pkgmgr-server"/>
If packaging directory contains multiply specfiles, use attribution OBS_package to specify the specfile name
Change-Id: I95ec8c134d8e6c02f125f9edfdb157d2837977fe
SungHun Hwang [Fri, 10 Feb 2017 09:16:59 +0000 (18:16 +0900)]
[BuildMonitor] Add the filter func to remove the dropped project
will be replaced 'prerelease' to 'trbs'
so the build status of the dropped prerelease projects
should not be shown at Tizen dashboard
add the filter func to remove the dropped project
Change-Id: Ide6cbc675135254047433afe05567f129b622fc6
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Junghyun Kim [Fri, 10 Feb 2017 04:05:47 +0000 (13:05 +0900)]
ADDED: Script for the new job trbs_test_result_receiver
Change-Id: I3022c0f9209f87b6be172f56813808f67122acdd
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SungHun Hwang [Thu, 9 Feb 2017 11:02:43 +0000 (20:02 +0900)]
[BuildMonitor] rollback to add "broken" status in common/buildservice.py
[PROBLEM]
The 'pre-release-create' job do not trigger image-creator job
error log : **FATAL: Build not successful. Skip creating images.
[REASON]
There is a *_aggregate pkg broken issue at prerelease project (already known issue)
After applying this patch, 'broken' status is uploaded to the description of OBS
and the jenkins job checks the 'broken' and do not trigger image-creator job
The agg broken issue is already fixed at TRBS, so this patch also is applied
But at PUBLIC, it's not fixed yet. So rollback this patch
Change-Id: Ifba6fbeebff702bfedc0608acdc02ca9e42e2b39
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SungHun Hwang [Thu, 9 Feb 2017 07:02:51 +0000 (16:02 +0900)]
[BuildMonitor] Add the check condition of the pkg build_status
[job_buildmonitor.py] - Add the check condition('broken' & 'unresolvable')
[common/buildservice.py] - Add the 'broken' when updating the obs description
Change-Id: Ic3844f13f548e826f9ae10b7b910ee3e0353491b
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SungHun Hwang [Tue, 7 Feb 2017 09:00:22 +0000 (18:00 +0900)]
[BuildMonitor] BUGFIX : fix the status value
1. fix the status value of [build_image] & [sr_status_detail] tables
[build_image] table
Before | After
-------------------
'failed' | 'F'
'success' | 'S'
[sr_status_detail] table
Before | After
-------------------
'ACCEPTED'| 'A'
'REVOKED' | 'R'
2. remove useless comment
Change-Id: I8464e31df57450f76fd1052f92037de3178bc267
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SungHun Hwang [Mon, 6 Feb 2017 05:23:11 +0000 (14:23 +0900)]
[BuildMonitor] Add the image-creation check routine
1. Add the image-creation check routine
to check the completion of image-creation stage at Post-release
2. modifications
[job_create_snapshot.py] triggering to 'BUILD-MONITOR-POST' job
[job_buildmonitor.py] get the event & fill the status in the db
Change-Id: If4fa718f7d697b578d54b5e3222703c6e104d3a8
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SungHun Hwang [Mon, 6 Feb 2017 05:05:42 +0000 (14:05 +0900)]
[BuildMonitor] truncate the msg when the data is too long
1. column size up (100 -> 300) at mysql_db
[sr_commit] table
- git_commit_message
- sr_submit_message
[sr_status_detail] table
- obs_request_comment
2. truncate the msg when the data is too long at jenkins-script
3. moved the config value to 'jobs/configuration'
Change-Id: I7feaf3da80f7c95aa4297793c5ba736c4e2b75be
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
SoonKyu Park [Sat, 4 Feb 2017 07:26:30 +0000 (16:26 +0900)]
Release 1.4
Change-Id: I09af85dd820693d036a1dbacd192ae1d3f5f10c9
hyokeun [Wed, 1 Feb 2017 03:34:29 +0000 (12:34 +0900)]
Do not check spec name if only one spec file is there
Change-Id: I5a47a407b04b12bc6430d258b36648b950113127
Junghyun Kim [Thu, 26 Jan 2017 03:32:45 +0000 (12:32 +0900)]
BUGFIX: transform data string from gerrit
MySQL cannot recognize datetime pattern "2017-01-26 11:29:53 +0900\n",
so we just take first two part "2017-01-26 11:29:53" by split(' ')
Change-Id: I7fcf2d1bc6272fbb7ea67e5000f4233dda26561b
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Thu, 26 Jan 2017 02:24:25 +0000 (11:24 +0900)]
[make_dep_graph] enhance the highlight feature
highlight only edges connected directly to the selected Node.
Change-Id: If9668a009c9ef4c3b31c1947877719086f56bb30
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SungHun Hwang [Thu, 26 Jan 2017 00:26:49 +0000 (09:26 +0900)]
[BuildMonitor] changed the content of obs_req_comment
changed the obs_req_comment from 'comment' to 'description'
bcz the content of 'description' is better in quality
Change-Id: I95a9b9032ada835adfd49a00bcbca2a199c68473
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Junghyun Kim [Wed, 25 Jan 2017 23:54:20 +0000 (08:54 +0900)]
dep_graph_simple.js is added for template_simple
This commit prohibits double click events for template_simple.
Change-Id: I0eeec421b28831f50c4b5d897c8097a044fb2046
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
SungHun Hwang [Wed, 25 Jan 2017 23:04:56 +0000 (08:04 +0900)]
[BuildMonitor] BUGFIX: wrong snapshot_url
fixed the wrong snapshot_url in [build_snapshot] table
before: http://download.tizen.org/snapshots/...
after : http://download.tizen.org/prerelease/...
Change-Id: I3990834b882af7b553758917792856fa51571af1
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Junghyun Kim [Wed, 25 Jan 2017 07:55:10 +0000 (16:55 +0900)]
Profile info is sent additionaly to BUILD_MONITOR
Change-Id: Icafcf23ab492a5eaaa4c0f1af768c075877ebd3d
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Wed, 25 Jan 2017 00:52:26 +0000 (09:52 +0900)]
A search box is added for simple dependency graph.
Change-Id: I09f0d31ccbf426f8849b7edc271e54d67f4a5082
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Tue, 24 Jan 2017 10:52:57 +0000 (19:52 +0900)]
BUGFIX: previous repo/arch should not be removed.
PROBLEM:
- Due to rmtree(sync_dest), previous depepenency graphs are removed.
SOLUTION:
- sync_dest is set to only that repo/arch.
- only target repo/arch directory is removed now.
Change-Id: I67050a53c7e4cb4d8c46889e1d784b7fd0b72417
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Tue, 24 Jan 2017 02:13:55 +0000 (11:13 +0900)]
Use PATH_REPO_BASE instead of IMG_SYNC_DEST_BASE
Since make_dep_graph is execued on jenkins slave 'download',
it does not need to use 'rsync::'.
Change-Id: I7a1db6837d6131ebad1f1e98f75776032c2425f1
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Sat, 21 Jan 2017 06:15:24 +0000 (15:15 +0900)]
fix post-image-creation error
trigger_next("BUILD-MONITOR", bm_data)
NameError: global name trigger_next is not defined
Change-Id: I2cfd18e18df73308b38c67b70a7bbd63a1c764c3
Junghyun Kim [Sat, 21 Jan 2017 00:22:27 +0000 (09:22 +0900)]
REPA: check permission only if "REPA_CHECK_PERMISSION" is set
- buildmonitor
Do not check build failure for _aggregate packages
Change-Id: Id8c848d80f292bb6754a5bd6e682090271a9fe24
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
hyokeun [Fri, 20 Jan 2017 02:53:06 +0000 (11:53 +0900)]
Installs to /var/lib/jenkins/jenkins-scripts/
Change-Id: Ib7dbc28b6038582e2ae08458f9dbfb2703f52884
SungHun Hwang [Mon, 16 Jan 2017 03:11:20 +0000 (12:11 +0900)]
[BuildMonitor] added the trbs build logging part for the public dashboard
1. added the TRBS_XXX function
2. fixed base64 decoding error when passing over from TRBS jobs to PRE jobs
3. changed from the pre_build_project_id to trbs_build_project_id
4. added the info_stage_id of trbs and changed the info_stage_id of pre/post
ex) info_stage_id
SR_SUBMIT = 1
+ TRBS_BUILD = 2
+ TRBS_SNAP = 3
+ TRBS_IMAGE = 4
PRE_BUILD = 5
PRE_SNAP = 6
PRE_IMAGE = 7
SR_ACCEPT = 8
POST_BUILD = 9
POST_SNAP = 10
POST_IMAGE = 11
5. clear the useless comments and stage
6. changed the submitter name format
Change-Id: Ib897bc12841de33b2b2f682477d448278171a5b2
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Junghyun Kim [Mon, 16 Jan 2017 02:29:14 +0000 (11:29 +0900)]
Add DB logging for buildlogs
Change-Id: I7a9b5a02233c148bfb3cc154d4057eaae4752e69
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
shuai.fu [Tue, 6 Sep 2016 06:17:20 +0000 (14:17 +0800)]
Add jenkins-scripts debian
Change-Id: I7cd2bffc999de4266732eab446bf139f15e833b5
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Conflicts:
packaging/.extra-repos
Junghyun Kim [Wed, 11 Jan 2017 06:01:05 +0000 (15:01 +0900)]
Change directory order from "bp_id/proj_name" to "proj_name/bp_id"
This is more readable and it is better way to support the distributed
infrastructure environment.
Change-Id: I3420631af2bc3943fe0051aa8df25ed254472b82
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Tue, 10 Jan 2017 01:45:15 +0000 (10:45 +0900)]
JOB ADDED: repa accept/reject
To log repa accept/reject, buildmonitor.py is also modified.
Change-Id: Ib79aa65bc91986ca70205ddee50af92078eecd80
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Mon, 9 Jan 2017 11:07:47 +0000 (20:07 +0900)]
update script ( push the nuget server on jenkins master )
Change-Id: Iaa1fa1c150f15fbf8bd39755241c413e81a1a862
Junghyun Kim [Mon, 9 Jan 2017 07:02:26 +0000 (16:02 +0900)]
job_add_git_tag is added.
Changes:
- job_add_git_tag.py is added
- job_submit.py is modified.
- This is because pushing a tag is done by admin
- Using Forge Committer Identity in gerrit,
tagger information will be forged.
- Original job_submit.py uses 'gerrit_account_name'
that is generated by gerrit, and it is not forged.
- To get forged identity, we have to use
git for-each-ref --format=%(tagger).
Change-Id: I6ff87154a3aa31493c4d329e2726ba32f7ba3303
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Yonghee Han [Fri, 6 Jan 2017 08:12:10 +0000 (17:12 +0900)]
New feature : C# Create update-nuget job , Function : update Nuget package to Nuget server
Change-Id: Ie7c3d9b2b55041fb91114ddf6f6c6bd4f1c16c7c
SoonKyu Park [Thu, 5 Jan 2017 09:57:06 +0000 (18:57 +0900)]
Release 1.3
Change-Id: I54016b29680de404b797203a9f2e84c63daaf423
SoonKyu Park [Thu, 5 Jan 2017 08:34:16 +0000 (17:34 +0900)]
Merge remote-tracking branch 'origin/devel' into release-
20161231
hyokeun [Thu, 5 Jan 2017 05:34:35 +0000 (14:34 +0900)]
Fix decoding error for git-obs-mapping list
Cause: contents are differ between Mapping V1 and V2
Fix: hard code item counts
Change-Id: Id3b37911b3bf3a3147b9435aedf62f0d3a59567c
SoonKyu Park [Thu, 5 Jan 2017 02:25:51 +0000 (11:25 +0900)]
Revert " solve create ks file error"
This reverts commit
76c09eae02c8088cfa96dd5b73d0afd6053a5c1f.
Yonghee Han [Thu, 5 Jan 2017 00:43:38 +0000 (16:43 -0800)]
Merge "Drop prerelease if build flag is no in the mapping" into devel
Yonghee Han [Thu, 5 Jan 2017 00:43:14 +0000 (16:43 -0800)]
Merge "[BuildMonitor] (multi-env, etc) sync up with job_trbs_obs.py of [TRBS]" into devel
Yonghee Han [Thu, 5 Jan 2017 00:41:14 +0000 (16:41 -0800)]
Merge "Use xml parser instead of string operation for git-ref-mapping" into devel
shuai.fu [Mon, 26 Dec 2016 03:01:05 +0000 (11:01 +0800)]
solve create ks file error
Change-Id: I90c975e67ace3eef52854d44dbd5129dc367d179
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Hyokeun Jeon [Tue, 27 Dec 2016 02:07:43 +0000 (11:07 +0900)]
Use xml parser instead of string operation for git-ref-mapping
Change-Id: Ie83b4139aa7613e9aaa39174a5a6c0805dc883b9
SungHun Hwang [Mon, 19 Dec 2016 07:41:46 +0000 (16:41 +0900)]
[BuildMonitor] (multi-env, etc) sync up with job_trbs_obs.py of [TRBS]
1. divide the huge packages and triggering the multi jobs
to avoid "argument too big" error in [Pre_Snap_Packages] and [Post_Snap_Packages] stage
2. sync up with the rest part of [Pre_Snap_Packages] stage
3. fixed the build_image fail check bug in build_image table at [Image] stage
4. if at least one fails among bulid images
then skip updating the sr_stage as 'C' at [Post_Image] stage
(it needed to fix the code of job_buildmonitor)
* describe the each stage per jenkins-scripts
<buildmonitor stage> < job_xxx.py > < job name >
[Pre_Snap_Packages] => job_pre_releae_obs.py => pre-release-create
[Post_Snap_Packages] => job_create_snapshot.py => create-snapshot
[Image] => job_imager.py => image-creator
[Post_Image] => job_post_imager.py => post-image-creation
Change-Id: I72cedb0980fbf7440dcc4175dc29ebdb6f02a80b
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
Hyokeun Jeon [Wed, 14 Dec 2016 04:11:08 +0000 (13:11 +0900)]
Drop prerelease if build flag is no in the mapping
mapping.xml would be; <configure enable="true" build="no" />
Change-Id: I9f9ac38a6f40f43a49939c383355543c175f7de2
Junghyun Kim [Wed, 14 Dec 2016 04:36:54 +0000 (20:36 -0800)]
Merge "Revert "Verify that the SR was created on the correct branch"" into devel
Yonghee Han [Wed, 14 Dec 2016 01:59:46 +0000 (17:59 -0800)]
Revert "Verify that the SR was created on the correct branch"
This reverts commit
13fe3c9941a07d74ed6980e055950f45e879107f.
Change-Id: Ia816a153b1b9d4a537992dec6aade65e5ae5e674