This job view page is being replaced by Spyglass soon. Check out the new job view.
PRandyzhangx: fix: panic when allow-empty-cloud-config is set
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2023-01-29 07:19
Elapsed1m36s
Revision28e9cda353861985bb045512a1eb4ebca3edf9b4
Refs 1699

No Test Failures!


Error lines from build-log.txt

... skipping 3 lines ...
+ make unit-test
go test -v -cover ./pkg/... ./test/utils/credentials
?   	sigs.k8s.io/azuredisk-csi-driver/pkg/azureconstants	[no test files]
=== RUN   TestRescanAllVolumes
--- PASS: TestRescanAllVolumes (0.00s)
=== RUN   TestFindDiskByLun
W0129 07:20:49.949560   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0129 07:20:49.949638   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
--- PASS: TestFindDiskByLun (0.00s)
=== RUN   TestStrFirstLetterToUpper
--- PASS: TestStrFirstLetterToUpper (0.00s)
=== RUN   TestNewDriverV1
--- PASS: TestNewDriverV1 (0.00s)
=== RUN   TestCheckDiskCapacity
... skipping 28 lines ...
Git Commit: N/A
Go Version: go1.19.5
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0129 07:20:49.956910   11606 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0129 07:20:49.960779   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:49.960841   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:49.960846   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0129 07:20:49.960851   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:49.960855   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:49.960860   11606 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 22 lines ...
Git Commit: N/A
Go Version: go1.19.5
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0129 07:20:49.965677   11606 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
W0129 07:20:49.965741   11606 azure_disk_utils.go:189] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
I0129 07:20:49.968678   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:49.968772   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:49.968792   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0129 07:20:49.968807   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:49.968846   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:49.968873   11606 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 22 lines ...
Git Commit: N/A
Go Version: go1.19.5
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0129 07:20:49.973018   11606 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0129 07:20:49.976260   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:49.976292   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:49.976309   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0129 07:20:49.976313   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:49.976317   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:49.976321   11606 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 13 lines ...
Git Commit: N/A
Go Version: go1.19.5
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0129 07:20:49.977118   11606 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
E0129 07:20:50.189525   11606 util.go:138] Send.sendRequest: error in parsing response body string "": unexpected end of JSON input, Skip retrying regional host
E0129 07:20:50.190371   11606 azure_standard.go:587] as.GetInstanceTypeByNodeName() failed: as.getVirtualMachine() err=Retriable: false, RetryAfter: 0s, HTTPStatusCode: 400, RawError: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/12345/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/?%24expand=instanceView&api-version=2022-03-01: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_request","error_description":"AADSTS90002: Tenant '1234' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant.\r\nTrace ID: 6ce51a9d-881d-4e2c-aa3a-ebded64a4700\r\nCorrelation ID: b246af3d-fc86-497c-b8f2-fbac8c7eeda7\r\nTimestamp: 2023-01-29 07:20:50Z","error_codes":[90002],"timestamp":"2023-01-29 07:20:50Z","trace_id":"6ce51a9d-881d-4e2c-aa3a-ebded64a4700","correlation_id":"b246af3d-fc86-497c-b8f2-fbac8c7eeda7","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
W0129 07:20:50.190429   11606 azuredisk.go:224] Failed to get node info. Error: NewNodeInfo: Failed to get instance type from Azure cloud provider, nodeName: , error: Retriable: false, RetryAfter: 0s, HTTPStatusCode: 400, RawError: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/12345/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/?%24expand=instanceView&api-version=2022-03-01: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_request","error_description":"AADSTS90002: Tenant '1234' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant.\r\nTrace ID: 6ce51a9d-881d-4e2c-aa3a-ebded64a4700\r\nCorrelation ID: b246af3d-fc86-497c-b8f2-fbac8c7eeda7\r\nTimestamp: 2023-01-29 07:20:50Z","error_codes":[90002],"timestamp":"2023-01-29 07:20:50Z","trace_id":"6ce51a9d-881d-4e2c-aa3a-ebded64a4700","correlation_id":"b246af3d-fc86-497c-b8f2-fbac8c7eeda7","error_uri":"https://login.microsoftonline.com/error?code=90002"} Endpoint https://login.microsoftonline.com/1234/oauth2/token
I0129 07:20:50.193859   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:50.193896   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:50.193903   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0129 07:20:50.193909   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:50.193914   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:50.193921   11606 driver.go:81] Enabling controller service capability: SINGLE_NODE_MULTI_WRITER
... skipping 259 lines ...
I0129 07:20:50.281081   11606 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0129 07:20:50.281089   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:50.281095   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:50.281100   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0129 07:20:50.281106   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0129 07:20:50.281114   11606 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0129 07:20:50.281350   11606 controllerserver.go:302] validateDiskURI(123) in DeleteVolume failed with error: invalid DiskURI: 123, correct format: [/subscriptions/{sub-id}/resourcegroups/{group-name}/providers/microsoft.compute/disks/{disk-id}]
--- PASS: TestDeleteVolume (0.00s)
=== RUN   TestControllerGetVolume
I0129 07:20:50.285172   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:50.285215   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:50.285222   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0129 07:20:50.285252   11606 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 54 lines ...
I0129 07:20:50.305239   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0129 07:20:50.305243   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0129 07:20:50.305248   11606 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
=== RUN   TestControllerPublishVolume/diskName_error
=== RUN   TestControllerPublishVolume/NodeID_missing
=== RUN   TestControllerPublishVolume/failed_provisioning_state
W0129 07:20:50.305715   11606 controllerserver.go:392] VM(unit-test-node) is in failed state, update VM first
=== RUN   TestControllerPublishVolume/Volume_already_attached_success
I0129 07:20:50.316834   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:50.316875   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:50.316887   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0129 07:20:50.316893   11606 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0129 07:20:50.316899   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
... skipping 671 lines ...
I0129 07:20:50.551451   11606 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0129 07:20:50.551456   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:50.551466   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:50.551476   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0129 07:20:50.551480   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0129 07:20:50.551485   11606 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0129 07:20:50.551606   11606 nodeserver.go:558] mkdir failed on target: /home/prow/go/src/sigs.k8s.io/azuredisk-csi-driver/pkg/azuredisk/azuredisk.go (mkdir /home/prow/go/src/sigs.k8s.io/azuredisk-csi-driver/pkg/azuredisk/azuredisk.go: not a directory)
--- PASS: TestEnsureMountPoint (0.00s)
=== RUN   TestNodeGetInfo
=== RUN   TestNodeGetInfo/[Success]_Get_node_information_for_existing_VM
I0129 07:20:50.555207   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:50.555247   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:50.555252   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
... skipping 11 lines ...
I0129 07:20:50.558749   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:50.558754   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:50.558757   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0129 07:20:50.558761   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0129 07:20:50.558770   11606 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W0129 07:20:50.558877   11606 azure_wrap.go:77] Unable to find node 34ee151b-9fa5-11ed-84db-8e4167dcf6ad: instance not found
W0129 07:20:50.558897   11606 nodeserver.go:339] get zone(fakeNodeID) failed with: instance not found, fall back to get zone from node labels
--- PASS: TestNodeGetInfo (0.01s)
    --- PASS: TestNodeGetInfo/[Success]_Get_node_information_for_existing_VM (0.00s)
    --- PASS: TestNodeGetInfo/[Failure]_Get_node_information_for_non-existing_VM (0.00s)
