aboutsummaryrefslogtreecommitdiff
path: root/openembedded-lkft/lava-job-definitions/dragonboard-410c/template-libhugetlbfs.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded-lkft/lava-job-definitions/dragonboard-410c/template-libhugetlbfs.yaml')
-rw-r--r--openembedded-lkft/lava-job-definitions/dragonboard-410c/template-libhugetlbfs.yaml145
1 files changed, 145 insertions, 0 deletions
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 0000000000..da92631b1b
--- /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