diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-12-19 13:04:56 +0100 |
---|---|---|
committer | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2018-01-05 15:30:50 +0100 |
commit | da6320933a8a6b11840949b35c86942453fe2e6f (patch) | |
tree | 1e645f20bc288ede4a35091f8ed550c6d3c3cb12 | |
parent | 8a32d60d008e1be6654d97280e7ba5b0787675b7 (diff) | |
download | weles-sandbox/pwieczorek/demo.tar.gz weles-sandbox/pwieczorek/demo.tar.bz2 weles-sandbox/pwieczorek/demo.zip |
DEMO: add real life use casesandbox/pwieczorek/demo
Change-Id: Icafe861d16c71e522615eeefb4154c1337fed4e6
-rw-r--r-- | demo/demo.sh | 6 | ||||
-rw-r--r-- | demo/smoke.yml | 54 |
2 files changed, 60 insertions, 0 deletions
diff --git a/demo/demo.sh b/demo/demo.sh index 2e5da22..3be599a 100644 --- a/demo/demo.sh +++ b/demo/demo.sh @@ -59,3 +59,9 @@ next colordiff mini.yml parts.yml ./job.sh 'parts.yml' cat /tmp/weles/$(cat id)/TESTFILE/results* + +next +#real life use case +cat smoke.yml +./job.sh 'smoke.yml' +tail -f /tmp/weles/$(cat id)/TESTFILE/results* diff --git a/demo/smoke.yml b/demo/smoke.yml new file mode 100644 index 0000000..268c1d5 --- /dev/null +++ b/demo/smoke.yml @@ -0,0 +1,54 @@ +device_type: rpi3 +job_name: rpi3-smoke-tits +priority: low + +actions: + - deploy: + images: + - uri: http://106.120.51.24/dwn/115486/iot-boot-arm64-rpi3/tizen-unified_20171218.2_iot-boot-arm64-rpi3.tar.gz + compression: gz + checksum_uri: http://106.120.51.24/dwn/115486/iot-boot-arm64-rpi3/MD5SUMS + checksum_type: md5 + - uri: http://106.120.51.24/dwn/115486/iot-headless-2parts-armv7l-rpi3/tizen-unified_20171218.2_iot-headless-2parts-armv7l-rpi3.tar.gz + compression: gz + checksum_uri: http://106.120.51.24/dwn/115486/iot-headless-2parts-armv7l-rpi3/MD5SUMS + checksum_type: md5 + partition_layout: + - id: 1 + image_name: boot.img + - id: 6 + image_name: modules.img + - id: 2 + image_name: rootfs.img + - id: 3 + image_name: system-data.img + - id: 7 + image_name: ramdisk.img + - id: 8 + image_name: ramdisk-recovery.img + - boot: + login: root + password: tizen + - test: + name: smoke + test_cases: + - case_name: top-processes + test_actions: + - run: + name: ps -eo cputime,rss,vsz,pmem,command --sort -cputime | head -n 10 + - case_name: journal + test_actions: + - run: + name: journalctl --no-pager -p err + - case_name: opt_crash + test_actions: + - run: + name: find /opt/usr/share/crash -maxdepth 2 + - case_name: systemctl-failed + test_actions: + - run: + name: systemctl --no-pager --state=failed | cat + - case_name: systemctl-activating + test_actions: + - run: + name: systemctl --no-pager --state=activating | cat |