Skip to content

Instantly share code, notes, and snippets.

@dongsupark
Created March 5, 2021 16:37
Show Gist options
  • Save dongsupark/ac8d55d5308adf4c1f2987d10099745f to your computer and use it in GitHub Desktop.
Save dongsupark/ac8d55d5308adf4c1f2987d10099745f to your computer and use it in GitHub Desktop.
e2e test failure log in cluster-api-provider-aws
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: requests in /usr/lib/python3.9/site-packages (2.24.0)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3.9/site-packages (from requests) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.9/site-packages (from requests) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests) (1.25.8)
make -C hack/tools bin/session-manager-plugin
make[1]: Entering directory '/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/hack/tools'
make share/ssm/data.tar.gz
cd bin && tar -xvf ../share/ssm/data.tar.gz usr/local/sessionmanagerplugin/bin/session-manager-plugin --strip-components 4 --directory bin
make[2]: Entering directory '/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/hack/tools'
make[2]: 'share/ssm/data.tar.gz' is up to date.
make[2]: Leaving directory '/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/hack/tools'
usr/local/sessionmanagerplugin/bin/session-manager-plugin
make[1]: Leaving directory '/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/hack/tools'
docker pull docker.io/docker/dockerfile:1.1-experimental
docker pull docker.io/library/golang:1.13.15
docker pull gcr.io/distroless/static:latest
1.1-experimental: Pulling from docker/dockerfile
Digest: sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44
Status: Image is up to date for docker/dockerfile:1.1-experimental
docker.io/docker/dockerfile:1.1-experimental
1.13.15: Pulling from library/golang
Digest: sha256:8ebb6d5a48deef738381b56b1d4cd33d99a5d608e0d03c5fe8dfa3f68d41a1f8
Status: Image is up to date for golang:1.13.15
docker.io/library/golang:1.13.15
latest: Pulling from distroless/static
Digest: sha256:3b3507aa7ce16b085215915d6334f140d8f50ef35bbf3251ee52d3102296f60e
Status: Image is up to date for gcr.io/distroless/static:latest
gcr.io/distroless/static:latest
docker build -f Dockerfile --tag="quay.io/dongsupark/capa-manager:e2e" .
docker build -f Dockerfile --tag="quay.io/dongsupark/capa-eks-bootstrap-manager:e2e" --build-arg package=./bootstrap/eks .
docker build -f Dockerfile --tag="quay.io/dongsupark/capa-eks-controlplane-manager:e2e" --build-arg package=./controlplane/eks .
#1 [internal] load build definition from Dockerfile
#1 sha256:c5c7e0c6889d5dfeafca1d89640a2db798dc389aa587c76d8bbc5cc62968284c
#1 transferring dockerfile: 97B done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:9136df13020e04cfa74ca63bec343aaa224e007ce7913eba9e4b436f1bf3dda7
#2 transferring context: 94B done
#2 DONE 0.0s
#3 resolve image config for docker.io/docker/dockerfile:1.1-experimental
#3 sha256:5e049a138e8d4cf2e79a9da24ccc4d95fdecddea22b8e833c6eceb941d5ebfc3
#3 DONE 0.0s
#4 docker-image://docker.io/docker/dockerfile:1.1-experimental
#4 sha256:44995514c833e6fdd1510efb354b1a8f88938d7dd5fdfa7ae7673244e5c6ed81
#4 CACHED
#5 [internal] load build definition from Dockerfile
#5 sha256:ccfe2781b075e2bea0a7a03772074530287bd032fd5759ffb52cf2bae600d79a
#5 transferring dockerfile: 97B done
#5 DONE 0.0s
#6 [internal] load metadata for gcr.io/distroless/static:latest
#6 sha256:6949997246e61bb7d12b9c67b3db62457cc13d41393bc2cd1c0216ee3f72cd72
#6 DONE 0.0s
#7 [internal] load metadata for docker.io/library/golang:1.13.15
#7 sha256:5b209c86c670e586cf23e5a376d92694947d4771f375bac5f5b1cd9b207021e0
#7 DONE 0.0s
#8 [stage-1 1/3] FROM gcr.io/distroless/static:latest
#8 sha256:838010b88902f79d13aac23daeaf1d905a239bead0cb94ba0246116af084cc26
#8 DONE 0.0s
#9 [builder 1/8] FROM docker.io/library/golang:1.13.15
#9 sha256:cc34f9fdd9d01892eee6bd24d7b9ba686319ed724c05f1481246ad4cba4b188a
#9 DONE 0.0s
#11 [internal] load build context
#11 sha256:621d1b2ac74e2e6f2d3db4d80bb078a8162233e4c4b35e16c51f8ed7255deea5
#11 transferring context: 1.20MB 0.4s done
#11 DONE 0.4s
#10 [builder 2/8] WORKDIR /workspace
#10 sha256:61e4a13039169c082cedb33ff50603d6e1442aff9d57032a870cf0452ac901ec
#10 CACHED
#12 [builder 3/8] COPY go.mod go.mod
#12 sha256:ad46383eadb53b20a14d250ab088c6a3edc0fb4cd6904edfe357426f4df3daf4
#12 CACHED
#13 [builder 4/8] COPY go.sum go.sum
#13 sha256:e166faf538bb861d49f522137ef582c8a21612b97d033b3d9cb60a6bad901a94
#13 CACHED
#14 [builder 5/8] RUN --mount=type=cache,target=/root/.local/share/golang --mount=type=cache,target=/go/pkg/mod go mod download
#14 sha256:ce1a659f063419da4706a4a8010e9a6bdc64b0b32c9a766805b0bde1dedb5a38
#14 CACHED
#15 [builder 6/8] COPY ./ ./
#15 sha256:5b6423443e10507e8891d605e515805966964fac68e5da05b6e08446017ee210
#15 DONE 3.0s
#16 [builder 7/8] RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && wget --output-document /start.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/start.sh && chmod +x /start.sh && chmod +x /restart.sh
#16 sha256:3445703d54c09fc373eee3bc2ef54c58f7cbda7ba7ef8208cb487d8118f817f7
#16 DONE 3.5s
#17 [builder 8/8] RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.local/share/golang CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -ldflags "${LDFLAGS} -extldflags '-static'" -o manager .
#17 sha256:b9211109a1c322d2e5d57ae0b4ba1be1a7bdcb81a58c072f54eb92446afe7957
#17 DONE 6.6s
#18 [stage-1 2/3] COPY --from=builder /workspace/manager .
#18 sha256:17ed18f91dc6404c3b5aba88311b19ccb7b12744950deb949f62e2176884d474
#18 CACHED
#19 exporting to image
#19 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#19 exporting layers done
#19 writing image sha256:e091ae09d938e4d9f594af68d5962275615fbdc400f0832ee194b5fdf8f7ddbb done
#19 naming to quay.io/dongsupark/capa-manager:e2e done
#19 DONE 0.0s
#1 [internal] load build definition from Dockerfile
#1 sha256:47ee87249d932cd359ec30ab597ca1c6223c4169ef6f13c3d42e0ec1d700889b
#1 transferring dockerfile: 97B done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:03663811e38c2f38358ef6451b42ff95a8caaf4ff8a6884e47886a92c919ce5d
#2 transferring context: 94B done
#2 DONE 0.0s
#3 resolve image config for docker.io/docker/dockerfile:1.1-experimental
#3 sha256:5e049a138e8d4cf2e79a9da24ccc4d95fdecddea22b8e833c6eceb941d5ebfc3
#3 DONE 0.0s
#4 docker-image://docker.io/docker/dockerfile:1.1-experimental
#4 sha256:44995514c833e6fdd1510efb354b1a8f88938d7dd5fdfa7ae7673244e5c6ed81
#4 CACHED
#5 [internal] load build definition from Dockerfile
#5 sha256:19cd8587b58a2f6341dd6021e68185ba7f265caff1ec7224044bc9651d0b5162
#5 transferring dockerfile: 97B done
#5 DONE 0.0s
#6 [internal] load metadata for gcr.io/distroless/static:latest
#6 sha256:6949997246e61bb7d12b9c67b3db62457cc13d41393bc2cd1c0216ee3f72cd72
#6 DONE 0.0s
#7 [internal] load metadata for docker.io/library/golang:1.13.15
#7 sha256:5b209c86c670e586cf23e5a376d92694947d4771f375bac5f5b1cd9b207021e0
#7 DONE 0.0s
#9 [builder 1/8] FROM docker.io/library/golang:1.13.15
#9 sha256:cc34f9fdd9d01892eee6bd24d7b9ba686319ed724c05f1481246ad4cba4b188a
#9 DONE 0.0s
#8 [stage-1 1/3] FROM gcr.io/distroless/static:latest
#8 sha256:838010b88902f79d13aac23daeaf1d905a239bead0cb94ba0246116af084cc26
#8 DONE 0.0s
#11 [internal] load build context
#11 sha256:aa6b0d703ce899e49c90aa6335613320609a0d05b0ef745b9eca4ba08e723c00
#11 transferring context: 1.21MB 0.3s done
#11 DONE 0.3s
#12 [builder 3/8] COPY go.mod go.mod
#12 sha256:8f834998502ff7f77324ae7b61c92a76c02f16dd962240698a5496cd4bd67b2f
#12 CACHED
#13 [builder 4/8] COPY go.sum go.sum
#13 sha256:74bc7782ccc2b4bf5228fcb73ea8fee31765ccef49dccdd3061257eff262bde9
#13 CACHED
#10 [builder 2/8] WORKDIR /workspace
#10 sha256:61e4a13039169c082cedb33ff50603d6e1442aff9d57032a870cf0452ac901ec
#10 CACHED
#14 [builder 5/8] RUN --mount=type=cache,target=/root/.local/share/golang --mount=type=cache,target=/go/pkg/mod go mod download
#14 sha256:1cabcd9e0b2c697fc10950b9b9ec06450afd71732eeb625f9a1f4fbd259b10e0
#14 CACHED
#15 [builder 6/8] COPY ./ ./
#15 sha256:ced0d32f6d349b1813e55cc212c1f0bbc1e2e05707596e539f1a1e417f5d2002
#15 DONE 3.1s
#16 [builder 7/8] RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && wget --output-document /start.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/start.sh && chmod +x /start.sh && chmod +x /restart.sh
#16 sha256:d0758dce3637f3f619e9755e07d1e421bea0873c7a02d7d28c640072953aa59d
#16 DONE 1.4s
#17 [builder 8/8] RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.local/share/golang CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -ldflags "${LDFLAGS} -extldflags '-static'" -o manager ./bootstrap/eks
#17 sha256:d84b4159310a13bb098d5f6ca9d918cc3e0777b2336d5b4485158c7d5debefb6
#17 DONE 4.3s
#18 [stage-1 2/3] COPY --from=builder /workspace/manager .
#18 sha256:d7a62c5787fb3a4fe544a63b0f58ac0e18169d0b5e597f2e6f6fc1d778449877
#18 CACHED
#19 exporting to image
#19 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#19 exporting layers done
#19 writing image sha256:fedc6e671fb386b4e558e0eca2740ad0c26692f1ee6084dd0df1c689898b66a3 done
#19 naming to quay.io/dongsupark/capa-eks-bootstrap-manager:e2e done
#19 DONE 0.0s
#1 [internal] load build definition from Dockerfile
#1 sha256:f4e9f41923dd42364fde4b0dac1ed1eddf014015175aa6b094bf46bdad46e6a7
#1 transferring dockerfile: 97B done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:9f81a5611c3de60670dc933898278928edbc14512617ffc75faf0421f85625d0
#2 transferring context: 94B done
#2 DONE 0.1s
#3 resolve image config for docker.io/docker/dockerfile:1.1-experimental
#3 sha256:5e049a138e8d4cf2e79a9da24ccc4d95fdecddea22b8e833c6eceb941d5ebfc3
#3 DONE 0.0s
#4 docker-image://docker.io/docker/dockerfile:1.1-experimental
#4 sha256:44995514c833e6fdd1510efb354b1a8f88938d7dd5fdfa7ae7673244e5c6ed81
#4 CACHED
#5 [internal] load build definition from Dockerfile
#5 sha256:d712af8418e3b172fd3e1d46a7e2e3b971170f95e82cb6937f36d5c90eddebe5
#5 transferring dockerfile: 97B done
#5 DONE 0.0s
#6 [internal] load metadata for gcr.io/distroless/static:latest
#6 sha256:6949997246e61bb7d12b9c67b3db62457cc13d41393bc2cd1c0216ee3f72cd72
#6 DONE 0.0s
#7 [internal] load metadata for docker.io/library/golang:1.13.15
#7 sha256:5b209c86c670e586cf23e5a376d92694947d4771f375bac5f5b1cd9b207021e0
#7 DONE 0.0s
#9 [builder 1/8] FROM docker.io/library/golang:1.13.15
#9 sha256:cc34f9fdd9d01892eee6bd24d7b9ba686319ed724c05f1481246ad4cba4b188a
#9 DONE 0.0s
#8 [stage-1 1/3] FROM gcr.io/distroless/static:latest
#8 sha256:838010b88902f79d13aac23daeaf1d905a239bead0cb94ba0246116af084cc26
#8 DONE 0.0s
#11 [internal] load build context
#11 sha256:fc7f460d8049afeae4b3661b135745ad94a29e9383d8a43d32ed04a462e2449b
#11 transferring context: 1.21MB 0.4s done
#11 DONE 0.4s
#10 [builder 2/8] WORKDIR /workspace
#10 sha256:61e4a13039169c082cedb33ff50603d6e1442aff9d57032a870cf0452ac901ec
#10 CACHED
#12 [builder 3/8] COPY go.mod go.mod
#12 sha256:2169a549aa6efe06215daef3ad21b6319894c5e2ef5441238ec06717ed2475eb
#12 CACHED
#13 [builder 4/8] COPY go.sum go.sum
#13 sha256:cd96c77714e964e4859ef2b6e59b91a4c7ba8fcbb4ec6c47763ea327ac1d1657
#13 CACHED
#14 [builder 5/8] RUN --mount=type=cache,target=/root/.local/share/golang --mount=type=cache,target=/go/pkg/mod go mod download
#14 sha256:fc77fc05df2b1f83327e69c4c36d3b7a59eb32d08eefb5e9900a53e6ab7c861a
#14 CACHED
#15 [builder 6/8] COPY ./ ./
#15 sha256:b408b09465d7596dca161f1aeaf5109e3c1cb32a5b0d1c42658f92079748b61c
#15 DONE 2.9s
#16 [builder 7/8] RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && wget --output-document /start.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/start.sh && chmod +x /start.sh && chmod +x /restart.sh
#16 sha256:b4aec45130a95f905fab0548d5d78b9a26c066bdd979264ffe2faa6d2586cabb
#16 DONE 1.0s
#17 [builder 8/8] RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.local/share/golang CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -ldflags "${LDFLAGS} -extldflags '-static'" -o manager ./controlplane/eks
#17 sha256:fc654af3152d253a9e8776ff7339c2aed6da099423be66f305a51dbbbd7b1ba1
#17 DONE 6.4s
#18 [stage-1 2/3] COPY --from=builder /workspace/manager .
#18 sha256:e2bd8f3c7d2df97135169c324f193a64efd9d7ba56d906350b26d514f68f1469
#18 CACHED
#19 exporting to image
#19 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#19 exporting layers done
#19 writing image sha256:72d94c4715c9083816f4321845371fc76acbaba6f403cca1683dfcf23009a025 done
#19 naming to quay.io/dongsupark/capa-eks-controlplane-manager:e2e done
#19 DONE 0.0s
time hack/tools/bin/ginkgo -trace -progress -v -tags=e2e -focus="functional tests - unmanaged" ./test/e2e/suites/unmanaged/... -- -config-path="/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/data/e2e_conf.yaml" -artifacts-folder="/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/_artifacts" --data-folder="/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/data" -use-existing-cluster="false"
Running Suite: capa-e2e
=======================
Random Seed: 1614960913
Will run 9 of 15 specs
STEP: Loading the e2e test configuration from "/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/data/e2e_conf.yaml"
STEP: Getting an AWS IAM session - from environment
STEP: Creating a bootstrap AWSIAMConfiguration
STEP: Creating AWS CloudFormation stack for AWS IAM resources: stack-name=cluster-api-provider-aws-sigs-k8s-io
STEP: Deleting AWS IAM Service Linked Role: role-name=AWSServiceRoleForElasticLoadBalancing
STEP: Deleting AWS IAM Service Linked Role: role-name=AWSServiceRoleForEC2Spot
STEP: Ensuring presence of SSH key in EC2: key-name=cluster-api-provider-aws-sigs-k8s-io
STEP: Creating an access key: user-name=bootstrapper.cluster-api-provider-aws.sigs.k8s.io
STEP: Getting an AWS IAM session - from access key
STEP: Creating a clusterctl local repository into "/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/_artifacts"
STEP: Reading the CNI manifest ../../data/cni/calico.yaml
STEP: Setting up the bootstrap cluster
INFO: Creating a kind cluster with name "test-7uswlj"
INFO: The kubeconfig file for the kind cluster is /tmp/e2e-kind417203687
INFO: Loading image: "quay.io/dongsupark/cluster-api-controller:dev"
INFO: Loading image: "quay.io/dongsupark/kubeadm-bootstrap-controller:dev"
INFO: Loading image: "quay.io/dongsupark/kubeadm-control-plane-controller:dev"
INFO: Loading image: "quay.io/dongsupark/capa-manager:e2e"
INFO: Loading image: "quay.io/jetstack/cert-manager-cainjector:v0.16.1"
INFO: Loading image: "quay.io/jetstack/cert-manager-webhook:v0.16.1"
INFO: Loading image: "quay.io/jetstack/cert-manager-controller:v0.16.1"
STEP: Setting environment variable: key=AWS_B64ENCODED_CREDENTIALS, value=*******
STEP: Initializing the bootstrap cluster
INFO: clusterctl init --core cluster-api --bootstrap kubeadm --control-plane kubeadm --infrastructure aws
STEP: Waiting for provider controllers to be running
STEP: Waiting for deployment capa-system/capa-controller-manager to be available
INFO: Creating log watcher for controller capa-system/capa-controller-manager, pod capa-controller-manager-5498c98545-z9h88, container manager
INFO: Creating log watcher for controller capa-system/capa-controller-manager, pod capa-controller-manager-5498c98545-z9h88, container kube-rbac-proxy
STEP: Waiting for deployment capi-kubeadm-bootstrap-system/capi-kubeadm-bootstrap-controller-manager to be available
Failure [522.760 seconds]
[BeforeSuite] BeforeSuite 
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged/unmanaged_suite_test.go:46
Timed out after 180.006s.
Deployment capi-kubeadm-bootstrap-system/capi-kubeadm-bootstrap-controller-manager failed to get status.Available = True condition
Deployment:
{
"metadata": {
"name": "capi-kubeadm-bootstrap-controller-manager",
"namespace": "capi-kubeadm-bootstrap-system",
"selfLink": "/apis/apps/v1/namespaces/capi-kubeadm-bootstrap-system/deployments/capi-kubeadm-bootstrap-controller-manager",
"uid": "3394c5b4-67e5-409c-af0b-762fdf5bec42",
"resourceVersion": "948",
"generation": 1,
"creationTimestamp": "2021-03-05T16:20:14Z",
"labels": {
"cluster.x-k8s.io/provider": "bootstrap-kubeadm",
"clusterctl.cluster.x-k8s.io": "",
"control-plane": "controller-manager"
},
"annotations": {
"deployment.kubernetes.io/revision": "1"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"cluster.x-k8s.io/provider": "bootstrap-kubeadm",
"control-plane": "controller-manager"
}
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"cluster.x-k8s.io/provider": "bootstrap-kubeadm",
"control-plane": "controller-manager"
}
},
"spec": {
"containers": [
{
"name": "kube-rbac-proxy",
"image": "gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1",
"args": [
"--secure-listen-address=0.0.0.0:8443",
"--upstream=http://127.0.0.1:8080/",
"--logtostderr=true",
"--v=10"
],
"ports": [
{
"name": "https",
"containerPort": 8443,
"protocol": "TCP"
}
],
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"imagePullPolicy": "IfNotPresent"
},
{
"name": "manager",
"image": "quay.io/dongsupark/kubeadm-bootstrap-controller:dev",
"command": [
"/manager"
],
"args": [
"--metrics-addr=:8080",
"--enable-leader-election=false",
"--feature-gates=MachinePool=true"
],
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"imagePullPolicy": "IfNotPresent"
}
],
"restartPolicy": "Always",
"terminationGracePeriodSeconds": 10,
"dnsPolicy": "ClusterFirst",
"securityContext": {},
"schedulerName": "default-scheduler",
"tolerations": [
{
"key": "node-role.kubernetes.io/master",
"effect": "NoSchedule"
}
]
}
},
"strategy": {
"type": "RollingUpdate",
"rollingUpdate": {
"maxUnavailable": "25%",
"maxSurge": "25%"
}
},
"revisionHistoryLimit": 10,
"progressDeadlineSeconds": 600
},
"status": {
"observedGeneration": 1,
"replicas": 1,
"updatedReplicas": 1,
"unavailableReplicas": 1,
"conditions": [
{
"type": "Available",
"status": "False",
"lastUpdateTime": "2021-03-05T16:20:14Z",
"lastTransitionTime": "2021-03-05T16:20:14Z",
"reason": "MinimumReplicasUnavailable",
"message": "Deployment does not have minimum availability."
},
{
"type": "Progressing",
"status": "True",
"lastUpdateTime": "2021-03-05T16:20:14Z",
"lastTransitionTime": "2021-03-05T16:20:14Z",
"reason": "ReplicaSetUpdated",
"message": "ReplicaSet \"capi-kubeadm-bootstrap-controller-manager-6549954946\" is progressing."
}
]
}
}
Expected
<bool>: false
to be true
/home/dpark/go/pkg/mod/sigs.k8s.io/[email protected]/test/framework/deployment_helpers.go:69
Full Stack Trace
sigs.k8s.io/cluster-api/test/framework.WaitForDeploymentsAvailable(0x26af880, 0xc000052310, 0x7f80ec5d6920, 0xc0007d6410, 0xc000fda470, 0xc000470140, 0x2, 0x2)
/home/dpark/go/pkg/mod/sigs.k8s.io/[email protected]/test/framework/deployment_helpers.go:69 +0x2de
sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared.InitManagementClusterAndWatchControllerLogs(0x26af880, 0xc000052310, 0x26c7888, 0xc0005a2100, 0xc000164150, 0x64, 0xc0004b81c0, 0x1, 0x1, 0xc0004b81d0, ...)
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared/temp.go:84 +0x971
sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared.initBootstrapCluster(0xc0004ef9e0)
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared/cluster.go:79 +0x390
sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared.Node1BeforeSuite(0xc0004ef9e0, 0x0, 0x358a3a0, 0x0)
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared/suite.go:112 +0xc25
sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged.glob..func2(0x0, 0x0, 0x0)
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged/unmanaged_suite_test.go:47 +0x2d
reflect.Value.call(0x1dd7640, 0x2415600, 0x13, 0x231e9c4, 0x4, 0xc0007fb490, 0x0, 0x0, 0xc0007fb6d0, 0x20, ...)
/usr/local/golang/src/reflect/value.go:476 +0x8e7
reflect.Value.Call(0x1dd7640, 0x2415600, 0x13, 0xc0007fb490, 0x0, 0x0, 0x8c, 0x1c, 0xc0007eda70)
/usr/local/golang/src/reflect/value.go:337 +0xb9
github.com/onsi/ginkgo/internal/leafnodes.(*synchronizedBeforeSuiteNode).wrapA.func2()
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/synchronized_before_suite_node.go:151 +0xb8
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000221a40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/runner.go:113 +0xa3
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000221a40, 0xc000533000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/runner.go:64 +0x15c
github.com/onsi/ginkgo/internal/leafnodes.(*synchronizedBeforeSuiteNode).runA(0xc0003e6600, 0x1, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/synchronized_before_suite_node.go:56 +0x87
github.com/onsi/ginkgo/internal/leafnodes.(*synchronizedBeforeSuiteNode).Run(0xc0003e6600, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/synchronized_before_suite_node.go:42 +0x125
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runBeforeSuite(0xc00060b2c0, 0x0)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:123 +0xff
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc00060b2c0, 0xc00061b758)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:63 +0xab
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0001ae070, 0x7f80ece29760, 0xc0006b9e00, 0x2324a43, 0x8, 0xc000343400, 0x2, 0x2, 0x26b7bf8, 0xc0000ac840, ...)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/suite/suite.go:79 +0x546
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x2673e80, 0xc0006b9e00, 0x2324a43, 0x8, 0xc0003433e0, 0x2, 0x2, 0x2)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/ginkgo_dsl.go:219 +0x218
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x2673e80, 0xc0006b9e00, 0x2324a43, 0x8, 0xc000119760, 0x1, 0x1, 0x60425913)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/ginkgo_dsl.go:207 +0xad
sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged.TestE2E(0xc0006b9e00)
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged/unmanaged_suite_test.go:43 +0xf3
testing.tRunner(0xc0006b9e00, 0x24155a0)
/usr/local/golang/src/testing/testing.go:1194 +0xef
created by testing.(*T).Run
/usr/local/golang/src/testing/testing.go:1239 +0x2b3
------------------------------
folder created for eks clusters: /home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/_artifacts/clusters/bootstrap/aws-resources
STEP: Tearing down the management cluster
STEP: Deleting cluster-api-provider-aws-sigs-k8s-io CloudFormation stack
Failure [0.000 seconds]
[AfterSuite] AfterSuite 
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged/unmanaged_suite_test.go:52
Expected success, but got an error:
<*errors.withStack | 0xc0008546d8>: {
error: {
cause: {
code: "ResourceNotReady",
message: "failed waiting for successful resource state",
errs: nil,
},
msg: "failed to delete AWS CloudFormation stack",
},
stack: [0x190fa4d, 0x1be52c7, 0x1bedaf4, 0x1bfcbcd, 0x77c483, 0x77c09c, 0x77c927, 0x7a9f79, 0x7a9914, 0x7ac066, 0x7b9118, 0x7b8e6d, 0x1bf56d3, 0x528cef, 0x4744c1],
}
failed to delete AWS CloudFormation stack: ResourceNotReady: failed waiting for successful resource state
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared/aws.go:97
Full Stack Trace
sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared.deleteCloudFormationStack(0x266c1a0, 0xc00074e000, 0xc000011588)
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared/aws.go:97 +0x1aa
sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared.AllNodesAfterSuite(0xc0004ef9e0)
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/shared/suite.go:216 +0xd4
sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged.glob..func5()
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged/unmanaged_suite_test.go:55 +0x2d
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000221bc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/runner.go:113 +0xa3
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000221bc0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/runner.go:64 +0x15c
github.com/onsi/ginkgo/internal/leafnodes.(*synchronizedAfterSuiteNode).Run(0xc0003470e0, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/synchronized_after_suite_node.go:37 +0x127
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runAfterSuite(0xc00060b2c0, 0x0)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:138 +0xd9
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc00060b2c0, 0xc00061b758)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:71 +0xd4
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0001ae070, 0x7f80ece29760, 0xc0006b9e00, 0x2324a43, 0x8, 0xc000343400, 0x2, 0x2, 0x26b7bf8, 0xc0000ac840, ...)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/internal/suite/suite.go:79 +0x546
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x2673e80, 0xc0006b9e00, 0x2324a43, 0x8, 0xc0003433e0, 0x2, 0x2, 0x2)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/ginkgo_dsl.go:219 +0x218
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x2673e80, 0xc0006b9e00, 0x2324a43, 0x8, 0xc000119760, 0x1, 0x1, 0x60425913)
/home/dpark/go/pkg/mod/github.com/onsi/[email protected]/ginkgo_dsl.go:207 +0xad
sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged.TestE2E(0xc0006b9e00)
/home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged/unmanaged_suite_test.go:43 +0xf3
testing.tRunner(0xc0006b9e00, 0x24155a0)
/usr/local/golang/src/testing/testing.go:1194 +0xef
created by testing.(*T).Run
/usr/local/golang/src/testing/testing.go:1239 +0x2b3
------------------------------
JUnit report was created: /home/dpark/go/src/sigs.k8s.io/cluster-api-provider-aws/_artifacts/junit.e2e_suite.1.xml
Ran 9 of 0 Specs in 563.543 seconds
FAIL! -- 0 Passed | 9 Failed | 0 Pending | 0 Skipped
--- FAIL: TestE2E (563.55s)
FAIL
Ginkgo ran 1 suite in 9m25.435051739s
Test Suite Failed
real 565.440 user 16.356 sys 4.115 pcpu 3.62
make: *** [Makefile:142: test-e2e] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment