blob: cca1e57a9fc8dd9f32f0890bdbe0804ef3ad0260 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
device_type: mustang
job_name: mustang-ubuntu-deploy-test
timeout: 28800
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=1 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'
EXTRA_PREP_SCRIPT_URL: ''
timeout: 1800
- &deploy-sata
command: deploy_linaro_kernel
parameters:
# The dtb and kernel are 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-deploy-cloudimg.git
testdef: 'hacking-session.yaml'
parameters:
LAVA_SLEEP_DURATION: 28800
timeout: 7200
- command: submit_results
parameters:
server: 'http://openstack.validation.linaro.org/RPC2/'
stream: '/public/team/openstack/mustang/ubuntu-deploy-test/'
|