blob: c126971b4f02d394367ec140595642908fc4692a (
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
|
metadata:
name: install-uprobe-kernel-on-arndale
format: "Lava-Test-Shell Test Definition 1.0"
description: "Build and install uprobes kernel on arndale. Pre-requirement of native-uprobes-systemtap-test.yaml"
maintainer:
- naresh.kamboju@linaro.org
os:
- ubuntu
scope:
- functional
devices:
- arndale
timeout: 14400
install:
deps:
- build-essential
- m4
- dejagnu
- bzip2
- wget
- gettext
- git
- bc
- expect
steps:
- 'HOME_PWD=`pwd`'
- 'git clone --depth 1 git://git.linaro.org/kernel/linux-linaro-tracking.git /usr/src/linux-linaro-tracking'
- 'cd /usr/src/linux-linaro-tracking'
- 'git checkout -b linux-linaro-uprobes origin/linux-linaro'
- 'ARCH=arm scripts/kconfig/merge_config.sh linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/kvm-host.conf linaro/configs/xen.conf linaro/configs/uprobes.conf linaro/configs/arndale.conf'
- 'make -j4 ARCH=arm LOADADDR=0x40008000 uImage'
- 'make ARCH=arm modules'
- 'make ARCH=arm modules_install'
- 'cp $HOME_PWD/common/scripts/make-kernel-install.exp /usr/src/linux-linaro-tracking/'
- '/usr/bin/expect make-kernel-install.exp'
- 'make ARCH=arm headers_install'
- 'mount /dev/mmcblk1p5 /mnt/'
- 'cp arch/arm/boot/uImage /mnt/'
- 'umount /mnt/'
run:
steps:
- 'cat /proc/version'
- 'df -h'
- 'lava-test-case install-uprobe-kernel-on-arndale --result pass'
# Linux kernel clone, build, install would take 3 hours on target.
# 10 GB test partition needed for install-uprobe-kernel and native-uprobes-systemtap-test.yaml
# uImage will be copied on to boot partition.
# Newly installed kernel image would be booted in next reboot by lava_test_shell
# uprobes_systemtap_test.yaml would be run after this test.
# Currently test intended to run on arndale target device.
# Example json file:
# http://people.linaro.org/~naresh.kamboju/uprobe-systemtap-test-on-lava.json
|