aboutsummaryrefslogtreecommitdiff
path: root/jdkX-specjbb2015-benchmark-persist-results.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jdkX-specjbb2015-benchmark-persist-results.yaml')
-rw-r--r--jdkX-specjbb2015-benchmark-persist-results.yaml87
1 files changed, 87 insertions, 0 deletions
diff --git a/jdkX-specjbb2015-benchmark-persist-results.yaml b/jdkX-specjbb2015-benchmark-persist-results.yaml
new file mode 100644
index 0000000000..bcff5f07d6
--- /dev/null
+++ b/jdkX-specjbb2015-benchmark-persist-results.yaml
@@ -0,0 +1,87 @@
+- job:
+ name: jdkX-specjbb2015-benchmark-persist-results
+ project-type: matrix
+ defaults: global
+ description: |
+ * Writes the results to $HOME/srv/openjdkX/SPECjbb2015-nightly-runs.<br>
+ * This job has the client axis <b>disabled</b> until there is enough build/test time available.<br>
+ * If the client axis is enabled the heap size for the VM will need to be adjusted using -Xmxm
+ properties:
+ - authorization:
+ linaro:
+ - job-read
+ openjdk-members:
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 10
+ artifact-num-to-keep: 5
+ disabled: false
+ node: aarch64-06
+ display-name: 'OpenJDK X - Write SPECjbb2015 results'
+ axes:
+ - axis:
+ type: user-defined
+ name: JVM_VARIANT
+ values:
+ - server
+# - client
+ - axis:
+ type: user-defined
+ name: BUILD_TYPE
+ values:
+ - release
+ - axis:
+ type: slave
+ name: label
+ values:
+ - aarch64-06
+ execution-strategy:
+# combination-filter: |
+# JVM_VARIANT=="server"
+ sequential: true
+ wrappers:
+ - workspace-cleanup:
+ dirmatch: false
+ - timestamps
+ - matrix-tie-parent:
+ node: aarch64-06
+ builders:
+ - copyartifact:
+ project: jdkX-specjbb2015-benchmark
+ filter: 'out/specjbb*.gz'
+ target: incoming
+ flatten: true
+ - shell: |
+ #!/bin/bash
+
+ tree -f .
+
+ PERSIST=$HOME/srv/openjdkX
+ TOP_DIR=$PERSIST
+ export SPECJBB_PRODUCT_HOME=$PERSIST/SPECjbb2015
+ mkdir -p $TOP_DIR
+
+ SCRIPT_DIR=$PERSIST/specjbb-test-scripts
+ if [ -d $SCRIPT_DIR ]; then
+ (cd $SCRIPT_DIR; git pull)
+ else
+ git clone https://git.linaro.org/leg/openjdk/specjbb-test-scripts.git $SCRIPT_DIR
+ fi
+
+ source $SCRIPT_DIR/common.sh
+
+ # Ensure nightly results dir exists.
+ mkdir -p $SPECJBB_EXPANDED_RESULTS_DIR
+
+ echo "Previous Results"
+ cat ${RESULTS_CSV}
+ set -eux
+ result_tarball=${WORKSPACE}/incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/specjbb-result-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
+ [ -e $result_tarball ] || exit 1
+ tar -C ${SPECJBB_EXPANDED_RESULTS_DIR} -xf $result_tarball
+ cp incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/*.data.gz ${SPECJBB_EXPANDED_RESULTS_DIR}
+ pushd ${SPECJBB_EXPANDED_RESULTS_DIR}
+ echo "Updating ${RESULTS_CSV}"
+ $SCRIPT_DIR/update-results-csv -- --verbose --output=${RESULTS_CSV}