tools/testlab/major.git
7 years agoRemove tl-runner, tl-master split 10/181810/1
Aleksander Mistewicz [Tue, 13 Jun 2017 13:45:38 +0000 (15:45 +0200)]
Remove tl-runner, tl-master split

Use `cp -l` instead of `scp`.

Change-Id: Ied93bb00cd96c1436e2455012a23ce9105bbbc78

7 years agoLog running time to Prometheus 09/181809/1
Aleksander Mistewicz [Tue, 13 Jun 2017 10:20:15 +0000 (12:20 +0200)]
Log running time to Prometheus

Change-Id: I23d3f8ad05d22b1578457ecca29a6e677b65e095

7 years agoReport tsrun_target queue length to Prometheus 21/132521/2
Aleksander Mistewicz [Mon, 29 May 2017 09:02:05 +0000 (11:02 +0200)]
Report tsrun_target queue length to Prometheus

Change-Id: I1ca21846720e550a136e055edfa8412bb804164e

7 years agoUse GO version of publisher 20/132520/2
Aleksander Mistewicz [Wed, 17 May 2017 12:01:40 +0000 (14:01 +0200)]
Use GO version of publisher

Change-Id: If19d50ce6685695633098db056e722872db825c5

7 years agoUse GO version of crawler 19/132519/2
Aleksander Mistewicz [Thu, 27 Apr 2017 12:53:26 +0000 (14:53 +0200)]
Use GO version of crawler

Change-Id: I97bc853df9d792bcc95aa23ed8de65a03780312f

7 years agoMove watchers to separate directory 37/130937/3
Aleksander Mistewicz [Wed, 24 May 2017 09:18:58 +0000 (11:18 +0200)]
Move watchers to separate directory

Current split is:
 - watchers: programs executed by cron
 - jobs: programs executed by queue
 - scripts: programs executed by jobs

Change-Id: I522684417cd94729a76cf38c22d318c91f63ae2f

7 years agoMove free_diskspace to proper location 36/130936/3
Aleksander Mistewicz [Wed, 24 May 2017 09:17:17 +0000 (11:17 +0200)]
Move free_diskspace to proper location

Change-Id: Icb342b57a4366b1ad23f89999c5fc1a9e47c9321

7 years agoFix free_diskspace docs and removal 35/130935/3
Aleksander Mistewicz [Wed, 24 May 2017 09:16:27 +0000 (11:16 +0200)]
Fix free_diskspace docs and removal

Change-Id: I60909d759f740a636589dc6cf02c7c3c345926c1

7 years agoIgnore screenshooter on artik530 and artik710 08/181808/1
Aleksander Mistewicz [Mon, 29 May 2017 12:51:50 +0000 (14:51 +0200)]
Ignore screenshooter on artik530 and artik710

Change-Id: I74db584a437cf1b7d46b9efbc91a2d0a8fcd7708

7 years agoIncrease dyper_restart interval 34/130934/3
Aleksander Mistewicz [Wed, 24 May 2017 09:03:40 +0000 (11:03 +0200)]
Increase dyper_restart interval

Change-Id: I195969be8eccb19879985fc6cc25dd91989b119c

7 years agoAdd artik530 and artik710 support 32/130932/3
Aleksander Mistewicz [Tue, 23 May 2017 11:26:24 +0000 (13:26 +0200)]
Add artik530 and artik710 support

Database update is required. Delete it or run:
    . tsp/common.sh
    sqlite3 "${DBPATH}" -batch < tsp/results-values-device.sql

Change-Id: I3e9568e11fd35b76cdcdb70809131af9779d5205

7 years agoRevert "Use boot images for artik" 31/130931/3
Aleksander Mistewicz [Mon, 22 May 2017 13:32:13 +0000 (15:32 +0200)]
Revert "Use boot images for artik"

This reverts commit 9cc8862f8b1b9968460d4e9d1b9c50a030544d32.

Change-Id: Ia910e4cd9296247f3e4e9de04bdf59ab742fd533

7 years agoRevert "Update tct/artik_prepare_flash_conf.sh" 30/130930/3
Aleksander Mistewicz [Mon, 22 May 2017 10:40:18 +0000 (12:40 +0200)]
Revert "Update tct/artik_prepare_flash_conf.sh"

This reverts commit 1ce6059b98fbe0bd326714121dabbaf9be6a1851.

Change-Id: Ib052621835ac0d3e799eca3af601115f7ee5e0e5

