Skip to content

Instantly share code, notes, and snippets.

@hrak
Created March 16, 2023 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hrak/6014d7c1dd19ea161c7f82fa7facef2d to your computer and use it in GitHub Desktop.
Save hrak/6014d7c1dd19ea161c7f82fa7facef2d to your computer and use it in GitHub Desktop.
CAPC make test output with Go 1.19
$ docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.19 make test
find: 'test/e2e/data/infrastructure-cloudstack/v1beta*/*/cluster-template*': No such file or directory
/usr/src/myapp/hack/tools/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
make fmt
make vet
/usr/src/myapp/hack/tools/bin/golangci-lint run -v --timeout 360s ./...
/usr/src/myapp/hack/tools/bin/staticcheck ./...
# The below string of commands checks that ginkgo isn't present in the controllers.
(grep ginkgo /usr/src/myapp/controllers/cloudstack*_controller.go | grep -v import && \
echo "Remove ginkgo from controllers. This is probably an artifact of testing." \
"See the hack/testing_ginkgo_recover_statements.sh file") && exit 1 || \
echo "Gingko statements not found in controllers... (passed)"
make[1]: Entering directory '/usr/src/myapp'
find: 'test/e2e/data/infrastructure-cloudstack/v1beta*/*/cluster-template*': No such file or directory
go fmt ./...
make[1]: Leaving directory '/usr/src/myapp'
make[1]: Entering directory '/usr/src/myapp'
find: 'test/e2e/data/infrastructure-cloudstack/v1beta*/*/cluster-template*': No such file or directory
go vet ./...
go: downloading github.com/onsi/ginkgo/v2 v2.4.0
make[1]: Leaving directory '/usr/src/myapp'
INFO [config_reader] Config search paths: [./ /usr/src/myapp /usr/src /usr / /root]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 14 linters: [deadcode errcheck gocyclo goheader gosec gosimple govet ineffassign misspell revive staticcheck typecheck unused varcheck]
INFO [loader] Go packages loading at mode 575 (imports|deps|files|name|types_sizes|compiled_files|exports_file) took 1.786251626s
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 57.568ms
INFO [linters context/goanalysis] analyzers took 1m31.778421208s with top 10 stages: buildir: 59.752985179s, goheader: 14.497288467s, nilness: 2.512778163s, inspect: 2.411867131s, the_only_name: 2.218174457s, fact_deprecated: 1.159573171s, misspell: 1.103662667s, printf: 1.07825163s, ctrlflow: 951.784657ms, isgenerated: 934.950709ms
INFO [runner/skip dirs] Skipped 16 issues from dir test/dummies/v1beta2 by pattern test
INFO [runner/skip dirs] Skipped 16 issues from dir test/dummies/v1beta1 by pattern test
INFO [runner/skip dirs] Skipped 2 issues from dir test/fakes by pattern test
INFO [runner/skip dirs] Skipped 11 issues from dir test/helpers by pattern test
INFO [runner] Issues before processing: 180, after processing: 0
INFO [runner] Processors filtering stat (out/in): filename_unadjuster: 180/180, path_prettifier: 180/180, skip_dirs: 135/180, exclude-rules: 8/133, cgo: 180/180, autogenerated_exclude: 133/135, exclude: 133/133, skip_files: 180/180, identifier_marker: 133/133, nolint: 0/8
INFO [runner] processing took 101.946544ms with stages: autogenerated_exclude: 84.22925ms, nolint: 7.913917ms, exclude-rules: 3.872083ms, path_prettifier: 2.822251ms, identifier_marker: 2.754292ms, skip_dirs: 219.75µs, filename_unadjuster: 101.584µs, cgo: 21.042µs, exclude: 3.876µs, max_same_issues: 3µs, skip_files: 1.167µs, uniq_by_line: 875ns, max_from_linter: 792ns, sort_results: 626ns, source_code: 458ns, diff: 457ns, path_prefixer: 417ns, max_per_file_from_linter: 333ns, path_shortener: 249ns, severity-rules: 125ns
INFO [runner] linters took 33.372505889s with stages: goanalysis_metalinter: 33.270297348s
INFO File cache stats: 89 entries of total size 590.4KiB
INFO Memory: 354 samples, avg is 1080.5MB, max is 1352.8MB
INFO Execution took 35.228920599s
Gingko statements not found in controllers... (passed)
cd /usr/src/myapp/hack/tools && curl --silent -L "https://go.kubebuilder.io/test-tools/1.25.0/linux/arm64" --output - | \
tar -C ./ --strip-components=1 -zvxf -
kubebuilder/bin/
kubebuilder/bin/etcd
kubebuilder/bin/kubectl
kubebuilder/bin/kube-apiserver
Running Suite: Webhook Suite - /usr/src/myapp/api/v1beta1
=========================================================
Random Seed: 1678964398
Will run 5 of 5 specs
------------------------------
[BeforeSuite]
/usr/src/myapp/api/v1beta1/webhook_suite_test.go:53
STEP: bootstrapping test environment 03/16/23 11:00:16.637
------------------------------
[BeforeSuite] PASSED [15.379 seconds]
[BeforeSuite]
/usr/src/myapp/api/v1beta1/webhook_suite_test.go:53
Begin Captured GinkgoWriter Output >>
STEP: bootstrapping test environment 03/16/23 11:00:16.637
<< End Captured GinkgoWriter Output
------------------------------
Conversion GetFailureDomains function
Converts v1beta1 cluster spec to v1beta2 failure domains
/usr/src/myapp/api/v1beta1/conversion_test.go:34
------------------------------
Conversion v1beta2 to v1beta1 function
Converts v1beta2 cluster spec to v1beta1 zone based cluster spec
/usr/src/myapp/api/v1beta1/conversion_test.go:80
------------------------------
Conversion v1beta2 to v1beta1 function
Returns error when len(failureDomains) < 1
/usr/src/myapp/api/v1beta1/conversion_test.go:139
------------------------------
CloudStackMachine types When calculating time since state change
Return the correct value when the last state update time is known
/usr/src/myapp/api/v1beta1/cloudstackmachine_types_test.go:35
------------------------------
CloudStackMachine types When calculating time since state change
Return a negative value when the last state update time is unknown
/usr/src/myapp/api/v1beta1/cloudstackmachine_types_test.go:42
------------------------------
[AfterSuite]
/usr/src/myapp/api/v1beta1/webhook_suite_test.go:111
STEP: tearing down the test environment 03/16/23 11:00:32.036
------------------------------
[AfterSuite] PASSED [1.379 seconds]
[AfterSuite]
/usr/src/myapp/api/v1beta1/webhook_suite_test.go:111
Begin Captured GinkgoWriter Output >>
STEP: tearing down the test environment 03/16/23 11:00:32.036
<< End Captured GinkgoWriter Output
------------------------------
Ran 5 of 5 Specs in 16.775 seconds
SUCCESS! -- 5 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS
coverage: 8.6% of statements
Running Suite: Webhook Suite - /usr/src/myapp/api/v1beta2
=========================================================
Random Seed: 1678964398
Will run 27 of 27 specs
------------------------------
[BeforeSuite]
/usr/src/myapp/api/v1beta2/webhook_suite_test.go:56
STEP: bootstrapping test environment 03/16/23 11:00:34.191
------------------------------
[BeforeSuite] PASSED [3.926 seconds]
[BeforeSuite]
/usr/src/myapp/api/v1beta2/webhook_suite_test.go:56
Begin Captured GinkgoWriter Output >>
STEP: bootstrapping test environment 03/16/23 11:00:34.191
<< End Captured GinkgoWriter Output
------------------------------
CloudStackMachine webhook When creating a CloudStackMachine
should accept CloudStackMachine with all attributes
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:41
------------------------------
CloudStackMachine webhook When creating a CloudStackMachine
should accept a CloudStackMachine with disk Offering attribute
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:45
------------------------------
CloudStackMachine webhook When creating a CloudStackMachine
should accept a CloudStackMachine with positive disk Offering size attribute
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:50
------------------------------
CloudStackMachine webhook When creating a CloudStackMachine
should not accept a CloudStackMachine with negative disk Offering size attribute
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:56
------------------------------
CloudStackMachine webhook When creating a CloudStackMachine
should reject a CloudStackMachine with missing Offering attribute
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:62
------------------------------
CloudStackMachine webhook When creating a CloudStackMachine
should reject a CloudStackMachine with missing Template attribute
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:68
------------------------------
CloudStackMachine webhook When updating a CloudStackMachine
should reject VM offering updates to the CloudStackMachine
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:80
------------------------------
CloudStackMachine webhook When updating a CloudStackMachine
should reject VM template updates to the CloudStackMachine
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:86
------------------------------
CloudStackMachine webhook When updating a CloudStackMachine
should reject VM disk offering updates to the CloudStackMachine
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:92
------------------------------
CloudStackMachine webhook When updating a CloudStackMachine
should reject updates to VM details of the CloudStackMachine
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:98
------------------------------
CloudStackMachine webhook When updating a CloudStackMachine
should reject updates to the list of affinty groups of the CloudStackMachine
/usr/src/myapp/api/v1beta2/cloudstackmachine_webhook_test.go:104
------------------------------
CloudStackMachineTemplate webhook When creating a CloudStackMachineTemplate
Should accept a CloudStackMachineTemplate with all attributes present
/usr/src/myapp/api/v1beta2/cloudstackmachinetemplate_webhook_test.go:41
------------------------------
CloudStackMachineTemplate webhook When creating a CloudStackMachineTemplate
Should accept a CloudStackMachineTemplate when missing the VM Disk Offering attribute
/usr/src/myapp/api/v1beta2/cloudstackmachinetemplate_webhook_test.go:45
------------------------------
CloudStackMachineTemplate webhook When creating a CloudStackMachineTemplate
Should reject a CloudStackMachineTemplate when missing the VM Offering attribute
/usr/src/myapp/api/v1beta2/cloudstackmachinetemplate_webhook_test.go:52
------------------------------
CloudStackMachineTemplate webhook When creating a CloudStackMachineTemplate
Should reject a CloudStackMachineTemplate when missing the VM Template attribute
/usr/src/myapp/api/v1beta2/cloudstackmachinetemplate_webhook_test.go:58
------------------------------
CloudStackMachineTemplate webhook When updating a CloudStackMachineTemplate
should reject VM template updates to the CloudStackMachineTemplate
/usr/src/myapp/api/v1beta2/cloudstackmachinetemplate_webhook_test.go:70
------------------------------
CloudStackMachineTemplate webhook When updating a CloudStackMachineTemplate
should reject VM disk offering updates to the CloudStackMachineTemplate
/usr/src/myapp/api/v1beta2/cloudstackmachinetemplate_webhook_test.go:76
------------------------------
CloudStackMachineTemplate webhook When updating a CloudStackMachineTemplate
should reject VM offering updates to the CloudStackMachineTemplate
/usr/src/myapp/api/v1beta2/cloudstackmachinetemplate_webhook_test.go:83
------------------------------
CloudStackMachineTemplate webhook When updating a CloudStackMachineTemplate
should reject updates to VM details of the CloudStackMachineTemplate
/usr/src/myapp/api/v1beta2/cloudstackmachinetemplate_webhook_test.go:89
------------------------------
CloudStackMachineTemplate webhook When updating a CloudStackMachineTemplate
should reject updates to the list of AffinityGroupIDs of the CloudStackMachineTemplate
/usr/src/myapp/api/v1beta2/cloudstackmachinetemplate_webhook_test.go:95
------------------------------
CloudStackCluster webhooks When creating a CloudStackCluster
Should accept a CloudStackCluster with all attributes present
/usr/src/myapp/api/v1beta2/cloudstackcluster_webhook_test.go:41
------------------------------
CloudStackCluster webhooks When creating a CloudStackCluster
Should reject a CloudStackCluster with missing Zones.Network attribute
/usr/src/myapp/api/v1beta2/cloudstackcluster_webhook_test.go:45
------------------------------
CloudStackCluster webhooks When creating a CloudStackCluster
Should reject a CloudStackCluster with missing Zone attribute
/usr/src/myapp/api/v1beta2/cloudstackcluster_webhook_test.go:52
------------------------------
CloudStackCluster webhooks When updating a CloudStackCluster
Should reject updates to CloudStackCluster FailureDomains
/usr/src/myapp/api/v1beta2/cloudstackcluster_webhook_test.go:64
------------------------------
CloudStackCluster webhooks When updating a CloudStackCluster
Should reject updates to Networks specified in CloudStackCluster Zones
/usr/src/myapp/api/v1beta2/cloudstackcluster_webhook_test.go:68
------------------------------
CloudStackCluster webhooks When updating a CloudStackCluster
Should reject updates to CloudStackCluster controlplaneendpoint.host
/usr/src/myapp/api/v1beta2/cloudstackcluster_webhook_test.go:72
------------------------------
CloudStackCluster webhooks When updating a CloudStackCluster
Should reject updates to CloudStackCluster controlplaneendpoint.port
/usr/src/myapp/api/v1beta2/cloudstackcluster_webhook_test.go:78
------------------------------
[AfterSuite]
/usr/src/myapp/api/v1beta2/webhook_suite_test.go:131
STEP: tearing down the test environment 03/16/23 11:00:40.545
------------------------------
[AfterSuite] PASSED [1.208 seconds]
[AfterSuite]
/usr/src/myapp/api/v1beta2/webhook_suite_test.go:131
Begin Captured GinkgoWriter Output >>
STEP: tearing down the test environment 03/16/23 11:00:40.545
<< End Captured GinkgoWriter Output
------------------------------
Ran 27 of 27 Specs in 7.563 seconds
SUCCESS! -- 27 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS
coverage: 31.8% of statements
Running Suite: Controller Suite - /usr/src/myapp/controllers
============================================================
Random Seed: 1678964398
Will run 19 of 19 specs
------------------------------
[BeforeSuite]
/usr/src/myapp/controllers/controllers_suite_test.go:134
STEP: bootstrapping test environment 03/16/23 11:00:42.43
------------------------------
[BeforeSuite] PASSED [0.029 seconds]
[BeforeSuite]
/usr/src/myapp/controllers/controllers_suite_test.go:134
Begin Captured GinkgoWriter Output >>
STEP: bootstrapping test environment 03/16/23 11:00:42.43
<< End Captured GinkgoWriter Output
------------------------------
CloudStackIsolatedNetworkReconciler With k8s like test environment.
Should set itself to ready if there are no errors in calls to CloudStack methods.
/usr/src/myapp/controllers/cloudstackisolatednetwork_controller_test.go:35
I0316 11:00:48.632654 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:00:48.633064 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackisolatednetwork" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackIsolatedNetwork" "source"="kind source: *v1beta2.CloudStackIsolatedNetwork"
I0316 11:00:48.633084 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackisolatednetwork" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackIsolatedNetwork"
I0316 11:00:48.649297 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:00:48.649332 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
E0316 11:00:48.649484 11696 source.go:144] controller-runtime/source "msg"="failed to get informer from cache" "error"="Timeout: failed waiting for *v1beta2.CloudStackIsolatedNetwork Informer to sync"
I0316 11:00:48.649782 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackisolatednetwork" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackIsolatedNetwork" "worker count"=1
I0316 11:00:48.650101 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackisolatednetwork" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackIsolatedNetwork"
I0316 11:00:48.650309 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackisolatednetwork" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackIsolatedNetwork"
I0316 11:00:48.650348 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:00:48.650522 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:00:48.650552 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [7.392 seconds]
CloudStackIsolatedNetworkReconciler
/usr/src/myapp/controllers/cloudstackisolatednetwork_controller_test.go:28
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackisolatednetwork_controller_test.go:29
Should set itself to ready if there are no errors in calls to CloudStack methods.
/usr/src/myapp/controllers/cloudstackisolatednetwork_controller_test.go:35
------------------------------
CloudStackFailureDomainReconciler With k8s like test environment.
Should delete failure domain if no VM under this failure domain.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:54
I0316 11:00:49.829535 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:00:52.934704 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:00:52.934987 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:00:52.936987 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:00:52.938693 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:00:52.940874 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:00:52.943583 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:00:52.945973 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:00:52.948645 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:00:52.950409 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:00:52.953335 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:00:52.954657 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:00:52.954761 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:00:52.955945 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:00:52.955975 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:00:52.956095 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:00:52.957199 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:00:52.959277 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:00:52.962305 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:00:52.965459 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:00:52.970674 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:00:52.973304 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:00:52.976351 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:00:52.979078 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:00:52.983585 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:00:52.984031 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:00:52.984338 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:00:52.984905 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:00:52.993646 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:00:53.002688 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:00:53.014121 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:00:53.053776 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:00:53.069778 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:00:53.079455 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:00:53.088638 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:00:53.096461 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:00:53.123502 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:00:53.153340 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:00:53.172714 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:00:53.196886 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:00:53.218636 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:00:53.222997 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:00:53.229025 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:00:53.234746 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:00:53.240795 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:00:53.259494 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:00:53.303879 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:00:53.319434 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:00:53.332314 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:00:53.336379 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:00:53.336406 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:00:53.336412 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336416 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:00:53.336420 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:00:53.336423 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336427 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:00:53.336430 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:00:53.336433 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336438 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336442 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:00:53.336450 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336459 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:00:53.336463 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:00:53.336466 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:00:53.336468 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336473 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:00:53.336477 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:00:53.336480 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:00:53.336483 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336486 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336489 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:00:53.336493 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336496 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:00:53.336499 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:00:53.336502 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336506 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:00:53.336510 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:00:53.336513 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336517 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:00:53.336521 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:00:53.336525 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:00:53.336528 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336531 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:00:53.336541 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:00:53.336552 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:00:53.336556 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336560 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:00:53.336564 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:00:53.336567 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336571 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:00:53.336575 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.336579 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:00:53.336583 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:00:53.444607 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:00:53.472926 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:00:57.755509 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:00:57.759564 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:00:57.765392 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:00:57.863294 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:00:57.876211 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:57.876627 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:57.877194 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:57.878151 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:57.984344 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.086206 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.087248 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.149207 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.149313 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.149368 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.149598 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.149674 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.149986 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.150225 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.794168 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.794195 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.794221 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.794298 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.794323 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.794339 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.794358 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.808362 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.990694 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.990726 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:58.990747 11696 base_reconciler.go:436] CloudStackFailureDomain "msg"="Resource not found. Exiting reconciliation." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:00:59.826695 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:00:59.826794 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:00:59.827138 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:00:59.827393 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:00:59.827408 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:00:59.830210 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:00:59.830288 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [11.516 seconds]
CloudStackFailureDomainReconciler
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:33
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:34
Should delete failure domain if no VM under this failure domain.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:54
------------------------------
CloudStackFailureDomainReconciler With k8s like test environment. Should function in different replicas conditions
Should delete machine if spec.replicas > 1
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:119
I0316 11:01:01.341414 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:01:04.952955 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:01:04.953436 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:01:04.955613 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:04.957476 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:01:04.959759 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:01:04.962305 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:01:04.964415 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:01:04.966755 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:01:04.968642 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:01:04.971080 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:01:04.976186 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:01:04.976353 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:01:04.977890 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:04.977904 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:01:04.978075 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:01:04.978941 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:01:04.980293 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:01:04.984729 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:01:04.987745 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:01:04.991003 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:01:04.993948 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:01:04.996678 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:01:04.998894 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:01:05.003048 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:01:05.003562 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:01:05.003878 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:01:05.004601 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:01:05.013635 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:01:05.019093 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:01:05.024991 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:01:05.038282 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:01:05.046742 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:01:05.066335 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:01:05.099600 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:01:05.108066 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:01:05.111001 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:01:05.115824 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:01:05.130690 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:01:05.152450 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:01:05.168273 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:01:05.178090 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:01:05.194604 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:01:05.199529 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:01:05.214685 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:01:05.237304 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:01:05.263511 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:01:05.269427 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:01:05.275443 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:01:05.282331 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282343 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:05.282347 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282351 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:05.282356 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282361 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:05.282367 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:05.282370 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282373 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:05.282376 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:05.282379 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282382 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:05.282385 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:05.282388 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282392 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282394 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:05.282398 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282402 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:05.282405 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282408 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:05.282411 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:05.282414 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:05.282417 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282421 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:05.282424 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:05.282427 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282433 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:05.282436 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:05.282439 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282443 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:05.282445 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:05.282448 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282451 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:05.282454 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:05.282457 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282461 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:05.282466 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:05.282469 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:01:05.282473 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282476 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:05.282480 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:05.282483 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:05.282486 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:05.282489 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:05.395952 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:01:05.431555 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:01:07.513099 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:01:07.513165 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:01:07.513176 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:07.614353 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:01:07.614439 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.614450 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.614468 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.614545 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.715540 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.816665 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.816701 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.824824 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.824850 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.824874 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.824956 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.824979 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.825006 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:07.825019 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:08.617033 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:08.617049 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:08.617084 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:08.617276 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:08.617288 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:08.617298 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:08.617302 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:08.617322 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:08.824164 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="start to delete machine, Requeuing." "machine"="capi-test-machine-r9kc8" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:09.624878 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:01:09.624961 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:01:09.625299 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:09.625406 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:09.625446 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:01:09.625821 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:01:09.625839 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [9.480 seconds]
CloudStackFailureDomainReconciler
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:33
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:34
Should function in different replicas conditions
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:71
Should delete machine if spec.replicas > 1
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:119
------------------------------
CloudStackFailureDomainReconciler With k8s like test environment. Should function in different replicas conditions
Should delete machine if status.readyReplica does not exist
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:121
I0316 11:01:10.820457 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:01:14.528451 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:01:14.528597 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:01:14.530518 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:14.533423 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:01:14.535446 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:01:14.537159 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:01:14.539513 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:01:14.541537 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:01:14.542753 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:01:14.544402 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:01:14.545481 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:01:14.545572 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:01:14.546641 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:14.546664 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:01:14.546729 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:01:14.547381 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:01:14.548379 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:01:14.552332 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:01:14.554562 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:01:14.557431 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:01:14.559504 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:01:14.564265 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:01:14.566543 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:01:14.568938 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:01:14.569266 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:01:14.569519 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:01:14.570101 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:01:14.579714 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:01:14.583895 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:01:14.588084 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:01:14.591938 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:01:14.596437 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:01:14.603421 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:01:14.609587 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:01:14.620263 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:01:14.646342 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:01:14.662431 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:01:14.670323 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:01:14.678650 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:01:14.685367 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:01:14.721272 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:01:14.739077 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:01:14.746520 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:01:14.763787 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:01:14.767295 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:01:14.769969 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:01:14.775809 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:01:14.789840 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:01:14.824669 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824683 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:14.824687 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824691 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:14.824695 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824699 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:14.824702 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824705 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:14.824709 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824713 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:14.824716 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:14.824719 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824723 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:14.824726 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:14.824729 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824732 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:14.824735 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:14.824738 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824742 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:14.824744 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:14.824748 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824751 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:14.824755 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:14.824759 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824762 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:14.824765 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:14.824770 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:14.824773 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824777 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:14.824781 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:14.824784 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824787 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:14.824790 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:14.824794 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824797 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:01:14.824801 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:14.824804 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824808 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:14.824811 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:14.824814 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:14.824816 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.824820 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:14.824822 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:14.824825 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:14.938502 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:01:14.965120 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:01:17.060256 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:01:17.060260 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:01:17.060293 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:17.160622 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:01:17.160828 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.160843 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.160920 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.161326 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.262209 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.363600 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.363706 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.374905 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.374964 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.375020 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.375204 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.375239 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.375266 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:17.375276 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:18.148173 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:18.148190 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:18.148203 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:18.148239 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:18.148251 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:18.148384 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:18.148391 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:18.148407 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:18.352886 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="start to delete machine, Requeuing." "machine"="capi-test-machine-qd422" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:19.155327 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:01:19.155387 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:01:19.155438 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:19.155492 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:19.155535 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:01:19.155716 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:01:19.155745 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [9.555 seconds]
CloudStackFailureDomainReconciler
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:33
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:34
Should function in different replicas conditions
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:71
Should delete machine if status.readyReplica does not exist
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:121
------------------------------
CloudStackFailureDomainReconciler With k8s like test environment. Should function in different replicas conditions
Should delete machine if status.ready does not exist
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:123
I0316 11:01:20.375333 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:01:23.434186 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:01:23.434398 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:01:23.436580 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:23.438139 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:01:23.440161 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:01:23.441889 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:01:23.443252 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:01:23.445357 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:01:23.446374 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:01:23.448147 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:01:23.449582 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:01:23.449716 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:01:23.451196 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:23.451212 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:01:23.451344 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:01:23.452318 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:01:23.455196 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:01:23.458013 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:01:23.460493 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:01:23.464554 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:01:23.466217 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:01:23.468816 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:01:23.471786 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:01:23.476807 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:01:23.477242 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:01:23.477477 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:01:23.477979 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:01:23.488034 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:01:23.493216 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:01:23.502332 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:01:23.518986 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:01:23.551100 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:01:23.560620 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:01:23.564718 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:01:23.569246 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:01:23.584835 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:01:23.610010 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:01:23.615185 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:01:23.619611 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:01:23.634757 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:01:23.637111 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:01:23.648178 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:01:23.657391 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:01:23.667370 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:01:23.691997 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:01:23.707917 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:01:23.712224 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:01:23.720715 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:01:23.724673 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724688 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:23.724694 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:23.724698 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:23.724701 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724704 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:23.724707 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:23.724711 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724714 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:23.724718 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:23.724721 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724724 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:23.724728 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:01:23.724732 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724735 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:23.724738 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:23.724741 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:23.724746 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724750 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:23.724754 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:23.724756 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724759 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:23.724763 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:23.724766 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724769 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:23.724772 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724777 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:23.724781 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:23.724784 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724787 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:23.724790 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:23.724793 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724796 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:23.724800 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:23.724803 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724807 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:23.724810 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724814 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724817 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:23.724820 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:23.724823 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724826 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:23.724829 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:23.724832 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:23.833343 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:01:23.862735 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:01:25.946869 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:01:25.946870 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:01:25.946918 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:26.047256 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:01:26.047335 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.047344 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.047421 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.047486 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.148099 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.249712 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.249769 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.267694 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.267737 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.267771 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.267908 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.267944 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.267969 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.267982 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.276208 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.276221 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.276234 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.276271 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.276280 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.276289 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:26.276294 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:27.036599 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:27.036617 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:27.036633 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:27.036671 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:27.036682 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:27.036701 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:27.036707 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:27.036723 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:27.244872 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="start to delete machine, Requeuing." "machine"="capi-test-machine-vbg6l" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:28.041177 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:01:28.041199 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:01:28.041217 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:28.041237 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:28.041250 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:01:28.041342 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:01:28.041348 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [8.874 seconds]
CloudStackFailureDomainReconciler
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:33
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:34
Should function in different replicas conditions
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:71
Should delete machine if status.ready does not exist
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:123
------------------------------
CloudStackFailureDomainReconciler With k8s like test environment. Should function in different replicas conditions
Should not delete machine if cluster control plane not ready
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:125
I0316 11:01:29.246986 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:01:32.393498 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:01:32.393675 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:01:32.396014 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:32.398665 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:01:32.400534 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:01:32.401916 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:01:32.404113 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:01:32.406943 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:01:32.408444 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:01:32.411098 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:01:32.412587 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:01:32.412686 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:01:32.414097 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:32.414116 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:01:32.414238 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:01:32.415052 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:01:32.416299 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:01:32.420575 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:01:32.423678 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:01:32.428574 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:01:32.430343 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:01:32.435220 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:01:32.438104 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:01:32.444678 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:01:32.445066 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:01:32.445283 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:01:32.445989 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:01:32.454991 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:01:32.462151 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:01:32.465937 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:01:32.471988 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:01:32.489124 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:01:32.494716 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:01:32.508980 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:01:32.534763 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:01:32.550683 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:01:32.564927 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:01:32.581850 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:01:32.597444 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:01:32.605639 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:01:32.616226 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:01:32.621351 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:01:32.625170 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:01:32.638926 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:01:32.649727 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:01:32.675581 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:01:32.680670 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:01:32.687721 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:01:32.691909 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:32.691938 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:32.691942 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.691946 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:32.691951 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.691956 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:32.691959 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.691962 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.691965 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:32.691969 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:32.691972 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:32.691975 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.691978 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:32.691981 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:32.691985 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.691989 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:32.691992 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:32.691995 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.691998 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:32.692008 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:32.692012 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.692015 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:01:32.692093 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.692097 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:32.692101 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.692106 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:32.692109 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:32.692113 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:32.692116 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.692120 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:32.692123 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.692126 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:32.692130 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:32.692133 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:32.692137 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.692141 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:32.692144 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:32.692147 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.692150 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:32.692208 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.692213 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:32.692217 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:32.692220 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:32.692223 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:32.801405 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:01:32.831965 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:01:34.929676 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:01:34.929806 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:01:34.929818 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:35.031078 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:01:35.031158 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.031166 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.031188 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.031290 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.131745 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.232422 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.232513 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.247943 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.247984 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.248018 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.248107 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.248132 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.248153 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:35.248165 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:36.049282 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:36.049297 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:36.049307 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:36.049356 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:36.049370 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:36.049402 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:36.049410 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:36.049418 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:36.150101 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="cluster status not ready, Requeuing." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:41.151738 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:41.151818 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:41.152013 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:41.152278 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:41.152864 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:41.152975 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:41.153001 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:41.153034 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:41.153128 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="cluster status not ready, Requeuing." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:46.051582 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:01:46.051711 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:01:46.052423 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:46.052509 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:46.052561 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:01:46.053795 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:01:46.053839 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [18.013 seconds]
CloudStackFailureDomainReconciler
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:33
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:34
Should function in different replicas conditions
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:71
Should not delete machine if cluster control plane not ready
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:125
------------------------------
CloudStackFailureDomainReconciler With k8s like test environment. Should function in different replicas conditions
Should not delete machine if status.replicas < spec.replicas
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:126
I0316 11:01:47.260183 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:01:50.666398 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:01:50.666542 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:01:50.668563 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:50.670129 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:01:50.673853 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:01:50.676887 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:01:50.680580 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:01:50.682587 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:01:50.683894 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:01:50.685788 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:01:50.688286 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:01:50.688402 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:01:50.689536 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:01:50.689560 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:01:50.689625 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:01:50.690240 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:01:50.691339 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:01:50.696862 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:01:50.699219 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:01:50.702218 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:01:50.703968 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:01:50.707982 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:01:50.710294 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:01:50.713442 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:01:50.713883 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:01:50.714223 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:01:50.714836 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:01:50.726209 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:01:50.730203 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:01:50.748095 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:01:50.762569 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:01:50.768147 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:01:50.779916 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:01:50.787274 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:01:50.798497 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:01:50.803148 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:01:50.808603 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:01:50.819544 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:01:50.834232 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:01:50.874670 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:01:50.896419 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:01:50.914618 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:01:50.917954 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:01:50.935442 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:01:50.945947 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:01:50.964507 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:01:50.980804 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:01:50.988355 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:01:50.992556 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992573 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:50.992578 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:50.992583 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992586 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:50.992590 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:50.992593 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992625 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:50.992629 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992633 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:50.992636 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992639 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992643 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:50.992647 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992654 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:50.992665 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:50.992670 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:50.992673 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992677 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:50.992682 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:50.992692 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992696 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:50.992699 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:50.992702 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992705 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:50.992708 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:50.992711 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992715 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:50.992717 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:50.992720 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992723 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:50.992727 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:01:50.992731 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992735 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:01:50.992739 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:50.992742 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:50.992745 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992748 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:50.992751 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:50.992754 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992757 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:01:50.992760 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:01:50.992764 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:01:50.992767 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:01:51.099293 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:01:51.122477 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:01:53.207972 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:01:53.208005 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:01:53.208030 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:01:53.309089 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:01:53.309184 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.309194 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.309221 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.309345 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.410289 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.511188 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.511244 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.523446 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.523484 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.523512 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.523634 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.523673 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.523698 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:53.523706 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:54.332956 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:54.332972 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:54.332983 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:54.333046 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:54.333057 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:54.333065 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:54.333069 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:54.333074 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:54.435292 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="spec.replicas <> status.replicas, Requeuing." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "owner"="test-cluster" "spec.replicas"=2 "status.replicas"=1
I0316 11:01:59.439795 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:59.440025 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:59.440191 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:59.441288 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:59.441385 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:59.441452 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:59.441575 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:59.441636 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:01:59.448928 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="spec.replicas <> status.replicas, Requeuing." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "owner"="test-cluster" "spec.replicas"=2 "status.replicas"=1
I0316 11:02:04.338144 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:02:04.338381 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:02:04.338934 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:04.339142 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:04.339228 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:02:04.340727 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:02:04.340775 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [18.328 seconds]
CloudStackFailureDomainReconciler
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:33
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:34
Should function in different replicas conditions
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:71
Should not delete machine if status.replicas < spec.replicas
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:126
------------------------------
CloudStackFailureDomainReconciler With k8s like test environment. Should function in different replicas conditions
Should not delete machine if spec.replicas < 2
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:127
I0316 11:02:05.593880 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:02:08.570371 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:02:08.570554 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:02:08.573089 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:02:08.573237 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:02:08.574080 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:02:08.575406 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:02:08.578336 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:02:08.583988 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:02:08.587204 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:02:08.588849 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:02:08.592976 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:02:08.595245 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:02:08.597564 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:02:08.597925 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:02:08.598191 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:02:08.598729 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:02:08.598896 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:02:08.600750 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:02:08.602519 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:02:08.604239 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:02:08.606456 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:02:08.608393 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:02:08.611293 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:02:08.612690 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:02:08.614555 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:02:08.615647 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:02:08.615666 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:02:08.625600 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:02:08.632846 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:02:08.637882 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:02:08.641977 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:02:08.655833 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:02:08.696908 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:02:08.707456 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:02:08.712441 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:02:08.720141 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:02:08.745847 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:02:08.769998 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:02:08.777425 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:02:08.779589 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:02:08.784656 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:02:08.791280 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:02:08.797795 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:02:08.809062 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:02:08.837375 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:02:08.855198 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:02:08.887983 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:02:08.893598 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:02:08.898946 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.898960 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:08.898964 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.898967 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:08.898971 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:08.898974 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:08.898981 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.898987 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:08.898991 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.898994 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:08.898998 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:08.899000 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899004 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:02:08.899012 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899017 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:08.899020 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:08.899023 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:08.899029 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899035 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:08.899038 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:08.899040 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899043 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:08.899047 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:08.899050 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899053 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899058 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:08.899063 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899067 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:08.899075 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899078 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:08.899084 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:02:08.899090 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:08.899096 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:08.899102 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899106 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:08.899109 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:08.899111 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899115 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:02:08.899119 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:08.899123 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:08.899125 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:08.899129 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:08.899132 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:02:08.899140 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:09.010543 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:02:09.034472 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:02:11.135530 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:02:11.135570 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:02:11.135587 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:11.236778 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:02:11.236922 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.236947 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.236975 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.237135 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.338490 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.438945 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.438967 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.446595 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.446614 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.446627 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.446714 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.446730 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.446742 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:11.446747 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.246936 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.246951 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.246962 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.246991 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.247010 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.247018 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.247022 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.247039 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:12.349785 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="fcc031af-470c-468a-b3b7-9261cfe1985d"
I0316 11:02:12.355090 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.355114 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.355140 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.355188 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.355223 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.355241 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.355246 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.355254 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:12.356661 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="3eacb6df-a83c-4995-9abc-f75a2e5dc13b"
I0316 11:02:12.367050 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.367065 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.367081 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.367157 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.367174 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.367204 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.367211 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.367391 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:12.368898 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="8eec02b7-1114-4f6b-a697-8f4958383b7b"
I0316 11:02:12.389645 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.389674 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.389714 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.389802 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.389845 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.389865 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.389870 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.389883 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:12.392199 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="bb4d7176-a910-4656-a7df-e5ba38bbfc60"
I0316 11:02:12.432614 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.432634 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.432661 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.432756 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.432774 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.432785 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.432789 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.432796 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:12.434704 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="ddc2b014-fcd1-43af-a539-063bdc51602f"
I0316 11:02:12.514826 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.514843 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.514872 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.514973 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.514989 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.514999 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.515004 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.515010 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:12.516822 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="bc0c12fb-068b-4cf6-8208-506edf64e882"
I0316 11:02:12.677140 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.677165 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.677190 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.677252 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.677265 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.677278 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.677288 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:12.677295 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:12.679229 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="b607c448-9bd8-4277-9000-17fd51cd26f1"
I0316 11:02:13.000203 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.000242 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.000275 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.000364 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.000385 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.000447 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.000454 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.000464 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:13.004991 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="d33e6bc1-d134-4085-a933-40d9e3611ba2"
I0316 11:02:13.645444 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.645505 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.645565 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.645901 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.646044 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.646137 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.646300 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:13.646361 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:13.651040 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="5a9f80ad-fe0b-43eb-a9d5-cdb9d691a36a"
I0316 11:02:14.931491 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:14.931566 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:14.931761 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:14.932198 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:14.932250 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:14.932322 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:14.932365 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:14.932385 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:14.939027 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="29ae8e08-3449-43a3-907a-f2b839341a01"
I0316 11:02:17.500336 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:17.500398 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:17.500543 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:17.500733 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:17.500794 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:17.500892 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:17.500932 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:17.500957 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
E0316 11:02:17.509631 11696 controller.go:326] "msg"="Reconciler error" "error"="spec.replicas < 2 in test-cluster, test-machine-1 cannot be moved away from failure domain" "CloudStackFailureDomain"={"name":"506eccfcdb17d962b3960d44e2b4bcdb-test-cluster","namespace":"default"} "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "reconcileID"="5977b264-db71-40de-af68-6d9e1f569473"
I0316 11:02:22.249993 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:02:22.250549 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:02:22.251473 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:22.251661 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:22.251754 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:02:22.253212 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:02:22.253509 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [18.077 seconds]
CloudStackFailureDomainReconciler
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:33
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:34
Should function in different replicas conditions
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:71
Should not delete machine if spec.replicas < 2
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:127
------------------------------
CloudStackFailureDomainReconciler With k8s like test environment. Should function in different replicas conditions
Should not delete machine if status.ready is false
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:128
I0316 11:02:23.670627 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:02:26.743340 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:02:26.743559 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:02:26.744734 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:02:26.746778 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:02:26.750988 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:02:26.754581 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:02:26.761335 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:02:26.763365 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:02:26.766061 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:02:26.768345 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:02:26.771801 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:02:26.772223 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:02:26.772520 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:02:26.773093 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:02:26.773319 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:02:26.775317 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:02:26.776986 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:02:26.778720 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:02:26.779756 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:02:26.780864 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:02:26.782758 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:02:26.783666 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:02:26.785181 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:02:26.786168 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:02:26.786336 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:02:26.787934 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:02:26.787977 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:02:26.797745 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:02:26.808684 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:02:26.816901 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:02:26.827768 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:02:26.843038 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:02:26.880518 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:02:26.890840 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:02:26.902489 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:02:26.930027 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:02:26.946097 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:02:26.958856 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:02:26.965624 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:02:26.976899 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:02:26.983325 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:02:26.988663 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:02:26.995189 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:02:27.002203 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:02:27.041020 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:02:27.057767 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:02:27.066120 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:02:27.070841 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:02:27.074963 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:27.074982 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:27.074986 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.074990 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.074993 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:27.074997 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075000 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:27.075006 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075009 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:27.075012 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075016 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:27.075019 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:27.075022 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075025 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:27.075048 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:27.075051 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075055 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:27.075077 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:27.075081 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075084 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:02:27.075090 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075093 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:27.075097 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:27.075100 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:27.075103 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075110 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:27.075114 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:27.075121 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075124 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:02:27.075128 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:02:27.075131 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075134 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:27.075138 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:27.075140 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:27.075143 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075147 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:27.075150 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:27.075153 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075157 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:27.075164 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075172 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:27.075182 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:02:27.075190 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:27.075193 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:27.193658 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:02:27.219687 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:02:29.310079 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:02:29.310148 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:02:29.310177 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:29.411552 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:02:29.411703 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.411752 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.411788 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.411909 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.512766 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.614061 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.614097 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.621844 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.621865 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.621879 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.621951 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.621971 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.621983 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:29.621988 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:30.436296 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:30.436310 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:30.436320 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:30.436462 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:30.436478 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:30.436527 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:30.436531 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:30.436540 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:30.538778 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="status.ready not true, Requeuing." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "owner"="test-cluster"
I0316 11:02:35.540222 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:35.540338 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:35.541093 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:35.541467 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:35.541539 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:35.541633 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:35.541690 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:35.541741 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:35.548860 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="status.ready not true, Requeuing." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "owner"="test-cluster"
I0316 11:02:40.437878 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:02:40.438015 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:02:40.438124 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:40.438218 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:40.438308 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:02:40.438781 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:02:40.438830 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [18.161 seconds]
CloudStackFailureDomainReconciler
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:33
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:34
Should function in different replicas conditions
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:71
Should not delete machine if status.ready is false
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:128
------------------------------
CloudStackFailureDomainReconciler With k8s like test environment. Should function in different replicas conditions
Should not delete machine if status.readyReplicas <> status.replicas
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:129
I0316 11:02:41.828463 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:02:45.279629 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:02:45.279821 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:02:45.282088 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:02:45.283684 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:02:45.285757 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:02:45.287237 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:02:45.288553 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:02:45.290720 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:02:45.291875 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:02:45.293729 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:02:45.294740 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:02:45.294840 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:02:45.295864 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:02:45.295889 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:02:45.296009 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:02:45.296789 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:02:45.300088 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:02:45.303240 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:02:45.305565 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:02:45.309330 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:02:45.311481 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:02:45.314243 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:02:45.316581 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:02:45.320320 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:02:45.320961 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:02:45.321234 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:02:45.321867 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:02:45.329874 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:02:45.333337 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:02:45.340912 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:02:45.352817 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:02:45.362279 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:02:45.367427 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:02:45.377739 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:02:45.391403 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:02:45.397482 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:02:45.405327 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:02:45.413107 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:02:45.424596 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:02:45.461072 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:02:45.474757 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:02:45.482602 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:02:45.493217 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:02:45.502143 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:02:45.525871 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:02:45.545241 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:02:45.558776 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:02:45.569875 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:02:45.574114 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.574134 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:45.574138 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:45.574142 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:45.574145 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.574149 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:45.574152 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:45.574155 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.574158 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:02:45.574163 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:02:45.574473 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:02:45.574491 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.574495 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:45.574499 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.574503 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:45.574638 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:45.574724 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.574732 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:45.574736 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:45.574883 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.574893 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:45.574896 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:45.574901 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.574984 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:45.574992 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:45.574995 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.574999 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:45.575120 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:45.575132 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.575137 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:02:45.575228 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:45.575238 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.575241 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:02:45.575334 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.575344 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:02:45.575348 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.575431 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:45.575438 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.575441 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:45.575529 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:45.575538 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.575543 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:45.575847 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:02:45.575851 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:02:45.688328 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:02:45.715145 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:02:47.775905 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:02:47.775972 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:02:47.775979 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:47.877280 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:02:47.877347 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:47.877354 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:47.877374 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:47.877500 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:47.978212 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.079064 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.079087 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.085897 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.085922 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.085938 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086042 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086059 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086072 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086078 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086285 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086296 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086306 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086344 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086354 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086364 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.086370 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.850396 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.850410 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.850422 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.850453 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.850462 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.850471 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.850556 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.850567 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:48.953299 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="status.replicas <> status.readyReplicas, Requeuing." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "owner"="test-cluster" "status.readyReplicas"=1 "status.replicas"=2
I0316 11:02:53.955154 11696 base_reconciler.go:132] CloudStackFailureDomain "msg"="Logger setup complete." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:53.955241 11696 base_reconciler.go:433] CloudStackFailureDomain "msg"="Getting reconciliation subject." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:53.955403 11696 base_reconciler.go:324] CloudStackFailureDomain "msg"="Setting up patcher." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:53.955729 11696 base_reconciler.go:164] CloudStackFailureDomain "msg"="Getting CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:53.955806 11696 base_reconciler.go:186] CloudStackFailureDomain "msg"="Getting CloudStackCluster cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:53.955889 11696 base_reconciler.go:494] CloudStackFailureDomain "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:53.955931 11696 base_reconciler.go:417] CloudStackFailureDomain "msg"="Checking if paused." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:53.955985 11696 cloudstackfailuredomain_controller.go:129] CloudStackFailureDomain "msg"="Deleting CloudStackFailureDomain" "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default"
I0316 11:02:53.961487 11696 base_reconciler.go:342] CloudStackFailureDomain "msg"="status.replicas <> status.readyReplicas, Requeuing." "name"="506eccfcdb17d962b3960d44e2b4bcdb-test-cluster" "namespace"="default" "owner"="test-cluster" "status.readyReplicas"=1 "status.replicas"=2
I0316 11:02:58.851485 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:02:58.851550 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:02:58.851674 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:58.851714 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:02:58.851728 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:02:58.852064 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:02:58.852083 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [18.304 seconds]
CloudStackFailureDomainReconciler
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:33
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:34
Should function in different replicas conditions
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:71
Should not delete machine if status.readyReplicas <> status.replicas
/usr/src/myapp/controllers/cloudstackfailuredomain_controller_test.go:129
------------------------------
CloudStackAffinityGroupReconciler
Should patch back the affinity group as ready after calling GetOrCreateAffinityGroup.
/usr/src/myapp/controllers/cloudstackaffinitygroup_controller_test.go:35
I0316 11:03:00.137154 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:03:02.698173 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:03:02.699311 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:03:02.708487 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:02.712617 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:03:02.715228 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:03:02.717213 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:03:02.720098 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:03:02.723540 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:03:02.726280 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:03:02.730811 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:03:02.732735 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:03:02.733250 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:03:02.739461 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:02.739495 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:03:02.739602 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:03:02.740822 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:03:02.742033 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:03:02.744719 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:03:02.747882 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:03:02.751137 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:03:02.752871 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:03:02.755966 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:03:02.758940 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:03:02.761313 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:03:02.761703 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:03:02.761929 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:03:02.762416 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:03:02.774381 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:03:02.780854 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:03:02.787917 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:03:02.798861 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:03:02.807204 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:03:02.814533 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:03:02.821264 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:03:02.835865 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:03:02.873467 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:03:02.886296 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:03:02.890984 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:03:02.921782 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:03:02.951831 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:03:02.956054 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:03:02.962773 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:03:02.977008 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:03:02.986860 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:03:02.993046 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:03:03.001496 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:03:03.007457 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:03:03.038346 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:03:03.046954 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.046971 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:03.046975 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.046978 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:03.046982 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:03.046985 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:03.046989 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.046992 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:03:03.046996 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:03.046999 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:03.047003 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047019 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:03.047024 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:03.047027 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047030 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:03.047034 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047037 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:03.047040 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:03.047043 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047046 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:03.047049 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:03.047052 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047056 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047059 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:03.047062 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:03.047065 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047070 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:03.047074 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:03.047078 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:03.047092 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:03.047095 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:03.047098 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047102 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047106 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:03.047109 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:03.047112 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047115 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:03.047118 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047121 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:03.047125 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:03.047130 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:03.047132 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047137 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:03.047140 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:03.168687 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:03:03.193685 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:03:05.282094 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:03:05.282290 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackaffinitygroup" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackAffinityGroup" "source"="kind source: *v1beta2.CloudStackAffinityGroup"
I0316 11:03:05.282411 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackaffinitygroup" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackAffinityGroup"
I0316 11:03:05.383602 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackaffinitygroup" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackAffinityGroup" "worker count"=1
I0316 11:03:05.383731 11696 base_reconciler.go:132] CloudStackAffinityGroup "msg"="Logger setup complete." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.383754 11696 base_reconciler.go:433] CloudStackAffinityGroup "msg"="Getting reconciliation subject." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.383791 11696 base_reconciler.go:324] CloudStackAffinityGroup "msg"="Setting up patcher." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.384137 11696 base_reconciler.go:164] CloudStackAffinityGroup "msg"="Getting CAPI cluster." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.485218 11696 base_reconciler.go:186] CloudStackAffinityGroup "msg"="Getting CloudStackCluster cluster." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.586580 11696 base_reconciler.go:494] CloudStackAffinityGroup "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.586606 11696 base_reconciler.go:417] CloudStackAffinityGroup "msg"="Checking if paused." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.698846 11696 base_reconciler.go:132] CloudStackAffinityGroup "msg"="Logger setup complete." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.698884 11696 base_reconciler.go:433] CloudStackAffinityGroup "msg"="Getting reconciliation subject." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.698915 11696 base_reconciler.go:324] CloudStackAffinityGroup "msg"="Setting up patcher." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.698984 11696 base_reconciler.go:164] CloudStackAffinityGroup "msg"="Getting CAPI cluster." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.699008 11696 base_reconciler.go:186] CloudStackAffinityGroup "msg"="Getting CloudStackCluster cluster." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.699048 11696 base_reconciler.go:494] CloudStackAffinityGroup "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:05.699062 11696 base_reconciler.go:417] CloudStackAffinityGroup "msg"="Checking if paused." "name"="fakeaffinitygroup" "namespace"="default"
I0316 11:03:06.320496 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:03:06.320590 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:03:06.320659 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackaffinitygroup" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackAffinityGroup"
I0316 11:03:06.320772 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackaffinitygroup" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackAffinityGroup"
I0316 11:03:06.320801 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:03:06.321028 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:03:06.321067 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [7.425 seconds]
CloudStackAffinityGroupReconciler
/usr/src/myapp/controllers/cloudstackaffinitygroup_controller_test.go:28
Should patch back the affinity group as ready after calling GetOrCreateAffinityGroup.
/usr/src/myapp/controllers/cloudstackaffinitygroup_controller_test.go:35
------------------------------
CloudStackClusterReconciler With k8s like test environment.
Should create a CloudStackFailureDomain.
/usr/src/myapp/controllers/cloudstackcluster_controller_test.go:37
I0316 11:03:07.560776 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:03:11.130236 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:03:11.130419 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:03:11.133405 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:11.135538 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:03:11.137901 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:03:11.139064 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:03:11.140286 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:03:11.142159 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:03:11.143204 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:03:11.144983 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:03:11.145993 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:03:11.146130 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:03:11.147366 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:11.147388 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:03:11.147641 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:03:11.148413 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:03:11.149465 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:03:11.152740 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:03:11.155667 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:03:11.158620 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:03:11.160411 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:03:11.163993 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:03:11.166208 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:03:11.168600 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:03:11.169010 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:03:11.169323 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:03:11.169908 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:03:11.179504 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:03:11.190504 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:03:11.201191 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:03:11.205134 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:03:11.210114 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:03:11.223972 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:03:11.253105 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:03:11.260069 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:03:11.270827 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:03:11.282149 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:03:11.306243 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:03:11.324689 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:03:11.331378 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:03:11.335713 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:03:11.343858 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:03:11.360008 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:03:11.386321 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:03:11.411889 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:03:11.416265 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:03:11.421431 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:03:11.426285 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:03:11.432411 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:11.432430 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432435 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:11.432438 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:11.432441 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432445 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:11.432451 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:11.432455 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:11.432488 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:11.432493 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432507 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:11.432511 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:11.432514 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432518 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432521 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:11.432525 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432528 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:11.432531 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:11.432534 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:11.432537 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432574 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:11.432589 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:11.432594 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432604 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:11.432608 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:11.432610 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432622 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:03:11.432626 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432644 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:11.432648 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432651 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:11.432654 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:11.432657 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:11.432660 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432663 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:11.432667 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:11.432670 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:11.432673 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432675 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:11.432679 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432683 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:11.432687 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.432690 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:11.432694 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:11.546952 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:03:11.586456 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:03:13.637947 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:03:13.638070 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackcluster" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackCluster" "source"="kind source: *v1beta2.CloudStackCluster"
I0316 11:03:13.638083 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackcluster" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackCluster" "source"="kind source: *v1beta1.Cluster"
I0316 11:03:13.638089 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackcluster" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackCluster"
I0316 11:03:13.638131 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "source"="kind source: *v1beta2.CloudStackFailureDomain"
I0316 11:03:13.638141 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:03:13.663118 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:03:13.663133 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
E0316 11:03:13.663184 11696 source.go:144] controller-runtime/source "msg"="failed to get informer from cache" "error"="Timeout: failed waiting for *v1beta2.CloudStackCluster Informer to sync"
E0316 11:03:13.663195 11696 source.go:144] controller-runtime/source "msg"="failed to get informer from cache" "error"="Timeout: failed waiting for *v1beta1.Cluster Informer to sync"
I0316 11:03:13.663369 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain" "worker count"=1
I0316 11:03:13.663382 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
I0316 11:03:13.663389 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackfailuredomain" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackFailureDomain"
E0316 11:03:13.663400 11696 source.go:144] controller-runtime/source "msg"="failed to get informer from cache" "error"="Timeout: failed waiting for *v1beta2.CloudStackFailureDomain Informer to sync"
E0316 11:03:13.663502 11696 controller.go:210] "msg"="Could not wait for Cache to sync" "error"="failed to wait for cloudstackcluster caches to sync: failed to get informer from cache: Timeout: failed waiting for *v1beta1.Cluster Informer to sync" "controller"="cloudstackcluster" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackCluster"
I0316 11:03:13.663512 11696 internal.go:581] "msg"="Stopping and waiting for caches"
E0316 11:03:13.663520 11696 internal.go:545] "msg"="error received after stop sequence was engaged" "error"="failed to wait for cloudstackcluster caches to sync: failed to get informer from cache: Timeout: failed waiting for *v1beta1.Cluster Informer to sync"
I0316 11:03:13.663558 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:03:13.663563 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [7.314 seconds]
CloudStackClusterReconciler
/usr/src/myapp/controllers/cloudstackcluster_controller_test.go:29
With k8s like test environment.
/usr/src/myapp/controllers/cloudstackcluster_controller_test.go:30
Should create a CloudStackFailureDomain.
/usr/src/myapp/controllers/cloudstackcluster_controller_test.go:37
------------------------------
CloudStackClusterReconciler Without a k8s test environment.
Should create a reconciliation runner with a Cloudstack Cluster as the reconciliation subject.
/usr/src/myapp/controllers/cloudstackcluster_controller_test.go:52
------------------------------
CloudStackMachineReconciler With machine controller running.
Should call GetOrCreateVMInstance and set Status.Ready to true
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:57
I0316 11:03:14.879596 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:03:18.060224 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:03:18.060282 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:03:18.061059 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:03:18.062139 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:03:18.064774 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:03:18.068101 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:03:18.072021 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:03:18.073608 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:03:18.076288 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:03:18.079442 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:03:18.081875 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:03:18.082209 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:03:18.082455 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:03:18.082953 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:03:18.083066 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:03:18.084788 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:18.086065 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:03:18.087615 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:03:18.089040 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:03:18.090317 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:03:18.092101 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:03:18.093122 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:03:18.094718 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:03:18.095739 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:03:18.095863 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:03:18.096790 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:18.096825 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:03:18.106055 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:03:18.113301 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:03:18.121796 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:03:18.127319 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:03:18.130743 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:03:18.142875 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:03:18.164699 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:03:18.178046 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:03:18.187367 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:03:18.192247 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:03:18.196138 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:03:18.215415 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:03:18.247575 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:03:18.258943 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:03:18.272222 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:03:18.281653 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:03:18.292277 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:03:18.302304 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:03:18.310276 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:03:18.314639 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:03:18.325854 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:03:18.380457 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:18.380534 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:18.380584 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.380606 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:18.380617 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:18.380627 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.380640 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:18.380650 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.380698 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:18.380737 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.380751 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:18.380777 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:18.380799 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:18.380831 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.380868 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:18.380882 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:18.380898 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.380910 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:18.380933 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:03:18.380954 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:18.380966 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:18.380976 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.380986 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:18.380997 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.381023 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:18.381045 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.381054 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:18.381076 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.381109 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:18.381121 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:18.381130 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.381140 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:18.381164 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:18.381175 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.381186 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.381213 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:18.381242 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.381264 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:18.381277 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:18.381501 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:18.381528 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.381611 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:18.381634 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:18.381656 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:18.501807 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:03:18.533380 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:03:20.618400 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:03:20.618452 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta2.CloudStackMachine"
I0316 11:03:20.618476 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta1.Machine"
I0316 11:03:20.618486 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta1.Cluster"
I0316 11:03:20.618491 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:20.718866 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "worker count"=1
I0316 11:03:20.718960 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:20.718976 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:20.719002 11696 base_reconciler.go:324] CloudStackMachine "msg"="Setting up patcher." "name"="test-machine-1" "namespace"="default"
I0316 11:03:20.719102 11696 base_reconciler.go:164] CloudStackMachine "msg"="Getting CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:20.719116 11696 base_reconciler.go:186] CloudStackMachine "msg"="Getting CloudStackCluster cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:20.820280 11696 base_reconciler.go:494] CloudStackMachine "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:20.820315 11696 base_reconciler.go:417] CloudStackMachine "msg"="Checking if paused." "name"="test-machine-1" "namespace"="default"
I0316 11:03:21.021653 11696 cloudstackmachine_controller.go:209] CloudStackMachine "msg"="Got Bootstrap DataSecretName." "name"="test-machine-1" "namespace"="default"
I0316 11:03:21.123047 11696 cloudstackmachine_controller.go:234] CloudStackMachine "msg"="CloudStack instance Created" "instanceStatus"={"instanceState":"Running","instanceStateLastUpdated":null,"ready":false} "name"="test-machine-1" "namespace"="default"
I0316 11:03:21.123077 11696 cloudstackmachine_controller.go:252] CloudStackMachine "msg"="Machine instance is Running..." "name"="test-machine-1" "namespace"="default"
I0316 11:03:21.123520 11696 recorder.go:103] events "msg"="CloudStack instance Created" "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"2efc30fc-9a13-47ea-b82c-c2d56559e6ce","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"274"} "reason"="Created" "type"="Normal"
I0316 11:03:21.123536 11696 recorder.go:103] events "msg"="Machine instance is Running..." "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"2efc30fc-9a13-47ea-b82c-c2d56559e6ce","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"274"} "reason"="Running" "type"="Normal"
I0316 11:03:21.167538 11696 recorder.go:103] events "msg"="CloudStackMachineStateChecker created" "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"2efc30fc-9a13-47ea-b82c-c2d56559e6ce","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"274"} "reason"="Machine State Checker" "type"="Normal"
I0316 11:03:21.663506 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:03:21.663575 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:03:21.664272 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:21.664348 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:21.664403 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:03:21.665025 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:03:21.665077 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [8.010 seconds]
CloudStackMachineReconciler
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:38
With machine controller running.
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:39
Should call GetOrCreateVMInstance and set Status.Ready to true
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:57
------------------------------
CloudStackMachineReconciler With machine controller running.
Should call DestroyVMInstance when CS machine deleted
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:82
I0316 11:03:22.889964 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:03:25.834029 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:03:25.834132 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:03:25.835880 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:03:25.837344 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:03:25.841181 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:03:25.845567 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:03:25.848890 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:03:25.850753 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:03:25.854821 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:03:25.857142 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:03:25.859623 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:03:25.859969 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:03:25.860223 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:03:25.860724 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:03:25.860943 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:03:25.863456 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:25.864872 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:03:25.866550 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:03:25.868130 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:03:25.870206 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:03:25.874943 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:03:25.876574 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:03:25.878477 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:03:25.879566 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:03:25.879668 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:03:25.880561 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:25.880579 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:03:25.890273 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:03:25.899251 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:03:25.904256 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:03:25.908993 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:03:25.912908 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:03:25.918079 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:03:25.933435 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:03:25.972028 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:03:25.980642 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:03:25.988670 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:03:25.999330 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:03:26.026293 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:03:26.044737 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:03:26.055154 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:03:26.060643 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:03:26.069388 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:03:26.073276 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:03:26.088068 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:03:26.095680 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:03:26.127312 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:03:26.151319 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:03:26.159198 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:26.159220 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:26.159227 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.159231 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:26.159234 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:26.159238 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:26.159242 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.159245 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:26.159248 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.159251 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:26.159452 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:26.159462 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.159466 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:26.159470 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:26.159574 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.159583 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.159587 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:26.159701 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:26.159713 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:26.159717 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.159721 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:26.159725 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:26.159821 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.159825 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:03:26.159912 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.159920 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:26.160027 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:26.160132 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.160140 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:26.160143 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:26.160147 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.160151 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.160270 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:26.160280 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.160283 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:26.160287 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:26.160391 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:26.160400 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.160403 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:26.160406 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:26.160409 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.160413 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:26.160528 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:26.160623 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:26.272100 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:03:26.299344 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:03:28.387845 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta2.CloudStackMachine"
I0316 11:03:28.387860 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:03:28.387870 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta1.Machine"
I0316 11:03:28.387882 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta1.Cluster"
I0316 11:03:28.387892 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:28.488711 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "worker count"=1
I0316 11:03:28.488791 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:28.488810 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:28.488835 11696 base_reconciler.go:324] CloudStackMachine "msg"="Setting up patcher." "name"="test-machine-1" "namespace"="default"
I0316 11:03:28.488919 11696 base_reconciler.go:164] CloudStackMachine "msg"="Getting CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:28.488940 11696 base_reconciler.go:186] CloudStackMachine "msg"="Getting CloudStackCluster cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:28.590308 11696 base_reconciler.go:494] CloudStackMachine "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:28.590340 11696 base_reconciler.go:417] CloudStackMachine "msg"="Checking if paused." "name"="test-machine-1" "namespace"="default"
I0316 11:03:28.790940 11696 cloudstackmachine_controller.go:209] CloudStackMachine "msg"="Got Bootstrap DataSecretName." "name"="test-machine-1" "namespace"="default"
I0316 11:03:28.891393 11696 cloudstackmachine_controller.go:252] CloudStackMachine "msg"="Machine instance is Running..." "name"="test-machine-1" "namespace"="default"
I0316 11:03:28.891429 11696 recorder.go:103] events "msg"="Machine instance is Running..." "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"9f5e6786-a189-49b9-a8f8-8c20c462097b","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"276"} "reason"="Running" "type"="Normal"
I0316 11:03:28.910817 11696 recorder.go:103] events "msg"="CloudStackMachineStateChecker created" "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"9f5e6786-a189-49b9-a8f8-8c20c462097b","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"276"} "reason"="Machine State Checker" "type"="Normal"
I0316 11:03:29.445407 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.445438 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.445474 11696 base_reconciler.go:324] CloudStackMachine "msg"="Setting up patcher." "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.445638 11696 base_reconciler.go:164] CloudStackMachine "msg"="Getting CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.445671 11696 base_reconciler.go:186] CloudStackMachine "msg"="Getting CloudStackCluster cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.445700 11696 base_reconciler.go:494] CloudStackMachine "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.445711 11696 base_reconciler.go:417] CloudStackMachine "msg"="Checking if paused." "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.445807 11696 cloudstackmachine_controller.go:318] CloudStackMachine "msg"="Deleting instance" "instance-id"="Instance1" "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.445847 11696 cloudstackmachine_controller.go:331] CloudStackMachine "msg"="VM Deleted" "instanceID"="Instance1" "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.446801 11696 recorder.go:103] events "msg"="Deleting CloudStack Machine test-machine-1" "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"9f5e6786-a189-49b9-a8f8-8c20c462097b","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"282"} "reason"="Deleting" "type"="Normal"
I0316 11:03:29.457198 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.457249 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:29.457282 11696 base_reconciler.go:436] CloudStackMachine "msg"="Resource not found. Exiting reconciliation." "name"="test-machine-1" "namespace"="default"
I0316 11:03:30.459771 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:03:30.459876 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:03:30.460255 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:30.460306 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:30.460686 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:03:30.461525 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:03:30.461576 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [8.788 seconds]
CloudStackMachineReconciler
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:38
With machine controller running.
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:39
Should call DestroyVMInstance when CS machine deleted
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:82
------------------------------
CloudStackMachineReconciler With machine controller running.
Should call ResolveVMInstanceDetails when CS machine without instanceID deleted
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:121
I0316 11:03:31.675979 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:03:34.661314 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:03:34.661654 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:03:34.662567 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:03:34.663887 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:03:34.667727 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:03:34.670900 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:03:34.674120 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:03:34.675941 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:03:34.683331 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:03:34.687736 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:03:34.690638 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:03:34.691136 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:03:34.691622 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:03:34.692427 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:03:34.692566 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:03:34.694251 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:34.695541 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:03:34.697389 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:03:34.698756 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:03:34.700335 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:03:34.703635 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:03:34.705131 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:03:34.707008 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:03:34.708134 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:03:34.708228 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:03:34.709219 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:34.709266 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:03:34.717202 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:03:34.721435 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:03:34.734436 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:03:34.746057 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:03:34.765082 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:03:34.791532 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:03:34.798630 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:03:34.803296 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:03:34.813264 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:03:34.829780 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:03:34.843318 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:03:34.861355 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:03:34.876813 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:03:34.885096 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:03:34.892857 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:03:34.900000 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:03:34.905885 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:03:34.930869 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:03:34.951295 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:03:34.970448 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:03:34.976034 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:03:34.984490 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:34.984509 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:34.984513 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984516 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:34.984519 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984523 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:34.984528 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:34.984531 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984534 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:34.984537 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:34.984546 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984550 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:34.984553 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984556 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:34.984562 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984566 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:34.984569 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:34.984573 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:34.984576 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984580 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:34.984585 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:34.984588 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984634 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:34.984643 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:34.984646 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:34.984650 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984653 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:34.984657 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984660 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:34.984663 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:34.984669 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984672 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:34.984686 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984689 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:34.984710 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:34.984715 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:34.984720 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984724 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:34.984728 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:34.984731 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984734 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:03:34.984738 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:34.984750 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:34.984785 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:35.099208 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:03:35.127639 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:03:37.224834 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta2.CloudStackMachine"
I0316 11:03:37.224842 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:03:37.224856 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta1.Machine"
I0316 11:03:37.224865 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta1.Cluster"
I0316 11:03:37.224870 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:37.325363 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "worker count"=1
I0316 11:03:37.325434 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:37.325451 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:37.325472 11696 base_reconciler.go:324] CloudStackMachine "msg"="Setting up patcher." "name"="test-machine-1" "namespace"="default"
I0316 11:03:37.325701 11696 base_reconciler.go:164] CloudStackMachine "msg"="Getting CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:37.325723 11696 base_reconciler.go:186] CloudStackMachine "msg"="Getting CloudStackCluster cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:37.426363 11696 base_reconciler.go:494] CloudStackMachine "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:37.426392 11696 base_reconciler.go:417] CloudStackMachine "msg"="Checking if paused." "name"="test-machine-1" "namespace"="default"
I0316 11:03:37.628282 11696 cloudstackmachine_controller.go:209] CloudStackMachine "msg"="Got Bootstrap DataSecretName." "name"="test-machine-1" "namespace"="default"
I0316 11:03:37.729777 11696 cloudstackmachine_controller.go:252] CloudStackMachine "msg"="Machine instance is Running..." "name"="test-machine-1" "namespace"="default"
I0316 11:03:37.729882 11696 recorder.go:103] events "msg"="Machine instance is Running..." "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"f84b2a69-9cc6-4e13-b0e2-746b9b970a93","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"275"} "reason"="Running" "type"="Normal"
I0316 11:03:37.758062 11696 recorder.go:103] events "msg"="CloudStackMachineStateChecker created" "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"f84b2a69-9cc6-4e13-b0e2-746b9b970a93","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"275"} "reason"="Machine State Checker" "type"="Normal"
I0316 11:03:38.279726 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.279759 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.279784 11696 base_reconciler.go:324] CloudStackMachine "msg"="Setting up patcher." "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.279881 11696 base_reconciler.go:164] CloudStackMachine "msg"="Getting CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.279906 11696 base_reconciler.go:186] CloudStackMachine "msg"="Getting CloudStackCluster cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.280050 11696 base_reconciler.go:494] CloudStackMachine "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.280074 11696 base_reconciler.go:417] CloudStackMachine "msg"="Checking if paused." "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.280253 11696 cloudstackmachine_controller.go:318] CloudStackMachine "msg"="Deleting instance" "instance-id"="instance-id-123" "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.280270 11696 cloudstackmachine_controller.go:331] CloudStackMachine "msg"="VM Deleted" "instanceID"="instance-id-123" "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.280670 11696 recorder.go:103] events "msg"="Deleting CloudStack Machine test-machine-1" "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"f84b2a69-9cc6-4e13-b0e2-746b9b970a93","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"282"} "reason"="Deleting" "type"="Normal"
I0316 11:03:38.287582 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.287608 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:38.287627 11696 base_reconciler.go:436] CloudStackMachine "msg"="Resource not found. Exiting reconciliation." "name"="test-machine-1" "namespace"="default"
I0316 11:03:39.291162 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:03:39.291214 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:03:39.291984 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:39.292018 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:39.292038 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:03:39.292486 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:03:39.292641 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [8.835 seconds]
CloudStackMachineReconciler
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:38
With machine controller running.
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:39
Should call ResolveVMInstanceDetails when CS machine without instanceID deleted
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:121
------------------------------
CloudStackMachineReconciler With machine controller running.
Should replace ds.meta_data.xxx with proper values.
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:171
I0316 11:03:40.510038 11696 server.go:258] controller-runtime/test-env "msg"="starting control plane"
I0316 11:03:43.156569 11696 server.go:289] controller-runtime/test-env "msg"="installing CRDs"
I0316 11:03:43.156665 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/config/crd/bases"
I0316 11:03:43.158375 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:43.159548 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackaffinitygroups.yaml"
I0316 11:03:43.161462 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackclusters.yaml"
I0316 11:03:43.162594 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackfailuredomains.yaml"
I0316 11:03:43.163798 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackisolatednetworks.yaml"
I0316 11:03:43.165656 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachines.yaml"
I0316 11:03:43.167088 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinestatecheckers.yaml"
I0316 11:03:43.169574 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml"
I0316 11:03:43.170755 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="infrastructure.cluster.x-k8s.io_cloudstackzones.yaml"
I0316 11:03:43.170848 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/usr/src/myapp/test/fakes"
I0316 11:03:43.172652 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="fakes.infrastructure.cluster.x-k8s.io_cloudstackmachineowners.yaml"
I0316 11:03:43.172668 11696 crd.go:326] controller-runtime/test-env "msg"="there are more than one CRD definitions with the same <Group, Version, Kind, Name>" "GVKN"={"GVK":{"Group":"apiextensions.k8s.io","Version":"v1","Kind":"CustomResourceDefinition"},"Name":"cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"}
I0316 11:03:43.172728 11696 crd.go:316] controller-runtime/test-env "msg"="reading CRDs from path" "path"="/go/pkg/mod/sigs.k8s.io/cluster-api@v1.2.7/config/crd/bases"
I0316 11:03:43.173427 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesetbindings.yaml"
I0316 11:03:43.174438 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="addons.cluster.x-k8s.io_clusterresourcesets.yaml"
I0316 11:03:43.177021 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusterclasses.yaml"
I0316 11:03:43.179198 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_clusters.yaml"
I0316 11:03:43.183019 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinedeployments.yaml"
I0316 11:03:43.184686 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinehealthchecks.yaml"
I0316 11:03:43.187498 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinepools.yaml"
I0316 11:03:43.189731 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machines.yaml"
I0316 11:03:43.193089 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="cluster.x-k8s.io_machinesets.yaml"
I0316 11:03:43.193494 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddressclaims.yaml"
I0316 11:03:43.193741 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="ipam.cluster.x-k8s.io_ipaddresses.yaml"
I0316 11:03:43.194257 11696 crd.go:427] controller-runtime/test-env "msg"="read CRDs from file" "file"="runtime.cluster.x-k8s.io_extensionconfigs.yaml"
I0316 11:03:43.201463 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachineowners.fakes.infrastructure.cluster.x-k8s.io"
I0316 11:03:43.204673 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackaffinitygroups.infrastructure.cluster.x-k8s.io"
I0316 11:03:43.210046 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackfailuredomains.infrastructure.cluster.x-k8s.io"
I0316 11:03:43.213993 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachines.infrastructure.cluster.x-k8s.io"
I0316 11:03:43.218850 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinestatecheckers.infrastructure.cluster.x-k8s.io"
I0316 11:03:43.223331 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackmachinetemplates.infrastructure.cluster.x-k8s.io"
I0316 11:03:43.228698 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackzones.infrastructure.cluster.x-k8s.io"
I0316 11:03:43.231817 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterclasses.cluster.x-k8s.io"
I0316 11:03:43.244035 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinehealthchecks.cluster.x-k8s.io"
I0316 11:03:43.274475 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinesets.cluster.x-k8s.io"
I0316 11:03:43.283815 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesetbindings.addons.cluster.x-k8s.io"
I0316 11:03:43.289334 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusterresourcesets.addons.cluster.x-k8s.io"
I0316 11:03:43.297903 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddressclaims.ipam.cluster.x-k8s.io"
I0316 11:03:43.303337 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="clusters.cluster.x-k8s.io"
I0316 11:03:43.330117 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinedeployments.cluster.x-k8s.io"
I0316 11:03:43.348396 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machinepools.cluster.x-k8s.io"
I0316 11:03:43.363179 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="machines.cluster.x-k8s.io"
I0316 11:03:43.380481 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackclusters.infrastructure.cluster.x-k8s.io"
I0316 11:03:43.387322 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="cloudstackisolatednetworks.infrastructure.cluster.x-k8s.io"
I0316 11:03:43.404724 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="ipaddresses.ipam.cluster.x-k8s.io"
I0316 11:03:43.410488 11696 crd.go:253] controller-runtime/test-env "msg"="installing CRD" "crd"="extensionconfigs.runtime.cluster.x-k8s.io"
I0316 11:03:43.424783 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"fakes.infrastructure.cluster.x-k8s.io","Version":"fakes"}
I0316 11:03:43.424800 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424805 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:43.424809 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:43.424812 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424865 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:43.424869 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424873 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:43.424877 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424881 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:43.424886 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424889 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:43.424893 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424897 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:43.424901 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:43.424903 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424907 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:43.424917 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:43.424920 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424924 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:43.424928 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:43.424954 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424960 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:43.424963 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:43.424967 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"addons.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424971 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:43.424977 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:43.424980 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:43.424983 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424986 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:43.424989 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:43.424992 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.424996 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:43.425000 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:43.425003 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.425007 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha3"}
I0316 11:03:43.425009 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1alpha4"}
I0316 11:03:43.425012 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.425016 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.425019 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:43.425022 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta1"}
I0316 11:03:43.425025 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"infrastructure.cluster.x-k8s.io","Version":"v1beta2"}
I0316 11:03:43.425028 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"ipam.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:43.425032 11696 crd.go:155] controller-runtime/test-env "msg"="adding API in waitlist" "GV"={"Group":"runtime.cluster.x-k8s.io","Version":"v1alpha1"}
I0316 11:03:43.545093 11696 server.go:300] controller-runtime/test-env "msg"="installing webhooks"
I0316 11:03:43.574797 11696 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8080"
I0316 11:03:45.649869 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta2.CloudStackMachine"
I0316 11:03:45.649886 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta1.Machine"
I0316 11:03:45.649877 11696 internal.go:366] "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics"
I0316 11:03:45.649893 11696 controller.go:185] "msg"="Starting EventSource" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "source"="kind source: *v1beta1.Cluster"
I0316 11:03:45.649921 11696 controller.go:193] "msg"="Starting Controller" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:45.750879 11696 controller.go:227] "msg"="Starting workers" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine" "worker count"=1
I0316 11:03:45.750964 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:45.750970 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:45.750989 11696 base_reconciler.go:324] CloudStackMachine "msg"="Setting up patcher." "name"="test-machine-1" "namespace"="default"
I0316 11:03:45.751070 11696 base_reconciler.go:164] CloudStackMachine "msg"="Getting CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:45.751082 11696 base_reconciler.go:186] CloudStackMachine "msg"="Getting CloudStackCluster cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:45.852135 11696 base_reconciler.go:494] CloudStackMachine "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:45.852159 11696 base_reconciler.go:417] CloudStackMachine "msg"="Checking if paused." "name"="test-machine-1" "namespace"="default"
I0316 11:03:46.054992 11696 cloudstackmachine_controller.go:209] CloudStackMachine "msg"="Got Bootstrap DataSecretName." "name"="test-machine-1" "namespace"="default"
I0316 11:03:46.155859 11696 cloudstackmachine_controller.go:234] CloudStackMachine "msg"="CloudStack instance Created" "instanceStatus"={"instanceState":"Running","instanceStateLastUpdated":null,"ready":false} "name"="test-machine-1" "namespace"="default"
I0316 11:03:46.155976 11696 cloudstackmachine_controller.go:252] CloudStackMachine "msg"="Machine instance is Running..." "name"="test-machine-1" "namespace"="default"
I0316 11:03:46.155979 11696 recorder.go:103] events "msg"="CloudStack instance Created" "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"8c56abdf-aadc-4bb1-8a4a-4cc511beb8a3","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"275"} "reason"="Created" "type"="Normal"
I0316 11:03:46.156253 11696 recorder.go:103] events "msg"="Machine instance is Running..." "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"8c56abdf-aadc-4bb1-8a4a-4cc511beb8a3","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"275"} "reason"="Running" "type"="Normal"
I0316 11:03:46.195098 11696 recorder.go:103] events "msg"="CloudStackMachineStateChecker created" "object"={"kind":"CloudStackMachine","namespace":"default","name":"test-machine-1","uid":"8c56abdf-aadc-4bb1-8a4a-4cc511beb8a3","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"275"} "reason"="Machine State Checker" "type"="Normal"
I0316 11:03:46.693233 11696 internal.go:571] "msg"="Stopping and waiting for non leader election runnables"
I0316 11:03:46.693290 11696 internal.go:575] "msg"="Stopping and waiting for leader election runnables"
I0316 11:03:46.693339 11696 controller.go:247] "msg"="Shutdown signal received, waiting for all workers to finish" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:46.693369 11696 controller.go:249] "msg"="All workers finished" "controller"="cloudstackmachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="CloudStackMachine"
I0316 11:03:46.693414 11696 internal.go:581] "msg"="Stopping and waiting for caches"
I0316 11:03:46.693624 11696 internal.go:585] "msg"="Stopping and waiting for webhooks"
I0316 11:03:46.693656 11696 internal.go:589] "msg"="Wait completed, proceeding to shutdown the manager"
------------------------------
• [SLOW TEST] [7.385 seconds]
CloudStackMachineReconciler
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:38
With machine controller running.
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:39
Should replace ds.meta_data.xxx with proper values.
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:171
------------------------------
CloudStackMachineReconciler With a fake ctrlRuntimeClient and no test Env at all.
Should exit having not found a failure domain to place the machine in.
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:206
I0316 11:03:47.893838 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.893853 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.893939 11696 base_reconciler.go:324] CloudStackMachine "msg"="Setting up patcher." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.893996 11696 base_reconciler.go:164] CloudStackMachine "msg"="Getting CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.894043 11696 base_reconciler.go:186] CloudStackMachine "msg"="Getting CloudStackCluster cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.894103 11696 base_reconciler.go:494] CloudStackMachine "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.894109 11696 base_reconciler.go:417] CloudStackMachine "msg"="Checking if paused." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.894135 11696 base_reconciler.go:315] CloudStackMachine "msg"="CloudStackCluster not ready. Requeuing." "name"="test-machine-1" "namespace"="default"
------------------------------
CloudStackMachineReconciler With a fake ctrlRuntimeClient and no test Env at all.
Should create event Machine instance is Running
/usr/src/myapp/controllers/cloudstackmachine_controller_test.go:225
I0316 11:03:47.897088 11696 base_reconciler.go:132] CloudStackMachine "msg"="Logger setup complete." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.897146 11696 base_reconciler.go:433] CloudStackMachine "msg"="Getting reconciliation subject." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.897246 11696 base_reconciler.go:324] CloudStackMachine "msg"="Setting up patcher." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.897316 11696 base_reconciler.go:164] CloudStackMachine "msg"="Getting CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.897399 11696 base_reconciler.go:186] CloudStackMachine "msg"="Getting CloudStackCluster cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.897593 11696 base_reconciler.go:494] CloudStackMachine "msg"="Requeuing if missing ReconciliationSubject, CloudStack cluster, or CAPI cluster." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.897697 11696 base_reconciler.go:417] CloudStackMachine "msg"="Checking if paused." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.897887 11696 cloudstackmachine_controller.go:209] CloudStackMachine "msg"="Got Bootstrap DataSecretName." "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.898122 11696 cloudstackmachine_controller.go:234] CloudStackMachine "msg"="CloudStack instance Created" "instanceStatus"={"instanceState":"Running","instanceStateLastUpdated":null,"ready":false} "name"="test-machine-1" "namespace"="default"
I0316 11:03:47.898247 11696 cloudstackmachine_controller.go:252] CloudStackMachine "msg"="Machine instance is Running..." "name"="test-machine-1" "namespace"="default"
------------------------------
[AfterSuite]
/usr/src/myapp/controllers/controllers_suite_test.go:318
------------------------------
[AfterSuite] PASSED [0.000 seconds]
[AfterSuite]
/usr/src/myapp/controllers/controllers_suite_test.go:318
------------------------------
Ran 19 of 19 Specs in 185.505 seconds
SUCCESS! -- 19 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS
coverage: 49.1% of statements
Running Suite: Cloud Suite - /usr/src/myapp/pkg/cloud
=====================================================
Random Seed: 1678964398
Will run 110 of 133 specs
------------------------------
[BeforeSuite]
/usr/src/myapp/pkg/cloud/cloud_suite_test.go:43
------------------------------
[BeforeSuite] PASSED [0.000 seconds]
[BeforeSuite]
/usr/src/myapp/pkg/cloud/cloud_suite_test.go:43
------------------------------
Instance when fetching a VM instance
Handles an unknown error when fetching by ID
/usr/src/myapp/pkg/cloud/instance_test.go:76
------------------------------
Instance when fetching a VM instance
Handles finding more than one VM instance by ID
/usr/src/myapp/pkg/cloud/instance_test.go:81
------------------------------
Instance when fetching a VM instance
sets dummies.CSMachine1 spec and status values when VM instance found by ID
/usr/src/myapp/pkg/cloud/instance_test.go:87
------------------------------
Instance when fetching a VM instance
handles an unknown error when fetching by name
/usr/src/myapp/pkg/cloud/instance_test.go:95
------------------------------
Instance when fetching a VM instance
handles finding more than one VM instance by Name
/usr/src/myapp/pkg/cloud/instance_test.go:102
------------------------------
Instance when fetching a VM instance
sets dummies.CSMachine1 spec and status values when VM instance found by Name
/usr/src/myapp/pkg/cloud/instance_test.go:110
------------------------------
Instance when creating a VM instance
doesn't re-create if one already exists.
/usr/src/myapp/pkg/cloud/instance_test.go:130
------------------------------
Instance when creating a VM instance
returns unknown error while fetching VM instance
/usr/src/myapp/pkg/cloud/instance_test.go:137
------------------------------
Instance when creating a VM instance
returns errors occurring while fetching service offering information
/usr/src/myapp/pkg/cloud/instance_test.go:144
------------------------------
Instance when creating a VM instance
returns errors if more than one service offering found
/usr/src/myapp/pkg/cloud/instance_test.go:152
------------------------------
Instance when creating a VM instance
returns errors while fetching template
/usr/src/myapp/pkg/cloud/instance_test.go:160
------------------------------
Instance when creating a VM instance
returns errors when more than one template found
/usr/src/myapp/pkg/cloud/instance_test.go:171
------------------------------
Instance when creating a VM instance
returns errors when more than one diskoffering found
/usr/src/myapp/pkg/cloud/instance_test.go:181
------------------------------
Instance when creating a VM instance
returns errors when fetching diskoffering
/usr/src/myapp/pkg/cloud/instance_test.go:192
------------------------------
Instance when creating a VM instance
returns errors when disk size not zero for non-customized disk offering
/usr/src/myapp/pkg/cloud/instance_test.go:204
------------------------------
Instance when creating a VM instance
returns errors when disk size zero for customized disk offering
/usr/src/myapp/pkg/cloud/instance_test.go:217
------------------------------
Instance when creating a VM instance
handles deployment errors
/usr/src/myapp/pkg/cloud/instance_test.go:230
------------------------------
Instance when creating a VM instance when using UUIDs and/or names to locate service offerings and templates
works with service offering name and template name
/usr/src/myapp/pkg/cloud/instance_test.go:278
------------------------------
Instance when creating a VM instance when using UUIDs and/or names to locate service offerings and templates
works with service offering name and template name without disk offering
/usr/src/myapp/pkg/cloud/instance_test.go:294
------------------------------
Instance when creating a VM instance when using UUIDs and/or names to locate service offerings and templates
works with service offering ID and template name
/usr/src/myapp/pkg/cloud/instance_test.go:308
------------------------------
Instance when creating a VM instance when using UUIDs and/or names to locate service offerings and templates
works with service offering name and template ID
/usr/src/myapp/pkg/cloud/instance_test.go:324
------------------------------
Instance when creating a VM instance when using UUIDs and/or names to locate service offerings and templates
works with service offering ID and template ID
/usr/src/myapp/pkg/cloud/instance_test.go:339
------------------------------
Instance when creating a VM instance when using UUIDs and/or names to locate service offerings and templates
works with Id and name both provided
/usr/src/myapp/pkg/cloud/instance_test.go:358
------------------------------
Instance when creating a VM instance when using both UUIDs and names to locate service offerings and templates
works with Id and name both provided, offering name mismatch
/usr/src/myapp/pkg/cloud/instance_test.go:381
------------------------------
Instance when creating a VM instance when using both UUIDs and names to locate service offerings and templates
works with Id and name both provided, template name mismatch
/usr/src/myapp/pkg/cloud/instance_test.go:394
------------------------------
Instance when creating a VM instance when using both UUIDs and names to locate service offerings and templates
works with Id and name both provided, disk offering id/name mismatch
/usr/src/myapp/pkg/cloud/instance_test.go:409
------------------------------
Instance when destroying a VM instance
calls destroy and finds VM doesn't exist, then returns nil
/usr/src/myapp/pkg/cloud/instance_test.go:444
------------------------------
Instance when destroying a VM instance
calls destroy and returns unexpected error
/usr/src/myapp/pkg/cloud/instance_test.go:456
------------------------------
Instance when destroying a VM instance
calls destroy without error but cannot resolve VM after
/usr/src/myapp/pkg/cloud/instance_test.go:467
------------------------------
Instance when destroying a VM instance
calls destroy without error and identifies it as expunging
/usr/src/myapp/pkg/cloud/instance_test.go:481
------------------------------
Instance when destroying a VM instance
calls destroy without error and identifies it as expunged
/usr/src/myapp/pkg/cloud/instance_test.go:497
------------------------------
Instance when destroying a VM instance
calls destroy without error and identifies it as stopping
/usr/src/myapp/pkg/cloud/instance_test.go:513
------------------------------
Helpers
should compress and encode string
/usr/src/myapp/pkg/cloud/helpers_test.go:35
------------------------------
Network for an existing network
resolves network by ID
/usr/src/myapp/pkg/cloud/network_test.go:55
------------------------------
Network for an existing network
resolves network by Name
/usr/src/myapp/pkg/cloud/network_test.go:62
------------------------------
Network for an existing network
When there exists more than one network with the same name
/usr/src/myapp/pkg/cloud/network_test.go:68
------------------------------
Network Remove cluster tag from network
Remove tag from network
/usr/src/myapp/pkg/cloud/network_test.go:78
------------------------------
Zone an existing abstract dummies.CSCluster
handles zone not found.
/usr/src/myapp/pkg/cloud/zone_test.go:59
------------------------------
Zone an existing abstract dummies.CSCluster
handles multiple zone IDs returned
/usr/src/myapp/pkg/cloud/zone_test.go:68
------------------------------
Zone an existing abstract dummies.CSCluster
returns multiple zones for a given id
/usr/src/myapp/pkg/cloud/zone_test.go:77
------------------------------
Zone Resolve network for zone
get network by name specfied in zone spec
/usr/src/myapp/pkg/cloud/zone_test.go:87
------------------------------
Zone Resolve network for zone
get network by name specfied in zone spec returns > 1 network
/usr/src/myapp/pkg/cloud/zone_test.go:93
------------------------------
Zone Resolve network for zone
get network by id specfied in zone spec
/usr/src/myapp/pkg/cloud/zone_test.go:102
------------------------------
Zone Resolve network for zone
get network by id fails
/usr/src/myapp/pkg/cloud/zone_test.go:108
------------------------------
Network Get or Create Isolated network in CloudStack
calls to create an isolated network when not found
/usr/src/myapp/pkg/cloud/isolated_network_test.go:70
------------------------------
Network Get or Create Isolated network in CloudStack
fails to get network offering from CloudStack
/usr/src/myapp/pkg/cloud/isolated_network_test.go:113
------------------------------
Network for a closed firewall
OpenFirewallRule asks CloudStack to open the firewall
/usr/src/myapp/pkg/cloud/isolated_network_test.go:125
------------------------------
Network for an open firewall
OpenFirewallRule asks CloudStack to open the firewall anyway, but doesn't fail
/usr/src/myapp/pkg/cloud/isolated_network_test.go:137
------------------------------
Network in an isolated network with public IPs available
will resolve public IP details given an endpoint spec
/usr/src/myapp/pkg/cloud/isolated_network_test.go:150
------------------------------
Network In an isolated network with all public IPs allocated
No public IP addresses available
/usr/src/myapp/pkg/cloud/isolated_network_test.go:165
------------------------------
Network In an isolated network with all public IPs allocated
All Public IPs allocated
/usr/src/myapp/pkg/cloud/isolated_network_test.go:177
------------------------------
Network Associate Public IP address to Network
Successfully Associated Public IP to provided isolated network
/usr/src/myapp/pkg/cloud/isolated_network_test.go:200
------------------------------
Network Associate Public IP address to Network
Failure Associating Public IP to Isolated network
/usr/src/myapp/pkg/cloud/isolated_network_test.go:224
------------------------------
Network The specific load balancer rule does exist
resolves the rule's ID
/usr/src/myapp/pkg/cloud/isolated_network_test.go:239
------------------------------
Network The specific load balancer rule does exist
Failed to resolve LB rule details
/usr/src/myapp/pkg/cloud/isolated_network_test.go:250
------------------------------
Network The specific load balancer rule does exist
Failed to list LB rules
/usr/src/myapp/pkg/cloud/isolated_network_test.go:261
------------------------------
Network The specific load balancer rule does exist
doesn't create a new load balancer rule on create
/usr/src/myapp/pkg/cloud/isolated_network_test.go:271
------------------------------
Network Assign VM to Load Balancer rule
Associates VM to LB rule
/usr/src/myapp/pkg/cloud/isolated_network_test.go:284
------------------------------
Network Assign VM to Load Balancer rule
Associating VM to LB rule fails
/usr/src/myapp/pkg/cloud/isolated_network_test.go:297
------------------------------
Network Assign VM to Load Balancer rule
LB Rule already assigned to VM
/usr/src/myapp/pkg/cloud/isolated_network_test.go:310
------------------------------
Network load balancer rule does not exist
calls cloudstack to create a new load balancer rule.
/usr/src/myapp/pkg/cloud/isolated_network_test.go:327
------------------------------
Network load balancer rule does not exist
Fails to resolve load balancer rule details
/usr/src/myapp/pkg/cloud/isolated_network_test.go:341
------------------------------
Network load balancer rule does not exist
Fails to create a new load balancer rule.
/usr/src/myapp/pkg/cloud/isolated_network_test.go:350
------------------------------
Network Delete Network
Calls CloudStack to delete network
/usr/src/myapp/pkg/cloud/isolated_network_test.go:367
------------------------------
Network Delete Network
Network deletion failure
/usr/src/myapp/pkg/cloud/isolated_network_test.go:375
------------------------------
Network Dispose or cleanup isolate network resources
delete all isolated network resources when not managed by CAPC
/usr/src/myapp/pkg/cloud/isolated_network_test.go:386
------------------------------
Network Dispose or cleanup isolate network resources
delete all isolated network resources when managed by CAPC
/usr/src/myapp/pkg/cloud/isolated_network_test.go:396
------------------------------
Network Dispose or cleanup isolate network resources
disassociate IP address fails due to failure in deleting a resource i.e., disassociate Public IP
/usr/src/myapp/pkg/cloud/isolated_network_test.go:414
•SSS
------------------------------
AffinityGroup Unit Tests Fetch or Create Affinity group
fetches an affinity group by Name
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:59
------------------------------
AffinityGroup Unit Tests Fetch or Create Affinity group
fetches an affinity group by ID
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:66
------------------------------
AffinityGroup Unit Tests Fetch or Create Affinity group
creates an affinity group
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:72
fakeaffinitygroup
------------------------------
AffinityGroup Unit Tests Fetch or Create Affinity group
creates an affinity group if Name provided returns more than one affinity group
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:84
------------------------------
AffinityGroup Unit Tests Fetch or Create Affinity group
creates an affinity group if getting affinity group by name fails
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:94
------------------------------
AffinityGroup Unit Tests Fetch or Create Affinity group
creates an affinity group if ID provided returns more than one affinity group
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:104
------------------------------
AffinityGroup Unit Tests Fetch or Create Affinity group
creates an affinity group if getting affinity group by ID fails
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:113
------------------------------
AffinityGroup Unit Tests Delete Affinity group in CloudStack
delete affinity group
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:124
•SS
------------------------------
AffinityGroup Unit Tests
Associate affinity group
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:164
------------------------------
AffinityGroup Unit Tests
Disassociate affinity group
/usr/src/myapp/pkg/cloud/affinity_groups_test.go:177
------------------------------
User Credentials Get domain in CloudStack
search for CloudStack domain
/usr/src/myapp/pkg/cloud/user_credentials_test.go:65
------------------------------
User Credentials Get domain in CloudStack
search for CloudStack domain with incorrect domain path
/usr/src/myapp/pkg/cloud/user_credentials_test.go:77
------------------------------
User Credentials Get domain in CloudStack
search for CloudStack domain returns more than one domain
/usr/src/myapp/pkg/cloud/user_credentials_test.go:91
------------------------------
User Credentials Get domain in CloudStack
search for CloudStack domain when only domain Name is provided
/usr/src/myapp/pkg/cloud/user_credentials_test.go:105
------------------------------
User Credentials Get domain in CloudStack
search for CloudStack domain when only domain Name is provided, but returns > 1 domain
/usr/src/myapp/pkg/cloud/user_credentials_test.go:116
------------------------------
User Credentials Get Account in CloudStack
search for account in CloudStack
/usr/src/myapp/pkg/cloud/user_credentials_test.go:131
------------------------------
User Credentials Get Account in CloudStack
no account found in CloudStack for the provided Account name
/usr/src/myapp/pkg/cloud/user_credentials_test.go:149
------------------------------
User Credentials Get Account in CloudStack
More than one account found in the provided domain and account name
/usr/src/myapp/pkg/cloud/user_credentials_test.go:165
------------------------------
User Credentials Get Account in CloudStack
fails to list accounts
/usr/src/myapp/pkg/cloud/user_credentials_test.go:181
------------------------------
User Credentials Get User from CloudStack
search for user in CloudStack
/usr/src/myapp/pkg/cloud/user_credentials_test.go:201
------------------------------
User Credentials Get User from CloudStack
search for user fails while resolving account in CloudStack
/usr/src/myapp/pkg/cloud/user_credentials_test.go:227
------------------------------
User Credentials Get User from CloudStack
search for user in CloudStack fails
/usr/src/myapp/pkg/cloud/user_credentials_test.go:243
------------------------------
User Credentials Get User from CloudStack
search for user in CloudStack results in more than one user
/usr/src/myapp/pkg/cloud/user_credentials_test.go:263
------------------------------
User Credentials Get user keys in CloudStack
get user keys
/usr/src/myapp/pkg/cloud/user_credentials_test.go:306
------------------------------
User Credentials Get user keys in CloudStack
get user keys fils when resolving user
/usr/src/myapp/pkg/cloud/user_credentials_test.go:327
------------------------------
User Credentials Get user keys in CloudStack
get user keys fils when resolving user keys
/usr/src/myapp/pkg/cloud/user_credentials_test.go:340
------------------------------
User Credentials Get user with keys
get first user for given account and domain
/usr/src/myapp/pkg/cloud/user_credentials_test.go:375
------------------------------
User Credentials Get user with keys
fails to resolve accout
/usr/src/myapp/pkg/cloud/user_credentials_test.go:406
------------------------------
User Credentials Get user with keys
fails to resolve accout
/usr/src/myapp/pkg/cloud/user_credentials_test.go:417
•SSSSSS
------------------------------
Client When fetching a YAML config.
Handles the positive case.
/usr/src/myapp/pkg/cloud/client_test.go:48
------------------------------
S [SKIPPED] [0.000 seconds]
Client
/usr/src/myapp/pkg/cloud/client_test.go:37
When fetching a YAML config.
/usr/src/myapp/pkg/cloud/client_test.go:47
[It] Handles the positive case.
/usr/src/myapp/pkg/cloud/client_test.go:48
Dev test suite.
In [It] at: /usr/src/myapp/pkg/cloud/client_test.go:52
------------------------------
Client GetClientCacheTTL
Returns the default TTL when a nil is passed
/usr/src/myapp/pkg/cloud/client_test.go:64
------------------------------
Client GetClientCacheTTL
Returns the default TTL when an empty config map is passed
/usr/src/myapp/pkg/cloud/client_test.go:69
------------------------------
Client GetClientCacheTTL
Returns the default TTL when the TTL key does not exist
/usr/src/myapp/pkg/cloud/client_test.go:75
------------------------------
Client GetClientCacheTTL
Returns the default TTL when the TTL value is invalid
/usr/src/myapp/pkg/cloud/client_test.go:83
------------------------------
Client GetClientCacheTTL
Returns the TTL from the input clientConfig map
/usr/src/myapp/pkg/cloud/client_test.go:91
------------------------------
Client NewClientFromConf
Returns a new client
/usr/src/myapp/pkg/cloud/client_test.go:109
------------------------------
Client NewClientFromConf
Returns a new client for a different config
/usr/src/myapp/pkg/cloud/client_test.go:118
------------------------------
Client NewClientFromConf
Returns a cached client for the same config
/usr/src/myapp/pkg/cloud/client_test.go:130
------------------------------
Client NewClientFromConf
Returns a new client after cache expiration
/usr/src/myapp/pkg/cloud/client_test.go:142
•SSSSSSSSSSSS
------------------------------
Tag Unit Tests Add cluster tag
Add cluster tag if managed by CAPC
/usr/src/myapp/pkg/cloud/tags_test.go:155
------------------------------
Tag Unit Tests Delete tags
delete resource tags fails
/usr/src/myapp/pkg/cloud/tags_test.go:168
------------------------------
Tag Unit Tests Get tags for a resource
listing tags for a resource fails
/usr/src/myapp/pkg/cloud/tags_test.go:191
------------------------------
[AfterSuite]
/usr/src/myapp/pkg/cloud/cloud_suite_test.go:77
------------------------------
[AfterSuite] PASSED [0.000 seconds]
[AfterSuite]
/usr/src/myapp/pkg/cloud/cloud_suite_test.go:77
------------------------------
Ran 109 of 133 Specs in 0.319 seconds
SUCCESS! -- 109 Passed | 0 Failed | 0 Pending | 24 Skipped
PASS
coverage: 77.9% of statements
composite coverage: 39.0% of statements
Ginkgo ran 4 suites in 3m50.73609598s
Test Suite Passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment