Merged by openshift-bot
OpenShift Bot authored on 2015/11/14 07:16:14... | ... |
@@ -8,6 +8,10 @@ set -o errexit |
8 | 8 |
set -o nounset |
9 | 9 |
set -o pipefail |
10 | 10 |
|
11 |
+# must run before we mutate the GOPATH in setup_env |
|
12 |
+go get -d k8s.io/kubernetes/pkg/util |
|
13 |
+export KUBE_REPO_ROOT="${GOPATH}/src/k8s.io/kubernetes" |
|
14 |
+ |
|
11 | 15 |
OS_ROOT=$(dirname "${BASH_SOURCE}")/../.. |
12 | 16 |
source "${OS_ROOT}/hack/util.sh" |
13 | 17 |
source "${OS_ROOT}/hack/common.sh" |
... | ... |
@@ -24,7 +28,13 @@ os::build::setup_env |
24 | 24 |
export TMPDIR="${TMPDIR:-"/tmp"}" |
25 | 25 |
export BASETMPDIR="${TMPDIR}/openshift-extended-tests/core" |
26 | 26 |
export EXTENDED_TEST_PATH="${OS_ROOT}/test/extended" |
27 |
-export KUBE_REPO_ROOT="${OS_ROOT}/../../../k8s.io/kubernetes" |
|
27 |
+ |
|
28 |
+# TODO: check out the version of Kube we need so that we have access to sample content - in the future, |
|
29 |
+# we want to get this content as well from cherrypicks (e2e test that is cherry-picked depends on content). |
|
30 |
+k8s_version=$(go run ${OS_ROOT}/hack/version.go ${OS_ROOT}/Godeps/Godeps.json k8s.io/kubernetes/pkg/util) |
|
31 |
+pushd "${KUBE_REPO_ROOT}" &>/dev/null |
|
32 |
+git checkout "${k8s_version}" |
|
33 |
+popd &>/dev/null |
|
28 | 34 |
|
29 | 35 |
function join { local IFS="$1"; shift; echo "$*"; } |
30 | 36 |
|
... | ... |
@@ -39,28 +49,28 @@ SKIP_TESTS=( |
39 | 39 |
Kibana # Not installed |
40 | 40 |
DNS # Can't depend on kube-dns |
41 | 41 |
kube-ui # Not installed by default |
42 |
- DaemonRestart # Experimental mode not enabled yet |
|
43 |
- "Daemon set" # Experimental mode not enabled yet |
|
44 |
- Job # Not enabled yet |
|
42 |
+ #DaemonRestart # Experimental mode not enabled yet |
|
43 |
+ #"Daemon set" # Experimental mode not enabled yet |
|
44 |
+ #Job # Not enabled yet |
|
45 | 45 |
"deployment should" # Not enabled yet |
46 | 46 |
Ingress # Not enabled yet |
47 | 47 |
|
48 | 48 |
# Need fixing |
49 | 49 |
"Cluster upgrade" # panic because createNS not called, refactor framework? |
50 | 50 |
PersistentVolume # Not skipping on non GCE environments? |
51 |
- EmptyDir # TRIAGE |
|
52 |
- Proxy # TRIAGE |
|
53 |
- "Examples e2e" # TRIAGE: Some are failing due to permissions |
|
54 |
- Kubectl # TRIAGE: we don't support the kubeconfig flag, and images won't run |
|
55 |
- Namespaces # Namespace controller broken, issue #4731 |
|
51 |
+ #EmptyDir # TRIAGE |
|
52 |
+ #Proxy # TRIAGE |
|
53 |
+ #"Examples e2e" # TRIAGE: Some are failing due to permissions |
|
54 |
+ #Kubectl # TRIAGE: we don't support the kubeconfig flag, and images won't run |
|
55 |
+ #Namespaces # Namespace controller broken, issue #4731 |
|
56 | 56 |
"hostPath" # Need to add ability for the test case to use to hostPath |
57 | 57 |
"mount an API token into pods" # We add 6 secrets, not 1 |
58 |
- "create a functioning NodePort service" # Tries to bind to port 80, needs cap netsys upstream |
|
58 |
+ #"create a functioning NodePort service" # Tries to bind to port 80, needs cap netsys upstream |
|
59 | 59 |
"Networking should function for intra-pod" # Needs two nodes, add equiv test for 1 node, then use networking suite |
60 |
- "environment variables for services" # Tries to proxy directly to the node, but the underlying cert is wrong? Is proxy broken? |
|
61 |
- "should provide labels and annotations files" # the image can't read the files |
|
60 |
+ #"environment variables for services" # Tries to proxy directly to the node, but the underlying cert is wrong? Is proxy broken? |
|
61 |
+ #"should provide labels and annotations files" # the image can't read the files |
|
62 | 62 |
"Ask kubelet to report container resource usage" # container resource usage not exposed yet? |
63 |
- "should provide Internet connection for containers" # DNS inside container failing!!! |
|
63 |
+ #"should provide Internet connection for containers" # DNS inside container failing!!! |
|
64 | 64 |
"able to delete 10 pods per node" # Panic because stats port isn't exposed |
65 | 65 |
"Kubelet regular resource usage tracking over" # takes too long |
66 | 66 |
"Kubelet experimental resource usage tracking" # takes too long |
... | ... |
@@ -71,10 +81,10 @@ SKIP_TESTS=( |
71 | 71 |
# Needs triage to determine why it is failing |
72 | 72 |
"Addon update" # TRIAGE |
73 | 73 |
SSH # TRIAGE |
74 |
- Probing # TRIAGE |
|
75 |
- "should call prestop" # Needs triage, auth maybe |
|
76 |
- "be restarted with a /healthz" # used to be working |
|
77 |
- "Port forwarding With a server that expects" # used to be working |
|
74 |
+ #Probing # TRIAGE |
|
75 |
+ #"should call prestop" # Needs triage, auth maybe |
|
76 |
+ #"be restarted with a /healthz" # used to be working |
|
77 |
+ #"Port forwarding With a server that expects" # used to be working |
|
78 | 78 |
) |
79 | 79 |
DEFAULT_SKIP=$(join '|' "${SKIP_TESTS[@]}") |
80 | 80 |
SKIP="${SKIP:-$DEFAULT_SKIP}" |