mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Merge pull request #2987 from rn/less-tests
Remove the kernel version specific namespace tests
This commit is contained in:
commit
476fd491f1
@ -1,9 +0,0 @@
|
|||||||
kernel:
|
|
||||||
image: linuxkit/kernel:4.4.126
|
|
||||||
cmdline: "console=ttyS0 console=ttyAMA0"
|
|
||||||
init:
|
|
||||||
- linuxkit/init:be60dd1cb15ad39225512b6753304571d8c2fb17
|
|
||||||
- linuxkit/runc:17e8c06e48ac220be79b2476e39b4d7feb905524
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
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:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# SUMMARY: Namespace stress with multiple instances of 5 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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "5"]
|
|
||||||
mounts: # for runc
|
|
||||||
- type: cgroup
|
|
||||||
options: ["rw"]
|
|
||||||
- name: poweroff
|
|
||||||
image: linuxkit/poweroff:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# SUMMARY: Namespace stress with multiple instances of 5 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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "5"]
|
|
||||||
mounts: # for runc
|
|
||||||
- type: cgroup
|
|
||||||
options: ["rw"]
|
|
||||||
- name: poweroff
|
|
||||||
image: linuxkit/poweroff:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
|
@ -1,31 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# SUMMARY: Kernel tests
|
|
||||||
# LABELS: kernel-extra
|
|
||||||
|
|
||||||
group_init() {
|
|
||||||
# Group initialisation code goes here
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
group_deinit() {
|
|
||||||
# Group de-initialisation code goes here
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
CMD=$1
|
|
||||||
case $CMD in
|
|
||||||
init)
|
|
||||||
group_init
|
|
||||||
res=$?
|
|
||||||
;;
|
|
||||||
deinit)
|
|
||||||
group_deinit
|
|
||||||
res=$?
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
res=1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit $res
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# SUMMARY: Namespace stress with a single short connection over a unix domain socket 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:6843859b224129726a8d5e9b7ec72841c7789dff
|
|
||||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-p", "unix", "-s", "-c", "1", "-r"]
|
|
||||||
mounts: # for runc
|
|
||||||
- type: cgroup
|
|
||||||
options: ["rw"]
|
|
||||||
- name: poweroff
|
|
||||||
image: linuxkit/poweroff:f9a0a5e52fd2a97908bda33db2afffafe4a6a67d
|
|
||||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user