7 years agoPrint output of the failed compare command 29/130929/3
Aleksander Mistewicz [Mon, 22 May 2017 09:01:09 +0000 (11:01 +0200)]
Print output of the failed compare command

Change-Id: Idf825cefb526e707c2afc92ddcd2eb1a88fe91dc

7 years agoAdd new images for RaspberryPi 3 28/130928/3
Aleksander Mistewicz [Fri, 19 May 2017 09:27:03 +0000 (11:27 +0200)]
Add new images for RaspberryPi 3

Change-Id: I2ca321b3d199f87230cc93d2dcf2002e0a2ff763

7 years agoFix free diskspace check 27/130927/3
Aleksander Mistewicz [Wed, 17 May 2017 07:26:20 +0000 (09:26 +0200)]
Fix free diskspace check

It also fixes check for values < 10 and >= 100;

Change-Id: Ic43eea77846a2703c15b7e1bc1e402a959e45bbe

7 years agoReport USB and sd-mux-ctrl states to Prometheus 26/130926/3
Aleksander Mistewicz [Wed, 26 Apr 2017 11:58:50 +0000 (13:58 +0200)]
Report USB and sd-mux-ctrl states to Prometheus

Change-Id: I14cab8af557aa9c447078b62442d036a6df86ab0

7 years agoReport SDB server state to Prometheus 25/130925/3
Aleksander Mistewicz [Wed, 26 Apr 2017 11:48:37 +0000 (13:48 +0200)]
Report SDB server state to Prometheus

Change-Id: Ied4f1a12ae11c0486dbeb330de0988541116d0c1

7 years agoAdd RaspberryPi 3 to TITS 24/130924/3
Aleksander Mistewicz [Wed, 19 Apr 2017 08:59:53 +0000 (10:59 +0200)]
Add RaspberryPi 3 to TITS

Database update is required. Delete it or run:
    . tsp/common.sh
    sqlite3 "${DBPATH}" -batch < tsp/results-values-device.sql

Change-Id: I220f060a7186b047a2d55271beab1aafc4398863

7 years agoMove conf to *_run.sh 23/130923/3
Aleksander Mistewicz [Wed, 19 Apr 2017 08:43:44 +0000 (10:43 +0200)]
Move conf to *_run.sh

Change-Id: Idcaa4189acb22a239954cb8175b0c0d77d901635
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
7 years agoCheck for IP argument 22/130922/3
Aleksander Mistewicz [Wed, 19 Apr 2017 12:58:17 +0000 (14:58 +0200)]
Check for IP argument

Change-Id: I181a0baa9f67aa9a1641b980b2ccb70e0df61347

7 years agoAdd testresult_*.xml file generation 21/130921/3
Aleksander Mistewicz [Mon, 10 Apr 2017 08:44:25 +0000 (10:44 +0200)]
Add testresult_*.xml file generation

Add hook call.
Avoid symlinking non-existing files.

Change-Id: Idd81bdc6c634e93bfcb966a35cbfda879f446d0f

7 years agoSplit odroid into tv-, ivi-, common- odroid 20/130920/1
Aleksander Mistewicz [Tue, 4 Apr 2017 09:02:46 +0000 (11:02 +0200)]
Split odroid into tv-, ivi-, common- odroid

Database update is required. Delete it or run:
    . tsp/common.sh
    sqlite3 "${DBPATH}" -batch < tsp/results-values-device.sql

Change-Id: I0724b4b7529ff54e136441e7f9cdba7f5a471593

7 years agoAdd Tizen Unified to TITS 19/130919/1
Aleksander Mistewicz [Tue, 4 Apr 2017 08:24:22 +0000 (10:24 +0200)]
Add Tizen Unified to TITS

Change-Id: I9e64bcb14e0a5954e0d411e690b8729da8ae2ffd

7 years agoFix set vconf key 35/121935/2
Aleksander Mistewicz [Wed, 29 Mar 2017 09:22:31 +0000 (11:22 +0200)]
Fix set vconf key

Change in buxton required this change in order to work.
Relevant option:
-f, --force     Overwrite by force (for compatibility, ignored)

Change-Id: Iae7793fa03b9561a8374f06d9a4e0d1ed011f1a5

7 years agoInstall service in /usr/lib/systemd/system 34/121934/2
Aleksander Mistewicz [Tue, 7 Mar 2017 11:52:56 +0000 (12:52 +0100)]
Install service in /usr/lib/systemd/system

/etc is no longer valid path for service files.

Change-Id: I2911f735feda06b938a4955b5199250d19d491a4

