- job:
name: jdk9-specjbb2013-benchmark-persist-results
project-type: matrix
defaults: global
description: |
* Writes the results to /work/openjdk-testing/SPECjbb2013-1.00-nightly-runs.
* This job has the client axis disabled until there is enough build/test time available.
* 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: true
node: aarch64-06
display-name: 'OpenJDK 9u - Write SPECjbb2013 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: jdk9-specjbb2013-benchmark
filter: 'out/specjbb*.gz'
target: incoming
flatten: true
- shell: |
#!/bin/bash
tree -f .
PERSIST=$HOME/srv/openjdk9u
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}