aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-11-14 11:46:05 +0000
committerFathi Boudra <fathi.boudra@linaro.org>2017-11-14 12:48:24 +0000
commita5ceb2952398af9de4f8c3dd8666b14f43dcd77d (patch)
treea417390b2bc8fd30e11ac17f0376fdd9b3e4aa8c
parent5c24febde2d4b9a6789f0e73c6c3734cc6647e96 (diff)
downloadconfigs-a5ceb2952398af9de4f8c3dd8666b14f43dcd77d.tar.gz
openembedded-lkft: add templates for db410c
Change-Id: Ie494fd5d725ca8e3309f8feb4b8894fb6ee84435 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r--openembedded-lkft/lava-job-definitions/dragonboard-410c/master-template-ltp.yaml.jinja2145
-rw-r--r--openembedded-lkft/lava-job-definitions/dragonboard-410c/template-kselftest.yaml147
-rw-r--r--openembedded-lkft/lava-job-definitions/dragonboard-410c/template-libhugetlbfs.yaml145
3 files changed, 437 insertions, 0 deletions
diff --git a/openembedded-lkft/lava-job-definitions/dragonboard-410c/master-template-ltp.yaml.jinja2 b/openembedded-lkft/lava-job-definitions/dragonboard-410c/master-template-ltp.yaml.jinja2
new file mode 100644
index 000000000..131dc2715
--- /dev/null
+++ b/openembedded-lkft/lava-job-definitions/dragonboard-410c/master-template-ltp.yaml.jinja2
@@ -0,0 +1,145 @@
+context:
+ test_character_delay: 10
+
+device_type: dragonboard-410c
+job_name: lkft-ltp-{{testname}}-${KERNEL_BRANCH}-${BUILD_NUMBER}
+timeouts:
+ job:
+ minutes: 60
+ action:
+ minutes: 10
+ connection:
+ minutes: 2
+priority: ${LAVA_JOB_PRIORITY}
+visibility: public
+
+metadata:
+ git branch: ${KERNEL_BRANCH}
+ git repo: ${KERNEL_REPO}
+ git commit: ${KERNEL_COMMIT}
+ git describe: ${KERNEL_DESCRIBE}
+ make_kernelversion: "${MAKE_KERNELVERSION}"
+ kernel-config: ${KERNEL_CONFIG_URL}
+ ltp-{{testname}}-tests__url: ${LTP_URL}
+ ltp-{{testname}}-tests__version: "${LTP_VERSION}"
+ ltp-{{testname}}-tests__revision: "${LTP_REVISION}"
+ build-url: ${BUILD_URL}
+ build-location: ${SNAPSHOTS_URL}/${BASE_URL}
+ series: lkft
+
+protocols:
+ lava-lxc:
+ name: lxc-dragonboard-oe
+ template: debian
+ distribution: debian
+ release: jessie
+ arch: amd64
+ mirror: http://mirror.bytemark.co.uk/debian
+
+actions:
+- deploy:
+ namespace: tlxc
+ timeout:
+ minutes: 15
+ to: lxc
+ packages:
+ - wget
+ - unzip
+ os: debian
+
+- boot:
+ namespace: tlxc
+ prompts:
+ - 'root@(.*):/#'
+ - 'root@linaro-developer:~#'
+ timeout:
+ minutes: 5
+ method: lxc
+
+- test:
+ namespace: tlxc
+ timeout:
+ minutes: 10
+ definitions:
+ - from: inline
+ name: install-google-fastboot
+ path: inline/install-google-fastboot.yaml
+ repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: install-fastboot
+ description: "Install fastboot provided by google"
+ run:
+ steps:
+ - wget http://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
+ - unzip platform-tools_r26.0.0-linux.zip
+ - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
+ - ln -s `pwd`/platform-tools/adb /usr/bin/adb
+ - fastboot --version
+
+- deploy:
+ timeout:
+ minutes: 15
+ to: fastboot
+ namespace: dragonboard-oe
+ connection: lxc
+ images:
+ partition:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/gpt_both0.bin
+ hyp:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/hyp.mbn
+ cdt:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/sbc_1.0_8016.bin
+ rpm:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/rpm.mbn
+ sbl1:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/sbl1.mbn
+ tz:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/tz.mbn
+ aboot:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/emmc_appsboot.mbn
+ boot:
+ url: ${BOOT_URL}
+ rootfs:
+ url: ${SYSTEM_URL}
+ compression: gz
+ apply-overlay: true
+ os: oe
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
+
+- boot:
+ namespace: dragonboard-oe
+ auto_login:
+ login_prompt: 'login:'
+ username: linaro
+ login_commands:
+ # Become super user to run tests
+ - su
+ prompts:
+ - 'root@(.*):/#'
+ - 'root@dragonboard-410c:~#'
+ timeout:
+ minutes: 5
+ method: fastboot
+
+- test:
+ namespace: dragonboard-oe
+ timeout:
+ minutes: 60
+ definitions:
+ - repository: git://git.linaro.org/qa/test-definitions.git
+ from: git
+ path: automated/linux/ltp/ltp.yaml
+ parameters:
+ SKIP_INSTALL: 'true'
+ TST_CMDFILES: '{{testname}}'
+ SKIPFILE: 'skipfile-lkft-dragonboard'
+ TIMEOUT_MULTIPLIER: 3
+ name: ltp-{{testname}}-tests
+ timeout:
+ minutes: 60
diff --git a/openembedded-lkft/lava-job-definitions/dragonboard-410c/template-kselftest.yaml b/openembedded-lkft/lava-job-definitions/dragonboard-410c/template-kselftest.yaml
new file mode 100644
index 000000000..df9ddea45
--- /dev/null
+++ b/openembedded-lkft/lava-job-definitions/dragonboard-410c/template-kselftest.yaml
@@ -0,0 +1,147 @@
+context:
+ test_character_delay: 10
+
+device_type: dragonboard-410x
+job_name: lkft-kselftest-${KERNEL_BRANCH}-${BUILD_NUMBER}
+timeouts:
+ job:
+ minutes: 60
+ action:
+ minutes: 10
+ connection:
+ minutes: 2
+priority: ${LAVA_JOB_PRIORITY}
+visibility: public
+
+metadata:
+ git branch: ${KERNEL_BRANCH}
+ git repo: ${KERNEL_REPO}
+ git commit: ${KERNEL_COMMIT}
+ git describe: ${KERNEL_DESCRIBE}
+ make_kernelversion: "${MAKE_KERNELVERSION}"
+ kernel-config: ${KERNEL_CONFIG_URL}
+ kselftest__url: ${KSELFTESTS_MAINLINE_URL}
+ kselftest__version: "${KSELFTESTS_MAINLINE_VERSION}"
+ libhugetlbfs__url: ${LIBHUGETLBFS_URL}
+ libhugetlbfs__version: "${LIBHUGETLBFS_VERSION}"
+ libhugetlbfs__revision: "${LIBHUGETLBFS_REVISION}"
+ ltp-syscalls-tests__url: ${LTP_URL}
+ ltp-syscalls-tests__version: "${LTP_VERSION}"
+ ltp-syscalls-tests__revision: "${LTP_REVISION}"
+ build-url: ${BUILD_URL}
+ build-location: ${SNAPSHOTS_URL}/${BASE_URL}
+ series: lkft
+
+protocols:
+ lava-lxc:
+ name: lxc-dragonboard-oe
+ template: debian
+ distribution: debian
+ release: jessie
+ arch: amd64
+ mirror: http://mirror.bytemark.co.uk/debian
+
+actions:
+- deploy:
+ namespace: tlxc
+ timeout:
+ minutes: 15
+ to: lxc
+ packages:
+ - wget
+ - unzip
+ os: debian
+
+- boot:
+ namespace: tlxc
+ prompts:
+ - 'root@(.*):/#'
+ - 'root@linaro-developer:~#'
+ timeout:
+ minutes: 5
+ method: lxc
+
+- test:
+ namespace: tlxc
+ timeout:
+ minutes: 10
+ definitions:
+ - from: inline
+ name: install-google-fastboot
+ path: inline/install-google-fastboot.yaml
+ repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: install-fastboot
+ description: "Install fastboot provided by google"
+ run:
+ steps:
+ - wget http://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
+ - unzip platform-tools_r26.0.0-linux.zip
+ - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
+ - ln -s `pwd`/platform-tools/adb /usr/bin/adb
+ - fastboot --version
+
+- deploy:
+ timeout:
+ minutes: 15
+ to: fastboot
+ namespace: dragonboard-oe
+ connection: lxc
+ images:
+ partition:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/gpt_both0.bin
+ hyp:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/hyp.mbn
+ cdt:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/sbc_1.0_8016.bin
+ rpm:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/rpm.mbn
+ sbl1:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/sbl1.mbn
+ tz:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/tz.mbn
+ aboot:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/emmc_appsboot.mbn
+ boot:
+ url: ${BOOT_URL}
+ rootfs:
+ url: ${SYSTEM_URL}
+ compression: gz
+ apply-overlay: true
+ os: oe
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
+
+- boot:
+ namespace: dragonboard-oe
+ auto_login:
+ login_prompt: 'login:'
+ username: linaro
+ login_commands:
+ # Become super user to run tests
+ - su
+ prompts:
+ - 'root@(.*):/#'
+ - 'root@dragonboard-410c:~#'
+ timeout:
+ minutes: 5
+ method: fastboot
+
+- test:
+ namespace: dragonboard-oe
+ timeout:
+ minutes: 60
+ definitions:
+ - repository: git://git.linaro.org/qa/test-definitions.git
+ from: git
+ path: automated/linux/kselftest/kselftest.yaml
+ name: kselftest
+ parameters:
+ SKIPLIST: ${KSELFTEST_SKIPLIST}
+ timeout:
+ minutes: 45
diff --git a/openembedded-lkft/lava-job-definitions/dragonboard-410c/template-libhugetlbfs.yaml b/openembedded-lkft/lava-job-definitions/dragonboard-410c/template-libhugetlbfs.yaml
new file mode 100644
index 000000000..da92631b1
--- /dev/null
+++ b/openembedded-lkft/lava-job-definitions/dragonboard-410c/template-libhugetlbfs.yaml
@@ -0,0 +1,145 @@
+context:
+ test_character_delay: 10
+
+device_type: dragonboard-410c
+job_name: lkft-libhugetlbfs-${KERNEL_BRANCH}-${BUILD_NUMBER}
+timeouts:
+ job:
+ minutes: 60
+ action:
+ minutes: 10
+ connection:
+ minutes: 2
+priority: ${LAVA_JOB_PRIORITY}
+visibility: public
+
+metadata:
+ git branch: ${KERNEL_BRANCH}
+ git repo: ${KERNEL_REPO}
+ git commit: ${KERNEL_COMMIT}
+ git describe: ${KERNEL_DESCRIBE}
+ make_kernelversion: "${MAKE_KERNELVERSION}"
+ kernel-config: ${KERNEL_CONFIG_URL}
+ kselftest__url: ${KSELFTESTS_MAINLINE_URL}
+ kselftest__version: "${KSELFTESTS_MAINLINE_VERSION}"
+ libhugetlbfs__url: ${LIBHUGETLBFS_URL}
+ libhugetlbfs__version: "${LIBHUGETLBFS_VERSION}"
+ libhugetlbfs__revision: "${LIBHUGETLBFS_REVISION}"
+ ltp-syscalls-tests__url: ${LTP_URL}
+ ltp-syscalls-tests__version: "${LTP_VERSION}"
+ ltp-syscalls-tests__revision: "${LTP_REVISION}"
+ build-url: ${BUILD_URL}
+ build-location: ${SNAPSHOTS_URL}/${BASE_URL}
+ series: lkft
+
+protocols:
+ lava-lxc:
+ name: lxc-dragonboard-oe
+ template: debian
+ distribution: debian
+ release: jessie
+ arch: amd64
+ mirror: http://mirror.bytemark.co.uk/debian
+
+actions:
+- deploy:
+ namespace: tlxc
+ timeout:
+ minutes: 15
+ to: lxc
+ packages:
+ - wget
+ - unzip
+ os: debian
+
+- boot:
+ namespace: tlxc
+ prompts:
+ - 'root@(.*):/#'
+ - 'root@linaro-developer:~#'
+ timeout:
+ minutes: 5
+ method: lxc
+
+- test:
+ namespace: tlxc
+ timeout:
+ minutes: 10
+ definitions:
+ - from: inline
+ name: install-google-fastboot
+ path: inline/install-google-fastboot.yaml
+ repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: install-fastboot
+ description: "Install fastboot provided by google"
+ run:
+ steps:
+ - wget http://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
+ - unzip platform-tools_r26.0.0-linux.zip
+ - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
+ - ln -s `pwd`/platform-tools/adb /usr/bin/adb
+ - fastboot --version
+
+- deploy:
+ timeout:
+ minutes: 15
+ to: fastboot
+ namespace: dragonboard-oe
+ connection: lxc
+ images:
+ partition:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/gpt_both0.bin
+ hyp:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/hyp.mbn
+ cdt:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/sbc_1.0_8016.bin
+ rpm:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/rpm.mbn
+ sbl1:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/sbl1.mbn
+ tz:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/tz.mbn
+ aboot:
+ url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/emmc_appsboot.mbn
+ boot:
+ url: ${BOOT_URL}
+ rootfs:
+ url: ${SYSTEM_URL}
+ compression: gz
+ apply-overlay: true
+ os: oe
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
+
+- boot:
+ namespace: dragonboard-oe
+ auto_login:
+ login_prompt: 'login:'
+ username: linaro
+ login_commands:
+ # Become super user to run tests
+ - su
+ prompts:
+ - 'root@(.*):/#'
+ - 'root@dragonboard-410c:~#'
+ timeout:
+ minutes: 5
+ method: fastboot
+
+- test:
+ namespace: dragonboard-oe
+ timeout:
+ minutes: 60
+ definitions:
+ - repository: git://git.linaro.org/qa/test-definitions.git
+ from: git
+ path: automated/linux/libhugetlbfs/libhugetlbfs.yaml
+ name: libhugetlbfs
+ timeout:
+ minutes: 30