=== RUN   TestNodeGetVolumeStats
I0129 07:20:50.562304   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:50.562352   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
... skipping 12 lines ...
I0129 07:20:50.566658   11606 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0129 07:20:50.566661   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:50.566665   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:50.566669   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0129 07:20:50.566673   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0129 07:20:50.566678   11606 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
W0129 07:20:50.567106   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0129 07:20:50.567137   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E0129 07:20:50.567183   11606 nodeserver.go:169] NodeStageVolume: could not determine if volume vol_1 needs to be resized: Failed readonly device check. Expected 1 or 0, got '16106127360'
W0129 07:20:50.567205   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0129 07:20:50.567216   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W0129 07:20:50.567270   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0129 07:20:50.567289   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W0129 07:20:50.567391   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0129 07:20:50.567415   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
I0129 07:20:50.567463   11606 mount_linux.go:529] Disk "/dev/sdd" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /dev/sdd]
I0129 07:20:50.567489   11606 mount_linux.go:539] Disk successfully formatted (mkfs): ext4 - /dev/sdd /home/prow/go/src/sigs.k8s.io/azuredisk-csi-driver/pkg/azuredisk/source_test
E0129 07:20:50.567519   11606 nodeserver.go:169] NodeStageVolume: could not determine if volume vol_1 needs to be resized: Failed readonly device check. Expected 1 or 0, got ''
W0129 07:20:50.567578   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0129 07:20:50.567598   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
W0129 07:20:50.567649   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0129 07:20:50.567670   11606 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
E0129 07:20:50.567722   11606 nodeserver.go:169] NodeStageVolume: could not determine if volume vol_1 needs to be resized: Failed readonly device check. Expected 1 or 0, got '16106127360'
--- PASS: TestNodeStageVolume (0.00s)
=== RUN   TestNodeUnstageVolume
I0129 07:20:50.571606   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:50.571642   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:50.571649   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0129 07:20:50.571656   11606 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 11 lines ...
I0129 07:20:50.575217   11606 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0129 07:20:50.575223   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:50.575229   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:50.575234   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0129 07:20:50.575239   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0129 07:20:50.575246   11606 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0129 07:20:50.575497   11606 nodeserver.go:558] mkdir failed on target: /home/prow/go/src/sigs.k8s.io/azuredisk-csi-driver/pkg/azuredisk/azuredisk.go (mkdir /home/prow/go/src/sigs.k8s.io/azuredisk-csi-driver/pkg/azuredisk/azuredisk.go: not a directory)
--- PASS: TestNodePublishVolume (0.00s)
=== RUN   TestNodeUnpublishVolume
I0129 07:20:50.578940   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:50.578968   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:50.578973   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0129 07:20:50.578977   11606 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
... skipping 33 lines ...
I0129 07:20:50.595448   11606 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0129 07:20:50.595564   11606 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:50.595575   11606 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
I0129 07:20:50.595579   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES
I0129 07:20:50.595583   11606 driver.go:81] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0129 07:20:50.595589   11606 driver.go:100] Enabling volume access mode: SINGLE_NODE_WRITER
E0129 07:20:50.596263   11606 nodeserver.go:558] mkdir failed on target: /home/prow/go/src/sigs.k8s.io/azuredisk-csi-driver/pkg/azuredisk/test (mkdir /home/prow/go/src/sigs.k8s.io/azuredisk-csi-driver/pkg/azuredisk/test: not a directory)
--- PASS: TestEnsureBlockTargetFile (0.00s)
=== RUN   TestMakeDir
--- PASS: TestMakeDir (0.00s)
=== RUN   TestGetDevicePathWithLUN
I0129 07:20:50.600708   11606 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:50.600748   11606 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
... skipping 44 lines ...
--- PASS: TestCheckDiskName (0.00s)
=== RUN   TestGetCachingMode
--- PASS: TestGetCachingMode (0.00s)
=== RUN   TestGetKubeConfig
--- PASS: TestGetKubeConfig (0.00s)
=== RUN   TestGetCloudProvider
W0129 07:20:48.025566   11594 azure_disk_utils.go:189] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
W0129 07:20:48.025803   11594 azure_disk_utils.go:230] get kubeconfig(/home/prow/go/src/sigs.k8s.io/azuredisk-csi-driver/pkg/azureutils/empty-kube-config) failed with error: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
W0129 07:20:48.025937   11594 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
--- PASS: TestGetCloudProvider (0.01s)
=== RUN   TestGetDiskLUN
--- PASS: TestGetDiskLUN (0.00s)
=== RUN   TestGetDiskName
--- PASS: TestGetDiskName (0.00s)
=== RUN   TestGetFStype
... skipping 426 lines ...
coverage: 78.0% of statements
ok  	sigs.k8s.io/azuredisk-csi-driver/test/utils/credentials	0.017s	coverage: 78.0% of statements
go test -v -cover -tags azurediskv2 ./pkg/azuredisk --temp-use-driver-v2
=== RUN   TestRescanAllVolumes
--- PASS: TestRescanAllVolumes (0.00s)
=== RUN   TestFindDiskByLun
W0129 07:20:56.926784   11974 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/azure/scsi1/ failed, error: read /dev/disk/azure/scsi1/ error: bad dir
W0129 07:20:56.926882   11974 azure_common_linux.go:188] azureDisk - getDiskLinkByDevName by sdd under /dev/disk/by-id/ failed, error: read /dev/disk/by-id/ error: bad dir
--- PASS: TestFindDiskByLun (0.00s)
=== RUN   TestStrFirstLetterToUpper
--- PASS: TestStrFirstLetterToUpper (0.00s)
=== RUN   TestNewDriverV1
--- PASS: TestNewDriverV1 (0.00s)
=== RUN   TestCheckDiskCapacity
... skipping 30 lines ...
Git Commit: N/A
Go Version: go1.19.5
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0129 07:20:56.935730   11974 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
I0129 07:20:56.941045   11974 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0129 07:20:56.941079   11974 driver.go:81] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0129 07:20:56.941085   11974 driver.go:81] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0129 07:20:56.941089   11974 driver.go:81] Enabling controller service capability: LIST_SNAPSHOTS
I0129 07:20:56.941093   11974 driver.go:81] Enabling controller service capability: CLONE_VOLUME
I0129 07:20:56.941098   11974 driver.go:81] Enabling controller service capability: EXPAND_VOLUME
... skipping 26 lines ...
Git Commit: N/A
Go Version: go1.19.5
Platform: linux/amd64
Topology Key: topology.disk.csi.azure.com/zone

Streaming logs below:
W0129 07:20:56.946409   11974 azure_disk_utils.go:230] get kubeconfig() failed with error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
W0129 07:20:56.946471   11974 azure_disk_utils.go:189] load azure config from file(/etc/kubernetes/azure.json) failed with open /etc/kubernetes/azure.json: no such file or directory
F0129 07:20:56.946480   11974 azuredisk_v2.go:98] failed to get Azure Cloud Provider, error: no cloud config provided, error: <nil>
FAIL	sigs.k8s.io/azuredisk-csi-driver/pkg/azuredisk	0.065s
FAIL
make: *** [Makefile:98: unit-test-v2] Error 1
+ EXIT_VALUE=2
+ set +o xtrace