blob: 2ed60d3ce00664f99700ced4bcd130f4b824617f (
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
80
81
82
83
84
85
86
87
|
device_group:
- role: machine
count: 2
device_type: mustang
#device_type: mustang
job_name: mwhudson-juju
timeout: 30000
log_level: INFO
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/git-ro/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
# The sleep here is pretty mysterious, but without it, on the
# *second* boot into the installed image, the call to sudo asks
# for a password (some kind of race with cloud init?) I haven't
# bracketed to find the length of sleep that is required; 60
# works and 3 doesn't.
login_commands: ['sleep 60; sudo -s']
- &boot-sata
command: boot_linaro_image
parameters:
boot_cmds:
- 'setenv script_addr_r 0x4004000000'
- '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/git-ro/leg/openstack/lava-mustang-juju.git
parameters:
LAVA_SLEEP_FOR_ACCESS: 'yes'
LAVA_SLEEP_DURATION: '7200'
timeout: 24000
- command: submit_results
parameters:
server: 'http://validation.linaro.org/RPC2/'
stream: '/private/team/mustang/mwhudson/'
|