aboutsummaryrefslogtreecommitdiff
path: root/wa2host.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'wa2host.yaml')
-rw-r--r--wa2host.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/wa2host.yaml b/wa2host.yaml
index 764b735..9ff10f4 100644
--- a/wa2host.yaml
+++ b/wa2host.yaml
@@ -19,7 +19,7 @@ params:
# name of the template for device config
CONFIG: "config-juno.py"
SIGNAL_PREFIX: "workload"
- DEPENDENCIES: "git wget zip xz-utils python python-yaml python-lxml python-setuptools python-numpy python-colorama python-pip sqlite3 libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 android-tools-adb android-tools-fastboot"
+ DEPENDENCIES: "git wget zip xz-utils python python-yaml python-lxml python-setuptools python-numpy python-colorama python-pip sqlite3 libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 android-tools-adb android-tools-fastboot time sysstat openssh-client openssh-server sshpass"
# TODO: build-tools.tar.gz only accessible from Linaro LAVA lab
# TODO: Provide a valid build-tools URL from Json
@@ -31,8 +31,7 @@ params:
install:
steps:
- './install-deps.sh $DEPENDENCIES'
- - './prerequisites.sh'
- - './install-wa2.sh $BUILD_TOOLS_URL $WA_HOME_URL'
+ - './install-wa2.sh $BUILD_TOOLS_URL $WA_HOME_URL $CONFIG'
run:
steps:
@@ -42,7 +41,7 @@ run:
- lava-test-case step2-$SIGNAL_PREFIX-wait-for-ip --shell lava-wait $SIGNAL_PREFIX-send-ip
- lava-test-case step3-$SIGNAL_PREFIX-prepare-config --shell ./prepare-config.py --prefix $SIGNAL_PREFIX --config $CONFIG
- lava-test-case step4-$SIGNAL_PREFIX-run-workload --shell ./run-workload.sh $AGENDA $JOB_NAME
- - if [ -f ./$JOB_NAME/results.csv ]; then lava-test-case-attach step5-$SIGNAL_PREFIX-run-workload ./$JOB_NAME/results.csv; fi
- - if [ -f ./$JOB_NAME/run.log ]; then lava-test-case-attach step6-$SIGNAL_PREFIX-run-workload ./$JOB_NAME/run.log; fi
- - lava-test-case step7-$SIGNAL_PREFIX-tear-down --shell ./tear-down.sh $JOB_NAME
- - lava-test-case step8-$SIGNAL_PREFIX-multinode-sync --shell lava-sync $SIGNAL_PREFIX-finished
+ - tar caf ${JOB_NAME}.tar.xz $JOB_NAME
+ - lava-test-run-attach ${JOB_NAME}.tar.xz
+ - lava-test-case step5-$SIGNAL_PREFIX-tear-down --shell ./tear-down.sh $JOB_NAME
+ - lava-test-case step6-$SIGNAL_PREFIX-multinode-sync --shell lava-sync $SIGNAL_PREFIX-finished