Aleksander Mistewicz [Wed, 1 Feb 2017 14:46:23 +0000 (15:46 +0100)]
Add assertion message to crash_test
Change-Id: I4e0e21f29dc37a5ddae2add84c86c718580910c4
Aleksander Mistewicz [Wed, 1 Feb 2017 14:38:26 +0000 (15:38 +0100)]
Increase sleep values
It is workaround for Avocado-Smoke inconsistency.
Change-Id: I9a4d149ef644862bcfa9ad35f9b5c0b3c0023b4b
Aleksander Mistewicz [Thu, 19 Jan 2017 14:33:25 +0000 (15:33 +0100)]
Mount all available partitions
Fixes missing /etc/systemd/system
Change-Id: Icd63de883c6b8a3c587cae2d6ab6c1f00e49023b
Aleksander Mistewicz [Wed, 18 Jan 2017 13:00:20 +0000 (14:00 +0100)]
Workaround download_all missing md5sum
Change-Id: Iac3704084632658c5d0990fed43f3993a4b06a82
Aleksander Mistewicz [Fri, 13 Jan 2017 15:59:12 +0000 (16:59 +0100)]
Use separate iserial scripts for artik images
Change-Id: I41932c84766aad7b192d049a34740ced41964c41
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 13 Jan 2017 15:58:55 +0000 (16:58 +0100)]
Add k.opasiak's files
Change-Id: Ib91e80a9c3a677ad51cf6034f6947dc24dc598e4
Aleksander Mistewicz [Thu, 12 Jan 2017 12:33:05 +0000 (13:33 +0100)]
Add TARGET_LIST to tsp/common.sh
List of used target types is stored in a single place.
Change-Id: Ia22639a708ebfcadfee24b6c3c93cc5561979987
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 10 Jan 2017 10:38:49 +0000 (11:38 +0100)]
Do not try to test target if flash failed
Change-Id: If6566029affbbcba4013858cdbf7e2e9109a2f7b
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 15 Nov 2016 14:33:25 +0000 (15:33 +0100)]
Overall adjustments
Change-Id: I15b9f8b2b8044528a90ce1366fc4b314ed368622
Aleksander Mistewicz [Fri, 4 Nov 2016 10:31:18 +0000 (11:31 +0100)]
Ignore artik's boot image
Change-Id: Ie83428cca51dcaa83397160c12a2574f1d9e8091
Aleksander Mistewicz [Wed, 26 Oct 2016 14:39:55 +0000 (16:39 +0200)]
Update tct/artik_prepare_flash_conf.sh
Remove external dependency, image repack, etc.
Change-Id: I35ee25e425e84e886f3c6d9f76356947da409111
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 26 Oct 2016 14:28:29 +0000 (16:28 +0200)]
Add tct/flash/flash_dd_artik.sh
Add params_artik10.bin and params_artik5.bin
Add replace_params() to tct/prepare/prepare.sh
Change-Id: If5fe1278432924c56cc83b6e0422d43f8fa7640a
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 20 Oct 2016 16:45:44 +0000 (18:45 +0200)]
Use boot images for artik
Change-Id: I2069ff06d5a5e2944cf61ddcbbf8cf622be21d71
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 29 Dec 2016 13:32:36 +0000 (14:32 +0100)]
Check if file is available before md5sums check
It breaks requirement: download until image will be available.
Disappearing images should be covered by crawler.
Change-Id: I469795c1c7b0c550f73b7e3d546da93acba65b28
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 29 Dec 2016 11:37:25 +0000 (12:37 +0100)]
Create WS_PUBLISH on start
Change-Id: I64b439e9350fb09e265494fe6f4a9da3ba124703
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 23 Dec 2016 12:20:01 +0000 (13:20 +0100)]
Retry run_smoke_sdb
Run enlightenment_info in separate thread.
Change-Id: I35db4fd4261ede0ab23a61f6ca6eb88a73e2fdec
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 22 Dec 2016 11:43:54 +0000 (12:43 +0100)]
Add tsresults queue
Do not urge tsresults UPDATE_DB job
Remove WWW jobs before dispatching a new one
Remove lockfile-progs dependency
Change-Id: I9732ae2aa59844ed5b6aafe0cfc0105436755235
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 21 Dec 2016 16:38:42 +0000 (17:38 +0100)]
List top 10 processes by cputime
Change-Id: I038a564d6d2b33cc114d25e32a3da8c254eaefe6
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 21 Dec 2016 09:30:53 +0000 (10:30 +0100)]
Cleanup img_test_remote workspace after fail
Change-Id: I17b175172467b7a0416165cd8b3c7ff7f5ec85e3
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 20 Dec 2016 15:12:48 +0000 (16:12 +0100)]
Fix tct/minnow_prepare_flash_conf.sh
Wait fixes a problem of a missing partition. On 16.04, with systemd,
tune2fs failed if invoked directly after bmap. Origin of the problem
remains unknown.
Change-Id: I0f4fdc664916db8db7afb29411b2c572d3d68798
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 19 Dec 2016 09:03:59 +0000 (10:03 +0100)]
Use HEAD request instead of GET for timestamps
Change-Id: I7112b0eebab7c1cb98819beaca5e562e0ed0079d
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 16 Dec 2016 10:28:25 +0000 (11:28 +0100)]
Make results colorful
Meaning of the colors in html results:
* yellow - not modified in last 2h, but less than 6h
and not in the final state
* red - not modified for at least 6h
and not in the final state
Final state is one of OK, Unclear or Fail.
Change-Id: Ie7a1bf4a391ff7db543a2b1d078e0dffb00057f0
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 16 Dec 2016 09:36:10 +0000 (10:36 +0100)]
Add timeout to tct/minnow_prepare_flash_conf.sh
Change-Id: Ie212cf0b669c31070e9b584678da9a22e17bc608
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 13 Dec 2016 15:40:56 +0000 (16:40 +0100)]
Move update_www to separate job
Change-Id: I330a5784e78dba3eb44b49e2707a70d8f004ef78
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 13 Dec 2016 15:37:40 +0000 (16:37 +0100)]
Move update_db to separate job
Change-Id: I0d75a2c004ce65bf9efb6c95645e0a4b394159e6
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 13 Dec 2016 10:21:39 +0000 (11:21 +0100)]
Add tsp/jobs/watch_symlinks.sh
Change-Id: Icbcb0c638e2fa1de49cad61d042b0e8742f9f3e7
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 13 Dec 2016 09:19:19 +0000 (10:19 +0100)]
Add tsp/jobs/watch_sdb.sh
Change-Id: Id49dc135dac374701a75e90aeea4093999c5a896
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 8 Dec 2016 13:18:28 +0000 (14:18 +0100)]
Add build information to smoke test
Change-Id: Ie7d1374298b83b619a12bf362af8a69415823b7b
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 8 Dec 2016 12:59:34 +0000 (13:59 +0100)]
Add sleep to increase sdcard lifetime
Change-Id: I0f88c27586054c698ec8644af995101cd7e7a66d
Aleksander Mistewicz [Wed, 7 Dec 2016 13:05:42 +0000 (14:05 +0100)]
Replace deprecated option with a new one
Change-Id: I72de8e8379bdf420f204dc0b4f64f6ef6a98e645
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 6 Dec 2016 11:25:02 +0000 (12:25 +0100)]
Ignore missing MD5SUMS file, dispatch anyway
Change-Id: I59940944b11258d277ae00d8e51da5b8812b544d
Aleksander Mistewicz [Thu, 1 Dec 2016 13:06:45 +0000 (14:06 +0100)]
Add enlightenment_info to tct/run/smoke_tests.sh
Change-Id: I53352651aebe440f3561883f0488914a42a9ff6b
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 29 Nov 2016 14:40:20 +0000 (15:40 +0100)]
Log failed devices in /var/tmp/failed_devices.log
Change-Id: I20378647806ac2fbf546823219d32034310516e9
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 18 Nov 2016 10:20:28 +0000 (11:20 +0100)]
Replace `tree' with `ls' in tests
Change-Id: Ibd95744e15813b2db4a4a68c4cb80793d57f3d24
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 16 Nov 2016 13:52:45 +0000 (14:52 +0100)]
Publish results for Tizen 3.0 in separate file
Use separate view for 3.0-common
Database update is required. Delete it or run:
. tsp/common.sh
sqlite3 "${DBPATH}" -batch < tsp/results-schema.sql
Change-Id: I092cd46f9b53f539e8be1ef3038c5eb01c001cf2
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 16 Nov 2016 13:48:52 +0000 (14:48 +0100)]
Add --tizen3 argument to tsp/scripts/publish.py
Change-Id: I7b2c8d9d10efcd82022f04d36b63619ac29ee99b
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 16 Nov 2016 13:24:02 +0000 (14:24 +0100)]
Remove obsolete tl-pwb mention
Change-Id: Ied2057e664c665dc97aecd4cfc4727ef51725ec0
Aleksander Mistewicz [Wed, 16 Nov 2016 12:24:52 +0000 (13:24 +0100)]
Add "--tree" argument to tsp/scripts/crawler.py
Add tsp/tree.example
Change-Id: Ic72e4e80812a56b18d606fc36e57096a84e205bd
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 9 Dec 2016 08:44:36 +0000 (09:44 +0100)]
Link snapshot results based on profile and target
Change-Id: Idcc929b4ef50582fb97bc5ca2ac7ea79a540b529
Aleksander Mistewicz [Fri, 9 Dec 2016 08:28:37 +0000 (09:28 +0100)]
Fix false identical reporting
Change-Id: If4849c2d01695271cd44eaeb00b64f9720ab3682
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 9 Nov 2016 13:20:16 +0000 (14:20 +0100)]
Add dispatch of tizen common 3.0 images
Change-Id: Ibc5ffdd2c8cc79804f6c7c16c7a3eb3558de8252
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 9 Nov 2016 13:19:10 +0000 (14:19 +0100)]
Use different timestamp for each crawl
Change-Id: I756a9ed6a722c9a0de99430aa6f042e4cca0130e
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 9 Nov 2016 13:16:28 +0000 (14:16 +0100)]
Add timestamp argument to tsp/scripts/crawler.py
Change-Id: I9a1c51c024ea0b58b0e76b17e604743a30782065
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 7 Nov 2016 10:07:16 +0000 (11:07 +0100)]
Make TITS profile independent
Overall TITS adjustments
Change-Id: I8a9b1255a122efa50a8275a558c0bc01174ad4fa
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 30 Nov 2016 15:04:04 +0000 (16:04 +0100)]
Add sr2profile() to tsp/common.sh
Add sr2profile tests to test/tsp_common.bats
Change-Id: I8903012b22a6346ed2618bd242fc998a2228975c
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 30 Nov 2016 14:49:58 +0000 (15:49 +0100)]
Add url2profile() to tsp/common.sh
Add url2profile tests to test/tsp_common.bats
Change-Id: Ia0cd72a3abd859fa0af409867392d585cf49986c
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 9 Nov 2016 13:58:16 +0000 (14:58 +0100)]
Add "No image" to tsp/results-values-result.sql
Database update is required. Delete it or run:
. tsp/common.sh
sqlite3 "${DBPATH}" -batch < tsp/results-values-result.sql
Change-Id: I43156ffbc66ac72077df8bc8c805403441d613c6
Aleksander Mistewicz [Fri, 4 Nov 2016 10:27:55 +0000 (11:27 +0100)]
Make crawler universal
Directories, where MD5SUMS files should be, are now detected by crawl.
If MD5SUMS file is missing prerelease will not be dispatched.
If image directory is missing, prerelease will be dispatched.
Change-Id: I98088af7073ba9a8708b084f6974cbea18d000cd
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 4 Nov 2016 10:20:57 +0000 (11:20 +0100)]
Set request timeout in download_all.py
Change-Id: I95d135eeac2e8a10f2352f6d626b250aa2ddd75e
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 4 Nov 2016 10:05:36 +0000 (11:05 +0100)]
Add --map argument to tsp/scripts/download_all.py
Add tsp/image_map.example
Change-Id: Ic35154314076253696e20972835adb0e4d97a48b
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 4 Nov 2016 09:30:10 +0000 (10:30 +0100)]
Add tsp/scripts/download_all.py
Change-Id: I7125d71ac3be8607a97a5aeecdf6bca83667f8fa
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 19 Oct 2016 14:52:39 +0000 (16:52 +0200)]
Replace urllib2 with requests in crawler.py
It uses urllib3 connection pooling what dramatically increases
performance. Also changed link discovery to follow latest guide.
Package "python-requests" is now required.
Change-Id: Ide3e3c9dd290c2ce01137c00fa2f01cd29e35712
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 19 Oct 2016 10:23:24 +0000 (12:23 +0200)]
Add sync after screenshooter install
Change-Id: I00a5064b78e0008281bb57a9788eb337d5909e1c
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 18 Oct 2016 14:15:47 +0000 (16:15 +0200)]
Move wait_ssh() to tct/conf/conf.sh
Change-Id: I55f0426b19a503ca998e711d350d5c4249381848
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 13 Oct 2016 13:55:21 +0000 (15:55 +0200)]
Link screenshot only if in a set of screenshotable
Change-Id: Ica1f8f443bf02ed4a6e9719df4a20a20b10b2147
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 13 Oct 2016 13:00:36 +0000 (15:00 +0200)]
Alternate row colors in html results
Change-Id: Ia95bc0578628bbd2da4eaee3c07b201983f326b4
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 27 Sep 2016 16:03:23 +0000 (18:03 +0200)]
Add artik target support
Database update is required. Delete it or run:
. tsp/common.sh
sqlite3 "${DBPATH}" -batch < tsp/results-values-device.sql
Change-Id: I687cd0435ff0a9f5470a0cc5b9178e9b615ef44c
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 27 Sep 2016 15:58:45 +0000 (17:58 +0200)]
Add tct/artik_prepare_flash.sh
Change-Id: I1ecf8cf7fe257c2e015ebd631514833afecb494a
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 10 Oct 2016 07:13:37 +0000 (09:13 +0200)]
Move wait_sdb() to tct/conf/conf.sh
Change-Id: I49afd4a22c6959f25f7e009ea36fbad589c9aa3e
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 6 Oct 2016 14:48:19 +0000 (16:48 +0200)]
Add mbr64 target support
mbr64 is a minimal generic x86_64 image.
Database update is required. Delete it or run:
. tsp/common.sh
sqlite3 "${DBPATH}" -batch < tsp/results-values-device.sql
Change-Id: I7f4e45b0da4afa06d662c3a6a378076a933a3130
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 6 Oct 2016 14:14:06 +0000 (16:14 +0200)]
Add "--dry-run" argument to download_image.py
Images will not be downloaded and project.conf file not created.
Change-Id: Ibb5682b8167f273cc0adb1616afce87ca55efe60
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 6 Oct 2016 14:07:03 +0000 (16:07 +0200)]
Simplify tsp/scripts/download_image.py code
It makes it easier to add support for new target devices.
Change-Id: I082686f3a55453677094b7a2559802a1bd0481d7
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 27 Sep 2016 12:30:53 +0000 (14:30 +0200)]
Add check, install to tct/run/common_test.py
Change-Id: Ic7aac3d125e923d559bac7e4b1c3e68af9fa17d7
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 30 Sep 2016 10:26:34 +0000 (12:26 +0200)]
Add set_usb_mode to tct/prepare/prepare.sh
Prepare image with set_usb_mode()
Change-Id: I7b1109947512d7814ca9ba586824ff7d482dbd04
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 29 Sep 2016 16:16:37 +0000 (18:16 +0200)]
Fix set operation in tsp/scripts/download_image.py
Change-Id: I6afb5259018f14238880fce2ce9d15f0cb8c543c
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 28 Sep 2016 13:38:16 +0000 (15:38 +0200)]
Add dyper functions to tct/flash/flash.sh
Change-Id: I300a5c6211c66184e0334f5b16ceae568691fd4f
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 27 Sep 2016 11:50:07 +0000 (13:50 +0200)]
Add push to SSH and SDB in tct/run/common_test.py
Change-Id: If08193b590ad9ba6728c32cd7105062f2d2ffa18
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 26 Sep 2016 15:50:39 +0000 (17:50 +0200)]
Add Screenshot to tct/run/common_test.py
Add screenshot_test() to tct/run/common_test.py
Add screenshot test to tsp/common_test.yaml
Change-Id: I28b9945473ff744bcfe3d8336d5c3e43dfe6ee95
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 26 Sep 2016 15:29:41 +0000 (17:29 +0200)]
Add pull to SSH and SDB in tct/run/common_test.py
Change-Id: I5f549d1fa9dff3bcc075066521a3cd38f2335a1f
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 22 Sep 2016 09:31:06 +0000 (11:31 +0200)]
Add screenshots to tests on odroid images
Link to snapshot's screenshot is created and updated.
It will be used for comparison, eventually.
Change-Id: I16e70d1a1a746362ff7a43705ee722db608d930a
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 22 Sep 2016 09:18:02 +0000 (11:18 +0200)]
Add destination argument to ssh_copy and sdb_copy
It is optional and defaults to "/tmp/smoke.sh".
Change-Id: I74db36b9f0066925854fae3d0b4d9079bcfb2f6b
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 22 Sep 2016 09:03:28 +0000 (11:03 +0200)]
Fake EDID on odroid images
Add tct/prepare/hdmi_force.sh
Author of this script: Andrzej Hajda <a.hajda@samsung.com>
Any change to this file may break this hack.
Add install_hdmi_force to tct/prepare/prepare.sh
Change-Id: Ie08f234c2dc8c5f1973d64e933e10e371dbcadc6
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 20 Sep 2016 12:12:08 +0000 (14:12 +0200)]
Link results only when available
Change-Id: I20ef9afde0b1b27fe6c8b58b81f1eee3447a3e6c
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 20 Sep 2016 11:40:29 +0000 (13:40 +0200)]
Provide more detailed status of SR
"In test queue" in tsp/jobs/img_test_common.sh,
"Testing" and "In test queue" in tsp/jobs/common_prep_flash_conf.sh,
"Downloading" in tsp/jobs/trigger_downloads.sh.
Database update is required. Delete it or run:
. tsp/common.sh
sqlite3 "${DBPATH}" -batch < tsp/results-values-result.sql
Change-Id: I84e39e32f5fc8099f8b8ad2d8c74fbda527e1a5f
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 20 Sep 2016 11:37:41 +0000 (13:37 +0200)]
Move db insert into function in tsp/common.sh
lockfile-progs is now required for tl-master.
Access to database is now serialized.
Change-Id: I5d8de1da372ab4437a9ab885cb3a61dd0ef33d86
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 20 Sep 2016 11:28:41 +0000 (13:28 +0200)]
Add sr conversions functions to tsp/common.sh
Add project2sr() and url2sr() to tsp/common.sh
Add tests of url2sr function to test/tct_common.bats
Change-Id: Ib4ecc900f0791578ab13110a28e63d634234f86d
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 9 Sep 2016 09:24:18 +0000 (11:24 +0200)]
Update README
Change-Id: Idb42cdfee8c642ac9f157df3974b00b76d4f207a
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 9 Sep 2016 09:13:40 +0000 (11:13 +0200)]
Move "run" section to separate file for minnow
Change-Id: I56ed1b7142ea80397af7653131d7d89587a126e0
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 9 Sep 2016 09:08:13 +0000 (11:08 +0200)]
Replace part of minnow script by get_ip()
Move TL_IP_CONF to tct/common.sh
Change-Id: I3b78a20e95e237e402da56e3cb053d505f356e41
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 9 Sep 2016 08:57:57 +0000 (10:57 +0200)]
Move "run" section to separate file for odroid
Change-Id: Ia905a23c3975cde0cfadea484db39b1816c711e0
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 7 Sep 2016 11:24:24 +0000 (13:24 +0200)]
Add tsp/start.sh
It is counterpart to tsp/stop.sh.
It installs cronfile and starts SDB server.
Change-Id: Ib1344e4887c426d16ef37e312153705fc34f3a6e
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 7 Sep 2016 09:31:18 +0000 (11:31 +0200)]
Show journal entries with error priority
Change affects smoke tests only.
Change-Id: I95d9729b471c59d709e6eaa4a610a80cf68fe9eb
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 26 Aug 2016 10:46:00 +0000 (12:46 +0200)]
Add user session listing to smoke_tests.sh
Change-Id: I88521ff482b619dac3a15727b3dad63191cf3c0c
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 25 Aug 2016 13:19:00 +0000 (15:19 +0200)]
Add avocado services in "activating" state test
systemctl_test takes additional optional argument - state.
Default value is 'failed'.
Change-Id: Ie244a15f952f0fcde916899ceadf55eab70a284f
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 25 Aug 2016 13:08:56 +0000 (15:08 +0200)]
Add listing of services in "activating" state
Some services are being restarted before they fail.
There are two solutions:
* wait until all services activate or fail
* list services that are activating
2nd is used until 1st is being developed.
Change-Id: Ib60e28ac057d38fa97aea10d42c28410efc2972e
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 25 Aug 2016 10:40:43 +0000 (12:40 +0200)]
Use build_nr for label of download_image.py job
All required information is available in command line arguments.
tsp/scripts/download_image.py was the only one missing build_nr
and therefore confusing users searching for it.
Change-Id: I4da02f4fc567b22bf23d4794c75cfdf75d16d080
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 25 Aug 2016 10:21:57 +0000 (12:21 +0200)]
Run crawler.py in trigger_downloads.sh
tsp/jobs/watcher.sh is now a simple script. There are only
two jobs dispatched: one for snapshots and the other for prereleases.
Output of crawler and resulting url processing is in the same logfile.
Change-Id: I42ed6146c098695508e911d83c68d93b1e51f1bb
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 25 Aug 2016 09:40:57 +0000 (11:40 +0200)]
Unify workdir manipulation
CWD is changed at tsp/jobs/common_prep_flash_conf.sh start
as it is in other scripts.
Change-Id: I1a97b5f3397195ed56567467bf78337502f3cce6
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 23 Aug 2016 11:33:30 +0000 (13:33 +0200)]
Force crash-worker to create reports
It takes undefined amount of time for dump_systemstate to gather dlog
messages. Therefore Avocado test results were uncomparable.
Killing the process causes the script crash-manager.sh to create
the report (tar archive). dump_systemstate return value is ignored.
Change-Id: I978ea523e4925a15591233e12dd65c446958af18
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 12 Aug 2016 12:12:04 +0000 (14:12 +0200)]
Assign 'Status' based on Avocado test results
Change-Id: I36c5eb870da5353b08a1903b2741a920cc9b403d
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 12 Jul 2016 10:38:34 +0000 (12:38 +0200)]
Update README
Change-Id: I9c62cb70e8ab5e8491882e2c6e9704e5738669e1
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 12 Aug 2016 11:05:09 +0000 (13:05 +0200)]
Add tsp/scripts/publish_cmp.py
"Unclear" is printed in case:
* number of tests run is different
* prerelease's result is not 'PASS', but snapshot's is
"OK" is printed otherwise.
Change-Id: Ic01e7652808f62e5d3c63925d1ea4326a2eeef2c
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 11 Aug 2016 09:29:45 +0000 (11:29 +0200)]
Add avocado to results
Change-Id: I9c2bf74874bc59f4bb10e2151cac02f70d5c89a1
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 22 Aug 2016 09:22:56 +0000 (11:22 +0200)]
Unify odroid and minnow sleep values
Sleep values are now stored in: tct/common.sh
Test results are now comparable.
Change-Id: I32b08ae0b959b01d417665e8b0c487d09917d4f4
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 22 Aug 2016 09:21:52 +0000 (11:21 +0200)]
Follow crash-worker path change
Change path "/opt/share/crash" to "/opt/usr/share/crash".
Change-Id: I6d8480a61912aabc2acbdc7a37b1275b1954594a
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 18 Aug 2016 12:43:37 +0000 (14:43 +0200)]
Dispatch publish job before retrigger
If failure occured job was retriggered until FAIL_CNT was exceeded at
the start what created jobs that only triggered publishing of failure.
Raise FAIL_CNT max value to 2.
Change-Id: I3772ba293f0749b8a2b1d4c436c5c36e0d68c1fb
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 18 Aug 2016 12:42:36 +0000 (14:42 +0200)]
Remove unused variable FAIL_CNT
Change-Id: Ib257fd31f2d7e7988479e0e56d90a988d62a9418
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 18 Aug 2016 12:36:47 +0000 (14:36 +0200)]
Run Avocado tests on odroid and minnow
Change-Id: I438d266802b9d9b29e4dd3f7314f3ec1f5776fca
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 18 Aug 2016 12:32:48 +0000 (14:32 +0200)]
Add run_avocado_sdb() to tct/run/run.sh
Change-Id: I656c7302ed5fbf79b277890920b9d93b897eeb9d
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 18 Aug 2016 12:31:26 +0000 (14:31 +0200)]
Add run_avocado_ssh() to tct/run/run.sh
Change-Id: Id3ede4bad3079cb95404a5f733dcc67b62fb087d
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>