This job view page is being replaced by Spyglass soon. Check out the new job view.
PRcvvz: feat: support cross subscription with management api
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2022-09-01 07:07
Elapsed2m37s
Revision000f4364796a57d1821110b67b94aebc3844139d
Refs 1077

No Test Failures!


Error lines from build-log.txt

Activated service account credentials for: [pr-kubekins@kubernetes-jenkins-pull.iam.gserviceaccount.com]
+ WRAPPED_COMMAND_PID=32
+ make unit-test
+ wait 32
go test -v -race ./pkg/... ./test/utils/credentials
=== RUN   TestGetCloudProvider
W0901 07:09:53.193582   10741 azure.go:59] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
W0901 07:09:53.193902   10741 azure.go:98] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
W0901 07:09:53.194001   10741 azure.go:59] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
W0901 07:09:53.194097   10741 azure.go:98] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
W0901 07:09:53.194199   10741 azure.go:59] get kubeconfig(/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/non-exist.json) failed with error: stat /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/non-exist.json: no such file or directory
W0901 07:09:53.194263   10741 azure.go:98] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
W0901 07:09:53.196041   10741 azure.go:59] get kubeconfig(/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/empty-kube-config) failed with error: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
W0901 07:09:53.206454   10741 azure.go:98] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
W0901 07:09:53.207096   10741 azure.go:59] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
--- PASS: TestGetCloudProvider (0.01s)
=== RUN   TestUpdateSubnetServiceEndpoints
=== RUN   TestUpdateSubnetServiceEndpoints/[fail]_no_subnet
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_subnetPropertiesFormat_is_nil
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_ServiceEndpoints_is_nil
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_storageService_does_not_exists
=== RUN   TestUpdateSubnetServiceEndpoints/[success]_storageService_already_exists
=== RUN   TestUpdateSubnetServiceEndpoints/[fail]_SubnetsClient_is_nil
--- PASS: TestUpdateSubnetServiceEndpoints (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[fail]_no_subnet (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[success]_subnetPropertiesFormat_is_nil (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[success]_ServiceEndpoints_is_nil (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[success]_storageService_does_not_exists (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[success]_storageService_already_exists (0.00s)
    --- PASS: TestUpdateSubnetServiceEndpoints/[fail]_SubnetsClient_is_nil (0.00s)
=== RUN   TestGetFileSvcClient
--- PASS: TestGetFileSvcClient (0.00s)
=== RUN   TestCreateFileShare
=== RUN   TestCreateFileShare/ShareOptions_empty
=== RUN   TestCreateFileShare/AccountName_invalid
=== RUN   TestCreateFileShare/#00
... skipping 31 lines ...
--- PASS: TestIsCorruptedDir (0.00s)
=== RUN   TestNewDriver
--- PASS: TestNewDriver (0.00s)
=== RUN   TestGetFileURL
--- PASS: TestGetFileURL (0.00s)
=== RUN   TestGetAccountInfo
W0901 07:09:54.610544   10741 azurefile.go:585] parsing volumeID(uniqe-volumeid-nfs) return with error: error parsing volume id: "uniqe-volumeid-nfs", should at least contain two #
--- PASS: TestGetAccountInfo (0.00s)
=== RUN   TestCreateDisk
--- PASS: TestCreateDisk (4.48s)
=== RUN   TestGetFileShareQuota
    azure_file.go:39: Unexpected call to *mockfileclient.MockInterface.WithSubscriptionID([]) at /home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_file.go:39 because: there are no expected calls of the method "WithSubscriptionID" for that receiver
--- FAIL: TestGetFileShareQuota (0.00s)
=== RUN   TestRun
=== RUN   TestRun/Successful_run
I0901 07:09:59.091793   10741 azurefile.go:283] 
DRIVER INFORMATION:
-------------------
Build Date: N/A
... skipping 2 lines ...
Driver Version: N/A
Git Commit: N/A
Go Version: go1.19
Platform: linux/amd64

Streaming logs below:
W0901 07:09:59.092126   10741 azure.go:59] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0901 07:09:59.100101   10741 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
I0901 07:09:59.100170   10741 driver.go:93] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0901 07:09:59.100240   10741 driver.go:93] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0901 07:09:59.100328   10741 driver.go:93] Enabling controller service capability: EXPAND_VOLUME
I0901 07:09:59.100400   10741 driver.go:93] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
I0901 07:09:59.100447   10741 driver.go:112] Enabling volume access mode: SINGLE_NODE_WRITER
... skipping 14 lines ...
Driver Version: N/A
Git Commit: N/A
Go Version: go1.19
Platform: linux/amd64

