diff options
author | Daniel Díaz <daniel.diaz@linaro.org> | 2018-11-21 22:41:44 -0600 |
---|---|---|
committer | Daniel Díaz <daniel.diaz@linaro.org> | 2018-11-22 16:40:27 +0000 |
commit | 3bb61dad4854af98418032e611ee4f6deac80c49 (patch) | |
tree | ce01506a0ebf13dcca0ed9ca711a87f86e3dc7c3 /rpb-openembedded | |
parent | bb847564b07dfb3e82a0e8dfe904a06523c0d59b (diff) |
rpb-openembedded: Add ix86 LAVA templates for boot testing
While the template is fine, the kernel lacks something to
properly boot through NFS. Using a different kernel, like any
recent one from LKFT, lets the job boot to the file system all
right.
Change-Id: I15e16f1221c4f15563f6503f3d1472fe895ed70d
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'rpb-openembedded')
-rw-r--r-- | rpb-openembedded/lava-job-definitions/i386/template-boot.yaml | 58 | ||||
-rw-r--r-- | rpb-openembedded/lava-job-definitions/x86/template-boot.yaml | 58 |
2 files changed, 116 insertions, 0 deletions
diff --git a/rpb-openembedded/lava-job-definitions/i386/template-boot.yaml b/rpb-openembedded/lava-job-definitions/i386/template-boot.yaml new file mode 100644 index 00000000..abf73e68 --- /dev/null +++ b/rpb-openembedded/lava-job-definitions/i386/template-boot.yaml @@ -0,0 +1,58 @@ +device_type: ${DEVICE_TYPE} +job_name: RPB OE boot ${MACHINE} ${MANIFEST_BRANCH} ${BUILD_NUMBER} + +timeouts: + job: + minutes: 45 + action: + minutes: 10 + connection: + minutes: 2 +priority: 25 +visibility: public + +context: + test_character_delay: 10 + +protocols: + lava-lxc: + name: lxc-hikey-oe + template: debian + distribution: debian + release: stretch + +actions: +- deploy: + namespace: target + timeout: + minutes: 15 + to: tftp + kernel: + url: ${KERNEL_URL} + nfsrootfs: + url: ${NFSROOTFS_URL} + compression: xz + os: oe +- boot: + namespace: target + timeout: + minutes: 10 + method: ipxe + commands: nfs + parameters: + shutdown-message: 'reboot: Restarting system' + auto_login: + login_prompt: 'login:' + username: root + login_commands: + - su + prompts: + - 'root@intel-core2-32:' + - 'root@intel-corei7-64:' + +metadata: + machine: ${MACHINE} + manifest branch: ${MANIFEST_BRANCH} + manifest commit: ${MANIFEST_COMMIT} + build url: ${BUILD_URL} + build location: ${BASE_URL}${PUB_DEST} diff --git a/rpb-openembedded/lava-job-definitions/x86/template-boot.yaml b/rpb-openembedded/lava-job-definitions/x86/template-boot.yaml new file mode 100644 index 00000000..abf73e68 --- /dev/null +++ b/rpb-openembedded/lava-job-definitions/x86/template-boot.yaml @@ -0,0 +1,58 @@ +device_type: ${DEVICE_TYPE} +job_name: RPB OE boot ${MACHINE} ${MANIFEST_BRANCH} ${BUILD_NUMBER} + +timeouts: + job: + minutes: 45 + action: + minutes: 10 + connection: + minutes: 2 +priority: 25 +visibility: public + +context: + test_character_delay: 10 + +protocols: + lava-lxc: + name: lxc-hikey-oe + template: debian + distribution: debian + release: stretch + +actions: +- deploy: + namespace: target + timeout: + minutes: 15 + to: tftp + kernel: + url: ${KERNEL_URL} + nfsrootfs: + url: ${NFSROOTFS_URL} + compression: xz + os: oe +- boot: + namespace: target + timeout: + minutes: 10 + method: ipxe + commands: nfs + parameters: + shutdown-message: 'reboot: Restarting system' + auto_login: + login_prompt: 'login:' + username: root + login_commands: + - su + prompts: + - 'root@intel-core2-32:' + - 'root@intel-corei7-64:' + +metadata: + machine: ${MACHINE} + manifest branch: ${MANIFEST_BRANCH} + manifest commit: ${MANIFEST_COMMIT} + build url: ${BUILD_URL} + build location: ${BASE_URL}${PUB_DEST} |