diff options
author | Stuart Monteith <stuart.monteith@linaro.org> | 2016-11-14 18:25:43 +0000 |
---|---|---|
committer | Stuart Monteith <stuart.monteith@linaro.org> | 2016-11-21 14:15:57 +0000 |
commit | fc2b60c5534570c9ab64ff5481b9a4e4aaca452a (patch) | |
tree | b9f73f1e7a916ab4e50b86d238a8dd712f4f523a /jdk8-specjbb2015-benchmark-persist-results.yaml | |
parent | ef827b0389f47243cb53e0bf6b2bd72affb8aa04 (diff) |
jdk: Add SPECjbb2015 jobs
Add jobs for SPECjbb2015
Change-Id: I60edb5abe709657670153a4f5b36547e8f893b3f
Diffstat (limited to 'jdk8-specjbb2015-benchmark-persist-results.yaml')
-rw-r--r-- | jdk8-specjbb2015-benchmark-persist-results.yaml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/jdk8-specjbb2015-benchmark-persist-results.yaml b/jdk8-specjbb2015-benchmark-persist-results.yaml new file mode 100644 index 00000000..3e707701 --- /dev/null +++ b/jdk8-specjbb2015-benchmark-persist-results.yaml @@ -0,0 +1,83 @@ +- job: + name: jdk8-specjbb2015-benchmark-persist-results + project-type: matrix + defaults: global + description: | + * Writes the results to $HOME/srv/openjdk8u/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 + - build-discarder: + days-to-keep: 30 + num-to-keep: 10 + artifact-num-to-keep: 5 + disabled: false + node: aarch64-06 + display-name: 'OpenJDK 8 - 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: jdk8-specjbb2015-benchmark + filter: 'out/specjbb*.gz' + target: incoming + flatten: true + - shell: | + #!/bin/bash + + tree -f . + + PERSIST=$HOME/srv/openjdk8u + TOP_DIR=$PERSIST + 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} |