Streaming logs below:
W0901 07:09:59.105256   10741 azure.go:59] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0901 07:09:59.109810   10741 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
I0901 07:09:59.109930   10741 driver.go:93] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0901 07:09:59.109961   10741 driver.go:93] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0901 07:09:59.110011   10741 driver.go:93] Enabling controller service capability: EXPAND_VOLUME
I0901 07:09:59.110045   10741 driver.go:93] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
I0901 07:09:59.110110   10741 driver.go:112] Enabling volume access mode: SINGLE_NODE_WRITER
... skipping 23 lines ...
=== RUN   TestCreateVolume/Invalid_volume_capabilities
I0901 07:09:59.117266   10741 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
=== RUN   TestCreateVolume/Volume_lock_already_present
I0901 07:09:59.117386   10741 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
=== RUN   TestCreateVolume/Disabled_fsType
I0901 07:09:59.117505   10741 driver.go:93] Enabling controller service capability: CREATE_DELETE_VOLUME
--- FAIL: TestCreateVolume (0.01s)
    --- PASS: TestCreateVolume/Controller_Capability_missing (0.01s)
    --- PASS: TestCreateVolume/Volume_name_missing (0.00s)
    --- PASS: TestCreateVolume/Volume_capabilities_missing (0.00s)
    --- PASS: TestCreateVolume/Invalid_volume_capabilities (0.00s)
    --- PASS: TestCreateVolume/Volume_lock_already_present (0.00s)
    --- FAIL: TestCreateVolume/Disabled_fsType (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x26fe52d]

goroutine 143 [running]:
testing.tRunner.func1.2({0x298f500, 0x3f64f20})
	/usr/local/go/src/testing/testing.go:1396 +0x372
testing.tRunner.func1()
... skipping 5 lines ...
sigs.k8s.io/azurefile-csi-driver/pkg/azurefile.TestCreateVolume.func6(0xc00048dd40)
	/home/prow/go/src/sigs.k8s.io/azurefile-csi-driver/pkg/azurefile/controllerserver_test.go:234 +0x45e
testing.tRunner(0xc00048dd40, 0xc000876690)
	/usr/local/go/src/testing/testing.go:1446 +0x217
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:1493 +0x75e
FAIL	sigs.k8s.io/azurefile-csi-driver/pkg/azurefile	6.163s
?   	sigs.k8s.io/azurefile-csi-driver/pkg/azurefileplugin	[no test files]
=== RUN   TestNewFakeDriver
E0901 07:09:18.888549   10308 driver.go:40] Driver name missing
E0901 07:09:18.889033   10308 driver.go:45] NodeID missing
E0901 07:09:18.889163   10308 driver.go:50] Version argument missing, now skip it
--- PASS: TestNewFakeDriver (0.00s)
... skipping 69 lines ...
=== RUN   TestCreateAzureCredentialFileOnAzurePublicCloud/WithEnvironmentVariables
--- PASS: TestCreateAzureCredentialFileOnAzurePublicCloud (0.01s)
    --- PASS: TestCreateAzureCredentialFileOnAzurePublicCloud/WithAzureCredentials (0.01s)
    --- PASS: TestCreateAzureCredentialFileOnAzurePublicCloud/WithEnvironmentVariables (0.00s)
PASS
ok  	sigs.k8s.io/azurefile-csi-driver/test/utils/credentials	0.083s
FAIL
make: *** [Makefile:73: unit-test] Error 1
+ EXIT_VALUE=2
+ set +o xtrace