This job view page is being replaced by Spyglass soon. Check out the new job view.
PRKarthik-K-N: Add scale from and to 0 support for autoscaler
ResultFAILURE
Tests 0 failed / 33 succeeded
Started2022-09-16 05:02
Elapsed1m11s
Revision5ee453c77b282c5685e42bfd7942aa445b8a63d6
Refs 860

No Test Failures!


Show 33 Passed Tests

Error lines from build-log.txt

... skipping 146 lines ...
I0916 05:04:05.021899   10420 server.go:148] controller-runtime/webhook "msg"="Registering webhook" "path"="/validate-infrastructure-cluster-x-k8s-io-v1beta1-ibmvpcmachinetemplate" 
Starting the manager
I0916 05:04:05.022066   10420 server.go:216] controller-runtime/webhook/webhooks "msg"="Starting webhook server"  
I0916 05:04:05.022374   10420 logr.go:249] controller-runtime/certwatcher "msg"="Updated current TLS certificate"  
I0916 05:04:05.022572   10420 logr.go:249] controller-runtime/webhook "msg"="Serving webhook server"  "host"="" "port"=32795
I0916 05:04:05.022637   10420 logr.go:249] controller-runtime/certwatcher "msg"="Starting certificate watcher"  
2022/09/16 05:04:06 http: TLS handshake error from 127.0.0.1:40334: EOF
I0916 05:04:06.068070   10420 logr.go:249] ibmpowervscluster-resource "msg"="default"  "name"=""
I0916 05:04:06.070759   10420 logr.go:249] ibmpowervscluster-resource "msg"="validate create"  "name"="powervs-test-ppmxx"
I0916 05:04:06.294664   10420 logr.go:249] ibmpowervscluster-resource "msg"="default"  "name"=""
I0916 05:04:06.296678   10420 logr.go:249] ibmpowervscluster-resource "msg"="validate create"  "name"="powervs-test-gb7h2"
I0916 05:04:06.301971   10420 ibmpowervscluster_controller.go:78]  "msg"="Cluster Controller has not yet set OwnerRef" "ibmpowervscluster"={"Namespace":"namespace-xjlii-qtnv5","Name":"powervs-test-gb7h2"} 
I0916 05:04:06.419011   10420 logr.go:249] ibmpowervsimage-resource "msg"="default"  "name"="capi-image"
... skipping 14 lines ...
I0916 05:04:06.464586   10420 ibmpowervsimage_controller.go:177]  "msg"="ImageID - capi-image-id"  
I0916 05:04:06.464602   10420 ibmpowervsimage_controller.go:179]  "msg"="ImageState - queued"  
I0916 05:04:06.464623   10420 ibmpowervsimage_controller.go:183]  "msg"="Image is in queued state"  
I0916 05:04:06.464738   10420 powervs_image.go:173]  "msg"="Image already exists"  
I0916 05:04:06.464766   10420 ibmpowervsimage_controller.go:177]  "msg"="ImageID - capi-image-id"  
I0916 05:04:06.464778   10420 ibmpowervsimage_controller.go:179]  "msg"="ImageState - unknown"  
I0916 05:04:06.464799   10420 ibmpowervsimage_controller.go:193]  "msg"="PowerVS image state is undefined"  "image-id"="capi-image-id" "state"="unknown"
I0916 05:04:06.464814   10420 ibmpowervsimage_controller.go:200]  "msg"="Image is not yet ready"  
I0916 05:04:06.464938   10420 powervs_image.go:173]  "msg"="Image already exists"  
I0916 05:04:06.464965   10420 ibmpowervsimage_controller.go:177]  "msg"="ImageID - capi-image-id"  
I0916 05:04:06.464978   10420 ibmpowervsimage_controller.go:179]  "msg"="ImageState - active"  
I0916 05:04:06.464992   10420 ibmpowervsimage_controller.go:188]  "msg"="Image is in active state"  
I0916 05:04:06.465165   10420 ibmpowervsimage_controller.go:208]  "msg"="Handling deleted IBMPowerVSImage"  
I0916 05:04:06.465188   10420 ibmpowervsimage_controller.go:218]  "msg"="ImageID is not yet set, hence not invoking the powervs API to delete the image"  
I0916 05:04:06.465200   10420 ibmpowervsimage_controller.go:220]  "msg"="JobID is not yet set, hence not invoking the powervs API to delete the image import job"  
I0916 05:04:06.465304   10420 ibmpowervsimage_controller.go:208]  "msg"="Handling deleted IBMPowerVSImage"  
I0916 05:04:06.465324   10420 ibmpowervsimage_controller.go:218]  "msg"="ImageID is not yet set, hence not invoking the powervs API to delete the image"  
I0916 05:04:06.465368   10420 ibmpowervsimage_controller.go:224]  "msg"="error deleting IBMPowerVSImage Import Job"  
I0916 05:04:06.465472   10420 ibmpowervsimage_controller.go:208]  "msg"="Handling deleted IBMPowerVSImage"  
I0916 05:04:06.465498   10420 ibmpowervsimage_controller.go:218]  "msg"="ImageID is not yet set, hence not invoking the powervs API to delete the image"  
I0916 05:04:06.465625   10420 ibmpowervsimage_controller.go:208]  "msg"="Handling deleted IBMPowerVSImage"  
I0916 05:04:06.465655   10420 ibmpowervsimage_controller.go:232]  "msg"="error deleting IBMPowerVSImage"  
I0916 05:04:06.465736   10420 ibmpowervsimage_controller.go:208]  "msg"="Handling deleted IBMPowerVSImage"  
I0916 05:04:06.578901   10420 logr.go:249] ibmpowervsmachine-resource "msg"="default"  "name"="powervs-test-1"
I0916 05:04:06.580866   10420 logr.go:249] ibmpowervsmachine-resource "msg"="validate create"  "name"="powervs-test-1"
I0916 05:04:06.595095   10420 ibmpowervsmachine_controller.go:87]  "msg"="Machine Controller has not yet set OwnerRef" "ibmpowervsmachine"={"Namespace":"namespace-4r5o1-rt2zd","Name":"powervs-test-1"} 
I0916 05:04:06.607165   10420 logr.go:249] ibmpowervsmachine-resource "msg"="default"  "name"="powervs-test-2"
I0916 05:04:06.608951   10420 logr.go:249] ibmpowervsmachine-resource "msg"="validate create"  "name"="powervs-test-2"
... skipping 8 lines ...
I0916 05:04:06.801624   10420 logr.go:249] ibmpowervsmachine-resource "msg"="default"  "name"="powervs-test-5"
I0916 05:04:06.803341   10420 logr.go:249] ibmpowervsmachine-resource "msg"="validate create"  "name"="powervs-test-5"
I0916 05:04:06.806550   10420 ibmpowervsmachine_controller.go:118]  "msg"="IBMPowerVSImage is not available yet" "cluster"="capi-test-3" "ibmpowervsmachine"={"Namespace":"namespace-k6ryt-qqmg2","Name":"powervs-test-5"} 
I0916 05:04:06.825750   10420 ibmpowervsmachine_controller.go:163]  "msg"="Handling deleted IBMPowerVSMachine"  
I0916 05:04:06.825782   10420 ibmpowervsmachine_controller.go:173]  "msg"="InstanceID is not yet set, hence not invoking the powervs API to delete the instance"  
I0916 05:04:06.825855   10420 ibmpowervsmachine_controller.go:163]  "msg"="Handling deleted IBMPowerVSMachine"  
I0916 05:04:06.825886   10420 ibmpowervsmachine_controller.go:177]  "msg"="error deleting IBMPowerVSMachine"  
I0916 05:04:06.825949   10420 ibmpowervsmachine_controller.go:163]  "msg"="Handling deleted IBMPowerVSMachine"  
I0916 05:04:06.826153   10420 ibmpowervsmachine_controller.go:194]  "msg"="Reconciling IBMPowerVSMachine"  
I0916 05:04:06.826173   10420 ibmpowervsmachine_controller.go:197]  "msg"="Cluster infrastructure is not ready yet"  
I0916 05:04:06.826224   10420 ibmpowervsmachine_controller.go:194]  "msg"="Reconciling IBMPowerVSMachine"  
I0916 05:04:06.826236   10420 ibmpowervsmachine_controller.go:204]  "msg"="IBMPowerVSImage is not ready yet"  
I0916 05:04:06.826273   10420 ibmpowervsmachine_controller.go:194]  "msg"="Reconciling IBMPowerVSMachine"  
I0916 05:04:06.826283   10420 ibmpowervsmachine_controller.go:212]  "msg"="Bootstrap data secret reference is not yet available"  
I0916 05:04:06.826352   10420 ibmpowervsmachine_controller.go:194]  "msg"="Reconciling IBMPowerVSMachine"  
E0916 05:04:06.826385   10420 ibmpowervsmachine_controller.go:221]  "msg"="unable to create instance" "error"="failed to retrieve bootstrap data secret for IBMPowerVSMachine /: secrets \"data-secret\" not found"  
I0916 05:04:06.826558   10420 ibmpowervsmachine_controller.go:194]  "msg"="Reconciling IBMPowerVSMachine"  
I0916 05:04:06.826617   10420 powervs_machine.go:458]  "msg"="failed to get network attached to VM"  "Network ID"="capi-net-id" "VM"="capi-test-machine"
I0916 05:04:06.826672   10420 ibmpowervsmachine_controller.go:194]  "msg"="Reconciling IBMPowerVSMachine"  
I0916 05:04:06.826709   10420 powervs_machine.go:458]  "msg"="failed to get network attached to VM"  "Network ID"="capi-net-id" "VM"="capi-test-machine"
I0916 05:04:06.826764   10420 ibmpowervsmachine_controller.go:194]  "msg"="Reconciling IBMPowerVSMachine"  
I0916 05:04:06.826800   10420 powervs_machine.go:458]  "msg"="failed to get network attached to VM"  "Network ID"="capi-net-id" "VM"="capi-test-machine"
I0916 05:04:06.826847   10420 ibmpowervsmachine_controller.go:194]  "msg"="Reconciling IBMPowerVSMachine"  
I0916 05:04:06.826878   10420 powervs_machine.go:458]  "msg"="failed to get network attached to VM"  "Network ID"="capi-net-id" "VM"="capi-test-machine"
I0916 05:04:06.826929   10420 ibmpowervsmachine_controller.go:194]  "msg"="Reconciling IBMPowerVSMachine"  
I0916 05:04:06.826958   10420 powervs_machine.go:458]  "msg"="failed to get network attached to VM"  "Network ID"="capi-net-id" "VM"="capi-test-machine"
I0916 05:04:06.826986   10420 ibmpowervsmachine_controller.go:260]  "msg"="PowerVS instance state is undefined"  "instance-id"="capi-test-machine-id" "state"="UNKNOWN"
E0916 05:04:06.934195   10420 ibmpowervsmachinetemplate_controller.go:65]  "msg"="unable to fetch ibmpowervsmachinetemplate" "error"="IBMPowerVSMachineTemplate.infrastructure.cluster.x-k8s.io \"test\" not found" "ibmpowervsmachinetemplate"={"Namespace":"default","Name":"test"} 
I0916 05:04:06.944012   10420 logr.go:249] ibmpowervsmachinetemplate-resource "msg"="default"  "name"="powervs-test-1"
I0916 05:04:06.946055   10420 logr.go:249] ibmpowervsmachinetemplate-resource "msg"="validate create"  "name"="powervs-test-1"
I0916 05:04:06.973881   10420 logr.go:249] ibmpowervsmachinetemplate-resource "msg"="default"  "name"="powervs-test-1"
I0916 05:04:06.976279   10420 logr.go:249] ibmpowervsmachinetemplate-resource "msg"="validate create"  "name"="powervs-test-1"
--- FAIL: TestIBMPowerVSMachineTemplateReconciler_Reconcile (0.18s)
    --- FAIL: TestIBMPowerVSMachineTemplateReconciler_Reconcile/Should_Reconcile_with_valid_memory_and_processor_values (0.04s)
        ibmpowervsmachinetemplate_controller_test.go:112: 
            Expected
                <v1.ResourceList | len:0>: nil
            to equal
                <v1.ResourceList | len:2>: {
                    "cpu": {
... skipping 24 lines ...
I0916 05:04:07.347859   10420 ibmvpcmachine_controller.go:89]  "msg"="Machine is missing cluster label or cluster does not exist" "ibmvpcmachine"={"Namespace":"namespace-gkjeq-h8jtb","Name":"vpc-test-3"} 
I0916 05:04:07.370716   10420 logr.go:249] ibmvpcmachine-resource "msg"="default"  "name"="vpc-test-4"
I0916 05:04:07.372182   10420 logr.go:249] ibmvpcmachine-resource "msg"="validate create"  "name"="vpc-test-4"
I0916 05:04:07.374449   10420 ibmvpcmachine_controller.go:101]  "msg"="IBMVPCCluster is not available yet" "cluster"="capi-test-2" "ibmvpcmachine"={"Namespace":"namespace-jq9jp-vcz9z","Name":"vpc-test-4"} 
I0916 05:04:07.386518   10420 ibmvpcmachine_controller.go:147]  "msg"="Bootstrap data secret reference is not yet available"  
I0916 05:04:07.386917   10420 ibmvpcmachine_controller.go:214]  "msg"="Handling deleted IBMVPCMachine"  
I0916 05:04:07.386942   10420 ibmvpcmachine_controller.go:223]  "msg"="error deleting IBMVPCMachine"  
I0916 05:04:07.387002   10420 ibmvpcmachine_controller.go:214]  "msg"="Handling deleted IBMVPCMachine"  
FAIL
coverage: 76.1% of statements
I0916 05:04:07.388252   10420 logr.go:249]  "msg"="Stopping and waiting for non leader election runnables"  
I0916 05:04:07.388279   10420 logr.go:249]  "msg"="Stopping and waiting for leader election runnables"  
I0916 05:04:07.388290   10420 logr.go:249]  "msg"="Stopping and waiting for caches"  
I0916 05:04:07.388506   10420 logr.go:249]  "msg"="Stopping and waiting for webhooks"  
I0916 05:04:07.388643   10420 logr.go:249] controller-runtime/webhook "msg"="shutting down webhook server"  
E0916 05:04:07.388811   10420 logr.go:265] controller-runtime/certwatcher "msg"="error re-watching file" "error"="inotify instance already closed"  
E0916 05:04:07.388895   10420 logr.go:265] controller-runtime/certwatcher "msg"="error re-reading certificate" "error"="open /tmp/envtest-serving-certs-261514789/tls.crt: no such file or directory"  
I0916 05:04:07.389950   10420 logr.go:249]  "msg"="Wait completed, proceeding to shutdown the manager"  
FAIL	sigs.k8s.io/cluster-api-provider-ibmcloud/controllers	9.710s
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/hack/boilerplate/test	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/cloud/services/authenticator	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/cloud/services/powervs	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/cloud/services/powervs/mock	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/cloud/services/resourcecontroller	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/cloud/services/utils	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/cloud/services/vpc	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/cloud/services/vpc/mock	[no test files]
ok  	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/endpoints	0.024s	coverage: 96.2% of statements
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/options	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/pkg/record	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/test/helpers	[no test files]
?   	sigs.k8s.io/cluster-api-provider-ibmcloud/util	[no test files]
FAIL
make: *** [Makefile:227: test-cover] Error 1
go: downloading github.com/spf13/cobra v1.4.0
go: downloading golang.org/x/tools v0.1.11
+ EXIT_VALUE=2
+ set +o xtrace