This job view page is being replaced by Spyglass soon. Check out the new job view.
PRmtougeron: Properly check if the vnet is managed
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2022-08-02 21:32
Elapsed11m52s
Revisiona04f4ba2082889385a8ff708161ac4440b4a66ca
Refs 2522

No Test Failures!


Error lines from build-log.txt

... skipping 455 lines ...
ok  	sigs.k8s.io/cluster-api-provider-azure/azure/services/scalesets	0.091s
?   	sigs.k8s.io/cluster-api-provider-azure/azure/services/scalesets/mock_scalesets	[no test files]
ok  	sigs.k8s.io/cluster-api-provider-azure/azure/services/scalesetvms	0.115s
?   	sigs.k8s.io/cluster-api-provider-azure/azure/services/scalesetvms/mock_scalesetvms	[no test files]
ok  	sigs.k8s.io/cluster-api-provider-azure/azure/services/securitygroups	0.125s
?   	sigs.k8s.io/cluster-api-provider-azure/azure/services/securitygroups/mock_securitygroups	[no test files]
--- FAIL: TestDeleteSubnets (0.00s)
    --- FAIL: TestDeleteSubnets/noop_if_no_subnet_specs_are_found (0.00s)
        client.go:40: Unexpected call to *mock_subnets.MockSubnetScope.SubscriptionID([]) at /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/virtualnetworks/client.go:40 because: there are no expected calls of the method "SubscriptionID" for that receiver
        controller.go:269: missing call(s) to *mock_subnets.MockSubnetScope.SubnetSpecs() /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:360
        controller.go:269: aborting test due to missing call(s)
    --- FAIL: TestDeleteSubnets/fail_delete_subnet (0.00s)
        client.go:40: Unexpected call to *mock_subnets.MockSubnetScope.SubscriptionID([]) at /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/virtualnetworks/client.go:40 because: there are no expected calls of the method "SubscriptionID" for that receiver
        controller.go:269: missing call(s) to *mock_subnets.MockSubnetScope.SubnetSpecs() /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:397
        controller.go:269: missing call(s) to *mock_async.MockReconciler.DeleteResource(expected a context.Context, but got <nil>, is equal to &{my-subnet-1 my-rg 123 [10.0.0.0/16] my-vnet my-rg true my-subnet_route_table my-sg-1 node } (*subnets.SubnetSpec), is equal to subnets (string)) /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:398
        controller.go:269: missing call(s) to *mock_subnets.MockSubnetScope.UpdateDeleteStatus(is equal to SubnetsReady (v1beta1.ConditionType), is equal to subnets (string), is equal to #: Internal Server Error: StatusCode=500 (autorest.DetailedError)) /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:399
        controller.go:269: aborting test due to missing call(s)
    --- FAIL: TestDeleteSubnets/skip_delete_if_vnet_is_not_managed (0.00s)
        client.go:40: Unexpected call to *mock_subnets.MockSubnetScope.SubscriptionID([]) at /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/virtualnetworks/client.go:40 because: there are no expected calls of the method "SubscriptionID" for that receiver
    --- FAIL: TestDeleteSubnets/node_subnet_and_controlplane_subnet_deleted_successfully (0.00s)
        client.go:40: Unexpected call to *mock_subnets.MockSubnetScope.SubscriptionID([]) at /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/virtualnetworks/client.go:40 because: there are no expected calls of the method "SubscriptionID" for that receiver
        controller.go:269: missing call(s) to *mock_subnets.MockSubnetScope.UpdateDeleteStatus(is equal to SubnetsReady (v1beta1.ConditionType), is equal to subnets (string), is nil) /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:382
        controller.go:269: missing call(s) to *mock_subnets.MockSubnetScope.SubnetSpecs() /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:379
        controller.go:269: missing call(s) to *mock_async.MockReconciler.DeleteResource(expected a context.Context, but got <nil>, is equal to &{my-subnet-1 my-rg 123 [10.0.0.0/16] my-vnet my-rg true my-subnet_route_table my-sg-1 node } (*subnets.SubnetSpec), is equal to subnets (string)) /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:380
        controller.go:269: missing call(s) to *mock_async.MockReconciler.DeleteResource(expected a context.Context, but got <nil>, is equal to &{my-subnet-ctrl-plane my-rg 123 [10.1.0.0/16] my-vnet my-rg true my-subnet_route_table my-sg control-plane } (*subnets.SubnetSpec), is equal to subnets (string)) /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:381
        controller.go:269: aborting test due to missing call(s)
    --- FAIL: TestDeleteSubnets/subnets_deleted_successfully (0.00s)
        client.go:40: Unexpected call to *mock_subnets.MockSubnetScope.SubscriptionID([]) at /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/virtualnetworks/client.go:40 because: there are no expected calls of the method "SubscriptionID" for that receiver
        controller.go:269: missing call(s) to *mock_subnets.MockSubnetScope.SubnetSpecs() /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:368
        controller.go:269: missing call(s) to *mock_async.MockReconciler.DeleteResource(expected a context.Context, but got <nil>, is equal to &{my-subnet-1 my-rg 123 [10.0.0.0/16] my-vnet my-rg true my-subnet_route_table my-sg-1 node } (*subnets.SubnetSpec), is equal to subnets (string)) /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:369
        controller.go:269: missing call(s) to *mock_async.MockReconciler.DeleteResource(expected a context.Context, but got <nil>, is equal to &{my-subnet-2 my-rg 123 [10.2.0.0/16] my-vnet my-rg true my-subnet_route_table my-sg-2 node } (*subnets.SubnetSpec), is equal to subnets (string)) /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:370
        controller.go:269: missing call(s) to *mock_subnets.MockSubnetScope.UpdateDeleteStatus(is equal to SubnetsReady (v1beta1.ConditionType), is equal to subnets (string), is nil) /home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/subnets_test.go:371
        controller.go:269: aborting test due to missing call(s)
FAIL
FAIL	sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets	0.065s
?   	sigs.k8s.io/cluster-api-provider-azure/azure/services/subnets/mock_subnets	[no test files]
ok  	sigs.k8s.io/cluster-api-provider-azure/azure/services/tags	0.113s
?   	sigs.k8s.io/cluster-api-provider-azure/azure/services/tags/mock_tags	[no test files]
ok  	sigs.k8s.io/cluster-api-provider-azure/azure/services/virtualmachineimages	0.102s
?   	sigs.k8s.io/cluster-api-provider-azure/azure/services/virtualmachineimages/mock_virtualmachineimages	[no test files]
ok  	sigs.k8s.io/cluster-api-provider-azure/azure/services/virtualmachines	0.082s
... skipping 34 lines ...
?   	sigs.k8s.io/cluster-api-provider-azure/util/slice	[no test files]
ok  	sigs.k8s.io/cluster-api-provider-azure/util/ssh	0.650s
ok  	sigs.k8s.io/cluster-api-provider-azure/util/system	0.023s
?   	sigs.k8s.io/cluster-api-provider-azure/util/tele	[no test files]
?   	sigs.k8s.io/cluster-api-provider-azure/util/webhook	[no test files]
?   	sigs.k8s.io/cluster-api-provider-azure/version	[no test files]
FAIL
make: *** [Makefile:641: go-test] Error 1
make: Leaving directory '/home/prow/go/src/sigs.k8s.io/cluster-api-provider-azure'