aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2017-11-07 21:32:49 +0530
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-12-06 11:29:20 +0000
commitcb6edcb192091979a9e6d91978b592d4aecf3500 (patch)
treebfbd31a000777107f1ed530b79c819a4c9a21857
parent389484bb510a252b4109acf1c11bf79b23ca0479 (diff)
downloadconfigs-cb6edcb192091979a9e6d91978b592d4aecf3500.tar.gz
openembedded-lkft: juno: mount /dev/sda1 onto /ltp-tmp and use it as TMPDIR for LTP testing
There is a bunch of LTP test failed or skipped on Juno because of NFS mounted file system. This patch mounts /dev/sda1 onto /ltp-tmp which is TMPDIR for LTP testing. The total number of pass tests increased from 944 to 979 outof 1100. If mount failes test job would be aborted as incomplete by the help of LAVA API "lava-test-raise" Ref: ---- ltp: update test definition to allow for TMPDIR settings https://projects.linaro.org/browse/QA-1723 Change-Id: I7c11a4174ca3a59e07def13581b8734c4b7c709d Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rw-r--r--openembedded-lkft/lava-job-definitions/juno-r2/master-template-ltp.yaml.jinja222
1 files changed, 22 insertions, 0 deletions
diff --git a/openembedded-lkft/lava-job-definitions/juno-r2/master-template-ltp.yaml.jinja2 b/openembedded-lkft/lava-job-definitions/juno-r2/master-template-ltp.yaml.jinja2
index 94dac2a19..0d5a2d979 100644
--- a/openembedded-lkft/lava-job-definitions/juno-r2/master-template-ltp.yaml.jinja2
+++ b/openembedded-lkft/lava-job-definitions/juno-r2/master-template-ltp.yaml.jinja2
@@ -67,6 +67,28 @@ actions:
- test:
namespace: oe
timeout:
+ minutes: 10
+ definitions:
+ - from: inline
+ repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: prep-tests
+ description: "Device preparation"
+ run:
+ steps:
+ - lsusb
+ - echo "y" | mkfs -t ext4 /dev/sda1
+ - mkdir -p /ltp-tmp
+ - mount /dev/sda1 /ltp-tmp && echo "mounted" || lava-test-raise "mount /dev/sda1 failed job exit"
+ - df -h
+ - mount
+ name: prep-inline
+ path: inline/prep.yaml
+
+- test:
+ namespace: oe
+ timeout:
minutes: 60
definitions:
- repository: git://git.linaro.org/qa/test-definitions.git