diff options
author | Arthur She <arthur.she@linaro.org> | 2014-12-22 11:05:50 -0800 |
---|---|---|
committer | Arthur She <arthur.she@linaro.org> | 2014-12-22 11:05:50 -0800 |
commit | 4a8a83f0c2ac70cf966220c8008b131ef3e45ffe (patch) | |
tree | 08e9d10bfb5b5384d41126edd04696e539682a8b |
83 files changed, 12486 insertions, 0 deletions
@@ -0,0 +1,23 @@ +This repository contains the Jenkins job configurations used by Linaro CI. + +Jenkins job builder +=================== + +Jenkins Job Builder takes simple descriptions of Jenkins jobs in YAML format, +and uses them to configure Jenkins. + +Configurations +============== + +In order to keep the jobs consistent, please follow this guideline: + * Job name + - lower case + - avoid spacing + * YAML + - file name matching the job name + +TODO +==== + * YAML header contains maintainer name + * enable markdown formatter + diff --git a/coresight.yaml b/coresight.yaml new file mode 100644 index 0000000..37fcd22 --- /dev/null +++ b/coresight.yaml @@ -0,0 +1,115 @@ +- job: + name: coresight + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - job-workspace + parameters: + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + display-name: 'Coresight' + scm: + - git: + url: http://git.linaro.org/kernel/coresight.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + skip-tag: true + shallow-clone: true + wipe-workspace: false + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf lci-build-tools + rm -rf builddir* + rm -rf out + rm -rf configs + } + + export LANG=C + CCACHE_DIR="$HOME/ccache" + CCACHE_UNIFY=1 + CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros + export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS + export use_ccache=true + + export hwpack_type=vexpress + export kernel_flavour=vexpress + export use_config_fragment=1 + export conf_filenames="arch/arm/configs/vexpress_defconfig linaro/configs/coresight.conf" + export MAKE_DTBS=true + export toolchain_url="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz" + + # XXX + mkdir -p linaro/configs + cat << EOF > linaro/configs/coresight.conf + CONFIG_CORESIGHT=y + CONFIG_CORESIGHT_LINKS_AND_SINKS=y + CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y + CONFIG_CORESIGHT_SINK_TPIU=y + CONFIG_CORESIGHT_SINK_ETBV10=y + CONFIG_CORESIGHT_SOURCE_ETM3X=y + CONFIG_LBDAF=y + EOF + + test -d lci-build-tools || git clone https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools + bash lci-build-tools/jenkins_kernel_build_inst + + # Start LAVA dance + test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + export HWPACK_BUILD_URL=http://snapshots.linaro.org/kernel-hwpack/vexpress-coresight/${BUILD_NUMBER}/`ls hwpack_linaro-${hwpack_type}_*_armhf_supported.tar.gz` + export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz + export ROOTFS_BUILD_NUMBER=301 + export DEVICE_TYPE=vexpress-tc2 + export BUNDLE_STREAM_NAME=/public/team/linaro/coresight/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + + ./lci-build-tools/yaml-to-json.py configs/${JOB_NAME}/lava-job-definitions/vexpress-tc2/template.yaml > custom_lava_job_definition.json + + cat << EOF > post_build_lava_parameters + DEVICE_TYPE=${DEVICE_TYPE} + BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} + CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json + LAVA_SERVER=${LAVA_SERVER} + EOF + + # XXX + mkdir -p out + cp -a builddir-*-${kernel_flavour}/.config out/kernel.config + mv hwpack_linaro-${hwpack_type}_*_armhf_supported.* out/ + + ${HOME}/bin/linaro-cp out kernel-hwpack/vexpress-coresight/${BUILD_NUMBER} + + CCACHE_DIR=${CCACHE_DIR} ccache -M 20G + CCACHE_DIR=${CCACHE_DIR} ccache -s + - trigger-builds: + - project: 'post-build-lava' + property-file: post_build_lava_parameters + publishers: + - email: + recipients: 'mathieu.poirier@linaro.org fathi.boudra@linaro.org' diff --git a/coresight/lava-job-definitions/vexpress-tc2/template.yaml b/coresight/lava-job-definitions/vexpress-tc2/template.yaml new file mode 100644 index 0000000..f1e6967 --- /dev/null +++ b/coresight/lava-job-definitions/vexpress-tc2/template.yaml @@ -0,0 +1,57 @@ +actions: + - command: deploy_linaro_image + parameters: + hwpack: '${HWPACK_BUILD_URL}' + rootfs: '${ROOTFS_BUILD_URL}' + metadata: + distribution: 'openembedded' + hwpack.build: '${BUILD_NUMBER}' + hwpack.type: '${hwpack_type}' + rootfs.build: '${ROOTFS_BUILD_NUMBER}' + rootfs.type: 'minimal-armv7a-gcc-4.9' + git URL: '${GIT_URL}' + git branch: '${GIT_BRANCH}' + git commit: '${GIT_COMMIT}' + - command: boot_linaro_image + parameters: + boot_cmds: + - 'sendline a' + - 'expect Choice:' + - 'sendline 3' + - 'expect Delete entry:' + - 'sendline 1' + - 'expect Choice:' + - 'sendline 1' + - 'expect Select the Boot Device:' + - 'sendline 4' + - 'expect File path of the EFI Application or the kernel:' + - 'sendline uImage' + - 'expect Boot Type: [a] ATAGS, [g] Global FDT or [l] Local FDT? [a/g/l]' + - 'sendline l' + - 'expect Add an initrd: [y/n]' + - 'sendline y' + - 'expect File path of the initrd' + - 'sendline uInitrd' + - 'expect Arguments to pass to the binary:' + - 'sendline console=tty0 console=ttyAMA0,38400n8 root=/dev/sda1 rootwait ro' + - 'expect File path of the local FDT:' + - 'sendline v2p-ca15-tc2.dtb' + - 'expect Description for this new Entry:' + - 'sendline LAVA Test Image' + - 'expect Choice:' + - 'sendline 5' + - 'expect Start:' + - 'sendline 1' + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'git://git.linaro.org/people/vijay.dandiga/test-definitions.git' + testdef: 'openembedded/coresight-test-new.yaml' + timeout: 1800 + - command: submit_results + parameters: + server: 'http://${LAVA_SERVER}' + stream: '${BUNDLE_STREAM_NAME}' +device_type: '${DEVICE_TYPE}' +job_name: '${BUILD_URL}' +timeout: 3600 diff --git a/linaro-edk2-capsule.yaml b/linaro-edk2-capsule.yaml new file mode 100644 index 0000000..f5ec647 --- /dev/null +++ b/linaro-edk2-capsule.yaml @@ -0,0 +1,82 @@ +- job: + name: linaro-edk2-capsule + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + parameters: + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + display-name: 'Linaro EDK II - Capsule' + scm: + - git: + url: http://git.linaro.org/git/uefi/linaro-edk2.git + refspec: +refs/heads/linaro-topic-capsule:refs/remotes/origin/linaro-topic-capsule + name: origin + branches: + - origin/linaro-topic-capsule + basedir: linaro-edk2 + skip-tag: true + shallow-clone: true + clean: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-aarch64-linux-gnu-4.8-2014.04_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + set -ex + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf arm64-tc + rm -rf uefi-tools + rm -rf out + } + + # Install custom toolchain + mkdir arm64-tc + tar --strip-components=1 -C ${WORKSPACE}/arm64-tc -xf gcc-linaro-aarch64-linux-gnu-4.8-*_linux.tar.xz + export PATH="${WORKSPACE}/arm64-tc/bin:$PATH" + + git clone git://git.linaro.org/uefi/uefi-tools.git + + export AARCH64_TOOLCHAIN=GCC48 + export EDK2_DIR=${WORKSPACE}/linaro-edk2 + export UEFI_TOOLS_DIR=${WORKSPACE}/uefi-tools + export JENKINS_WORKSPACE=${WORKSPACE} + unset WORKSPACE + + cd ${EDK2_DIR} + ${UEFI_TOOLS_DIR}/uefi-build.sh -b RELEASE fvp + + unset WORKSPACE + export WORKSPACE=${JENKINS_WORKSPACE} + + cd ${WORKSPACE} + mkdir out + cp -a ${EDK2_DIR}/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC48/FV/*.fd out/ + ${HOME}/bin/linaro-cp out components/kernel/${JOB_NAME}/${BUILD_NUMBER} + publishers: + - email: + recipients: 'fathi.boudra@linaro.org' diff --git a/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json b/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json new file mode 100644 index 0000000..22800ec --- /dev/null +++ b/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json @@ -0,0 +1,65 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "customize": { + "boot:/fvp": [ + "delete" + ], + "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/Image_leg_armv8_UpdateCapsule_test": [ + "boot:/Image" + ], + "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp-base-gicv2-psci.dtb_UpdateCapsule_test": [ + "boot:/fvp-base-gicv2-psci.dtb" + ], + "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp_bl1.bin": [ + "boot:/fvp_bl1.bin" + ], + "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp_fip.bin": [ + "boot:/fvp_fip.bin" + ], + "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/uefi_update_capsule_example_v2.txt": [ + "rootfs:/uefi_update_capsule_example.txt" + ] + }, + "image": "${IMAGE_URL}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline 2", + "expect or any other key to continue.", + "sendline " + ] + } + }, + { + "command": "lava_test_shell", + "parameters": + { + "testdef_repos": [ + { + "parameters": + { + "EXAMPLE_FILE_URL": "/uefi_update_capsule_example.txt" + }, + "url": "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/uefi_update_capsule_temp.yaml" + }] + } + }, + { + "command": "submit_results", + "parameters": { + "server": "http://${LAVA_SERVER}", + "stream": "${BUNDLE_STREAM_NAME}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.yaml b/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.yaml new file mode 100644 index 0000000..583d7ad --- /dev/null +++ b/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.yaml @@ -0,0 +1,37 @@ +actions: + - command: deploy_linaro_image + parameters: + bootloadertype: 'uefi' + customize: + 'boot:/fvp': + - 'delete' + 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/Image_leg_armv8_UpdateCapsule_test': + - 'boot:/Image' + 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp-base-gicv2-psci.dtb_UpdateCapsule_test': + - 'boot:/fvp-base-gicv2-psci.dtb' + 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp_bl1.bin': + - 'boot:/fvp_bl1.bin' + 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp_fip.bin': + - 'boot:/fvp_fip.bin' + 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/uefi_update_capsule_example_v2.txt': + - 'rootfs:/uefi_update_capsule_example.txt' + image: '${IMAGE_URL}' + - command: boot_linaro_image + parameters: + boot_cmds: + - 'sendline 2' + - 'expect or any other key to continue.' + - 'sendline ' + - command: lava_test_shell + parameters: + testdef_repos: + - parameters: + EXAMPLE_FILE_URL: '/uefi_update_capsule_example.txt' + url: 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/uefi_update_capsule_temp.yaml' + - command: submit_results + parameters: + server: 'http://${LAVA_SERVER}' + stream: '${BUNDLE_STREAM_NAME}' +device_type: '${DEVICE_TYPE}' +job_name: '${BUILD_URL}' +timeout: 18000 diff --git a/linux-arm-soc-for-next.yaml b/linux-arm-soc-for-next.yaml new file mode 100644 index 0000000..d328d54 --- /dev/null +++ b/linux-arm-soc-for-next.yaml @@ -0,0 +1,129 @@ +- job: + name: linux-arm-soc-for-next + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + parameters: + - file: + name: defconfig.properties + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + child-workspace: . + display-name: 'Linux ARM SoC Kernel (for-next)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git + refspec: +refs/heads/for-next:refs/remotes/origin/for-next + name: origin + branches: + - origin/for-next + skip-tag: true + shallow-clone: true + wipe-workspace: false + axes: + - axis: + type: user-defined + name: ARCH + values: + - arm + - arm64 + - axis: + type: dynamic + name: defconfig + values: + - defconfig_list + - axis: + type: slave + name: label + values: + - build + execution-strategy: + combination-filter: | + (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") + sequential: true + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz + - gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + - matrix-tie-parent: + node: build + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf lci-build-tools + rm -rf builddir* + rm -rf out + rm -rf configs + } + + export LANG=C + CCACHE_DIR="$HOME/ccache" + CCACHE_UNIFY=1 + CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros + export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS + export use_ccache=true + export silent=true + export make_deb=false + export make_bootwrapper=false + export make_install=true + export kernel_flavour="${defconfig}" + export kernel_config="${defconfig}_defconfig" + export MAKE_DTBS=true + export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz" + + [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" + [ "${ARCH}" = "arm64" ] && export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz" + + # XXX work around vexpress defconfig + #echo "CONFIG_DEVTMPFS=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_DEVTMPFS_MOUNT=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_REGULATOR=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_REGULATOR_VEXPRESS=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_EXT4_FS=y" >> arch/arm/configs/vexpress_defconfig + + test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools + bash lci-build-tools/jenkins_kernel_build_inst + + # XXX b2120 vmlinux + [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true + # XXX mustang uImage + [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true + + # Publish to snapshots + ${HOME}/bin/linaro-cp out kernel-hwpack/linux-arm-soc-for-next/${defconfig}/${BUILD_NUMBER} + + CCACHE_DIR=${CCACHE_DIR} ccache -M 20G + CCACHE_DIR=${CCACHE_DIR} ccache -s + + # Start LAVA dance + test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + export BUNDLE_STREAM_NAME=/anonymous/fabo/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-arm-soc-for-next/${defconfig}/${BUILD_NUMBER} + export DTB_URL=${KERNEL_URL}/dtbs + export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz + [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz + + # Hack to use submit LAVA jobs directly + python lci-build-tools/dtb-to-device.py diff --git a/linux-eas.yaml b/linux-eas.yaml new file mode 100644 index 0000000..614a94b --- /dev/null +++ b/linux-eas.yaml @@ -0,0 +1,111 @@ +- job: + name: linux-eas + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + parameters: + - file: + name: defconfig.properties + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + child-workspace: . + display-name: 'Linux EAS' + scm: + - git: + url: http://git.linaro.org/kernel/eas-backports.git + refspec: +refs/heads/eas-test:refs/remotes/origin/eas-test + name: origin + branches: + - origin/eas-test + skip-tag: true + shallow-clone: true + wipe-workspace: false + axes: + - axis: + type: user-defined + name: ARCH + values: + - arm + - axis: + type: dynamic + name: defconfig + values: + - defconfig_list + - axis: + type: slave + name: label + values: + - build + execution-strategy: + combination-filter: | + (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") + sequential: true + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + - matrix-tie-parent: + node: build + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf lci-build-tools + rm -rf builddir* + rm -rf out + rm -rf configs + } + + export LANG=C + CCACHE_DIR="$HOME/ccache" + CCACHE_UNIFY=1 + CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros + export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS + export use_ccache=true + export silent=true + export make_deb=false + export make_bootwrapper=false + export make_install=true + export kernel_flavour="${defconfig}" + export kernel_config="${defconfig}_defconfig" + export MAKE_DTBS=true + export toolchain_url="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz" + + test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools + bash lci-build-tools/jenkins_kernel_build_inst + + # Publish to snapshots + ${HOME}/bin/linaro-cp out kernel-hwpack/linux-eas/${defconfig}/${BUILD_NUMBER} + + CCACHE_DIR=${CCACHE_DIR} ccache -M 20G + CCACHE_DIR=${CCACHE_DIR} ccache -s + + # Start LAVA dance + test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + export BUNDLE_STREAM_NAME=/public/team/linaro/eas/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-eas/${defconfig}/${BUILD_NUMBER} + export DTB_URL=${KERNEL_URL}/dtbs + export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz + + # Hack to use submit LAVA jobs directly + python lci-build-tools/dtb-to-device.py diff --git a/linux-kernel-ci/lava-job-definitions/b2120stxh407/template.yaml b/linux-kernel-ci/lava-job-definitions/b2120stxh407/template.yaml new file mode 100644 index 0000000..0865934 --- /dev/null +++ b/linux-kernel-ci/lava-job-definitions/b2120stxh407/template.yaml @@ -0,0 +1,20 @@ +actions: + - command: deploy_linaro_kernel + parameters: + dtb: '${DTB_URL}/${DTB}' + kernel: '${KERNEL_URL}/vmlinux' + nfsrootfs: '${ROOTFS_BUILD_URL}' + metadata: + build id: '${BUILD_NUMBER}' + defconfig: '${kernel_config}' + git URL: '${GIT_URL}' + git branch: '${GIT_BRANCH}' + git commit: '${GIT_COMMIT}' + - command: boot_linaro_image + - command: submit_results + parameters: + server: 'http://${LAVA_SERVER}' + stream: '${BUNDLE_STREAM_NAME}' +device_type: '${DEVICE_TYPE}' +job_name: '${BUILD_URL}' +timeout: 3600 diff --git a/linux-kernel-ci/lava-job-definitions/generic/template.yaml b/linux-kernel-ci/lava-job-definitions/generic/template.yaml new file mode 100644 index 0000000..0160958 --- /dev/null +++ b/linux-kernel-ci/lava-job-definitions/generic/template.yaml @@ -0,0 +1,20 @@ +actions: + - command: deploy_linaro_kernel + parameters: + dtb: '${DTB_URL}/${DTB}' + kernel: '${KERNEL_URL}/${KERNEL}' + nfsrootfs: '${ROOTFS_BUILD_URL}' + metadata: + build id: '${BUILD_NUMBER}' + defconfig: '${kernel_config}' + git URL: '${GIT_URL}' + git branch: '${GIT_BRANCH}' + git commit: '${GIT_COMMIT}' + - command: boot_linaro_image + - command: submit_results + parameters: + server: 'http://${LAVA_SERVER}' + stream: '${BUNDLE_STREAM_NAME}' +device_type: '${DEVICE_TYPE}' +job_name: '${BUILD_URL}' +timeout: 3600 diff --git a/linux-kernel-ci/lava-job-definitions/hi3716cv200/template.yaml b/linux-kernel-ci/lava-job-definitions/hi3716cv200/template.yaml new file mode 100644 index 0000000..4f76575 --- /dev/null +++ b/linux-kernel-ci/lava-job-definitions/hi3716cv200/template.yaml @@ -0,0 +1,20 @@ +actions: + - command: deploy_linaro_kernel + parameters: + dtb: '${DTB_URL}/${DTB}' + kernel: '${KERNEL_URL}/${KERNEL}' + ramdisk: '${ROOTFS_BUILD_URL}' + metadata: + build id: '${BUILD_NUMBER}' + defconfig: '${kernel_config}' + git URL: '${GIT_URL}' + git branch: '${GIT_BRANCH}' + git commit: '${GIT_COMMIT}' + - command: boot_linaro_image + - command: submit_results + parameters: + server: 'http://${LAVA_SERVER}' + stream: '${BUNDLE_STREAM_NAME}' +device_type: '${DEVICE_TYPE}' +job_name: '${BUILD_URL}' +timeout: 3600 diff --git a/linux-kernel-ci/lava-job-definitions/mustang/template.yaml b/linux-kernel-ci/lava-job-definitions/mustang/template.yaml new file mode 100644 index 0000000..f3d3835 --- /dev/null +++ b/linux-kernel-ci/lava-job-definitions/mustang/template.yaml @@ -0,0 +1,20 @@ +actions: + - command: deploy_linaro_kernel + parameters: + dtb: '${DTB_URL}/${DTB}' + kernel: '${KERNEL_URL}/uImage' + nfsrootfs: '${ROOTFS_BUILD_URL}' + metadata: + build id: '${BUILD_NUMBER}' + defconfig: '${kernel_config}' + git URL: '${GIT_URL}' + git branch: '${GIT_BRANCH}' + git commit: '${GIT_COMMIT}' + - command: boot_linaro_image + - command: submit_results + parameters: + server: 'http://${LAVA_SERVER}' + stream: '${BUNDLE_STREAM_NAME}' +device_type: '${DEVICE_TYPE}' +job_name: '${BUILD_URL}' +timeout: 3600 diff --git a/linux-leg.yaml b/linux-leg.yaml new file mode 100644 index 0000000..96823fa --- /dev/null +++ b/linux-leg.yaml @@ -0,0 +1,160 @@ +- job: + name: linux-leg + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - job-workspace + parameters: + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + child-workspace: . + display-name: 'LEG Kernel' + scm: + - git: + url: git://git.linaro.org/leg/acpi/leg-kernel.git + refspec: +refs/heads/leg-kernel:refs/remotes/origin/leg-kernel + name: origin + branches: + - origin/leg-kernel + skip-tag: true + shallow-clone: true + wipe-workspace: false + axes: + - axis: + type: user-defined + name: hwpack + values: + - vexpress + - vexpress64 + - axis: + type: slave + name: label + values: + - build + execution-strategy: + sequential: true + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz + - gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + - matrix-tie-parent: + node: build + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf lci-build-tools + rm -rf builddir* + rm -rf out + } + + export use_config_fragment=1 + export MAKE_DTBS=true + export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz" + export rootfs_arch="armv7a" + export rootfs_type="alip" + + case "${hwpack}" in + vexpress) + export hwpack_type="vexpress" + export board_types="rtsm_ve-a15x1-a7x1" + export kernel_flavour="vexpress" + export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/vexpress.conf linaro/configs/distribution.conf linaro/configs/acpi.conf linaro/configs/efi.conf" + ;; + vexpress64) + export hwpack_type="vexpress64" + export board_types="rtsm_fvp_base-aemv8a" + export kernel_flavour="vexpress64" + export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/vexpress64.conf linaro/configs/distribution.conf linaro/configs/acpi.conf linaro/configs/efi.conf" + export ARCH="arm64" + export toolchain_url="https://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz" + export rootfs_arch="armv8" + export rootfs_type="lamp" + ;; + esac + + test -d lci-build-tools || git clone https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools + bash lci-build-tools/jenkins_kernel_build_inst + + # Get rootfs + rm -f linaro-image-${rootfs_type}-generic*.tar.gz + export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=4.9,label=build,rootfs=${rootfs_type}/lastSuccessfulBuild/buildNumber` + export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=4.9,label=build,rootfs=${rootfs_type}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` + export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/${rootfs_type}-${rootfs_arch}-gcc-4.9/${ROOTFS_BUILD_NUMBER}/linaro-image-${rootfs_type}-generic${rootfs_arch}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz" + wget --progress=dot -e dotbytes=2M ${ROOTFS_BUILD_URL} + + # Create pre-built image(s) + linaro-media-create --dev fastmodel --output-directory ${WORKSPACE} --image-size 2G --binary linaro-image-${rootfs_type}-generic${rootfs_arch}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz --hwpack hwpack_linaro-${hwpack_type}*.tar.gz --hwpack-force + + # Compress image(s) + mv sd.img ${hwpack}-leg-sd.img + gzip -9 ${hwpack}-leg-sd.img + + mkdir out + cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${hwpack} + case "${hwpack}" in + vexpress) + cp -a builddir-*-${kernel_flavour}/arch/arm/boot/zImage out/zImage_${hwpack} + ;; + vexpress64) + cp -a builddir-*-${kernel_flavour}/arch/arm64/boot/Image out/Image_${hwpack} + ;; + esac + mv hwpack_* out/ + mv ${hwpack}-leg-sd.img.gz out/ + mv *.bin out/ + + # Publish to snapshots + ${HOME}/bin/linaro-cp out kernel-hwpack/linux-leg-${hwpack}/${BUILD_NUMBER} + + # Create post-build-lava parameters + cat << EOF > post_build_lava_parameters + HWPACK_JOB_NAME=${JOB_NAME} + HWPACK_BUILD_NUMBER=${BUILD_NUMBER} + HWPACK_FILE_NAME=`ls hwpack_linaro-${hwpack_type}*.tar.gz` + IMAGE_URL=https://snapshots.linaro.org/kernel-hwpack/linux-leg-${hwpack}/${BUILD_NUMBER}/${hwpack}-leg-sd.img.gz + BUNDLE_STREAM_NAME=/private/team/linaro/leg-kernel/ + LAVA_TEST_PLAN='' + DEVICE_TYPE=${board_types} + DEPLOY_IMAGE_PARAMETERS_URL=${JOB_URL}/ws/deploy_image_parameters.json + BOOT_IMAGE_PARAMETERS_URL=${JOB_URL}/ws/boot_image_parameters.json + EOF + + # Custom deploy_linaro_image parameters + cat << EOF > ${WORKSPACE}/deploy_image_parameters.json + { + "bootloadertype": "uefi" + } + EOF + + # Custom boot_linaro_image parameters + cat << EOF > boot_image_parameters.json + { + "boot_cmds": ["sendline b"] + } + EOF + - trigger-builds: + - project: 'post-build-lava' + property-file: post_build_lava_parameters + publishers: + - email: + recipients: 'graeme.gregory@linaro.org fathi.boudra@linaro.org ilias.biris@linaro.org' diff --git a/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/arndale/template.json b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/arndale/template.json new file mode 100644 index 0000000..583ecf3 --- /dev/null +++ b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/arndale/template.json @@ -0,0 +1,34 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs-efi.json b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs-efi.json new file mode 100644 index 0000000..3446b39 --- /dev/null +++ b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs-efi.json @@ -0,0 +1,422 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "customize": { + "${STARTUP_NSH}": ["boot:/EFI/BOOT/startup.nsh"] + }, + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline 3", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendcontrol [", + "sendcontrol M", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 2", + "expect or any other key to continue.", + "sendline " + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs.json b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs.json new file mode 100644 index 0000000..a2370a8 --- /dev/null +++ b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs.json @@ -0,0 +1,400 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template-efi.json b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template-efi.json new file mode 100644 index 0000000..a724ba5 --- /dev/null +++ b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template-efi.json @@ -0,0 +1,394 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "customize": { + "${STARTUP_NSH}": ["boot:/EFI/BOOT/startup.nsh"] + }, + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline 3", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendcontrol [", + "sendcontrol M", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 2", + "expect or any other key to continue.", + "sendline " + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template.json b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template.json new file mode 100644 index 0000000..4945d68 --- /dev/null +++ b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/juno/template.json @@ -0,0 +1,400 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/panda-es/template.json b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/panda-es/template.json new file mode 100644 index 0000000..ce61286 --- /dev/null +++ b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/panda-es/template.json @@ -0,0 +1,35 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "dtb": "omap4-panda-es.dtb", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json new file mode 100644 index 0000000..62c0b5c --- /dev/null +++ b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json @@ -0,0 +1,137 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "options": [ + "cluster0.NUM_CORES=2", + "cluster1.NUM_CORES=3" + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 172800 +} diff --git a/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/vexpress-tc2/template.json b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/vexpress-tc2/template.json new file mode 100644 index 0000000..84e7939 --- /dev/null +++ b/linux-linaro-stable-lsk-pre-merge/lava-job-definitions/vexpress-tc2/template.json @@ -0,0 +1,65 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline a", + "expect Choice:", + "sendline 3", + "expect Delete entry:", + "sendline 1", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendline 4", + "expect File path of the EFI Application or the kernel:", + "sendline uImage", + "expect Boot Type: [a] ATAGS, [g] Global FDT or [l] Local FDT? [a/g/l]", + "sendline l", + "expect Add an initrd: [y/n]", + "sendline y", + "expect File path of the initrd", + "sendline uInitrd", + "expect Arguments to pass to the binary:", + "sendline console=tty0 console=ttyAMA0,38400n8 root=/dev/sda1 rootwait ro", + "expect File path of the local FDT:", + "sendline v2p-ca15-tc2.dtb", + "expect Description for this new Entry:", + "sendline LAVA Test Image", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 1" + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-rt-pre-merge/lava-job-definitions/arndale/template.json b/linux-linaro-stable-lsk-rt-pre-merge/lava-job-definitions/arndale/template.json new file mode 100644 index 0000000..afe7330 --- /dev/null +++ b/linux-linaro-stable-lsk-rt-pre-merge/lava-job-definitions/arndale/template.json @@ -0,0 +1,55 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-rt-pre-merge/lava-job-definitions/panda-es/template.json b/linux-linaro-stable-lsk-rt-pre-merge/lava-job-definitions/panda-es/template.json new file mode 100644 index 0000000..5704223 --- /dev/null +++ b/linux-linaro-stable-lsk-rt-pre-merge/lava-job-definitions/panda-es/template.json @@ -0,0 +1,56 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "dtb": "omap4-panda-es.dtb", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-rt/lava-job-definitions/arndale/template.json b/linux-linaro-stable-lsk-rt/lava-job-definitions/arndale/template.json new file mode 100644 index 0000000..afe7330 --- /dev/null +++ b/linux-linaro-stable-lsk-rt/lava-job-definitions/arndale/template.json @@ -0,0 +1,55 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-rt/lava-job-definitions/panda-es/template.json b/linux-linaro-stable-lsk-rt/lava-job-definitions/panda-es/template.json new file mode 100644 index 0000000..5704223 --- /dev/null +++ b/linux-linaro-stable-lsk-rt/lava-job-definitions/panda-es/template.json @@ -0,0 +1,56 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "dtb": "omap4-panda-es.dtb", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/arndale/template.json b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/arndale/template.json new file mode 100644 index 0000000..583ecf3 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/arndale/template.json @@ -0,0 +1,34 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs-efi.json b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs-efi.json new file mode 100644 index 0000000..3446b39 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs-efi.json @@ -0,0 +1,422 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "customize": { + "${STARTUP_NSH}": ["boot:/EFI/BOOT/startup.nsh"] + }, + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline 3", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendcontrol [", + "sendcontrol M", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 2", + "expect or any other key to continue.", + "sendline " + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs.json b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs.json new file mode 100644 index 0000000..a2370a8 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template-armv7a-rootfs.json @@ -0,0 +1,400 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template-efi.json b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template-efi.json new file mode 100644 index 0000000..a724ba5 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template-efi.json @@ -0,0 +1,394 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "customize": { + "${STARTUP_NSH}": ["boot:/EFI/BOOT/startup.nsh"] + }, + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline 3", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendcontrol [", + "sendcontrol M", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 2", + "expect or any other key to continue.", + "sendline " + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template.json b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template.json new file mode 100644 index 0000000..4945d68 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/juno/template.json @@ -0,0 +1,400 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/panda-es/template.json b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/panda-es/template.json new file mode 100644 index 0000000..ce61286 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/panda-es/template.json @@ -0,0 +1,35 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "dtb": "omap4-panda-es.dtb", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json new file mode 100644 index 0000000..62c0b5c --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json @@ -0,0 +1,137 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "options": [ + "cluster0.NUM_CORES=2", + "cluster1.NUM_CORES=3" + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 172800 +} diff --git a/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/vexpress-tc2/template.json b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/vexpress-tc2/template.json new file mode 100644 index 0000000..84e7939 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-pre-merge/lava-job-definitions/vexpress-tc2/template.json @@ -0,0 +1,65 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline a", + "expect Choice:", + "sendline 3", + "expect Delete entry:", + "sendline 1", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendline 4", + "expect File path of the EFI Application or the kernel:", + "sendline uImage", + "expect Boot Type: [a] ATAGS, [g] Global FDT or [l] Local FDT? [a/g/l]", + "sendline l", + "expect Add an initrd: [y/n]", + "sendline y", + "expect File path of the initrd", + "sendline uInitrd", + "expect Arguments to pass to the binary:", + "sendline console=tty0 console=ttyAMA0,38400n8 root=/dev/sda1 rootwait ro", + "expect File path of the local FDT:", + "sendline v2p-ca15-tc2.dtb", + "expect Description for this new Entry:", + "sendline LAVA Test Image", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 1" + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-rt-pre-merge/lava-job-definitions/arndale/template.json b/linux-linaro-stable-lsk-v3.14-rt-pre-merge/lava-job-definitions/arndale/template.json new file mode 100644 index 0000000..afe7330 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-rt-pre-merge/lava-job-definitions/arndale/template.json @@ -0,0 +1,55 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-rt-pre-merge/lava-job-definitions/beaglebone-black/template.json b/linux-linaro-stable-lsk-v3.14-rt-pre-merge/lava-job-definitions/beaglebone-black/template.json new file mode 100644 index 0000000..b1534b4 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-rt-pre-merge/lava-job-definitions/beaglebone-black/template.json @@ -0,0 +1,55 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-rt-pre-merge/lava-job-definitions/panda-es/template.json b/linux-linaro-stable-lsk-v3.14-rt-pre-merge/lava-job-definitions/panda-es/template.json new file mode 100644 index 0000000..5704223 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-rt-pre-merge/lava-job-definitions/panda-es/template.json @@ -0,0 +1,56 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "dtb": "omap4-panda-es.dtb", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/arndale/template.json b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/arndale/template.json new file mode 100644 index 0000000..afe7330 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/arndale/template.json @@ -0,0 +1,55 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 10800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json new file mode 100644 index 0000000..b1534b4 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json @@ -0,0 +1,55 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/panda-es/template.json b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/panda-es/template.json new file mode 100644 index 0000000..5704223 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/panda-es/template.json @@ -0,0 +1,56 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "dtb": "omap4-panda-es.dtb", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp-realtime.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14/lava-job-definitions/arndale/template.json b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/arndale/template.json new file mode 100644 index 0000000..583ecf3 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/arndale/template.json @@ -0,0 +1,34 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template-armv7a-rootfs-efi.json b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template-armv7a-rootfs-efi.json new file mode 100644 index 0000000..3446b39 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template-armv7a-rootfs-efi.json @@ -0,0 +1,422 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "customize": { + "${STARTUP_NSH}": ["boot:/EFI/BOOT/startup.nsh"] + }, + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline 3", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendcontrol [", + "sendcontrol M", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 2", + "expect or any other key to continue.", + "sendline " + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template-armv7a-rootfs.json b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template-armv7a-rootfs.json new file mode 100644 index 0000000..a2370a8 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template-armv7a-rootfs.json @@ -0,0 +1,400 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template-efi.json b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template-efi.json new file mode 100644 index 0000000..a724ba5 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template-efi.json @@ -0,0 +1,394 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "customize": { + "${STARTUP_NSH}": ["boot:/EFI/BOOT/startup.nsh"] + }, + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline 3", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendcontrol [", + "sendcontrol M", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 2", + "expect or any other key to continue.", + "sendline " + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template.json b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template.json new file mode 100644 index 0000000..4945d68 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/juno/template.json @@ -0,0 +1,400 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk-v3.14/lava-job-definitions/panda-es/template.json b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/panda-es/template.json new file mode 100644 index 0000000..ce61286 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/panda-es/template.json @@ -0,0 +1,35 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "dtb": "omap4-panda-es.dtb", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk-v3.14/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json new file mode 100644 index 0000000..62c0b5c --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json @@ -0,0 +1,137 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "options": [ + "cluster0.NUM_CORES=2", + "cluster1.NUM_CORES=3" + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 172800 +} diff --git a/linux-linaro-stable-lsk-v3.14/lava-job-definitions/vexpress-tc2/template.json b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/vexpress-tc2/template.json new file mode 100644 index 0000000..84e7939 --- /dev/null +++ b/linux-linaro-stable-lsk-v3.14/lava-job-definitions/vexpress-tc2/template.json @@ -0,0 +1,65 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline a", + "expect Choice:", + "sendline 3", + "expect Delete entry:", + "sendline 1", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendline 4", + "expect File path of the EFI Application or the kernel:", + "sendline uImage", + "expect Boot Type: [a] ATAGS, [g] Global FDT or [l] Local FDT? [a/g/l]", + "sendline l", + "expect Add an initrd: [y/n]", + "sendline y", + "expect File path of the initrd", + "sendline uInitrd", + "expect Arguments to pass to the binary:", + "sendline console=tty0 console=ttyAMA0,38400n8 root=/dev/sda1 rootwait ro", + "expect File path of the local FDT:", + "sendline v2p-ca15-tc2.dtb", + "expect Description for this new Entry:", + "sendline LAVA Test Image", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 1" + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk/lava-job-definitions/arndale/template.json b/linux-linaro-stable-lsk/lava-job-definitions/arndale/template.json new file mode 100644 index 0000000..583ecf3 --- /dev/null +++ b/linux-linaro-stable-lsk/lava-job-definitions/arndale/template.json @@ -0,0 +1,34 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk/lava-job-definitions/juno/template-armv7a-rootfs-efi.json b/linux-linaro-stable-lsk/lava-job-definitions/juno/template-armv7a-rootfs-efi.json new file mode 100644 index 0000000..3446b39 --- /dev/null +++ b/linux-linaro-stable-lsk/lava-job-definitions/juno/template-armv7a-rootfs-efi.json @@ -0,0 +1,422 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "customize": { + "${STARTUP_NSH}": ["boot:/EFI/BOOT/startup.nsh"] + }, + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline 3", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendcontrol [", + "sendcontrol M", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 2", + "expect or any other key to continue.", + "sendline " + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk/lava-job-definitions/juno/template-armv7a-rootfs.json b/linux-linaro-stable-lsk/lava-job-definitions/juno/template-armv7a-rootfs.json new file mode 100644 index 0000000..a2370a8 --- /dev/null +++ b/linux-linaro-stable-lsk/lava-job-definitions/juno/template-armv7a-rootfs.json @@ -0,0 +1,400 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv7a-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk/lava-job-definitions/juno/template-efi.json b/linux-linaro-stable-lsk/lava-job-definitions/juno/template-efi.json new file mode 100644 index 0000000..a724ba5 --- /dev/null +++ b/linux-linaro-stable-lsk/lava-job-definitions/juno/template-efi.json @@ -0,0 +1,394 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "customize": { + "${STARTUP_NSH}": ["boot:/EFI/BOOT/startup.nsh"] + }, + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline 3", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendcontrol [", + "sendcontrol M", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 2", + "expect or any other key to continue.", + "sendline " + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk/lava-job-definitions/juno/template.json b/linux-linaro-stable-lsk/lava-job-definitions/juno/template.json new file mode 100644 index 0000000..4945d68 --- /dev/null +++ b/linux-linaro-stable-lsk/lava-job-definitions/juno/template.json @@ -0,0 +1,400 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 7200, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "syscalls", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "openembedded/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/linux-linaro-stable-lsk/lava-job-definitions/panda-es/template.json b/linux-linaro-stable-lsk/lava-job-definitions/panda-es/template.json new file mode 100644 index 0000000..ce61286 --- /dev/null +++ b/linux-linaro-stable-lsk/lava-job-definitions/panda-es/template.json @@ -0,0 +1,35 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "dtb": "omap4-panda-es.dtb", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-stable-lsk/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json b/linux-linaro-stable-lsk/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json new file mode 100644 index 0000000..62c0b5c --- /dev/null +++ b/linux-linaro-stable-lsk/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json @@ -0,0 +1,137 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "bootloadertype": "uefi", + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "lamp-armv8-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "options": [ + "cluster0.NUM_CORES=2", + "cluster1.NUM_CORES=3" + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/busybox.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/device-tree.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/ethernet.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/kernel-version.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/perf.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/toolchain.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 18000, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/libhugetlbfs.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "testdef": "openembedded/pointer-tagging-tests.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 172800 +} diff --git a/linux-linaro-stable-lsk/lava-job-definitions/vexpress-tc2/template.json b/linux-linaro-stable-lsk/lava-job-definitions/vexpress-tc2/template.json new file mode 100644 index 0000000..84e7939 --- /dev/null +++ b/linux-linaro-stable-lsk/lava-job-definitions/vexpress-tc2/template.json @@ -0,0 +1,65 @@ +{ + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "${HWPACK_BUILD_URL}", + "rootfs": "${ROOTFS_BUILD_URL}" + }, + "metadata": { + "distribution": "openembedded", + "hwpack.build": "${BUILD_NUMBER}", + "hwpack.type": "${hwpack_type}", + "rootfs.build": "${ROOTFS_BUILD_NUMBER}", + "rootfs.type": "minimal-armv7ab-gcc-4.9", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "sendline a", + "expect Choice:", + "sendline 3", + "expect Delete entry:", + "sendline 1", + "expect Choice:", + "sendline 1", + "expect Select the Boot Device:", + "sendline 4", + "expect File path of the EFI Application or the kernel:", + "sendline uImage", + "expect Boot Type: [a] ATAGS, [g] Global FDT or [l] Local FDT? [a/g/l]", + "sendline l", + "expect Add an initrd: [y/n]", + "sendline y", + "expect File path of the initrd", + "sendline uInitrd", + "expect Arguments to pass to the binary:", + "sendline console=tty0 console=ttyAMA0,38400n8 root=/dev/sda1 rootwait ro", + "expect File path of the local FDT:", + "sendline v2p-ca15-tc2.dtb", + "expect Description for this new Entry:", + "sendline LAVA Test Image", + "expect Choice:", + "sendline 5", + "expect Start:", + "sendline 1" + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 3600 +} diff --git a/linux-linaro-tracking-ll.yaml b/linux-linaro-tracking-ll.yaml new file mode 100644 index 0000000..c28abec --- /dev/null +++ b/linux-linaro-tracking-ll.yaml @@ -0,0 +1,81 @@ +- job: + name: linux-linaro-tracking-ll + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + parameters: + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + child-workspace: . + display-name: 'linux-linaro kernel' + scm: + - git: + url: git://git.linaro.org/kernel/linux-linaro-tracking.git + refspec: +refs/heads/linux-linaro:refs/remotes/origin/linux-linaro + name: origin + branches: + - origin/linux-linaro + skip-tag: true + shallow-clone: true + wipe-workspace: false + axes: + - axis: + type: user-defined + name: hwpack + values: + - arndale + - arndale-octa + - arndale-uprobes + - beaglebone + - beaglebone-uprobes + - ifc6410 + - panda + - vexpress + - vexpress64 + - axis: + type: slave + name: label + values: + - build + execution-strategy: + sequential: true + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz + - gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + - matrix-tie-parent: + node: build + builders: + - shell: | + #!/bin/bash + + rm -rf linux-linaro-kernel-ci + git clone --depth 1 -b ll git://git.linaro.org/ci/linux-linaro-kernel-ci.git + bash linux-linaro-kernel-ci/ll-ci.sh</command> + - trigger-builds: + - project: 'post-build-lava' + property-file: post_build_lava_parameters + publishers: + - archive: + artifacts: 'post_build_lava_parameters, custom_lava_job_definition.json, kernel_config_ifc6410, zImage_ifc6410, *-linaro-ifc6410-*.deb' + - email-ext: + recipients: 'andrey.konovalov@linaro.org, fathi.boudra@linaro.org' + attach-build-log: true + matrix-trigger: both + - trigger: + project: 'linux-linaro-tracking-ll-ifc6410-image' + threshold: SUCCESS diff --git a/linux-ltsi.yaml b/linux-ltsi.yaml new file mode 100644 index 0000000..1b919c8 --- /dev/null +++ b/linux-ltsi.yaml @@ -0,0 +1,126 @@ +- job: + name: linux-ltsi + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + parameters: + - file: + name: defconfig.properties + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + child-workspace: . + display-name: 'Linux LTSI Kernel (linux-3.14.y)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git + refspec: +refs/heads/linux-3.14.y:refs/remotes/origin/linux-3.14.y + name: origin + branches: + - origin/linux-3.14.y + skip-tag: true + shallow-clone: true + wipe-workspace: false + axes: + - axis: + type: user-defined + name: ARCH + values: + - arm + - arm64 + - axis: + type: dynamic + name: defconfig + values: + - defconfig_list + - axis: + type: slave + name: label + values: + - build + execution-strategy: + combination-filter: | + (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") + sequential: true + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz + - gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + - matrix-tie-parent: + node: build + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf lci-build-tools + rm -rf builddir* + rm -rf out + rm -rf configs + } + + export LANG=C + CCACHE_DIR="$HOME/ccache" + CCACHE_UNIFY=1 + CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros + export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS + export use_ccache=true + export silent=true + export make_deb=false + export make_bootwrapper=false + export make_install=true + export kernel_flavour="${defconfig}" + export kernel_config="${defconfig}_defconfig" + export MAKE_DTBS=true + export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz" + + [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" + [ "${ARCH}" = "arm64" ] && export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz" + + git rev-parse -q --verify 3.14.4-ltsi > /dev/null && git branch -D 3.14.4-ltsi + test -d ltsi-kernel || git clone --depth 1 http://git.linuxfoundation.org/ltsi-kernel.git + bash ltsi-kernel/scripts/generate_git + + test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools + bash lci-build-tools/jenkins_kernel_build_inst + + # XXX b2120 vmlinux + [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true + # XXX mustang uImage + [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true + + # Publish to snapshots + ${HOME}/bin/linaro-cp out kernel-hwpack/linux-ltsi/${defconfig}/${BUILD_NUMBER} + + CCACHE_DIR=${CCACHE_DIR} ccache -M 20G + CCACHE_DIR=${CCACHE_DIR} ccache -s + + # Start LAVA dance + test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + export BUNDLE_STREAM_NAME=/anonymous/fabo/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-ltsi/${defconfig}/${BUILD_NUMBER} + export DTB_URL=${KERNEL_URL}/dtbs + export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz + [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz + + # Hack to use submit LAVA jobs directly + python lci-build-tools/dtb-to-device.py diff --git a/linux-mainline.yaml b/linux-mainline.yaml new file mode 100644 index 0000000..edf9c42 --- /dev/null +++ b/linux-mainline.yaml @@ -0,0 +1,129 @@ +- job: + name: linux-mainline + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + parameters: + - file: + name: defconfig.properties + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + child-workspace: . + display-name: 'Linux Mainline Kernel (master)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + skip-tag: true + shallow-clone: true + wipe-workspace: false + axes: + - axis: + type: user-defined + name: ARCH + values: + - arm + - arm64 + - axis: + type: dynamic + name: defconfig + values: + - defconfig_list + - axis: + type: slave + name: label + values: + - build + execution-strategy: + combination-filter: | + (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") + sequential: true + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz + - gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + - matrix-tie-parent: + node: build + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf lci-build-tools + rm -rf builddir* + rm -rf out + rm -rf configs + } + + export LANG=C + CCACHE_DIR="$HOME/ccache" + CCACHE_UNIFY=1 + CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros + export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS + export use_ccache=true + export silent=true + export make_deb=false + export make_bootwrapper=false + export make_install=true + export kernel_flavour="${defconfig}" + export kernel_config="${defconfig}_defconfig" + export MAKE_DTBS=true + export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz" + + [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" + [ "${ARCH}" = "arm64" ] && export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz" + + # XXX work around vexpress defconfig + #echo "CONFIG_DEVTMPFS=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_DEVTMPFS_MOUNT=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_REGULATOR=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_REGULATOR_VEXPRESS=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_EXT4_FS=y" >> arch/arm/configs/vexpress_defconfig + + test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools + bash lci-build-tools/jenkins_kernel_build_inst + + # XXX b2120 vmlinux + [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true + # XXX mustang uImage + [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true + + # Publish to snapshots + ${HOME}/bin/linaro-cp out kernel-hwpack/linux-mainline/${defconfig}/${BUILD_NUMBER} + + CCACHE_DIR=${CCACHE_DIR} ccache -M 20G + CCACHE_DIR=${CCACHE_DIR} ccache -s + + # Start LAVA dance + test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + export BUNDLE_STREAM_NAME=/anonymous/fabo/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-mainline/${defconfig}/${BUILD_NUMBER} + export DTB_URL=${KERNEL_URL}/dtbs + export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz + [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz + + # Hack to use submit LAVA jobs directly + python lci-build-tools/dtb-to-device.py diff --git a/linux-next.yaml b/linux-next.yaml new file mode 100644 index 0000000..6dde944 --- /dev/null +++ b/linux-next.yaml @@ -0,0 +1,129 @@ +- job: + name: linux-next + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + parameters: + - file: + name: defconfig.properties + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + child-workspace: . + display-name: 'Linux Next (master)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + skip-tag: true + shallow-clone: true + wipe-workspace: false + axes: + - axis: + type: user-defined + name: ARCH + values: + - arm + - arm64 + - axis: + type: dynamic + name: defconfig + values: + - defconfig_list + - axis: + type: slave + name: label + values: + - build + execution-strategy: + combination-filter: | + (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") + sequential: true + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz + - gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + - matrix-tie-parent: + node: build + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf lci-build-tools + rm -rf builddir* + rm -rf out + rm -rf configs + } + + export LANG=C + CCACHE_DIR="$HOME/ccache" + CCACHE_UNIFY=1 + CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros + export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS + export use_ccache=true + export silent=true + export make_deb=false + export make_bootwrapper=false + export make_install=true + export kernel_flavour="${defconfig}" + export kernel_config="${defconfig}_defconfig" + export MAKE_DTBS=true + export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz" + + [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" + [ "${ARCH}" = "arm64" ] && export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz" + + # XXX work around vexpress defconfig + #echo "CONFIG_DEVTMPFS=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_DEVTMPFS_MOUNT=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_REGULATOR=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_REGULATOR_VEXPRESS=y" >> arch/arm/configs/vexpress_defconfig + #echo "CONFIG_EXT4_FS=y" >> arch/arm/configs/vexpress_defconfig + + test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools + bash lci-build-tools/jenkins_kernel_build_inst + + # XXX b2120 vmlinux + [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true + # XXX mustang uImage + [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true + + # Publish to snapshots + ${HOME}/bin/linaro-cp out kernel-hwpack/linux-next/${defconfig}/${BUILD_NUMBER} + + CCACHE_DIR=${CCACHE_DIR} ccache -M 20G + CCACHE_DIR=${CCACHE_DIR} ccache -s + + # Start LAVA dance + test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + export BUNDLE_STREAM_NAME=/anonymous/fabo/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-next/${defconfig}/${BUILD_NUMBER} + export DTB_URL=${KERNEL_URL}/dtbs + export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz + [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz + + # Hack to use submit LAVA jobs directly + python lci-build-tools/dtb-to-device.py diff --git a/linux-stable.yaml b/linux-stable.yaml new file mode 100644 index 0000000..bc1966e --- /dev/null +++ b/linux-stable.yaml @@ -0,0 +1,128 @@ +- job: + name: linux-stable + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + parameters: + - file: + name: defconfig.properties + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + child-workspace: . + display-name: 'Linux Stable Kernel (linux-3.14.y)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git + refspec: +refs/heads/linux-3.14.y:refs/remotes/origin/linux-3.14.y + name: origin + branches: + - origin/linux-3.14.y + skip-tag: true + shallow-clone: true + wipe-workspace: false + axes: + - axis: + type: user-defined + name: ARCH + values: + - arm + - arm64 + - axis: + type: dynamic + name: defconfig + values: + - defconfig_list + - axis: + type: slave + name: label + values: + - build + execution-strategy: + combination-filter: | + (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") + sequential: true + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz + - gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + - matrix-tie-parent: + node: build + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf lci-build-tools + rm -rf builddir* + rm -rf out + rm -rf configs + } + + export LANG=C + CCACHE_DIR="$HOME/ccache" + CCACHE_UNIFY=1 + CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros + export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS + export use_ccache=true + export silent=true + export make_deb=false + export make_bootwrapper=false + export make_install=true + export kernel_flavour="${defconfig}" + export kernel_config="${defconfig}_defconfig" + export MAKE_DTBS=true + export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz" + + [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" + [ "${ARCH}" = "arm64" ] && export toolchain_url="http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz" + + # XXX upstream doesn't use config fragments - pick up from LSK + #mkdir -p linaro/configs + #for conf_filename in ${conf_filenames[@]}; do + # wget -q "https://git.linaro.org/gitweb?p=kernel/linux-linaro-stable.git;a=blob_plain;f=${conf_filename};hb=refs/heads/linux-linaro-lsk-v3.10" -O ${conf_filename} + #done + + test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools + bash lci-build-tools/jenkins_kernel_build_inst + + # XXX b2120 vmlinux + [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true + # XXX mustang uImage + [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true + + # Publish to snapshots + ${HOME}/bin/linaro-cp out kernel-hwpack/linux-stable/${defconfig}/${BUILD_NUMBER} + + CCACHE_DIR=${CCACHE_DIR} ccache -M 20G + CCACHE_DIR=${CCACHE_DIR} ccache -s + + # Start LAVA dance + test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + export BUNDLE_STREAM_NAME=/anonymous/fabo/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-stable/${defconfig}/${BUILD_NUMBER} + export DTB_URL=${KERNEL_URL}/dtbs + export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz + [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz + + # Hack to use submit LAVA jobs directly + python lci-build-tools/dtb-to-device.py diff --git a/lt-hisilicon-hix5hd2.yaml b/lt-hisilicon-hix5hd2.yaml new file mode 100644 index 0000000..c614954 --- /dev/null +++ b/lt-hisilicon-hix5hd2.yaml @@ -0,0 +1,92 @@ +- job: + name: LT-HiSilicon-hix5hd2 + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + parameters: + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + disabled: false + node: build + display-name: 'HiSilicon LT - hix5hd2' + scm: + - git: + url: http://git.linaro.org/git/landing-teams/working/hisilicon/kernel.git + refspec: +refs/heads/hix5hd2:refs/remotes/origin/hix5hd2 + name: origin + branches: + - origin/hix5hd2 + skip-tag: true + shallow-clone: true + wipe-workspace: false + wrappers: + - timestamps + - copy-to-slave: + includes: + - gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + rm -rf lci-build-tools + rm -rf builddir* + rm -rf out + rm -rf configs + } + + export LANG=C + CCACHE_DIR="$HOME/ccache" + CCACHE_UNIFY=1 + CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros + export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS + export use_ccache=true + + export make_deb=false + export make_bootwrapper=false + export make_install=true + export kernel_flavour=hix5hd2 + export kernel_config=hix5hd2_defconfig + export MAKE_DTBS=true + export toolchain_url="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz" + + test -d lci-build-tools || git clone https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools + bash lci-build-tools/jenkins_kernel_build_inst + + # XXX Append DTB + #cat out/zImage out/dtbs/hix5hd2-dkb.dtb > out/zImage-dtb + + # Publish to snapshots + ${HOME}/bin/linaro-cp out kernel-hwpack/${JOB_NAME}/${BUILD_NUMBER} + + CCACHE_DIR=${CCACHE_DIR} ccache -M 20G + CCACHE_DIR=${CCACHE_DIR} ccache -s + + # Start LAVA dance + test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + export BUNDLE_STREAM_NAME=/public/team/hisilicon/hix5hd2/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/${JOB_NAME}/${BUILD_NUMBER} + export DTB_URL=${KERNEL_URL}/dtbs + export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-initramfs-armv7a/linaro-image-minimal-initramfs-genericarmv7a-20141121-301.rootfs.cpio.gz.u-boot + + # Hack to use submit LAVA jobs directly + python lci-build-tools/dtb-to-device.py + publishers: + - email: + recipients: 'guodong.xu@linaro.org fathi.boudra@linaro.org' diff --git a/lt-qcom-ubuntu-images-tracking.yaml b/lt-qcom-ubuntu-images-tracking.yaml new file mode 100644 index 0000000..371ca93 --- /dev/null +++ b/lt-qcom-ubuntu-images-tracking.yaml @@ -0,0 +1,206 @@ +- job: + name: lt-qcom-ubuntu-images-tracking + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - job-workspace + parameters: + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + - file: + name: lt-qcom-ubuntu-images_parameters + - string: + name: UBUNTU_FLAVOUR + default: 'utopic' + - string: + name: PLATFORM_NAME + default: 'qcom-snapdragon-tracking' + - string: + name: ROOTFS + default: 'developer' + disabled: false + node: precise_cloud + display-name: 'Qualcomm Ubuntu based images (tracking)' + wrappers: + - timestamps + - copy-to-slave: + includes: + - linaro-cp.py + relative-to: userContent + builders: + - copyartifact: + project: LT-QCOM-tracking-tree + flatten: true + optional: true + - shell: | + #!/bin/bash + + set -e + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + # MOVED TEMPORARY + # sudo rm -rf binary out qcom-firmware + rm -f linaro-${UBUNTU_FLAVOUR}-*.tar.gz *.dtb *.deb + } + + sudo rm -rf binary out qcom-firmware initrd.img-* + + # added KERNEL_FLAVOUR to filter out -dbg package when CONFIG_DEBUG_INFO is set + linux_image=`ls linux-image-*-linaro-${KERNEL_FLAVOUR}_*-linaro-${KERNEL_FLAVOUR}-*.deb` + version=`date +%Y%m%d`-${BUILD_NUMBER} + + cat > README.txt << EOF + This build is using artifacts from the following builds: + Kernel build: ${KERNEL_BUILD_JENKINS} + EOF + + + for rootfs in ${ROOTFS}; do + # Remove artifacts from previous builds + sudo rm -f linaro-${UBUNTU_FLAVOUR}-${rootfs}* + sudo rm -rf binary + + # Get rootfs + export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-rootfs/label=build,rootfs=${rootfs}/lastSuccessfulBuild/buildNumber` + export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-rootfs/label=build,rootfs=${rootfs}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` + export ROOTS_BUILD_URL="http://snapshots.linaro.org/ubuntu/images/${rootfs}/${ROOTFS_BUILD_NUMBER}/linaro-${UBUNTU_FLAVOUR}-${rootfs}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.tar.gz" + wget --progress=dot -e dotbytes=2M ${ROOTS_BUILD_URL} -O linaro-${UBUNTU_FLAVOUR}-${rootfs}.tar.gz + + case "${rootfs}" in + developer) + # Create initrd using the -developer rootfs + # once initrd is finished, we clean up to avoid left-over from schroot + sudo tar --numeric-owner -zxf linaro-${UBUNTU_FLAVOUR}-${rootfs}.tar.gz + sudo cp -a ${linux_image} binary/ + + schroot -c ifc6410-lt-tracking -d / -u root -- dpkg -i ${linux_image} + cp -a binary/boot/initrd.img-* . + sudo rm -rf binary + ;; + esac + + # now, we are ready to make the final rootfs + sudo tar --numeric-owner -zxf linaro-${UBUNTU_FLAVOUR}-${rootfs}.tar.gz + + # for both -dev and -gnome, other in -gnome date is not correct at boot. probably an + # issue to investigate with ntp/ntpdate/network-manager + cat << EOF | sudo tee -a binary/etc/network/interfaces + + auto lo + iface lo inet loopback + + auto eth0 + iface eth0 inet dhcp + EOF + + # Inject kernel modules + sudo dpkg-deb -x ${linux_image} binary/ + sudo find binary/boot -type f -delete + sudo rm -f binary/linux-image-*.deb + + sudo rm -rf binary/dev + sudo mkdir binary/dev + sudo mkdir -p binary/lib/firmware + + cat << EOF | sudo tee -a binary/etc/fstab + LABEL=qcom-firmware /lib/firmware ext4 defaults 0 0 + EOF + + # Generate sparse image to reduce .img file size + sudo make_ext4fs -o -L rootfs -l 2G -s linaro-${UBUNTU_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${version}.img binary/ + gzip -9 linaro-${UBUNTU_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${version}.img + + cat >> README.txt << EOF + Linaro Ubuntu ${rootfs} build: http://snapshots.linaro.org/ubuntu/images/${rootfs}/${ROOTFS_BUILD_NUMBER} + EOF + + done + + # create the boot partition + cat > bootimg.cfg << EOF + bootsize = 0x900000 + pagesize = 0x800 + kerneladdr = 0x80208000 + ramdiskaddr = 0x83000000 + secondaddr = 0x81100000 + tagsaddr = 0x80200100 + name = linaro-${PLATFORM_NAME} + cmdline = console=tty0 console=${KERNEL_SERIAL_CONSOLE} root=/dev/mmcblk0p13 rootwait rw text + EOF + + # create one boot image for each DTB we have around, since we need to append DTB to zImage + # fixup.bin used to fixup loader to boot mainline on Qualcomm platforms that needs adjustment of + # ATAG MEM. + for f in `find . -maxdepth 1 -name '*.dtb' -print` ; do + target=`basename $f .dtb` + if [ -f fixup-$target.bin ]; then + cat fixup-$target.bin zImage $f > zImage-dtb + else + cat zImage $f > zImage-dtb + fi + abootimg --create boot-${target}-${PLATFORM_NAME}-${version}.img -f bootimg.cfg -k zImage-dtb -r initrd.img-* + gzip -9 boot-${target}-${PLATFORM_NAME}-${version}.img + done + + # create an empty partition, placeholder for proprietary firmware + # do no create sparse file, so that the file can be easily loop mounted + rm -rf qcom-firmware firmware-${PLATFORM_NAME}.img + fakeroot mkdir qcom-firmware + fakeroot make_ext4fs -L qcom-firmware -l 64M firmware-${PLATFORM_NAME}-${version}.img qcom-firmware/ + gzip -9 firmware-${PLATFORM_NAME}-${version}.img + + # Publish to snapshots + mkdir out + sudo mv *.cfg *.img.gz *.deb zImage kernel_config README.txt `find . -maxdepth 1 -name 'fixup-*.bin' -print` out/ + + # create MD5SUMS file + (cd out && md5sum * > MD5SUMS.txt) + + #python ${WORKSPACE}/linaro-cp.py out ubuntu/pre-built/snapdragon/${BUILD_NUMBER} + - shell: | + VERSION=`date +%Y%m%d`-${BUILD_NUMBER} + + export BOOT_URL=${BUILD_URL}/artifact/out/boot-qcom-apq8064-ifc6410-${PLATFORM_NAME}-${VERSION}.img.gz + export DATA_URL=${BUILD_URL}/artifact/out/linaro-${UBUNTU_FLAVOUR}-developer-${PLATFORM_NAME}-${VERSION}.img.gz + export SYSTEM_URL=${BUILD_URL}/artifact/out/firmware-${PLATFORM_NAME}-${VERSION}.img.gz + + export DEVICE_TYPE=ifc6410 + export BUNDLE_STREAM_NAME=/public/team/linaro/lt-qualcomm/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + + rm -rf configs lci-build-tools + git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git + git clone --depth 1 http://git.linaro.org/ci/job/configs.git + ./lci-build-tools/yaml-to-json.py configs/lt-qcom-ubuntu-images-tracking/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json + + cat << EOF > post_build_lava_parameters + DEVICE_TYPE=${DEVICE_TYPE} + BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} + CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json + LAVA_SERVER=${LAVA_SERVER} + EOF + - trigger-builds: + - project: 'post-build-lava' + property-file: post_build_lava_parameters + publishers: + - archive: + artifacts: 'out/*' + latest-only: true + - email: + recipients: 'nicolas.dechesne@linaro.org fathi.boudra@linaro.org' + - ircbot: + channels: + - name: '#linaro-lt-qcomm' + password: ${LT_QCOM_KEY} diff --git a/lt-qcom-ubuntu-images-tracking/lava-job-definitions/ifc6410/template.json b/lt-qcom-ubuntu-images-tracking/lava-job-definitions/ifc6410/template.json new file mode 100644 index 0000000..448a63d --- /dev/null +++ b/lt-qcom-ubuntu-images-tracking/lava-job-definitions/ifc6410/template.json @@ -0,0 +1,417 @@ +{ + "actions": [ + { + "command": "deploy_linaro_android_image", + "parameters": { + "boot": "${BOOT_URL}", + "data": "${DATA_URL}", + "system": "${SYSTEM_URL}", + "target_type": "ubuntu" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/device-tree.yaml" + } + ], + "timeout": 800 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "PWR_TESTARG": "cpufreq" + }, + "testdef": "ubuntu/pwrmgmt.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "PWR_TESTARG": "cpuidle" + }, + "testdef": "ubuntu/pwrmgmt.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "PWR_TESTARG": "cpuhotplug" + }, + "testdef": "ubuntu/pwrmgmt.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "PWR_TESTARG": "cputopology" + }, + "testdef": "ubuntu/pwrmgmt.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/smoke-tests-basic.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/usb-tests-basic.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/network-tests-basic.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/device_read_perf.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TEST": "cpu" + }, + "testdef": "ubuntu/sysbench.yaml" + } + ], + "timeout": 8000 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/lt-qcom-ubuntu-images-tracking/lava-job-definitions/ifc6410/template.yaml b/lt-qcom-ubuntu-images-tracking/lava-job-definitions/ifc6410/template.yaml new file mode 100644 index 0000000..eb10777 --- /dev/null +++ b/lt-qcom-ubuntu-images-tracking/lava-job-definitions/ifc6410/template.yaml @@ -0,0 +1,229 @@ +actions: + - command: deploy_linaro_android_image + parameters: + boot: '${BOOT_URL}' + data: '${DATA_URL}' + system: '${SYSTEM_URL}' + target_type: 'ubuntu' + - command: boot_linaro_image + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/device-tree.yaml' + timeout: 800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/pwrmgmt.yaml' + parameters: + PWR_TESTARG: 'cpufreq' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/pwrmgmt.yaml' + parameters: + PWR_TESTARG: 'cpuidle' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/pwrmgmt.yaml' + parameters: + PWR_TESTARG: 'cpuhotplug' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/pwrmgmt.yaml' + parameters: + PWR_TESTARG: 'cputopology' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/smoke-tests-basic.yaml' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/usb-tests-basic.yaml' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/network-tests-basic.yaml' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/device_read_perf.yaml' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/sysbench.yaml' + parameters: + TEST: 'cpu' + timeout: 8000 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'math' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'timers' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'fcntl-locktests' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'ipc' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'fsx' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'fs' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'hugetlb' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'io' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'nptl' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'pty' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'containers' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'fs_bind' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'filecaps' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'admin_tools' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'connectors' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'mm' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: submit_results + parameters: + server: 'http://${LAVA_SERVER}' + stream: '${BUNDLE_STREAM_NAME}' +device_type: '${DEVICE_TYPE}' +job_name: '${BUILD_URL}' +timeout: 18000 diff --git a/lt-qcom-ubuntu-images.yaml b/lt-qcom-ubuntu-images.yaml new file mode 100644 index 0000000..e5cfb42 --- /dev/null +++ b/lt-qcom-ubuntu-images.yaml @@ -0,0 +1,206 @@ +- job: + name: lt-qcom-ubuntu-images + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - job-workspace + parameters: + - password: + name: PUBLISH_KEY + default: ${PUBLISH_KEY} + - file: + name: lt-qcom-ubuntu-images_parameters + - string: + name: UBUNTU_FLAVOUR + default: 'utopic' + - string: + name: PLATFORM_NAME + default: 'qcom-snapdragon' + - string: + name: ROOTFS + default: 'developer gnome' + disabled: false + node: precise_cloud + display-name: 'Qualcomm Ubuntu based images' + wrappers: + - timestamps + - copy-to-slave: + includes: + - linaro-cp.py + relative-to: userContent + builders: + - copyartifact: + project: LT-QCOM-working-tree + flatten: true + optional: true + - shell: | + #!/bin/bash + + set -e + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + # MOVED TEMPORARY + # sudo rm -rf binary out qcom-firmware + rm -f linaro-${UBUNTU_FLAVOUR}-*.tar.gz *.dtb *.deb + } + + sudo rm -rf binary out qcom-firmware initrd.img-* + + # added KERNEL_FLAVOUR to filter out -dbg package when CONFIG_DEBUG_INFO is set + linux_image=`ls linux-image-*-linaro-${KERNEL_FLAVOUR}_*-linaro-${KERNEL_FLAVOUR}-*.deb` + version=`date +%Y%m%d`-${BUILD_NUMBER} + + cat > README.txt << EOF + This build is using artifacts from the following builds: + Kernel build: ${KERNEL_BUILD_JENKINS} + EOF + + + for rootfs in ${ROOTFS}; do + # Remove artifacts from previous builds + sudo rm -f linaro-${UBUNTU_FLAVOUR}-${rootfs}* + sudo rm -rf binary + + # Get rootfs + export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-rootfs/label=build,rootfs=${rootfs}/lastSuccessfulBuild/buildNumber` + export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-rootfs/label=build,rootfs=${rootfs}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` + export ROOTS_BUILD_URL="http://snapshots.linaro.org/ubuntu/images/${rootfs}/${ROOTFS_BUILD_NUMBER}/linaro-${UBUNTU_FLAVOUR}-${rootfs}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.tar.gz" + wget --progress=dot -e dotbytes=2M ${ROOTS_BUILD_URL} -O linaro-${UBUNTU_FLAVOUR}-${rootfs}.tar.gz + + case "${rootfs}" in + developer) + # Create initrd using the -developer rootfs + # once initrd is finished, we clean up to avoid left-over from schroot + sudo tar --numeric-owner -zxf linaro-${UBUNTU_FLAVOUR}-${rootfs}.tar.gz + sudo cp -a ${linux_image} binary/ + + schroot -c ifc6410-lt -d / -u root -- dpkg -i ${linux_image} + cp -a binary/boot/initrd.img-* . + sudo rm -rf binary + ;; + esac + + # now, we are ready to make the final rootfs + sudo tar --numeric-owner -zxf linaro-${UBUNTU_FLAVOUR}-${rootfs}.tar.gz + + # for both -dev and -gnome, other in -gnome date is not correct at boot. probably an + # issue to investigate with ntp/ntpdate/network-manager + cat << EOF | sudo tee -a binary/etc/network/interfaces + + auto lo + iface lo inet loopback + + auto eth0 + iface eth0 inet dhcp + EOF + + # Inject kernel modules + sudo dpkg-deb -x ${linux_image} binary/ + sudo find binary/boot -type f -delete + sudo rm -f binary/linux-image-*.deb + + sudo rm -rf binary/dev + sudo mkdir binary/dev + sudo mkdir -p binary/lib/firmware + + cat << EOF | sudo tee -a binary/etc/fstab + LABEL=qcom-firmware /lib/firmware ext4 defaults 0 0 + EOF + + # Generate sparse image to reduce .img file size + sudo make_ext4fs -o -L rootfs -l 2G -s linaro-${UBUNTU_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${version}.img binary/ + gzip -9 linaro-${UBUNTU_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${version}.img + + cat >> README.txt << EOF + Linaro Ubuntu ${rootfs} build: http://snapshots.linaro.org/ubuntu/images/${rootfs}/${ROOTFS_BUILD_NUMBER} + EOF + + done + + # create the boot partition + cat > bootimg.cfg << EOF + bootsize = 0x900000 + pagesize = 0x800 + kerneladdr = 0x80208000 + ramdiskaddr = 0x83000000 + secondaddr = 0x81100000 + tagsaddr = 0x80200100 + name = linaro-${PLATFORM_NAME} + cmdline = console=tty0 console=${KERNEL_SERIAL_CONSOLE} root=/dev/mmcblk0p13 rootwait rw text + EOF + + # create one boot image for each DTB we have around, since we need to append DTB to zImage + # fixup.bin used to fixup loader to boot mainline on Qualcomm platforms that needs adjustment of + # ATAG MEM. + for f in `find . -maxdepth 1 -name '*.dtb' -print` ; do + target=`basename $f .dtb` + if [ -f fixup-$target.bin ]; then + cat fixup-$target.bin zImage $f > zImage-dtb + else + cat zImage $f > zImage-dtb + fi + abootimg --create boot-${target}-${PLATFORM_NAME}-${version}.img -f bootimg.cfg -k zImage-dtb -r initrd.img-* + gzip -9 boot-${target}-${PLATFORM_NAME}-${version}.img + done + + # create an empty partition, placeholder for proprietary firmware + # do no create sparse file, so that the file can be easily loop mounted + rm -rf qcom-firmware firmware-${PLATFORM_NAME}.img + fakeroot mkdir qcom-firmware + fakeroot make_ext4fs -L qcom-firmware -l 64M firmware-${PLATFORM_NAME}-${version}.img qcom-firmware/ + gzip -9 firmware-${PLATFORM_NAME}-${version}.img + + # Publish to snapshots + mkdir out + sudo mv *.cfg *.img.gz *.deb zImage kernel_config README.txt `find . -maxdepth 1 -name 'fixup-*.bin' -print` out/ + + # create MD5SUMS file + (cd out && md5sum * > MD5SUMS.txt) + + python ${WORKSPACE}/linaro-cp.py out ubuntu/pre-built/snapdragon/${BUILD_NUMBER} + - shell: | + VERSION=`date +%Y%m%d`-${BUILD_NUMBER} + + export BOOT_URL=${BUILD_URL}/artifact/out/boot-qcom-apq8064-ifc6410-${PLATFORM_NAME}-${VERSION}.img.gz + export DATA_URL=${BUILD_URL}/artifact/out/linaro-${UBUNTU_FLAVOUR}-developer-${PLATFORM_NAME}-${VERSION}.img.gz + export SYSTEM_URL=${BUILD_URL}/artifact/out/firmware-${PLATFORM_NAME}-${VERSION}.img.gz + + export DEVICE_TYPE=ifc6410 + export BUNDLE_STREAM_NAME=/public/team/linaro/lt-qualcomm/ + export LAVA_SERVER=validation.linaro.org/RPC2/ + + rm -rf configs lci-build-tools + git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git + git clone --depth 1 http://git.linaro.org/ci/job/configs.git + ./lci-build-tools/yaml-to-json.py configs/lt-qcom-ubuntu-images/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json + + cat << EOF > post_build_lava_parameters + DEVICE_TYPE=${DEVICE_TYPE} + BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} + CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json + LAVA_SERVER=${LAVA_SERVER} + EOF + - trigger-builds: + - project: 'post-build-lava' + property-file: post_build_lava_parameters + publishers: + - archive: + artifacts: 'out/*' + latest-only: true + - email: + recipients: 'nicolas.dechesne@linaro.org fathi.boudra@linaro.org' + - ircbot: + channels: + - name: '#linaro-lt-qcomm' + password: ${LT_QCOM_KEY} diff --git a/lt-qcom-ubuntu-images/lava-job-definitions/ifc6410/template.json b/lt-qcom-ubuntu-images/lava-job-definitions/ifc6410/template.json new file mode 100644 index 0000000..448a63d --- /dev/null +++ b/lt-qcom-ubuntu-images/lava-job-definitions/ifc6410/template.json @@ -0,0 +1,417 @@ +{ + "actions": [ + { + "command": "deploy_linaro_android_image", + "parameters": { + "boot": "${BOOT_URL}", + "data": "${DATA_URL}", + "system": "${SYSTEM_URL}", + "target_type": "ubuntu" + } + }, + { + "command": "boot_linaro_image" + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/device-tree.yaml" + } + ], + "timeout": 800 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "PWR_TESTARG": "cpufreq" + }, + "testdef": "ubuntu/pwrmgmt.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "PWR_TESTARG": "cpuidle" + }, + "testdef": "ubuntu/pwrmgmt.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "PWR_TESTARG": "cpuhotplug" + }, + "testdef": "ubuntu/pwrmgmt.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "PWR_TESTARG": "cputopology" + }, + "testdef": "ubuntu/pwrmgmt.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/smoke-tests-basic.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/usb-tests-basic.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/network-tests-basic.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "testdef": "ubuntu/device_read_perf.yaml" + } + ], + "timeout": 1200 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "http://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TEST": "cpu" + }, + "testdef": "ubuntu/sysbench.yaml" + } + ], + "timeout": 8000 + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "math", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "timers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fcntl-locktests", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "ipc", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fsx", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "hugetlb", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "io", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "nptl", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "pty", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "containers", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "fs_bind", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "filecaps", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "admin_tools", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "connectors", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "timeout": 1800, + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/qa/test-definitions.git", + "parameters": { + "TST_CMDFILES": "mm", + "SKIPFILE": "./common/scripts/ltp/skipfile-lsk-juno" + }, + "testdef": "ubuntu/ltp.yaml" + } + ] + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "${BUNDLE_STREAM_NAME}", + "server": "http://${LAVA_SERVER}" + } + } + ], + "device_type": "${DEVICE_TYPE}", + "job_name": "${BUILD_URL}", + "timeout": 18000 +} diff --git a/lt-qcom-ubuntu-images/lava-job-definitions/ifc6410/template.yaml b/lt-qcom-ubuntu-images/lava-job-definitions/ifc6410/template.yaml new file mode 100644 index 0000000..eb10777 --- /dev/null +++ b/lt-qcom-ubuntu-images/lava-job-definitions/ifc6410/template.yaml @@ -0,0 +1,229 @@ +actions: + - command: deploy_linaro_android_image + parameters: + boot: '${BOOT_URL}' + data: '${DATA_URL}' + system: '${SYSTEM_URL}' + target_type: 'ubuntu' + - command: boot_linaro_image + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/device-tree.yaml' + timeout: 800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/pwrmgmt.yaml' + parameters: + PWR_TESTARG: 'cpufreq' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/pwrmgmt.yaml' + parameters: + PWR_TESTARG: 'cpuidle' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/pwrmgmt.yaml' + parameters: + PWR_TESTARG: 'cpuhotplug' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/pwrmgmt.yaml' + parameters: + PWR_TESTARG: 'cputopology' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/smoke-tests-basic.yaml' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/usb-tests-basic.yaml' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/network-tests-basic.yaml' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/device_read_perf.yaml' + timeout: 1200 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/sysbench.yaml' + parameters: + TEST: 'cpu' + timeout: 8000 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'math' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'timers' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'fcntl-locktests' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'ipc' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'fsx' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'fs' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'hugetlb' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'io' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'nptl' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'pty' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'containers' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'fs_bind' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'filecaps' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'admin_tools' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'connectors' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: lava_test_shell + parameters: + testdef_repos: + - git-repo: 'http://git.linaro.org/qa/test-definitions.git' + testdef: 'ubuntu/ltp.yaml' + parameters: + TST_CMDFILES: 'mm' + SKIPFILE: './common/scripts/ltp/skipfile-lsk-juno' + timeout: 1800 + - command: submit_results + parameters: + server: 'http://${LAVA_SERVER}' + stream: '${BUNDLE_STREAM_NAME}' +device_type: '${DEVICE_TYPE}' +job_name: '${BUILD_URL}' +timeout: 18000 diff --git a/qemu-docker-builder.yaml b/qemu-docker-builder.yaml new file mode 100644 index 0000000..6de0959 --- /dev/null +++ b/qemu-docker-builder.yaml @@ -0,0 +1,48 @@ +- job: + name: qemu-docker-builder + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + linaro: + - job-read + - job-extended-read + - job-build + - job-cancel + parameters: + - string: + name: source + description: 'dsc source url or filename' + - string: + name: arch + description: 'architecture to build for: amd64, i386, armhf, arm64' + disabled: false + node: docker + display-name: 'QEMU package build' + wrappers: + - timestamps + builders: + - shell: | + #!/bin/bash + + set -e + + rm -rf ubuntu-packaging-tools + git clone --depth 1 http://git.linaro.org/ci/ubuntu-packaging-tools.git + ./ubuntu-packaging-tools/dockerbuild + publishers: + - copy-to-master: + includes: + - '*.changes, *.dsc, *.gz, *.bz2, *.xz, *.deb, *.udeb' + - trigger-parameterized-builds: + - project: post-build-repo + property-file: post_build_ppa_parameters + condition: SUCCESS + - email: + recipients: 'riku.voipio@linaro.org' diff --git a/qemu-docker.yaml b/qemu-docker.yaml new file mode 100644 index 0000000..7a003b1 --- /dev/null +++ b/qemu-docker.yaml @@ -0,0 +1,66 @@ +- job: + name: qemu-docker + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + linaro: + - job-read + - job-extended-read + - job-build + - job-cancel + disabled: false + node: docker + display-name: 'QEMU build' + scm: + - git: + url: git://git.qemu.org/qemu.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + basedir: qemu-linaro + skip-tag: true + shallow-clone: true + clean: true + disable-submodules: true + wipe-workspace: false + triggers: + - timed: '@daily' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + set -e + + rm -rf qemu-ci + git clone --depth 1 http://git.linaro.org/git/ci/qemu.git qemu-ci + bash -x qemu-ci/qemu-pkg.sh + publishers: + - archive: + artifacts: '*.changes, *.dsc, *.gz, *.bz2, *.xz' + latest-only: true + - trigger: + project: 'qemu-lava-ltp-tests, qemu-lava-risu' + - trigger-parameterized-builds: + - project: qemu-docker-builder + property-file: qemu-amd64-parameters + condition: SUCCESS + - project: qemu-docker-builder + property-file: qemu-arm64-parameters + condition: SUCCESS + - project: qemu-docker-builder + property-file: qemu-armhf-parameters + condition: SUCCESS + - email: + recipients: 'riku.voipio@linaro.org' diff --git a/trigger-coresight.yaml b/trigger-coresight.yaml new file mode 100644 index 0000000..6a8e5f9 --- /dev/null +++ b/trigger-coresight.yaml @@ -0,0 +1,33 @@ +- job: + name: trigger-coresight + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for Coresight' + scm: + - git: + url: http://git.linaro.org/kernel/coresight.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - trigger-builds: + - project: 'coresight' diff --git a/trigger-linux-arm-soc-for-next.yaml b/trigger-linux-arm-soc-for-next.yaml new file mode 100644 index 0000000..c615516 --- /dev/null +++ b/trigger-linux-arm-soc-for-next.yaml @@ -0,0 +1,51 @@ +- job: + name: trigger-linux-arm-soc-for-next + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for Linux ARM SoC Kernel (for-next)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git + refspec: +refs/heads/for-next:refs/remotes/origin/for-next + name: origin + branches: + - origin/for-next + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + exit 0 + } + + echo -n "defconfig_list=" > defconfig.properties + + wget https://git.kernel.org/cgit/linux/kernel/git/arm/arm-soc.git/tree/arch/arm/configs?h=for-next -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + + wget https://git.kernel.org/cgit/linux/kernel/git/arm/arm-soc.git/tree/arch/arm64/configs?h=for-next -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + - trigger-builds: + - project: 'linux-arm-soc-for-next' + property-file: defconfig.properties diff --git a/trigger-linux-eas.yaml b/trigger-linux-eas.yaml new file mode 100644 index 0000000..6f227a4 --- /dev/null +++ b/trigger-linux-eas.yaml @@ -0,0 +1,45 @@ +- job: + name: trigger-linux-eas + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for Linux EAS' + scm: + - git: + url: http://git.linaro.org/kernel/eas-backports.git + refspec: +refs/heads/eas-test:refs/remotes/origin/eas-test + name: origin + branches: + - origin/eas-test + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + exit 0 + } + + echo -n "defconfig_list=omap2plus vexpress" > defconfig.properties + - trigger-builds: + - project: 'linux-eas' + property-file: defconfig.properties diff --git a/trigger-linux-leg.yaml b/trigger-linux-leg.yaml new file mode 100644 index 0000000..b7c3c8b --- /dev/null +++ b/trigger-linux-leg.yaml @@ -0,0 +1,33 @@ +- job: + name: trigger-linux-leg + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for LEG Kernel' + scm: + - git: + url: git://git.linaro.org/leg/acpi/leg-kernel.git + refspec: +refs/heads/leg-kernel:refs/remotes/origin/leg-kernel + name: origin + branches: + - origin/leg-kernel + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - trigger-builds: + - project: 'linux-leg' diff --git a/trigger-linux-linaro-tracking-ll.yaml b/trigger-linux-linaro-tracking-ll.yaml new file mode 100644 index 0000000..c6bd68d --- /dev/null +++ b/trigger-linux-linaro-tracking-ll.yaml @@ -0,0 +1,33 @@ +- job: + name: trigger-linux-linaro-tracking-ll + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for Linux Linaro Kernel (ll)' + scm: + - git: + url: git://git.linaro.org/kernel/linux-linaro-tracking.git + refspec: +refs/heads/linux-linaro:refs/remotes/origin/linux-linaro + name: origin + branches: + - origin/linux-linaro + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - trigger-builds: + - project: 'linux-linaro-tracking-ll' diff --git a/trigger-linux-ltsi.yaml b/trigger-linux-ltsi.yaml new file mode 100644 index 0000000..1c03dc7 --- /dev/null +++ b/trigger-linux-ltsi.yaml @@ -0,0 +1,51 @@ +- job: + name: trigger-linux-ltsi + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for Linux LTSI Kernel (linux-3.14.y)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git + refspec: +refs/heads/linux-3.14.y:refs/remotes/origin/linux-3.14.y + name: origin + branches: + - origin/linux-3.14.y + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + exit 0 + } + + echo -n "defconfig_list=" > defconfig.properties + + wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/configs?h=linux-3.14.y -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + + wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/configs?h=linux-3.14.y -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + - trigger-builds: + - project: 'linux-ltsi' + property-file: defconfig.properties diff --git a/trigger-linux-mainline.yaml b/trigger-linux-mainline.yaml new file mode 100644 index 0000000..87ef30c --- /dev/null +++ b/trigger-linux-mainline.yaml @@ -0,0 +1,51 @@ +- job: + name: trigger-linux-mainline + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for Linux Mainline Kernel (master)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + exit 0 + } + + echo -n "defconfig_list=" > defconfig.properties + + wget https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/configs -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + + wget https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/configs -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + - trigger-builds: + - project: 'linux-mainline' + property-file: defconfig.properties diff --git a/trigger-linux-next.yaml b/trigger-linux-next.yaml new file mode 100644 index 0000000..f3f3fd7 --- /dev/null +++ b/trigger-linux-next.yaml @@ -0,0 +1,51 @@ +- job: + name: trigger-linux-next + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for Linux Next (master)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + exit 0 + } + + echo -n "defconfig_list=" > defconfig.properties + + wget https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/arch/arm/configs -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + + wget http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/arch/arm64/configs -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + - trigger-builds: + - project: 'linux-next' + property-file: defconfig.properties diff --git a/trigger-linux-stable.yaml b/trigger-linux-stable.yaml new file mode 100644 index 0000000..46652c6 --- /dev/null +++ b/trigger-linux-stable.yaml @@ -0,0 +1,51 @@ +- job: + name: trigger-linux-stable + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for Linux Stable Kernel (linux-3.14.y)' + scm: + - git: + url: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git + refspec: +refs/heads/linux-3.14.y:refs/remotes/origin/linux-3.14.y + name: origin + branches: + - origin/linux-3.14.y + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + exit 0 + } + + echo -n "defconfig_list=" > defconfig.properties + + wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/configs?h=linux-3.14.y -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + + wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/configs?h=linux-3.14.y -O configs + cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties + - trigger-builds: + - project: 'linux-stable' + property-file: defconfig.properties diff --git a/trigger-lt-hisilicon-hix5hd2.yaml b/trigger-lt-hisilicon-hix5hd2.yaml new file mode 100644 index 0000000..b5f5993 --- /dev/null +++ b/trigger-lt-hisilicon-hix5hd2.yaml @@ -0,0 +1,33 @@ +- job: + name: trigger-lt-hisilicon-hix5hd2 + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + disabled: false + node: build + display-name: 'Trigger for HiSilicon LT - hix5hd2' + scm: + - git: + url: http://git.linaro.org/git/landing-teams/working/hisilicon/kernel.git + refspec: +refs/heads/hix5hd2:refs/remotes/origin/hix5hd2 + name: origin + branches: + - origin/hix5hd2 + skip-tag: true + shallow-clone: true + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' + builders: + - trigger-builds: + - project: 'LT-HiSilicon-hix5hd2' diff --git a/ubuntu-arm64-rootfs.yaml b/ubuntu-arm64-rootfs.yaml new file mode 100644 index 0000000..ac16842 --- /dev/null +++ b/ubuntu-arm64-rootfs.yaml @@ -0,0 +1,96 @@ +- job: + name: ubuntu-arm64-rootfs + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + disabled: false + node: build + child-workspace: . + display-name: 'Linaro Ubuntu arm64 rootfs' + scm: + - git: + url: git://git.linaro.org/ci/ubuntu-build-service.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + skip-tag: true + shallow-clone: true + clean: true + wipe-workspace: false + axes: + - axis: + type: slave + name: label + values: + - build + - axis: + type: user-defined + name: rootfs + values: + - nano + execution-strategy: + sequential: true + wrappers: + - timestamps + - matrix-tie-parent: + node: build + - timeout: + timeout: 120 + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + sudo umount builddir + } + + dpkg -s qemu-user-static |grep '^Version' + dpkg -s live-build |grep '^Version' + + rm -f linaro-utopic-${rootfs}-* *.txt + + test -d builddir || mkdir builddir + sudo mount -t tmpfs -o size=6G tmpfs builddir + cp -a utopic-arm64-${rootfs} builddir/ + cd builddir/utopic-arm64-${rootfs} + ./configure + make + sudo mv linaro-utopic-* ${WORKSPACE} + + cat << EOF > ${WORKSPACE}/BUILD-INFO.txt + Format-Version: 0.5 + + Files-Pattern: * + License-Type: open + EOF + - ssh: + site: 'snapshots.linaro.org' + target: '${JOB_NAME}/${BUILD_NUMBER}/ubuntu/images/${rootfs}-arm64/${BUILD_NUMBER}' + source: 'linaro-utopic-${rootfs}-*, *.txt' + timeout: 120000 + always-publish-from-master: true + - ssh: + site: 'snapshots.linaro.org file-move' + target: '' + source: '' + command: 'reshuffle-files --job-type prebuilt --job-name ${JOB_NAME} --build-num ${BUILD_NUMBER}' + timeout: 120000 + always-publish-from-master: true + publishers: + - archive: + artifacts: 'linaro-utopic-*.tar.gz' + latest-only: true + - email: + recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' diff --git a/ubuntu-armhf-hwpacks.yaml b/ubuntu-armhf-hwpacks.yaml new file mode 100644 index 0000000..37dfd7c --- /dev/null +++ b/ubuntu-armhf-hwpacks.yaml @@ -0,0 +1,216 @@ +- job: + name: ubuntu-armhf-hwpacks + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + disabled: false + node: build + display-name: 'Linaro Ubuntu hardware packs (armhf)' + axes: + - axis: + type: user-defined + name: hwpack + values: + - arndale + - arndale-be + - arndale-octa + - beaglebone + - lsk-arndale-be + - lsk-panda-be + - lsk-vexpress + - lsk-vexpress64 + - lsk-vexpress64-be + - panda + - panda-be + - vexpress + - vexpress64 + - vexpress64-be + - axis: + type: slave + name: label + values: + - build + execution-strategy: + sequential: true + touchstone: + expr: 'hwpack=="arndale"' + wrappers: + - timestamps + - matrix-tie-parent: + node: build + builders: + - copyartifact: + project: package-and-publish-linux-linaro + filter: 'out/*.deb' + target: artifacts + flatten: true + optional: true + - copyartifact: + project: package-and-publish-linux-linaro-stable + filter: 'out/*.deb' + target: artifacts + flatten: true + optional: true + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + sudo umount builddir + rm -rf artifacts + } + + dpkg -s linaro-image-tools |grep '^Version' + + rm -f hwpack_linaro-*.tar.gz *.txt + + test -d builddir || mkdir builddir + sudo mount -t tmpfs -o size=2G tmpfs builddir + cd builddir + + VERSION=`date +%Y%m%d`-${BUILD_NUMBER} + case "${hwpack}" in + arndale|arndale-octa|beaglebone|highbank|lsk-vexpress|midway|origen|panda|snowball|vexpress) + git clone git://git.linaro.org/hwpack/${hwpack}.git + linaro-hwpack-create --debug ${hwpack}/hwpacks/linaro-${hwpack} ${VERSION} + mv hwpack_linaro-${hwpack}* ${WORKSPACE} + mv *.txt ${WORKSPACE} + ;; + lsk-vexpress64|lsk-vexpress64-be|vexpress64|vexpress64-be) + git clone git://git.linaro.org/hwpack/vexpress64-rtsm.git + linaro-hwpack-create --debug vexpress64-rtsm/hwpacks/linaro-vexpress64-rtsm ${VERSION} + mv hwpack_linaro-vexpress64-rtsm_${VERSION}_armhf_supported.manifest.txt ${WORKSPACE}/hwpack_linaro-arm64_supported.manifest.txt + mv hwpack_linaro-vexpress64-rtsm_${VERSION}_armhf_supported.tar.gz ${WORKSPACE}/hwpack_linaro_arm64_supported.tar.gz + mv *.txt ${WORKSPACE} + ;; + esac + + cd ${WORKSPACE} + + echo "distribution=ubuntu" > remote_directory_parameters + + case "${hwpack}" in + lsk-arndale-be|arndale-be) + find artifacts -type f -name "linux-*-linaro-${hwpack}_*.deb" -exec mv -t ${WORKSPACE} {} + + + rm -f hwpack_linaro_armhf_supported.tar.gz + export HWPACK_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=arndale,label=build/lastSuccessfulBuild/buildNumber` + export HWPACK_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=arndale,label=build/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` + export HWPACK_BUILD_URL="http://snapshots.linaro.org/ubuntu/hwpacks/arndale/${HWPACK_BUILD_NUMBER}/hwpack_linaro-arndale_${HWPACK_BUILD_TIMESTAMP}-${HWPACK_BUILD_NUMBER}_armhf_supported.tar.gz" + wget --progress=dot -e dotbytes=2M ${HWPACK_BUILD_URL} -O hwpack_linaro_armhf_supported.tar.gz + + linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-image-*-linaro-${hwpack}_*.deb` -r linux-image -d -i + linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-headers-*-linaro-${hwpack}_*.deb` -r linux-headers -d -i + + mv hwpack_linaro_armhf_supported.tar.gz ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.tar.gz + mv hwpack_linaro_armhf_supported.manifest.txt ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.manifest.txt + + echo "distribution=openembedded" > remote_directory_parameters + cat << EOF > BUILD-INFO.txt + Format-Version: 0.5 + + Files-Pattern: * + License-Type: open + EOF + ;; + lsk-panda-be|panda-be) + [ "${hwpack}" = "panda-be" ] && omap=omap-be || true + [ "${hwpack}" = "lsk-panda-be" ] && omap=lsk-omap-be || true + find artifacts -type f -name "linux-*-linaro-${omap}_*.deb" -exec mv -t ${WORKSPACE} {} + + + rm -f hwpack_linaro_armhf_supported.tar.gz + export HWPACK_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=panda,label=build/lastSuccessfulBuild/buildNumber` + export HWPACK_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=panda,label=build/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` + export HWPACK_BUILD_URL="http://snapshots.linaro.org/ubuntu/hwpacks/panda/${HWPACK_BUILD_NUMBER}/hwpack_linaro-panda_${HWPACK_BUILD_TIMESTAMP}-${HWPACK_BUILD_NUMBER}_armhf_supported.tar.gz" + wget --progress=dot -e dotbytes=2M ${HWPACK_BUILD_URL} -O hwpack_linaro_armhf_supported.tar.gz + + linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-image-*-linaro-${omap}_*.deb` -r linux-image -d -i + linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-headers-*-linaro-${omap}_*.deb` -r linux-headers -d -i + + mv hwpack_linaro_armhf_supported.tar.gz ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.tar.gz + mv hwpack_linaro_armhf_supported.manifest.txt ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.manifest.txt + + echo "distribution=openembedded" > remote_directory_parameters + cat << EOF > BUILD-INFO.txt + Format-Version: 0.5 + + Files-Pattern: * + License-Type: open + EOF + ;; + lsk-vexpress64|lsk-vexpress64-be|vexpress64|vexpress64-be) + find artifacts -type f -name "linux-*-linaro-${hwpack}_*.deb" -exec mv -t ${WORKSPACE} {} + + + rm -f hwpack_linaro-${hwpack}-rtsm_*_arm64_supported.tar.gz + + linaro-hwpack-replace -t hwpack_linaro_arm64_supported.tar.gz -p `ls linux-image-*-linaro-${hwpack}_*.deb` -r linux-image -d -i + linaro-hwpack-replace -t hwpack_linaro_arm64_supported.tar.gz -p `ls linux-headers-*-linaro-${hwpack}_*.deb` -r linux-headers -d -i + + mv hwpack_linaro_arm64_supported.tar.gz ${WORKSPACE}/hwpack_linaro-${hwpack}-rtsm_${VERSION}_arm64_supported.tar.gz + mv hwpack_linaro_arm64_supported.manifest.txt ${WORKSPACE}/hwpack_linaro-${hwpack}-rtsm_${VERSION}_arm64_supported.manifest.txt + + echo "distribution=openembedded" > remote_directory_parameters + cat << EOF > BUILD-INFO.txt + Format-Version: 0.5 + + Files-Pattern: * + License-Type: open + EOF + ;; + esac + + echo "HWPACK_JOB_NAME=${JOB_NAME}" > post_build_lava_parameters + echo "HWPACK_BUILD_NUMBER=${BUILD_NUMBER}" >> post_build_lava_parameters + echo "HWPACK_FILE_NAME=`ls hwpack_linaro-${hwpack}*.tar.gz`" >> post_build_lava_parameters + + case "${hwpack}" in + arndale|highbank|panda) + echo "DEVICE_TYPE=${hwpack}" >> post_build_lava_parameters + ;; + snowball) + echo "DEVICE_TYPE=snowball_sd" >> post_build_lava_parameters + # XXX workaround until BUILD.INFO.txt is fixed + rm -f BUILD-INFO.txt + touch EULA.txt + ;; + lsk-vexpress|vexpress) + echo "DEVICE_TYPE=vexpress-a9" >> post_build_lava_parameters + ;; + arndale-be|arndale-octa|beaglebone|lsk-arndale-be|lsk-panda-be|lsk-vexpress64|midway|panda-be|vexpress64|vexpress64-be) + echo "Skip DEVICE_TYPE for ${hwpack}" + ;; + esac + - inject: + properties-file: remote_directory_parameters + - ssh: + site: 'snapshots.linaro.org' + target: '${JOB_NAME}/${BUILD_NUMBER}/${distribution}/hwpacks/${hwpack}/${BUILD_NUMBER}' + source: 'hwpack_linaro-${hwpack}*, *.txt' + timeout: 120000 + always-publish-from-master: true + - ssh: + site: 'snapshots.linaro.org file-move' + target: '' + source: '' + command: 'reshuffle-files --job-type prebuilt --job-name ${JOB_NAME} --build-num ${BUILD_NUMBER}' + timeout: 120000 + always-publish-from-master: true + - trigger-builds: + - project: 'post-build-lava' + property-file: post_build_lava_parameters + publishers: + - archive: + artifacts: 'hwpack_linaro-*.tar.gz' + latest-only: true + - email: + recipients: fathi.boudra@linaro.org diff --git a/ubuntu-armhf-pre-built-images.yaml b/ubuntu-armhf-pre-built-images.yaml new file mode 100644 index 0000000..d84da9b --- /dev/null +++ b/ubuntu-armhf-pre-built-images.yaml @@ -0,0 +1,178 @@ +- job: + name: ubuntu-armhf-pre-built-images + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + disabled: false + node: precise_hwpack_cloud + display-name: 'Linaro Ubuntu pre-built images (armhf)' + scm: + - git: + url: git://git.linaro.org/ci/pre-built-images.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + skip-tag: true + shallow-clone: true + wipe-workspace: false + axes: + - axis: + type: user-defined + name: hwpack + values: + - arndale + - arndale-octa + - lsk-vexpress + - panda + - vexpress + - axis: + type: slave + name: label + values: + - precise_hwpack_cloud + execution-strategy: + sequential: true + wrappers: + - timestamps + - matrix-tie-parent: + node: precise_hwpack_cloud + builders: + - copyartifact: + project: ubuntu-armhf-rootfs + filter: 'linaro-utopic-*.tar.gz' + target: artifacts + - copyartifact: + project: ubuntu-armhf-hwpacks/hwpack=${hwpack},label=build + filter: 'hwpack_linaro-${hwpack}*.tar.gz' + target: artifacts + parameter-filters: 'hwpack=${hwpack},label=build' + - shell: | + #!/bin/bash + + test -d out || mkdir out + sudo mount -t tmpfs -o size=6G tmpfs out + + case "${hwpack}" in + snowball) + # XXX Hook to accept ST-Ericsson Limited License Agreement + export LIT="lp:~fboudra/linaro-image-tools/ste-license-agreement" + ;; + lsk-vexpress|vexpress) + export BOOTLOADER="uefi" + ;; + esac + + export PYTHONUNBUFFERED=1 + export HWPACK_JOB_NAME="${JOB_NAME}" + export TMPDIR="${WORKSPACE}/out" + + case "${hwpack}" in + arndale|arndale-octa|highbank|midway) + export ROOTFS_TYPE="server developer nano" + python pre-built-images.py ${hwpack} -b server -b developer -b nano + ;; + lsk-vexpress|panda|snowball|vexpress) + export ROOTFS_TYPE="developer nano" + python pre-built-images.py ${hwpack} -b developer -b nano + ;; + esac + - ssh: + site: 'snapshots.linaro.org' + target: '${JOB_NAME}/${BUILD_NUMBER}' + source: 'out/**/*.txt, out/**/*.img.gz*' + timeout: 120000 + remove-prefix: 'out' + always-publish-from-master: true + - ssh: + site: 'snapshots.linaro.org file-move' + target: '' + source: '' + command: 'reshuffle-files --job-type prebuilt --job-name ${JOB_NAME} --build-num ${BUILD_NUMBER}' + timeout: 120000 + always-publish-from-master: true + - shell: | + #!/bin/bash + + export PYTHONUNBUFFERED=1 + export HWPACK_JOB_NAME="${JOB_NAME}" + + case "${hwpack}" in + arndale|arndale-octa|highbank|midway) + export DEVICE_TYPE=${hwpack} + + export ROOTFS_TYPE=server + export HWPACK_FILE_NAME=`find out -type f -name '*_server_*.img.gz' |xargs basename` + export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2` + export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz} + python lava-submit.py + ;; + panda) + export DEVICE_TYPE=panda-es + + export ROOTFS_TYPE=developer + export HWPACK_FILE_NAME=`find out -type f -name '*_developer_*.img.gz' |xargs basename` + export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2` + export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz} + python lava-submit.py + + export ROOTFS_TYPE=nano + export HWPACK_FILE_NAME=`find out -type f -name '*_nano_*.img.gz' |xargs basename` + export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2` + export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz} + python lava-submit.py + + export DEVICE_TYPE=panda + ;; + snowball) + export DEVICE_TYPE=snowball_sd + ;; + lsk-vexpress) + export DEVICE_TYPE=vexpress-a9 + ;; + vexpress) + export DEVICE_TYPE=vexpress-a9 + ;; + esac + + case "${hwpack}" in + arndale|arndale-octa|highbank|lsk-vexpress|midway|panda|snowball|vexpress) + export ROOTFS_TYPE=developer + export HWPACK_FILE_NAME=`find out -type f -name '*_developer_*.img.gz' |xargs basename` + export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2` + export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz} + python lava-submit.py + + export ROOTFS_TYPE=nano + export HWPACK_FILE_NAME=`find out -type f -name '*_nano_*.img.gz' |xargs basename` + export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2` + export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz} + python lava-submit.py + ;; + esac + + sudo umount out + - ssh: + site: 'snapshots.linaro.org' + target: '${JOB_NAME}/${BUILD_NUMBER}/utopic' + source: 'out/**/*.html' + timeout: 120000 + remove-prefix: 'out' + always-publish-from-master: true + - ssh: + site: 'snapshots.linaro.org file-move' + target: '' + source: '' + command: 'reshuffle-files --job-type prebuilt --job-name ${JOB_NAME} --build-num ${BUILD_NUMBER}' + timeout: 120000 + always-publish-from-master: true + publishers: + - email: + recipients: fathi.boudra@linaro.org diff --git a/ubuntu-armhf-rootfs.yaml b/ubuntu-armhf-rootfs.yaml new file mode 100644 index 0000000..7adabef --- /dev/null +++ b/ubuntu-armhf-rootfs.yaml @@ -0,0 +1,100 @@ +- job: + name: ubuntu-armhf-rootfs + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + disabled: false + node: build + child-workspace: . + display-name: 'Linaro Ubuntu armhf rootfs' + scm: + - git: + url: git://git.linaro.org/ci/ubuntu-build-service.git + refspec: +refs/heads/master:refs/remotes/origin/master + name: origin + branches: + - origin/master + skip-tag: true + shallow-clone: true + clean: true + wipe-workspace: false + axes: + - axis: + type: slave + name: label + values: + - build + - axis: + type: user-defined + name: rootfs + values: + - developer + - gnome + - nano + - nano-lava + - server + execution-strategy: + sequential: true + wrappers: + - timestamps + - matrix-tie-parent: + node: build + - timeout: + timeout: 120 + builders: + - shell: | + #!/bin/bash + + trap cleanup_exit INT TERM EXIT + + cleanup_exit() + { + cd ${WORKSPACE} + sudo umount builddir + } + + dpkg -s qemu-user-static |grep '^Version' + dpkg -s live-build |grep '^Version' + + rm -f linaro-utopic-${rootfs}-* *.txt + + test -d builddir || mkdir builddir + sudo mount -t tmpfs -o size=6G tmpfs builddir + cp -a utopic-armhf-${rootfs} builddir/ + cd builddir/utopic-armhf-${rootfs} + ./configure + make + sudo mv linaro-utopic-* ${WORKSPACE} + + cat << EOF > ${WORKSPACE}/BUILD-INFO.txt + Format-Version: 0.5 + + Files-Pattern: * + License-Type: open + EOF + - ssh: + site: 'snapshots.linaro.org' + target: '${JOB_NAME}/${BUILD_NUMBER}/ubuntu/images/${rootfs}-armhf/${BUILD_NUMBER}' + source: 'linaro-utopic-${rootfs}-*, *.txt' + timeout: 120000 + always-publish-from-master: true + - ssh: + site: 'snapshots.linaro.org file-move' + target: '' + source: '' + command: 'reshuffle-files --job-type prebuilt --job-name ${JOB_NAME} --build-num ${BUILD_NUMBER}' + timeout: 120000 + always-publish-from-master: true + publishers: + - archive: + artifacts: 'linaro-utopic-*.tar.gz' + latest-only: true + - email: + recipients: fathi.boudra@linaro.org |