7 years agoAllow writing to / for making screenshot 33/121933/2
Pawel Wieczorek [Wed, 15 Feb 2017 10:06:07 +0000 (11:06 +0100)]
Allow writing to / for making screenshot

Change-Id: Ic7b5e75c7ad4b909cd4b429deaf7c1608d89e78c

7 years agoUse /tmp 32/121932/1
Aleksander Mistewicz [Tue, 14 Feb 2017 11:51:57 +0000 (12:51 +0100)]
Use /tmp

Change-Id: Iedb00a5909aab001bdb608d6df91e7af6e0cb388

7 years agoCompare screenshots 31/121931/1
Aleksander Mistewicz [Wed, 1 Feb 2017 16:29:51 +0000 (17:29 +0100)]
Compare screenshots

If screenshots are not identical and AVOCADO_TAG is set to OK
then the status will be degraded to Unclear.

Change-Id: I91bdb49ee630abf4d6fc81aacaf781d6bdf2b8e0
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
7 years agoFix regex to match whole crashed program name 30/121930/1
Aleksander Mistewicz [Wed, 1 Feb 2017 14:52:47 +0000 (15:52 +0100)]
Fix regex to match whole crashed program name

Change-Id: I6759240e23e2c03c7916ebe1d617d9bf7bb9fd17

7 years agoAdd assertion message to crash_test 29/121929/1
Aleksander Mistewicz [Wed, 1 Feb 2017 14:46:23 +0000 (15:46 +0100)]
Add assertion message to crash_test

Change-Id: I4e0e21f29dc37a5ddae2add84c86c718580910c4

7 years agoIncrease sleep values 28/121928/1
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

7 years agoMount all available partitions 27/121927/1
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

7 years agoWorkaround download_all missing md5sum 26/121926/1
Aleksander Mistewicz [Wed, 18 Jan 2017 13:00:20 +0000 (14:00 +0100)]
Workaround download_all missing md5sum

Change-Id: Iac3704084632658c5d0990fed43f3993a4b06a82

7 years agoUse separate iserial scripts for artik images 25/121925/1
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>
7 years agoAdd k.opasiak's files 24/121924/1
Aleksander Mistewicz [Fri, 13 Jan 2017 15:58:55 +0000 (16:58 +0100)]
Add k.opasiak's files

Change-Id: Ib91e80a9c3a677ad51cf6034f6947dc24dc598e4

7 years agoAdd TARGET_LIST to tsp/common.sh 23/121923/1
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>
7 years agoDo not try to test target if flash failed 22/121922/1
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>
7 years agoOverall adjustments 60/108760/3
Aleksander Mistewicz [Tue, 15 Nov 2016 14:33:25 +0000 (15:33 +0100)]
Overall adjustments

Change-Id: I15b9f8b2b8044528a90ce1366fc4b314ed368622

7 years agoIgnore artik's boot image 21/108721/3
Aleksander Mistewicz [Fri, 4 Nov 2016 10:31:18 +0000 (11:31 +0100)]
Ignore artik's boot image

Change-Id: Ie83428cca51dcaa83397160c12a2574f1d9e8091

7 years agoUpdate tct/artik_prepare_flash_conf.sh 36/106136/4
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>
7 years agoAdd tct/flash/flash_dd_artik.sh 35/106135/4
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>
7 years agoUse boot images for artik 32/106132/4
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>
7 years agoCheck if file is available before md5sums check 59/108759/3
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>
7 years agoCreate WS_PUBLISH on start 58/108758/3
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>
7 years agoRetry run_smoke_sdb 57/108757/3
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>
7 years agoAdd tsresults queue 56/108756/3
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>
7 years agoList top 10 processes by cputime 55/108755/3
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>
7 years agoCleanup img_test_remote workspace after fail 54/108754/3
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>
7 years agoFix tct/minnow_prepare_flash_conf.sh 53/108753/3
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>
7 years agoUse HEAD request instead of GET for timestamps 52/108752/3
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>
7 years agoMake results colorful 51/108751/3
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>
7 years agoAdd timeout to tct/minnow_prepare_flash_conf.sh 50/108750/3
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>
7 years agoMove update_www to separate job 49/108749/3
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>
7 years agoMove update_db to separate job 48/108748/3
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>
7 years agoAdd tsp/jobs/watch_symlinks.sh 47/108747/3
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>
7 years agoAdd tsp/jobs/watch_sdb.sh 46/108746/3
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>
7 years agoAdd build information to smoke test 45/108745/3
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>
7 years agoAdd sleep to increase sdcard lifetime 44/108744/3
Aleksander Mistewicz [Thu, 8 Dec 2016 12:59:34 +0000 (13:59 +0100)]
Add sleep to increase sdcard lifetime

