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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
Junghyun Yeon [Fri, 26 Jul 2019 07:25:20 +0000 (16:25 +0900)]
Fix StepTpkPatchIcons
- Fix coding rules.
- Fix possible static issue.
- Add error checking routines.
Change-Id: Ic7d8e7a3977a196c872cb55f8ec68116aeeb82ba
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 29 Aug 2019 07:10:26 +0000 (16:10 +0900)]
Release version 1.8.10
Changes:
- Change order of StepRemoveTemporaryDirectory
- Add recover test for crash after unzip
Change-Id: Ic646ecf3d9ac41725c0af63a54db364e6172e91b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Aug 2019 11:57:30 +0000 (20:57 +0900)]
Add recover test for crash after unzip
requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/212535/
Change-Id: I842ef743a815a4ff040c554e1795d3bc5d443b93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>