platform/core/appfw/tpk-backend.git
22 months agoRelease version 1.10.23 34/281634/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062026 accepted/tizen/7.0/unified/hotfix/20221116.105101 accepted/tizen/unified/20220921.091805 tizen_7.0_m2_release
Sangyoon Jang [Tue, 20 Sep 2022 06:07:48 +0000 (15:07 +0900)]
Release version 1.10.23

Changes:
 - Fix static analysis issue

Change-Id: If63506228f3d923d5e6b7383274751818647e6d2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
22 months agoFix static analysis issue 66/281466/3
Sangyoon Jang [Mon, 19 Sep 2022 08:15:01 +0000 (17:15 +0900)]
Fix static analysis issue

Change-Id: I6a8a2b568828b4556da97099f9ba0488aeb1cb97
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
22 months agoRelease version 1.10.22 05/281205/1 accepted/tizen/unified/20220915.173218 accepted/tizen/unified/20220916.022106 accepted/tizen/unified/20220916.022144
Ilho Kim [Wed, 14 Sep 2022 07:21:41 +0000 (16:21 +0900)]
Release version 1.10.22

Changes:
 - Try to remove the location of the extract entry

Change-Id: Ib1bb5c439cc234adbbf1af18ae605d75c9b8e7c3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
22 months agoTry to remove the location of the extract entry 55/281055/1
Ilho Kim [Thu, 8 Sep 2022 11:21:33 +0000 (20:21 +0900)]
Try to remove the location of the extract entry

Because MountInstall is performed when there is no manifest
a file may exist in the extract entry path, so remove that