Change-Id: I0f88c27586054c698ec8644af995101cd7e7a66d

7 years agoReplace deprecated option with a new one 43/108743/3
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>
7 years agoIgnore missing MD5SUMS file, dispatch anyway 42/108742/3
Aleksander Mistewicz [Tue, 6 Dec 2016 11:25:02 +0000 (12:25 +0100)]
Ignore missing MD5SUMS file, dispatch anyway

Change-Id: I59940944b11258d277ae00d8e51da5b8812b544d

7 years agoAdd enlightenment_info to tct/run/smoke_tests.sh 41/108741/3
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>
7 years agoLog failed devices in /var/tmp/failed_devices.log 40/108740/3
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>
7 years agoReplace `tree' with `ls' in tests 39/108739/3
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>
7 years agoPublish results for Tizen 3.0 in separate file 38/108738/3
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>
7 years agoAdd --tizen3 argument to tsp/scripts/publish.py 37/108737/3
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>
7 years agoRemove obsolete tl-pwb mention 36/108736/3
Aleksander Mistewicz [Wed, 16 Nov 2016 13:24:02 +0000 (14:24 +0100)]
Remove obsolete tl-pwb mention

Change-Id: Ied2057e664c665dc97aecd4cfc4727ef51725ec0

7 years agoAdd "--tree" argument to tsp/scripts/crawler.py 33/108733/3
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>
7 years agoLink snapshot results based on profile and target 32/108732/3
Aleksander Mistewicz [Fri, 9 Dec 2016 08:44:36 +0000 (09:44 +0100)]
Link snapshot results based on profile and target

Change-Id: Idcc929b4ef50582fb97bc5ca2ac7ea79a540b529

7 years agoFix false identical reporting 31/108731/3
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>
7 years agoAdd dispatch of tizen common 3.0 images 30/108730/3
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>
7 years agoUse different timestamp for each crawl 29/108729/3
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>
7 years agoAdd timestamp argument to tsp/scripts/crawler.py 28/108728/3
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>
7 years agoMake TITS profile independent 27/108727/3
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>
7 years agoAdd sr2profile() to tsp/common.sh 25/108725/3
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>
7 years agoAdd url2profile() to tsp/common.sh 23/108723/3
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>
7 years agoAdd "No image" to tsp/results-values-result.sql 22/108722/3
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

7 years agoMake crawler universal 20/108720/3
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>
7 years agoSet request timeout in download_all.py 19/108719/3
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>
7 years agoAdd --map argument to tsp/scripts/download_all.py 17/108717/3
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>
7 years agoAdd tsp/scripts/download_all.py 16/108716/3
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>
7 years agoReplace urllib2 with requests in crawler.py 98/95298/6
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>
7 years agoAdd sync after screenshooter install 97/95297/6
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>
7 years agoMove wait_ssh() to tct/conf/conf.sh 96/95296/6
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>
7 years agoLink screenshot only if in a set of screenshotable 93/95293/6
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>
7 years agoAlternate row colors in html results 92/95292/6
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>
7 years agoAdd artik target support 89/95289/5
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>
7 years agoAdd tct/artik_prepare_flash.sh 86/95286/5
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>
7 years agoMove wait_sdb() to tct/conf/conf.sh 85/95285/5
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>
7 years agoAdd mbr64 target support 82/95282/5
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>
7 years agoAdd "--dry-run" argument to download_image.py 78/95278/5
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>
7 years agoSimplify tsp/scripts/download_image.py code 77/95277/5
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>
7 years agoAdd check, install to tct/run/common_test.py 76/95276/5
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>
7 years agoAdd set_usb_mode to tct/prepare/prepare.sh 74/95274/5
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>
7 years agoFix set operation in tsp/scripts/download_image.py 73/95273/5
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>
7 years agoAdd dyper functions to tct/flash/flash.sh 72/95272/5
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>
7 years agoAdd push to SSH and SDB in tct/run/common_test.py 71/95271/5
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>
7 years agoAdd Screenshot to tct/run/common_test.py 69/95269/5
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>
7 years agoAdd pull to SSH and SDB in tct/run/common_test.py 68/95268/5
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>
7 years agoAdd screenshots to tests on odroid images 65/89465/6
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>