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