When having an existing Submariner deployment on external clusters, we need to have clear instructions how to run E2E tests.
=== RUN TestE2E
Running Suite: Submariner E2E suite
===================================
Random Seed: 1575624426 - Will randomize all specs
Will run 11 of 11 specs
[dataplane] Basic TCP connectivity tests across clusters without discovery when a pod connects via TCP to a remote pod when the pod is not on a gateway and the remote pod is on a gateway
should have sent the expected data from the pod to the other pod
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:17
STEP: Creating kubernetes clients
STEP: Building namespace api objects, basename dataplane-conn-nd
STEP: Creating a namespace e2e-tests-dataplane-conn-nd-vh8s2 to execute the test in
• Failure in Spec Setup (BeforeEach) [0.895 seconds]
[dataplane] Basic TCP connectivity tests across clusters without discovery
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:12
when a pod connects via TCP to a remote pod [BeforeEach]
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:22
when the pod is not on a gateway and the remote pod is on a gateway
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:31
should have sent the expected data from the pod to the other pod
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:17
Error creating namespace &Namespace{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:e2e-tests-dataplane-conn-nd-vh8s2,GenerateName:,Namespace:,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{e2e-framework: dataplane-conn-nd,},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,},Spec:NamespaceSpec{Finalizers:[],},Status:NamespaceStatus{Phase:,},}
Unexpected error:
<*errors.StatusError | 0xc00022a360>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: "", Continue: ""},
Status: "Failure",
Message: "namespaces \"e2e-tests-dataplane-conn-nd-vh8s2\" already exists",
Reason: "AlreadyExists",
Details: {
Name: "e2e-tests-dataplane-conn-nd-vh8s2",
Group: "",
Kind: "namespaces",
UID: "",
Causes: nil,
RetryAfterSeconds: 0,
},
Code: 409,
},
}
namespaces "e2e-tests-dataplane-conn-nd-vh8s2" already exists
occurred
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/framework/framework.go:295
------------------------------
[dataplane] Basic TCP connectivity tests across clusters without discovery when a pod connects via TCP to a remote service when the pod is on a gateway and the remote service is not on a gateway
should have sent the expected data from the pod to the other pod
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:17
STEP: Creating kubernetes clients
STEP: Building namespace api objects, basename dataplane-conn-nd
STEP: Creating a namespace e2e-tests-dataplane-conn-nd-h9lk8 to execute the test in
• Failure in Spec Setup (BeforeEach) [0.361 seconds]
[dataplane] Basic TCP connectivity tests across clusters without discovery
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:12
when a pod connects via TCP to a remote service [BeforeEach]
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:44
when the pod is on a gateway and the remote service is not on a gateway
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:57
should have sent the expected data from the pod to the other pod
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/dataplane/tcp_pod_connectivity.go:17
Error creating namespace &Namespace{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:e2e-tests-dataplane-conn-nd-h9lk8,GenerateName:,Namespace:,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{e2e-framework: dataplane-conn-nd,},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,},Spec:NamespaceSpec{Finalizers:[],},Status:NamespaceStatus{Phase:,},}
Unexpected error:
<*errors.StatusError | 0xc000115050>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: "", Continue: ""},
Status: "Failure",
Message: "namespaces \"e2e-tests-dataplane-conn-nd-h9lk8\" already exists",
Reason: "AlreadyExists",
Details: {
Name: "e2e-tests-dataplane-conn-nd-h9lk8",
Group: "",
Kind: "namespaces",
UID: "",
Causes: nil,
RetryAfterSeconds: 0,
},
Code: 409,
},
}
namespaces "e2e-tests-dataplane-conn-nd-h9lk8" already exists
occurred
/home/nmanos/go/src/github.com/submariner-io/submariner/test/e2e/framework/framework.go:295