Mentor: Linda Wang ([email protected])
Development or integration of tests which can be used to test the functionalities of a Kubernetes deployment, in OPNFV Functest
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <signal.h> | |
| #include <sys/socket.h> | |
| #include <net/if.h> | |
| #include <linux/if_ether.h> | |
| #include <linux/if_packet.h> | |
| #include <arpa/inet.h> |
| local basic_apps = require("apps.basic.basic_apps") | |
| local xdpsock = require("apps.socket.af_xdp.xdpsock") | |
| local raw = require("apps.socket.raw") | |
| local ffi = require("ffi") | |
| local C = ffi.C | |
| function run () | |
| npackets = 100e6 | |
| npackets = tonumber(npackets) or error("Invalid number of packets: " .. npackets) | |
| local c = config.new() |
Development or integration of tests which can be used to test the functionalities of a Kubernetes deployment, in OPNFV Functest
| virtual5:~/joid/ci$ ./03-maasdeploy.sh virtual | |
| + source common/tools.sh | |
| ++ '[' '!' -z '' ']' | |
| ++ readonly _tools_included=true | |
| ++ _tools_included=true | |
| + '[' virtual == help ']' | |
| + '[' virtual == -h ']' | |
| + '[' virtual == --help ']' | |
| + virtinstall=0 | |
| + labname=virtual |
| running install | |
| running build | |
| running build_ext | |
| checking for getifaddrs...found. | |
| checking for getnameinfo...found. | |
| checking for IPv6 socket IOCTLs...not found. | |
| checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h. | |
| checking whether struct sockaddr has a length field...no. | |
| checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un ash ec ll atmpvc atmsvc dn irda llc. | |
| checking for routing socket support...no. |
| --- | |
| tiers: | |
| - | |
| name: k8s_e2e | |
| order: 2 | |
| ci_loop: '(daily)|(weekly)' | |
| description: >- | |
| Test suites from feature projects | |
| integrated in functest | |
| testcases: |
| sudo docker run -v /home/konrad/.kube/config:/home/konrad/.kube/config -v /home/konrad/.minikube:/home/konrad/.minikube -i -t --net=host testcont /bin/sh | |
| export KUBECONFIG=/home/konrad/.kube/config | |
| export KUBE_MASTER_IP="<Master_IP>" #Ex 192.168.42.214:8443 | |
| export KUBE_MASTER=local | |
| /home/go/src/k8s.io/kubernetes/_output/bin/e2e.test --provider=local --ginkgo.focus="deployment should delete old replica sets" |
| Running Suite: Kubernetes e2e suite | |
| =================================== | |
| Random Seed: 1511167602 - Will randomize all specs | |
| Will run 446 of 715 specs | |
| [sig-apps] DisruptionController | |
| evictions: enough pods, replicaSet, percentage => should allow an eviction | |
| /home/konrad/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/apps/disruption.go:146 | |
| • | |
| ------------------------------ |
| f = open("/home/konrad/Desktop/grep_output_file.txt","r") | |
| data = f.read() | |
| key = '[Feature:' | |
| start = 0 | |
| end = len(key) | |
| val = '' | |
| l = [] | |
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "title": "Kubernetes", | |
| "version": "v1.8.0" | |
| }, | |
| "paths": { | |
| "/api/": { | |
| "get": { | |
| "description": "get available API versions", |