aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fedora/build.yaml26
-rw-r--r--fedora/scripts/build/F18-arndale-console_lava_test_in_f17.ks187
-rwxr-xr-xfedora/scripts/build/create-fedora-image.sh19
-rw-r--r--openembedded/acpi-smoke-test.yaml18
-rw-r--r--openembedded/alldebug-kernel.yaml29
-rw-r--r--openembedded/busybox.yaml30
l---------openembedded/cyclictest-basic.yaml1
-rw-r--r--openembedded/cyclictest.yaml48
l---------openembedded/device-tree.yaml1
-rw-r--r--openembedded/ebizzy.yaml38
-rw-r--r--openembedded/ethernet.yaml27
-rw-r--r--openembedded/hackbench.yaml28
-rw-r--r--openembedded/iperf.yaml37
-rw-r--r--openembedded/kernel-version.yaml27
-rw-r--r--openembedded/kselftest-cpu-hotplug.yaml40
-rw-r--r--openembedded/kselftest-efivarfs.yaml42
-rw-r--r--openembedded/kselftest-memory-hotplug.yaml42
-rw-r--r--openembedded/kselftest-mqueue.yaml37
-rw-r--r--openembedded/kselftest-net.yaml37
-rw-r--r--openembedded/kselftest-ptrace.yaml39
-rw-r--r--openembedded/kselftest-vm.yaml43
-rw-r--r--openembedded/kselftest.yaml30
-rw-r--r--openembedded/kvm-benchmark.yaml25
-rw-r--r--openembedded/kvm.yaml25
-rw-r--r--openembedded/libhugetlbfs.yaml38
-rw-r--r--openembedded/lmbench.yaml27
-rw-r--r--openembedded/lshw.yaml21
-rw-r--r--openembedded/ltp-realtime.yaml28
-rw-r--r--openembedded/ltp.yaml40
-rw-r--r--openembedded/mysql.yaml27
-rw-r--r--openembedded/netperf-client-multinode.yaml42
-rw-r--r--openembedded/netperf-server-multinode.yaml40
-rw-r--r--openembedded/nohz-isolation.yaml35
-rw-r--r--openembedded/odp-atomic.yaml27
-rw-r--r--openembedded/odp-example.yaml24
-rw-r--r--openembedded/odp-packet.yaml24
-rw-r--r--openembedded/odp-ring.yaml21
-rw-r--r--openembedded/odp-shm.yaml21
-rw-r--r--openembedded/openjdk8-sanity.yaml27
-rw-r--r--openembedded/openvswitch-lng.yaml51
-rw-r--r--openembedded/perf.yaml32
-rw-r--r--openembedded/phpinfo.yaml25
-rw-r--r--openembedded/phpmysql.yaml25
-rw-r--r--openembedded/pmqtest.yaml31
-rw-r--r--openembedded/pointer-tagging-tests.yaml30
-rw-r--r--openembedded/pwrmgmt.yaml38
-rw-r--r--openembedded/replay-client-multinode.yaml34
-rw-r--r--openembedded/replay-server-multinode.yaml28
-rwxr-xr-xopenembedded/scripts/acpi-smoke-test.sh52
-rwxr-xr-xopenembedded/scripts/busybox.sh32
-rwxr-xr-xopenembedded/scripts/cyclictest.py46
-rwxr-xr-xopenembedded/scripts/dmesg-parser.sh122
-rwxr-xr-xopenembedded/scripts/ethernet.sh34
-rwxr-xr-xopenembedded/scripts/fuzz-test.sh28
-rwxr-xr-xopenembedded/scripts/infinite_loop.py18
-rwxr-xr-xopenembedded/scripts/kernel-version.sh33
-rwxr-xr-xopenembedded/scripts/mauve-test-pkg81
-rwxr-xr-xopenembedded/scripts/mysql.sh33
-rwxr-xr-xopenembedded/scripts/openjdk-version.sh63
-rwxr-xr-xopenembedded/scripts/phpinfo.sh35
-rwxr-xr-xopenembedded/scripts/phpmysql.sh35
-rwxr-xr-xopenembedded/scripts/sdkhelloc.sh47
-rwxr-xr-xopenembedded/scripts/sdkhelloc_static.sh47
-rwxr-xr-xopenembedded/scripts/sdkhellocxx.sh47
-rwxr-xr-xopenembedded/scripts/toolchain.sh33
-rw-r--r--openembedded/sdkhelloc.yaml28
-rw-r--r--openembedded/sdkhelloc_static.yaml32
-rw-r--r--openembedded/sdkhellocxx.yaml28
-rw-r--r--openembedded/smoke-tests-basic.yaml22
-rw-r--r--openembedded/sysbench.yaml40
-rw-r--r--openembedded/toolchain.yaml26
-rw-r--r--openembedded/trinity.yaml33
-rw-r--r--ubuntu/96boards-gpio.yaml45
-rw-r--r--ubuntu/aapits.yaml40
-rw-r--r--ubuntu/acpi-smoke-test.yaml19
-rw-r--r--ubuntu/acpica-tools.yaml41
-rw-r--r--ubuntu/acpica.yaml50
-rw-r--r--ubuntu/audit-test.yaml92
-rw-r--r--ubuntu/bL_iks_tests.yaml45
-rw-r--r--ubuntu/blogbench.yaml39
-rw-r--r--ubuntu/bootchart-install.yaml32
-rw-r--r--ubuntu/bootchart.yaml33
l---------ubuntu/cyclictest-basic.yaml1
-rw-r--r--ubuntu/device-tree.yaml36
-rw-r--r--ubuntu/device_read_perf.yaml38
-rw-r--r--ubuntu/docker.yaml24
-rw-r--r--ubuntu/ebizzy.yaml53
-rw-r--r--ubuntu/exec-latency.yaml31
-rw-r--r--ubuntu/fio-test.yaml33
-rw-r--r--ubuntu/gator-data-streaming-ubuntu.yaml31
-rw-r--r--ubuntu/gatortests.yaml28
-rw-r--r--ubuntu/gcov-collect-results.yaml30
-rw-r--r--ubuntu/gcov-start.yaml34
-rw-r--r--ubuntu/hackbench.yaml55
-rw-r--r--ubuntu/install-uprobe-kernel-on-arndale.yaml55
-rw-r--r--ubuntu/iperf.yaml32
-rw-r--r--ubuntu/kselftest-cpu-hotplug.yaml37
-rw-r--r--ubuntu/kselftest-efivarfs.yaml42
-rw-r--r--ubuntu/kselftest-memory-hotplug.yaml38
-rw-r--r--ubuntu/kselftest-mqueue.yaml40
-rw-r--r--ubuntu/kselftest-net.yaml39
-rw-r--r--ubuntu/kselftest-ptrace.yaml40
-rw-r--r--ubuntu/kselftest-vm.yaml44
-rw-r--r--ubuntu/kselftest.yaml57
-rw-r--r--ubuntu/kvm.yaml42
-rw-r--r--ubuntu/latency-test.yaml38
-rw-r--r--ubuntu/libhugetlbfs.yaml49
-rw-r--r--ubuntu/lkp.yaml47
-rw-r--r--ubuntu/ltp-ddt.yaml37
-rw-r--r--ubuntu/ltp-network.yaml79
-rw-r--r--ubuntu/ltp-realtime.yaml46
-rw-r--r--ubuntu/ltp.yaml59
-rw-r--r--ubuntu/mmtests.yaml39
-rw-r--r--ubuntu/multiple-network-interfaces.yaml25
-rw-r--r--ubuntu/native-uprobes-systemtap-test.yaml78
-rw-r--r--ubuntu/netmap-pkt-gen-multinode.yaml90
-rw-r--r--ubuntu/netperf-client-multinode.yaml41
-rw-r--r--ubuntu/netperf-server-multinode.yaml41
-rw-r--r--ubuntu/network-tests-basic.yaml36
l---------ubuntu/nohz-isolation.yaml1
-rw-r--r--ubuntu/odp-tests.yaml54
-rw-r--r--ubuntu/openssl-bsaes.yaml32
-rw-r--r--ubuntu/openssl.yaml30
-rw-r--r--ubuntu/ovs-odp-dpdk-server-multinode.yaml100
-rw-r--r--ubuntu/perf-mmap.yaml34
-rw-r--r--ubuntu/perf.yaml35
-rw-r--r--ubuntu/phoronix.yaml55
-rw-r--r--ubuntu/pi-stress-test.yaml44
-rw-r--r--ubuntu/pmqtest.yaml35
-rw-r--r--ubuntu/ptsematest.yaml35
-rw-r--r--ubuntu/pwrmgmt.yaml47
-rw-r--r--ubuntu/qemu-edk2-boot.yaml38
-rw-r--r--ubuntu/rcutorture.yaml32
-rw-r--r--ubuntu/replay-client-multinode.yaml30
-rw-r--r--ubuntu/replay-server-multinode.yaml26
-rw-r--r--ubuntu/rt-migrate-test.yaml33
-rw-r--r--ubuntu/sata-partition-rw.yaml36
-rwxr-xr-xubuntu/scripts/acpi-check.sh33
-rwxr-xr-xubuntu/scripts/acpica-parser.sh26
-rwxr-xr-xubuntu/scripts/audit-make-run.exp13
-rwxr-xr-xubuntu/scripts/bootchartscript.sh27
-rw-r--r--ubuntu/scripts/bootcharttest.py19
-rwxr-xr-xubuntu/scripts/device-tree.sh67
-rwxr-xr-xubuntu/scripts/device_read_perf.sh84
-rwxr-xr-xubuntu/scripts/fio-test.py268
-rwxr-xr-xubuntu/scripts/gator-data-streaming-ubuntu.sh96
-rwxr-xr-xubuntu/scripts/include/sh-test-lib61
-rw-r--r--ubuntu/scripts/ltp-network-skiplist17
-rw-r--r--ubuntu/scripts/ltp-network-udhcpd9
-rw-r--r--ubuntu/scripts/ltp-network-xinetd.conf23
-rwxr-xr-xubuntu/scripts/ltp-network.sh136
-rwxr-xr-xubuntu/scripts/multiple-network-interfaces-test.sh84
-rwxr-xr-xubuntu/scripts/openssl-bsaes.sh72
-rwxr-xr-xubuntu/scripts/openssl.sh32
-rwxr-xr-xubuntu/scripts/phoronix.py127
-rwxr-xr-xubuntu/scripts/pi-stress-test.py52
-rwxr-xr-xubuntu/scripts/qemu-edk2-boot.expect29
-rwxr-xr-xubuntu/scripts/qemu-edk2-boot.sh16
-rwxr-xr-xubuntu/scripts/rcutorture.py98
-rwxr-xr-xubuntu/scripts/rt-migrate-test-parser.sh12
-rwxr-xr-xubuntu/scripts/sata-partition-rw.py431
-rwxr-xr-xubuntu/scripts/sd-mmc-ubuntu.sh59
-rwxr-xr-xubuntu/scripts/sendme-parser.sh18
-rwxr-xr-xubuntu/scripts/signaltest-parser.sh13
-rwxr-xr-xubuntu/scripts/usb-test-basic.sh84
-rwxr-xr-xubuntu/scripts/wifi-ubuntu.sh107
-rwxr-xr-xubuntu/scripts/wlan-download-test.sh153
-rw-r--r--ubuntu/sd-mmc-ubuntu.yaml30
-rw-r--r--ubuntu/sendme.yaml37
-rw-r--r--ubuntu/signaltest.yaml35
-rw-r--r--ubuntu/sigwaittest.yaml34
-rw-r--r--ubuntu/smoke-tests-basic.yaml27
-rw-r--r--ubuntu/svsematest.yaml35
-rw-r--r--ubuntu/sysbench.yaml33
-rw-r--r--ubuntu/usb-test-basic.yaml30
-rw-r--r--ubuntu/wifi-ubuntu.yaml26
-rw-r--r--ubuntu/wlan-download-test.yaml32
177 files changed, 0 insertions, 7890 deletions
diff --git a/fedora/build.yaml b/fedora/build.yaml
deleted file mode 100644
index 255fdfbd..00000000
--- a/fedora/build.yaml
+++ /dev/null
@@ -1,26 +0,0 @@
-metadata:
- name: fedora-build
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Fedora builds."
- maintainer:
- - milosz.wasilewski@linaro.org
- scope:
- - functional
- os:
- - fedora
- devices:
- - juno
-install:
- steps:
- - 'echo nameserver 8.8.8.8 > /etc/resolv.conf'
- - 'sleep 10'
- - 'ping dmarlin.fedorapeople.org -c 5'
- - 'yum -y --nogpgcheck install http://dmarlin.fedorapeople.org/packages/FedoraArm/RPMS/noarch/xpfa-18-1.noarch.rpm'
- - 'yum -y --enablerepo=xpfa install anaconda lorax'
-
-run:
- steps:
- - './fedora/scripts/build/create-fedora-image.sh'
-
-parse:
- pattern: "^(?P<test_case_id>.*)=(?P<result>.*)"
diff --git a/fedora/scripts/build/F18-arndale-console_lava_test_in_f17.ks b/fedora/scripts/build/F18-arndale-console_lava_test_in_f17.ks
deleted file mode 100644
index e8396656..00000000
--- a/fedora/scripts/build/F18-arndale-console_lava_test_in_f17.ks
+++ /dev/null
@@ -1,187 +0,0 @@
-# Build a Fedora ARM (A15) Arndale board remix image using livemedia-creator
-# NOTE:
-# Run livemedia-creator on and F17 host for this F18 build.
-# The tools on F18 require some changes to the kickstart
-# and the command line.
-
-lang en_US.UTF-8
-keyboard us
-timezone --utc US/Eastern
-auth --useshadow --enablemd5
-#selinux --enforcing
-selinux --disabled
-#firstboot --enable
-firewall --enabled --service=mdns,ssh
-network --bootproto=dhcp --device=eth0 --onboot=on --activate --hostname=arndale-f18-v7hl
-services --enabled=NetworkManager,sshd,chronyd --disabled=network
-
-skipx
-
-# Set a default root password for Fedora
-rootpw --plaintext fedora
-
-# Repositories
-# apparently we must use 'url' for the install repo for livemedia-creator
-url --url="http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Everything/armhfp/os/"
-# incude the rest of the packges
-repo --name=other --baseurl="http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Everything/armhfp/os/"
-repo --name=other-up --baseurl="http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Everything/armhfp/os/"
-# include a local repo to get grubby, the A15 kernel, etc.
-repo --name=fwpfa --baseurl="http://tekkamanninja.fedorapeople.org/yum/f18/armhfp/os/Packages/"
-
-#
-# Define how large you want your rootfs to be
-#
-# NOTE: /boot and swap MUST use --asprimary to ensure '/' is
-# the last partition in order for rootfs-resize to work.
-#
-bootloader --location=none
-zerombr
-clearpart --all
-part /boot --size 200 --fstype ext3 --label=boot
-part swap --size 500 --asprimary --label=swap
-part / --size 2000 --fstype ext4 --label=rootfs
-
-#
-# Add all the packages after the standard packages
-#
-%packages --nobase
-@standard
-
-# This is a remix, so use tekkamanninja-release
--fedora-release
--fedora-logos
-#for tekkamanninja repo
-tekkamanninja-release
-generic-logos
-
-# install the Exynos5 kernel for the Arndale board
-kernel-exynos5
-
-# apparently none of the default groups sets the clock.
-chrony
-
-# and ifconfig would be nice.
-net-tools
-
-# we'll want to resize the rootfs on first boot
-rootfs-resize
-
-# get the uboot tools
-uboot-tools
-
-
-%end
-
-
-# more configuration
-%post --erroronfail
-
-# set up the U-Boot config for the Arndale board
-cat << EOF >> /etc/sysconfig/uboot
-# settings for the Arndale board
-UBOOT_IMGADDR=0x40008000
-UBOOT_DEVICE=mmcblk0p1
-EOF
-
-# then remove the 'generic' kernel
-#yum -y remove kernel
-
-
-# Set up the bootloader configuration on the /boot partition
-pushd /boot
-
-# get the root device from fstab, typically UUID=<string>
-ROOTDEV=`grep -w / /etc/fstab | cut -d ' ' -f1`
-
-KERNEL_ADDR=0x40007000
-INITRD_ADDR=0x42000000
-DTB_ADDR=0x41f00000
-
-# setup uEnv.txt
-cat <<EOL > uEnv.txt
-mmcargs=setenv bootargs console=\${console} root=$ROOTDEV rw rootwait drm_kms_helper.edid_firmware=edid-1920x1080.fw
-mmcload=ext2load mmc 0 $DTB_ADDR exynos5250-arndale.dtb; ext2load mmc 0 $INITRD_ADDR uInitrd; ext2load mmc 0 $KERNEL_ADDR uImage; echo Booting from mmc ...
-uenvcmd=run mmcload; run mmcargs; bootm $KERNEL_ADDR $INITRD_ADDR $DTB_ADDR
-EOL
-
-popd
-
-
-# datestamp this release
-date +F18-%Y%m%d-test > /etc/RELEASE
-
-# force resize of the rootfs
-touch /.rootfs-repartition
-
-# try Brendan's tip for workaround.
-setfiles -v -F -e /proc -e /sys -e /dev \
- /etc/selinux/targeted/contexts/files/file_contexts /
-
-
-%end
-
-
-# get the files required for A15 (Arndale board) boot
-# FIXME: these should be packaged as RPMs and installed via yum.
-
-%post --nochroot
-
-pushd /mnt/sysimage
-
-# get the script binary for the Arndale board
-wget -P boot "http://tekkamanninja.fedorapeople.org/boards/arndale/boot/exynos5250-arndale.dtb"
-
-# install pre-built bootloader
-# here assume that the --image-name=F18-arndale-${BUILD_TIME}-console_lava_test.img
-LOOP_DEV=`ls /dev/mapper/F18-arndale-*-console_lava_test`
-
-mkdir boot/u-boot
-
-wget -P boot/u-boot "http://tekkamanninja.fedorapeople.org/boards/arndale/u-boot/arndale-bl1.bin"
-wget -P boot/u-boot "http://tekkamanninja.fedorapeople.org/boards/arndale/u-boot/smdk5250-spl.bin"
-wget -P boot/u-boot "http://tekkamanninja.fedorapeople.org/boards/arndale/u-boot/u-boot.bin"
-
-if [ -e $LOOP_DEV ]
-then
-dd if=boot/u-boot/arndale-bl1.bin of=$LOOP_DEV bs=512 seek=1
-dd if=boot/u-boot/smdk5250-spl.bin of=$LOOP_DEV bs=512 seek=17
-dd if=boot/u-boot/u-boot.bin of=$LOOP_DEV bs=512 seek=49
-fi
-###############################
-
-
-
-#for LAVA test only----start
-#clean /etc/fstab
-rm etc/fstab
-touch etc/fstab
-
-#auto-login as root
-sed 's#^ExecStart=-/sbin/agetty -s#ExecStart=-/sbin/agetty -s --noclear --autologin root #' lib/systemd/system/serial-getty@.service > lib/systemd/system/serial-getty@.service.tmp
-mv lib/systemd/system/serial-getty@.service.tmp lib/systemd/system/serial-getty@.service
-
-#delete the password of root
-sed -r 's/^root:.*((:.*){7})$/root:\1/' etc/shadow > etc/shadow.tmp
-mv etc/shadow.tmp etc/shadow
-
-
-#disable the rootfs partition resize on first booting
-rm .rootfs-repartition
-
-#overwrite /boot/uEvn.txt for lava test
-mv boot/uEnv.txt boot/uEnv.txt.org
-cat <<EOL > boot/uEnv.txt
-mmc rescan
-mmc part 0
-setenv bootcmd "'fatload mmc 0:2 0x40007000 uImage; fatload mmc 0:2 0x42000000 uInitrd; fatload mmc 0:2 0x41f00000 exynos5250-arndale.dtb; bootm 0x40007000 0x42000000 0x41f00000'"
-setenv bootargs "'console=ttySAC2,115200n8 root=LABEL=testrootfs rootwait rw selinux=0'"
-boot
-EOL
-#for LAVA test only----end
-
-sync
-
-popd
-
-%end
diff --git a/fedora/scripts/build/create-fedora-image.sh b/fedora/scripts/build/create-fedora-image.sh
deleted file mode 100755
index 8423710b..00000000
--- a/fedora/scripts/build/create-fedora-image.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-BUILD_TIME=`date +%Y%m%d%H%M`
-
-anaconda-cleanup
-
-livemedia-creator \
- --no-virt --make-disk \
- --armplatform=None \
- --tmp=${PWD} \
- --image-name=${PWD}/F18-arndale-${BUILD_TIME}.img \
- --ks=${PWD}/fedora/scripts/build/F18-arndale-console_lava_test_in_f17.ks
-
-ls -alh *.img
-if [ $? -eq 0 ]; then
- echo "fedora-build=pass"
-else
- echo "fedora-build=fail"
-fi
diff --git a/openembedded/acpi-smoke-test.yaml b/openembedded/acpi-smoke-test.yaml
deleted file mode 100644
index ac6f4646..00000000
--- a/openembedded/acpi-smoke-test.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-metadata:
- name: acpi-smoke-test
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "ACPI smoke test verifies presence of acpi and DSDT under /sys/firmware. It also checks
- for decompilation of DSDT under /sys/firmware/acpi/tables/DSDT if iasl is installed."
- maintainer:
- - timothy.anzaku@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_fvp_base_cortex-a57x1-a53x1
- - rtsm_fvp_base-aemv8a
- - juno
-run:
- steps:
- - "./openembedded/scripts/acpi-smoke-test.sh"
diff --git a/openembedded/alldebug-kernel.yaml b/openembedded/alldebug-kernel.yaml
deleted file mode 100644
index bfb50f67..00000000
--- a/openembedded/alldebug-kernel.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-metadata:
- name: alldebug-kernel
- format: "Lava-Test-Shell Test Definition 1.0"
- description:
- "This test will parse the kernel self debug test log"
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - panda-es
- scope:
- - functional
-
-run:
- steps:
- - 'dmesg > dmesg.log'
- - 'openembedded/scripts/dmesg-parser.sh dmesg.log'
- - 'lava-test-run-attach dmesg.log'
-
-parse:
- pattern: "^(?P<test_case_id>[-\\w=>/()[\\] #+]+):\\s+(?P<result>FAILED|ok)"
- fixupdict:
- FAILED: fail
- ok: pass
-
diff --git a/openembedded/busybox.yaml b/openembedded/busybox.yaml
deleted file mode 100644
index 277ff27d..00000000
--- a/openembedded/busybox.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-metadata:
- name: busybox
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Busybox test for Linaro OpenEmbedded builds. BusyBox is software that
- provides several stripped-down Unix tools in a single executable file.
- Busybox test runs mkdir, touch, ls, ps, whoami, which, basename, cp, rm,
- dmesg and grep commands."
- maintainer:
- - senthil.kumaran@linaro.org
- - milosz.wasilewski@linaro.org
- - koen.kooi@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_fvp_base-aemv8a
- - vexpress-tc2
- - juno
-
-run:
- steps:
- - "cd openembedded/scripts"
- - "./busybox.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/cyclictest-basic.yaml b/openembedded/cyclictest-basic.yaml
deleted file mode 120000
index 142bae6c..00000000
--- a/openembedded/cyclictest-basic.yaml
+++ /dev/null
@@ -1 +0,0 @@
-../common/cyclictest-basic.yaml \ No newline at end of file
diff --git a/openembedded/cyclictest.yaml b/openembedded/cyclictest.yaml
deleted file mode 100644
index 28e4aa93..00000000
--- a/openembedded/cyclictest.yaml
+++ /dev/null
@@ -1,48 +0,0 @@
-metadata:
- name: cyclictest
- format: "Lava-Test-Shell Test Definition 1.0"
- version: 1.1
- description: "Cyclictest Suite for Linaro OpenEmbedded builds. Cyclictest is a high-resolution
- test program for measuring the Linux kernel latencies. The MAX, AVG and RTIME
- is set to 15000, 50 and 7200 respectively by default which can chabged via JSON file."
- maintainer:
- - vincent.hsu@linaro.org
- - ciprian.barbu@linaro.org
- - anders.roxell@linaro.org
- os:
- - openembedded
- scope:
- - performance
- - preempt-rt
- devices:
- - arndale
- - juno
-
-# Parameters description
-# MAX: Maximum latency bound.
-# AVG: Average latency bound.
-# RTIME: Running time. Must set this longer than 60.
-# (changed so default RTIME is two hours - GSR)
-params:
- MAX: 15000
- AVG: 50
- RTIME: 7200
-
-run:
- steps:
- - "taskset -c 1 fping -g 127.0.0.1 127.0.0.10 -t 100 -q -l &> /dev/null &"
- - "taskset -c 1 ./openembedded/scripts/infinite_loop.py $(expr $RTIME - 60) &> /dev/null &"
- - "taskset -c 1 cyclictest -t 1 -p 80 -i 10000 -n -a1 -v -D $(expr $RTIME / 2) > ~/cyclictest_full.log &"
- - "taskset -c 1 cyclictest -t 50 -p 80 -i 10000 -n -a1 -q -D $RTIME > ~/cyclictest_summary.log"
- - "cat ~/cyclictest_summary.log | ./openembedded/scripts/cyclictest.py $MAX $AVG"
- - "lava-test-run-attach ~/cyclictest_summary.log text/plain"
- - "tar -cjf ~/cyclictest_full.log.tbz ~/cyclictest_full.log"
- - "lava-test-run-attach ~/cyclictest_full.log.tbz application/x-bzip2"
- - "killall calibrator infinite_loop.py fping"
-
-parse:
- pattern: "^test_case_id:(?P<test_case_id>.+)\\s+result:(?P<result>\\w+)\\s+measurement:(?P<measurement>.+)\\s+units:(?P<units>.+)"
- fixupdict:
- PASS: pass
- FAIL: fail
- SKIP: skip
diff --git a/openembedded/device-tree.yaml b/openembedded/device-tree.yaml
deleted file mode 120000
index e5c02892..00000000
--- a/openembedded/device-tree.yaml
+++ /dev/null
@@ -1 +0,0 @@
-../ubuntu/device-tree.yaml \ No newline at end of file
diff --git a/openembedded/ebizzy.yaml b/openembedded/ebizzy.yaml
deleted file mode 100644
index ec871c90..00000000
--- a/openembedded/ebizzy.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-metadata:
- name: ebizzy
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Ebizzy test for Linaro OpenEmbedded builds. Ebizzy test is designed to generate
- a workload resembling common web application server workloads. It is highly
- threaded, has a large in-memory working set, and allocates and deallocates
- memory frequently."
- maintainer:
- - lisa.nguyen@linaro.org
- os:
- - openembedded
- devices:
- - juno
- - vexpress-tc2
- scope:
- - performance
-
-params:
- THREADS: 2
- TIME: 20
- REPEAT: 50
-
-run:
- steps:
- - CURRENT_DIR=$(pwd)
- - i=1
- - cd /opt/ltp/testcases/bin
- - while [ $i -le $REPEAT ]; do ./ebizzy -t $THREADS -S $TIME | tee -a ebizzy.log; true $(( i++ )); done
- - cp ebizzy.log ebizzy-real.log
- - cp ebizzy.log ebizzy-user.log
- - cp ebizzy.log ebizzy-sys.log
- - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-real.log "real" "Second"
- - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-user.log "user" "Second"
- - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-sys.log "sys" "Second"
-
-parse:
- pattern: "^(?P<test_case_id>\\w+):\\s*(?P<measurement>[0-9\\.]+)\\s+(?P<units>\\w+)\\s+(?P<result>\\w+)"
diff --git a/openembedded/ethernet.yaml b/openembedded/ethernet.yaml
deleted file mode 100644
index 7b5f048c..00000000
--- a/openembedded/ethernet.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-metadata:
- name: ethernet
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Ethernet Test for Linaro OpenEmbedded builds. The test checks if Ethernet
- is up and prints IP address."
- maintainer:
- - senthil.kumaran@linaro.org
- - milosz.wasilewski@linaro.org
- - koen.kooi@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_ve-armv8
- - juno
-
-run:
- steps:
- - "cd openembedded/scripts"
- - "./ethernet.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/hackbench.yaml b/openembedded/hackbench.yaml
deleted file mode 100644
index 5ea93540..00000000
--- a/openembedded/hackbench.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-metadata:
- name: hackbench
- format: "Lava-Test-Shell Test Definition 1.0"
- version: 1.0
- description: "Hackbench test for Linaro OpenEmbedded builds. Hackbench is both a benchmark
- and a stress test for the Linux kernel scheduler. It's main job is to create
- a specified number of pairs of schedulable entities (either threads or traditional
- processes) which communicate via either sockets or pipes and time, how long it takes
- for each pair to send data back and forth."
- maintainer:
- - ciprian.barbu@linaro.org
- - anders.roxell@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - juno
- scope:
- - performance
- - preempt-rt
-
-run:
- steps:
- - for i in {1..1000}; do timeout 10s hackbench | tee -a hackbench_res.txt; done
- - ./common/scripts/min_max_avg_parse.py hackbench_res.txt "Time:" "Seconds"
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)'
diff --git a/openembedded/iperf.yaml b/openembedded/iperf.yaml
deleted file mode 100644
index ca17e1d2..00000000
--- a/openembedded/iperf.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: iperf-multinode
- description:
- "Basic MultiNode iperf test on server/client side.
- The roles in the test job must be server & client"
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- scope:
- - performance
- devices:
- - kvm
- - arndale
- - beaglebone-black
-
-install:
- git-repos:
- - https://github.com/esnet/iperf.git
- steps:
- - cd iperf
- - ./configure --prefix=/usr
- - make all install
- - ln -s /usr/bin/iperf3 /usr/bin/iperf
-
-params:
- LEN: 8K # [KM] length of buffer to read or write
- PACKET: TCP # [TCP|UDP] packet type
- TIME: 20 # time in seconds to transmit for
-
-run:
- steps:
- - ./common/scripts/iperf-$(lava-role).sh ${LEN} ${PACKET} ${TIME}
-
-parse:
- pattern: '^(?P<test_case_id>[a-zA-Z]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>[\w\/]+)\s+(?P<result>pass)'
diff --git a/openembedded/kernel-version.yaml b/openembedded/kernel-version.yaml
deleted file mode 100644
index 3823f674..00000000
--- a/openembedded/kernel-version.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-metadata:
- name: kernel-version
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Kernel-version test for Linaro OpenEmbedded builds. The test verfies
- available kernel version."
- maintainer:
- - senthil.kumaran@linaro.org
- - milosz.wasilewski@linaro.org
- - koen.kooi@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_ve-armv8
- - juno
-
-run:
- steps:
- - "cd openembedded/scripts"
- - "./kernel-version.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/kselftest-cpu-hotplug.yaml b/openembedded/kselftest-cpu-hotplug.yaml
deleted file mode 100644
index 855f717c..00000000
--- a/openembedded/kselftest-cpu-hotplug.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
-metadata:
- name: kselftest-cpu-hotplug
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Linux kernel Selftest for Linaro OpenEmbedded builds. The kernel contains
- a set of 'self tests' under the tools/testing/selftests/ directory. These
- are intended to be small unit tests to exercise individual code paths in the
- kernel. This test runs full range of cpu-hotplug tests."
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
- steps:
- - 'cd kselftest'
- - 'make -C cpu-hotplug'
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-runner.sh cpu-hotplug ./kselftest/cpu-hotplug/on-off-test.sh'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
diff --git a/openembedded/kselftest-efivarfs.yaml b/openembedded/kselftest-efivarfs.yaml
deleted file mode 100644
index 5e048bef..00000000
--- a/openembedded/kselftest-efivarfs.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-metadata:
- name: kselftest-efivarfs
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Linux kernel Kselftest-efivarfs test for Linaro OpenEmbedded builds. The kernel contains
- a set of 'self tests' under the tools/testing/selftests/ directory. These are intended
- to be small unit tests to exercise individual code paths. This test runs efivarfs(a (U)EFI
- variable filesystem). Variables can be created, deleted and modified with the efivarfs filesystem."
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
-
- steps:
- - 'cd kselftest'
- - 'make -C efivarfs'
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-runner.sh efivarfs ./kselftest/efivarfs/efivarfs.sh'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
-
diff --git a/openembedded/kselftest-memory-hotplug.yaml b/openembedded/kselftest-memory-hotplug.yaml
deleted file mode 100644
index 42f97fae..00000000
--- a/openembedded/kselftest-memory-hotplug.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-metadata:
- name: kselftest-memory-hotplug
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Linux kernel Kselftest-memory-hotplug test for Linaro OpenEmbedded builds. The kernel
- contains a set of 'self tests' under the tools/testing/selftests/ directory. These are
- intended to be small unit tests to exercise individual code paths.This test runs memory-hotplug
- test. Memory-hotplug allows to increase/decrease the amount of memory required by highly
- virtualized environments or required by hardware which supports memory power management."
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
-
- steps:
- - 'cd kselftest'
- - 'make -C memory-hotplug'
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-runner.sh memory-hotplug ./kselftest/memory-hotplug/on-off-test.sh'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
diff --git a/openembedded/kselftest-mqueue.yaml b/openembedded/kselftest-mqueue.yaml
deleted file mode 100644
index 7c2bc106..00000000
--- a/openembedded/kselftest-mqueue.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-metadata:
- name: kselftest-mqueue
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Linux kernel Kselftest-mqueue test for Linaro OpenEmbedded builds. The kernel contains
- a set of 'self tests' under the tools/testing/selftests/ directory. These are intended
- to be small unit tests to exercise individual code paths. kselftest-mqueue test tries to
- open a posix message queue and reports whether it fails or passes."
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-mqueue.sh'
-
-parse:
- pattern: "^(?P<test_case_id>[A-Za-z0-9_>=/, ]+):[\\s]+(?P<result>PASS|FAIL)"
- fixupdict:
- PASS: pass
- FAIL: fail
-
diff --git a/openembedded/kselftest-net.yaml b/openembedded/kselftest-net.yaml
deleted file mode 100644
index efb782a9..00000000
--- a/openembedded/kselftest-net.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-metadata:
- name: kselftest-net
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Linux kernel Kselftest-net test for Linaro OpenEmbedded builds. The kernel contains
- a set of 'self tests' under the tools/testing/selftests/ directory. These are intended
- to be small unit tests to exercise individual code paths. kselftest-net is a basic test
- of packet socket fanout and socket's TPACKET_V1/TPACKET_V2/TPACKET_V3 behavior."
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
- steps:
- - 'cd kselftest'
- - 'make -C net'
-
-params:
- BRANCH: master
-
-run:
- steps:
- - 'cd kselftest/net'
- - '../../common/scripts/kselftest-runner.sh net "make run_tests"'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_ ]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
diff --git a/openembedded/kselftest-ptrace.yaml b/openembedded/kselftest-ptrace.yaml
deleted file mode 100644
index 1a718176..00000000
--- a/openembedded/kselftest-ptrace.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-metadata:
- name: kselftest-ptrace
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Linux kernel Kselftest-ptrace test for Linaro OpenEmbedded builds. The kernel contains
- a set of 'self tests' under the tools/testing/selftests/ directory. These are intended
- to be small unit tests to exercise individual code paths. kself-ptrace test uses ptrace
- or process trace system call that provides a means by which, one process can observe and
- control the execution of another process and examine and change the tracee's memory and
- registers."
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
- steps:
- - 'cd kselftest'
- - 'sed -i "1s/^/CFLAGS = -DPAGE_SIZE=4096\n/" ptrace/Makefile'
- - 'make -C ptrace'
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './kselftest/ptrace/peeksiginfo && echo "peeksiginfo selftests: pass" || echo "peeksiginfo selftests: fail"'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_ ]+):\\s(?P<result>pass|fail)"
diff --git a/openembedded/kselftest-vm.yaml b/openembedded/kselftest-vm.yaml
deleted file mode 100644
index 85987363..00000000
--- a/openembedded/kselftest-vm.yaml
+++ /dev/null
@@ -1,43 +0,0 @@
-metadata:
- name: kselftest-vm
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Linux kernel Kselftest-vm test for Linaro OpenEmbedded builds. The kernel contains
- a set of 'self tests' under the tools/testing/selftests/ directory. These are intended
- to be small unit tests to exercise individual code paths. kselftest-vm tests huge page
- memory in a user application using the mmap and Sys V shared memory system calls. It
- also tests selecting other page sizes for mmap/shmget and stress test for transparent
- huge pages, memory compaction and migration."
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
- steps:
- - 'cd kselftest'
- - 'make -C vm'
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-runner.sh vm ./kselftest/vm/run_vmtests'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
-
diff --git a/openembedded/kselftest.yaml b/openembedded/kselftest.yaml
deleted file mode 100644
index e634973e..00000000
--- a/openembedded/kselftest.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-metadata:
- name: kselftest
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Kernel Self Test"
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - all
-
-params:
- TESTPROG: kselftest_armhf.tar.gz
-
-run:
- steps:
- - 'cd /tmp'
- - 'wget http://testdata.validation.linaro.org/tests/kselftest/$TESTPROG -O kselftest.tar.gz'
- - 'tar -xaf kselftest.tar.gz'
- - 'cd kselftest'
- - './run_kselftest.sh'
-
-parse:
- pattern: "^selftests:\\s(?P<test_case_id>\\S+)\\s[[](?P<result>(FAIL|PASS|SKIP))[]]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
diff --git a/openembedded/kvm-benchmark.yaml b/openembedded/kvm-benchmark.yaml
deleted file mode 100644
index 9ab82f4f..00000000
--- a/openembedded/kvm-benchmark.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-metadata:
- name: kvm-benchmark
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "kvm benchmark."
- maintainer:
- - anders.roxell@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- scope:
- - performance
- - virtualization
-
-run:
- steps:
- - './common/scripts/kvm/test-kvm.sh benchmark ms'
- - './common/scripts/parse_lmbench.sh kvm-log.txt ms result_guest_lmbench.log'
- - 'sed -i "s|^|kvm-|g" result_guest_lmbench.log'
- - 'cat result_guest_lmbench.log'
- - 'lava-test-run-attach kvm-log.txt text/plain'
- - 'lava-test-run-attach result_guest_lmbench.log text/plain'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)'
diff --git a/openembedded/kvm.yaml b/openembedded/kvm.yaml
deleted file mode 100644
index b39470c9..00000000
--- a/openembedded/kvm.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-metadata:
- name: kvm
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test kvm on openembedded."
- maintainer:
- - anders.roxell@linaro.org
- - riku.voipio@linaro.org
- scope:
- - functional
- - virtualization
- os:
- - openembedded
- devices:
- - rtsm_ve-armv8
- - arndale
-
-run:
- steps:
- - 'sudo ./common/scripts/kvm/test-host.sh'
- - 'sudo ./common/scripts/kvm/test-kvm.sh'
- - 'sudo ./common/scripts/kvm/test-rt-parse.sh'
- - "lava-test-run-attach kvm-log.txt text/plain"
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)'
diff --git a/openembedded/libhugetlbfs.yaml b/openembedded/libhugetlbfs.yaml
deleted file mode 100644
index 274da518..00000000
--- a/openembedded/libhugetlbfs.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-metadata:
- name: libhugetlbfs
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run through libhugetlbfs next branch tests.
- Runs through $WORD_SIZE bit libhugetlbfs on target system.
- The default WORD_SIZE is 64 bit to accomodate 64 bit systems
- but for 32 bit systems the WORD_SIZE value should be set to
- 32 from the json file passed to the scheduler.
- One needs to run with a kernel that supports huge pages,
- also the OpenEmbedded system needs to have the libhugetlbfs
- test suite pre-installed. (Which is the case for recent
- OpenEmbedded builds)."
- maintainer:
- - steve.capper@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_ve-armv8
- - arndale
-
-params:
- WORD_SIZE: 64
-
-run:
- steps:
- - 'echo 200 > /proc/sys/vm/nr_hugepages'
- - 'mkdir /mnt/huge'
- - 'mount -t hugetlbfs hugetlbfs /mnt/huge'
- - 'cd /usr/lib/libhugetlbfs/tests'
- - './run_tests.py -p $((2 * 1024 * 1024)) -b $WORD_SIZE'
-
-parse:
- pattern: '^(?P<test_case_id>.+):\s+(?P<result>FAIL|PASS)'
- fixupdict:
- FAIL: fail
- PASS: pass
diff --git a/openembedded/lmbench.yaml b/openembedded/lmbench.yaml
deleted file mode 100644
index 9e6a3a28..00000000
--- a/openembedded/lmbench.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-metadata:
- name: lmbench
- format: "Lava-Test-Shell Test Definition 1.0"
- version: 1.0
- description: "Lmbench test Suite for Linaro OpenEmbedded builds. lmbench is a suite of
- simple, portable, ANSI/C microbenchmarks for UNIX/POSIX. In general, it
- measures two key features: latency and bandwidth."
- maintainer:
- - anders.roxell@linaro.org
-
- os:
- - openembedded
- devices:
- - arndale
- - juno
- scope:
- - performance
-
-run:
- steps:
- - './common/scripts/lmbench.sh 2>&1| tee lmbench.log'
- - './common/scripts/parse_lmbench.sh lmbench.log ms result_lmbench.log'
- - 'cat result_lmbench.log'
- - 'lava-test-run-attach result_lmbench.log text/plain'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)'
diff --git a/openembedded/lshw.yaml b/openembedded/lshw.yaml
deleted file mode 100644
index b853eff1..00000000
--- a/openembedded/lshw.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-metadata:
- name: lshw
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Lshw Test for Linaro OpenEmbedded builds. lshw is a small tool to extract
- detailed information on the hardware configuration of the machine. It can
- report exact memory configuration, firmware version, mainboard configuration,
- CPU version and speed, cache configuration and bus speed etc."
- version: 1.0
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_fvp_base_cortex-a57x1-a53x1
- - rtsm_fvp_base-aemv8a
- - juno
-run:
- steps:
- - "./common/scripts/lshw.sh"
diff --git a/openembedded/ltp-realtime.yaml b/openembedded/ltp-realtime.yaml
deleted file mode 100644
index 2f031316..00000000
--- a/openembedded/ltp-realtime.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-metadata:
- name: ltp-realtime
- format: "Lava-Test-Shell Test Definition 1.0"
- version: 20140422
- description: "Run LTP test_realtime on OpenEmbedded."
- maintainer:
- - anders.roxell@linaro.org
- - mike.holmes@linaro.org
- os:
- - openembedded
- scope:
- - preempt-rt
- devices:
- - arndale
-params:
- LTP_REALTIME_TESTS_TO_RUN: 'async_handler gtod_latency hrtimer-prio matrix_mult measurement periodic_cpu_load pi_perf prio-preempt prio-wake pthread_kill_latency rt-migrate sched_football sched_jitter sched_latency thread_clock'
-
-run:
- steps:
- - 'export LAVA_TESTDIR=`echo $(dirname $(readlink -f build))`'
- - 'cd /opt/ltp'
- - 'for TEST_TO_RUN in ${LTP_REALTIME_TESTS_TO_RUN} ; do ./testscripts/test_realtime.sh -t func/$TEST_TO_RUN | $LAVA_TESTDIR/common/scripts/ltp-realtime2LAVA.py; done'
-
-parse:
- "pattern": "^test_case_id:(?P<test_case_id>.+)\\s+measurement:(?P<measurement>[\\d\\.]+)\\s+units:(?P<units>\\w+)\\s+result:(?P<result>\\w+)"
- fixupdict:
- FAIL: fail
- PASS: pass
diff --git a/openembedded/ltp.yaml b/openembedded/ltp.yaml
deleted file mode 100644
index 521418f2..00000000
--- a/openembedded/ltp.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
-metadata:
- name: ltp
- format: "Lava-Test-Shell Test Definition 1.0"
- version: 20140422
- description: "Run LTP test suite on OpenEmbedded."
- maintainer:
- - milosz.wasilewski@linaro.org
- - fathi.boudra@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_fvp_base-aemv8a
- - rtsm_fvp_base_cortex-a57x1-a53x1
- - rtsm_fvp_base_cortex-a57x4-a53x4
- - wg
-
-params:
- TST_CMDFILES: syscalls,mm,math,timers,fcntl-locktests,ipc,fsx,fs,hugetlb,io,nptl,pty,containers,fs_bind,filecaps,admin_tools,connectors
- # SKIPFILE can be a filename from dir ../common/scripts/ltp/ or an open URL
- # SKIPFILE: "skipfile-lsk-juno"
- # "skipfile-lsk-juno" is a known file present in dir ../common/scripts/ltp/
- # or
- # SKIPFILE: "http://people.linaro.org/~naresh.kamboju/skipfile"
- # PATTERNS is used only for LTP-DDT tests
- # NOTE: busybox wget may not work with https link so pefer to use http
- SKIPFILE: ""
- PATTERNS: ""
-
-run:
- steps:
- - './common/scripts/ltpfixup.sh -T $TST_CMDFILES -S $SKIPFILE $PATTERNS'
-
-parse:
- pattern: "^(?!.+ED)(?P<test_case_id>\\w+)\\s+(?P<result>PASS|FAIL|CONF)\\s+\\d+"
- fixupdict:
- FAIL: fail
- PASS: pass
- CONF: skip
diff --git a/openembedded/mysql.yaml b/openembedded/mysql.yaml
deleted file mode 100644
index 5d1e24db..00000000
--- a/openembedded/mysql.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-metadata:
- name: mysql
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "MYSQL test for Linaro OpenEmbedded builds. The test runs 'show databases'
- command to check for available databases."
- maintainer:
- - senthil.kumaran@linaro.org
- - milosz.wasilewski@linaro.org
- - koen.kooi@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_fvp_base-aemv8a
- - juno
-
-run:
- steps:
- - "cd openembedded/scripts"
- - "./mysql.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/netperf-client-multinode.yaml b/openembedded/netperf-client-multinode.yaml
deleted file mode 100644
index 4c1ccf7b..00000000
--- a/openembedded/netperf-client-multinode.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: netperf-client-multinode
- description: "Basic MultiNode netperf/ping test on client side for Linaro OpenEmbedded builds.
- This test measures the performance using netperf/ping/tcreplay for throughput and
- end-to-end latency."
- maintainer:
- - guoqing.zhu@linaro.org
- - weilong.chen@linaro.org
- os:
- - openembedded
- scope:
- - functional
- - performance
- - latency
- - cpu utilization
- devices:
- - kvm
- - arndale
- - panda
- - beaglebone-black
- - beagle-xm
- - mx53loco
- - juno
-params:
- CONNECTION: lngswitch
-
-run:
- steps:
- - 'ETH=$(./common/scripts/lookup-eth $CONNECTION | egrep "(rename|eth)")'
- - 'if [ -n $ETH ]; then ETH=eth0; fi'
- - ifconfig -a
- - route
- - lava-network broadcast $ETH
- - lava-network collect $ETH
- - lava-sync ready
- - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-client.sh $ETH
- - lava-sync done
- - "lava-test-run-attach ~/output.txt text/plain"
-
-parse:
- "pattern": "^test_case_id:(?P<test_case_id>.+) units:(?P<units>.+) measurement:(?P<measurement>\\d+\\.\\d+) result:(?P<result>\\w+)"
diff --git a/openembedded/netperf-server-multinode.yaml b/openembedded/netperf-server-multinode.yaml
deleted file mode 100644
index 8f20083c..00000000
--- a/openembedded/netperf-server-multinode.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: netperf-server-multinode
- description: "Basic MultiNode netperf/ping test on server side for Linaro OpenEmbedded builds.
- Please check netperf-multinode-client test for more info."
- maintainer:
- - guoqing.zhu@linaro.org
- - weilong.chen@linaro.org
- os:
- - openembedded
- scope:
- - functional
- - performance
- - latency
- - cpu utilization
- devices:
- - kvm
- - arndale
- - panda
- - beaglebone-black
- - beagle-xm
- - mx53loco
- - juno
-params:
- CONNECTION: lngswitch
-
-run:
- steps:
- - 'ETH=$(./common/scripts/lookup-eth $CONNECTION | egrep "(rename|eth)")'
- - 'if [ -n $ETH ]; then ETH=eth0; fi'
- - ifconfig -a
- - route
- - lava-network broadcast $ETH
- - lava-network collect $ETH
- - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-server.sh
- - lava-sync ready
- - lava-sync done
-
-parse:
- "pattern": "^test_case_id:(?P<test_case_id>.+) units:(?P<units>.+) measurement:(?P<measurement>\\d+\\.\\d+) result:(?P<result>\\w+)"
diff --git a/openembedded/nohz-isolation.yaml b/openembedded/nohz-isolation.yaml
deleted file mode 100644
index a872d26c..00000000
--- a/openembedded/nohz-isolation.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-metadata:
- name: NO_HZ_FULL
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test CPU Isolation with NOHZ and CPUSETS on Linaro Ubuntu and OpenEmbedded builds.
- The test can isolate upto (N-1) CPU's from list of N CPU's isolating it from other
- background kernel activities and run user provided task (default 'stress') on the
- isolated CPU(s) and figures out if CPU's are isolated or not by reading 'cat /proc/
- interrupts' for all interrupts. ISOL_CPU, ITERATIONS and ISOL_MIN are set to 1, 5 and
- 10 respectively by default which can be changed via JSON file.
- NOTE: Kernel configuration needed to run this test +CONFIG_NO_HZ_FULL=y
- +CONFIG_NO_HZ_FULL_ALL=y +CONFIG_CGROUPS=y +CONFIG_CPUSETS=y"
- maintainer:
- - viresh.kumar@linaro.org
- os:
- - openembedded
- - ubuntu
- scope:
- - functional
- devices:
- - arndale
- - juno
-
-params:
- ISOL_CPU: 1
- ITERATIONS: 5
- ISOL_MIN: 10
-run:
- steps:
- - "common/scripts/is-cpu-isolated.sh $ISOL_CPU $ITERATIONS $ISOL_MIN"
-
-parse:
- pattern: "^test_case_id:(?P<test_case_id>.+)\\s+result:(?P<result>\\w+)\\s+measurement:(?P<measurement>.+)\\s+units:(?P<units>.+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/odp-atomic.yaml b/openembedded/odp-atomic.yaml
deleted file mode 100644
index d6c69c90..00000000
--- a/openembedded/odp-atomic.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-metadata:
- name: odp_atomic
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "ODP-ATOMIC or OpenDataPlane Atomic test for Linaro OpenEmbedded builds. The test performs
- basic atomic operation like add/sub/increment/decrement operation."
- maintainer:
- - mike.holmes@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - juno
- scope:
- - functional
- environment:
- - lava-test-shell
-
-params:
- TESTCASE: "-t 1"
- THREADS: ""
-
-run:
- steps:
- - odp_atomic $TESTCASE $THREADS
-parse:
- pattern: "^(?P<test_case_id>(.+))\\s+Result:(?P<result>(pass|fail))"
diff --git a/openembedded/odp-example.yaml b/openembedded/odp-example.yaml
deleted file mode 100644
index eceed9d9..00000000
--- a/openembedded/odp-example.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-metadata:
- name: odp_example
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run odp-example test on Linaro OpenEmbedded builds.
- NOTE: This test is deprecated from ODP and will be dropped soon."
- maintainer:
- - mike.holmes@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - juno
- scope:
- - functional
- environment:
- - lava-test-shell
-
-params:
- CORES: 2
-
-run:
- steps:
- - lava-test-case odp_example --shell odp_example -c $CORES
diff --git a/openembedded/odp-packet.yaml b/openembedded/odp-packet.yaml
deleted file mode 100644
index c6e8aec2..00000000
--- a/openembedded/odp-packet.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-metadata:
- name: odp_packet
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "ODP-PACKET or OpenDataPlane Packet test for Linaro OpenEmbedded builds. odp_packet
- is a basic packet IO loopback test application."
- maintainer:
- - mike.holmes@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - juno
- scope:
- - functional
- environment:
- - lava-test-shell
-
-params:
- INTERFACES: "eth0"
-
-run:
- steps:
- - lava-test-case odp_packet --shell odp_packet -i $INTERFACES
diff --git a/openembedded/odp-ring.yaml b/openembedded/odp-ring.yaml
deleted file mode 100644
index d0ef3684..00000000
--- a/openembedded/odp-ring.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-metadata:
- name: odp_ring
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "ODP-RING or OpenDataPlane Ring test for Linaro OpenEmbedded builds. The test
- checks for watermark and default bulk enqueue/dequeue."
- maintainer:
- - mike.holmes@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - juno
- scope:
- - functional
- environment:
- - lava-test-shell
-
-run:
- steps:
- - lava-test-case odp-ring --shell odp_ring
diff --git a/openembedded/odp-shm.yaml b/openembedded/odp-shm.yaml
deleted file mode 100644
index 82027d3e..00000000
--- a/openembedded/odp-shm.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-metadata:
- name: odp_shm
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "ODP_SHM or Opendata plane shared memory test for Linaro OpenEmbedded builds.
- The test check Shared memory block info and tests shared data."
- maintainer:
- - mike.holmes@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - juno
- scope:
- - functional
- environment:
- - lava-test-shell
-
-run:
- steps:
- - lava-test-case odp_shm --shell odp_shm
diff --git a/openembedded/openjdk8-sanity.yaml b/openembedded/openjdk8-sanity.yaml
deleted file mode 100644
index e6c7517c..00000000
--- a/openembedded/openjdk8-sanity.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-metadata:
- name: openjdk8-sanity
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Openjdk8-sanity test for Linaro OpenEmbedded builds. The test validates that
- the OpenJDK 8 java binary can run and matches version 1.8"
- version: 1.0
- maintainer:
- - andrew.mcdermott@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_fvp_base-aemv8a
- - juno
-
-run:
- steps:
- - 'cd openembedded/scripts'
- - 'PATH=/usr/lib/jvm/java-8-openjdk/bin:/usr/lib/jvm/java-8-openjdk/jre/bin:$PATH'
- - './openjdk-version.sh 1.8'
-
-parse:
- pattern: "^(?P<test_case_id>[^:]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/openvswitch-lng.yaml b/openembedded/openvswitch-lng.yaml
deleted file mode 100644
index 6f8a5c64..00000000
--- a/openembedded/openvswitch-lng.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-metadata:
- name: openvswitch-lng
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "OVS test suite for Linaro OpenEmbedded builds. Open vSwitch is a multilayer software
- switch licensed under the open source Apache 2 license. Open vSwitch is well suited
- to function as a virtual switch in VM environments. In addition to exposing standard
- control and visibility interfaces to the virtual networking layer, it was designed to
- support distribution across multiple physical servers. Open vSwitch supports multiple
- Linux-based virtualization technologies including Xen/XenServer, KVM, and VirtualBox."
- maintainer:
- - zishen.lim@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - juno
- scope:
- - functional
-
-install:
- deps:
- - git
- - build-essential
- - automake
- - libtool
- - python
- git-repos:
- - git://git.linaro.org/people/zishen.lim/openvswitch.git
- steps:
- - 'cd openvswitch'
- - 'autoreconf --install --force'
- - './configure'
- - 'make'
-
-run:
- steps:
- - 'cd openvswitch'
- - 'git clone --depth 1 git://git.linaro.org/people/zishen.lim/ci.git ci'
- - 'ci/openvswitch-run.sh'
-
-# We use openvswitch-run.sh (above) to run the testsuite,
-# parse the testsuite results and output the results
-# in a clean form that can be easily parsed by LAVA (below).
-
-parse:
- pattern: "^(?P<result>(PASS|FAIL|SKIP)):\\s+(?P<test_case_id>.+)"
- fixupdict:
- PASS: pass
- FAIL: fail
- SKIP: skip
-
diff --git a/openembedded/perf.yaml b/openembedded/perf.yaml
deleted file mode 100644
index 3e5bd0c7..00000000
--- a/openembedded/perf.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-metadata:
- name: perf
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Performance tests for Linaro OpenEmbedded builds. Perf is a profiler tool for Linux and is used
- to collect and analyze performance and trace data. This test runs following perf commands: record
- (record events for later reporting), report(break down events by process, function, etc), stat(obtain
- event counts) and test(Run sanity tests)."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - openembedded
- scope:
- - performance
- devices:
- - rtsm_fvp_base-aemv8a
- - juno
-
-install:
- bzr-repos:
- - lp:~linaro-maintainers/lava-test/lava-test-perf
-
-run:
- steps:
- - cd lava-test-perf
- - sudo bash -x ./run-perf-test.sh
-
-parse:
- pattern: "^(?P<test_case_id>perf[\\w\\s-]+)\\s+:\\s+(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
- Skip: skip
diff --git a/openembedded/phpinfo.yaml b/openembedded/phpinfo.yaml
deleted file mode 100644
index c97c8c5d..00000000
--- a/openembedded/phpinfo.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-metadata:
- name: phpinfo
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test for phpinfo() in Linaro OpenEmbedded builds.
- NOTE: This test works only on OE builds with this layer http://layers.openembedded.org/layerindex/recipe/3611/"
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_fvp_base-aemv8a
- - juno
-
-run:
- steps:
- - "cd openembedded/scripts"
- - "./phpinfo.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/phpmysql.yaml b/openembedded/phpmysql.yaml
deleted file mode 100644
index 77dc9f75..00000000
--- a/openembedded/phpmysql.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-metadata:
- name: phpmysql
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test for php/mysql in Linaro OpenEmbedded builds.
- NOTE: This test works only on OE builds with this layer http://layers.openembedded.org/layerindex/recipe/3611/"
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_fvp_base-aemv8a
- - juno
-
-run:
- steps:
- - "cd openembedded/scripts"
- - "./phpmysql.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/pmqtest.yaml b/openembedded/pmqtest.yaml
deleted file mode 100644
index c35ca5c0..00000000
--- a/openembedded/pmqtest.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-metadata:
- name: pmqtest
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Pmqtest measures the latency of interprocess communication with POSIX messages queues.
- The test starts pairs of threads that are synchronized via mq_send/mw_receive() and
- measures the latency between sending and receiving the message. The default iteration
- is set to 1000 which can be changed via JSON file."
- maintainer:
- - arthur.she@linaro.org
- - ravineet.singh@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - juno
- - x86
- scope:
- - performance
- - preempt-rt
-
-params:
- LOOPS: 1000
-
-run:
- steps:
- - 'pmqtest -l ${LOOPS} -S | tee result.log'
- - './common/scripts/rt-tests-parser.sh pmqtest result.log'
- - 'lava-test-run-attach result.log'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'
diff --git a/openembedded/pointer-tagging-tests.yaml b/openembedded/pointer-tagging-tests.yaml
deleted file mode 100644
index 88b13b2c..00000000
--- a/openembedded/pointer-tagging-tests.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-metadata:
- name: pointer-tagging-tests
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Tagged pointer test for Linaro OpenEmbedded builds. This test suite is
- designed to verify if AArch64 tagged-addressing feature is properly supported."
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - git://git.linaro.org/qa/pointer-tagging-tests.git
- steps:
- - 'cd pointer-tagging-tests'
- - 'make all'
-
-run:
- steps:
- - 'cd pointer-tagging-tests'
- - 'for t in `./pointer_tagging_tests -l` ; do ./pointer_tagging_tests -t $t >/dev/null ; result=$? ; echo -n "$t: "; [ $result -eq 0 ] && echo -e "pass\n" || echo -e "fail\n" ; done'
-
-
-parse:
- pattern: "(?P<test_case_id>[a-z_]+): (?P<result>pass|fail)"
diff --git a/openembedded/pwrmgmt.yaml b/openembedded/pwrmgmt.yaml
deleted file mode 100644
index 41a54a17..00000000
--- a/openembedded/pwrmgmt.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-metadata:
- name: pwrmgmt
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test power management (PM-QA). Currently, the test runs cpufreq, cpuidle, cpuhotplug, thermal
- and cputopology by default and individual test can be run via JSON file too. Test case documentation
- available here wiki: https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification"
- maintainer:
- - lisa.nguyen@linaro.org
- os:
- - openembedded
- scope:
- - functional
- - performance
- devices:
- - rtsm_fvp_base-aemv8a
- - rtsm_fvp_base_cortex-a57x4-a53x4
- - juno
-
-install:
- git-repos:
- - url: git://git.linaro.org/power/pm-qa.git
- destination: pm-qa
- branch: RELEASE
- steps:
- - "cd pm-qa"
- - "make -C utils"
-
-params:
- PWR_TESTARG: cpufreq cpuidle cpuhotplug thermal cputopology
- RELEASE: 'pm-qa-v0.5.2'
-
-run:
- steps:
- - cd pm-qa
- - for testset in $PWR_TESTARG; do make -C $testset check; done
-
-parse:
- pattern: "^(?P<test_case_id>[a-z0-9_]+):\\s+(?P<result>pass|fail|skip)"
diff --git a/openembedded/replay-client-multinode.yaml b/openembedded/replay-client-multinode.yaml
deleted file mode 100644
index ee98b155..00000000
--- a/openembedded/replay-client-multinode.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: tcpreplay-client-multinode
- description: "Basic MultiNode tcpreplay test on client side for Linaro OpenEmbedded builds.
- The test replays packages to IP address at a given rate (packet/sec) and loops
- through the capture file 'REP' times. 'REP' is set to 100 by default which can be
- changed via JSON file."
- maintainer:
- - weilong.chen@linaro.org
- os:
- - openembedded
- scope:
- - performance
- devices:
- - kvm
- - arndale
- - juno
-params:
- ETH: eth0
- REP: 100
-run:
- steps:
- - lava-sync start
- - ifconfig -a
- - route
- - lava-network broadcast $ETH
- - lava-network collect $ETH
- - line=`lava-group | grep server | awk '{print $1}'`
- - STR=`lava-network query $line ipv4`
- - remote_ip=`echo $STR | sed -e 's/.*addr://'`
- - lava-test-case multinode-lava-network --shell ./common/scripts/generator.sh $ETH $remote_ip max $REP
- - lava-sync done
-parse:
- "pattern": "^test_case_id:(?P<test_case_id>.+) units:(?P<units>.+) measurement:(?P<measurement>\\d+\\.\\d+) result:(?P<result>\\w+)"
diff --git a/openembedded/replay-server-multinode.yaml b/openembedded/replay-server-multinode.yaml
deleted file mode 100644
index 95f4a6ba..00000000
--- a/openembedded/replay-server-multinode.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: tcpreplay-server-multinode
- description: "Basic MultiNode tcpreplay test on server side for Linaro OpenEmbedded builds.
- Please check replay-client-multinode for more info."
- maintainer:
- - weilong.chen@linaro.org
- os:
- - openembedded
- scope:
- - performance
- devices:
- - kvm
- - arndale
- - juno
-params:
- ETH: eth0
-run:
- steps:
- - lava-sync start
- - ifconfig -a
- - route
- - lava-network broadcast $ETH
- - lava-network collect $ETH
- - echo "test-0:ignore"
- - lava-sync done
-parse:
- "pattern": "(?P<test_case_id>.*-*):\\s+(?P<result>(pass|fail))"
diff --git a/openembedded/scripts/acpi-smoke-test.sh b/openembedded/scripts/acpi-smoke-test.sh
deleted file mode 100755
index 5d4575f9..00000000
--- a/openembedded/scripts/acpi-smoke-test.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-#
-# Test ACPI Support in UEFI on v7 and v8
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Maintainer: timothy.anzaku@linaro.org
-
-DSDTPASS=
-
-echo -n "Testing presence of /sys/firmware/acpi: "
-if [ -d /sys/firmware/acpi ]; then
- lava-test-case sys-firmware-acpi-present --result pass
-else
- lava-test-case sys-firmware-acpi-present --result fail
-fi
-
-echo -n "Testing presence of /sys/firmware/acpi/tables/DSDT: "
-if [ -f /sys/firmware/acpi/tables/DSDT ]; then
- lava-test-case sys-firmware-acpi-tables-DSDT --result pass
- DSDTPASS=pass
-else
- lava-test-case sys-firmware-acpi-tables-DSDT --result fail
-fi
-
-echo -n "Can decompile DSDT: "
-if [ -x /usr/bin/iasl -a -n "$DSDTPASS" ]; then
- cp /sys/firmware/acpi/tables/DSDT /tmp/
- ERROR=`/usr/bin/iasl -d /tmp/DSDT 2>&1 | grep DSDT.dsl`
- if [ -n "$ERROR" ]; then
- lava-test-case can-decompile-DSDT --result pass
- else
- lava-test-case can-decompile-DSDT --result fail
- fi
- rm /tmp/DSDT /tmp/DSDT.dsl
-else
- lava-test-case can-decompile-DSDT --result skip
-fi
diff --git a/openembedded/scripts/busybox.sh b/openembedded/scripts/busybox.sh
deleted file mode 100755
index 04f0b620..00000000
--- a/openembedded/scripts/busybox.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-#
-# Busybox test.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Senthil Kumaran <senthil.kumaran@linaro.org>
-# Maintainer: Milosz Wasilewski <milosz.wasilewski@linaro.org>, Koen Kooi <koen.kooi@linaro.org>
-
-OUT=`busybox ls /proc`
-if [ -n "$OUT" ]
-then
- echo "busybox: pass"
- exit 0
-else
- echo "busybox: fail"
- exit 1
-fi
diff --git a/openembedded/scripts/cyclictest.py b/openembedded/scripts/cyclictest.py
deleted file mode 100755
index 016f093a..00000000
--- a/openembedded/scripts/cyclictest.py
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/python
-import re
-import sys
-import os
-
-max_threshold = int(sys.argv[1])
-avg_threshold = int(sys.argv[2])
-pass_max_threshold = "pass"
-pass_avg_threshold = "pass"
-max_latency = 0
-avg_latency = 0
-min_latency = max_threshold
-
-# parse format:
-# T:49 ( 4518) P:31 I:4243600 C: 2 Min: 8 Act: 8 Avg: 8 Max: 9
-parser = re.compile("(?P<T>\d+)\D+(?P<T1>\d+)\D+(?P<P>\d+)\D+(?P<I>\d+)\D+(?P<C>\d+)\D+(?P<Min>\d+)\D+(?P<Act>\d+)\D+(?P<Avg>\d+)\D+(?P<Max>\d+)")
-
-data = sys.stdin.readlines()
-
-if len(data) == 0:
- print "test_case_id:Test program running result:fail measurement:0 units:none"
-else:
- for line in data:
- result = parser.search(line)
- if result is not None:
- if int(result.group('Max')) > max_threshold:
- pass_max_threshold = "fail"
-
- if int(result.group('Avg')) > avg_threshold:
- pass_avg_threshold = "fail"
-
- if int(result.group('Max')) > max_latency:
- max_latency = int(result.group('Max'))
-
- if int(result.group('Avg')) > avg_latency:
- avg_latency = int(result.group('Avg'))
-
- if int(result.group('Min')) < min_latency:
- min_latency = int(result.group('Min'))
-
- print "test_case_id:Max latency bound (<" + str(max_threshold) + "us) result:" + pass_max_threshold + " measurement:" + str(max_latency) + " units:usecs"
-
- print "test_case_id:Avg latency bound (<" + str(avg_threshold) + "us) result:" + pass_avg_threshold + " measurement:" + str(avg_latency) + " units:usecs"
-
- # ignore min latency bound
- print "test_case_id:Min latency result:skip measurement:" + str(min_latency) + " units:usecs"
diff --git a/openembedded/scripts/dmesg-parser.sh b/openembedded/scripts/dmesg-parser.sh
deleted file mode 100755
index 1b7d7358..00000000
--- a/openembedded/scripts/dmesg-parser.sh
+++ /dev/null
@@ -1,122 +0,0 @@
-#!/bin/sh
-
-TMP_LOG="log.txt"
-
-parse_locking_api() {
- cat $1 | grep "|$" | sed 's/^[][ 0-9\.]*//' | awk '
- /^\|/ {
- FS=":"
- split($0, l, "|"); j=1;
- for(i=1;i<=NF;i++) {
- if(length(l[i]) > 0)
- lock[j++] = l[i]
- }
- }
-
- /:[ a-z\|]*\|$/ {
- ptr=1; k=1;
- for(i=1;i<length($2);i+=ptr) {
- result=substr($2, i, length(lock[k]))
- if(result ~ /[^ ]+/) {
- extra_info=""
- if(result=="failed") {
- result="ok"
- extra_info=" [expected failed]"
- }
- printf("%s(%s)%s: %s\n", $1, lock[k], extra_info, result)
- }
- ptr=length(lock[k])+1
- k++
- }
- }'
-}
-
-parse_cpu_write_buffer_testing() {
- KEY="Testing write buffer coherency"
- log=`cat $1 | grep "${KEY}"`
- [ -z "${log}" ] && return 0
- t_id=${log%:*}
- t_r=${log##*:}
- f_reason=${t_r#*, }
- if [ "${f_reason}" != "${t_r}" ]; then
- t_r="FAILED"
- t_id="${t_id} [${f_reason}]"
- fi
- echo "${t_id}: ${t_r}"
-}
-
-parse_ring_buffer_test_result () {
- KEY="Running ring buffer tests"
- [ -z "`cat $1 | grep \"${KEY}\"`" ] && return
- if [ -n "`cat $1 | grep 'Ring buffer PASSED!'`" ] ; then
- echo "Ring buffer test: ok"
- else
- echo "Ring buffer test: failed"
- fi
-}
-
-parse_event_trace_test () {
- grep "^Testing " $1 | while read l;
- do
- t_id=${l%:*}
- t_r=${l##*: }
- [ -n "`echo ${t_r}|grep \".* PASSED\"`" ] && t_id="${t_id} ${t_r% PASSED}" && t_r="PASSED"
- [ -n "${t_r}" ] && case ${t_r} in
- Enabled* )
- t_id="${t_id} [${t_r}]"
- t_r="skip"
- ;;
- error* )
- t_id="${t_id} [${t_r}]"
- t_r="FAILED"
- ;;
- "OK" | "PASSED" | "ret = 0" )
- t_r="ok"
- ;;
- * )
- t_id="${t_id} [${t_r}]"
- t_r="FAILED"
- ;;
- esac
- [ -n "${t_id}" -a -n "${t_r}" ] && echo "${t_id}: ${t_r}"
- done
-}
-
-parse_test_string_helper () {
- KEY="test_string_helpers: Running tests"
- [ -z "`cat $1 | grep \"${KEY}\"`" ] && return
- if [ -n "`cat $1 | grep 'Test failed: flags'`" ] ; then
- echo "test_string_helpers: failed"
- else
- echo "test_string_helpers: ok"
- fi
-}
-
-parse_odebug_test () {
- grep "ODEBUG: selftest" $1 | while read l;
- do
- case "${l}" in
- "ODEBUG: selftest passed" )
- echo "ODEBUG selftest: ok"
- ;;
- * )
- echo "ODEBUG [${l#ODEBUG: }]: failed"
- ;;
- esac
- done
-}
-
-parse_rt_mutex_test () {
- r="`grep "Initializing RT-Tester" $1`"
- [ -n "${r}" ] && echo "${r}" | tr '[:upper:]' '[:lower:]'
-}
-
-cat $1 | sed 's/^[][ 0-9\.]*//' > ${TMP_LOG}
-
-parse_locking_api ${TMP_LOG}
-parse_cpu_write_buffer_testing ${TMP_LOG}
-parse_ring_buffer_test_result ${TMP_LOG}
-parse_event_trace_test ${TMP_LOG}
-parse_test_string_helper ${TMP_LOG}
-parse_odebug_test ${TMP_LOG}
-parse_rt_mutex_test ${TMP_LOG}
diff --git a/openembedded/scripts/ethernet.sh b/openembedded/scripts/ethernet.sh
deleted file mode 100755
index 41c9152b..00000000
--- a/openembedded/scripts/ethernet.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# Ethernet Test on OpenEmbedded.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Senthil Kumaran <senthil.kumaran@linaro.org>
-# Maintainer: Milosz Wasilewski <milosz.wasilewski@linaro.org>, Koen Kooi <koen.kooi@linaro.org>
-
-ifconfig eth0 > ethernet.log
-ifconfig eth0 | grep 'inet addr' | awk -F: '{print $2}' | awk '{print $1}'
-
-if [ 0 -eq $? ]
-then
- echo "ethernet: pass"
- exit 0
-else
- echo "ethernet: fail"
- exit 1
-fi
diff --git a/openembedded/scripts/fuzz-test.sh b/openembedded/scripts/fuzz-test.sh
deleted file mode 100755
index 386d2a82..00000000
--- a/openembedded/scripts/fuzz-test.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-#set -x
-
-DURATION=$1
-LOGFILE=$2
-RESULT_PASS_FILE="./trinity-result-pass"
-
-if [ -f ${RESULT_PASS_FILE} ]; then
- rm -f ${RESULT_PASS_FILE}
-fi
-if [ -f zip_log ]; then
- rm -f zip_log
-fi
-mkfifo zip_log
-(gzip -c < zip_log > ${LOGFILE}) &
-
-echo -e "DURATION: ${DURATION}"
-# Send SIGKILL to trinity processes after DURATION seconds
-(sleep ${DURATION} ; for p in `pgrep trinity`;do [ ! -f ${RESULT_PASS_FILE} ] && touch ${RESULT_PASS_FILE} ; kill -9 $p; done) &
-# Remove non-printable ASCII characters by tr
-./trinity/trinity -m --dangerous | tr -cd '\11\12\15\40-\176' | tee zip_log
-
-if [ -f ${RESULT_PASS_FILE} ]; then
- exit 0
-else
- exit 1
-fi
diff --git a/openembedded/scripts/infinite_loop.py b/openembedded/scripts/infinite_loop.py
deleted file mode 100755
index 7d2ac656..00000000
--- a/openembedded/scripts/infinite_loop.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/python
-import sys
-import time
-import os
-
-if len(sys.argv) != 2:
- print "usage: infinite_loop.py <secs>"
- sys.exit(0)
-
-t1 = time.time()
-
-while True:
- t2 = time.time() - t1
-
- if t2 > float(sys.argv[1]):
- exit()
- else:
- os.system("taskset -c 1 calibrator 1000 500M ca.log")
diff --git a/openembedded/scripts/kernel-version.sh b/openembedded/scripts/kernel-version.sh
deleted file mode 100755
index a87e58ce..00000000
--- a/openembedded/scripts/kernel-version.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#
-# Kernel Version test.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Senthil Kumaran <senthil.kumaran@linaro.org>
-# Maintainer: Milosz Wasilewski <milosz.wasilewski@linaro.org>, Koen Kooi <koen.kooi@linaro.org>
-
-uname -a | grep `uname -r` > kernel-version.log
-
-if [ 0 -eq $? ]
-then
- echo "kernel-version: pass"
- exit 0
-else
- echo "kernel-version: fail"
- exit 1
-fi
diff --git a/openembedded/scripts/mauve-test-pkg b/openembedded/scripts/mauve-test-pkg
deleted file mode 100755
index 8d7f6a43..00000000
--- a/openembedded/scripts/mauve-test-pkg
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/bash
-
-# Lava Mauve test harness.
-#
-# Copyright (C) 2013, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Andrew McDermott <andrew.mcdermott@linaro.org>
-#
-
-function generate_exclude_list() {
- local file="$1"
- local excludes=
-
- while read -r line; do
- [[ "$line" =~ ^#.*$ ]] && continue
- [[ "$line" =~ ^$ ]] && continue
- excludes="${excludes} -exclude ${line}"
- done < "$file"
-
- echo "${excludes}"
-}
-
-script=$(readlink -f $0)
-scriptpath=$(dirname $script)
-test_case=$1; shift
-test_case_normalized=${test_case//\//.}
-mauve_home=$1; shift
-blacklist_file="${scriptpath}/../mauve/blacklist.d/${test_case_normalized}"
-javavm=$(which java)
-
-if [[ -z "$javavm" ]]; then
- echo "No Java virtual machine found"
- exit 1
-fi
-
-excludes=
-
-if [[ -f ${blacklist_file} ]]; then
- excludes=$(generate_exclude_list $blacklist_file)
-else
- blacklist_file=/dev/null
-fi
-
-output_dir="/tmp/${test_case_normalized}.$$"
-mkdir -p $output_dir
-pushd $output_dir
-output_file="${test_case_normalized}.txt"
-
-echo $javavm HarnessLinaro $excludes $test_case "$@"
-export CLASSPATH=$mauve_home
-$javavm -client HarnessLinaro $excludes $test_case "$@" 2>&1 | tee $output_file
-
-if [[ -f ${blacklist_file} ]]; then
- cp ${blacklist_file} ${test_case_normalized}-excluded-tests.txt
- lava-test-run-attach ${test_case_normalized}-excluded-tests.txt
-fi
-
-sed -n '/TEST RESULTS:/,$p' $output_file > ${test_case_normalized}-summary.txt
-lava-test-run-attach ${test_case_normalized}-summary.txt
-
-grep '^FAIL:' $output_file > ${test_case_normalized}-failed.txt
-lava-test-run-attach ${test_case_normalized}-failed.txt
-
-grep '^PASS:' $output_file > ${test_case_normalized}-success.txt
-lava-test-run-attach ${test_case_normalized}-success.txt
-
-rm -rf $output_dir
diff --git a/openembedded/scripts/mysql.sh b/openembedded/scripts/mysql.sh
deleted file mode 100755
index 888c01dd..00000000
--- a/openembedded/scripts/mysql.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#
-# MySQL Database Test.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Senthil Kumaran <senthil.kumaran@linaro.org>
-# Maintainer: Milosz Wasilewski <milosz.wasilewski@linaro.org>, Koen Kooi <koen.kooi@linaro.org>
-
-mysql -u root -e 'show databases' > mysql.log
-
-if [ 0 -eq $? ]
-then
- echo "mysql: pass"
- exit 0
-else
- echo "mysql: fail"
- exit 1
-fi
diff --git a/openembedded/scripts/openjdk-version.sh b/openembedded/scripts/openjdk-version.sh
deleted file mode 100755
index 44bdb61c..00000000
--- a/openembedded/scripts/openjdk-version.sh
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/sh
-#
-# OpenJDK execution and version test.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Andrew McDermott <andrew.mcdermott@linaro.org>
-# Maintainer: Botao Sun <botao.sun@linaro.org>
-
-if [ $# -eq 0 ]; then
- echo "usage: $0 <version>"
- exit 1
-fi
-
-version=$1
-
-rm -f JavaVersion.java JavaVersion.class
-
-echo '
-class JavaVersion {
- public static void main(String[] args) {
- System.out.println(System.getProperty("java.version"));
- }
-}' > JavaVersion.java
-
-javac JavaVersion.java
-
-if [ $? -ne 0 ]; then
- echo "openjdk-version: fail"
- exit 1
-fi
-
-actual_version=`java JavaVersion`
-
-echo "actual version: $actual_version"
-echo "expected version: $version"
-
-if [ $? -eq 0 ]; then
- if [ "$actual_version" = "$version" ]; then
- echo "openjdk-version: pass"
- exit 0
- else
- echo "openjdk-version: fail"
- exit 1
- fi
-else
- echo "openjdk-version: fail"
- exit 1
-fi
diff --git a/openembedded/scripts/phpinfo.sh b/openembedded/scripts/phpinfo.sh
deleted file mode 100755
index 248f8d3c..00000000
--- a/openembedded/scripts/phpinfo.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# PHP Info Test.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
-# Maintainer: Botao Sun <botao.sun@linaro.org>
-
-unset http_proxy
-
-wget http://localhost/info.php > phpinfo.log
-
-if [ 0 -eq $? ]
-then
- echo "phpinfo: pass"
- exit 0
-else
- echo "phpinfo: fail"
- exit 1
-fi
diff --git a/openembedded/scripts/phpmysql.sh b/openembedded/scripts/phpmysql.sh
deleted file mode 100755
index 6651c03a..00000000
--- a/openembedded/scripts/phpmysql.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# PHP MySQL Test.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
-# Maintainer: Botao Sun <botao.sun@linaro.org>
-
-unset http_proxy
-
-wget http://localhost/mysql.php > phpmysql.log
-
-if [ 0 -eq $? ]
-then
- echo "phpmysql: pass"
- exit 0
-else
- echo "phpmysql: fail"
- exit 1
-fi
diff --git a/openembedded/scripts/sdkhelloc.sh b/openembedded/scripts/sdkhelloc.sh
deleted file mode 100755
index f9eca16c..00000000
--- a/openembedded/scripts/sdkhelloc.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# SDK hello.c test.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author:
-# Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
-# Milosz Wasilewski <milosz.wasilewski@linaro.org>
-
-cd
-gcc hello.c -o hello > sdkhelloc.log
-EXIT=0
-
-if [ 0 -eq $? ]
-then
- echo "sdkhelloc: pass"
-else
- echo "sdkhelloc: fail"
- EXIT=1
-fi
-
-HELLO_OUT=$(./hello)
-
-if [ "$HELLO_OUT" != 'hello world' ]
-then
- echo "sdkhellocout: fail"
- EXIT=1
-else
- echo "sdkhellocout: pass"
-fi
-
-exit $EXIT
diff --git a/openembedded/scripts/sdkhelloc_static.sh b/openembedded/scripts/sdkhelloc_static.sh
deleted file mode 100755
index 368cb796..00000000
--- a/openembedded/scripts/sdkhelloc_static.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# SDK hello.c static test.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author:
-# Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
-# Milosz Wasilewski <milosz.wasilewski@linaro.org>
-
-cd
-gcc -static hello.c -o hello > sdkhelloc.log
-EXIT=0
-
-if [ 0 -eq $? ]
-then
- echo "sdkhelloc_static: pass"
-else
- echo "sdkhelloc_static: fail"
- EXIT=1
-fi
-
-HELLO_OUT=$(./hello)
-
-if [ "$HELLO_OUT" != 'hello world' ]
-then
- echo "sdkhellocout_static: fail"
- EXIT=1
-else
- echo "sdkhellocout_static: pass"
-fi
-
-exit $EXIT
diff --git a/openembedded/scripts/sdkhellocxx.sh b/openembedded/scripts/sdkhellocxx.sh
deleted file mode 100755
index 35ab5eb3..00000000
--- a/openembedded/scripts/sdkhellocxx.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# SDK hello.cc test.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author:
-# Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
-# Milosz Wasilewski <milosz.wasilewski@linaro.org>
-
-cd
-g++ hello.cc -o hello > sdkhellocxx.log
-EXIT=0
-
-if [ 0 -eq $? ]
-then
- echo "sdkhellocxx: pass"
-else
- echo "sdkhellocxx: fail"
- EXIT=1
-fi
-
-HELLO_OUT=$(./hello)
-
-if [ "$HELLO_OUT" != 'hello world' ]
-then
- echo "sdkhellocixxout: fail"
- EXIT=1
-else
- echo "sdkhellocxxout: pass"
-fi
-
-exit $EXIT
diff --git a/openembedded/scripts/toolchain.sh b/openembedded/scripts/toolchain.sh
deleted file mode 100755
index 85fbf3ec..00000000
--- a/openembedded/scripts/toolchain.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#
-# Toolchain Test on OpenEmbedded.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Senthil Kumaran <senthil.kumaran@linaro.org>
-# Maintainer: Milosz Wasilewski <milosz.wasilewski@linaro.org>, Koen Kooi <koen.kooi@linaro.org>
-
-cat /proc/version | grep -i "gcc.*linaro" > toolchain.log
-
-if [ 0 -eq $? ]
-then
- echo "toolchain: pass"
- exit 0
-else
- echo "toolchain: fail"
- exit 1
-fi
diff --git a/openembedded/sdkhelloc.yaml b/openembedded/sdkhelloc.yaml
deleted file mode 100644
index 93567e2e..00000000
--- a/openembedded/sdkhelloc.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-metadata:
- name: sdkhelloc
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test for C compiler in Linaro OpenEmbedded builds.
- NOTE: This test works only on builds with this layer http://layers.openembedded.org/layerindex/recipe/3611/"
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_foundation-armv8
- - rtsm_fvp_base-aemv8a
- - rtsm_fvp_base_cortex-a57x4-a53x4
- - rtsm_fvp_base_cortex-a57x1-a53x1
- - juno
-
-run:
- steps:
- - "cd openembedded/scripts"
- - "./sdkhelloc.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/sdkhelloc_static.yaml b/openembedded/sdkhelloc_static.yaml
deleted file mode 100644
index 872b38c1..00000000
--- a/openembedded/sdkhelloc_static.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-metadata:
- name: sdkhelloc-static
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test for C compiler (static linking) in Linaro OpenEmbedded builds.
- NOTE: This test works only on OE builds with this layer http://layers.openembedded.org/layerindex/recipe/3611/"
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_foundation-armv8
- - rtsm_fvp_base-aemv8a
- - rtsm_fvp_base_cortex-a57x4-a53x4
- - rtsm_fvp_base_cortex-a57x1-a53x1
- - juno
-
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
-run:
- steps:
- - "cd test-definitions/openembedded/scripts"
- - "./sdkhelloc_static.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/sdkhellocxx.yaml b/openembedded/sdkhellocxx.yaml
deleted file mode 100644
index 00282441..00000000
--- a/openembedded/sdkhellocxx.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-metadata:
- name: sdkhellocxx
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test for C++ compiler in Linaro OpenEmbedded builds.
- NOTE: This test works only on builds with this layer http://layers.openembedded.org/layerindex/recipe/3611/"
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_foundation-armv8
- - rtsm_fvp_base-aemv8a
- - rtsm_fvp_base_cortex-a57x4-a53x4
- - rtsm_fvp_base_cortex-a57x1-a53x1
- - juno
-
-run:
- steps:
- - "cd openembedded/scripts"
- - "./sdkhellocxx.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/smoke-tests-basic.yaml b/openembedded/smoke-tests-basic.yaml
deleted file mode 100644
index 00a4c6f1..00000000
--- a/openembedded/smoke-tests-basic.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: smoke-tests-basic
- description: "Basic system test command for Linaro OpenEmbedded images"
- maintainer:
- - dave.pigott@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - vexpress-tc2
-
-run:
- steps:
- - lava-test-case linux-linaro-openembedded-pwd --shell pwd
- - lava-test-case linux-linaro-openembedded-uname --shell uname -a
- - lava-test-case linux-linaro-openembedded-vmstat --shell vmstat
- - lava-test-case linux-linaro-openembedded-ifconfig --shell ifconfig -a
- - lava-test-case linux-linaro-openembedded-lscpu --shell lscpu
- - lava-test-case linux-linaro-openembedded-lsusb --shell lsusb
- - lava-test-case linux-linaro-openembedded-lsb_release --shell lsb_release -a
diff --git a/openembedded/sysbench.yaml b/openembedded/sysbench.yaml
deleted file mode 100644
index 1d64c577..00000000
--- a/openembedded/sysbench.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
-metadata:
- name: sysbench
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Sysbench test for Linaro OpenEmbedded builds. SysBench is a modular, cross-platform
- and multi-threaded benchmark tool for evaluating OS parameters that are important for
- a system running a database under intensive load. The test runs sysbench test in loop
- and increases the number of threads after each iteration."
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - performance
- - preempt-rt
-
-install:
- bzr-repos:
- - lp:sysbench
- steps:
- - 'cd sysbench'
- - 'find . | xargs touch'
- - './autogen.sh'
- - './configure --without-mysql'
- - 'make all install'
-
-params:
- TIMES: 8 # The number of times 'sysbench' will be run
- TEST: cpu # Could be cpu, threads, fileio, memory or mutex
- MAX_REQUESTS: 50000 # Limit for total number of requests
- DURATION: 20 # Limit for total execution time in seconds
- FILE_TEST_MODE: seqrewr # Possible values: seqwr, seqrewr, seqrd, rndrd, rndwr, rndwr
-
-run:
- steps:
- - './common/scripts/sysbench.sh ${TIMES} ${TEST} ${MAX_REQUESTS} ${DURATION} ${FILE_TEST_MODE}'
diff --git a/openembedded/toolchain.yaml b/openembedded/toolchain.yaml
deleted file mode 100644
index 20f850e9..00000000
--- a/openembedded/toolchain.yaml
+++ /dev/null
@@ -1,26 +0,0 @@
-metadata:
- name: toolchain
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test to verify toolchain version installed in Linaro OpenEmbedded builds."
- maintainer:
- - senthil.kumaran@linaro.org
- - milosz.wasilewski@linaro.org
- - koen.kooi@linaro.org
- os:
- - openembedded
- scope:
- - functional
- devices:
- - rtsm_fvp_base-aemv8a
- - juno
-
-run:
- steps:
- - "cd openembedded/scripts"
- - "./toolchain.sh"
-
-parse:
- pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/openembedded/trinity.yaml b/openembedded/trinity.yaml
deleted file mode 100644
index 14074e1a..00000000
--- a/openembedded/trinity.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-metadata:
- name: trinity
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Trinity Test for Linaro OpenEmbedded builds. It tests syscalls randomly
- with random arguments, If the kernel didn't crash or taint, it passes the
- test and fails otherwise.
- NOTE: THE TEST MIGHT DAMAGE THE PLATFORM, SO IT'S BETTER TO RUN IT ON EMULATOR.
- More Detils - http://codemonkey.org.uk/projects/trinity/"
- maintainer:
- - arthur.she@linaro.org
- os:
- - openembedded
- devices:
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - https://github.com/kernelslacker/trinity.git
-
-params:
- DURATION: 3600 # 1 hour
-
-run:
- steps:
- - 'cd trinity'
- - './configure.sh'
- - 'make'
- - 'cd ..'
- - 'lava-test-case trinity --shell ./openembedded/scripts/fuzz-test.sh $DURATION trinity.log.gz'
- - 'lava-test-case-attach trinity trinity.log.gz'
diff --git a/ubuntu/96boards-gpio.yaml b/ubuntu/96boards-gpio.yaml
deleted file mode 100644
index 41779aef..00000000
--- a/ubuntu/96boards-gpio.yaml
+++ /dev/null
@@ -1,45 +0,0 @@
-metadata:
- name: 96boards-gpio
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Low Speed expansion GPIO test"
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - debian
- scope:
- - functional
- devices:
- - hi6220-hikey
- - apq8016-sbc
-
-install:
- deps:
- - arduino-mk
- - python-mraa
-
- git-repos:
- - url: https://git.linaro.org/qa/96boards-lsexpansion-tests.git
- destination: ls-expansion-tests
- branch: RELEASE
- steps:
- - export MONITOR_PORT=$MONITOR_PORT
- - cd ls-expansion-tests/gpiotest
- - ln -s /usr/share/arduino/Arduino.mk Makefile
- - make upload reset_stty
-
-params:
- RELEASE: 'master'
- MONITOR_PORT: '/dev/tty96B0'
-
-run:
- steps:
- - cd ls-expansion-tests/gpiotest
- - python writer.py
-
-parse:
- pattern: "^(?P<test_case_id>[a-z0-9_]+)\\s+[a-zA-Z_\\.\\(\\)]+\\s+[\\.]{3}\\s+(?P<result>ok|FAIL|skip)"
- fixupdict:
- ok: pass
- FAIL: fail
- skip: skip
- ERROR: fail
diff --git a/ubuntu/aapits.yaml b/ubuntu/aapits.yaml
deleted file mode 100644
index c34f9789..00000000
--- a/ubuntu/aapits.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
-metadata:
- name: aapits
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "ACPI API test suite. AAPITS verifies, in emulating mode, conformity of the ACPICA API
- implementation to the definitions in ACPI Component Architecture Programmer Reference.
- More details - https://wiki.linaro.org/LEG/Engineering/test-acpi#AAPITS_-_ACPICA_API_Test_Suite"
- maintainer:
- - tomasz.nowicki@linaro.org
- os:
- - ubuntu
- devices:
- - rtsm_fvp_base-aemv8a
- scope:
- - functional
-
-install:
- git-repos:
- - url: git://git.linaro.org/leg/acpica/acpica.git
- branch: BRANCH
- steps:
- - 'cd acpica'
- - 'make iasl'
- - 'cd tests/aapits && make all'
- deps:
- - bzip2
- - flex
- - bison
- - build-essential
- - make
-
-params:
- BRANCH: linaro
-
-run:
- steps:
- - 'cd acpica/tests/aapits/bin'
- - './aapitsrun'
- - 'cat ../tmp/raw.out'
-parse:
- pattern: "[ a-zA-Z]+ (?P<test_case_id>[a-zA-Z0-9]+):\\s(?P<result>PASS|FAIL|SKIP)"
diff --git a/ubuntu/acpi-smoke-test.yaml b/ubuntu/acpi-smoke-test.yaml
deleted file mode 100644
index ce202cae..00000000
--- a/ubuntu/acpi-smoke-test.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-metadata:
- name: acpi-smoke-test
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "ACPI smoke test verifies presence of acpi and DSDT under /sys/firmware. It also checks
- for decompilation of DSDT under /sys/firmware/acpi/tables/DSDT if iasl is installed."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - rtsm_fvp_base-aemv8a
- scope:
- - functional
-
-run:
- steps:
- - 'sudo ./ubuntu/scripts/acpi-check.sh'
-parse:
- pattern: "(?P<test_case_id>[ /a-zA-Z0-9]+): (?P<result>[A-Z]+)"
diff --git a/ubuntu/acpica-tools.yaml b/ubuntu/acpica-tools.yaml
deleted file mode 100644
index f7bba77f..00000000
--- a/ubuntu/acpica-tools.yaml
+++ /dev/null
@@ -1,41 +0,0 @@
-metadata:
- name: acpica
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "ACPI ASL test suite on ARMv8. ASLTS verifies, in 'hardware-independent' mode, conformity of
- ACPICA ASL compiler and interpreter to the ACPI ASL grammar specification.
- More Details - https://wiki.linaro.org/LEG/Engineering/test-acpi#ASLTS_-_ASL_Test_Suite"
- maintainer:
- - naresh.bhat@linaro.org
- os:
- - ubuntu
- devices:
- - rtsm_fvp_base-aemv8a
- scope:
- - functional
-
-install:
- git-repos:
- - git://git.linaro.org/people/al.stone/acpica-tools.git
- steps:
- - 'cd acpica-tools'
- deps:
- - git
- - git-core
- - bzip2
- - flex
- - bison
- - build-essential
-run:
- steps:
- - 'cd acpica-tools/tests/'
- - 'sudo ./aslts.sh'
-
-parse:
- pattern: "^(?P<test_case_id>\\S+)\\s+\\d+\\s+(?P<result>\\w+)\\s+:\\s+.+"
- fixupdict:
- TBROK: fail
- TCONF: skip
- TFAIL: fail
- TINFO: unknown
- TPASS: pass
- TWARN: unknown
diff --git a/ubuntu/acpica.yaml b/ubuntu/acpica.yaml
deleted file mode 100644
index 8b739559..00000000
--- a/ubuntu/acpica.yaml
+++ /dev/null
@@ -1,50 +0,0 @@
-metadata:
- name: acpica
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "ACPI ASL on ARMv7/ARMv8. Testing is performed in 'hardware-independent' mode to check functionality
- of ACPICA which is first initiated and then verified from inside the test modules coded in ASL.
- ACPICA test can be run in 4 test modes (n32, n64, s32, s64) and default is set to n64.
- More Details - https://wiki.linaro.org/LEG/Engineering/test-acpi#ASLTS_-_ASL_Test_Suite"
- maintainer:
- - naresh.bhat@linaro.org
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - rtsm_fvp_base-aemv8a
- scope:
- - functional
-
-install:
- git-repos:
- - url: git://git.linaro.org/leg/acpica/acpica.git
- branch: BRANCH
- steps:
- - 'cd acpica'
- - 'make all'
- deps:
- - bzip2
- - flex
- - bison
- - build-essential
-
-params:
- TESTMODE: n64
- BRANCH: linaro
-
-run:
- steps:
- - "cd acpica/tests/"
- - "lava-test-case acpica --shell sudo ./aslts.sh -m $TESTMODE"
- - "../../ubuntu/scripts/acpica-parser.sh ."
- - "cd aslts/tmp/RESULTS/*; tar zcf result.tar.gz *"
- - "lava-test-case-attach acpica result.tar.gz"
-
-
-parse:
- pattern: "(?P<test_case_id>[ :a-zA-Z0-9-]+):(?P<result>PASS|FAIL|SKIPPED|BLOCKED)"
- fixupdict:
- SKIPPED: skip
- FAIL: fail
- PASS: pass
- BLOCKED: unknown
diff --git a/ubuntu/audit-test.yaml b/ubuntu/audit-test.yaml
deleted file mode 100644
index d980fef4..00000000
--- a/ubuntu/audit-test.yaml
+++ /dev/null
@@ -1,92 +0,0 @@
-metadata:
- name: audit
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "The Linux audit framework provides a CAPP-compliant
- (Controlled Access Protection Profiles) auditing system that reliably
- collects information about any security-relevant(or non-security-relevant)
- event on a system. It can help you track actions performed on a system.
- Required kernel configs
- CONFIG_AUDIT=y
- CONFIG_HAVE_ARCH_AUDITSYSCALL=y
- CONFIG_AUDITSYSCALL=y
- CONFIG_AUDIT_WATCH=y
- CONFIG_AUDIT_TREE=y
- CONFIG_INTEGRITY_AUDIT=y
- CONFIG_AUDIT_GENERIC=y
- CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y
- CONFIG_AUDIT_COMPAT_GENERIC=y"
- maintainer:
- - naresh.kamboju@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - beaglebone-black
- - juno
- - kvm
- - vexpress-tc2
-
-install:
- steps:
- - 'VERSION=2.4.1'
- - 'wget http://testdata.validation.linaro.org/tests/audit-$VERSION.tar.gz'
- - 'tar -xf audit-$VERSION.tar.gz'
- - 'cd audit-$VERSION'
- - './configure'
- - 'make all'
- - 'make install'
- - 'cd -'
- deps:
- - wget
- - make
- - automake
- - aptitude
- - expect
- - cpp
- - gcc
- - binutils
- - virt-what
- - libpod-latex-perl
- - libcap-dev
- - selinux-policy-default
- - selinux-policy-dev
- - libselinux1-dev
- - libselinux1
- - libaudit-dev
- - python-dev
- - libldap2-dev
- - libsasl2-dev
- - libssl-dev
- - swig
- - auditd
-
-params:
- VERSION: '2.4.1'
-
-run:
- steps:
- - 'HOME_PWD=`pwd`'
- - 'mkdir /usr/local/eal4_testing'
- - 'chmod 755 /usr/local/eal4_testing'
- - 'cd /usr/local/eal4_testing'
- - 'wget http://testdata.validation.linaro.org/tests/audit-test-code.tar.gz'
- - 'tar -xf audit-test-code.tar.gz'
- - 'chown -R root:root /usr/local/eal4_testing'
- - 'chmod a+rX /usr/local/eal4_testing'
- - 'cd audit-test-code/audit-test/'
- - 'make'
- - 'groupadd wheel'
- - 'useradd -c "EAL Test User" -g wheel eal'
- - '/usr/bin/expect $HOME_PWD/ubuntu/scripts/audit-make-run.exp'
- - 'pkill -9 auditd'
- - 'cat audit.rollup.log'
- - 'lava-test-case audit-test --result pass'
- - 'lava-test-case-attach audit-test audit.rollup.log text/plan'
-
-parse:
- pattern: "^\\[\\d*\\]\\s+(?P<test_case_id>[. a-zA-Z0-9_-]+)\\s+(?P<result>ERROR|FAIL|PASS)"
- fixupdict:
- ERROR: skip
- FAIL: fail
- PASS: pass
diff --git a/ubuntu/bL_iks_tests.yaml b/ubuntu/bL_iks_tests.yaml
deleted file mode 100644
index 83f77b28..00000000
--- a/ubuntu/bL_iks_tests.yaml
+++ /dev/null
@@ -1,45 +0,0 @@
-metadata:
- format: "Lava-Test-Shell Test Definition 1.0"
- name: bL_iks_tests
- description: "This test suite covers big.LITTLE switching functionality and
- stress tests. The main focus is to test big.LITTLE switching while
- system switches its cores from A15 to A7 and vice versa"
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - vexpress-tc2
- maintainer:
- - naresh.kamboju@linaro.org
-
-install:
- deps:
- - bc
- - memtester
- - stressapptest
- - libjpeg-turbo-test
- git-repos:
- - http://git.linaro.org/qa/bL_iks_tests.git
- steps:
- - 'cd bL_iks_tests'
- - 'make all'
- - 'make install'
- - 'echo "deb http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -s -c) multiverse" >> /etc/apt/sources.list'
- - 'echo "deb-src http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -s -c) multiverse" >> /etc/apt/sources.list'
- - 'apt-get update'
- - 'apt-get install iozone3'
- - 'wget --no-check-certificate http://testdata.validation.linaro.org/tools/ffmpeg.tar.bz2'
- - 'tar -jxvf ffmpeg.tar.bz2'
- - 'cd ffmpeg; make install'
-
-run:
- steps:
- - 'run_stress_switcher_tests.sh -a > iks_stdout.log 2>&1'
- - 'cat iks_stdout.log | egrep -w "PASS|FAIL"'
-
-parse:
- pattern: "^(?P<test_case_id>\\S+)\\s+:\\s+(?P<result>\\S+)$"
- fixupdict:
- PASS: pass
- FAIL: fail
diff --git a/ubuntu/blogbench.yaml b/ubuntu/blogbench.yaml
deleted file mode 100644
index f38adacb..00000000
--- a/ubuntu/blogbench.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-metadata:
- name: blogbench
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Blogbench is a portable filesystem benchmark that tries to
- reproduce the load of a real-world busy file server."
- maintainer:
- - chase.qi@linaro.org
- os:
- - ubuntu
- - debian
- scope:
- - functional
- devices:
- - hi6220-hikey
- - apq8016-sbc
- - mustang
-
-install:
- steps:
- - 'VERSION=1.1'
- - 'wget https://download.pureftpd.org/pub/blogbench/blogbench-$VERSION.tar.gz'
- - 'tar xf blogbench-$VERSION.tar.gz'
- - 'cd blogbench-$VERSION'
- - './configure --build=arm'
- - 'make install-strip'
- deps:
- - build-essential
- - wget
-
-params:
- # Blogbench run 30 iterations by default.
- ITERATION: 30
- # Specify a local disk partition for nfsrootfs boot.
- # For example: /dev/sda1
- PARTITION: ''
-
-run:
- steps:
- - './common/scripts/blogbench.sh $ITERATION $PARTITION'
diff --git a/ubuntu/bootchart-install.yaml b/ubuntu/bootchart-install.yaml
deleted file mode 100644
index 07925452..00000000
--- a/ubuntu/bootchart-install.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-metadata:
- name: bootchart-install
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test if bootchart is installed (first step to run bootchart.yaml test which measures the boot time)"
- maintainer:
- - Fathi Boudra <fathi.boudra@linaro.org>
- - Milosz Wasilewski <milosz.wasilewski@linaro.org>
- os:
- - ubuntu
- devices:
- - arndale
- - panda
- - beaglebone-black
- - beagle-xm
- - mx53loco
- - vexpress
- - highbank
- scope:
- - functional
-
-install:
- deps:
- - bootchart
- - lsb-release
- - pybootchartgui
-
-run:
- steps:
- - dpkg-query -l bootchart
- - dpkg-query -l pybootchartgui
- - lava-test-case bootchart-install --shell dpkg-query -L bootchart
- - lava-test-case pybootchartgui-install --shell dpkg-query -L pybootchartgui
diff --git a/ubuntu/bootchart.yaml b/ubuntu/bootchart.yaml
deleted file mode 100644
index 52268d0f..00000000
--- a/ubuntu/bootchart.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-metadata:
- name: bootchart
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test case that measures the boot time"
- maintainer:
- - Fathi Boudra <fathi.boudra@linaro.org>
- - Milosz Wasilewski <milosz.wasilewski@linaro.org>
- os:
- - ubuntu
- devices:
- - arndale
- - panda
- - beaglebone-black
- - beagle-xm
- - mx53loco
- - vexpress
- - highbank
- scope:
- - performance
-
-install:
- deps:
- - bootchart
- - lsb-release
- - pybootchartgui
-
-run:
- steps:
- - cd ubuntu/scripts
- - lava-test-case bootchartscript --shell ./bootchartscript.sh
- - lava-test-case-attach bootchartscript bootchart.log text/plain
- - BOOTTIME=`cat bootchart.log | grep time | awk '{print $2}'`
- - lava-test-case boot-time --result pass --measurement $BOOTTIME --units seconds
diff --git a/ubuntu/cyclictest-basic.yaml b/ubuntu/cyclictest-basic.yaml
deleted file mode 120000
index 142bae6c..00000000
--- a/ubuntu/cyclictest-basic.yaml
+++ /dev/null
@@ -1 +0,0 @@
-../common/cyclictest-basic.yaml \ No newline at end of file
diff --git a/ubuntu/device-tree.yaml b/ubuntu/device-tree.yaml
deleted file mode 100644
index 78f3cdcf..00000000
--- a/ubuntu/device-tree.yaml
+++ /dev/null
@@ -1,36 +0,0 @@
-metadata:
- name: device-tree
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Device tree test to check the folder structure. The test verifies that device-tree
- is available and contains model name of the board."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- - openembedded
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - vexpress-a9
- - vexpress-tc2
- - highbank
- - rtsm_foundation-armv8
- - rtsm_fvp_base-aemv8a
- - arndale
- - aa9
- - origen
- - snowball
- environment:
- - lava-test-shell
-
-run:
- steps:
- - "cd ubuntu/scripts; ./device-tree.sh"
-
-parse:
- pattern: "(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- FAIL: fail
- PASS: pass
diff --git a/ubuntu/device_read_perf.yaml b/ubuntu/device_read_perf.yaml
deleted file mode 100644
index 4bcc0357..00000000
--- a/ubuntu/device_read_perf.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-metadata:
- name: device_read_perf
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Device read perf test for Ubuntu. The test performs device timings for block devices
- using 'hdparm' command to test device read timings (hdparm -t) and cache read timings (hdparm -T)."
- maintainer:
- - hanumantha.naradla@linaro.org
- os:
- - ubuntu
- scope:
- - performance
- devices:
- - origen
- - snowball
- - panda
- - panda-es
- - vexpress-a9
- - vexpress-tc2
- - highbank
- - rtsm_foundation-armv8
- - rtsm_fvp_base-aemv8a
- - arndale
- - aa9
- environment:
- - lava-test-shell
-install:
- deps:
- - hdparm
-run:
- steps:
- - "cd ubuntu/scripts"
- - "./device_read_perf.sh"
-parse:
- pattern: "^test_case_id:(?P<test_case_id>.*-*.+) units:(?P<units>.+) measurement:(?P<measurement>.+) result:(?P<result>\\w+)"
-fixupdict:
- SKIPPED: skip
- PASS: pass
- FAIL: fail
diff --git a/ubuntu/docker.yaml b/ubuntu/docker.yaml
deleted file mode 100644
index e2c327bc..00000000
--- a/ubuntu/docker.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-metadata:
- name: docker
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Ensure that Docker can be used"
- maintainer:
- - nicolas.dechesne@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- environment:
- - lava-test-shell
- devices:
- - hi6220-hikey
- - apq8016-sbc
-params:
- IMAGE: "aarch64/ubuntu"
-
-run:
- steps:
- - lava-test-case docker-apt-get --shell apt-get update
- - lava-test-case docker-apt-get-docker-engine --shell apt-get install -q -y docker-engine
- - lava-test-case docker-service-start --shell service docker start
- - lava-test-case docker-hello --shell docker run -it ${IMAGE} /bin/echo "Hello Docker"
diff --git a/ubuntu/ebizzy.yaml b/ubuntu/ebizzy.yaml
deleted file mode 100644
index b8d3f9c9..00000000
--- a/ubuntu/ebizzy.yaml
+++ /dev/null
@@ -1,53 +0,0 @@
-metadata:
- name: ebizzy
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Running ebizzy tool"
- maintainer:
- - lisa.nguyen@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - beaglebone-black
- - panda
- - panda-es
- - vexpress-a9
- - vexpress-tc2
-
-install:
- git-repos:
- - url: https://github.com/linux-test-project/ltp.git
-
- deps:
- - python-numpy
- - coreutils
-
- steps:
- - cd ltp/utils/benchmark/ebizzy-0.3/
- - chmod +x configure
- - ./configure
- - sed -i 's/lpthread/pthread/' Makefile
- - make
-
-params:
- THREADS: 2
- TIME: 20
- REPEAT: 50
-
-run:
- steps:
- - CURRENT_DIR=$(pwd)
- - cd ltp/utils/benchmark/ebizzy-0.3/
- - i=1
- - while [ $i -le $REPEAT ]; do ./ebizzy -t $THREADS -S $TIME | tee -a ebizzy.log; true $(( i++ )); done
- - cp ebizzy.log ebizzy-real.log
- - cp ebizzy.log ebizzy-user.log
- - cp ebizzy.log ebizzy-sys.log
- - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-real.log "real" "Second"
- - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-user.log "user" "Second"
- - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-sys.log "sys" "Second"
-
-parse:
- pattern: "^(?P<test_case_id>\\w+):\\s*(?P<measurement>[0-9\\.]+)\\s+(?P<units>\\w+)\\s+(?P<result>\\w+)"
diff --git a/ubuntu/exec-latency.yaml b/ubuntu/exec-latency.yaml
deleted file mode 100644
index 8ca5fd1c..00000000
--- a/ubuntu/exec-latency.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-metadata:
- name: exec-latency
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run latency test"
- maintainer:
- - mike.holmes@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- scope:
- - functional
- environment:
- - lava-test-shell
-install:
- git-repos:
- - 'git://git.linaro.org/people/mike.holmes/exec_latency.git'
- steps:
- - 'cd exec_latency'
- - 'make'
- deps:
- - 'build-essential'
-run:
- steps:
- - 'cd exec_latency'
- - 'chmod +x exec_latency'
- - './exec_latency'
-parse:
- pattern: "^(?P<test_case_id>\\S+)\\s+Measurement:(?P<measurement>\\d+\\.\\d+)\\s+Units:(?P<units>\\S+)\\s+Result:(?P<result>\\S+)"
-
diff --git a/ubuntu/fio-test.yaml b/ubuntu/fio-test.yaml
deleted file mode 100644
index 2d3ee4a5..00000000
--- a/ubuntu/fio-test.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-metadata:
- name: fio-ubuntu
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "FIO or Flexible IO is a versatile IO workload generator Test on Linux Linaro ubuntu.
- The target Device ID required to run this test is set to '/dev/sda/' by default and
- it is possible to set Device ID through JSON file as well."
- maintainer:
- - botao.sun@linaro.org
- os:
- - ubuntu
- devices:
- - d01
- - mustang
- - vexpress-tc2
- scope:
- - functional
- environment:
- - lava-test-shell
-
-install:
- deps:
- - fio
- - python
-
-params:
- DeviceID: /dev/sda
-
-run:
- steps:
- - "cd ubuntu/scripts; ./fio-test.py $DeviceID"
-
-parse:
- pattern: '^(?P<test_case_id>fio_\w+):\s(?P<result>\w+)\s(?P<measurement>[0-9.]+)\s(?P<units>[a-zA-Z/]+)'
diff --git a/ubuntu/gator-data-streaming-ubuntu.yaml b/ubuntu/gator-data-streaming-ubuntu.yaml
deleted file mode 100644
index 7b3f36e8..00000000
--- a/ubuntu/gator-data-streaming-ubuntu.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-metadata:
- name: gator-data-streaming-ubuntu
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Gator Data Streaming Test checks DS5 profiling feature for Ubuntu builds. The test
- creates a sample session XML file called 'session.xml', this file is passed as a
- parameter to the gatord command to do a local capture and test results are generated
- depending upon output of this command."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- - openembedded
- scope:
- - functional
- devices:
- - arndale
- - panda
- - panda-es
- - vexpress-a9
- - vexpress-tc2
- - juno
-
-run:
- steps:
- - "cd ubuntu/scripts; ./gator-data-streaming-ubuntu.sh"
-
-parse:
- pattern: "(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- FAIL: fail
- PASS: pass
diff --git a/ubuntu/gatortests.yaml b/ubuntu/gatortests.yaml
deleted file mode 100644
index 1d678e13..00000000
--- a/ubuntu/gatortests.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-metadata:
- name: gatortests
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Gatortest checks availability of gator daemon and module on target."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
- - juno
-
-install:
- deps:
- - gatortests
-
-run:
- steps:
- - gatortests
-
-parse:
- pattern: "^\\*\\*\\*(?P<test_case_id>\\w+):\\s(?P<result>\\w+)\\*\\*\\*"
diff --git a/ubuntu/gcov-collect-results.yaml b/ubuntu/gcov-collect-results.yaml
deleted file mode 100644
index 3979a3f5..00000000
--- a/ubuntu/gcov-collect-results.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-metadata:
- name: gcov-collect-results
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Experimental implementation of GCOV for arndale.
- Make sure gcov is enabled in the kernel.
- Run tests in separate lava-test-shell without reboot.
- This definition should be used together with gcov-start"
- maintainer:
- - milosz.wasilewski@linaro.org
- - fathi.boudra@linaro.org
- - riku.voipio@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - arndale
-
-install:
- deps:
- - gzip
- - lcov
-
-run:
- steps:
- - './common/scripts/gcov-collect-results.sh'
-
-parse:
- pattern: "LAVA (?P<test_case_id>.*-*):\\s+(?P<result>(pass|fail))"
-
diff --git a/ubuntu/gcov-start.yaml b/ubuntu/gcov-start.yaml
deleted file mode 100644
index 5b7cc192..00000000
--- a/ubuntu/gcov-start.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-metadata:
- name: gcov-start
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Experimental implementation of GCOV for arndale.
- Make sure gcov is enabled in the kernel.
- Run tests in separate lava-test-shell without reboot.
- This definition should be used together with gcov-collect-results"
- maintainer:
- - milosz.wasilewski@linaro.org
- - fathi.boudra@linaro.org
- - riku.voipio@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - arndale
-
-install:
- deps:
- - bzip2
- - gzip
- - wget
-
-params:
- BUILD_NUMBER: ""
-
-run:
- steps:
- - ./common/scripts/gcov-start.sh $BUILD_NUMBER
-
-parse:
- pattern: "LAVA (?P<test_case_id>.*-*):\\s+(?P<result>(pass|fail))"
-
diff --git a/ubuntu/hackbench.yaml b/ubuntu/hackbench.yaml
deleted file mode 100644
index c7098f93..00000000
--- a/ubuntu/hackbench.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-metadata:
- name: hackbench
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test hackbench (rt-tests version) on Ubuntu. Hackbench works by creating multiple
- pairs of threads or processes, that pass data between themselves over pipes."
- maintainer:
- - milosz.wasilewski@linaro.org
- scope:
- - functional
- - virtualization
- os:
- - ubuntu
- devices:
- - arndale
- - vexpress-tc2
- - juno
-
-install:
- deps:
- - rt-tests
- - python-numpy
- - coreutils
-
-params:
- TARGET: 'host'
- # Sends the data via a pipe instead of the socket (default)
- USE_PIPE: 'false'
- # Sets the amount of data to send in each message
- DATASIZE: 100
- # How many messages each sender/receiver pair should send
- LOOPS: 100
- # Defines how many groups of senders and receivers should be started
- GRPS: 10
- # Defines how many file descriptors each child should use. Note that the
- # effective number will be twice the amount you set here, as the sender
- # and receiver children will each open the given amount of file descriptors.
- FDS: 20
- # Each sender/receiver child will be a POSIX thread of the parent.
- # The default is to run in process mode (-P)
- USE_THREADS: 'false'
- # Number of cycles hackbench is called (for loop repetitions)
- REPEAT: 1000
-
-run:
- steps:
- - OPTIONS="-s $DATASIZE -l $LOOPS -g $GRPS -f $FDS"
- - if [ "$USE_PIPE" != "false" ]; then OPTIONS=${OPTIONS}" -p"; fi
- - if [ "$USE_THREADS" != "false" ]; then OPTIONS=${OPTIONS}" -T"; fi
- - echo $OPTIONS
- - i=1
- - while [ $i -le $REPEAT ]; do timeout 10s hackbench ${OPTIONS} | tee -a hackbench_res_$TARGET.txt; true $(( i++ )); done
- - ./common/scripts/min_max_avg_parse.py hackbench_res_$TARGET.txt "Time:" "Seconds"
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)'
diff --git a/ubuntu/install-uprobe-kernel-on-arndale.yaml b/ubuntu/install-uprobe-kernel-on-arndale.yaml
deleted file mode 100644
index c126971b..00000000
--- a/ubuntu/install-uprobe-kernel-on-arndale.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-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
diff --git a/ubuntu/iperf.yaml b/ubuntu/iperf.yaml
deleted file mode 100644
index cc8f65df..00000000
--- a/ubuntu/iperf.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: iperf-multinode
- description:
- "Basic MultiNode iperf test on server/client side.
- The roles in the test job must be server & client"
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- scope:
- - performance
- devices:
- - kvm
- - arndale
- - beaglebone-black
-
-install:
- deps:
- - iperf
-
-params:
- LEN: 8K # [KM] length of buffer to read or write
- PACKET: TCP # [TCP|UDP] packet type
- TIME: 20 # time in seconds to transmit for
-
-run:
- steps:
- - ./common/scripts/iperf-$(lava-role).sh ${LEN} ${PACKET} ${TIME}
-
-parse:
- pattern: '^(?P<test_case_id>[a-zA-Z]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>[\w\/]+)\s+(?P<result>pass)'
diff --git a/ubuntu/kselftest-cpu-hotplug.yaml b/ubuntu/kselftest-cpu-hotplug.yaml
deleted file mode 100644
index 43fad170..00000000
--- a/ubuntu/kselftest-cpu-hotplug.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-metadata:
- name: kselftest-cpu-hotplug
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Linux kernel Selftest. The kernel contains a set of 'self tests' under
- the tools/testing/selftests/ directory. These are intended to be small
- unit tests to exercise individual code paths in the kernel. This test
- runs full range of cpu-hotplug tests."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-runner.sh cpu-hotplug ./kselftest/cpu-hotplug/on-off-test.sh'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
diff --git a/ubuntu/kselftest-efivarfs.yaml b/ubuntu/kselftest-efivarfs.yaml
deleted file mode 100644
index da6abfbd..00000000
--- a/ubuntu/kselftest-efivarfs.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-metadata:
- name: kselftest-efivarfs
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "The kernel contains a set of 'self tests' under the tools/testing/selftests/
- directory. These are intended to be small unit tests to exercise individual
- code paths. This test runs efivarfs(a (U)EFI variable filesystem). Variables
- can be created, deleted and modified with the efivarfs filesystem."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
- steps:
- - 'cd kselftest'
- - 'make -C efivarfs'
- deps:
- - build-essential
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-runner.sh efivarfs ./kselftest/efivarfs/efivarfs.sh'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
diff --git a/ubuntu/kselftest-memory-hotplug.yaml b/ubuntu/kselftest-memory-hotplug.yaml
deleted file mode 100644
index d76641b4..00000000
--- a/ubuntu/kselftest-memory-hotplug.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-metadata:
- name: kselftest-memory-hotplug
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "The kernel contains a set of 'self tests' under the tools/testing/selftests/
- directory. These are intended to be small unit tests to exercise individual
- code paths in the kernel. This test runs memory-hotplug tests. Memory-hotplug
- allows to increase/decrease the amount of memory required by highly virtualized
- environments or required by hardware which supports memory power management."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-runner.sh memory-hotplug ./kselftest/memory-hotplug/on-off-test.sh'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
diff --git a/ubuntu/kselftest-mqueue.yaml b/ubuntu/kselftest-mqueue.yaml
deleted file mode 100644
index 7b85bb06..00000000
--- a/ubuntu/kselftest-mqueue.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
-metadata:
- name: kselftest-mqueue
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "The kernel contains a set of 'self tests' under the tools/testing/selftests/.
- These are intended to be small unit tests to exercise individual code paths
- in the kernel. kselftest-mqueue tries to open a posix message queue and reports
- whether it fails or passes."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
- deps:
- - build-essential
- - wget
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-mqueue.sh'
-
-parse:
- pattern: "^(?P<test_case_id>[A-Za-z0-9_>=/, ]+):[\\s]+(?P<result>PASS|FAIL)"
- fixupdict:
- PASS: pass
- FAIL: fail
-
diff --git a/ubuntu/kselftest-net.yaml b/ubuntu/kselftest-net.yaml
deleted file mode 100644
index 924a9c02..00000000
--- a/ubuntu/kselftest-net.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-metadata:
- name: kselftest-net
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "The kernel contains a set of 'self tests' under the tools/testing/selftests/.
- These are intended to be small unit tests to exercise individual code paths
- in the kernel. kselftest-net is a basic test of packet socket fanout and socket's
- TPACKET_V1/TPACKET_V2/TPACKET_V3 behavior."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
- steps:
- - 'cd kselftest'
- - 'make -C net'
- deps:
- - build-essential
-
-params:
- BRANCH: master
-
-run:
- steps:
- - 'cd kselftest/net'
- - '../../common/scripts/kselftest-runner.sh net "make run_tests"'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_ ]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
diff --git a/ubuntu/kselftest-ptrace.yaml b/ubuntu/kselftest-ptrace.yaml
deleted file mode 100644
index 7e3244cc..00000000
--- a/ubuntu/kselftest-ptrace.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
-metadata:
- name: kselftest-ptrace
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "The kernel contains a set of 'self tests' under the tools/testing/selftests/.
- These are intended to be small unit tests to exercise individual code paths
- in the kernel. kself-ptrace uses ptrace or process trace system call that
- provides a means by which one process can observe and control the execution
- of another process and examine and change the tracee's memory and registers."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
- steps:
- - 'cd kselftest'
- - 'sed -i "1s/^/CFLAGS = -DPAGE_SIZE=4096\n/" ptrace/Makefile'
- - 'make -C ptrace'
- deps:
- - build-essential
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './kselftest/ptrace/peeksiginfo && echo "peeksiginfo selftests: pass" || echo "peeksiginfo selftests: fail"'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_ ]+):\\s(?P<result>pass|fail)"
diff --git a/ubuntu/kselftest-vm.yaml b/ubuntu/kselftest-vm.yaml
deleted file mode 100644
index 4cb1f233..00000000
--- a/ubuntu/kselftest-vm.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
-metadata:
- name: kselftest-vm
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "The kernel contains a set of 'self tests' under the tools/testing/selftests/.
- These are intended to be small unit tests to exercise individual code paths
- in the kernel. kselftest-vm tests huge page memory in a user application using
- the mmap and Sys V shared memory system calls. It also tests selecting other
- page sizes for mmap/shmget and stress test for transparent huge pages, memory
- compaction and migration."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - functional
-
-install:
- git-repos:
- - url: http://git.linaro.org/qa/kselftest.git
- branch: BRANCH
- steps:
- - 'cd kselftest'
- - 'make -C vm'
- deps:
- - build-essential
-
-params:
- BRANCH: master
-
-run:
- steps:
- - './common/scripts/kselftest-runner.sh vm ./kselftest/vm/run_vmtests'
-
-parse:
- pattern: "^(?P<test_case_id>[a-z_-]+):\\s\\[(?P<result>PASS|FAIL|SKIP)\\]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
diff --git a/ubuntu/kselftest.yaml b/ubuntu/kselftest.yaml
deleted file mode 100644
index 213d9348..00000000
--- a/ubuntu/kselftest.yaml
+++ /dev/null
@@ -1,57 +0,0 @@
-metadata:
- name: kselftest
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Kernel Self Test"
- maintainer:
- - tyler.baker@linaro.org
- - arthur.she@linaro.org
- - naresh.kamboju@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - arndale
- - beaglebone-black
- - highbank
- - juno
- - mustang
- - mx53loco
- - panda
- - panda-es
- - vexpress-a9
- - vexpress-tc2
-
-params:
- TESTPROG: kselftest_armhf.tar.gz
- KSELFTESTS_PATH: /usr/lib/kselftests
-
-# Skip install deps and steps on minimal rootfs from LAVA test
-# Example:
-# "skip_install": "all"
-install:
- deps:
- - libpopt-dev
- - libcap-dev
- - binutils-dev
- - perl
- - wget
- - tar
- steps:
- - 'echo "Downloading kselftests"'
- - 'mkdir -p $KSELFTESTS_PATH'
- - 'cd $KSELFTESTS_PATH'
- - 'wget http://testdata.validation.linaro.org/tests/kselftest/$TESTPROG -O kselftest.tar.gz'
- - 'tar --strip-components=1 -xaf kselftest.tar.gz'
-
-run:
- steps:
- - 'cd $KSELFTESTS_PATH'
- - './run_kselftest.sh'
-
-parse:
- pattern: "^selftests:\\s(?P<test_case_id>\\S+)\\s[[](?P<result>(FAIL|PASS|SKIP))[]]"
- fixupdict:
- FAIL: fail
- PASS: pass
- SKIP: skip
diff --git a/ubuntu/kvm.yaml b/ubuntu/kvm.yaml
deleted file mode 100644
index e1232fdc..00000000
--- a/ubuntu/kvm.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-metadata:
- name: kvm
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test KVM"
- maintainer:
- - riku.voipio@linaro.org
- scope:
- - functional
- - virtualization
- os:
- - openembedded
- devices:
- - arndale
- - vexpress-tc2
- - mustang
- - midway
- - juno
-
-install:
- deps:
- - qemu-system
- - qemu-utils
- - python-numpy
- - uml-utilities
- - bridge-utils
- - udhcpc
- - wget
- - hwloc-nox
- - xz-utils
-
-run:
- steps:
- - 'sudo ./common/scripts/kvm/test-host.sh'
- - 'sudo ./common/scripts/kvm/test-kvm.sh'
- - 'sudo ./common/scripts/kvm/test-rt-parse.sh'
- - '[ -f kvm-arm64.log ] && lava-test-run-attach kvm-arm64.log'
- - '[ -f aarch64-guest.log ] && lava-test-run-attach aarch64-guest.log'
- - 'lava-test-run-attach kvm-arm32.log'
- - 'lava-test-run-attach armv7l-guest.log'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)'
diff --git a/ubuntu/latency-test.yaml b/ubuntu/latency-test.yaml
deleted file mode 100644
index f0261b5f..00000000
--- a/ubuntu/latency-test.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-metadata:
- name: latency-test
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "latency-test sets up and runs one or two real-time threads.Each time a thread is started by the
- scheduler, the code set up by latency-test gets the time and subtracts from it the previous time
- the same thread started. latency-test determines the maximum deviation (both larger and smaller)
- of this difference compared to the selected period, compares the absolute values of the two deviations,
- and reports the larger absolute value as the max jitter."
- maintainer:
- - mike.holmes@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - juno
- scope:
- - functional
- environment:
- - lava-test-shell
-install:
- git-repos:
- - 'git://git.linaro.org/people/mike.holmes/latency-test.git'
- steps:
- - 'cd latency-test'
- - 'make'
- - 'make install'
- deps:
- - 'build-essential'
-run:
- steps:
- - 'cd latency-test'
- - 'insmod ./enable_cc.ko'
- - 'chmod +x latency'
- - './latency -s latency_data.txt'
-parse:
- pattern: "^test_result:(?P<test_case_id>\\S+)=(?P<measurement>[0123456789infa\\.]+)\\s+(?P<units>\\S+)\\s+(?P<result>\\S+)"
-
diff --git a/ubuntu/libhugetlbfs.yaml b/ubuntu/libhugetlbfs.yaml
deleted file mode 100644
index 21403498..00000000
--- a/ubuntu/libhugetlbfs.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-metadata:
- name: libhugetlbfs
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "libhugetlbfs is a library that can back application text, data, malloc() and
- shared memory with hugepages. The test runs through libhugetlbfs next branch
- tests and currently supports 32bit ubuntu system."
- maintainer:
- - steve.capper@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
- - juno
-
-install:
- git-repos:
- - url: git://libhugetlbfs.git.sourceforge.net/gitroot/libhugetlbfs/libhugetlbfs
- branch: BRANCH
- steps:
- - 'cd libhugetlbfs'
- - 'find . | xargs touch'
- - 'make'
- - 'mkdir -p /mnt/huge'
- deps:
- - build-essential
- - python
- - python2.7
-
-params:
- BRANCH: next
-
-run:
- steps:
- - 'cd libhugetlbfs'
- - 'echo 200 > /proc/sys/vm/nr_hugepages'
- - 'mount -t hugetlbfs hugetlbfs /mnt/huge'
- - 'make check'
-
-parse:
- pattern: '^(?P<test_case_id>.+):\s+(?P<result>FAIL|PASS)'
- fixupdict:
- FAIL: fail
- PASS: pass
diff --git a/ubuntu/lkp.yaml b/ubuntu/lkp.yaml
deleted file mode 100644
index 4a4e4a54..00000000
--- a/ubuntu/lkp.yaml
+++ /dev/null
@@ -1,47 +0,0 @@
-metadata:
- name: lkp
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run LKP test suite on Linaro Ubuntu"
- maintainer:
- - milosz.wasilewski@linaro.org
- - riku.voipio@linaro.org
- - chase.qi@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - mustang
- - juno
-
-install:
- git-repos:
- - url: https://github.com/suihkulokki/lkp-tests.git
- deps:
- - bc
- - build-essential
- - gawk
- - git
- - kmod
- - linux-tools
- - lsb-release
- - ruby
- - ruby-gnuplot
- - sysstat
- - time
- - xz-utils
-
-params:
- # Used to specify jobs located in 'lkp-tests/jobs/'.
- JOB: 'hackbench'
- # Used to specify all 40 commit hash characters.
- COMMIT: 'commit'
- # Set LOOPS to the times to run in the same lava_test_shell.
- LOOPS: 1
- # Set MONITORS to '--no-defaults' to disable the default monitors.
- MONITORS: 'default'
-
-run:
- steps:
- - './common/scripts/lkp.py $(readlink -f lkp-tests) $(pwd)
- $JOB $COMMIT $LOOPS $MONITORS'
diff --git a/ubuntu/ltp-ddt.yaml b/ubuntu/ltp-ddt.yaml
deleted file mode 100644
index d9703f84..00000000
--- a/ubuntu/ltp-ddt.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-metadata:
- name: ltp_ddt
- format: "Lava-Test-Shell Test Definition 1.0"
- version: 20151112
- description: "Run LTP-DDT test suite on Debian."
- maintainer:
- - milosz.wasilewski@linaro.org
- - timothy.anzaku@linaro.org
- os:
- - debian
- scope:
- - functional
- devices:
- - dragonboard410c
- - hikey
-
-params:
- TST_CMDFILES: ddt/memtest
- PLATFORM: hikey
- PATTERNS: MEMORY_M_FUNC_MEMTESTER_10pct_1time
-
-run:
- steps:
- - './common/scripts/ltp-ddt.sh -f $TST_CMDFILES -P $PLATFORM -s $PATTERNS'
-
-parse:
- pattern: "^(?!.+ED)(?P<test_case_id>\\w+)\\s+(?P<result>\\w+)\\s+\\d$"
- fixupdict:
- FAIL: fail
- PASS: pass
-# To run LTP-DDT tests through this yaml script, it is assumed that
-# the ltp-ddt test has been pre-installed in the debian image.
-# More information about the ltp-ddt test suite can be found at
-# http://arago-project.org/git/projects/test-automation/ltp-ddt.git
-# WARNING: The test parameters for most usecases will defer from the default
-# TST_CMDFILES, PLATFORM, and PATTERNS. Please set appropriate parameters
-# in your test job.
diff --git a/ubuntu/ltp-network.yaml b/ubuntu/ltp-network.yaml
deleted file mode 100644
index 6b09551c..00000000
--- a/ubuntu/ltp-network.yaml
+++ /dev/null
@@ -1,79 +0,0 @@
-metadata:
- name: ltp-network
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run LTP network tests"
- maintainer:
- - vincent.hsu@linaro.org
- - milosz.wasilewski@linaro.org
- - fathi.boudra@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
-
-params:
- TEST_INTERFACE: "eth1"
- TEST_SERVER: "172.31.1.4"
-
-install:
- steps:
- - 'echo "nameserver 8.8.8.8" >> /etc/resolf.conf'
- - 'ntpdate pool.ntp.org'
- - 'wget http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20140422/ltp-full-20140422.tar.xz'
- - 'tar --strip-components=1 -Jxf ltp-full-20140422.tar.xz'
- - 'wget http://people.linaro.org/~vincent.hsu/ltp-network-patches.tgz'
- - 'tar -zxf ltp-network-patches.tgz'
- - 'for i in ./*.patch; do patch -p1 < $i; done'
- - './configure'
- - 'make all'
- - 'make SKIP_IDCHECK=1 install'
- deps:
- - flex
- - bison
- - build-essential
- - wget
- - autoconf
- - automake
- - autotools-dev
- - m4
- - libaio-dev
- - libattr1-dev
- - libcap-dev
- - libtirpc-dev
- - linux-headers-3.10.0-1-linaro-arndale
- - traceroute
- - rwho
- - rdist
- - rstat-client
- - rstatd
- - rusers
- - rusersd
- - ftp
- - finger
- - fingerd
- - dmucs
- - nfs-common
- - nfs-kernel-server
- - bind9-host
- - iptables
- - telnet
- - tcpdump
- - psmisc
- - expect
- - xinetd
-
-run:
- steps:
- - "./ubuntu/scripts/ltp-network.sh $TEST_INTERFACE $TEST_SERVER"
-
-parse:
- pattern: "^(?P<test_case_id>.+)\\s+(?P<result>\\w+)\\s+\\d+"
- fixupdict:
- FAIL: fail
- PASS: pass
diff --git a/ubuntu/ltp-realtime.yaml b/ubuntu/ltp-realtime.yaml
deleted file mode 100644
index d807c2e3..00000000
--- a/ubuntu/ltp-realtime.yaml
+++ /dev/null
@@ -1,46 +0,0 @@
-metadata:
- name: rt-ltp
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run LTP realtime tests"
- maintainer:
- - milosz.wasilewski@linaro.org
- - fathi.boudra@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
-
-install:
- steps:
- - 'wget http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20140422/ltp-full-20140422.tar.xz'
- - 'tar --strip-components=1 -Jxf ltp-full-20140422.tar.xz'
- - 'mkdir build'
- - './configure --with-realtime-testsuite --prefix=$(readlink -f build)'
- - 'make all'
- - 'make SKIP_IDCHECK=1 install'
- deps:
- - bzip2
- - flex
- - bison
- - build-essential
- - wget
-run:
- steps:
- - 'cd build'
- - 'sudo ./runltp -f test_realtime -p -q'
-
-parse:
- pattern: "^(?P<test_case_id>\\S+)\\s+\\d+\\s+(?P<result>\\w+)\\s+:\\s+.+"
- fixupdict:
- TBROK: fail
- TCONF: skip
- TFAIL: fail
- TINFO: skip
- TPASS: pass
- TWARN: unknown
diff --git a/ubuntu/ltp.yaml b/ubuntu/ltp.yaml
deleted file mode 100644
index 486ba883..00000000
--- a/ubuntu/ltp.yaml
+++ /dev/null
@@ -1,59 +0,0 @@
-metadata:
- name: ltp
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run LTP test suite on Ubuntu"
- maintainer:
- - milosz.wasilewski@linaro.org
- - fathi.boudra@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
- - ifc6410
-
-install:
- steps:
- - 'VERSION=20170116'
- - 'rm -rf /opt/ltp'
- - 'mkdir -p /opt/ltp'
- - 'cd /opt/ltp'
- - 'wget https://github.com/linux-test-project/ltp/releases/download/$VERSION/ltp-full-$VERSION.tar.xz'
- - 'tar --strip-components=1 -Jxf ltp-full-$VERSION.tar.xz'
- - 'mkdir build'
- - './configure --prefix=$(readlink -f build)'
- - 'make all'
- - 'make SKIP_IDCHECK=1 install'
- deps:
- - xz-utils
- - flex
- - bison
- - build-essential
- - wget
- - curl
-
-params:
- TST_CMDFILES: syscalls,mm,math,timers,fcntl-locktests,ipc,fsx,fs,hugetlb,io,nptl,pty,containers,fs_bind,filecaps,admin_tools,connectors
- # SKIPFILE can be a filename from dir ../common/scripts/ltp/ or an open URL
- # SKIPFILE: "skipfile-lsk-juno"
- # "skipfile-lsk-juno" is a known file present in dir ../common/scripts/ltp/
- # or
- # SKIPFILE: "http://people.linaro.org/~naresh.kamboju/skipfile"
- # NOTE: busybox wget may not work with https link so pefer to use http
- SKIPFILE: ""
-
-run:
- steps:
- - './common/scripts/ltpfixup.sh -T $TST_CMDFILES -P /opt/ltp/build -S $SKIPFILE'
-
-parse:
- pattern: "^(?!.+ED)(?P<test_case_id>\\w+)\\s+(?P<result>PASS|FAIL|CONF)\\s+\\d+"
- fixupdict:
- FAIL: fail
- PASS: pass
- CONF: skip
diff --git a/ubuntu/mmtests.yaml b/ubuntu/mmtests.yaml
deleted file mode 100644
index 0a91b4ef..00000000
--- a/ubuntu/mmtests.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-metadata:
- name: mmtests
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run tests from mmtests suite on Ubuntu"
- maintainer:
- - chase.qi@linaro.org
- - milosz.wasilewski@linaro.org
- - naresh.kamboju@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - vexpress-a9
- - vexpress-tc2
- - juno
- - beaglebone-black
-
-install:
- steps:
- - 'VERSION=v0.16'
- - 'wget https://github.com/gormanm/mmtests/archive/$VERSION.tar.gz'
- - 'tar --strip-components=1 -zxf $VERSION.tar.gz'
- deps:
- - time
-
-params:
- # dd, dd-tmpfs, ddsync: loopdd bench.
- # ku-latency: measure the latency in the Linux network stack between kernel and user space.
- # libmicro: measure the performance of various system and library calls.
- # vmscale: vm scalability test, measure spread of dd performance.
- # timedalloc: time how long it takes to allocate a large buffer.
- TESTS: 'dd dd-tmpfs ddsync ku-latency libmicro vmscale timedalloc'
-
-run:
- steps:
- - ./common/scripts/mmtests.sh "$TESTS"
diff --git a/ubuntu/multiple-network-interfaces.yaml b/ubuntu/multiple-network-interfaces.yaml
deleted file mode 100644
index 28911905..00000000
--- a/ubuntu/multiple-network-interfaces.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: multiple-network-interfaces-test
- description: "Multiple network interfaces test for Linaro Ubuntu images.
- rp_filter is set to 1 by default on Ubuntu to turn on Source
- Address Verification in all interfaces to prevent some
- spoofing attacks. For network testing, we set rp_filter to 0
- so that Ubuntu send and accept packets through the specified
- ethernet interface"
- maintainer:
- - chase.qi@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - d01
- environment:
- - lava-test-shell
-params:
- GATEWAY: 10.0.0.1
-
-run:
- steps:
- - './ubuntu/scripts/multiple-network-interfaces-test.sh $GATEWAY'
diff --git a/ubuntu/native-uprobes-systemtap-test.yaml b/ubuntu/native-uprobes-systemtap-test.yaml
deleted file mode 100644
index eec9027c..00000000
--- a/ubuntu/native-uprobes-systemtap-test.yaml
+++ /dev/null
@@ -1,78 +0,0 @@
-metadata:
- name: native-uprobes-systemtap-test
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run uprobes systemtap tests. Pre-requirement is install-uprobe-kernel-on-arndale.yaml"
- maintainer:
- - naresh.kamboju@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - arndale
- timeout: 90000
-
-install:
- deps:
- - build-essential
- - m4
- - dejagnu
- - bzip2
- - wget
- - gettext
- - openssh-server
- - expect
- - xz-utils
- - git
- - automake
-
- steps:
- - 'cat /proc/version'
- - 'ls -l /lib/modules/`uname -r`/build/'
- - 'cd /usr/src/'
- - 'git clone git://git.fedorahosted.org/git/elfutils.git'
- - 'git clone git://sourceware.org/git/systemtap.git'
- - 'cd elfutils'
- - 'autoreconf -vfi'
- - 'cd ../systemtap'
- - 'cp /usr/share/dejagnu/* . -a'
- - 'echo "skip tests which are known to hang"'
- - 'mv testsuite/systemtap.base/poll_map.exp testsuite/systemtap.base/poll_map.exp.back'
- - 'mv testsuite/systemtap.base/pr14546.exp testsuite/systemtap.base/pr14546.exp.back'
- - 'mv testsuite/systemtap.base/pr10854.exp testsuite/systemtap.base/pr10854.exp.back'
- - 'mv testsuite/systemtap.base/implicitptr.exp testsuite/systemtap.base/implicitptr.exp.back'
- - 'mv testsuite/systemtap.base/probefunc.exp testsuite/systemtap.base/probefunc.exp.back'
- - 'mv testsuite/systemtap.base/sdt_global_var.exp testsuite/systemtap.base/sdt_global_var.exp.back'
- - 'mv testsuite/systemtap.base/target_set_thread.exp testsuite/systemtap.base/target_set_thread.exp.back'
- - 'mv testsuite/systemtap.unprivileged/unprivileged_myproc.exp testsuite/systemtap.unprivileged/unprivileged_myproc.exp.back'
- - './configure --prefix=/usr/local/ --with-elfutils=../elfutils'
- - 'make all'
- - 'make install'
- - 'make clean'
-run:
- steps:
- - 'lava-test-case systemtap-make-install --result pass'
- - 'cd /usr/src/systemtap'
- - 'make installcheck'
- - 'lava-test-case systemtap-make-installcheck --result pass'
- - 'cat testsuite/systemtap.sum'
- - 'lava-test-case-attach systemtap.sum testsuite/systemtap.sum text/plain'
- - 'lava-test-case-attach systemtap.log testsuite/systemtap.log text/plain'
- - 'lava-test-case attach-systemtap-results --result pass'
-parse:
- pattern: "(?P<result>PASS|FAIL|KFAIL|XFAIL|UNTESTED|UNSUPPORTED): (?P<test_case_id>[ ().0-9A-Za-z-_/]*)"
- fixupdict:
- PASS: pass
- FAIL: fail
- KFAIL: fail
- XFAIL: pass
- UNTESTED: skip
- UNSUPPORTED: skip
-
-# install-uprobe-kernel-on-arndale.yaml to be run before test
-# 10 GB test partition needed for install-uprobe-kernel and native-uprobes-systemtap-test
-# This is a long running test, expected to run for 25 hours.
-# Systemtap build, install and installcheck is the purpose of this test.
-# make installcheck runs systemtap testsuite.
-# Example json file:
-# http://people.linaro.org/~naresh.kamboju/uprobe-systemtap-test-on-lava.json
diff --git a/ubuntu/netmap-pkt-gen-multinode.yaml b/ubuntu/netmap-pkt-gen-multinode.yaml
deleted file mode 100644
index a892b912..00000000
--- a/ubuntu/netmap-pkt-gen-multinode.yaml
+++ /dev/null
@@ -1,90 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: netmap-pkt-gen-multinode
- description: "The netmap-pkt-gen-multinode can be used to measure the performance of a simple l2fwd
- application in a multinode setup. A typical setup is two machines connected back to
- back through a pair of interfaces (usually intel server DPDK dual NICs like the 82599
- dual port 10GB interface) where the l2fwd runs on one machine and netmap runs on the
- other. The test launches a pkt-gen instance to send packets on one interface and another
- one to receive packets and count them on the other interface."
- maintainer:
- - ciprian.barbu@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- - performance
- devices:
- - x86
-
-
-params:
- LINUX_SRC: "/usr/src/linux-source"
- NIC_PATTERN: "82599"
- TEST_TIME: "360"
-
-install:
- deps:
- - git
- - binutils
- - gcc
- - make
- - patch
- - pciutils
- - python-numpy
- - lshw
- git-repos:
- - url: http://code.google.com/p/netmap/
- destination: netmap
- branch: master
- steps:
- - echo 'RUNNING depmod'
- - depmod
- - ifconfig -a
- - lshw -class network
- - echo 'BUILDING netmap'
- - cd netmap/LINUX
- - ./configure --kernel-dir=/lib/modules/`uname -r`/build --kernel-sources=$LINUX_SRC
- - make
- - echo 'BUILDING pkt-gen'
- - make -C ../examples pkt-gen
- - echo 'INSERTING modules'
- - rmmod ixgbe || true
- - insmod netmap.ko
- - modprobe mdio
- - lsmod | grep ixgbe && rmmod ixgbe || true
- - insmod ixgbe/ixgbe.ko
- - cd ../../
- - echo 'BRINGING UP interfaces'
- - common/scripts/netmap-pkt-gen/find_nics.sh $NIC_PATTERN
- - export IF_0=$(cat ifs | sed -n 1p)
- - export IF_1=$(cat ifs | sed -n 2p)
- - echo "IF_0=$IF_0 IF_1=$IF_1"
- - ifconfig $IF_0 up promisc
- - ifconfig $IF_1 up promisc
- - ifconfig -a
- - lshw -class network
-
-run:
- steps:
- - set -x
- - lava-sync ready
- - export IF_0=$(cat ifs | sed -n 1p)
- - export IF_1=$(cat ifs | sed -n 2p)
- - echo 'RUNNING netmap for 360 seconds'
- - lava-test-case start-pkt-gen --shell common/scripts/netmap-pkt-gen/start-pkt-gen.sh "$IF_0" pkt-gen-tx "$IF_1" pkt-gen-rx
- - pgrep pkt-gen
- - sleep $TEST_TIME
- - echo 'KILLING pkt-gen'
- - kill -9 $(ps -ef | grep pkt-gen | grep rx | awk '{print $2}')
- - kill -9 $(ps -ef | grep pkt-gen | grep tx | awk '{print $2}')
- - cat pkt-gen-tx
- - cat pkt-gen-rx
- - lava-sync l2fwd-done
- - echo 'PARSING results'
- - lava-test-case parse-tx-rx --shell common/scripts/netmap-pkt-gen/parse-tx-rx.sh pkt-gen-tx tx_thr pkt-gen-rx rx_thr
- - ./common/scripts/min_max_avg_parse.py tx_thr "tx_throughput:" "pps"
- - ./common/scripts/min_max_avg_parse.py rx_thr "rx_throughput:" "pps"
-
-parse:
- pattern: '^(?P<test_case_id>(rx|tx)_thr.*):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)'
diff --git a/ubuntu/netperf-client-multinode.yaml b/ubuntu/netperf-client-multinode.yaml
deleted file mode 100644
index b34cd9df..00000000
--- a/ubuntu/netperf-client-multinode.yaml
+++ /dev/null
@@ -1,41 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: netperf-client-multinode
- description: "Basic MultiNode netperf/ping test on client side"
- maintainer:
- - guoqing.zhu@linaro.org
- - weilong.chen@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- - performance
- - latency
- - cpu utilization
- devices:
- - kvm
- - arndale
- - panda
- - beaglebone-black
- - beagle-xm
- - mx53loco
-
-install:
- deps:
- - netperf
- - python-minimal
-params:
- ETH: eth0
-
-run:
- steps:
- - ifconfig -a
- - route
- - lava-network broadcast $ETH
- - lava-network collect $ETH
- - lava-sync ready
- - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-client.sh $ETH
- - lava-sync done
-
-parse:
- "pattern": "^test_case_id:(?P<test_case_id>.+) units:(?P<units>.+) measurement:(?P<measurement>\\d+\\.\\d+) result:(?P<result>\\w+)"
diff --git a/ubuntu/netperf-server-multinode.yaml b/ubuntu/netperf-server-multinode.yaml
deleted file mode 100644
index 700fc9f0..00000000
--- a/ubuntu/netperf-server-multinode.yaml
+++ /dev/null
@@ -1,41 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: netperf-server-multinode
- description: "Basic MultiNode netperf/ping test on server side"
- maintainer:
- - guoqing.zhu@linaro.org
- - weilong.chen@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- - performance
- - latency
- - cpu utilization
- devices:
- - kvm
- - arndale
- - panda
- - beaglebone-black
- - beagle-xm
- - mx53loco
-
-install:
- deps:
- - netperf
- - python-minimal
-params:
- ETH: eth0
-
-run:
- steps:
- - ifconfig -a
- - route
- - lava-network broadcast $ETH
- - lava-network collect $ETH
- - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-server.sh
- - lava-sync ready
- - lava-sync done
-
-parse:
- "pattern": "^test_case_id:(?P<test_case_id>.+) units:(?P<units>.+) measurement:(?P<measurement>\\d+\\.\\d+) result:(?P<result>\\w+)"
diff --git a/ubuntu/network-tests-basic.yaml b/ubuntu/network-tests-basic.yaml
deleted file mode 100644
index 26797a40..00000000
--- a/ubuntu/network-tests-basic.yaml
+++ /dev/null
@@ -1,36 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: network-tests-basic
- description: "Basic network test commands for Linaro Ubuntu images"
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
-
-params:
- TEST_INTERFACE: eth0
- GATEWAY: 10.0.0.1
-
-run:
- steps:
- - lava-test-case linux-linaro-ubuntu-netstat --shell netstat -an
- - lava-test-case linux-linaro-ubuntu-ifconfig-dump --shell ifconfig -a
- - lava-test-case linux-linaro-ubuntu-route-dump-a --shell route
- - lava-test-case linux-linaro-ubuntu-route-ifconfig-up-lo --shell ifconfig lo up
- - lava-test-case linux-linaro-ubuntu-route-dump-b --shell route
- - lava-test-case linux-linaro-ubuntu-route-ifconfig-up --shell ifconfig $TEST_INTERFACE up
- - lava-test-case linux-linaro-ubuntu-route-ifconfig-down --shell ifconfig $TEST_INTERFACE down
- - lava-test-case linux-linaro-ubuntu-route-dhclient --shell dhclient -v $TEST_INTERFACE
- - lava-test-case linux-linaro-ubuntu-route-dump-c --shell route
- - lava-test-case linux-linaro-ubuntu-ping --shell ping -c 5 $GATEWAY
- - lava-test-case linux-linaro-ubuntu-apt-get --shell apt-get update
- - lava-test-case linux-linaro-ubuntu-apt-get-curl --shell apt-get install -q -y curl
- - lava-test-case linux-linaro-ubuntu-curl-big-video --shell curl http://samplemedia.linaro.org/MPEG4/big_buck_bunny_720p_MPEG4_MP3_25fps_3300K.AVI -o curl_big_video.avi
diff --git a/ubuntu/nohz-isolation.yaml b/ubuntu/nohz-isolation.yaml
deleted file mode 120000
index f87c4ebe..00000000
--- a/ubuntu/nohz-isolation.yaml
+++ /dev/null
@@ -1 +0,0 @@
-../openembedded/nohz-isolation.yaml \ No newline at end of file
diff --git a/ubuntu/odp-tests.yaml b/ubuntu/odp-tests.yaml
deleted file mode 100644
index 6c83d709..00000000
--- a/ubuntu/odp-tests.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
-metadata:
- name: odp_tests
- version: "1.0"
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run all ODPs tests."
- maintainer:
- - anders.roxell@linaro.org
- os:
- - debian
- - ubuntu
- devices:
- - juno
- - arndale
- - x86
- scope:
- - functional
- environment:
- - lava-test-shell
-
-install:
- deps:
- - git
- - build-essential
- - automake
- - autoconf
- - libtool
- - libssl-dev
- - libcunit1-dev
- git-repos:
- - url: git://git.linaro.org/lng/odp.git
- destination: odp
- branch: ODP_BRANCH
- steps:
- - cd odp
- - ./bootstrap
- - autoreconf -i
- - ./configure ${CONFIG_OPTIONS}
- - make -j
-
-params:
- ODP_BRANCH: master
- CONFIG_OPTIONS: --enable-test-cpp --enable-test-example --enable-test-helper --enable-test-vald --enable-test-perf
-
-run:
- steps:
- - cd odp
- - lava-test-case odp_validation --shell make check
-
-parse:
- pattern: '^(?P<result>(PASS|FAIL|SKIP)):\s+(?P<test_case_id>[a-zA-Z0-9_./]+)'
- fixupdict:
- PASS: pass
- FAIL: fail
- SKIP: skip
diff --git a/ubuntu/openssl-bsaes.yaml b/ubuntu/openssl-bsaes.yaml
deleted file mode 100644
index 3ae78d81..00000000
--- a/ubuntu/openssl-bsaes.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-metadata:
- name: openssl-bsaes
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test to verify correctness of the NEON bit sliced AES code in OpenSSL"
-
- maintainer:
- - milosz.wasilewski@linaro.org
- scope:
- - functional
- os:
- - ubuntu
- devices:
- - vexpress-tc2
- - juno
-
-install:
- deps:
- - bsdmainutils
-
-run:
- steps:
- - ./ubuntu/scripts/openssl-bsaes.sh 128 ctr
- - ./ubuntu/scripts/openssl-bsaes.sh 192 ctr
- - ./ubuntu/scripts/openssl-bsaes.sh 256 ctr
- - ./ubuntu/scripts/openssl-bsaes.sh 128 cbc
- - ./ubuntu/scripts/openssl-bsaes.sh 192 cbc
- - ./ubuntu/scripts/openssl-bsaes.sh 256 cbc
- - ./ubuntu/scripts/openssl-bsaes.sh 128 xts
- - ./ubuntu/scripts/openssl-bsaes.sh 256 xts
-
-parse:
- pattern: "(?P<test_case_id>.*-*):\\s+(?P<result>(pass|fail))"
diff --git a/ubuntu/openssl.yaml b/ubuntu/openssl.yaml
deleted file mode 100644
index 1ddc088b..00000000
--- a/ubuntu/openssl.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-metadata:
- name: openssl
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "OpenSSL is an open source tool for using the Secure Socket Layer (SSL) and
- Transport Layer Security (TLS) protocols for Web authentication and offers
- cryptographic functions to support SSL/TLS protocols. This test case measures
- openssl speed benchmark using md5, sha1, sha256 and sha512 as parameters."
- maintainer:
- - amit.khare@linaro.org
- os:
- - ubuntu
- devices:
- - panda
- - panda-es
- - vexpress-a9
- - vexpress-tc2
- - highbank
- - arndale
- - origen
- - vexpress
- - juno
- scope:
- - performance
-run:
- steps:
- - 'cd ubuntu/scripts'
- - './openssl.sh'
- - lava-test-run-attach openssl-result.txt text/plain
-parse:
- pattern: "^(?P<test_case_id>\\S+):\\s+(?P<measurement>\\d+)\\s+(?P<units>\\S+)\\s+(?P<result>.*)"
diff --git a/ubuntu/ovs-odp-dpdk-server-multinode.yaml b/ubuntu/ovs-odp-dpdk-server-multinode.yaml
deleted file mode 100644
index a5f48510..00000000
--- a/ubuntu/ovs-odp-dpdk-server-multinode.yaml
+++ /dev/null
@@ -1,100 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: ovs-odp-server-multinode
- description: "OVS on top of ODP-DPDK - this runs as part of a multinode setup and tests
- the performance of odp-ovs. This initial effort covers simple PHY-to-PHY
- forwarding in a setup with two machines connected back to back trough two
- network interfaces. The other machine will usually run netmap-pkt-gen-multinode
- to generate packets and measure the rate of packets forwarded by odp-ovs."
- maintainer:
- - ciprian.barbu@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- - performance
- devices:
- - x86
-
-params:
- LINUX_HEADERS_DEB: "/linux-headers.deb"
- ODP_OVS_GIT: "git://git.linaro.org/lng/odp-ovs.git"
- ODP_OVS_REV: "odp-v0"
- NIC_PATTERN: "82599"
-
-install:
- deps:
- - git
- - binutils
- - gcc
- - make
- - autoconf
- - libtool
- - automake
- - patch
- - pciutils
- - python-numpy
- - libpcap-dev
- - openssl
- - libssl-dev
- - curl
- - uuid-runtime
- - bzip2
- - lshw
- git-repos:
- - url: git://git.linaro.org/lng/check-odp
- steps:
- - echo 'RUNNING depmod'
- - depmod
- - echo 'CLONING odp-ovs'
- - git clone $ODP_OVS_GIT odp-ovs
- - cd odp-ovs
- - git checkout $ODP_OVS_REV
- - ifconfig -a
- - lshw -class network
-
-run:
- steps:
- - set -x
- - echo 'COMPILING ODP-DPDK'
- - cd check-odp
- - lava-test-case compile-odp-dpdk --shell CLEANUP=0 ./build-dpdk.sh
- - echo 'COMPILING ODP-OVS'
- - cd ..
- - cd odp-ovs
- - ./boot.sh
- - lava-test-case configure-odp-ovs --shell ./configure --with-odp=../check-odp/new-build --with-odp-debug=yes --prefix=/usr
- - lava-test-case make-odp-ovs --shell make -j 4
- - make install
- - cd ..
- - echo 'CONFIGURE hugetlbfs'
- - lava-test-case set-1024-hugetlbfs --shell 'echo 1024 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages'
- - mkdir -p /mnt/huge
- - lava-test-case mount-hugetlbfs --shell mount -t hugetlbfs nodev /mnt/huge
- - sleep 5
- - echo 'PREPARE DPDK'
- - lava-test-case insert-uio --shell modprobe uio
- - lava-test-case insert-igb-uio --shell insmod check-odp/DPDK/x86_64-native-linuxapp-gcc/kmod/igb_uio.ko
- - echo 'BIND DPDK NICs'
- - lava-test-case dpdk-nic-status-before --shell check-odp/DPDK/tools/dpdk_nic_bind.py --status
- - lava-test-case dpdk-nic-bind --shell ./common/scripts/odp-ovs/ovs-odp-dpdk-nic-bind-$NIC_PATTERN.sh check-odp/DPDK
- - lava-test-case dpdk-nic-status-after --shell check-odp/DPDK/tools/dpdk_nic_bind.py --status
- - sleep 5
- - echo 'STARTING ODP-OVS'
- - lava-test-case start-odp-ovs --shell 'ODP_PLATFORM_PARAMS="-n 3 -- -p 3" odp-ovs/debian/openvswitch-switch.init start'
- - echo 'ENABLING ODP mode'
- - lava-test-case enable-odp-mode --shell 'ovs-vsctl set Open_vSwitch . other_config:odp=true'
- - echo 'ADDING bridge'
- - lava-test-case add-bridge --shell 'ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev'
- - sleep 3
- - echo 'ADDING ports'
- - lava-test-case add-port0 --shell 'ovs-vsctl add-port br0 odp:0 -- set Interface odp:0 type=odp'
- - lava-test-case add-port1 --shell 'ovs-vsctl add-port br0 odp:1 -- set Interface odp:1 type=odp'
- - sleep 3
- - echo 'ADDING flows'
- - lava-test-case show-flows --shell ovs-ofctl show br0
- - lava-test-case add-flow1 --shell 'ovs-ofctl add-flow br0 in_port=1,action=output:2'
- - lava-test-case add-flow2 --shell 'ovs-ofctl add-flow br0 in_port=2,action=output:1'
- - lava-sync ready
- - lava-sync l2fwd-done
- - lava-test-case del-br --shell 'ovs-vsctl del-br br0'
diff --git a/ubuntu/perf-mmap.yaml b/ubuntu/perf-mmap.yaml
deleted file mode 100644
index 391dc6b2..00000000
--- a/ubuntu/perf-mmap.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-metadata:
- name: perf-mmap-test
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Perf-mmap-test is testsuite for showing benchmarks for accessing perf hw counters from userspace with traditional way by using read syscall, and mmap way"
- maintainer:
- - yogesh.tillu@linaro.org
- os:
- - ubuntu
- scope:
- - performance
- devices:
- - juno
-
-install:
- deps:
- - build-essential
- - linux-libc-dev
- git-repos:
- - url: https://git.linaro.org/qa/perfcounter_access_test.git
- steps:
- - "cd perfcounter_access_test"
- - "make install MAX_DELAY=1"
-
-params:
- BUSYLOOP: 64
- COUNTER: "0 1 2 3 5 9"
- CPU: "0 1"
-
-run:
- steps:
- - 'for core in $CPU; do \'
- - 'echo "Tests Executing on CPU $core"; \'
- - 'taskset -c $core ./common/scripts/perf-mmaptest.sh ${BUSYLOOP} "$COUNTER" $core; \'
- - 'done'
diff --git a/ubuntu/perf.yaml b/ubuntu/perf.yaml
deleted file mode 100644
index e8d84386..00000000
--- a/ubuntu/perf.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-metadata:
- name: perf
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Perf is a profiler tool for Linux and is used to collect and analyze performance and trace data.
- This test runs following perf commands: record(record events for later reporting), report(break
- down events by process, function, etc), stat(obtain event counts) and test(Run sanity tests)."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- scope:
- - performance
- devices:
- - panda
- - panda-es
- - vexpress-tc2
- - vexpress-a9
- - beaglebone-black
- - ifc6410
- - juno
-
-install:
- deps:
- - linux-tools-3.16
- # perf complains for missing stress symbols but there is no package available
- - stress
- steps:
- - ln -s /usr/bin/perf_3.16 /usr/bin/perf
-
-run:
- steps:
- - ./common/scripts/run-perf-test.sh
-
-parse:
- pattern: "^(?P<test_case_id>[\\w\\s\\'\\,\\:\\*\\&\\>\\-]+)\\s:\\s(?P<result>pass|fail|skip)$"
diff --git a/ubuntu/phoronix.yaml b/ubuntu/phoronix.yaml
deleted file mode 100644
index 269f89a7..00000000
--- a/ubuntu/phoronix.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-metadata:
- name: phoronix-test-suite
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Run a sub-set of phoronix test suite on Linux Linaro ubuntu"
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- devices:
- - panda
- - panda-es
- scope:
- - functional
- environment:
- - lava-test-shell
-
-install:
- deps:
- - python
- - python-pexpect
- - php5-common
- - php5-readline
- - libgd3
- - libxpm4
- - phpapi-20121212+lfs
- - libfontconfig1
- - libfreetype6
- - libjpeg8
- - libtiff5
- - libvpx1
- - psmisc
- - fontconfig-config
- - libjpeg-turbo8
- - libjbig0
- - fonts-dejavu-core
- - ttf-bitstream-vera
- - fonts-freefont-ttf
- - gsfonts-x11
- - gsfonts
- - xfonts-utils
- - libfontenc1
- - libxfont1
- - x11-common
- - xfonts-encodings
- - php5-cli
- - php5-gd
- - php5-json
- - php-fpdf
- - iptables
-
-run:
- steps:
- - "wget http://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_5.2.1_all.deb"
- - "dpkg -i phoronix-test-suite_5.2.1_all.deb"
- - "cd ubuntu/scripts; ./phoronix.py"
diff --git a/ubuntu/pi-stress-test.yaml b/ubuntu/pi-stress-test.yaml
deleted file mode 100644
index dad3ae04..00000000
--- a/ubuntu/pi-stress-test.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: pi-stress-test
- description: "PI-Stress-test for POSIX Priority Inheritance mutexes. It's a stress test that
- checks Priority Inheritence Mutexes and their ability to avoid Priority Inversion
- from occuring by running groups of threads that cause Priority Inversions."
- maintainer:
- - chase.qi@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- - preempt-rt
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
- - beaglebone-black
- - d01
- - rtsm_fvp_base-aemv8a
- - juno
- environment:
- - lava-test-shell
-
-install:
- deps:
- - rt-tests
-params:
- # Length of the test run in seconds
- DURATION: 300
- # The number of inversion groups to run. By default pi_stress will detect the number of
- # processors and determine the number of inversion groups automatically.
- GROUP: 'default'
- # Set MLOCKALL to ture to lock current and future memory
- MLOCKALL: 'true'
- # Set RR to true if you need use SCHED_RR for test threads. The
- # default is to run the inversion threads as SCHED_FIFO
- RR: 'false'
-
-run:
- steps:
- - ./ubuntu/scripts/pi-stress-test.py $DURATION $GROUP $MLOCKALL $RR
diff --git a/ubuntu/pmqtest.yaml b/ubuntu/pmqtest.yaml
deleted file mode 100644
index bd1b93e9..00000000
--- a/ubuntu/pmqtest.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-metadata:
- name: pmqtest
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Pmqtest measures the latency of interprocess communication with POSIX messages queues.
- The test starts pairs of threads that are synchronized via mq_send/mw_receive() and
- measures the latency between sending and receiving the message. The default iteration
- is set to 1000 which can be changed via JSON file."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - performance
- - preempt-rt
-
-install:
- deps:
- - rt-tests
-
-params:
- LOOPS: 1000
-
-run:
- steps:
- - 'pmqtest -l ${LOOPS} -S | tee result.log'
- - './common/scripts/rt-tests-parser.sh pmqtest result.log'
- - 'lava-test-run-attach result.log'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'
diff --git a/ubuntu/ptsematest.yaml b/ubuntu/ptsematest.yaml
deleted file mode 100644
index a9c5d106..00000000
--- a/ubuntu/ptsematest.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-metadata:
- name: ptsematest
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Ptsematest measures the latency of interprocess communication with POSIX mutex. The test
- starts two threads that are synchronized via pthread_mutex_unlock()/pthread_mutex_lock()
- and measures the latency between releasing and getting the lock. The dafault iteration is
- set to 1000 which can be changed via JSON file."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - performance
- - preempt-rt
-
-install:
- deps:
- - rt-tests
-
-params:
- LOOPS: 1000
-
-run:
- steps:
- - 'ptsematest -l ${LOOPS} -t | tee result.log'
- - './common/scripts/rt-tests-parser.sh ptsematest result.log'
- - 'lava-test-run-attach result.log'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'
diff --git a/ubuntu/pwrmgmt.yaml b/ubuntu/pwrmgmt.yaml
deleted file mode 100644
index fee52537..00000000
--- a/ubuntu/pwrmgmt.yaml
+++ /dev/null
@@ -1,47 +0,0 @@
-metadata:
- name: pwrmgmt
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test power management (PM-QA). Currently, the test runs cpufreq, cpuidle, cpuhotplug, thermal
- and cputopology by default and individual test can be run via JSON file too.
- Test case documentation available in wiki: https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification"
- maintainer:
- - lisa.nguyen@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- - performance
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
- - beaglebone-black
- - d01
- - juno
-
-install:
- deps:
- - linux-libc-dev
- - build-essential
- - git
- git-repos:
- - url: git://git.linaro.org/power/pm-qa.git
- destination: pm-qa
- branch: RELEASE
- steps:
- - "cd pm-qa"
- - "make -C utils"
-
-params:
- PWR_TESTARG: cpufreq cpuidle cpuhotplug thermal cputopology
- RELEASE: 'pm-qa-v0.5.2'
-
-run:
- steps:
- - cd pm-qa
- - for testset in $PWR_TESTARG; do make -C $testset check; done
-
-parse:
- pattern: "^(?P<test_case_id>[a-z0-9_]+):\\s+(?P<result>pass|fail|skip)"
diff --git a/ubuntu/qemu-edk2-boot.yaml b/ubuntu/qemu-edk2-boot.yaml
deleted file mode 100644
index 57fed798..00000000
--- a/ubuntu/qemu-edk2-boot.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-metadata:
- name: qemu-edk2-boot
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Setup and run a test on Aarch64 QEMU System Image, with networking."
- maintainer:
- - roy.franz@linaro.org
- os:
- - debian
- scope:
- - functional
- devices:
- - kvm
-
-params:
- # The QEMU executable
- QEMU_BIN: /usr/local/bin/qemu-system-aarch64
- # The QEMU machine definitions
- QEMU_ARGS: -machine virt -cpu cortex-a57 -machine type=virt -pflash /home/flash0.img -pflash /home/flash1.img -device virtio-net-device,netdev=v0 -netdev tap,id=v0,ifname=tap0 -nographic -smp 1 -m 256
- # Args for local disk: -machine virt -cpu cortex-a57 -machine type=virt -pflash /home/flash0.img -pflash /home/flash1.img -drive file=/root/iscsi-disk-image.bin,if=none,id=blk -device virtio-blk-device,drive=blk -nographic -smp 1 -m 256
- # Test name to identify specific configuration
- TEST_NAME: iscsi
-
-install:
- deps:
- - wget
- - expect
- steps:
- # Put the flash image in /home with the disk image provided files
- # for QEMU to keep them all together.
- - cd /home
- - wget -O QEMU_EFI.fd ${EDK2_BIN}
- # Pad to 64 MBytes as required for QEMU flash images
- - dd if=QEMU_EFI.fd of=flash0.img ibs=64M conv=sync
-
-run:
- steps:
- - export QEMU_BIN QEMU_ARGS TEST_NAME
- - ubuntu/scripts/qemu-edk2-boot.sh
diff --git a/ubuntu/rcutorture.yaml b/ubuntu/rcutorture.yaml
deleted file mode 100644
index 4c7990c7..00000000
--- a/ubuntu/rcutorture.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-metadata:
- name: rcutorture
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "RCU or Read-Copy Update Torture test for Linux Kernel. The default torture
- time is set to 600 which can be changed via JSON file."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- - openembedded
- devices:
- - d01
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
- - ifc6410
- - rtsm_fvp_base-aemv8a
- - juno
- - beaglebone-black
- scope:
- - functional
- environment:
- - lava-test-shell
-
-params:
- TORTURETIME: 600
-
-run:
- steps:
- - "cd ubuntu/scripts; ./rcutorture.py $TORTURETIME"
diff --git a/ubuntu/replay-client-multinode.yaml b/ubuntu/replay-client-multinode.yaml
deleted file mode 100644
index a6246b44..00000000
--- a/ubuntu/replay-client-multinode.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: tcpreplay-client-multinode
- description: "Basic MultiNode tcpreplay test on client side"
- maintainer:
- - weilong.chen@linaro.org
- os:
- - ubuntu
- scope:
- - performance
- devices:
- - kvm
- - arndale
-params:
- ETH: eth0
- REP: 100
-run:
- steps:
- - lava-sync start
- - ifconfig -a
- - route
- - lava-network broadcast $ETH
- - lava-network collect $ETH
- - line=`lava-group | grep server | awk '{print $1}'`
- - STR=`lava-network query $line ipv4`
- - remote_ip=`echo $STR | sed -e 's/.*addr://'`
- - lava-test-case multinode-lava-network --shell ./common/scripts/generator.sh $ETH $remote_ip max $REP
- - lava-sync done
-parse:
- "pattern": "^test_case_id:(?P<test_case_id>.+) units:(?P<units>.+) measurement:(?P<measurement>\\d+\\.\\d+) result:(?P<result>\\w+)"
diff --git a/ubuntu/replay-server-multinode.yaml b/ubuntu/replay-server-multinode.yaml
deleted file mode 100644
index 5ac86757..00000000
--- a/ubuntu/replay-server-multinode.yaml
+++ /dev/null
@@ -1,26 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: tcpreplay-server-multinode
- description: "Basic MultiNode tcpreplay test on server side"
- maintainer:
- - weilong.chen@linaro.org
- os:
- - ubuntu
- scope:
- - performance
- devices:
- - kvm
- - arndale
-params:
- ETH: eth0
-run:
- steps:
- - lava-sync start
- - ifconfig -a
- - route
- - lava-network broadcast $ETH
- - lava-network collect $ETH
- - echo "test-0:ignore"
- - lava-sync done
-parse:
- "pattern": "(?P<test_case_id>.*-*):\\s+(?P<result>(pass|fail))"
diff --git a/ubuntu/rt-migrate-test.yaml b/ubuntu/rt-migrate-test.yaml
deleted file mode 100644
index 223dc07b..00000000
--- a/ubuntu/rt-migrate-test.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-metadata:
- name: rt-migrate-test
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "RT-MIGRATE-TEST verifies the RT threads scheduler balancing. The number of iterations
- to run is set to 1000 by default and can be changed via JSON file."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - performance
- - preempt-rt
-
-install:
- deps:
- - rt-tests
-
-params:
- LOOPS: 1000
-
-run:
- steps:
- - 'rt-migrate-test -l ${LOOPS} | tee result.log'
- - 'lava-test-run-attach result.log'
- - './ubuntu/scripts/rt-migrate-test-parser.sh result.log'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'
diff --git a/ubuntu/sata-partition-rw.yaml b/ubuntu/sata-partition-rw.yaml
deleted file mode 100644
index 4e2a0631..00000000
--- a/ubuntu/sata-partition-rw.yaml
+++ /dev/null
@@ -1,36 +0,0 @@
-metadata:
- name: sata-partition-rw
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "SATA Partition, Read and Write Test on Linux Linaro ubuntu.
- 1) The target Device ID is possible to be set in JSON.
- 2) This script is using dd with iflag and oflag set to direct to test read and write performance.
- In this way it can provide the real output without cache involved.
- 3) For more information, please refer to dd GNU web page."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- devices:
- - d01
- - panda
- - panda-es
- - arndale
- scope:
- - functional
- environment:
- - lava-test-shell
-
-install:
- deps:
- - parted
- - python
-
-params:
- DeviceID: /dev/sda
-
-run:
- steps:
- - "cd ubuntu/scripts; ./sata-partition-rw.py $DeviceID"
-
-parse:
- pattern: '^(?P<test_case_id>sata_\w+):\s(?P<result>\w+)\s(?P<measurement>[0-9.]+)\s(?P<units>[a-zA-Z/]+)'
diff --git a/ubuntu/scripts/acpi-check.sh b/ubuntu/scripts/acpi-check.sh
deleted file mode 100755
index 467d7734..00000000
--- a/ubuntu/scripts/acpi-check.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#! /bin/sh
-
-DSDTPASS=
-
-echo -n "Testing presence of /sys/firmware/acpi: "
-if [ -d /sys/firmware/acpi ]; then
- echo PASS
-else
- echo FAIL
-fi
-
-echo -n "Testing presence of /sys/firmware/acpi/tables/DSDT: "
-if [ -f /sys/firmware/acpi/tables/DSDT ]; then
- echo PASS
- DSDTPASS=pass
-else
- echo FAIL
-fi
-
-echo -n "Can decompile DSDT: "
-if [ -x /usr/bin/iasl -a -n "$DSDTPASS" ]; then
- cp /sys/firmware/acpi/tables/DSDT /tmp/
- ERROR=`/usr/bin/iasl -d /tmp/DSDT 2>&1 | grep DSDT.dsl`
- if [ -n "$ERROR" ]; then
- echo PASS
- else
- echo FAIL
- fi
- rm /tmp/DSDT /tmp/DSDT.dsl
-else
- echo SKIP
-fi
-
diff --git a/ubuntu/scripts/acpica-parser.sh b/ubuntu/scripts/acpica-parser.sh
deleted file mode 100755
index a0cc5f8f..00000000
--- a/ubuntu/scripts/acpica-parser.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-#
-# ACPI ASL on ARMv7 and ARMv8
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Maintainer: naresh.bhat@linaro.org, arthur.she@linaro.org
-
-for f in `find $1 -name "__STATUS_OF_TESTS"`;
-do
- sed "s/^\"://" $f
-done
diff --git a/ubuntu/scripts/audit-make-run.exp b/ubuntu/scripts/audit-make-run.exp
deleted file mode 100755
index aa27c660..00000000
--- a/ubuntu/scripts/audit-make-run.exp
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/expect
-set timeout -1
-
-spawn passwd eal
-expect "Enter new UNIX password:"
-send "admin12\n"
-expect "Retype new UNIX password:"
-send "admin12\n"
-spawn make run
-expect "Login user password:"
-send "admin12\n"
-interact
-exit
diff --git a/ubuntu/scripts/bootchartscript.sh b/ubuntu/scripts/bootchartscript.sh
deleted file mode 100755
index d426784c..00000000
--- a/ubuntu/scripts/bootchartscript.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-base="$(hostname -s)-$(lsb_release -sc)-$(date +%Y%m%d)"
-
-# Wait for log files to become available
-sleep 60
-file=`find /var/log/bootchart/ -name "$base-*.tgz"`
-if [ -z "$file" ]; then
- sleep 60
-fi
-file=`find /var/log/bootchart/ -name "$base-*.tgz"`
-if [ -z "$file" ]; then
- echo "No bootchart log file available"
- exit 1
-fi
-
-count=1
-while [ -e "/var/log/bootchart/$base-$count.tgz" -o -e "/var/log/bootchart/$base-$count.png" -o -e "/var/log/bootchart/$base-$count.svg" ]
-do
- count=$(( $count + 1 ))
-done
-count=$(( $count - 1 ))
-
-BASE="/var/log/bootchart/$base-$count"
-TARBALL="$BASE.tgz"
-
-python $PWD/bootcharttest.py $TARBALL -q > bootchart.log
diff --git a/ubuntu/scripts/bootcharttest.py b/ubuntu/scripts/bootcharttest.py
deleted file mode 100644
index f5b3d2ad..00000000
--- a/ubuntu/scripts/bootcharttest.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-from pybootchartgui import main
-from pybootchartgui import parsing
-
-if __name__ == '__main__':
- argv = sys.argv[1:]
- parser = main._mk_options_parser()
- options, args = parser.parse_args(argv)
- writer = main._mk_writer(options)
- res = parsing.parse(writer, args, options.prune, options.crop_after, options.annotate)
- duration = float(res[3].duration) / 100
- print res[0]['title']
- print "uname:", res[0]['system.uname']
- print "release:", res[0]['system.release']
- print "CPU:", res[0]['system.cpu']
- print "kernel options:", res[0]['system.kernel.options']
- print "time:", duration
diff --git a/ubuntu/scripts/device-tree.sh b/ubuntu/scripts/device-tree.sh
deleted file mode 100755
index f85a042d..00000000
--- a/ubuntu/scripts/device-tree.sh
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-#
-# Device Tree test cases for Linux Linaro ubuntu
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Ricardo Salveti <rsalveti@linaro.org>
-# Maintainer Botao Sun <botao.sun@linaro.org>
-
-. include/sh-test-lib
-
-## Test case definitions
-
-# Check if /proc/device-tree is available
-test_has_proc_device_tree() {
- TEST="has_proc_device_tree"
-
- if [ ! -d /proc/device-tree ]; then
- fail_test "Unable to find /proc/device-tree"
- return 1
- fi
-
- find /proc/device-tree
-
- pass_test
-}
-
-# Check if model is not empty
-test_device_tree_model_not_empty() {
- TEST="device_tree_model_not_empty"
-
- if [ ! -f /proc/device-tree/model ]; then
- fail_test "Unable to find /proc/device-tree/model"
- return 1
- fi
-
- model=`cat /proc/device-tree/model`
- if [ -z "$model" ]; then
- fail_test "Empty model description at /proc/device-tree/model"
- return 1
- fi
-
- echo "The model of the board is $model"
-
- pass_test
-}
-
-# run the tests
-test_has_proc_device_tree
-test_device_tree_model_not_empty
-
-# clean exit so lava-test can trust the results
-exit 0
diff --git a/ubuntu/scripts/device_read_perf.sh b/ubuntu/scripts/device_read_perf.sh
deleted file mode 100755
index 1ade003e..00000000
--- a/ubuntu/scripts/device_read_perf.sh
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-#
-# Test device timings for block devices on ubuntu
-#
-# Copyright (C) 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Hanumantha Naradla <hanumantha.naradla@linaro.org>
-
-if [ `whoami` != 'root' ] ; then
- echo "You must be the superuser to run this script" >&2
- exit 1
-fi
-
-. include/sh-test-lib
-
-## Test case definitions
-# Test device read timings (hdparm -t) and cache read timings (hdparm -T)
-
-test_func(){
- test_cmd=$1
- c_read=0
- p_read=0
- t_read=0
-
- for i in 1 2 3;
- do
- echo ""
- echo "device read timings: Iteration $i"
- # Perform timings of cache reads
- hdparm -T /dev/$test_cmd
- # Perform timings of device reads in MB/sec
- c_read=`hdparm -t /dev/$test_cmd | grep 'reads' | awk -v col1=11 '{print $col1}'`
- if [ $c_read ]
- then
- echo "Device read timings: $c_read MB/sec"
- else
- echo "test_case_id:device_read_perf-$test_cmd units:none measurement:0 result:fail"
- return
- fi
- t_read=`echo $t_read $c_read | awk '{print $1+$2}'`
- done
- # Get average of device reads in MB/sec
- t_read=`echo $t_read | awk '{print $1/3}'`
- echo "Average device read timings: $t_read MB/sec"
- echo "test_case_id:device_read_perf-$test_cmd units:MBperSecond measurement:$t_read result:pass"
-}
-
-# Get total block devices
-disk_count=`lsblk | grep disk -c`
-
-if [ $disk_count -ge 1 ]
-then
- echo "total block devices are $disk_count"
-else
- echo "there are no block devices"
- echo "test_case_id:device_read_perf-* units:none measurement:0 result:skip"
- exit 0
-fi
-
-# Test device timings for all devices
-for i in `lsblk | grep 'disk' | awk -v col1=1 '{print $col1}'`
-do
- case "$i" in
- mmcblk*boot*| mmcblk*rpmb) echo "Skipping $i";;
- *) test_func $i;;
- esac
-done
-
-# Clean exit so lava-test can trust the results
-exit 0
diff --git a/ubuntu/scripts/fio-test.py b/ubuntu/scripts/fio-test.py
deleted file mode 100755
index 9a35bbb7..00000000
--- a/ubuntu/scripts/fio-test.py
+++ /dev/null
@@ -1,268 +0,0 @@
-#!/usr/bin/env python
-#
-# FIO test cases for Linux Linaro ubuntu
-#
-# Copyright (C) 2012 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Botao Sun <botao.sun@linaro.org>
-#
-
-import sys
-import os
-import commands
-
-# Switch to home path of current user to avoid any permission issue
-home_path = os.environ['HOME']
-os.chdir(home_path)
-print os.getcwd()
-
-# Save partition layout to a local file for reference
-commands.getstatusoutput("fdisk -l > partition_layout.txt 2>&1")
-device_name = sys.argv[1]
-
-
-def fio_device_existence():
- testcase_name = "fio_target_device_existence"
- if sys.argv[1] == "":
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Device name is empty"
- sys.exit(1)
- else:
- logfile = open("partition_layout.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- for i in range(0, len(logcontent)):
- print logcontent[i].strip("\n")
- if sys.argv[1] in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
- if positive_counter > 0:
- print testcase_name + ": PASS" + " 0" + " Inapplicable"
- else:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Could not locate " + sys.argv[1] + " on target board"
- sys.exit(1)
-
-
-def fio_existence():
- testcase_name = "fio_binary_existence"
- run_command = "which fio"
- print run_command
-
- fio_binary_location = commands.getstatusoutput(run_command)
- if fio_binary_location[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Could not locate FIO binary"
- sys.exit(1)
- else:
- print "The FIO binary location is: " + fio_binary_location[1]
- print testcase_name + ": PASS" + " 0" + " Inapplicable"
-
-
-def fio_read():
- testcase_name = "fio_bs4kread_iops"
- run_command = "fio -filename=" + device_name + " -rw=read -direct=1 -iodepth 1 -thread -ioengine=psync -bs=4k -numjobs=1 -runtime=10 -group_reporting -name=fio_read > fio_read.txt 2>&1"
- print run_command
-
- fio_read_return = commands.getstatusoutput(run_command)
- print fio_read_return[0]
-
- if fio_read_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Command ran failed on " + device_name
- else:
- # Print output to stdout
- logfile = open("fio_read.txt", "r")
- logcontent = logfile.readlines()
- for element in logcontent:
- print element.strip("\n")
-
- # Print IOPS number
- keyword = "iops="
- for i in range(0, len(logcontent)):
- if keyword in logcontent[i]:
- target_element = logcontent[i].split(",")
- for j in range(0, len(target_element)):
- if keyword in target_element[j]:
- iops_result = target_element[j].split("=")[1].strip(" ")
- print "The IOPS number in fio_read test is: " + iops_result
-
- logfile.close()
- print testcase_name + ": PASS" + " " + iops_result + " " + "IOPS"
-
-
-def fio_randread():
- testcase_name = "fio_randread_iops"
- run_command = "fio -filename=" + device_name + " -rw=randread -direct=1 -iodepth 1 -thread -ioengine=psync -bs=4k -numjobs=1 -runtime=10 -group_reporting -name=fio_randread > fio_randread.txt 2>&1"
- print run_command
-
- fio_randread_return = commands.getstatusoutput(run_command)
- print fio_randread_return[0]
-
- if fio_randread_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Command ran failed on " + device_name
- else:
- # Print output to stdout
- logfile = open("fio_randread.txt", "r")
- logcontent = logfile.readlines()
- for element in logcontent:
- print element.strip("\n")
-
- # Print IOPS number
- keyword = "iops="
- for i in range(0, len(logcontent)):
- if keyword in logcontent[i]:
- target_element = logcontent[i].split(",")
- for j in range(0, len(target_element)):
- if keyword in target_element[j]:
- iops_result = target_element[j].split("=")[1].strip(" ")
- print "The IOPS number in fio_randread test is: " + iops_result
-
- logfile.close()
- print testcase_name + ": PASS" + " " + iops_result + " " + "IOPS"
-
-
-def fio_write():
- testcase_name = "fio_write_iops"
- run_command = "fio -filename=" + device_name + " -rw=write -direct=1 -iodepth 1 -thread -ioengine=psync -bs=4k -numjobs=1 -runtime=10 -group_reporting -name=fio_write > fio_write.txt 2>&1"
- print run_command
-
- fio_write_return = commands.getstatusoutput(run_command)
- print fio_write_return[0]
-
- if fio_write_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Command ran failed on " + device_name
- else:
- # Print output to stdout
- logfile = open("fio_write.txt", "r")
- logcontent = logfile.readlines()
- for element in logcontent:
- print element.strip("\n")
-
- # Print IOPS number
- keyword = "iops="
- for i in range(0, len(logcontent)):
- if keyword in logcontent[i]:
- target_element = logcontent[i].split(",")
- for j in range(0, len(target_element)):
- if keyword in target_element[j]:
- iops_result = target_element[j].split("=")[1].strip(" ")
- print "The IOPS number in fio_write test is: " + iops_result
-
- logfile.close()
- print testcase_name + ": PASS" + " " + iops_result + " " + "IOPS"
-
-
-def fio_randwrite():
- testcase_name = "fio_randwrite_iops"
- run_command = "fio -filename=" + device_name + " -rw=randwrite -direct=1 -iodepth 1 -thread -ioengine=psync -bs=4k -numjobs=1 -runtime=10 -group_reporting -name=fio_randwrite > fio_randwrite.txt 2>&1"
- print run_command
-
- fio_randwrite_return = commands.getstatusoutput(run_command)
- print fio_randwrite_return[0]
-
- if fio_randwrite_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Command ran failed on " + device_name
- else:
- # Print output to stdout
- logfile = open("fio_randwrite.txt", "r")
- logcontent = logfile.readlines()
- for element in logcontent:
- print element.strip("\n")
-
- # Print IOPS number
- keyword = "iops="
- for i in range(0, len(logcontent)):
- if keyword in logcontent[i]:
- target_element = logcontent[i].split(",")
- for j in range(0, len(target_element)):
- if keyword in target_element[j]:
- iops_result = target_element[j].split("=")[1].strip(" ")
- print "The IOPS number in fio_randwrite test is: " + iops_result
-
- logfile.close()
- print testcase_name + ": PASS" + " " + iops_result + " " + "IOPS"
-
-
-def fio_512k_write():
- testcase_name = "fio_512k_write_bandwidth"
- run_command = "fio -filename=" + device_name + " -rw=write -direct=1 -iodepth 1 -thread -ioengine=psync -bs=512k -numjobs=1 -runtime=10 -group_reporting -name=fio_512k_write > fio_512k_write.txt 2>&1"
- print run_command
-
- fio_512k_write_return = commands.getstatusoutput(run_command)
- print fio_512k_write_return[0]
-
- if fio_512k_write_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Command ran failed on " + device_name
- else:
- # Print output to stdout
- logfile = open("fio_512k_write.txt", "r")
- logcontent = logfile.readlines()
- for element in logcontent:
- print element.strip("\n")
-
- # Print Bandwidth number
- keyword = "bw="
- for i in range(0, len(logcontent)):
- if keyword in logcontent[i]:
- target_element = logcontent[i].split(",")
- for j in range(0, len(target_element)):
- if keyword in target_element[j]:
- bandwidth_result = target_element[j].split("=")[1].strip(" ")
- print "The Bandwidth number in fio_512k_write test is: " + bandwidth_result
- bandwidth_number = bandwidth_result.split("/")[0][:-2]
-
- logfile.close()
- print testcase_name + ": PASS" + " " + bandwidth_number + " " + "KB/s"
-
-
-def fio_512k_read():
- testcase_name = "fio_512k_read_bandwidth"
- run_command = "fio -filename=" + device_name + " -rw=read -direct=1 -iodepth 1 -thread -ioengine=psync -bs=512k -numjobs=1 -runtime=10 -group_reporting -name=fio_512k_read > fio_512k_read.txt 2>&1"
- print run_command
-
- fio_512k_read_return = commands.getstatusoutput(run_command)
- print fio_512k_read_return[0]
-
- if fio_512k_read_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Command ran failed on " + device_name
- else:
- # Print output to stdout
- logfile = open("fio_512k_read.txt", "r")
- logcontent = logfile.readlines()
- for element in logcontent:
- print element.strip("\n")
-
- # Print Bandwidth number
- keyword = "bw="
- for i in range(0, len(logcontent)):
- if keyword in logcontent[i]:
- target_element = logcontent[i].split(",")
- for j in range(0, len(target_element)):
- if keyword in target_element[j]:
- bandwidth_result = target_element[j].split("=")[1].strip(" ")
- print "The Bandwidth number in fio_512k_read test is: " + bandwidth_result
- bandwidth_number = bandwidth_result.split("/")[0][:-2]
-
- logfile.close()
- print testcase_name + ": PASS" + " " + bandwidth_number + " " + "KB/s"
-
-# Run all test
-fio_device_existence()
-fio_existence()
-fio_read()
-fio_randread()
-fio_write()
-fio_randwrite()
-fio_512k_write()
-fio_512k_read()
diff --git a/ubuntu/scripts/gator-data-streaming-ubuntu.sh b/ubuntu/scripts/gator-data-streaming-ubuntu.sh
deleted file mode 100755
index 542b925f..00000000
--- a/ubuntu/scripts/gator-data-streaming-ubuntu.sh
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-#
-# Gator data streaming test for ubuntu
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Botao Sun <botao.sun@linaro.org>
-
-. include/sh-test-lib
-
-# Creating a new directory called gator_files under tmp so that it can be uniformly used for both Ubuntu and OE instead of using root for session.xml file
-mkdir -p /tmp/gator_files
-
-# Location of XML template and data streaming result folder
-xml_template="/tmp/gator_files/session.xml"
-data_streaming_result="/tmp/gator_files/linaro-ubuntu-gator-data-streaming.apc"
-
-# Create sample XML file as a template
-echo "<?xml version=\"1.0\" encoding=\"US-ASCII\" ?> " > $xml_template
-echo "<session version=\"1\" output_path=\"x\" call_stack_unwinding=\"yes\" parse_debug_info=\"yes\" " >> $xml_template
-echo "high_resolution=\"no\" buffer_mode=\"streaming\" sample_rate=\"normal\" duration=\"10\" " >> $xml_template
-echo "target_host=\"linaro-ubuntu-boards\" target_port=\"8080\"> " >> $xml_template
-echo "</session>" >> $xml_template
-
-## Test case definitions
-# Check whether session.xml is available
-test_session_xml_not_empty() {
- TEST="session_xml_not_empty"
-
- if [ ! -f $xml_template ]; then
- fail_test "Unable to find $xml_template"
- return 1
- fi
-
- session_file=`cat $xml_template`
- if [ -z "$session_file" ]; then
- fail_test "Empty template session XML file at $xml_template"
- return 1
- fi
-
- pass_test
-}
-
-# Check the gator data streaming command
-test_gator_data_streaming_cmd() {
- TEST="gator_data_streaming_cmd"
- /usr/sbin/gatord -s $xml_template -o $data_streaming_result
- if [ $? -ne 0 ]; then
- fail_test "Run gator data streaming command failed"
- return 1
- fi
-
- pass_test
-}
-
-# Check whether data streaming result is available
-test_gator_data_streaming_result() {
- TEST="gator_data_streaming_result"
- if [ ! -d $data_streaming_result ]; then
- fail_test "Gator data streaming result folder doesn't exist"
- return 1
- elif [ ! -f $data_streaming_result/captured.xml ]; then
- fail_test "File captured.xml doesn't exist"
- return 1
- elif [ ! -s $data_streaming_result/captured.xml ]; then
- fail_test "File captured.xml is empty"
- return 1
- fi
-
- # Print some necessary directory structure information
- ls -la $data_streaming_result
-
- pass_test
-}
-
-# run the tests
-test_session_xml_not_empty
-test_gator_data_streaming_cmd
-test_gator_data_streaming_result
-
-# clean exit so lava-test can trust the results
-exit 0
diff --git a/ubuntu/scripts/include/sh-test-lib b/ubuntu/scripts/include/sh-test-lib
deleted file mode 100755
index f57a2ef1..00000000
--- a/ubuntu/scripts/include/sh-test-lib
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/sh
-#
-# Shared shell library for test management
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Ricardo Salveti <rsalveti@linaro.org>
-# Maintainer Botao Sun <botao.sun@linaro.org>
-
-error_msg() {
- local msg="$1"
- test -z "$msg" && msg="Unknown error"
- echo "ERROR: $msg" >&2
- exit 1
-}
-
-warn_msg() {
- local msg="$1"
- test -z "$msg" && msg="Unknown error"
- printf "WARNING: %s\n\n" "$msg" >&2
-}
-
-check_return_fail() {
- if [ $? -ne 0 ]; then
- fail_test "$1"
- return 0
- else
- return 1
- fi
-}
-
-fail_test() {
- local reason="$1"
- echo "${TEST}: FAIL - ${reason}"
-}
-
-pass_test() {
- echo "${TEST}: PASS"
-}
-
-check_root() {
- if [ $(id -ru) -eq 0 ]; then
- return 0
- else
- return 1
- fi
-}
diff --git a/ubuntu/scripts/ltp-network-skiplist b/ubuntu/scripts/ltp-network-skiplist
deleted file mode 100644
index a224886d..00000000
--- a/ubuntu/scripts/ltp-network-skiplist
+++ /dev/null
@@ -1,17 +0,0 @@
-rdist
-sendfile
-dhcpd
-xinetd
-rwho
-iproute
-asapi_04
-run_rpc_tests.sh
-rpc01
-rpcinfo
-rup
-test_1_to_1_sockopt
-test_assoc_abort
-test_fragments
-test_fragments_v6
-test_sctp_sendrecvmsg
-test_sctp_sendrecvmsg_v6
diff --git a/ubuntu/scripts/ltp-network-udhcpd b/ubuntu/scripts/ltp-network-udhcpd
deleted file mode 100644
index 06a3de23..00000000
--- a/ubuntu/scripts/ltp-network-udhcpd
+++ /dev/null
@@ -1,9 +0,0 @@
-# Comment the following line to enable
-DHCPD_ENABLED="yes"
-
-# Options to pass to busybox' udhcpd.
-#
-# -S Log to syslog
-# -f run in foreground
-
-DHCPD_OPTS="-S"
diff --git a/ubuntu/scripts/ltp-network-xinetd.conf b/ubuntu/scripts/ltp-network-xinetd.conf
deleted file mode 100644
index 076ed975..00000000
--- a/ubuntu/scripts/ltp-network-xinetd.conf
+++ /dev/null
@@ -1,23 +0,0 @@
-# Simple configuration file for xinetd
-#
-# Some defaults, and include /etc/xinetd.d/
-
-defaults
-{
-
-# Please note that you need a log_type line to be able to use log_on_success
-# and log_on_failure. The default is the following :
-# log_type = SYSLOG daemon info
-
-}
-
-service finger
-{
- id = fingerd
- socket_type = stream
- wait = no
- user = nobody
- server = /usr/sbin/in.fingerd
-}
-
-includedir /etc/xinetd.d
diff --git a/ubuntu/scripts/ltp-network.sh b/ubuntu/scripts/ltp-network.sh
deleted file mode 100755
index 313b47ba..00000000
--- a/ubuntu/scripts/ltp-network.sh
+++ /dev/null
@@ -1,136 +0,0 @@
-#!/bin/sh
-#
-# Run LTP network tests on Linux Linaro ubuntu
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Maintainer:
-# vincent.hsu@linaro.org
-# milosz.wasilewski@linaro.org
-# fathi.boudra@linaro.org
-
-DIS="ubuntu"
-START_DIR=$(pwd)
-LTP_DIR="/opt/ltp"
-INTERFACE=$1 # TEST_INTERFACE: from Dispatcher Job File
-SERVER_IP=$2 # TEST_SERVER: from Dispatcher Job File
-SERVER_NAME="server.ltp"
-SERVER_PASSWD="2f70c6f33c8d78a717eb01296b8a4d59"
-
-# overwrite configuration
-cp $START_DIR/$DIS/scripts/ltp-network-xinetd.conf /etc/xinetd.conf
-cp $START_DIR/$DIS/scripts/ltp-network-udhcpd /etc/default/udhcpd
-
-# for rsh
-cd ~
-if [ -d .ssh ]; then
- rm -rf .ssh
-fi
-mkdir .ssh
-
-cat > ~/.ssh/config <<-EOF
-Host *
- StrictHostKeyChecking no
-EOF
-
-cat > ~/.ssh/id_rsa <<-EOF
------BEGIN RSA PRIVATE KEY-----
-MIIEpAIBAAKCAQEA3vTpHWDooU7wd8iUDa9aWKl97xX5UGr9u2geNK3lcp1ZVdnq
-qetd+oaUqMLXS9KvWxk0CDxRjk9S9HAvPlsj9XlvTOYEvI03M2Vl6zew489WPXAu
-OrbGk26kReR1bWVi2BkEsu8BjZtBZ828ncNWb6s/IX7IkyIEi+3QyE2lr6KuE0iL
-gc+4xX/iT+suuP8RK/UPhCTVqCvpIaiURykDokEEgTqTWvfVdFYLexntOG7C3VQQ
-5WZF+20AlvFAHS2CKz0GO/D0MvveD0IRAsVLy+dOgG4muNAUFMsu/Zs+r+CpHQzI
-LBsstP8QEEhSFtQM4RyqoOtTlNwQrzYa4b4HXwIDAQABAoIBAQDcjE4xRpS4RLsw
-8pQqOWTYwckWgZkfSMb35JXErKSFTUt61lcAgRh04z4Y9qw8kAvwxKyo3OocKTG5
-JWRGfafDgr1rxzm2Psb1K3+3P17W61m26sqAQB+M5ezQSp8yeRFfDNiOHElgB82a
-XnUPZpSRYEfR3XWRvhvbQ4O9MLoOUrfS613osoAzaqav0OGSUHzSsvkX7aOMfAt1
-TJj1iM/I41Le14LBovqvtfG1ltDDybTmu30gAHTD6e726IS+2qlTf0QhxpHGP5RS
-pxAI8AZsv4HROQIiO9l1TT+8NnatXFS2v33sUwaFtU79eQ46nGxIKGdPNhJJUc8D
-tTT5IO6pAoGBAP7jaJZG+YP1tvqAkPuCxQ+T3nLX7V8hE7aZg/LZCVy1pgCavTNp
-jbg2gGsAw69D5J3309kQLPYd9i6N8D5WO/9vQ3yjOQlNrgJVvTw/0RMbZLeX6iQQ
-bpGniqeqqF+NZgJ5kMHbJJbWUMvnY9cEh/zTG+78jzGfpDUfGnsahaxTAoGBAN/t
-2WxawvbFh7u4Hnfcn3y378WdYsWogeF05GjPoCd9+V+78X4HWvkaVvhEQFkjAP5v
-2OblNN7U7YwL33JwtvbdiaLtorvXiXvSbj6yhMWItb2bqfEOh6IFWuMU5UzDaxym
-UaWcEg/n+hvq+W888zTDziJvoiLKH7+lfncRdHdFAoGAE0FsykWMXgq3Cw+hZE7J
-wlaCbJyhYxllmtrYHAWHboiOhOcrufGUckEzzGGfZuMzJzfsui49p042Jeg1KRBs
-sexe5dCS44AJ0EVX6XBMxCvCnRgN6TGQmNJWaDo9RBKzjSZP6EU862Q/cFgHs9u0
-xkXQi2prCu2rgxPZdUlYpd8CgYBfV+Y7PGnGqFQimUJfxpAhii+M9HYZsqWaWSrn
-dX+7UOfc2yj3gCo75fshue2sBjtmGjlAFldsiTybZHK/Rz6f3bO8q3GeiScAkZhf
-GaNud8bp9F1nRch6M81+4ma/SHVSvX4GBW2rWBolyOZrdogW70fVYbKnHWhnMQ+n
-osb0AQKBgQDh7ltYaoCRxAAcWPSQvzgdHOdAfEmhXTuWVQC7HzUTOO1vWgnF7SQj
-olwZnFoETACvW4DRP5zhDmqFWgmqdvhEw36aBHMlJlumpWCO9WE248ljpXUcE5p0
-HE+8/JeffV2tY0KTlT4Hh3kmr2IpSKTMQjBfBZG1xUxlVz/2ZlVspQ==
------END RSA PRIVATE KEY-----
-EOF
-
-chmod 600 ~/.ssh/id_rsa
-chown -R $(whoami):$(whoami) .ssh
-
-# network coufiguration
-echo "===== network coufiguration ====="
-echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
-ifconfig $INTERFACE up
-ifconfig $INTERFACE mtu 1500
-dhclient $INTERFACE
-echo "+ +" > ~/.rhosts
-echo "$SERVER_IP $SERVER_NAME" >> /etc/hosts
-echo $(ifconfig $INTERFACE | grep 'inet addr' | awk -F: '{print $2}' |awk '{print $1 " client.ltp"}') >> /etc/hosts
-echo "client.ltp" > /etc/hostname
-hostname client.ltp
-
-# check network status
-ifconfig -a > ~/ifconfig.log
-cat ~/ifconfig.log
-ping -c 5 server.ltp > ~/ping.log
-cat ~/ping.log
-grep "100% packet loss" ~/ping.log && (echo "No network connection!!" ; exit 1)
-
-# temporary modify server hostname
-SERVER_ORI_NAME=$(rsh -n -l root $SERVER_IP hostname)
-rsh -n -l root $SERVER_IP hostname $SERVER_NAME
-
-echo "===== ltp network test start ====="
-cd $LTP_DIR
-
-# form networktests.sh
-RHOST=$SERVER_NAME
-export RHOST
-PASSWD=$SERVER_PASSWD
-export PASSWD
-
-# for nfs test
-echo "/ *(rw,sync,no_root_squash,no_subtree_check)" > /etc/exports
-sed -i -e "s/$RPCMOUNTDOPTS --no-nfs-version 3/$RPCMOUNTDOPTS/g" /etc/init.d/nfs-kernel-server
-service nfs-kernel-server restart
-
-# for sctp test
-modprobe sctp
-
-# for tcp test
-service xinetd restart
-#service udhcpd restart # this test need to start a dhcp server
-
-# run test
-./runltp -q -p -f multicast,nfs,rpc,sctp,ipv6_lib,tcp_cmds,tcp_cmds_addition -S $START_DIR/$DIS/scripts/ltp-network-skiplist
-ifconfig $INTERFACE mtu 1500 # ip test will modify mtu to 300
-
-# print test result
-find ./results -name "LTP_RUN_ON*" -print0 |xargs -0 cat
-
-# recover server hostname
-rsh -n -l root $SERVER_IP hostname $SERVER_ORI_NAME
-echo "===== ltp network test end ====="
diff --git a/ubuntu/scripts/multiple-network-interfaces-test.sh b/ubuntu/scripts/multiple-network-interfaces-test.sh
deleted file mode 100755
index 66d75236..00000000
--- a/ubuntu/scripts/multiple-network-interfaces-test.sh
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-#
-# Multiple network interfaces test for ubuntu
-#
-# Copyright (C) 2013, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Chase Qi <chase.qi@linaro.org>
-
-# Print network gateway
-GATEWAY=$1
-echo "GATEWAY: $GATEWAY"
-
-# Print all network interfaces
-ifconfig -a
-
-# Pass rp_filter=0 to kernel to address ARP flux
-echo "Pass rp_filter=0 to kernel to address ARP flux"
-for i in all default; do
- echo 0 > /proc/sys/net/ipv4/conf/$i/rp_filter
- sysctl -a |grep $i.rp_filter
-done
-if [ $? -eq 0 ]; then
- lava-test-case address-arp-flux --result pass
-else
- lava-test-case address-arp-flux --result fail
- exit 1
-fi
-
-# Set dhclient timeout to 2 minutes.
-cp /etc/dhcp/dhclient.conf /etc/dhcp/dhclient.conf.original
-echo "timeout 120;" >> /etc/dhcp/dhclient.conf
-
-for INTERFACE in `ifconfig -a |grep eth |awk '{print $1}'`; do
- # Check IP address on each interface. If IP is empty, use dhclient request
- # IP from dhcp server, then check if IP address is empty again.
- IP=$(ifconfig $INTERFACE | grep "inet addr" | awk '{print substr($2,6)}')
- if [ -z $IP ]; then
- dhclient $INTERFACE
- if [ $? -eq 0 ]; then
- IP=$(ifconfig $INTERFACE | grep "inet addr" \
- | awk '{print substr($2,6)}')
- if [ -z $IP ]; then
- lava-test-case $INTERFACE-obtain-ip-address --result fail
- lava-test-case $INTERFACE-ping-test --result skip
- continue
- else
- echo "$INTERFACE IP address: $IP"
- lava-test-case $INTERFACE-obtain-ip-address --result pass
- fi
- else
- lava-test-case $INTERFACE-obtain-ip-address --result fail
- lava-test-case $INTERFACE-ping-test --result skip
- continue
- fi
- else
- echo "$INTERFACE IP address: $IP"
- lava-test-case $INTERFACE-obtain-ip-address --result pass
- fi
-
- # Run ping test on the specific interface
- ping -c 5 -I $INTERFACE $GATEWAY
- if [ $? -eq 0 ]; then
- lava-test-case $INTERFACE-ping-test --result pass
- else
- lava-test-case $INTERFACE-ping-test --result fail
- fi
-done
-
-# Restore dhclient setting.
-mv /etc/dhcp/dhclient.conf.original /etc/dhcp/dhclient.conf
diff --git a/ubuntu/scripts/openssl-bsaes.sh b/ubuntu/scripts/openssl-bsaes.sh
deleted file mode 100755
index a735dcd0..00000000
--- a/ubuntu/scripts/openssl-bsaes.sh
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-#
-# openssl-bsaes.sh - test the NEON bit sliced AES implementation in various sizes and modes
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Ard Biesheuvel <ard.biesheuvel@linaro.org> 2013-07-09
-
-set -u
-
-BITS=$1
-MODE=$2
-
-exec 2> /dev/null
-
-KEY=$(dd if=/dev/urandom bs=32 count=1 | hexdump -ve '/1 "%02x"')
-ALG=aes-$BITS-$MODE
-NAME=neon-$ALG
-
-# ctr mode is essentially a stream cipher, so instead of using it for both
-# encrypt and decrypt (which both call encrypt() under the hood), disable NEON
-# for the decrypt case by setting OPENSSL_armcap to zero in the environment
-if [ "$MODE" = "ctr" ]
-then
- ARMCAP="env OPENSSL_armcap=0"
-fi
-
-TMP=/tmp/bsaestest-$$.md5sum
-
-export KEY
-export ARMCAP
-
-for i in $(seq 100)
-do
- TMPFIFO=mktemp
- mkfifo $TMPFIFO
- touch $TMP
- md5sum $TMPFIFO | awk '{ print $1 }' > $TMP &
- OUT=$(dd if=/dev/urandom bs=65 count=$i |
- tee $TMPFIFO |
- openssl enc -$ALG -pass env:KEY |
- ${ARMCAP:-} openssl enc -d -$ALG -pass env:KEY |
- md5sum | awk '{ print $1 }' )
- while [ "x$OUT" = "x" ] || [ "x$(cat $TMP)" = "x" ]
- do
- :
- done
- rm $TMPFIFO
- if [ "$OUT" != "$(cat $TMP)" ]
- then
- echo ${NAME}: fail
- rm -f $TMP
- exit 1
- fi
-done
-
-rm -f $TMP
-echo ${NAME}: pass
diff --git a/ubuntu/scripts/openssl.sh b/ubuntu/scripts/openssl.sh
deleted file mode 100755
index 213ec943..00000000
--- a/ubuntu/scripts/openssl.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-#
-# Openssl test.
-#
-# Copyright (C) 2012, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Amit Khare <amit.khare@linaro.org>
-#
-
-test_func(){
- test_cmd=$1
- openssl speed $test_cmd 2>&1|grep "Doing $test_cmd"> openssl-result.txt
- awk '{printf "%s-%s: %d blocks/sec pass\n" , $2, $6, $9/3}' openssl-result.txt
-}
-test_func md5
-test_func sha1
-test_func sha256
-test_func sha512
diff --git a/ubuntu/scripts/phoronix.py b/ubuntu/scripts/phoronix.py
deleted file mode 100755
index 3b7c174c..00000000
--- a/ubuntu/scripts/phoronix.py
+++ /dev/null
@@ -1,127 +0,0 @@
-#!/usr/bin/env python
-#
-# Phoronix test for Linux Linaro ubuntu
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Botao Sun <botao.sun@linaro.org>
-
-import os
-import pexpect
-import sys
-from subprocess import call, check_output
-
-# Switch to home path of current user
-home_path = os.path.expanduser("~")
-os.chdir(home_path)
-print os.getcwd()
-
-# Result collection for LAVA
-debug_switcher = False
-
-
-def collect_result(testcase, result):
- if debug_switcher is False:
- call(['lava-test-case', testcase, '--result', result])
- else:
- print ['lava-test-case', testcase, '--result', result]
-
-
-def collect_score_with_measurement(testcase, result, score, unit):
- if debug_switcher is False:
- call(['lava-test-case', testcase, '--result', result, '--measurement', str(score), '--units', unit])
- else:
- print ['lava-test-case', testcase, '--result', result, '--measurement', str(score), '--units', unit]
-
-
-# Installation check
-def phoronix_install_check():
- testcase = 'phoronix-install'
- call_return = call(['which', 'phoronix-test-suite'])
- if call_return != 0:
- result = 'fail'
- print 'Fatal error! Can not find phoronix command!'
- collect_result(testcase, result)
- sys.exit(1)
- else:
- result = 'pass'
- collect_result(testcase, result)
-
-phoronix_install_check()
-
-# Walk through the user agreement - one shot
-phoronix_home = home_path + '/.phoronix-test-suite'
-if os.path.isdir(phoronix_home) != True:
- user_agreement = pexpect.spawn('phoronix-test-suite version')
- user_agreement.logfile = open(home_path + '/phoronix-user-agreement-log.txt', 'w')
- user_agreement.expect('.+Do you agree to these terms and wish to proceed.+: ')
- user_agreement.sendline('Y')
- user_agreement.expect('.+Enable anonymous usage / statistics reporting.+: ')
- user_agreement.sendline('n')
- user_agreement.expect('.+Enable anonymous statistical reporting of installed software / hardware.+: ')
- user_agreement.sendline('n')
-else:
- pass
-
-# Set batch mode to automate run the test
-batchmode_setup = pexpect.spawn('phoronix-test-suite batch-setup')
-batchmode_setup.logfile = open(home_path + '/phoronix-batch-mode-setup-log.txt', 'w')
-batchmode_setup.expect('.+Save test results when in batch mode.+: ')
-batchmode_setup.sendline('Y')
-batchmode_setup.expect('.+Open the web browser automatically when in batch mode.+: ')
-batchmode_setup.sendline('N')
-batchmode_setup.expect('.+Auto upload the results to OpenBenchmarking.+: ')
-batchmode_setup.sendline('n')
-batchmode_setup.expect('.+Prompt for test identifier.+: ')
-batchmode_setup.sendline('n')
-batchmode_setup.expect('.+Prompt for test description.+: ')
-batchmode_setup.sendline('n')
-batchmode_setup.expect('.+Prompt for saved results file-name.+: ')
-batchmode_setup.sendline('Y')
-batchmode_setup.expect('.+Run all test options.+: ')
-batchmode_setup.sendline('Y')
-
-# Print configuration file to stdout
-call(['cat', home_path + '/.phoronix-test-suite/user-config.xml'])
-
-# Get all Ethernet interface name
-# As the input is trusted, then call the function in this way
-eth_interface_list = check_output("ifconfig -a | grep eth | awk '{print $1}'", shell=True).split('\n')
-eth_interface_list = filter(None, eth_interface_list)
-print eth_interface_list
-
-# Define test list
-test_list = ['system-decompress-xz', 'stream']
-
-# Run all the test
-for i in range(0, len(test_list)):
- test_install = call(['phoronix-test-suite', 'batch-install', test_list[i]])
- if test_install != 0:
- print 'Fatal error! Failed to install ' + test_list[i] + '! Abort!'
- collect_result(test_list[i], 'skip')
- else:
- test_run = pexpect.spawn('phoronix-test-suite batch-run ' + test_list[i], timeout=None)
- test_run.expect('.+Enter a name to save these results under: ')
- test_run.sendline(test_list[i] + '-linaro')
- if test_run.isalive() == True:
- test_run.wait()
- test_result_file = home_path + '/.phoronix-test-suite/test-results/' + test_list[i] + '-linaro/' + 'test-1.xml'
- call(['cat', test_result_file])
- collect_result(test_list[i], 'pass')
- else:
- print 'Test process has died!'
- collect_result(test_list[i], 'fail')
diff --git a/ubuntu/scripts/pi-stress-test.py b/ubuntu/scripts/pi-stress-test.py
deleted file mode 100755
index dc2fdb78..00000000
--- a/ubuntu/scripts/pi-stress-test.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env python
-#
-# PI stress test case for Linux Linaro ubuntu
-#
-# Copyright (C) 2012 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Chase Qi <chase.qi@linaro.org>
-#
-
-import sys
-import signal
-from subprocess import call
-
-DURATION = sys.argv[1]
-GROUP = sys.argv[2]
-MLOCKALL = sys.argv[3]
-RR = sys.argv[4]
-
-# Determine PI stress test options
-pi_stress_command = ['pi_stress', '--duration', DURATION]
-if GROUP != 'default':
- pi_stress_command.append('--groups')
- pi_stress_command.append(GROUP)
-if MLOCKALL == 'true':
- pi_stress_command.append('--mlockall')
-if RR != 'false':
- pi_stress_command.append('--rr')
-
-# Trap and ignore SIGTERM if terminate signal appeared
-signal.signal(signal.SIGTERM, signal.SIG_IGN)
-
-# Run PI stress test
-print 'pi_stress_command is:'
-print ' '.join(pi_stress_command)
-if call(pi_stress_command) == 0:
- call(['lava-test-case', 'pi-stress-test', '--result', 'pass'])
-else:
- call(['lava-test-case', 'pi-stress-test', '--result', 'fail'])
diff --git a/ubuntu/scripts/qemu-edk2-boot.expect b/ubuntu/scripts/qemu-edk2-boot.expect
deleted file mode 100755
index 62300b0c..00000000
--- a/ubuntu/scripts/qemu-edk2-boot.expect
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/expect --
-#
-# Run qemu-system and check we can boot and shutdown
-#
-
-if {[llength $argv] == 0} {
- send_user "Usage: boot.expect <qemu invocation>\n"
- exit 1
-}
-
-set timeout 180
-spawn {*}$argv
-expect {
- "buildroot login: " { send -- "root\r" }
- timeout { send "# boot failed"; exit 1 }
-}
-
-
-expect "# "
-send -- "uname -a\r"
-expect "# "
-set timeout 10
-send -- "halt -d 5\r"
-expect {
- "reboot: System halted" { send -- "c"; expect "(qemu) "; send -- "quit\r" }
- timeout { send "# shutdown failed"; exit 2 }
-}
-expect eof
-exit 0
diff --git a/ubuntu/scripts/qemu-edk2-boot.sh b/ubuntu/scripts/qemu-edk2-boot.sh
deleted file mode 100755
index 5a226d01..00000000
--- a/ubuntu/scripts/qemu-edk2-boot.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-#
-# A simple wrapper to run a expect based system test
-#
-# This expects the follow environment variables to be set:
-# QEMU_BIN - path to binary
-# QEMU_ARGS - arguments to run
-#
-
-
-pushd `dirname $0` > /dev/null
-BASE=`pwd -P`
-popd > /dev/null
-
-lava-test-case qemu-edk2-boot-${TEST_NAME} --shell ${BASE}/qemu-edk2-boot.expect ${QEMU_BIN} ${QEMU_ARGS}
-
diff --git a/ubuntu/scripts/rcutorture.py b/ubuntu/scripts/rcutorture.py
deleted file mode 100755
index 6feb6012..00000000
--- a/ubuntu/scripts/rcutorture.py
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/usr/bin/env python
-#
-# RCU Torture test for Linux Kernel.
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Botao Sun <botao.sun@linaro.org>
-
-import os
-import sys
-import time
-import shlex
-import subprocess
-
-# Result collection for LAVA
-debug_switcher = False
-
-
-def collect_result(testcase, result):
- if debug_switcher is False:
- subprocess.call(['lava-test-case', testcase, '--result', result])
- else:
- print ['lava-test-case', testcase, '--result', result]
-
-# Switch to home path of current user
-home_path = os.path.expanduser("~")
-os.chdir(home_path)
-print os.getcwd()
-
-# RCU Torture start check
-rcutorture_start = 'modprobe rcutorture'
-rcutorture_time = sys.argv[1]
-start_return = subprocess.call(shlex.split(rcutorture_start))
-if start_return != 0:
- collect_result('rcutorture-start', 'fail')
- collect_result('rcutorture-module-check', 'skip')
- collect_result('rcutorture-end', 'skip')
- sys.exit(1)
-else:
- print('RCU Torture test started. Test time is %s seconds'
- % (rcutorture_time))
- collect_result('rcutorture-start', 'pass')
- time.sleep(int(rcutorture_time))
-
-# RCU Torture module check
-lsmod_output = subprocess.check_output(['lsmod'])
-print lsmod_output
-lsmod_list = lsmod_output.split()
-torture_list = filter(lambda x: x.find('torture') != -1, lsmod_list)
-if len(torture_list) == 0:
- print 'Cannot find rcutorture module in lsmod, abort!'
- collect_result('rcutorture-module-check', 'fail')
- collect_result('rcutorture-end', 'skip')
- sys.exit(1)
-else:
- collect_result('rcutorture-module-check', 'pass')
-
-# RCU Torture result check
-end_keyword = 'rcu-torture:--- End of test'
-rcutorture_end = 'modprobe -r rcutorture'
-end_return = subprocess.call(shlex.split(rcutorture_end))
-if end_return != 0:
- print 'RCU Torture terminate command ran failed.'
- collect_result('rcutorture-end', 'fail')
- sys.exit(1)
-else:
- keyword_counter = 0
- output = subprocess.check_output(['dmesg'])
- output_list = output.split('\n')
- for item in output_list:
- if end_keyword in item:
- keyword_counter = keyword_counter + 1
- print 'RCU Torture test has finished.'
- if 'SUCCESS' in item:
- collect_result('rcutorture-end', 'pass')
- sys.exit(0)
- else:
- print 'RCU Torture finished with issues.'
- collect_result('rcutorture-end', 'fail')
- sys.exit(1)
-
- if keyword_counter == 0:
- print 'Cannot find the ending of this RCU Torture test.'
- collect_result('rcutorture-end', 'fail')
diff --git a/ubuntu/scripts/rt-migrate-test-parser.sh b/ubuntu/scripts/rt-migrate-test-parser.sh
deleted file mode 100755
index e3c5e336..00000000
--- a/ubuntu/scripts/rt-migrate-test-parser.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-LOG=$1
-
-sed -n -e "/^ Task 0/,$ p" ${LOG} > tmp.log
-sed -i -e "s/ (.*//" -e "s/^\s*//" tmp.log
-
-while read l;
-do
- [ -n "`echo $l | grep '^Task'`" ] && T="$l" && continue
- [ -n "$l" ] && echo "$T $l pass"
-done < tmp.log
diff --git a/ubuntu/scripts/sata-partition-rw.py b/ubuntu/scripts/sata-partition-rw.py
deleted file mode 100755
index 64ae6b7d..00000000
--- a/ubuntu/scripts/sata-partition-rw.py
+++ /dev/null
@@ -1,431 +0,0 @@
-#!/usr/bin/env python
-#
-# SATA Partition, Read and Write test cases for Linux Linaro ubuntu
-#
-# Copyright (C) 2012 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Botao Sun <botao.sun@linaro.org>
-#
-
-import sys
-import os
-import stat
-import time
-import commands
-
-# Switch to home path of current user to avoid any permission issue
-home_path = os.environ['HOME']
-os.chdir(home_path)
-print os.getcwd()
-
-# List all test cases
-test_case_list = ["sata_device_existence", "sata_mklabel_msdos", "sata_mklabel_gpt", "sata_first_ext2_partition", "sata_second_ext2_partition", "sata_ext3_format", "sata_ext4_format", "sata_ext4_mount", "sata_ext4_umount", "sata_ext4_file_fill", "sata_ext4_file_edit", "sata_ext4_dd_write", "sata_ext4_dd_read"]
-print "There are " + str(len(test_case_list)) + " test cases in this test suite."
-
-
-# All skipped - If test case sata_device_existence failed, then skip all the rest.
-def all_skipped():
- for element in test_case_list[1:]:
- print element + ": SKIP" + " 0" + " Inapplicable"
-
-# Save partition layout to a local file for reference
-commands.getstatusoutput("fdisk -l > partition_layout.txt 2>&1")
-device_name = sys.argv[1]
-
-
-def sata_device_existence():
- testcase_name = "sata_device_existence"
- if device_name == "":
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Device name is empty"
- all_skipped()
- sys.exit(1)
- else:
- logfile = open("partition_layout.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- for i in range(0, len(logcontent)):
- print logcontent[i].strip("\n")
- if device_name in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
- if positive_counter > 0:
- print testcase_name + ": PASS" + " 0" + " Inapplicable"
- else:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Could not locate " + device_name + " on target board"
- all_skipped()
- sys.exit(1)
-
-
-def sata_mklabel_msdos():
- testcase_name = "sata_mklabel_msdos"
- label_name = "msdos"
- run_command = "parted -s " + device_name + " mklabel " + label_name
- print run_command
-
- mklabel_return = commands.getstatusoutput(run_command)
- if mklabel_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable"
- else:
- commands.getstatusoutput("parted -s " + device_name + " print > partition_table_msdos.txt 2>&1")
- logfile = open("partition_table_msdos.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- for i in range(0, len(logcontent)):
- print logcontent[i].strip("\n")
- if label_name in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
-
- if positive_counter > 0:
- print testcase_name + ": PASS" + " 0" + " Inapplicable"
- else:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Could not find partition table " + label_name + " on " + device_name
-
-
-def sata_mklabel_gpt():
- testcase_name = "sata_mklabel_gpt"
- label_name = "gpt"
- run_command = "parted -s " + device_name + " mklabel " + label_name
- print run_command
-
- mklabel_return = commands.getstatusoutput(run_command)
- if mklabel_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable"
- else:
- commands.getstatusoutput("parted -s " + device_name + " print > partition_table_gpt.txt 2>&1")
- logfile = open("partition_table_gpt.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- for i in range(0, len(logcontent)):
- print logcontent[i].strip("\n")
- if label_name in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
-
- if positive_counter > 0:
- print testcase_name + ": PASS" + " 0" + " Inapplicable"
- else:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Could not find partition table " + label_name + " on " + device_name
-
-
-def sata_first_ext2_partition():
- testcase_name = "sata_first_ext2_partition"
- label_name = "msdos"
- partition_table_creation = "parted -s " + device_name + " mklabel " + label_name
- first_partition_creation = "parted -s " + device_name + " mkpart primary ext2 0 10%"
- print partition_table_creation
- print first_partition_creation
-
- partition_table_return = commands.getstatusoutput(partition_table_creation)
- if partition_table_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " Failures on " + partition_table_creation
- else:
- first_partition_return = commands.getstatusoutput(first_partition_creation)
- if first_partition_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " Failures on " + first_partition_creation
- else:
- commands.getstatusoutput("fdisk -l " + device_name + " > ext2_msdos_first.txt 2>&1")
- logfile = open("ext2_msdos_first.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- partition_name_first = device_name + "1"
- for i in range(0, len(logcontent)):
- print logcontent[i].strip("\n")
- if partition_name_first in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
-
- if positive_counter > 0:
- print testcase_name + ": PASS" + " 0" + " Inapplicable"
- else:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Could not find partition " + partition_name_first + " on " + device_name
-
-
-def sata_second_ext2_partition():
- testcase_name = "sata_second_ext2_partition"
- second_partition_creation = "parted -s " + device_name + " mkpart primary ext2 11% 20%"
- print second_partition_creation
-
- second_partition_return = commands.getstatusoutput(second_partition_creation)
- if second_partition_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " Failures on " + second_partition_creation
- else:
- commands.getstatusoutput("fdisk -l " + device_name + " > ext2_msdos_second.txt 2>&1")
- logfile = open("ext2_msdos_second.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- partition_name_second = device_name + "2"
- for i in range(0, len(logcontent)):
- print logcontent[i].strip("\n")
- if partition_name_second in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
-
- if positive_counter > 0:
- print testcase_name + ": PASS" + " 0" + " Inapplicable"
- else:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Could not find partition " + partition_name_second + " on " + device_name
-
-
-def sata_ext3_format():
- testcase_name = "sata_ext3_format"
- target_partition_name = device_name + "1"
- ext3_format = "mkfs.ext3 " + target_partition_name
- print ext3_format
-
- ext3_format_return = commands.getstatusoutput(ext3_format)
- if ext3_format_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " Failures on ext3 format command"
- else:
- commands.getstatusoutput("parted -s " + device_name + " print > ext3_format_first.txt 2>&1")
- logfile = open("ext3_format_first.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- for i in range(0, len(logcontent)):
- print logcontent[i].strip("\n")
- if "ext3" in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
-
- if positive_counter > 0:
- print testcase_name + ": PASS" + " 0" + " Inapplicable"
- else:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Could not find ext3 partition on " + device_name
-
-
-def sata_ext4_format():
- testcase_name = "sata_ext4_format"
- target_partition_name = device_name + "2"
- ext4_format = "mkfs.ext4 " + target_partition_name
- print ext4_format
-
- ext4_format_return = commands.getstatusoutput(ext4_format)
- if ext4_format_return[0] != 0:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " Failures on ext4 format command"
- else:
- commands.getstatusoutput("parted -s " + device_name + " print > ext4_format_second.txt 2>&1")
- logfile = open("ext4_format_second.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- for i in range(0, len(logcontent)):
- print logcontent[i].strip("\n")
- if "ext4" in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
-
- if positive_counter > 0:
- print testcase_name + ": PASS" + " 0" + " Inapplicable"
- else:
- print testcase_name + ": FAIL" + " 0" + " Inapplicable" + " - Could not find ext4 partition on " + device_name
-
-
-def sata_ext4_mount_umount():
- testcase_mount = "sata_ext4_mount"
- testcase_umount = "sata_ext4_umount"
- target_partition_name = device_name + "2"
- mount_point = "/media"
- ext4_mount = "mount " + target_partition_name + " " + mount_point
- ext4_umount = "umount " + mount_point
-
- # umount everything from mount point - cleaning
- umount_clean = "umount " + mount_point
- commands.getstatusoutput(umount_clean)
- time.sleep(5)
- print "mount point cleaned!"
-
- # Test mount command
- ext4_mount_return = commands.getstatusoutput(ext4_mount)
- time.sleep(5)
- if ext4_mount_return[0] != 0:
- print testcase_mount + ": FAIL" + " 0" + " Inapplicable" + " Failures on ext4 partition mount!"
- else:
- commands.getstatusoutput("mount > mount_log.txt 2>&1")
- logfile = open("mount_log.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- for i in range(0, len(logcontent)):
- if target_partition_name in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
- if positive_counter > 0:
- print testcase_mount + ": PASS" + " 0" + " Inapplicable"
- else:
- print testcase_mount + ": FAIL" + " 0" + " Inapplicable" + " - Could not find ext4 partition in mount log!"
-
- # Test umount command
- ext4_umount_return = commands.getstatusoutput(ext4_umount)
- time.sleep(5)
- if ext4_umount_return[0] != 0:
- print testcase_umount + ": FAIL" + " 0" + " Inapplicable" + " Failures on ext4 partition umount!"
- else:
- commands.getstatusoutput("mount > umount_log.txt 2>&1")
- logfile = open("umount_log.txt", "r")
- logcontent = logfile.readlines()
- positive_counter = 0
- for i in range(0, len(logcontent)):
- if target_partition_name in logcontent[i]:
- positive_counter = positive_counter + 1
- logfile.close()
- if positive_counter > 0:
- print testcase_umount + ": FAIL" + " 0" + " Inapplicable" + " - ext4 partition umount failed from " + mount_point
- else:
- print testcase_umount + ": PASS" + " 0" + " Inapplicable"
-
-
-def sata_ext4_file_fill_edit():
- testcase_filefill = "sata_ext4_file_fill"
- testcase_fileedit = "sata_ext4_file_edit"
- target_partition_name = device_name + "2"
- mount_point = "/media"
- ext4_mount = "mount " + target_partition_name + " " + mount_point
- ext4_umount = "umount " + mount_point
-
- # umount everything from mount point - cleaning
- umount_clean = "umount " + mount_point
- commands.getstatusoutput(umount_clean)
- time.sleep(5)
- print "mount point cleaned!"
- commands.getstatusoutput(ext4_mount)
- time.sleep(5)
-
- # Create a 1MB file with 0x00 filled in
- file_creation_1M = "dd if=/dev/zero of=/media/file_1MB bs=4k count=256"
- file_creation_1M_return = commands.getstatusoutput(file_creation_1M)
- if file_creation_1M_return[0] != 0:
- print testcase_filefill + ": FAIL" + " 0" + " Inapplicable" + " failed to create a 1MB file filled with 0x00!"
- elif os.path.isfile("/media/file_1MB") == False:
- print testcase_filefill + ": FAIL" + " 0" + " Inapplicable" + " file_1MB can not be found!"
- elif os.path.getsize("/media/file_1MB") != 1048576:
- print testcase_filefill + ": FAIL" + " 0" + " Inapplicable" + " file_1MB size incorrect!"
- else:
- print testcase_filefill + ": PASS" + " 0" + " Inapplicable"
-
- # Create an empty file then write something into it
- testfile_name = "/media/test_file.txt"
- if os.path.isfile(testfile_name) == True:
- os.unlink(testfile_name)
- file_creation_empty = "touch " + testfile_name
- file_creation_empty_return = commands.getstatusoutput(file_creation_empty)
- if file_creation_empty_return[0] != 0:
- print testcase_fileedit + ": FAIL" + " 0" + " Inapplicable" + " failed to create an empty file!"
- elif os.path.isfile(testfile_name) == False:
- print testcase_fileedit + ": FAIL" + " 0" + " Inapplicable" + " " + testfile_name + " can not be found!"
- else:
- os.chmod(testfile_name, stat.S_IRWXU)
- test_string = "This is a test file"
- testfile = open(testfile_name, "a")
- testfile.write(test_string)
- testfile.close()
- # Validating
- testfile = open(testfile_name, "r")
- return_string = testfile.read()
- if return_string != test_string:
- print testcase_fileedit + ": FAIL" + " 0" + " Inapplicable" + " file content doesn't match!"
- else:
- print testcase_fileedit + ": PASS" + " 0" + " Inapplicable"
- testfile.close()
-
- # umount everything from mount point - cleaning
- umount_clean = "umount " + mount_point
- commands.getstatusoutput(umount_clean)
- time.sleep(5)
- print "mount point cleaned!"
-
-
-def sata_ext4_dd_write_read():
- testcase_dd_write = "sata_ext4_dd_write"
- testcase_dd_read = "sata_ext4_dd_read"
- target_partition_name = device_name + "2"
- mount_point = "/media"
- ext4_mount = "mount " + target_partition_name + " " + mount_point
- ext4_umount = "umount " + mount_point
-
- # umount everything from mount point - cleaning
- umount_clean = "umount " + mount_point
- commands.getstatusoutput(umount_clean)
- time.sleep(5)
- print "mount point cleaned!"
- commands.getstatusoutput(ext4_mount)
- time.sleep(5)
-
- # Test write speed by using dd, direct write
- dd_write_1G = "dd if=/dev/zero of=/media/file_1GB oflag=direct bs=4k count=262144 > dd_write_1GB_stdout.txt 2>&1"
- dd_write_1G_return = commands.getstatusoutput(dd_write_1G)
- if dd_write_1G_return[0] != 0:
- print testcase_dd_write + ": FAIL" + " 0" + " Inapplicable" + " failed to create a 1GB file using dd!"
- elif os.path.isfile("/media/file_1GB") == False:
- print testcase_dd_write + ": FAIL" + " 0" + " Inapplicable" + " file_1GB can not be found!"
- elif os.path.getsize("/media/file_1GB") != 1073741824:
- print testcase_dd_write + ": FAIL" + " 0" + " Inapplicable" + " file_1GB size incorrect!"
- else:
- target_list = []
- writelog = open("dd_write_1GB_stdout.txt", "r")
- writelog_content = writelog.readlines()
- for item in writelog_content:
- if str(1073741824) in item:
- target_list = item.split(",")[-1].strip("\n").split(" ")
- break
- if target_list == []:
- print testcase_dd_write + ": FAIL" + " 0" + " Inapplicable" + " can not find write performance result."
- elif len(target_list) < 2:
- print testcase_dd_write + ": FAIL" + " 0" + " Inapplicable" + " write test result parsing failed, please check the log output!"
- else:
- print testcase_dd_write + ": PASS" + " " + str(target_list[-2]) + " " + target_list[-1]
- writelog.close()
-
- # Test read speed by using dd, direct read
- if os.path.isfile("/media/file_1GB") == False:
- print testcase_dd_read + ": FAIL" + " 0" + " Inapplicable" + " can not find the target file to read."
- else:
- dd_read_1G = "dd if=/media/file_1GB iflag=direct of=/dev/null bs=4k count=262144 > dd_read_1GB_stdout.txt 2>&1"
- dd_read_1G_return = commands.getstatusoutput(dd_read_1G)
- if dd_read_1G_return[0] != 0:
- print testcase_dd_read + ": FAIL" + " 0" + " Inapplicable" + " failed to read the target file!"
- else:
- target_list = []
- readlog = open("dd_read_1GB_stdout.txt", "r")
- readlog_content = readlog.readlines()
- for item in readlog_content:
- if str(1073741824) in item:
- target_list = item.split(",")[-1].strip("\n").split(" ")
- break
- if target_list == []:
- print testcase_dd_read + ": FAIL" + " 0" + " Inapplicable" + " can not find read performance result."
- elif len(target_list) < 2:
- print testcase_dd_read + ": FAIL" + " 0" + " Inapplicable" + " read test result parsing failed, please check the log output!"
- else:
- print testcase_dd_read + ": PASS" + " " + str(target_list[-2]) + " " + target_list[-1]
- readlog.close()
-
- # umount and clean
- os.unlink("/media/file_1GB")
- umount_clean = "umount " + mount_point
- commands.getstatusoutput(umount_clean)
- time.sleep(5)
- print "mount point cleaned!"
-
-# Run all test
-sata_device_existence()
-sata_mklabel_msdos()
-sata_mklabel_gpt()
-sata_first_ext2_partition()
-sata_second_ext2_partition()
-sata_ext3_format()
-sata_ext4_format()
-sata_ext4_mount_umount()
-sata_ext4_file_fill_edit()
-sata_ext4_dd_write_read()
diff --git a/ubuntu/scripts/sd-mmc-ubuntu.sh b/ubuntu/scripts/sd-mmc-ubuntu.sh
deleted file mode 100755
index 73f28cfc..00000000
--- a/ubuntu/scripts/sd-mmc-ubuntu.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-#
-# SD MMC test for ubuntu
-#
-# Copyright (C) 2010 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Botao Sun <botao.sun@linaro.org>
-
-. include/sh-test-lib
-
-keyword="I/O error"
-
-## Test case definitions
-# Check the existence of SD card in system
-test_sd_existence() {
- TEST="sd_existence"
-
- dmesg | grep "SD"
- if [ $? -ne 0 ]; then
- fail_test "SD card doesn't exist in system"
- return 1
- fi
-
- pass_test
-}
-
-# Check whether I/O errors show up in dmesg output
-test_sd_mmc_IO_errors() {
- TEST="sd_mmc_IO_errors"
-
- dmesg | grep "$keyword"
- if [ $? -eq 0 ]; then
- fail_test "I/O error found, SD MMC test failed"
- return 1
- fi
-
- pass_test
-}
-
-# run the tests
-test_sd_existence
-test_sd_mmc_IO_errors
-
-# clean exit so lava-test can trust the results
-exit 0
diff --git a/ubuntu/scripts/sendme-parser.sh b/ubuntu/scripts/sendme-parser.sh
deleted file mode 100755
index 1d98a0e3..00000000
--- a/ubuntu/scripts/sendme-parser.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-log=$1
-tail -n 2 ${log} | while read l;
-do
- TC="`echo ${l} | awk -F: '{print $1}'`"
- R="`echo ${l} | awk -F: '{print $2}'`"
- IFS=','
- for c in ${R}
- do
- c=`echo $c|sed "s/^[ ]*//"`
- t="`echo $c|awk '{print $1}'`"
- v="`echo $c|awk '{print $2}'`"
- echo "${TC}_${t}: ${v} usec pass"
- done
- unset IFS
-done
-
diff --git a/ubuntu/scripts/signaltest-parser.sh b/ubuntu/scripts/signaltest-parser.sh
deleted file mode 100755
index 38ab757b..00000000
--- a/ubuntu/scripts/signaltest-parser.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-LOG=$1
-tail -n3 ${LOG} > tmp.log
-mv tmp.log ${LOG}
-sed -i "s/\x1b\[[0-9]A//" ${LOG} # Remove control code
-S=`tail -n1 ${LOG} | sed -e "s/.*Min/Min/" -e "s/\([0-9]\) /\1; /g" -e "s/:\s\+/=/g"`
-eval $S
-
-echo "signaltest_min: ${Min} pass"
-echo "signaltest_act: ${Act} pass"
-echo "signaltest_avg: ${Avg} pass"
-echo "signaltest_max: ${Max} pass"
diff --git a/ubuntu/scripts/usb-test-basic.sh b/ubuntu/scripts/usb-test-basic.sh
deleted file mode 100755
index fa30d6cf..00000000
--- a/ubuntu/scripts/usb-test-basic.sh
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-#
-# USB test cases for Linux Linaro ubuntu
-#
-# Copyright (C) 2012 - 2014, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Chase Qi <chase.qi@linaro.org>
-#
-
-# generate test result with lava-test-case
-test_result(){
-if [ $? -eq 0 ]; then
- lava-test-case $1 --result pass
-else
- lava-test-case $1 --result fail
-fi
-}
-
-# get the usb devices/hubs list
-echo "========"
-lsusb
-test_result list-all-usb-devices
-
-# examine all usb devices/hubs
-if [ -d /dev/bus/usb/ ]; then
- for bus in `ls /dev/bus/usb/`; do
- for device in `ls /dev/bus/usb/$bus/`; do
- echo "========"
- echo "Bus $bus, device $device"
- lsusb -D /dev/bus/usb/$bus/$device
- status=$?
-
- if [ $status -ne 0 ]; then
- echo "Bus$bus-Device$device examination failed"
- break 2
- fi
-
- done
- done
-
- if [ $status -eq 0 ]; then
- lava-test-case examine-all-usb-devices --result pass
- else
- lava-test-case examine-all-usb-devices --result fail
- fi
-
-else
- echo "/dev/bus/usb/ not exists"
- lava-test-case examine-all-usb-devices --result fail
-fi
-
-# print supported usb protocols
-echo "========"
-if [ -z "`lsusb -v | grep -i bcdusb`" ]; then
- lava-test-case print-supported-protocols --result fail
-else
- lsusb -v | grep -i bcdusb | sort | uniq
- test_result print-supported-protocols
-fi
-
-# print supported speeds
-echo "========"
-if [ -z "`lsusb -t`" ]; then
- lava-test-case print-supported-speeds --result fail
-else
- lsusb -t
- test_result print-supported-speeds
-fi
-# clean exit so lava-test can trust the results
-exit 0
diff --git a/ubuntu/scripts/wifi-ubuntu.sh b/ubuntu/scripts/wifi-ubuntu.sh
deleted file mode 100755
index 5b2d39cc..00000000
--- a/ubuntu/scripts/wifi-ubuntu.sh
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/bash
-#
-# WiFi test cases for Linaro ubuntu
-#
-# Copyright (C) 2013, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Botao Sun <botao.sun@linaro.org>
-
-source include/sh-test-lib
-
-## Test case definitions
-# Check if wifi interface exists or not
-test_has_interface() {
- TEST="has_interface"
-
- echo "###########################################"
- ifconfig -a
- echo "###########################################"
-
- wifi_interface=`ifconfig -a | grep wlan0`
- echo "The WiFi Interface Name is $wifi_interface"
-
- if [ -z "$wifi_interface" ]; then
- fail_test "The WiFi interface doesn't exist, WiFi enable failed"
- return 1
- fi
-
- pass_test
-}
-
-# Check if the wireless access point can be connected or not
-test_connect_to_ap() {
- TEST="connect_to_ap"
-
- network_config_file="/etc/network/interfaces"
- echo $network_config_file
-
- # Turn off Ethernet
- mv $network_config_file $network_config_file".bak"
- echo -ne "auto wlan0\niface wlan0 inet dhcp\nwpa-ssid $1\nwpa-psk $2" > $network_config_file
-
- service networking restart
-
- echo "###########################################"
- ifconfig wlan0
- echo "###########################################"
-
- # Get ip address from WiFi interface
- ip_address_line=`ifconfig wlan0 | grep "inet addr"`
- echo $ip_address_line
-
- ip_address_array=($ip_address_line)
- ip_address_element=${ip_address_array[1]}
- echo $ip_address_element
-
- ip_address=${ip_address_element:5}
- echo $ip_address
-
- # Ping test here
- ping -c 5 -I ${ip_address} www.google.com
- if [ $? -ne 0 ]; then
- fail_test "Ping test failed from $ip_address"
- return 1
- fi
-
- # Packet loss report
- packet_loss_line=`ping -c 5 -I ${ip_address} www.google.com | grep "packet loss"`
- echo $packet_loss_line
-
- packet_loss_array=($packet_loss_line)
- packet_loss=${packet_loss_array[5]}
- echo "The packet loss rate is $packet_loss"
-
- if [ "$packet_loss" != "0%" ]; then
- fail_test "Packet loss happened, rate is $packet_loss"
- return 1
- fi
-
- # Restore the environment
- rm -rf $network_config_file
- mv $network_config_file".bak" $network_config_file
-
- service networking restart
- sleep 30
-
- pass_test
-}
-
-# run the tests
-test_has_interface
-test_connect_to_ap $1 $2
-# clean exit so lava-test can trust the results
-exit 0 \ No newline at end of file
diff --git a/ubuntu/scripts/wlan-download-test.sh b/ubuntu/scripts/wlan-download-test.sh
deleted file mode 100755
index 3417b286..00000000
--- a/ubuntu/scripts/wlan-download-test.sh
+++ /dev/null
@@ -1,153 +0,0 @@
-#!/bin/bash
-#
-# wlan download test case
-#
-# Copyright (C) 2012 - 2016, Linaro Limited.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Author: Naresh Kamboju <naresh.kamboju@linaro.org>
-# Description:
-# Download a file via wlan interface from know location
-# validate the file by using md5sum with known md5sum
-#
-
-set -e
-
-URL=$1
-MD5SUM_CHECK=$2
-OUTPUT_FILE_NAME="output_file"
-MD5SUM=`which md5sum`
-GET_MD5SUM=""
-WLAN_INTERFACE=""
-OLD_GATEWAY_IP=""
-OLD_GATEWAY_INTERFACE=""
-WLAN_GATEWAY_IP=""
-WLAN_GATEWAY=""
-RET=0
-
-pre_setup() {
- # Print ifconfig to know available interfaces
- ip addr
-
- # Make sure that rp_filter is set to 0
- echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
- echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter
-}
-
-check_wlan_interface() {
- # Check wlan interface state
- WLAN_INTERFACE_ARG=$1
- if [ -z $WLAN_INTERFACE_ARG ]; then
- echo "No wireless interface found on the device"
- echo "wlan-download-testcase=fail"
- RET=1
- exit $RET
- else
- ip addr show $WLAN_INTERFACE_ARG | grep "state UP"
- if [ $? -eq 0 ] ; then
- echo "wireless interface state UP"
- echo "wireless-interface-state=pass"
- else
- echo "wireless interface state DOWN"
- echo "wireless-interface-state=fail"
- RET=1
- exit $RET
- fi
- fi
-}
-
-get_interface_and_ipaddr() {
- # Assume eth and wlan are up and running
- WLAN_INTERFACE=`ls -1d /sys/class/net/*/wireless | awk -F / '{print($5)}' | head -1`
- echo wlan interface $WLAN_INTERFACE
- check_wlan_interface $WLAN_INTERFACE
-
- OLD_GATEWAY_IP=`ip route list | grep default |awk '{print $3}'`
- echo old gate way ip $OLD_GATEWAY_IP
-
- OLD_GATEWAY_INTERFACE=`ip route list | grep default |awk '{print $5}'`
- echo old gate way interface $OLD_GATEWAY_INTERFACE
-
- WLAN_GATEWAY_IP=`ip route list | grep $WLAN_INTERFACE | tail -1 | awk '{print $1}' | cut -f1 -d'/'`
- echo wlan gateway IP $WLAN_GATEWAY_IP
-
- WLAN_GATEWAY=`echo $WLAN_GATEWAY_IP | awk -F'.' '{$NF=1; print}' OFS="."`
- echo wlan gateway $WLAN_GATEWAY
-}
-
-del_primary_route() {
- ip route del default dev $OLD_GATEWAY_INTERFACE via $OLD_GATEWAY_IP
-}
-
-add_wlan_route() {
- ip route add default dev $WLAN_INTERFACE via $WLAN_GATEWAY
-}
-
-del_wlan_route() {
- ip route del default dev $WLAN_INTERFACE via $WLAN_GATEWAY
-}
-
-set_back_primary_route() {
- ip route add default dev $OLD_GATEWAY_INTERFACE via $OLD_GATEWAY_IP
-}
-
-download_via_wlan() {
- which curl
- if [ $? -eq 0 ] ; then
- curl -# --connect-timeout 1800 $URL > $OUTPUT_FILE_NAME
- if [ $? -eq 0 ] ; then
- echo "curl-file-download=pass"
- else
- echo "please validate provided url" $URL
- echo "curl-file-download=fail"
- RET=1
- fi
- else
- echo "curl command not found test exit"
- echo "curl-cmd-not-found=fail"
- RET=1
- fi
-}
-
-validate_check_sum() {
- # Get md5sum of output_file
- GET_MD5SUM=`$MD5SUM $OUTPUT_FILE_NAME | awk '{print $1}'`
- echo "GET_MD5SUM is $GET_MD5SUM"
- if [ "$MD5SUM_CHECK" = $GET_MD5SUM ] ; then
- echo "md5-checksum=pass"
- echo "wlan-download-testcase=pass"
- else
- echo "md5-checksum=fail"
- echo "wlan-download-testcase=fail"
- RET=1
- fi
-}
-
-# Prerequisite
-pre_setup
-get_interface_and_ipaddr
-del_primary_route
-add_wlan_route
-
-# Running Test
-download_via_wlan
-validate_check_sum
-
-# Set back to original state
-del_wlan_route
-set_back_primary_route
-
-exit $RET
diff --git a/ubuntu/sd-mmc-ubuntu.yaml b/ubuntu/sd-mmc-ubuntu.yaml
deleted file mode 100644
index d7435a06..00000000
--- a/ubuntu/sd-mmc-ubuntu.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-metadata:
- name: sd-mmc-ubuntu
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "SD MMC test on Linux Linaro ubuntu. The test checks if SD card is available
- and no IO error is observed in dmesg output."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - vexpress-a9
- - vexpress-tc2
- - arndale
- - juno
- environment:
- - lava-test-shell
-
-run:
- steps:
- - "cd ubuntu/scripts; ./sd-mmc-ubuntu.sh"
-
-parse:
- pattern: "(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- FAIL: fail
- PASS: pass
diff --git a/ubuntu/sendme.yaml b/ubuntu/sendme.yaml
deleted file mode 100644
index e8680fa9..00000000
--- a/ubuntu/sendme.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-metadata:
- name: sendme
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Sendme measures time intervals by sending a signal from driver to user. The test, sendme
- uses the backfire driver to send a signal from driver to user. It then reads the timestamp
- from the driver and calculates the time intervals to call the driver and to receive the
- signal from the driver."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - performance
- - preempt-rt
-
-install:
- deps:
- - backfire-dkms
- - rt-tests
-
-params:
- LOOPS: 1000
-
-run:
- steps:
- - 'lava-test-case insert-backfire-module --shell modprobe backfire'
- - 'sendme -l ${LOOPS} | tee result.log'
- - 'lava-test-run-attach result.log'
- - './ubuntu/scripts/sendme-parser.sh result.log'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'
diff --git a/ubuntu/signaltest.yaml b/ubuntu/signaltest.yaml
deleted file mode 100644
index 49a13f1c..00000000
--- a/ubuntu/signaltest.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-metadata:
- name: signaltest
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Signaltest measures the round trip for a signal. The test creates N threads and
- measures the minimum, maximum and average time taken for any thread to recieve a
- signal after it sent one. The number of iterations to run is set to 1000 by default
- and can be changed via JSON file."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - performance
- - preempt-rt
-
-install:
- deps:
- - rt-tests
-
-params:
- LOOPS: 1000
-
-run:
- steps:
- - 'signaltest -l ${LOOPS} | tee result.log'
- - './ubuntu/scripts/signaltest-parser.sh result.log'
- - 'lava-test-run-attach result.log'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<result>pass)'
diff --git a/ubuntu/sigwaittest.yaml b/ubuntu/sigwaittest.yaml
deleted file mode 100644
index 9d42cd14..00000000
--- a/ubuntu/sigwaittest.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-metadata:
- name: sigwaittest
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Sigwaittest measure interthread signal latency. The test sigwaittest starts two threads
- or, optionally, forks two processes that are synchonized via signals and measures the
- latency between sending a signal and returning from sigwait()."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - performance
- - preempt-rt
-
-install:
- deps:
- - rt-tests
-
-params:
- LOOPS: 1000
-
-run:
- steps:
- - 'sigwaittest -l ${LOOPS} -t | tee result.log'
- - './common/scripts/rt-tests-parser.sh sigwaittest result.log'
- - 'lava-test-run-attach result.log'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'
diff --git a/ubuntu/smoke-tests-basic.yaml b/ubuntu/smoke-tests-basic.yaml
deleted file mode 100644
index 6a333779..00000000
--- a/ubuntu/smoke-tests-basic.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: smoke-tests-basic
- description: "Basic system test command for Linaro Ubuntu images. The test runs basic commands
- like pwd, uname, vmstat, ifconfig, lscpu, lsusb and lsb_release."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
- - juno
-
-run:
- steps:
- - lava-test-case linux-linaro-ubuntu-pwd --shell pwd
- - lava-test-case linux-linaro-ubuntu-uname --shell uname -a
- - lava-test-case linux-linaro-ubuntu-vmstat --shell vmstat
- - lava-test-case linux-linaro-ubuntu-ifconfig --shell ifconfig -a
- - lava-test-case linux-linaro-ubuntu-lscpu --shell lscpu
- - lava-test-case linux-linaro-ubuntu-lsb_release --shell lsb_release -a
diff --git a/ubuntu/svsematest.yaml b/ubuntu/svsematest.yaml
deleted file mode 100644
index ee4d89f2..00000000
--- a/ubuntu/svsematest.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-metadata:
- name: svsemantest
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Svsematest measures interthread SystemV semaphore latency. The test svsematest
- starts two threads or, optionally, forks two processes that are synchronized via
- SYSV semaphores and measures the latency between releasing a semaphore on one
- side and getting it on the other side."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - performance
- - preempt-rt
-
-install:
- deps:
- - rt-tests
-
-params:
- LOOPS: 1000
-
-run:
- steps:
- - 'svsematest -l ${LOOPS} -t | tee result.log'
- - './common/scripts/rt-tests-parser.sh svsematest result.log'
- - 'lava-test-run-attach result.log'
-
-parse:
- pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'
diff --git a/ubuntu/sysbench.yaml b/ubuntu/sysbench.yaml
deleted file mode 100644
index b18505f8..00000000
--- a/ubuntu/sysbench.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-metadata:
- name: sysbench
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "SysBench is a modular, cross-platform and multi-threaded benchmark tool for evaluating
- OS parameters that are important for a system running a database under intensive load.
- The test runs sysbench test in loop and increase the number of thread after each iteration."
- maintainer:
- - arthur.she@linaro.org
- os:
- - ubuntu
- devices:
- - arndale
- - beaglebone-black
- - rtsm_fvp_base-aemv8a
- - juno
- scope:
- - performance
- - preempt-rt
-
-install:
- deps:
- - sysbench
-
-params:
- TIMES: 8 # The number of times 'sysbench' will be run
- TEST: cpu # Could be cpu, threads, fileio, memory or mutex
- MAX_REQUESTS: 50000 # Limit for total number of requests
- DURATION: 20 # Limit for total execution time in seconds
- FILE_TEST_MODE: seqrewr # Possible values: seqwr, seqrewr, seqrd, rndrd, rndwr, rndwr
-
-run:
- steps:
- - './common/scripts/sysbench.sh ${TIMES} ${TEST} ${MAX_REQUESTS} ${DURATION} ${FILE_TEST_MODE}'
diff --git a/ubuntu/usb-test-basic.yaml b/ubuntu/usb-test-basic.yaml
deleted file mode 100644
index b8ae0096..00000000
--- a/ubuntu/usb-test-basic.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: usb-test-basic
- description: "Basic USB test for Linaro Ubuntu images. The test examines all available USB devices
- and prints supported USB protocols and speed."
- maintainer:
- - chase.qi@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
- - beaglebone-black
- - d01
- - juno
- environment:
- - lava-test-shell
-
-install:
- deps:
- - usbutils
-
-run:
- steps:
- - ./ubuntu/scripts/usb-test-basic.sh
diff --git a/ubuntu/wifi-ubuntu.yaml b/ubuntu/wifi-ubuntu.yaml
deleted file mode 100644
index 81079a12..00000000
--- a/ubuntu/wifi-ubuntu.yaml
+++ /dev/null
@@ -1,26 +0,0 @@
-metadata:
- name: wifi-ubuntu
- format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test WiFi on Linux Linaro ubuntu. SSID and PASSWORD are possible to be set in JSON."
- maintainer:
- - milosz.wasilewski@linaro.org
- os:
- - ubuntu
- devices:
- - panda-es
- scope:
- - functional
- environment:
- - lava-test-shell
-params:
- SSID: LAVA-WiFi-G
- PASSWORD: DoubleSuezBun
-run:
- steps:
- - "cd ubuntu/scripts; ./wifi-ubuntu.sh $SSID $PASSWORD"
-
-parse:
- pattern: "(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
- fixupdict:
- FAIL: fail
- PASS: pass
diff --git a/ubuntu/wlan-download-test.yaml b/ubuntu/wlan-download-test.yaml
deleted file mode 100644
index 02a8c2a4..00000000
--- a/ubuntu/wlan-download-test.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: wlan-download-test
- description: "Download a file via wlan interface"
- maintainer:
- - naresh.kamboju@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - panda
- - panda-es
- - arndale
- - vexpress-a9
- - vexpress-tc2
- - beaglebone-black
- - d01
- - juno
- environment:
- - lava-test-shell
-
-params:
- URL: "http://testdata.validation.linaro.org/media_codec/vpx_streams/vp90-2-tos_1280x534_tile_1x4_1306kbps.webm"
- MD5SUM_CHECK: "5d99923b6d40ec031bbb821c8ad3bfca"
-
-run:
- steps:
- - ./ubuntu/scripts/wlan-download-test.sh $URL $MD5SUM_CHECK
-
-parse:
- pattern: "^(?P<test_case_id>.*)=(?P<result>.*)"