mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-14 06:09:48 +00:00
kernel: Remove the 4.13.x kernel
4.13 has been EOLed with 4.13.16 being the last one. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Sanity check on the kernel config file
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=kconfig
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
|
||||
RESULT="$(linuxkit run ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,15 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.13.16
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:7357177a8be310e40fef7424305a72c198e857c4
|
||||
- linuxkit/runc:1b0741d07949c0acc444cd6a04ee7f833443579d
|
||||
onboot:
|
||||
- name: check-kernel-config
|
||||
image: linuxkit/test-kernel-config:ff8fac1c318403aff3e2993dd9b130304e09f92e
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@@ -1,23 +0,0 @@
|
||||
# This Dockerfile extracts the kernel headers from the kernel image
|
||||
# and then compiles a simple hello world kernel module against them.
|
||||
# In the last stage, it creates a package, which can be used for
|
||||
# testing.
|
||||
|
||||
FROM linuxkit/kernel:4.13.16 AS ksrc
|
||||
|
||||
# Extract headers and compile module
|
||||
FROM linuxkit/alpine:07f7d136e427dc68154cd5edbb2b9576f9ac5213 AS build
|
||||
RUN apk add build-base libelf-dev
|
||||
|
||||
COPY --from=ksrc /kernel-dev.tar /
|
||||
RUN tar xf kernel-dev.tar
|
||||
|
||||
WORKDIR /kmod
|
||||
COPY ./src/* ./
|
||||
RUN make all
|
||||
|
||||
# Package
|
||||
FROM alpine:3.5
|
||||
COPY --from=build /kmod/hello_world.ko /
|
||||
COPY check.sh /check.sh
|
||||
ENTRYPOINT ["/bin/sh", "/check.sh"]
|
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
function failed {
|
||||
printf "Kernel module test suite FAILED\n"
|
||||
/sbin/poweroff -f
|
||||
}
|
||||
|
||||
uname -a
|
||||
modinfo hello_world.ko || failed
|
||||
insmod hello_world.ko || failed
|
||||
[ -n "$(dmesg | grep -o 'Hello LinuxKit')" ] || failed
|
||||
rmmod hello_world || failed
|
||||
|
||||
printf "Kernel module test suite PASSED\n"
|
||||
|
||||
/sbin/poweroff -f
|
@@ -1,6 +0,0 @@
|
||||
obj-m += hello_world.o
|
||||
KVER=$(shell basename /usr/src/linux-headers-*)
|
||||
all:
|
||||
make -C /usr/src/$(KVER) M=$(PWD) modules
|
||||
clean:
|
||||
make -C /usr/src/$(KVER) M=$(PWD) clean
|
@@ -1,22 +0,0 @@
|
||||
/*
|
||||
* A simple Hello World kernel module
|
||||
*/
|
||||
#include <linux/module.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
int init_hello(void)
|
||||
{
|
||||
printk(KERN_INFO "Hello LinuxKit\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
void exit_hello(void)
|
||||
{
|
||||
printk(KERN_INFO "Goodbye LinuxKit.\n");
|
||||
}
|
||||
|
||||
module_init(init_hello);
|
||||
module_exit(exit_hello);
|
||||
MODULE_AUTHOR("Rolf Neugebauer <rolf.neugebauer@docker.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("A simple Hello World kernel module for testing");
|
@@ -1,31 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Test build and insertion of kernel modules
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=kmod
|
||||
IMAGE_NAME=kmod-test
|
||||
|
||||
clean_up() {
|
||||
docker rmi ${IMAGE_NAME} || true
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Make sure we have the latest kernel image
|
||||
docker pull linuxkit/kernel:4.9.65
|
||||
# Build a package
|
||||
docker build -t ${IMAGE_NAME} .
|
||||
|
||||
# Build and run a LinuxKit image with kernel module (and test script)
|
||||
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
|
||||
RESULT="$(linuxkit run ${NAME})"
|
||||
echo "${RESULT}" | grep -q "Hello LinuxKit"
|
||||
|
||||
exit 0
|
@@ -1,20 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.13.16
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:7357177a8be310e40fef7424305a72c198e857c4
|
||||
- linuxkit/runc:1b0741d07949c0acc444cd6a04ee7f833443579d
|
||||
onboot:
|
||||
- name: check
|
||||
image: kmod-test
|
||||
binds:
|
||||
- /dev:/dev
|
||||
- /lib/modules:/lib/modules
|
||||
capabilities:
|
||||
- all
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single short TCP/IPv4 connection over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single short TCP/IPv4 connection over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent short TCP/IPv4 connections over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent short TCP/IPv4 connections over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent short TCP/IPv4 connections over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent short TCP/IPv4 connections over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single long running TCP/IPv4 connection over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single long running TCP/IPv4 connection over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent long running TCP/IPv4 connections over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent long running TCP/IPv4 connections over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent long running TCP/IPv4 connections over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent long running TCP/IPv4 connections over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single short TCP/IPv6 connection over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single short TCP/IPv6 connection over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent short TCP/IPv6 connections over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent short TCP/IPv6 connections over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent short TCP/IPv6 connections over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent short TCP/IPv6 connections over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single long running TCP/IPv6 connection over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single long running TCP/IPv6 connection over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent long running TCP/IPv6 connections over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent long running TCP/IPv6 connections over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent long running TCP/IPv6 connections over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent long running TCP/IPv6 connections over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single short UDP/IPv4 "connection" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single short UDP/IPv4 "connection" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent short UDP/IPv4 "connections" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent short UDP/IPv4 "connections" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent short UDP/IPv4 "connections" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent short UDP/IPv4 "connections" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single long running UDP/IPv4 "connection" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single long running UDP/IPv4 "connection" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent long running UDP/IPv4 "connections" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent long running UDP/IPv4 "connections" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent long running UDP/IPv4 "connections" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent long running UDP/IPv4 "connections" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single short UDP/IPv6 "connection" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single short UDP/IPv6 "connection" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent short UDP/IPv6 "connections" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent short UDP/IPv6 "connections" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent short UDP/IPv6 "connections" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with multiple instances of 5 concurrent short UDP/IPv6 "connections" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single long running UDP/IPv6 "connection" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with a single long running UDP/IPv6 "connection" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent long running UDP/IPv6 "connections" over a veth pair in reverse order
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Namespace stress with 10 concurrent long running UDP/IPv6 "connections" over a veth pair
|
||||
# LABELS:
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@@ -1,10 +0,0 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:1fca30ea85c94571200d00c7b282c537b537de48
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:280bd01daa8776fbe1f4d912977f1886b8374834
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user