Related:
 [app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/281054/

Change-Id: I23c6c90b4f73ec77fb288ce86cf9e1c9bf45883a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 1.10.21 14/275514/1 accepted/tizen/unified/20220528.144427 submit/tizen/20220526.031920
Ilho Kim [Thu, 26 May 2022 02:26:58 +0000 (11:26 +0900)]
Release version 1.10.21

Changes:
 - Remove package for smoke test from 64bit architecture

Change-Id: I23103fb68f74cbc5f1a68843b1beee215d85b220
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRemove package for smoke test from 64bit architecture 96/275496/1
Ilho Kim [Thu, 26 May 2022 01:17:33 +0000 (10:17 +0900)]
Remove package for smoke test from 64bit architecture

Change-Id: Ie53fcb2d53bad0507649b8a918d09384c5039fd6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 1.10.20 14/266914/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211124.060353 accepted/tizen/unified/20211123.143715 submit/tizen/20211122.092115 submit/tizen/20211123.001718 submit/tizen_6.5/20211123.111544
Junghyun Yeon [Mon, 22 Nov 2021 09:16:11 +0000 (18:16 +0900)]
Release version 1.10.20

Changes:
 - Cleanup tpk-backend

Change-Id: I7bd52baaa5ba6a52b40c5316a2f90f593f196470
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoCleanup tpk-backend 96/261896/4
Junghyun Yeon [Wed, 28 Jul 2021 09:47:24 +0000 (18:47 +0900)]
Cleanup tpk-backend

- Improve readability.
- Reduce indentation depth.
- Extract codes to make lighter functions.
- Remove incorrect comments.

Change-Id: I05447a4dcf975e6069f5e1b11277d6509edd9557
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 1.10.19 35/260935/1 accepted/tizen/6.5/unified/20211028.100644 accepted/tizen/unified/20210712.131316 submit/tizen/20210707.235102 submit/tizen_6.5/20211028.162101 tizen_6.5.m2_release
Ilho Kim [Wed, 7 Jul 2021 07:39:29 +0000 (16:39 +0900)]
Release version 1.10.19

Changes:
 - Remove setting installer index
 - Fix extensive smoke tests related with res-control

Change-Id: I41a726f8f218af83cb846c4f6d949c7cbfcf71b9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoFix extensive smoke tests related with res-control 20/260920/1
Ilho Kim [Wed, 7 Jul 2021 01:10:54 +0000 (10:10 +0900)]
Fix extensive smoke tests related with res-control

work directory is not necessary in readonly overlay mount

Change-Id: I2493c5b9a5d3afe16b7250ef3c3c74c5b70d1660
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRemove setting installer index 61/259861/3
Sangyoon Jang [Wed, 16 Jun 2021 06:08:19 +0000 (15:08 +0900)]
Remove setting installer index

InstallerFactory doesn't need to set index.

Requires:
 - https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/259860

Change-Id: I3b63622a918e0e315e5af6bae46d5101972651f4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoRelease version 1.10.18 16/260616/1 accepted/tizen/unified/20210630.144014 submit/tizen/20210630.005732
Ilho Kim [Wed, 30 Jun 2021 00:37:04 +0000 (09:37 +0900)]
Release version 1.10.18

Changes:
 - Fix smoke tests related with res-control

Change-Id: I3d401f6aae96db67098f8c07dd7634ee74e7c0fa
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoFix smoke tests related with res-control 35/260435/1
Ilho Kim [Fri, 25 Jun 2021 01:23:54 +0000 (10:23 +0900)]
Fix smoke tests related with res-control

work directory is not necessary in readonly overlay mount

Change-Id: I155650aaedcadba63d5adc85c3cda41da3ab1a7f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 1.10.17 83/259983/1 accepted/tizen/unified/20210621.214629 submit/tizen/20210617.070222 submit/tizen/20210618.082001 submit/tizen/20210620.232502 submit/tizen/20210621.070948
Ilho Kim [Thu, 17 Jun 2021 06:51:15 +0000 (15:51 +0900)]
Release version 1.10.17

Changes:
 - Add Test for creating res-control directories

Change-Id: I12b5fa575e3b8ec03d54230b148cac83a9f4f0f6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoAdd Test for creating res-control directories 33/259433/2
Ilho Kim [Tue, 8 Jun 2021 00:21:14 +0000 (09:21 +0900)]
Add Test for creating res-control directories

smoke-test
 -SmokeTest.InstallationMode_ResControl
 -SmokeTest.UpdateMode_AddResControl
 -SmokeTest.UpdateMode_RemoveResControl
 -SmokeTest.RecoveryMode_AddResControl
 -SmokeTest.RecoveryMode_RemoveResControl

extensive-smoke-test
 -SmokeTest.RecoveryMode_AddResControl
 -SmokeTest.RecoveryMode_RemoveResControl

Change-Id: Ie4d64b84e5395446cbe3028294febc9534c5cd20
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 1.10.16 40/259640/1 accepted/tizen/unified/20210611.013645 submit/tizen/20210610.095123
Ilho Kim [Thu, 10 Jun 2021 09:46:48 +0000 (18:46 +0900)]
Release version 1.10.16

Changes:
 - Change tpk archive info implementation

Change-Id: I0ed59599c0e44c007383065f1c691c40f2160796
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoChange tpk archive info implementation 27/256527/2
Junghyun Yeon [Tue, 6 Apr 2021 08:35:29 +0000 (17:35 +0900)]
Change tpk archive info implementation

- Implement ExtractPackageArchive().
- Use RemoveTmpDir() to remove temporary directory.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/256526

Change-Id: Idc594544019b0e3d9d5e73012cfd92b2935d31d3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 1.10.15 52/258952/1 accepted/tizen/unified/20210602.122533 submit/tizen/20210528.071327 submit/tizen/20210531.052459
Ilho Kim [Fri, 28 May 2021 07:05:21 +0000 (16:05 +0900)]
Release version 1.10.15

Changes:
 - Add initialization function at smoke test

Change-Id: Icd743c0c6b8228ddb98b645d696d4f62c70a11eb
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoAdd initialization function at smoke test 07/256507/4
Junghyun Yeon [Tue, 6 Apr 2021 04:03:26 +0000 (13:03 +0900)]
Add initialization function at smoke test

Database will not be created automatically.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/256566/

Change-Id: I41cf6c52310a1f58c0f17b3169b57dd2d3e751c7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 1.10.14 43/251543/1 accepted/tizen_6.0_unified tizen_6.0 accepted/tizen/6.0/unified/20210120.085705 accepted/tizen/unified/20210118.141055 submit/tizen/20210115.013110 submit/tizen/20210115.062551 submit/tizen_6.0/20210119.073516
Junghyun Yeon [Fri, 15 Jan 2021 01:05:57 +0000 (10:05 +0900)]
Release version 1.10.14

Changes:
 - Fix memory leak

Change-Id: I59a3d243ae096905a709d574e8d2e3560b4d1348
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoFix memory leak 59/251259/1
Junghyun Yeon [Tue, 12 Jan 2021 04:55:48 +0000 (13:55 +0900)]
Fix memory leak

Related changes:
[app-installers] : https://review.tizen.org/gerrit/251120

Change-Id: Ibdbd142c1f4ae362b07633983af2f26d6e93d8ab
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 1.10.13 21/246221/1 accepted/tizen/6.0/unified/20201113.014546 accepted/tizen/unified/20201029.124939 submit/tizen/20201027.061339 submit/tizen/20201028.004037 submit/tizen_6.0/20201110.031647 submit/tizen_6.0/20201111.032505
Ilho Kim [Tue, 27 Oct 2020 05:26:15 +0000 (14:26 +0900)]
Release version 1.10.13

Changes:
 - Add recovery test for ReadonlyUpdateInstall
 - Fix TpkAppQueryInterface when fail to get package id
 - Change TpkAppQueryInterface's logic of clearing tmp path
 - Fix memory leak

Change-Id: Ife4fc3dca6fff83a560550d857da64ea2d7ea732
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoFix memory leak 13/244613/2
Ilho Kim [Tue, 22 Sep 2020 09:51:10 +0000 (18:51 +0900)]
Fix memory leak

xmlDocPtr allocated by xmlParseFile should be freed

Change-Id: Ife75f38f457ae2d19b680f40ced8440f4b9c4bee
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoChange TpkAppQueryInterface's logic of clearing tmp path 65/244565/3
Ilho Kim [Tue, 22 Sep 2020 02:21:23 +0000 (11:21 +0900)]
Change TpkAppQueryInterface's logic of clearing tmp path

Extracting function can be override by child class,
So the clearing function should be overridable function

- Requires:
  [app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/244388/

Change-Id: I588b9d3eb188b084a76c6ab2d6078690de1b7123
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoFix TpkAppQueryInterface when fail to get package id 10/244510/1
Ilho Kim [Mon, 21 Sep 2020 06:21:06 +0000 (15:21 +0900)]
Fix TpkAppQueryInterface when fail to get package id

The temporary file should be removed when fail to get package id

Change-Id: I28827f4210bc7af0f7a9c081e87ac1c2dee1ccc9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoAdd recovery test for ReadonlyUpdateInstall 84/243384/3
Ilho Kim [Mon, 7 Sep 2020 01:49:05 +0000 (10:49 +0900)]
Add recovery test for ReadonlyUpdateInstall

Change-Id: Ie204fa3c61024e8703a1065be9704bc451647f19
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 1.10.12 10/243710/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120028 accepted/tizen/6.0/unified/hotfix/20201103.050504 accepted/tizen/unified/20200911.143438 submit/tizen/20200910.044255 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
Sangyoon Jang [Wed, 9 Sep 2020 08:45:19 +0000 (17:45 +0900)]
Release version 1.10.12

Changes:
 - Fix TpkArchiveInfo

Change-Id: I1d2756cabb4bd0f9f990535cb11f50188c4f82b5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoFix TpkArchiveInfo 52/243552/2
Sangyoon Jang [Tue, 8 Sep 2020 05:57:31 +0000 (14:57 +0900)]
Fix TpkArchiveInfo

- Make visibility of member method as protected for extendability.
- Export tpk_archive_info.h header.

Change-Id: I3175665e52ff604ae318af8d110bb27eed240432
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoRelease version 1.10.11 31/243531/1 accepted/tizen/unified/20200908.130501 submit/tizen/20200908.025700
Ilho Kim [Tue, 8 Sep 2020 02:30:23 +0000 (11:30 +0900)]
Release version 1.10.11

Changes:
 - Change to use gmock package instead of gtest
 - Fix coding rule
 - Fix extensive smoke test

Change-Id: I1bb62d40c3a9fe7919ccf8c486a078342add2373
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoFix extensive smoke test 14/236814/6
Ilho Kim [Mon, 22 Jun 2020 08:36:18 +0000 (17:36 +0900)]
Fix extensive smoke test

- Handle the cleanup recovery type

Change-Id: Ife8675b5509610e18431784c7a73319275a7a334
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoFix coding rule 23/242423/2
Junghyun Yeon [Thu, 27 Aug 2020 00:26:15 +0000 (09:26 +0900)]
Fix coding rule

Change-Id: I76a57a09f58c4f84cef4327fc2dde6676168d372
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoChange to use gmock package instead of gtest 74/239874/3
Ilho Kim [Wed, 29 Jul 2020 04:59:02 +0000 (13:59 +0900)]
Change to use gmock package instead of gtest

Change-Id: Ic5326d91b98ba9c1a17686f118e9740a229aa77b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 1.10.10 11/242111/1 accepted/tizen/unified/20200825.033235 submit/tizen/20200824.070831
Ilho Kim [Mon, 24 Aug 2020 06:51:35 +0000 (15:51 +0900)]
Release version 1.10.10

Changes:
 - Adjust a changed smoke utils header

Change-Id: I57679451db5ccead662f10317d2a87378ac99d20
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoAdjust a changed smoke utils header 71/242071/1
Ilho Kim [Mon, 24 Aug 2020 03:43:20 +0000 (12:43 +0900)]
Adjust a changed smoke utils header

Change-Id: I3d32a1d79ce98337125f242ad3d3c4264745844c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 1.10.9 71/241971/1 submit/tizen/20200821.072757
Ilho Kim [Fri, 21 Aug 2020 07:24:12 +0000 (16:24 +0900)]
Release version 1.10.9

Changes:
 - Combine try-catch statement in recovery test
 - Add try-catch statement
 - Move test codes

Change-Id: I26fea3350deea05ab30111ecfb2123a8b63ba2a7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoMove test codes 44/241944/1
Junghyun Yeon [Fri, 21 Aug 2020 02:15:59 +0000 (11:15 +0900)]
Move test codes

Move test codes into ${src root}/test and rename it to smoke_tests.

Change-Id: If1b83fcd255f5d36e20a66e13df3974906525cba
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoAdd try-catch statement 21/241921/1
Ilho Kim [Fri, 21 Aug 2020 01:29:07 +0000 (10:29 +0900)]
Add try-catch statement

Change-Id: I3708d06c0ddd27f421c0adfe8350f514c09468a5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoCombine try-catch statement in recovery test 68/241168/2
Ilho Kim [Tue, 18 Aug 2020 08:25:51 +0000 (17:25 +0900)]
Combine try-catch statement in recovery test

Change-Id: I8f26d8c9b714eada2537ddd2f60547aecc7c97fd
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 1.10.8 41/240641/1 accepted/tizen/unified/20200811.050446 submit/tizen/20200810.091347
Ilho Kim [Mon, 10 Aug 2020 08:14:38 +0000 (17:14 +0900)]
Release version 1.10.8

Changes:
 - Fix static analysis issue
 - Refactor recovery test
 - Allow the other options in smoke test
 - Add user request mode test for recovery test
 - Change archive info behavior

Change-Id: I5b96247bea725db8c9082ad6f07804658c52c82f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoChange archive info behavior 38/240538/2
Junghyun Yeon [Fri, 7 Aug 2020 07:35:13 +0000 (16:35 +0900)]
Change archive info behavior

Change archive info to not fail if there are icon file exists but empty

Change-Id: I78c61371e1fca569ed7a1e9e33ad26670986cee6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoAdd user request mode test for recovery test 85/239585/4
Ilho Kim [Tue, 28 Jul 2020 02:22:19 +0000 (11:22 +0900)]
Add user request mode test for recovery test

Recovery test can run user request mode With additional option '--user-request'

Change-Id: I0759d9cfc76dc2231e194a7c892c4814d114cf0a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoAllow the other options in smoke test 30/239530/4
Ilho Kim [Mon, 27 Jul 2020 10:38:45 +0000 (19:38 +0900)]
Allow the other options in smoke test

ex) --user-request for user mode test

Change-Id: I0c65b210db7d0c6628dff5da9c8cc182945355a9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRefactor recovery test 37/239537/3
Ilho Kim [Mon, 27 Jul 2020 11:21:39 +0000 (20:21 +0900)]
Refactor recovery test

Change to use GTEST_FLAG to provide the gtest option

Change-Id: I75957a53a04445e9515580bbfc69aa0592656587
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoFix static analysis issue 87/240087/1
Sangyoon Jang [Mon, 3 Aug 2020 07:32:26 +0000 (16:32 +0900)]
Fix static analysis issue

Fix uncaught exepction.

Change-Id: Iaecd4303cbdc18e848b614e3df8520ee05a85b9b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoRelease version 1.10.7 78/240078/1 submit/tizen/20200803.062829 submit/tizen/20200805.002122
Junghyun Yeon [Mon, 3 Aug 2020 05:52:01 +0000 (14:52 +0900)]
Release version 1.10.7

Changes:
 - Add try-catch statements

Change-Id: I765933616b1514a57ea8f80d9ec94128f8184d30
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoAdd try-catch statements 52/239852/2
Junghyun Yeon [Thu, 30 Jul 2020 07:19:13 +0000 (16:19 +0900)]
Add try-catch statements

Change-Id: I7b9570a89e70ace32d20ccd93326f368591f4560
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 1.10.6 50/239350/1 accepted/tizen/unified/20200727.132106 submit/tizen/20200724.075535
Ilho Kim [Fri, 24 Jul 2020 05:44:21 +0000 (14:44 +0900)]
Release version 1.10.6

Changes:
 - Supress build warnings

Change-Id: Ic4a86afe435ba350987e916029a2aa8b8ed72b1c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoSupress build warnings 70/234770/3
Junghyun Yeon [Thu, 28 May 2020 11:24:47 +0000 (20:24 +0900)]
Supress build warnings

ASSERT_EQ defined at gtest uses if-else without braces
so if we use it with braceless if statement, it will cause
ambiguous else warning. This patch remove warnings by
adding braces at if statements.

Change-Id: Ifdeabf66bf4fc42cc69a9ef43b6557ea794ef87e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 1.10.5 72/237872/1 accepted/tizen/unified/20200707.140933 submit/tizen/20200706.085806
Junghyun Yeon [Mon, 6 Jul 2020 08:09:05 +0000 (17:09 +0900)]
Release version 1.10.5

Changes:
 - Implement recovery test for uninstallation
 - Change filepath

Change-Id: Iada529f518c047cbdd4f25926b50264e249c0f3d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoChange filepath 10/237610/1
Junghyun Yeon [Thu, 2 Jul 2020 00:45:22 +0000 (09:45 +0900)]
Change filepath

Its path has changed.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/237608

Change-Id: Ib4420a7190ea5378a25cf2fc15d41bf2b9faa6eb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoImplement recovery test for uninstallation 44/236344/1
Junghyun Yeon [Tue, 16 Jun 2020 09:50:32 +0000 (18:50 +0900)]
Implement recovery test for uninstallation

Recovery for uninstallation should be operated as normal uninstall.

Change-Id: I6435b7a50a936948083a7248883158c24a8b0d49
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 1.10.4 37/236037/1 accepted/tizen/unified/20200616.171027 submit/tizen/20200612.081636 submit/tizen/20200615.005642
Junghyun Yeon [Fri, 12 Jun 2020 06:58:40 +0000 (15:58 +0900)]
Release version 1.10.4

Changes:
 - Validate version when running recovery/rollback update tests
 - Validate file contents which are located at extracted dir
 - Fix StepTpkPreparePackageDirectory
 - Validate unpacked_dir not exists when recovery done

Change-Id: I9184d6679644e0f01e76b1efbf67590b2ffe501f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoValidate unpacked_dir not exists when recovery done 24/235424/1
Sangyoon Jang [Thu, 4 Jun 2020 10:37:55 +0000 (19:37 +0900)]
Validate unpacked_dir not exists when recovery done

Change-Id: I6ff9f1e84b57f431df67f9e9dd5e6abed78b0f4c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoFix StepTpkPreparePackageDirectory 12/235412/1
Sangyoon Jang [Thu, 4 Jun 2020 09:02:03 +0000 (18:02 +0900)]
Fix StepTpkPreparePackageDirectory

The unpacked dir path should not be changed. The extracted files will be
recovered without changing unpacked dir path.

Change-Id: Iab1444c1ed26718ae0651263258906a482caac4d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoValidate file contents which are located at extracted dir 11/235411/1
Sangyoon Jang [Thu, 4 Jun 2020 08:58:38 +0000 (17:58 +0900)]
Validate file contents which are located at extracted dir

When the package mount installed, some contents of package will be
extracted at package directory, because someone needs those files
without mounting zip file.
The test needs to validate those files recovered or rollbacked well or not.

Change-Id: Id72749b4cf5852f22bec30eaf3b52c157e13bc5d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoValidate version when running recovery/rollback update tests 37/235337/2
Sangyoon Jang [Thu, 4 Jun 2020 02:44:35 +0000 (11:44 +0900)]
Validate version when running recovery/rollback update tests

Change-Id: I56a1a49a8e19e6d259168602f50280eb61d3a241
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 1.10.3 39/234939/1 accepted/tizen/unified/20200603.150220 submit/tizen/20200601.023448 submit/tizen/20200602.012953
Ilho Kim [Mon, 1 Jun 2020 02:30:13 +0000 (11:30 +0900)]
Release version 1.10.3

Changes:
 - Add GetArchiveInfo
 - Make smoke utils as a library
 - Move CrashTpkInstaller class to tpk-smoke-utils
 - Fix ReadonlyUpdateInstallSteps base step name
 - Fix minor coding rule
 - Fix build error
 - Add description at help message for recovery test for clarification
 - Add TpkInstallerFactory
 - Fix coding rule

Change-Id: Ia212f83f14fdc02e15936f9f76257305022b84fa
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix coding rule 06/234606/1
Junghyun Yeon [Wed, 27 May 2020 10:02:28 +0000 (19:02 +0900)]
Fix coding rule

Change-Id: I9937e5b40582756a27fe48ef6078b8411a111595
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoAdd TpkInstallerFactory 05/231105/4
Ilho Kim [Fri, 17 Apr 2020 07:40:26 +0000 (16:40 +0900)]
Add TpkInstallerFactory

Now tpk-backend uses installer-runner to run the installer

Change-Id: I8cbc1b19f4f6fb9887ffab001453e4badef08f96
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd description at help message for recovery test for clarification 12/233712/1
Junghyun Yeon [Mon, 18 May 2020 10:38:34 +0000 (19:38 +0900)]
Add description at help message for recovery test for clarification

Change-Id: I08f5c765b6586b42c8c67743c71af3cba9fad8a6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoFix build error 48/231748/1
Sangyoon Jang [Fri, 24 Apr 2020 05:14:07 +0000 (14:14 +0900)]
Fix build error

Change-Id: I38e9b2ab62dee51ca495b808adacb69aa6604ae3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoFix minor coding rule 27/218827/5
Junghyun Yeon [Thu, 28 Nov 2019 10:05:14 +0000 (19:05 +0900)]
Fix minor coding rule

- Apply early-return policy.
- Print error while some boost API calling has failed.

Change-Id: I659e486fe6e7ed540497613470fa3c3a19d774e1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoFix ReadonlyUpdateInstallSteps base step name 55/230755/3
Ilho Kim [Tue, 14 Apr 2020 04:38:34 +0000 (13:38 +0900)]
Fix ReadonlyUpdateInstallSteps base step name

Relates :
- [app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/230753/

Change-Id: Iccec6f1d54c48349197871064fc05c5bbf8f94a1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoMove CrashTpkInstaller class to tpk-smoke-utils 58/228658/5
Sangyoon Jang [Tue, 24 Mar 2020 11:11:44 +0000 (20:11 +0900)]
Move CrashTpkInstaller class to tpk-smoke-utils

This class can be used at other test, such as smoke test of unified-installer.

Change-Id: Idf72e0c8533b5d70530d36684d7ec7c534627416
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoMake smoke utils as a library 04/228604/5
Sangyoon Jang [Tue, 24 Mar 2020 06:18:09 +0000 (15:18 +0900)]
Make smoke utils as a library

This tpk-smoke-utils library is used at smoke test of unified-installer.

Requires:
 - https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/228720

Change-Id: I342c1827141c3331459a2d752c133aa86ee408dd
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoAdd GetArchiveInfo 01/227301/5
Ilho Kim [Wed, 11 Mar 2020 06:02:26 +0000 (15:02 +0900)]
Add GetArchiveInfo

Requires :
- [app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/228145/

Change-Id: I0fa47880207b598e7ae9ad6d4f87dadfdf529e96
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 1.10.2 53/229753/1 accepted/tizen/unified/20200413.012249 submit/tizen/20200403.082852 submit/tizen/20200410.073851
Ilho Kim [Fri, 3 Apr 2020 06:44:45 +0000 (15:44 +0900)]
Release version 1.10.2

Changes:
 - Fix TpkArchiveInfo

Change-Id: Idfeaa8a620758ec0ce1fea7c0d0643c15219da12
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix TpkArchiveInfo 97/226597/6
Sangyoon Jang [Thu, 27 Feb 2020 03:30:33 +0000 (12:30 +0900)]
Fix TpkArchiveInfo

There is a new base class for TpkArchiveInfo.

Requires:
 - https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/226596

Change-Id: Icba15e406426f6e53f5be17e11e12269c54f8bc8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 1.10.1 06/226906/1 accepted/tizen/unified/20200309.031503 submit/tizen/20200306.075320
Ilho Kim [Fri, 6 Mar 2020 07:43:40 +0000 (16:43 +0900)]
Release version 1.10.1

Changes:
 - Add StepCrash's clean operation

Change-Id: I3f5b48bb158126856d4ef173f421ae121b4de425
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd StepCrash's clean operation 02/226102/3
Ilho Kim [Thu, 27 Feb 2020 01:17:20 +0000 (10:17 +0900)]
Add StepCrash's clean operation

This patch can be used to test the installation termination in a clean operation

Change-Id: Iea285d4f6e66dc7104c00665c46a3295a91c8b93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 1.10.0 14/226114/1 accepted/tizen/unified/20200302.041955 submit/tizen/20200227.033434 submit/tizen/20200228.073402
Sangyoon Jang [Thu, 27 Feb 2020 03:32:19 +0000 (12:32 +0900)]
Release version 1.10.0

Changes:
 - Split rpm packaging into library part and backend part
 - Fix smoke test

Change-Id: Ie355e126c4ff2411ab42e2493d19586367f87f92
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoFix smoke test 50/225150/2
Ilho Kim [Tue, 18 Feb 2020 00:10:40 +0000 (09:10 +0900)]
Fix smoke test

Recovery check routine changed after the recovery file is created

Change-Id: Ie3641e07104ba1f4bc6e3ee7d7a6dc1396a3ed5d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoSplit rpm packaging into library part and backend part 76/203976/19
Sangyoon Jang [Thu, 18 Apr 2019 08:44:39 +0000 (17:44 +0900)]
Split rpm packaging into library part and backend part

Change-Id: Icab87d25d042bfdd678395699eeb0df4bf766efa
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 1.9.3 53/224953/1 accepted/tizen/unified/20200217.213833 submit/tizen/20200214.080724
Ilho Kim [Fri, 14 Feb 2020 07:54:36 +0000 (16:54 +0900)]
Release version 1.9.3

Changes:
 - Change clean operations not to return failure

Change-Id: I3e00c713fc5096e145e5ea07923be986f37bfd14
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoChange clean operations not to return failure 14/223114/3
Ilho Kim [Thu, 23 Jan 2020 01:41:29 +0000 (10:41 +0900)]
Change clean operations not to return failure

Change-Id: I586f5785661eaf8dd06c841656323066ba038113
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 1.9.2 86/223586/1 accepted/tizen/unified/20200212.125959 submit/tizen/20200131.050227 submit/tizen/20200210.091657 submit/tizen/20200211.010149
Ilho Kim [Fri, 31 Jan 2020 04:33:19 +0000 (13:33 +0900)]
Release version 1.9.2

Changes:
 - Change the way to invoke installer as a subprocess
 - Add backup_type option for smoke test

Change-Id: I877ead97220c401331aac3743b5f63376653c11f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd backup_type option for smoke test 08/218508/11
Ilho Kim [Fri, 22 Nov 2019 02:26:03 +0000 (11:26 +0900)]
Add backup_type option for smoke test

Run smoke tests with argumant "--backup-type <move|copy>"
select backup's type 'move' or 'copy and remove'

Requires:
   - https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/217537/

Change-Id: Iebe9c6ef1f7e6c1d03753a78bf049ecc628197ee
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoChange the way to invoke installer as a subprocess 05/220005/12
Ilho Kim [Thu, 12 Dec 2019 04:28:32 +0000 (13:28 +0900)]
Change the way to invoke installer as a subprocess

Requires :
   [app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/220004/

Change-Id: I18b51a7bdf85daeb1dad60178fa045bf40f85cad

4 years agoRelease version 1.9.1 13/222713/1 accepted/tizen/unified/20200120.133149 submit/tizen/20200117.084916
Ilho Kim [Fri, 17 Jan 2020 08:42:53 +0000 (17:42 +0900)]
Release version 1.9.1

Changes:
 - Resolve static analysis issue

Change-Id: Iecfadd443a627be00d0b2bf27bf408965ffa1407
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoResolve static analysis issue 32/222632/2
Junghyun Yeon [Fri, 17 Jan 2020 01:27:58 +0000 (10:27 +0900)]
Resolve static analysis issue

Change-Id: I0c532cc7ca55da09fcfc1bb661aa2b81387d2496
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 1.9.0 64/221764/1 accepted/tizen/unified/20200108.131457 submit/tizen/20200107.095413
Ilho Kim [Tue, 7 Jan 2020 08:59:39 +0000 (17:59 +0900)]
Release version 1.9.0

Changes:
 - Refactor recovery test tool
 - Fix adding steps using default steps

Change-Id: I182734cc16877d239f5979564cb0c18e43b053a2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix adding steps using default steps 16/207216/17 submit/tizen_5.5/20200103.002242
Sangyoon Jang [Wed, 29 May 2019 10:06:01 +0000 (19:06 +0900)]
Fix adding steps using default steps

Requires:
 - https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/207215

Change-Id: Ibba0273f806b5c636b23a5bc7b9924b5a91758f7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRefactor recovery test tool 72/218972/4
Ilho Kim [Fri, 29 Nov 2019 06:59:33 +0000 (15:59 +0900)]
Refactor recovery test tool

- Use enum class, not typedef
- Use boost program options for parsing argument

Change-Id: I1d129ab935e65b3eda701135e732e45eba55180f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 1.8.14 10/220110/1 tizen_5.5_tv accepted/tizen/5.5/unified/20200105.221100 accepted/tizen/unified/20191216.222226 submit/tizen/20191213.074937 submit/tizen_5.5/20200103.003447
Ilho Kim [Fri, 13 Dec 2019 07:02:59 +0000 (16:02 +0900)]
Release version 1.8.14

Changes:
 - Add no backup option for smoke tests
 - Fix smoke-test functions for rollback cases
 - Change duplicated step name
 - Add test cases for updating shared data dir
 - Fix recovery test when recovery file doesn't exist

Change-Id: I399c3dc57ed93a34a84caf4b64247b24aba893cf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix recovery test when recovery file doesn't exist 97/219197/3
Ilho Kim [Tue, 3 Dec 2019 05:21:09 +0000 (14:21 +0900)]
Fix recovery test when recovery file doesn't exist

If installer is terminated before creating the recovery file
The test should be skipped, not failed

Change-Id: I9df1d77f2848c5e975596b7d4085700f41a0d6d3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd test cases for updating shared data dir 92/218192/13
Sangyoon Jang [Tue, 19 Nov 2019 09:16:29 +0000 (18:16 +0900)]
Add test cases for updating shared data dir

Added:
 - RollbackTest.UpdateMode_SharedData: update case of shareddata -> non-shareddata
 - RollbackTest.UpdateMode_NonSharedData: update case of non-shareddata -> shareddata
 - SmokeTest.RecoveryMode_SharedData: recovery case of shareddata -> non-shareddata
 - SmokeTest.RecoveryMode_NonSharedData: recovery case of non-shareddata -> shareddata

Requires:
 - https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/218218

Change-Id: I078c5b1f907382b3ff88b42508678b772da48e13
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoChange duplicated step name 30/218830/2
Junghyun Yeon [Thu, 28 Nov 2019 11:10:18 +0000 (20:10 +0900)]
Change duplicated step name

Same step name exists on wgt-backend.

Change-Id: Iea12e8def08dd21e91302a602c82c1eb91881c97
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoFix smoke-test functions for rollback cases 94/218094/8
Sangyoon Jang [Tue, 19 Nov 2019 09:17:04 +0000 (18:17 +0900)]
Fix smoke-test functions for rollback cases

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/218093

Change-Id: I456bfa94a24169384629b7c661dbdfff1a35f7de
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoAdd no backup option for smoke tests 84/218084/12
Ilho Kim [Tue, 19 Nov 2019 06:18:33 +0000 (15:18 +0900)]
Add no backup option for smoke tests

Run smoke tests with argument "--no-backup", backup is skipped

Change-Id: I83d58214b63f5528a0cc3c110cfa8554c5a0e544
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 1.8.13 43/218543/1 accepted/tizen/unified/20191201.221516 submit/tizen/20191128.101053 submit/tizen_5.5/20191205.065343
Junghyun Yeon [Mon, 25 Nov 2019 08:21:47 +0000 (17:21 +0900)]
Release version 1.8.13

Changes:
 - Revert "Fix recovery test's failure"

Change-Id: I2b38f1ff3b7506464f2e2f0a631f8ff2e2ac7489
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRevert "Fix recovery test's failure" 60/218060/1
Sangyoon Jang [Tue, 19 Nov 2019 04:54:34 +0000 (13:54 +0900)]
Revert "Fix recovery test's failure"

This reverts commit c6435c86d25654408945b09f1ad48723b38aaa67.

PkgQuery should not be used directly.

Change-Id: Ie90b8087d092bdf6917e0ef7a48e674ab7f72c1f

4 years agoRelease version 1.8.12 68/217468/1 accepted/tizen/5.5/unified/20191118.084820 accepted/tizen/unified/20191115.083951 submit/tizen/20191112.050420 submit/tizen/20191114.120558 submit/tizen/20191115.055644 submit/tizen_5.5/20191112.065048 submit/tizen_5.5/20191114.121100 submit/tizen_5.5/20191115.055905
Ilho Kim [Tue, 12 Nov 2019 04:28:40 +0000 (13:28 +0900)]
Release version 1.8.12

Changes:
 - Move implementation of virtual functions which does nothing
 - Add capability and exec_label for recovery_test
 - Fix build warning
 - Change packages used in recovery test
 - Adjust order of steps
 - Fix coding rule
 - Modify recovery test to handle cleanup type

Change-Id: I057e2abcf8c6d8ab2963dd0c66f7b34ee42948d9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoModify recovery test to handle cleanup type 34/217234/1
Ilho Kim [Fri, 8 Nov 2019 00:45:19 +0000 (09:45 +0900)]
Modify recovery test to handle cleanup type

When recovery file set cleanup, recovery package is updated
So in this case, it is necessary to compare updated content

-Reference
    [app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/216457/

Change-Id: Id005fcb3ec495822c90e00f7fd4a396b31f9ff56
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix coding rule 23/217023/1
Junghyun Yeon [Tue, 5 Nov 2019 11:40:05 +0000 (20:40 +0900)]
Fix coding rule

Change-Id: Ia7c301b2ada2c3528d270cc064c8e06e52d390db
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoAdjust order of steps 29/216129/2
Ilho Kim [Mon, 21 Oct 2019 08:35:06 +0000 (17:35 +0900)]
Adjust order of steps

Revert from 'ca625dadda76259cec5543a2c4096e1d39fbc15f'

Change-Id: Iad1907e2eb583a769db2abbb16472c1558144b33
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoChange packages used in recovery test 71/216471/5
Ilho Kim [Fri, 25 Oct 2019 08:45:59 +0000 (17:45 +0900)]
Change packages used in recovery test

Increase the package size

Change-Id: Ie3723b4e431a9e0abce29669a0d4a60c9d1df0b4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix build warning 53/216453/10
Ilho Kim [Fri, 25 Oct 2019 04:52:56 +0000 (13:52 +0900)]
Fix build warning

Warning that "deprecated conversion from string constant to 'char*'"

Change-Id: I358e41d668af069b79e40ff353f3ce62339a9654
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd capability and exec_label for recovery_test 48/216448/2
Ilho Kim [Fri, 25 Oct 2019 04:08:21 +0000 (13:08 +0900)]
Add capability and exec_label for recovery_test

Install request requires some capability and smack label

Change-Id: I593a895d7f42009287497d76591b3582e6a6837e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoMove implementation of virtual functions which does nothing 28/216728/1
Junghyun Yeon [Thu, 31 Oct 2019 07:49:52 +0000 (16:49 +0900)]
Move implementation of virtual functions which does nothing

Change-Id: I693a5cebff4b31ca013b765185f810837e36382b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 1.8.11 88/214288/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.024132 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084042 accepted/tizen/unified/20191011.080002 submit/tizen/20190920.015601 submit/tizen/20191001.095121 submit/tizen/20191002.002728 submit/tizen/20191011.034248 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
Ilho Kim [Fri, 20 Sep 2019 01:38:22 +0000 (10:38 +0900)]
Release version 1.8.11

Changes:
 - Fix StepTpkPatchIcons

Change-Id: Ic52a056a2e3b79e66a0b205cd62ab8b2f7a9b854
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>