aboutsummaryrefslogtreecommitdiff
path: root/linaro-art-tip-build-ARTSecondaryHostTest.yaml
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2017-02-22 11:12:44 +0000
committerFathi Boudra <fathi.boudra@linaro.org>2017-03-01 12:08:11 +0000
commitd9eb842d3853d8d91f771dc5b5f7fc5c5e070129 (patch)
tree61a7384ff60d6385758fa1329131db0ccc57a369 /linaro-art-tip-build-ARTSecondaryHostTest.yaml
parent2b6ea26acde2d73b5f870346a4e89aa65b70433f (diff)
ART: Switch VIXL32 tests to use old backend.
Since VIXL32 is now the default backend in AOSP, these tests would do the same thing as the regular host and target tests. Rename the jobs from linaro-art-tip-build-ARTVIXL32{}Test to linaro-art-tip-build-ARTSecondary{}Test We reuse these jobs to test the backend that is not enabled by default, which is now the "old backend" as indicated by the following export: export ART_USE_OLD_ARM_BACKEND=true Change-Id: If870cc4b14fd51d60a9eed6935095bc8a1e01c58
Diffstat (limited to 'linaro-art-tip-build-ARTSecondaryHostTest.yaml')
-rw-r--r--linaro-art-tip-build-ARTSecondaryHostTest.yaml144
1 files changed, 144 insertions, 0 deletions
diff --git a/linaro-art-tip-build-ARTSecondaryHostTest.yaml b/linaro-art-tip-build-ARTSecondaryHostTest.yaml
new file mode 100644
index 0000000000..70cd3be583
--- /dev/null
+++ b/linaro-art-tip-build-ARTSecondaryHostTest.yaml
@@ -0,0 +1,144 @@
+- job:
+ name: linaro-art-tip-build-ARTSecondaryHostTest
+ project-type: freestyle
+ defaults: global
+ description: >
+ Runs the
+ <a href="https://android-git.linaro.org/linaro-art/art-build-scripts.git/tree/tests/test_art_host.sh">Host Tests</a>
+ on the tip.<br> using the secondary "old" (pre-VIXL32) backend.
+ This build can be triggered by adding the comment "IncludeOldAllTests" in your Gerrit patch.<br>
+ This build can be triggered by adding the comment "IncludeOldHostTests" in your Gerrit patch.
+ properties:
+ - authorization:
+ anonymous:
+ - job-discover
+ linaro-android-builders:
+ - job-read
+ - job-extended-read
+ - job-workspace
+ linaro-art:
+ - job-build
+ - job-read
+ - job-extended-read
+ - job-workspace
+ - build-discarder:
+ days-to-keep: 60
+ num-to-keep: 60
+ parameters:
+ - string:
+ name: BUILD_CONFIG_REPO
+ default: 'git://android-git.linaro.org/android-build-configs.git'
+ - string:
+ name: BUILD_CONFIG_BRANCH
+ default: 'master'
+ - string:
+ name: BUILD_CONFIG_FILENAME
+ default: 'linaro-art-tip-aosp_arm64'
+ disabled: false
+ node: docker-utopic-art
+ display-name: 'Tip: Host Test (Old backend)'
+ concurrent: true
+ scm:
+ - git:
+ url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/art.git
+ branches:
+ - origin/master
+ credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
+ skip-tag: true
+ shallow-clone: true
+ wipe-workspace: false
+ triggers:
+ - pollscm: 'H/5 * * * *'
+ - gerrit:
+ server-name: 'dev-private-review.linaro.org'
+ override-votes: true
+ gerrit-build-successful-verified-value: 1
+ gerrit-build-failed-verified-value: -1
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: '.*IncludeOldAllTests.*'
+ - comment-added-contains-event:
+ comment-contains-value: '.*IncludeOldHostTests.*'
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'linaro-art/platform/art'
+ branches:
+ - branch-pattern: 'master'
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'linaro-art/platform/build'
+ branches:
+ - branch-pattern: 'master'
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'linaro-art/platform/external/vixl'
+ branches:
+ - branch-pattern: 'master'
+ wrappers:
+ - timestamps
+ - timeout:
+ timeout: 500
+ - ssh-agent-credentials:
+ users:
+ - '768c1ba1-6052-4b97-a531-7e4fabda6979'
+ builders:
+ - shell: |
+ CI_MAIL_RECIPIENTS="${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL}"
+ CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},vishal.bhoj@linaro.org"
+ CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},daniel.diaz@linaro.org"
+ CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},julien.duraj@linaro.org"
+ echo "CI_MAIL_RECIPIENTS=${CI_MAIL_RECIPIENTS}" > env_var_parameters
+ - inject:
+ properties-file: env_var_parameters
+ - shell: |
+ #!/bin/bash -xe
+
+ # Build scripts
+ ANDROID_BUILD_DIR="${HOME}/srv/${JOB_NAME}/android"
+ ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
+ git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}
+
+ cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
+ ./setup_host.sh
+ ./setup_android.sh
+
+ cd ${ANDROID_BUILD_DIR}
+ export ART_USE_OLD_ARM_BACKEND=true
+ perl scripts/jenkins/test_launcher.pl \
+ scripts/tests/test_art_host.sh
+ publishers:
+ - email-ext:
+ recipients: '${CI_MAIL_RECIPIENTS}'
+ content-type: text
+ body: |
+ Build Triggered by: ${GERRIT_CHANGE_SUBJECT}: ${GERRIT_CHANGE_URL}
+ Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
+ Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
+ Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
+
+ Errors:
+ ${BUILD_LOG_REGEX, regex=".*ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
+ - archive:
+ artifacts: '*.txt, *.xml'
+ - logparser:
+ parse-rules: '/var/lib/jenkins/userContent/android-art.parse'
+ unstable-on-warning: false
+ fail-on-error: false
+ - groovy-postbuild:
+ script:
+ !include-raw:
+ - linaro-art/tests.groovy
+ - linaro-art/global.groovy
+ - plot:
+ - title: 'Sync Time'
+ group: 'Time Measurements'
+ yaxis: 'Seconds'
+ style: line
+ series:
+ - file: time_repo.txt
+ format: properties
+ - title: 'Test Time'
+ group: 'Time Measurements'
+ yaxis: 'Seconds'
+ style: line
+ series:
+ - file: time_test.txt
+ format: properties