aboutsummaryrefslogtreecommitdiff
path: root/leg-openstack-tempest
diff options
context:
space:
mode:
authorClark Laughlin <clark.laughlin@linaro.org>2015-04-23 08:59:20 -0400
committerClark Laughlin <clark.laughlin@linaro.org>2015-04-23 08:59:20 -0400
commite8375eff5ebd3d293c4754b64aa769f8f6904719 (patch)
tree30b5e4a5280d522473593678825fa333ec392fd2 /leg-openstack-tempest
parentf5cd3b39eec584623a35548b076d7672b12b6d5d (diff)
downloadconfigs-e8375eff5ebd3d293c4754b64aa769f8f6904719.tar.gz
Change job to run tempest
Change-Id: I06240b09a44b6994bfc3971031a068e98222f135
Diffstat (limited to 'leg-openstack-tempest')
-rw-r--r--leg-openstack-tempest/lava-job-definitions/mustang/tempest.yaml93
1 files changed, 93 insertions, 0 deletions
diff --git a/leg-openstack-tempest/lava-job-definitions/mustang/tempest.yaml b/leg-openstack-tempest/lava-job-definitions/mustang/tempest.yaml
new file mode 100644
index 000000000..1561730a1
--- /dev/null
+++ b/leg-openstack-tempest/lava-job-definitions/mustang/tempest.yaml
@@ -0,0 +1,93 @@
+actions:
+
+ - &deploy-nfs
+ command: deploy_linaro_kernel
+ parameters:
+ dtb: 'http://people.linaro.org/~andrew.mcdermott/mustang-deploy/mustang.dtb'
+ kernel: 'http://people.linaro.org/~andrew.mcdermott/mustang-deploy/uImage'
+ ramdisk: 'http://people.linaro.org/~andrew.mcdermott/mustang-deploy/uInitrd-nfs'
+ nfsrootfs: 'http://people.linaro.org/~andrew.mcdermott/mustang-deploy/ubuntu-arm64-chroot.tar.bz2'
+ target_type: ubuntu
+ login_prompt: 'login:'
+ username: ubuntu
+ password_prompt: Password
+ password: ubuntu
+ login_commands: ['sudo su -l']
+
+ - &boot-nfs
+ command: boot_linaro_image
+ parameters:
+ boot_cmds:
+ - 'setenv autoload no'
+ - 'setenv kernel_addr_r ''{KERNEL_ADDR}'''
+ - 'setenv initrd_addr_r ''{RAMDISK_ADDR}'''
+ - 'setenv fdt_addr_r ''{DTB_ADDR}'''
+ - 'setenv loadstuff ''tftp ${kernel_addr_r} {KERNEL}; tftp ${initrd_addr_r} {RAMDISK}; tftp ${fdt_addr_r} {DTB}'''
+ - 'setenv bootargs console=ttyS0,115200 panic root=/dev/nfs rw nfsroot={SERVER_IP}:{NFSROOTFS} ip=dhcp'
+ - 'setenv bootcmd ''dhcp; setenv serverip {SERVER_IP}; run loadstuff; {BOOTX}'''
+ - 'boot'
+
+ - command: lava_test_shell
+ parameters:
+ testdef_repos:
+ - git-repo: http://git.linaro.org/leg/openstack/lava-deploy-cloudimg.git
+ parameters:
+ LAVA_CLOUD_IMG_URL: 'http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-arm64-disk1.img'
+ timeout: 900
+
+ - &deploy-sata
+ command: deploy_linaro_kernel
+ parameters:
+ # This dtb and kernel is actually ignored.
+ dtb: http://people.linaro.org/~andrew.mcdermott/mustang-deploy/mustang.dtb_1.11
+ kernel: http://people.linaro.org/~andrew.mcdermott/mustang-deploy/uImage_1.11
+ target_type: ubuntu
+ login_prompt: 'login:'
+ username: ubuntu
+ password_prompt: Password
+ password: password
+ login_commands: ['sudo -s']
+
+ - &boot-sata
+ command: boot_linaro_image
+ parameters:
+ boot_cmds:
+ - 'setenv script_addr_r 0x4004000000'
+ - 'setenv sata 0x0C'
+ - 'scsi init'
+ - 'ext4load scsi 0 ${script_addr_r} boot/boot.scr'
+ - 'source ${script_addr_r}'
+
+ - command: lava_test_shell
+ parameters:
+ testdef_repos:
+ - git-repo: 'http://git.linaro.org/leg/openstack/lava-openstack.git'
+ testdef: 'devstack/openstack-devstack.yaml'
+ parameters:
+ LAVA_SLEEP_FOR_ACCESS: 'no'
+ LAVA_SLEEP_DURATION: 36000
+ LAVA_ADD_RALLY: 'yes'
+ LAVA_DEVSTACK_BRANCH: 'master'
+ - git-repo: 'http://git.linaro.org/leg/openstack/lava-openstack.git'
+ testdef: 'tempest/tempest-run.yaml'
+ parameters:
+ LAVA_RUN_TEMPEST: 'yes'
+ LAVA_TESTS_TO_RUN: ''
+ LAVA_TEMPEST_CONCURRENCY: 1
+ OS_TEST_TIMEOUT: 300
+ - git-repo: http://git.linaro.org/leg/openstack/lava-openstack.git
+ testdef: 'tempest/tempest-metrics.yaml'
+ - git-repo: http://git.linaro.org/leg/openstack/lava-openstack.git
+ testdef: 'tempest/tempest-results.yaml'
+ - git-repo: http://git.linaro.org/leg/openstack/lava-openstack.git
+ testdef: 'tempest/tempest-summary.yaml'
+ timeout: 10800
+
+ - command: submit_results
+ parameters:
+ server: 'http://${LAVA_SERVER}'
+ stream: '${BUNDLE_STREAM_NAME}'
+
+target: '${DEVICE_TARGET}'
+job_name: '${BUILD_URL}'
+timeout: 30000