This job view page is being replaced by Spyglass soon. Check out the new job view.
PRsedefsavas: v1beta2 APIs
ResultFAILURE
Tests 1 failed / 24 succeeded
Started2022-09-16 07:13
Elapsed1h47m
Revision14109e7a73e95fd8730b2e33a4c31cc649830a2d
Refs 3720

Test Failures


capa-e2e [unmanaged] [Cluster API Framework] [ClusterClass] Self Hosted Spec [ClusterClass] Should pivot the bootstrap cluster to a self-hosted cluster 21m5s

go run hack/e2e.go -v --test --test_args='--ginkgo.focus=capa\-e2e\s\[unmanaged\]\s\[Cluster\sAPI\sFramework\]\s\[ClusterClass\]\sSelf\sHosted\sSpec\s\[ClusterClass\]\sShould\spivot\sthe\sbootstrap\scluster\sto\sa\sself\-hosted\scluster$'
/home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.0/e2e/self_hosted.go:80
Timed out after 300.003s.
Deployment capa-system/capa-controller-manager failed to get status.Available = True condition
Deployment:
{
  "metadata": {
    "name": "capa-controller-manager",
    "namespace": "capa-system",
    "uid": "29cde4db-211c-41db-bc6e-ed1439acbf42",
    "resourceVersion": "1536",
    "generation": 1,
    "creationTimestamp": "2022-09-16T07:32:47Z",
    "labels": {
      "cluster.x-k8s.io/provider": "infrastructure-aws",
      "clusterctl.cluster.x-k8s.io": "",
      "control-plane": "capa-controller-manager"
    },
    "annotations": {
      "deployment.kubernetes.io/revision": "1"
    },
    "managedFields": [
      {
        "manager": "clusterctl",
        "operation": "Update",
        "apiVersion": "apps/v1",
        "time": "2022-09-16T07:32:47Z",
        "fieldsType": "FieldsV1",
        "fieldsV1": {
          "f:metadata": {
            "f:labels": {
              ".": {},
              "f:cluster.x-k8s.io/provider": {},
              "f:clusterctl.cluster.x-k8s.io": {},
              "f:control-plane": {}
            }
          },
          "f:spec": {
            "f:progressDeadlineSeconds": {},
            "f:replicas": {},
            "f:revisionHistoryLimit": {},
            "f:selector": {},
            "f:strategy": {
              "f:rollingUpdate": {
                ".": {},
                "f:maxSurge": {},
                "f:maxUnavailable": {}
              },
              "f:type": {}
            },
            "f:template": {
              "f:metadata": {
                "f:annotations": {
                  ".": {},
                  "f:iam.amazonaws.com/role": {}
                },
                "f:labels": {
                  ".": {},
                  "f:cluster.x-k8s.io/provider": {},
                  "f:control-plane": {}
                }
              },
              "f:spec": {
                "f:affinity": {
                  ".": {},
                  "f:nodeAffinity": {
                    ".": {},
                    "f:preferredDuringSchedulingIgnoredDuringExecution": {}
                  }
                },
                "f:containers": {
                  "k:{\"name\":\"manager\"}": {
                    ".": {},
                    "f:args": {},
                    "f:env": {
                      ".": {},
                      "k:{\"name\":\"AWS_SHARED_CREDENTIALS_FILE\"}": {
                        ".": {},
                        "f:name": {},
                        "f:value": {}
                      }
                    },
                    "f:image": {},
                    "f:imagePullPolicy": {},
                    "f:livenessProbe": {
                      ".": {},
                      "f:failureThreshold": {},
                      "f:httpGet": {
                        ".": {},
                        "f:path": {},
                        "f:port": {},
                        "f:scheme": {}
                      },
                      "f:periodSeconds": {},
                      "f:successThreshold": {},
                      "f:timeoutSeconds": {}
                    },
                    "f:name": {},
                    "f:ports": {
                      ".": {},
                      "k:{\"containerPort\":9440,\"protocol\":\"TCP\"}": {
                        ".": {},
                        "f:containerPort": {},
                        "f:name": {},
                        "f:protocol": {}
                      },
                      "k:{\"containerPort\":9443,\"protocol\":\"TCP\"}": {
                        ".": {},
                        "f:containerPort": {},
                        "f:name": {},
                        "f:protocol": {}
                      }
                    },
                    "f:readinessProbe": {
                      ".": {},
                      "f:failureThreshold": {},
                      "f:httpGet": {
                        ".": {},
                        "f:path": {},
                        "f:port": {},
                        "f:scheme": {}
                      },
                      "f:periodSeconds": {},
                      "f:successThreshold": {},
                      "f:timeoutSeconds": {}
                    },
                    "f:resources": {},
                    "f:terminationMessagePath": {},
                    "f:terminationMessagePolicy": {},
                    "f:volumeMounts": {
                      ".": {},
                      "k:{\"mountPath\":\"/home/.aws\"}": {
                        ".": {},
                        "f:mountPath": {},
                        "f:name": {}
                      },
                      "k:{\"mountPath\":\"/tmp/k8s-webhook-server/serving-certs\"}": {
                        ".": {},
                        "f:mountPath": {},
                        "f:name": {},
                        "f:readOnly": {}
                      }
                    }
                  }
                },
                "f:dnsPolicy": {},
                "f:restartPolicy": {},
                "f:schedulerName": {},
                "f:securityContext": {
                  ".": {},
                  "f:fsGroup": {}
                },
                "f:serviceAccount": {},
                "f:serviceAccountName": {},
                "f:terminationGracePeriodSeconds": {},
                "f:tolerations": {},
                "f:volumes": {
                  ".": {},
                  "k:{\"name\":\"cert\"}": {
                    ".": {},
                    "f:name": {},
                    "f:secret": {
                      ".": {},
                      "f:defaultMode": {},
                      "f:secretName": {}
                    }
                  },
                  "k:{\"name\":\"credentials\"}": {
                    ".": {},
                    "f:name": {},
                    "f:secret": {
                      ".": {},
                      "f:defaultMode": {},
                      "f:secretName": {}
                    }
                  }
                }
              }
            }
          }
        }
      },
      {
        "manager": "kube-controller-manager",
        "operation": "Update",
        "apiVersion": "apps/v1",
        "time": "2022-09-16T07:32:47Z",
        "fieldsType": "FieldsV1",
        "fieldsV1": {
          "f:metadata": {
            "f:annotations": {
              ".": {},
              "f:deployment.kubernetes.io/revision": {}
            }
          },
          "f:status": {
            "f:conditions": {
              ".": {},
              "k:{\"type\":\"Available\"}": {
                ".": {},
                "f:lastTransitionTime": {},
                "f:lastUpdateTime": {},
                "f:message": {},
                "f:reason": {},
                "f:status": {},
                "f:type": {}
              },
              "k:{\"type\":\"Progressing\"}": {
                ".": {},
                "f:lastTransitionTime": {},
                "f:lastUpdateTime": {},
                "f:message": {},
                "f:reason": {},
                "f:status": {},
                "f:type": {}
              }
            },
            "f:observedGeneration": {},
            "f:replicas": {},
            "f:unavailableReplicas": {},
            "f:updatedReplicas": {}
          }
        },
        "subresource": "status"
      }
    ]
  },
  "spec": {
    "replicas": 1,
    "selector": {
      "matchLabels": {
        "cluster.x-k8s.io/provider": "infrastructure-aws",
        "control-plane": "capa-controller-manager"
      }
    },
    "template": {
      "metadata": {
        "creationTimestamp": null,
        "labels": {
          "cluster.x-k8s.io/provider": "infrastructure-aws",
          "control-plane": "capa-controller-manager"
        },
        "annotations": {
          "iam.amazonaws.com/role": ""
        }
      },
      "spec": {
        "volumes": [
          {
            "name": "cert",
            "secret": {
              "secretName": "capa-webhook-service-cert",
              "defaultMode": 420
            }
          },
          {
            "name": "credentials",
            "secret": {
              "secretName": "capa-manager-bootstrap-credentials",
              "defaultMode": 420
            }
          }
        ],
        "containers": [
          {
            "name": "manager",
            "image": "gcr.io/k8s-staging-cluster-api/capa-manager:e2e",
            "args": [
              "--leader-elect",
              "--feature-gates=EKS=true,EKSEnableIAM=false,EKSAllowAddRoles=false,EKSFargate=false,MachinePool=true,EventBridgeInstanceState=true,AutoControllerIdentityCreator=true,BootstrapFormatIgnition=true,ExternalResourceGC=false",
              "--v=4",
              "--metrics-bind-addr=:8080"
            ],
            "ports": [
              {
                "name": "webhook-server",
                "containerPort": 9443,
                "protocol": "TCP"
              },
              {
                "name": "healthz",
                "containerPort": 9440,
                "protocol": "TCP"
              }
            ],
            "env": [
              {
                "name": "AWS_SHARED_CREDENTIALS_FILE",
                "value": "/home/.aws/credentials"
              }
            ],
            "resources": {},
            "volumeMounts": [
              {
                "name": "cert",
                "readOnly": true,
                "mountPath": "/tmp/k8s-webhook-server/serving-certs"
              },
              {
                "name": "credentials",
                "mountPath": "/home/.aws"
              }
            ],
            "livenessProbe": {
              "httpGet": {
                "path": "/healthz",
                "port": "healthz",
                "scheme": "HTTP"
              },
              "timeoutSeconds": 1,
              "periodSeconds": 10,
              "successThreshold": 1,
              "failureThreshold": 12
            },
            "readinessProbe": {
              "httpGet": {
                "path": "/readyz",
                "port": "healthz",
                "scheme": "HTTP"
              },
              "timeoutSeconds": 1,
              "periodSeconds": 10,
              "successThreshold": 1,
              "failureThreshold": 3
            },
            "terminationMessagePath": "/dev/termination-log",
            "terminationMessagePolicy": "File",
            "imagePullPolicy": "IfNotPresent"
          }
        ],
        "restartPolicy": "Always",
        "terminationGracePeriodSeconds": 10,
        "dnsPolicy": "ClusterFirst",
        "serviceAccountName": "capa-controller-manager",
        "serviceAccount": "capa-controller-manager",
        "securityContext": {
          "fsGroup": 1000
        },
        "affinity": {
          "nodeAffinity": {
            "preferredDuringSchedulingIgnoredDuringExecution": [
              {
                "weight": 10,
                "preference": {
                  "matchExpressions": [
                    {
                      "key": "node-role.kubernetes.io/control-plane",
                      "operator": "Exists"
                    }
                  ]
                }
              },
              {
                "weight": 10,
                "preference": {
                  "matchExpressions": [
                    {
                      "key": "node-role.kubernetes.io/master",
                      "operator": "Exists"
                    }
                  ]
                }
              }
            ]
          }
        },
        "schedulerName": "default-scheduler",
        "tolerations": [
          {
            "key": "node-role.kubernetes.io/master",
            "effect": "NoSchedule"
          },
          {
            "key": "node-role.kubernetes.io/control-plane",
            "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": "2022-09-16T07:32:47Z",
        "lastTransitionTime": "2022-09-16T07:32:47Z",
        "reason": "MinimumReplicasUnavailable",
        "message": "Deployment does not have minimum availability."
      },
      {
        "type": "Progressing",
        "status": "True",
        "lastUpdateTime": "2022-09-16T07:32:47Z",
        "lastTransitionTime": "2022-09-16T07:32:47Z",
        "reason": "ReplicaSetUpdated",
        "message": "ReplicaSet \"capa-controller-manager-7b68686c58\" is progressing."
      }
    ]
  }
}

Expected
    <bool>: false
to be true
/home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.0/framework/deployment_helpers.go:80
				
				Click to see stdout/stderrfrom junit.e2e_suite.4.xml

Filter through log files | View test history on testgrid


Show 24 Passed Tests

Show 4 Skipped Tests

Error lines from build-log.txt

... skipping 1245 lines ...
[4]   Self Hosted Spec [ClusterClass]
[4]   /home/prow/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged/unmanaged_CAPI_clusterclass_test.go:45
[4]     Should pivot the bootstrap cluster to a self-hosted cluster [It]
[4]     /home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.0/e2e/self_hosted.go:80
[4] 
[4]     Timed out after 300.003s.
[4]     Deployment capa-system/capa-controller-manager failed to get status.Available = True condition
[4]     Deployment:
[4]     {
[4]       "metadata": {
[4]         "name": "capa-controller-manager",
[4]         "namespace": "capa-system",
[4]         "uid": "29cde4db-211c-41db-bc6e-ed1439acbf42",
... skipping 1587 lines ...
[4] 
[4] JUnit report was created: /logs/artifacts/junit.e2e_suite.4.xml
[4] 
[4] 
[4] Summarizing 1 Failure:
[4] 
[4] [Fail] [unmanaged] [Cluster API Framework] [ClusterClass] Self Hosted Spec [ClusterClass] [It] Should pivot the bootstrap cluster to a self-hosted cluster 
[4] /home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.0/framework/deployment_helpers.go:80
[4] 
[4] Ran 3 of 3 Specs in 4021.923 seconds
[4] FAIL! -- 2 Passed | 1 Failed | 0 Pending | 0 Skipped
[4] --- FAIL: TestE2E (4021.96s)
[4] FAIL
[2] INFO: Waiting for control plane to be initialized
[2] INFO: Waiting for the first control plane machine managed by quick-start-8w3li5/quick-start-6y3mju-4chf7 to be provisioned
[2] STEP: Waiting for one control plane node to exist
[1] INFO: Waiting for control plane to be ready
[1] INFO: Waiting for the remaining control plane machines managed by k8s-upgrade-and-conformance-3o4m96/k8s-upgrade-and-conformance-zd0pg7-control-plane to be provisioned
[1] STEP: Waiting for all control plane nodes to exist
... skipping 60 lines ...
[7]     /home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.0/e2e/machine_pool.go:76
[7] ------------------------------
[7] 
[7] JUnit report was created: /logs/artifacts/junit.e2e_suite.7.xml
[7] 
[7] Ran 3 of 3 Specs in 4405.381 seconds
[7] SUCCESS! -- 3 Passed | 0 Failed | 0 Pending | 0 Skipped
[7] PASS
[3] STEP: Upgrading the machinepool instances
[3] INFO: Patching the new Kubernetes version to Machine Pool k8s-upgrade-and-conformance-0b6k67/k8s-upgrade-and-conformance-yndj8d-mp-0
[3] INFO: Waiting for Kubernetes versions of machines in MachinePool k8s-upgrade-and-conformance-0b6k67/k8s-upgrade-and-conformance-yndj8d-mp-0 to be upgraded from v1.23.6 to v1.24.0
[3] INFO: Ensuring all MachinePool Instances have upgraded kubernetes version v1.24.0
[2] STEP: Deleting namespace used for hosting the "quick-start" test spec
... skipping 18 lines ...
[2]     /home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.0/e2e/quick_start.go:77
[2] ------------------------------
[2] 
[2] JUnit report was created: /logs/artifacts/junit.e2e_suite.2.xml
[2] 
[2] Ran 4 of 4 Specs in 4514.411 seconds
[2] SUCCESS! -- 4 Passed | 0 Failed | 0 Pending | 0 Skipped
[2] PASS
[5] STEP: Deleting cluster clusterctl-upgrade/clusterctl-upgrade-s1aidy
[5] STEP: Deleting namespace clusterctl-upgrade used for hosting the "clusterctl-upgrade" test
[5] INFO: Deleting namespace clusterctl-upgrade
[5] STEP: Deleting providers
[5] INFO: clusterctl delete --all
... skipping 40 lines ...
[6]     /home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.0/e2e/cluster_upgrade.go:117
[6] ------------------------------
[6] 
[6] JUnit report was created: /logs/artifacts/junit.e2e_suite.6.xml
[6] 
[6] Ran 2 of 2 Specs in 4930.054 seconds
[6] SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 0 Skipped
[6] PASS
[5] STEP: Deleting namespace used for hosting the "clusterctl-upgrade" test spec
[5] INFO: Deleting namespace clusterctl-upgrade-c6856i
[5] [AfterEach] Clusterctl Upgrade Spec [from latest v1beta1 release to v1beta2]
[5]   /home/prow/go/src/sigs.k8s.io/cluster-api-provider-aws/test/e2e/suites/unmanaged/unmanaged_CAPI_test.go:133
[5] STEP: Node 5 released resources: {ec2-normal:0, vpc:2, eip:2, ngw:2, igw:2, classiclb:2, ec2-GPU:0, volume-gp2:0}
... skipping 47 lines ...
[3] STEP: Deleting namespace used for hosting the "" test spec
[3] INFO: Deleting namespace functional-efs-support-1agkup
[3] 
[3] JUnit report was created: /logs/artifacts/junit.e2e_suite.3.xml
[3] 
[3] Ran 4 of 6 Specs in 5366.423 seconds
[3] SUCCESS! -- 4 Passed | 0 Failed | 2 Pending | 0 Skipped
[3] PASS
[5] STEP: Deleting namespace used for hosting the "" test spec
[5] INFO: Deleting namespace functional-gpu-cluster-5nsgqr
[5] STEP: Dumping all the Cluster API resources in the "functional-test-ignition-9vo9ms" namespace
[5] STEP: Dumping all EC2 instances in the "functional-test-ignition-9vo9ms" namespace
[5] STEP: Deleting all clusters in the "functional-test-ignition-9vo9ms" namespace with intervals ["20m" "10s"]
... skipping 17 lines ...
[5] STEP: Deleting namespace used for hosting the "" test spec
[5] INFO: Deleting namespace functional-test-ignition-9vo9ms
[5] 
[5] JUnit report was created: /logs/artifacts/junit.e2e_suite.5.xml
[5] 
[5] Ran 4 of 6 Specs in 5749.365 seconds
[5] SUCCESS! -- 4 Passed | 0 Failed | 2 Pending | 0 Skipped
[5] PASS
[1] folder created for eks clusters: /logs/artifacts/clusters/bootstrap/aws-resources
[1] STEP: Tearing down the management cluster
[1] STEP: Deleting cluster-api-provider-aws-sigs-k8s-io CloudFormation stack
[1] 
[1] JUnit report was created: /logs/artifacts/junit.e2e_suite.1.xml
[1] 
[1] Ran 5 of 5 Specs in 6175.670 seconds
[1] SUCCESS! -- 5 Passed | 0 Failed | 0 Pending | 0 Skipped
[1] PASS

Ginkgo ran 1 suite in 1h44m34.160629639s
Test Suite Failed

Ginkgo 2.0 is coming soon!
==========================
Ginkgo 2.0 is under active development and will introduce several new features, improvements, and a small handful of breaking changes.
A release candidate for 2.0 is now available and 2.0 should GA in Fall 2021.  Please give the RC a try and send us feedback!
  - To learn more, view the migration guide at https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md
... skipping 3 lines ...
To silence this notice, set the environment variable: ACK_GINKGO_RC=true
Alternatively you can: touch $HOME/.ack-ginkgo-rc

real	104m34.171s
user	26m50.096s
sys	6m51.371s
make: *** [Makefile:397: test-e2e] Error 1
+ EXIT_VALUE=2
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
Stopping Docker: dockerProgram process in pidfile '/var/run/docker-ssd.pid', 1 process(es), refused to die.
... skipping 3 lines ...