mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
tests: Remove old namespace tests
They will be replaced in the next commit. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
4c74def5c0
commit
5a932a3dcf
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv4 and veth interfaces
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv4 and veth interfaces
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv6 and veth interfaces
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv6 and veth interfaces
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-tcp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv4 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-tcp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv6 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv4 and veth interfaces
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv4 and veth interfaces
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv6 and veth interfaces
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv6 and veth interfaces
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-udp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv4 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.78
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-udp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv6 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv4 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv4 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv6 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv6 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-tcp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv4 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-tcp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv6 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv4 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv4 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv6 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv6 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-udp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv4 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.39
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-udp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv6 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv4 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv4 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv6 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-tcp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv6 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-tcp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv4 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-tcp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with TCP/IPv6 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv4 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv4 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv6 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-r", "-i", "20", "-c", "5", "-t", "veth", "-p", "-udp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv6 and veth interfaces
|
||||
# LABELS: kernel
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-udp", "-ip", "4"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv4 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.11.12
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
|
||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||
onboot:
|
||||
- name: test-netns
|
||||
image: linuxkit/test-netns:3e02fb2730ad29a732eb2d4c711cb890169ed776
|
||||
command: ["/bin/sh", "/runp.sh", "20", "/netns.sh", "-i", "20", "-c", "5", "-t", "loopback", "-p", "-udp", "-ip", "6"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:bce51402e293da0b653923a43c3c7be6e0effa05
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SUMMARY: Network namespace stress test with UDP/IPv6 over the loopback interface
|
||||
# LABELS: kernel-extra
|
||||
# REPEAT:
|
||||
|
||||
set -e
|
||||
|
||||
# Source libraries. Uncomment if needed/defined
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-netns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd test-netns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-netns)"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user