aboutsummaryrefslogtreecommitdiff
path: root/jdk8-jcstress-test-persist-results.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2016-08-23 15:32:27 +0100
committerStuart Monteith <stuart.monteith@linaro.org>2016-08-23 15:32:27 +0100
commit02db1342199671ec3ce2caaccda29652019fa14b (patch)
treeca44d113a63184f0db7ca4d5123cbb637f76b97f /jdk8-jcstress-test-persist-results.yaml
parent71d863396c8e0b3d01cb2b290c93158b2f889c62 (diff)
downloadconfigs-02db1342199671ec3ce2caaccda29652019fa14b.tar.gz
jdk8: Fix jcstress results processing
Add missing label field and tolerate missing results.csv file. Change-Id: Id2a008e392fe1f6803917580fc724a1ca700ee2a
Diffstat (limited to 'jdk8-jcstress-test-persist-results.yaml')
-rw-r--r--jdk8-jcstress-test-persist-results.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/jdk8-jcstress-test-persist-results.yaml b/jdk8-jcstress-test-persist-results.yaml
index 5285cb3eb..59120f380 100644
--- a/jdk8-jcstress-test-persist-results.yaml
+++ b/jdk8-jcstress-test-persist-results.yaml
@@ -29,6 +29,11 @@
name: BUILD_TYPE
values:
- release
+ - axis:
+ type: slave
+ name: label
+ values:
+ - aarch64-06
execution-strategy:
# combination-filter: |
# JVM_VARIANT=="server"
@@ -63,8 +68,14 @@
JCSTRESS_RUN_DIR=$PERSIST/jcstress-nightly-runs
JCSTRESS_RESULTS_DIR=$PERSIST/jcstress-results
RESULTS_CSV=${JCSTRESS_RESULTS_DIR}/results.csv
+
+ # Tolerate missing results.csv file.
+ if [ ! -f $RESULTS_CSV ]; then
+ touch $RESULTS_CSV
+ fi
+
mkdir -p ${JCSTRESS_RESULTS_DIR} ${JCSTRESS_RUN_DIR}/${YEAR}/${DAY_OF_YEAR}
- tar -C ${JCSTRESS_RUN_DIR}/${YEAR}/${DAY_OF_YEAR} --strip-components=1 -xf incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT}/jcstress-results-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
+ tar -C ${JCSTRESS_RUN_DIR}/${YEAR}/${DAY_OF_YEAR} --strip-components=1 -xf incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/jcstress-results-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
numeric_date=$(date +'%s' --date=$(date +'%Y-%m-%d'))
echo "Previous Results"
cat ${RESULTS_CSV}