mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 05:13:05 +00:00
kernel: Remove 4.11.x
It has been EOLed today and won't receive any further updates. The images are still on hub so can be continued to be used for the time being. 4.12 support is coming soon. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: check-kernel-config
|
||||
image: linuxkit/test-kernel-config:271aa181b78ca9c6e463dfc1107cf9da6090463d
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-kernel-config*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-kernel-config.yml
|
||||
RESULT="$(linuxkit run test-kernel-config)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -1,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
@@ -1,22 +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"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
@@ -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,19 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
||||
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:321a9314c3f8b1ce748525b393dd633c48945216
|
||||
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:3845c4d64d47a1ea367806be5547e44594b0fa91
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user